diff --git a/api/structs/structs/address.pulsar.go b/api/structs/structs/address.pulsar.go index 8cf739fc..320acf08 100644 --- a/api/structs/structs/address.pulsar.go +++ b/api/structs/structs/address.pulsar.go @@ -1547,6 +1547,490 @@ func (x *fastReflection_AddressActivity) ProtoMethods() *protoiface.Methods { } } +var ( + md_InternalAddressAssociation protoreflect.MessageDescriptor + fd_InternalAddressAssociation_address protoreflect.FieldDescriptor + fd_InternalAddressAssociation_objectId protoreflect.FieldDescriptor +) + +func init() { + file_structs_structs_address_proto_init() + md_InternalAddressAssociation = File_structs_structs_address_proto.Messages().ByName("InternalAddressAssociation") + fd_InternalAddressAssociation_address = md_InternalAddressAssociation.Fields().ByName("address") + fd_InternalAddressAssociation_objectId = md_InternalAddressAssociation.Fields().ByName("objectId") +} + +var _ protoreflect.Message = (*fastReflection_InternalAddressAssociation)(nil) + +type fastReflection_InternalAddressAssociation InternalAddressAssociation + +func (x *InternalAddressAssociation) ProtoReflect() protoreflect.Message { + return (*fastReflection_InternalAddressAssociation)(x) +} + +func (x *InternalAddressAssociation) slowProtoReflect() protoreflect.Message { + mi := &file_structs_structs_address_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_InternalAddressAssociation_messageType fastReflection_InternalAddressAssociation_messageType +var _ protoreflect.MessageType = fastReflection_InternalAddressAssociation_messageType{} + +type fastReflection_InternalAddressAssociation_messageType struct{} + +func (x fastReflection_InternalAddressAssociation_messageType) Zero() protoreflect.Message { + return (*fastReflection_InternalAddressAssociation)(nil) +} +func (x fastReflection_InternalAddressAssociation_messageType) New() protoreflect.Message { + return new(fastReflection_InternalAddressAssociation) +} +func (x fastReflection_InternalAddressAssociation_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_InternalAddressAssociation +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_InternalAddressAssociation) Descriptor() protoreflect.MessageDescriptor { + return md_InternalAddressAssociation +} + +// 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_InternalAddressAssociation) Type() protoreflect.MessageType { + return _fastReflection_InternalAddressAssociation_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_InternalAddressAssociation) New() protoreflect.Message { + return new(fastReflection_InternalAddressAssociation) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_InternalAddressAssociation) Interface() protoreflect.ProtoMessage { + return (*InternalAddressAssociation)(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_InternalAddressAssociation) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Address != "" { + value := protoreflect.ValueOfString(x.Address) + if !f(fd_InternalAddressAssociation_address, value) { + return + } + } + if x.ObjectId != "" { + value := protoreflect.ValueOfString(x.ObjectId) + if !f(fd_InternalAddressAssociation_objectId, 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_InternalAddressAssociation) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "structs.structs.InternalAddressAssociation.address": + return x.Address != "" + case "structs.structs.InternalAddressAssociation.objectId": + return x.ObjectId != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.InternalAddressAssociation")) + } + panic(fmt.Errorf("message structs.structs.InternalAddressAssociation 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_InternalAddressAssociation) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "structs.structs.InternalAddressAssociation.address": + x.Address = "" + case "structs.structs.InternalAddressAssociation.objectId": + x.ObjectId = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.InternalAddressAssociation")) + } + panic(fmt.Errorf("message structs.structs.InternalAddressAssociation 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_InternalAddressAssociation) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "structs.structs.InternalAddressAssociation.address": + value := x.Address + return protoreflect.ValueOfString(value) + case "structs.structs.InternalAddressAssociation.objectId": + value := x.ObjectId + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.InternalAddressAssociation")) + } + panic(fmt.Errorf("message structs.structs.InternalAddressAssociation 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_InternalAddressAssociation) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "structs.structs.InternalAddressAssociation.address": + x.Address = value.Interface().(string) + case "structs.structs.InternalAddressAssociation.objectId": + x.ObjectId = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.InternalAddressAssociation")) + } + panic(fmt.Errorf("message structs.structs.InternalAddressAssociation 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_InternalAddressAssociation) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.InternalAddressAssociation.address": + panic(fmt.Errorf("field address of message structs.structs.InternalAddressAssociation is not mutable")) + case "structs.structs.InternalAddressAssociation.objectId": + panic(fmt.Errorf("field objectId of message structs.structs.InternalAddressAssociation is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.InternalAddressAssociation")) + } + panic(fmt.Errorf("message structs.structs.InternalAddressAssociation 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_InternalAddressAssociation) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.InternalAddressAssociation.address": + return protoreflect.ValueOfString("") + case "structs.structs.InternalAddressAssociation.objectId": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.InternalAddressAssociation")) + } + panic(fmt.Errorf("message structs.structs.InternalAddressAssociation 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_InternalAddressAssociation) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in structs.structs.InternalAddressAssociation", 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_InternalAddressAssociation) 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_InternalAddressAssociation) 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_InternalAddressAssociation) 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_InternalAddressAssociation) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*InternalAddressAssociation) + 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.Address) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.ObjectId) + 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().(*InternalAddressAssociation) + 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.ObjectId) > 0 { + i -= len(x.ObjectId) + copy(dAtA[i:], x.ObjectId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.ObjectId))) + i-- + dAtA[i] = 0x12 + } + if len(x.Address) > 0 { + i -= len(x.Address) + copy(dAtA[i:], x.Address) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Address))) + 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().(*InternalAddressAssociation) + 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: InternalAddressAssociation: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: InternalAddressAssociation: 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 Address", 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.Address = 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 ObjectId", 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.ObjectId = 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, + } +} + // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.27.0 @@ -1705,6 +2189,49 @@ func (x *AddressActivity) GetBlockTime() *timestamppb.Timestamp { return nil } +type InternalAddressAssociation struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` + ObjectId string `protobuf:"bytes,2,opt,name=objectId,proto3" json:"objectId,omitempty"` +} + +func (x *InternalAddressAssociation) Reset() { + *x = InternalAddressAssociation{} + if protoimpl.UnsafeEnabled { + mi := &file_structs_structs_address_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *InternalAddressAssociation) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*InternalAddressAssociation) ProtoMessage() {} + +// Deprecated: Use InternalAddressAssociation.ProtoReflect.Descriptor instead. +func (*InternalAddressAssociation) Descriptor() ([]byte, []int) { + return file_structs_structs_address_proto_rawDescGZIP(), []int{3} +} + +func (x *InternalAddressAssociation) GetAddress() string { + if x != nil { + return x.Address + } + return "" +} + +func (x *InternalAddressAssociation) GetObjectId() string { + if x != nil { + return x.ObjectId + } + return "" +} + var File_structs_structs_address_proto protoreflect.FileDescriptor var file_structs_structs_address_proto_rawDesc = []byte{ @@ -1744,18 +2271,23 @@ var file_structs_structs_address_proto_rawDesc = []byte{ 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x08, 0xc8, 0xde, 0x1f, 0x00, 0x90, 0xdf, 0x1f, 0x01, 0x52, 0x09, 0x62, 0x6c, 0x6f, 0x63, 0x6b, - 0x54, 0x69, 0x6d, 0x65, 0x42, 0xa2, 0x01, 0x0a, 0x13, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x74, 0x72, - 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x42, 0x0c, 0x41, 0x64, - 0x64, 0x72, 0x65, 0x73, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x20, 0x63, 0x6f, - 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x73, - 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0xa2, 0x02, - 0x03, 0x53, 0x53, 0x58, 0xaa, 0x02, 0x0f, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x53, - 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0xca, 0x02, 0x0f, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, - 0x5c, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0xe2, 0x02, 0x1b, 0x53, 0x74, 0x72, 0x75, 0x63, - 0x74, 0x73, 0x5c, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, - 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x10, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, - 0x3a, 0x3a, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x33, + 0x54, 0x69, 0x6d, 0x65, 0x22, 0x52, 0x0a, 0x1a, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, + 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x41, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1a, 0x0a, 0x08, + 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, + 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x64, 0x42, 0xa2, 0x01, 0x0a, 0x13, 0x63, 0x6f, 0x6d, + 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, + 0x42, 0x0c, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, + 0x5a, 0x20, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x61, + 0x70, 0x69, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, + 0x74, 0x73, 0xa2, 0x02, 0x03, 0x53, 0x53, 0x58, 0xaa, 0x02, 0x0f, 0x53, 0x74, 0x72, 0x75, 0x63, + 0x74, 0x73, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0xca, 0x02, 0x0f, 0x53, 0x74, 0x72, + 0x75, 0x63, 0x74, 0x73, 0x5c, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0xe2, 0x02, 0x1b, 0x53, + 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x5c, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x5c, 0x47, + 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x10, 0x53, 0x74, 0x72, + 0x75, 0x63, 0x74, 0x73, 0x3a, 0x3a, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -1770,17 +2302,18 @@ func file_structs_structs_address_proto_rawDescGZIP() []byte { return file_structs_structs_address_proto_rawDescData } -var file_structs_structs_address_proto_msgTypes = make([]protoimpl.MessageInfo, 3) +var file_structs_structs_address_proto_msgTypes = make([]protoimpl.MessageInfo, 4) var file_structs_structs_address_proto_goTypes = []interface{}{ - (*AddressRecord)(nil), // 0: structs.structs.AddressRecord - (*AddressAssociation)(nil), // 1: structs.structs.AddressAssociation - (*AddressActivity)(nil), // 2: structs.structs.AddressActivity - (RegistrationStatus)(0), // 3: structs.structs.registrationStatus - (*timestamppb.Timestamp)(nil), // 4: google.protobuf.Timestamp + (*AddressRecord)(nil), // 0: structs.structs.AddressRecord + (*AddressAssociation)(nil), // 1: structs.structs.AddressAssociation + (*AddressActivity)(nil), // 2: structs.structs.AddressActivity + (*InternalAddressAssociation)(nil), // 3: structs.structs.InternalAddressAssociation + (RegistrationStatus)(0), // 4: structs.structs.registrationStatus + (*timestamppb.Timestamp)(nil), // 5: google.protobuf.Timestamp } var file_structs_structs_address_proto_depIdxs = []int32{ - 3, // 0: structs.structs.AddressAssociation.registrationStatus:type_name -> structs.structs.registrationStatus - 4, // 1: structs.structs.AddressActivity.blockTime:type_name -> google.protobuf.Timestamp + 4, // 0: structs.structs.AddressAssociation.registrationStatus:type_name -> structs.structs.registrationStatus + 5, // 1: structs.structs.AddressActivity.blockTime:type_name -> google.protobuf.Timestamp 2, // [2:2] is the sub-list for method output_type 2, // [2:2] is the sub-list for method input_type 2, // [2:2] is the sub-list for extension type_name @@ -1831,6 +2364,18 @@ func file_structs_structs_address_proto_init() { return nil } } + file_structs_structs_address_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InternalAddressAssociation); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } } type x struct{} out := protoimpl.TypeBuilder{ @@ -1838,7 +2383,7 @@ func file_structs_structs_address_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_structs_structs_address_proto_rawDesc, NumEnums: 0, - NumMessages: 3, + NumMessages: 4, NumExtensions: 0, NumServices: 0, }, diff --git a/api/structs/structs/agreement.pulsar.go b/api/structs/structs/agreement.pulsar.go new file mode 100644 index 00000000..f6ca53c7 --- /dev/null +++ b/api/structs/structs/agreement.pulsar.go @@ -0,0 +1,1043 @@ +// Code generated by protoc-gen-go-pulsar. DO NOT EDIT. +package structs + +import ( + _ "cosmossdk.io/api/cosmos/base/v1beta1" + fmt "fmt" + _ "github.com/cosmos/cosmos-proto" + runtime "github.com/cosmos/cosmos-proto/runtime" + _ "github.com/cosmos/gogoproto/gogoproto" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoiface "google.golang.org/protobuf/runtime/protoiface" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + io "io" + reflect "reflect" + sync "sync" +) + +var ( + md_Agreement protoreflect.MessageDescriptor + fd_Agreement_id protoreflect.FieldDescriptor + fd_Agreement_providerId protoreflect.FieldDescriptor + fd_Agreement_allocationId protoreflect.FieldDescriptor + fd_Agreement_capacity protoreflect.FieldDescriptor + fd_Agreement_startBlock protoreflect.FieldDescriptor + fd_Agreement_endBlock protoreflect.FieldDescriptor + fd_Agreement_creator protoreflect.FieldDescriptor + fd_Agreement_owner protoreflect.FieldDescriptor +) + +func init() { + file_structs_structs_agreement_proto_init() + md_Agreement = File_structs_structs_agreement_proto.Messages().ByName("Agreement") + fd_Agreement_id = md_Agreement.Fields().ByName("id") + fd_Agreement_providerId = md_Agreement.Fields().ByName("providerId") + fd_Agreement_allocationId = md_Agreement.Fields().ByName("allocationId") + fd_Agreement_capacity = md_Agreement.Fields().ByName("capacity") + fd_Agreement_startBlock = md_Agreement.Fields().ByName("startBlock") + fd_Agreement_endBlock = md_Agreement.Fields().ByName("endBlock") + fd_Agreement_creator = md_Agreement.Fields().ByName("creator") + fd_Agreement_owner = md_Agreement.Fields().ByName("owner") +} + +var _ protoreflect.Message = (*fastReflection_Agreement)(nil) + +type fastReflection_Agreement Agreement + +func (x *Agreement) ProtoReflect() protoreflect.Message { + return (*fastReflection_Agreement)(x) +} + +func (x *Agreement) slowProtoReflect() protoreflect.Message { + mi := &file_structs_structs_agreement_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_Agreement_messageType fastReflection_Agreement_messageType +var _ protoreflect.MessageType = fastReflection_Agreement_messageType{} + +type fastReflection_Agreement_messageType struct{} + +func (x fastReflection_Agreement_messageType) Zero() protoreflect.Message { + return (*fastReflection_Agreement)(nil) +} +func (x fastReflection_Agreement_messageType) New() protoreflect.Message { + return new(fastReflection_Agreement) +} +func (x fastReflection_Agreement_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_Agreement +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_Agreement) Descriptor() protoreflect.MessageDescriptor { + return md_Agreement +} + +// 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_Agreement) Type() protoreflect.MessageType { + return _fastReflection_Agreement_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_Agreement) New() protoreflect.Message { + return new(fastReflection_Agreement) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_Agreement) Interface() protoreflect.ProtoMessage { + return (*Agreement)(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_Agreement) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Id != "" { + value := protoreflect.ValueOfString(x.Id) + if !f(fd_Agreement_id, value) { + return + } + } + if x.ProviderId != "" { + value := protoreflect.ValueOfString(x.ProviderId) + if !f(fd_Agreement_providerId, value) { + return + } + } + if x.AllocationId != "" { + value := protoreflect.ValueOfString(x.AllocationId) + if !f(fd_Agreement_allocationId, value) { + return + } + } + if x.Capacity != uint64(0) { + value := protoreflect.ValueOfUint64(x.Capacity) + if !f(fd_Agreement_capacity, value) { + return + } + } + if x.StartBlock != uint64(0) { + value := protoreflect.ValueOfUint64(x.StartBlock) + if !f(fd_Agreement_startBlock, value) { + return + } + } + if x.EndBlock != uint64(0) { + value := protoreflect.ValueOfUint64(x.EndBlock) + if !f(fd_Agreement_endBlock, value) { + return + } + } + if x.Creator != "" { + value := protoreflect.ValueOfString(x.Creator) + if !f(fd_Agreement_creator, value) { + return + } + } + if x.Owner != "" { + value := protoreflect.ValueOfString(x.Owner) + if !f(fd_Agreement_owner, 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_Agreement) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "structs.structs.Agreement.id": + return x.Id != "" + case "structs.structs.Agreement.providerId": + return x.ProviderId != "" + case "structs.structs.Agreement.allocationId": + return x.AllocationId != "" + case "structs.structs.Agreement.capacity": + return x.Capacity != uint64(0) + case "structs.structs.Agreement.startBlock": + return x.StartBlock != uint64(0) + case "structs.structs.Agreement.endBlock": + return x.EndBlock != uint64(0) + case "structs.structs.Agreement.creator": + return x.Creator != "" + case "structs.structs.Agreement.owner": + return x.Owner != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.Agreement")) + } + panic(fmt.Errorf("message structs.structs.Agreement 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_Agreement) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "structs.structs.Agreement.id": + x.Id = "" + case "structs.structs.Agreement.providerId": + x.ProviderId = "" + case "structs.structs.Agreement.allocationId": + x.AllocationId = "" + case "structs.structs.Agreement.capacity": + x.Capacity = uint64(0) + case "structs.structs.Agreement.startBlock": + x.StartBlock = uint64(0) + case "structs.structs.Agreement.endBlock": + x.EndBlock = uint64(0) + case "structs.structs.Agreement.creator": + x.Creator = "" + case "structs.structs.Agreement.owner": + x.Owner = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.Agreement")) + } + panic(fmt.Errorf("message structs.structs.Agreement 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_Agreement) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "structs.structs.Agreement.id": + value := x.Id + return protoreflect.ValueOfString(value) + case "structs.structs.Agreement.providerId": + value := x.ProviderId + return protoreflect.ValueOfString(value) + case "structs.structs.Agreement.allocationId": + value := x.AllocationId + return protoreflect.ValueOfString(value) + case "structs.structs.Agreement.capacity": + value := x.Capacity + return protoreflect.ValueOfUint64(value) + case "structs.structs.Agreement.startBlock": + value := x.StartBlock + return protoreflect.ValueOfUint64(value) + case "structs.structs.Agreement.endBlock": + value := x.EndBlock + return protoreflect.ValueOfUint64(value) + case "structs.structs.Agreement.creator": + value := x.Creator + return protoreflect.ValueOfString(value) + case "structs.structs.Agreement.owner": + value := x.Owner + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.Agreement")) + } + panic(fmt.Errorf("message structs.structs.Agreement 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_Agreement) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "structs.structs.Agreement.id": + x.Id = value.Interface().(string) + case "structs.structs.Agreement.providerId": + x.ProviderId = value.Interface().(string) + case "structs.structs.Agreement.allocationId": + x.AllocationId = value.Interface().(string) + case "structs.structs.Agreement.capacity": + x.Capacity = value.Uint() + case "structs.structs.Agreement.startBlock": + x.StartBlock = value.Uint() + case "structs.structs.Agreement.endBlock": + x.EndBlock = value.Uint() + case "structs.structs.Agreement.creator": + x.Creator = value.Interface().(string) + case "structs.structs.Agreement.owner": + x.Owner = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.Agreement")) + } + panic(fmt.Errorf("message structs.structs.Agreement 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_Agreement) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.Agreement.id": + panic(fmt.Errorf("field id of message structs.structs.Agreement is not mutable")) + case "structs.structs.Agreement.providerId": + panic(fmt.Errorf("field providerId of message structs.structs.Agreement is not mutable")) + case "structs.structs.Agreement.allocationId": + panic(fmt.Errorf("field allocationId of message structs.structs.Agreement is not mutable")) + case "structs.structs.Agreement.capacity": + panic(fmt.Errorf("field capacity of message structs.structs.Agreement is not mutable")) + case "structs.structs.Agreement.startBlock": + panic(fmt.Errorf("field startBlock of message structs.structs.Agreement is not mutable")) + case "structs.structs.Agreement.endBlock": + panic(fmt.Errorf("field endBlock of message structs.structs.Agreement is not mutable")) + case "structs.structs.Agreement.creator": + panic(fmt.Errorf("field creator of message structs.structs.Agreement is not mutable")) + case "structs.structs.Agreement.owner": + panic(fmt.Errorf("field owner of message structs.structs.Agreement is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.Agreement")) + } + panic(fmt.Errorf("message structs.structs.Agreement 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_Agreement) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.Agreement.id": + return protoreflect.ValueOfString("") + case "structs.structs.Agreement.providerId": + return protoreflect.ValueOfString("") + case "structs.structs.Agreement.allocationId": + return protoreflect.ValueOfString("") + case "structs.structs.Agreement.capacity": + return protoreflect.ValueOfUint64(uint64(0)) + case "structs.structs.Agreement.startBlock": + return protoreflect.ValueOfUint64(uint64(0)) + case "structs.structs.Agreement.endBlock": + return protoreflect.ValueOfUint64(uint64(0)) + case "structs.structs.Agreement.creator": + return protoreflect.ValueOfString("") + case "structs.structs.Agreement.owner": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.Agreement")) + } + panic(fmt.Errorf("message structs.structs.Agreement 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_Agreement) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in structs.structs.Agreement", 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_Agreement) 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_Agreement) 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_Agreement) 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_Agreement) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*Agreement) + 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.Id) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.ProviderId) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.AllocationId) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.Capacity != 0 { + n += 1 + runtime.Sov(uint64(x.Capacity)) + } + if x.StartBlock != 0 { + n += 1 + runtime.Sov(uint64(x.StartBlock)) + } + if x.EndBlock != 0 { + n += 1 + runtime.Sov(uint64(x.EndBlock)) + } + l = len(x.Creator) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.Owner) + 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().(*Agreement) + 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.Owner) > 0 { + i -= len(x.Owner) + copy(dAtA[i:], x.Owner) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Owner))) + i-- + dAtA[i] = 0x42 + } + if len(x.Creator) > 0 { + i -= len(x.Creator) + copy(dAtA[i:], x.Creator) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Creator))) + i-- + dAtA[i] = 0x3a + } + if x.EndBlock != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.EndBlock)) + i-- + dAtA[i] = 0x30 + } + if x.StartBlock != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.StartBlock)) + i-- + dAtA[i] = 0x28 + } + if x.Capacity != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.Capacity)) + i-- + dAtA[i] = 0x20 + } + if len(x.AllocationId) > 0 { + i -= len(x.AllocationId) + copy(dAtA[i:], x.AllocationId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.AllocationId))) + i-- + dAtA[i] = 0x1a + } + if len(x.ProviderId) > 0 { + i -= len(x.ProviderId) + copy(dAtA[i:], x.ProviderId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.ProviderId))) + i-- + dAtA[i] = 0x12 + } + if len(x.Id) > 0 { + i -= len(x.Id) + copy(dAtA[i:], x.Id) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Id))) + 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().(*Agreement) + 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: Agreement: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: Agreement: 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 Id", 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.Id = 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 ProviderId", 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.ProviderId = 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 AllocationId", 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.AllocationId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Capacity", wireType) + } + x.Capacity = 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.Capacity |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 5: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field StartBlock", wireType) + } + x.StartBlock = 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.StartBlock |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 6: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field EndBlock", wireType) + } + x.EndBlock = 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.EndBlock |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 7: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Creator", 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.Creator = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 8: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Owner", 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.Owner = 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, + } +} + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.27.0 +// protoc (unknown) +// source: structs/structs/agreement.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) +) + +type Agreement struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + ProviderId string `protobuf:"bytes,2,opt,name=providerId,proto3" json:"providerId,omitempty"` + AllocationId string `protobuf:"bytes,3,opt,name=allocationId,proto3" json:"allocationId,omitempty"` + Capacity uint64 `protobuf:"varint,4,opt,name=capacity,proto3" json:"capacity,omitempty"` + StartBlock uint64 `protobuf:"varint,5,opt,name=startBlock,proto3" json:"startBlock,omitempty"` + EndBlock uint64 `protobuf:"varint,6,opt,name=endBlock,proto3" json:"endBlock,omitempty"` + Creator string `protobuf:"bytes,7,opt,name=creator,proto3" json:"creator,omitempty"` + Owner string `protobuf:"bytes,8,opt,name=owner,proto3" json:"owner,omitempty"` +} + +func (x *Agreement) Reset() { + *x = Agreement{} + if protoimpl.UnsafeEnabled { + mi := &file_structs_structs_agreement_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Agreement) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Agreement) ProtoMessage() {} + +// Deprecated: Use Agreement.ProtoReflect.Descriptor instead. +func (*Agreement) Descriptor() ([]byte, []int) { + return file_structs_structs_agreement_proto_rawDescGZIP(), []int{0} +} + +func (x *Agreement) GetId() string { + if x != nil { + return x.Id + } + return "" +} + +func (x *Agreement) GetProviderId() string { + if x != nil { + return x.ProviderId + } + return "" +} + +func (x *Agreement) GetAllocationId() string { + if x != nil { + return x.AllocationId + } + return "" +} + +func (x *Agreement) GetCapacity() uint64 { + if x != nil { + return x.Capacity + } + return 0 +} + +func (x *Agreement) GetStartBlock() uint64 { + if x != nil { + return x.StartBlock + } + return 0 +} + +func (x *Agreement) GetEndBlock() uint64 { + if x != nil { + return x.EndBlock + } + return 0 +} + +func (x *Agreement) GetCreator() string { + if x != nil { + return x.Creator + } + return "" +} + +func (x *Agreement) GetOwner() string { + if x != nil { + return x.Owner + } + return "" +} + +var File_structs_structs_agreement_proto protoreflect.FileDescriptor + +var file_structs_structs_agreement_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, + 0x73, 0x2f, 0x61, 0x67, 0x72, 0x65, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x12, 0x0f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, + 0x74, 0x73, 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, 0x14, 0x67, + 0x6f, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x67, 0x6f, 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, 0x69, 0x6e, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0xed, 0x01, 0x0a, 0x09, 0x41, 0x67, 0x72, 0x65, 0x65, 0x6d, 0x65, 0x6e, + 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, + 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x64, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, + 0x64, 0x12, 0x22, 0x0a, 0x0c, 0x61, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, + 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x61, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, + 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x63, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, + 0x79, 0x12, 0x1e, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x18, + 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x42, 0x6c, 0x6f, 0x63, + 0x6b, 0x12, 0x1a, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x04, 0x52, 0x08, 0x65, 0x6e, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x18, 0x0a, + 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, + 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, + 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x3a, 0x04, 0xe8, + 0xa0, 0x1f, 0x01, 0x42, 0xa4, 0x01, 0x0a, 0x13, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x74, 0x72, 0x75, + 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x42, 0x0e, 0x41, 0x67, 0x72, + 0x65, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x20, 0x63, + 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, + 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0xa2, + 0x02, 0x03, 0x53, 0x53, 0x58, 0xaa, 0x02, 0x0f, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, + 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0xca, 0x02, 0x0f, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, + 0x73, 0x5c, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0xe2, 0x02, 0x1b, 0x53, 0x74, 0x72, 0x75, + 0x63, 0x74, 0x73, 0x5c, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x5c, 0x47, 0x50, 0x42, 0x4d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x10, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, + 0x73, 0x3a, 0x3a, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_structs_structs_agreement_proto_rawDescOnce sync.Once + file_structs_structs_agreement_proto_rawDescData = file_structs_structs_agreement_proto_rawDesc +) + +func file_structs_structs_agreement_proto_rawDescGZIP() []byte { + file_structs_structs_agreement_proto_rawDescOnce.Do(func() { + file_structs_structs_agreement_proto_rawDescData = protoimpl.X.CompressGZIP(file_structs_structs_agreement_proto_rawDescData) + }) + return file_structs_structs_agreement_proto_rawDescData +} + +var file_structs_structs_agreement_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_structs_structs_agreement_proto_goTypes = []interface{}{ + (*Agreement)(nil), // 0: structs.structs.Agreement +} +var file_structs_structs_agreement_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_structs_structs_agreement_proto_init() } +func file_structs_structs_agreement_proto_init() { + if File_structs_structs_agreement_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_structs_structs_agreement_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Agreement); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_structs_structs_agreement_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_structs_structs_agreement_proto_goTypes, + DependencyIndexes: file_structs_structs_agreement_proto_depIdxs, + MessageInfos: file_structs_structs_agreement_proto_msgTypes, + }.Build() + File_structs_structs_agreement_proto = out.File + file_structs_structs_agreement_proto_rawDesc = nil + file_structs_structs_agreement_proto_goTypes = nil + file_structs_structs_agreement_proto_depIdxs = nil +} diff --git a/api/structs/structs/events.pulsar.go b/api/structs/structs/events.pulsar.go index c389e5af..f203c7f2 100644 --- a/api/structs/structs/events.pulsar.go +++ b/api/structs/structs/events.pulsar.go @@ -452,25 +452,25 @@ func (x *fastReflection_EventAllocation) ProtoMethods() *protoiface.Methods { } var ( - md_EventFleet protoreflect.MessageDescriptor - fd_EventFleet_fleet protoreflect.FieldDescriptor + md_EventAgreement protoreflect.MessageDescriptor + fd_EventAgreement_agreement protoreflect.FieldDescriptor ) func init() { file_structs_structs_events_proto_init() - md_EventFleet = File_structs_structs_events_proto.Messages().ByName("EventFleet") - fd_EventFleet_fleet = md_EventFleet.Fields().ByName("fleet") + md_EventAgreement = File_structs_structs_events_proto.Messages().ByName("EventAgreement") + fd_EventAgreement_agreement = md_EventAgreement.Fields().ByName("agreement") } -var _ protoreflect.Message = (*fastReflection_EventFleet)(nil) +var _ protoreflect.Message = (*fastReflection_EventAgreement)(nil) -type fastReflection_EventFleet EventFleet +type fastReflection_EventAgreement EventAgreement -func (x *EventFleet) ProtoReflect() protoreflect.Message { - return (*fastReflection_EventFleet)(x) +func (x *EventAgreement) ProtoReflect() protoreflect.Message { + return (*fastReflection_EventAgreement)(x) } -func (x *EventFleet) slowProtoReflect() protoreflect.Message { +func (x *EventAgreement) slowProtoReflect() protoreflect.Message { mi := &file_structs_structs_events_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -482,43 +482,43 @@ func (x *EventFleet) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_EventFleet_messageType fastReflection_EventFleet_messageType -var _ protoreflect.MessageType = fastReflection_EventFleet_messageType{} +var _fastReflection_EventAgreement_messageType fastReflection_EventAgreement_messageType +var _ protoreflect.MessageType = fastReflection_EventAgreement_messageType{} -type fastReflection_EventFleet_messageType struct{} +type fastReflection_EventAgreement_messageType struct{} -func (x fastReflection_EventFleet_messageType) Zero() protoreflect.Message { - return (*fastReflection_EventFleet)(nil) +func (x fastReflection_EventAgreement_messageType) Zero() protoreflect.Message { + return (*fastReflection_EventAgreement)(nil) } -func (x fastReflection_EventFleet_messageType) New() protoreflect.Message { - return new(fastReflection_EventFleet) +func (x fastReflection_EventAgreement_messageType) New() protoreflect.Message { + return new(fastReflection_EventAgreement) } -func (x fastReflection_EventFleet_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_EventFleet +func (x fastReflection_EventAgreement_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_EventAgreement } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_EventFleet) Descriptor() protoreflect.MessageDescriptor { - return md_EventFleet +func (x *fastReflection_EventAgreement) Descriptor() protoreflect.MessageDescriptor { + return md_EventAgreement } // 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_EventFleet) Type() protoreflect.MessageType { - return _fastReflection_EventFleet_messageType +func (x *fastReflection_EventAgreement) Type() protoreflect.MessageType { + return _fastReflection_EventAgreement_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_EventFleet) New() protoreflect.Message { - return new(fastReflection_EventFleet) +func (x *fastReflection_EventAgreement) New() protoreflect.Message { + return new(fastReflection_EventAgreement) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_EventFleet) Interface() protoreflect.ProtoMessage { - return (*EventFleet)(x) +func (x *fastReflection_EventAgreement) Interface() protoreflect.ProtoMessage { + return (*EventAgreement)(x) } // Range iterates over every populated field in an undefined order, @@ -526,10 +526,10 @@ func (x *fastReflection_EventFleet) Interface() protoreflect.ProtoMessage { // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_EventFleet) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.Fleet != nil { - value := protoreflect.ValueOfMessage(x.Fleet.ProtoReflect()) - if !f(fd_EventFleet_fleet, value) { +func (x *fastReflection_EventAgreement) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Agreement != nil { + value := protoreflect.ValueOfMessage(x.Agreement.ProtoReflect()) + if !f(fd_EventAgreement_agreement, value) { return } } @@ -546,15 +546,15 @@ func (x *fastReflection_EventFleet) Range(f func(protoreflect.FieldDescriptor, p // 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_EventFleet) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_EventAgreement) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.EventFleet.fleet": - return x.Fleet != nil + case "structs.structs.EventAgreement.agreement": + return x.Agreement != nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventFleet")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAgreement")) } - panic(fmt.Errorf("message structs.structs.EventFleet does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventAgreement does not contain field %s", fd.FullName())) } } @@ -564,15 +564,15 @@ func (x *fastReflection_EventFleet) Has(fd protoreflect.FieldDescriptor) bool { // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventFleet) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_EventAgreement) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.EventFleet.fleet": - x.Fleet = nil + case "structs.structs.EventAgreement.agreement": + x.Agreement = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventFleet")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAgreement")) } - panic(fmt.Errorf("message structs.structs.EventFleet does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventAgreement does not contain field %s", fd.FullName())) } } @@ -582,16 +582,16 @@ func (x *fastReflection_EventFleet) Clear(fd protoreflect.FieldDescriptor) { // 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_EventFleet) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_EventAgreement) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.EventFleet.fleet": - value := x.Fleet + case "structs.structs.EventAgreement.agreement": + value := x.Agreement return protoreflect.ValueOfMessage(value.ProtoReflect()) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventFleet")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAgreement")) } - panic(fmt.Errorf("message structs.structs.EventFleet does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.EventAgreement does not contain field %s", descriptor.FullName())) } } @@ -605,15 +605,15 @@ func (x *fastReflection_EventFleet) Get(descriptor protoreflect.FieldDescriptor) // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventFleet) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_EventAgreement) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.EventFleet.fleet": - x.Fleet = value.Message().Interface().(*Fleet) + case "structs.structs.EventAgreement.agreement": + x.Agreement = value.Message().Interface().(*Agreement) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventFleet")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAgreement")) } - panic(fmt.Errorf("message structs.structs.EventFleet does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventAgreement does not contain field %s", fd.FullName())) } } @@ -627,44 +627,44 @@ func (x *fastReflection_EventFleet) Set(fd protoreflect.FieldDescriptor, value p // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventFleet) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_EventAgreement) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.EventFleet.fleet": - if x.Fleet == nil { - x.Fleet = new(Fleet) + case "structs.structs.EventAgreement.agreement": + if x.Agreement == nil { + x.Agreement = new(Agreement) } - return protoreflect.ValueOfMessage(x.Fleet.ProtoReflect()) + return protoreflect.ValueOfMessage(x.Agreement.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventFleet")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAgreement")) } - panic(fmt.Errorf("message structs.structs.EventFleet does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventAgreement 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_EventFleet) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_EventAgreement) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.EventFleet.fleet": - m := new(Fleet) + case "structs.structs.EventAgreement.agreement": + m := new(Agreement) return protoreflect.ValueOfMessage(m.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventFleet")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAgreement")) } - panic(fmt.Errorf("message structs.structs.EventFleet does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventAgreement 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_EventFleet) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_EventAgreement) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.EventFleet", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.EventAgreement", d.FullName())) } panic("unreachable") } @@ -672,7 +672,7 @@ func (x *fastReflection_EventFleet) WhichOneof(d protoreflect.OneofDescriptor) p // 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_EventFleet) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_EventAgreement) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -683,7 +683,7 @@ func (x *fastReflection_EventFleet) GetUnknown() protoreflect.RawFields { // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventFleet) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_EventAgreement) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -695,7 +695,7 @@ func (x *fastReflection_EventFleet) SetUnknown(fields protoreflect.RawFields) { // 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_EventFleet) IsValid() bool { +func (x *fastReflection_EventAgreement) IsValid() bool { return x != nil } @@ -705,9 +705,9 @@ func (x *fastReflection_EventFleet) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_EventFleet) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_EventAgreement) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*EventFleet) + x := input.Message.Interface().(*EventAgreement) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -719,8 +719,8 @@ func (x *fastReflection_EventFleet) ProtoMethods() *protoiface.Methods { var n int var l int _ = l - if x.Fleet != nil { - l = options.Size(x.Fleet) + if x.Agreement != nil { + l = options.Size(x.Agreement) n += 1 + l + runtime.Sov(uint64(l)) } if x.unknownFields != nil { @@ -733,7 +733,7 @@ func (x *fastReflection_EventFleet) ProtoMethods() *protoiface.Methods { } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*EventFleet) + x := input.Message.Interface().(*EventAgreement) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -752,8 +752,8 @@ func (x *fastReflection_EventFleet) ProtoMethods() *protoiface.Methods { i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if x.Fleet != nil { - encoded, err := options.Marshal(x.Fleet) + if x.Agreement != nil { + encoded, err := options.Marshal(x.Agreement) if err != nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -777,7 +777,7 @@ func (x *fastReflection_EventFleet) ProtoMethods() *protoiface.Methods { }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*EventFleet) + x := input.Message.Interface().(*EventAgreement) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -809,15 +809,15 @@ func (x *fastReflection_EventFleet) ProtoMethods() *protoiface.Methods { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventFleet: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventAgreement: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventFleet: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventAgreement: 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 Fleet", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Agreement", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -844,10 +844,10 @@ func (x *fastReflection_EventFleet) ProtoMethods() *protoiface.Methods { if postIndex > l { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - if x.Fleet == nil { - x.Fleet = &Fleet{} + if x.Agreement == nil { + x.Agreement = &Agreement{} } - if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Fleet); err != nil { + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Agreement); err != nil { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err } iNdEx = postIndex @@ -887,25 +887,25 @@ func (x *fastReflection_EventFleet) ProtoMethods() *protoiface.Methods { } var ( - md_EventGuild protoreflect.MessageDescriptor - fd_EventGuild_guild protoreflect.FieldDescriptor + md_EventFleet protoreflect.MessageDescriptor + fd_EventFleet_fleet protoreflect.FieldDescriptor ) func init() { file_structs_structs_events_proto_init() - md_EventGuild = File_structs_structs_events_proto.Messages().ByName("EventGuild") - fd_EventGuild_guild = md_EventGuild.Fields().ByName("guild") + md_EventFleet = File_structs_structs_events_proto.Messages().ByName("EventFleet") + fd_EventFleet_fleet = md_EventFleet.Fields().ByName("fleet") } -var _ protoreflect.Message = (*fastReflection_EventGuild)(nil) +var _ protoreflect.Message = (*fastReflection_EventFleet)(nil) -type fastReflection_EventGuild EventGuild +type fastReflection_EventFleet EventFleet -func (x *EventGuild) ProtoReflect() protoreflect.Message { - return (*fastReflection_EventGuild)(x) +func (x *EventFleet) ProtoReflect() protoreflect.Message { + return (*fastReflection_EventFleet)(x) } -func (x *EventGuild) slowProtoReflect() protoreflect.Message { +func (x *EventFleet) slowProtoReflect() protoreflect.Message { mi := &file_structs_structs_events_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -917,43 +917,43 @@ func (x *EventGuild) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_EventGuild_messageType fastReflection_EventGuild_messageType -var _ protoreflect.MessageType = fastReflection_EventGuild_messageType{} +var _fastReflection_EventFleet_messageType fastReflection_EventFleet_messageType +var _ protoreflect.MessageType = fastReflection_EventFleet_messageType{} -type fastReflection_EventGuild_messageType struct{} +type fastReflection_EventFleet_messageType struct{} -func (x fastReflection_EventGuild_messageType) Zero() protoreflect.Message { - return (*fastReflection_EventGuild)(nil) +func (x fastReflection_EventFleet_messageType) Zero() protoreflect.Message { + return (*fastReflection_EventFleet)(nil) } -func (x fastReflection_EventGuild_messageType) New() protoreflect.Message { - return new(fastReflection_EventGuild) +func (x fastReflection_EventFleet_messageType) New() protoreflect.Message { + return new(fastReflection_EventFleet) } -func (x fastReflection_EventGuild_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_EventGuild +func (x fastReflection_EventFleet_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_EventFleet } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_EventGuild) Descriptor() protoreflect.MessageDescriptor { - return md_EventGuild +func (x *fastReflection_EventFleet) Descriptor() protoreflect.MessageDescriptor { + return md_EventFleet } // 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_EventGuild) Type() protoreflect.MessageType { - return _fastReflection_EventGuild_messageType +func (x *fastReflection_EventFleet) Type() protoreflect.MessageType { + return _fastReflection_EventFleet_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_EventGuild) New() protoreflect.Message { - return new(fastReflection_EventGuild) +func (x *fastReflection_EventFleet) New() protoreflect.Message { + return new(fastReflection_EventFleet) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_EventGuild) Interface() protoreflect.ProtoMessage { - return (*EventGuild)(x) +func (x *fastReflection_EventFleet) Interface() protoreflect.ProtoMessage { + return (*EventFleet)(x) } // Range iterates over every populated field in an undefined order, @@ -961,10 +961,10 @@ func (x *fastReflection_EventGuild) Interface() protoreflect.ProtoMessage { // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_EventGuild) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.Guild != nil { - value := protoreflect.ValueOfMessage(x.Guild.ProtoReflect()) - if !f(fd_EventGuild_guild, value) { +func (x *fastReflection_EventFleet) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Fleet != nil { + value := protoreflect.ValueOfMessage(x.Fleet.ProtoReflect()) + if !f(fd_EventFleet_fleet, value) { return } } @@ -981,15 +981,15 @@ func (x *fastReflection_EventGuild) Range(f func(protoreflect.FieldDescriptor, p // 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_EventGuild) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_EventFleet) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.EventGuild.guild": - return x.Guild != nil + case "structs.structs.EventFleet.fleet": + return x.Fleet != nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventGuild")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventFleet")) } - panic(fmt.Errorf("message structs.structs.EventGuild does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventFleet does not contain field %s", fd.FullName())) } } @@ -999,15 +999,15 @@ func (x *fastReflection_EventGuild) Has(fd protoreflect.FieldDescriptor) bool { // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventGuild) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_EventFleet) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.EventGuild.guild": - x.Guild = nil + case "structs.structs.EventFleet.fleet": + x.Fleet = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventGuild")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventFleet")) } - panic(fmt.Errorf("message structs.structs.EventGuild does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventFleet does not contain field %s", fd.FullName())) } } @@ -1017,16 +1017,16 @@ func (x *fastReflection_EventGuild) Clear(fd protoreflect.FieldDescriptor) { // 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_EventGuild) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_EventFleet) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.EventGuild.guild": - value := x.Guild + case "structs.structs.EventFleet.fleet": + value := x.Fleet return protoreflect.ValueOfMessage(value.ProtoReflect()) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventGuild")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventFleet")) } - panic(fmt.Errorf("message structs.structs.EventGuild does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.EventFleet does not contain field %s", descriptor.FullName())) } } @@ -1040,15 +1040,15 @@ func (x *fastReflection_EventGuild) Get(descriptor protoreflect.FieldDescriptor) // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventGuild) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_EventFleet) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.EventGuild.guild": - x.Guild = value.Message().Interface().(*Guild) + case "structs.structs.EventFleet.fleet": + x.Fleet = value.Message().Interface().(*Fleet) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventGuild")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventFleet")) } - panic(fmt.Errorf("message structs.structs.EventGuild does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventFleet does not contain field %s", fd.FullName())) } } @@ -1062,44 +1062,44 @@ func (x *fastReflection_EventGuild) Set(fd protoreflect.FieldDescriptor, value p // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventGuild) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_EventFleet) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.EventGuild.guild": - if x.Guild == nil { - x.Guild = new(Guild) + case "structs.structs.EventFleet.fleet": + if x.Fleet == nil { + x.Fleet = new(Fleet) } - return protoreflect.ValueOfMessage(x.Guild.ProtoReflect()) + return protoreflect.ValueOfMessage(x.Fleet.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventGuild")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventFleet")) } - panic(fmt.Errorf("message structs.structs.EventGuild does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventFleet 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_EventGuild) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_EventFleet) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.EventGuild.guild": - m := new(Guild) + case "structs.structs.EventFleet.fleet": + m := new(Fleet) return protoreflect.ValueOfMessage(m.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventGuild")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventFleet")) } - panic(fmt.Errorf("message structs.structs.EventGuild does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventFleet 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_EventGuild) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_EventFleet) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.EventGuild", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.EventFleet", d.FullName())) } panic("unreachable") } @@ -1107,7 +1107,7 @@ func (x *fastReflection_EventGuild) WhichOneof(d protoreflect.OneofDescriptor) p // 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_EventGuild) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_EventFleet) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -1118,7 +1118,7 @@ func (x *fastReflection_EventGuild) GetUnknown() protoreflect.RawFields { // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventGuild) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_EventFleet) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -1130,7 +1130,7 @@ func (x *fastReflection_EventGuild) SetUnknown(fields protoreflect.RawFields) { // 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_EventGuild) IsValid() bool { +func (x *fastReflection_EventFleet) IsValid() bool { return x != nil } @@ -1140,9 +1140,9 @@ func (x *fastReflection_EventGuild) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_EventGuild) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_EventFleet) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*EventGuild) + x := input.Message.Interface().(*EventFleet) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -1154,8 +1154,8 @@ func (x *fastReflection_EventGuild) ProtoMethods() *protoiface.Methods { var n int var l int _ = l - if x.Guild != nil { - l = options.Size(x.Guild) + if x.Fleet != nil { + l = options.Size(x.Fleet) n += 1 + l + runtime.Sov(uint64(l)) } if x.unknownFields != nil { @@ -1168,7 +1168,7 @@ func (x *fastReflection_EventGuild) ProtoMethods() *protoiface.Methods { } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*EventGuild) + x := input.Message.Interface().(*EventFleet) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -1187,8 +1187,8 @@ func (x *fastReflection_EventGuild) ProtoMethods() *protoiface.Methods { i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if x.Guild != nil { - encoded, err := options.Marshal(x.Guild) + if x.Fleet != nil { + encoded, err := options.Marshal(x.Fleet) if err != nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -1212,7 +1212,7 @@ func (x *fastReflection_EventGuild) ProtoMethods() *protoiface.Methods { }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*EventGuild) + x := input.Message.Interface().(*EventFleet) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -1244,15 +1244,15 @@ func (x *fastReflection_EventGuild) ProtoMethods() *protoiface.Methods { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventGuild: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventFleet: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventGuild: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventFleet: 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 Guild", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Fleet", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -1279,10 +1279,10 @@ func (x *fastReflection_EventGuild) ProtoMethods() *protoiface.Methods { if postIndex > l { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - if x.Guild == nil { - x.Guild = &Guild{} + if x.Fleet == nil { + x.Fleet = &Fleet{} } - if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Guild); err != nil { + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Fleet); err != nil { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err } iNdEx = postIndex @@ -1322,25 +1322,25 @@ func (x *fastReflection_EventGuild) ProtoMethods() *protoiface.Methods { } var ( - md_EventInfusion protoreflect.MessageDescriptor - fd_EventInfusion_infusion protoreflect.FieldDescriptor + md_EventGuild protoreflect.MessageDescriptor + fd_EventGuild_guild protoreflect.FieldDescriptor ) func init() { file_structs_structs_events_proto_init() - md_EventInfusion = File_structs_structs_events_proto.Messages().ByName("EventInfusion") - fd_EventInfusion_infusion = md_EventInfusion.Fields().ByName("infusion") + md_EventGuild = File_structs_structs_events_proto.Messages().ByName("EventGuild") + fd_EventGuild_guild = md_EventGuild.Fields().ByName("guild") } -var _ protoreflect.Message = (*fastReflection_EventInfusion)(nil) +var _ protoreflect.Message = (*fastReflection_EventGuild)(nil) -type fastReflection_EventInfusion EventInfusion +type fastReflection_EventGuild EventGuild -func (x *EventInfusion) ProtoReflect() protoreflect.Message { - return (*fastReflection_EventInfusion)(x) +func (x *EventGuild) ProtoReflect() protoreflect.Message { + return (*fastReflection_EventGuild)(x) } -func (x *EventInfusion) slowProtoReflect() protoreflect.Message { +func (x *EventGuild) slowProtoReflect() protoreflect.Message { mi := &file_structs_structs_events_proto_msgTypes[3] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -1352,43 +1352,43 @@ func (x *EventInfusion) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_EventInfusion_messageType fastReflection_EventInfusion_messageType -var _ protoreflect.MessageType = fastReflection_EventInfusion_messageType{} +var _fastReflection_EventGuild_messageType fastReflection_EventGuild_messageType +var _ protoreflect.MessageType = fastReflection_EventGuild_messageType{} -type fastReflection_EventInfusion_messageType struct{} +type fastReflection_EventGuild_messageType struct{} -func (x fastReflection_EventInfusion_messageType) Zero() protoreflect.Message { - return (*fastReflection_EventInfusion)(nil) +func (x fastReflection_EventGuild_messageType) Zero() protoreflect.Message { + return (*fastReflection_EventGuild)(nil) } -func (x fastReflection_EventInfusion_messageType) New() protoreflect.Message { - return new(fastReflection_EventInfusion) +func (x fastReflection_EventGuild_messageType) New() protoreflect.Message { + return new(fastReflection_EventGuild) } -func (x fastReflection_EventInfusion_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_EventInfusion +func (x fastReflection_EventGuild_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_EventGuild } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_EventInfusion) Descriptor() protoreflect.MessageDescriptor { - return md_EventInfusion +func (x *fastReflection_EventGuild) Descriptor() protoreflect.MessageDescriptor { + return md_EventGuild } // 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_EventInfusion) Type() protoreflect.MessageType { - return _fastReflection_EventInfusion_messageType +func (x *fastReflection_EventGuild) Type() protoreflect.MessageType { + return _fastReflection_EventGuild_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_EventInfusion) New() protoreflect.Message { - return new(fastReflection_EventInfusion) +func (x *fastReflection_EventGuild) New() protoreflect.Message { + return new(fastReflection_EventGuild) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_EventInfusion) Interface() protoreflect.ProtoMessage { - return (*EventInfusion)(x) +func (x *fastReflection_EventGuild) Interface() protoreflect.ProtoMessage { + return (*EventGuild)(x) } // Range iterates over every populated field in an undefined order, @@ -1396,10 +1396,10 @@ func (x *fastReflection_EventInfusion) Interface() protoreflect.ProtoMessage { // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_EventInfusion) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.Infusion != nil { - value := protoreflect.ValueOfMessage(x.Infusion.ProtoReflect()) - if !f(fd_EventInfusion_infusion, value) { +func (x *fastReflection_EventGuild) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Guild != nil { + value := protoreflect.ValueOfMessage(x.Guild.ProtoReflect()) + if !f(fd_EventGuild_guild, value) { return } } @@ -1416,15 +1416,15 @@ func (x *fastReflection_EventInfusion) Range(f func(protoreflect.FieldDescriptor // 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_EventInfusion) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_EventGuild) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.EventInfusion.infusion": - return x.Infusion != nil + case "structs.structs.EventGuild.guild": + return x.Guild != nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventInfusion")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventGuild")) } - panic(fmt.Errorf("message structs.structs.EventInfusion does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventGuild does not contain field %s", fd.FullName())) } } @@ -1434,15 +1434,15 @@ func (x *fastReflection_EventInfusion) Has(fd protoreflect.FieldDescriptor) bool // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventInfusion) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_EventGuild) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.EventInfusion.infusion": - x.Infusion = nil + case "structs.structs.EventGuild.guild": + x.Guild = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventInfusion")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventGuild")) } - panic(fmt.Errorf("message structs.structs.EventInfusion does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventGuild does not contain field %s", fd.FullName())) } } @@ -1452,16 +1452,16 @@ func (x *fastReflection_EventInfusion) Clear(fd protoreflect.FieldDescriptor) { // 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_EventInfusion) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_EventGuild) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.EventInfusion.infusion": - value := x.Infusion + case "structs.structs.EventGuild.guild": + value := x.Guild return protoreflect.ValueOfMessage(value.ProtoReflect()) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventInfusion")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventGuild")) } - panic(fmt.Errorf("message structs.structs.EventInfusion does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.EventGuild does not contain field %s", descriptor.FullName())) } } @@ -1475,15 +1475,15 @@ func (x *fastReflection_EventInfusion) Get(descriptor protoreflect.FieldDescript // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventInfusion) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_EventGuild) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.EventInfusion.infusion": - x.Infusion = value.Message().Interface().(*Infusion) + case "structs.structs.EventGuild.guild": + x.Guild = value.Message().Interface().(*Guild) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventInfusion")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventGuild")) } - panic(fmt.Errorf("message structs.structs.EventInfusion does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventGuild does not contain field %s", fd.FullName())) } } @@ -1497,44 +1497,44 @@ func (x *fastReflection_EventInfusion) Set(fd protoreflect.FieldDescriptor, valu // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventInfusion) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_EventGuild) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.EventInfusion.infusion": - if x.Infusion == nil { - x.Infusion = new(Infusion) + case "structs.structs.EventGuild.guild": + if x.Guild == nil { + x.Guild = new(Guild) } - return protoreflect.ValueOfMessage(x.Infusion.ProtoReflect()) + return protoreflect.ValueOfMessage(x.Guild.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventInfusion")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventGuild")) } - panic(fmt.Errorf("message structs.structs.EventInfusion does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventGuild 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_EventInfusion) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_EventGuild) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.EventInfusion.infusion": - m := new(Infusion) + case "structs.structs.EventGuild.guild": + m := new(Guild) return protoreflect.ValueOfMessage(m.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventInfusion")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventGuild")) } - panic(fmt.Errorf("message structs.structs.EventInfusion does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventGuild 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_EventInfusion) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_EventGuild) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.EventInfusion", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.EventGuild", d.FullName())) } panic("unreachable") } @@ -1542,7 +1542,7 @@ func (x *fastReflection_EventInfusion) WhichOneof(d protoreflect.OneofDescriptor // 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_EventInfusion) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_EventGuild) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -1553,7 +1553,7 @@ func (x *fastReflection_EventInfusion) GetUnknown() protoreflect.RawFields { // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventInfusion) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_EventGuild) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -1565,7 +1565,7 @@ func (x *fastReflection_EventInfusion) SetUnknown(fields protoreflect.RawFields) // 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_EventInfusion) IsValid() bool { +func (x *fastReflection_EventGuild) IsValid() bool { return x != nil } @@ -1575,9 +1575,9 @@ func (x *fastReflection_EventInfusion) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_EventInfusion) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_EventGuild) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*EventInfusion) + x := input.Message.Interface().(*EventGuild) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -1589,8 +1589,8 @@ func (x *fastReflection_EventInfusion) ProtoMethods() *protoiface.Methods { var n int var l int _ = l - if x.Infusion != nil { - l = options.Size(x.Infusion) + if x.Guild != nil { + l = options.Size(x.Guild) n += 1 + l + runtime.Sov(uint64(l)) } if x.unknownFields != nil { @@ -1603,7 +1603,7 @@ func (x *fastReflection_EventInfusion) ProtoMethods() *protoiface.Methods { } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*EventInfusion) + x := input.Message.Interface().(*EventGuild) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -1622,8 +1622,8 @@ func (x *fastReflection_EventInfusion) ProtoMethods() *protoiface.Methods { i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if x.Infusion != nil { - encoded, err := options.Marshal(x.Infusion) + if x.Guild != nil { + encoded, err := options.Marshal(x.Guild) if err != nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -1647,7 +1647,7 @@ func (x *fastReflection_EventInfusion) ProtoMethods() *protoiface.Methods { }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*EventInfusion) + x := input.Message.Interface().(*EventGuild) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -1679,15 +1679,15 @@ func (x *fastReflection_EventInfusion) ProtoMethods() *protoiface.Methods { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventInfusion: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventGuild: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventInfusion: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventGuild: 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 Infusion", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Guild", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -1714,10 +1714,10 @@ func (x *fastReflection_EventInfusion) ProtoMethods() *protoiface.Methods { if postIndex > l { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - if x.Infusion == nil { - x.Infusion = &Infusion{} + if x.Guild == nil { + x.Guild = &Guild{} } - if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Infusion); err != nil { + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Guild); err != nil { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err } iNdEx = postIndex @@ -1757,25 +1757,25 @@ func (x *fastReflection_EventInfusion) ProtoMethods() *protoiface.Methods { } var ( - md_EventPlanet protoreflect.MessageDescriptor - fd_EventPlanet_planet protoreflect.FieldDescriptor + md_EventInfusion protoreflect.MessageDescriptor + fd_EventInfusion_infusion protoreflect.FieldDescriptor ) func init() { file_structs_structs_events_proto_init() - md_EventPlanet = File_structs_structs_events_proto.Messages().ByName("EventPlanet") - fd_EventPlanet_planet = md_EventPlanet.Fields().ByName("planet") + md_EventInfusion = File_structs_structs_events_proto.Messages().ByName("EventInfusion") + fd_EventInfusion_infusion = md_EventInfusion.Fields().ByName("infusion") } -var _ protoreflect.Message = (*fastReflection_EventPlanet)(nil) +var _ protoreflect.Message = (*fastReflection_EventInfusion)(nil) -type fastReflection_EventPlanet EventPlanet +type fastReflection_EventInfusion EventInfusion -func (x *EventPlanet) ProtoReflect() protoreflect.Message { - return (*fastReflection_EventPlanet)(x) +func (x *EventInfusion) ProtoReflect() protoreflect.Message { + return (*fastReflection_EventInfusion)(x) } -func (x *EventPlanet) slowProtoReflect() protoreflect.Message { +func (x *EventInfusion) slowProtoReflect() protoreflect.Message { mi := &file_structs_structs_events_proto_msgTypes[4] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -1787,43 +1787,43 @@ func (x *EventPlanet) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_EventPlanet_messageType fastReflection_EventPlanet_messageType -var _ protoreflect.MessageType = fastReflection_EventPlanet_messageType{} +var _fastReflection_EventInfusion_messageType fastReflection_EventInfusion_messageType +var _ protoreflect.MessageType = fastReflection_EventInfusion_messageType{} -type fastReflection_EventPlanet_messageType struct{} +type fastReflection_EventInfusion_messageType struct{} -func (x fastReflection_EventPlanet_messageType) Zero() protoreflect.Message { - return (*fastReflection_EventPlanet)(nil) +func (x fastReflection_EventInfusion_messageType) Zero() protoreflect.Message { + return (*fastReflection_EventInfusion)(nil) } -func (x fastReflection_EventPlanet_messageType) New() protoreflect.Message { - return new(fastReflection_EventPlanet) +func (x fastReflection_EventInfusion_messageType) New() protoreflect.Message { + return new(fastReflection_EventInfusion) } -func (x fastReflection_EventPlanet_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_EventPlanet +func (x fastReflection_EventInfusion_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_EventInfusion } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_EventPlanet) Descriptor() protoreflect.MessageDescriptor { - return md_EventPlanet +func (x *fastReflection_EventInfusion) Descriptor() protoreflect.MessageDescriptor { + return md_EventInfusion } // 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_EventPlanet) Type() protoreflect.MessageType { - return _fastReflection_EventPlanet_messageType +func (x *fastReflection_EventInfusion) Type() protoreflect.MessageType { + return _fastReflection_EventInfusion_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_EventPlanet) New() protoreflect.Message { - return new(fastReflection_EventPlanet) +func (x *fastReflection_EventInfusion) New() protoreflect.Message { + return new(fastReflection_EventInfusion) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_EventPlanet) Interface() protoreflect.ProtoMessage { - return (*EventPlanet)(x) +func (x *fastReflection_EventInfusion) Interface() protoreflect.ProtoMessage { + return (*EventInfusion)(x) } // Range iterates over every populated field in an undefined order, @@ -1831,10 +1831,10 @@ func (x *fastReflection_EventPlanet) Interface() protoreflect.ProtoMessage { // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_EventPlanet) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.Planet != nil { - value := protoreflect.ValueOfMessage(x.Planet.ProtoReflect()) - if !f(fd_EventPlanet_planet, value) { +func (x *fastReflection_EventInfusion) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Infusion != nil { + value := protoreflect.ValueOfMessage(x.Infusion.ProtoReflect()) + if !f(fd_EventInfusion_infusion, value) { return } } @@ -1851,15 +1851,15 @@ func (x *fastReflection_EventPlanet) Range(f func(protoreflect.FieldDescriptor, // 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_EventPlanet) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_EventInfusion) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.EventPlanet.planet": - return x.Planet != nil + case "structs.structs.EventInfusion.infusion": + return x.Infusion != nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventPlanet")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventInfusion")) } - panic(fmt.Errorf("message structs.structs.EventPlanet does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventInfusion does not contain field %s", fd.FullName())) } } @@ -1869,15 +1869,15 @@ func (x *fastReflection_EventPlanet) Has(fd protoreflect.FieldDescriptor) bool { // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventPlanet) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_EventInfusion) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.EventPlanet.planet": - x.Planet = nil + case "structs.structs.EventInfusion.infusion": + x.Infusion = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventPlanet")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventInfusion")) } - panic(fmt.Errorf("message structs.structs.EventPlanet does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventInfusion does not contain field %s", fd.FullName())) } } @@ -1887,16 +1887,16 @@ func (x *fastReflection_EventPlanet) Clear(fd protoreflect.FieldDescriptor) { // 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_EventPlanet) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_EventInfusion) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.EventPlanet.planet": - value := x.Planet + case "structs.structs.EventInfusion.infusion": + value := x.Infusion return protoreflect.ValueOfMessage(value.ProtoReflect()) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventPlanet")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventInfusion")) } - panic(fmt.Errorf("message structs.structs.EventPlanet does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.EventInfusion does not contain field %s", descriptor.FullName())) } } @@ -1910,15 +1910,15 @@ func (x *fastReflection_EventPlanet) Get(descriptor protoreflect.FieldDescriptor // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventPlanet) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_EventInfusion) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.EventPlanet.planet": - x.Planet = value.Message().Interface().(*Planet) + case "structs.structs.EventInfusion.infusion": + x.Infusion = value.Message().Interface().(*Infusion) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventPlanet")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventInfusion")) } - panic(fmt.Errorf("message structs.structs.EventPlanet does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventInfusion does not contain field %s", fd.FullName())) } } @@ -1932,44 +1932,44 @@ func (x *fastReflection_EventPlanet) Set(fd protoreflect.FieldDescriptor, value // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventPlanet) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_EventInfusion) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.EventPlanet.planet": - if x.Planet == nil { - x.Planet = new(Planet) - } - return protoreflect.ValueOfMessage(x.Planet.ProtoReflect()) + case "structs.structs.EventInfusion.infusion": + if x.Infusion == nil { + x.Infusion = new(Infusion) + } + return protoreflect.ValueOfMessage(x.Infusion.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventPlanet")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventInfusion")) } - panic(fmt.Errorf("message structs.structs.EventPlanet does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventInfusion 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_EventPlanet) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_EventInfusion) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.EventPlanet.planet": - m := new(Planet) + case "structs.structs.EventInfusion.infusion": + m := new(Infusion) return protoreflect.ValueOfMessage(m.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventPlanet")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventInfusion")) } - panic(fmt.Errorf("message structs.structs.EventPlanet does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventInfusion 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_EventPlanet) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_EventInfusion) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.EventPlanet", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.EventInfusion", d.FullName())) } panic("unreachable") } @@ -1977,7 +1977,7 @@ func (x *fastReflection_EventPlanet) WhichOneof(d protoreflect.OneofDescriptor) // 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_EventPlanet) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_EventInfusion) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -1988,7 +1988,7 @@ func (x *fastReflection_EventPlanet) GetUnknown() protoreflect.RawFields { // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventPlanet) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_EventInfusion) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -2000,7 +2000,7 @@ func (x *fastReflection_EventPlanet) SetUnknown(fields protoreflect.RawFields) { // 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_EventPlanet) IsValid() bool { +func (x *fastReflection_EventInfusion) IsValid() bool { return x != nil } @@ -2010,9 +2010,9 @@ func (x *fastReflection_EventPlanet) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_EventPlanet) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_EventInfusion) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*EventPlanet) + x := input.Message.Interface().(*EventInfusion) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -2024,8 +2024,8 @@ func (x *fastReflection_EventPlanet) ProtoMethods() *protoiface.Methods { var n int var l int _ = l - if x.Planet != nil { - l = options.Size(x.Planet) + if x.Infusion != nil { + l = options.Size(x.Infusion) n += 1 + l + runtime.Sov(uint64(l)) } if x.unknownFields != nil { @@ -2038,7 +2038,7 @@ func (x *fastReflection_EventPlanet) ProtoMethods() *protoiface.Methods { } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*EventPlanet) + x := input.Message.Interface().(*EventInfusion) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -2057,8 +2057,8 @@ func (x *fastReflection_EventPlanet) ProtoMethods() *protoiface.Methods { i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if x.Planet != nil { - encoded, err := options.Marshal(x.Planet) + if x.Infusion != nil { + encoded, err := options.Marshal(x.Infusion) if err != nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -2082,7 +2082,7 @@ func (x *fastReflection_EventPlanet) ProtoMethods() *protoiface.Methods { }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*EventPlanet) + x := input.Message.Interface().(*EventInfusion) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -2114,15 +2114,15 @@ func (x *fastReflection_EventPlanet) ProtoMethods() *protoiface.Methods { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventPlanet: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventInfusion: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventPlanet: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventInfusion: 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 Planet", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Infusion", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -2149,10 +2149,10 @@ func (x *fastReflection_EventPlanet) ProtoMethods() *protoiface.Methods { if postIndex > l { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - if x.Planet == nil { - x.Planet = &Planet{} + if x.Infusion == nil { + x.Infusion = &Infusion{} } - if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Planet); err != nil { + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Infusion); err != nil { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err } iNdEx = postIndex @@ -2192,25 +2192,25 @@ func (x *fastReflection_EventPlanet) ProtoMethods() *protoiface.Methods { } var ( - md_EventPlanetAttribute protoreflect.MessageDescriptor - fd_EventPlanetAttribute_planetAttributeRecord protoreflect.FieldDescriptor + md_EventPlanet protoreflect.MessageDescriptor + fd_EventPlanet_planet protoreflect.FieldDescriptor ) func init() { file_structs_structs_events_proto_init() - md_EventPlanetAttribute = File_structs_structs_events_proto.Messages().ByName("EventPlanetAttribute") - fd_EventPlanetAttribute_planetAttributeRecord = md_EventPlanetAttribute.Fields().ByName("planetAttributeRecord") + md_EventPlanet = File_structs_structs_events_proto.Messages().ByName("EventPlanet") + fd_EventPlanet_planet = md_EventPlanet.Fields().ByName("planet") } -var _ protoreflect.Message = (*fastReflection_EventPlanetAttribute)(nil) +var _ protoreflect.Message = (*fastReflection_EventPlanet)(nil) -type fastReflection_EventPlanetAttribute EventPlanetAttribute +type fastReflection_EventPlanet EventPlanet -func (x *EventPlanetAttribute) ProtoReflect() protoreflect.Message { - return (*fastReflection_EventPlanetAttribute)(x) +func (x *EventPlanet) ProtoReflect() protoreflect.Message { + return (*fastReflection_EventPlanet)(x) } -func (x *EventPlanetAttribute) slowProtoReflect() protoreflect.Message { +func (x *EventPlanet) slowProtoReflect() protoreflect.Message { mi := &file_structs_structs_events_proto_msgTypes[5] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2222,43 +2222,43 @@ func (x *EventPlanetAttribute) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_EventPlanetAttribute_messageType fastReflection_EventPlanetAttribute_messageType -var _ protoreflect.MessageType = fastReflection_EventPlanetAttribute_messageType{} +var _fastReflection_EventPlanet_messageType fastReflection_EventPlanet_messageType +var _ protoreflect.MessageType = fastReflection_EventPlanet_messageType{} -type fastReflection_EventPlanetAttribute_messageType struct{} +type fastReflection_EventPlanet_messageType struct{} -func (x fastReflection_EventPlanetAttribute_messageType) Zero() protoreflect.Message { - return (*fastReflection_EventPlanetAttribute)(nil) +func (x fastReflection_EventPlanet_messageType) Zero() protoreflect.Message { + return (*fastReflection_EventPlanet)(nil) } -func (x fastReflection_EventPlanetAttribute_messageType) New() protoreflect.Message { - return new(fastReflection_EventPlanetAttribute) +func (x fastReflection_EventPlanet_messageType) New() protoreflect.Message { + return new(fastReflection_EventPlanet) } -func (x fastReflection_EventPlanetAttribute_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_EventPlanetAttribute +func (x fastReflection_EventPlanet_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_EventPlanet } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_EventPlanetAttribute) Descriptor() protoreflect.MessageDescriptor { - return md_EventPlanetAttribute +func (x *fastReflection_EventPlanet) Descriptor() protoreflect.MessageDescriptor { + return md_EventPlanet } // 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_EventPlanetAttribute) Type() protoreflect.MessageType { - return _fastReflection_EventPlanetAttribute_messageType +func (x *fastReflection_EventPlanet) Type() protoreflect.MessageType { + return _fastReflection_EventPlanet_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_EventPlanetAttribute) New() protoreflect.Message { - return new(fastReflection_EventPlanetAttribute) +func (x *fastReflection_EventPlanet) New() protoreflect.Message { + return new(fastReflection_EventPlanet) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_EventPlanetAttribute) Interface() protoreflect.ProtoMessage { - return (*EventPlanetAttribute)(x) +func (x *fastReflection_EventPlanet) Interface() protoreflect.ProtoMessage { + return (*EventPlanet)(x) } // Range iterates over every populated field in an undefined order, @@ -2266,10 +2266,10 @@ func (x *fastReflection_EventPlanetAttribute) Interface() protoreflect.ProtoMess // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_EventPlanetAttribute) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.PlanetAttributeRecord != nil { - value := protoreflect.ValueOfMessage(x.PlanetAttributeRecord.ProtoReflect()) - if !f(fd_EventPlanetAttribute_planetAttributeRecord, value) { +func (x *fastReflection_EventPlanet) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Planet != nil { + value := protoreflect.ValueOfMessage(x.Planet.ProtoReflect()) + if !f(fd_EventPlanet_planet, value) { return } } @@ -2286,15 +2286,15 @@ func (x *fastReflection_EventPlanetAttribute) Range(f func(protoreflect.FieldDes // 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_EventPlanetAttribute) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_EventPlanet) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.EventPlanetAttribute.planetAttributeRecord": - return x.PlanetAttributeRecord != nil + case "structs.structs.EventPlanet.planet": + return x.Planet != nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventPlanetAttribute")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventPlanet")) } - panic(fmt.Errorf("message structs.structs.EventPlanetAttribute does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventPlanet does not contain field %s", fd.FullName())) } } @@ -2304,15 +2304,15 @@ func (x *fastReflection_EventPlanetAttribute) Has(fd protoreflect.FieldDescripto // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventPlanetAttribute) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_EventPlanet) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.EventPlanetAttribute.planetAttributeRecord": - x.PlanetAttributeRecord = nil + case "structs.structs.EventPlanet.planet": + x.Planet = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventPlanetAttribute")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventPlanet")) } - panic(fmt.Errorf("message structs.structs.EventPlanetAttribute does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventPlanet does not contain field %s", fd.FullName())) } } @@ -2322,16 +2322,16 @@ func (x *fastReflection_EventPlanetAttribute) Clear(fd protoreflect.FieldDescrip // 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_EventPlanetAttribute) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_EventPlanet) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.EventPlanetAttribute.planetAttributeRecord": - value := x.PlanetAttributeRecord + case "structs.structs.EventPlanet.planet": + value := x.Planet return protoreflect.ValueOfMessage(value.ProtoReflect()) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventPlanetAttribute")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventPlanet")) } - panic(fmt.Errorf("message structs.structs.EventPlanetAttribute does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.EventPlanet does not contain field %s", descriptor.FullName())) } } @@ -2345,15 +2345,15 @@ func (x *fastReflection_EventPlanetAttribute) Get(descriptor protoreflect.FieldD // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventPlanetAttribute) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_EventPlanet) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.EventPlanetAttribute.planetAttributeRecord": - x.PlanetAttributeRecord = value.Message().Interface().(*PlanetAttributeRecord) + case "structs.structs.EventPlanet.planet": + x.Planet = value.Message().Interface().(*Planet) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventPlanetAttribute")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventPlanet")) } - panic(fmt.Errorf("message structs.structs.EventPlanetAttribute does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventPlanet does not contain field %s", fd.FullName())) } } @@ -2367,44 +2367,44 @@ func (x *fastReflection_EventPlanetAttribute) Set(fd protoreflect.FieldDescripto // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventPlanetAttribute) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_EventPlanet) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.EventPlanetAttribute.planetAttributeRecord": - if x.PlanetAttributeRecord == nil { - x.PlanetAttributeRecord = new(PlanetAttributeRecord) + case "structs.structs.EventPlanet.planet": + if x.Planet == nil { + x.Planet = new(Planet) } - return protoreflect.ValueOfMessage(x.PlanetAttributeRecord.ProtoReflect()) + return protoreflect.ValueOfMessage(x.Planet.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventPlanetAttribute")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventPlanet")) } - panic(fmt.Errorf("message structs.structs.EventPlanetAttribute does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventPlanet 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_EventPlanetAttribute) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_EventPlanet) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.EventPlanetAttribute.planetAttributeRecord": - m := new(PlanetAttributeRecord) + case "structs.structs.EventPlanet.planet": + m := new(Planet) return protoreflect.ValueOfMessage(m.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventPlanetAttribute")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventPlanet")) } - panic(fmt.Errorf("message structs.structs.EventPlanetAttribute does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventPlanet 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_EventPlanetAttribute) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_EventPlanet) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.EventPlanetAttribute", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.EventPlanet", d.FullName())) } panic("unreachable") } @@ -2412,7 +2412,7 @@ func (x *fastReflection_EventPlanetAttribute) WhichOneof(d protoreflect.OneofDes // 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_EventPlanetAttribute) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_EventPlanet) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -2423,7 +2423,7 @@ func (x *fastReflection_EventPlanetAttribute) GetUnknown() protoreflect.RawField // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventPlanetAttribute) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_EventPlanet) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -2435,7 +2435,7 @@ func (x *fastReflection_EventPlanetAttribute) SetUnknown(fields protoreflect.Raw // 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_EventPlanetAttribute) IsValid() bool { +func (x *fastReflection_EventPlanet) IsValid() bool { return x != nil } @@ -2445,9 +2445,9 @@ func (x *fastReflection_EventPlanetAttribute) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_EventPlanetAttribute) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_EventPlanet) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*EventPlanetAttribute) + x := input.Message.Interface().(*EventPlanet) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -2459,8 +2459,8 @@ func (x *fastReflection_EventPlanetAttribute) ProtoMethods() *protoiface.Methods var n int var l int _ = l - if x.PlanetAttributeRecord != nil { - l = options.Size(x.PlanetAttributeRecord) + if x.Planet != nil { + l = options.Size(x.Planet) n += 1 + l + runtime.Sov(uint64(l)) } if x.unknownFields != nil { @@ -2473,7 +2473,7 @@ func (x *fastReflection_EventPlanetAttribute) ProtoMethods() *protoiface.Methods } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*EventPlanetAttribute) + x := input.Message.Interface().(*EventPlanet) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -2492,8 +2492,8 @@ func (x *fastReflection_EventPlanetAttribute) ProtoMethods() *protoiface.Methods i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if x.PlanetAttributeRecord != nil { - encoded, err := options.Marshal(x.PlanetAttributeRecord) + if x.Planet != nil { + encoded, err := options.Marshal(x.Planet) if err != nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -2517,7 +2517,7 @@ func (x *fastReflection_EventPlanetAttribute) ProtoMethods() *protoiface.Methods }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*EventPlanetAttribute) + x := input.Message.Interface().(*EventPlanet) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -2549,15 +2549,15 @@ func (x *fastReflection_EventPlanetAttribute) ProtoMethods() *protoiface.Methods fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventPlanetAttribute: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventPlanet: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventPlanetAttribute: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventPlanet: 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 PlanetAttributeRecord", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Planet", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -2584,10 +2584,10 @@ func (x *fastReflection_EventPlanetAttribute) ProtoMethods() *protoiface.Methods if postIndex > l { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - if x.PlanetAttributeRecord == nil { - x.PlanetAttributeRecord = &PlanetAttributeRecord{} + if x.Planet == nil { + x.Planet = &Planet{} } - if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.PlanetAttributeRecord); err != nil { + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Planet); err != nil { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err } iNdEx = postIndex @@ -2627,25 +2627,25 @@ func (x *fastReflection_EventPlanetAttribute) ProtoMethods() *protoiface.Methods } var ( - md_EventPlayer protoreflect.MessageDescriptor - fd_EventPlayer_player protoreflect.FieldDescriptor + md_EventPlanetAttribute protoreflect.MessageDescriptor + fd_EventPlanetAttribute_planetAttributeRecord protoreflect.FieldDescriptor ) func init() { file_structs_structs_events_proto_init() - md_EventPlayer = File_structs_structs_events_proto.Messages().ByName("EventPlayer") - fd_EventPlayer_player = md_EventPlayer.Fields().ByName("player") + md_EventPlanetAttribute = File_structs_structs_events_proto.Messages().ByName("EventPlanetAttribute") + fd_EventPlanetAttribute_planetAttributeRecord = md_EventPlanetAttribute.Fields().ByName("planetAttributeRecord") } -var _ protoreflect.Message = (*fastReflection_EventPlayer)(nil) +var _ protoreflect.Message = (*fastReflection_EventPlanetAttribute)(nil) -type fastReflection_EventPlayer EventPlayer +type fastReflection_EventPlanetAttribute EventPlanetAttribute -func (x *EventPlayer) ProtoReflect() protoreflect.Message { - return (*fastReflection_EventPlayer)(x) +func (x *EventPlanetAttribute) ProtoReflect() protoreflect.Message { + return (*fastReflection_EventPlanetAttribute)(x) } -func (x *EventPlayer) slowProtoReflect() protoreflect.Message { +func (x *EventPlanetAttribute) slowProtoReflect() protoreflect.Message { mi := &file_structs_structs_events_proto_msgTypes[6] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -2657,43 +2657,43 @@ func (x *EventPlayer) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_EventPlayer_messageType fastReflection_EventPlayer_messageType -var _ protoreflect.MessageType = fastReflection_EventPlayer_messageType{} +var _fastReflection_EventPlanetAttribute_messageType fastReflection_EventPlanetAttribute_messageType +var _ protoreflect.MessageType = fastReflection_EventPlanetAttribute_messageType{} -type fastReflection_EventPlayer_messageType struct{} +type fastReflection_EventPlanetAttribute_messageType struct{} -func (x fastReflection_EventPlayer_messageType) Zero() protoreflect.Message { - return (*fastReflection_EventPlayer)(nil) +func (x fastReflection_EventPlanetAttribute_messageType) Zero() protoreflect.Message { + return (*fastReflection_EventPlanetAttribute)(nil) } -func (x fastReflection_EventPlayer_messageType) New() protoreflect.Message { - return new(fastReflection_EventPlayer) +func (x fastReflection_EventPlanetAttribute_messageType) New() protoreflect.Message { + return new(fastReflection_EventPlanetAttribute) } -func (x fastReflection_EventPlayer_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_EventPlayer +func (x fastReflection_EventPlanetAttribute_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_EventPlanetAttribute } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_EventPlayer) Descriptor() protoreflect.MessageDescriptor { - return md_EventPlayer +func (x *fastReflection_EventPlanetAttribute) Descriptor() protoreflect.MessageDescriptor { + return md_EventPlanetAttribute } // 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_EventPlayer) Type() protoreflect.MessageType { - return _fastReflection_EventPlayer_messageType +func (x *fastReflection_EventPlanetAttribute) Type() protoreflect.MessageType { + return _fastReflection_EventPlanetAttribute_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_EventPlayer) New() protoreflect.Message { - return new(fastReflection_EventPlayer) +func (x *fastReflection_EventPlanetAttribute) New() protoreflect.Message { + return new(fastReflection_EventPlanetAttribute) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_EventPlayer) Interface() protoreflect.ProtoMessage { - return (*EventPlayer)(x) +func (x *fastReflection_EventPlanetAttribute) Interface() protoreflect.ProtoMessage { + return (*EventPlanetAttribute)(x) } // Range iterates over every populated field in an undefined order, @@ -2701,10 +2701,10 @@ func (x *fastReflection_EventPlayer) Interface() protoreflect.ProtoMessage { // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_EventPlayer) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.Player != nil { - value := protoreflect.ValueOfMessage(x.Player.ProtoReflect()) - if !f(fd_EventPlayer_player, value) { +func (x *fastReflection_EventPlanetAttribute) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.PlanetAttributeRecord != nil { + value := protoreflect.ValueOfMessage(x.PlanetAttributeRecord.ProtoReflect()) + if !f(fd_EventPlanetAttribute_planetAttributeRecord, value) { return } } @@ -2721,15 +2721,15 @@ func (x *fastReflection_EventPlayer) Range(f func(protoreflect.FieldDescriptor, // 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_EventPlayer) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_EventPlanetAttribute) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.EventPlayer.player": - return x.Player != nil + case "structs.structs.EventPlanetAttribute.planetAttributeRecord": + return x.PlanetAttributeRecord != nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventPlayer")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventPlanetAttribute")) } - panic(fmt.Errorf("message structs.structs.EventPlayer does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventPlanetAttribute does not contain field %s", fd.FullName())) } } @@ -2739,15 +2739,15 @@ func (x *fastReflection_EventPlayer) Has(fd protoreflect.FieldDescriptor) bool { // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventPlayer) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_EventPlanetAttribute) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.EventPlayer.player": - x.Player = nil + case "structs.structs.EventPlanetAttribute.planetAttributeRecord": + x.PlanetAttributeRecord = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventPlayer")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventPlanetAttribute")) } - panic(fmt.Errorf("message structs.structs.EventPlayer does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventPlanetAttribute does not contain field %s", fd.FullName())) } } @@ -2757,16 +2757,16 @@ func (x *fastReflection_EventPlayer) Clear(fd protoreflect.FieldDescriptor) { // 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_EventPlayer) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_EventPlanetAttribute) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.EventPlayer.player": - value := x.Player + case "structs.structs.EventPlanetAttribute.planetAttributeRecord": + value := x.PlanetAttributeRecord return protoreflect.ValueOfMessage(value.ProtoReflect()) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventPlayer")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventPlanetAttribute")) } - panic(fmt.Errorf("message structs.structs.EventPlayer does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.EventPlanetAttribute does not contain field %s", descriptor.FullName())) } } @@ -2780,15 +2780,15 @@ func (x *fastReflection_EventPlayer) Get(descriptor protoreflect.FieldDescriptor // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventPlayer) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_EventPlanetAttribute) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.EventPlayer.player": - x.Player = value.Message().Interface().(*Player) + case "structs.structs.EventPlanetAttribute.planetAttributeRecord": + x.PlanetAttributeRecord = value.Message().Interface().(*PlanetAttributeRecord) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventPlayer")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventPlanetAttribute")) } - panic(fmt.Errorf("message structs.structs.EventPlayer does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventPlanetAttribute does not contain field %s", fd.FullName())) } } @@ -2802,44 +2802,44 @@ func (x *fastReflection_EventPlayer) Set(fd protoreflect.FieldDescriptor, value // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventPlayer) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_EventPlanetAttribute) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.EventPlayer.player": - if x.Player == nil { - x.Player = new(Player) + case "structs.structs.EventPlanetAttribute.planetAttributeRecord": + if x.PlanetAttributeRecord == nil { + x.PlanetAttributeRecord = new(PlanetAttributeRecord) } - return protoreflect.ValueOfMessage(x.Player.ProtoReflect()) + return protoreflect.ValueOfMessage(x.PlanetAttributeRecord.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventPlayer")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventPlanetAttribute")) } - panic(fmt.Errorf("message structs.structs.EventPlayer does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventPlanetAttribute 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_EventPlayer) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_EventPlanetAttribute) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.EventPlayer.player": - m := new(Player) + case "structs.structs.EventPlanetAttribute.planetAttributeRecord": + m := new(PlanetAttributeRecord) return protoreflect.ValueOfMessage(m.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventPlayer")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventPlanetAttribute")) } - panic(fmt.Errorf("message structs.structs.EventPlayer does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventPlanetAttribute 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_EventPlayer) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_EventPlanetAttribute) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.EventPlayer", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.EventPlanetAttribute", d.FullName())) } panic("unreachable") } @@ -2847,7 +2847,7 @@ func (x *fastReflection_EventPlayer) WhichOneof(d protoreflect.OneofDescriptor) // 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_EventPlayer) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_EventPlanetAttribute) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -2858,7 +2858,7 @@ func (x *fastReflection_EventPlayer) GetUnknown() protoreflect.RawFields { // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventPlayer) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_EventPlanetAttribute) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -2870,7 +2870,7 @@ func (x *fastReflection_EventPlayer) SetUnknown(fields protoreflect.RawFields) { // 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_EventPlayer) IsValid() bool { +func (x *fastReflection_EventPlanetAttribute) IsValid() bool { return x != nil } @@ -2880,9 +2880,9 @@ func (x *fastReflection_EventPlayer) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_EventPlayer) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_EventPlanetAttribute) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*EventPlayer) + x := input.Message.Interface().(*EventPlanetAttribute) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -2894,8 +2894,8 @@ func (x *fastReflection_EventPlayer) ProtoMethods() *protoiface.Methods { var n int var l int _ = l - if x.Player != nil { - l = options.Size(x.Player) + if x.PlanetAttributeRecord != nil { + l = options.Size(x.PlanetAttributeRecord) n += 1 + l + runtime.Sov(uint64(l)) } if x.unknownFields != nil { @@ -2908,7 +2908,7 @@ func (x *fastReflection_EventPlayer) ProtoMethods() *protoiface.Methods { } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*EventPlayer) + x := input.Message.Interface().(*EventPlanetAttribute) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -2927,8 +2927,8 @@ func (x *fastReflection_EventPlayer) ProtoMethods() *protoiface.Methods { i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if x.Player != nil { - encoded, err := options.Marshal(x.Player) + if x.PlanetAttributeRecord != nil { + encoded, err := options.Marshal(x.PlanetAttributeRecord) if err != nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -2952,7 +2952,7 @@ func (x *fastReflection_EventPlayer) ProtoMethods() *protoiface.Methods { }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*EventPlayer) + x := input.Message.Interface().(*EventPlanetAttribute) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -2984,15 +2984,15 @@ func (x *fastReflection_EventPlayer) ProtoMethods() *protoiface.Methods { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventPlayer: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventPlanetAttribute: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventPlayer: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventPlanetAttribute: 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 Player", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field PlanetAttributeRecord", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -3019,10 +3019,10 @@ func (x *fastReflection_EventPlayer) ProtoMethods() *protoiface.Methods { if postIndex > l { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - if x.Player == nil { - x.Player = &Player{} + if x.PlanetAttributeRecord == nil { + x.PlanetAttributeRecord = &PlanetAttributeRecord{} } - if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Player); err != nil { + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.PlanetAttributeRecord); err != nil { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err } iNdEx = postIndex @@ -3062,25 +3062,25 @@ func (x *fastReflection_EventPlayer) ProtoMethods() *protoiface.Methods { } var ( - md_EventReactor protoreflect.MessageDescriptor - fd_EventReactor_reactor protoreflect.FieldDescriptor + md_EventPlayer protoreflect.MessageDescriptor + fd_EventPlayer_player protoreflect.FieldDescriptor ) func init() { file_structs_structs_events_proto_init() - md_EventReactor = File_structs_structs_events_proto.Messages().ByName("EventReactor") - fd_EventReactor_reactor = md_EventReactor.Fields().ByName("reactor") + md_EventPlayer = File_structs_structs_events_proto.Messages().ByName("EventPlayer") + fd_EventPlayer_player = md_EventPlayer.Fields().ByName("player") } -var _ protoreflect.Message = (*fastReflection_EventReactor)(nil) +var _ protoreflect.Message = (*fastReflection_EventPlayer)(nil) -type fastReflection_EventReactor EventReactor +type fastReflection_EventPlayer EventPlayer -func (x *EventReactor) ProtoReflect() protoreflect.Message { - return (*fastReflection_EventReactor)(x) +func (x *EventPlayer) ProtoReflect() protoreflect.Message { + return (*fastReflection_EventPlayer)(x) } -func (x *EventReactor) slowProtoReflect() protoreflect.Message { +func (x *EventPlayer) slowProtoReflect() protoreflect.Message { mi := &file_structs_structs_events_proto_msgTypes[7] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3092,43 +3092,43 @@ func (x *EventReactor) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_EventReactor_messageType fastReflection_EventReactor_messageType -var _ protoreflect.MessageType = fastReflection_EventReactor_messageType{} +var _fastReflection_EventPlayer_messageType fastReflection_EventPlayer_messageType +var _ protoreflect.MessageType = fastReflection_EventPlayer_messageType{} -type fastReflection_EventReactor_messageType struct{} +type fastReflection_EventPlayer_messageType struct{} -func (x fastReflection_EventReactor_messageType) Zero() protoreflect.Message { - return (*fastReflection_EventReactor)(nil) +func (x fastReflection_EventPlayer_messageType) Zero() protoreflect.Message { + return (*fastReflection_EventPlayer)(nil) } -func (x fastReflection_EventReactor_messageType) New() protoreflect.Message { - return new(fastReflection_EventReactor) +func (x fastReflection_EventPlayer_messageType) New() protoreflect.Message { + return new(fastReflection_EventPlayer) } -func (x fastReflection_EventReactor_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_EventReactor +func (x fastReflection_EventPlayer_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_EventPlayer } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_EventReactor) Descriptor() protoreflect.MessageDescriptor { - return md_EventReactor +func (x *fastReflection_EventPlayer) Descriptor() protoreflect.MessageDescriptor { + return md_EventPlayer } // 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_EventReactor) Type() protoreflect.MessageType { - return _fastReflection_EventReactor_messageType +func (x *fastReflection_EventPlayer) Type() protoreflect.MessageType { + return _fastReflection_EventPlayer_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_EventReactor) New() protoreflect.Message { - return new(fastReflection_EventReactor) +func (x *fastReflection_EventPlayer) New() protoreflect.Message { + return new(fastReflection_EventPlayer) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_EventReactor) Interface() protoreflect.ProtoMessage { - return (*EventReactor)(x) +func (x *fastReflection_EventPlayer) Interface() protoreflect.ProtoMessage { + return (*EventPlayer)(x) } // Range iterates over every populated field in an undefined order, @@ -3136,10 +3136,10 @@ func (x *fastReflection_EventReactor) Interface() protoreflect.ProtoMessage { // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_EventReactor) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.Reactor != nil { - value := protoreflect.ValueOfMessage(x.Reactor.ProtoReflect()) - if !f(fd_EventReactor_reactor, value) { +func (x *fastReflection_EventPlayer) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Player != nil { + value := protoreflect.ValueOfMessage(x.Player.ProtoReflect()) + if !f(fd_EventPlayer_player, value) { return } } @@ -3156,15 +3156,15 @@ func (x *fastReflection_EventReactor) Range(f func(protoreflect.FieldDescriptor, // 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_EventReactor) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_EventPlayer) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.EventReactor.reactor": - return x.Reactor != nil + case "structs.structs.EventPlayer.player": + return x.Player != nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventReactor")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventPlayer")) } - panic(fmt.Errorf("message structs.structs.EventReactor does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventPlayer does not contain field %s", fd.FullName())) } } @@ -3174,15 +3174,15 @@ func (x *fastReflection_EventReactor) Has(fd protoreflect.FieldDescriptor) bool // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventReactor) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_EventPlayer) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.EventReactor.reactor": - x.Reactor = nil + case "structs.structs.EventPlayer.player": + x.Player = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventReactor")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventPlayer")) } - panic(fmt.Errorf("message structs.structs.EventReactor does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventPlayer does not contain field %s", fd.FullName())) } } @@ -3192,16 +3192,16 @@ func (x *fastReflection_EventReactor) Clear(fd protoreflect.FieldDescriptor) { // 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_EventReactor) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_EventPlayer) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.EventReactor.reactor": - value := x.Reactor + case "structs.structs.EventPlayer.player": + value := x.Player return protoreflect.ValueOfMessage(value.ProtoReflect()) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventReactor")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventPlayer")) } - panic(fmt.Errorf("message structs.structs.EventReactor does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.EventPlayer does not contain field %s", descriptor.FullName())) } } @@ -3215,15 +3215,15 @@ func (x *fastReflection_EventReactor) Get(descriptor protoreflect.FieldDescripto // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventReactor) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_EventPlayer) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.EventReactor.reactor": - x.Reactor = value.Message().Interface().(*Reactor) + case "structs.structs.EventPlayer.player": + x.Player = value.Message().Interface().(*Player) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventReactor")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventPlayer")) } - panic(fmt.Errorf("message structs.structs.EventReactor does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventPlayer does not contain field %s", fd.FullName())) } } @@ -3237,44 +3237,44 @@ func (x *fastReflection_EventReactor) Set(fd protoreflect.FieldDescriptor, value // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventReactor) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_EventPlayer) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.EventReactor.reactor": - if x.Reactor == nil { - x.Reactor = new(Reactor) + case "structs.structs.EventPlayer.player": + if x.Player == nil { + x.Player = new(Player) } - return protoreflect.ValueOfMessage(x.Reactor.ProtoReflect()) + return protoreflect.ValueOfMessage(x.Player.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventReactor")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventPlayer")) } - panic(fmt.Errorf("message structs.structs.EventReactor does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventPlayer 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_EventReactor) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_EventPlayer) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.EventReactor.reactor": - m := new(Reactor) + case "structs.structs.EventPlayer.player": + m := new(Player) return protoreflect.ValueOfMessage(m.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventReactor")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventPlayer")) } - panic(fmt.Errorf("message structs.structs.EventReactor does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventPlayer 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_EventReactor) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_EventPlayer) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.EventReactor", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.EventPlayer", d.FullName())) } panic("unreachable") } @@ -3282,7 +3282,7 @@ func (x *fastReflection_EventReactor) WhichOneof(d protoreflect.OneofDescriptor) // 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_EventReactor) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_EventPlayer) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -3293,7 +3293,7 @@ func (x *fastReflection_EventReactor) GetUnknown() protoreflect.RawFields { // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventReactor) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_EventPlayer) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -3305,7 +3305,7 @@ func (x *fastReflection_EventReactor) SetUnknown(fields protoreflect.RawFields) // 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_EventReactor) IsValid() bool { +func (x *fastReflection_EventPlayer) IsValid() bool { return x != nil } @@ -3315,9 +3315,9 @@ func (x *fastReflection_EventReactor) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_EventReactor) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_EventPlayer) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*EventReactor) + x := input.Message.Interface().(*EventPlayer) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -3329,8 +3329,8 @@ func (x *fastReflection_EventReactor) ProtoMethods() *protoiface.Methods { var n int var l int _ = l - if x.Reactor != nil { - l = options.Size(x.Reactor) + if x.Player != nil { + l = options.Size(x.Player) n += 1 + l + runtime.Sov(uint64(l)) } if x.unknownFields != nil { @@ -3343,7 +3343,7 @@ func (x *fastReflection_EventReactor) ProtoMethods() *protoiface.Methods { } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*EventReactor) + x := input.Message.Interface().(*EventPlayer) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -3362,8 +3362,8 @@ func (x *fastReflection_EventReactor) ProtoMethods() *protoiface.Methods { i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if x.Reactor != nil { - encoded, err := options.Marshal(x.Reactor) + if x.Player != nil { + encoded, err := options.Marshal(x.Player) if err != nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -3387,7 +3387,7 @@ func (x *fastReflection_EventReactor) ProtoMethods() *protoiface.Methods { }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*EventReactor) + x := input.Message.Interface().(*EventPlayer) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -3419,15 +3419,15 @@ func (x *fastReflection_EventReactor) ProtoMethods() *protoiface.Methods { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventReactor: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventPlayer: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventReactor: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventPlayer: 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 Reactor", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Player", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -3454,10 +3454,10 @@ func (x *fastReflection_EventReactor) ProtoMethods() *protoiface.Methods { if postIndex > l { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - if x.Reactor == nil { - x.Reactor = &Reactor{} + if x.Player == nil { + x.Player = &Player{} } - if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Reactor); err != nil { + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Player); err != nil { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err } iNdEx = postIndex @@ -3497,25 +3497,25 @@ func (x *fastReflection_EventReactor) ProtoMethods() *protoiface.Methods { } var ( - md_EventStruct protoreflect.MessageDescriptor - fd_EventStruct_structure protoreflect.FieldDescriptor + md_EventProvider protoreflect.MessageDescriptor + fd_EventProvider_provider protoreflect.FieldDescriptor ) func init() { file_structs_structs_events_proto_init() - md_EventStruct = File_structs_structs_events_proto.Messages().ByName("EventStruct") - fd_EventStruct_structure = md_EventStruct.Fields().ByName("structure") + md_EventProvider = File_structs_structs_events_proto.Messages().ByName("EventProvider") + fd_EventProvider_provider = md_EventProvider.Fields().ByName("provider") } -var _ protoreflect.Message = (*fastReflection_EventStruct)(nil) +var _ protoreflect.Message = (*fastReflection_EventProvider)(nil) -type fastReflection_EventStruct EventStruct +type fastReflection_EventProvider EventProvider -func (x *EventStruct) ProtoReflect() protoreflect.Message { - return (*fastReflection_EventStruct)(x) +func (x *EventProvider) ProtoReflect() protoreflect.Message { + return (*fastReflection_EventProvider)(x) } -func (x *EventStruct) slowProtoReflect() protoreflect.Message { +func (x *EventProvider) slowProtoReflect() protoreflect.Message { mi := &file_structs_structs_events_proto_msgTypes[8] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3527,43 +3527,43 @@ func (x *EventStruct) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_EventStruct_messageType fastReflection_EventStruct_messageType -var _ protoreflect.MessageType = fastReflection_EventStruct_messageType{} +var _fastReflection_EventProvider_messageType fastReflection_EventProvider_messageType +var _ protoreflect.MessageType = fastReflection_EventProvider_messageType{} -type fastReflection_EventStruct_messageType struct{} +type fastReflection_EventProvider_messageType struct{} -func (x fastReflection_EventStruct_messageType) Zero() protoreflect.Message { - return (*fastReflection_EventStruct)(nil) +func (x fastReflection_EventProvider_messageType) Zero() protoreflect.Message { + return (*fastReflection_EventProvider)(nil) } -func (x fastReflection_EventStruct_messageType) New() protoreflect.Message { - return new(fastReflection_EventStruct) +func (x fastReflection_EventProvider_messageType) New() protoreflect.Message { + return new(fastReflection_EventProvider) } -func (x fastReflection_EventStruct_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_EventStruct +func (x fastReflection_EventProvider_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_EventProvider } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_EventStruct) Descriptor() protoreflect.MessageDescriptor { - return md_EventStruct +func (x *fastReflection_EventProvider) Descriptor() protoreflect.MessageDescriptor { + return md_EventProvider } // 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_EventStruct) Type() protoreflect.MessageType { - return _fastReflection_EventStruct_messageType +func (x *fastReflection_EventProvider) Type() protoreflect.MessageType { + return _fastReflection_EventProvider_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_EventStruct) New() protoreflect.Message { - return new(fastReflection_EventStruct) +func (x *fastReflection_EventProvider) New() protoreflect.Message { + return new(fastReflection_EventProvider) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_EventStruct) Interface() protoreflect.ProtoMessage { - return (*EventStruct)(x) +func (x *fastReflection_EventProvider) Interface() protoreflect.ProtoMessage { + return (*EventProvider)(x) } // Range iterates over every populated field in an undefined order, @@ -3571,10 +3571,10 @@ func (x *fastReflection_EventStruct) Interface() protoreflect.ProtoMessage { // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_EventStruct) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.Structure != nil { - value := protoreflect.ValueOfMessage(x.Structure.ProtoReflect()) - if !f(fd_EventStruct_structure, value) { +func (x *fastReflection_EventProvider) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Provider != nil { + value := protoreflect.ValueOfMessage(x.Provider.ProtoReflect()) + if !f(fd_EventProvider_provider, value) { return } } @@ -3591,15 +3591,15 @@ func (x *fastReflection_EventStruct) Range(f func(protoreflect.FieldDescriptor, // 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_EventStruct) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_EventProvider) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.EventStruct.structure": - return x.Structure != nil + case "structs.structs.EventProvider.provider": + return x.Provider != nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventStruct")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventProvider")) } - panic(fmt.Errorf("message structs.structs.EventStruct does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventProvider does not contain field %s", fd.FullName())) } } @@ -3609,15 +3609,15 @@ func (x *fastReflection_EventStruct) Has(fd protoreflect.FieldDescriptor) bool { // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventStruct) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_EventProvider) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.EventStruct.structure": - x.Structure = nil + case "structs.structs.EventProvider.provider": + x.Provider = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventStruct")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventProvider")) } - panic(fmt.Errorf("message structs.structs.EventStruct does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventProvider does not contain field %s", fd.FullName())) } } @@ -3627,16 +3627,16 @@ func (x *fastReflection_EventStruct) Clear(fd protoreflect.FieldDescriptor) { // 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_EventStruct) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_EventProvider) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.EventStruct.structure": - value := x.Structure + case "structs.structs.EventProvider.provider": + value := x.Provider return protoreflect.ValueOfMessage(value.ProtoReflect()) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventStruct")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventProvider")) } - panic(fmt.Errorf("message structs.structs.EventStruct does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.EventProvider does not contain field %s", descriptor.FullName())) } } @@ -3650,15 +3650,15 @@ func (x *fastReflection_EventStruct) Get(descriptor protoreflect.FieldDescriptor // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventStruct) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_EventProvider) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.EventStruct.structure": - x.Structure = value.Message().Interface().(*Struct) + case "structs.structs.EventProvider.provider": + x.Provider = value.Message().Interface().(*Provider) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventStruct")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventProvider")) } - panic(fmt.Errorf("message structs.structs.EventStruct does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventProvider does not contain field %s", fd.FullName())) } } @@ -3672,44 +3672,44 @@ func (x *fastReflection_EventStruct) Set(fd protoreflect.FieldDescriptor, value // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventStruct) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_EventProvider) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.EventStruct.structure": - if x.Structure == nil { - x.Structure = new(Struct) + case "structs.structs.EventProvider.provider": + if x.Provider == nil { + x.Provider = new(Provider) } - return protoreflect.ValueOfMessage(x.Structure.ProtoReflect()) + return protoreflect.ValueOfMessage(x.Provider.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventStruct")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventProvider")) } - panic(fmt.Errorf("message structs.structs.EventStruct does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventProvider 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_EventStruct) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_EventProvider) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.EventStruct.structure": - m := new(Struct) + case "structs.structs.EventProvider.provider": + m := new(Provider) return protoreflect.ValueOfMessage(m.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventStruct")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventProvider")) } - panic(fmt.Errorf("message structs.structs.EventStruct does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventProvider 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_EventStruct) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_EventProvider) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.EventStruct", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.EventProvider", d.FullName())) } panic("unreachable") } @@ -3717,7 +3717,7 @@ func (x *fastReflection_EventStruct) WhichOneof(d protoreflect.OneofDescriptor) // 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_EventStruct) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_EventProvider) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -3728,7 +3728,7 @@ func (x *fastReflection_EventStruct) GetUnknown() protoreflect.RawFields { // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventStruct) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_EventProvider) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -3740,7 +3740,7 @@ func (x *fastReflection_EventStruct) SetUnknown(fields protoreflect.RawFields) { // 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_EventStruct) IsValid() bool { +func (x *fastReflection_EventProvider) IsValid() bool { return x != nil } @@ -3750,9 +3750,9 @@ func (x *fastReflection_EventStruct) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_EventStruct) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_EventProvider) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*EventStruct) + x := input.Message.Interface().(*EventProvider) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -3764,8 +3764,8 @@ func (x *fastReflection_EventStruct) ProtoMethods() *protoiface.Methods { var n int var l int _ = l - if x.Structure != nil { - l = options.Size(x.Structure) + if x.Provider != nil { + l = options.Size(x.Provider) n += 1 + l + runtime.Sov(uint64(l)) } if x.unknownFields != nil { @@ -3778,7 +3778,7 @@ func (x *fastReflection_EventStruct) ProtoMethods() *protoiface.Methods { } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*EventStruct) + x := input.Message.Interface().(*EventProvider) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -3797,8 +3797,8 @@ func (x *fastReflection_EventStruct) ProtoMethods() *protoiface.Methods { i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if x.Structure != nil { - encoded, err := options.Marshal(x.Structure) + if x.Provider != nil { + encoded, err := options.Marshal(x.Provider) if err != nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -3822,7 +3822,7 @@ func (x *fastReflection_EventStruct) ProtoMethods() *protoiface.Methods { }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*EventStruct) + x := input.Message.Interface().(*EventProvider) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -3854,15 +3854,15 @@ func (x *fastReflection_EventStruct) ProtoMethods() *protoiface.Methods { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventStruct: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventProvider: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventStruct: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventProvider: 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 Structure", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Provider", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -3889,10 +3889,10 @@ func (x *fastReflection_EventStruct) ProtoMethods() *protoiface.Methods { if postIndex > l { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - if x.Structure == nil { - x.Structure = &Struct{} + if x.Provider == nil { + x.Provider = &Provider{} } - if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Structure); err != nil { + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Provider); err != nil { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err } iNdEx = postIndex @@ -3932,25 +3932,25 @@ func (x *fastReflection_EventStruct) ProtoMethods() *protoiface.Methods { } var ( - md_EventStructAttribute protoreflect.MessageDescriptor - fd_EventStructAttribute_structAttributeRecord protoreflect.FieldDescriptor + md_EventReactor protoreflect.MessageDescriptor + fd_EventReactor_reactor protoreflect.FieldDescriptor ) func init() { file_structs_structs_events_proto_init() - md_EventStructAttribute = File_structs_structs_events_proto.Messages().ByName("EventStructAttribute") - fd_EventStructAttribute_structAttributeRecord = md_EventStructAttribute.Fields().ByName("structAttributeRecord") + md_EventReactor = File_structs_structs_events_proto.Messages().ByName("EventReactor") + fd_EventReactor_reactor = md_EventReactor.Fields().ByName("reactor") } -var _ protoreflect.Message = (*fastReflection_EventStructAttribute)(nil) +var _ protoreflect.Message = (*fastReflection_EventReactor)(nil) -type fastReflection_EventStructAttribute EventStructAttribute +type fastReflection_EventReactor EventReactor -func (x *EventStructAttribute) ProtoReflect() protoreflect.Message { - return (*fastReflection_EventStructAttribute)(x) +func (x *EventReactor) ProtoReflect() protoreflect.Message { + return (*fastReflection_EventReactor)(x) } -func (x *EventStructAttribute) slowProtoReflect() protoreflect.Message { +func (x *EventReactor) slowProtoReflect() protoreflect.Message { mi := &file_structs_structs_events_proto_msgTypes[9] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -3962,43 +3962,43 @@ func (x *EventStructAttribute) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_EventStructAttribute_messageType fastReflection_EventStructAttribute_messageType -var _ protoreflect.MessageType = fastReflection_EventStructAttribute_messageType{} +var _fastReflection_EventReactor_messageType fastReflection_EventReactor_messageType +var _ protoreflect.MessageType = fastReflection_EventReactor_messageType{} -type fastReflection_EventStructAttribute_messageType struct{} +type fastReflection_EventReactor_messageType struct{} -func (x fastReflection_EventStructAttribute_messageType) Zero() protoreflect.Message { - return (*fastReflection_EventStructAttribute)(nil) +func (x fastReflection_EventReactor_messageType) Zero() protoreflect.Message { + return (*fastReflection_EventReactor)(nil) } -func (x fastReflection_EventStructAttribute_messageType) New() protoreflect.Message { - return new(fastReflection_EventStructAttribute) +func (x fastReflection_EventReactor_messageType) New() protoreflect.Message { + return new(fastReflection_EventReactor) } -func (x fastReflection_EventStructAttribute_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_EventStructAttribute +func (x fastReflection_EventReactor_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_EventReactor } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_EventStructAttribute) Descriptor() protoreflect.MessageDescriptor { - return md_EventStructAttribute +func (x *fastReflection_EventReactor) Descriptor() protoreflect.MessageDescriptor { + return md_EventReactor } // 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_EventStructAttribute) Type() protoreflect.MessageType { - return _fastReflection_EventStructAttribute_messageType +func (x *fastReflection_EventReactor) Type() protoreflect.MessageType { + return _fastReflection_EventReactor_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_EventStructAttribute) New() protoreflect.Message { - return new(fastReflection_EventStructAttribute) +func (x *fastReflection_EventReactor) New() protoreflect.Message { + return new(fastReflection_EventReactor) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_EventStructAttribute) Interface() protoreflect.ProtoMessage { - return (*EventStructAttribute)(x) +func (x *fastReflection_EventReactor) Interface() protoreflect.ProtoMessage { + return (*EventReactor)(x) } // Range iterates over every populated field in an undefined order, @@ -4006,10 +4006,10 @@ func (x *fastReflection_EventStructAttribute) Interface() protoreflect.ProtoMess // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_EventStructAttribute) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.StructAttributeRecord != nil { - value := protoreflect.ValueOfMessage(x.StructAttributeRecord.ProtoReflect()) - if !f(fd_EventStructAttribute_structAttributeRecord, value) { +func (x *fastReflection_EventReactor) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Reactor != nil { + value := protoreflect.ValueOfMessage(x.Reactor.ProtoReflect()) + if !f(fd_EventReactor_reactor, value) { return } } @@ -4026,15 +4026,15 @@ func (x *fastReflection_EventStructAttribute) Range(f func(protoreflect.FieldDes // 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_EventStructAttribute) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_EventReactor) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.EventStructAttribute.structAttributeRecord": - return x.StructAttributeRecord != nil + case "structs.structs.EventReactor.reactor": + return x.Reactor != nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventStructAttribute")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventReactor")) } - panic(fmt.Errorf("message structs.structs.EventStructAttribute does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventReactor does not contain field %s", fd.FullName())) } } @@ -4044,15 +4044,15 @@ func (x *fastReflection_EventStructAttribute) Has(fd protoreflect.FieldDescripto // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventStructAttribute) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_EventReactor) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.EventStructAttribute.structAttributeRecord": - x.StructAttributeRecord = nil + case "structs.structs.EventReactor.reactor": + x.Reactor = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventStructAttribute")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventReactor")) } - panic(fmt.Errorf("message structs.structs.EventStructAttribute does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventReactor does not contain field %s", fd.FullName())) } } @@ -4062,16 +4062,16 @@ func (x *fastReflection_EventStructAttribute) Clear(fd protoreflect.FieldDescrip // 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_EventStructAttribute) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_EventReactor) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.EventStructAttribute.structAttributeRecord": - value := x.StructAttributeRecord + case "structs.structs.EventReactor.reactor": + value := x.Reactor return protoreflect.ValueOfMessage(value.ProtoReflect()) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventStructAttribute")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventReactor")) } - panic(fmt.Errorf("message structs.structs.EventStructAttribute does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.EventReactor does not contain field %s", descriptor.FullName())) } } @@ -4085,15 +4085,15 @@ func (x *fastReflection_EventStructAttribute) Get(descriptor protoreflect.FieldD // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventStructAttribute) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_EventReactor) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.EventStructAttribute.structAttributeRecord": - x.StructAttributeRecord = value.Message().Interface().(*StructAttributeRecord) + case "structs.structs.EventReactor.reactor": + x.Reactor = value.Message().Interface().(*Reactor) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventStructAttribute")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventReactor")) } - panic(fmt.Errorf("message structs.structs.EventStructAttribute does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventReactor does not contain field %s", fd.FullName())) } } @@ -4107,44 +4107,44 @@ func (x *fastReflection_EventStructAttribute) Set(fd protoreflect.FieldDescripto // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventStructAttribute) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_EventReactor) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.EventStructAttribute.structAttributeRecord": - if x.StructAttributeRecord == nil { - x.StructAttributeRecord = new(StructAttributeRecord) + case "structs.structs.EventReactor.reactor": + if x.Reactor == nil { + x.Reactor = new(Reactor) } - return protoreflect.ValueOfMessage(x.StructAttributeRecord.ProtoReflect()) + return protoreflect.ValueOfMessage(x.Reactor.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventStructAttribute")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventReactor")) } - panic(fmt.Errorf("message structs.structs.EventStructAttribute does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventReactor 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_EventStructAttribute) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_EventReactor) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.EventStructAttribute.structAttributeRecord": - m := new(StructAttributeRecord) + case "structs.structs.EventReactor.reactor": + m := new(Reactor) return protoreflect.ValueOfMessage(m.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventStructAttribute")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventReactor")) } - panic(fmt.Errorf("message structs.structs.EventStructAttribute does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventReactor 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_EventStructAttribute) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_EventReactor) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.EventStructAttribute", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.EventReactor", d.FullName())) } panic("unreachable") } @@ -4152,7 +4152,7 @@ func (x *fastReflection_EventStructAttribute) WhichOneof(d protoreflect.OneofDes // 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_EventStructAttribute) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_EventReactor) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -4163,7 +4163,7 @@ func (x *fastReflection_EventStructAttribute) GetUnknown() protoreflect.RawField // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventStructAttribute) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_EventReactor) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -4175,7 +4175,7 @@ func (x *fastReflection_EventStructAttribute) SetUnknown(fields protoreflect.Raw // 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_EventStructAttribute) IsValid() bool { +func (x *fastReflection_EventReactor) IsValid() bool { return x != nil } @@ -4185,9 +4185,9 @@ func (x *fastReflection_EventStructAttribute) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_EventStructAttribute) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_EventReactor) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*EventStructAttribute) + x := input.Message.Interface().(*EventReactor) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -4199,8 +4199,8 @@ func (x *fastReflection_EventStructAttribute) ProtoMethods() *protoiface.Methods var n int var l int _ = l - if x.StructAttributeRecord != nil { - l = options.Size(x.StructAttributeRecord) + if x.Reactor != nil { + l = options.Size(x.Reactor) n += 1 + l + runtime.Sov(uint64(l)) } if x.unknownFields != nil { @@ -4213,7 +4213,7 @@ func (x *fastReflection_EventStructAttribute) ProtoMethods() *protoiface.Methods } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*EventStructAttribute) + x := input.Message.Interface().(*EventReactor) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -4232,8 +4232,8 @@ func (x *fastReflection_EventStructAttribute) ProtoMethods() *protoiface.Methods i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if x.StructAttributeRecord != nil { - encoded, err := options.Marshal(x.StructAttributeRecord) + if x.Reactor != nil { + encoded, err := options.Marshal(x.Reactor) if err != nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -4257,7 +4257,7 @@ func (x *fastReflection_EventStructAttribute) ProtoMethods() *protoiface.Methods }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*EventStructAttribute) + x := input.Message.Interface().(*EventReactor) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -4289,15 +4289,15 @@ func (x *fastReflection_EventStructAttribute) ProtoMethods() *protoiface.Methods fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventStructAttribute: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventReactor: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventStructAttribute: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventReactor: 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 StructAttributeRecord", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Reactor", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -4324,10 +4324,10 @@ func (x *fastReflection_EventStructAttribute) ProtoMethods() *protoiface.Methods if postIndex > l { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - if x.StructAttributeRecord == nil { - x.StructAttributeRecord = &StructAttributeRecord{} + if x.Reactor == nil { + x.Reactor = &Reactor{} } - if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.StructAttributeRecord); err != nil { + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Reactor); err != nil { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err } iNdEx = postIndex @@ -4367,25 +4367,25 @@ func (x *fastReflection_EventStructAttribute) ProtoMethods() *protoiface.Methods } var ( - md_EventStructDefender protoreflect.MessageDescriptor - fd_EventStructDefender_structDefender protoreflect.FieldDescriptor + md_EventStruct protoreflect.MessageDescriptor + fd_EventStruct_structure protoreflect.FieldDescriptor ) func init() { file_structs_structs_events_proto_init() - md_EventStructDefender = File_structs_structs_events_proto.Messages().ByName("EventStructDefender") - fd_EventStructDefender_structDefender = md_EventStructDefender.Fields().ByName("structDefender") + md_EventStruct = File_structs_structs_events_proto.Messages().ByName("EventStruct") + fd_EventStruct_structure = md_EventStruct.Fields().ByName("structure") } -var _ protoreflect.Message = (*fastReflection_EventStructDefender)(nil) +var _ protoreflect.Message = (*fastReflection_EventStruct)(nil) -type fastReflection_EventStructDefender EventStructDefender +type fastReflection_EventStruct EventStruct -func (x *EventStructDefender) ProtoReflect() protoreflect.Message { - return (*fastReflection_EventStructDefender)(x) +func (x *EventStruct) ProtoReflect() protoreflect.Message { + return (*fastReflection_EventStruct)(x) } -func (x *EventStructDefender) slowProtoReflect() protoreflect.Message { +func (x *EventStruct) slowProtoReflect() protoreflect.Message { mi := &file_structs_structs_events_proto_msgTypes[10] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -4397,43 +4397,43 @@ func (x *EventStructDefender) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_EventStructDefender_messageType fastReflection_EventStructDefender_messageType -var _ protoreflect.MessageType = fastReflection_EventStructDefender_messageType{} +var _fastReflection_EventStruct_messageType fastReflection_EventStruct_messageType +var _ protoreflect.MessageType = fastReflection_EventStruct_messageType{} -type fastReflection_EventStructDefender_messageType struct{} +type fastReflection_EventStruct_messageType struct{} -func (x fastReflection_EventStructDefender_messageType) Zero() protoreflect.Message { - return (*fastReflection_EventStructDefender)(nil) +func (x fastReflection_EventStruct_messageType) Zero() protoreflect.Message { + return (*fastReflection_EventStruct)(nil) } -func (x fastReflection_EventStructDefender_messageType) New() protoreflect.Message { - return new(fastReflection_EventStructDefender) +func (x fastReflection_EventStruct_messageType) New() protoreflect.Message { + return new(fastReflection_EventStruct) } -func (x fastReflection_EventStructDefender_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_EventStructDefender +func (x fastReflection_EventStruct_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_EventStruct } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_EventStructDefender) Descriptor() protoreflect.MessageDescriptor { - return md_EventStructDefender +func (x *fastReflection_EventStruct) Descriptor() protoreflect.MessageDescriptor { + return md_EventStruct } // 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_EventStructDefender) Type() protoreflect.MessageType { - return _fastReflection_EventStructDefender_messageType +func (x *fastReflection_EventStruct) Type() protoreflect.MessageType { + return _fastReflection_EventStruct_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_EventStructDefender) New() protoreflect.Message { - return new(fastReflection_EventStructDefender) +func (x *fastReflection_EventStruct) New() protoreflect.Message { + return new(fastReflection_EventStruct) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_EventStructDefender) Interface() protoreflect.ProtoMessage { - return (*EventStructDefender)(x) +func (x *fastReflection_EventStruct) Interface() protoreflect.ProtoMessage { + return (*EventStruct)(x) } // Range iterates over every populated field in an undefined order, @@ -4441,10 +4441,10 @@ func (x *fastReflection_EventStructDefender) Interface() protoreflect.ProtoMessa // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_EventStructDefender) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.StructDefender != nil { - value := protoreflect.ValueOfMessage(x.StructDefender.ProtoReflect()) - if !f(fd_EventStructDefender_structDefender, value) { +func (x *fastReflection_EventStruct) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Structure != nil { + value := protoreflect.ValueOfMessage(x.Structure.ProtoReflect()) + if !f(fd_EventStruct_structure, value) { return } } @@ -4461,15 +4461,15 @@ func (x *fastReflection_EventStructDefender) Range(f func(protoreflect.FieldDesc // 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_EventStructDefender) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_EventStruct) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.EventStructDefender.structDefender": - return x.StructDefender != nil + case "structs.structs.EventStruct.structure": + return x.Structure != nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventStructDefender")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventStruct")) } - panic(fmt.Errorf("message structs.structs.EventStructDefender does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventStruct does not contain field %s", fd.FullName())) } } @@ -4479,15 +4479,15 @@ func (x *fastReflection_EventStructDefender) Has(fd protoreflect.FieldDescriptor // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventStructDefender) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_EventStruct) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.EventStructDefender.structDefender": - x.StructDefender = nil + case "structs.structs.EventStruct.structure": + x.Structure = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventStructDefender")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventStruct")) } - panic(fmt.Errorf("message structs.structs.EventStructDefender does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventStruct does not contain field %s", fd.FullName())) } } @@ -4497,16 +4497,16 @@ func (x *fastReflection_EventStructDefender) Clear(fd protoreflect.FieldDescript // 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_EventStructDefender) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_EventStruct) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.EventStructDefender.structDefender": - value := x.StructDefender + case "structs.structs.EventStruct.structure": + value := x.Structure return protoreflect.ValueOfMessage(value.ProtoReflect()) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventStructDefender")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventStruct")) } - panic(fmt.Errorf("message structs.structs.EventStructDefender does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.EventStruct does not contain field %s", descriptor.FullName())) } } @@ -4520,15 +4520,15 @@ func (x *fastReflection_EventStructDefender) Get(descriptor protoreflect.FieldDe // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventStructDefender) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_EventStruct) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.EventStructDefender.structDefender": - x.StructDefender = value.Message().Interface().(*StructDefender) + case "structs.structs.EventStruct.structure": + x.Structure = value.Message().Interface().(*Struct) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventStructDefender")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventStruct")) } - panic(fmt.Errorf("message structs.structs.EventStructDefender does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventStruct does not contain field %s", fd.FullName())) } } @@ -4542,44 +4542,44 @@ func (x *fastReflection_EventStructDefender) Set(fd protoreflect.FieldDescriptor // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventStructDefender) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_EventStruct) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.EventStructDefender.structDefender": - if x.StructDefender == nil { - x.StructDefender = new(StructDefender) + case "structs.structs.EventStruct.structure": + if x.Structure == nil { + x.Structure = new(Struct) } - return protoreflect.ValueOfMessage(x.StructDefender.ProtoReflect()) + return protoreflect.ValueOfMessage(x.Structure.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventStructDefender")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventStruct")) } - panic(fmt.Errorf("message structs.structs.EventStructDefender does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventStruct 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_EventStructDefender) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_EventStruct) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.EventStructDefender.structDefender": - m := new(StructDefender) + case "structs.structs.EventStruct.structure": + m := new(Struct) return protoreflect.ValueOfMessage(m.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventStructDefender")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventStruct")) } - panic(fmt.Errorf("message structs.structs.EventStructDefender does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventStruct 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_EventStructDefender) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_EventStruct) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.EventStructDefender", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.EventStruct", d.FullName())) } panic("unreachable") } @@ -4587,7 +4587,7 @@ func (x *fastReflection_EventStructDefender) WhichOneof(d protoreflect.OneofDesc // 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_EventStructDefender) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_EventStruct) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -4598,7 +4598,7 @@ func (x *fastReflection_EventStructDefender) GetUnknown() protoreflect.RawFields // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventStructDefender) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_EventStruct) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -4610,7 +4610,7 @@ func (x *fastReflection_EventStructDefender) SetUnknown(fields protoreflect.RawF // 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_EventStructDefender) IsValid() bool { +func (x *fastReflection_EventStruct) IsValid() bool { return x != nil } @@ -4620,9 +4620,9 @@ func (x *fastReflection_EventStructDefender) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_EventStructDefender) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_EventStruct) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*EventStructDefender) + x := input.Message.Interface().(*EventStruct) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -4634,8 +4634,8 @@ func (x *fastReflection_EventStructDefender) ProtoMethods() *protoiface.Methods var n int var l int _ = l - if x.StructDefender != nil { - l = options.Size(x.StructDefender) + if x.Structure != nil { + l = options.Size(x.Structure) n += 1 + l + runtime.Sov(uint64(l)) } if x.unknownFields != nil { @@ -4648,7 +4648,7 @@ func (x *fastReflection_EventStructDefender) ProtoMethods() *protoiface.Methods } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*EventStructDefender) + x := input.Message.Interface().(*EventStruct) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -4667,8 +4667,8 @@ func (x *fastReflection_EventStructDefender) ProtoMethods() *protoiface.Methods i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if x.StructDefender != nil { - encoded, err := options.Marshal(x.StructDefender) + if x.Structure != nil { + encoded, err := options.Marshal(x.Structure) if err != nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -4692,7 +4692,7 @@ func (x *fastReflection_EventStructDefender) ProtoMethods() *protoiface.Methods }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*EventStructDefender) + x := input.Message.Interface().(*EventStruct) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -4724,15 +4724,15 @@ func (x *fastReflection_EventStructDefender) ProtoMethods() *protoiface.Methods fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventStructDefender: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventStruct: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventStructDefender: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventStruct: 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 StructDefender", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Structure", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -4759,10 +4759,10 @@ func (x *fastReflection_EventStructDefender) ProtoMethods() *protoiface.Methods if postIndex > l { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - if x.StructDefender == nil { - x.StructDefender = &StructDefender{} + if x.Structure == nil { + x.Structure = &Struct{} } - if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.StructDefender); err != nil { + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Structure); err != nil { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err } iNdEx = postIndex @@ -4802,25 +4802,25 @@ func (x *fastReflection_EventStructDefender) ProtoMethods() *protoiface.Methods } var ( - md_EventStructType protoreflect.MessageDescriptor - fd_EventStructType_structType protoreflect.FieldDescriptor + md_EventStructAttribute protoreflect.MessageDescriptor + fd_EventStructAttribute_structAttributeRecord protoreflect.FieldDescriptor ) func init() { file_structs_structs_events_proto_init() - md_EventStructType = File_structs_structs_events_proto.Messages().ByName("EventStructType") - fd_EventStructType_structType = md_EventStructType.Fields().ByName("structType") + md_EventStructAttribute = File_structs_structs_events_proto.Messages().ByName("EventStructAttribute") + fd_EventStructAttribute_structAttributeRecord = md_EventStructAttribute.Fields().ByName("structAttributeRecord") } -var _ protoreflect.Message = (*fastReflection_EventStructType)(nil) +var _ protoreflect.Message = (*fastReflection_EventStructAttribute)(nil) -type fastReflection_EventStructType EventStructType +type fastReflection_EventStructAttribute EventStructAttribute -func (x *EventStructType) ProtoReflect() protoreflect.Message { - return (*fastReflection_EventStructType)(x) +func (x *EventStructAttribute) ProtoReflect() protoreflect.Message { + return (*fastReflection_EventStructAttribute)(x) } -func (x *EventStructType) slowProtoReflect() protoreflect.Message { +func (x *EventStructAttribute) slowProtoReflect() protoreflect.Message { mi := &file_structs_structs_events_proto_msgTypes[11] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -4832,43 +4832,43 @@ func (x *EventStructType) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_EventStructType_messageType fastReflection_EventStructType_messageType -var _ protoreflect.MessageType = fastReflection_EventStructType_messageType{} +var _fastReflection_EventStructAttribute_messageType fastReflection_EventStructAttribute_messageType +var _ protoreflect.MessageType = fastReflection_EventStructAttribute_messageType{} -type fastReflection_EventStructType_messageType struct{} +type fastReflection_EventStructAttribute_messageType struct{} -func (x fastReflection_EventStructType_messageType) Zero() protoreflect.Message { - return (*fastReflection_EventStructType)(nil) +func (x fastReflection_EventStructAttribute_messageType) Zero() protoreflect.Message { + return (*fastReflection_EventStructAttribute)(nil) } -func (x fastReflection_EventStructType_messageType) New() protoreflect.Message { - return new(fastReflection_EventStructType) +func (x fastReflection_EventStructAttribute_messageType) New() protoreflect.Message { + return new(fastReflection_EventStructAttribute) } -func (x fastReflection_EventStructType_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_EventStructType +func (x fastReflection_EventStructAttribute_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_EventStructAttribute } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_EventStructType) Descriptor() protoreflect.MessageDescriptor { - return md_EventStructType +func (x *fastReflection_EventStructAttribute) Descriptor() protoreflect.MessageDescriptor { + return md_EventStructAttribute } // 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_EventStructType) Type() protoreflect.MessageType { - return _fastReflection_EventStructType_messageType +func (x *fastReflection_EventStructAttribute) Type() protoreflect.MessageType { + return _fastReflection_EventStructAttribute_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_EventStructType) New() protoreflect.Message { - return new(fastReflection_EventStructType) +func (x *fastReflection_EventStructAttribute) New() protoreflect.Message { + return new(fastReflection_EventStructAttribute) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_EventStructType) Interface() protoreflect.ProtoMessage { - return (*EventStructType)(x) +func (x *fastReflection_EventStructAttribute) Interface() protoreflect.ProtoMessage { + return (*EventStructAttribute)(x) } // Range iterates over every populated field in an undefined order, @@ -4876,10 +4876,10 @@ func (x *fastReflection_EventStructType) Interface() protoreflect.ProtoMessage { // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_EventStructType) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.StructType != nil { - value := protoreflect.ValueOfMessage(x.StructType.ProtoReflect()) - if !f(fd_EventStructType_structType, value) { +func (x *fastReflection_EventStructAttribute) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.StructAttributeRecord != nil { + value := protoreflect.ValueOfMessage(x.StructAttributeRecord.ProtoReflect()) + if !f(fd_EventStructAttribute_structAttributeRecord, value) { return } } @@ -4896,15 +4896,15 @@ func (x *fastReflection_EventStructType) Range(f func(protoreflect.FieldDescript // 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_EventStructType) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_EventStructAttribute) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.EventStructType.structType": - return x.StructType != nil + case "structs.structs.EventStructAttribute.structAttributeRecord": + return x.StructAttributeRecord != nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventStructType")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventStructAttribute")) } - panic(fmt.Errorf("message structs.structs.EventStructType does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventStructAttribute does not contain field %s", fd.FullName())) } } @@ -4914,15 +4914,15 @@ func (x *fastReflection_EventStructType) Has(fd protoreflect.FieldDescriptor) bo // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventStructType) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_EventStructAttribute) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.EventStructType.structType": - x.StructType = nil + case "structs.structs.EventStructAttribute.structAttributeRecord": + x.StructAttributeRecord = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventStructType")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventStructAttribute")) } - panic(fmt.Errorf("message structs.structs.EventStructType does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventStructAttribute does not contain field %s", fd.FullName())) } } @@ -4932,16 +4932,16 @@ func (x *fastReflection_EventStructType) Clear(fd protoreflect.FieldDescriptor) // 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_EventStructType) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_EventStructAttribute) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.EventStructType.structType": - value := x.StructType + case "structs.structs.EventStructAttribute.structAttributeRecord": + value := x.StructAttributeRecord return protoreflect.ValueOfMessage(value.ProtoReflect()) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventStructType")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventStructAttribute")) } - panic(fmt.Errorf("message structs.structs.EventStructType does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.EventStructAttribute does not contain field %s", descriptor.FullName())) } } @@ -4955,15 +4955,15 @@ func (x *fastReflection_EventStructType) Get(descriptor protoreflect.FieldDescri // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventStructType) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_EventStructAttribute) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.EventStructType.structType": - x.StructType = value.Message().Interface().(*StructType) + case "structs.structs.EventStructAttribute.structAttributeRecord": + x.StructAttributeRecord = value.Message().Interface().(*StructAttributeRecord) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventStructType")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventStructAttribute")) } - panic(fmt.Errorf("message structs.structs.EventStructType does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventStructAttribute does not contain field %s", fd.FullName())) } } @@ -4977,44 +4977,44 @@ func (x *fastReflection_EventStructType) Set(fd protoreflect.FieldDescriptor, va // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventStructType) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_EventStructAttribute) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.EventStructType.structType": - if x.StructType == nil { - x.StructType = new(StructType) + case "structs.structs.EventStructAttribute.structAttributeRecord": + if x.StructAttributeRecord == nil { + x.StructAttributeRecord = new(StructAttributeRecord) } - return protoreflect.ValueOfMessage(x.StructType.ProtoReflect()) + return protoreflect.ValueOfMessage(x.StructAttributeRecord.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventStructType")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventStructAttribute")) } - panic(fmt.Errorf("message structs.structs.EventStructType does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventStructAttribute 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_EventStructType) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_EventStructAttribute) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.EventStructType.structType": - m := new(StructType) + case "structs.structs.EventStructAttribute.structAttributeRecord": + m := new(StructAttributeRecord) return protoreflect.ValueOfMessage(m.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventStructType")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventStructAttribute")) } - panic(fmt.Errorf("message structs.structs.EventStructType does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventStructAttribute 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_EventStructType) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_EventStructAttribute) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.EventStructType", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.EventStructAttribute", d.FullName())) } panic("unreachable") } @@ -5022,7 +5022,7 @@ func (x *fastReflection_EventStructType) WhichOneof(d protoreflect.OneofDescript // 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_EventStructType) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_EventStructAttribute) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -5033,7 +5033,7 @@ func (x *fastReflection_EventStructType) GetUnknown() protoreflect.RawFields { // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventStructType) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_EventStructAttribute) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -5045,7 +5045,7 @@ func (x *fastReflection_EventStructType) SetUnknown(fields protoreflect.RawField // 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_EventStructType) IsValid() bool { +func (x *fastReflection_EventStructAttribute) IsValid() bool { return x != nil } @@ -5055,9 +5055,9 @@ func (x *fastReflection_EventStructType) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_EventStructType) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_EventStructAttribute) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*EventStructType) + x := input.Message.Interface().(*EventStructAttribute) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -5069,8 +5069,8 @@ func (x *fastReflection_EventStructType) ProtoMethods() *protoiface.Methods { var n int var l int _ = l - if x.StructType != nil { - l = options.Size(x.StructType) + if x.StructAttributeRecord != nil { + l = options.Size(x.StructAttributeRecord) n += 1 + l + runtime.Sov(uint64(l)) } if x.unknownFields != nil { @@ -5083,7 +5083,7 @@ func (x *fastReflection_EventStructType) ProtoMethods() *protoiface.Methods { } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*EventStructType) + x := input.Message.Interface().(*EventStructAttribute) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -5102,8 +5102,8 @@ func (x *fastReflection_EventStructType) ProtoMethods() *protoiface.Methods { i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if x.StructType != nil { - encoded, err := options.Marshal(x.StructType) + if x.StructAttributeRecord != nil { + encoded, err := options.Marshal(x.StructAttributeRecord) if err != nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -5127,7 +5127,7 @@ func (x *fastReflection_EventStructType) ProtoMethods() *protoiface.Methods { }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*EventStructType) + x := input.Message.Interface().(*EventStructAttribute) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -5159,15 +5159,15 @@ func (x *fastReflection_EventStructType) ProtoMethods() *protoiface.Methods { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventStructType: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventStructAttribute: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventStructType: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventStructAttribute: 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 StructType", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field StructAttributeRecord", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -5194,10 +5194,10 @@ func (x *fastReflection_EventStructType) ProtoMethods() *protoiface.Methods { if postIndex > l { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - if x.StructType == nil { - x.StructType = &StructType{} + if x.StructAttributeRecord == nil { + x.StructAttributeRecord = &StructAttributeRecord{} } - if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.StructType); err != nil { + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.StructAttributeRecord); err != nil { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err } iNdEx = postIndex @@ -5237,25 +5237,25 @@ func (x *fastReflection_EventStructType) ProtoMethods() *protoiface.Methods { } var ( - md_EventSubstation protoreflect.MessageDescriptor - fd_EventSubstation_substation protoreflect.FieldDescriptor + md_EventStructDefender protoreflect.MessageDescriptor + fd_EventStructDefender_structDefender protoreflect.FieldDescriptor ) func init() { file_structs_structs_events_proto_init() - md_EventSubstation = File_structs_structs_events_proto.Messages().ByName("EventSubstation") - fd_EventSubstation_substation = md_EventSubstation.Fields().ByName("substation") + md_EventStructDefender = File_structs_structs_events_proto.Messages().ByName("EventStructDefender") + fd_EventStructDefender_structDefender = md_EventStructDefender.Fields().ByName("structDefender") } -var _ protoreflect.Message = (*fastReflection_EventSubstation)(nil) +var _ protoreflect.Message = (*fastReflection_EventStructDefender)(nil) -type fastReflection_EventSubstation EventSubstation +type fastReflection_EventStructDefender EventStructDefender -func (x *EventSubstation) ProtoReflect() protoreflect.Message { - return (*fastReflection_EventSubstation)(x) +func (x *EventStructDefender) ProtoReflect() protoreflect.Message { + return (*fastReflection_EventStructDefender)(x) } -func (x *EventSubstation) slowProtoReflect() protoreflect.Message { +func (x *EventStructDefender) slowProtoReflect() protoreflect.Message { mi := &file_structs_structs_events_proto_msgTypes[12] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -5267,43 +5267,43 @@ func (x *EventSubstation) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_EventSubstation_messageType fastReflection_EventSubstation_messageType -var _ protoreflect.MessageType = fastReflection_EventSubstation_messageType{} +var _fastReflection_EventStructDefender_messageType fastReflection_EventStructDefender_messageType +var _ protoreflect.MessageType = fastReflection_EventStructDefender_messageType{} -type fastReflection_EventSubstation_messageType struct{} +type fastReflection_EventStructDefender_messageType struct{} -func (x fastReflection_EventSubstation_messageType) Zero() protoreflect.Message { - return (*fastReflection_EventSubstation)(nil) +func (x fastReflection_EventStructDefender_messageType) Zero() protoreflect.Message { + return (*fastReflection_EventStructDefender)(nil) } -func (x fastReflection_EventSubstation_messageType) New() protoreflect.Message { - return new(fastReflection_EventSubstation) +func (x fastReflection_EventStructDefender_messageType) New() protoreflect.Message { + return new(fastReflection_EventStructDefender) } -func (x fastReflection_EventSubstation_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_EventSubstation +func (x fastReflection_EventStructDefender_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_EventStructDefender } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_EventSubstation) Descriptor() protoreflect.MessageDescriptor { - return md_EventSubstation +func (x *fastReflection_EventStructDefender) Descriptor() protoreflect.MessageDescriptor { + return md_EventStructDefender } // 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_EventSubstation) Type() protoreflect.MessageType { - return _fastReflection_EventSubstation_messageType +func (x *fastReflection_EventStructDefender) Type() protoreflect.MessageType { + return _fastReflection_EventStructDefender_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_EventSubstation) New() protoreflect.Message { - return new(fastReflection_EventSubstation) +func (x *fastReflection_EventStructDefender) New() protoreflect.Message { + return new(fastReflection_EventStructDefender) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_EventSubstation) Interface() protoreflect.ProtoMessage { - return (*EventSubstation)(x) +func (x *fastReflection_EventStructDefender) Interface() protoreflect.ProtoMessage { + return (*EventStructDefender)(x) } // Range iterates over every populated field in an undefined order, @@ -5311,10 +5311,10 @@ func (x *fastReflection_EventSubstation) Interface() protoreflect.ProtoMessage { // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_EventSubstation) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.Substation != nil { - value := protoreflect.ValueOfMessage(x.Substation.ProtoReflect()) - if !f(fd_EventSubstation_substation, value) { +func (x *fastReflection_EventStructDefender) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.StructDefender != nil { + value := protoreflect.ValueOfMessage(x.StructDefender.ProtoReflect()) + if !f(fd_EventStructDefender_structDefender, value) { return } } @@ -5331,15 +5331,15 @@ func (x *fastReflection_EventSubstation) Range(f func(protoreflect.FieldDescript // 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_EventSubstation) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_EventStructDefender) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.EventSubstation.substation": - return x.Substation != nil + case "structs.structs.EventStructDefender.structDefender": + return x.StructDefender != nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventSubstation")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventStructDefender")) } - panic(fmt.Errorf("message structs.structs.EventSubstation does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventStructDefender does not contain field %s", fd.FullName())) } } @@ -5349,15 +5349,15 @@ func (x *fastReflection_EventSubstation) Has(fd protoreflect.FieldDescriptor) bo // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventSubstation) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_EventStructDefender) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.EventSubstation.substation": - x.Substation = nil + case "structs.structs.EventStructDefender.structDefender": + x.StructDefender = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventSubstation")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventStructDefender")) } - panic(fmt.Errorf("message structs.structs.EventSubstation does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventStructDefender does not contain field %s", fd.FullName())) } } @@ -5367,16 +5367,16 @@ func (x *fastReflection_EventSubstation) Clear(fd protoreflect.FieldDescriptor) // 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_EventSubstation) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_EventStructDefender) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.EventSubstation.substation": - value := x.Substation + case "structs.structs.EventStructDefender.structDefender": + value := x.StructDefender return protoreflect.ValueOfMessage(value.ProtoReflect()) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventSubstation")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventStructDefender")) } - panic(fmt.Errorf("message structs.structs.EventSubstation does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.EventStructDefender does not contain field %s", descriptor.FullName())) } } @@ -5390,15 +5390,15 @@ func (x *fastReflection_EventSubstation) Get(descriptor protoreflect.FieldDescri // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventSubstation) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_EventStructDefender) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.EventSubstation.substation": - x.Substation = value.Message().Interface().(*Substation) + case "structs.structs.EventStructDefender.structDefender": + x.StructDefender = value.Message().Interface().(*StructDefender) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventSubstation")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventStructDefender")) } - panic(fmt.Errorf("message structs.structs.EventSubstation does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventStructDefender does not contain field %s", fd.FullName())) } } @@ -5412,44 +5412,44 @@ func (x *fastReflection_EventSubstation) Set(fd protoreflect.FieldDescriptor, va // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventSubstation) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_EventStructDefender) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.EventSubstation.substation": - if x.Substation == nil { - x.Substation = new(Substation) + case "structs.structs.EventStructDefender.structDefender": + if x.StructDefender == nil { + x.StructDefender = new(StructDefender) } - return protoreflect.ValueOfMessage(x.Substation.ProtoReflect()) + return protoreflect.ValueOfMessage(x.StructDefender.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventSubstation")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventStructDefender")) } - panic(fmt.Errorf("message structs.structs.EventSubstation does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventStructDefender 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_EventSubstation) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_EventStructDefender) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.EventSubstation.substation": - m := new(Substation) + case "structs.structs.EventStructDefender.structDefender": + m := new(StructDefender) return protoreflect.ValueOfMessage(m.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventSubstation")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventStructDefender")) } - panic(fmt.Errorf("message structs.structs.EventSubstation does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventStructDefender 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_EventSubstation) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_EventStructDefender) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.EventSubstation", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.EventStructDefender", d.FullName())) } panic("unreachable") } @@ -5457,7 +5457,7 @@ func (x *fastReflection_EventSubstation) WhichOneof(d protoreflect.OneofDescript // 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_EventSubstation) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_EventStructDefender) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -5468,7 +5468,7 @@ func (x *fastReflection_EventSubstation) GetUnknown() protoreflect.RawFields { // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventSubstation) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_EventStructDefender) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -5480,7 +5480,7 @@ func (x *fastReflection_EventSubstation) SetUnknown(fields protoreflect.RawField // 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_EventSubstation) IsValid() bool { +func (x *fastReflection_EventStructDefender) IsValid() bool { return x != nil } @@ -5490,9 +5490,9 @@ func (x *fastReflection_EventSubstation) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_EventSubstation) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_EventStructDefender) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*EventSubstation) + x := input.Message.Interface().(*EventStructDefender) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -5504,8 +5504,8 @@ func (x *fastReflection_EventSubstation) ProtoMethods() *protoiface.Methods { var n int var l int _ = l - if x.Substation != nil { - l = options.Size(x.Substation) + if x.StructDefender != nil { + l = options.Size(x.StructDefender) n += 1 + l + runtime.Sov(uint64(l)) } if x.unknownFields != nil { @@ -5518,7 +5518,7 @@ func (x *fastReflection_EventSubstation) ProtoMethods() *protoiface.Methods { } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*EventSubstation) + x := input.Message.Interface().(*EventStructDefender) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -5537,8 +5537,8 @@ func (x *fastReflection_EventSubstation) ProtoMethods() *protoiface.Methods { i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if x.Substation != nil { - encoded, err := options.Marshal(x.Substation) + if x.StructDefender != nil { + encoded, err := options.Marshal(x.StructDefender) if err != nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -5562,7 +5562,7 @@ func (x *fastReflection_EventSubstation) ProtoMethods() *protoiface.Methods { }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*EventSubstation) + x := input.Message.Interface().(*EventStructDefender) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -5594,15 +5594,15 @@ func (x *fastReflection_EventSubstation) ProtoMethods() *protoiface.Methods { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventSubstation: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventStructDefender: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventSubstation: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventStructDefender: 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 Substation", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field StructDefender", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -5629,10 +5629,10 @@ func (x *fastReflection_EventSubstation) ProtoMethods() *protoiface.Methods { if postIndex > l { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - if x.Substation == nil { - x.Substation = &Substation{} + if x.StructDefender == nil { + x.StructDefender = &StructDefender{} } - if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Substation); err != nil { + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.StructDefender); err != nil { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err } iNdEx = postIndex @@ -5672,25 +5672,25 @@ func (x *fastReflection_EventSubstation) ProtoMethods() *protoiface.Methods { } var ( - md_EventTime protoreflect.MessageDescriptor - fd_EventTime_eventTimeDetail protoreflect.FieldDescriptor + md_EventStructType protoreflect.MessageDescriptor + fd_EventStructType_structType protoreflect.FieldDescriptor ) func init() { file_structs_structs_events_proto_init() - md_EventTime = File_structs_structs_events_proto.Messages().ByName("EventTime") - fd_EventTime_eventTimeDetail = md_EventTime.Fields().ByName("eventTimeDetail") + md_EventStructType = File_structs_structs_events_proto.Messages().ByName("EventStructType") + fd_EventStructType_structType = md_EventStructType.Fields().ByName("structType") } -var _ protoreflect.Message = (*fastReflection_EventTime)(nil) +var _ protoreflect.Message = (*fastReflection_EventStructType)(nil) -type fastReflection_EventTime EventTime +type fastReflection_EventStructType EventStructType -func (x *EventTime) ProtoReflect() protoreflect.Message { - return (*fastReflection_EventTime)(x) +func (x *EventStructType) ProtoReflect() protoreflect.Message { + return (*fastReflection_EventStructType)(x) } -func (x *EventTime) slowProtoReflect() protoreflect.Message { +func (x *EventStructType) slowProtoReflect() protoreflect.Message { mi := &file_structs_structs_events_proto_msgTypes[13] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -5702,43 +5702,43 @@ func (x *EventTime) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_EventTime_messageType fastReflection_EventTime_messageType -var _ protoreflect.MessageType = fastReflection_EventTime_messageType{} +var _fastReflection_EventStructType_messageType fastReflection_EventStructType_messageType +var _ protoreflect.MessageType = fastReflection_EventStructType_messageType{} -type fastReflection_EventTime_messageType struct{} +type fastReflection_EventStructType_messageType struct{} -func (x fastReflection_EventTime_messageType) Zero() protoreflect.Message { - return (*fastReflection_EventTime)(nil) +func (x fastReflection_EventStructType_messageType) Zero() protoreflect.Message { + return (*fastReflection_EventStructType)(nil) } -func (x fastReflection_EventTime_messageType) New() protoreflect.Message { - return new(fastReflection_EventTime) +func (x fastReflection_EventStructType_messageType) New() protoreflect.Message { + return new(fastReflection_EventStructType) } -func (x fastReflection_EventTime_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_EventTime +func (x fastReflection_EventStructType_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_EventStructType } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_EventTime) Descriptor() protoreflect.MessageDescriptor { - return md_EventTime +func (x *fastReflection_EventStructType) Descriptor() protoreflect.MessageDescriptor { + return md_EventStructType } // 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_EventTime) Type() protoreflect.MessageType { - return _fastReflection_EventTime_messageType +func (x *fastReflection_EventStructType) Type() protoreflect.MessageType { + return _fastReflection_EventStructType_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_EventTime) New() protoreflect.Message { - return new(fastReflection_EventTime) +func (x *fastReflection_EventStructType) New() protoreflect.Message { + return new(fastReflection_EventStructType) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_EventTime) Interface() protoreflect.ProtoMessage { - return (*EventTime)(x) +func (x *fastReflection_EventStructType) Interface() protoreflect.ProtoMessage { + return (*EventStructType)(x) } // Range iterates over every populated field in an undefined order, @@ -5746,10 +5746,10 @@ func (x *fastReflection_EventTime) Interface() protoreflect.ProtoMessage { // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_EventTime) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.EventTimeDetail != nil { - value := protoreflect.ValueOfMessage(x.EventTimeDetail.ProtoReflect()) - if !f(fd_EventTime_eventTimeDetail, value) { +func (x *fastReflection_EventStructType) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.StructType != nil { + value := protoreflect.ValueOfMessage(x.StructType.ProtoReflect()) + if !f(fd_EventStructType_structType, value) { return } } @@ -5766,15 +5766,15 @@ func (x *fastReflection_EventTime) Range(f func(protoreflect.FieldDescriptor, pr // 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_EventTime) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_EventStructType) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.EventTime.eventTimeDetail": - return x.EventTimeDetail != nil + case "structs.structs.EventStructType.structType": + return x.StructType != nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventTime")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventStructType")) } - panic(fmt.Errorf("message structs.structs.EventTime does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventStructType does not contain field %s", fd.FullName())) } } @@ -5784,15 +5784,15 @@ func (x *fastReflection_EventTime) Has(fd protoreflect.FieldDescriptor) bool { // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventTime) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_EventStructType) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.EventTime.eventTimeDetail": - x.EventTimeDetail = nil + case "structs.structs.EventStructType.structType": + x.StructType = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventTime")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventStructType")) } - panic(fmt.Errorf("message structs.structs.EventTime does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventStructType does not contain field %s", fd.FullName())) } } @@ -5802,16 +5802,16 @@ func (x *fastReflection_EventTime) Clear(fd protoreflect.FieldDescriptor) { // 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_EventTime) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_EventStructType) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.EventTime.eventTimeDetail": - value := x.EventTimeDetail + case "structs.structs.EventStructType.structType": + value := x.StructType return protoreflect.ValueOfMessage(value.ProtoReflect()) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventTime")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventStructType")) } - panic(fmt.Errorf("message structs.structs.EventTime does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.EventStructType does not contain field %s", descriptor.FullName())) } } @@ -5825,15 +5825,15 @@ func (x *fastReflection_EventTime) Get(descriptor protoreflect.FieldDescriptor) // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventTime) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_EventStructType) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.EventTime.eventTimeDetail": - x.EventTimeDetail = value.Message().Interface().(*EventTimeDetail) + case "structs.structs.EventStructType.structType": + x.StructType = value.Message().Interface().(*StructType) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventTime")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventStructType")) } - panic(fmt.Errorf("message structs.structs.EventTime does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventStructType does not contain field %s", fd.FullName())) } } @@ -5847,44 +5847,44 @@ func (x *fastReflection_EventTime) Set(fd protoreflect.FieldDescriptor, value pr // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventTime) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_EventStructType) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.EventTime.eventTimeDetail": - if x.EventTimeDetail == nil { - x.EventTimeDetail = new(EventTimeDetail) + case "structs.structs.EventStructType.structType": + if x.StructType == nil { + x.StructType = new(StructType) } - return protoreflect.ValueOfMessage(x.EventTimeDetail.ProtoReflect()) + return protoreflect.ValueOfMessage(x.StructType.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventTime")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventStructType")) } - panic(fmt.Errorf("message structs.structs.EventTime does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventStructType 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_EventTime) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_EventStructType) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.EventTime.eventTimeDetail": - m := new(EventTimeDetail) + case "structs.structs.EventStructType.structType": + m := new(StructType) return protoreflect.ValueOfMessage(m.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventTime")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventStructType")) } - panic(fmt.Errorf("message structs.structs.EventTime does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventStructType 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_EventTime) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_EventStructType) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.EventTime", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.EventStructType", d.FullName())) } panic("unreachable") } @@ -5892,7 +5892,7 @@ func (x *fastReflection_EventTime) WhichOneof(d protoreflect.OneofDescriptor) pr // 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_EventTime) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_EventStructType) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -5903,7 +5903,7 @@ func (x *fastReflection_EventTime) GetUnknown() protoreflect.RawFields { // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventTime) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_EventStructType) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -5915,7 +5915,7 @@ func (x *fastReflection_EventTime) SetUnknown(fields protoreflect.RawFields) { // 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_EventTime) IsValid() bool { +func (x *fastReflection_EventStructType) IsValid() bool { return x != nil } @@ -5925,9 +5925,9 @@ func (x *fastReflection_EventTime) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_EventTime) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_EventStructType) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*EventTime) + x := input.Message.Interface().(*EventStructType) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -5939,8 +5939,8 @@ func (x *fastReflection_EventTime) ProtoMethods() *protoiface.Methods { var n int var l int _ = l - if x.EventTimeDetail != nil { - l = options.Size(x.EventTimeDetail) + if x.StructType != nil { + l = options.Size(x.StructType) n += 1 + l + runtime.Sov(uint64(l)) } if x.unknownFields != nil { @@ -5953,7 +5953,7 @@ func (x *fastReflection_EventTime) ProtoMethods() *protoiface.Methods { } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*EventTime) + x := input.Message.Interface().(*EventStructType) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -5972,8 +5972,8 @@ func (x *fastReflection_EventTime) ProtoMethods() *protoiface.Methods { i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if x.EventTimeDetail != nil { - encoded, err := options.Marshal(x.EventTimeDetail) + if x.StructType != nil { + encoded, err := options.Marshal(x.StructType) if err != nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -5997,7 +5997,7 @@ func (x *fastReflection_EventTime) ProtoMethods() *protoiface.Methods { }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*EventTime) + x := input.Message.Interface().(*EventStructType) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -6029,15 +6029,15 @@ func (x *fastReflection_EventTime) ProtoMethods() *protoiface.Methods { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventTime: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventStructType: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventTime: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventStructType: 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 EventTimeDetail", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field StructType", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -6064,10 +6064,10 @@ func (x *fastReflection_EventTime) ProtoMethods() *protoiface.Methods { if postIndex > l { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - if x.EventTimeDetail == nil { - x.EventTimeDetail = &EventTimeDetail{} + if x.StructType == nil { + x.StructType = &StructType{} } - if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.EventTimeDetail); err != nil { + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.StructType); err != nil { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err } iNdEx = postIndex @@ -6107,27 +6107,25 @@ func (x *fastReflection_EventTime) ProtoMethods() *protoiface.Methods { } var ( - md_EventTimeDetail protoreflect.MessageDescriptor - fd_EventTimeDetail_blockHeight protoreflect.FieldDescriptor - fd_EventTimeDetail_blockTime protoreflect.FieldDescriptor + md_EventSubstation protoreflect.MessageDescriptor + fd_EventSubstation_substation protoreflect.FieldDescriptor ) func init() { file_structs_structs_events_proto_init() - md_EventTimeDetail = File_structs_structs_events_proto.Messages().ByName("EventTimeDetail") - fd_EventTimeDetail_blockHeight = md_EventTimeDetail.Fields().ByName("blockHeight") - fd_EventTimeDetail_blockTime = md_EventTimeDetail.Fields().ByName("blockTime") + md_EventSubstation = File_structs_structs_events_proto.Messages().ByName("EventSubstation") + fd_EventSubstation_substation = md_EventSubstation.Fields().ByName("substation") } -var _ protoreflect.Message = (*fastReflection_EventTimeDetail)(nil) +var _ protoreflect.Message = (*fastReflection_EventSubstation)(nil) -type fastReflection_EventTimeDetail EventTimeDetail +type fastReflection_EventSubstation EventSubstation -func (x *EventTimeDetail) ProtoReflect() protoreflect.Message { - return (*fastReflection_EventTimeDetail)(x) +func (x *EventSubstation) ProtoReflect() protoreflect.Message { + return (*fastReflection_EventSubstation)(x) } -func (x *EventTimeDetail) slowProtoReflect() protoreflect.Message { +func (x *EventSubstation) slowProtoReflect() protoreflect.Message { mi := &file_structs_structs_events_proto_msgTypes[14] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -6139,43 +6137,43 @@ func (x *EventTimeDetail) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_EventTimeDetail_messageType fastReflection_EventTimeDetail_messageType -var _ protoreflect.MessageType = fastReflection_EventTimeDetail_messageType{} +var _fastReflection_EventSubstation_messageType fastReflection_EventSubstation_messageType +var _ protoreflect.MessageType = fastReflection_EventSubstation_messageType{} -type fastReflection_EventTimeDetail_messageType struct{} +type fastReflection_EventSubstation_messageType struct{} -func (x fastReflection_EventTimeDetail_messageType) Zero() protoreflect.Message { - return (*fastReflection_EventTimeDetail)(nil) +func (x fastReflection_EventSubstation_messageType) Zero() protoreflect.Message { + return (*fastReflection_EventSubstation)(nil) } -func (x fastReflection_EventTimeDetail_messageType) New() protoreflect.Message { - return new(fastReflection_EventTimeDetail) +func (x fastReflection_EventSubstation_messageType) New() protoreflect.Message { + return new(fastReflection_EventSubstation) } -func (x fastReflection_EventTimeDetail_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_EventTimeDetail +func (x fastReflection_EventSubstation_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_EventSubstation } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_EventTimeDetail) Descriptor() protoreflect.MessageDescriptor { - return md_EventTimeDetail +func (x *fastReflection_EventSubstation) Descriptor() protoreflect.MessageDescriptor { + return md_EventSubstation } // 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_EventTimeDetail) Type() protoreflect.MessageType { - return _fastReflection_EventTimeDetail_messageType +func (x *fastReflection_EventSubstation) Type() protoreflect.MessageType { + return _fastReflection_EventSubstation_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_EventTimeDetail) New() protoreflect.Message { - return new(fastReflection_EventTimeDetail) +func (x *fastReflection_EventSubstation) New() protoreflect.Message { + return new(fastReflection_EventSubstation) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_EventTimeDetail) Interface() protoreflect.ProtoMessage { - return (*EventTimeDetail)(x) +func (x *fastReflection_EventSubstation) Interface() protoreflect.ProtoMessage { + return (*EventSubstation)(x) } // Range iterates over every populated field in an undefined order, @@ -6183,16 +6181,10 @@ func (x *fastReflection_EventTimeDetail) Interface() protoreflect.ProtoMessage { // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_EventTimeDetail) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.BlockHeight != int64(0) { - value := protoreflect.ValueOfInt64(x.BlockHeight) - if !f(fd_EventTimeDetail_blockHeight, value) { - return - } - } - if x.BlockTime != nil { - value := protoreflect.ValueOfMessage(x.BlockTime.ProtoReflect()) - if !f(fd_EventTimeDetail_blockTime, value) { +func (x *fastReflection_EventSubstation) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Substation != nil { + value := protoreflect.ValueOfMessage(x.Substation.ProtoReflect()) + if !f(fd_EventSubstation_substation, value) { return } } @@ -6209,17 +6201,15 @@ func (x *fastReflection_EventTimeDetail) Range(f func(protoreflect.FieldDescript // 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_EventTimeDetail) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_EventSubstation) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.EventTimeDetail.blockHeight": - return x.BlockHeight != int64(0) - case "structs.structs.EventTimeDetail.blockTime": - return x.BlockTime != nil + case "structs.structs.EventSubstation.substation": + return x.Substation != nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventTimeDetail")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventSubstation")) } - panic(fmt.Errorf("message structs.structs.EventTimeDetail does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventSubstation does not contain field %s", fd.FullName())) } } @@ -6229,17 +6219,15 @@ func (x *fastReflection_EventTimeDetail) Has(fd protoreflect.FieldDescriptor) bo // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventTimeDetail) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_EventSubstation) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.EventTimeDetail.blockHeight": - x.BlockHeight = int64(0) - case "structs.structs.EventTimeDetail.blockTime": - x.BlockTime = nil + case "structs.structs.EventSubstation.substation": + x.Substation = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventTimeDetail")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventSubstation")) } - panic(fmt.Errorf("message structs.structs.EventTimeDetail does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventSubstation does not contain field %s", fd.FullName())) } } @@ -6249,19 +6237,16 @@ func (x *fastReflection_EventTimeDetail) Clear(fd protoreflect.FieldDescriptor) // 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_EventTimeDetail) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_EventSubstation) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.EventTimeDetail.blockHeight": - value := x.BlockHeight - return protoreflect.ValueOfInt64(value) - case "structs.structs.EventTimeDetail.blockTime": - value := x.BlockTime + case "structs.structs.EventSubstation.substation": + value := x.Substation return protoreflect.ValueOfMessage(value.ProtoReflect()) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventTimeDetail")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventSubstation")) } - panic(fmt.Errorf("message structs.structs.EventTimeDetail does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.EventSubstation does not contain field %s", descriptor.FullName())) } } @@ -6275,17 +6260,15 @@ func (x *fastReflection_EventTimeDetail) Get(descriptor protoreflect.FieldDescri // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventTimeDetail) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_EventSubstation) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.EventTimeDetail.blockHeight": - x.BlockHeight = value.Int() - case "structs.structs.EventTimeDetail.blockTime": - x.BlockTime = value.Message().Interface().(*timestamppb.Timestamp) + case "structs.structs.EventSubstation.substation": + x.Substation = value.Message().Interface().(*Substation) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventTimeDetail")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventSubstation")) } - panic(fmt.Errorf("message structs.structs.EventTimeDetail does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventSubstation does not contain field %s", fd.FullName())) } } @@ -6299,48 +6282,44 @@ func (x *fastReflection_EventTimeDetail) Set(fd protoreflect.FieldDescriptor, va // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventTimeDetail) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_EventSubstation) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.EventTimeDetail.blockTime": - if x.BlockTime == nil { - x.BlockTime = new(timestamppb.Timestamp) + case "structs.structs.EventSubstation.substation": + if x.Substation == nil { + x.Substation = new(Substation) } - return protoreflect.ValueOfMessage(x.BlockTime.ProtoReflect()) - case "structs.structs.EventTimeDetail.blockHeight": - panic(fmt.Errorf("field blockHeight of message structs.structs.EventTimeDetail is not mutable")) + return protoreflect.ValueOfMessage(x.Substation.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventTimeDetail")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventSubstation")) } - panic(fmt.Errorf("message structs.structs.EventTimeDetail does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventSubstation 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_EventTimeDetail) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_EventSubstation) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.EventTimeDetail.blockHeight": - return protoreflect.ValueOfInt64(int64(0)) - case "structs.structs.EventTimeDetail.blockTime": - m := new(timestamppb.Timestamp) + case "structs.structs.EventSubstation.substation": + m := new(Substation) return protoreflect.ValueOfMessage(m.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventTimeDetail")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventSubstation")) } - panic(fmt.Errorf("message structs.structs.EventTimeDetail does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventSubstation 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_EventTimeDetail) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_EventSubstation) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.EventTimeDetail", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.EventSubstation", d.FullName())) } panic("unreachable") } @@ -6348,7 +6327,7 @@ func (x *fastReflection_EventTimeDetail) WhichOneof(d protoreflect.OneofDescript // 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_EventTimeDetail) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_EventSubstation) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -6359,7 +6338,7 @@ func (x *fastReflection_EventTimeDetail) GetUnknown() protoreflect.RawFields { // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventTimeDetail) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_EventSubstation) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -6371,7 +6350,7 @@ func (x *fastReflection_EventTimeDetail) SetUnknown(fields protoreflect.RawField // 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_EventTimeDetail) IsValid() bool { +func (x *fastReflection_EventSubstation) IsValid() bool { return x != nil } @@ -6381,9 +6360,9 @@ func (x *fastReflection_EventTimeDetail) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_EventTimeDetail) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_EventSubstation) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*EventTimeDetail) + x := input.Message.Interface().(*EventSubstation) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -6395,11 +6374,8 @@ func (x *fastReflection_EventTimeDetail) ProtoMethods() *protoiface.Methods { var n int var l int _ = l - if x.BlockHeight != 0 { - n += 1 + runtime.Sov(uint64(x.BlockHeight)) - } - if x.BlockTime != nil { - l = options.Size(x.BlockTime) + if x.Substation != nil { + l = options.Size(x.Substation) n += 1 + l + runtime.Sov(uint64(l)) } if x.unknownFields != nil { @@ -6412,7 +6388,7 @@ func (x *fastReflection_EventTimeDetail) ProtoMethods() *protoiface.Methods { } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*EventTimeDetail) + x := input.Message.Interface().(*EventSubstation) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -6431,8 +6407,8 @@ func (x *fastReflection_EventTimeDetail) ProtoMethods() *protoiface.Methods { i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if x.BlockTime != nil { - encoded, err := options.Marshal(x.BlockTime) + if x.Substation != nil { + encoded, err := options.Marshal(x.Substation) if err != nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -6443,12 +6419,7 @@ func (x *fastReflection_EventTimeDetail) ProtoMethods() *protoiface.Methods { copy(dAtA[i:], encoded) i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) i-- - dAtA[i] = 0x12 - } - if x.BlockHeight != 0 { - i = runtime.EncodeVarint(dAtA, i, uint64(x.BlockHeight)) - i-- - dAtA[i] = 0x8 + dAtA[i] = 0xa } if input.Buf != nil { input.Buf = append(input.Buf, dAtA...) @@ -6461,7 +6432,7 @@ func (x *fastReflection_EventTimeDetail) ProtoMethods() *protoiface.Methods { }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*EventTimeDetail) + x := input.Message.Interface().(*EventSubstation) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -6493,34 +6464,15 @@ func (x *fastReflection_EventTimeDetail) ProtoMethods() *protoiface.Methods { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventTimeDetail: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventSubstation: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventTimeDetail: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventSubstation: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: - if wireType != 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field BlockHeight", wireType) - } - x.BlockHeight = 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.BlockHeight |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field BlockTime", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Substation", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -6547,10 +6499,10 @@ func (x *fastReflection_EventTimeDetail) ProtoMethods() *protoiface.Methods { if postIndex > l { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - if x.BlockTime == nil { - x.BlockTime = ×tamppb.Timestamp{} + if x.Substation == nil { + x.Substation = &Substation{} } - if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.BlockTime); err != nil { + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Substation); err != nil { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err } iNdEx = postIndex @@ -6590,25 +6542,25 @@ func (x *fastReflection_EventTimeDetail) ProtoMethods() *protoiface.Methods { } var ( - md_EventPermission protoreflect.MessageDescriptor - fd_EventPermission_permissionRecord protoreflect.FieldDescriptor + md_EventTime protoreflect.MessageDescriptor + fd_EventTime_eventTimeDetail protoreflect.FieldDescriptor ) func init() { file_structs_structs_events_proto_init() - md_EventPermission = File_structs_structs_events_proto.Messages().ByName("EventPermission") - fd_EventPermission_permissionRecord = md_EventPermission.Fields().ByName("permissionRecord") + md_EventTime = File_structs_structs_events_proto.Messages().ByName("EventTime") + fd_EventTime_eventTimeDetail = md_EventTime.Fields().ByName("eventTimeDetail") } -var _ protoreflect.Message = (*fastReflection_EventPermission)(nil) +var _ protoreflect.Message = (*fastReflection_EventTime)(nil) -type fastReflection_EventPermission EventPermission +type fastReflection_EventTime EventTime -func (x *EventPermission) ProtoReflect() protoreflect.Message { - return (*fastReflection_EventPermission)(x) +func (x *EventTime) ProtoReflect() protoreflect.Message { + return (*fastReflection_EventTime)(x) } -func (x *EventPermission) slowProtoReflect() protoreflect.Message { +func (x *EventTime) slowProtoReflect() protoreflect.Message { mi := &file_structs_structs_events_proto_msgTypes[15] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -6620,43 +6572,43 @@ func (x *EventPermission) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_EventPermission_messageType fastReflection_EventPermission_messageType -var _ protoreflect.MessageType = fastReflection_EventPermission_messageType{} +var _fastReflection_EventTime_messageType fastReflection_EventTime_messageType +var _ protoreflect.MessageType = fastReflection_EventTime_messageType{} -type fastReflection_EventPermission_messageType struct{} +type fastReflection_EventTime_messageType struct{} -func (x fastReflection_EventPermission_messageType) Zero() protoreflect.Message { - return (*fastReflection_EventPermission)(nil) +func (x fastReflection_EventTime_messageType) Zero() protoreflect.Message { + return (*fastReflection_EventTime)(nil) } -func (x fastReflection_EventPermission_messageType) New() protoreflect.Message { - return new(fastReflection_EventPermission) +func (x fastReflection_EventTime_messageType) New() protoreflect.Message { + return new(fastReflection_EventTime) } -func (x fastReflection_EventPermission_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_EventPermission +func (x fastReflection_EventTime_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_EventTime } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_EventPermission) Descriptor() protoreflect.MessageDescriptor { - return md_EventPermission +func (x *fastReflection_EventTime) Descriptor() protoreflect.MessageDescriptor { + return md_EventTime } // 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_EventPermission) Type() protoreflect.MessageType { - return _fastReflection_EventPermission_messageType +func (x *fastReflection_EventTime) Type() protoreflect.MessageType { + return _fastReflection_EventTime_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_EventPermission) New() protoreflect.Message { - return new(fastReflection_EventPermission) +func (x *fastReflection_EventTime) New() protoreflect.Message { + return new(fastReflection_EventTime) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_EventPermission) Interface() protoreflect.ProtoMessage { - return (*EventPermission)(x) +func (x *fastReflection_EventTime) Interface() protoreflect.ProtoMessage { + return (*EventTime)(x) } // Range iterates over every populated field in an undefined order, @@ -6664,10 +6616,10 @@ func (x *fastReflection_EventPermission) Interface() protoreflect.ProtoMessage { // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_EventPermission) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.PermissionRecord != nil { - value := protoreflect.ValueOfMessage(x.PermissionRecord.ProtoReflect()) - if !f(fd_EventPermission_permissionRecord, value) { +func (x *fastReflection_EventTime) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.EventTimeDetail != nil { + value := protoreflect.ValueOfMessage(x.EventTimeDetail.ProtoReflect()) + if !f(fd_EventTime_eventTimeDetail, value) { return } } @@ -6684,15 +6636,15 @@ func (x *fastReflection_EventPermission) Range(f func(protoreflect.FieldDescript // 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_EventPermission) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_EventTime) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.EventPermission.permissionRecord": - return x.PermissionRecord != nil + case "structs.structs.EventTime.eventTimeDetail": + return x.EventTimeDetail != nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventPermission")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventTime")) } - panic(fmt.Errorf("message structs.structs.EventPermission does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventTime does not contain field %s", fd.FullName())) } } @@ -6702,15 +6654,15 @@ func (x *fastReflection_EventPermission) Has(fd protoreflect.FieldDescriptor) bo // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventPermission) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_EventTime) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.EventPermission.permissionRecord": - x.PermissionRecord = nil + case "structs.structs.EventTime.eventTimeDetail": + x.EventTimeDetail = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventPermission")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventTime")) } - panic(fmt.Errorf("message structs.structs.EventPermission does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventTime does not contain field %s", fd.FullName())) } } @@ -6720,16 +6672,16 @@ func (x *fastReflection_EventPermission) Clear(fd protoreflect.FieldDescriptor) // 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_EventPermission) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_EventTime) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.EventPermission.permissionRecord": - value := x.PermissionRecord + case "structs.structs.EventTime.eventTimeDetail": + value := x.EventTimeDetail return protoreflect.ValueOfMessage(value.ProtoReflect()) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventPermission")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventTime")) } - panic(fmt.Errorf("message structs.structs.EventPermission does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.EventTime does not contain field %s", descriptor.FullName())) } } @@ -6743,15 +6695,15 @@ func (x *fastReflection_EventPermission) Get(descriptor protoreflect.FieldDescri // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventPermission) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_EventTime) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.EventPermission.permissionRecord": - x.PermissionRecord = value.Message().Interface().(*PermissionRecord) + case "structs.structs.EventTime.eventTimeDetail": + x.EventTimeDetail = value.Message().Interface().(*EventTimeDetail) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventPermission")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventTime")) } - panic(fmt.Errorf("message structs.structs.EventPermission does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventTime does not contain field %s", fd.FullName())) } } @@ -6765,44 +6717,44 @@ func (x *fastReflection_EventPermission) Set(fd protoreflect.FieldDescriptor, va // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventPermission) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_EventTime) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.EventPermission.permissionRecord": - if x.PermissionRecord == nil { - x.PermissionRecord = new(PermissionRecord) + case "structs.structs.EventTime.eventTimeDetail": + if x.EventTimeDetail == nil { + x.EventTimeDetail = new(EventTimeDetail) } - return protoreflect.ValueOfMessage(x.PermissionRecord.ProtoReflect()) + return protoreflect.ValueOfMessage(x.EventTimeDetail.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventPermission")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventTime")) } - panic(fmt.Errorf("message structs.structs.EventPermission does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventTime 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_EventPermission) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_EventTime) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.EventPermission.permissionRecord": - m := new(PermissionRecord) + case "structs.structs.EventTime.eventTimeDetail": + m := new(EventTimeDetail) return protoreflect.ValueOfMessage(m.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventPermission")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventTime")) } - panic(fmt.Errorf("message structs.structs.EventPermission does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventTime 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_EventPermission) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_EventTime) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.EventPermission", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.EventTime", d.FullName())) } panic("unreachable") } @@ -6810,7 +6762,7 @@ func (x *fastReflection_EventPermission) WhichOneof(d protoreflect.OneofDescript // 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_EventPermission) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_EventTime) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -6821,7 +6773,7 @@ func (x *fastReflection_EventPermission) GetUnknown() protoreflect.RawFields { // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventPermission) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_EventTime) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -6833,7 +6785,7 @@ func (x *fastReflection_EventPermission) SetUnknown(fields protoreflect.RawField // 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_EventPermission) IsValid() bool { +func (x *fastReflection_EventTime) IsValid() bool { return x != nil } @@ -6843,9 +6795,9 @@ func (x *fastReflection_EventPermission) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_EventPermission) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_EventTime) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*EventPermission) + x := input.Message.Interface().(*EventTime) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -6857,8 +6809,8 @@ func (x *fastReflection_EventPermission) ProtoMethods() *protoiface.Methods { var n int var l int _ = l - if x.PermissionRecord != nil { - l = options.Size(x.PermissionRecord) + if x.EventTimeDetail != nil { + l = options.Size(x.EventTimeDetail) n += 1 + l + runtime.Sov(uint64(l)) } if x.unknownFields != nil { @@ -6871,7 +6823,7 @@ func (x *fastReflection_EventPermission) ProtoMethods() *protoiface.Methods { } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*EventPermission) + x := input.Message.Interface().(*EventTime) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -6890,8 +6842,8 @@ func (x *fastReflection_EventPermission) ProtoMethods() *protoiface.Methods { i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if x.PermissionRecord != nil { - encoded, err := options.Marshal(x.PermissionRecord) + if x.EventTimeDetail != nil { + encoded, err := options.Marshal(x.EventTimeDetail) if err != nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -6915,7 +6867,7 @@ func (x *fastReflection_EventPermission) ProtoMethods() *protoiface.Methods { }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*EventPermission) + x := input.Message.Interface().(*EventTime) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -6947,15 +6899,15 @@ func (x *fastReflection_EventPermission) ProtoMethods() *protoiface.Methods { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventPermission: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventTime: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventPermission: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventTime: 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 PermissionRecord", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field EventTimeDetail", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -6982,10 +6934,10 @@ func (x *fastReflection_EventPermission) ProtoMethods() *protoiface.Methods { if postIndex > l { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - if x.PermissionRecord == nil { - x.PermissionRecord = &PermissionRecord{} + if x.EventTimeDetail == nil { + x.EventTimeDetail = &EventTimeDetail{} } - if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.PermissionRecord); err != nil { + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.EventTimeDetail); err != nil { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err } iNdEx = postIndex @@ -7025,25 +6977,27 @@ func (x *fastReflection_EventPermission) ProtoMethods() *protoiface.Methods { } var ( - md_EventGrid protoreflect.MessageDescriptor - fd_EventGrid_gridRecord protoreflect.FieldDescriptor + md_EventTimeDetail protoreflect.MessageDescriptor + fd_EventTimeDetail_blockHeight protoreflect.FieldDescriptor + fd_EventTimeDetail_blockTime protoreflect.FieldDescriptor ) func init() { file_structs_structs_events_proto_init() - md_EventGrid = File_structs_structs_events_proto.Messages().ByName("EventGrid") - fd_EventGrid_gridRecord = md_EventGrid.Fields().ByName("gridRecord") + md_EventTimeDetail = File_structs_structs_events_proto.Messages().ByName("EventTimeDetail") + fd_EventTimeDetail_blockHeight = md_EventTimeDetail.Fields().ByName("blockHeight") + fd_EventTimeDetail_blockTime = md_EventTimeDetail.Fields().ByName("blockTime") } -var _ protoreflect.Message = (*fastReflection_EventGrid)(nil) +var _ protoreflect.Message = (*fastReflection_EventTimeDetail)(nil) -type fastReflection_EventGrid EventGrid +type fastReflection_EventTimeDetail EventTimeDetail -func (x *EventGrid) ProtoReflect() protoreflect.Message { - return (*fastReflection_EventGrid)(x) +func (x *EventTimeDetail) ProtoReflect() protoreflect.Message { + return (*fastReflection_EventTimeDetail)(x) } -func (x *EventGrid) slowProtoReflect() protoreflect.Message { +func (x *EventTimeDetail) slowProtoReflect() protoreflect.Message { mi := &file_structs_structs_events_proto_msgTypes[16] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -7055,43 +7009,43 @@ func (x *EventGrid) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_EventGrid_messageType fastReflection_EventGrid_messageType -var _ protoreflect.MessageType = fastReflection_EventGrid_messageType{} +var _fastReflection_EventTimeDetail_messageType fastReflection_EventTimeDetail_messageType +var _ protoreflect.MessageType = fastReflection_EventTimeDetail_messageType{} -type fastReflection_EventGrid_messageType struct{} +type fastReflection_EventTimeDetail_messageType struct{} -func (x fastReflection_EventGrid_messageType) Zero() protoreflect.Message { - return (*fastReflection_EventGrid)(nil) +func (x fastReflection_EventTimeDetail_messageType) Zero() protoreflect.Message { + return (*fastReflection_EventTimeDetail)(nil) } -func (x fastReflection_EventGrid_messageType) New() protoreflect.Message { - return new(fastReflection_EventGrid) +func (x fastReflection_EventTimeDetail_messageType) New() protoreflect.Message { + return new(fastReflection_EventTimeDetail) } -func (x fastReflection_EventGrid_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_EventGrid +func (x fastReflection_EventTimeDetail_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_EventTimeDetail } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_EventGrid) Descriptor() protoreflect.MessageDescriptor { - return md_EventGrid +func (x *fastReflection_EventTimeDetail) Descriptor() protoreflect.MessageDescriptor { + return md_EventTimeDetail } // 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_EventGrid) Type() protoreflect.MessageType { - return _fastReflection_EventGrid_messageType +func (x *fastReflection_EventTimeDetail) Type() protoreflect.MessageType { + return _fastReflection_EventTimeDetail_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_EventGrid) New() protoreflect.Message { - return new(fastReflection_EventGrid) +func (x *fastReflection_EventTimeDetail) New() protoreflect.Message { + return new(fastReflection_EventTimeDetail) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_EventGrid) Interface() protoreflect.ProtoMessage { - return (*EventGrid)(x) +func (x *fastReflection_EventTimeDetail) Interface() protoreflect.ProtoMessage { + return (*EventTimeDetail)(x) } // Range iterates over every populated field in an undefined order, @@ -7099,10 +7053,16 @@ func (x *fastReflection_EventGrid) Interface() protoreflect.ProtoMessage { // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_EventGrid) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.GridRecord != nil { - value := protoreflect.ValueOfMessage(x.GridRecord.ProtoReflect()) - if !f(fd_EventGrid_gridRecord, value) { +func (x *fastReflection_EventTimeDetail) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.BlockHeight != int64(0) { + value := protoreflect.ValueOfInt64(x.BlockHeight) + if !f(fd_EventTimeDetail_blockHeight, value) { + return + } + } + if x.BlockTime != nil { + value := protoreflect.ValueOfMessage(x.BlockTime.ProtoReflect()) + if !f(fd_EventTimeDetail_blockTime, value) { return } } @@ -7119,15 +7079,17 @@ func (x *fastReflection_EventGrid) Range(f func(protoreflect.FieldDescriptor, pr // 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_EventGrid) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_EventTimeDetail) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.EventGrid.gridRecord": - return x.GridRecord != nil + case "structs.structs.EventTimeDetail.blockHeight": + return x.BlockHeight != int64(0) + case "structs.structs.EventTimeDetail.blockTime": + return x.BlockTime != nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventGrid")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventTimeDetail")) } - panic(fmt.Errorf("message structs.structs.EventGrid does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventTimeDetail does not contain field %s", fd.FullName())) } } @@ -7137,15 +7099,17 @@ func (x *fastReflection_EventGrid) Has(fd protoreflect.FieldDescriptor) bool { // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventGrid) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_EventTimeDetail) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.EventGrid.gridRecord": - x.GridRecord = nil + case "structs.structs.EventTimeDetail.blockHeight": + x.BlockHeight = int64(0) + case "structs.structs.EventTimeDetail.blockTime": + x.BlockTime = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventGrid")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventTimeDetail")) } - panic(fmt.Errorf("message structs.structs.EventGrid does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventTimeDetail does not contain field %s", fd.FullName())) } } @@ -7155,16 +7119,19 @@ func (x *fastReflection_EventGrid) Clear(fd protoreflect.FieldDescriptor) { // 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_EventGrid) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_EventTimeDetail) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.EventGrid.gridRecord": - value := x.GridRecord + case "structs.structs.EventTimeDetail.blockHeight": + value := x.BlockHeight + return protoreflect.ValueOfInt64(value) + case "structs.structs.EventTimeDetail.blockTime": + value := x.BlockTime return protoreflect.ValueOfMessage(value.ProtoReflect()) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventGrid")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventTimeDetail")) } - panic(fmt.Errorf("message structs.structs.EventGrid does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.EventTimeDetail does not contain field %s", descriptor.FullName())) } } @@ -7178,15 +7145,17 @@ func (x *fastReflection_EventGrid) Get(descriptor protoreflect.FieldDescriptor) // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventGrid) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_EventTimeDetail) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.EventGrid.gridRecord": - x.GridRecord = value.Message().Interface().(*GridRecord) + case "structs.structs.EventTimeDetail.blockHeight": + x.BlockHeight = value.Int() + case "structs.structs.EventTimeDetail.blockTime": + x.BlockTime = value.Message().Interface().(*timestamppb.Timestamp) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventGrid")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventTimeDetail")) } - panic(fmt.Errorf("message structs.structs.EventGrid does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventTimeDetail does not contain field %s", fd.FullName())) } } @@ -7200,44 +7169,48 @@ func (x *fastReflection_EventGrid) Set(fd protoreflect.FieldDescriptor, value pr // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventGrid) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_EventTimeDetail) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.EventGrid.gridRecord": - if x.GridRecord == nil { - x.GridRecord = new(GridRecord) + case "structs.structs.EventTimeDetail.blockTime": + if x.BlockTime == nil { + x.BlockTime = new(timestamppb.Timestamp) } - return protoreflect.ValueOfMessage(x.GridRecord.ProtoReflect()) + return protoreflect.ValueOfMessage(x.BlockTime.ProtoReflect()) + case "structs.structs.EventTimeDetail.blockHeight": + panic(fmt.Errorf("field blockHeight of message structs.structs.EventTimeDetail is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventGrid")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventTimeDetail")) } - panic(fmt.Errorf("message structs.structs.EventGrid does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventTimeDetail 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_EventGrid) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_EventTimeDetail) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.EventGrid.gridRecord": - m := new(GridRecord) + case "structs.structs.EventTimeDetail.blockHeight": + return protoreflect.ValueOfInt64(int64(0)) + case "structs.structs.EventTimeDetail.blockTime": + m := new(timestamppb.Timestamp) return protoreflect.ValueOfMessage(m.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventGrid")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventTimeDetail")) } - panic(fmt.Errorf("message structs.structs.EventGrid does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventTimeDetail 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_EventGrid) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_EventTimeDetail) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.EventGrid", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.EventTimeDetail", d.FullName())) } panic("unreachable") } @@ -7245,7 +7218,7 @@ func (x *fastReflection_EventGrid) WhichOneof(d protoreflect.OneofDescriptor) pr // 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_EventGrid) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_EventTimeDetail) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -7256,7 +7229,7 @@ func (x *fastReflection_EventGrid) GetUnknown() protoreflect.RawFields { // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventGrid) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_EventTimeDetail) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -7268,7 +7241,7 @@ func (x *fastReflection_EventGrid) SetUnknown(fields protoreflect.RawFields) { // 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_EventGrid) IsValid() bool { +func (x *fastReflection_EventTimeDetail) IsValid() bool { return x != nil } @@ -7278,9 +7251,9 @@ func (x *fastReflection_EventGrid) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_EventGrid) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_EventTimeDetail) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*EventGrid) + x := input.Message.Interface().(*EventTimeDetail) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -7292,8 +7265,11 @@ func (x *fastReflection_EventGrid) ProtoMethods() *protoiface.Methods { var n int var l int _ = l - if x.GridRecord != nil { - l = options.Size(x.GridRecord) + if x.BlockHeight != 0 { + n += 1 + runtime.Sov(uint64(x.BlockHeight)) + } + if x.BlockTime != nil { + l = options.Size(x.BlockTime) n += 1 + l + runtime.Sov(uint64(l)) } if x.unknownFields != nil { @@ -7306,7 +7282,7 @@ func (x *fastReflection_EventGrid) ProtoMethods() *protoiface.Methods { } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*EventGrid) + x := input.Message.Interface().(*EventTimeDetail) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -7325,8 +7301,8 @@ func (x *fastReflection_EventGrid) ProtoMethods() *protoiface.Methods { i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if x.GridRecord != nil { - encoded, err := options.Marshal(x.GridRecord) + if x.BlockTime != nil { + encoded, err := options.Marshal(x.BlockTime) if err != nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -7337,7 +7313,12 @@ func (x *fastReflection_EventGrid) ProtoMethods() *protoiface.Methods { copy(dAtA[i:], encoded) i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) i-- - dAtA[i] = 0xa + dAtA[i] = 0x12 + } + if x.BlockHeight != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.BlockHeight)) + i-- + dAtA[i] = 0x8 } if input.Buf != nil { input.Buf = append(input.Buf, dAtA...) @@ -7350,7 +7331,7 @@ func (x *fastReflection_EventGrid) ProtoMethods() *protoiface.Methods { }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*EventGrid) + x := input.Message.Interface().(*EventTimeDetail) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -7382,15 +7363,34 @@ func (x *fastReflection_EventGrid) ProtoMethods() *protoiface.Methods { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventGrid: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventTimeDetail: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventGrid: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventTimeDetail: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field BlockHeight", wireType) + } + x.BlockHeight = 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.BlockHeight |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field GridRecord", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field BlockTime", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -7417,10 +7417,10 @@ func (x *fastReflection_EventGrid) ProtoMethods() *protoiface.Methods { if postIndex > l { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - if x.GridRecord == nil { - x.GridRecord = &GridRecord{} + if x.BlockTime == nil { + x.BlockTime = ×tamppb.Timestamp{} } - if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.GridRecord); err != nil { + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.BlockTime); err != nil { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err } iNdEx = postIndex @@ -7460,25 +7460,25 @@ func (x *fastReflection_EventGrid) ProtoMethods() *protoiface.Methods { } var ( - md_EventDelete protoreflect.MessageDescriptor - fd_EventDelete_objectId protoreflect.FieldDescriptor + md_EventPermission protoreflect.MessageDescriptor + fd_EventPermission_permissionRecord protoreflect.FieldDescriptor ) func init() { file_structs_structs_events_proto_init() - md_EventDelete = File_structs_structs_events_proto.Messages().ByName("EventDelete") - fd_EventDelete_objectId = md_EventDelete.Fields().ByName("objectId") + md_EventPermission = File_structs_structs_events_proto.Messages().ByName("EventPermission") + fd_EventPermission_permissionRecord = md_EventPermission.Fields().ByName("permissionRecord") } -var _ protoreflect.Message = (*fastReflection_EventDelete)(nil) +var _ protoreflect.Message = (*fastReflection_EventPermission)(nil) -type fastReflection_EventDelete EventDelete +type fastReflection_EventPermission EventPermission -func (x *EventDelete) ProtoReflect() protoreflect.Message { - return (*fastReflection_EventDelete)(x) +func (x *EventPermission) ProtoReflect() protoreflect.Message { + return (*fastReflection_EventPermission)(x) } -func (x *EventDelete) slowProtoReflect() protoreflect.Message { +func (x *EventPermission) slowProtoReflect() protoreflect.Message { mi := &file_structs_structs_events_proto_msgTypes[17] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -7490,43 +7490,43 @@ func (x *EventDelete) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_EventDelete_messageType fastReflection_EventDelete_messageType -var _ protoreflect.MessageType = fastReflection_EventDelete_messageType{} +var _fastReflection_EventPermission_messageType fastReflection_EventPermission_messageType +var _ protoreflect.MessageType = fastReflection_EventPermission_messageType{} -type fastReflection_EventDelete_messageType struct{} +type fastReflection_EventPermission_messageType struct{} -func (x fastReflection_EventDelete_messageType) Zero() protoreflect.Message { - return (*fastReflection_EventDelete)(nil) +func (x fastReflection_EventPermission_messageType) Zero() protoreflect.Message { + return (*fastReflection_EventPermission)(nil) } -func (x fastReflection_EventDelete_messageType) New() protoreflect.Message { - return new(fastReflection_EventDelete) +func (x fastReflection_EventPermission_messageType) New() protoreflect.Message { + return new(fastReflection_EventPermission) } -func (x fastReflection_EventDelete_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_EventDelete +func (x fastReflection_EventPermission_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_EventPermission } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_EventDelete) Descriptor() protoreflect.MessageDescriptor { - return md_EventDelete +func (x *fastReflection_EventPermission) Descriptor() protoreflect.MessageDescriptor { + return md_EventPermission } // 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_EventDelete) Type() protoreflect.MessageType { - return _fastReflection_EventDelete_messageType +func (x *fastReflection_EventPermission) Type() protoreflect.MessageType { + return _fastReflection_EventPermission_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_EventDelete) New() protoreflect.Message { - return new(fastReflection_EventDelete) +func (x *fastReflection_EventPermission) New() protoreflect.Message { + return new(fastReflection_EventPermission) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_EventDelete) Interface() protoreflect.ProtoMessage { - return (*EventDelete)(x) +func (x *fastReflection_EventPermission) Interface() protoreflect.ProtoMessage { + return (*EventPermission)(x) } // Range iterates over every populated field in an undefined order, @@ -7534,10 +7534,10 @@ func (x *fastReflection_EventDelete) Interface() protoreflect.ProtoMessage { // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_EventDelete) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.ObjectId != "" { - value := protoreflect.ValueOfString(x.ObjectId) - if !f(fd_EventDelete_objectId, value) { +func (x *fastReflection_EventPermission) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.PermissionRecord != nil { + value := protoreflect.ValueOfMessage(x.PermissionRecord.ProtoReflect()) + if !f(fd_EventPermission_permissionRecord, value) { return } } @@ -7554,15 +7554,15 @@ func (x *fastReflection_EventDelete) Range(f func(protoreflect.FieldDescriptor, // 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_EventDelete) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_EventPermission) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.EventDelete.objectId": - return x.ObjectId != "" + case "structs.structs.EventPermission.permissionRecord": + return x.PermissionRecord != nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventDelete")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventPermission")) } - panic(fmt.Errorf("message structs.structs.EventDelete does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventPermission does not contain field %s", fd.FullName())) } } @@ -7572,15 +7572,15 @@ func (x *fastReflection_EventDelete) Has(fd protoreflect.FieldDescriptor) bool { // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventDelete) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_EventPermission) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.EventDelete.objectId": - x.ObjectId = "" + case "structs.structs.EventPermission.permissionRecord": + x.PermissionRecord = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventDelete")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventPermission")) } - panic(fmt.Errorf("message structs.structs.EventDelete does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventPermission does not contain field %s", fd.FullName())) } } @@ -7590,16 +7590,16 @@ func (x *fastReflection_EventDelete) Clear(fd protoreflect.FieldDescriptor) { // 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_EventDelete) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_EventPermission) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.EventDelete.objectId": - value := x.ObjectId - return protoreflect.ValueOfString(value) + case "structs.structs.EventPermission.permissionRecord": + value := x.PermissionRecord + return protoreflect.ValueOfMessage(value.ProtoReflect()) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventDelete")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventPermission")) } - panic(fmt.Errorf("message structs.structs.EventDelete does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.EventPermission does not contain field %s", descriptor.FullName())) } } @@ -7613,15 +7613,15 @@ func (x *fastReflection_EventDelete) Get(descriptor protoreflect.FieldDescriptor // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventDelete) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_EventPermission) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.EventDelete.objectId": - x.ObjectId = value.Interface().(string) + case "structs.structs.EventPermission.permissionRecord": + x.PermissionRecord = value.Message().Interface().(*PermissionRecord) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventDelete")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventPermission")) } - panic(fmt.Errorf("message structs.structs.EventDelete does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventPermission does not contain field %s", fd.FullName())) } } @@ -7635,40 +7635,44 @@ func (x *fastReflection_EventDelete) Set(fd protoreflect.FieldDescriptor, value // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventDelete) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_EventPermission) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.EventDelete.objectId": - panic(fmt.Errorf("field objectId of message structs.structs.EventDelete is not mutable")) + case "structs.structs.EventPermission.permissionRecord": + if x.PermissionRecord == nil { + x.PermissionRecord = new(PermissionRecord) + } + return protoreflect.ValueOfMessage(x.PermissionRecord.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventDelete")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventPermission")) } - panic(fmt.Errorf("message structs.structs.EventDelete does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventPermission 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_EventDelete) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_EventPermission) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.EventDelete.objectId": - return protoreflect.ValueOfString("") + case "structs.structs.EventPermission.permissionRecord": + m := new(PermissionRecord) + return protoreflect.ValueOfMessage(m.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventDelete")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventPermission")) } - panic(fmt.Errorf("message structs.structs.EventDelete does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventPermission 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_EventDelete) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_EventPermission) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.EventDelete", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.EventPermission", d.FullName())) } panic("unreachable") } @@ -7676,7 +7680,7 @@ func (x *fastReflection_EventDelete) WhichOneof(d protoreflect.OneofDescriptor) // 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_EventDelete) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_EventPermission) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -7687,7 +7691,7 @@ func (x *fastReflection_EventDelete) GetUnknown() protoreflect.RawFields { // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventDelete) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_EventPermission) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -7699,7 +7703,7 @@ func (x *fastReflection_EventDelete) SetUnknown(fields protoreflect.RawFields) { // 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_EventDelete) IsValid() bool { +func (x *fastReflection_EventPermission) IsValid() bool { return x != nil } @@ -7709,9 +7713,9 @@ func (x *fastReflection_EventDelete) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_EventDelete) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_EventPermission) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*EventDelete) + x := input.Message.Interface().(*EventPermission) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -7723,8 +7727,8 @@ func (x *fastReflection_EventDelete) ProtoMethods() *protoiface.Methods { var n int var l int _ = l - l = len(x.ObjectId) - if l > 0 { + if x.PermissionRecord != nil { + l = options.Size(x.PermissionRecord) n += 1 + l + runtime.Sov(uint64(l)) } if x.unknownFields != nil { @@ -7737,7 +7741,7 @@ func (x *fastReflection_EventDelete) ProtoMethods() *protoiface.Methods { } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*EventDelete) + x := input.Message.Interface().(*EventPermission) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -7756,10 +7760,17 @@ func (x *fastReflection_EventDelete) ProtoMethods() *protoiface.Methods { i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if len(x.ObjectId) > 0 { - i -= len(x.ObjectId) - copy(dAtA[i:], x.ObjectId) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.ObjectId))) + if x.PermissionRecord != nil { + encoded, err := options.Marshal(x.PermissionRecord) + 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 } @@ -7774,7 +7785,7 @@ func (x *fastReflection_EventDelete) ProtoMethods() *protoiface.Methods { }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*EventDelete) + x := input.Message.Interface().(*EventPermission) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -7806,17 +7817,17 @@ func (x *fastReflection_EventDelete) ProtoMethods() *protoiface.Methods { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventDelete: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventPermission: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventDelete: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventPermission: 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 ObjectId", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field PermissionRecord", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -7826,23 +7837,27 @@ func (x *fastReflection_EventDelete) ProtoMethods() *protoiface.Methods { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength } - postIndex := iNdEx + intStringLen + 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 } - x.ObjectId = string(dAtA[iNdEx:postIndex]) + if x.PermissionRecord == nil { + x.PermissionRecord = &PermissionRecord{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.PermissionRecord); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } iNdEx = postIndex default: iNdEx = preIndex @@ -7880,25 +7895,25 @@ func (x *fastReflection_EventDelete) ProtoMethods() *protoiface.Methods { } var ( - md_EventAddressAssociation protoreflect.MessageDescriptor - fd_EventAddressAssociation_addressAssociation protoreflect.FieldDescriptor + md_EventGrid protoreflect.MessageDescriptor + fd_EventGrid_gridRecord protoreflect.FieldDescriptor ) func init() { file_structs_structs_events_proto_init() - md_EventAddressAssociation = File_structs_structs_events_proto.Messages().ByName("EventAddressAssociation") - fd_EventAddressAssociation_addressAssociation = md_EventAddressAssociation.Fields().ByName("addressAssociation") + md_EventGrid = File_structs_structs_events_proto.Messages().ByName("EventGrid") + fd_EventGrid_gridRecord = md_EventGrid.Fields().ByName("gridRecord") } -var _ protoreflect.Message = (*fastReflection_EventAddressAssociation)(nil) +var _ protoreflect.Message = (*fastReflection_EventGrid)(nil) -type fastReflection_EventAddressAssociation EventAddressAssociation +type fastReflection_EventGrid EventGrid -func (x *EventAddressAssociation) ProtoReflect() protoreflect.Message { - return (*fastReflection_EventAddressAssociation)(x) +func (x *EventGrid) ProtoReflect() protoreflect.Message { + return (*fastReflection_EventGrid)(x) } -func (x *EventAddressAssociation) slowProtoReflect() protoreflect.Message { +func (x *EventGrid) slowProtoReflect() protoreflect.Message { mi := &file_structs_structs_events_proto_msgTypes[18] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -7910,43 +7925,43 @@ func (x *EventAddressAssociation) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_EventAddressAssociation_messageType fastReflection_EventAddressAssociation_messageType -var _ protoreflect.MessageType = fastReflection_EventAddressAssociation_messageType{} +var _fastReflection_EventGrid_messageType fastReflection_EventGrid_messageType +var _ protoreflect.MessageType = fastReflection_EventGrid_messageType{} -type fastReflection_EventAddressAssociation_messageType struct{} +type fastReflection_EventGrid_messageType struct{} -func (x fastReflection_EventAddressAssociation_messageType) Zero() protoreflect.Message { - return (*fastReflection_EventAddressAssociation)(nil) +func (x fastReflection_EventGrid_messageType) Zero() protoreflect.Message { + return (*fastReflection_EventGrid)(nil) } -func (x fastReflection_EventAddressAssociation_messageType) New() protoreflect.Message { - return new(fastReflection_EventAddressAssociation) +func (x fastReflection_EventGrid_messageType) New() protoreflect.Message { + return new(fastReflection_EventGrid) } -func (x fastReflection_EventAddressAssociation_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_EventAddressAssociation +func (x fastReflection_EventGrid_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_EventGrid } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_EventAddressAssociation) Descriptor() protoreflect.MessageDescriptor { - return md_EventAddressAssociation +func (x *fastReflection_EventGrid) Descriptor() protoreflect.MessageDescriptor { + return md_EventGrid } // 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_EventAddressAssociation) Type() protoreflect.MessageType { - return _fastReflection_EventAddressAssociation_messageType +func (x *fastReflection_EventGrid) Type() protoreflect.MessageType { + return _fastReflection_EventGrid_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_EventAddressAssociation) New() protoreflect.Message { - return new(fastReflection_EventAddressAssociation) +func (x *fastReflection_EventGrid) New() protoreflect.Message { + return new(fastReflection_EventGrid) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_EventAddressAssociation) Interface() protoreflect.ProtoMessage { - return (*EventAddressAssociation)(x) +func (x *fastReflection_EventGrid) Interface() protoreflect.ProtoMessage { + return (*EventGrid)(x) } // Range iterates over every populated field in an undefined order, @@ -7954,10 +7969,10 @@ func (x *fastReflection_EventAddressAssociation) Interface() protoreflect.ProtoM // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_EventAddressAssociation) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.AddressAssociation != nil { - value := protoreflect.ValueOfMessage(x.AddressAssociation.ProtoReflect()) - if !f(fd_EventAddressAssociation_addressAssociation, value) { +func (x *fastReflection_EventGrid) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.GridRecord != nil { + value := protoreflect.ValueOfMessage(x.GridRecord.ProtoReflect()) + if !f(fd_EventGrid_gridRecord, value) { return } } @@ -7974,15 +7989,15 @@ func (x *fastReflection_EventAddressAssociation) Range(f func(protoreflect.Field // 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_EventAddressAssociation) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_EventGrid) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.EventAddressAssociation.addressAssociation": - return x.AddressAssociation != nil + case "structs.structs.EventGrid.gridRecord": + return x.GridRecord != nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAddressAssociation")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventGrid")) } - panic(fmt.Errorf("message structs.structs.EventAddressAssociation does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventGrid does not contain field %s", fd.FullName())) } } @@ -7992,15 +8007,15 @@ func (x *fastReflection_EventAddressAssociation) Has(fd protoreflect.FieldDescri // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventAddressAssociation) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_EventGrid) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.EventAddressAssociation.addressAssociation": - x.AddressAssociation = nil + case "structs.structs.EventGrid.gridRecord": + x.GridRecord = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAddressAssociation")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventGrid")) } - panic(fmt.Errorf("message structs.structs.EventAddressAssociation does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventGrid does not contain field %s", fd.FullName())) } } @@ -8010,16 +8025,16 @@ func (x *fastReflection_EventAddressAssociation) Clear(fd protoreflect.FieldDesc // 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_EventAddressAssociation) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_EventGrid) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.EventAddressAssociation.addressAssociation": - value := x.AddressAssociation + case "structs.structs.EventGrid.gridRecord": + value := x.GridRecord return protoreflect.ValueOfMessage(value.ProtoReflect()) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAddressAssociation")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventGrid")) } - panic(fmt.Errorf("message structs.structs.EventAddressAssociation does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.EventGrid does not contain field %s", descriptor.FullName())) } } @@ -8033,15 +8048,15 @@ func (x *fastReflection_EventAddressAssociation) Get(descriptor protoreflect.Fie // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventAddressAssociation) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_EventGrid) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.EventAddressAssociation.addressAssociation": - x.AddressAssociation = value.Message().Interface().(*AddressAssociation) + case "structs.structs.EventGrid.gridRecord": + x.GridRecord = value.Message().Interface().(*GridRecord) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAddressAssociation")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventGrid")) } - panic(fmt.Errorf("message structs.structs.EventAddressAssociation does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventGrid does not contain field %s", fd.FullName())) } } @@ -8055,44 +8070,44 @@ func (x *fastReflection_EventAddressAssociation) Set(fd protoreflect.FieldDescri // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventAddressAssociation) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_EventGrid) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.EventAddressAssociation.addressAssociation": - if x.AddressAssociation == nil { - x.AddressAssociation = new(AddressAssociation) + case "structs.structs.EventGrid.gridRecord": + if x.GridRecord == nil { + x.GridRecord = new(GridRecord) } - return protoreflect.ValueOfMessage(x.AddressAssociation.ProtoReflect()) + return protoreflect.ValueOfMessage(x.GridRecord.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAddressAssociation")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventGrid")) } - panic(fmt.Errorf("message structs.structs.EventAddressAssociation does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventGrid 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_EventAddressAssociation) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_EventGrid) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.EventAddressAssociation.addressAssociation": - m := new(AddressAssociation) + case "structs.structs.EventGrid.gridRecord": + m := new(GridRecord) return protoreflect.ValueOfMessage(m.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAddressAssociation")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventGrid")) } - panic(fmt.Errorf("message structs.structs.EventAddressAssociation does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventGrid 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_EventAddressAssociation) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_EventGrid) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.EventAddressAssociation", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.EventGrid", d.FullName())) } panic("unreachable") } @@ -8100,7 +8115,7 @@ func (x *fastReflection_EventAddressAssociation) WhichOneof(d protoreflect.Oneof // 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_EventAddressAssociation) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_EventGrid) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -8111,7 +8126,7 @@ func (x *fastReflection_EventAddressAssociation) GetUnknown() protoreflect.RawFi // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventAddressAssociation) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_EventGrid) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -8123,7 +8138,7 @@ func (x *fastReflection_EventAddressAssociation) SetUnknown(fields protoreflect. // 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_EventAddressAssociation) IsValid() bool { +func (x *fastReflection_EventGrid) IsValid() bool { return x != nil } @@ -8133,9 +8148,9 @@ func (x *fastReflection_EventAddressAssociation) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_EventAddressAssociation) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_EventGrid) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*EventAddressAssociation) + x := input.Message.Interface().(*EventGrid) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -8147,8 +8162,8 @@ func (x *fastReflection_EventAddressAssociation) ProtoMethods() *protoiface.Meth var n int var l int _ = l - if x.AddressAssociation != nil { - l = options.Size(x.AddressAssociation) + if x.GridRecord != nil { + l = options.Size(x.GridRecord) n += 1 + l + runtime.Sov(uint64(l)) } if x.unknownFields != nil { @@ -8161,7 +8176,7 @@ func (x *fastReflection_EventAddressAssociation) ProtoMethods() *protoiface.Meth } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*EventAddressAssociation) + x := input.Message.Interface().(*EventGrid) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -8180,8 +8195,8 @@ func (x *fastReflection_EventAddressAssociation) ProtoMethods() *protoiface.Meth i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if x.AddressAssociation != nil { - encoded, err := options.Marshal(x.AddressAssociation) + if x.GridRecord != nil { + encoded, err := options.Marshal(x.GridRecord) if err != nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -8205,7 +8220,7 @@ func (x *fastReflection_EventAddressAssociation) ProtoMethods() *protoiface.Meth }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*EventAddressAssociation) + x := input.Message.Interface().(*EventGrid) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -8237,15 +8252,15 @@ func (x *fastReflection_EventAddressAssociation) ProtoMethods() *protoiface.Meth fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventAddressAssociation: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventGrid: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventAddressAssociation: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventGrid: 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 AddressAssociation", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field GridRecord", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -8272,10 +8287,10 @@ func (x *fastReflection_EventAddressAssociation) ProtoMethods() *protoiface.Meth if postIndex > l { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - if x.AddressAssociation == nil { - x.AddressAssociation = &AddressAssociation{} + if x.GridRecord == nil { + x.GridRecord = &GridRecord{} } - if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.AddressAssociation); err != nil { + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.GridRecord); err != nil { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err } iNdEx = postIndex @@ -8315,25 +8330,25 @@ func (x *fastReflection_EventAddressAssociation) ProtoMethods() *protoiface.Meth } var ( - md_EventAddressActivity protoreflect.MessageDescriptor - fd_EventAddressActivity_addressActivity protoreflect.FieldDescriptor + md_EventProviderGrantGuild protoreflect.MessageDescriptor + fd_EventProviderGrantGuild_eventProviderGrantGuildDetail protoreflect.FieldDescriptor ) func init() { file_structs_structs_events_proto_init() - md_EventAddressActivity = File_structs_structs_events_proto.Messages().ByName("EventAddressActivity") - fd_EventAddressActivity_addressActivity = md_EventAddressActivity.Fields().ByName("addressActivity") + md_EventProviderGrantGuild = File_structs_structs_events_proto.Messages().ByName("EventProviderGrantGuild") + fd_EventProviderGrantGuild_eventProviderGrantGuildDetail = md_EventProviderGrantGuild.Fields().ByName("eventProviderGrantGuildDetail") } -var _ protoreflect.Message = (*fastReflection_EventAddressActivity)(nil) +var _ protoreflect.Message = (*fastReflection_EventProviderGrantGuild)(nil) -type fastReflection_EventAddressActivity EventAddressActivity +type fastReflection_EventProviderGrantGuild EventProviderGrantGuild -func (x *EventAddressActivity) ProtoReflect() protoreflect.Message { - return (*fastReflection_EventAddressActivity)(x) +func (x *EventProviderGrantGuild) ProtoReflect() protoreflect.Message { + return (*fastReflection_EventProviderGrantGuild)(x) } -func (x *EventAddressActivity) slowProtoReflect() protoreflect.Message { +func (x *EventProviderGrantGuild) slowProtoReflect() protoreflect.Message { mi := &file_structs_structs_events_proto_msgTypes[19] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -8345,43 +8360,43 @@ func (x *EventAddressActivity) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_EventAddressActivity_messageType fastReflection_EventAddressActivity_messageType -var _ protoreflect.MessageType = fastReflection_EventAddressActivity_messageType{} +var _fastReflection_EventProviderGrantGuild_messageType fastReflection_EventProviderGrantGuild_messageType +var _ protoreflect.MessageType = fastReflection_EventProviderGrantGuild_messageType{} -type fastReflection_EventAddressActivity_messageType struct{} +type fastReflection_EventProviderGrantGuild_messageType struct{} -func (x fastReflection_EventAddressActivity_messageType) Zero() protoreflect.Message { - return (*fastReflection_EventAddressActivity)(nil) +func (x fastReflection_EventProviderGrantGuild_messageType) Zero() protoreflect.Message { + return (*fastReflection_EventProviderGrantGuild)(nil) } -func (x fastReflection_EventAddressActivity_messageType) New() protoreflect.Message { - return new(fastReflection_EventAddressActivity) +func (x fastReflection_EventProviderGrantGuild_messageType) New() protoreflect.Message { + return new(fastReflection_EventProviderGrantGuild) } -func (x fastReflection_EventAddressActivity_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_EventAddressActivity +func (x fastReflection_EventProviderGrantGuild_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_EventProviderGrantGuild } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_EventAddressActivity) Descriptor() protoreflect.MessageDescriptor { - return md_EventAddressActivity +func (x *fastReflection_EventProviderGrantGuild) Descriptor() protoreflect.MessageDescriptor { + return md_EventProviderGrantGuild } // 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_EventAddressActivity) Type() protoreflect.MessageType { - return _fastReflection_EventAddressActivity_messageType +func (x *fastReflection_EventProviderGrantGuild) Type() protoreflect.MessageType { + return _fastReflection_EventProviderGrantGuild_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_EventAddressActivity) New() protoreflect.Message { - return new(fastReflection_EventAddressActivity) +func (x *fastReflection_EventProviderGrantGuild) New() protoreflect.Message { + return new(fastReflection_EventProviderGrantGuild) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_EventAddressActivity) Interface() protoreflect.ProtoMessage { - return (*EventAddressActivity)(x) +func (x *fastReflection_EventProviderGrantGuild) Interface() protoreflect.ProtoMessage { + return (*EventProviderGrantGuild)(x) } // Range iterates over every populated field in an undefined order, @@ -8389,10 +8404,10 @@ func (x *fastReflection_EventAddressActivity) Interface() protoreflect.ProtoMess // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_EventAddressActivity) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.AddressActivity != nil { - value := protoreflect.ValueOfMessage(x.AddressActivity.ProtoReflect()) - if !f(fd_EventAddressActivity_addressActivity, value) { +func (x *fastReflection_EventProviderGrantGuild) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.EventProviderGrantGuildDetail != nil { + value := protoreflect.ValueOfMessage(x.EventProviderGrantGuildDetail.ProtoReflect()) + if !f(fd_EventProviderGrantGuild_eventProviderGrantGuildDetail, value) { return } } @@ -8409,15 +8424,15 @@ func (x *fastReflection_EventAddressActivity) Range(f func(protoreflect.FieldDes // 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_EventAddressActivity) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_EventProviderGrantGuild) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.EventAddressActivity.addressActivity": - return x.AddressActivity != nil + case "structs.structs.EventProviderGrantGuild.eventProviderGrantGuildDetail": + return x.EventProviderGrantGuildDetail != nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAddressActivity")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventProviderGrantGuild")) } - panic(fmt.Errorf("message structs.structs.EventAddressActivity does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventProviderGrantGuild does not contain field %s", fd.FullName())) } } @@ -8427,15 +8442,15 @@ func (x *fastReflection_EventAddressActivity) Has(fd protoreflect.FieldDescripto // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventAddressActivity) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_EventProviderGrantGuild) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.EventAddressActivity.addressActivity": - x.AddressActivity = nil + case "structs.structs.EventProviderGrantGuild.eventProviderGrantGuildDetail": + x.EventProviderGrantGuildDetail = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAddressActivity")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventProviderGrantGuild")) } - panic(fmt.Errorf("message structs.structs.EventAddressActivity does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventProviderGrantGuild does not contain field %s", fd.FullName())) } } @@ -8445,16 +8460,16 @@ func (x *fastReflection_EventAddressActivity) Clear(fd protoreflect.FieldDescrip // 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_EventAddressActivity) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_EventProviderGrantGuild) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.EventAddressActivity.addressActivity": - value := x.AddressActivity + case "structs.structs.EventProviderGrantGuild.eventProviderGrantGuildDetail": + value := x.EventProviderGrantGuildDetail return protoreflect.ValueOfMessage(value.ProtoReflect()) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAddressActivity")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventProviderGrantGuild")) } - panic(fmt.Errorf("message structs.structs.EventAddressActivity does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.EventProviderGrantGuild does not contain field %s", descriptor.FullName())) } } @@ -8468,15 +8483,15 @@ func (x *fastReflection_EventAddressActivity) Get(descriptor protoreflect.FieldD // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventAddressActivity) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_EventProviderGrantGuild) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.EventAddressActivity.addressActivity": - x.AddressActivity = value.Message().Interface().(*AddressActivity) + case "structs.structs.EventProviderGrantGuild.eventProviderGrantGuildDetail": + x.EventProviderGrantGuildDetail = value.Message().Interface().(*EventProviderGrantGuildDetail) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAddressActivity")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventProviderGrantGuild")) } - panic(fmt.Errorf("message structs.structs.EventAddressActivity does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventProviderGrantGuild does not contain field %s", fd.FullName())) } } @@ -8490,44 +8505,44 @@ func (x *fastReflection_EventAddressActivity) Set(fd protoreflect.FieldDescripto // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventAddressActivity) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_EventProviderGrantGuild) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.EventAddressActivity.addressActivity": - if x.AddressActivity == nil { - x.AddressActivity = new(AddressActivity) + case "structs.structs.EventProviderGrantGuild.eventProviderGrantGuildDetail": + if x.EventProviderGrantGuildDetail == nil { + x.EventProviderGrantGuildDetail = new(EventProviderGrantGuildDetail) } - return protoreflect.ValueOfMessage(x.AddressActivity.ProtoReflect()) + return protoreflect.ValueOfMessage(x.EventProviderGrantGuildDetail.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAddressActivity")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventProviderGrantGuild")) } - panic(fmt.Errorf("message structs.structs.EventAddressActivity does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventProviderGrantGuild 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_EventAddressActivity) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_EventProviderGrantGuild) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.EventAddressActivity.addressActivity": - m := new(AddressActivity) + case "structs.structs.EventProviderGrantGuild.eventProviderGrantGuildDetail": + m := new(EventProviderGrantGuildDetail) return protoreflect.ValueOfMessage(m.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAddressActivity")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventProviderGrantGuild")) } - panic(fmt.Errorf("message structs.structs.EventAddressActivity does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventProviderGrantGuild 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_EventAddressActivity) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_EventProviderGrantGuild) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.EventAddressActivity", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.EventProviderGrantGuild", d.FullName())) } panic("unreachable") } @@ -8535,7 +8550,7 @@ func (x *fastReflection_EventAddressActivity) WhichOneof(d protoreflect.OneofDes // 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_EventAddressActivity) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_EventProviderGrantGuild) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -8546,7 +8561,7 @@ func (x *fastReflection_EventAddressActivity) GetUnknown() protoreflect.RawField // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventAddressActivity) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_EventProviderGrantGuild) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -8558,7 +8573,7 @@ func (x *fastReflection_EventAddressActivity) SetUnknown(fields protoreflect.Raw // 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_EventAddressActivity) IsValid() bool { +func (x *fastReflection_EventProviderGrantGuild) IsValid() bool { return x != nil } @@ -8568,9 +8583,9 @@ func (x *fastReflection_EventAddressActivity) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_EventAddressActivity) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_EventProviderGrantGuild) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*EventAddressActivity) + x := input.Message.Interface().(*EventProviderGrantGuild) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -8582,8 +8597,8 @@ func (x *fastReflection_EventAddressActivity) ProtoMethods() *protoiface.Methods var n int var l int _ = l - if x.AddressActivity != nil { - l = options.Size(x.AddressActivity) + if x.EventProviderGrantGuildDetail != nil { + l = options.Size(x.EventProviderGrantGuildDetail) n += 1 + l + runtime.Sov(uint64(l)) } if x.unknownFields != nil { @@ -8596,7 +8611,7 @@ func (x *fastReflection_EventAddressActivity) ProtoMethods() *protoiface.Methods } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*EventAddressActivity) + x := input.Message.Interface().(*EventProviderGrantGuild) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -8615,8 +8630,8 @@ func (x *fastReflection_EventAddressActivity) ProtoMethods() *protoiface.Methods i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if x.AddressActivity != nil { - encoded, err := options.Marshal(x.AddressActivity) + if x.EventProviderGrantGuildDetail != nil { + encoded, err := options.Marshal(x.EventProviderGrantGuildDetail) if err != nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -8640,7 +8655,7 @@ func (x *fastReflection_EventAddressActivity) ProtoMethods() *protoiface.Methods }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*EventAddressActivity) + x := input.Message.Interface().(*EventProviderGrantGuild) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -8672,15 +8687,15 @@ func (x *fastReflection_EventAddressActivity) ProtoMethods() *protoiface.Methods fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventAddressActivity: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventProviderGrantGuild: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventAddressActivity: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventProviderGrantGuild: 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 AddressActivity", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field EventProviderGrantGuildDetail", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -8707,10 +8722,10 @@ func (x *fastReflection_EventAddressActivity) ProtoMethods() *protoiface.Methods if postIndex > l { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - if x.AddressActivity == nil { - x.AddressActivity = &AddressActivity{} + if x.EventProviderGrantGuildDetail == nil { + x.EventProviderGrantGuildDetail = &EventProviderGrantGuildDetail{} } - if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.AddressActivity); err != nil { + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.EventProviderGrantGuildDetail); err != nil { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err } iNdEx = postIndex @@ -8750,25 +8765,27 @@ func (x *fastReflection_EventAddressActivity) ProtoMethods() *protoiface.Methods } var ( - md_EventGuildMembershipApplication protoreflect.MessageDescriptor - fd_EventGuildMembershipApplication_guildMembershipApplication protoreflect.FieldDescriptor + md_EventProviderGrantGuildDetail protoreflect.MessageDescriptor + fd_EventProviderGrantGuildDetail_providerId protoreflect.FieldDescriptor + fd_EventProviderGrantGuildDetail_guildId protoreflect.FieldDescriptor ) func init() { file_structs_structs_events_proto_init() - md_EventGuildMembershipApplication = File_structs_structs_events_proto.Messages().ByName("EventGuildMembershipApplication") - fd_EventGuildMembershipApplication_guildMembershipApplication = md_EventGuildMembershipApplication.Fields().ByName("guildMembershipApplication") + md_EventProviderGrantGuildDetail = File_structs_structs_events_proto.Messages().ByName("EventProviderGrantGuildDetail") + fd_EventProviderGrantGuildDetail_providerId = md_EventProviderGrantGuildDetail.Fields().ByName("providerId") + fd_EventProviderGrantGuildDetail_guildId = md_EventProviderGrantGuildDetail.Fields().ByName("guildId") } -var _ protoreflect.Message = (*fastReflection_EventGuildMembershipApplication)(nil) +var _ protoreflect.Message = (*fastReflection_EventProviderGrantGuildDetail)(nil) -type fastReflection_EventGuildMembershipApplication EventGuildMembershipApplication +type fastReflection_EventProviderGrantGuildDetail EventProviderGrantGuildDetail -func (x *EventGuildMembershipApplication) ProtoReflect() protoreflect.Message { - return (*fastReflection_EventGuildMembershipApplication)(x) +func (x *EventProviderGrantGuildDetail) ProtoReflect() protoreflect.Message { + return (*fastReflection_EventProviderGrantGuildDetail)(x) } -func (x *EventGuildMembershipApplication) slowProtoReflect() protoreflect.Message { +func (x *EventProviderGrantGuildDetail) slowProtoReflect() protoreflect.Message { mi := &file_structs_structs_events_proto_msgTypes[20] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -8780,43 +8797,43 @@ func (x *EventGuildMembershipApplication) slowProtoReflect() protoreflect.Messag return mi.MessageOf(x) } -var _fastReflection_EventGuildMembershipApplication_messageType fastReflection_EventGuildMembershipApplication_messageType -var _ protoreflect.MessageType = fastReflection_EventGuildMembershipApplication_messageType{} +var _fastReflection_EventProviderGrantGuildDetail_messageType fastReflection_EventProviderGrantGuildDetail_messageType +var _ protoreflect.MessageType = fastReflection_EventProviderGrantGuildDetail_messageType{} -type fastReflection_EventGuildMembershipApplication_messageType struct{} +type fastReflection_EventProviderGrantGuildDetail_messageType struct{} -func (x fastReflection_EventGuildMembershipApplication_messageType) Zero() protoreflect.Message { - return (*fastReflection_EventGuildMembershipApplication)(nil) +func (x fastReflection_EventProviderGrantGuildDetail_messageType) Zero() protoreflect.Message { + return (*fastReflection_EventProviderGrantGuildDetail)(nil) } -func (x fastReflection_EventGuildMembershipApplication_messageType) New() protoreflect.Message { - return new(fastReflection_EventGuildMembershipApplication) +func (x fastReflection_EventProviderGrantGuildDetail_messageType) New() protoreflect.Message { + return new(fastReflection_EventProviderGrantGuildDetail) } -func (x fastReflection_EventGuildMembershipApplication_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_EventGuildMembershipApplication +func (x fastReflection_EventProviderGrantGuildDetail_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_EventProviderGrantGuildDetail } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_EventGuildMembershipApplication) Descriptor() protoreflect.MessageDescriptor { - return md_EventGuildMembershipApplication +func (x *fastReflection_EventProviderGrantGuildDetail) Descriptor() protoreflect.MessageDescriptor { + return md_EventProviderGrantGuildDetail } // 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_EventGuildMembershipApplication) Type() protoreflect.MessageType { - return _fastReflection_EventGuildMembershipApplication_messageType +func (x *fastReflection_EventProviderGrantGuildDetail) Type() protoreflect.MessageType { + return _fastReflection_EventProviderGrantGuildDetail_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_EventGuildMembershipApplication) New() protoreflect.Message { - return new(fastReflection_EventGuildMembershipApplication) +func (x *fastReflection_EventProviderGrantGuildDetail) New() protoreflect.Message { + return new(fastReflection_EventProviderGrantGuildDetail) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_EventGuildMembershipApplication) Interface() protoreflect.ProtoMessage { - return (*EventGuildMembershipApplication)(x) +func (x *fastReflection_EventProviderGrantGuildDetail) Interface() protoreflect.ProtoMessage { + return (*EventProviderGrantGuildDetail)(x) } // Range iterates over every populated field in an undefined order, @@ -8824,10 +8841,16 @@ func (x *fastReflection_EventGuildMembershipApplication) Interface() protoreflec // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_EventGuildMembershipApplication) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.GuildMembershipApplication != nil { - value := protoreflect.ValueOfMessage(x.GuildMembershipApplication.ProtoReflect()) - if !f(fd_EventGuildMembershipApplication_guildMembershipApplication, value) { +func (x *fastReflection_EventProviderGrantGuildDetail) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.ProviderId != "" { + value := protoreflect.ValueOfString(x.ProviderId) + if !f(fd_EventProviderGrantGuildDetail_providerId, value) { + return + } + } + if x.GuildId != "" { + value := protoreflect.ValueOfString(x.GuildId) + if !f(fd_EventProviderGrantGuildDetail_guildId, value) { return } } @@ -8844,15 +8867,17 @@ func (x *fastReflection_EventGuildMembershipApplication) Range(f func(protorefle // 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_EventGuildMembershipApplication) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_EventProviderGrantGuildDetail) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.EventGuildMembershipApplication.guildMembershipApplication": - return x.GuildMembershipApplication != nil + case "structs.structs.EventProviderGrantGuildDetail.providerId": + return x.ProviderId != "" + case "structs.structs.EventProviderGrantGuildDetail.guildId": + return x.GuildId != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventGuildMembershipApplication")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventProviderGrantGuildDetail")) } - panic(fmt.Errorf("message structs.structs.EventGuildMembershipApplication does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventProviderGrantGuildDetail does not contain field %s", fd.FullName())) } } @@ -8862,15 +8887,17 @@ func (x *fastReflection_EventGuildMembershipApplication) Has(fd protoreflect.Fie // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventGuildMembershipApplication) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_EventProviderGrantGuildDetail) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.EventGuildMembershipApplication.guildMembershipApplication": - x.GuildMembershipApplication = nil + case "structs.structs.EventProviderGrantGuildDetail.providerId": + x.ProviderId = "" + case "structs.structs.EventProviderGrantGuildDetail.guildId": + x.GuildId = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventGuildMembershipApplication")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventProviderGrantGuildDetail")) } - panic(fmt.Errorf("message structs.structs.EventGuildMembershipApplication does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventProviderGrantGuildDetail does not contain field %s", fd.FullName())) } } @@ -8880,16 +8907,19 @@ func (x *fastReflection_EventGuildMembershipApplication) Clear(fd protoreflect.F // 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_EventGuildMembershipApplication) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_EventProviderGrantGuildDetail) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.EventGuildMembershipApplication.guildMembershipApplication": - value := x.GuildMembershipApplication - return protoreflect.ValueOfMessage(value.ProtoReflect()) + case "structs.structs.EventProviderGrantGuildDetail.providerId": + value := x.ProviderId + return protoreflect.ValueOfString(value) + case "structs.structs.EventProviderGrantGuildDetail.guildId": + value := x.GuildId + return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventGuildMembershipApplication")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventProviderGrantGuildDetail")) } - panic(fmt.Errorf("message structs.structs.EventGuildMembershipApplication does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.EventProviderGrantGuildDetail does not contain field %s", descriptor.FullName())) } } @@ -8903,15 +8933,17 @@ func (x *fastReflection_EventGuildMembershipApplication) Get(descriptor protoref // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventGuildMembershipApplication) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_EventProviderGrantGuildDetail) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.EventGuildMembershipApplication.guildMembershipApplication": - x.GuildMembershipApplication = value.Message().Interface().(*GuildMembershipApplication) + case "structs.structs.EventProviderGrantGuildDetail.providerId": + x.ProviderId = value.Interface().(string) + case "structs.structs.EventProviderGrantGuildDetail.guildId": + x.GuildId = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventGuildMembershipApplication")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventProviderGrantGuildDetail")) } - panic(fmt.Errorf("message structs.structs.EventGuildMembershipApplication does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventProviderGrantGuildDetail does not contain field %s", fd.FullName())) } } @@ -8925,44 +8957,44 @@ func (x *fastReflection_EventGuildMembershipApplication) Set(fd protoreflect.Fie // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventGuildMembershipApplication) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_EventProviderGrantGuildDetail) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.EventGuildMembershipApplication.guildMembershipApplication": - if x.GuildMembershipApplication == nil { - x.GuildMembershipApplication = new(GuildMembershipApplication) - } - return protoreflect.ValueOfMessage(x.GuildMembershipApplication.ProtoReflect()) + case "structs.structs.EventProviderGrantGuildDetail.providerId": + panic(fmt.Errorf("field providerId of message structs.structs.EventProviderGrantGuildDetail is not mutable")) + case "structs.structs.EventProviderGrantGuildDetail.guildId": + panic(fmt.Errorf("field guildId of message structs.structs.EventProviderGrantGuildDetail is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventGuildMembershipApplication")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventProviderGrantGuildDetail")) } - panic(fmt.Errorf("message structs.structs.EventGuildMembershipApplication does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventProviderGrantGuildDetail 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_EventGuildMembershipApplication) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_EventProviderGrantGuildDetail) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.EventGuildMembershipApplication.guildMembershipApplication": - m := new(GuildMembershipApplication) - return protoreflect.ValueOfMessage(m.ProtoReflect()) + case "structs.structs.EventProviderGrantGuildDetail.providerId": + return protoreflect.ValueOfString("") + case "structs.structs.EventProviderGrantGuildDetail.guildId": + return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventGuildMembershipApplication")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventProviderGrantGuildDetail")) } - panic(fmt.Errorf("message structs.structs.EventGuildMembershipApplication does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventProviderGrantGuildDetail 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_EventGuildMembershipApplication) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_EventProviderGrantGuildDetail) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.EventGuildMembershipApplication", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.EventProviderGrantGuildDetail", d.FullName())) } panic("unreachable") } @@ -8970,7 +9002,7 @@ func (x *fastReflection_EventGuildMembershipApplication) WhichOneof(d protorefle // 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_EventGuildMembershipApplication) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_EventProviderGrantGuildDetail) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -8981,7 +9013,7 @@ func (x *fastReflection_EventGuildMembershipApplication) GetUnknown() protorefle // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventGuildMembershipApplication) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_EventProviderGrantGuildDetail) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -8993,7 +9025,7 @@ func (x *fastReflection_EventGuildMembershipApplication) SetUnknown(fields proto // 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_EventGuildMembershipApplication) IsValid() bool { +func (x *fastReflection_EventProviderGrantGuildDetail) IsValid() bool { return x != nil } @@ -9003,9 +9035,9 @@ func (x *fastReflection_EventGuildMembershipApplication) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_EventGuildMembershipApplication) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_EventProviderGrantGuildDetail) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*EventGuildMembershipApplication) + x := input.Message.Interface().(*EventProviderGrantGuildDetail) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -9017,8 +9049,12 @@ func (x *fastReflection_EventGuildMembershipApplication) ProtoMethods() *protoif var n int var l int _ = l - if x.GuildMembershipApplication != nil { - l = options.Size(x.GuildMembershipApplication) + l = len(x.ProviderId) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.GuildId) + if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } if x.unknownFields != nil { @@ -9031,7 +9067,7 @@ func (x *fastReflection_EventGuildMembershipApplication) ProtoMethods() *protoif } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*EventGuildMembershipApplication) + x := input.Message.Interface().(*EventProviderGrantGuildDetail) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -9050,17 +9086,17 @@ func (x *fastReflection_EventGuildMembershipApplication) ProtoMethods() *protoif i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if x.GuildMembershipApplication != nil { - encoded, err := options.Marshal(x.GuildMembershipApplication) - 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))) + if len(x.GuildId) > 0 { + i -= len(x.GuildId) + copy(dAtA[i:], x.GuildId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.GuildId))) + i-- + dAtA[i] = 0x12 + } + if len(x.ProviderId) > 0 { + i -= len(x.ProviderId) + copy(dAtA[i:], x.ProviderId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.ProviderId))) i-- dAtA[i] = 0xa } @@ -9075,7 +9111,7 @@ func (x *fastReflection_EventGuildMembershipApplication) ProtoMethods() *protoif }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*EventGuildMembershipApplication) + x := input.Message.Interface().(*EventProviderGrantGuildDetail) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -9107,17 +9143,17 @@ func (x *fastReflection_EventGuildMembershipApplication) ProtoMethods() *protoif fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventGuildMembershipApplication: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventProviderGrantGuildDetail: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventGuildMembershipApplication: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventProviderGrantGuildDetail: 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 GuildMembershipApplication", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ProviderId", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -9127,27 +9163,55 @@ func (x *fastReflection_EventGuildMembershipApplication) ProtoMethods() *protoif } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength } - postIndex := iNdEx + msglen + 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 } - if x.GuildMembershipApplication == nil { - x.GuildMembershipApplication = &GuildMembershipApplication{} + x.ProviderId = 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 GuildId", wireType) } - if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.GuildMembershipApplication); err != nil { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + 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.GuildId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -9185,25 +9249,25 @@ func (x *fastReflection_EventGuildMembershipApplication) ProtoMethods() *protoif } var ( - md_EventOreMine protoreflect.MessageDescriptor - fd_EventOreMine_eventOreMineDetail protoreflect.FieldDescriptor + md_EventProviderRevokeGuild protoreflect.MessageDescriptor + fd_EventProviderRevokeGuild_eventProviderRevokeGuildDetail protoreflect.FieldDescriptor ) func init() { file_structs_structs_events_proto_init() - md_EventOreMine = File_structs_structs_events_proto.Messages().ByName("EventOreMine") - fd_EventOreMine_eventOreMineDetail = md_EventOreMine.Fields().ByName("eventOreMineDetail") + md_EventProviderRevokeGuild = File_structs_structs_events_proto.Messages().ByName("EventProviderRevokeGuild") + fd_EventProviderRevokeGuild_eventProviderRevokeGuildDetail = md_EventProviderRevokeGuild.Fields().ByName("eventProviderRevokeGuildDetail") } -var _ protoreflect.Message = (*fastReflection_EventOreMine)(nil) +var _ protoreflect.Message = (*fastReflection_EventProviderRevokeGuild)(nil) -type fastReflection_EventOreMine EventOreMine +type fastReflection_EventProviderRevokeGuild EventProviderRevokeGuild -func (x *EventOreMine) ProtoReflect() protoreflect.Message { - return (*fastReflection_EventOreMine)(x) +func (x *EventProviderRevokeGuild) ProtoReflect() protoreflect.Message { + return (*fastReflection_EventProviderRevokeGuild)(x) } -func (x *EventOreMine) slowProtoReflect() protoreflect.Message { +func (x *EventProviderRevokeGuild) slowProtoReflect() protoreflect.Message { mi := &file_structs_structs_events_proto_msgTypes[21] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -9215,43 +9279,43 @@ func (x *EventOreMine) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_EventOreMine_messageType fastReflection_EventOreMine_messageType -var _ protoreflect.MessageType = fastReflection_EventOreMine_messageType{} +var _fastReflection_EventProviderRevokeGuild_messageType fastReflection_EventProviderRevokeGuild_messageType +var _ protoreflect.MessageType = fastReflection_EventProviderRevokeGuild_messageType{} -type fastReflection_EventOreMine_messageType struct{} +type fastReflection_EventProviderRevokeGuild_messageType struct{} -func (x fastReflection_EventOreMine_messageType) Zero() protoreflect.Message { - return (*fastReflection_EventOreMine)(nil) +func (x fastReflection_EventProviderRevokeGuild_messageType) Zero() protoreflect.Message { + return (*fastReflection_EventProviderRevokeGuild)(nil) } -func (x fastReflection_EventOreMine_messageType) New() protoreflect.Message { - return new(fastReflection_EventOreMine) +func (x fastReflection_EventProviderRevokeGuild_messageType) New() protoreflect.Message { + return new(fastReflection_EventProviderRevokeGuild) } -func (x fastReflection_EventOreMine_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_EventOreMine +func (x fastReflection_EventProviderRevokeGuild_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_EventProviderRevokeGuild } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_EventOreMine) Descriptor() protoreflect.MessageDescriptor { - return md_EventOreMine +func (x *fastReflection_EventProviderRevokeGuild) Descriptor() protoreflect.MessageDescriptor { + return md_EventProviderRevokeGuild } // 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_EventOreMine) Type() protoreflect.MessageType { - return _fastReflection_EventOreMine_messageType +func (x *fastReflection_EventProviderRevokeGuild) Type() protoreflect.MessageType { + return _fastReflection_EventProviderRevokeGuild_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_EventOreMine) New() protoreflect.Message { - return new(fastReflection_EventOreMine) +func (x *fastReflection_EventProviderRevokeGuild) New() protoreflect.Message { + return new(fastReflection_EventProviderRevokeGuild) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_EventOreMine) Interface() protoreflect.ProtoMessage { - return (*EventOreMine)(x) +func (x *fastReflection_EventProviderRevokeGuild) Interface() protoreflect.ProtoMessage { + return (*EventProviderRevokeGuild)(x) } // Range iterates over every populated field in an undefined order, @@ -9259,10 +9323,10 @@ func (x *fastReflection_EventOreMine) Interface() protoreflect.ProtoMessage { // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_EventOreMine) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.EventOreMineDetail != nil { - value := protoreflect.ValueOfMessage(x.EventOreMineDetail.ProtoReflect()) - if !f(fd_EventOreMine_eventOreMineDetail, value) { +func (x *fastReflection_EventProviderRevokeGuild) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.EventProviderRevokeGuildDetail != nil { + value := protoreflect.ValueOfMessage(x.EventProviderRevokeGuildDetail.ProtoReflect()) + if !f(fd_EventProviderRevokeGuild_eventProviderRevokeGuildDetail, value) { return } } @@ -9279,15 +9343,15 @@ func (x *fastReflection_EventOreMine) Range(f func(protoreflect.FieldDescriptor, // 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_EventOreMine) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_EventProviderRevokeGuild) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.EventOreMine.eventOreMineDetail": - return x.EventOreMineDetail != nil + case "structs.structs.EventProviderRevokeGuild.eventProviderRevokeGuildDetail": + return x.EventProviderRevokeGuildDetail != nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventOreMine")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventProviderRevokeGuild")) } - panic(fmt.Errorf("message structs.structs.EventOreMine does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventProviderRevokeGuild does not contain field %s", fd.FullName())) } } @@ -9297,15 +9361,15 @@ func (x *fastReflection_EventOreMine) Has(fd protoreflect.FieldDescriptor) bool // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventOreMine) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_EventProviderRevokeGuild) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.EventOreMine.eventOreMineDetail": - x.EventOreMineDetail = nil + case "structs.structs.EventProviderRevokeGuild.eventProviderRevokeGuildDetail": + x.EventProviderRevokeGuildDetail = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventOreMine")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventProviderRevokeGuild")) } - panic(fmt.Errorf("message structs.structs.EventOreMine does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventProviderRevokeGuild does not contain field %s", fd.FullName())) } } @@ -9315,16 +9379,16 @@ func (x *fastReflection_EventOreMine) Clear(fd protoreflect.FieldDescriptor) { // 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_EventOreMine) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_EventProviderRevokeGuild) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.EventOreMine.eventOreMineDetail": - value := x.EventOreMineDetail + case "structs.structs.EventProviderRevokeGuild.eventProviderRevokeGuildDetail": + value := x.EventProviderRevokeGuildDetail return protoreflect.ValueOfMessage(value.ProtoReflect()) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventOreMine")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventProviderRevokeGuild")) } - panic(fmt.Errorf("message structs.structs.EventOreMine does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.EventProviderRevokeGuild does not contain field %s", descriptor.FullName())) } } @@ -9338,15 +9402,15 @@ func (x *fastReflection_EventOreMine) Get(descriptor protoreflect.FieldDescripto // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventOreMine) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_EventProviderRevokeGuild) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.EventOreMine.eventOreMineDetail": - x.EventOreMineDetail = value.Message().Interface().(*EventOreMineDetail) + case "structs.structs.EventProviderRevokeGuild.eventProviderRevokeGuildDetail": + x.EventProviderRevokeGuildDetail = value.Message().Interface().(*EventProviderRevokeGuildDetail) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventOreMine")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventProviderRevokeGuild")) } - panic(fmt.Errorf("message structs.structs.EventOreMine does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventProviderRevokeGuild does not contain field %s", fd.FullName())) } } @@ -9360,44 +9424,44 @@ func (x *fastReflection_EventOreMine) Set(fd protoreflect.FieldDescriptor, value // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventOreMine) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_EventProviderRevokeGuild) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.EventOreMine.eventOreMineDetail": - if x.EventOreMineDetail == nil { - x.EventOreMineDetail = new(EventOreMineDetail) + case "structs.structs.EventProviderRevokeGuild.eventProviderRevokeGuildDetail": + if x.EventProviderRevokeGuildDetail == nil { + x.EventProviderRevokeGuildDetail = new(EventProviderRevokeGuildDetail) } - return protoreflect.ValueOfMessage(x.EventOreMineDetail.ProtoReflect()) + return protoreflect.ValueOfMessage(x.EventProviderRevokeGuildDetail.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventOreMine")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventProviderRevokeGuild")) } - panic(fmt.Errorf("message structs.structs.EventOreMine does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventProviderRevokeGuild 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_EventOreMine) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_EventProviderRevokeGuild) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.EventOreMine.eventOreMineDetail": - m := new(EventOreMineDetail) + case "structs.structs.EventProviderRevokeGuild.eventProviderRevokeGuildDetail": + m := new(EventProviderRevokeGuildDetail) return protoreflect.ValueOfMessage(m.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventOreMine")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventProviderRevokeGuild")) } - panic(fmt.Errorf("message structs.structs.EventOreMine does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventProviderRevokeGuild 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_EventOreMine) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_EventProviderRevokeGuild) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.EventOreMine", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.EventProviderRevokeGuild", d.FullName())) } panic("unreachable") } @@ -9405,7 +9469,7 @@ func (x *fastReflection_EventOreMine) WhichOneof(d protoreflect.OneofDescriptor) // 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_EventOreMine) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_EventProviderRevokeGuild) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -9416,7 +9480,7 @@ func (x *fastReflection_EventOreMine) GetUnknown() protoreflect.RawFields { // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventOreMine) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_EventProviderRevokeGuild) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -9428,7 +9492,7 @@ func (x *fastReflection_EventOreMine) SetUnknown(fields protoreflect.RawFields) // 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_EventOreMine) IsValid() bool { +func (x *fastReflection_EventProviderRevokeGuild) IsValid() bool { return x != nil } @@ -9438,9 +9502,9 @@ func (x *fastReflection_EventOreMine) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_EventOreMine) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_EventProviderRevokeGuild) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*EventOreMine) + x := input.Message.Interface().(*EventProviderRevokeGuild) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -9452,8 +9516,8 @@ func (x *fastReflection_EventOreMine) ProtoMethods() *protoiface.Methods { var n int var l int _ = l - if x.EventOreMineDetail != nil { - l = options.Size(x.EventOreMineDetail) + if x.EventProviderRevokeGuildDetail != nil { + l = options.Size(x.EventProviderRevokeGuildDetail) n += 1 + l + runtime.Sov(uint64(l)) } if x.unknownFields != nil { @@ -9466,7 +9530,7 @@ func (x *fastReflection_EventOreMine) ProtoMethods() *protoiface.Methods { } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*EventOreMine) + x := input.Message.Interface().(*EventProviderRevokeGuild) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -9485,8 +9549,8 @@ func (x *fastReflection_EventOreMine) ProtoMethods() *protoiface.Methods { i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if x.EventOreMineDetail != nil { - encoded, err := options.Marshal(x.EventOreMineDetail) + if x.EventProviderRevokeGuildDetail != nil { + encoded, err := options.Marshal(x.EventProviderRevokeGuildDetail) if err != nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -9510,7 +9574,7 @@ func (x *fastReflection_EventOreMine) ProtoMethods() *protoiface.Methods { }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*EventOreMine) + x := input.Message.Interface().(*EventProviderRevokeGuild) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -9542,15 +9606,15 @@ func (x *fastReflection_EventOreMine) ProtoMethods() *protoiface.Methods { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventOreMine: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventProviderRevokeGuild: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventOreMine: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventProviderRevokeGuild: 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 EventOreMineDetail", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field EventProviderRevokeGuildDetail", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -9577,10 +9641,10 @@ func (x *fastReflection_EventOreMine) ProtoMethods() *protoiface.Methods { if postIndex > l { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - if x.EventOreMineDetail == nil { - x.EventOreMineDetail = &EventOreMineDetail{} + if x.EventProviderRevokeGuildDetail == nil { + x.EventProviderRevokeGuildDetail = &EventProviderRevokeGuildDetail{} } - if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.EventOreMineDetail); err != nil { + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.EventProviderRevokeGuildDetail); err != nil { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err } iNdEx = postIndex @@ -9620,29 +9684,27 @@ func (x *fastReflection_EventOreMine) ProtoMethods() *protoiface.Methods { } var ( - md_EventOreMineDetail protoreflect.MessageDescriptor - fd_EventOreMineDetail_playerId protoreflect.FieldDescriptor - fd_EventOreMineDetail_primaryAddress protoreflect.FieldDescriptor - fd_EventOreMineDetail_amount protoreflect.FieldDescriptor + md_EventProviderRevokeGuildDetail protoreflect.MessageDescriptor + fd_EventProviderRevokeGuildDetail_providerId protoreflect.FieldDescriptor + fd_EventProviderRevokeGuildDetail_guildId protoreflect.FieldDescriptor ) func init() { file_structs_structs_events_proto_init() - md_EventOreMineDetail = File_structs_structs_events_proto.Messages().ByName("EventOreMineDetail") - fd_EventOreMineDetail_playerId = md_EventOreMineDetail.Fields().ByName("playerId") - fd_EventOreMineDetail_primaryAddress = md_EventOreMineDetail.Fields().ByName("primaryAddress") - fd_EventOreMineDetail_amount = md_EventOreMineDetail.Fields().ByName("amount") + md_EventProviderRevokeGuildDetail = File_structs_structs_events_proto.Messages().ByName("EventProviderRevokeGuildDetail") + fd_EventProviderRevokeGuildDetail_providerId = md_EventProviderRevokeGuildDetail.Fields().ByName("providerId") + fd_EventProviderRevokeGuildDetail_guildId = md_EventProviderRevokeGuildDetail.Fields().ByName("guildId") } -var _ protoreflect.Message = (*fastReflection_EventOreMineDetail)(nil) +var _ protoreflect.Message = (*fastReflection_EventProviderRevokeGuildDetail)(nil) -type fastReflection_EventOreMineDetail EventOreMineDetail +type fastReflection_EventProviderRevokeGuildDetail EventProviderRevokeGuildDetail -func (x *EventOreMineDetail) ProtoReflect() protoreflect.Message { - return (*fastReflection_EventOreMineDetail)(x) +func (x *EventProviderRevokeGuildDetail) ProtoReflect() protoreflect.Message { + return (*fastReflection_EventProviderRevokeGuildDetail)(x) } -func (x *EventOreMineDetail) slowProtoReflect() protoreflect.Message { +func (x *EventProviderRevokeGuildDetail) slowProtoReflect() protoreflect.Message { mi := &file_structs_structs_events_proto_msgTypes[22] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -9654,43 +9716,43 @@ func (x *EventOreMineDetail) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_EventOreMineDetail_messageType fastReflection_EventOreMineDetail_messageType -var _ protoreflect.MessageType = fastReflection_EventOreMineDetail_messageType{} +var _fastReflection_EventProviderRevokeGuildDetail_messageType fastReflection_EventProviderRevokeGuildDetail_messageType +var _ protoreflect.MessageType = fastReflection_EventProviderRevokeGuildDetail_messageType{} -type fastReflection_EventOreMineDetail_messageType struct{} +type fastReflection_EventProviderRevokeGuildDetail_messageType struct{} -func (x fastReflection_EventOreMineDetail_messageType) Zero() protoreflect.Message { - return (*fastReflection_EventOreMineDetail)(nil) +func (x fastReflection_EventProviderRevokeGuildDetail_messageType) Zero() protoreflect.Message { + return (*fastReflection_EventProviderRevokeGuildDetail)(nil) } -func (x fastReflection_EventOreMineDetail_messageType) New() protoreflect.Message { - return new(fastReflection_EventOreMineDetail) +func (x fastReflection_EventProviderRevokeGuildDetail_messageType) New() protoreflect.Message { + return new(fastReflection_EventProviderRevokeGuildDetail) } -func (x fastReflection_EventOreMineDetail_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_EventOreMineDetail +func (x fastReflection_EventProviderRevokeGuildDetail_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_EventProviderRevokeGuildDetail } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_EventOreMineDetail) Descriptor() protoreflect.MessageDescriptor { - return md_EventOreMineDetail +func (x *fastReflection_EventProviderRevokeGuildDetail) Descriptor() protoreflect.MessageDescriptor { + return md_EventProviderRevokeGuildDetail } // 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_EventOreMineDetail) Type() protoreflect.MessageType { - return _fastReflection_EventOreMineDetail_messageType +func (x *fastReflection_EventProviderRevokeGuildDetail) Type() protoreflect.MessageType { + return _fastReflection_EventProviderRevokeGuildDetail_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_EventOreMineDetail) New() protoreflect.Message { - return new(fastReflection_EventOreMineDetail) +func (x *fastReflection_EventProviderRevokeGuildDetail) New() protoreflect.Message { + return new(fastReflection_EventProviderRevokeGuildDetail) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_EventOreMineDetail) Interface() protoreflect.ProtoMessage { - return (*EventOreMineDetail)(x) +func (x *fastReflection_EventProviderRevokeGuildDetail) Interface() protoreflect.ProtoMessage { + return (*EventProviderRevokeGuildDetail)(x) } // Range iterates over every populated field in an undefined order, @@ -9698,22 +9760,16 @@ func (x *fastReflection_EventOreMineDetail) Interface() protoreflect.ProtoMessag // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_EventOreMineDetail) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.PlayerId != "" { - value := protoreflect.ValueOfString(x.PlayerId) - if !f(fd_EventOreMineDetail_playerId, value) { - return - } - } - if x.PrimaryAddress != "" { - value := protoreflect.ValueOfString(x.PrimaryAddress) - if !f(fd_EventOreMineDetail_primaryAddress, value) { +func (x *fastReflection_EventProviderRevokeGuildDetail) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.ProviderId != "" { + value := protoreflect.ValueOfString(x.ProviderId) + if !f(fd_EventProviderRevokeGuildDetail_providerId, value) { return } } - if x.Amount != uint64(0) { - value := protoreflect.ValueOfUint64(x.Amount) - if !f(fd_EventOreMineDetail_amount, value) { + if x.GuildId != "" { + value := protoreflect.ValueOfString(x.GuildId) + if !f(fd_EventProviderRevokeGuildDetail_guildId, value) { return } } @@ -9730,19 +9786,17 @@ func (x *fastReflection_EventOreMineDetail) Range(f func(protoreflect.FieldDescr // 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_EventOreMineDetail) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_EventProviderRevokeGuildDetail) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.EventOreMineDetail.playerId": - return x.PlayerId != "" - case "structs.structs.EventOreMineDetail.primaryAddress": - return x.PrimaryAddress != "" - case "structs.structs.EventOreMineDetail.amount": - return x.Amount != uint64(0) + case "structs.structs.EventProviderRevokeGuildDetail.providerId": + return x.ProviderId != "" + case "structs.structs.EventProviderRevokeGuildDetail.guildId": + return x.GuildId != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventOreMineDetail")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventProviderRevokeGuildDetail")) } - panic(fmt.Errorf("message structs.structs.EventOreMineDetail does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventProviderRevokeGuildDetail does not contain field %s", fd.FullName())) } } @@ -9752,19 +9806,17 @@ func (x *fastReflection_EventOreMineDetail) Has(fd protoreflect.FieldDescriptor) // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventOreMineDetail) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_EventProviderRevokeGuildDetail) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.EventOreMineDetail.playerId": - x.PlayerId = "" - case "structs.structs.EventOreMineDetail.primaryAddress": - x.PrimaryAddress = "" - case "structs.structs.EventOreMineDetail.amount": - x.Amount = uint64(0) + case "structs.structs.EventProviderRevokeGuildDetail.providerId": + x.ProviderId = "" + case "structs.structs.EventProviderRevokeGuildDetail.guildId": + x.GuildId = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventOreMineDetail")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventProviderRevokeGuildDetail")) } - panic(fmt.Errorf("message structs.structs.EventOreMineDetail does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventProviderRevokeGuildDetail does not contain field %s", fd.FullName())) } } @@ -9774,22 +9826,19 @@ func (x *fastReflection_EventOreMineDetail) Clear(fd protoreflect.FieldDescripto // 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_EventOreMineDetail) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_EventProviderRevokeGuildDetail) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.EventOreMineDetail.playerId": - value := x.PlayerId + case "structs.structs.EventProviderRevokeGuildDetail.providerId": + value := x.ProviderId return protoreflect.ValueOfString(value) - case "structs.structs.EventOreMineDetail.primaryAddress": - value := x.PrimaryAddress + case "structs.structs.EventProviderRevokeGuildDetail.guildId": + value := x.GuildId return protoreflect.ValueOfString(value) - case "structs.structs.EventOreMineDetail.amount": - value := x.Amount - return protoreflect.ValueOfUint64(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventOreMineDetail")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventProviderRevokeGuildDetail")) } - panic(fmt.Errorf("message structs.structs.EventOreMineDetail does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.EventProviderRevokeGuildDetail does not contain field %s", descriptor.FullName())) } } @@ -9803,19 +9852,17 @@ func (x *fastReflection_EventOreMineDetail) Get(descriptor protoreflect.FieldDes // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventOreMineDetail) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_EventProviderRevokeGuildDetail) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.EventOreMineDetail.playerId": - x.PlayerId = value.Interface().(string) - case "structs.structs.EventOreMineDetail.primaryAddress": - x.PrimaryAddress = value.Interface().(string) - case "structs.structs.EventOreMineDetail.amount": - x.Amount = value.Uint() + case "structs.structs.EventProviderRevokeGuildDetail.providerId": + x.ProviderId = value.Interface().(string) + case "structs.structs.EventProviderRevokeGuildDetail.guildId": + x.GuildId = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventOreMineDetail")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventProviderRevokeGuildDetail")) } - panic(fmt.Errorf("message structs.structs.EventOreMineDetail does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventProviderRevokeGuildDetail does not contain field %s", fd.FullName())) } } @@ -9829,48 +9876,44 @@ func (x *fastReflection_EventOreMineDetail) Set(fd protoreflect.FieldDescriptor, // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventOreMineDetail) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_EventProviderRevokeGuildDetail) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.EventOreMineDetail.playerId": - panic(fmt.Errorf("field playerId of message structs.structs.EventOreMineDetail is not mutable")) - case "structs.structs.EventOreMineDetail.primaryAddress": - panic(fmt.Errorf("field primaryAddress of message structs.structs.EventOreMineDetail is not mutable")) - case "structs.structs.EventOreMineDetail.amount": - panic(fmt.Errorf("field amount of message structs.structs.EventOreMineDetail is not mutable")) + case "structs.structs.EventProviderRevokeGuildDetail.providerId": + panic(fmt.Errorf("field providerId of message structs.structs.EventProviderRevokeGuildDetail is not mutable")) + case "structs.structs.EventProviderRevokeGuildDetail.guildId": + panic(fmt.Errorf("field guildId of message structs.structs.EventProviderRevokeGuildDetail is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventOreMineDetail")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventProviderRevokeGuildDetail")) } - panic(fmt.Errorf("message structs.structs.EventOreMineDetail does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventProviderRevokeGuildDetail 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_EventOreMineDetail) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_EventProviderRevokeGuildDetail) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.EventOreMineDetail.playerId": + case "structs.structs.EventProviderRevokeGuildDetail.providerId": return protoreflect.ValueOfString("") - case "structs.structs.EventOreMineDetail.primaryAddress": + case "structs.structs.EventProviderRevokeGuildDetail.guildId": return protoreflect.ValueOfString("") - case "structs.structs.EventOreMineDetail.amount": - return protoreflect.ValueOfUint64(uint64(0)) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventOreMineDetail")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventProviderRevokeGuildDetail")) } - panic(fmt.Errorf("message structs.structs.EventOreMineDetail does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventProviderRevokeGuildDetail 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_EventOreMineDetail) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_EventProviderRevokeGuildDetail) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.EventOreMineDetail", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.EventProviderRevokeGuildDetail", d.FullName())) } panic("unreachable") } @@ -9878,7 +9921,7 @@ func (x *fastReflection_EventOreMineDetail) WhichOneof(d protoreflect.OneofDescr // 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_EventOreMineDetail) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_EventProviderRevokeGuildDetail) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -9889,7 +9932,7 @@ func (x *fastReflection_EventOreMineDetail) GetUnknown() protoreflect.RawFields // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventOreMineDetail) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_EventProviderRevokeGuildDetail) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -9901,7 +9944,7 @@ func (x *fastReflection_EventOreMineDetail) SetUnknown(fields protoreflect.RawFi // 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_EventOreMineDetail) IsValid() bool { +func (x *fastReflection_EventProviderRevokeGuildDetail) IsValid() bool { return x != nil } @@ -9911,9 +9954,9 @@ func (x *fastReflection_EventOreMineDetail) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_EventOreMineDetail) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_EventProviderRevokeGuildDetail) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*EventOreMineDetail) + x := input.Message.Interface().(*EventProviderRevokeGuildDetail) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -9925,17 +9968,14 @@ func (x *fastReflection_EventOreMineDetail) ProtoMethods() *protoiface.Methods { var n int var l int _ = l - l = len(x.PlayerId) + l = len(x.ProviderId) if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } - l = len(x.PrimaryAddress) + l = len(x.GuildId) if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } - if x.Amount != 0 { - n += 1 + runtime.Sov(uint64(x.Amount)) - } if x.unknownFields != nil { n += len(x.unknownFields) } @@ -9946,7 +9986,7 @@ func (x *fastReflection_EventOreMineDetail) ProtoMethods() *protoiface.Methods { } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*EventOreMineDetail) + x := input.Message.Interface().(*EventProviderRevokeGuildDetail) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -9965,22 +10005,17 @@ func (x *fastReflection_EventOreMineDetail) ProtoMethods() *protoiface.Methods { i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if x.Amount != 0 { - i = runtime.EncodeVarint(dAtA, i, uint64(x.Amount)) - i-- - dAtA[i] = 0x18 - } - if len(x.PrimaryAddress) > 0 { - i -= len(x.PrimaryAddress) - copy(dAtA[i:], x.PrimaryAddress) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.PrimaryAddress))) + if len(x.GuildId) > 0 { + i -= len(x.GuildId) + copy(dAtA[i:], x.GuildId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.GuildId))) i-- dAtA[i] = 0x12 } - if len(x.PlayerId) > 0 { - i -= len(x.PlayerId) - copy(dAtA[i:], x.PlayerId) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.PlayerId))) + if len(x.ProviderId) > 0 { + i -= len(x.ProviderId) + copy(dAtA[i:], x.ProviderId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.ProviderId))) i-- dAtA[i] = 0xa } @@ -9995,7 +10030,7 @@ func (x *fastReflection_EventOreMineDetail) ProtoMethods() *protoiface.Methods { }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*EventOreMineDetail) + x := input.Message.Interface().(*EventProviderRevokeGuildDetail) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -10027,15 +10062,15 @@ func (x *fastReflection_EventOreMineDetail) ProtoMethods() *protoiface.Methods { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventOreMineDetail: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventProviderRevokeGuildDetail: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventOreMineDetail: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventProviderRevokeGuildDetail: 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 PlayerId", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ProviderId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -10063,11 +10098,11 @@ func (x *fastReflection_EventOreMineDetail) ProtoMethods() *protoiface.Methods { if postIndex > l { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - x.PlayerId = string(dAtA[iNdEx:postIndex]) + x.ProviderId = 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 PrimaryAddress", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field GuildId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -10095,32 +10130,13 @@ func (x *fastReflection_EventOreMineDetail) ProtoMethods() *protoiface.Methods { if postIndex > l { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - x.PrimaryAddress = string(dAtA[iNdEx:postIndex]) + x.GuildId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 3: - if wireType != 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Amount", wireType) - } - x.Amount = 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.Amount |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := runtime.Skip(dAtA[iNdEx:]) - if err != nil { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + 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 @@ -10152,25 +10168,25 @@ func (x *fastReflection_EventOreMineDetail) ProtoMethods() *protoiface.Methods { } var ( - md_EventAlphaRefine protoreflect.MessageDescriptor - fd_EventAlphaRefine_eventAlphaRefineDetail protoreflect.FieldDescriptor + md_EventPlayerHalted protoreflect.MessageDescriptor + fd_EventPlayerHalted_playerId protoreflect.FieldDescriptor ) func init() { file_structs_structs_events_proto_init() - md_EventAlphaRefine = File_structs_structs_events_proto.Messages().ByName("EventAlphaRefine") - fd_EventAlphaRefine_eventAlphaRefineDetail = md_EventAlphaRefine.Fields().ByName("eventAlphaRefineDetail") + md_EventPlayerHalted = File_structs_structs_events_proto.Messages().ByName("EventPlayerHalted") + fd_EventPlayerHalted_playerId = md_EventPlayerHalted.Fields().ByName("playerId") } -var _ protoreflect.Message = (*fastReflection_EventAlphaRefine)(nil) +var _ protoreflect.Message = (*fastReflection_EventPlayerHalted)(nil) -type fastReflection_EventAlphaRefine EventAlphaRefine +type fastReflection_EventPlayerHalted EventPlayerHalted -func (x *EventAlphaRefine) ProtoReflect() protoreflect.Message { - return (*fastReflection_EventAlphaRefine)(x) +func (x *EventPlayerHalted) ProtoReflect() protoreflect.Message { + return (*fastReflection_EventPlayerHalted)(x) } -func (x *EventAlphaRefine) slowProtoReflect() protoreflect.Message { +func (x *EventPlayerHalted) slowProtoReflect() protoreflect.Message { mi := &file_structs_structs_events_proto_msgTypes[23] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -10182,43 +10198,43 @@ func (x *EventAlphaRefine) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_EventAlphaRefine_messageType fastReflection_EventAlphaRefine_messageType -var _ protoreflect.MessageType = fastReflection_EventAlphaRefine_messageType{} +var _fastReflection_EventPlayerHalted_messageType fastReflection_EventPlayerHalted_messageType +var _ protoreflect.MessageType = fastReflection_EventPlayerHalted_messageType{} -type fastReflection_EventAlphaRefine_messageType struct{} +type fastReflection_EventPlayerHalted_messageType struct{} -func (x fastReflection_EventAlphaRefine_messageType) Zero() protoreflect.Message { - return (*fastReflection_EventAlphaRefine)(nil) +func (x fastReflection_EventPlayerHalted_messageType) Zero() protoreflect.Message { + return (*fastReflection_EventPlayerHalted)(nil) } -func (x fastReflection_EventAlphaRefine_messageType) New() protoreflect.Message { - return new(fastReflection_EventAlphaRefine) +func (x fastReflection_EventPlayerHalted_messageType) New() protoreflect.Message { + return new(fastReflection_EventPlayerHalted) } -func (x fastReflection_EventAlphaRefine_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_EventAlphaRefine +func (x fastReflection_EventPlayerHalted_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_EventPlayerHalted } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_EventAlphaRefine) Descriptor() protoreflect.MessageDescriptor { - return md_EventAlphaRefine +func (x *fastReflection_EventPlayerHalted) Descriptor() protoreflect.MessageDescriptor { + return md_EventPlayerHalted } // 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_EventAlphaRefine) Type() protoreflect.MessageType { - return _fastReflection_EventAlphaRefine_messageType +func (x *fastReflection_EventPlayerHalted) Type() protoreflect.MessageType { + return _fastReflection_EventPlayerHalted_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_EventAlphaRefine) New() protoreflect.Message { - return new(fastReflection_EventAlphaRefine) +func (x *fastReflection_EventPlayerHalted) New() protoreflect.Message { + return new(fastReflection_EventPlayerHalted) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_EventAlphaRefine) Interface() protoreflect.ProtoMessage { - return (*EventAlphaRefine)(x) +func (x *fastReflection_EventPlayerHalted) Interface() protoreflect.ProtoMessage { + return (*EventPlayerHalted)(x) } // Range iterates over every populated field in an undefined order, @@ -10226,10 +10242,10 @@ func (x *fastReflection_EventAlphaRefine) Interface() protoreflect.ProtoMessage // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_EventAlphaRefine) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.EventAlphaRefineDetail != nil { - value := protoreflect.ValueOfMessage(x.EventAlphaRefineDetail.ProtoReflect()) - if !f(fd_EventAlphaRefine_eventAlphaRefineDetail, value) { +func (x *fastReflection_EventPlayerHalted) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.PlayerId != "" { + value := protoreflect.ValueOfString(x.PlayerId) + if !f(fd_EventPlayerHalted_playerId, value) { return } } @@ -10246,15 +10262,15 @@ func (x *fastReflection_EventAlphaRefine) Range(f func(protoreflect.FieldDescrip // 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_EventAlphaRefine) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_EventPlayerHalted) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.EventAlphaRefine.eventAlphaRefineDetail": - return x.EventAlphaRefineDetail != nil + case "structs.structs.EventPlayerHalted.playerId": + return x.PlayerId != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAlphaRefine")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventPlayerHalted")) } - panic(fmt.Errorf("message structs.structs.EventAlphaRefine does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventPlayerHalted does not contain field %s", fd.FullName())) } } @@ -10264,15 +10280,15 @@ func (x *fastReflection_EventAlphaRefine) Has(fd protoreflect.FieldDescriptor) b // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventAlphaRefine) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_EventPlayerHalted) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.EventAlphaRefine.eventAlphaRefineDetail": - x.EventAlphaRefineDetail = nil + case "structs.structs.EventPlayerHalted.playerId": + x.PlayerId = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAlphaRefine")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventPlayerHalted")) } - panic(fmt.Errorf("message structs.structs.EventAlphaRefine does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventPlayerHalted does not contain field %s", fd.FullName())) } } @@ -10282,16 +10298,16 @@ func (x *fastReflection_EventAlphaRefine) Clear(fd protoreflect.FieldDescriptor) // 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_EventAlphaRefine) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_EventPlayerHalted) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.EventAlphaRefine.eventAlphaRefineDetail": - value := x.EventAlphaRefineDetail - return protoreflect.ValueOfMessage(value.ProtoReflect()) + case "structs.structs.EventPlayerHalted.playerId": + value := x.PlayerId + return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAlphaRefine")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventPlayerHalted")) } - panic(fmt.Errorf("message structs.structs.EventAlphaRefine does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.EventPlayerHalted does not contain field %s", descriptor.FullName())) } } @@ -10305,15 +10321,15 @@ func (x *fastReflection_EventAlphaRefine) Get(descriptor protoreflect.FieldDescr // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventAlphaRefine) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_EventPlayerHalted) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.EventAlphaRefine.eventAlphaRefineDetail": - x.EventAlphaRefineDetail = value.Message().Interface().(*EventAlphaRefineDetail) + case "structs.structs.EventPlayerHalted.playerId": + x.PlayerId = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAlphaRefine")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventPlayerHalted")) } - panic(fmt.Errorf("message structs.structs.EventAlphaRefine does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventPlayerHalted does not contain field %s", fd.FullName())) } } @@ -10327,44 +10343,40 @@ func (x *fastReflection_EventAlphaRefine) Set(fd protoreflect.FieldDescriptor, v // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventAlphaRefine) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_EventPlayerHalted) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.EventAlphaRefine.eventAlphaRefineDetail": - if x.EventAlphaRefineDetail == nil { - x.EventAlphaRefineDetail = new(EventAlphaRefineDetail) - } - return protoreflect.ValueOfMessage(x.EventAlphaRefineDetail.ProtoReflect()) + case "structs.structs.EventPlayerHalted.playerId": + panic(fmt.Errorf("field playerId of message structs.structs.EventPlayerHalted is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAlphaRefine")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventPlayerHalted")) } - panic(fmt.Errorf("message structs.structs.EventAlphaRefine does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventPlayerHalted 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_EventAlphaRefine) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_EventPlayerHalted) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.EventAlphaRefine.eventAlphaRefineDetail": - m := new(EventAlphaRefineDetail) - return protoreflect.ValueOfMessage(m.ProtoReflect()) + case "structs.structs.EventPlayerHalted.playerId": + return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAlphaRefine")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventPlayerHalted")) } - panic(fmt.Errorf("message structs.structs.EventAlphaRefine does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventPlayerHalted 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_EventAlphaRefine) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_EventPlayerHalted) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.EventAlphaRefine", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.EventPlayerHalted", d.FullName())) } panic("unreachable") } @@ -10372,7 +10384,7 @@ func (x *fastReflection_EventAlphaRefine) WhichOneof(d protoreflect.OneofDescrip // 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_EventAlphaRefine) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_EventPlayerHalted) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -10383,7 +10395,7 @@ func (x *fastReflection_EventAlphaRefine) GetUnknown() protoreflect.RawFields { // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventAlphaRefine) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_EventPlayerHalted) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -10395,7 +10407,7 @@ func (x *fastReflection_EventAlphaRefine) SetUnknown(fields protoreflect.RawFiel // 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_EventAlphaRefine) IsValid() bool { +func (x *fastReflection_EventPlayerHalted) IsValid() bool { return x != nil } @@ -10405,9 +10417,9 @@ func (x *fastReflection_EventAlphaRefine) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_EventAlphaRefine) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_EventPlayerHalted) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*EventAlphaRefine) + x := input.Message.Interface().(*EventPlayerHalted) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -10419,8 +10431,8 @@ func (x *fastReflection_EventAlphaRefine) ProtoMethods() *protoiface.Methods { var n int var l int _ = l - if x.EventAlphaRefineDetail != nil { - l = options.Size(x.EventAlphaRefineDetail) + l = len(x.PlayerId) + if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } if x.unknownFields != nil { @@ -10433,7 +10445,7 @@ func (x *fastReflection_EventAlphaRefine) ProtoMethods() *protoiface.Methods { } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*EventAlphaRefine) + x := input.Message.Interface().(*EventPlayerHalted) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -10452,17 +10464,10 @@ func (x *fastReflection_EventAlphaRefine) ProtoMethods() *protoiface.Methods { i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if x.EventAlphaRefineDetail != nil { - encoded, err := options.Marshal(x.EventAlphaRefineDetail) - 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))) + if len(x.PlayerId) > 0 { + i -= len(x.PlayerId) + copy(dAtA[i:], x.PlayerId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.PlayerId))) i-- dAtA[i] = 0xa } @@ -10477,7 +10482,7 @@ func (x *fastReflection_EventAlphaRefine) ProtoMethods() *protoiface.Methods { }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*EventAlphaRefine) + x := input.Message.Interface().(*EventPlayerHalted) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -10509,17 +10514,17 @@ func (x *fastReflection_EventAlphaRefine) ProtoMethods() *protoiface.Methods { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventAlphaRefine: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventPlayerHalted: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventAlphaRefine: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventPlayerHalted: 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 EventAlphaRefineDetail", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field PlayerId", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -10529,27 +10534,23 @@ func (x *fastReflection_EventAlphaRefine) ProtoMethods() *protoiface.Methods { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength } - postIndex := iNdEx + msglen + 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 } - if x.EventAlphaRefineDetail == nil { - x.EventAlphaRefineDetail = &EventAlphaRefineDetail{} - } - if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.EventAlphaRefineDetail); err != nil { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err - } + x.PlayerId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -10587,29 +10588,25 @@ func (x *fastReflection_EventAlphaRefine) ProtoMethods() *protoiface.Methods { } var ( - md_EventAlphaRefineDetail protoreflect.MessageDescriptor - fd_EventAlphaRefineDetail_playerId protoreflect.FieldDescriptor - fd_EventAlphaRefineDetail_primaryAddress protoreflect.FieldDescriptor - fd_EventAlphaRefineDetail_amount protoreflect.FieldDescriptor + md_EventPlayerResumed protoreflect.MessageDescriptor + fd_EventPlayerResumed_playerId protoreflect.FieldDescriptor ) func init() { file_structs_structs_events_proto_init() - md_EventAlphaRefineDetail = File_structs_structs_events_proto.Messages().ByName("EventAlphaRefineDetail") - fd_EventAlphaRefineDetail_playerId = md_EventAlphaRefineDetail.Fields().ByName("playerId") - fd_EventAlphaRefineDetail_primaryAddress = md_EventAlphaRefineDetail.Fields().ByName("primaryAddress") - fd_EventAlphaRefineDetail_amount = md_EventAlphaRefineDetail.Fields().ByName("amount") + md_EventPlayerResumed = File_structs_structs_events_proto.Messages().ByName("EventPlayerResumed") + fd_EventPlayerResumed_playerId = md_EventPlayerResumed.Fields().ByName("playerId") } -var _ protoreflect.Message = (*fastReflection_EventAlphaRefineDetail)(nil) +var _ protoreflect.Message = (*fastReflection_EventPlayerResumed)(nil) -type fastReflection_EventAlphaRefineDetail EventAlphaRefineDetail +type fastReflection_EventPlayerResumed EventPlayerResumed -func (x *EventAlphaRefineDetail) ProtoReflect() protoreflect.Message { - return (*fastReflection_EventAlphaRefineDetail)(x) +func (x *EventPlayerResumed) ProtoReflect() protoreflect.Message { + return (*fastReflection_EventPlayerResumed)(x) } -func (x *EventAlphaRefineDetail) slowProtoReflect() protoreflect.Message { +func (x *EventPlayerResumed) slowProtoReflect() protoreflect.Message { mi := &file_structs_structs_events_proto_msgTypes[24] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -10621,43 +10618,43 @@ func (x *EventAlphaRefineDetail) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_EventAlphaRefineDetail_messageType fastReflection_EventAlphaRefineDetail_messageType -var _ protoreflect.MessageType = fastReflection_EventAlphaRefineDetail_messageType{} +var _fastReflection_EventPlayerResumed_messageType fastReflection_EventPlayerResumed_messageType +var _ protoreflect.MessageType = fastReflection_EventPlayerResumed_messageType{} -type fastReflection_EventAlphaRefineDetail_messageType struct{} +type fastReflection_EventPlayerResumed_messageType struct{} -func (x fastReflection_EventAlphaRefineDetail_messageType) Zero() protoreflect.Message { - return (*fastReflection_EventAlphaRefineDetail)(nil) +func (x fastReflection_EventPlayerResumed_messageType) Zero() protoreflect.Message { + return (*fastReflection_EventPlayerResumed)(nil) } -func (x fastReflection_EventAlphaRefineDetail_messageType) New() protoreflect.Message { - return new(fastReflection_EventAlphaRefineDetail) +func (x fastReflection_EventPlayerResumed_messageType) New() protoreflect.Message { + return new(fastReflection_EventPlayerResumed) } -func (x fastReflection_EventAlphaRefineDetail_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_EventAlphaRefineDetail +func (x fastReflection_EventPlayerResumed_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_EventPlayerResumed } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_EventAlphaRefineDetail) Descriptor() protoreflect.MessageDescriptor { - return md_EventAlphaRefineDetail +func (x *fastReflection_EventPlayerResumed) Descriptor() protoreflect.MessageDescriptor { + return md_EventPlayerResumed } // 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_EventAlphaRefineDetail) Type() protoreflect.MessageType { - return _fastReflection_EventAlphaRefineDetail_messageType +func (x *fastReflection_EventPlayerResumed) Type() protoreflect.MessageType { + return _fastReflection_EventPlayerResumed_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_EventAlphaRefineDetail) New() protoreflect.Message { - return new(fastReflection_EventAlphaRefineDetail) +func (x *fastReflection_EventPlayerResumed) New() protoreflect.Message { + return new(fastReflection_EventPlayerResumed) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_EventAlphaRefineDetail) Interface() protoreflect.ProtoMessage { - return (*EventAlphaRefineDetail)(x) +func (x *fastReflection_EventPlayerResumed) Interface() protoreflect.ProtoMessage { + return (*EventPlayerResumed)(x) } // Range iterates over every populated field in an undefined order, @@ -10665,22 +10662,10 @@ func (x *fastReflection_EventAlphaRefineDetail) Interface() protoreflect.ProtoMe // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_EventAlphaRefineDetail) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +func (x *fastReflection_EventPlayerResumed) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { if x.PlayerId != "" { value := protoreflect.ValueOfString(x.PlayerId) - if !f(fd_EventAlphaRefineDetail_playerId, value) { - return - } - } - if x.PrimaryAddress != "" { - value := protoreflect.ValueOfString(x.PrimaryAddress) - if !f(fd_EventAlphaRefineDetail_primaryAddress, value) { - return - } - } - if x.Amount != uint64(0) { - value := protoreflect.ValueOfUint64(x.Amount) - if !f(fd_EventAlphaRefineDetail_amount, value) { + if !f(fd_EventPlayerResumed_playerId, value) { return } } @@ -10697,19 +10682,15 @@ func (x *fastReflection_EventAlphaRefineDetail) Range(f func(protoreflect.FieldD // 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_EventAlphaRefineDetail) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_EventPlayerResumed) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.EventAlphaRefineDetail.playerId": + case "structs.structs.EventPlayerResumed.playerId": return x.PlayerId != "" - case "structs.structs.EventAlphaRefineDetail.primaryAddress": - return x.PrimaryAddress != "" - case "structs.structs.EventAlphaRefineDetail.amount": - return x.Amount != uint64(0) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAlphaRefineDetail")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventPlayerResumed")) } - panic(fmt.Errorf("message structs.structs.EventAlphaRefineDetail does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventPlayerResumed does not contain field %s", fd.FullName())) } } @@ -10719,19 +10700,15 @@ func (x *fastReflection_EventAlphaRefineDetail) Has(fd protoreflect.FieldDescrip // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventAlphaRefineDetail) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_EventPlayerResumed) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.EventAlphaRefineDetail.playerId": + case "structs.structs.EventPlayerResumed.playerId": x.PlayerId = "" - case "structs.structs.EventAlphaRefineDetail.primaryAddress": - x.PrimaryAddress = "" - case "structs.structs.EventAlphaRefineDetail.amount": - x.Amount = uint64(0) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAlphaRefineDetail")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventPlayerResumed")) } - panic(fmt.Errorf("message structs.structs.EventAlphaRefineDetail does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventPlayerResumed does not contain field %s", fd.FullName())) } } @@ -10741,22 +10718,16 @@ func (x *fastReflection_EventAlphaRefineDetail) Clear(fd protoreflect.FieldDescr // 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_EventAlphaRefineDetail) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_EventPlayerResumed) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.EventAlphaRefineDetail.playerId": + case "structs.structs.EventPlayerResumed.playerId": value := x.PlayerId return protoreflect.ValueOfString(value) - case "structs.structs.EventAlphaRefineDetail.primaryAddress": - value := x.PrimaryAddress - return protoreflect.ValueOfString(value) - case "structs.structs.EventAlphaRefineDetail.amount": - value := x.Amount - return protoreflect.ValueOfUint64(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAlphaRefineDetail")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventPlayerResumed")) } - panic(fmt.Errorf("message structs.structs.EventAlphaRefineDetail does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.EventPlayerResumed does not contain field %s", descriptor.FullName())) } } @@ -10770,19 +10741,15 @@ func (x *fastReflection_EventAlphaRefineDetail) Get(descriptor protoreflect.Fiel // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventAlphaRefineDetail) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_EventPlayerResumed) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.EventAlphaRefineDetail.playerId": + case "structs.structs.EventPlayerResumed.playerId": x.PlayerId = value.Interface().(string) - case "structs.structs.EventAlphaRefineDetail.primaryAddress": - x.PrimaryAddress = value.Interface().(string) - case "structs.structs.EventAlphaRefineDetail.amount": - x.Amount = value.Uint() default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAlphaRefineDetail")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventPlayerResumed")) } - panic(fmt.Errorf("message structs.structs.EventAlphaRefineDetail does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventPlayerResumed does not contain field %s", fd.FullName())) } } @@ -10796,48 +10763,40 @@ func (x *fastReflection_EventAlphaRefineDetail) Set(fd protoreflect.FieldDescrip // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventAlphaRefineDetail) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_EventPlayerResumed) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.EventAlphaRefineDetail.playerId": - panic(fmt.Errorf("field playerId of message structs.structs.EventAlphaRefineDetail is not mutable")) - case "structs.structs.EventAlphaRefineDetail.primaryAddress": - panic(fmt.Errorf("field primaryAddress of message structs.structs.EventAlphaRefineDetail is not mutable")) - case "structs.structs.EventAlphaRefineDetail.amount": - panic(fmt.Errorf("field amount of message structs.structs.EventAlphaRefineDetail is not mutable")) + case "structs.structs.EventPlayerResumed.playerId": + panic(fmt.Errorf("field playerId of message structs.structs.EventPlayerResumed is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAlphaRefineDetail")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventPlayerResumed")) } - panic(fmt.Errorf("message structs.structs.EventAlphaRefineDetail does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventPlayerResumed 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_EventAlphaRefineDetail) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_EventPlayerResumed) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.EventAlphaRefineDetail.playerId": - return protoreflect.ValueOfString("") - case "structs.structs.EventAlphaRefineDetail.primaryAddress": + case "structs.structs.EventPlayerResumed.playerId": return protoreflect.ValueOfString("") - case "structs.structs.EventAlphaRefineDetail.amount": - return protoreflect.ValueOfUint64(uint64(0)) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAlphaRefineDetail")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventPlayerResumed")) } - panic(fmt.Errorf("message structs.structs.EventAlphaRefineDetail does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventPlayerResumed 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_EventAlphaRefineDetail) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_EventPlayerResumed) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.EventAlphaRefineDetail", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.EventPlayerResumed", d.FullName())) } panic("unreachable") } @@ -10845,7 +10804,7 @@ func (x *fastReflection_EventAlphaRefineDetail) WhichOneof(d protoreflect.OneofD // 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_EventAlphaRefineDetail) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_EventPlayerResumed) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -10856,7 +10815,7 @@ func (x *fastReflection_EventAlphaRefineDetail) GetUnknown() protoreflect.RawFie // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventAlphaRefineDetail) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_EventPlayerResumed) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -10868,7 +10827,7 @@ func (x *fastReflection_EventAlphaRefineDetail) SetUnknown(fields protoreflect.R // 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_EventAlphaRefineDetail) IsValid() bool { +func (x *fastReflection_EventPlayerResumed) IsValid() bool { return x != nil } @@ -10878,9 +10837,9 @@ func (x *fastReflection_EventAlphaRefineDetail) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_EventAlphaRefineDetail) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_EventPlayerResumed) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*EventAlphaRefineDetail) + x := input.Message.Interface().(*EventPlayerResumed) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -10896,13 +10855,6 @@ func (x *fastReflection_EventAlphaRefineDetail) ProtoMethods() *protoiface.Metho if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } - l = len(x.PrimaryAddress) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } - if x.Amount != 0 { - n += 1 + runtime.Sov(uint64(x.Amount)) - } if x.unknownFields != nil { n += len(x.unknownFields) } @@ -10913,7 +10865,7 @@ func (x *fastReflection_EventAlphaRefineDetail) ProtoMethods() *protoiface.Metho } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*EventAlphaRefineDetail) + x := input.Message.Interface().(*EventPlayerResumed) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -10932,24 +10884,12 @@ func (x *fastReflection_EventAlphaRefineDetail) ProtoMethods() *protoiface.Metho i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if x.Amount != 0 { - i = runtime.EncodeVarint(dAtA, i, uint64(x.Amount)) + if len(x.PlayerId) > 0 { + i -= len(x.PlayerId) + copy(dAtA[i:], x.PlayerId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.PlayerId))) i-- - dAtA[i] = 0x18 - } - if len(x.PrimaryAddress) > 0 { - i -= len(x.PrimaryAddress) - copy(dAtA[i:], x.PrimaryAddress) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.PrimaryAddress))) - i-- - dAtA[i] = 0x12 - } - if len(x.PlayerId) > 0 { - i -= len(x.PlayerId) - copy(dAtA[i:], x.PlayerId) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.PlayerId))) - i-- - dAtA[i] = 0xa + dAtA[i] = 0xa } if input.Buf != nil { input.Buf = append(input.Buf, dAtA...) @@ -10962,7 +10902,7 @@ func (x *fastReflection_EventAlphaRefineDetail) ProtoMethods() *protoiface.Metho }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*EventAlphaRefineDetail) + x := input.Message.Interface().(*EventPlayerResumed) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -10994,10 +10934,10 @@ func (x *fastReflection_EventAlphaRefineDetail) ProtoMethods() *protoiface.Metho fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventAlphaRefineDetail: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventPlayerResumed: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventAlphaRefineDetail: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventPlayerResumed: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -11032,57 +10972,6 @@ func (x *fastReflection_EventAlphaRefineDetail) ProtoMethods() *protoiface.Metho } x.PlayerId = 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 PrimaryAddress", 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.PrimaryAddress = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Amount", wireType) - } - x.Amount = 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.Amount |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } default: iNdEx = preIndex skippy, err := runtime.Skip(dAtA[iNdEx:]) @@ -11119,25 +11008,25 @@ func (x *fastReflection_EventAlphaRefineDetail) ProtoMethods() *protoiface.Metho } var ( - md_EventAlphaInfuse protoreflect.MessageDescriptor - fd_EventAlphaInfuse_eventAlphaInfuseDetail protoreflect.FieldDescriptor + md_EventDelete protoreflect.MessageDescriptor + fd_EventDelete_objectId protoreflect.FieldDescriptor ) func init() { file_structs_structs_events_proto_init() - md_EventAlphaInfuse = File_structs_structs_events_proto.Messages().ByName("EventAlphaInfuse") - fd_EventAlphaInfuse_eventAlphaInfuseDetail = md_EventAlphaInfuse.Fields().ByName("eventAlphaInfuseDetail") + md_EventDelete = File_structs_structs_events_proto.Messages().ByName("EventDelete") + fd_EventDelete_objectId = md_EventDelete.Fields().ByName("objectId") } -var _ protoreflect.Message = (*fastReflection_EventAlphaInfuse)(nil) +var _ protoreflect.Message = (*fastReflection_EventDelete)(nil) -type fastReflection_EventAlphaInfuse EventAlphaInfuse +type fastReflection_EventDelete EventDelete -func (x *EventAlphaInfuse) ProtoReflect() protoreflect.Message { - return (*fastReflection_EventAlphaInfuse)(x) +func (x *EventDelete) ProtoReflect() protoreflect.Message { + return (*fastReflection_EventDelete)(x) } -func (x *EventAlphaInfuse) slowProtoReflect() protoreflect.Message { +func (x *EventDelete) slowProtoReflect() protoreflect.Message { mi := &file_structs_structs_events_proto_msgTypes[25] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -11149,43 +11038,43 @@ func (x *EventAlphaInfuse) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_EventAlphaInfuse_messageType fastReflection_EventAlphaInfuse_messageType -var _ protoreflect.MessageType = fastReflection_EventAlphaInfuse_messageType{} +var _fastReflection_EventDelete_messageType fastReflection_EventDelete_messageType +var _ protoreflect.MessageType = fastReflection_EventDelete_messageType{} -type fastReflection_EventAlphaInfuse_messageType struct{} +type fastReflection_EventDelete_messageType struct{} -func (x fastReflection_EventAlphaInfuse_messageType) Zero() protoreflect.Message { - return (*fastReflection_EventAlphaInfuse)(nil) +func (x fastReflection_EventDelete_messageType) Zero() protoreflect.Message { + return (*fastReflection_EventDelete)(nil) } -func (x fastReflection_EventAlphaInfuse_messageType) New() protoreflect.Message { - return new(fastReflection_EventAlphaInfuse) +func (x fastReflection_EventDelete_messageType) New() protoreflect.Message { + return new(fastReflection_EventDelete) } -func (x fastReflection_EventAlphaInfuse_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_EventAlphaInfuse +func (x fastReflection_EventDelete_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_EventDelete } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_EventAlphaInfuse) Descriptor() protoreflect.MessageDescriptor { - return md_EventAlphaInfuse +func (x *fastReflection_EventDelete) Descriptor() protoreflect.MessageDescriptor { + return md_EventDelete } // 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_EventAlphaInfuse) Type() protoreflect.MessageType { - return _fastReflection_EventAlphaInfuse_messageType +func (x *fastReflection_EventDelete) Type() protoreflect.MessageType { + return _fastReflection_EventDelete_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_EventAlphaInfuse) New() protoreflect.Message { - return new(fastReflection_EventAlphaInfuse) +func (x *fastReflection_EventDelete) New() protoreflect.Message { + return new(fastReflection_EventDelete) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_EventAlphaInfuse) Interface() protoreflect.ProtoMessage { - return (*EventAlphaInfuse)(x) +func (x *fastReflection_EventDelete) Interface() protoreflect.ProtoMessage { + return (*EventDelete)(x) } // Range iterates over every populated field in an undefined order, @@ -11193,10 +11082,10 @@ func (x *fastReflection_EventAlphaInfuse) Interface() protoreflect.ProtoMessage // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_EventAlphaInfuse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.EventAlphaInfuseDetail != nil { - value := protoreflect.ValueOfMessage(x.EventAlphaInfuseDetail.ProtoReflect()) - if !f(fd_EventAlphaInfuse_eventAlphaInfuseDetail, value) { +func (x *fastReflection_EventDelete) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.ObjectId != "" { + value := protoreflect.ValueOfString(x.ObjectId) + if !f(fd_EventDelete_objectId, value) { return } } @@ -11213,15 +11102,15 @@ func (x *fastReflection_EventAlphaInfuse) Range(f func(protoreflect.FieldDescrip // 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_EventAlphaInfuse) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_EventDelete) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.EventAlphaInfuse.eventAlphaInfuseDetail": - return x.EventAlphaInfuseDetail != nil + case "structs.structs.EventDelete.objectId": + return x.ObjectId != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAlphaInfuse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventDelete")) } - panic(fmt.Errorf("message structs.structs.EventAlphaInfuse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventDelete does not contain field %s", fd.FullName())) } } @@ -11231,15 +11120,15 @@ func (x *fastReflection_EventAlphaInfuse) Has(fd protoreflect.FieldDescriptor) b // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventAlphaInfuse) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_EventDelete) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.EventAlphaInfuse.eventAlphaInfuseDetail": - x.EventAlphaInfuseDetail = nil + case "structs.structs.EventDelete.objectId": + x.ObjectId = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAlphaInfuse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventDelete")) } - panic(fmt.Errorf("message structs.structs.EventAlphaInfuse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventDelete does not contain field %s", fd.FullName())) } } @@ -11249,16 +11138,16 @@ func (x *fastReflection_EventAlphaInfuse) Clear(fd protoreflect.FieldDescriptor) // 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_EventAlphaInfuse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_EventDelete) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.EventAlphaInfuse.eventAlphaInfuseDetail": - value := x.EventAlphaInfuseDetail - return protoreflect.ValueOfMessage(value.ProtoReflect()) + case "structs.structs.EventDelete.objectId": + value := x.ObjectId + return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAlphaInfuse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventDelete")) } - panic(fmt.Errorf("message structs.structs.EventAlphaInfuse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.EventDelete does not contain field %s", descriptor.FullName())) } } @@ -11272,15 +11161,15 @@ func (x *fastReflection_EventAlphaInfuse) Get(descriptor protoreflect.FieldDescr // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventAlphaInfuse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_EventDelete) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.EventAlphaInfuse.eventAlphaInfuseDetail": - x.EventAlphaInfuseDetail = value.Message().Interface().(*EventAlphaInfuseDetail) + case "structs.structs.EventDelete.objectId": + x.ObjectId = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAlphaInfuse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventDelete")) } - panic(fmt.Errorf("message structs.structs.EventAlphaInfuse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventDelete does not contain field %s", fd.FullName())) } } @@ -11294,44 +11183,40 @@ func (x *fastReflection_EventAlphaInfuse) Set(fd protoreflect.FieldDescriptor, v // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventAlphaInfuse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_EventDelete) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.EventAlphaInfuse.eventAlphaInfuseDetail": - if x.EventAlphaInfuseDetail == nil { - x.EventAlphaInfuseDetail = new(EventAlphaInfuseDetail) - } - return protoreflect.ValueOfMessage(x.EventAlphaInfuseDetail.ProtoReflect()) + case "structs.structs.EventDelete.objectId": + panic(fmt.Errorf("field objectId of message structs.structs.EventDelete is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAlphaInfuse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventDelete")) } - panic(fmt.Errorf("message structs.structs.EventAlphaInfuse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventDelete 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_EventAlphaInfuse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_EventDelete) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.EventAlphaInfuse.eventAlphaInfuseDetail": - m := new(EventAlphaInfuseDetail) - return protoreflect.ValueOfMessage(m.ProtoReflect()) + case "structs.structs.EventDelete.objectId": + return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAlphaInfuse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventDelete")) } - panic(fmt.Errorf("message structs.structs.EventAlphaInfuse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventDelete 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_EventAlphaInfuse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_EventDelete) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.EventAlphaInfuse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.EventDelete", d.FullName())) } panic("unreachable") } @@ -11339,7 +11224,7 @@ func (x *fastReflection_EventAlphaInfuse) WhichOneof(d protoreflect.OneofDescrip // 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_EventAlphaInfuse) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_EventDelete) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -11350,7 +11235,7 @@ func (x *fastReflection_EventAlphaInfuse) GetUnknown() protoreflect.RawFields { // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventAlphaInfuse) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_EventDelete) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -11362,7 +11247,7 @@ func (x *fastReflection_EventAlphaInfuse) SetUnknown(fields protoreflect.RawFiel // 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_EventAlphaInfuse) IsValid() bool { +func (x *fastReflection_EventDelete) IsValid() bool { return x != nil } @@ -11372,9 +11257,9 @@ func (x *fastReflection_EventAlphaInfuse) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_EventAlphaInfuse) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_EventDelete) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*EventAlphaInfuse) + x := input.Message.Interface().(*EventDelete) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -11386,8 +11271,8 @@ func (x *fastReflection_EventAlphaInfuse) ProtoMethods() *protoiface.Methods { var n int var l int _ = l - if x.EventAlphaInfuseDetail != nil { - l = options.Size(x.EventAlphaInfuseDetail) + l = len(x.ObjectId) + if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } if x.unknownFields != nil { @@ -11400,7 +11285,7 @@ func (x *fastReflection_EventAlphaInfuse) ProtoMethods() *protoiface.Methods { } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*EventAlphaInfuse) + x := input.Message.Interface().(*EventDelete) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -11419,17 +11304,10 @@ func (x *fastReflection_EventAlphaInfuse) ProtoMethods() *protoiface.Methods { i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if x.EventAlphaInfuseDetail != nil { - encoded, err := options.Marshal(x.EventAlphaInfuseDetail) - 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))) + if len(x.ObjectId) > 0 { + i -= len(x.ObjectId) + copy(dAtA[i:], x.ObjectId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.ObjectId))) i-- dAtA[i] = 0xa } @@ -11444,7 +11322,7 @@ func (x *fastReflection_EventAlphaInfuse) ProtoMethods() *protoiface.Methods { }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*EventAlphaInfuse) + x := input.Message.Interface().(*EventDelete) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -11476,17 +11354,17 @@ func (x *fastReflection_EventAlphaInfuse) ProtoMethods() *protoiface.Methods { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventAlphaInfuse: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventDelete: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventAlphaInfuse: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventDelete: 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 EventAlphaInfuseDetail", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ObjectId", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -11496,27 +11374,23 @@ func (x *fastReflection_EventAlphaInfuse) ProtoMethods() *protoiface.Methods { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength } - postIndex := iNdEx + msglen + 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 } - if x.EventAlphaInfuseDetail == nil { - x.EventAlphaInfuseDetail = &EventAlphaInfuseDetail{} - } - if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.EventAlphaInfuseDetail); err != nil { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err - } + x.ObjectId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -11554,29 +11428,25 @@ func (x *fastReflection_EventAlphaInfuse) ProtoMethods() *protoiface.Methods { } var ( - md_EventAlphaInfuseDetail protoreflect.MessageDescriptor - fd_EventAlphaInfuseDetail_playerId protoreflect.FieldDescriptor - fd_EventAlphaInfuseDetail_primaryAddress protoreflect.FieldDescriptor - fd_EventAlphaInfuseDetail_amount protoreflect.FieldDescriptor + md_EventAddressAssociation protoreflect.MessageDescriptor + fd_EventAddressAssociation_addressAssociation protoreflect.FieldDescriptor ) func init() { file_structs_structs_events_proto_init() - md_EventAlphaInfuseDetail = File_structs_structs_events_proto.Messages().ByName("EventAlphaInfuseDetail") - fd_EventAlphaInfuseDetail_playerId = md_EventAlphaInfuseDetail.Fields().ByName("playerId") - fd_EventAlphaInfuseDetail_primaryAddress = md_EventAlphaInfuseDetail.Fields().ByName("primaryAddress") - fd_EventAlphaInfuseDetail_amount = md_EventAlphaInfuseDetail.Fields().ByName("amount") + md_EventAddressAssociation = File_structs_structs_events_proto.Messages().ByName("EventAddressAssociation") + fd_EventAddressAssociation_addressAssociation = md_EventAddressAssociation.Fields().ByName("addressAssociation") } -var _ protoreflect.Message = (*fastReflection_EventAlphaInfuseDetail)(nil) +var _ protoreflect.Message = (*fastReflection_EventAddressAssociation)(nil) -type fastReflection_EventAlphaInfuseDetail EventAlphaInfuseDetail +type fastReflection_EventAddressAssociation EventAddressAssociation -func (x *EventAlphaInfuseDetail) ProtoReflect() protoreflect.Message { - return (*fastReflection_EventAlphaInfuseDetail)(x) +func (x *EventAddressAssociation) ProtoReflect() protoreflect.Message { + return (*fastReflection_EventAddressAssociation)(x) } -func (x *EventAlphaInfuseDetail) slowProtoReflect() protoreflect.Message { +func (x *EventAddressAssociation) slowProtoReflect() protoreflect.Message { mi := &file_structs_structs_events_proto_msgTypes[26] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -11588,43 +11458,43 @@ func (x *EventAlphaInfuseDetail) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_EventAlphaInfuseDetail_messageType fastReflection_EventAlphaInfuseDetail_messageType -var _ protoreflect.MessageType = fastReflection_EventAlphaInfuseDetail_messageType{} +var _fastReflection_EventAddressAssociation_messageType fastReflection_EventAddressAssociation_messageType +var _ protoreflect.MessageType = fastReflection_EventAddressAssociation_messageType{} -type fastReflection_EventAlphaInfuseDetail_messageType struct{} +type fastReflection_EventAddressAssociation_messageType struct{} -func (x fastReflection_EventAlphaInfuseDetail_messageType) Zero() protoreflect.Message { - return (*fastReflection_EventAlphaInfuseDetail)(nil) +func (x fastReflection_EventAddressAssociation_messageType) Zero() protoreflect.Message { + return (*fastReflection_EventAddressAssociation)(nil) } -func (x fastReflection_EventAlphaInfuseDetail_messageType) New() protoreflect.Message { - return new(fastReflection_EventAlphaInfuseDetail) +func (x fastReflection_EventAddressAssociation_messageType) New() protoreflect.Message { + return new(fastReflection_EventAddressAssociation) } -func (x fastReflection_EventAlphaInfuseDetail_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_EventAlphaInfuseDetail +func (x fastReflection_EventAddressAssociation_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_EventAddressAssociation } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_EventAlphaInfuseDetail) Descriptor() protoreflect.MessageDescriptor { - return md_EventAlphaInfuseDetail +func (x *fastReflection_EventAddressAssociation) Descriptor() protoreflect.MessageDescriptor { + return md_EventAddressAssociation } // 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_EventAlphaInfuseDetail) Type() protoreflect.MessageType { - return _fastReflection_EventAlphaInfuseDetail_messageType +func (x *fastReflection_EventAddressAssociation) Type() protoreflect.MessageType { + return _fastReflection_EventAddressAssociation_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_EventAlphaInfuseDetail) New() protoreflect.Message { - return new(fastReflection_EventAlphaInfuseDetail) +func (x *fastReflection_EventAddressAssociation) New() protoreflect.Message { + return new(fastReflection_EventAddressAssociation) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_EventAlphaInfuseDetail) Interface() protoreflect.ProtoMessage { - return (*EventAlphaInfuseDetail)(x) +func (x *fastReflection_EventAddressAssociation) Interface() protoreflect.ProtoMessage { + return (*EventAddressAssociation)(x) } // Range iterates over every populated field in an undefined order, @@ -11632,22 +11502,10 @@ func (x *fastReflection_EventAlphaInfuseDetail) Interface() protoreflect.ProtoMe // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_EventAlphaInfuseDetail) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.PlayerId != "" { - value := protoreflect.ValueOfString(x.PlayerId) - if !f(fd_EventAlphaInfuseDetail_playerId, value) { - return - } - } - if x.PrimaryAddress != "" { - value := protoreflect.ValueOfString(x.PrimaryAddress) - if !f(fd_EventAlphaInfuseDetail_primaryAddress, value) { - return - } - } - if x.Amount != uint64(0) { - value := protoreflect.ValueOfUint64(x.Amount) - if !f(fd_EventAlphaInfuseDetail_amount, value) { +func (x *fastReflection_EventAddressAssociation) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.AddressAssociation != nil { + value := protoreflect.ValueOfMessage(x.AddressAssociation.ProtoReflect()) + if !f(fd_EventAddressAssociation_addressAssociation, value) { return } } @@ -11664,19 +11522,15 @@ func (x *fastReflection_EventAlphaInfuseDetail) Range(f func(protoreflect.FieldD // 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_EventAlphaInfuseDetail) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_EventAddressAssociation) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.EventAlphaInfuseDetail.playerId": - return x.PlayerId != "" - case "structs.structs.EventAlphaInfuseDetail.primaryAddress": - return x.PrimaryAddress != "" - case "structs.structs.EventAlphaInfuseDetail.amount": - return x.Amount != uint64(0) + case "structs.structs.EventAddressAssociation.addressAssociation": + return x.AddressAssociation != nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAlphaInfuseDetail")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAddressAssociation")) } - panic(fmt.Errorf("message structs.structs.EventAlphaInfuseDetail does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventAddressAssociation does not contain field %s", fd.FullName())) } } @@ -11686,19 +11540,15 @@ func (x *fastReflection_EventAlphaInfuseDetail) Has(fd protoreflect.FieldDescrip // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventAlphaInfuseDetail) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_EventAddressAssociation) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.EventAlphaInfuseDetail.playerId": - x.PlayerId = "" - case "structs.structs.EventAlphaInfuseDetail.primaryAddress": - x.PrimaryAddress = "" - case "structs.structs.EventAlphaInfuseDetail.amount": - x.Amount = uint64(0) + case "structs.structs.EventAddressAssociation.addressAssociation": + x.AddressAssociation = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAlphaInfuseDetail")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAddressAssociation")) } - panic(fmt.Errorf("message structs.structs.EventAlphaInfuseDetail does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventAddressAssociation does not contain field %s", fd.FullName())) } } @@ -11708,22 +11558,16 @@ func (x *fastReflection_EventAlphaInfuseDetail) Clear(fd protoreflect.FieldDescr // 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_EventAlphaInfuseDetail) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_EventAddressAssociation) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.EventAlphaInfuseDetail.playerId": - value := x.PlayerId - return protoreflect.ValueOfString(value) - case "structs.structs.EventAlphaInfuseDetail.primaryAddress": - value := x.PrimaryAddress - return protoreflect.ValueOfString(value) - case "structs.structs.EventAlphaInfuseDetail.amount": - value := x.Amount - return protoreflect.ValueOfUint64(value) + case "structs.structs.EventAddressAssociation.addressAssociation": + value := x.AddressAssociation + return protoreflect.ValueOfMessage(value.ProtoReflect()) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAlphaInfuseDetail")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAddressAssociation")) } - panic(fmt.Errorf("message structs.structs.EventAlphaInfuseDetail does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.EventAddressAssociation does not contain field %s", descriptor.FullName())) } } @@ -11737,19 +11581,15 @@ func (x *fastReflection_EventAlphaInfuseDetail) Get(descriptor protoreflect.Fiel // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventAlphaInfuseDetail) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_EventAddressAssociation) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.EventAlphaInfuseDetail.playerId": - x.PlayerId = value.Interface().(string) - case "structs.structs.EventAlphaInfuseDetail.primaryAddress": - x.PrimaryAddress = value.Interface().(string) - case "structs.structs.EventAlphaInfuseDetail.amount": - x.Amount = value.Uint() + case "structs.structs.EventAddressAssociation.addressAssociation": + x.AddressAssociation = value.Message().Interface().(*AddressAssociation) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAlphaInfuseDetail")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAddressAssociation")) } - panic(fmt.Errorf("message structs.structs.EventAlphaInfuseDetail does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventAddressAssociation does not contain field %s", fd.FullName())) } } @@ -11763,48 +11603,44 @@ func (x *fastReflection_EventAlphaInfuseDetail) Set(fd protoreflect.FieldDescrip // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventAlphaInfuseDetail) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_EventAddressAssociation) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.EventAlphaInfuseDetail.playerId": - panic(fmt.Errorf("field playerId of message structs.structs.EventAlphaInfuseDetail is not mutable")) - case "structs.structs.EventAlphaInfuseDetail.primaryAddress": - panic(fmt.Errorf("field primaryAddress of message structs.structs.EventAlphaInfuseDetail is not mutable")) - case "structs.structs.EventAlphaInfuseDetail.amount": - panic(fmt.Errorf("field amount of message structs.structs.EventAlphaInfuseDetail is not mutable")) + case "structs.structs.EventAddressAssociation.addressAssociation": + if x.AddressAssociation == nil { + x.AddressAssociation = new(AddressAssociation) + } + return protoreflect.ValueOfMessage(x.AddressAssociation.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAlphaInfuseDetail")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAddressAssociation")) } - panic(fmt.Errorf("message structs.structs.EventAlphaInfuseDetail does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventAddressAssociation 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_EventAlphaInfuseDetail) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_EventAddressAssociation) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.EventAlphaInfuseDetail.playerId": - return protoreflect.ValueOfString("") - case "structs.structs.EventAlphaInfuseDetail.primaryAddress": - return protoreflect.ValueOfString("") - case "structs.structs.EventAlphaInfuseDetail.amount": - return protoreflect.ValueOfUint64(uint64(0)) + case "structs.structs.EventAddressAssociation.addressAssociation": + m := new(AddressAssociation) + return protoreflect.ValueOfMessage(m.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAlphaInfuseDetail")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAddressAssociation")) } - panic(fmt.Errorf("message structs.structs.EventAlphaInfuseDetail does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventAddressAssociation 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_EventAlphaInfuseDetail) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_EventAddressAssociation) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.EventAlphaInfuseDetail", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.EventAddressAssociation", d.FullName())) } panic("unreachable") } @@ -11812,7 +11648,7 @@ func (x *fastReflection_EventAlphaInfuseDetail) WhichOneof(d protoreflect.OneofD // 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_EventAlphaInfuseDetail) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_EventAddressAssociation) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -11823,7 +11659,7 @@ func (x *fastReflection_EventAlphaInfuseDetail) GetUnknown() protoreflect.RawFie // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventAlphaInfuseDetail) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_EventAddressAssociation) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -11835,7 +11671,7 @@ func (x *fastReflection_EventAlphaInfuseDetail) SetUnknown(fields protoreflect.R // 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_EventAlphaInfuseDetail) IsValid() bool { +func (x *fastReflection_EventAddressAssociation) IsValid() bool { return x != nil } @@ -11845,9 +11681,9 @@ func (x *fastReflection_EventAlphaInfuseDetail) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_EventAlphaInfuseDetail) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_EventAddressAssociation) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*EventAlphaInfuseDetail) + x := input.Message.Interface().(*EventAddressAssociation) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -11859,17 +11695,10 @@ func (x *fastReflection_EventAlphaInfuseDetail) ProtoMethods() *protoiface.Metho var n int var l int _ = l - l = len(x.PlayerId) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } - l = len(x.PrimaryAddress) - if l > 0 { + if x.AddressAssociation != nil { + l = options.Size(x.AddressAssociation) n += 1 + l + runtime.Sov(uint64(l)) } - if x.Amount != 0 { - n += 1 + runtime.Sov(uint64(x.Amount)) - } if x.unknownFields != nil { n += len(x.unknownFields) } @@ -11880,7 +11709,7 @@ func (x *fastReflection_EventAlphaInfuseDetail) ProtoMethods() *protoiface.Metho } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*EventAlphaInfuseDetail) + x := input.Message.Interface().(*EventAddressAssociation) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -11899,22 +11728,17 @@ func (x *fastReflection_EventAlphaInfuseDetail) ProtoMethods() *protoiface.Metho i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if x.Amount != 0 { - i = runtime.EncodeVarint(dAtA, i, uint64(x.Amount)) - i-- - dAtA[i] = 0x18 - } - if len(x.PrimaryAddress) > 0 { - i -= len(x.PrimaryAddress) - copy(dAtA[i:], x.PrimaryAddress) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.PrimaryAddress))) - i-- - dAtA[i] = 0x12 - } - if len(x.PlayerId) > 0 { - i -= len(x.PlayerId) - copy(dAtA[i:], x.PlayerId) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.PlayerId))) + if x.AddressAssociation != nil { + encoded, err := options.Marshal(x.AddressAssociation) + 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 } @@ -11929,7 +11753,7 @@ func (x *fastReflection_EventAlphaInfuseDetail) ProtoMethods() *protoiface.Metho }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*EventAlphaInfuseDetail) + x := input.Message.Interface().(*EventAddressAssociation) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -11961,17 +11785,17 @@ func (x *fastReflection_EventAlphaInfuseDetail) ProtoMethods() *protoiface.Metho fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventAlphaInfuseDetail: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventAddressAssociation: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventAlphaInfuseDetail: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventAddressAssociation: 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 PlayerId", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field AddressAssociation", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -11981,80 +11805,33 @@ func (x *fastReflection_EventAlphaInfuseDetail) ProtoMethods() *protoiface.Metho } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength } - postIndex := iNdEx + intStringLen + 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 } - x.PlayerId = string(dAtA[iNdEx:postIndex]) + if x.AddressAssociation == nil { + x.AddressAssociation = &AddressAssociation{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.AddressAssociation); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } iNdEx = postIndex - case 2: - if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field PrimaryAddress", 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.PrimaryAddress = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Amount", wireType) - } - x.Amount = 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.Amount |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := runtime.Skip(dAtA[iNdEx:]) - if err != nil { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + 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 @@ -12086,25 +11863,25 @@ func (x *fastReflection_EventAlphaInfuseDetail) ProtoMethods() *protoiface.Metho } var ( - md_EventAlphaDefuse protoreflect.MessageDescriptor - fd_EventAlphaDefuse_eventAlphaDefuseDetail protoreflect.FieldDescriptor + md_EventAddressActivity protoreflect.MessageDescriptor + fd_EventAddressActivity_addressActivity protoreflect.FieldDescriptor ) func init() { file_structs_structs_events_proto_init() - md_EventAlphaDefuse = File_structs_structs_events_proto.Messages().ByName("EventAlphaDefuse") - fd_EventAlphaDefuse_eventAlphaDefuseDetail = md_EventAlphaDefuse.Fields().ByName("eventAlphaDefuseDetail") + md_EventAddressActivity = File_structs_structs_events_proto.Messages().ByName("EventAddressActivity") + fd_EventAddressActivity_addressActivity = md_EventAddressActivity.Fields().ByName("addressActivity") } -var _ protoreflect.Message = (*fastReflection_EventAlphaDefuse)(nil) +var _ protoreflect.Message = (*fastReflection_EventAddressActivity)(nil) -type fastReflection_EventAlphaDefuse EventAlphaDefuse +type fastReflection_EventAddressActivity EventAddressActivity -func (x *EventAlphaDefuse) ProtoReflect() protoreflect.Message { - return (*fastReflection_EventAlphaDefuse)(x) +func (x *EventAddressActivity) ProtoReflect() protoreflect.Message { + return (*fastReflection_EventAddressActivity)(x) } -func (x *EventAlphaDefuse) slowProtoReflect() protoreflect.Message { +func (x *EventAddressActivity) slowProtoReflect() protoreflect.Message { mi := &file_structs_structs_events_proto_msgTypes[27] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -12116,43 +11893,43 @@ func (x *EventAlphaDefuse) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_EventAlphaDefuse_messageType fastReflection_EventAlphaDefuse_messageType -var _ protoreflect.MessageType = fastReflection_EventAlphaDefuse_messageType{} +var _fastReflection_EventAddressActivity_messageType fastReflection_EventAddressActivity_messageType +var _ protoreflect.MessageType = fastReflection_EventAddressActivity_messageType{} -type fastReflection_EventAlphaDefuse_messageType struct{} +type fastReflection_EventAddressActivity_messageType struct{} -func (x fastReflection_EventAlphaDefuse_messageType) Zero() protoreflect.Message { - return (*fastReflection_EventAlphaDefuse)(nil) +func (x fastReflection_EventAddressActivity_messageType) Zero() protoreflect.Message { + return (*fastReflection_EventAddressActivity)(nil) } -func (x fastReflection_EventAlphaDefuse_messageType) New() protoreflect.Message { - return new(fastReflection_EventAlphaDefuse) +func (x fastReflection_EventAddressActivity_messageType) New() protoreflect.Message { + return new(fastReflection_EventAddressActivity) } -func (x fastReflection_EventAlphaDefuse_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_EventAlphaDefuse +func (x fastReflection_EventAddressActivity_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_EventAddressActivity } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_EventAlphaDefuse) Descriptor() protoreflect.MessageDescriptor { - return md_EventAlphaDefuse +func (x *fastReflection_EventAddressActivity) Descriptor() protoreflect.MessageDescriptor { + return md_EventAddressActivity } // 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_EventAlphaDefuse) Type() protoreflect.MessageType { - return _fastReflection_EventAlphaDefuse_messageType +func (x *fastReflection_EventAddressActivity) Type() protoreflect.MessageType { + return _fastReflection_EventAddressActivity_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_EventAlphaDefuse) New() protoreflect.Message { - return new(fastReflection_EventAlphaDefuse) +func (x *fastReflection_EventAddressActivity) New() protoreflect.Message { + return new(fastReflection_EventAddressActivity) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_EventAlphaDefuse) Interface() protoreflect.ProtoMessage { - return (*EventAlphaDefuse)(x) +func (x *fastReflection_EventAddressActivity) Interface() protoreflect.ProtoMessage { + return (*EventAddressActivity)(x) } // Range iterates over every populated field in an undefined order, @@ -12160,10 +11937,10 @@ func (x *fastReflection_EventAlphaDefuse) Interface() protoreflect.ProtoMessage // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_EventAlphaDefuse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.EventAlphaDefuseDetail != nil { - value := protoreflect.ValueOfMessage(x.EventAlphaDefuseDetail.ProtoReflect()) - if !f(fd_EventAlphaDefuse_eventAlphaDefuseDetail, value) { +func (x *fastReflection_EventAddressActivity) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.AddressActivity != nil { + value := protoreflect.ValueOfMessage(x.AddressActivity.ProtoReflect()) + if !f(fd_EventAddressActivity_addressActivity, value) { return } } @@ -12180,15 +11957,15 @@ func (x *fastReflection_EventAlphaDefuse) Range(f func(protoreflect.FieldDescrip // 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_EventAlphaDefuse) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_EventAddressActivity) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.EventAlphaDefuse.eventAlphaDefuseDetail": - return x.EventAlphaDefuseDetail != nil + case "structs.structs.EventAddressActivity.addressActivity": + return x.AddressActivity != nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAlphaDefuse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAddressActivity")) } - panic(fmt.Errorf("message structs.structs.EventAlphaDefuse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventAddressActivity does not contain field %s", fd.FullName())) } } @@ -12198,15 +11975,15 @@ func (x *fastReflection_EventAlphaDefuse) Has(fd protoreflect.FieldDescriptor) b // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventAlphaDefuse) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_EventAddressActivity) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.EventAlphaDefuse.eventAlphaDefuseDetail": - x.EventAlphaDefuseDetail = nil + case "structs.structs.EventAddressActivity.addressActivity": + x.AddressActivity = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAlphaDefuse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAddressActivity")) } - panic(fmt.Errorf("message structs.structs.EventAlphaDefuse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventAddressActivity does not contain field %s", fd.FullName())) } } @@ -12216,16 +11993,16 @@ func (x *fastReflection_EventAlphaDefuse) Clear(fd protoreflect.FieldDescriptor) // 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_EventAlphaDefuse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_EventAddressActivity) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.EventAlphaDefuse.eventAlphaDefuseDetail": - value := x.EventAlphaDefuseDetail + case "structs.structs.EventAddressActivity.addressActivity": + value := x.AddressActivity return protoreflect.ValueOfMessage(value.ProtoReflect()) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAlphaDefuse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAddressActivity")) } - panic(fmt.Errorf("message structs.structs.EventAlphaDefuse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.EventAddressActivity does not contain field %s", descriptor.FullName())) } } @@ -12239,15 +12016,15 @@ func (x *fastReflection_EventAlphaDefuse) Get(descriptor protoreflect.FieldDescr // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventAlphaDefuse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_EventAddressActivity) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.EventAlphaDefuse.eventAlphaDefuseDetail": - x.EventAlphaDefuseDetail = value.Message().Interface().(*EventAlphaDefuseDetail) + case "structs.structs.EventAddressActivity.addressActivity": + x.AddressActivity = value.Message().Interface().(*AddressActivity) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAlphaDefuse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAddressActivity")) } - panic(fmt.Errorf("message structs.structs.EventAlphaDefuse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventAddressActivity does not contain field %s", fd.FullName())) } } @@ -12261,44 +12038,44 @@ func (x *fastReflection_EventAlphaDefuse) Set(fd protoreflect.FieldDescriptor, v // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventAlphaDefuse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_EventAddressActivity) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.EventAlphaDefuse.eventAlphaDefuseDetail": - if x.EventAlphaDefuseDetail == nil { - x.EventAlphaDefuseDetail = new(EventAlphaDefuseDetail) + case "structs.structs.EventAddressActivity.addressActivity": + if x.AddressActivity == nil { + x.AddressActivity = new(AddressActivity) } - return protoreflect.ValueOfMessage(x.EventAlphaDefuseDetail.ProtoReflect()) + return protoreflect.ValueOfMessage(x.AddressActivity.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAlphaDefuse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAddressActivity")) } - panic(fmt.Errorf("message structs.structs.EventAlphaDefuse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventAddressActivity 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_EventAlphaDefuse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_EventAddressActivity) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.EventAlphaDefuse.eventAlphaDefuseDetail": - m := new(EventAlphaDefuseDetail) + case "structs.structs.EventAddressActivity.addressActivity": + m := new(AddressActivity) return protoreflect.ValueOfMessage(m.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAlphaDefuse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAddressActivity")) } - panic(fmt.Errorf("message structs.structs.EventAlphaDefuse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventAddressActivity 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_EventAlphaDefuse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_EventAddressActivity) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.EventAlphaDefuse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.EventAddressActivity", d.FullName())) } panic("unreachable") } @@ -12306,7 +12083,7 @@ func (x *fastReflection_EventAlphaDefuse) WhichOneof(d protoreflect.OneofDescrip // 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_EventAlphaDefuse) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_EventAddressActivity) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -12317,7 +12094,7 @@ func (x *fastReflection_EventAlphaDefuse) GetUnknown() protoreflect.RawFields { // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventAlphaDefuse) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_EventAddressActivity) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -12329,7 +12106,7 @@ func (x *fastReflection_EventAlphaDefuse) SetUnknown(fields protoreflect.RawFiel // 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_EventAlphaDefuse) IsValid() bool { +func (x *fastReflection_EventAddressActivity) IsValid() bool { return x != nil } @@ -12339,9 +12116,9 @@ func (x *fastReflection_EventAlphaDefuse) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_EventAlphaDefuse) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_EventAddressActivity) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*EventAlphaDefuse) + x := input.Message.Interface().(*EventAddressActivity) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -12353,8 +12130,8 @@ func (x *fastReflection_EventAlphaDefuse) ProtoMethods() *protoiface.Methods { var n int var l int _ = l - if x.EventAlphaDefuseDetail != nil { - l = options.Size(x.EventAlphaDefuseDetail) + if x.AddressActivity != nil { + l = options.Size(x.AddressActivity) n += 1 + l + runtime.Sov(uint64(l)) } if x.unknownFields != nil { @@ -12367,7 +12144,7 @@ func (x *fastReflection_EventAlphaDefuse) ProtoMethods() *protoiface.Methods { } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*EventAlphaDefuse) + x := input.Message.Interface().(*EventAddressActivity) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -12386,8 +12163,8 @@ func (x *fastReflection_EventAlphaDefuse) ProtoMethods() *protoiface.Methods { i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if x.EventAlphaDefuseDetail != nil { - encoded, err := options.Marshal(x.EventAlphaDefuseDetail) + if x.AddressActivity != nil { + encoded, err := options.Marshal(x.AddressActivity) if err != nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -12411,7 +12188,7 @@ func (x *fastReflection_EventAlphaDefuse) ProtoMethods() *protoiface.Methods { }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*EventAlphaDefuse) + x := input.Message.Interface().(*EventAddressActivity) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -12443,15 +12220,15 @@ func (x *fastReflection_EventAlphaDefuse) ProtoMethods() *protoiface.Methods { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventAlphaDefuse: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventAddressActivity: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventAlphaDefuse: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventAddressActivity: 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 EventAlphaDefuseDetail", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field AddressActivity", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -12478,10 +12255,10 @@ func (x *fastReflection_EventAlphaDefuse) ProtoMethods() *protoiface.Methods { if postIndex > l { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - if x.EventAlphaDefuseDetail == nil { - x.EventAlphaDefuseDetail = &EventAlphaDefuseDetail{} + if x.AddressActivity == nil { + x.AddressActivity = &AddressActivity{} } - if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.EventAlphaDefuseDetail); err != nil { + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.AddressActivity); err != nil { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err } iNdEx = postIndex @@ -12521,27 +12298,25 @@ func (x *fastReflection_EventAlphaDefuse) ProtoMethods() *protoiface.Methods { } var ( - md_EventAlphaDefuseDetail protoreflect.MessageDescriptor - fd_EventAlphaDefuseDetail_primaryAddress protoreflect.FieldDescriptor - fd_EventAlphaDefuseDetail_amount protoreflect.FieldDescriptor + md_EventGuildBankMint protoreflect.MessageDescriptor + fd_EventGuildBankMint_eventGuildBankMintDetail protoreflect.FieldDescriptor ) func init() { file_structs_structs_events_proto_init() - md_EventAlphaDefuseDetail = File_structs_structs_events_proto.Messages().ByName("EventAlphaDefuseDetail") - fd_EventAlphaDefuseDetail_primaryAddress = md_EventAlphaDefuseDetail.Fields().ByName("primaryAddress") - fd_EventAlphaDefuseDetail_amount = md_EventAlphaDefuseDetail.Fields().ByName("amount") + md_EventGuildBankMint = File_structs_structs_events_proto.Messages().ByName("EventGuildBankMint") + fd_EventGuildBankMint_eventGuildBankMintDetail = md_EventGuildBankMint.Fields().ByName("eventGuildBankMintDetail") } -var _ protoreflect.Message = (*fastReflection_EventAlphaDefuseDetail)(nil) +var _ protoreflect.Message = (*fastReflection_EventGuildBankMint)(nil) -type fastReflection_EventAlphaDefuseDetail EventAlphaDefuseDetail +type fastReflection_EventGuildBankMint EventGuildBankMint -func (x *EventAlphaDefuseDetail) ProtoReflect() protoreflect.Message { - return (*fastReflection_EventAlphaDefuseDetail)(x) +func (x *EventGuildBankMint) ProtoReflect() protoreflect.Message { + return (*fastReflection_EventGuildBankMint)(x) } -func (x *EventAlphaDefuseDetail) slowProtoReflect() protoreflect.Message { +func (x *EventGuildBankMint) slowProtoReflect() protoreflect.Message { mi := &file_structs_structs_events_proto_msgTypes[28] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -12553,43 +12328,43 @@ func (x *EventAlphaDefuseDetail) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_EventAlphaDefuseDetail_messageType fastReflection_EventAlphaDefuseDetail_messageType -var _ protoreflect.MessageType = fastReflection_EventAlphaDefuseDetail_messageType{} +var _fastReflection_EventGuildBankMint_messageType fastReflection_EventGuildBankMint_messageType +var _ protoreflect.MessageType = fastReflection_EventGuildBankMint_messageType{} -type fastReflection_EventAlphaDefuseDetail_messageType struct{} +type fastReflection_EventGuildBankMint_messageType struct{} -func (x fastReflection_EventAlphaDefuseDetail_messageType) Zero() protoreflect.Message { - return (*fastReflection_EventAlphaDefuseDetail)(nil) +func (x fastReflection_EventGuildBankMint_messageType) Zero() protoreflect.Message { + return (*fastReflection_EventGuildBankMint)(nil) } -func (x fastReflection_EventAlphaDefuseDetail_messageType) New() protoreflect.Message { - return new(fastReflection_EventAlphaDefuseDetail) +func (x fastReflection_EventGuildBankMint_messageType) New() protoreflect.Message { + return new(fastReflection_EventGuildBankMint) } -func (x fastReflection_EventAlphaDefuseDetail_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_EventAlphaDefuseDetail +func (x fastReflection_EventGuildBankMint_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_EventGuildBankMint } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_EventAlphaDefuseDetail) Descriptor() protoreflect.MessageDescriptor { - return md_EventAlphaDefuseDetail +func (x *fastReflection_EventGuildBankMint) Descriptor() protoreflect.MessageDescriptor { + return md_EventGuildBankMint } // 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_EventAlphaDefuseDetail) Type() protoreflect.MessageType { - return _fastReflection_EventAlphaDefuseDetail_messageType +func (x *fastReflection_EventGuildBankMint) Type() protoreflect.MessageType { + return _fastReflection_EventGuildBankMint_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_EventAlphaDefuseDetail) New() protoreflect.Message { - return new(fastReflection_EventAlphaDefuseDetail) +func (x *fastReflection_EventGuildBankMint) New() protoreflect.Message { + return new(fastReflection_EventGuildBankMint) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_EventAlphaDefuseDetail) Interface() protoreflect.ProtoMessage { - return (*EventAlphaDefuseDetail)(x) +func (x *fastReflection_EventGuildBankMint) Interface() protoreflect.ProtoMessage { + return (*EventGuildBankMint)(x) } // Range iterates over every populated field in an undefined order, @@ -12597,16 +12372,10 @@ func (x *fastReflection_EventAlphaDefuseDetail) Interface() protoreflect.ProtoMe // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_EventAlphaDefuseDetail) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.PrimaryAddress != "" { - value := protoreflect.ValueOfString(x.PrimaryAddress) - if !f(fd_EventAlphaDefuseDetail_primaryAddress, value) { - return - } - } - if x.Amount != uint64(0) { - value := protoreflect.ValueOfUint64(x.Amount) - if !f(fd_EventAlphaDefuseDetail_amount, value) { +func (x *fastReflection_EventGuildBankMint) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.EventGuildBankMintDetail != nil { + value := protoreflect.ValueOfMessage(x.EventGuildBankMintDetail.ProtoReflect()) + if !f(fd_EventGuildBankMint_eventGuildBankMintDetail, value) { return } } @@ -12623,17 +12392,15 @@ func (x *fastReflection_EventAlphaDefuseDetail) Range(f func(protoreflect.FieldD // 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_EventAlphaDefuseDetail) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_EventGuildBankMint) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.EventAlphaDefuseDetail.primaryAddress": - return x.PrimaryAddress != "" - case "structs.structs.EventAlphaDefuseDetail.amount": - return x.Amount != uint64(0) + case "structs.structs.EventGuildBankMint.eventGuildBankMintDetail": + return x.EventGuildBankMintDetail != nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAlphaDefuseDetail")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventGuildBankMint")) } - panic(fmt.Errorf("message structs.structs.EventAlphaDefuseDetail does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventGuildBankMint does not contain field %s", fd.FullName())) } } @@ -12643,17 +12410,15 @@ func (x *fastReflection_EventAlphaDefuseDetail) Has(fd protoreflect.FieldDescrip // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventAlphaDefuseDetail) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_EventGuildBankMint) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.EventAlphaDefuseDetail.primaryAddress": - x.PrimaryAddress = "" - case "structs.structs.EventAlphaDefuseDetail.amount": - x.Amount = uint64(0) + case "structs.structs.EventGuildBankMint.eventGuildBankMintDetail": + x.EventGuildBankMintDetail = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAlphaDefuseDetail")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventGuildBankMint")) } - panic(fmt.Errorf("message structs.structs.EventAlphaDefuseDetail does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventGuildBankMint does not contain field %s", fd.FullName())) } } @@ -12663,19 +12428,16 @@ func (x *fastReflection_EventAlphaDefuseDetail) Clear(fd protoreflect.FieldDescr // 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_EventAlphaDefuseDetail) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_EventGuildBankMint) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.EventAlphaDefuseDetail.primaryAddress": - value := x.PrimaryAddress - return protoreflect.ValueOfString(value) - case "structs.structs.EventAlphaDefuseDetail.amount": - value := x.Amount - return protoreflect.ValueOfUint64(value) + case "structs.structs.EventGuildBankMint.eventGuildBankMintDetail": + value := x.EventGuildBankMintDetail + return protoreflect.ValueOfMessage(value.ProtoReflect()) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAlphaDefuseDetail")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventGuildBankMint")) } - panic(fmt.Errorf("message structs.structs.EventAlphaDefuseDetail does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.EventGuildBankMint does not contain field %s", descriptor.FullName())) } } @@ -12689,17 +12451,15 @@ func (x *fastReflection_EventAlphaDefuseDetail) Get(descriptor protoreflect.Fiel // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventAlphaDefuseDetail) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_EventGuildBankMint) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.EventAlphaDefuseDetail.primaryAddress": - x.PrimaryAddress = value.Interface().(string) - case "structs.structs.EventAlphaDefuseDetail.amount": - x.Amount = value.Uint() + case "structs.structs.EventGuildBankMint.eventGuildBankMintDetail": + x.EventGuildBankMintDetail = value.Message().Interface().(*EventGuildBankMintDetail) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAlphaDefuseDetail")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventGuildBankMint")) } - panic(fmt.Errorf("message structs.structs.EventAlphaDefuseDetail does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventGuildBankMint does not contain field %s", fd.FullName())) } } @@ -12713,44 +12473,44 @@ func (x *fastReflection_EventAlphaDefuseDetail) Set(fd protoreflect.FieldDescrip // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventAlphaDefuseDetail) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_EventGuildBankMint) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.EventAlphaDefuseDetail.primaryAddress": - panic(fmt.Errorf("field primaryAddress of message structs.structs.EventAlphaDefuseDetail is not mutable")) - case "structs.structs.EventAlphaDefuseDetail.amount": - panic(fmt.Errorf("field amount of message structs.structs.EventAlphaDefuseDetail is not mutable")) + case "structs.structs.EventGuildBankMint.eventGuildBankMintDetail": + if x.EventGuildBankMintDetail == nil { + x.EventGuildBankMintDetail = new(EventGuildBankMintDetail) + } + return protoreflect.ValueOfMessage(x.EventGuildBankMintDetail.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAlphaDefuseDetail")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventGuildBankMint")) } - panic(fmt.Errorf("message structs.structs.EventAlphaDefuseDetail does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventGuildBankMint 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_EventAlphaDefuseDetail) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_EventGuildBankMint) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.EventAlphaDefuseDetail.primaryAddress": - return protoreflect.ValueOfString("") - case "structs.structs.EventAlphaDefuseDetail.amount": - return protoreflect.ValueOfUint64(uint64(0)) + case "structs.structs.EventGuildBankMint.eventGuildBankMintDetail": + m := new(EventGuildBankMintDetail) + return protoreflect.ValueOfMessage(m.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAlphaDefuseDetail")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventGuildBankMint")) } - panic(fmt.Errorf("message structs.structs.EventAlphaDefuseDetail does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventGuildBankMint 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_EventAlphaDefuseDetail) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_EventGuildBankMint) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.EventAlphaDefuseDetail", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.EventGuildBankMint", d.FullName())) } panic("unreachable") } @@ -12758,7 +12518,7 @@ func (x *fastReflection_EventAlphaDefuseDetail) WhichOneof(d protoreflect.OneofD // 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_EventAlphaDefuseDetail) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_EventGuildBankMint) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -12769,7 +12529,7 @@ func (x *fastReflection_EventAlphaDefuseDetail) GetUnknown() protoreflect.RawFie // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventAlphaDefuseDetail) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_EventGuildBankMint) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -12781,7 +12541,7 @@ func (x *fastReflection_EventAlphaDefuseDetail) SetUnknown(fields protoreflect.R // 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_EventAlphaDefuseDetail) IsValid() bool { +func (x *fastReflection_EventGuildBankMint) IsValid() bool { return x != nil } @@ -12791,9 +12551,9 @@ func (x *fastReflection_EventAlphaDefuseDetail) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_EventAlphaDefuseDetail) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_EventGuildBankMint) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*EventAlphaDefuseDetail) + x := input.Message.Interface().(*EventGuildBankMint) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -12805,13 +12565,10 @@ func (x *fastReflection_EventAlphaDefuseDetail) ProtoMethods() *protoiface.Metho var n int var l int _ = l - l = len(x.PrimaryAddress) - if l > 0 { + if x.EventGuildBankMintDetail != nil { + l = options.Size(x.EventGuildBankMintDetail) n += 1 + l + runtime.Sov(uint64(l)) } - if x.Amount != 0 { - n += 1 + runtime.Sov(uint64(x.Amount)) - } if x.unknownFields != nil { n += len(x.unknownFields) } @@ -12822,7 +12579,7 @@ func (x *fastReflection_EventAlphaDefuseDetail) ProtoMethods() *protoiface.Metho } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*EventAlphaDefuseDetail) + x := input.Message.Interface().(*EventGuildBankMint) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -12841,15 +12598,17 @@ func (x *fastReflection_EventAlphaDefuseDetail) ProtoMethods() *protoiface.Metho i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if x.Amount != 0 { - i = runtime.EncodeVarint(dAtA, i, uint64(x.Amount)) - i-- - dAtA[i] = 0x10 - } - if len(x.PrimaryAddress) > 0 { - i -= len(x.PrimaryAddress) - copy(dAtA[i:], x.PrimaryAddress) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.PrimaryAddress))) + if x.EventGuildBankMintDetail != nil { + encoded, err := options.Marshal(x.EventGuildBankMintDetail) + 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 } @@ -12864,7 +12623,7 @@ func (x *fastReflection_EventAlphaDefuseDetail) ProtoMethods() *protoiface.Metho }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*EventAlphaDefuseDetail) + x := input.Message.Interface().(*EventGuildBankMint) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -12896,17 +12655,17 @@ func (x *fastReflection_EventAlphaDefuseDetail) ProtoMethods() *protoiface.Metho fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventAlphaDefuseDetail: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventGuildBankMint: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventAlphaDefuseDetail: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventGuildBankMint: 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 PrimaryAddress", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field EventGuildBankMintDetail", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -12916,43 +12675,28 @@ func (x *fastReflection_EventAlphaDefuseDetail) ProtoMethods() *protoiface.Metho } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength } - postIndex := iNdEx + intStringLen + 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 } - x.PrimaryAddress = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Amount", wireType) + if x.EventGuildBankMintDetail == nil { + x.EventGuildBankMintDetail = &EventGuildBankMintDetail{} } - x.Amount = 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.Amount |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.EventGuildBankMintDetail); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := runtime.Skip(dAtA[iNdEx:]) @@ -12989,25 +12733,31 @@ func (x *fastReflection_EventAlphaDefuseDetail) ProtoMethods() *protoiface.Metho } var ( - md_EventOreTheft protoreflect.MessageDescriptor - fd_EventOreTheft_eventOreTheftDetail protoreflect.FieldDescriptor + md_EventGuildBankMintDetail protoreflect.MessageDescriptor + fd_EventGuildBankMintDetail_guildId protoreflect.FieldDescriptor + fd_EventGuildBankMintDetail_amountAlpha protoreflect.FieldDescriptor + fd_EventGuildBankMintDetail_amountToken protoreflect.FieldDescriptor + fd_EventGuildBankMintDetail_playerId protoreflect.FieldDescriptor ) func init() { file_structs_structs_events_proto_init() - md_EventOreTheft = File_structs_structs_events_proto.Messages().ByName("EventOreTheft") - fd_EventOreTheft_eventOreTheftDetail = md_EventOreTheft.Fields().ByName("eventOreTheftDetail") + md_EventGuildBankMintDetail = File_structs_structs_events_proto.Messages().ByName("EventGuildBankMintDetail") + fd_EventGuildBankMintDetail_guildId = md_EventGuildBankMintDetail.Fields().ByName("guildId") + fd_EventGuildBankMintDetail_amountAlpha = md_EventGuildBankMintDetail.Fields().ByName("amountAlpha") + fd_EventGuildBankMintDetail_amountToken = md_EventGuildBankMintDetail.Fields().ByName("amountToken") + fd_EventGuildBankMintDetail_playerId = md_EventGuildBankMintDetail.Fields().ByName("playerId") } -var _ protoreflect.Message = (*fastReflection_EventOreTheft)(nil) +var _ protoreflect.Message = (*fastReflection_EventGuildBankMintDetail)(nil) -type fastReflection_EventOreTheft EventOreTheft +type fastReflection_EventGuildBankMintDetail EventGuildBankMintDetail -func (x *EventOreTheft) ProtoReflect() protoreflect.Message { - return (*fastReflection_EventOreTheft)(x) +func (x *EventGuildBankMintDetail) ProtoReflect() protoreflect.Message { + return (*fastReflection_EventGuildBankMintDetail)(x) } -func (x *EventOreTheft) slowProtoReflect() protoreflect.Message { +func (x *EventGuildBankMintDetail) slowProtoReflect() protoreflect.Message { mi := &file_structs_structs_events_proto_msgTypes[29] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -13019,43 +12769,43 @@ func (x *EventOreTheft) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_EventOreTheft_messageType fastReflection_EventOreTheft_messageType -var _ protoreflect.MessageType = fastReflection_EventOreTheft_messageType{} +var _fastReflection_EventGuildBankMintDetail_messageType fastReflection_EventGuildBankMintDetail_messageType +var _ protoreflect.MessageType = fastReflection_EventGuildBankMintDetail_messageType{} -type fastReflection_EventOreTheft_messageType struct{} +type fastReflection_EventGuildBankMintDetail_messageType struct{} -func (x fastReflection_EventOreTheft_messageType) Zero() protoreflect.Message { - return (*fastReflection_EventOreTheft)(nil) +func (x fastReflection_EventGuildBankMintDetail_messageType) Zero() protoreflect.Message { + return (*fastReflection_EventGuildBankMintDetail)(nil) } -func (x fastReflection_EventOreTheft_messageType) New() protoreflect.Message { - return new(fastReflection_EventOreTheft) +func (x fastReflection_EventGuildBankMintDetail_messageType) New() protoreflect.Message { + return new(fastReflection_EventGuildBankMintDetail) } -func (x fastReflection_EventOreTheft_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_EventOreTheft +func (x fastReflection_EventGuildBankMintDetail_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_EventGuildBankMintDetail } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_EventOreTheft) Descriptor() protoreflect.MessageDescriptor { - return md_EventOreTheft +func (x *fastReflection_EventGuildBankMintDetail) Descriptor() protoreflect.MessageDescriptor { + return md_EventGuildBankMintDetail } // 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_EventOreTheft) Type() protoreflect.MessageType { - return _fastReflection_EventOreTheft_messageType +func (x *fastReflection_EventGuildBankMintDetail) Type() protoreflect.MessageType { + return _fastReflection_EventGuildBankMintDetail_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_EventOreTheft) New() protoreflect.Message { - return new(fastReflection_EventOreTheft) +func (x *fastReflection_EventGuildBankMintDetail) New() protoreflect.Message { + return new(fastReflection_EventGuildBankMintDetail) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_EventOreTheft) Interface() protoreflect.ProtoMessage { - return (*EventOreTheft)(x) +func (x *fastReflection_EventGuildBankMintDetail) Interface() protoreflect.ProtoMessage { + return (*EventGuildBankMintDetail)(x) } // Range iterates over every populated field in an undefined order, @@ -13063,10 +12813,28 @@ func (x *fastReflection_EventOreTheft) Interface() protoreflect.ProtoMessage { // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_EventOreTheft) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.EventOreTheftDetail != nil { - value := protoreflect.ValueOfMessage(x.EventOreTheftDetail.ProtoReflect()) - if !f(fd_EventOreTheft_eventOreTheftDetail, value) { +func (x *fastReflection_EventGuildBankMintDetail) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.GuildId != "" { + value := protoreflect.ValueOfString(x.GuildId) + if !f(fd_EventGuildBankMintDetail_guildId, value) { + return + } + } + if x.AmountAlpha != uint64(0) { + value := protoreflect.ValueOfUint64(x.AmountAlpha) + if !f(fd_EventGuildBankMintDetail_amountAlpha, value) { + return + } + } + if x.AmountToken != uint64(0) { + value := protoreflect.ValueOfUint64(x.AmountToken) + if !f(fd_EventGuildBankMintDetail_amountToken, value) { + return + } + } + if x.PlayerId != "" { + value := protoreflect.ValueOfString(x.PlayerId) + if !f(fd_EventGuildBankMintDetail_playerId, value) { return } } @@ -13083,15 +12851,21 @@ func (x *fastReflection_EventOreTheft) Range(f func(protoreflect.FieldDescriptor // 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_EventOreTheft) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_EventGuildBankMintDetail) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.EventOreTheft.eventOreTheftDetail": - return x.EventOreTheftDetail != nil + case "structs.structs.EventGuildBankMintDetail.guildId": + return x.GuildId != "" + case "structs.structs.EventGuildBankMintDetail.amountAlpha": + return x.AmountAlpha != uint64(0) + case "structs.structs.EventGuildBankMintDetail.amountToken": + return x.AmountToken != uint64(0) + case "structs.structs.EventGuildBankMintDetail.playerId": + return x.PlayerId != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventOreTheft")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventGuildBankMintDetail")) } - panic(fmt.Errorf("message structs.structs.EventOreTheft does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventGuildBankMintDetail does not contain field %s", fd.FullName())) } } @@ -13101,15 +12875,21 @@ func (x *fastReflection_EventOreTheft) Has(fd protoreflect.FieldDescriptor) bool // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventOreTheft) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_EventGuildBankMintDetail) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.EventOreTheft.eventOreTheftDetail": - x.EventOreTheftDetail = nil + case "structs.structs.EventGuildBankMintDetail.guildId": + x.GuildId = "" + case "structs.structs.EventGuildBankMintDetail.amountAlpha": + x.AmountAlpha = uint64(0) + case "structs.structs.EventGuildBankMintDetail.amountToken": + x.AmountToken = uint64(0) + case "structs.structs.EventGuildBankMintDetail.playerId": + x.PlayerId = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventOreTheft")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventGuildBankMintDetail")) } - panic(fmt.Errorf("message structs.structs.EventOreTheft does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventGuildBankMintDetail does not contain field %s", fd.FullName())) } } @@ -13119,16 +12899,25 @@ func (x *fastReflection_EventOreTheft) Clear(fd protoreflect.FieldDescriptor) { // 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_EventOreTheft) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_EventGuildBankMintDetail) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.EventOreTheft.eventOreTheftDetail": - value := x.EventOreTheftDetail - return protoreflect.ValueOfMessage(value.ProtoReflect()) + case "structs.structs.EventGuildBankMintDetail.guildId": + value := x.GuildId + return protoreflect.ValueOfString(value) + case "structs.structs.EventGuildBankMintDetail.amountAlpha": + value := x.AmountAlpha + return protoreflect.ValueOfUint64(value) + case "structs.structs.EventGuildBankMintDetail.amountToken": + value := x.AmountToken + return protoreflect.ValueOfUint64(value) + case "structs.structs.EventGuildBankMintDetail.playerId": + value := x.PlayerId + return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventOreTheft")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventGuildBankMintDetail")) } - panic(fmt.Errorf("message structs.structs.EventOreTheft does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.EventGuildBankMintDetail does not contain field %s", descriptor.FullName())) } } @@ -13142,15 +12931,21 @@ func (x *fastReflection_EventOreTheft) Get(descriptor protoreflect.FieldDescript // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventOreTheft) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_EventGuildBankMintDetail) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.EventOreTheft.eventOreTheftDetail": - x.EventOreTheftDetail = value.Message().Interface().(*EventOreTheftDetail) + case "structs.structs.EventGuildBankMintDetail.guildId": + x.GuildId = value.Interface().(string) + case "structs.structs.EventGuildBankMintDetail.amountAlpha": + x.AmountAlpha = value.Uint() + case "structs.structs.EventGuildBankMintDetail.amountToken": + x.AmountToken = value.Uint() + case "structs.structs.EventGuildBankMintDetail.playerId": + x.PlayerId = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventOreTheft")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventGuildBankMintDetail")) } - panic(fmt.Errorf("message structs.structs.EventOreTheft does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventGuildBankMintDetail does not contain field %s", fd.FullName())) } } @@ -13164,44 +12959,52 @@ func (x *fastReflection_EventOreTheft) Set(fd protoreflect.FieldDescriptor, valu // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventOreTheft) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_EventGuildBankMintDetail) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.EventOreTheft.eventOreTheftDetail": - if x.EventOreTheftDetail == nil { - x.EventOreTheftDetail = new(EventOreTheftDetail) - } - return protoreflect.ValueOfMessage(x.EventOreTheftDetail.ProtoReflect()) + case "structs.structs.EventGuildBankMintDetail.guildId": + panic(fmt.Errorf("field guildId of message structs.structs.EventGuildBankMintDetail is not mutable")) + case "structs.structs.EventGuildBankMintDetail.amountAlpha": + panic(fmt.Errorf("field amountAlpha of message structs.structs.EventGuildBankMintDetail is not mutable")) + case "structs.structs.EventGuildBankMintDetail.amountToken": + panic(fmt.Errorf("field amountToken of message structs.structs.EventGuildBankMintDetail is not mutable")) + case "structs.structs.EventGuildBankMintDetail.playerId": + panic(fmt.Errorf("field playerId of message structs.structs.EventGuildBankMintDetail is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventOreTheft")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventGuildBankMintDetail")) } - panic(fmt.Errorf("message structs.structs.EventOreTheft does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventGuildBankMintDetail 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_EventOreTheft) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_EventGuildBankMintDetail) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.EventOreTheft.eventOreTheftDetail": - m := new(EventOreTheftDetail) - return protoreflect.ValueOfMessage(m.ProtoReflect()) + case "structs.structs.EventGuildBankMintDetail.guildId": + return protoreflect.ValueOfString("") + case "structs.structs.EventGuildBankMintDetail.amountAlpha": + return protoreflect.ValueOfUint64(uint64(0)) + case "structs.structs.EventGuildBankMintDetail.amountToken": + return protoreflect.ValueOfUint64(uint64(0)) + case "structs.structs.EventGuildBankMintDetail.playerId": + return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventOreTheft")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventGuildBankMintDetail")) } - panic(fmt.Errorf("message structs.structs.EventOreTheft does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventGuildBankMintDetail 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_EventOreTheft) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_EventGuildBankMintDetail) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.EventOreTheft", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.EventGuildBankMintDetail", d.FullName())) } panic("unreachable") } @@ -13209,7 +13012,7 @@ func (x *fastReflection_EventOreTheft) WhichOneof(d protoreflect.OneofDescriptor // 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_EventOreTheft) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_EventGuildBankMintDetail) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -13220,7 +13023,7 @@ func (x *fastReflection_EventOreTheft) GetUnknown() protoreflect.RawFields { // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventOreTheft) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_EventGuildBankMintDetail) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -13232,7 +13035,7 @@ func (x *fastReflection_EventOreTheft) SetUnknown(fields protoreflect.RawFields) // 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_EventOreTheft) IsValid() bool { +func (x *fastReflection_EventGuildBankMintDetail) IsValid() bool { return x != nil } @@ -13242,9 +13045,9 @@ func (x *fastReflection_EventOreTheft) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_EventOreTheft) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_EventGuildBankMintDetail) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*EventOreTheft) + x := input.Message.Interface().(*EventGuildBankMintDetail) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -13256,8 +13059,18 @@ func (x *fastReflection_EventOreTheft) ProtoMethods() *protoiface.Methods { var n int var l int _ = l - if x.EventOreTheftDetail != nil { - l = options.Size(x.EventOreTheftDetail) + l = len(x.GuildId) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.AmountAlpha != 0 { + n += 1 + runtime.Sov(uint64(x.AmountAlpha)) + } + if x.AmountToken != 0 { + n += 1 + runtime.Sov(uint64(x.AmountToken)) + } + l = len(x.PlayerId) + if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } if x.unknownFields != nil { @@ -13270,7 +13083,7 @@ func (x *fastReflection_EventOreTheft) ProtoMethods() *protoiface.Methods { } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*EventOreTheft) + x := input.Message.Interface().(*EventGuildBankMintDetail) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -13289,17 +13102,27 @@ func (x *fastReflection_EventOreTheft) ProtoMethods() *protoiface.Methods { i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if x.EventOreTheftDetail != nil { - encoded, err := options.Marshal(x.EventOreTheftDetail) - 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))) + if len(x.PlayerId) > 0 { + i -= len(x.PlayerId) + copy(dAtA[i:], x.PlayerId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.PlayerId))) + i-- + dAtA[i] = 0x22 + } + if x.AmountToken != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.AmountToken)) + i-- + dAtA[i] = 0x18 + } + if x.AmountAlpha != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.AmountAlpha)) + i-- + dAtA[i] = 0x10 + } + if len(x.GuildId) > 0 { + i -= len(x.GuildId) + copy(dAtA[i:], x.GuildId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.GuildId))) i-- dAtA[i] = 0xa } @@ -13314,7 +13137,7 @@ func (x *fastReflection_EventOreTheft) ProtoMethods() *protoiface.Methods { }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*EventOreTheft) + x := input.Message.Interface().(*EventGuildBankMintDetail) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -13346,17 +13169,17 @@ func (x *fastReflection_EventOreTheft) ProtoMethods() *protoiface.Methods { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventOreTheft: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventGuildBankMintDetail: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventOreTheft: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventGuildBankMintDetail: 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 EventOreTheftDetail", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field GuildId", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -13366,33 +13189,99 @@ func (x *fastReflection_EventOreTheft) ProtoMethods() *protoiface.Methods { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength } - postIndex := iNdEx + msglen + 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 } - if x.EventOreTheftDetail == nil { - x.EventOreTheftDetail = &EventOreTheftDetail{} - } - if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.EventOreTheftDetail); err != nil { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err - } + x.GuildId = 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 + case 2: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field AmountAlpha", wireType) + } + x.AmountAlpha = 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.AmountAlpha |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field AmountToken", wireType) + } + x.AmountToken = 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.AmountToken |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 4: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field PlayerId", 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.PlayerId = 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 @@ -13424,33 +13313,25 @@ func (x *fastReflection_EventOreTheft) ProtoMethods() *protoiface.Methods { } var ( - md_EventOreTheftDetail protoreflect.MessageDescriptor - fd_EventOreTheftDetail_victimPrimaryAddress protoreflect.FieldDescriptor - fd_EventOreTheftDetail_victimPlayerId protoreflect.FieldDescriptor - fd_EventOreTheftDetail_thiefPrimaryAddress protoreflect.FieldDescriptor - fd_EventOreTheftDetail_thiefPlayerId protoreflect.FieldDescriptor - fd_EventOreTheftDetail_amount protoreflect.FieldDescriptor + md_EventGuildBankRedeem protoreflect.MessageDescriptor + fd_EventGuildBankRedeem_eventGuildBankRedeemDetail protoreflect.FieldDescriptor ) func init() { file_structs_structs_events_proto_init() - md_EventOreTheftDetail = File_structs_structs_events_proto.Messages().ByName("EventOreTheftDetail") - fd_EventOreTheftDetail_victimPrimaryAddress = md_EventOreTheftDetail.Fields().ByName("victimPrimaryAddress") - fd_EventOreTheftDetail_victimPlayerId = md_EventOreTheftDetail.Fields().ByName("victimPlayerId") - fd_EventOreTheftDetail_thiefPrimaryAddress = md_EventOreTheftDetail.Fields().ByName("thiefPrimaryAddress") - fd_EventOreTheftDetail_thiefPlayerId = md_EventOreTheftDetail.Fields().ByName("thiefPlayerId") - fd_EventOreTheftDetail_amount = md_EventOreTheftDetail.Fields().ByName("amount") + md_EventGuildBankRedeem = File_structs_structs_events_proto.Messages().ByName("EventGuildBankRedeem") + fd_EventGuildBankRedeem_eventGuildBankRedeemDetail = md_EventGuildBankRedeem.Fields().ByName("eventGuildBankRedeemDetail") } -var _ protoreflect.Message = (*fastReflection_EventOreTheftDetail)(nil) +var _ protoreflect.Message = (*fastReflection_EventGuildBankRedeem)(nil) -type fastReflection_EventOreTheftDetail EventOreTheftDetail +type fastReflection_EventGuildBankRedeem EventGuildBankRedeem -func (x *EventOreTheftDetail) ProtoReflect() protoreflect.Message { - return (*fastReflection_EventOreTheftDetail)(x) +func (x *EventGuildBankRedeem) ProtoReflect() protoreflect.Message { + return (*fastReflection_EventGuildBankRedeem)(x) } -func (x *EventOreTheftDetail) slowProtoReflect() protoreflect.Message { +func (x *EventGuildBankRedeem) slowProtoReflect() protoreflect.Message { mi := &file_structs_structs_events_proto_msgTypes[30] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -13462,43 +13343,43 @@ func (x *EventOreTheftDetail) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_EventOreTheftDetail_messageType fastReflection_EventOreTheftDetail_messageType -var _ protoreflect.MessageType = fastReflection_EventOreTheftDetail_messageType{} +var _fastReflection_EventGuildBankRedeem_messageType fastReflection_EventGuildBankRedeem_messageType +var _ protoreflect.MessageType = fastReflection_EventGuildBankRedeem_messageType{} -type fastReflection_EventOreTheftDetail_messageType struct{} +type fastReflection_EventGuildBankRedeem_messageType struct{} -func (x fastReflection_EventOreTheftDetail_messageType) Zero() protoreflect.Message { - return (*fastReflection_EventOreTheftDetail)(nil) +func (x fastReflection_EventGuildBankRedeem_messageType) Zero() protoreflect.Message { + return (*fastReflection_EventGuildBankRedeem)(nil) } -func (x fastReflection_EventOreTheftDetail_messageType) New() protoreflect.Message { - return new(fastReflection_EventOreTheftDetail) +func (x fastReflection_EventGuildBankRedeem_messageType) New() protoreflect.Message { + return new(fastReflection_EventGuildBankRedeem) } -func (x fastReflection_EventOreTheftDetail_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_EventOreTheftDetail +func (x fastReflection_EventGuildBankRedeem_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_EventGuildBankRedeem } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_EventOreTheftDetail) Descriptor() protoreflect.MessageDescriptor { - return md_EventOreTheftDetail +func (x *fastReflection_EventGuildBankRedeem) Descriptor() protoreflect.MessageDescriptor { + return md_EventGuildBankRedeem } // 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_EventOreTheftDetail) Type() protoreflect.MessageType { - return _fastReflection_EventOreTheftDetail_messageType +func (x *fastReflection_EventGuildBankRedeem) Type() protoreflect.MessageType { + return _fastReflection_EventGuildBankRedeem_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_EventOreTheftDetail) New() protoreflect.Message { - return new(fastReflection_EventOreTheftDetail) +func (x *fastReflection_EventGuildBankRedeem) New() protoreflect.Message { + return new(fastReflection_EventGuildBankRedeem) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_EventOreTheftDetail) Interface() protoreflect.ProtoMessage { - return (*EventOreTheftDetail)(x) +func (x *fastReflection_EventGuildBankRedeem) Interface() protoreflect.ProtoMessage { + return (*EventGuildBankRedeem)(x) } // Range iterates over every populated field in an undefined order, @@ -13506,34 +13387,10 @@ func (x *fastReflection_EventOreTheftDetail) Interface() protoreflect.ProtoMessa // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_EventOreTheftDetail) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.VictimPrimaryAddress != "" { - value := protoreflect.ValueOfString(x.VictimPrimaryAddress) - if !f(fd_EventOreTheftDetail_victimPrimaryAddress, value) { - return - } - } - if x.VictimPlayerId != "" { - value := protoreflect.ValueOfString(x.VictimPlayerId) - if !f(fd_EventOreTheftDetail_victimPlayerId, value) { - return - } - } - if x.ThiefPrimaryAddress != "" { - value := protoreflect.ValueOfString(x.ThiefPrimaryAddress) - if !f(fd_EventOreTheftDetail_thiefPrimaryAddress, value) { - return - } - } - if x.ThiefPlayerId != "" { - value := protoreflect.ValueOfString(x.ThiefPlayerId) - if !f(fd_EventOreTheftDetail_thiefPlayerId, value) { - return - } - } - if x.Amount != uint64(0) { - value := protoreflect.ValueOfUint64(x.Amount) - if !f(fd_EventOreTheftDetail_amount, value) { +func (x *fastReflection_EventGuildBankRedeem) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.EventGuildBankRedeemDetail != nil { + value := protoreflect.ValueOfMessage(x.EventGuildBankRedeemDetail.ProtoReflect()) + if !f(fd_EventGuildBankRedeem_eventGuildBankRedeemDetail, value) { return } } @@ -13550,23 +13407,15 @@ func (x *fastReflection_EventOreTheftDetail) Range(f func(protoreflect.FieldDesc // 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_EventOreTheftDetail) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_EventGuildBankRedeem) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.EventOreTheftDetail.victimPrimaryAddress": - return x.VictimPrimaryAddress != "" - case "structs.structs.EventOreTheftDetail.victimPlayerId": - return x.VictimPlayerId != "" - case "structs.structs.EventOreTheftDetail.thiefPrimaryAddress": - return x.ThiefPrimaryAddress != "" - case "structs.structs.EventOreTheftDetail.thiefPlayerId": - return x.ThiefPlayerId != "" - case "structs.structs.EventOreTheftDetail.amount": - return x.Amount != uint64(0) + case "structs.structs.EventGuildBankRedeem.eventGuildBankRedeemDetail": + return x.EventGuildBankRedeemDetail != nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventOreTheftDetail")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventGuildBankRedeem")) } - panic(fmt.Errorf("message structs.structs.EventOreTheftDetail does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventGuildBankRedeem does not contain field %s", fd.FullName())) } } @@ -13576,23 +13425,15 @@ func (x *fastReflection_EventOreTheftDetail) Has(fd protoreflect.FieldDescriptor // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventOreTheftDetail) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_EventGuildBankRedeem) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.EventOreTheftDetail.victimPrimaryAddress": - x.VictimPrimaryAddress = "" - case "structs.structs.EventOreTheftDetail.victimPlayerId": - x.VictimPlayerId = "" - case "structs.structs.EventOreTheftDetail.thiefPrimaryAddress": - x.ThiefPrimaryAddress = "" - case "structs.structs.EventOreTheftDetail.thiefPlayerId": - x.ThiefPlayerId = "" - case "structs.structs.EventOreTheftDetail.amount": - x.Amount = uint64(0) + case "structs.structs.EventGuildBankRedeem.eventGuildBankRedeemDetail": + x.EventGuildBankRedeemDetail = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventOreTheftDetail")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventGuildBankRedeem")) } - panic(fmt.Errorf("message structs.structs.EventOreTheftDetail does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventGuildBankRedeem does not contain field %s", fd.FullName())) } } @@ -13602,28 +13443,16 @@ func (x *fastReflection_EventOreTheftDetail) Clear(fd protoreflect.FieldDescript // 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_EventOreTheftDetail) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_EventGuildBankRedeem) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.EventOreTheftDetail.victimPrimaryAddress": - value := x.VictimPrimaryAddress - return protoreflect.ValueOfString(value) - case "structs.structs.EventOreTheftDetail.victimPlayerId": - value := x.VictimPlayerId - return protoreflect.ValueOfString(value) - case "structs.structs.EventOreTheftDetail.thiefPrimaryAddress": - value := x.ThiefPrimaryAddress - return protoreflect.ValueOfString(value) - case "structs.structs.EventOreTheftDetail.thiefPlayerId": - value := x.ThiefPlayerId - return protoreflect.ValueOfString(value) - case "structs.structs.EventOreTheftDetail.amount": - value := x.Amount - return protoreflect.ValueOfUint64(value) + case "structs.structs.EventGuildBankRedeem.eventGuildBankRedeemDetail": + value := x.EventGuildBankRedeemDetail + return protoreflect.ValueOfMessage(value.ProtoReflect()) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventOreTheftDetail")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventGuildBankRedeem")) } - panic(fmt.Errorf("message structs.structs.EventOreTheftDetail does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.EventGuildBankRedeem does not contain field %s", descriptor.FullName())) } } @@ -13637,23 +13466,15 @@ func (x *fastReflection_EventOreTheftDetail) Get(descriptor protoreflect.FieldDe // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventOreTheftDetail) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_EventGuildBankRedeem) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.EventOreTheftDetail.victimPrimaryAddress": - x.VictimPrimaryAddress = value.Interface().(string) - case "structs.structs.EventOreTheftDetail.victimPlayerId": - x.VictimPlayerId = value.Interface().(string) - case "structs.structs.EventOreTheftDetail.thiefPrimaryAddress": - x.ThiefPrimaryAddress = value.Interface().(string) - case "structs.structs.EventOreTheftDetail.thiefPlayerId": - x.ThiefPlayerId = value.Interface().(string) - case "structs.structs.EventOreTheftDetail.amount": - x.Amount = value.Uint() + case "structs.structs.EventGuildBankRedeem.eventGuildBankRedeemDetail": + x.EventGuildBankRedeemDetail = value.Message().Interface().(*EventGuildBankRedeemDetail) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventOreTheftDetail")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventGuildBankRedeem")) } - panic(fmt.Errorf("message structs.structs.EventOreTheftDetail does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventGuildBankRedeem does not contain field %s", fd.FullName())) } } @@ -13667,56 +13488,44 @@ func (x *fastReflection_EventOreTheftDetail) Set(fd protoreflect.FieldDescriptor // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventOreTheftDetail) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_EventGuildBankRedeem) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.EventOreTheftDetail.victimPrimaryAddress": - panic(fmt.Errorf("field victimPrimaryAddress of message structs.structs.EventOreTheftDetail is not mutable")) - case "structs.structs.EventOreTheftDetail.victimPlayerId": - panic(fmt.Errorf("field victimPlayerId of message structs.structs.EventOreTheftDetail is not mutable")) - case "structs.structs.EventOreTheftDetail.thiefPrimaryAddress": - panic(fmt.Errorf("field thiefPrimaryAddress of message structs.structs.EventOreTheftDetail is not mutable")) - case "structs.structs.EventOreTheftDetail.thiefPlayerId": - panic(fmt.Errorf("field thiefPlayerId of message structs.structs.EventOreTheftDetail is not mutable")) - case "structs.structs.EventOreTheftDetail.amount": - panic(fmt.Errorf("field amount of message structs.structs.EventOreTheftDetail is not mutable")) + case "structs.structs.EventGuildBankRedeem.eventGuildBankRedeemDetail": + if x.EventGuildBankRedeemDetail == nil { + x.EventGuildBankRedeemDetail = new(EventGuildBankRedeemDetail) + } + return protoreflect.ValueOfMessage(x.EventGuildBankRedeemDetail.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventOreTheftDetail")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventGuildBankRedeem")) } - panic(fmt.Errorf("message structs.structs.EventOreTheftDetail does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventGuildBankRedeem 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_EventOreTheftDetail) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_EventGuildBankRedeem) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.EventOreTheftDetail.victimPrimaryAddress": - return protoreflect.ValueOfString("") - case "structs.structs.EventOreTheftDetail.victimPlayerId": - return protoreflect.ValueOfString("") - case "structs.structs.EventOreTheftDetail.thiefPrimaryAddress": - return protoreflect.ValueOfString("") - case "structs.structs.EventOreTheftDetail.thiefPlayerId": - return protoreflect.ValueOfString("") - case "structs.structs.EventOreTheftDetail.amount": - return protoreflect.ValueOfUint64(uint64(0)) + case "structs.structs.EventGuildBankRedeem.eventGuildBankRedeemDetail": + m := new(EventGuildBankRedeemDetail) + return protoreflect.ValueOfMessage(m.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventOreTheftDetail")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventGuildBankRedeem")) } - panic(fmt.Errorf("message structs.structs.EventOreTheftDetail does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventGuildBankRedeem 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_EventOreTheftDetail) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_EventGuildBankRedeem) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.EventOreTheftDetail", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.EventGuildBankRedeem", d.FullName())) } panic("unreachable") } @@ -13724,7 +13533,7 @@ func (x *fastReflection_EventOreTheftDetail) WhichOneof(d protoreflect.OneofDesc // 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_EventOreTheftDetail) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_EventGuildBankRedeem) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -13735,7 +13544,7 @@ func (x *fastReflection_EventOreTheftDetail) GetUnknown() protoreflect.RawFields // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventOreTheftDetail) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_EventGuildBankRedeem) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -13747,7 +13556,7 @@ func (x *fastReflection_EventOreTheftDetail) SetUnknown(fields protoreflect.RawF // 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_EventOreTheftDetail) IsValid() bool { +func (x *fastReflection_EventGuildBankRedeem) IsValid() bool { return x != nil } @@ -13757,9 +13566,9 @@ func (x *fastReflection_EventOreTheftDetail) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_EventOreTheftDetail) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_EventGuildBankRedeem) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*EventOreTheftDetail) + x := input.Message.Interface().(*EventGuildBankRedeem) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -13771,25 +13580,10 @@ func (x *fastReflection_EventOreTheftDetail) ProtoMethods() *protoiface.Methods var n int var l int _ = l - l = len(x.VictimPrimaryAddress) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } - l = len(x.VictimPlayerId) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } - l = len(x.ThiefPrimaryAddress) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } - l = len(x.ThiefPlayerId) - if l > 0 { + if x.EventGuildBankRedeemDetail != nil { + l = options.Size(x.EventGuildBankRedeemDetail) n += 1 + l + runtime.Sov(uint64(l)) } - if x.Amount != 0 { - n += 1 + runtime.Sov(uint64(x.Amount)) - } if x.unknownFields != nil { n += len(x.unknownFields) } @@ -13800,7 +13594,7 @@ func (x *fastReflection_EventOreTheftDetail) ProtoMethods() *protoiface.Methods } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*EventOreTheftDetail) + x := input.Message.Interface().(*EventGuildBankRedeem) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -13819,38 +13613,19 @@ func (x *fastReflection_EventOreTheftDetail) ProtoMethods() *protoiface.Methods i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if x.Amount != 0 { - i = runtime.EncodeVarint(dAtA, i, uint64(x.Amount)) + if x.EventGuildBankRedeemDetail != nil { + encoded, err := options.Marshal(x.EventGuildBankRedeemDetail) + 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] = 0x28 - } - if len(x.ThiefPlayerId) > 0 { - i -= len(x.ThiefPlayerId) - copy(dAtA[i:], x.ThiefPlayerId) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.ThiefPlayerId))) - i-- - dAtA[i] = 0x22 - } - if len(x.ThiefPrimaryAddress) > 0 { - i -= len(x.ThiefPrimaryAddress) - copy(dAtA[i:], x.ThiefPrimaryAddress) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.ThiefPrimaryAddress))) - i-- - dAtA[i] = 0x1a - } - if len(x.VictimPlayerId) > 0 { - i -= len(x.VictimPlayerId) - copy(dAtA[i:], x.VictimPlayerId) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.VictimPlayerId))) - i-- - dAtA[i] = 0x12 - } - if len(x.VictimPrimaryAddress) > 0 { - i -= len(x.VictimPrimaryAddress) - copy(dAtA[i:], x.VictimPrimaryAddress) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.VictimPrimaryAddress))) - i-- - dAtA[i] = 0xa + dAtA[i] = 0xa } if input.Buf != nil { input.Buf = append(input.Buf, dAtA...) @@ -13863,7 +13638,7 @@ func (x *fastReflection_EventOreTheftDetail) ProtoMethods() *protoiface.Methods }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*EventOreTheftDetail) + x := input.Message.Interface().(*EventGuildBankRedeem) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -13895,81 +13670,17 @@ func (x *fastReflection_EventOreTheftDetail) ProtoMethods() *protoiface.Methods fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventOreTheftDetail: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventGuildBankRedeem: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventOreTheftDetail: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventGuildBankRedeem: 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 VictimPrimaryAddress", 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.VictimPrimaryAddress = 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 VictimPlayerId", 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.VictimPlayerId = 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 ThiefPrimaryAddress", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field EventGuildBankRedeemDetail", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -13979,75 +13690,28 @@ func (x *fastReflection_EventOreTheftDetail) ProtoMethods() *protoiface.Methods } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength } - postIndex := iNdEx + intStringLen + 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 } - x.ThiefPrimaryAddress = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ThiefPlayerId", 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 x.EventGuildBankRedeemDetail == nil { + x.EventGuildBankRedeemDetail = &EventGuildBankRedeemDetail{} } - if postIndex > l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.EventGuildBankRedeemDetail); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err } - x.ThiefPlayerId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 5: - if wireType != 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Amount", wireType) - } - x.Amount = 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.Amount |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } default: iNdEx = preIndex skippy, err := runtime.Skip(dAtA[iNdEx:]) @@ -14084,25 +13748,31 @@ func (x *fastReflection_EventOreTheftDetail) ProtoMethods() *protoiface.Methods } var ( - md_EventOreMigrate protoreflect.MessageDescriptor - fd_EventOreMigrate_eventOreMigrateDetail protoreflect.FieldDescriptor + md_EventGuildBankRedeemDetail protoreflect.MessageDescriptor + fd_EventGuildBankRedeemDetail_guildId protoreflect.FieldDescriptor + fd_EventGuildBankRedeemDetail_amountAlpha protoreflect.FieldDescriptor + fd_EventGuildBankRedeemDetail_amountToken protoreflect.FieldDescriptor + fd_EventGuildBankRedeemDetail_playerId protoreflect.FieldDescriptor ) func init() { file_structs_structs_events_proto_init() - md_EventOreMigrate = File_structs_structs_events_proto.Messages().ByName("EventOreMigrate") - fd_EventOreMigrate_eventOreMigrateDetail = md_EventOreMigrate.Fields().ByName("eventOreMigrateDetail") + md_EventGuildBankRedeemDetail = File_structs_structs_events_proto.Messages().ByName("EventGuildBankRedeemDetail") + fd_EventGuildBankRedeemDetail_guildId = md_EventGuildBankRedeemDetail.Fields().ByName("guildId") + fd_EventGuildBankRedeemDetail_amountAlpha = md_EventGuildBankRedeemDetail.Fields().ByName("amountAlpha") + fd_EventGuildBankRedeemDetail_amountToken = md_EventGuildBankRedeemDetail.Fields().ByName("amountToken") + fd_EventGuildBankRedeemDetail_playerId = md_EventGuildBankRedeemDetail.Fields().ByName("playerId") } -var _ protoreflect.Message = (*fastReflection_EventOreMigrate)(nil) +var _ protoreflect.Message = (*fastReflection_EventGuildBankRedeemDetail)(nil) -type fastReflection_EventOreMigrate EventOreMigrate +type fastReflection_EventGuildBankRedeemDetail EventGuildBankRedeemDetail -func (x *EventOreMigrate) ProtoReflect() protoreflect.Message { - return (*fastReflection_EventOreMigrate)(x) +func (x *EventGuildBankRedeemDetail) ProtoReflect() protoreflect.Message { + return (*fastReflection_EventGuildBankRedeemDetail)(x) } -func (x *EventOreMigrate) slowProtoReflect() protoreflect.Message { +func (x *EventGuildBankRedeemDetail) slowProtoReflect() protoreflect.Message { mi := &file_structs_structs_events_proto_msgTypes[31] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -14114,43 +13784,43 @@ func (x *EventOreMigrate) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_EventOreMigrate_messageType fastReflection_EventOreMigrate_messageType -var _ protoreflect.MessageType = fastReflection_EventOreMigrate_messageType{} +var _fastReflection_EventGuildBankRedeemDetail_messageType fastReflection_EventGuildBankRedeemDetail_messageType +var _ protoreflect.MessageType = fastReflection_EventGuildBankRedeemDetail_messageType{} -type fastReflection_EventOreMigrate_messageType struct{} +type fastReflection_EventGuildBankRedeemDetail_messageType struct{} -func (x fastReflection_EventOreMigrate_messageType) Zero() protoreflect.Message { - return (*fastReflection_EventOreMigrate)(nil) +func (x fastReflection_EventGuildBankRedeemDetail_messageType) Zero() protoreflect.Message { + return (*fastReflection_EventGuildBankRedeemDetail)(nil) } -func (x fastReflection_EventOreMigrate_messageType) New() protoreflect.Message { - return new(fastReflection_EventOreMigrate) +func (x fastReflection_EventGuildBankRedeemDetail_messageType) New() protoreflect.Message { + return new(fastReflection_EventGuildBankRedeemDetail) } -func (x fastReflection_EventOreMigrate_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_EventOreMigrate +func (x fastReflection_EventGuildBankRedeemDetail_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_EventGuildBankRedeemDetail } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_EventOreMigrate) Descriptor() protoreflect.MessageDescriptor { - return md_EventOreMigrate +func (x *fastReflection_EventGuildBankRedeemDetail) Descriptor() protoreflect.MessageDescriptor { + return md_EventGuildBankRedeemDetail } // 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_EventOreMigrate) Type() protoreflect.MessageType { - return _fastReflection_EventOreMigrate_messageType +func (x *fastReflection_EventGuildBankRedeemDetail) Type() protoreflect.MessageType { + return _fastReflection_EventGuildBankRedeemDetail_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_EventOreMigrate) New() protoreflect.Message { - return new(fastReflection_EventOreMigrate) +func (x *fastReflection_EventGuildBankRedeemDetail) New() protoreflect.Message { + return new(fastReflection_EventGuildBankRedeemDetail) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_EventOreMigrate) Interface() protoreflect.ProtoMessage { - return (*EventOreMigrate)(x) +func (x *fastReflection_EventGuildBankRedeemDetail) Interface() protoreflect.ProtoMessage { + return (*EventGuildBankRedeemDetail)(x) } // Range iterates over every populated field in an undefined order, @@ -14158,10 +13828,28 @@ func (x *fastReflection_EventOreMigrate) Interface() protoreflect.ProtoMessage { // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_EventOreMigrate) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.EventOreMigrateDetail != nil { - value := protoreflect.ValueOfMessage(x.EventOreMigrateDetail.ProtoReflect()) - if !f(fd_EventOreMigrate_eventOreMigrateDetail, value) { +func (x *fastReflection_EventGuildBankRedeemDetail) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.GuildId != "" { + value := protoreflect.ValueOfString(x.GuildId) + if !f(fd_EventGuildBankRedeemDetail_guildId, value) { + return + } + } + if x.AmountAlpha != uint64(0) { + value := protoreflect.ValueOfUint64(x.AmountAlpha) + if !f(fd_EventGuildBankRedeemDetail_amountAlpha, value) { + return + } + } + if x.AmountToken != uint64(0) { + value := protoreflect.ValueOfUint64(x.AmountToken) + if !f(fd_EventGuildBankRedeemDetail_amountToken, value) { + return + } + } + if x.PlayerId != "" { + value := protoreflect.ValueOfString(x.PlayerId) + if !f(fd_EventGuildBankRedeemDetail_playerId, value) { return } } @@ -14178,15 +13866,21 @@ func (x *fastReflection_EventOreMigrate) Range(f func(protoreflect.FieldDescript // 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_EventOreMigrate) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_EventGuildBankRedeemDetail) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.EventOreMigrate.eventOreMigrateDetail": - return x.EventOreMigrateDetail != nil + case "structs.structs.EventGuildBankRedeemDetail.guildId": + return x.GuildId != "" + case "structs.structs.EventGuildBankRedeemDetail.amountAlpha": + return x.AmountAlpha != uint64(0) + case "structs.structs.EventGuildBankRedeemDetail.amountToken": + return x.AmountToken != uint64(0) + case "structs.structs.EventGuildBankRedeemDetail.playerId": + return x.PlayerId != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventOreMigrate")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventGuildBankRedeemDetail")) } - panic(fmt.Errorf("message structs.structs.EventOreMigrate does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventGuildBankRedeemDetail does not contain field %s", fd.FullName())) } } @@ -14196,15 +13890,21 @@ func (x *fastReflection_EventOreMigrate) Has(fd protoreflect.FieldDescriptor) bo // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventOreMigrate) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_EventGuildBankRedeemDetail) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.EventOreMigrate.eventOreMigrateDetail": - x.EventOreMigrateDetail = nil + case "structs.structs.EventGuildBankRedeemDetail.guildId": + x.GuildId = "" + case "structs.structs.EventGuildBankRedeemDetail.amountAlpha": + x.AmountAlpha = uint64(0) + case "structs.structs.EventGuildBankRedeemDetail.amountToken": + x.AmountToken = uint64(0) + case "structs.structs.EventGuildBankRedeemDetail.playerId": + x.PlayerId = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventOreMigrate")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventGuildBankRedeemDetail")) } - panic(fmt.Errorf("message structs.structs.EventOreMigrate does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventGuildBankRedeemDetail does not contain field %s", fd.FullName())) } } @@ -14214,16 +13914,25 @@ func (x *fastReflection_EventOreMigrate) Clear(fd protoreflect.FieldDescriptor) // 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_EventOreMigrate) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_EventGuildBankRedeemDetail) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.EventOreMigrate.eventOreMigrateDetail": - value := x.EventOreMigrateDetail - return protoreflect.ValueOfMessage(value.ProtoReflect()) + case "structs.structs.EventGuildBankRedeemDetail.guildId": + value := x.GuildId + return protoreflect.ValueOfString(value) + case "structs.structs.EventGuildBankRedeemDetail.amountAlpha": + value := x.AmountAlpha + return protoreflect.ValueOfUint64(value) + case "structs.structs.EventGuildBankRedeemDetail.amountToken": + value := x.AmountToken + return protoreflect.ValueOfUint64(value) + case "structs.structs.EventGuildBankRedeemDetail.playerId": + value := x.PlayerId + return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventOreMigrate")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventGuildBankRedeemDetail")) } - panic(fmt.Errorf("message structs.structs.EventOreMigrate does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.EventGuildBankRedeemDetail does not contain field %s", descriptor.FullName())) } } @@ -14237,15 +13946,21 @@ func (x *fastReflection_EventOreMigrate) Get(descriptor protoreflect.FieldDescri // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventOreMigrate) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_EventGuildBankRedeemDetail) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.EventOreMigrate.eventOreMigrateDetail": - x.EventOreMigrateDetail = value.Message().Interface().(*EventOreMigrateDetail) + case "structs.structs.EventGuildBankRedeemDetail.guildId": + x.GuildId = value.Interface().(string) + case "structs.structs.EventGuildBankRedeemDetail.amountAlpha": + x.AmountAlpha = value.Uint() + case "structs.structs.EventGuildBankRedeemDetail.amountToken": + x.AmountToken = value.Uint() + case "structs.structs.EventGuildBankRedeemDetail.playerId": + x.PlayerId = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventOreMigrate")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventGuildBankRedeemDetail")) } - panic(fmt.Errorf("message structs.structs.EventOreMigrate does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventGuildBankRedeemDetail does not contain field %s", fd.FullName())) } } @@ -14259,44 +13974,52 @@ func (x *fastReflection_EventOreMigrate) Set(fd protoreflect.FieldDescriptor, va // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventOreMigrate) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_EventGuildBankRedeemDetail) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.EventOreMigrate.eventOreMigrateDetail": - if x.EventOreMigrateDetail == nil { - x.EventOreMigrateDetail = new(EventOreMigrateDetail) - } - return protoreflect.ValueOfMessage(x.EventOreMigrateDetail.ProtoReflect()) + case "structs.structs.EventGuildBankRedeemDetail.guildId": + panic(fmt.Errorf("field guildId of message structs.structs.EventGuildBankRedeemDetail is not mutable")) + case "structs.structs.EventGuildBankRedeemDetail.amountAlpha": + panic(fmt.Errorf("field amountAlpha of message structs.structs.EventGuildBankRedeemDetail is not mutable")) + case "structs.structs.EventGuildBankRedeemDetail.amountToken": + panic(fmt.Errorf("field amountToken of message structs.structs.EventGuildBankRedeemDetail is not mutable")) + case "structs.structs.EventGuildBankRedeemDetail.playerId": + panic(fmt.Errorf("field playerId of message structs.structs.EventGuildBankRedeemDetail is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventOreMigrate")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventGuildBankRedeemDetail")) } - panic(fmt.Errorf("message structs.structs.EventOreMigrate does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventGuildBankRedeemDetail 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_EventOreMigrate) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_EventGuildBankRedeemDetail) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.EventOreMigrate.eventOreMigrateDetail": - m := new(EventOreMigrateDetail) - return protoreflect.ValueOfMessage(m.ProtoReflect()) + case "structs.structs.EventGuildBankRedeemDetail.guildId": + return protoreflect.ValueOfString("") + case "structs.structs.EventGuildBankRedeemDetail.amountAlpha": + return protoreflect.ValueOfUint64(uint64(0)) + case "structs.structs.EventGuildBankRedeemDetail.amountToken": + return protoreflect.ValueOfUint64(uint64(0)) + case "structs.structs.EventGuildBankRedeemDetail.playerId": + return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventOreMigrate")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventGuildBankRedeemDetail")) } - panic(fmt.Errorf("message structs.structs.EventOreMigrate does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventGuildBankRedeemDetail 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_EventOreMigrate) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_EventGuildBankRedeemDetail) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.EventOreMigrate", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.EventGuildBankRedeemDetail", d.FullName())) } panic("unreachable") } @@ -14304,7 +14027,7 @@ func (x *fastReflection_EventOreMigrate) WhichOneof(d protoreflect.OneofDescript // 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_EventOreMigrate) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_EventGuildBankRedeemDetail) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -14315,7 +14038,7 @@ func (x *fastReflection_EventOreMigrate) GetUnknown() protoreflect.RawFields { // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventOreMigrate) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_EventGuildBankRedeemDetail) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -14327,7 +14050,7 @@ func (x *fastReflection_EventOreMigrate) SetUnknown(fields protoreflect.RawField // 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_EventOreMigrate) IsValid() bool { +func (x *fastReflection_EventGuildBankRedeemDetail) IsValid() bool { return x != nil } @@ -14337,9 +14060,9 @@ func (x *fastReflection_EventOreMigrate) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_EventOreMigrate) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_EventGuildBankRedeemDetail) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*EventOreMigrate) + x := input.Message.Interface().(*EventGuildBankRedeemDetail) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -14351,21 +14074,31 @@ func (x *fastReflection_EventOreMigrate) ProtoMethods() *protoiface.Methods { var n int var l int _ = l - if x.EventOreMigrateDetail != nil { - l = options.Size(x.EventOreMigrateDetail) + l = len(x.GuildId) + if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } - if x.unknownFields != nil { - n += len(x.unknownFields) + if x.AmountAlpha != 0 { + n += 1 + runtime.Sov(uint64(x.AmountAlpha)) } - return protoiface.SizeOutput{ + if x.AmountToken != 0 { + n += 1 + runtime.Sov(uint64(x.AmountToken)) + } + l = len(x.PlayerId) + 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().(*EventOreMigrate) + x := input.Message.Interface().(*EventGuildBankRedeemDetail) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -14384,17 +14117,27 @@ func (x *fastReflection_EventOreMigrate) ProtoMethods() *protoiface.Methods { i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if x.EventOreMigrateDetail != nil { - encoded, err := options.Marshal(x.EventOreMigrateDetail) - 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))) + if len(x.PlayerId) > 0 { + i -= len(x.PlayerId) + copy(dAtA[i:], x.PlayerId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.PlayerId))) + i-- + dAtA[i] = 0x22 + } + if x.AmountToken != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.AmountToken)) + i-- + dAtA[i] = 0x18 + } + if x.AmountAlpha != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.AmountAlpha)) + i-- + dAtA[i] = 0x10 + } + if len(x.GuildId) > 0 { + i -= len(x.GuildId) + copy(dAtA[i:], x.GuildId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.GuildId))) i-- dAtA[i] = 0xa } @@ -14409,7 +14152,7 @@ func (x *fastReflection_EventOreMigrate) ProtoMethods() *protoiface.Methods { }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*EventOreMigrate) + x := input.Message.Interface().(*EventGuildBankRedeemDetail) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -14441,17 +14184,17 @@ func (x *fastReflection_EventOreMigrate) ProtoMethods() *protoiface.Methods { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventOreMigrate: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventGuildBankRedeemDetail: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventOreMigrate: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventGuildBankRedeemDetail: 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 EventOreMigrateDetail", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field GuildId", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -14461,27 +14204,93 @@ func (x *fastReflection_EventOreMigrate) ProtoMethods() *protoiface.Methods { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength } - postIndex := iNdEx + msglen + 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 } - if x.EventOreMigrateDetail == nil { - x.EventOreMigrateDetail = &EventOreMigrateDetail{} + x.GuildId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field AmountAlpha", wireType) } - if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.EventOreMigrateDetail); err != nil { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + x.AmountAlpha = 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.AmountAlpha |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field AmountToken", wireType) + } + x.AmountToken = 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.AmountToken |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 4: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field PlayerId", 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.PlayerId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -14519,31 +14328,25 @@ func (x *fastReflection_EventOreMigrate) ProtoMethods() *protoiface.Methods { } var ( - md_EventOreMigrateDetail protoreflect.MessageDescriptor - fd_EventOreMigrateDetail_playerId protoreflect.FieldDescriptor - fd_EventOreMigrateDetail_primaryAddress protoreflect.FieldDescriptor - fd_EventOreMigrateDetail_oldPrimaryAddress protoreflect.FieldDescriptor - fd_EventOreMigrateDetail_amount protoreflect.FieldDescriptor + md_EventGuildBankConfiscateAndBurn protoreflect.MessageDescriptor + fd_EventGuildBankConfiscateAndBurn_eventGuildBankConfiscateAndBurnDetail protoreflect.FieldDescriptor ) func init() { file_structs_structs_events_proto_init() - md_EventOreMigrateDetail = File_structs_structs_events_proto.Messages().ByName("EventOreMigrateDetail") - fd_EventOreMigrateDetail_playerId = md_EventOreMigrateDetail.Fields().ByName("playerId") - fd_EventOreMigrateDetail_primaryAddress = md_EventOreMigrateDetail.Fields().ByName("primaryAddress") - fd_EventOreMigrateDetail_oldPrimaryAddress = md_EventOreMigrateDetail.Fields().ByName("oldPrimaryAddress") - fd_EventOreMigrateDetail_amount = md_EventOreMigrateDetail.Fields().ByName("amount") + md_EventGuildBankConfiscateAndBurn = File_structs_structs_events_proto.Messages().ByName("EventGuildBankConfiscateAndBurn") + fd_EventGuildBankConfiscateAndBurn_eventGuildBankConfiscateAndBurnDetail = md_EventGuildBankConfiscateAndBurn.Fields().ByName("eventGuildBankConfiscateAndBurnDetail") } -var _ protoreflect.Message = (*fastReflection_EventOreMigrateDetail)(nil) +var _ protoreflect.Message = (*fastReflection_EventGuildBankConfiscateAndBurn)(nil) -type fastReflection_EventOreMigrateDetail EventOreMigrateDetail +type fastReflection_EventGuildBankConfiscateAndBurn EventGuildBankConfiscateAndBurn -func (x *EventOreMigrateDetail) ProtoReflect() protoreflect.Message { - return (*fastReflection_EventOreMigrateDetail)(x) +func (x *EventGuildBankConfiscateAndBurn) ProtoReflect() protoreflect.Message { + return (*fastReflection_EventGuildBankConfiscateAndBurn)(x) } -func (x *EventOreMigrateDetail) slowProtoReflect() protoreflect.Message { +func (x *EventGuildBankConfiscateAndBurn) slowProtoReflect() protoreflect.Message { mi := &file_structs_structs_events_proto_msgTypes[32] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -14555,43 +14358,43 @@ func (x *EventOreMigrateDetail) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_EventOreMigrateDetail_messageType fastReflection_EventOreMigrateDetail_messageType -var _ protoreflect.MessageType = fastReflection_EventOreMigrateDetail_messageType{} +var _fastReflection_EventGuildBankConfiscateAndBurn_messageType fastReflection_EventGuildBankConfiscateAndBurn_messageType +var _ protoreflect.MessageType = fastReflection_EventGuildBankConfiscateAndBurn_messageType{} -type fastReflection_EventOreMigrateDetail_messageType struct{} +type fastReflection_EventGuildBankConfiscateAndBurn_messageType struct{} -func (x fastReflection_EventOreMigrateDetail_messageType) Zero() protoreflect.Message { - return (*fastReflection_EventOreMigrateDetail)(nil) +func (x fastReflection_EventGuildBankConfiscateAndBurn_messageType) Zero() protoreflect.Message { + return (*fastReflection_EventGuildBankConfiscateAndBurn)(nil) } -func (x fastReflection_EventOreMigrateDetail_messageType) New() protoreflect.Message { - return new(fastReflection_EventOreMigrateDetail) +func (x fastReflection_EventGuildBankConfiscateAndBurn_messageType) New() protoreflect.Message { + return new(fastReflection_EventGuildBankConfiscateAndBurn) } -func (x fastReflection_EventOreMigrateDetail_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_EventOreMigrateDetail +func (x fastReflection_EventGuildBankConfiscateAndBurn_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_EventGuildBankConfiscateAndBurn } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_EventOreMigrateDetail) Descriptor() protoreflect.MessageDescriptor { - return md_EventOreMigrateDetail +func (x *fastReflection_EventGuildBankConfiscateAndBurn) Descriptor() protoreflect.MessageDescriptor { + return md_EventGuildBankConfiscateAndBurn } // 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_EventOreMigrateDetail) Type() protoreflect.MessageType { - return _fastReflection_EventOreMigrateDetail_messageType +func (x *fastReflection_EventGuildBankConfiscateAndBurn) Type() protoreflect.MessageType { + return _fastReflection_EventGuildBankConfiscateAndBurn_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_EventOreMigrateDetail) New() protoreflect.Message { - return new(fastReflection_EventOreMigrateDetail) +func (x *fastReflection_EventGuildBankConfiscateAndBurn) New() protoreflect.Message { + return new(fastReflection_EventGuildBankConfiscateAndBurn) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_EventOreMigrateDetail) Interface() protoreflect.ProtoMessage { - return (*EventOreMigrateDetail)(x) +func (x *fastReflection_EventGuildBankConfiscateAndBurn) Interface() protoreflect.ProtoMessage { + return (*EventGuildBankConfiscateAndBurn)(x) } // Range iterates over every populated field in an undefined order, @@ -14599,28 +14402,10 @@ func (x *fastReflection_EventOreMigrateDetail) Interface() protoreflect.ProtoMes // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_EventOreMigrateDetail) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.PlayerId != "" { - value := protoreflect.ValueOfString(x.PlayerId) - if !f(fd_EventOreMigrateDetail_playerId, value) { - return - } - } - if x.PrimaryAddress != "" { - value := protoreflect.ValueOfString(x.PrimaryAddress) - if !f(fd_EventOreMigrateDetail_primaryAddress, value) { - return - } - } - if x.OldPrimaryAddress != "" { - value := protoreflect.ValueOfString(x.OldPrimaryAddress) - if !f(fd_EventOreMigrateDetail_oldPrimaryAddress, value) { - return - } - } - if x.Amount != uint64(0) { - value := protoreflect.ValueOfUint64(x.Amount) - if !f(fd_EventOreMigrateDetail_amount, value) { +func (x *fastReflection_EventGuildBankConfiscateAndBurn) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.EventGuildBankConfiscateAndBurnDetail != nil { + value := protoreflect.ValueOfMessage(x.EventGuildBankConfiscateAndBurnDetail.ProtoReflect()) + if !f(fd_EventGuildBankConfiscateAndBurn_eventGuildBankConfiscateAndBurnDetail, value) { return } } @@ -14637,21 +14422,15 @@ func (x *fastReflection_EventOreMigrateDetail) Range(f func(protoreflect.FieldDe // 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_EventOreMigrateDetail) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_EventGuildBankConfiscateAndBurn) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.EventOreMigrateDetail.playerId": - return x.PlayerId != "" - case "structs.structs.EventOreMigrateDetail.primaryAddress": - return x.PrimaryAddress != "" - case "structs.structs.EventOreMigrateDetail.oldPrimaryAddress": - return x.OldPrimaryAddress != "" - case "structs.structs.EventOreMigrateDetail.amount": - return x.Amount != uint64(0) + case "structs.structs.EventGuildBankConfiscateAndBurn.eventGuildBankConfiscateAndBurnDetail": + return x.EventGuildBankConfiscateAndBurnDetail != nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventOreMigrateDetail")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventGuildBankConfiscateAndBurn")) } - panic(fmt.Errorf("message structs.structs.EventOreMigrateDetail does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventGuildBankConfiscateAndBurn does not contain field %s", fd.FullName())) } } @@ -14661,21 +14440,15 @@ func (x *fastReflection_EventOreMigrateDetail) Has(fd protoreflect.FieldDescript // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventOreMigrateDetail) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_EventGuildBankConfiscateAndBurn) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.EventOreMigrateDetail.playerId": - x.PlayerId = "" - case "structs.structs.EventOreMigrateDetail.primaryAddress": - x.PrimaryAddress = "" - case "structs.structs.EventOreMigrateDetail.oldPrimaryAddress": - x.OldPrimaryAddress = "" - case "structs.structs.EventOreMigrateDetail.amount": - x.Amount = uint64(0) + case "structs.structs.EventGuildBankConfiscateAndBurn.eventGuildBankConfiscateAndBurnDetail": + x.EventGuildBankConfiscateAndBurnDetail = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventOreMigrateDetail")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventGuildBankConfiscateAndBurn")) } - panic(fmt.Errorf("message structs.structs.EventOreMigrateDetail does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventGuildBankConfiscateAndBurn does not contain field %s", fd.FullName())) } } @@ -14685,25 +14458,16 @@ func (x *fastReflection_EventOreMigrateDetail) Clear(fd protoreflect.FieldDescri // 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_EventOreMigrateDetail) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_EventGuildBankConfiscateAndBurn) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.EventOreMigrateDetail.playerId": - value := x.PlayerId - return protoreflect.ValueOfString(value) - case "structs.structs.EventOreMigrateDetail.primaryAddress": - value := x.PrimaryAddress - return protoreflect.ValueOfString(value) - case "structs.structs.EventOreMigrateDetail.oldPrimaryAddress": - value := x.OldPrimaryAddress - return protoreflect.ValueOfString(value) - case "structs.structs.EventOreMigrateDetail.amount": - value := x.Amount - return protoreflect.ValueOfUint64(value) + case "structs.structs.EventGuildBankConfiscateAndBurn.eventGuildBankConfiscateAndBurnDetail": + value := x.EventGuildBankConfiscateAndBurnDetail + return protoreflect.ValueOfMessage(value.ProtoReflect()) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventOreMigrateDetail")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventGuildBankConfiscateAndBurn")) } - panic(fmt.Errorf("message structs.structs.EventOreMigrateDetail does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.EventGuildBankConfiscateAndBurn does not contain field %s", descriptor.FullName())) } } @@ -14717,21 +14481,15 @@ func (x *fastReflection_EventOreMigrateDetail) Get(descriptor protoreflect.Field // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventOreMigrateDetail) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_EventGuildBankConfiscateAndBurn) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.EventOreMigrateDetail.playerId": - x.PlayerId = value.Interface().(string) - case "structs.structs.EventOreMigrateDetail.primaryAddress": - x.PrimaryAddress = value.Interface().(string) - case "structs.structs.EventOreMigrateDetail.oldPrimaryAddress": - x.OldPrimaryAddress = value.Interface().(string) - case "structs.structs.EventOreMigrateDetail.amount": - x.Amount = value.Uint() + case "structs.structs.EventGuildBankConfiscateAndBurn.eventGuildBankConfiscateAndBurnDetail": + x.EventGuildBankConfiscateAndBurnDetail = value.Message().Interface().(*EventGuildBankConfiscateAndBurnDetail) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventOreMigrateDetail")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventGuildBankConfiscateAndBurn")) } - panic(fmt.Errorf("message structs.structs.EventOreMigrateDetail does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventGuildBankConfiscateAndBurn does not contain field %s", fd.FullName())) } } @@ -14745,52 +14503,44 @@ func (x *fastReflection_EventOreMigrateDetail) Set(fd protoreflect.FieldDescript // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventOreMigrateDetail) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_EventGuildBankConfiscateAndBurn) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.EventOreMigrateDetail.playerId": - panic(fmt.Errorf("field playerId of message structs.structs.EventOreMigrateDetail is not mutable")) - case "structs.structs.EventOreMigrateDetail.primaryAddress": - panic(fmt.Errorf("field primaryAddress of message structs.structs.EventOreMigrateDetail is not mutable")) - case "structs.structs.EventOreMigrateDetail.oldPrimaryAddress": - panic(fmt.Errorf("field oldPrimaryAddress of message structs.structs.EventOreMigrateDetail is not mutable")) - case "structs.structs.EventOreMigrateDetail.amount": - panic(fmt.Errorf("field amount of message structs.structs.EventOreMigrateDetail is not mutable")) + case "structs.structs.EventGuildBankConfiscateAndBurn.eventGuildBankConfiscateAndBurnDetail": + if x.EventGuildBankConfiscateAndBurnDetail == nil { + x.EventGuildBankConfiscateAndBurnDetail = new(EventGuildBankConfiscateAndBurnDetail) + } + return protoreflect.ValueOfMessage(x.EventGuildBankConfiscateAndBurnDetail.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventOreMigrateDetail")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventGuildBankConfiscateAndBurn")) } - panic(fmt.Errorf("message structs.structs.EventOreMigrateDetail does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventGuildBankConfiscateAndBurn 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_EventOreMigrateDetail) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_EventGuildBankConfiscateAndBurn) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.EventOreMigrateDetail.playerId": - return protoreflect.ValueOfString("") - case "structs.structs.EventOreMigrateDetail.primaryAddress": - return protoreflect.ValueOfString("") - case "structs.structs.EventOreMigrateDetail.oldPrimaryAddress": - return protoreflect.ValueOfString("") - case "structs.structs.EventOreMigrateDetail.amount": - return protoreflect.ValueOfUint64(uint64(0)) + case "structs.structs.EventGuildBankConfiscateAndBurn.eventGuildBankConfiscateAndBurnDetail": + m := new(EventGuildBankConfiscateAndBurnDetail) + return protoreflect.ValueOfMessage(m.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventOreMigrateDetail")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventGuildBankConfiscateAndBurn")) } - panic(fmt.Errorf("message structs.structs.EventOreMigrateDetail does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventGuildBankConfiscateAndBurn 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_EventOreMigrateDetail) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_EventGuildBankConfiscateAndBurn) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.EventOreMigrateDetail", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.EventGuildBankConfiscateAndBurn", d.FullName())) } panic("unreachable") } @@ -14798,7 +14548,7 @@ func (x *fastReflection_EventOreMigrateDetail) WhichOneof(d protoreflect.OneofDe // 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_EventOreMigrateDetail) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_EventGuildBankConfiscateAndBurn) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -14809,7 +14559,7 @@ func (x *fastReflection_EventOreMigrateDetail) GetUnknown() protoreflect.RawFiel // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventOreMigrateDetail) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_EventGuildBankConfiscateAndBurn) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -14821,7 +14571,7 @@ func (x *fastReflection_EventOreMigrateDetail) SetUnknown(fields protoreflect.Ra // 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_EventOreMigrateDetail) IsValid() bool { +func (x *fastReflection_EventGuildBankConfiscateAndBurn) IsValid() bool { return x != nil } @@ -14831,9 +14581,9 @@ func (x *fastReflection_EventOreMigrateDetail) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_EventOreMigrateDetail) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_EventGuildBankConfiscateAndBurn) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*EventOreMigrateDetail) + x := input.Message.Interface().(*EventGuildBankConfiscateAndBurn) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -14845,23 +14595,12 @@ func (x *fastReflection_EventOreMigrateDetail) ProtoMethods() *protoiface.Method var n int var l int _ = l - l = len(x.PlayerId) - if l > 0 { + if x.EventGuildBankConfiscateAndBurnDetail != nil { + l = options.Size(x.EventGuildBankConfiscateAndBurnDetail) n += 1 + l + runtime.Sov(uint64(l)) } - l = len(x.PrimaryAddress) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } - l = len(x.OldPrimaryAddress) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } - if x.Amount != 0 { - n += 1 + runtime.Sov(uint64(x.Amount)) - } - if x.unknownFields != nil { - n += len(x.unknownFields) + if x.unknownFields != nil { + n += len(x.unknownFields) } return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -14870,7 +14609,7 @@ func (x *fastReflection_EventOreMigrateDetail) ProtoMethods() *protoiface.Method } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*EventOreMigrateDetail) + x := input.Message.Interface().(*EventGuildBankConfiscateAndBurn) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -14889,29 +14628,17 @@ func (x *fastReflection_EventOreMigrateDetail) ProtoMethods() *protoiface.Method i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if x.Amount != 0 { - i = runtime.EncodeVarint(dAtA, i, uint64(x.Amount)) - i-- - dAtA[i] = 0x20 - } - if len(x.OldPrimaryAddress) > 0 { - i -= len(x.OldPrimaryAddress) - copy(dAtA[i:], x.OldPrimaryAddress) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.OldPrimaryAddress))) - i-- - dAtA[i] = 0x1a - } - if len(x.PrimaryAddress) > 0 { - i -= len(x.PrimaryAddress) - copy(dAtA[i:], x.PrimaryAddress) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.PrimaryAddress))) - i-- - dAtA[i] = 0x12 - } - if len(x.PlayerId) > 0 { - i -= len(x.PlayerId) - copy(dAtA[i:], x.PlayerId) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.PlayerId))) + if x.EventGuildBankConfiscateAndBurnDetail != nil { + encoded, err := options.Marshal(x.EventGuildBankConfiscateAndBurnDetail) + 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 } @@ -14926,7 +14653,7 @@ func (x *fastReflection_EventOreMigrateDetail) ProtoMethods() *protoiface.Method }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*EventOreMigrateDetail) + x := input.Message.Interface().(*EventGuildBankConfiscateAndBurn) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -14958,49 +14685,17 @@ func (x *fastReflection_EventOreMigrateDetail) ProtoMethods() *protoiface.Method fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventOreMigrateDetail: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventGuildBankConfiscateAndBurn: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventOreMigrateDetail: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventGuildBankConfiscateAndBurn: 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 PlayerId", 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.PlayerId = 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 PrimaryAddress", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field EventGuildBankConfiscateAndBurnDetail", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -15010,75 +14705,28 @@ func (x *fastReflection_EventOreMigrateDetail) ProtoMethods() *protoiface.Method } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength } - postIndex := iNdEx + intStringLen + 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 } - x.PrimaryAddress = 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 OldPrimaryAddress", 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 x.EventGuildBankConfiscateAndBurnDetail == nil { + x.EventGuildBankConfiscateAndBurnDetail = &EventGuildBankConfiscateAndBurnDetail{} } - if postIndex > l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.EventGuildBankConfiscateAndBurnDetail); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err } - x.OldPrimaryAddress = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 4: - if wireType != 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Amount", wireType) - } - x.Amount = 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.Amount |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } default: iNdEx = preIndex skippy, err := runtime.Skip(dAtA[iNdEx:]) @@ -15115,25 +14763,31 @@ func (x *fastReflection_EventOreMigrateDetail) ProtoMethods() *protoiface.Method } var ( - md_EventAttack protoreflect.MessageDescriptor - fd_EventAttack_eventAttackDetail protoreflect.FieldDescriptor + md_EventGuildBankConfiscateAndBurnDetail protoreflect.MessageDescriptor + fd_EventGuildBankConfiscateAndBurnDetail_guildId protoreflect.FieldDescriptor + fd_EventGuildBankConfiscateAndBurnDetail_amountAlpha protoreflect.FieldDescriptor + fd_EventGuildBankConfiscateAndBurnDetail_amountToken protoreflect.FieldDescriptor + fd_EventGuildBankConfiscateAndBurnDetail_address protoreflect.FieldDescriptor ) func init() { file_structs_structs_events_proto_init() - md_EventAttack = File_structs_structs_events_proto.Messages().ByName("EventAttack") - fd_EventAttack_eventAttackDetail = md_EventAttack.Fields().ByName("eventAttackDetail") + md_EventGuildBankConfiscateAndBurnDetail = File_structs_structs_events_proto.Messages().ByName("EventGuildBankConfiscateAndBurnDetail") + fd_EventGuildBankConfiscateAndBurnDetail_guildId = md_EventGuildBankConfiscateAndBurnDetail.Fields().ByName("guildId") + fd_EventGuildBankConfiscateAndBurnDetail_amountAlpha = md_EventGuildBankConfiscateAndBurnDetail.Fields().ByName("amountAlpha") + fd_EventGuildBankConfiscateAndBurnDetail_amountToken = md_EventGuildBankConfiscateAndBurnDetail.Fields().ByName("amountToken") + fd_EventGuildBankConfiscateAndBurnDetail_address = md_EventGuildBankConfiscateAndBurnDetail.Fields().ByName("address") } -var _ protoreflect.Message = (*fastReflection_EventAttack)(nil) +var _ protoreflect.Message = (*fastReflection_EventGuildBankConfiscateAndBurnDetail)(nil) -type fastReflection_EventAttack EventAttack +type fastReflection_EventGuildBankConfiscateAndBurnDetail EventGuildBankConfiscateAndBurnDetail -func (x *EventAttack) ProtoReflect() protoreflect.Message { - return (*fastReflection_EventAttack)(x) +func (x *EventGuildBankConfiscateAndBurnDetail) ProtoReflect() protoreflect.Message { + return (*fastReflection_EventGuildBankConfiscateAndBurnDetail)(x) } -func (x *EventAttack) slowProtoReflect() protoreflect.Message { +func (x *EventGuildBankConfiscateAndBurnDetail) slowProtoReflect() protoreflect.Message { mi := &file_structs_structs_events_proto_msgTypes[33] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -15145,43 +14799,43 @@ func (x *EventAttack) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_EventAttack_messageType fastReflection_EventAttack_messageType -var _ protoreflect.MessageType = fastReflection_EventAttack_messageType{} +var _fastReflection_EventGuildBankConfiscateAndBurnDetail_messageType fastReflection_EventGuildBankConfiscateAndBurnDetail_messageType +var _ protoreflect.MessageType = fastReflection_EventGuildBankConfiscateAndBurnDetail_messageType{} -type fastReflection_EventAttack_messageType struct{} +type fastReflection_EventGuildBankConfiscateAndBurnDetail_messageType struct{} -func (x fastReflection_EventAttack_messageType) Zero() protoreflect.Message { - return (*fastReflection_EventAttack)(nil) +func (x fastReflection_EventGuildBankConfiscateAndBurnDetail_messageType) Zero() protoreflect.Message { + return (*fastReflection_EventGuildBankConfiscateAndBurnDetail)(nil) } -func (x fastReflection_EventAttack_messageType) New() protoreflect.Message { - return new(fastReflection_EventAttack) +func (x fastReflection_EventGuildBankConfiscateAndBurnDetail_messageType) New() protoreflect.Message { + return new(fastReflection_EventGuildBankConfiscateAndBurnDetail) } -func (x fastReflection_EventAttack_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_EventAttack +func (x fastReflection_EventGuildBankConfiscateAndBurnDetail_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_EventGuildBankConfiscateAndBurnDetail } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_EventAttack) Descriptor() protoreflect.MessageDescriptor { - return md_EventAttack +func (x *fastReflection_EventGuildBankConfiscateAndBurnDetail) Descriptor() protoreflect.MessageDescriptor { + return md_EventGuildBankConfiscateAndBurnDetail } // 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_EventAttack) Type() protoreflect.MessageType { - return _fastReflection_EventAttack_messageType +func (x *fastReflection_EventGuildBankConfiscateAndBurnDetail) Type() protoreflect.MessageType { + return _fastReflection_EventGuildBankConfiscateAndBurnDetail_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_EventAttack) New() protoreflect.Message { - return new(fastReflection_EventAttack) +func (x *fastReflection_EventGuildBankConfiscateAndBurnDetail) New() protoreflect.Message { + return new(fastReflection_EventGuildBankConfiscateAndBurnDetail) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_EventAttack) Interface() protoreflect.ProtoMessage { - return (*EventAttack)(x) +func (x *fastReflection_EventGuildBankConfiscateAndBurnDetail) Interface() protoreflect.ProtoMessage { + return (*EventGuildBankConfiscateAndBurnDetail)(x) } // Range iterates over every populated field in an undefined order, @@ -15189,10 +14843,28 @@ func (x *fastReflection_EventAttack) Interface() protoreflect.ProtoMessage { // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_EventAttack) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.EventAttackDetail != nil { - value := protoreflect.ValueOfMessage(x.EventAttackDetail.ProtoReflect()) - if !f(fd_EventAttack_eventAttackDetail, value) { +func (x *fastReflection_EventGuildBankConfiscateAndBurnDetail) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.GuildId != "" { + value := protoreflect.ValueOfString(x.GuildId) + if !f(fd_EventGuildBankConfiscateAndBurnDetail_guildId, value) { + return + } + } + if x.AmountAlpha != uint64(0) { + value := protoreflect.ValueOfUint64(x.AmountAlpha) + if !f(fd_EventGuildBankConfiscateAndBurnDetail_amountAlpha, value) { + return + } + } + if x.AmountToken != uint64(0) { + value := protoreflect.ValueOfUint64(x.AmountToken) + if !f(fd_EventGuildBankConfiscateAndBurnDetail_amountToken, value) { + return + } + } + if x.Address != "" { + value := protoreflect.ValueOfString(x.Address) + if !f(fd_EventGuildBankConfiscateAndBurnDetail_address, value) { return } } @@ -15209,15 +14881,21 @@ func (x *fastReflection_EventAttack) Range(f func(protoreflect.FieldDescriptor, // 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_EventAttack) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_EventGuildBankConfiscateAndBurnDetail) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.EventAttack.eventAttackDetail": - return x.EventAttackDetail != nil + case "structs.structs.EventGuildBankConfiscateAndBurnDetail.guildId": + return x.GuildId != "" + case "structs.structs.EventGuildBankConfiscateAndBurnDetail.amountAlpha": + return x.AmountAlpha != uint64(0) + case "structs.structs.EventGuildBankConfiscateAndBurnDetail.amountToken": + return x.AmountToken != uint64(0) + case "structs.structs.EventGuildBankConfiscateAndBurnDetail.address": + return x.Address != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAttack")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventGuildBankConfiscateAndBurnDetail")) } - panic(fmt.Errorf("message structs.structs.EventAttack does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventGuildBankConfiscateAndBurnDetail does not contain field %s", fd.FullName())) } } @@ -15227,15 +14905,21 @@ func (x *fastReflection_EventAttack) Has(fd protoreflect.FieldDescriptor) bool { // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventAttack) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_EventGuildBankConfiscateAndBurnDetail) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.EventAttack.eventAttackDetail": - x.EventAttackDetail = nil + case "structs.structs.EventGuildBankConfiscateAndBurnDetail.guildId": + x.GuildId = "" + case "structs.structs.EventGuildBankConfiscateAndBurnDetail.amountAlpha": + x.AmountAlpha = uint64(0) + case "structs.structs.EventGuildBankConfiscateAndBurnDetail.amountToken": + x.AmountToken = uint64(0) + case "structs.structs.EventGuildBankConfiscateAndBurnDetail.address": + x.Address = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAttack")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventGuildBankConfiscateAndBurnDetail")) } - panic(fmt.Errorf("message structs.structs.EventAttack does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventGuildBankConfiscateAndBurnDetail does not contain field %s", fd.FullName())) } } @@ -15245,16 +14929,25 @@ func (x *fastReflection_EventAttack) Clear(fd protoreflect.FieldDescriptor) { // 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_EventAttack) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_EventGuildBankConfiscateAndBurnDetail) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.EventAttack.eventAttackDetail": - value := x.EventAttackDetail - return protoreflect.ValueOfMessage(value.ProtoReflect()) + case "structs.structs.EventGuildBankConfiscateAndBurnDetail.guildId": + value := x.GuildId + return protoreflect.ValueOfString(value) + case "structs.structs.EventGuildBankConfiscateAndBurnDetail.amountAlpha": + value := x.AmountAlpha + return protoreflect.ValueOfUint64(value) + case "structs.structs.EventGuildBankConfiscateAndBurnDetail.amountToken": + value := x.AmountToken + return protoreflect.ValueOfUint64(value) + case "structs.structs.EventGuildBankConfiscateAndBurnDetail.address": + value := x.Address + return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAttack")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventGuildBankConfiscateAndBurnDetail")) } - panic(fmt.Errorf("message structs.structs.EventAttack does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.EventGuildBankConfiscateAndBurnDetail does not contain field %s", descriptor.FullName())) } } @@ -15268,15 +14961,21 @@ func (x *fastReflection_EventAttack) Get(descriptor protoreflect.FieldDescriptor // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventAttack) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_EventGuildBankConfiscateAndBurnDetail) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.EventAttack.eventAttackDetail": - x.EventAttackDetail = value.Message().Interface().(*EventAttackDetail) + case "structs.structs.EventGuildBankConfiscateAndBurnDetail.guildId": + x.GuildId = value.Interface().(string) + case "structs.structs.EventGuildBankConfiscateAndBurnDetail.amountAlpha": + x.AmountAlpha = value.Uint() + case "structs.structs.EventGuildBankConfiscateAndBurnDetail.amountToken": + x.AmountToken = value.Uint() + case "structs.structs.EventGuildBankConfiscateAndBurnDetail.address": + x.Address = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAttack")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventGuildBankConfiscateAndBurnDetail")) } - panic(fmt.Errorf("message structs.structs.EventAttack does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventGuildBankConfiscateAndBurnDetail does not contain field %s", fd.FullName())) } } @@ -15290,44 +14989,52 @@ func (x *fastReflection_EventAttack) Set(fd protoreflect.FieldDescriptor, value // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventAttack) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_EventGuildBankConfiscateAndBurnDetail) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.EventAttack.eventAttackDetail": - if x.EventAttackDetail == nil { - x.EventAttackDetail = new(EventAttackDetail) - } - return protoreflect.ValueOfMessage(x.EventAttackDetail.ProtoReflect()) + case "structs.structs.EventGuildBankConfiscateAndBurnDetail.guildId": + panic(fmt.Errorf("field guildId of message structs.structs.EventGuildBankConfiscateAndBurnDetail is not mutable")) + case "structs.structs.EventGuildBankConfiscateAndBurnDetail.amountAlpha": + panic(fmt.Errorf("field amountAlpha of message structs.structs.EventGuildBankConfiscateAndBurnDetail is not mutable")) + case "structs.structs.EventGuildBankConfiscateAndBurnDetail.amountToken": + panic(fmt.Errorf("field amountToken of message structs.structs.EventGuildBankConfiscateAndBurnDetail is not mutable")) + case "structs.structs.EventGuildBankConfiscateAndBurnDetail.address": + panic(fmt.Errorf("field address of message structs.structs.EventGuildBankConfiscateAndBurnDetail is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAttack")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventGuildBankConfiscateAndBurnDetail")) } - panic(fmt.Errorf("message structs.structs.EventAttack does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventGuildBankConfiscateAndBurnDetail 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_EventAttack) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_EventGuildBankConfiscateAndBurnDetail) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.EventAttack.eventAttackDetail": - m := new(EventAttackDetail) - return protoreflect.ValueOfMessage(m.ProtoReflect()) + case "structs.structs.EventGuildBankConfiscateAndBurnDetail.guildId": + return protoreflect.ValueOfString("") + case "structs.structs.EventGuildBankConfiscateAndBurnDetail.amountAlpha": + return protoreflect.ValueOfUint64(uint64(0)) + case "structs.structs.EventGuildBankConfiscateAndBurnDetail.amountToken": + return protoreflect.ValueOfUint64(uint64(0)) + case "structs.structs.EventGuildBankConfiscateAndBurnDetail.address": + return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAttack")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventGuildBankConfiscateAndBurnDetail")) } - panic(fmt.Errorf("message structs.structs.EventAttack does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventGuildBankConfiscateAndBurnDetail 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_EventAttack) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_EventGuildBankConfiscateAndBurnDetail) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.EventAttack", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.EventGuildBankConfiscateAndBurnDetail", d.FullName())) } panic("unreachable") } @@ -15335,7 +15042,7 @@ func (x *fastReflection_EventAttack) WhichOneof(d protoreflect.OneofDescriptor) // 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_EventAttack) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_EventGuildBankConfiscateAndBurnDetail) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -15346,7 +15053,7 @@ func (x *fastReflection_EventAttack) GetUnknown() protoreflect.RawFields { // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventAttack) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_EventGuildBankConfiscateAndBurnDetail) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -15358,7 +15065,7 @@ func (x *fastReflection_EventAttack) SetUnknown(fields protoreflect.RawFields) { // 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_EventAttack) IsValid() bool { +func (x *fastReflection_EventGuildBankConfiscateAndBurnDetail) IsValid() bool { return x != nil } @@ -15368,9 +15075,9 @@ func (x *fastReflection_EventAttack) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_EventAttack) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_EventGuildBankConfiscateAndBurnDetail) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*EventAttack) + x := input.Message.Interface().(*EventGuildBankConfiscateAndBurnDetail) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -15382,8 +15089,18 @@ func (x *fastReflection_EventAttack) ProtoMethods() *protoiface.Methods { var n int var l int _ = l - if x.EventAttackDetail != nil { - l = options.Size(x.EventAttackDetail) + l = len(x.GuildId) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.AmountAlpha != 0 { + n += 1 + runtime.Sov(uint64(x.AmountAlpha)) + } + if x.AmountToken != 0 { + n += 1 + runtime.Sov(uint64(x.AmountToken)) + } + l = len(x.Address) + if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } if x.unknownFields != nil { @@ -15396,7 +15113,7 @@ func (x *fastReflection_EventAttack) ProtoMethods() *protoiface.Methods { } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*EventAttack) + x := input.Message.Interface().(*EventGuildBankConfiscateAndBurnDetail) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -15415,17 +15132,27 @@ func (x *fastReflection_EventAttack) ProtoMethods() *protoiface.Methods { i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if x.EventAttackDetail != nil { - encoded, err := options.Marshal(x.EventAttackDetail) - 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))) + if len(x.Address) > 0 { + i -= len(x.Address) + copy(dAtA[i:], x.Address) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Address))) + i-- + dAtA[i] = 0x22 + } + if x.AmountToken != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.AmountToken)) + i-- + dAtA[i] = 0x18 + } + if x.AmountAlpha != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.AmountAlpha)) + i-- + dAtA[i] = 0x10 + } + if len(x.GuildId) > 0 { + i -= len(x.GuildId) + copy(dAtA[i:], x.GuildId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.GuildId))) i-- dAtA[i] = 0xa } @@ -15440,7 +15167,7 @@ func (x *fastReflection_EventAttack) ProtoMethods() *protoiface.Methods { }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*EventAttack) + x := input.Message.Interface().(*EventGuildBankConfiscateAndBurnDetail) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -15472,17 +15199,17 @@ func (x *fastReflection_EventAttack) ProtoMethods() *protoiface.Methods { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventAttack: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventGuildBankConfiscateAndBurnDetail: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventAttack: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventGuildBankConfiscateAndBurnDetail: 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 EventAttackDetail", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field GuildId", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -15492,27 +15219,93 @@ func (x *fastReflection_EventAttack) ProtoMethods() *protoiface.Methods { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength } - postIndex := iNdEx + msglen + 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 } - if x.EventAttackDetail == nil { - x.EventAttackDetail = &EventAttackDetail{} + x.GuildId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field AmountAlpha", wireType) } - if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.EventAttackDetail); err != nil { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + x.AmountAlpha = 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.AmountAlpha |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field AmountToken", wireType) + } + x.AmountToken = 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.AmountToken |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 4: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Address", 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.Address = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -15549,111 +15342,26 @@ func (x *fastReflection_EventAttack) ProtoMethods() *protoiface.Methods { } } -var _ protoreflect.List = (*_EventAttackDetail_10_list)(nil) - -type _EventAttackDetail_10_list struct { - list *[]*EventAttackShotDetail -} - -func (x *_EventAttackDetail_10_list) Len() int { - if x.list == nil { - return 0 - } - return len(*x.list) -} - -func (x *_EventAttackDetail_10_list) Get(i int) protoreflect.Value { - return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) -} - -func (x *_EventAttackDetail_10_list) Set(i int, value protoreflect.Value) { - valueUnwrapped := value.Message() - concreteValue := valueUnwrapped.Interface().(*EventAttackShotDetail) - (*x.list)[i] = concreteValue -} - -func (x *_EventAttackDetail_10_list) Append(value protoreflect.Value) { - valueUnwrapped := value.Message() - concreteValue := valueUnwrapped.Interface().(*EventAttackShotDetail) - *x.list = append(*x.list, concreteValue) -} - -func (x *_EventAttackDetail_10_list) AppendMutable() protoreflect.Value { - v := new(EventAttackShotDetail) - *x.list = append(*x.list, v) - return protoreflect.ValueOfMessage(v.ProtoReflect()) -} - -func (x *_EventAttackDetail_10_list) Truncate(n int) { - for i := n; i < len(*x.list); i++ { - (*x.list)[i] = nil - } - *x.list = (*x.list)[:n] -} - -func (x *_EventAttackDetail_10_list) NewElement() protoreflect.Value { - v := new(EventAttackShotDetail) - return protoreflect.ValueOfMessage(v.ProtoReflect()) -} - -func (x *_EventAttackDetail_10_list) IsValid() bool { - return x.list != nil -} - var ( - md_EventAttackDetail protoreflect.MessageDescriptor - fd_EventAttackDetail_attackerStructId protoreflect.FieldDescriptor - fd_EventAttackDetail_attackerStructType protoreflect.FieldDescriptor - fd_EventAttackDetail_attackerStructLocationType protoreflect.FieldDescriptor - fd_EventAttackDetail_attackerStructLocationId protoreflect.FieldDescriptor - fd_EventAttackDetail_attackerStructOperatingAmbit protoreflect.FieldDescriptor - fd_EventAttackDetail_attackerStructSlot protoreflect.FieldDescriptor - fd_EventAttackDetail_weaponSystem protoreflect.FieldDescriptor - fd_EventAttackDetail_weaponControl protoreflect.FieldDescriptor - fd_EventAttackDetail_activeWeaponry protoreflect.FieldDescriptor - fd_EventAttackDetail_eventAttackShotDetail protoreflect.FieldDescriptor - fd_EventAttackDetail_recoilDamageToAttacker protoreflect.FieldDescriptor - fd_EventAttackDetail_recoilDamage protoreflect.FieldDescriptor - fd_EventAttackDetail_recoilDamageDestroyedAttacker protoreflect.FieldDescriptor - fd_EventAttackDetail_planetaryDefenseCannonDamageToAttacker protoreflect.FieldDescriptor - fd_EventAttackDetail_planetaryDefenseCannonDamage protoreflect.FieldDescriptor - fd_EventAttackDetail_planetaryDefenseCannonDamageDestroyedAttacker protoreflect.FieldDescriptor - fd_EventAttackDetail_attackerPlayerId protoreflect.FieldDescriptor - fd_EventAttackDetail_targetPlayerId protoreflect.FieldDescriptor + md_EventGuildMembershipApplication protoreflect.MessageDescriptor + fd_EventGuildMembershipApplication_guildMembershipApplication protoreflect.FieldDescriptor ) func init() { file_structs_structs_events_proto_init() - md_EventAttackDetail = File_structs_structs_events_proto.Messages().ByName("EventAttackDetail") - fd_EventAttackDetail_attackerStructId = md_EventAttackDetail.Fields().ByName("attackerStructId") - fd_EventAttackDetail_attackerStructType = md_EventAttackDetail.Fields().ByName("attackerStructType") - fd_EventAttackDetail_attackerStructLocationType = md_EventAttackDetail.Fields().ByName("attackerStructLocationType") - fd_EventAttackDetail_attackerStructLocationId = md_EventAttackDetail.Fields().ByName("attackerStructLocationId") - fd_EventAttackDetail_attackerStructOperatingAmbit = md_EventAttackDetail.Fields().ByName("attackerStructOperatingAmbit") - fd_EventAttackDetail_attackerStructSlot = md_EventAttackDetail.Fields().ByName("attackerStructSlot") - fd_EventAttackDetail_weaponSystem = md_EventAttackDetail.Fields().ByName("weaponSystem") - fd_EventAttackDetail_weaponControl = md_EventAttackDetail.Fields().ByName("weaponControl") - fd_EventAttackDetail_activeWeaponry = md_EventAttackDetail.Fields().ByName("activeWeaponry") - fd_EventAttackDetail_eventAttackShotDetail = md_EventAttackDetail.Fields().ByName("eventAttackShotDetail") - fd_EventAttackDetail_recoilDamageToAttacker = md_EventAttackDetail.Fields().ByName("recoilDamageToAttacker") - fd_EventAttackDetail_recoilDamage = md_EventAttackDetail.Fields().ByName("recoilDamage") - fd_EventAttackDetail_recoilDamageDestroyedAttacker = md_EventAttackDetail.Fields().ByName("recoilDamageDestroyedAttacker") - fd_EventAttackDetail_planetaryDefenseCannonDamageToAttacker = md_EventAttackDetail.Fields().ByName("planetaryDefenseCannonDamageToAttacker") - fd_EventAttackDetail_planetaryDefenseCannonDamage = md_EventAttackDetail.Fields().ByName("planetaryDefenseCannonDamage") - fd_EventAttackDetail_planetaryDefenseCannonDamageDestroyedAttacker = md_EventAttackDetail.Fields().ByName("planetaryDefenseCannonDamageDestroyedAttacker") - fd_EventAttackDetail_attackerPlayerId = md_EventAttackDetail.Fields().ByName("attackerPlayerId") - fd_EventAttackDetail_targetPlayerId = md_EventAttackDetail.Fields().ByName("targetPlayerId") + md_EventGuildMembershipApplication = File_structs_structs_events_proto.Messages().ByName("EventGuildMembershipApplication") + fd_EventGuildMembershipApplication_guildMembershipApplication = md_EventGuildMembershipApplication.Fields().ByName("guildMembershipApplication") } -var _ protoreflect.Message = (*fastReflection_EventAttackDetail)(nil) +var _ protoreflect.Message = (*fastReflection_EventGuildMembershipApplication)(nil) -type fastReflection_EventAttackDetail EventAttackDetail +type fastReflection_EventGuildMembershipApplication EventGuildMembershipApplication -func (x *EventAttackDetail) ProtoReflect() protoreflect.Message { - return (*fastReflection_EventAttackDetail)(x) +func (x *EventGuildMembershipApplication) ProtoReflect() protoreflect.Message { + return (*fastReflection_EventGuildMembershipApplication)(x) } -func (x *EventAttackDetail) slowProtoReflect() protoreflect.Message { +func (x *EventGuildMembershipApplication) slowProtoReflect() protoreflect.Message { mi := &file_structs_structs_events_proto_msgTypes[34] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -15665,43 +15373,43 @@ func (x *EventAttackDetail) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_EventAttackDetail_messageType fastReflection_EventAttackDetail_messageType -var _ protoreflect.MessageType = fastReflection_EventAttackDetail_messageType{} +var _fastReflection_EventGuildMembershipApplication_messageType fastReflection_EventGuildMembershipApplication_messageType +var _ protoreflect.MessageType = fastReflection_EventGuildMembershipApplication_messageType{} -type fastReflection_EventAttackDetail_messageType struct{} +type fastReflection_EventGuildMembershipApplication_messageType struct{} -func (x fastReflection_EventAttackDetail_messageType) Zero() protoreflect.Message { - return (*fastReflection_EventAttackDetail)(nil) +func (x fastReflection_EventGuildMembershipApplication_messageType) Zero() protoreflect.Message { + return (*fastReflection_EventGuildMembershipApplication)(nil) } -func (x fastReflection_EventAttackDetail_messageType) New() protoreflect.Message { - return new(fastReflection_EventAttackDetail) +func (x fastReflection_EventGuildMembershipApplication_messageType) New() protoreflect.Message { + return new(fastReflection_EventGuildMembershipApplication) } -func (x fastReflection_EventAttackDetail_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_EventAttackDetail +func (x fastReflection_EventGuildMembershipApplication_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_EventGuildMembershipApplication } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_EventAttackDetail) Descriptor() protoreflect.MessageDescriptor { - return md_EventAttackDetail +func (x *fastReflection_EventGuildMembershipApplication) Descriptor() protoreflect.MessageDescriptor { + return md_EventGuildMembershipApplication } // 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_EventAttackDetail) Type() protoreflect.MessageType { - return _fastReflection_EventAttackDetail_messageType +func (x *fastReflection_EventGuildMembershipApplication) Type() protoreflect.MessageType { + return _fastReflection_EventGuildMembershipApplication_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_EventAttackDetail) New() protoreflect.Message { - return new(fastReflection_EventAttackDetail) +func (x *fastReflection_EventGuildMembershipApplication) New() protoreflect.Message { + return new(fastReflection_EventGuildMembershipApplication) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_EventAttackDetail) Interface() protoreflect.ProtoMessage { - return (*EventAttackDetail)(x) +func (x *fastReflection_EventGuildMembershipApplication) Interface() protoreflect.ProtoMessage { + return (*EventGuildMembershipApplication)(x) } // Range iterates over every populated field in an undefined order, @@ -15709,171 +15417,35 @@ func (x *fastReflection_EventAttackDetail) Interface() protoreflect.ProtoMessage // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_EventAttackDetail) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.AttackerStructId != "" { - value := protoreflect.ValueOfString(x.AttackerStructId) - if !f(fd_EventAttackDetail_attackerStructId, value) { - return - } - } - if x.AttackerStructType != uint64(0) { - value := protoreflect.ValueOfUint64(x.AttackerStructType) - if !f(fd_EventAttackDetail_attackerStructType, value) { +func (x *fastReflection_EventGuildMembershipApplication) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.GuildMembershipApplication != nil { + value := protoreflect.ValueOfMessage(x.GuildMembershipApplication.ProtoReflect()) + if !f(fd_EventGuildMembershipApplication_guildMembershipApplication, value) { return } } - if x.AttackerStructLocationType != 0 { - value := protoreflect.ValueOfEnum((protoreflect.EnumNumber)(x.AttackerStructLocationType)) - if !f(fd_EventAttackDetail_attackerStructLocationType, 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_EventGuildMembershipApplication) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "structs.structs.EventGuildMembershipApplication.guildMembershipApplication": + return x.GuildMembershipApplication != nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventGuildMembershipApplication")) } - } - if x.AttackerStructLocationId != "" { - value := protoreflect.ValueOfString(x.AttackerStructLocationId) - if !f(fd_EventAttackDetail_attackerStructLocationId, value) { - return - } - } - if x.AttackerStructOperatingAmbit != 0 { - value := protoreflect.ValueOfEnum((protoreflect.EnumNumber)(x.AttackerStructOperatingAmbit)) - if !f(fd_EventAttackDetail_attackerStructOperatingAmbit, value) { - return - } - } - if x.AttackerStructSlot != uint64(0) { - value := protoreflect.ValueOfUint64(x.AttackerStructSlot) - if !f(fd_EventAttackDetail_attackerStructSlot, value) { - return - } - } - if x.WeaponSystem != 0 { - value := protoreflect.ValueOfEnum((protoreflect.EnumNumber)(x.WeaponSystem)) - if !f(fd_EventAttackDetail_weaponSystem, value) { - return - } - } - if x.WeaponControl != 0 { - value := protoreflect.ValueOfEnum((protoreflect.EnumNumber)(x.WeaponControl)) - if !f(fd_EventAttackDetail_weaponControl, value) { - return - } - } - if x.ActiveWeaponry != 0 { - value := protoreflect.ValueOfEnum((protoreflect.EnumNumber)(x.ActiveWeaponry)) - if !f(fd_EventAttackDetail_activeWeaponry, value) { - return - } - } - if len(x.EventAttackShotDetail) != 0 { - value := protoreflect.ValueOfList(&_EventAttackDetail_10_list{list: &x.EventAttackShotDetail}) - if !f(fd_EventAttackDetail_eventAttackShotDetail, value) { - return - } - } - if x.RecoilDamageToAttacker != false { - value := protoreflect.ValueOfBool(x.RecoilDamageToAttacker) - if !f(fd_EventAttackDetail_recoilDamageToAttacker, value) { - return - } - } - if x.RecoilDamage != uint64(0) { - value := protoreflect.ValueOfUint64(x.RecoilDamage) - if !f(fd_EventAttackDetail_recoilDamage, value) { - return - } - } - if x.RecoilDamageDestroyedAttacker != false { - value := protoreflect.ValueOfBool(x.RecoilDamageDestroyedAttacker) - if !f(fd_EventAttackDetail_recoilDamageDestroyedAttacker, value) { - return - } - } - if x.PlanetaryDefenseCannonDamageToAttacker != false { - value := protoreflect.ValueOfBool(x.PlanetaryDefenseCannonDamageToAttacker) - if !f(fd_EventAttackDetail_planetaryDefenseCannonDamageToAttacker, value) { - return - } - } - if x.PlanetaryDefenseCannonDamage != uint64(0) { - value := protoreflect.ValueOfUint64(x.PlanetaryDefenseCannonDamage) - if !f(fd_EventAttackDetail_planetaryDefenseCannonDamage, value) { - return - } - } - if x.PlanetaryDefenseCannonDamageDestroyedAttacker != false { - value := protoreflect.ValueOfBool(x.PlanetaryDefenseCannonDamageDestroyedAttacker) - if !f(fd_EventAttackDetail_planetaryDefenseCannonDamageDestroyedAttacker, value) { - return - } - } - if x.AttackerPlayerId != "" { - value := protoreflect.ValueOfString(x.AttackerPlayerId) - if !f(fd_EventAttackDetail_attackerPlayerId, value) { - return - } - } - if x.TargetPlayerId != "" { - value := protoreflect.ValueOfString(x.TargetPlayerId) - if !f(fd_EventAttackDetail_targetPlayerId, 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_EventAttackDetail) Has(fd protoreflect.FieldDescriptor) bool { - switch fd.FullName() { - case "structs.structs.EventAttackDetail.attackerStructId": - return x.AttackerStructId != "" - case "structs.structs.EventAttackDetail.attackerStructType": - return x.AttackerStructType != uint64(0) - case "structs.structs.EventAttackDetail.attackerStructLocationType": - return x.AttackerStructLocationType != 0 - case "structs.structs.EventAttackDetail.attackerStructLocationId": - return x.AttackerStructLocationId != "" - case "structs.structs.EventAttackDetail.attackerStructOperatingAmbit": - return x.AttackerStructOperatingAmbit != 0 - case "structs.structs.EventAttackDetail.attackerStructSlot": - return x.AttackerStructSlot != uint64(0) - case "structs.structs.EventAttackDetail.weaponSystem": - return x.WeaponSystem != 0 - case "structs.structs.EventAttackDetail.weaponControl": - return x.WeaponControl != 0 - case "structs.structs.EventAttackDetail.activeWeaponry": - return x.ActiveWeaponry != 0 - case "structs.structs.EventAttackDetail.eventAttackShotDetail": - return len(x.EventAttackShotDetail) != 0 - case "structs.structs.EventAttackDetail.recoilDamageToAttacker": - return x.RecoilDamageToAttacker != false - case "structs.structs.EventAttackDetail.recoilDamage": - return x.RecoilDamage != uint64(0) - case "structs.structs.EventAttackDetail.recoilDamageDestroyedAttacker": - return x.RecoilDamageDestroyedAttacker != false - case "structs.structs.EventAttackDetail.planetaryDefenseCannonDamageToAttacker": - return x.PlanetaryDefenseCannonDamageToAttacker != false - case "structs.structs.EventAttackDetail.planetaryDefenseCannonDamage": - return x.PlanetaryDefenseCannonDamage != uint64(0) - case "structs.structs.EventAttackDetail.planetaryDefenseCannonDamageDestroyedAttacker": - return x.PlanetaryDefenseCannonDamageDestroyedAttacker != false - case "structs.structs.EventAttackDetail.attackerPlayerId": - return x.AttackerPlayerId != "" - case "structs.structs.EventAttackDetail.targetPlayerId": - return x.TargetPlayerId != "" - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAttackDetail")) - } - panic(fmt.Errorf("message structs.structs.EventAttackDetail does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventGuildMembershipApplication does not contain field %s", fd.FullName())) } } @@ -15883,49 +15455,15 @@ func (x *fastReflection_EventAttackDetail) Has(fd protoreflect.FieldDescriptor) // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventAttackDetail) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_EventGuildMembershipApplication) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.EventAttackDetail.attackerStructId": - x.AttackerStructId = "" - case "structs.structs.EventAttackDetail.attackerStructType": - x.AttackerStructType = uint64(0) - case "structs.structs.EventAttackDetail.attackerStructLocationType": - x.AttackerStructLocationType = 0 - case "structs.structs.EventAttackDetail.attackerStructLocationId": - x.AttackerStructLocationId = "" - case "structs.structs.EventAttackDetail.attackerStructOperatingAmbit": - x.AttackerStructOperatingAmbit = 0 - case "structs.structs.EventAttackDetail.attackerStructSlot": - x.AttackerStructSlot = uint64(0) - case "structs.structs.EventAttackDetail.weaponSystem": - x.WeaponSystem = 0 - case "structs.structs.EventAttackDetail.weaponControl": - x.WeaponControl = 0 - case "structs.structs.EventAttackDetail.activeWeaponry": - x.ActiveWeaponry = 0 - case "structs.structs.EventAttackDetail.eventAttackShotDetail": - x.EventAttackShotDetail = nil - case "structs.structs.EventAttackDetail.recoilDamageToAttacker": - x.RecoilDamageToAttacker = false - case "structs.structs.EventAttackDetail.recoilDamage": - x.RecoilDamage = uint64(0) - case "structs.structs.EventAttackDetail.recoilDamageDestroyedAttacker": - x.RecoilDamageDestroyedAttacker = false - case "structs.structs.EventAttackDetail.planetaryDefenseCannonDamageToAttacker": - x.PlanetaryDefenseCannonDamageToAttacker = false - case "structs.structs.EventAttackDetail.planetaryDefenseCannonDamage": - x.PlanetaryDefenseCannonDamage = uint64(0) - case "structs.structs.EventAttackDetail.planetaryDefenseCannonDamageDestroyedAttacker": - x.PlanetaryDefenseCannonDamageDestroyedAttacker = false - case "structs.structs.EventAttackDetail.attackerPlayerId": - x.AttackerPlayerId = "" - case "structs.structs.EventAttackDetail.targetPlayerId": - x.TargetPlayerId = "" + case "structs.structs.EventGuildMembershipApplication.guildMembershipApplication": + x.GuildMembershipApplication = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAttackDetail")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventGuildMembershipApplication")) } - panic(fmt.Errorf("message structs.structs.EventAttackDetail does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventGuildMembershipApplication does not contain field %s", fd.FullName())) } } @@ -15935,70 +15473,16 @@ func (x *fastReflection_EventAttackDetail) Clear(fd protoreflect.FieldDescriptor // 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_EventAttackDetail) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_EventGuildMembershipApplication) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.EventAttackDetail.attackerStructId": - value := x.AttackerStructId - return protoreflect.ValueOfString(value) - case "structs.structs.EventAttackDetail.attackerStructType": - value := x.AttackerStructType - return protoreflect.ValueOfUint64(value) - case "structs.structs.EventAttackDetail.attackerStructLocationType": - value := x.AttackerStructLocationType - return protoreflect.ValueOfEnum((protoreflect.EnumNumber)(value)) - case "structs.structs.EventAttackDetail.attackerStructLocationId": - value := x.AttackerStructLocationId - return protoreflect.ValueOfString(value) - case "structs.structs.EventAttackDetail.attackerStructOperatingAmbit": - value := x.AttackerStructOperatingAmbit - return protoreflect.ValueOfEnum((protoreflect.EnumNumber)(value)) - case "structs.structs.EventAttackDetail.attackerStructSlot": - value := x.AttackerStructSlot - return protoreflect.ValueOfUint64(value) - case "structs.structs.EventAttackDetail.weaponSystem": - value := x.WeaponSystem - return protoreflect.ValueOfEnum((protoreflect.EnumNumber)(value)) - case "structs.structs.EventAttackDetail.weaponControl": - value := x.WeaponControl - return protoreflect.ValueOfEnum((protoreflect.EnumNumber)(value)) - case "structs.structs.EventAttackDetail.activeWeaponry": - value := x.ActiveWeaponry - return protoreflect.ValueOfEnum((protoreflect.EnumNumber)(value)) - case "structs.structs.EventAttackDetail.eventAttackShotDetail": - if len(x.EventAttackShotDetail) == 0 { - return protoreflect.ValueOfList(&_EventAttackDetail_10_list{}) - } - listValue := &_EventAttackDetail_10_list{list: &x.EventAttackShotDetail} - return protoreflect.ValueOfList(listValue) - case "structs.structs.EventAttackDetail.recoilDamageToAttacker": - value := x.RecoilDamageToAttacker - return protoreflect.ValueOfBool(value) - case "structs.structs.EventAttackDetail.recoilDamage": - value := x.RecoilDamage - return protoreflect.ValueOfUint64(value) - case "structs.structs.EventAttackDetail.recoilDamageDestroyedAttacker": - value := x.RecoilDamageDestroyedAttacker - return protoreflect.ValueOfBool(value) - case "structs.structs.EventAttackDetail.planetaryDefenseCannonDamageToAttacker": - value := x.PlanetaryDefenseCannonDamageToAttacker - return protoreflect.ValueOfBool(value) - case "structs.structs.EventAttackDetail.planetaryDefenseCannonDamage": - value := x.PlanetaryDefenseCannonDamage - return protoreflect.ValueOfUint64(value) - case "structs.structs.EventAttackDetail.planetaryDefenseCannonDamageDestroyedAttacker": - value := x.PlanetaryDefenseCannonDamageDestroyedAttacker - return protoreflect.ValueOfBool(value) - case "structs.structs.EventAttackDetail.attackerPlayerId": - value := x.AttackerPlayerId - return protoreflect.ValueOfString(value) - case "structs.structs.EventAttackDetail.targetPlayerId": - value := x.TargetPlayerId - return protoreflect.ValueOfString(value) + case "structs.structs.EventGuildMembershipApplication.guildMembershipApplication": + value := x.GuildMembershipApplication + return protoreflect.ValueOfMessage(value.ProtoReflect()) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAttackDetail")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventGuildMembershipApplication")) } - panic(fmt.Errorf("message structs.structs.EventAttackDetail does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.EventGuildMembershipApplication does not contain field %s", descriptor.FullName())) } } @@ -16012,51 +15496,15 @@ func (x *fastReflection_EventAttackDetail) Get(descriptor protoreflect.FieldDesc // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventAttackDetail) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_EventGuildMembershipApplication) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.EventAttackDetail.attackerStructId": - x.AttackerStructId = value.Interface().(string) - case "structs.structs.EventAttackDetail.attackerStructType": - x.AttackerStructType = value.Uint() - case "structs.structs.EventAttackDetail.attackerStructLocationType": - x.AttackerStructLocationType = (ObjectType)(value.Enum()) - case "structs.structs.EventAttackDetail.attackerStructLocationId": - x.AttackerStructLocationId = value.Interface().(string) - case "structs.structs.EventAttackDetail.attackerStructOperatingAmbit": - x.AttackerStructOperatingAmbit = (Ambit)(value.Enum()) - case "structs.structs.EventAttackDetail.attackerStructSlot": - x.AttackerStructSlot = value.Uint() - case "structs.structs.EventAttackDetail.weaponSystem": - x.WeaponSystem = (TechWeaponSystem)(value.Enum()) - case "structs.structs.EventAttackDetail.weaponControl": - x.WeaponControl = (TechWeaponControl)(value.Enum()) - case "structs.structs.EventAttackDetail.activeWeaponry": - x.ActiveWeaponry = (TechActiveWeaponry)(value.Enum()) - case "structs.structs.EventAttackDetail.eventAttackShotDetail": - lv := value.List() - clv := lv.(*_EventAttackDetail_10_list) - x.EventAttackShotDetail = *clv.list - case "structs.structs.EventAttackDetail.recoilDamageToAttacker": - x.RecoilDamageToAttacker = value.Bool() - case "structs.structs.EventAttackDetail.recoilDamage": - x.RecoilDamage = value.Uint() - case "structs.structs.EventAttackDetail.recoilDamageDestroyedAttacker": - x.RecoilDamageDestroyedAttacker = value.Bool() - case "structs.structs.EventAttackDetail.planetaryDefenseCannonDamageToAttacker": - x.PlanetaryDefenseCannonDamageToAttacker = value.Bool() - case "structs.structs.EventAttackDetail.planetaryDefenseCannonDamage": - x.PlanetaryDefenseCannonDamage = value.Uint() - case "structs.structs.EventAttackDetail.planetaryDefenseCannonDamageDestroyedAttacker": - x.PlanetaryDefenseCannonDamageDestroyedAttacker = value.Bool() - case "structs.structs.EventAttackDetail.attackerPlayerId": - x.AttackerPlayerId = value.Interface().(string) - case "structs.structs.EventAttackDetail.targetPlayerId": - x.TargetPlayerId = value.Interface().(string) + case "structs.structs.EventGuildMembershipApplication.guildMembershipApplication": + x.GuildMembershipApplication = value.Message().Interface().(*GuildMembershipApplication) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAttackDetail")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventGuildMembershipApplication")) } - panic(fmt.Errorf("message structs.structs.EventAttackDetail does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventGuildMembershipApplication does not contain field %s", fd.FullName())) } } @@ -16070,113 +15518,44 @@ func (x *fastReflection_EventAttackDetail) Set(fd protoreflect.FieldDescriptor, // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventAttackDetail) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_EventGuildMembershipApplication) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.EventAttackDetail.eventAttackShotDetail": - if x.EventAttackShotDetail == nil { - x.EventAttackShotDetail = []*EventAttackShotDetail{} + case "structs.structs.EventGuildMembershipApplication.guildMembershipApplication": + if x.GuildMembershipApplication == nil { + x.GuildMembershipApplication = new(GuildMembershipApplication) } - value := &_EventAttackDetail_10_list{list: &x.EventAttackShotDetail} - return protoreflect.ValueOfList(value) - case "structs.structs.EventAttackDetail.attackerStructId": - panic(fmt.Errorf("field attackerStructId of message structs.structs.EventAttackDetail is not mutable")) - case "structs.structs.EventAttackDetail.attackerStructType": - panic(fmt.Errorf("field attackerStructType of message structs.structs.EventAttackDetail is not mutable")) - case "structs.structs.EventAttackDetail.attackerStructLocationType": - panic(fmt.Errorf("field attackerStructLocationType of message structs.structs.EventAttackDetail is not mutable")) - case "structs.structs.EventAttackDetail.attackerStructLocationId": - panic(fmt.Errorf("field attackerStructLocationId of message structs.structs.EventAttackDetail is not mutable")) - case "structs.structs.EventAttackDetail.attackerStructOperatingAmbit": - panic(fmt.Errorf("field attackerStructOperatingAmbit of message structs.structs.EventAttackDetail is not mutable")) - case "structs.structs.EventAttackDetail.attackerStructSlot": - panic(fmt.Errorf("field attackerStructSlot of message structs.structs.EventAttackDetail is not mutable")) - case "structs.structs.EventAttackDetail.weaponSystem": - panic(fmt.Errorf("field weaponSystem of message structs.structs.EventAttackDetail is not mutable")) - case "structs.structs.EventAttackDetail.weaponControl": - panic(fmt.Errorf("field weaponControl of message structs.structs.EventAttackDetail is not mutable")) - case "structs.structs.EventAttackDetail.activeWeaponry": - panic(fmt.Errorf("field activeWeaponry of message structs.structs.EventAttackDetail is not mutable")) - case "structs.structs.EventAttackDetail.recoilDamageToAttacker": - panic(fmt.Errorf("field recoilDamageToAttacker of message structs.structs.EventAttackDetail is not mutable")) - case "structs.structs.EventAttackDetail.recoilDamage": - panic(fmt.Errorf("field recoilDamage of message structs.structs.EventAttackDetail is not mutable")) - case "structs.structs.EventAttackDetail.recoilDamageDestroyedAttacker": - panic(fmt.Errorf("field recoilDamageDestroyedAttacker of message structs.structs.EventAttackDetail is not mutable")) - case "structs.structs.EventAttackDetail.planetaryDefenseCannonDamageToAttacker": - panic(fmt.Errorf("field planetaryDefenseCannonDamageToAttacker of message structs.structs.EventAttackDetail is not mutable")) - case "structs.structs.EventAttackDetail.planetaryDefenseCannonDamage": - panic(fmt.Errorf("field planetaryDefenseCannonDamage of message structs.structs.EventAttackDetail is not mutable")) - case "structs.structs.EventAttackDetail.planetaryDefenseCannonDamageDestroyedAttacker": - panic(fmt.Errorf("field planetaryDefenseCannonDamageDestroyedAttacker of message structs.structs.EventAttackDetail is not mutable")) - case "structs.structs.EventAttackDetail.attackerPlayerId": - panic(fmt.Errorf("field attackerPlayerId of message structs.structs.EventAttackDetail is not mutable")) - case "structs.structs.EventAttackDetail.targetPlayerId": - panic(fmt.Errorf("field targetPlayerId of message structs.structs.EventAttackDetail is not mutable")) + return protoreflect.ValueOfMessage(x.GuildMembershipApplication.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAttackDetail")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventGuildMembershipApplication")) } - panic(fmt.Errorf("message structs.structs.EventAttackDetail does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventGuildMembershipApplication 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_EventAttackDetail) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_EventGuildMembershipApplication) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.EventAttackDetail.attackerStructId": - return protoreflect.ValueOfString("") - case "structs.structs.EventAttackDetail.attackerStructType": - return protoreflect.ValueOfUint64(uint64(0)) - case "structs.structs.EventAttackDetail.attackerStructLocationType": - return protoreflect.ValueOfEnum(0) - case "structs.structs.EventAttackDetail.attackerStructLocationId": - return protoreflect.ValueOfString("") - case "structs.structs.EventAttackDetail.attackerStructOperatingAmbit": - return protoreflect.ValueOfEnum(0) - case "structs.structs.EventAttackDetail.attackerStructSlot": - return protoreflect.ValueOfUint64(uint64(0)) - case "structs.structs.EventAttackDetail.weaponSystem": - return protoreflect.ValueOfEnum(0) - case "structs.structs.EventAttackDetail.weaponControl": - return protoreflect.ValueOfEnum(0) - case "structs.structs.EventAttackDetail.activeWeaponry": - return protoreflect.ValueOfEnum(0) - case "structs.structs.EventAttackDetail.eventAttackShotDetail": - list := []*EventAttackShotDetail{} - return protoreflect.ValueOfList(&_EventAttackDetail_10_list{list: &list}) - case "structs.structs.EventAttackDetail.recoilDamageToAttacker": - return protoreflect.ValueOfBool(false) - case "structs.structs.EventAttackDetail.recoilDamage": - return protoreflect.ValueOfUint64(uint64(0)) - case "structs.structs.EventAttackDetail.recoilDamageDestroyedAttacker": - return protoreflect.ValueOfBool(false) - case "structs.structs.EventAttackDetail.planetaryDefenseCannonDamageToAttacker": - return protoreflect.ValueOfBool(false) - case "structs.structs.EventAttackDetail.planetaryDefenseCannonDamage": - return protoreflect.ValueOfUint64(uint64(0)) - case "structs.structs.EventAttackDetail.planetaryDefenseCannonDamageDestroyedAttacker": - return protoreflect.ValueOfBool(false) - case "structs.structs.EventAttackDetail.attackerPlayerId": - return protoreflect.ValueOfString("") - case "structs.structs.EventAttackDetail.targetPlayerId": - return protoreflect.ValueOfString("") + case "structs.structs.EventGuildMembershipApplication.guildMembershipApplication": + m := new(GuildMembershipApplication) + return protoreflect.ValueOfMessage(m.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAttackDetail")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventGuildMembershipApplication")) } - panic(fmt.Errorf("message structs.structs.EventAttackDetail does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventGuildMembershipApplication 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_EventAttackDetail) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_EventGuildMembershipApplication) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.EventAttackDetail", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.EventGuildMembershipApplication", d.FullName())) } panic("unreachable") } @@ -16184,7 +15563,7 @@ func (x *fastReflection_EventAttackDetail) WhichOneof(d protoreflect.OneofDescri // 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_EventAttackDetail) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_EventGuildMembershipApplication) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -16195,7 +15574,7 @@ func (x *fastReflection_EventAttackDetail) GetUnknown() protoreflect.RawFields { // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventAttackDetail) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_EventGuildMembershipApplication) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -16207,7 +15586,7 @@ func (x *fastReflection_EventAttackDetail) SetUnknown(fields protoreflect.RawFie // 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_EventAttackDetail) IsValid() bool { +func (x *fastReflection_EventGuildMembershipApplication) IsValid() bool { return x != nil } @@ -16217,9 +15596,9 @@ func (x *fastReflection_EventAttackDetail) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_EventAttackDetail) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_EventGuildMembershipApplication) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*EventAttackDetail) + x := input.Message.Interface().(*EventGuildMembershipApplication) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -16231,67 +15610,10 @@ func (x *fastReflection_EventAttackDetail) ProtoMethods() *protoiface.Methods { var n int var l int _ = l - l = len(x.AttackerStructId) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } - if x.AttackerStructType != 0 { - n += 1 + runtime.Sov(uint64(x.AttackerStructType)) - } - if x.AttackerStructLocationType != 0 { - n += 1 + runtime.Sov(uint64(x.AttackerStructLocationType)) - } - l = len(x.AttackerStructLocationId) - if l > 0 { + if x.GuildMembershipApplication != nil { + l = options.Size(x.GuildMembershipApplication) n += 1 + l + runtime.Sov(uint64(l)) } - if x.AttackerStructOperatingAmbit != 0 { - n += 1 + runtime.Sov(uint64(x.AttackerStructOperatingAmbit)) - } - if x.AttackerStructSlot != 0 { - n += 1 + runtime.Sov(uint64(x.AttackerStructSlot)) - } - if x.WeaponSystem != 0 { - n += 1 + runtime.Sov(uint64(x.WeaponSystem)) - } - if x.WeaponControl != 0 { - n += 1 + runtime.Sov(uint64(x.WeaponControl)) - } - if x.ActiveWeaponry != 0 { - n += 1 + runtime.Sov(uint64(x.ActiveWeaponry)) - } - if len(x.EventAttackShotDetail) > 0 { - for _, e := range x.EventAttackShotDetail { - l = options.Size(e) - n += 1 + l + runtime.Sov(uint64(l)) - } - } - if x.RecoilDamageToAttacker { - n += 2 - } - if x.RecoilDamage != 0 { - n += 1 + runtime.Sov(uint64(x.RecoilDamage)) - } - if x.RecoilDamageDestroyedAttacker { - n += 2 - } - if x.PlanetaryDefenseCannonDamageToAttacker { - n += 2 - } - if x.PlanetaryDefenseCannonDamage != 0 { - n += 1 + runtime.Sov(uint64(x.PlanetaryDefenseCannonDamage)) - } - if x.PlanetaryDefenseCannonDamageDestroyedAttacker { - n += 3 - } - l = len(x.AttackerPlayerId) - if l > 0 { - n += 2 + l + runtime.Sov(uint64(l)) - } - l = len(x.TargetPlayerId) - if l > 0 { - n += 2 + l + runtime.Sov(uint64(l)) - } if x.unknownFields != nil { n += len(x.unknownFields) } @@ -16302,7 +15624,7 @@ func (x *fastReflection_EventAttackDetail) ProtoMethods() *protoiface.Methods { } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*EventAttackDetail) + x := input.Message.Interface().(*EventGuildMembershipApplication) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -16321,140 +15643,19 @@ func (x *fastReflection_EventAttackDetail) ProtoMethods() *protoiface.Methods { i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if len(x.TargetPlayerId) > 0 { - i -= len(x.TargetPlayerId) - copy(dAtA[i:], x.TargetPlayerId) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.TargetPlayerId))) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0x92 - } - if len(x.AttackerPlayerId) > 0 { - i -= len(x.AttackerPlayerId) - copy(dAtA[i:], x.AttackerPlayerId) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.AttackerPlayerId))) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0x8a - } - if x.PlanetaryDefenseCannonDamageDestroyedAttacker { - i-- - if x.PlanetaryDefenseCannonDamageDestroyedAttacker { - dAtA[i] = 1 - } else { - dAtA[i] = 0 + if x.GuildMembershipApplication != nil { + encoded, err := options.Marshal(x.GuildMembershipApplication) + 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] = 0x1 - i-- - dAtA[i] = 0x80 - } - if x.PlanetaryDefenseCannonDamage != 0 { - i = runtime.EncodeVarint(dAtA, i, uint64(x.PlanetaryDefenseCannonDamage)) - i-- - dAtA[i] = 0x78 - } - if x.PlanetaryDefenseCannonDamageToAttacker { - i-- - if x.PlanetaryDefenseCannonDamageToAttacker { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x70 - } - if x.RecoilDamageDestroyedAttacker { - i-- - if x.RecoilDamageDestroyedAttacker { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x68 - } - if x.RecoilDamage != 0 { - i = runtime.EncodeVarint(dAtA, i, uint64(x.RecoilDamage)) - i-- - dAtA[i] = 0x60 - } - if x.RecoilDamageToAttacker { - i-- - if x.RecoilDamageToAttacker { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x58 - } - if len(x.EventAttackShotDetail) > 0 { - for iNdEx := len(x.EventAttackShotDetail) - 1; iNdEx >= 0; iNdEx-- { - encoded, err := options.Marshal(x.EventAttackShotDetail[iNdEx]) - 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] = 0x52 - } - } - if x.ActiveWeaponry != 0 { - i = runtime.EncodeVarint(dAtA, i, uint64(x.ActiveWeaponry)) - i-- - dAtA[i] = 0x48 - } - if x.WeaponControl != 0 { - i = runtime.EncodeVarint(dAtA, i, uint64(x.WeaponControl)) - i-- - dAtA[i] = 0x40 - } - if x.WeaponSystem != 0 { - i = runtime.EncodeVarint(dAtA, i, uint64(x.WeaponSystem)) - i-- - dAtA[i] = 0x38 - } - if x.AttackerStructSlot != 0 { - i = runtime.EncodeVarint(dAtA, i, uint64(x.AttackerStructSlot)) - i-- - dAtA[i] = 0x30 - } - if x.AttackerStructOperatingAmbit != 0 { - i = runtime.EncodeVarint(dAtA, i, uint64(x.AttackerStructOperatingAmbit)) - i-- - dAtA[i] = 0x28 - } - if len(x.AttackerStructLocationId) > 0 { - i -= len(x.AttackerStructLocationId) - copy(dAtA[i:], x.AttackerStructLocationId) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.AttackerStructLocationId))) - i-- - dAtA[i] = 0x22 - } - if x.AttackerStructLocationType != 0 { - i = runtime.EncodeVarint(dAtA, i, uint64(x.AttackerStructLocationType)) - i-- - dAtA[i] = 0x18 - } - if x.AttackerStructType != 0 { - i = runtime.EncodeVarint(dAtA, i, uint64(x.AttackerStructType)) - i-- - dAtA[i] = 0x10 - } - if len(x.AttackerStructId) > 0 { - i -= len(x.AttackerStructId) - copy(dAtA[i:], x.AttackerStructId) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.AttackerStructId))) - i-- - dAtA[i] = 0xa + dAtA[i] = 0xa } if input.Buf != nil { input.Buf = append(input.Buf, dAtA...) @@ -16467,7 +15668,7 @@ func (x *fastReflection_EventAttackDetail) ProtoMethods() *protoiface.Methods { }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*EventAttackDetail) + x := input.Message.Interface().(*EventGuildMembershipApplication) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -16499,17 +15700,17 @@ func (x *fastReflection_EventAttackDetail) ProtoMethods() *protoiface.Methods { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventAttackDetail: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventGuildMembershipApplication: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventAttackDetail: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventGuildMembershipApplication: 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 AttackerStructId", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field GuildMembershipApplication", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -16519,153 +15720,7545 @@ func (x *fastReflection_EventAttackDetail) ProtoMethods() *protoiface.Methods { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength } - postIndex := iNdEx + intStringLen + 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 } - x.AttackerStructId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field AttackerStructType", wireType) - } - x.AttackerStructType = 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.AttackerStructType |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 3: - if wireType != 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field AttackerStructLocationType", wireType) - } - x.AttackerStructLocationType = 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.AttackerStructLocationType |= ObjectType(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 4: - if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field AttackerStructLocationId", wireType) + if x.GuildMembershipApplication == nil { + x.GuildMembershipApplication = &GuildMembershipApplication{} } - 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 - } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.GuildMembershipApplication); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err } - intStringLen := int(stringLen) - if intStringLen < 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err } - postIndex := iNdEx + intStringLen - if postIndex < 0 { + if (skippy < 0) || (iNdEx+skippy) < 0 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength } - if postIndex > l { + if (iNdEx + skippy) > l { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - x.AttackerStructLocationId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 5: - if wireType != 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field AttackerStructOperatingAmbit", wireType) - } - x.AttackerStructOperatingAmbit = 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.AttackerStructOperatingAmbit |= Ambit(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 6: - if wireType != 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field AttackerStructSlot", wireType) - } - x.AttackerStructSlot = 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.AttackerStructSlot |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 7: - if wireType != 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field WeaponSystem", wireType) - } - x.WeaponSystem = 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.WeaponSystem |= TechWeaponSystem(b&0x7F) << shift - if b < 0x80 { - break - } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) } - case 8: - if wireType != 0 { + 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_EventOreMine protoreflect.MessageDescriptor + fd_EventOreMine_eventOreMineDetail protoreflect.FieldDescriptor +) + +func init() { + file_structs_structs_events_proto_init() + md_EventOreMine = File_structs_structs_events_proto.Messages().ByName("EventOreMine") + fd_EventOreMine_eventOreMineDetail = md_EventOreMine.Fields().ByName("eventOreMineDetail") +} + +var _ protoreflect.Message = (*fastReflection_EventOreMine)(nil) + +type fastReflection_EventOreMine EventOreMine + +func (x *EventOreMine) ProtoReflect() protoreflect.Message { + return (*fastReflection_EventOreMine)(x) +} + +func (x *EventOreMine) slowProtoReflect() protoreflect.Message { + mi := &file_structs_structs_events_proto_msgTypes[35] + 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_EventOreMine_messageType fastReflection_EventOreMine_messageType +var _ protoreflect.MessageType = fastReflection_EventOreMine_messageType{} + +type fastReflection_EventOreMine_messageType struct{} + +func (x fastReflection_EventOreMine_messageType) Zero() protoreflect.Message { + return (*fastReflection_EventOreMine)(nil) +} +func (x fastReflection_EventOreMine_messageType) New() protoreflect.Message { + return new(fastReflection_EventOreMine) +} +func (x fastReflection_EventOreMine_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_EventOreMine +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_EventOreMine) Descriptor() protoreflect.MessageDescriptor { + return md_EventOreMine +} + +// 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_EventOreMine) Type() protoreflect.MessageType { + return _fastReflection_EventOreMine_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_EventOreMine) New() protoreflect.Message { + return new(fastReflection_EventOreMine) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_EventOreMine) Interface() protoreflect.ProtoMessage { + return (*EventOreMine)(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_EventOreMine) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.EventOreMineDetail != nil { + value := protoreflect.ValueOfMessage(x.EventOreMineDetail.ProtoReflect()) + if !f(fd_EventOreMine_eventOreMineDetail, 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_EventOreMine) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "structs.structs.EventOreMine.eventOreMineDetail": + return x.EventOreMineDetail != nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventOreMine")) + } + panic(fmt.Errorf("message structs.structs.EventOreMine 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_EventOreMine) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "structs.structs.EventOreMine.eventOreMineDetail": + x.EventOreMineDetail = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventOreMine")) + } + panic(fmt.Errorf("message structs.structs.EventOreMine 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_EventOreMine) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "structs.structs.EventOreMine.eventOreMineDetail": + value := x.EventOreMineDetail + return protoreflect.ValueOfMessage(value.ProtoReflect()) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventOreMine")) + } + panic(fmt.Errorf("message structs.structs.EventOreMine 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_EventOreMine) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "structs.structs.EventOreMine.eventOreMineDetail": + x.EventOreMineDetail = value.Message().Interface().(*EventOreMineDetail) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventOreMine")) + } + panic(fmt.Errorf("message structs.structs.EventOreMine 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_EventOreMine) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.EventOreMine.eventOreMineDetail": + if x.EventOreMineDetail == nil { + x.EventOreMineDetail = new(EventOreMineDetail) + } + return protoreflect.ValueOfMessage(x.EventOreMineDetail.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventOreMine")) + } + panic(fmt.Errorf("message structs.structs.EventOreMine 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_EventOreMine) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.EventOreMine.eventOreMineDetail": + m := new(EventOreMineDetail) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventOreMine")) + } + panic(fmt.Errorf("message structs.structs.EventOreMine 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_EventOreMine) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in structs.structs.EventOreMine", 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_EventOreMine) 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_EventOreMine) 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_EventOreMine) 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_EventOreMine) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*EventOreMine) + 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.EventOreMineDetail != nil { + l = options.Size(x.EventOreMineDetail) + 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().(*EventOreMine) + 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.EventOreMineDetail != nil { + encoded, err := options.Marshal(x.EventOreMineDetail) + 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().(*EventOreMine) + 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: EventOreMine: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventOreMine: 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 EventOreMineDetail", 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.EventOreMineDetail == nil { + x.EventOreMineDetail = &EventOreMineDetail{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.EventOreMineDetail); 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_EventOreMineDetail protoreflect.MessageDescriptor + fd_EventOreMineDetail_playerId protoreflect.FieldDescriptor + fd_EventOreMineDetail_primaryAddress protoreflect.FieldDescriptor + fd_EventOreMineDetail_amount protoreflect.FieldDescriptor +) + +func init() { + file_structs_structs_events_proto_init() + md_EventOreMineDetail = File_structs_structs_events_proto.Messages().ByName("EventOreMineDetail") + fd_EventOreMineDetail_playerId = md_EventOreMineDetail.Fields().ByName("playerId") + fd_EventOreMineDetail_primaryAddress = md_EventOreMineDetail.Fields().ByName("primaryAddress") + fd_EventOreMineDetail_amount = md_EventOreMineDetail.Fields().ByName("amount") +} + +var _ protoreflect.Message = (*fastReflection_EventOreMineDetail)(nil) + +type fastReflection_EventOreMineDetail EventOreMineDetail + +func (x *EventOreMineDetail) ProtoReflect() protoreflect.Message { + return (*fastReflection_EventOreMineDetail)(x) +} + +func (x *EventOreMineDetail) slowProtoReflect() protoreflect.Message { + mi := &file_structs_structs_events_proto_msgTypes[36] + 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_EventOreMineDetail_messageType fastReflection_EventOreMineDetail_messageType +var _ protoreflect.MessageType = fastReflection_EventOreMineDetail_messageType{} + +type fastReflection_EventOreMineDetail_messageType struct{} + +func (x fastReflection_EventOreMineDetail_messageType) Zero() protoreflect.Message { + return (*fastReflection_EventOreMineDetail)(nil) +} +func (x fastReflection_EventOreMineDetail_messageType) New() protoreflect.Message { + return new(fastReflection_EventOreMineDetail) +} +func (x fastReflection_EventOreMineDetail_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_EventOreMineDetail +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_EventOreMineDetail) Descriptor() protoreflect.MessageDescriptor { + return md_EventOreMineDetail +} + +// 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_EventOreMineDetail) Type() protoreflect.MessageType { + return _fastReflection_EventOreMineDetail_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_EventOreMineDetail) New() protoreflect.Message { + return new(fastReflection_EventOreMineDetail) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_EventOreMineDetail) Interface() protoreflect.ProtoMessage { + return (*EventOreMineDetail)(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_EventOreMineDetail) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.PlayerId != "" { + value := protoreflect.ValueOfString(x.PlayerId) + if !f(fd_EventOreMineDetail_playerId, value) { + return + } + } + if x.PrimaryAddress != "" { + value := protoreflect.ValueOfString(x.PrimaryAddress) + if !f(fd_EventOreMineDetail_primaryAddress, value) { + return + } + } + if x.Amount != uint64(0) { + value := protoreflect.ValueOfUint64(x.Amount) + if !f(fd_EventOreMineDetail_amount, 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_EventOreMineDetail) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "structs.structs.EventOreMineDetail.playerId": + return x.PlayerId != "" + case "structs.structs.EventOreMineDetail.primaryAddress": + return x.PrimaryAddress != "" + case "structs.structs.EventOreMineDetail.amount": + return x.Amount != uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventOreMineDetail")) + } + panic(fmt.Errorf("message structs.structs.EventOreMineDetail 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_EventOreMineDetail) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "structs.structs.EventOreMineDetail.playerId": + x.PlayerId = "" + case "structs.structs.EventOreMineDetail.primaryAddress": + x.PrimaryAddress = "" + case "structs.structs.EventOreMineDetail.amount": + x.Amount = uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventOreMineDetail")) + } + panic(fmt.Errorf("message structs.structs.EventOreMineDetail 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_EventOreMineDetail) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "structs.structs.EventOreMineDetail.playerId": + value := x.PlayerId + return protoreflect.ValueOfString(value) + case "structs.structs.EventOreMineDetail.primaryAddress": + value := x.PrimaryAddress + return protoreflect.ValueOfString(value) + case "structs.structs.EventOreMineDetail.amount": + value := x.Amount + return protoreflect.ValueOfUint64(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventOreMineDetail")) + } + panic(fmt.Errorf("message structs.structs.EventOreMineDetail 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_EventOreMineDetail) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "structs.structs.EventOreMineDetail.playerId": + x.PlayerId = value.Interface().(string) + case "structs.structs.EventOreMineDetail.primaryAddress": + x.PrimaryAddress = value.Interface().(string) + case "structs.structs.EventOreMineDetail.amount": + x.Amount = value.Uint() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventOreMineDetail")) + } + panic(fmt.Errorf("message structs.structs.EventOreMineDetail 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_EventOreMineDetail) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.EventOreMineDetail.playerId": + panic(fmt.Errorf("field playerId of message structs.structs.EventOreMineDetail is not mutable")) + case "structs.structs.EventOreMineDetail.primaryAddress": + panic(fmt.Errorf("field primaryAddress of message structs.structs.EventOreMineDetail is not mutable")) + case "structs.structs.EventOreMineDetail.amount": + panic(fmt.Errorf("field amount of message structs.structs.EventOreMineDetail is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventOreMineDetail")) + } + panic(fmt.Errorf("message structs.structs.EventOreMineDetail 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_EventOreMineDetail) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.EventOreMineDetail.playerId": + return protoreflect.ValueOfString("") + case "structs.structs.EventOreMineDetail.primaryAddress": + return protoreflect.ValueOfString("") + case "structs.structs.EventOreMineDetail.amount": + return protoreflect.ValueOfUint64(uint64(0)) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventOreMineDetail")) + } + panic(fmt.Errorf("message structs.structs.EventOreMineDetail 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_EventOreMineDetail) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in structs.structs.EventOreMineDetail", 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_EventOreMineDetail) 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_EventOreMineDetail) 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_EventOreMineDetail) 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_EventOreMineDetail) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*EventOreMineDetail) + 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.PlayerId) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.PrimaryAddress) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.Amount != 0 { + n += 1 + runtime.Sov(uint64(x.Amount)) + } + 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().(*EventOreMineDetail) + 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.Amount != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.Amount)) + i-- + dAtA[i] = 0x18 + } + if len(x.PrimaryAddress) > 0 { + i -= len(x.PrimaryAddress) + copy(dAtA[i:], x.PrimaryAddress) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.PrimaryAddress))) + i-- + dAtA[i] = 0x12 + } + if len(x.PlayerId) > 0 { + i -= len(x.PlayerId) + copy(dAtA[i:], x.PlayerId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.PlayerId))) + 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().(*EventOreMineDetail) + 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: EventOreMineDetail: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventOreMineDetail: 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 PlayerId", 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.PlayerId = 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 PrimaryAddress", 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.PrimaryAddress = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Amount", wireType) + } + x.Amount = 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.Amount |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + 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_EventAlphaRefine protoreflect.MessageDescriptor + fd_EventAlphaRefine_eventAlphaRefineDetail protoreflect.FieldDescriptor +) + +func init() { + file_structs_structs_events_proto_init() + md_EventAlphaRefine = File_structs_structs_events_proto.Messages().ByName("EventAlphaRefine") + fd_EventAlphaRefine_eventAlphaRefineDetail = md_EventAlphaRefine.Fields().ByName("eventAlphaRefineDetail") +} + +var _ protoreflect.Message = (*fastReflection_EventAlphaRefine)(nil) + +type fastReflection_EventAlphaRefine EventAlphaRefine + +func (x *EventAlphaRefine) ProtoReflect() protoreflect.Message { + return (*fastReflection_EventAlphaRefine)(x) +} + +func (x *EventAlphaRefine) slowProtoReflect() protoreflect.Message { + mi := &file_structs_structs_events_proto_msgTypes[37] + 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_EventAlphaRefine_messageType fastReflection_EventAlphaRefine_messageType +var _ protoreflect.MessageType = fastReflection_EventAlphaRefine_messageType{} + +type fastReflection_EventAlphaRefine_messageType struct{} + +func (x fastReflection_EventAlphaRefine_messageType) Zero() protoreflect.Message { + return (*fastReflection_EventAlphaRefine)(nil) +} +func (x fastReflection_EventAlphaRefine_messageType) New() protoreflect.Message { + return new(fastReflection_EventAlphaRefine) +} +func (x fastReflection_EventAlphaRefine_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_EventAlphaRefine +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_EventAlphaRefine) Descriptor() protoreflect.MessageDescriptor { + return md_EventAlphaRefine +} + +// 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_EventAlphaRefine) Type() protoreflect.MessageType { + return _fastReflection_EventAlphaRefine_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_EventAlphaRefine) New() protoreflect.Message { + return new(fastReflection_EventAlphaRefine) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_EventAlphaRefine) Interface() protoreflect.ProtoMessage { + return (*EventAlphaRefine)(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_EventAlphaRefine) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.EventAlphaRefineDetail != nil { + value := protoreflect.ValueOfMessage(x.EventAlphaRefineDetail.ProtoReflect()) + if !f(fd_EventAlphaRefine_eventAlphaRefineDetail, 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_EventAlphaRefine) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "structs.structs.EventAlphaRefine.eventAlphaRefineDetail": + return x.EventAlphaRefineDetail != nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAlphaRefine")) + } + panic(fmt.Errorf("message structs.structs.EventAlphaRefine 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_EventAlphaRefine) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "structs.structs.EventAlphaRefine.eventAlphaRefineDetail": + x.EventAlphaRefineDetail = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAlphaRefine")) + } + panic(fmt.Errorf("message structs.structs.EventAlphaRefine 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_EventAlphaRefine) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "structs.structs.EventAlphaRefine.eventAlphaRefineDetail": + value := x.EventAlphaRefineDetail + return protoreflect.ValueOfMessage(value.ProtoReflect()) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAlphaRefine")) + } + panic(fmt.Errorf("message structs.structs.EventAlphaRefine 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_EventAlphaRefine) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "structs.structs.EventAlphaRefine.eventAlphaRefineDetail": + x.EventAlphaRefineDetail = value.Message().Interface().(*EventAlphaRefineDetail) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAlphaRefine")) + } + panic(fmt.Errorf("message structs.structs.EventAlphaRefine 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_EventAlphaRefine) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.EventAlphaRefine.eventAlphaRefineDetail": + if x.EventAlphaRefineDetail == nil { + x.EventAlphaRefineDetail = new(EventAlphaRefineDetail) + } + return protoreflect.ValueOfMessage(x.EventAlphaRefineDetail.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAlphaRefine")) + } + panic(fmt.Errorf("message structs.structs.EventAlphaRefine 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_EventAlphaRefine) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.EventAlphaRefine.eventAlphaRefineDetail": + m := new(EventAlphaRefineDetail) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAlphaRefine")) + } + panic(fmt.Errorf("message structs.structs.EventAlphaRefine 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_EventAlphaRefine) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in structs.structs.EventAlphaRefine", 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_EventAlphaRefine) 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_EventAlphaRefine) 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_EventAlphaRefine) 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_EventAlphaRefine) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*EventAlphaRefine) + 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.EventAlphaRefineDetail != nil { + l = options.Size(x.EventAlphaRefineDetail) + 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().(*EventAlphaRefine) + 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.EventAlphaRefineDetail != nil { + encoded, err := options.Marshal(x.EventAlphaRefineDetail) + 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().(*EventAlphaRefine) + 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: EventAlphaRefine: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventAlphaRefine: 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 EventAlphaRefineDetail", 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.EventAlphaRefineDetail == nil { + x.EventAlphaRefineDetail = &EventAlphaRefineDetail{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.EventAlphaRefineDetail); 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_EventAlphaRefineDetail protoreflect.MessageDescriptor + fd_EventAlphaRefineDetail_playerId protoreflect.FieldDescriptor + fd_EventAlphaRefineDetail_primaryAddress protoreflect.FieldDescriptor + fd_EventAlphaRefineDetail_amount protoreflect.FieldDescriptor +) + +func init() { + file_structs_structs_events_proto_init() + md_EventAlphaRefineDetail = File_structs_structs_events_proto.Messages().ByName("EventAlphaRefineDetail") + fd_EventAlphaRefineDetail_playerId = md_EventAlphaRefineDetail.Fields().ByName("playerId") + fd_EventAlphaRefineDetail_primaryAddress = md_EventAlphaRefineDetail.Fields().ByName("primaryAddress") + fd_EventAlphaRefineDetail_amount = md_EventAlphaRefineDetail.Fields().ByName("amount") +} + +var _ protoreflect.Message = (*fastReflection_EventAlphaRefineDetail)(nil) + +type fastReflection_EventAlphaRefineDetail EventAlphaRefineDetail + +func (x *EventAlphaRefineDetail) ProtoReflect() protoreflect.Message { + return (*fastReflection_EventAlphaRefineDetail)(x) +} + +func (x *EventAlphaRefineDetail) slowProtoReflect() protoreflect.Message { + mi := &file_structs_structs_events_proto_msgTypes[38] + 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_EventAlphaRefineDetail_messageType fastReflection_EventAlphaRefineDetail_messageType +var _ protoreflect.MessageType = fastReflection_EventAlphaRefineDetail_messageType{} + +type fastReflection_EventAlphaRefineDetail_messageType struct{} + +func (x fastReflection_EventAlphaRefineDetail_messageType) Zero() protoreflect.Message { + return (*fastReflection_EventAlphaRefineDetail)(nil) +} +func (x fastReflection_EventAlphaRefineDetail_messageType) New() protoreflect.Message { + return new(fastReflection_EventAlphaRefineDetail) +} +func (x fastReflection_EventAlphaRefineDetail_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_EventAlphaRefineDetail +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_EventAlphaRefineDetail) Descriptor() protoreflect.MessageDescriptor { + return md_EventAlphaRefineDetail +} + +// 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_EventAlphaRefineDetail) Type() protoreflect.MessageType { + return _fastReflection_EventAlphaRefineDetail_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_EventAlphaRefineDetail) New() protoreflect.Message { + return new(fastReflection_EventAlphaRefineDetail) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_EventAlphaRefineDetail) Interface() protoreflect.ProtoMessage { + return (*EventAlphaRefineDetail)(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_EventAlphaRefineDetail) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.PlayerId != "" { + value := protoreflect.ValueOfString(x.PlayerId) + if !f(fd_EventAlphaRefineDetail_playerId, value) { + return + } + } + if x.PrimaryAddress != "" { + value := protoreflect.ValueOfString(x.PrimaryAddress) + if !f(fd_EventAlphaRefineDetail_primaryAddress, value) { + return + } + } + if x.Amount != uint64(0) { + value := protoreflect.ValueOfUint64(x.Amount) + if !f(fd_EventAlphaRefineDetail_amount, 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_EventAlphaRefineDetail) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "structs.structs.EventAlphaRefineDetail.playerId": + return x.PlayerId != "" + case "structs.structs.EventAlphaRefineDetail.primaryAddress": + return x.PrimaryAddress != "" + case "structs.structs.EventAlphaRefineDetail.amount": + return x.Amount != uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAlphaRefineDetail")) + } + panic(fmt.Errorf("message structs.structs.EventAlphaRefineDetail 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_EventAlphaRefineDetail) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "structs.structs.EventAlphaRefineDetail.playerId": + x.PlayerId = "" + case "structs.structs.EventAlphaRefineDetail.primaryAddress": + x.PrimaryAddress = "" + case "structs.structs.EventAlphaRefineDetail.amount": + x.Amount = uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAlphaRefineDetail")) + } + panic(fmt.Errorf("message structs.structs.EventAlphaRefineDetail 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_EventAlphaRefineDetail) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "structs.structs.EventAlphaRefineDetail.playerId": + value := x.PlayerId + return protoreflect.ValueOfString(value) + case "structs.structs.EventAlphaRefineDetail.primaryAddress": + value := x.PrimaryAddress + return protoreflect.ValueOfString(value) + case "structs.structs.EventAlphaRefineDetail.amount": + value := x.Amount + return protoreflect.ValueOfUint64(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAlphaRefineDetail")) + } + panic(fmt.Errorf("message structs.structs.EventAlphaRefineDetail 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_EventAlphaRefineDetail) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "structs.structs.EventAlphaRefineDetail.playerId": + x.PlayerId = value.Interface().(string) + case "structs.structs.EventAlphaRefineDetail.primaryAddress": + x.PrimaryAddress = value.Interface().(string) + case "structs.structs.EventAlphaRefineDetail.amount": + x.Amount = value.Uint() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAlphaRefineDetail")) + } + panic(fmt.Errorf("message structs.structs.EventAlphaRefineDetail 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_EventAlphaRefineDetail) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.EventAlphaRefineDetail.playerId": + panic(fmt.Errorf("field playerId of message structs.structs.EventAlphaRefineDetail is not mutable")) + case "structs.structs.EventAlphaRefineDetail.primaryAddress": + panic(fmt.Errorf("field primaryAddress of message structs.structs.EventAlphaRefineDetail is not mutable")) + case "structs.structs.EventAlphaRefineDetail.amount": + panic(fmt.Errorf("field amount of message structs.structs.EventAlphaRefineDetail is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAlphaRefineDetail")) + } + panic(fmt.Errorf("message structs.structs.EventAlphaRefineDetail 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_EventAlphaRefineDetail) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.EventAlphaRefineDetail.playerId": + return protoreflect.ValueOfString("") + case "structs.structs.EventAlphaRefineDetail.primaryAddress": + return protoreflect.ValueOfString("") + case "structs.structs.EventAlphaRefineDetail.amount": + return protoreflect.ValueOfUint64(uint64(0)) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAlphaRefineDetail")) + } + panic(fmt.Errorf("message structs.structs.EventAlphaRefineDetail 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_EventAlphaRefineDetail) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in structs.structs.EventAlphaRefineDetail", 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_EventAlphaRefineDetail) 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_EventAlphaRefineDetail) 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_EventAlphaRefineDetail) 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_EventAlphaRefineDetail) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*EventAlphaRefineDetail) + 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.PlayerId) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.PrimaryAddress) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.Amount != 0 { + n += 1 + runtime.Sov(uint64(x.Amount)) + } + 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().(*EventAlphaRefineDetail) + 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.Amount != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.Amount)) + i-- + dAtA[i] = 0x18 + } + if len(x.PrimaryAddress) > 0 { + i -= len(x.PrimaryAddress) + copy(dAtA[i:], x.PrimaryAddress) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.PrimaryAddress))) + i-- + dAtA[i] = 0x12 + } + if len(x.PlayerId) > 0 { + i -= len(x.PlayerId) + copy(dAtA[i:], x.PlayerId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.PlayerId))) + 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().(*EventAlphaRefineDetail) + 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: EventAlphaRefineDetail: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventAlphaRefineDetail: 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 PlayerId", 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.PlayerId = 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 PrimaryAddress", 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.PrimaryAddress = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Amount", wireType) + } + x.Amount = 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.Amount |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + 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_EventAlphaInfuse protoreflect.MessageDescriptor + fd_EventAlphaInfuse_eventAlphaInfuseDetail protoreflect.FieldDescriptor +) + +func init() { + file_structs_structs_events_proto_init() + md_EventAlphaInfuse = File_structs_structs_events_proto.Messages().ByName("EventAlphaInfuse") + fd_EventAlphaInfuse_eventAlphaInfuseDetail = md_EventAlphaInfuse.Fields().ByName("eventAlphaInfuseDetail") +} + +var _ protoreflect.Message = (*fastReflection_EventAlphaInfuse)(nil) + +type fastReflection_EventAlphaInfuse EventAlphaInfuse + +func (x *EventAlphaInfuse) ProtoReflect() protoreflect.Message { + return (*fastReflection_EventAlphaInfuse)(x) +} + +func (x *EventAlphaInfuse) slowProtoReflect() protoreflect.Message { + mi := &file_structs_structs_events_proto_msgTypes[39] + 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_EventAlphaInfuse_messageType fastReflection_EventAlphaInfuse_messageType +var _ protoreflect.MessageType = fastReflection_EventAlphaInfuse_messageType{} + +type fastReflection_EventAlphaInfuse_messageType struct{} + +func (x fastReflection_EventAlphaInfuse_messageType) Zero() protoreflect.Message { + return (*fastReflection_EventAlphaInfuse)(nil) +} +func (x fastReflection_EventAlphaInfuse_messageType) New() protoreflect.Message { + return new(fastReflection_EventAlphaInfuse) +} +func (x fastReflection_EventAlphaInfuse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_EventAlphaInfuse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_EventAlphaInfuse) Descriptor() protoreflect.MessageDescriptor { + return md_EventAlphaInfuse +} + +// 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_EventAlphaInfuse) Type() protoreflect.MessageType { + return _fastReflection_EventAlphaInfuse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_EventAlphaInfuse) New() protoreflect.Message { + return new(fastReflection_EventAlphaInfuse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_EventAlphaInfuse) Interface() protoreflect.ProtoMessage { + return (*EventAlphaInfuse)(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_EventAlphaInfuse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.EventAlphaInfuseDetail != nil { + value := protoreflect.ValueOfMessage(x.EventAlphaInfuseDetail.ProtoReflect()) + if !f(fd_EventAlphaInfuse_eventAlphaInfuseDetail, 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_EventAlphaInfuse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "structs.structs.EventAlphaInfuse.eventAlphaInfuseDetail": + return x.EventAlphaInfuseDetail != nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAlphaInfuse")) + } + panic(fmt.Errorf("message structs.structs.EventAlphaInfuse 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_EventAlphaInfuse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "structs.structs.EventAlphaInfuse.eventAlphaInfuseDetail": + x.EventAlphaInfuseDetail = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAlphaInfuse")) + } + panic(fmt.Errorf("message structs.structs.EventAlphaInfuse 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_EventAlphaInfuse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "structs.structs.EventAlphaInfuse.eventAlphaInfuseDetail": + value := x.EventAlphaInfuseDetail + return protoreflect.ValueOfMessage(value.ProtoReflect()) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAlphaInfuse")) + } + panic(fmt.Errorf("message structs.structs.EventAlphaInfuse 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_EventAlphaInfuse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "structs.structs.EventAlphaInfuse.eventAlphaInfuseDetail": + x.EventAlphaInfuseDetail = value.Message().Interface().(*EventAlphaInfuseDetail) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAlphaInfuse")) + } + panic(fmt.Errorf("message structs.structs.EventAlphaInfuse 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_EventAlphaInfuse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.EventAlphaInfuse.eventAlphaInfuseDetail": + if x.EventAlphaInfuseDetail == nil { + x.EventAlphaInfuseDetail = new(EventAlphaInfuseDetail) + } + return protoreflect.ValueOfMessage(x.EventAlphaInfuseDetail.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAlphaInfuse")) + } + panic(fmt.Errorf("message structs.structs.EventAlphaInfuse 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_EventAlphaInfuse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.EventAlphaInfuse.eventAlphaInfuseDetail": + m := new(EventAlphaInfuseDetail) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAlphaInfuse")) + } + panic(fmt.Errorf("message structs.structs.EventAlphaInfuse 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_EventAlphaInfuse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in structs.structs.EventAlphaInfuse", 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_EventAlphaInfuse) 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_EventAlphaInfuse) 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_EventAlphaInfuse) 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_EventAlphaInfuse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*EventAlphaInfuse) + 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.EventAlphaInfuseDetail != nil { + l = options.Size(x.EventAlphaInfuseDetail) + 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().(*EventAlphaInfuse) + 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.EventAlphaInfuseDetail != nil { + encoded, err := options.Marshal(x.EventAlphaInfuseDetail) + 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().(*EventAlphaInfuse) + 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: EventAlphaInfuse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventAlphaInfuse: 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 EventAlphaInfuseDetail", 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.EventAlphaInfuseDetail == nil { + x.EventAlphaInfuseDetail = &EventAlphaInfuseDetail{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.EventAlphaInfuseDetail); 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_EventAlphaInfuseDetail protoreflect.MessageDescriptor + fd_EventAlphaInfuseDetail_playerId protoreflect.FieldDescriptor + fd_EventAlphaInfuseDetail_primaryAddress protoreflect.FieldDescriptor + fd_EventAlphaInfuseDetail_amount protoreflect.FieldDescriptor +) + +func init() { + file_structs_structs_events_proto_init() + md_EventAlphaInfuseDetail = File_structs_structs_events_proto.Messages().ByName("EventAlphaInfuseDetail") + fd_EventAlphaInfuseDetail_playerId = md_EventAlphaInfuseDetail.Fields().ByName("playerId") + fd_EventAlphaInfuseDetail_primaryAddress = md_EventAlphaInfuseDetail.Fields().ByName("primaryAddress") + fd_EventAlphaInfuseDetail_amount = md_EventAlphaInfuseDetail.Fields().ByName("amount") +} + +var _ protoreflect.Message = (*fastReflection_EventAlphaInfuseDetail)(nil) + +type fastReflection_EventAlphaInfuseDetail EventAlphaInfuseDetail + +func (x *EventAlphaInfuseDetail) ProtoReflect() protoreflect.Message { + return (*fastReflection_EventAlphaInfuseDetail)(x) +} + +func (x *EventAlphaInfuseDetail) slowProtoReflect() protoreflect.Message { + mi := &file_structs_structs_events_proto_msgTypes[40] + 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_EventAlphaInfuseDetail_messageType fastReflection_EventAlphaInfuseDetail_messageType +var _ protoreflect.MessageType = fastReflection_EventAlphaInfuseDetail_messageType{} + +type fastReflection_EventAlphaInfuseDetail_messageType struct{} + +func (x fastReflection_EventAlphaInfuseDetail_messageType) Zero() protoreflect.Message { + return (*fastReflection_EventAlphaInfuseDetail)(nil) +} +func (x fastReflection_EventAlphaInfuseDetail_messageType) New() protoreflect.Message { + return new(fastReflection_EventAlphaInfuseDetail) +} +func (x fastReflection_EventAlphaInfuseDetail_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_EventAlphaInfuseDetail +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_EventAlphaInfuseDetail) Descriptor() protoreflect.MessageDescriptor { + return md_EventAlphaInfuseDetail +} + +// 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_EventAlphaInfuseDetail) Type() protoreflect.MessageType { + return _fastReflection_EventAlphaInfuseDetail_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_EventAlphaInfuseDetail) New() protoreflect.Message { + return new(fastReflection_EventAlphaInfuseDetail) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_EventAlphaInfuseDetail) Interface() protoreflect.ProtoMessage { + return (*EventAlphaInfuseDetail)(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_EventAlphaInfuseDetail) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.PlayerId != "" { + value := protoreflect.ValueOfString(x.PlayerId) + if !f(fd_EventAlphaInfuseDetail_playerId, value) { + return + } + } + if x.PrimaryAddress != "" { + value := protoreflect.ValueOfString(x.PrimaryAddress) + if !f(fd_EventAlphaInfuseDetail_primaryAddress, value) { + return + } + } + if x.Amount != uint64(0) { + value := protoreflect.ValueOfUint64(x.Amount) + if !f(fd_EventAlphaInfuseDetail_amount, 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_EventAlphaInfuseDetail) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "structs.structs.EventAlphaInfuseDetail.playerId": + return x.PlayerId != "" + case "structs.structs.EventAlphaInfuseDetail.primaryAddress": + return x.PrimaryAddress != "" + case "structs.structs.EventAlphaInfuseDetail.amount": + return x.Amount != uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAlphaInfuseDetail")) + } + panic(fmt.Errorf("message structs.structs.EventAlphaInfuseDetail 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_EventAlphaInfuseDetail) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "structs.structs.EventAlphaInfuseDetail.playerId": + x.PlayerId = "" + case "structs.structs.EventAlphaInfuseDetail.primaryAddress": + x.PrimaryAddress = "" + case "structs.structs.EventAlphaInfuseDetail.amount": + x.Amount = uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAlphaInfuseDetail")) + } + panic(fmt.Errorf("message structs.structs.EventAlphaInfuseDetail 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_EventAlphaInfuseDetail) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "structs.structs.EventAlphaInfuseDetail.playerId": + value := x.PlayerId + return protoreflect.ValueOfString(value) + case "structs.structs.EventAlphaInfuseDetail.primaryAddress": + value := x.PrimaryAddress + return protoreflect.ValueOfString(value) + case "structs.structs.EventAlphaInfuseDetail.amount": + value := x.Amount + return protoreflect.ValueOfUint64(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAlphaInfuseDetail")) + } + panic(fmt.Errorf("message structs.structs.EventAlphaInfuseDetail 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_EventAlphaInfuseDetail) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "structs.structs.EventAlphaInfuseDetail.playerId": + x.PlayerId = value.Interface().(string) + case "structs.structs.EventAlphaInfuseDetail.primaryAddress": + x.PrimaryAddress = value.Interface().(string) + case "structs.structs.EventAlphaInfuseDetail.amount": + x.Amount = value.Uint() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAlphaInfuseDetail")) + } + panic(fmt.Errorf("message structs.structs.EventAlphaInfuseDetail 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_EventAlphaInfuseDetail) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.EventAlphaInfuseDetail.playerId": + panic(fmt.Errorf("field playerId of message structs.structs.EventAlphaInfuseDetail is not mutable")) + case "structs.structs.EventAlphaInfuseDetail.primaryAddress": + panic(fmt.Errorf("field primaryAddress of message structs.structs.EventAlphaInfuseDetail is not mutable")) + case "structs.structs.EventAlphaInfuseDetail.amount": + panic(fmt.Errorf("field amount of message structs.structs.EventAlphaInfuseDetail is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAlphaInfuseDetail")) + } + panic(fmt.Errorf("message structs.structs.EventAlphaInfuseDetail 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_EventAlphaInfuseDetail) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.EventAlphaInfuseDetail.playerId": + return protoreflect.ValueOfString("") + case "structs.structs.EventAlphaInfuseDetail.primaryAddress": + return protoreflect.ValueOfString("") + case "structs.structs.EventAlphaInfuseDetail.amount": + return protoreflect.ValueOfUint64(uint64(0)) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAlphaInfuseDetail")) + } + panic(fmt.Errorf("message structs.structs.EventAlphaInfuseDetail 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_EventAlphaInfuseDetail) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in structs.structs.EventAlphaInfuseDetail", 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_EventAlphaInfuseDetail) 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_EventAlphaInfuseDetail) 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_EventAlphaInfuseDetail) 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_EventAlphaInfuseDetail) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*EventAlphaInfuseDetail) + 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.PlayerId) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.PrimaryAddress) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.Amount != 0 { + n += 1 + runtime.Sov(uint64(x.Amount)) + } + 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().(*EventAlphaInfuseDetail) + 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.Amount != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.Amount)) + i-- + dAtA[i] = 0x18 + } + if len(x.PrimaryAddress) > 0 { + i -= len(x.PrimaryAddress) + copy(dAtA[i:], x.PrimaryAddress) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.PrimaryAddress))) + i-- + dAtA[i] = 0x12 + } + if len(x.PlayerId) > 0 { + i -= len(x.PlayerId) + copy(dAtA[i:], x.PlayerId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.PlayerId))) + 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().(*EventAlphaInfuseDetail) + 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: EventAlphaInfuseDetail: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventAlphaInfuseDetail: 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 PlayerId", 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.PlayerId = 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 PrimaryAddress", 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.PrimaryAddress = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Amount", wireType) + } + x.Amount = 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.Amount |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + 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_EventAlphaDefuse protoreflect.MessageDescriptor + fd_EventAlphaDefuse_eventAlphaDefuseDetail protoreflect.FieldDescriptor +) + +func init() { + file_structs_structs_events_proto_init() + md_EventAlphaDefuse = File_structs_structs_events_proto.Messages().ByName("EventAlphaDefuse") + fd_EventAlphaDefuse_eventAlphaDefuseDetail = md_EventAlphaDefuse.Fields().ByName("eventAlphaDefuseDetail") +} + +var _ protoreflect.Message = (*fastReflection_EventAlphaDefuse)(nil) + +type fastReflection_EventAlphaDefuse EventAlphaDefuse + +func (x *EventAlphaDefuse) ProtoReflect() protoreflect.Message { + return (*fastReflection_EventAlphaDefuse)(x) +} + +func (x *EventAlphaDefuse) slowProtoReflect() protoreflect.Message { + mi := &file_structs_structs_events_proto_msgTypes[41] + 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_EventAlphaDefuse_messageType fastReflection_EventAlphaDefuse_messageType +var _ protoreflect.MessageType = fastReflection_EventAlphaDefuse_messageType{} + +type fastReflection_EventAlphaDefuse_messageType struct{} + +func (x fastReflection_EventAlphaDefuse_messageType) Zero() protoreflect.Message { + return (*fastReflection_EventAlphaDefuse)(nil) +} +func (x fastReflection_EventAlphaDefuse_messageType) New() protoreflect.Message { + return new(fastReflection_EventAlphaDefuse) +} +func (x fastReflection_EventAlphaDefuse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_EventAlphaDefuse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_EventAlphaDefuse) Descriptor() protoreflect.MessageDescriptor { + return md_EventAlphaDefuse +} + +// 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_EventAlphaDefuse) Type() protoreflect.MessageType { + return _fastReflection_EventAlphaDefuse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_EventAlphaDefuse) New() protoreflect.Message { + return new(fastReflection_EventAlphaDefuse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_EventAlphaDefuse) Interface() protoreflect.ProtoMessage { + return (*EventAlphaDefuse)(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_EventAlphaDefuse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.EventAlphaDefuseDetail != nil { + value := protoreflect.ValueOfMessage(x.EventAlphaDefuseDetail.ProtoReflect()) + if !f(fd_EventAlphaDefuse_eventAlphaDefuseDetail, 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_EventAlphaDefuse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "structs.structs.EventAlphaDefuse.eventAlphaDefuseDetail": + return x.EventAlphaDefuseDetail != nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAlphaDefuse")) + } + panic(fmt.Errorf("message structs.structs.EventAlphaDefuse 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_EventAlphaDefuse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "structs.structs.EventAlphaDefuse.eventAlphaDefuseDetail": + x.EventAlphaDefuseDetail = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAlphaDefuse")) + } + panic(fmt.Errorf("message structs.structs.EventAlphaDefuse 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_EventAlphaDefuse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "structs.structs.EventAlphaDefuse.eventAlphaDefuseDetail": + value := x.EventAlphaDefuseDetail + return protoreflect.ValueOfMessage(value.ProtoReflect()) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAlphaDefuse")) + } + panic(fmt.Errorf("message structs.structs.EventAlphaDefuse 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_EventAlphaDefuse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "structs.structs.EventAlphaDefuse.eventAlphaDefuseDetail": + x.EventAlphaDefuseDetail = value.Message().Interface().(*EventAlphaDefuseDetail) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAlphaDefuse")) + } + panic(fmt.Errorf("message structs.structs.EventAlphaDefuse 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_EventAlphaDefuse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.EventAlphaDefuse.eventAlphaDefuseDetail": + if x.EventAlphaDefuseDetail == nil { + x.EventAlphaDefuseDetail = new(EventAlphaDefuseDetail) + } + return protoreflect.ValueOfMessage(x.EventAlphaDefuseDetail.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAlphaDefuse")) + } + panic(fmt.Errorf("message structs.structs.EventAlphaDefuse 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_EventAlphaDefuse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.EventAlphaDefuse.eventAlphaDefuseDetail": + m := new(EventAlphaDefuseDetail) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAlphaDefuse")) + } + panic(fmt.Errorf("message structs.structs.EventAlphaDefuse 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_EventAlphaDefuse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in structs.structs.EventAlphaDefuse", 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_EventAlphaDefuse) 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_EventAlphaDefuse) 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_EventAlphaDefuse) 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_EventAlphaDefuse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*EventAlphaDefuse) + 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.EventAlphaDefuseDetail != nil { + l = options.Size(x.EventAlphaDefuseDetail) + 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().(*EventAlphaDefuse) + 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.EventAlphaDefuseDetail != nil { + encoded, err := options.Marshal(x.EventAlphaDefuseDetail) + 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().(*EventAlphaDefuse) + 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: EventAlphaDefuse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventAlphaDefuse: 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 EventAlphaDefuseDetail", 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.EventAlphaDefuseDetail == nil { + x.EventAlphaDefuseDetail = &EventAlphaDefuseDetail{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.EventAlphaDefuseDetail); 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_EventAlphaDefuseDetail protoreflect.MessageDescriptor + fd_EventAlphaDefuseDetail_primaryAddress protoreflect.FieldDescriptor + fd_EventAlphaDefuseDetail_amount protoreflect.FieldDescriptor +) + +func init() { + file_structs_structs_events_proto_init() + md_EventAlphaDefuseDetail = File_structs_structs_events_proto.Messages().ByName("EventAlphaDefuseDetail") + fd_EventAlphaDefuseDetail_primaryAddress = md_EventAlphaDefuseDetail.Fields().ByName("primaryAddress") + fd_EventAlphaDefuseDetail_amount = md_EventAlphaDefuseDetail.Fields().ByName("amount") +} + +var _ protoreflect.Message = (*fastReflection_EventAlphaDefuseDetail)(nil) + +type fastReflection_EventAlphaDefuseDetail EventAlphaDefuseDetail + +func (x *EventAlphaDefuseDetail) ProtoReflect() protoreflect.Message { + return (*fastReflection_EventAlphaDefuseDetail)(x) +} + +func (x *EventAlphaDefuseDetail) slowProtoReflect() protoreflect.Message { + mi := &file_structs_structs_events_proto_msgTypes[42] + 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_EventAlphaDefuseDetail_messageType fastReflection_EventAlphaDefuseDetail_messageType +var _ protoreflect.MessageType = fastReflection_EventAlphaDefuseDetail_messageType{} + +type fastReflection_EventAlphaDefuseDetail_messageType struct{} + +func (x fastReflection_EventAlphaDefuseDetail_messageType) Zero() protoreflect.Message { + return (*fastReflection_EventAlphaDefuseDetail)(nil) +} +func (x fastReflection_EventAlphaDefuseDetail_messageType) New() protoreflect.Message { + return new(fastReflection_EventAlphaDefuseDetail) +} +func (x fastReflection_EventAlphaDefuseDetail_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_EventAlphaDefuseDetail +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_EventAlphaDefuseDetail) Descriptor() protoreflect.MessageDescriptor { + return md_EventAlphaDefuseDetail +} + +// 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_EventAlphaDefuseDetail) Type() protoreflect.MessageType { + return _fastReflection_EventAlphaDefuseDetail_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_EventAlphaDefuseDetail) New() protoreflect.Message { + return new(fastReflection_EventAlphaDefuseDetail) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_EventAlphaDefuseDetail) Interface() protoreflect.ProtoMessage { + return (*EventAlphaDefuseDetail)(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_EventAlphaDefuseDetail) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.PrimaryAddress != "" { + value := protoreflect.ValueOfString(x.PrimaryAddress) + if !f(fd_EventAlphaDefuseDetail_primaryAddress, value) { + return + } + } + if x.Amount != uint64(0) { + value := protoreflect.ValueOfUint64(x.Amount) + if !f(fd_EventAlphaDefuseDetail_amount, 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_EventAlphaDefuseDetail) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "structs.structs.EventAlphaDefuseDetail.primaryAddress": + return x.PrimaryAddress != "" + case "structs.structs.EventAlphaDefuseDetail.amount": + return x.Amount != uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAlphaDefuseDetail")) + } + panic(fmt.Errorf("message structs.structs.EventAlphaDefuseDetail 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_EventAlphaDefuseDetail) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "structs.structs.EventAlphaDefuseDetail.primaryAddress": + x.PrimaryAddress = "" + case "structs.structs.EventAlphaDefuseDetail.amount": + x.Amount = uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAlphaDefuseDetail")) + } + panic(fmt.Errorf("message structs.structs.EventAlphaDefuseDetail 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_EventAlphaDefuseDetail) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "structs.structs.EventAlphaDefuseDetail.primaryAddress": + value := x.PrimaryAddress + return protoreflect.ValueOfString(value) + case "structs.structs.EventAlphaDefuseDetail.amount": + value := x.Amount + return protoreflect.ValueOfUint64(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAlphaDefuseDetail")) + } + panic(fmt.Errorf("message structs.structs.EventAlphaDefuseDetail 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_EventAlphaDefuseDetail) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "structs.structs.EventAlphaDefuseDetail.primaryAddress": + x.PrimaryAddress = value.Interface().(string) + case "structs.structs.EventAlphaDefuseDetail.amount": + x.Amount = value.Uint() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAlphaDefuseDetail")) + } + panic(fmt.Errorf("message structs.structs.EventAlphaDefuseDetail 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_EventAlphaDefuseDetail) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.EventAlphaDefuseDetail.primaryAddress": + panic(fmt.Errorf("field primaryAddress of message structs.structs.EventAlphaDefuseDetail is not mutable")) + case "structs.structs.EventAlphaDefuseDetail.amount": + panic(fmt.Errorf("field amount of message structs.structs.EventAlphaDefuseDetail is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAlphaDefuseDetail")) + } + panic(fmt.Errorf("message structs.structs.EventAlphaDefuseDetail 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_EventAlphaDefuseDetail) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.EventAlphaDefuseDetail.primaryAddress": + return protoreflect.ValueOfString("") + case "structs.structs.EventAlphaDefuseDetail.amount": + return protoreflect.ValueOfUint64(uint64(0)) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAlphaDefuseDetail")) + } + panic(fmt.Errorf("message structs.structs.EventAlphaDefuseDetail 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_EventAlphaDefuseDetail) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in structs.structs.EventAlphaDefuseDetail", 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_EventAlphaDefuseDetail) 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_EventAlphaDefuseDetail) 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_EventAlphaDefuseDetail) 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_EventAlphaDefuseDetail) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*EventAlphaDefuseDetail) + 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.PrimaryAddress) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.Amount != 0 { + n += 1 + runtime.Sov(uint64(x.Amount)) + } + 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().(*EventAlphaDefuseDetail) + 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.Amount != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.Amount)) + i-- + dAtA[i] = 0x10 + } + if len(x.PrimaryAddress) > 0 { + i -= len(x.PrimaryAddress) + copy(dAtA[i:], x.PrimaryAddress) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.PrimaryAddress))) + 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().(*EventAlphaDefuseDetail) + 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: EventAlphaDefuseDetail: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventAlphaDefuseDetail: 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 PrimaryAddress", 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.PrimaryAddress = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Amount", wireType) + } + x.Amount = 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.Amount |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + 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_EventOreTheft protoreflect.MessageDescriptor + fd_EventOreTheft_eventOreTheftDetail protoreflect.FieldDescriptor +) + +func init() { + file_structs_structs_events_proto_init() + md_EventOreTheft = File_structs_structs_events_proto.Messages().ByName("EventOreTheft") + fd_EventOreTheft_eventOreTheftDetail = md_EventOreTheft.Fields().ByName("eventOreTheftDetail") +} + +var _ protoreflect.Message = (*fastReflection_EventOreTheft)(nil) + +type fastReflection_EventOreTheft EventOreTheft + +func (x *EventOreTheft) ProtoReflect() protoreflect.Message { + return (*fastReflection_EventOreTheft)(x) +} + +func (x *EventOreTheft) slowProtoReflect() protoreflect.Message { + mi := &file_structs_structs_events_proto_msgTypes[43] + 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_EventOreTheft_messageType fastReflection_EventOreTheft_messageType +var _ protoreflect.MessageType = fastReflection_EventOreTheft_messageType{} + +type fastReflection_EventOreTheft_messageType struct{} + +func (x fastReflection_EventOreTheft_messageType) Zero() protoreflect.Message { + return (*fastReflection_EventOreTheft)(nil) +} +func (x fastReflection_EventOreTheft_messageType) New() protoreflect.Message { + return new(fastReflection_EventOreTheft) +} +func (x fastReflection_EventOreTheft_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_EventOreTheft +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_EventOreTheft) Descriptor() protoreflect.MessageDescriptor { + return md_EventOreTheft +} + +// 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_EventOreTheft) Type() protoreflect.MessageType { + return _fastReflection_EventOreTheft_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_EventOreTheft) New() protoreflect.Message { + return new(fastReflection_EventOreTheft) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_EventOreTheft) Interface() protoreflect.ProtoMessage { + return (*EventOreTheft)(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_EventOreTheft) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.EventOreTheftDetail != nil { + value := protoreflect.ValueOfMessage(x.EventOreTheftDetail.ProtoReflect()) + if !f(fd_EventOreTheft_eventOreTheftDetail, 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_EventOreTheft) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "structs.structs.EventOreTheft.eventOreTheftDetail": + return x.EventOreTheftDetail != nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventOreTheft")) + } + panic(fmt.Errorf("message structs.structs.EventOreTheft 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_EventOreTheft) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "structs.structs.EventOreTheft.eventOreTheftDetail": + x.EventOreTheftDetail = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventOreTheft")) + } + panic(fmt.Errorf("message structs.structs.EventOreTheft 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_EventOreTheft) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "structs.structs.EventOreTheft.eventOreTheftDetail": + value := x.EventOreTheftDetail + return protoreflect.ValueOfMessage(value.ProtoReflect()) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventOreTheft")) + } + panic(fmt.Errorf("message structs.structs.EventOreTheft 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_EventOreTheft) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "structs.structs.EventOreTheft.eventOreTheftDetail": + x.EventOreTheftDetail = value.Message().Interface().(*EventOreTheftDetail) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventOreTheft")) + } + panic(fmt.Errorf("message structs.structs.EventOreTheft 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_EventOreTheft) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.EventOreTheft.eventOreTheftDetail": + if x.EventOreTheftDetail == nil { + x.EventOreTheftDetail = new(EventOreTheftDetail) + } + return protoreflect.ValueOfMessage(x.EventOreTheftDetail.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventOreTheft")) + } + panic(fmt.Errorf("message structs.structs.EventOreTheft 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_EventOreTheft) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.EventOreTheft.eventOreTheftDetail": + m := new(EventOreTheftDetail) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventOreTheft")) + } + panic(fmt.Errorf("message structs.structs.EventOreTheft 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_EventOreTheft) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in structs.structs.EventOreTheft", 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_EventOreTheft) 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_EventOreTheft) 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_EventOreTheft) 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_EventOreTheft) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*EventOreTheft) + 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.EventOreTheftDetail != nil { + l = options.Size(x.EventOreTheftDetail) + 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().(*EventOreTheft) + 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.EventOreTheftDetail != nil { + encoded, err := options.Marshal(x.EventOreTheftDetail) + 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().(*EventOreTheft) + 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: EventOreTheft: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventOreTheft: 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 EventOreTheftDetail", 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.EventOreTheftDetail == nil { + x.EventOreTheftDetail = &EventOreTheftDetail{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.EventOreTheftDetail); 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_EventOreTheftDetail protoreflect.MessageDescriptor + fd_EventOreTheftDetail_victimPrimaryAddress protoreflect.FieldDescriptor + fd_EventOreTheftDetail_victimPlayerId protoreflect.FieldDescriptor + fd_EventOreTheftDetail_thiefPrimaryAddress protoreflect.FieldDescriptor + fd_EventOreTheftDetail_thiefPlayerId protoreflect.FieldDescriptor + fd_EventOreTheftDetail_amount protoreflect.FieldDescriptor +) + +func init() { + file_structs_structs_events_proto_init() + md_EventOreTheftDetail = File_structs_structs_events_proto.Messages().ByName("EventOreTheftDetail") + fd_EventOreTheftDetail_victimPrimaryAddress = md_EventOreTheftDetail.Fields().ByName("victimPrimaryAddress") + fd_EventOreTheftDetail_victimPlayerId = md_EventOreTheftDetail.Fields().ByName("victimPlayerId") + fd_EventOreTheftDetail_thiefPrimaryAddress = md_EventOreTheftDetail.Fields().ByName("thiefPrimaryAddress") + fd_EventOreTheftDetail_thiefPlayerId = md_EventOreTheftDetail.Fields().ByName("thiefPlayerId") + fd_EventOreTheftDetail_amount = md_EventOreTheftDetail.Fields().ByName("amount") +} + +var _ protoreflect.Message = (*fastReflection_EventOreTheftDetail)(nil) + +type fastReflection_EventOreTheftDetail EventOreTheftDetail + +func (x *EventOreTheftDetail) ProtoReflect() protoreflect.Message { + return (*fastReflection_EventOreTheftDetail)(x) +} + +func (x *EventOreTheftDetail) slowProtoReflect() protoreflect.Message { + mi := &file_structs_structs_events_proto_msgTypes[44] + 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_EventOreTheftDetail_messageType fastReflection_EventOreTheftDetail_messageType +var _ protoreflect.MessageType = fastReflection_EventOreTheftDetail_messageType{} + +type fastReflection_EventOreTheftDetail_messageType struct{} + +func (x fastReflection_EventOreTheftDetail_messageType) Zero() protoreflect.Message { + return (*fastReflection_EventOreTheftDetail)(nil) +} +func (x fastReflection_EventOreTheftDetail_messageType) New() protoreflect.Message { + return new(fastReflection_EventOreTheftDetail) +} +func (x fastReflection_EventOreTheftDetail_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_EventOreTheftDetail +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_EventOreTheftDetail) Descriptor() protoreflect.MessageDescriptor { + return md_EventOreTheftDetail +} + +// 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_EventOreTheftDetail) Type() protoreflect.MessageType { + return _fastReflection_EventOreTheftDetail_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_EventOreTheftDetail) New() protoreflect.Message { + return new(fastReflection_EventOreTheftDetail) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_EventOreTheftDetail) Interface() protoreflect.ProtoMessage { + return (*EventOreTheftDetail)(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_EventOreTheftDetail) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.VictimPrimaryAddress != "" { + value := protoreflect.ValueOfString(x.VictimPrimaryAddress) + if !f(fd_EventOreTheftDetail_victimPrimaryAddress, value) { + return + } + } + if x.VictimPlayerId != "" { + value := protoreflect.ValueOfString(x.VictimPlayerId) + if !f(fd_EventOreTheftDetail_victimPlayerId, value) { + return + } + } + if x.ThiefPrimaryAddress != "" { + value := protoreflect.ValueOfString(x.ThiefPrimaryAddress) + if !f(fd_EventOreTheftDetail_thiefPrimaryAddress, value) { + return + } + } + if x.ThiefPlayerId != "" { + value := protoreflect.ValueOfString(x.ThiefPlayerId) + if !f(fd_EventOreTheftDetail_thiefPlayerId, value) { + return + } + } + if x.Amount != uint64(0) { + value := protoreflect.ValueOfUint64(x.Amount) + if !f(fd_EventOreTheftDetail_amount, 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_EventOreTheftDetail) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "structs.structs.EventOreTheftDetail.victimPrimaryAddress": + return x.VictimPrimaryAddress != "" + case "structs.structs.EventOreTheftDetail.victimPlayerId": + return x.VictimPlayerId != "" + case "structs.structs.EventOreTheftDetail.thiefPrimaryAddress": + return x.ThiefPrimaryAddress != "" + case "structs.structs.EventOreTheftDetail.thiefPlayerId": + return x.ThiefPlayerId != "" + case "structs.structs.EventOreTheftDetail.amount": + return x.Amount != uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventOreTheftDetail")) + } + panic(fmt.Errorf("message structs.structs.EventOreTheftDetail 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_EventOreTheftDetail) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "structs.structs.EventOreTheftDetail.victimPrimaryAddress": + x.VictimPrimaryAddress = "" + case "structs.structs.EventOreTheftDetail.victimPlayerId": + x.VictimPlayerId = "" + case "structs.structs.EventOreTheftDetail.thiefPrimaryAddress": + x.ThiefPrimaryAddress = "" + case "structs.structs.EventOreTheftDetail.thiefPlayerId": + x.ThiefPlayerId = "" + case "structs.structs.EventOreTheftDetail.amount": + x.Amount = uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventOreTheftDetail")) + } + panic(fmt.Errorf("message structs.structs.EventOreTheftDetail 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_EventOreTheftDetail) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "structs.structs.EventOreTheftDetail.victimPrimaryAddress": + value := x.VictimPrimaryAddress + return protoreflect.ValueOfString(value) + case "structs.structs.EventOreTheftDetail.victimPlayerId": + value := x.VictimPlayerId + return protoreflect.ValueOfString(value) + case "structs.structs.EventOreTheftDetail.thiefPrimaryAddress": + value := x.ThiefPrimaryAddress + return protoreflect.ValueOfString(value) + case "structs.structs.EventOreTheftDetail.thiefPlayerId": + value := x.ThiefPlayerId + return protoreflect.ValueOfString(value) + case "structs.structs.EventOreTheftDetail.amount": + value := x.Amount + return protoreflect.ValueOfUint64(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventOreTheftDetail")) + } + panic(fmt.Errorf("message structs.structs.EventOreTheftDetail 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_EventOreTheftDetail) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "structs.structs.EventOreTheftDetail.victimPrimaryAddress": + x.VictimPrimaryAddress = value.Interface().(string) + case "structs.structs.EventOreTheftDetail.victimPlayerId": + x.VictimPlayerId = value.Interface().(string) + case "structs.structs.EventOreTheftDetail.thiefPrimaryAddress": + x.ThiefPrimaryAddress = value.Interface().(string) + case "structs.structs.EventOreTheftDetail.thiefPlayerId": + x.ThiefPlayerId = value.Interface().(string) + case "structs.structs.EventOreTheftDetail.amount": + x.Amount = value.Uint() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventOreTheftDetail")) + } + panic(fmt.Errorf("message structs.structs.EventOreTheftDetail 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_EventOreTheftDetail) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.EventOreTheftDetail.victimPrimaryAddress": + panic(fmt.Errorf("field victimPrimaryAddress of message structs.structs.EventOreTheftDetail is not mutable")) + case "structs.structs.EventOreTheftDetail.victimPlayerId": + panic(fmt.Errorf("field victimPlayerId of message structs.structs.EventOreTheftDetail is not mutable")) + case "structs.structs.EventOreTheftDetail.thiefPrimaryAddress": + panic(fmt.Errorf("field thiefPrimaryAddress of message structs.structs.EventOreTheftDetail is not mutable")) + case "structs.structs.EventOreTheftDetail.thiefPlayerId": + panic(fmt.Errorf("field thiefPlayerId of message structs.structs.EventOreTheftDetail is not mutable")) + case "structs.structs.EventOreTheftDetail.amount": + panic(fmt.Errorf("field amount of message structs.structs.EventOreTheftDetail is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventOreTheftDetail")) + } + panic(fmt.Errorf("message structs.structs.EventOreTheftDetail 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_EventOreTheftDetail) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.EventOreTheftDetail.victimPrimaryAddress": + return protoreflect.ValueOfString("") + case "structs.structs.EventOreTheftDetail.victimPlayerId": + return protoreflect.ValueOfString("") + case "structs.structs.EventOreTheftDetail.thiefPrimaryAddress": + return protoreflect.ValueOfString("") + case "structs.structs.EventOreTheftDetail.thiefPlayerId": + return protoreflect.ValueOfString("") + case "structs.structs.EventOreTheftDetail.amount": + return protoreflect.ValueOfUint64(uint64(0)) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventOreTheftDetail")) + } + panic(fmt.Errorf("message structs.structs.EventOreTheftDetail 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_EventOreTheftDetail) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in structs.structs.EventOreTheftDetail", 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_EventOreTheftDetail) 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_EventOreTheftDetail) 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_EventOreTheftDetail) 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_EventOreTheftDetail) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*EventOreTheftDetail) + 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.VictimPrimaryAddress) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.VictimPlayerId) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.ThiefPrimaryAddress) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.ThiefPlayerId) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.Amount != 0 { + n += 1 + runtime.Sov(uint64(x.Amount)) + } + 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().(*EventOreTheftDetail) + 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.Amount != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.Amount)) + i-- + dAtA[i] = 0x28 + } + if len(x.ThiefPlayerId) > 0 { + i -= len(x.ThiefPlayerId) + copy(dAtA[i:], x.ThiefPlayerId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.ThiefPlayerId))) + i-- + dAtA[i] = 0x22 + } + if len(x.ThiefPrimaryAddress) > 0 { + i -= len(x.ThiefPrimaryAddress) + copy(dAtA[i:], x.ThiefPrimaryAddress) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.ThiefPrimaryAddress))) + i-- + dAtA[i] = 0x1a + } + if len(x.VictimPlayerId) > 0 { + i -= len(x.VictimPlayerId) + copy(dAtA[i:], x.VictimPlayerId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.VictimPlayerId))) + i-- + dAtA[i] = 0x12 + } + if len(x.VictimPrimaryAddress) > 0 { + i -= len(x.VictimPrimaryAddress) + copy(dAtA[i:], x.VictimPrimaryAddress) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.VictimPrimaryAddress))) + 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().(*EventOreTheftDetail) + 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: EventOreTheftDetail: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventOreTheftDetail: 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 VictimPrimaryAddress", 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.VictimPrimaryAddress = 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 VictimPlayerId", 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.VictimPlayerId = 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 ThiefPrimaryAddress", 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.ThiefPrimaryAddress = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ThiefPlayerId", 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.ThiefPlayerId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 5: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Amount", wireType) + } + x.Amount = 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.Amount |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + 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_EventOreMigrate protoreflect.MessageDescriptor + fd_EventOreMigrate_eventOreMigrateDetail protoreflect.FieldDescriptor +) + +func init() { + file_structs_structs_events_proto_init() + md_EventOreMigrate = File_structs_structs_events_proto.Messages().ByName("EventOreMigrate") + fd_EventOreMigrate_eventOreMigrateDetail = md_EventOreMigrate.Fields().ByName("eventOreMigrateDetail") +} + +var _ protoreflect.Message = (*fastReflection_EventOreMigrate)(nil) + +type fastReflection_EventOreMigrate EventOreMigrate + +func (x *EventOreMigrate) ProtoReflect() protoreflect.Message { + return (*fastReflection_EventOreMigrate)(x) +} + +func (x *EventOreMigrate) slowProtoReflect() protoreflect.Message { + mi := &file_structs_structs_events_proto_msgTypes[45] + 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_EventOreMigrate_messageType fastReflection_EventOreMigrate_messageType +var _ protoreflect.MessageType = fastReflection_EventOreMigrate_messageType{} + +type fastReflection_EventOreMigrate_messageType struct{} + +func (x fastReflection_EventOreMigrate_messageType) Zero() protoreflect.Message { + return (*fastReflection_EventOreMigrate)(nil) +} +func (x fastReflection_EventOreMigrate_messageType) New() protoreflect.Message { + return new(fastReflection_EventOreMigrate) +} +func (x fastReflection_EventOreMigrate_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_EventOreMigrate +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_EventOreMigrate) Descriptor() protoreflect.MessageDescriptor { + return md_EventOreMigrate +} + +// 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_EventOreMigrate) Type() protoreflect.MessageType { + return _fastReflection_EventOreMigrate_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_EventOreMigrate) New() protoreflect.Message { + return new(fastReflection_EventOreMigrate) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_EventOreMigrate) Interface() protoreflect.ProtoMessage { + return (*EventOreMigrate)(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_EventOreMigrate) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.EventOreMigrateDetail != nil { + value := protoreflect.ValueOfMessage(x.EventOreMigrateDetail.ProtoReflect()) + if !f(fd_EventOreMigrate_eventOreMigrateDetail, 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_EventOreMigrate) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "structs.structs.EventOreMigrate.eventOreMigrateDetail": + return x.EventOreMigrateDetail != nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventOreMigrate")) + } + panic(fmt.Errorf("message structs.structs.EventOreMigrate 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_EventOreMigrate) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "structs.structs.EventOreMigrate.eventOreMigrateDetail": + x.EventOreMigrateDetail = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventOreMigrate")) + } + panic(fmt.Errorf("message structs.structs.EventOreMigrate 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_EventOreMigrate) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "structs.structs.EventOreMigrate.eventOreMigrateDetail": + value := x.EventOreMigrateDetail + return protoreflect.ValueOfMessage(value.ProtoReflect()) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventOreMigrate")) + } + panic(fmt.Errorf("message structs.structs.EventOreMigrate 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_EventOreMigrate) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "structs.structs.EventOreMigrate.eventOreMigrateDetail": + x.EventOreMigrateDetail = value.Message().Interface().(*EventOreMigrateDetail) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventOreMigrate")) + } + panic(fmt.Errorf("message structs.structs.EventOreMigrate 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_EventOreMigrate) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.EventOreMigrate.eventOreMigrateDetail": + if x.EventOreMigrateDetail == nil { + x.EventOreMigrateDetail = new(EventOreMigrateDetail) + } + return protoreflect.ValueOfMessage(x.EventOreMigrateDetail.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventOreMigrate")) + } + panic(fmt.Errorf("message structs.structs.EventOreMigrate 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_EventOreMigrate) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.EventOreMigrate.eventOreMigrateDetail": + m := new(EventOreMigrateDetail) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventOreMigrate")) + } + panic(fmt.Errorf("message structs.structs.EventOreMigrate 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_EventOreMigrate) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in structs.structs.EventOreMigrate", 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_EventOreMigrate) 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_EventOreMigrate) 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_EventOreMigrate) 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_EventOreMigrate) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*EventOreMigrate) + 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.EventOreMigrateDetail != nil { + l = options.Size(x.EventOreMigrateDetail) + 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().(*EventOreMigrate) + 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.EventOreMigrateDetail != nil { + encoded, err := options.Marshal(x.EventOreMigrateDetail) + 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().(*EventOreMigrate) + 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: EventOreMigrate: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventOreMigrate: 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 EventOreMigrateDetail", 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.EventOreMigrateDetail == nil { + x.EventOreMigrateDetail = &EventOreMigrateDetail{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.EventOreMigrateDetail); 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_EventOreMigrateDetail protoreflect.MessageDescriptor + fd_EventOreMigrateDetail_playerId protoreflect.FieldDescriptor + fd_EventOreMigrateDetail_primaryAddress protoreflect.FieldDescriptor + fd_EventOreMigrateDetail_oldPrimaryAddress protoreflect.FieldDescriptor + fd_EventOreMigrateDetail_amount protoreflect.FieldDescriptor +) + +func init() { + file_structs_structs_events_proto_init() + md_EventOreMigrateDetail = File_structs_structs_events_proto.Messages().ByName("EventOreMigrateDetail") + fd_EventOreMigrateDetail_playerId = md_EventOreMigrateDetail.Fields().ByName("playerId") + fd_EventOreMigrateDetail_primaryAddress = md_EventOreMigrateDetail.Fields().ByName("primaryAddress") + fd_EventOreMigrateDetail_oldPrimaryAddress = md_EventOreMigrateDetail.Fields().ByName("oldPrimaryAddress") + fd_EventOreMigrateDetail_amount = md_EventOreMigrateDetail.Fields().ByName("amount") +} + +var _ protoreflect.Message = (*fastReflection_EventOreMigrateDetail)(nil) + +type fastReflection_EventOreMigrateDetail EventOreMigrateDetail + +func (x *EventOreMigrateDetail) ProtoReflect() protoreflect.Message { + return (*fastReflection_EventOreMigrateDetail)(x) +} + +func (x *EventOreMigrateDetail) slowProtoReflect() protoreflect.Message { + mi := &file_structs_structs_events_proto_msgTypes[46] + 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_EventOreMigrateDetail_messageType fastReflection_EventOreMigrateDetail_messageType +var _ protoreflect.MessageType = fastReflection_EventOreMigrateDetail_messageType{} + +type fastReflection_EventOreMigrateDetail_messageType struct{} + +func (x fastReflection_EventOreMigrateDetail_messageType) Zero() protoreflect.Message { + return (*fastReflection_EventOreMigrateDetail)(nil) +} +func (x fastReflection_EventOreMigrateDetail_messageType) New() protoreflect.Message { + return new(fastReflection_EventOreMigrateDetail) +} +func (x fastReflection_EventOreMigrateDetail_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_EventOreMigrateDetail +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_EventOreMigrateDetail) Descriptor() protoreflect.MessageDescriptor { + return md_EventOreMigrateDetail +} + +// 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_EventOreMigrateDetail) Type() protoreflect.MessageType { + return _fastReflection_EventOreMigrateDetail_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_EventOreMigrateDetail) New() protoreflect.Message { + return new(fastReflection_EventOreMigrateDetail) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_EventOreMigrateDetail) Interface() protoreflect.ProtoMessage { + return (*EventOreMigrateDetail)(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_EventOreMigrateDetail) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.PlayerId != "" { + value := protoreflect.ValueOfString(x.PlayerId) + if !f(fd_EventOreMigrateDetail_playerId, value) { + return + } + } + if x.PrimaryAddress != "" { + value := protoreflect.ValueOfString(x.PrimaryAddress) + if !f(fd_EventOreMigrateDetail_primaryAddress, value) { + return + } + } + if x.OldPrimaryAddress != "" { + value := protoreflect.ValueOfString(x.OldPrimaryAddress) + if !f(fd_EventOreMigrateDetail_oldPrimaryAddress, value) { + return + } + } + if x.Amount != uint64(0) { + value := protoreflect.ValueOfUint64(x.Amount) + if !f(fd_EventOreMigrateDetail_amount, 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_EventOreMigrateDetail) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "structs.structs.EventOreMigrateDetail.playerId": + return x.PlayerId != "" + case "structs.structs.EventOreMigrateDetail.primaryAddress": + return x.PrimaryAddress != "" + case "structs.structs.EventOreMigrateDetail.oldPrimaryAddress": + return x.OldPrimaryAddress != "" + case "structs.structs.EventOreMigrateDetail.amount": + return x.Amount != uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventOreMigrateDetail")) + } + panic(fmt.Errorf("message structs.structs.EventOreMigrateDetail 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_EventOreMigrateDetail) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "structs.structs.EventOreMigrateDetail.playerId": + x.PlayerId = "" + case "structs.structs.EventOreMigrateDetail.primaryAddress": + x.PrimaryAddress = "" + case "structs.structs.EventOreMigrateDetail.oldPrimaryAddress": + x.OldPrimaryAddress = "" + case "structs.structs.EventOreMigrateDetail.amount": + x.Amount = uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventOreMigrateDetail")) + } + panic(fmt.Errorf("message structs.structs.EventOreMigrateDetail 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_EventOreMigrateDetail) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "structs.structs.EventOreMigrateDetail.playerId": + value := x.PlayerId + return protoreflect.ValueOfString(value) + case "structs.structs.EventOreMigrateDetail.primaryAddress": + value := x.PrimaryAddress + return protoreflect.ValueOfString(value) + case "structs.structs.EventOreMigrateDetail.oldPrimaryAddress": + value := x.OldPrimaryAddress + return protoreflect.ValueOfString(value) + case "structs.structs.EventOreMigrateDetail.amount": + value := x.Amount + return protoreflect.ValueOfUint64(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventOreMigrateDetail")) + } + panic(fmt.Errorf("message structs.structs.EventOreMigrateDetail 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_EventOreMigrateDetail) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "structs.structs.EventOreMigrateDetail.playerId": + x.PlayerId = value.Interface().(string) + case "structs.structs.EventOreMigrateDetail.primaryAddress": + x.PrimaryAddress = value.Interface().(string) + case "structs.structs.EventOreMigrateDetail.oldPrimaryAddress": + x.OldPrimaryAddress = value.Interface().(string) + case "structs.structs.EventOreMigrateDetail.amount": + x.Amount = value.Uint() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventOreMigrateDetail")) + } + panic(fmt.Errorf("message structs.structs.EventOreMigrateDetail 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_EventOreMigrateDetail) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.EventOreMigrateDetail.playerId": + panic(fmt.Errorf("field playerId of message structs.structs.EventOreMigrateDetail is not mutable")) + case "structs.structs.EventOreMigrateDetail.primaryAddress": + panic(fmt.Errorf("field primaryAddress of message structs.structs.EventOreMigrateDetail is not mutable")) + case "structs.structs.EventOreMigrateDetail.oldPrimaryAddress": + panic(fmt.Errorf("field oldPrimaryAddress of message structs.structs.EventOreMigrateDetail is not mutable")) + case "structs.structs.EventOreMigrateDetail.amount": + panic(fmt.Errorf("field amount of message structs.structs.EventOreMigrateDetail is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventOreMigrateDetail")) + } + panic(fmt.Errorf("message structs.structs.EventOreMigrateDetail 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_EventOreMigrateDetail) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.EventOreMigrateDetail.playerId": + return protoreflect.ValueOfString("") + case "structs.structs.EventOreMigrateDetail.primaryAddress": + return protoreflect.ValueOfString("") + case "structs.structs.EventOreMigrateDetail.oldPrimaryAddress": + return protoreflect.ValueOfString("") + case "structs.structs.EventOreMigrateDetail.amount": + return protoreflect.ValueOfUint64(uint64(0)) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventOreMigrateDetail")) + } + panic(fmt.Errorf("message structs.structs.EventOreMigrateDetail 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_EventOreMigrateDetail) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in structs.structs.EventOreMigrateDetail", 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_EventOreMigrateDetail) 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_EventOreMigrateDetail) 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_EventOreMigrateDetail) 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_EventOreMigrateDetail) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*EventOreMigrateDetail) + 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.PlayerId) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.PrimaryAddress) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.OldPrimaryAddress) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.Amount != 0 { + n += 1 + runtime.Sov(uint64(x.Amount)) + } + 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().(*EventOreMigrateDetail) + 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.Amount != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.Amount)) + i-- + dAtA[i] = 0x20 + } + if len(x.OldPrimaryAddress) > 0 { + i -= len(x.OldPrimaryAddress) + copy(dAtA[i:], x.OldPrimaryAddress) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.OldPrimaryAddress))) + i-- + dAtA[i] = 0x1a + } + if len(x.PrimaryAddress) > 0 { + i -= len(x.PrimaryAddress) + copy(dAtA[i:], x.PrimaryAddress) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.PrimaryAddress))) + i-- + dAtA[i] = 0x12 + } + if len(x.PlayerId) > 0 { + i -= len(x.PlayerId) + copy(dAtA[i:], x.PlayerId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.PlayerId))) + 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().(*EventOreMigrateDetail) + 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: EventOreMigrateDetail: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventOreMigrateDetail: 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 PlayerId", 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.PlayerId = 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 PrimaryAddress", 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.PrimaryAddress = 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 OldPrimaryAddress", 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.OldPrimaryAddress = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Amount", wireType) + } + x.Amount = 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.Amount |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + 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_EventAttack protoreflect.MessageDescriptor + fd_EventAttack_eventAttackDetail protoreflect.FieldDescriptor +) + +func init() { + file_structs_structs_events_proto_init() + md_EventAttack = File_structs_structs_events_proto.Messages().ByName("EventAttack") + fd_EventAttack_eventAttackDetail = md_EventAttack.Fields().ByName("eventAttackDetail") +} + +var _ protoreflect.Message = (*fastReflection_EventAttack)(nil) + +type fastReflection_EventAttack EventAttack + +func (x *EventAttack) ProtoReflect() protoreflect.Message { + return (*fastReflection_EventAttack)(x) +} + +func (x *EventAttack) slowProtoReflect() protoreflect.Message { + mi := &file_structs_structs_events_proto_msgTypes[47] + 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_EventAttack_messageType fastReflection_EventAttack_messageType +var _ protoreflect.MessageType = fastReflection_EventAttack_messageType{} + +type fastReflection_EventAttack_messageType struct{} + +func (x fastReflection_EventAttack_messageType) Zero() protoreflect.Message { + return (*fastReflection_EventAttack)(nil) +} +func (x fastReflection_EventAttack_messageType) New() protoreflect.Message { + return new(fastReflection_EventAttack) +} +func (x fastReflection_EventAttack_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_EventAttack +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_EventAttack) Descriptor() protoreflect.MessageDescriptor { + return md_EventAttack +} + +// 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_EventAttack) Type() protoreflect.MessageType { + return _fastReflection_EventAttack_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_EventAttack) New() protoreflect.Message { + return new(fastReflection_EventAttack) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_EventAttack) Interface() protoreflect.ProtoMessage { + return (*EventAttack)(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_EventAttack) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.EventAttackDetail != nil { + value := protoreflect.ValueOfMessage(x.EventAttackDetail.ProtoReflect()) + if !f(fd_EventAttack_eventAttackDetail, 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_EventAttack) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "structs.structs.EventAttack.eventAttackDetail": + return x.EventAttackDetail != nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAttack")) + } + panic(fmt.Errorf("message structs.structs.EventAttack 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_EventAttack) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "structs.structs.EventAttack.eventAttackDetail": + x.EventAttackDetail = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAttack")) + } + panic(fmt.Errorf("message structs.structs.EventAttack 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_EventAttack) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "structs.structs.EventAttack.eventAttackDetail": + value := x.EventAttackDetail + return protoreflect.ValueOfMessage(value.ProtoReflect()) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAttack")) + } + panic(fmt.Errorf("message structs.structs.EventAttack 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_EventAttack) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "structs.structs.EventAttack.eventAttackDetail": + x.EventAttackDetail = value.Message().Interface().(*EventAttackDetail) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAttack")) + } + panic(fmt.Errorf("message structs.structs.EventAttack 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_EventAttack) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.EventAttack.eventAttackDetail": + if x.EventAttackDetail == nil { + x.EventAttackDetail = new(EventAttackDetail) + } + return protoreflect.ValueOfMessage(x.EventAttackDetail.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAttack")) + } + panic(fmt.Errorf("message structs.structs.EventAttack 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_EventAttack) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.EventAttack.eventAttackDetail": + m := new(EventAttackDetail) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAttack")) + } + panic(fmt.Errorf("message structs.structs.EventAttack 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_EventAttack) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in structs.structs.EventAttack", 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_EventAttack) 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_EventAttack) 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_EventAttack) 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_EventAttack) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*EventAttack) + 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.EventAttackDetail != nil { + l = options.Size(x.EventAttackDetail) + 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().(*EventAttack) + 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.EventAttackDetail != nil { + encoded, err := options.Marshal(x.EventAttackDetail) + 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().(*EventAttack) + 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: EventAttack: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventAttack: 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 EventAttackDetail", 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.EventAttackDetail == nil { + x.EventAttackDetail = &EventAttackDetail{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.EventAttackDetail); 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 _ protoreflect.List = (*_EventAttackDetail_10_list)(nil) + +type _EventAttackDetail_10_list struct { + list *[]*EventAttackShotDetail +} + +func (x *_EventAttackDetail_10_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_EventAttackDetail_10_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_EventAttackDetail_10_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*EventAttackShotDetail) + (*x.list)[i] = concreteValue +} + +func (x *_EventAttackDetail_10_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*EventAttackShotDetail) + *x.list = append(*x.list, concreteValue) +} + +func (x *_EventAttackDetail_10_list) AppendMutable() protoreflect.Value { + v := new(EventAttackShotDetail) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_EventAttackDetail_10_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_EventAttackDetail_10_list) NewElement() protoreflect.Value { + v := new(EventAttackShotDetail) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_EventAttackDetail_10_list) IsValid() bool { + return x.list != nil +} + +var ( + md_EventAttackDetail protoreflect.MessageDescriptor + fd_EventAttackDetail_attackerStructId protoreflect.FieldDescriptor + fd_EventAttackDetail_attackerStructType protoreflect.FieldDescriptor + fd_EventAttackDetail_attackerStructLocationType protoreflect.FieldDescriptor + fd_EventAttackDetail_attackerStructLocationId protoreflect.FieldDescriptor + fd_EventAttackDetail_attackerStructOperatingAmbit protoreflect.FieldDescriptor + fd_EventAttackDetail_attackerStructSlot protoreflect.FieldDescriptor + fd_EventAttackDetail_weaponSystem protoreflect.FieldDescriptor + fd_EventAttackDetail_weaponControl protoreflect.FieldDescriptor + fd_EventAttackDetail_activeWeaponry protoreflect.FieldDescriptor + fd_EventAttackDetail_eventAttackShotDetail protoreflect.FieldDescriptor + fd_EventAttackDetail_recoilDamageToAttacker protoreflect.FieldDescriptor + fd_EventAttackDetail_recoilDamage protoreflect.FieldDescriptor + fd_EventAttackDetail_recoilDamageDestroyedAttacker protoreflect.FieldDescriptor + fd_EventAttackDetail_planetaryDefenseCannonDamageToAttacker protoreflect.FieldDescriptor + fd_EventAttackDetail_planetaryDefenseCannonDamage protoreflect.FieldDescriptor + fd_EventAttackDetail_planetaryDefenseCannonDamageDestroyedAttacker protoreflect.FieldDescriptor + fd_EventAttackDetail_attackerPlayerId protoreflect.FieldDescriptor + fd_EventAttackDetail_targetPlayerId protoreflect.FieldDescriptor +) + +func init() { + file_structs_structs_events_proto_init() + md_EventAttackDetail = File_structs_structs_events_proto.Messages().ByName("EventAttackDetail") + fd_EventAttackDetail_attackerStructId = md_EventAttackDetail.Fields().ByName("attackerStructId") + fd_EventAttackDetail_attackerStructType = md_EventAttackDetail.Fields().ByName("attackerStructType") + fd_EventAttackDetail_attackerStructLocationType = md_EventAttackDetail.Fields().ByName("attackerStructLocationType") + fd_EventAttackDetail_attackerStructLocationId = md_EventAttackDetail.Fields().ByName("attackerStructLocationId") + fd_EventAttackDetail_attackerStructOperatingAmbit = md_EventAttackDetail.Fields().ByName("attackerStructOperatingAmbit") + fd_EventAttackDetail_attackerStructSlot = md_EventAttackDetail.Fields().ByName("attackerStructSlot") + fd_EventAttackDetail_weaponSystem = md_EventAttackDetail.Fields().ByName("weaponSystem") + fd_EventAttackDetail_weaponControl = md_EventAttackDetail.Fields().ByName("weaponControl") + fd_EventAttackDetail_activeWeaponry = md_EventAttackDetail.Fields().ByName("activeWeaponry") + fd_EventAttackDetail_eventAttackShotDetail = md_EventAttackDetail.Fields().ByName("eventAttackShotDetail") + fd_EventAttackDetail_recoilDamageToAttacker = md_EventAttackDetail.Fields().ByName("recoilDamageToAttacker") + fd_EventAttackDetail_recoilDamage = md_EventAttackDetail.Fields().ByName("recoilDamage") + fd_EventAttackDetail_recoilDamageDestroyedAttacker = md_EventAttackDetail.Fields().ByName("recoilDamageDestroyedAttacker") + fd_EventAttackDetail_planetaryDefenseCannonDamageToAttacker = md_EventAttackDetail.Fields().ByName("planetaryDefenseCannonDamageToAttacker") + fd_EventAttackDetail_planetaryDefenseCannonDamage = md_EventAttackDetail.Fields().ByName("planetaryDefenseCannonDamage") + fd_EventAttackDetail_planetaryDefenseCannonDamageDestroyedAttacker = md_EventAttackDetail.Fields().ByName("planetaryDefenseCannonDamageDestroyedAttacker") + fd_EventAttackDetail_attackerPlayerId = md_EventAttackDetail.Fields().ByName("attackerPlayerId") + fd_EventAttackDetail_targetPlayerId = md_EventAttackDetail.Fields().ByName("targetPlayerId") +} + +var _ protoreflect.Message = (*fastReflection_EventAttackDetail)(nil) + +type fastReflection_EventAttackDetail EventAttackDetail + +func (x *EventAttackDetail) ProtoReflect() protoreflect.Message { + return (*fastReflection_EventAttackDetail)(x) +} + +func (x *EventAttackDetail) slowProtoReflect() protoreflect.Message { + mi := &file_structs_structs_events_proto_msgTypes[48] + 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_EventAttackDetail_messageType fastReflection_EventAttackDetail_messageType +var _ protoreflect.MessageType = fastReflection_EventAttackDetail_messageType{} + +type fastReflection_EventAttackDetail_messageType struct{} + +func (x fastReflection_EventAttackDetail_messageType) Zero() protoreflect.Message { + return (*fastReflection_EventAttackDetail)(nil) +} +func (x fastReflection_EventAttackDetail_messageType) New() protoreflect.Message { + return new(fastReflection_EventAttackDetail) +} +func (x fastReflection_EventAttackDetail_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_EventAttackDetail +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_EventAttackDetail) Descriptor() protoreflect.MessageDescriptor { + return md_EventAttackDetail +} + +// 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_EventAttackDetail) Type() protoreflect.MessageType { + return _fastReflection_EventAttackDetail_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_EventAttackDetail) New() protoreflect.Message { + return new(fastReflection_EventAttackDetail) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_EventAttackDetail) Interface() protoreflect.ProtoMessage { + return (*EventAttackDetail)(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_EventAttackDetail) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.AttackerStructId != "" { + value := protoreflect.ValueOfString(x.AttackerStructId) + if !f(fd_EventAttackDetail_attackerStructId, value) { + return + } + } + if x.AttackerStructType != uint64(0) { + value := protoreflect.ValueOfUint64(x.AttackerStructType) + if !f(fd_EventAttackDetail_attackerStructType, value) { + return + } + } + if x.AttackerStructLocationType != 0 { + value := protoreflect.ValueOfEnum((protoreflect.EnumNumber)(x.AttackerStructLocationType)) + if !f(fd_EventAttackDetail_attackerStructLocationType, value) { + return + } + } + if x.AttackerStructLocationId != "" { + value := protoreflect.ValueOfString(x.AttackerStructLocationId) + if !f(fd_EventAttackDetail_attackerStructLocationId, value) { + return + } + } + if x.AttackerStructOperatingAmbit != 0 { + value := protoreflect.ValueOfEnum((protoreflect.EnumNumber)(x.AttackerStructOperatingAmbit)) + if !f(fd_EventAttackDetail_attackerStructOperatingAmbit, value) { + return + } + } + if x.AttackerStructSlot != uint64(0) { + value := protoreflect.ValueOfUint64(x.AttackerStructSlot) + if !f(fd_EventAttackDetail_attackerStructSlot, value) { + return + } + } + if x.WeaponSystem != 0 { + value := protoreflect.ValueOfEnum((protoreflect.EnumNumber)(x.WeaponSystem)) + if !f(fd_EventAttackDetail_weaponSystem, value) { + return + } + } + if x.WeaponControl != 0 { + value := protoreflect.ValueOfEnum((protoreflect.EnumNumber)(x.WeaponControl)) + if !f(fd_EventAttackDetail_weaponControl, value) { + return + } + } + if x.ActiveWeaponry != 0 { + value := protoreflect.ValueOfEnum((protoreflect.EnumNumber)(x.ActiveWeaponry)) + if !f(fd_EventAttackDetail_activeWeaponry, value) { + return + } + } + if len(x.EventAttackShotDetail) != 0 { + value := protoreflect.ValueOfList(&_EventAttackDetail_10_list{list: &x.EventAttackShotDetail}) + if !f(fd_EventAttackDetail_eventAttackShotDetail, value) { + return + } + } + if x.RecoilDamageToAttacker != false { + value := protoreflect.ValueOfBool(x.RecoilDamageToAttacker) + if !f(fd_EventAttackDetail_recoilDamageToAttacker, value) { + return + } + } + if x.RecoilDamage != uint64(0) { + value := protoreflect.ValueOfUint64(x.RecoilDamage) + if !f(fd_EventAttackDetail_recoilDamage, value) { + return + } + } + if x.RecoilDamageDestroyedAttacker != false { + value := protoreflect.ValueOfBool(x.RecoilDamageDestroyedAttacker) + if !f(fd_EventAttackDetail_recoilDamageDestroyedAttacker, value) { + return + } + } + if x.PlanetaryDefenseCannonDamageToAttacker != false { + value := protoreflect.ValueOfBool(x.PlanetaryDefenseCannonDamageToAttacker) + if !f(fd_EventAttackDetail_planetaryDefenseCannonDamageToAttacker, value) { + return + } + } + if x.PlanetaryDefenseCannonDamage != uint64(0) { + value := protoreflect.ValueOfUint64(x.PlanetaryDefenseCannonDamage) + if !f(fd_EventAttackDetail_planetaryDefenseCannonDamage, value) { + return + } + } + if x.PlanetaryDefenseCannonDamageDestroyedAttacker != false { + value := protoreflect.ValueOfBool(x.PlanetaryDefenseCannonDamageDestroyedAttacker) + if !f(fd_EventAttackDetail_planetaryDefenseCannonDamageDestroyedAttacker, value) { + return + } + } + if x.AttackerPlayerId != "" { + value := protoreflect.ValueOfString(x.AttackerPlayerId) + if !f(fd_EventAttackDetail_attackerPlayerId, value) { + return + } + } + if x.TargetPlayerId != "" { + value := protoreflect.ValueOfString(x.TargetPlayerId) + if !f(fd_EventAttackDetail_targetPlayerId, 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_EventAttackDetail) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "structs.structs.EventAttackDetail.attackerStructId": + return x.AttackerStructId != "" + case "structs.structs.EventAttackDetail.attackerStructType": + return x.AttackerStructType != uint64(0) + case "structs.structs.EventAttackDetail.attackerStructLocationType": + return x.AttackerStructLocationType != 0 + case "structs.structs.EventAttackDetail.attackerStructLocationId": + return x.AttackerStructLocationId != "" + case "structs.structs.EventAttackDetail.attackerStructOperatingAmbit": + return x.AttackerStructOperatingAmbit != 0 + case "structs.structs.EventAttackDetail.attackerStructSlot": + return x.AttackerStructSlot != uint64(0) + case "structs.structs.EventAttackDetail.weaponSystem": + return x.WeaponSystem != 0 + case "structs.structs.EventAttackDetail.weaponControl": + return x.WeaponControl != 0 + case "structs.structs.EventAttackDetail.activeWeaponry": + return x.ActiveWeaponry != 0 + case "structs.structs.EventAttackDetail.eventAttackShotDetail": + return len(x.EventAttackShotDetail) != 0 + case "structs.structs.EventAttackDetail.recoilDamageToAttacker": + return x.RecoilDamageToAttacker != false + case "structs.structs.EventAttackDetail.recoilDamage": + return x.RecoilDamage != uint64(0) + case "structs.structs.EventAttackDetail.recoilDamageDestroyedAttacker": + return x.RecoilDamageDestroyedAttacker != false + case "structs.structs.EventAttackDetail.planetaryDefenseCannonDamageToAttacker": + return x.PlanetaryDefenseCannonDamageToAttacker != false + case "structs.structs.EventAttackDetail.planetaryDefenseCannonDamage": + return x.PlanetaryDefenseCannonDamage != uint64(0) + case "structs.structs.EventAttackDetail.planetaryDefenseCannonDamageDestroyedAttacker": + return x.PlanetaryDefenseCannonDamageDestroyedAttacker != false + case "structs.structs.EventAttackDetail.attackerPlayerId": + return x.AttackerPlayerId != "" + case "structs.structs.EventAttackDetail.targetPlayerId": + return x.TargetPlayerId != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAttackDetail")) + } + panic(fmt.Errorf("message structs.structs.EventAttackDetail 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_EventAttackDetail) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "structs.structs.EventAttackDetail.attackerStructId": + x.AttackerStructId = "" + case "structs.structs.EventAttackDetail.attackerStructType": + x.AttackerStructType = uint64(0) + case "structs.structs.EventAttackDetail.attackerStructLocationType": + x.AttackerStructLocationType = 0 + case "structs.structs.EventAttackDetail.attackerStructLocationId": + x.AttackerStructLocationId = "" + case "structs.structs.EventAttackDetail.attackerStructOperatingAmbit": + x.AttackerStructOperatingAmbit = 0 + case "structs.structs.EventAttackDetail.attackerStructSlot": + x.AttackerStructSlot = uint64(0) + case "structs.structs.EventAttackDetail.weaponSystem": + x.WeaponSystem = 0 + case "structs.structs.EventAttackDetail.weaponControl": + x.WeaponControl = 0 + case "structs.structs.EventAttackDetail.activeWeaponry": + x.ActiveWeaponry = 0 + case "structs.structs.EventAttackDetail.eventAttackShotDetail": + x.EventAttackShotDetail = nil + case "structs.structs.EventAttackDetail.recoilDamageToAttacker": + x.RecoilDamageToAttacker = false + case "structs.structs.EventAttackDetail.recoilDamage": + x.RecoilDamage = uint64(0) + case "structs.structs.EventAttackDetail.recoilDamageDestroyedAttacker": + x.RecoilDamageDestroyedAttacker = false + case "structs.structs.EventAttackDetail.planetaryDefenseCannonDamageToAttacker": + x.PlanetaryDefenseCannonDamageToAttacker = false + case "structs.structs.EventAttackDetail.planetaryDefenseCannonDamage": + x.PlanetaryDefenseCannonDamage = uint64(0) + case "structs.structs.EventAttackDetail.planetaryDefenseCannonDamageDestroyedAttacker": + x.PlanetaryDefenseCannonDamageDestroyedAttacker = false + case "structs.structs.EventAttackDetail.attackerPlayerId": + x.AttackerPlayerId = "" + case "structs.structs.EventAttackDetail.targetPlayerId": + x.TargetPlayerId = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAttackDetail")) + } + panic(fmt.Errorf("message structs.structs.EventAttackDetail 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_EventAttackDetail) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "structs.structs.EventAttackDetail.attackerStructId": + value := x.AttackerStructId + return protoreflect.ValueOfString(value) + case "structs.structs.EventAttackDetail.attackerStructType": + value := x.AttackerStructType + return protoreflect.ValueOfUint64(value) + case "structs.structs.EventAttackDetail.attackerStructLocationType": + value := x.AttackerStructLocationType + return protoreflect.ValueOfEnum((protoreflect.EnumNumber)(value)) + case "structs.structs.EventAttackDetail.attackerStructLocationId": + value := x.AttackerStructLocationId + return protoreflect.ValueOfString(value) + case "structs.structs.EventAttackDetail.attackerStructOperatingAmbit": + value := x.AttackerStructOperatingAmbit + return protoreflect.ValueOfEnum((protoreflect.EnumNumber)(value)) + case "structs.structs.EventAttackDetail.attackerStructSlot": + value := x.AttackerStructSlot + return protoreflect.ValueOfUint64(value) + case "structs.structs.EventAttackDetail.weaponSystem": + value := x.WeaponSystem + return protoreflect.ValueOfEnum((protoreflect.EnumNumber)(value)) + case "structs.structs.EventAttackDetail.weaponControl": + value := x.WeaponControl + return protoreflect.ValueOfEnum((protoreflect.EnumNumber)(value)) + case "structs.structs.EventAttackDetail.activeWeaponry": + value := x.ActiveWeaponry + return protoreflect.ValueOfEnum((protoreflect.EnumNumber)(value)) + case "structs.structs.EventAttackDetail.eventAttackShotDetail": + if len(x.EventAttackShotDetail) == 0 { + return protoreflect.ValueOfList(&_EventAttackDetail_10_list{}) + } + listValue := &_EventAttackDetail_10_list{list: &x.EventAttackShotDetail} + return protoreflect.ValueOfList(listValue) + case "structs.structs.EventAttackDetail.recoilDamageToAttacker": + value := x.RecoilDamageToAttacker + return protoreflect.ValueOfBool(value) + case "structs.structs.EventAttackDetail.recoilDamage": + value := x.RecoilDamage + return protoreflect.ValueOfUint64(value) + case "structs.structs.EventAttackDetail.recoilDamageDestroyedAttacker": + value := x.RecoilDamageDestroyedAttacker + return protoreflect.ValueOfBool(value) + case "structs.structs.EventAttackDetail.planetaryDefenseCannonDamageToAttacker": + value := x.PlanetaryDefenseCannonDamageToAttacker + return protoreflect.ValueOfBool(value) + case "structs.structs.EventAttackDetail.planetaryDefenseCannonDamage": + value := x.PlanetaryDefenseCannonDamage + return protoreflect.ValueOfUint64(value) + case "structs.structs.EventAttackDetail.planetaryDefenseCannonDamageDestroyedAttacker": + value := x.PlanetaryDefenseCannonDamageDestroyedAttacker + return protoreflect.ValueOfBool(value) + case "structs.structs.EventAttackDetail.attackerPlayerId": + value := x.AttackerPlayerId + return protoreflect.ValueOfString(value) + case "structs.structs.EventAttackDetail.targetPlayerId": + value := x.TargetPlayerId + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAttackDetail")) + } + panic(fmt.Errorf("message structs.structs.EventAttackDetail 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_EventAttackDetail) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "structs.structs.EventAttackDetail.attackerStructId": + x.AttackerStructId = value.Interface().(string) + case "structs.structs.EventAttackDetail.attackerStructType": + x.AttackerStructType = value.Uint() + case "structs.structs.EventAttackDetail.attackerStructLocationType": + x.AttackerStructLocationType = (ObjectType)(value.Enum()) + case "structs.structs.EventAttackDetail.attackerStructLocationId": + x.AttackerStructLocationId = value.Interface().(string) + case "structs.structs.EventAttackDetail.attackerStructOperatingAmbit": + x.AttackerStructOperatingAmbit = (Ambit)(value.Enum()) + case "structs.structs.EventAttackDetail.attackerStructSlot": + x.AttackerStructSlot = value.Uint() + case "structs.structs.EventAttackDetail.weaponSystem": + x.WeaponSystem = (TechWeaponSystem)(value.Enum()) + case "structs.structs.EventAttackDetail.weaponControl": + x.WeaponControl = (TechWeaponControl)(value.Enum()) + case "structs.structs.EventAttackDetail.activeWeaponry": + x.ActiveWeaponry = (TechActiveWeaponry)(value.Enum()) + case "structs.structs.EventAttackDetail.eventAttackShotDetail": + lv := value.List() + clv := lv.(*_EventAttackDetail_10_list) + x.EventAttackShotDetail = *clv.list + case "structs.structs.EventAttackDetail.recoilDamageToAttacker": + x.RecoilDamageToAttacker = value.Bool() + case "structs.structs.EventAttackDetail.recoilDamage": + x.RecoilDamage = value.Uint() + case "structs.structs.EventAttackDetail.recoilDamageDestroyedAttacker": + x.RecoilDamageDestroyedAttacker = value.Bool() + case "structs.structs.EventAttackDetail.planetaryDefenseCannonDamageToAttacker": + x.PlanetaryDefenseCannonDamageToAttacker = value.Bool() + case "structs.structs.EventAttackDetail.planetaryDefenseCannonDamage": + x.PlanetaryDefenseCannonDamage = value.Uint() + case "structs.structs.EventAttackDetail.planetaryDefenseCannonDamageDestroyedAttacker": + x.PlanetaryDefenseCannonDamageDestroyedAttacker = value.Bool() + case "structs.structs.EventAttackDetail.attackerPlayerId": + x.AttackerPlayerId = value.Interface().(string) + case "structs.structs.EventAttackDetail.targetPlayerId": + x.TargetPlayerId = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAttackDetail")) + } + panic(fmt.Errorf("message structs.structs.EventAttackDetail 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_EventAttackDetail) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.EventAttackDetail.eventAttackShotDetail": + if x.EventAttackShotDetail == nil { + x.EventAttackShotDetail = []*EventAttackShotDetail{} + } + value := &_EventAttackDetail_10_list{list: &x.EventAttackShotDetail} + return protoreflect.ValueOfList(value) + case "structs.structs.EventAttackDetail.attackerStructId": + panic(fmt.Errorf("field attackerStructId of message structs.structs.EventAttackDetail is not mutable")) + case "structs.structs.EventAttackDetail.attackerStructType": + panic(fmt.Errorf("field attackerStructType of message structs.structs.EventAttackDetail is not mutable")) + case "structs.structs.EventAttackDetail.attackerStructLocationType": + panic(fmt.Errorf("field attackerStructLocationType of message structs.structs.EventAttackDetail is not mutable")) + case "structs.structs.EventAttackDetail.attackerStructLocationId": + panic(fmt.Errorf("field attackerStructLocationId of message structs.structs.EventAttackDetail is not mutable")) + case "structs.structs.EventAttackDetail.attackerStructOperatingAmbit": + panic(fmt.Errorf("field attackerStructOperatingAmbit of message structs.structs.EventAttackDetail is not mutable")) + case "structs.structs.EventAttackDetail.attackerStructSlot": + panic(fmt.Errorf("field attackerStructSlot of message structs.structs.EventAttackDetail is not mutable")) + case "structs.structs.EventAttackDetail.weaponSystem": + panic(fmt.Errorf("field weaponSystem of message structs.structs.EventAttackDetail is not mutable")) + case "structs.structs.EventAttackDetail.weaponControl": + panic(fmt.Errorf("field weaponControl of message structs.structs.EventAttackDetail is not mutable")) + case "structs.structs.EventAttackDetail.activeWeaponry": + panic(fmt.Errorf("field activeWeaponry of message structs.structs.EventAttackDetail is not mutable")) + case "structs.structs.EventAttackDetail.recoilDamageToAttacker": + panic(fmt.Errorf("field recoilDamageToAttacker of message structs.structs.EventAttackDetail is not mutable")) + case "structs.structs.EventAttackDetail.recoilDamage": + panic(fmt.Errorf("field recoilDamage of message structs.structs.EventAttackDetail is not mutable")) + case "structs.structs.EventAttackDetail.recoilDamageDestroyedAttacker": + panic(fmt.Errorf("field recoilDamageDestroyedAttacker of message structs.structs.EventAttackDetail is not mutable")) + case "structs.structs.EventAttackDetail.planetaryDefenseCannonDamageToAttacker": + panic(fmt.Errorf("field planetaryDefenseCannonDamageToAttacker of message structs.structs.EventAttackDetail is not mutable")) + case "structs.structs.EventAttackDetail.planetaryDefenseCannonDamage": + panic(fmt.Errorf("field planetaryDefenseCannonDamage of message structs.structs.EventAttackDetail is not mutable")) + case "structs.structs.EventAttackDetail.planetaryDefenseCannonDamageDestroyedAttacker": + panic(fmt.Errorf("field planetaryDefenseCannonDamageDestroyedAttacker of message structs.structs.EventAttackDetail is not mutable")) + case "structs.structs.EventAttackDetail.attackerPlayerId": + panic(fmt.Errorf("field attackerPlayerId of message structs.structs.EventAttackDetail is not mutable")) + case "structs.structs.EventAttackDetail.targetPlayerId": + panic(fmt.Errorf("field targetPlayerId of message structs.structs.EventAttackDetail is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAttackDetail")) + } + panic(fmt.Errorf("message structs.structs.EventAttackDetail 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_EventAttackDetail) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.EventAttackDetail.attackerStructId": + return protoreflect.ValueOfString("") + case "structs.structs.EventAttackDetail.attackerStructType": + return protoreflect.ValueOfUint64(uint64(0)) + case "structs.structs.EventAttackDetail.attackerStructLocationType": + return protoreflect.ValueOfEnum(0) + case "structs.structs.EventAttackDetail.attackerStructLocationId": + return protoreflect.ValueOfString("") + case "structs.structs.EventAttackDetail.attackerStructOperatingAmbit": + return protoreflect.ValueOfEnum(0) + case "structs.structs.EventAttackDetail.attackerStructSlot": + return protoreflect.ValueOfUint64(uint64(0)) + case "structs.structs.EventAttackDetail.weaponSystem": + return protoreflect.ValueOfEnum(0) + case "structs.structs.EventAttackDetail.weaponControl": + return protoreflect.ValueOfEnum(0) + case "structs.structs.EventAttackDetail.activeWeaponry": + return protoreflect.ValueOfEnum(0) + case "structs.structs.EventAttackDetail.eventAttackShotDetail": + list := []*EventAttackShotDetail{} + return protoreflect.ValueOfList(&_EventAttackDetail_10_list{list: &list}) + case "structs.structs.EventAttackDetail.recoilDamageToAttacker": + return protoreflect.ValueOfBool(false) + case "structs.structs.EventAttackDetail.recoilDamage": + return protoreflect.ValueOfUint64(uint64(0)) + case "structs.structs.EventAttackDetail.recoilDamageDestroyedAttacker": + return protoreflect.ValueOfBool(false) + case "structs.structs.EventAttackDetail.planetaryDefenseCannonDamageToAttacker": + return protoreflect.ValueOfBool(false) + case "structs.structs.EventAttackDetail.planetaryDefenseCannonDamage": + return protoreflect.ValueOfUint64(uint64(0)) + case "structs.structs.EventAttackDetail.planetaryDefenseCannonDamageDestroyedAttacker": + return protoreflect.ValueOfBool(false) + case "structs.structs.EventAttackDetail.attackerPlayerId": + return protoreflect.ValueOfString("") + case "structs.structs.EventAttackDetail.targetPlayerId": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAttackDetail")) + } + panic(fmt.Errorf("message structs.structs.EventAttackDetail 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_EventAttackDetail) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in structs.structs.EventAttackDetail", 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_EventAttackDetail) 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_EventAttackDetail) 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_EventAttackDetail) 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_EventAttackDetail) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*EventAttackDetail) + 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.AttackerStructId) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.AttackerStructType != 0 { + n += 1 + runtime.Sov(uint64(x.AttackerStructType)) + } + if x.AttackerStructLocationType != 0 { + n += 1 + runtime.Sov(uint64(x.AttackerStructLocationType)) + } + l = len(x.AttackerStructLocationId) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.AttackerStructOperatingAmbit != 0 { + n += 1 + runtime.Sov(uint64(x.AttackerStructOperatingAmbit)) + } + if x.AttackerStructSlot != 0 { + n += 1 + runtime.Sov(uint64(x.AttackerStructSlot)) + } + if x.WeaponSystem != 0 { + n += 1 + runtime.Sov(uint64(x.WeaponSystem)) + } + if x.WeaponControl != 0 { + n += 1 + runtime.Sov(uint64(x.WeaponControl)) + } + if x.ActiveWeaponry != 0 { + n += 1 + runtime.Sov(uint64(x.ActiveWeaponry)) + } + if len(x.EventAttackShotDetail) > 0 { + for _, e := range x.EventAttackShotDetail { + l = options.Size(e) + n += 1 + l + runtime.Sov(uint64(l)) + } + } + if x.RecoilDamageToAttacker { + n += 2 + } + if x.RecoilDamage != 0 { + n += 1 + runtime.Sov(uint64(x.RecoilDamage)) + } + if x.RecoilDamageDestroyedAttacker { + n += 2 + } + if x.PlanetaryDefenseCannonDamageToAttacker { + n += 2 + } + if x.PlanetaryDefenseCannonDamage != 0 { + n += 1 + runtime.Sov(uint64(x.PlanetaryDefenseCannonDamage)) + } + if x.PlanetaryDefenseCannonDamageDestroyedAttacker { + n += 3 + } + l = len(x.AttackerPlayerId) + if l > 0 { + n += 2 + l + runtime.Sov(uint64(l)) + } + l = len(x.TargetPlayerId) + if l > 0 { + n += 2 + 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().(*EventAttackDetail) + 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.TargetPlayerId) > 0 { + i -= len(x.TargetPlayerId) + copy(dAtA[i:], x.TargetPlayerId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.TargetPlayerId))) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x92 + } + if len(x.AttackerPlayerId) > 0 { + i -= len(x.AttackerPlayerId) + copy(dAtA[i:], x.AttackerPlayerId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.AttackerPlayerId))) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x8a + } + if x.PlanetaryDefenseCannonDamageDestroyedAttacker { + i-- + if x.PlanetaryDefenseCannonDamageDestroyedAttacker { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x80 + } + if x.PlanetaryDefenseCannonDamage != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.PlanetaryDefenseCannonDamage)) + i-- + dAtA[i] = 0x78 + } + if x.PlanetaryDefenseCannonDamageToAttacker { + i-- + if x.PlanetaryDefenseCannonDamageToAttacker { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x70 + } + if x.RecoilDamageDestroyedAttacker { + i-- + if x.RecoilDamageDestroyedAttacker { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x68 + } + if x.RecoilDamage != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.RecoilDamage)) + i-- + dAtA[i] = 0x60 + } + if x.RecoilDamageToAttacker { + i-- + if x.RecoilDamageToAttacker { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x58 + } + if len(x.EventAttackShotDetail) > 0 { + for iNdEx := len(x.EventAttackShotDetail) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.EventAttackShotDetail[iNdEx]) + 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] = 0x52 + } + } + if x.ActiveWeaponry != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.ActiveWeaponry)) + i-- + dAtA[i] = 0x48 + } + if x.WeaponControl != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.WeaponControl)) + i-- + dAtA[i] = 0x40 + } + if x.WeaponSystem != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.WeaponSystem)) + i-- + dAtA[i] = 0x38 + } + if x.AttackerStructSlot != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.AttackerStructSlot)) + i-- + dAtA[i] = 0x30 + } + if x.AttackerStructOperatingAmbit != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.AttackerStructOperatingAmbit)) + i-- + dAtA[i] = 0x28 + } + if len(x.AttackerStructLocationId) > 0 { + i -= len(x.AttackerStructLocationId) + copy(dAtA[i:], x.AttackerStructLocationId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.AttackerStructLocationId))) + i-- + dAtA[i] = 0x22 + } + if x.AttackerStructLocationType != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.AttackerStructLocationType)) + i-- + dAtA[i] = 0x18 + } + if x.AttackerStructType != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.AttackerStructType)) + i-- + dAtA[i] = 0x10 + } + if len(x.AttackerStructId) > 0 { + i -= len(x.AttackerStructId) + copy(dAtA[i:], x.AttackerStructId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.AttackerStructId))) + 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().(*EventAttackDetail) + 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: EventAttackDetail: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventAttackDetail: 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 AttackerStructId", 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.AttackerStructId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field AttackerStructType", wireType) + } + x.AttackerStructType = 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.AttackerStructType |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field AttackerStructLocationType", wireType) + } + x.AttackerStructLocationType = 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.AttackerStructLocationType |= ObjectType(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 4: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field AttackerStructLocationId", 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.AttackerStructLocationId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 5: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field AttackerStructOperatingAmbit", wireType) + } + x.AttackerStructOperatingAmbit = 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.AttackerStructOperatingAmbit |= Ambit(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 6: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field AttackerStructSlot", wireType) + } + x.AttackerStructSlot = 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.AttackerStructSlot |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 7: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field WeaponSystem", wireType) + } + x.WeaponSystem = 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.WeaponSystem |= TechWeaponSystem(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 8: + if wireType != 0 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field WeaponControl", wireType) } x.WeaponControl = 0 @@ -17086,7 +23679,7 @@ func (x *EventAttackShotDetail) ProtoReflect() protoreflect.Message { } func (x *EventAttackShotDetail) slowProtoReflect() protoreflect.Message { - mi := &file_structs_structs_events_proto_msgTypes[35] + mi := &file_structs_structs_events_proto_msgTypes[49] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -18177,200 +24770,508 @@ func (x *fastReflection_EventAttackShotDetail) ProtoMethods() *protoiface.Method i-- dAtA[i] = 0xa0 } - if len(x.EventAttackDefenderCounterDetail) > 0 { - for iNdEx := len(x.EventAttackDefenderCounterDetail) - 1; iNdEx >= 0; iNdEx-- { - encoded, err := options.Marshal(x.EventAttackDefenderCounterDetail[iNdEx]) - if err != nil { - return protoiface.MarshalOutput{ - NoUnkeyedLiterals: input.NoUnkeyedLiterals, - Buf: input.Buf, - }, err + if len(x.EventAttackDefenderCounterDetail) > 0 { + for iNdEx := len(x.EventAttackDefenderCounterDetail) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.EventAttackDefenderCounterDetail[iNdEx]) + 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] = 0x1 + i-- + dAtA[i] = 0x9a + } + } + if x.BlockerDestroyed { + i-- + if x.BlockerDestroyed { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x90 + } + if x.BlockedByStructSlot != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.BlockedByStructSlot)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x88 + } + if x.BlockedByStructOperatingAmbit != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.BlockedByStructOperatingAmbit)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x80 + } + if len(x.BlockedByStructLocationId) > 0 { + i -= len(x.BlockedByStructLocationId) + copy(dAtA[i:], x.BlockedByStructLocationId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.BlockedByStructLocationId))) + i-- + dAtA[i] = 0x7a + } + if x.BlockedByStructLocationType != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.BlockedByStructLocationType)) + i-- + dAtA[i] = 0x70 + } + if x.BlockedByStructType != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.BlockedByStructType)) + i-- + dAtA[i] = 0x68 + } + if len(x.BlockedByStructId) > 0 { + i -= len(x.BlockedByStructId) + copy(dAtA[i:], x.BlockedByStructId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.BlockedByStructId))) + i-- + dAtA[i] = 0x62 + } + if x.Blocked { + i-- + if x.Blocked { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x58 + } + if x.EvadedByPlanetaryDefensesCause != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.EvadedByPlanetaryDefensesCause)) + i-- + dAtA[i] = 0x50 + } + if x.EvadedByPlanetaryDefenses { + i-- + if x.EvadedByPlanetaryDefenses { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x48 + } + if x.EvadedCause != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.EvadedCause)) + i-- + dAtA[i] = 0x40 + } + if x.Evaded { + i-- + if x.Evaded { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x38 + } + if x.TargetStructSlot != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TargetStructSlot)) + i-- + dAtA[i] = 0x30 + } + if x.TargetStructOperatingAmbit != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TargetStructOperatingAmbit)) + i-- + dAtA[i] = 0x28 + } + if len(x.TargetStructLocationId) > 0 { + i -= len(x.TargetStructLocationId) + copy(dAtA[i:], x.TargetStructLocationId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.TargetStructLocationId))) + i-- + dAtA[i] = 0x22 + } + if x.TargetStructLocationType != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TargetStructLocationType)) + i-- + dAtA[i] = 0x18 + } + if x.TargetStructType != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TargetStructType)) + i-- + dAtA[i] = 0x10 + } + if len(x.TargetStructId) > 0 { + i -= len(x.TargetStructId) + copy(dAtA[i:], x.TargetStructId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.TargetStructId))) + 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().(*EventAttackShotDetail) + 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: EventAttackShotDetail: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventAttackShotDetail: 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 TargetStructId", 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.TargetStructId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TargetStructType", wireType) + } + x.TargetStructType = 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.TargetStructType |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TargetStructLocationType", wireType) + } + x.TargetStructLocationType = 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.TargetStructLocationType |= ObjectType(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 4: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TargetStructLocationId", 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.TargetStructLocationId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 5: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TargetStructOperatingAmbit", wireType) + } + x.TargetStructOperatingAmbit = 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.TargetStructOperatingAmbit |= Ambit(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 6: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TargetStructSlot", wireType) + } + x.TargetStructSlot = 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.TargetStructSlot |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 7: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Evaded", wireType) + } + var v 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++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.Evaded = bool(v != 0) + case 8: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field EvadedCause", wireType) + } + x.EvadedCause = 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.EvadedCause |= TechUnitDefenses(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 9: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field EvadedByPlanetaryDefenses", wireType) + } + var v 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++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.EvadedByPlanetaryDefenses = bool(v != 0) + case 10: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field EvadedByPlanetaryDefensesCause", wireType) + } + x.EvadedByPlanetaryDefensesCause = 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.EvadedByPlanetaryDefensesCause |= TechPlanetaryDefenses(b&0x7F) << shift + if b < 0x80 { + break + } } - i -= len(encoded) - copy(dAtA[i:], encoded) - i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0x9a - } - } - if x.BlockerDestroyed { - i-- - if x.BlockerDestroyed { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0x90 - } - if x.BlockedByStructSlot != 0 { - i = runtime.EncodeVarint(dAtA, i, uint64(x.BlockedByStructSlot)) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0x88 - } - if x.BlockedByStructOperatingAmbit != 0 { - i = runtime.EncodeVarint(dAtA, i, uint64(x.BlockedByStructOperatingAmbit)) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0x80 - } - if len(x.BlockedByStructLocationId) > 0 { - i -= len(x.BlockedByStructLocationId) - copy(dAtA[i:], x.BlockedByStructLocationId) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.BlockedByStructLocationId))) - i-- - dAtA[i] = 0x7a - } - if x.BlockedByStructLocationType != 0 { - i = runtime.EncodeVarint(dAtA, i, uint64(x.BlockedByStructLocationType)) - i-- - dAtA[i] = 0x70 - } - if x.BlockedByStructType != 0 { - i = runtime.EncodeVarint(dAtA, i, uint64(x.BlockedByStructType)) - i-- - dAtA[i] = 0x68 - } - if len(x.BlockedByStructId) > 0 { - i -= len(x.BlockedByStructId) - copy(dAtA[i:], x.BlockedByStructId) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.BlockedByStructId))) - i-- - dAtA[i] = 0x62 - } - if x.Blocked { - i-- - if x.Blocked { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x58 - } - if x.EvadedByPlanetaryDefensesCause != 0 { - i = runtime.EncodeVarint(dAtA, i, uint64(x.EvadedByPlanetaryDefensesCause)) - i-- - dAtA[i] = 0x50 - } - if x.EvadedByPlanetaryDefenses { - i-- - if x.EvadedByPlanetaryDefenses { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x48 - } - if x.EvadedCause != 0 { - i = runtime.EncodeVarint(dAtA, i, uint64(x.EvadedCause)) - i-- - dAtA[i] = 0x40 - } - if x.Evaded { - i-- - if x.Evaded { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x38 - } - if x.TargetStructSlot != 0 { - i = runtime.EncodeVarint(dAtA, i, uint64(x.TargetStructSlot)) - i-- - dAtA[i] = 0x30 - } - if x.TargetStructOperatingAmbit != 0 { - i = runtime.EncodeVarint(dAtA, i, uint64(x.TargetStructOperatingAmbit)) - i-- - dAtA[i] = 0x28 - } - if len(x.TargetStructLocationId) > 0 { - i -= len(x.TargetStructLocationId) - copy(dAtA[i:], x.TargetStructLocationId) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.TargetStructLocationId))) - i-- - dAtA[i] = 0x22 - } - if x.TargetStructLocationType != 0 { - i = runtime.EncodeVarint(dAtA, i, uint64(x.TargetStructLocationType)) - i-- - dAtA[i] = 0x18 - } - if x.TargetStructType != 0 { - i = runtime.EncodeVarint(dAtA, i, uint64(x.TargetStructType)) - i-- - dAtA[i] = 0x10 - } - if len(x.TargetStructId) > 0 { - i -= len(x.TargetStructId) - copy(dAtA[i:], x.TargetStructId) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.TargetStructId))) - 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().(*EventAttackShotDetail) - 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 + case 11: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Blocked", wireType) } - if iNdEx >= l { + var v 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++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.Blocked = bool(v != 0) + case 12: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field BlockedByStructId", 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 } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break + x.BlockedByStructId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 13: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field BlockedByStructType", wireType) + } + x.BlockedByStructType = 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.BlockedByStructType |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 14: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field BlockedByStructLocationType", wireType) + } + x.BlockedByStructLocationType = 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.BlockedByStructLocationType |= ObjectType(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: EventAttackShotDetail: wiretype end group for non-group") - } - if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventAttackShotDetail: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: + case 15: if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TargetStructId", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field BlockedByStructLocationId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -18398,13 +25299,13 @@ func (x *fastReflection_EventAttackShotDetail) ProtoMethods() *protoiface.Method if postIndex > l { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - x.TargetStructId = string(dAtA[iNdEx:postIndex]) + x.BlockedByStructLocationId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 2: + case 16: if wireType != 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TargetStructType", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field BlockedByStructOperatingAmbit", wireType) } - x.TargetStructType = 0 + x.BlockedByStructOperatingAmbit = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -18414,16 +25315,16 @@ func (x *fastReflection_EventAttackShotDetail) ProtoMethods() *protoiface.Method } b := dAtA[iNdEx] iNdEx++ - x.TargetStructType |= uint64(b&0x7F) << shift + x.BlockedByStructOperatingAmbit |= Ambit(b&0x7F) << shift if b < 0x80 { break } } - case 3: + case 17: if wireType != 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TargetStructLocationType", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field BlockedByStructSlot", wireType) } - x.TargetStructLocationType = 0 + x.BlockedByStructSlot = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -18433,16 +25334,36 @@ func (x *fastReflection_EventAttackShotDetail) ProtoMethods() *protoiface.Method } b := dAtA[iNdEx] iNdEx++ - x.TargetStructLocationType |= ObjectType(b&0x7F) << shift + x.BlockedByStructSlot |= uint64(b&0x7F) << shift if b < 0x80 { break } } - case 4: + case 18: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field BlockerDestroyed", wireType) + } + var v 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++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.BlockerDestroyed = bool(v != 0) + case 19: if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TargetStructLocationId", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field EventAttackDefenderCounterDetail", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -18452,29 +25373,31 @@ func (x *fastReflection_EventAttackShotDetail) ProtoMethods() *protoiface.Method } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength } - postIndex := iNdEx + intStringLen + 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 } - x.TargetStructLocationId = string(dAtA[iNdEx:postIndex]) + x.EventAttackDefenderCounterDetail = append(x.EventAttackDefenderCounterDetail, &EventAttackDefenderCounterDetail{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.EventAttackDefenderCounterDetail[len(x.EventAttackDefenderCounterDetail)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } iNdEx = postIndex - case 5: + case 20: if wireType != 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TargetStructOperatingAmbit", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field DamageDealt", wireType) } - x.TargetStructOperatingAmbit = 0 + x.DamageDealt = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -18484,16 +25407,16 @@ func (x *fastReflection_EventAttackShotDetail) ProtoMethods() *protoiface.Method } b := dAtA[iNdEx] iNdEx++ - x.TargetStructOperatingAmbit |= Ambit(b&0x7F) << shift + x.DamageDealt |= uint64(b&0x7F) << shift if b < 0x80 { break } } - case 6: + case 21: if wireType != 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TargetStructSlot", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field DamageReduction", wireType) } - x.TargetStructSlot = 0 + x.DamageReduction = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -18503,16 +25426,16 @@ func (x *fastReflection_EventAttackShotDetail) ProtoMethods() *protoiface.Method } b := dAtA[iNdEx] iNdEx++ - x.TargetStructSlot |= uint64(b&0x7F) << shift + x.DamageReduction |= uint64(b&0x7F) << shift if b < 0x80 { break } } - case 7: + case 22: if wireType != 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Evaded", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field DamageReductionCause", wireType) } - var v int + x.DamageReductionCause = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -18522,17 +25445,16 @@ func (x *fastReflection_EventAttackShotDetail) ProtoMethods() *protoiface.Method } b := dAtA[iNdEx] iNdEx++ - v |= int(b&0x7F) << shift + x.DamageReductionCause |= TechUnitDefenses(b&0x7F) << shift if b < 0x80 { break } } - x.Evaded = bool(v != 0) - case 8: + case 23: if wireType != 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field EvadedCause", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Damage", wireType) } - x.EvadedCause = 0 + x.Damage = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -18542,14 +25464,14 @@ func (x *fastReflection_EventAttackShotDetail) ProtoMethods() *protoiface.Method } b := dAtA[iNdEx] iNdEx++ - x.EvadedCause |= TechUnitDefenses(b&0x7F) << shift + x.Damage |= uint64(b&0x7F) << shift if b < 0x80 { break } } - case 9: + case 24: if wireType != 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field EvadedByPlanetaryDefenses", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TargetCountered", wireType) } var v int for shift := uint(0); ; shift += 7 { @@ -18566,12 +25488,12 @@ func (x *fastReflection_EventAttackShotDetail) ProtoMethods() *protoiface.Method break } } - x.EvadedByPlanetaryDefenses = bool(v != 0) - case 10: + x.TargetCountered = bool(v != 0) + case 25: if wireType != 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field EvadedByPlanetaryDefensesCause", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TargetCounteredDamage", wireType) } - x.EvadedByPlanetaryDefensesCause = 0 + x.TargetCounteredDamage = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -18581,14 +25503,14 @@ func (x *fastReflection_EventAttackShotDetail) ProtoMethods() *protoiface.Method } b := dAtA[iNdEx] iNdEx++ - x.EvadedByPlanetaryDefensesCause |= TechPlanetaryDefenses(b&0x7F) << shift + x.TargetCounteredDamage |= uint64(b&0x7F) << shift if b < 0x80 { break } } - case 11: + case 26: if wireType != 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Blocked", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TargetCounterDestroyedAttacker", wireType) } var v int for shift := uint(0); ; shift += 7 { @@ -18605,12 +25527,12 @@ func (x *fastReflection_EventAttackShotDetail) ProtoMethods() *protoiface.Method break } } - x.Blocked = bool(v != 0) - case 12: - if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field BlockedByStructId", wireType) + x.TargetCounterDestroyedAttacker = bool(v != 0) + case 27: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TargetCounterCause", wireType) } - var stringLen uint64 + x.TargetCounterCause = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -18620,29 +25542,16 @@ func (x *fastReflection_EventAttackShotDetail) ProtoMethods() *protoiface.Method } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + x.TargetCounterCause |= TechPassiveWeaponry(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.BlockedByStructId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 13: + case 28: if wireType != 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field BlockedByStructType", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TargetDestroyed", wireType) } - x.BlockedByStructType = 0 + var v int for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -18652,16 +25561,17 @@ func (x *fastReflection_EventAttackShotDetail) ProtoMethods() *protoiface.Method } b := dAtA[iNdEx] iNdEx++ - x.BlockedByStructType |= uint64(b&0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } } - case 14: + x.TargetDestroyed = bool(v != 0) + case 29: if wireType != 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field BlockedByStructLocationType", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field PostDestructionDamageToAttacker", wireType) } - x.BlockedByStructLocationType = 0 + var v int for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -18671,16 +25581,17 @@ func (x *fastReflection_EventAttackShotDetail) ProtoMethods() *protoiface.Method } b := dAtA[iNdEx] iNdEx++ - x.BlockedByStructLocationType |= ObjectType(b&0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } } - case 15: - if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field BlockedByStructLocationId", wireType) + x.PostDestructionDamageToAttacker = bool(v != 0) + case 30: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field PostDestructionDamage", wireType) } - var stringLen uint64 + x.PostDestructionDamage = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -18690,29 +25601,16 @@ func (x *fastReflection_EventAttackShotDetail) ProtoMethods() *protoiface.Method } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + x.PostDestructionDamage |= 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.BlockedByStructLocationId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 16: + case 31: if wireType != 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field BlockedByStructOperatingAmbit", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field PostDestructionDamageDestroyedAttacker", wireType) } - x.BlockedByStructOperatingAmbit = 0 + var v int for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -18722,16 +25620,17 @@ func (x *fastReflection_EventAttackShotDetail) ProtoMethods() *protoiface.Method } b := dAtA[iNdEx] iNdEx++ - x.BlockedByStructOperatingAmbit |= Ambit(b&0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } } - case 17: + x.PostDestructionDamageDestroyedAttacker = bool(v != 0) + case 32: if wireType != 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field BlockedByStructSlot", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field PostDestructionDamageCause", wireType) } - x.BlockedByStructSlot = 0 + x.PostDestructionDamageCause = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -18741,36 +25640,615 @@ func (x *fastReflection_EventAttackShotDetail) ProtoMethods() *protoiface.Method } b := dAtA[iNdEx] iNdEx++ - x.BlockedByStructSlot |= uint64(b&0x7F) << shift + x.PostDestructionDamageCause |= TechPassiveWeaponry(b&0x7F) << shift if b < 0x80 { break } } - case 18: - if wireType != 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field BlockerDestroyed", wireType) + 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_EventAttackDefenderCounterDetail protoreflect.MessageDescriptor + fd_EventAttackDefenderCounterDetail_counterByStructId protoreflect.FieldDescriptor + fd_EventAttackDefenderCounterDetail_counterByStructType protoreflect.FieldDescriptor + fd_EventAttackDefenderCounterDetail_counterByStructLocationType protoreflect.FieldDescriptor + fd_EventAttackDefenderCounterDetail_counterByStructLocationId protoreflect.FieldDescriptor + fd_EventAttackDefenderCounterDetail_counterByStructOperatingAmbit protoreflect.FieldDescriptor + fd_EventAttackDefenderCounterDetail_counterByStructSlot protoreflect.FieldDescriptor + fd_EventAttackDefenderCounterDetail_counterDamage protoreflect.FieldDescriptor + fd_EventAttackDefenderCounterDetail_counterDestroyedAttacker protoreflect.FieldDescriptor +) + +func init() { + file_structs_structs_events_proto_init() + md_EventAttackDefenderCounterDetail = File_structs_structs_events_proto.Messages().ByName("EventAttackDefenderCounterDetail") + fd_EventAttackDefenderCounterDetail_counterByStructId = md_EventAttackDefenderCounterDetail.Fields().ByName("counterByStructId") + fd_EventAttackDefenderCounterDetail_counterByStructType = md_EventAttackDefenderCounterDetail.Fields().ByName("counterByStructType") + fd_EventAttackDefenderCounterDetail_counterByStructLocationType = md_EventAttackDefenderCounterDetail.Fields().ByName("counterByStructLocationType") + fd_EventAttackDefenderCounterDetail_counterByStructLocationId = md_EventAttackDefenderCounterDetail.Fields().ByName("counterByStructLocationId") + fd_EventAttackDefenderCounterDetail_counterByStructOperatingAmbit = md_EventAttackDefenderCounterDetail.Fields().ByName("counterByStructOperatingAmbit") + fd_EventAttackDefenderCounterDetail_counterByStructSlot = md_EventAttackDefenderCounterDetail.Fields().ByName("counterByStructSlot") + fd_EventAttackDefenderCounterDetail_counterDamage = md_EventAttackDefenderCounterDetail.Fields().ByName("counterDamage") + fd_EventAttackDefenderCounterDetail_counterDestroyedAttacker = md_EventAttackDefenderCounterDetail.Fields().ByName("counterDestroyedAttacker") +} + +var _ protoreflect.Message = (*fastReflection_EventAttackDefenderCounterDetail)(nil) + +type fastReflection_EventAttackDefenderCounterDetail EventAttackDefenderCounterDetail + +func (x *EventAttackDefenderCounterDetail) ProtoReflect() protoreflect.Message { + return (*fastReflection_EventAttackDefenderCounterDetail)(x) +} + +func (x *EventAttackDefenderCounterDetail) slowProtoReflect() protoreflect.Message { + mi := &file_structs_structs_events_proto_msgTypes[50] + 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_EventAttackDefenderCounterDetail_messageType fastReflection_EventAttackDefenderCounterDetail_messageType +var _ protoreflect.MessageType = fastReflection_EventAttackDefenderCounterDetail_messageType{} + +type fastReflection_EventAttackDefenderCounterDetail_messageType struct{} + +func (x fastReflection_EventAttackDefenderCounterDetail_messageType) Zero() protoreflect.Message { + return (*fastReflection_EventAttackDefenderCounterDetail)(nil) +} +func (x fastReflection_EventAttackDefenderCounterDetail_messageType) New() protoreflect.Message { + return new(fastReflection_EventAttackDefenderCounterDetail) +} +func (x fastReflection_EventAttackDefenderCounterDetail_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_EventAttackDefenderCounterDetail +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_EventAttackDefenderCounterDetail) Descriptor() protoreflect.MessageDescriptor { + return md_EventAttackDefenderCounterDetail +} + +// 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_EventAttackDefenderCounterDetail) Type() protoreflect.MessageType { + return _fastReflection_EventAttackDefenderCounterDetail_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_EventAttackDefenderCounterDetail) New() protoreflect.Message { + return new(fastReflection_EventAttackDefenderCounterDetail) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_EventAttackDefenderCounterDetail) Interface() protoreflect.ProtoMessage { + return (*EventAttackDefenderCounterDetail)(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_EventAttackDefenderCounterDetail) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.CounterByStructId != "" { + value := protoreflect.ValueOfString(x.CounterByStructId) + if !f(fd_EventAttackDefenderCounterDetail_counterByStructId, value) { + return + } + } + if x.CounterByStructType != uint64(0) { + value := protoreflect.ValueOfUint64(x.CounterByStructType) + if !f(fd_EventAttackDefenderCounterDetail_counterByStructType, value) { + return + } + } + if x.CounterByStructLocationType != 0 { + value := protoreflect.ValueOfEnum((protoreflect.EnumNumber)(x.CounterByStructLocationType)) + if !f(fd_EventAttackDefenderCounterDetail_counterByStructLocationType, value) { + return + } + } + if x.CounterByStructLocationId != "" { + value := protoreflect.ValueOfString(x.CounterByStructLocationId) + if !f(fd_EventAttackDefenderCounterDetail_counterByStructLocationId, value) { + return + } + } + if x.CounterByStructOperatingAmbit != 0 { + value := protoreflect.ValueOfEnum((protoreflect.EnumNumber)(x.CounterByStructOperatingAmbit)) + if !f(fd_EventAttackDefenderCounterDetail_counterByStructOperatingAmbit, value) { + return + } + } + if x.CounterByStructSlot != uint64(0) { + value := protoreflect.ValueOfUint64(x.CounterByStructSlot) + if !f(fd_EventAttackDefenderCounterDetail_counterByStructSlot, value) { + return + } + } + if x.CounterDamage != uint64(0) { + value := protoreflect.ValueOfUint64(x.CounterDamage) + if !f(fd_EventAttackDefenderCounterDetail_counterDamage, value) { + return + } + } + if x.CounterDestroyedAttacker != false { + value := protoreflect.ValueOfBool(x.CounterDestroyedAttacker) + if !f(fd_EventAttackDefenderCounterDetail_counterDestroyedAttacker, 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_EventAttackDefenderCounterDetail) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "structs.structs.EventAttackDefenderCounterDetail.counterByStructId": + return x.CounterByStructId != "" + case "structs.structs.EventAttackDefenderCounterDetail.counterByStructType": + return x.CounterByStructType != uint64(0) + case "structs.structs.EventAttackDefenderCounterDetail.counterByStructLocationType": + return x.CounterByStructLocationType != 0 + case "structs.structs.EventAttackDefenderCounterDetail.counterByStructLocationId": + return x.CounterByStructLocationId != "" + case "structs.structs.EventAttackDefenderCounterDetail.counterByStructOperatingAmbit": + return x.CounterByStructOperatingAmbit != 0 + case "structs.structs.EventAttackDefenderCounterDetail.counterByStructSlot": + return x.CounterByStructSlot != uint64(0) + case "structs.structs.EventAttackDefenderCounterDetail.counterDamage": + return x.CounterDamage != uint64(0) + case "structs.structs.EventAttackDefenderCounterDetail.counterDestroyedAttacker": + return x.CounterDestroyedAttacker != false + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAttackDefenderCounterDetail")) + } + panic(fmt.Errorf("message structs.structs.EventAttackDefenderCounterDetail 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_EventAttackDefenderCounterDetail) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "structs.structs.EventAttackDefenderCounterDetail.counterByStructId": + x.CounterByStructId = "" + case "structs.structs.EventAttackDefenderCounterDetail.counterByStructType": + x.CounterByStructType = uint64(0) + case "structs.structs.EventAttackDefenderCounterDetail.counterByStructLocationType": + x.CounterByStructLocationType = 0 + case "structs.structs.EventAttackDefenderCounterDetail.counterByStructLocationId": + x.CounterByStructLocationId = "" + case "structs.structs.EventAttackDefenderCounterDetail.counterByStructOperatingAmbit": + x.CounterByStructOperatingAmbit = 0 + case "structs.structs.EventAttackDefenderCounterDetail.counterByStructSlot": + x.CounterByStructSlot = uint64(0) + case "structs.structs.EventAttackDefenderCounterDetail.counterDamage": + x.CounterDamage = uint64(0) + case "structs.structs.EventAttackDefenderCounterDetail.counterDestroyedAttacker": + x.CounterDestroyedAttacker = false + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAttackDefenderCounterDetail")) + } + panic(fmt.Errorf("message structs.structs.EventAttackDefenderCounterDetail 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_EventAttackDefenderCounterDetail) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "structs.structs.EventAttackDefenderCounterDetail.counterByStructId": + value := x.CounterByStructId + return protoreflect.ValueOfString(value) + case "structs.structs.EventAttackDefenderCounterDetail.counterByStructType": + value := x.CounterByStructType + return protoreflect.ValueOfUint64(value) + case "structs.structs.EventAttackDefenderCounterDetail.counterByStructLocationType": + value := x.CounterByStructLocationType + return protoreflect.ValueOfEnum((protoreflect.EnumNumber)(value)) + case "structs.structs.EventAttackDefenderCounterDetail.counterByStructLocationId": + value := x.CounterByStructLocationId + return protoreflect.ValueOfString(value) + case "structs.structs.EventAttackDefenderCounterDetail.counterByStructOperatingAmbit": + value := x.CounterByStructOperatingAmbit + return protoreflect.ValueOfEnum((protoreflect.EnumNumber)(value)) + case "structs.structs.EventAttackDefenderCounterDetail.counterByStructSlot": + value := x.CounterByStructSlot + return protoreflect.ValueOfUint64(value) + case "structs.structs.EventAttackDefenderCounterDetail.counterDamage": + value := x.CounterDamage + return protoreflect.ValueOfUint64(value) + case "structs.structs.EventAttackDefenderCounterDetail.counterDestroyedAttacker": + value := x.CounterDestroyedAttacker + return protoreflect.ValueOfBool(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAttackDefenderCounterDetail")) + } + panic(fmt.Errorf("message structs.structs.EventAttackDefenderCounterDetail 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_EventAttackDefenderCounterDetail) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "structs.structs.EventAttackDefenderCounterDetail.counterByStructId": + x.CounterByStructId = value.Interface().(string) + case "structs.structs.EventAttackDefenderCounterDetail.counterByStructType": + x.CounterByStructType = value.Uint() + case "structs.structs.EventAttackDefenderCounterDetail.counterByStructLocationType": + x.CounterByStructLocationType = (ObjectType)(value.Enum()) + case "structs.structs.EventAttackDefenderCounterDetail.counterByStructLocationId": + x.CounterByStructLocationId = value.Interface().(string) + case "structs.structs.EventAttackDefenderCounterDetail.counterByStructOperatingAmbit": + x.CounterByStructOperatingAmbit = (Ambit)(value.Enum()) + case "structs.structs.EventAttackDefenderCounterDetail.counterByStructSlot": + x.CounterByStructSlot = value.Uint() + case "structs.structs.EventAttackDefenderCounterDetail.counterDamage": + x.CounterDamage = value.Uint() + case "structs.structs.EventAttackDefenderCounterDetail.counterDestroyedAttacker": + x.CounterDestroyedAttacker = value.Bool() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAttackDefenderCounterDetail")) + } + panic(fmt.Errorf("message structs.structs.EventAttackDefenderCounterDetail 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_EventAttackDefenderCounterDetail) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.EventAttackDefenderCounterDetail.counterByStructId": + panic(fmt.Errorf("field counterByStructId of message structs.structs.EventAttackDefenderCounterDetail is not mutable")) + case "structs.structs.EventAttackDefenderCounterDetail.counterByStructType": + panic(fmt.Errorf("field counterByStructType of message structs.structs.EventAttackDefenderCounterDetail is not mutable")) + case "structs.structs.EventAttackDefenderCounterDetail.counterByStructLocationType": + panic(fmt.Errorf("field counterByStructLocationType of message structs.structs.EventAttackDefenderCounterDetail is not mutable")) + case "structs.structs.EventAttackDefenderCounterDetail.counterByStructLocationId": + panic(fmt.Errorf("field counterByStructLocationId of message structs.structs.EventAttackDefenderCounterDetail is not mutable")) + case "structs.structs.EventAttackDefenderCounterDetail.counterByStructOperatingAmbit": + panic(fmt.Errorf("field counterByStructOperatingAmbit of message structs.structs.EventAttackDefenderCounterDetail is not mutable")) + case "structs.structs.EventAttackDefenderCounterDetail.counterByStructSlot": + panic(fmt.Errorf("field counterByStructSlot of message structs.structs.EventAttackDefenderCounterDetail is not mutable")) + case "structs.structs.EventAttackDefenderCounterDetail.counterDamage": + panic(fmt.Errorf("field counterDamage of message structs.structs.EventAttackDefenderCounterDetail is not mutable")) + case "structs.structs.EventAttackDefenderCounterDetail.counterDestroyedAttacker": + panic(fmt.Errorf("field counterDestroyedAttacker of message structs.structs.EventAttackDefenderCounterDetail is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAttackDefenderCounterDetail")) + } + panic(fmt.Errorf("message structs.structs.EventAttackDefenderCounterDetail 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_EventAttackDefenderCounterDetail) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.EventAttackDefenderCounterDetail.counterByStructId": + return protoreflect.ValueOfString("") + case "structs.structs.EventAttackDefenderCounterDetail.counterByStructType": + return protoreflect.ValueOfUint64(uint64(0)) + case "structs.structs.EventAttackDefenderCounterDetail.counterByStructLocationType": + return protoreflect.ValueOfEnum(0) + case "structs.structs.EventAttackDefenderCounterDetail.counterByStructLocationId": + return protoreflect.ValueOfString("") + case "structs.structs.EventAttackDefenderCounterDetail.counterByStructOperatingAmbit": + return protoreflect.ValueOfEnum(0) + case "structs.structs.EventAttackDefenderCounterDetail.counterByStructSlot": + return protoreflect.ValueOfUint64(uint64(0)) + case "structs.structs.EventAttackDefenderCounterDetail.counterDamage": + return protoreflect.ValueOfUint64(uint64(0)) + case "structs.structs.EventAttackDefenderCounterDetail.counterDestroyedAttacker": + return protoreflect.ValueOfBool(false) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAttackDefenderCounterDetail")) + } + panic(fmt.Errorf("message structs.structs.EventAttackDefenderCounterDetail 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_EventAttackDefenderCounterDetail) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in structs.structs.EventAttackDefenderCounterDetail", 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_EventAttackDefenderCounterDetail) 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_EventAttackDefenderCounterDetail) 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_EventAttackDefenderCounterDetail) 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_EventAttackDefenderCounterDetail) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*EventAttackDefenderCounterDetail) + 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.CounterByStructId) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.CounterByStructType != 0 { + n += 1 + runtime.Sov(uint64(x.CounterByStructType)) + } + if x.CounterByStructLocationType != 0 { + n += 1 + runtime.Sov(uint64(x.CounterByStructLocationType)) + } + l = len(x.CounterByStructLocationId) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.CounterByStructOperatingAmbit != 0 { + n += 1 + runtime.Sov(uint64(x.CounterByStructOperatingAmbit)) + } + if x.CounterByStructSlot != 0 { + n += 1 + runtime.Sov(uint64(x.CounterByStructSlot)) + } + if x.CounterDamage != 0 { + n += 1 + runtime.Sov(uint64(x.CounterDamage)) + } + if x.CounterDestroyedAttacker { + n += 2 + } + 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().(*EventAttackDefenderCounterDetail) + 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.CounterDestroyedAttacker { + i-- + if x.CounterDestroyedAttacker { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x40 + } + if x.CounterDamage != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.CounterDamage)) + i-- + dAtA[i] = 0x38 + } + if x.CounterByStructSlot != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.CounterByStructSlot)) + i-- + dAtA[i] = 0x30 + } + if x.CounterByStructOperatingAmbit != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.CounterByStructOperatingAmbit)) + i-- + dAtA[i] = 0x28 + } + if len(x.CounterByStructLocationId) > 0 { + i -= len(x.CounterByStructLocationId) + copy(dAtA[i:], x.CounterByStructLocationId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.CounterByStructLocationId))) + i-- + dAtA[i] = 0x22 + } + if x.CounterByStructLocationType != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.CounterByStructLocationType)) + i-- + dAtA[i] = 0x18 + } + if x.CounterByStructType != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.CounterByStructType)) + i-- + dAtA[i] = 0x10 + } + if len(x.CounterByStructId) > 0 { + i -= len(x.CounterByStructId) + copy(dAtA[i:], x.CounterByStructId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.CounterByStructId))) + 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().(*EventAttackDefenderCounterDetail) + 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 } - var v 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++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break } - x.BlockerDestroyed = bool(v != 0) - case 19: + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventAttackDefenderCounterDetail: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventAttackDefenderCounterDetail: 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 EventAttackDefenderCounterDetail", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field CounterByStructId", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -18780,107 +26258,29 @@ func (x *fastReflection_EventAttackShotDetail) ProtoMethods() *protoiface.Method } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength } - postIndex := iNdEx + msglen + 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.EventAttackDefenderCounterDetail = append(x.EventAttackDefenderCounterDetail, &EventAttackDefenderCounterDetail{}) - if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.EventAttackDefenderCounterDetail[len(x.EventAttackDefenderCounterDetail)-1]); err != nil { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err - } + x.CounterByStructId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 20: - if wireType != 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field DamageDealt", wireType) - } - x.DamageDealt = 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.DamageDealt |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 21: - if wireType != 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field DamageReduction", wireType) - } - x.DamageReduction = 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.DamageReduction |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 22: - if wireType != 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field DamageReductionCause", wireType) - } - x.DamageReductionCause = 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.DamageReductionCause |= TechUnitDefenses(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 23: - if wireType != 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Damage", wireType) - } - x.Damage = 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.Damage |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 24: + case 2: if wireType != 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TargetCountered", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field CounterByStructType", wireType) } - var v int + x.CounterByStructType = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -18890,17 +26290,16 @@ func (x *fastReflection_EventAttackShotDetail) ProtoMethods() *protoiface.Method } b := dAtA[iNdEx] iNdEx++ - v |= int(b&0x7F) << shift + x.CounterByStructType |= uint64(b&0x7F) << shift if b < 0x80 { break } } - x.TargetCountered = bool(v != 0) - case 25: + case 3: if wireType != 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TargetCounteredDamage", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field CounterByStructLocationType", wireType) } - x.TargetCounteredDamage = 0 + x.CounterByStructLocationType = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -18910,16 +26309,16 @@ func (x *fastReflection_EventAttackShotDetail) ProtoMethods() *protoiface.Method } b := dAtA[iNdEx] iNdEx++ - x.TargetCounteredDamage |= uint64(b&0x7F) << shift + x.CounterByStructLocationType |= ObjectType(b&0x7F) << shift if b < 0x80 { break } } - case 26: - if wireType != 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TargetCounterDestroyedAttacker", wireType) + case 4: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field CounterByStructLocationId", wireType) } - var v int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -18929,56 +26328,29 @@ func (x *fastReflection_EventAttackShotDetail) ProtoMethods() *protoiface.Method } b := dAtA[iNdEx] iNdEx++ - v |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - x.TargetCounterDestroyedAttacker = bool(v != 0) - case 27: - if wireType != 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TargetCounterCause", wireType) - } - x.TargetCounterCause = 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.TargetCounterCause |= TechPassiveWeaponry(b&0x7F) << shift - if b < 0x80 { - break - } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength } - case 28: - if wireType != 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TargetDestroyed", wireType) + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength } - var v 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++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - x.TargetDestroyed = bool(v != 0) - case 29: + x.CounterByStructLocationId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 5: if wireType != 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field PostDestructionDamageToAttacker", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field CounterByStructOperatingAmbit", wireType) } - var v int + x.CounterByStructOperatingAmbit = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -18988,17 +26360,16 @@ func (x *fastReflection_EventAttackShotDetail) ProtoMethods() *protoiface.Method } b := dAtA[iNdEx] iNdEx++ - v |= int(b&0x7F) << shift + x.CounterByStructOperatingAmbit |= Ambit(b&0x7F) << shift if b < 0x80 { break } } - x.PostDestructionDamageToAttacker = bool(v != 0) - case 30: + case 6: if wireType != 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field PostDestructionDamage", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field CounterByStructSlot", wireType) } - x.PostDestructionDamage = 0 + x.CounterByStructSlot = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -19008,16 +26379,16 @@ func (x *fastReflection_EventAttackShotDetail) ProtoMethods() *protoiface.Method } b := dAtA[iNdEx] iNdEx++ - x.PostDestructionDamage |= uint64(b&0x7F) << shift + x.CounterByStructSlot |= uint64(b&0x7F) << shift if b < 0x80 { break } } - case 31: + case 7: if wireType != 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field PostDestructionDamageDestroyedAttacker", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field CounterDamage", wireType) } - var v int + x.CounterDamage = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -19027,17 +26398,16 @@ func (x *fastReflection_EventAttackShotDetail) ProtoMethods() *protoiface.Method } b := dAtA[iNdEx] iNdEx++ - v |= int(b&0x7F) << shift + x.CounterDamage |= uint64(b&0x7F) << shift if b < 0x80 { break } } - x.PostDestructionDamageDestroyedAttacker = bool(v != 0) - case 32: + case 8: if wireType != 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field PostDestructionDamageCause", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field CounterDestroyedAttacker", wireType) } - x.PostDestructionDamageCause = 0 + var v int for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -19047,11 +26417,12 @@ func (x *fastReflection_EventAttackShotDetail) ProtoMethods() *protoiface.Method } b := dAtA[iNdEx] iNdEx++ - x.PostDestructionDamageCause |= TechPassiveWeaponry(b&0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } } + x.CounterDestroyedAttacker = bool(v != 0) default: iNdEx = preIndex skippy, err := runtime.Skip(dAtA[iNdEx:]) @@ -19088,40 +26459,26 @@ func (x *fastReflection_EventAttackShotDetail) ProtoMethods() *protoiface.Method } var ( - md_EventAttackDefenderCounterDetail protoreflect.MessageDescriptor - fd_EventAttackDefenderCounterDetail_counterByStructId protoreflect.FieldDescriptor - fd_EventAttackDefenderCounterDetail_counterByStructType protoreflect.FieldDescriptor - fd_EventAttackDefenderCounterDetail_counterByStructLocationType protoreflect.FieldDescriptor - fd_EventAttackDefenderCounterDetail_counterByStructLocationId protoreflect.FieldDescriptor - fd_EventAttackDefenderCounterDetail_counterByStructOperatingAmbit protoreflect.FieldDescriptor - fd_EventAttackDefenderCounterDetail_counterByStructSlot protoreflect.FieldDescriptor - fd_EventAttackDefenderCounterDetail_counterDamage protoreflect.FieldDescriptor - fd_EventAttackDefenderCounterDetail_counterDestroyedAttacker protoreflect.FieldDescriptor + md_EventRaid protoreflect.MessageDescriptor + fd_EventRaid_eventRaidDetail protoreflect.FieldDescriptor ) func init() { file_structs_structs_events_proto_init() - md_EventAttackDefenderCounterDetail = File_structs_structs_events_proto.Messages().ByName("EventAttackDefenderCounterDetail") - fd_EventAttackDefenderCounterDetail_counterByStructId = md_EventAttackDefenderCounterDetail.Fields().ByName("counterByStructId") - fd_EventAttackDefenderCounterDetail_counterByStructType = md_EventAttackDefenderCounterDetail.Fields().ByName("counterByStructType") - fd_EventAttackDefenderCounterDetail_counterByStructLocationType = md_EventAttackDefenderCounterDetail.Fields().ByName("counterByStructLocationType") - fd_EventAttackDefenderCounterDetail_counterByStructLocationId = md_EventAttackDefenderCounterDetail.Fields().ByName("counterByStructLocationId") - fd_EventAttackDefenderCounterDetail_counterByStructOperatingAmbit = md_EventAttackDefenderCounterDetail.Fields().ByName("counterByStructOperatingAmbit") - fd_EventAttackDefenderCounterDetail_counterByStructSlot = md_EventAttackDefenderCounterDetail.Fields().ByName("counterByStructSlot") - fd_EventAttackDefenderCounterDetail_counterDamage = md_EventAttackDefenderCounterDetail.Fields().ByName("counterDamage") - fd_EventAttackDefenderCounterDetail_counterDestroyedAttacker = md_EventAttackDefenderCounterDetail.Fields().ByName("counterDestroyedAttacker") + md_EventRaid = File_structs_structs_events_proto.Messages().ByName("EventRaid") + fd_EventRaid_eventRaidDetail = md_EventRaid.Fields().ByName("eventRaidDetail") } -var _ protoreflect.Message = (*fastReflection_EventAttackDefenderCounterDetail)(nil) +var _ protoreflect.Message = (*fastReflection_EventRaid)(nil) -type fastReflection_EventAttackDefenderCounterDetail EventAttackDefenderCounterDetail +type fastReflection_EventRaid EventRaid -func (x *EventAttackDefenderCounterDetail) ProtoReflect() protoreflect.Message { - return (*fastReflection_EventAttackDefenderCounterDetail)(x) +func (x *EventRaid) ProtoReflect() protoreflect.Message { + return (*fastReflection_EventRaid)(x) } -func (x *EventAttackDefenderCounterDetail) slowProtoReflect() protoreflect.Message { - mi := &file_structs_structs_events_proto_msgTypes[36] +func (x *EventRaid) slowProtoReflect() protoreflect.Message { + mi := &file_structs_structs_events_proto_msgTypes[51] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -19132,43 +26489,43 @@ func (x *EventAttackDefenderCounterDetail) slowProtoReflect() protoreflect.Messa return mi.MessageOf(x) } -var _fastReflection_EventAttackDefenderCounterDetail_messageType fastReflection_EventAttackDefenderCounterDetail_messageType -var _ protoreflect.MessageType = fastReflection_EventAttackDefenderCounterDetail_messageType{} +var _fastReflection_EventRaid_messageType fastReflection_EventRaid_messageType +var _ protoreflect.MessageType = fastReflection_EventRaid_messageType{} -type fastReflection_EventAttackDefenderCounterDetail_messageType struct{} +type fastReflection_EventRaid_messageType struct{} -func (x fastReflection_EventAttackDefenderCounterDetail_messageType) Zero() protoreflect.Message { - return (*fastReflection_EventAttackDefenderCounterDetail)(nil) +func (x fastReflection_EventRaid_messageType) Zero() protoreflect.Message { + return (*fastReflection_EventRaid)(nil) } -func (x fastReflection_EventAttackDefenderCounterDetail_messageType) New() protoreflect.Message { - return new(fastReflection_EventAttackDefenderCounterDetail) +func (x fastReflection_EventRaid_messageType) New() protoreflect.Message { + return new(fastReflection_EventRaid) } -func (x fastReflection_EventAttackDefenderCounterDetail_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_EventAttackDefenderCounterDetail +func (x fastReflection_EventRaid_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_EventRaid } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_EventAttackDefenderCounterDetail) Descriptor() protoreflect.MessageDescriptor { - return md_EventAttackDefenderCounterDetail +func (x *fastReflection_EventRaid) Descriptor() protoreflect.MessageDescriptor { + return md_EventRaid } // 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_EventAttackDefenderCounterDetail) Type() protoreflect.MessageType { - return _fastReflection_EventAttackDefenderCounterDetail_messageType +func (x *fastReflection_EventRaid) Type() protoreflect.MessageType { + return _fastReflection_EventRaid_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_EventAttackDefenderCounterDetail) New() protoreflect.Message { - return new(fastReflection_EventAttackDefenderCounterDetail) +func (x *fastReflection_EventRaid) New() protoreflect.Message { + return new(fastReflection_EventRaid) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_EventAttackDefenderCounterDetail) Interface() protoreflect.ProtoMessage { - return (*EventAttackDefenderCounterDetail)(x) +func (x *fastReflection_EventRaid) Interface() protoreflect.ProtoMessage { + return (*EventRaid)(x) } // Range iterates over every populated field in an undefined order, @@ -19176,52 +26533,10 @@ func (x *fastReflection_EventAttackDefenderCounterDetail) Interface() protorefle // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_EventAttackDefenderCounterDetail) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.CounterByStructId != "" { - value := protoreflect.ValueOfString(x.CounterByStructId) - if !f(fd_EventAttackDefenderCounterDetail_counterByStructId, value) { - return - } - } - if x.CounterByStructType != uint64(0) { - value := protoreflect.ValueOfUint64(x.CounterByStructType) - if !f(fd_EventAttackDefenderCounterDetail_counterByStructType, value) { - return - } - } - if x.CounterByStructLocationType != 0 { - value := protoreflect.ValueOfEnum((protoreflect.EnumNumber)(x.CounterByStructLocationType)) - if !f(fd_EventAttackDefenderCounterDetail_counterByStructLocationType, value) { - return - } - } - if x.CounterByStructLocationId != "" { - value := protoreflect.ValueOfString(x.CounterByStructLocationId) - if !f(fd_EventAttackDefenderCounterDetail_counterByStructLocationId, value) { - return - } - } - if x.CounterByStructOperatingAmbit != 0 { - value := protoreflect.ValueOfEnum((protoreflect.EnumNumber)(x.CounterByStructOperatingAmbit)) - if !f(fd_EventAttackDefenderCounterDetail_counterByStructOperatingAmbit, value) { - return - } - } - if x.CounterByStructSlot != uint64(0) { - value := protoreflect.ValueOfUint64(x.CounterByStructSlot) - if !f(fd_EventAttackDefenderCounterDetail_counterByStructSlot, value) { - return - } - } - if x.CounterDamage != uint64(0) { - value := protoreflect.ValueOfUint64(x.CounterDamage) - if !f(fd_EventAttackDefenderCounterDetail_counterDamage, value) { - return - } - } - if x.CounterDestroyedAttacker != false { - value := protoreflect.ValueOfBool(x.CounterDestroyedAttacker) - if !f(fd_EventAttackDefenderCounterDetail_counterDestroyedAttacker, value) { +func (x *fastReflection_EventRaid) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.EventRaidDetail != nil { + value := protoreflect.ValueOfMessage(x.EventRaidDetail.ProtoReflect()) + if !f(fd_EventRaid_eventRaidDetail, value) { return } } @@ -19238,29 +26553,15 @@ func (x *fastReflection_EventAttackDefenderCounterDetail) Range(f func(protorefl // 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_EventAttackDefenderCounterDetail) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_EventRaid) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.EventAttackDefenderCounterDetail.counterByStructId": - return x.CounterByStructId != "" - case "structs.structs.EventAttackDefenderCounterDetail.counterByStructType": - return x.CounterByStructType != uint64(0) - case "structs.structs.EventAttackDefenderCounterDetail.counterByStructLocationType": - return x.CounterByStructLocationType != 0 - case "structs.structs.EventAttackDefenderCounterDetail.counterByStructLocationId": - return x.CounterByStructLocationId != "" - case "structs.structs.EventAttackDefenderCounterDetail.counterByStructOperatingAmbit": - return x.CounterByStructOperatingAmbit != 0 - case "structs.structs.EventAttackDefenderCounterDetail.counterByStructSlot": - return x.CounterByStructSlot != uint64(0) - case "structs.structs.EventAttackDefenderCounterDetail.counterDamage": - return x.CounterDamage != uint64(0) - case "structs.structs.EventAttackDefenderCounterDetail.counterDestroyedAttacker": - return x.CounterDestroyedAttacker != false + case "structs.structs.EventRaid.eventRaidDetail": + return x.EventRaidDetail != nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAttackDefenderCounterDetail")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventRaid")) } - panic(fmt.Errorf("message structs.structs.EventAttackDefenderCounterDetail does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventRaid does not contain field %s", fd.FullName())) } } @@ -19270,29 +26571,15 @@ func (x *fastReflection_EventAttackDefenderCounterDetail) Has(fd protoreflect.Fi // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventAttackDefenderCounterDetail) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_EventRaid) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.EventAttackDefenderCounterDetail.counterByStructId": - x.CounterByStructId = "" - case "structs.structs.EventAttackDefenderCounterDetail.counterByStructType": - x.CounterByStructType = uint64(0) - case "structs.structs.EventAttackDefenderCounterDetail.counterByStructLocationType": - x.CounterByStructLocationType = 0 - case "structs.structs.EventAttackDefenderCounterDetail.counterByStructLocationId": - x.CounterByStructLocationId = "" - case "structs.structs.EventAttackDefenderCounterDetail.counterByStructOperatingAmbit": - x.CounterByStructOperatingAmbit = 0 - case "structs.structs.EventAttackDefenderCounterDetail.counterByStructSlot": - x.CounterByStructSlot = uint64(0) - case "structs.structs.EventAttackDefenderCounterDetail.counterDamage": - x.CounterDamage = uint64(0) - case "structs.structs.EventAttackDefenderCounterDetail.counterDestroyedAttacker": - x.CounterDestroyedAttacker = false + case "structs.structs.EventRaid.eventRaidDetail": + x.EventRaidDetail = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAttackDefenderCounterDetail")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventRaid")) } - panic(fmt.Errorf("message structs.structs.EventAttackDefenderCounterDetail does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventRaid does not contain field %s", fd.FullName())) } } @@ -19302,37 +26589,16 @@ func (x *fastReflection_EventAttackDefenderCounterDetail) Clear(fd protoreflect. // 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_EventAttackDefenderCounterDetail) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_EventRaid) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.EventAttackDefenderCounterDetail.counterByStructId": - value := x.CounterByStructId - return protoreflect.ValueOfString(value) - case "structs.structs.EventAttackDefenderCounterDetail.counterByStructType": - value := x.CounterByStructType - return protoreflect.ValueOfUint64(value) - case "structs.structs.EventAttackDefenderCounterDetail.counterByStructLocationType": - value := x.CounterByStructLocationType - return protoreflect.ValueOfEnum((protoreflect.EnumNumber)(value)) - case "structs.structs.EventAttackDefenderCounterDetail.counterByStructLocationId": - value := x.CounterByStructLocationId - return protoreflect.ValueOfString(value) - case "structs.structs.EventAttackDefenderCounterDetail.counterByStructOperatingAmbit": - value := x.CounterByStructOperatingAmbit - return protoreflect.ValueOfEnum((protoreflect.EnumNumber)(value)) - case "structs.structs.EventAttackDefenderCounterDetail.counterByStructSlot": - value := x.CounterByStructSlot - return protoreflect.ValueOfUint64(value) - case "structs.structs.EventAttackDefenderCounterDetail.counterDamage": - value := x.CounterDamage - return protoreflect.ValueOfUint64(value) - case "structs.structs.EventAttackDefenderCounterDetail.counterDestroyedAttacker": - value := x.CounterDestroyedAttacker - return protoreflect.ValueOfBool(value) + case "structs.structs.EventRaid.eventRaidDetail": + value := x.EventRaidDetail + return protoreflect.ValueOfMessage(value.ProtoReflect()) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAttackDefenderCounterDetail")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventRaid")) } - panic(fmt.Errorf("message structs.structs.EventAttackDefenderCounterDetail does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.EventRaid does not contain field %s", descriptor.FullName())) } } @@ -19346,29 +26612,15 @@ func (x *fastReflection_EventAttackDefenderCounterDetail) Get(descriptor protore // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventAttackDefenderCounterDetail) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_EventRaid) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.EventAttackDefenderCounterDetail.counterByStructId": - x.CounterByStructId = value.Interface().(string) - case "structs.structs.EventAttackDefenderCounterDetail.counterByStructType": - x.CounterByStructType = value.Uint() - case "structs.structs.EventAttackDefenderCounterDetail.counterByStructLocationType": - x.CounterByStructLocationType = (ObjectType)(value.Enum()) - case "structs.structs.EventAttackDefenderCounterDetail.counterByStructLocationId": - x.CounterByStructLocationId = value.Interface().(string) - case "structs.structs.EventAttackDefenderCounterDetail.counterByStructOperatingAmbit": - x.CounterByStructOperatingAmbit = (Ambit)(value.Enum()) - case "structs.structs.EventAttackDefenderCounterDetail.counterByStructSlot": - x.CounterByStructSlot = value.Uint() - case "structs.structs.EventAttackDefenderCounterDetail.counterDamage": - x.CounterDamage = value.Uint() - case "structs.structs.EventAttackDefenderCounterDetail.counterDestroyedAttacker": - x.CounterDestroyedAttacker = value.Bool() + case "structs.structs.EventRaid.eventRaidDetail": + x.EventRaidDetail = value.Message().Interface().(*EventRaidDetail) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAttackDefenderCounterDetail")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventRaid")) } - panic(fmt.Errorf("message structs.structs.EventAttackDefenderCounterDetail does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventRaid does not contain field %s", fd.FullName())) } } @@ -19382,68 +26634,44 @@ func (x *fastReflection_EventAttackDefenderCounterDetail) Set(fd protoreflect.Fi // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventAttackDefenderCounterDetail) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_EventRaid) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.EventAttackDefenderCounterDetail.counterByStructId": - panic(fmt.Errorf("field counterByStructId of message structs.structs.EventAttackDefenderCounterDetail is not mutable")) - case "structs.structs.EventAttackDefenderCounterDetail.counterByStructType": - panic(fmt.Errorf("field counterByStructType of message structs.structs.EventAttackDefenderCounterDetail is not mutable")) - case "structs.structs.EventAttackDefenderCounterDetail.counterByStructLocationType": - panic(fmt.Errorf("field counterByStructLocationType of message structs.structs.EventAttackDefenderCounterDetail is not mutable")) - case "structs.structs.EventAttackDefenderCounterDetail.counterByStructLocationId": - panic(fmt.Errorf("field counterByStructLocationId of message structs.structs.EventAttackDefenderCounterDetail is not mutable")) - case "structs.structs.EventAttackDefenderCounterDetail.counterByStructOperatingAmbit": - panic(fmt.Errorf("field counterByStructOperatingAmbit of message structs.structs.EventAttackDefenderCounterDetail is not mutable")) - case "structs.structs.EventAttackDefenderCounterDetail.counterByStructSlot": - panic(fmt.Errorf("field counterByStructSlot of message structs.structs.EventAttackDefenderCounterDetail is not mutable")) - case "structs.structs.EventAttackDefenderCounterDetail.counterDamage": - panic(fmt.Errorf("field counterDamage of message structs.structs.EventAttackDefenderCounterDetail is not mutable")) - case "structs.structs.EventAttackDefenderCounterDetail.counterDestroyedAttacker": - panic(fmt.Errorf("field counterDestroyedAttacker of message structs.structs.EventAttackDefenderCounterDetail is not mutable")) + case "structs.structs.EventRaid.eventRaidDetail": + if x.EventRaidDetail == nil { + x.EventRaidDetail = new(EventRaidDetail) + } + return protoreflect.ValueOfMessage(x.EventRaidDetail.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAttackDefenderCounterDetail")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventRaid")) } - panic(fmt.Errorf("message structs.structs.EventAttackDefenderCounterDetail does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventRaid 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_EventAttackDefenderCounterDetail) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_EventRaid) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.EventAttackDefenderCounterDetail.counterByStructId": - return protoreflect.ValueOfString("") - case "structs.structs.EventAttackDefenderCounterDetail.counterByStructType": - return protoreflect.ValueOfUint64(uint64(0)) - case "structs.structs.EventAttackDefenderCounterDetail.counterByStructLocationType": - return protoreflect.ValueOfEnum(0) - case "structs.structs.EventAttackDefenderCounterDetail.counterByStructLocationId": - return protoreflect.ValueOfString("") - case "structs.structs.EventAttackDefenderCounterDetail.counterByStructOperatingAmbit": - return protoreflect.ValueOfEnum(0) - case "structs.structs.EventAttackDefenderCounterDetail.counterByStructSlot": - return protoreflect.ValueOfUint64(uint64(0)) - case "structs.structs.EventAttackDefenderCounterDetail.counterDamage": - return protoreflect.ValueOfUint64(uint64(0)) - case "structs.structs.EventAttackDefenderCounterDetail.counterDestroyedAttacker": - return protoreflect.ValueOfBool(false) + case "structs.structs.EventRaid.eventRaidDetail": + m := new(EventRaidDetail) + return protoreflect.ValueOfMessage(m.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventAttackDefenderCounterDetail")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventRaid")) } - panic(fmt.Errorf("message structs.structs.EventAttackDefenderCounterDetail does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventRaid 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_EventAttackDefenderCounterDetail) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_EventRaid) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.EventAttackDefenderCounterDetail", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.EventRaid", d.FullName())) } panic("unreachable") } @@ -19451,7 +26679,7 @@ func (x *fastReflection_EventAttackDefenderCounterDetail) WhichOneof(d protorefl // 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_EventAttackDefenderCounterDetail) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_EventRaid) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -19462,7 +26690,7 @@ func (x *fastReflection_EventAttackDefenderCounterDetail) GetUnknown() protorefl // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventAttackDefenderCounterDetail) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_EventRaid) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -19474,7 +26702,7 @@ func (x *fastReflection_EventAttackDefenderCounterDetail) SetUnknown(fields prot // 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_EventAttackDefenderCounterDetail) IsValid() bool { +func (x *fastReflection_EventRaid) IsValid() bool { return x != nil } @@ -19484,9 +26712,9 @@ func (x *fastReflection_EventAttackDefenderCounterDetail) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_EventAttackDefenderCounterDetail) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_EventRaid) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*EventAttackDefenderCounterDetail) + x := input.Message.Interface().(*EventRaid) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -19498,32 +26726,10 @@ func (x *fastReflection_EventAttackDefenderCounterDetail) ProtoMethods() *protoi var n int var l int _ = l - l = len(x.CounterByStructId) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } - if x.CounterByStructType != 0 { - n += 1 + runtime.Sov(uint64(x.CounterByStructType)) - } - if x.CounterByStructLocationType != 0 { - n += 1 + runtime.Sov(uint64(x.CounterByStructLocationType)) - } - l = len(x.CounterByStructLocationId) - if l > 0 { + if x.EventRaidDetail != nil { + l = options.Size(x.EventRaidDetail) n += 1 + l + runtime.Sov(uint64(l)) } - if x.CounterByStructOperatingAmbit != 0 { - n += 1 + runtime.Sov(uint64(x.CounterByStructOperatingAmbit)) - } - if x.CounterByStructSlot != 0 { - n += 1 + runtime.Sov(uint64(x.CounterByStructSlot)) - } - if x.CounterDamage != 0 { - n += 1 + runtime.Sov(uint64(x.CounterDamage)) - } - if x.CounterDestroyedAttacker { - n += 2 - } if x.unknownFields != nil { n += len(x.unknownFields) } @@ -19534,7 +26740,7 @@ func (x *fastReflection_EventAttackDefenderCounterDetail) ProtoMethods() *protoi } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*EventAttackDefenderCounterDetail) + x := input.Message.Interface().(*EventRaid) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -19553,52 +26759,17 @@ func (x *fastReflection_EventAttackDefenderCounterDetail) ProtoMethods() *protoi i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if x.CounterDestroyedAttacker { - i-- - if x.CounterDestroyedAttacker { - dAtA[i] = 1 - } else { - dAtA[i] = 0 + if x.EventRaidDetail != nil { + encoded, err := options.Marshal(x.EventRaidDetail) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err } - i-- - dAtA[i] = 0x40 - } - if x.CounterDamage != 0 { - i = runtime.EncodeVarint(dAtA, i, uint64(x.CounterDamage)) - i-- - dAtA[i] = 0x38 - } - if x.CounterByStructSlot != 0 { - i = runtime.EncodeVarint(dAtA, i, uint64(x.CounterByStructSlot)) - i-- - dAtA[i] = 0x30 - } - if x.CounterByStructOperatingAmbit != 0 { - i = runtime.EncodeVarint(dAtA, i, uint64(x.CounterByStructOperatingAmbit)) - i-- - dAtA[i] = 0x28 - } - if len(x.CounterByStructLocationId) > 0 { - i -= len(x.CounterByStructLocationId) - copy(dAtA[i:], x.CounterByStructLocationId) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.CounterByStructLocationId))) - i-- - dAtA[i] = 0x22 - } - if x.CounterByStructLocationType != 0 { - i = runtime.EncodeVarint(dAtA, i, uint64(x.CounterByStructLocationType)) - i-- - dAtA[i] = 0x18 - } - if x.CounterByStructType != 0 { - i = runtime.EncodeVarint(dAtA, i, uint64(x.CounterByStructType)) - i-- - dAtA[i] = 0x10 - } - if len(x.CounterByStructId) > 0 { - i -= len(x.CounterByStructId) - copy(dAtA[i:], x.CounterByStructId) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.CounterByStructId))) + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) i-- dAtA[i] = 0xa } @@ -19613,7 +26784,7 @@ func (x *fastReflection_EventAttackDefenderCounterDetail) ProtoMethods() *protoi }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*EventAttackDefenderCounterDetail) + x := input.Message.Interface().(*EventRaid) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -19638,145 +26809,24 @@ func (x *fastReflection_EventAttackDefenderCounterDetail) ProtoMethods() *protoi 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: EventAttackDefenderCounterDetail: wiretype end group for non-group") - } - if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventAttackDefenderCounterDetail: 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 CounterByStructId", 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.CounterByStructId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field CounterByStructType", wireType) - } - x.CounterByStructType = 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.CounterByStructType |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 3: - if wireType != 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field CounterByStructLocationType", wireType) - } - x.CounterByStructLocationType = 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.CounterByStructLocationType |= ObjectType(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 4: - if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field CounterByStructLocationId", 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.CounterByStructLocationId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 5: - if wireType != 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field CounterByStructOperatingAmbit", wireType) - } - x.CounterByStructOperatingAmbit = 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.CounterByStructOperatingAmbit |= Ambit(b&0x7F) << shift - if b < 0x80 { - break - } + if b < 0x80 { + break } - case 6: - if wireType != 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field CounterByStructSlot", wireType) + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventRaid: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventRaid: 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 EventRaidDetail", wireType) } - x.CounterByStructSlot = 0 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -19786,50 +26836,28 @@ func (x *fastReflection_EventAttackDefenderCounterDetail) ProtoMethods() *protoi } b := dAtA[iNdEx] iNdEx++ - x.CounterByStructSlot |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - case 7: - if wireType != 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field CounterDamage", wireType) + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength } - x.CounterDamage = 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.CounterDamage |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength } - case 8: - if wireType != 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field CounterDestroyedAttacker", wireType) + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - var v 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++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } + if x.EventRaidDetail == nil { + x.EventRaidDetail = &EventRaidDetail{} } - x.CounterDestroyedAttacker = bool(v != 0) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.EventRaidDetail); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := runtime.Skip(dAtA[iNdEx:]) @@ -19866,26 +26894,30 @@ func (x *fastReflection_EventAttackDefenderCounterDetail) ProtoMethods() *protoi } var ( - md_EventRaid protoreflect.MessageDescriptor - fd_EventRaid_eventRaidDetail protoreflect.FieldDescriptor + md_EventRaidDetail protoreflect.MessageDescriptor + fd_EventRaidDetail_fleetId protoreflect.FieldDescriptor + fd_EventRaidDetail_planetId protoreflect.FieldDescriptor + fd_EventRaidDetail_status protoreflect.FieldDescriptor ) func init() { file_structs_structs_events_proto_init() - md_EventRaid = File_structs_structs_events_proto.Messages().ByName("EventRaid") - fd_EventRaid_eventRaidDetail = md_EventRaid.Fields().ByName("eventRaidDetail") + md_EventRaidDetail = File_structs_structs_events_proto.Messages().ByName("EventRaidDetail") + fd_EventRaidDetail_fleetId = md_EventRaidDetail.Fields().ByName("fleetId") + fd_EventRaidDetail_planetId = md_EventRaidDetail.Fields().ByName("planetId") + fd_EventRaidDetail_status = md_EventRaidDetail.Fields().ByName("status") } -var _ protoreflect.Message = (*fastReflection_EventRaid)(nil) +var _ protoreflect.Message = (*fastReflection_EventRaidDetail)(nil) -type fastReflection_EventRaid EventRaid +type fastReflection_EventRaidDetail EventRaidDetail -func (x *EventRaid) ProtoReflect() protoreflect.Message { - return (*fastReflection_EventRaid)(x) +func (x *EventRaidDetail) ProtoReflect() protoreflect.Message { + return (*fastReflection_EventRaidDetail)(x) } -func (x *EventRaid) slowProtoReflect() protoreflect.Message { - mi := &file_structs_structs_events_proto_msgTypes[37] +func (x *EventRaidDetail) slowProtoReflect() protoreflect.Message { + mi := &file_structs_structs_events_proto_msgTypes[52] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -19896,43 +26928,43 @@ func (x *EventRaid) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_EventRaid_messageType fastReflection_EventRaid_messageType -var _ protoreflect.MessageType = fastReflection_EventRaid_messageType{} +var _fastReflection_EventRaidDetail_messageType fastReflection_EventRaidDetail_messageType +var _ protoreflect.MessageType = fastReflection_EventRaidDetail_messageType{} -type fastReflection_EventRaid_messageType struct{} +type fastReflection_EventRaidDetail_messageType struct{} -func (x fastReflection_EventRaid_messageType) Zero() protoreflect.Message { - return (*fastReflection_EventRaid)(nil) +func (x fastReflection_EventRaidDetail_messageType) Zero() protoreflect.Message { + return (*fastReflection_EventRaidDetail)(nil) } -func (x fastReflection_EventRaid_messageType) New() protoreflect.Message { - return new(fastReflection_EventRaid) +func (x fastReflection_EventRaidDetail_messageType) New() protoreflect.Message { + return new(fastReflection_EventRaidDetail) } -func (x fastReflection_EventRaid_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_EventRaid +func (x fastReflection_EventRaidDetail_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_EventRaidDetail } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_EventRaid) Descriptor() protoreflect.MessageDescriptor { - return md_EventRaid +func (x *fastReflection_EventRaidDetail) Descriptor() protoreflect.MessageDescriptor { + return md_EventRaidDetail } // 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_EventRaid) Type() protoreflect.MessageType { - return _fastReflection_EventRaid_messageType +func (x *fastReflection_EventRaidDetail) Type() protoreflect.MessageType { + return _fastReflection_EventRaidDetail_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_EventRaid) New() protoreflect.Message { - return new(fastReflection_EventRaid) +func (x *fastReflection_EventRaidDetail) New() protoreflect.Message { + return new(fastReflection_EventRaidDetail) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_EventRaid) Interface() protoreflect.ProtoMessage { - return (*EventRaid)(x) +func (x *fastReflection_EventRaidDetail) Interface() protoreflect.ProtoMessage { + return (*EventRaidDetail)(x) } // Range iterates over every populated field in an undefined order, @@ -19940,10 +26972,22 @@ func (x *fastReflection_EventRaid) Interface() protoreflect.ProtoMessage { // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_EventRaid) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.EventRaidDetail != nil { - value := protoreflect.ValueOfMessage(x.EventRaidDetail.ProtoReflect()) - if !f(fd_EventRaid_eventRaidDetail, value) { +func (x *fastReflection_EventRaidDetail) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.FleetId != "" { + value := protoreflect.ValueOfString(x.FleetId) + if !f(fd_EventRaidDetail_fleetId, value) { + return + } + } + if x.PlanetId != "" { + value := protoreflect.ValueOfString(x.PlanetId) + if !f(fd_EventRaidDetail_planetId, value) { + return + } + } + if x.Status != 0 { + value := protoreflect.ValueOfEnum((protoreflect.EnumNumber)(x.Status)) + if !f(fd_EventRaidDetail_status, value) { return } } @@ -19960,15 +27004,19 @@ func (x *fastReflection_EventRaid) Range(f func(protoreflect.FieldDescriptor, pr // 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_EventRaid) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_EventRaidDetail) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.EventRaid.eventRaidDetail": - return x.EventRaidDetail != nil + case "structs.structs.EventRaidDetail.fleetId": + return x.FleetId != "" + case "structs.structs.EventRaidDetail.planetId": + return x.PlanetId != "" + case "structs.structs.EventRaidDetail.status": + return x.Status != 0 default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventRaid")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventRaidDetail")) } - panic(fmt.Errorf("message structs.structs.EventRaid does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventRaidDetail does not contain field %s", fd.FullName())) } } @@ -19978,15 +27026,19 @@ func (x *fastReflection_EventRaid) Has(fd protoreflect.FieldDescriptor) bool { // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventRaid) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_EventRaidDetail) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.EventRaid.eventRaidDetail": - x.EventRaidDetail = nil + case "structs.structs.EventRaidDetail.fleetId": + x.FleetId = "" + case "structs.structs.EventRaidDetail.planetId": + x.PlanetId = "" + case "structs.structs.EventRaidDetail.status": + x.Status = 0 default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventRaid")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventRaidDetail")) } - panic(fmt.Errorf("message structs.structs.EventRaid does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventRaidDetail does not contain field %s", fd.FullName())) } } @@ -19996,16 +27048,22 @@ func (x *fastReflection_EventRaid) Clear(fd protoreflect.FieldDescriptor) { // 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_EventRaid) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_EventRaidDetail) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.EventRaid.eventRaidDetail": - value := x.EventRaidDetail - return protoreflect.ValueOfMessage(value.ProtoReflect()) + case "structs.structs.EventRaidDetail.fleetId": + value := x.FleetId + return protoreflect.ValueOfString(value) + case "structs.structs.EventRaidDetail.planetId": + value := x.PlanetId + return protoreflect.ValueOfString(value) + case "structs.structs.EventRaidDetail.status": + value := x.Status + return protoreflect.ValueOfEnum((protoreflect.EnumNumber)(value)) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventRaid")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventRaidDetail")) } - panic(fmt.Errorf("message structs.structs.EventRaid does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.EventRaidDetail does not contain field %s", descriptor.FullName())) } } @@ -20019,15 +27077,19 @@ func (x *fastReflection_EventRaid) Get(descriptor protoreflect.FieldDescriptor) // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventRaid) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_EventRaidDetail) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.EventRaid.eventRaidDetail": - x.EventRaidDetail = value.Message().Interface().(*EventRaidDetail) + case "structs.structs.EventRaidDetail.fleetId": + x.FleetId = value.Interface().(string) + case "structs.structs.EventRaidDetail.planetId": + x.PlanetId = value.Interface().(string) + case "structs.structs.EventRaidDetail.status": + x.Status = (RaidStatus)(value.Enum()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventRaid")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventRaidDetail")) } - panic(fmt.Errorf("message structs.structs.EventRaid does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventRaidDetail does not contain field %s", fd.FullName())) } } @@ -20041,44 +27103,48 @@ func (x *fastReflection_EventRaid) Set(fd protoreflect.FieldDescriptor, value pr // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventRaid) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_EventRaidDetail) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.EventRaid.eventRaidDetail": - if x.EventRaidDetail == nil { - x.EventRaidDetail = new(EventRaidDetail) - } - return protoreflect.ValueOfMessage(x.EventRaidDetail.ProtoReflect()) + case "structs.structs.EventRaidDetail.fleetId": + panic(fmt.Errorf("field fleetId of message structs.structs.EventRaidDetail is not mutable")) + case "structs.structs.EventRaidDetail.planetId": + panic(fmt.Errorf("field planetId of message structs.structs.EventRaidDetail is not mutable")) + case "structs.structs.EventRaidDetail.status": + panic(fmt.Errorf("field status of message structs.structs.EventRaidDetail is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventRaid")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventRaidDetail")) } - panic(fmt.Errorf("message structs.structs.EventRaid does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventRaidDetail 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_EventRaid) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_EventRaidDetail) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.EventRaid.eventRaidDetail": - m := new(EventRaidDetail) - return protoreflect.ValueOfMessage(m.ProtoReflect()) + case "structs.structs.EventRaidDetail.fleetId": + return protoreflect.ValueOfString("") + case "structs.structs.EventRaidDetail.planetId": + return protoreflect.ValueOfString("") + case "structs.structs.EventRaidDetail.status": + return protoreflect.ValueOfEnum(0) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventRaid")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventRaidDetail")) } - panic(fmt.Errorf("message structs.structs.EventRaid does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.EventRaidDetail 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_EventRaid) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_EventRaidDetail) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.EventRaid", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.EventRaidDetail", d.FullName())) } panic("unreachable") } @@ -20086,7 +27152,7 @@ func (x *fastReflection_EventRaid) WhichOneof(d protoreflect.OneofDescriptor) pr // 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_EventRaid) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_EventRaidDetail) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -20097,7 +27163,7 @@ func (x *fastReflection_EventRaid) GetUnknown() protoreflect.RawFields { // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_EventRaid) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_EventRaidDetail) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -20109,7 +27175,7 @@ func (x *fastReflection_EventRaid) SetUnknown(fields protoreflect.RawFields) { // 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_EventRaid) IsValid() bool { +func (x *fastReflection_EventRaidDetail) IsValid() bool { return x != nil } @@ -20119,9 +27185,9 @@ func (x *fastReflection_EventRaid) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_EventRaid) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_EventRaidDetail) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*EventRaid) + x := input.Message.Interface().(*EventRaidDetail) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -20133,10 +27199,17 @@ func (x *fastReflection_EventRaid) ProtoMethods() *protoiface.Methods { var n int var l int _ = l - if x.EventRaidDetail != nil { - l = options.Size(x.EventRaidDetail) + l = len(x.FleetId) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.PlanetId) + if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } + if x.Status != 0 { + n += 1 + runtime.Sov(uint64(x.Status)) + } if x.unknownFields != nil { n += len(x.unknownFields) } @@ -20147,7 +27220,7 @@ func (x *fastReflection_EventRaid) ProtoMethods() *protoiface.Methods { } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*EventRaid) + x := input.Message.Interface().(*EventRaidDetail) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -20166,17 +27239,22 @@ func (x *fastReflection_EventRaid) ProtoMethods() *protoiface.Methods { i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if x.EventRaidDetail != nil { - encoded, err := options.Marshal(x.EventRaidDetail) - 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))) + if x.Status != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.Status)) + i-- + dAtA[i] = 0x18 + } + if len(x.PlanetId) > 0 { + i -= len(x.PlanetId) + copy(dAtA[i:], x.PlanetId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.PlanetId))) + i-- + dAtA[i] = 0x12 + } + if len(x.FleetId) > 0 { + i -= len(x.FleetId) + copy(dAtA[i:], x.FleetId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.FleetId))) i-- dAtA[i] = 0xa } @@ -20191,7 +27269,7 @@ func (x *fastReflection_EventRaid) ProtoMethods() *protoiface.Methods { }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*EventRaid) + x := input.Message.Interface().(*EventRaidDetail) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -20223,17 +27301,17 @@ func (x *fastReflection_EventRaid) ProtoMethods() *protoiface.Methods { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventRaid: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventRaidDetail: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventRaid: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventRaidDetail: 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 EventRaidDetail", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field FleetId", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -20243,28 +27321,75 @@ func (x *fastReflection_EventRaid) ProtoMethods() *protoiface.Methods { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength } - postIndex := iNdEx + msglen + 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 } - if x.EventRaidDetail == nil { - x.EventRaidDetail = &EventRaidDetail{} + x.FleetId = 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 PlanetId", wireType) } - if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.EventRaidDetail); err != nil { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + 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.PlanetId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex + case 3: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) + } + x.Status = 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.Status |= RaidStatus(b&0x7F) << shift + if b < 0x80 { + break + } + } default: iNdEx = preIndex skippy, err := runtime.Skip(dAtA[iNdEx:]) @@ -20284,1273 +27409,1319 @@ func (x *fastReflection_EventRaid) ProtoMethods() *protoiface.Methods { } } - if iNdEx > l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF - } - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + 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: structs/structs/events.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) +) + +type EventAllocation struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Allocation *Allocation `protobuf:"bytes,1,opt,name=allocation,proto3" json:"allocation,omitempty"` +} + +func (x *EventAllocation) Reset() { + *x = EventAllocation{} + if protoimpl.UnsafeEnabled { + mi := &file_structs_structs_events_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EventAllocation) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EventAllocation) ProtoMessage() {} + +// Deprecated: Use EventAllocation.ProtoReflect.Descriptor instead. +func (*EventAllocation) Descriptor() ([]byte, []int) { + return file_structs_structs_events_proto_rawDescGZIP(), []int{0} +} + +func (x *EventAllocation) GetAllocation() *Allocation { + if x != nil { + return x.Allocation + } + return nil +} + +type EventAgreement struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Agreement *Agreement `protobuf:"bytes,1,opt,name=agreement,proto3" json:"agreement,omitempty"` +} + +func (x *EventAgreement) Reset() { + *x = EventAgreement{} + if protoimpl.UnsafeEnabled { + mi := &file_structs_structs_events_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EventAgreement) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EventAgreement) ProtoMessage() {} + +// Deprecated: Use EventAgreement.ProtoReflect.Descriptor instead. +func (*EventAgreement) Descriptor() ([]byte, []int) { + return file_structs_structs_events_proto_rawDescGZIP(), []int{1} +} + +func (x *EventAgreement) GetAgreement() *Agreement { + if x != nil { + return x.Agreement + } + return nil +} + +type EventFleet struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Fleet *Fleet `protobuf:"bytes,1,opt,name=fleet,proto3" json:"fleet,omitempty"` +} + +func (x *EventFleet) Reset() { + *x = EventFleet{} + if protoimpl.UnsafeEnabled { + mi := &file_structs_structs_events_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EventFleet) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EventFleet) ProtoMessage() {} + +// Deprecated: Use EventFleet.ProtoReflect.Descriptor instead. +func (*EventFleet) Descriptor() ([]byte, []int) { + return file_structs_structs_events_proto_rawDescGZIP(), []int{2} +} + +func (x *EventFleet) GetFleet() *Fleet { + if x != nil { + return x.Fleet + } + return nil +} + +type EventGuild struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Guild *Guild `protobuf:"bytes,1,opt,name=guild,proto3" json:"guild,omitempty"` +} + +func (x *EventGuild) Reset() { + *x = EventGuild{} + if protoimpl.UnsafeEnabled { + mi := &file_structs_structs_events_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EventGuild) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EventGuild) ProtoMessage() {} + +// Deprecated: Use EventGuild.ProtoReflect.Descriptor instead. +func (*EventGuild) Descriptor() ([]byte, []int) { + return file_structs_structs_events_proto_rawDescGZIP(), []int{3} +} + +func (x *EventGuild) GetGuild() *Guild { + if x != nil { + return x.Guild } - return &protoiface.Methods{ - NoUnkeyedLiterals: struct{}{}, - Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, - Size: size, - Marshal: marshal, - Unmarshal: unmarshal, - Merge: nil, - CheckInitialized: nil, + return nil +} + +type EventInfusion struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Infusion *Infusion `protobuf:"bytes,1,opt,name=infusion,proto3" json:"infusion,omitempty"` +} + +func (x *EventInfusion) Reset() { + *x = EventInfusion{} + if protoimpl.UnsafeEnabled { + mi := &file_structs_structs_events_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -var ( - md_EventRaidDetail protoreflect.MessageDescriptor - fd_EventRaidDetail_fleetId protoreflect.FieldDescriptor - fd_EventRaidDetail_planetId protoreflect.FieldDescriptor - fd_EventRaidDetail_status protoreflect.FieldDescriptor -) +func (x *EventInfusion) String() string { + return protoimpl.X.MessageStringOf(x) +} -func init() { - file_structs_structs_events_proto_init() - md_EventRaidDetail = File_structs_structs_events_proto.Messages().ByName("EventRaidDetail") - fd_EventRaidDetail_fleetId = md_EventRaidDetail.Fields().ByName("fleetId") - fd_EventRaidDetail_planetId = md_EventRaidDetail.Fields().ByName("planetId") - fd_EventRaidDetail_status = md_EventRaidDetail.Fields().ByName("status") +func (*EventInfusion) ProtoMessage() {} + +// Deprecated: Use EventInfusion.ProtoReflect.Descriptor instead. +func (*EventInfusion) Descriptor() ([]byte, []int) { + return file_structs_structs_events_proto_rawDescGZIP(), []int{4} } -var _ protoreflect.Message = (*fastReflection_EventRaidDetail)(nil) +func (x *EventInfusion) GetInfusion() *Infusion { + if x != nil { + return x.Infusion + } + return nil +} -type fastReflection_EventRaidDetail EventRaidDetail +type EventPlanet struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (x *EventRaidDetail) ProtoReflect() protoreflect.Message { - return (*fastReflection_EventRaidDetail)(x) + Planet *Planet `protobuf:"bytes,1,opt,name=planet,proto3" json:"planet,omitempty"` } -func (x *EventRaidDetail) slowProtoReflect() protoreflect.Message { - mi := &file_structs_structs_events_proto_msgTypes[38] - if protoimpl.UnsafeEnabled && x != nil { +func (x *EventPlanet) Reset() { + *x = EventPlanet{} + if protoimpl.UnsafeEnabled { + mi := &file_structs_structs_events_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms + ms.StoreMessageInfo(mi) } - return mi.MessageOf(x) } -var _fastReflection_EventRaidDetail_messageType fastReflection_EventRaidDetail_messageType -var _ protoreflect.MessageType = fastReflection_EventRaidDetail_messageType{} +func (x *EventPlanet) String() string { + return protoimpl.X.MessageStringOf(x) +} -type fastReflection_EventRaidDetail_messageType struct{} +func (*EventPlanet) ProtoMessage() {} -func (x fastReflection_EventRaidDetail_messageType) Zero() protoreflect.Message { - return (*fastReflection_EventRaidDetail)(nil) +// Deprecated: Use EventPlanet.ProtoReflect.Descriptor instead. +func (*EventPlanet) Descriptor() ([]byte, []int) { + return file_structs_structs_events_proto_rawDescGZIP(), []int{5} } -func (x fastReflection_EventRaidDetail_messageType) New() protoreflect.Message { - return new(fastReflection_EventRaidDetail) + +func (x *EventPlanet) GetPlanet() *Planet { + if x != nil { + return x.Planet + } + return nil } -func (x fastReflection_EventRaidDetail_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_EventRaidDetail + +type EventPlanetAttribute struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PlanetAttributeRecord *PlanetAttributeRecord `protobuf:"bytes,1,opt,name=planetAttributeRecord,proto3" json:"planetAttributeRecord,omitempty"` } -// Descriptor returns message descriptor, which contains only the protobuf -// type information for the message. -func (x *fastReflection_EventRaidDetail) Descriptor() protoreflect.MessageDescriptor { - return md_EventRaidDetail +func (x *EventPlanetAttribute) Reset() { + *x = EventPlanetAttribute{} + if protoimpl.UnsafeEnabled { + mi := &file_structs_structs_events_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -// 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_EventRaidDetail) Type() protoreflect.MessageType { - return _fastReflection_EventRaidDetail_messageType +func (x *EventPlanetAttribute) String() string { + return protoimpl.X.MessageStringOf(x) } -// New returns a newly allocated and mutable empty message. -func (x *fastReflection_EventRaidDetail) New() protoreflect.Message { - return new(fastReflection_EventRaidDetail) +func (*EventPlanetAttribute) ProtoMessage() {} + +// Deprecated: Use EventPlanetAttribute.ProtoReflect.Descriptor instead. +func (*EventPlanetAttribute) Descriptor() ([]byte, []int) { + return file_structs_structs_events_proto_rawDescGZIP(), []int{6} } -// Interface unwraps the message reflection interface and -// returns the underlying ProtoMessage interface. -func (x *fastReflection_EventRaidDetail) Interface() protoreflect.ProtoMessage { - return (*EventRaidDetail)(x) +func (x *EventPlanetAttribute) GetPlanetAttributeRecord() *PlanetAttributeRecord { + if x != nil { + return x.PlanetAttributeRecord + } + return nil } -// 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_EventRaidDetail) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.FleetId != "" { - value := protoreflect.ValueOfString(x.FleetId) - if !f(fd_EventRaidDetail_fleetId, value) { - return - } +type EventPlayer struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Player *Player `protobuf:"bytes,1,opt,name=player,proto3" json:"player,omitempty"` +} + +func (x *EventPlayer) Reset() { + *x = EventPlayer{} + if protoimpl.UnsafeEnabled { + mi := &file_structs_structs_events_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - if x.PlanetId != "" { - value := protoreflect.ValueOfString(x.PlanetId) - if !f(fd_EventRaidDetail_planetId, value) { - return - } +} + +func (x *EventPlayer) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EventPlayer) ProtoMessage() {} + +// Deprecated: Use EventPlayer.ProtoReflect.Descriptor instead. +func (*EventPlayer) Descriptor() ([]byte, []int) { + return file_structs_structs_events_proto_rawDescGZIP(), []int{7} +} + +func (x *EventPlayer) GetPlayer() *Player { + if x != nil { + return x.Player } - if x.Status != 0 { - value := protoreflect.ValueOfEnum((protoreflect.EnumNumber)(x.Status)) - if !f(fd_EventRaidDetail_status, value) { - return - } + return nil +} + +type EventProvider struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Provider *Provider `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"` +} + +func (x *EventProvider) Reset() { + *x = EventProvider{} + if protoimpl.UnsafeEnabled { + mi := &file_structs_structs_events_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -// 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_EventRaidDetail) Has(fd protoreflect.FieldDescriptor) bool { - switch fd.FullName() { - case "structs.structs.EventRaidDetail.fleetId": - return x.FleetId != "" - case "structs.structs.EventRaidDetail.planetId": - return x.PlanetId != "" - case "structs.structs.EventRaidDetail.status": - return x.Status != 0 - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventRaidDetail")) - } - panic(fmt.Errorf("message structs.structs.EventRaidDetail does not contain field %s", fd.FullName())) +func (x *EventProvider) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EventProvider) ProtoMessage() {} + +// Deprecated: Use EventProvider.ProtoReflect.Descriptor instead. +func (*EventProvider) Descriptor() ([]byte, []int) { + return file_structs_structs_events_proto_rawDescGZIP(), []int{8} +} + +func (x *EventProvider) GetProvider() *Provider { + if x != nil { + return x.Provider + } + return nil +} + +type EventReactor struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Reactor *Reactor `protobuf:"bytes,1,opt,name=reactor,proto3" json:"reactor,omitempty"` +} + +func (x *EventReactor) Reset() { + *x = EventReactor{} + if protoimpl.UnsafeEnabled { + mi := &file_structs_structs_events_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -// 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_EventRaidDetail) Clear(fd protoreflect.FieldDescriptor) { - switch fd.FullName() { - case "structs.structs.EventRaidDetail.fleetId": - x.FleetId = "" - case "structs.structs.EventRaidDetail.planetId": - x.PlanetId = "" - case "structs.structs.EventRaidDetail.status": - x.Status = 0 - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventRaidDetail")) - } - panic(fmt.Errorf("message structs.structs.EventRaidDetail does not contain field %s", fd.FullName())) - } +func (x *EventReactor) String() string { + return protoimpl.X.MessageStringOf(x) } -// 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_EventRaidDetail) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { - switch descriptor.FullName() { - case "structs.structs.EventRaidDetail.fleetId": - value := x.FleetId - return protoreflect.ValueOfString(value) - case "structs.structs.EventRaidDetail.planetId": - value := x.PlanetId - return protoreflect.ValueOfString(value) - case "structs.structs.EventRaidDetail.status": - value := x.Status - return protoreflect.ValueOfEnum((protoreflect.EnumNumber)(value)) - default: - if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventRaidDetail")) - } - panic(fmt.Errorf("message structs.structs.EventRaidDetail does not contain field %s", descriptor.FullName())) - } +func (*EventReactor) ProtoMessage() {} + +// Deprecated: Use EventReactor.ProtoReflect.Descriptor instead. +func (*EventReactor) Descriptor() ([]byte, []int) { + return file_structs_structs_events_proto_rawDescGZIP(), []int{9} } -// 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_EventRaidDetail) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { - switch fd.FullName() { - case "structs.structs.EventRaidDetail.fleetId": - x.FleetId = value.Interface().(string) - case "structs.structs.EventRaidDetail.planetId": - x.PlanetId = value.Interface().(string) - case "structs.structs.EventRaidDetail.status": - x.Status = (RaidStatus)(value.Enum()) - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventRaidDetail")) - } - panic(fmt.Errorf("message structs.structs.EventRaidDetail does not contain field %s", fd.FullName())) +func (x *EventReactor) GetReactor() *Reactor { + if x != nil { + return x.Reactor } + return nil } -// 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_EventRaidDetail) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { - switch fd.FullName() { - case "structs.structs.EventRaidDetail.fleetId": - panic(fmt.Errorf("field fleetId of message structs.structs.EventRaidDetail is not mutable")) - case "structs.structs.EventRaidDetail.planetId": - panic(fmt.Errorf("field planetId of message structs.structs.EventRaidDetail is not mutable")) - case "structs.structs.EventRaidDetail.status": - panic(fmt.Errorf("field status of message structs.structs.EventRaidDetail is not mutable")) - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventRaidDetail")) - } - panic(fmt.Errorf("message structs.structs.EventRaidDetail does not contain field %s", fd.FullName())) +type EventStruct struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Structure *Struct `protobuf:"bytes,1,opt,name=structure,proto3" json:"structure,omitempty"` +} + +func (x *EventStruct) Reset() { + *x = EventStruct{} + if protoimpl.UnsafeEnabled { + mi := &file_structs_structs_events_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -// 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_EventRaidDetail) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { - switch fd.FullName() { - case "structs.structs.EventRaidDetail.fleetId": - return protoreflect.ValueOfString("") - case "structs.structs.EventRaidDetail.planetId": - return protoreflect.ValueOfString("") - case "structs.structs.EventRaidDetail.status": - return protoreflect.ValueOfEnum(0) - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.EventRaidDetail")) - } - panic(fmt.Errorf("message structs.structs.EventRaidDetail does not contain field %s", fd.FullName())) +func (x *EventStruct) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EventStruct) ProtoMessage() {} + +// Deprecated: Use EventStruct.ProtoReflect.Descriptor instead. +func (*EventStruct) Descriptor() ([]byte, []int) { + return file_structs_structs_events_proto_rawDescGZIP(), []int{10} +} + +func (x *EventStruct) GetStructure() *Struct { + if x != nil { + return x.Structure } + return nil } -// 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_EventRaidDetail) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { - switch d.FullName() { - default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.EventRaidDetail", d.FullName())) +type EventStructAttribute struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + StructAttributeRecord *StructAttributeRecord `protobuf:"bytes,1,opt,name=structAttributeRecord,proto3" json:"structAttributeRecord,omitempty"` +} + +func (x *EventStructAttribute) Reset() { + *x = EventStructAttribute{} + if protoimpl.UnsafeEnabled { + mi := &file_structs_structs_events_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - 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_EventRaidDetail) GetUnknown() protoreflect.RawFields { - return x.unknownFields +func (x *EventStructAttribute) String() string { + return protoimpl.X.MessageStringOf(x) } -// 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_EventRaidDetail) SetUnknown(fields protoreflect.RawFields) { - x.unknownFields = fields +func (*EventStructAttribute) ProtoMessage() {} + +// Deprecated: Use EventStructAttribute.ProtoReflect.Descriptor instead. +func (*EventStructAttribute) Descriptor() ([]byte, []int) { + return file_structs_structs_events_proto_rawDescGZIP(), []int{11} } -// 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_EventRaidDetail) IsValid() bool { - return x != nil +func (x *EventStructAttribute) GetStructAttributeRecord() *StructAttributeRecord { + if x != nil { + return x.StructAttributeRecord + } + return 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_EventRaidDetail) ProtoMethods() *protoiface.Methods { - size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*EventRaidDetail) - 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.FleetId) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } - l = len(x.PlanetId) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } - if x.Status != 0 { - n += 1 + runtime.Sov(uint64(x.Status)) - } - if x.unknownFields != nil { - n += len(x.unknownFields) - } - return protoiface.SizeOutput{ - NoUnkeyedLiterals: input.NoUnkeyedLiterals, - Size: n, - } +type EventStructDefender struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + StructDefender *StructDefender `protobuf:"bytes,1,opt,name=structDefender,proto3" json:"structDefender,omitempty"` +} + +func (x *EventStructDefender) Reset() { + *x = EventStructDefender{} + if protoimpl.UnsafeEnabled { + mi := &file_structs_structs_events_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } +} - marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*EventRaidDetail) - 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.Status != 0 { - i = runtime.EncodeVarint(dAtA, i, uint64(x.Status)) - i-- - dAtA[i] = 0x18 - } - if len(x.PlanetId) > 0 { - i -= len(x.PlanetId) - copy(dAtA[i:], x.PlanetId) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.PlanetId))) - i-- - dAtA[i] = 0x12 - } - if len(x.FleetId) > 0 { - i -= len(x.FleetId) - copy(dAtA[i:], x.FleetId) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.FleetId))) - 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 +func (x *EventStructDefender) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EventStructDefender) ProtoMessage() {} + +// Deprecated: Use EventStructDefender.ProtoReflect.Descriptor instead. +func (*EventStructDefender) Descriptor() ([]byte, []int) { + return file_structs_structs_events_proto_rawDescGZIP(), []int{12} +} + +func (x *EventStructDefender) GetStructDefender() *StructDefender { + if x != nil { + return x.StructDefender } - unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*EventRaidDetail) - 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: EventRaidDetail: wiretype end group for non-group") - } - if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: EventRaidDetail: 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 FleetId", 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.FleetId = 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 PlanetId", 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.PlanetId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) - } - x.Status = 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.Status |= RaidStatus(b&0x7F) << shift - if b < 0x80 { - break - } - } - 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 - } - } + return nil +} - if iNdEx > l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF - } - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil +type EventStructType struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + StructType *StructType `protobuf:"bytes,1,opt,name=structType,proto3" json:"structType,omitempty"` +} + +func (x *EventStructType) Reset() { + *x = EventStructType{} + if protoimpl.UnsafeEnabled { + mi := &file_structs_structs_events_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return &protoiface.Methods{ - NoUnkeyedLiterals: struct{}{}, - Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, - Size: size, - Marshal: marshal, - Unmarshal: unmarshal, - Merge: nil, - CheckInitialized: nil, +} + +func (x *EventStructType) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EventStructType) ProtoMessage() {} + +// Deprecated: Use EventStructType.ProtoReflect.Descriptor instead. +func (*EventStructType) Descriptor() ([]byte, []int) { + return file_structs_structs_events_proto_rawDescGZIP(), []int{13} +} + +func (x *EventStructType) GetStructType() *StructType { + if x != nil { + return x.StructType + } + return nil +} + +type EventSubstation struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Substation *Substation `protobuf:"bytes,1,opt,name=substation,proto3" json:"substation,omitempty"` +} + +func (x *EventSubstation) Reset() { + *x = EventSubstation{} + if protoimpl.UnsafeEnabled { + mi := &file_structs_structs_events_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.27.0 -// protoc (unknown) -// source: structs/structs/events.proto +func (x *EventSubstation) String() string { + return protoimpl.X.MessageStringOf(x) +} -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) -) +func (*EventSubstation) ProtoMessage() {} -type EventAllocation struct { +// Deprecated: Use EventSubstation.ProtoReflect.Descriptor instead. +func (*EventSubstation) Descriptor() ([]byte, []int) { + return file_structs_structs_events_proto_rawDescGZIP(), []int{14} +} + +func (x *EventSubstation) GetSubstation() *Substation { + if x != nil { + return x.Substation + } + return nil +} + +type EventTime struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Allocation *Allocation `protobuf:"bytes,1,opt,name=allocation,proto3" json:"allocation,omitempty"` + EventTimeDetail *EventTimeDetail `protobuf:"bytes,1,opt,name=eventTimeDetail,proto3" json:"eventTimeDetail,omitempty"` } -func (x *EventAllocation) Reset() { - *x = EventAllocation{} +func (x *EventTime) Reset() { + *x = EventTime{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_events_proto_msgTypes[0] + mi := &file_structs_structs_events_proto_msgTypes[15] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *EventAllocation) String() string { +func (x *EventTime) String() string { return protoimpl.X.MessageStringOf(x) } -func (*EventAllocation) ProtoMessage() {} +func (*EventTime) ProtoMessage() {} -// Deprecated: Use EventAllocation.ProtoReflect.Descriptor instead. -func (*EventAllocation) Descriptor() ([]byte, []int) { - return file_structs_structs_events_proto_rawDescGZIP(), []int{0} +// Deprecated: Use EventTime.ProtoReflect.Descriptor instead. +func (*EventTime) Descriptor() ([]byte, []int) { + return file_structs_structs_events_proto_rawDescGZIP(), []int{15} } -func (x *EventAllocation) GetAllocation() *Allocation { +func (x *EventTime) GetEventTimeDetail() *EventTimeDetail { if x != nil { - return x.Allocation + return x.EventTimeDetail } return nil } -type EventFleet struct { +type EventTimeDetail struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Fleet *Fleet `protobuf:"bytes,1,opt,name=fleet,proto3" json:"fleet,omitempty"` + BlockHeight int64 `protobuf:"varint,1,opt,name=blockHeight,proto3" json:"blockHeight,omitempty"` + BlockTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=blockTime,proto3" json:"blockTime,omitempty"` } -func (x *EventFleet) Reset() { - *x = EventFleet{} +func (x *EventTimeDetail) Reset() { + *x = EventTimeDetail{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_events_proto_msgTypes[1] + mi := &file_structs_structs_events_proto_msgTypes[16] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *EventFleet) String() string { +func (x *EventTimeDetail) String() string { return protoimpl.X.MessageStringOf(x) } -func (*EventFleet) ProtoMessage() {} +func (*EventTimeDetail) ProtoMessage() {} -// Deprecated: Use EventFleet.ProtoReflect.Descriptor instead. -func (*EventFleet) Descriptor() ([]byte, []int) { - return file_structs_structs_events_proto_rawDescGZIP(), []int{1} +// Deprecated: Use EventTimeDetail.ProtoReflect.Descriptor instead. +func (*EventTimeDetail) Descriptor() ([]byte, []int) { + return file_structs_structs_events_proto_rawDescGZIP(), []int{16} } -func (x *EventFleet) GetFleet() *Fleet { +func (x *EventTimeDetail) GetBlockHeight() int64 { if x != nil { - return x.Fleet + return x.BlockHeight + } + return 0 +} + +func (x *EventTimeDetail) GetBlockTime() *timestamppb.Timestamp { + if x != nil { + return x.BlockTime } return nil } -type EventGuild struct { +type EventPermission struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Guild *Guild `protobuf:"bytes,1,opt,name=guild,proto3" json:"guild,omitempty"` + PermissionRecord *PermissionRecord `protobuf:"bytes,1,opt,name=permissionRecord,proto3" json:"permissionRecord,omitempty"` } -func (x *EventGuild) Reset() { - *x = EventGuild{} +func (x *EventPermission) Reset() { + *x = EventPermission{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_events_proto_msgTypes[2] + mi := &file_structs_structs_events_proto_msgTypes[17] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *EventGuild) String() string { +func (x *EventPermission) String() string { return protoimpl.X.MessageStringOf(x) } -func (*EventGuild) ProtoMessage() {} +func (*EventPermission) ProtoMessage() {} -// Deprecated: Use EventGuild.ProtoReflect.Descriptor instead. -func (*EventGuild) Descriptor() ([]byte, []int) { - return file_structs_structs_events_proto_rawDescGZIP(), []int{2} +// Deprecated: Use EventPermission.ProtoReflect.Descriptor instead. +func (*EventPermission) Descriptor() ([]byte, []int) { + return file_structs_structs_events_proto_rawDescGZIP(), []int{17} } -func (x *EventGuild) GetGuild() *Guild { +func (x *EventPermission) GetPermissionRecord() *PermissionRecord { if x != nil { - return x.Guild + return x.PermissionRecord } return nil } -type EventInfusion struct { +type EventGrid struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Infusion *Infusion `protobuf:"bytes,1,opt,name=infusion,proto3" json:"infusion,omitempty"` + GridRecord *GridRecord `protobuf:"bytes,1,opt,name=gridRecord,proto3" json:"gridRecord,omitempty"` } -func (x *EventInfusion) Reset() { - *x = EventInfusion{} +func (x *EventGrid) Reset() { + *x = EventGrid{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_events_proto_msgTypes[3] + mi := &file_structs_structs_events_proto_msgTypes[18] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *EventInfusion) String() string { +func (x *EventGrid) String() string { return protoimpl.X.MessageStringOf(x) } -func (*EventInfusion) ProtoMessage() {} +func (*EventGrid) ProtoMessage() {} -// Deprecated: Use EventInfusion.ProtoReflect.Descriptor instead. -func (*EventInfusion) Descriptor() ([]byte, []int) { - return file_structs_structs_events_proto_rawDescGZIP(), []int{3} +// Deprecated: Use EventGrid.ProtoReflect.Descriptor instead. +func (*EventGrid) Descriptor() ([]byte, []int) { + return file_structs_structs_events_proto_rawDescGZIP(), []int{18} } -func (x *EventInfusion) GetInfusion() *Infusion { +func (x *EventGrid) GetGridRecord() *GridRecord { if x != nil { - return x.Infusion + return x.GridRecord } return nil } -type EventPlanet struct { +type EventProviderGrantGuild struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Planet *Planet `protobuf:"bytes,1,opt,name=planet,proto3" json:"planet,omitempty"` + EventProviderGrantGuildDetail *EventProviderGrantGuildDetail `protobuf:"bytes,1,opt,name=eventProviderGrantGuildDetail,proto3" json:"eventProviderGrantGuildDetail,omitempty"` } -func (x *EventPlanet) Reset() { - *x = EventPlanet{} +func (x *EventProviderGrantGuild) Reset() { + *x = EventProviderGrantGuild{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_events_proto_msgTypes[4] + mi := &file_structs_structs_events_proto_msgTypes[19] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *EventPlanet) String() string { +func (x *EventProviderGrantGuild) String() string { return protoimpl.X.MessageStringOf(x) } -func (*EventPlanet) ProtoMessage() {} +func (*EventProviderGrantGuild) ProtoMessage() {} -// Deprecated: Use EventPlanet.ProtoReflect.Descriptor instead. -func (*EventPlanet) Descriptor() ([]byte, []int) { - return file_structs_structs_events_proto_rawDescGZIP(), []int{4} +// Deprecated: Use EventProviderGrantGuild.ProtoReflect.Descriptor instead. +func (*EventProviderGrantGuild) Descriptor() ([]byte, []int) { + return file_structs_structs_events_proto_rawDescGZIP(), []int{19} } -func (x *EventPlanet) GetPlanet() *Planet { +func (x *EventProviderGrantGuild) GetEventProviderGrantGuildDetail() *EventProviderGrantGuildDetail { if x != nil { - return x.Planet + return x.EventProviderGrantGuildDetail } return nil } -type EventPlanetAttribute struct { +type EventProviderGrantGuildDetail struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - PlanetAttributeRecord *PlanetAttributeRecord `protobuf:"bytes,1,opt,name=planetAttributeRecord,proto3" json:"planetAttributeRecord,omitempty"` + ProviderId string `protobuf:"bytes,1,opt,name=providerId,proto3" json:"providerId,omitempty"` + GuildId string `protobuf:"bytes,2,opt,name=guildId,proto3" json:"guildId,omitempty"` } -func (x *EventPlanetAttribute) Reset() { - *x = EventPlanetAttribute{} +func (x *EventProviderGrantGuildDetail) Reset() { + *x = EventProviderGrantGuildDetail{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_events_proto_msgTypes[5] + mi := &file_structs_structs_events_proto_msgTypes[20] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *EventPlanetAttribute) String() string { +func (x *EventProviderGrantGuildDetail) String() string { return protoimpl.X.MessageStringOf(x) } -func (*EventPlanetAttribute) ProtoMessage() {} +func (*EventProviderGrantGuildDetail) ProtoMessage() {} -// Deprecated: Use EventPlanetAttribute.ProtoReflect.Descriptor instead. -func (*EventPlanetAttribute) Descriptor() ([]byte, []int) { - return file_structs_structs_events_proto_rawDescGZIP(), []int{5} +// Deprecated: Use EventProviderGrantGuildDetail.ProtoReflect.Descriptor instead. +func (*EventProviderGrantGuildDetail) Descriptor() ([]byte, []int) { + return file_structs_structs_events_proto_rawDescGZIP(), []int{20} } -func (x *EventPlanetAttribute) GetPlanetAttributeRecord() *PlanetAttributeRecord { +func (x *EventProviderGrantGuildDetail) GetProviderId() string { if x != nil { - return x.PlanetAttributeRecord + return x.ProviderId } - return nil + return "" } -type EventPlayer struct { +func (x *EventProviderGrantGuildDetail) GetGuildId() string { + if x != nil { + return x.GuildId + } + return "" +} + +type EventProviderRevokeGuild struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Player *Player `protobuf:"bytes,1,opt,name=player,proto3" json:"player,omitempty"` + EventProviderRevokeGuildDetail *EventProviderRevokeGuildDetail `protobuf:"bytes,1,opt,name=eventProviderRevokeGuildDetail,proto3" json:"eventProviderRevokeGuildDetail,omitempty"` } -func (x *EventPlayer) Reset() { - *x = EventPlayer{} +func (x *EventProviderRevokeGuild) Reset() { + *x = EventProviderRevokeGuild{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_events_proto_msgTypes[6] + mi := &file_structs_structs_events_proto_msgTypes[21] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *EventPlayer) String() string { +func (x *EventProviderRevokeGuild) String() string { return protoimpl.X.MessageStringOf(x) } -func (*EventPlayer) ProtoMessage() {} +func (*EventProviderRevokeGuild) ProtoMessage() {} -// Deprecated: Use EventPlayer.ProtoReflect.Descriptor instead. -func (*EventPlayer) Descriptor() ([]byte, []int) { - return file_structs_structs_events_proto_rawDescGZIP(), []int{6} +// Deprecated: Use EventProviderRevokeGuild.ProtoReflect.Descriptor instead. +func (*EventProviderRevokeGuild) Descriptor() ([]byte, []int) { + return file_structs_structs_events_proto_rawDescGZIP(), []int{21} } -func (x *EventPlayer) GetPlayer() *Player { +func (x *EventProviderRevokeGuild) GetEventProviderRevokeGuildDetail() *EventProviderRevokeGuildDetail { if x != nil { - return x.Player + return x.EventProviderRevokeGuildDetail } return nil } -type EventReactor struct { +type EventProviderRevokeGuildDetail struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Reactor *Reactor `protobuf:"bytes,1,opt,name=reactor,proto3" json:"reactor,omitempty"` + ProviderId string `protobuf:"bytes,1,opt,name=providerId,proto3" json:"providerId,omitempty"` + GuildId string `protobuf:"bytes,2,opt,name=guildId,proto3" json:"guildId,omitempty"` } -func (x *EventReactor) Reset() { - *x = EventReactor{} +func (x *EventProviderRevokeGuildDetail) Reset() { + *x = EventProviderRevokeGuildDetail{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_events_proto_msgTypes[7] + mi := &file_structs_structs_events_proto_msgTypes[22] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *EventReactor) String() string { +func (x *EventProviderRevokeGuildDetail) String() string { return protoimpl.X.MessageStringOf(x) } -func (*EventReactor) ProtoMessage() {} +func (*EventProviderRevokeGuildDetail) ProtoMessage() {} -// Deprecated: Use EventReactor.ProtoReflect.Descriptor instead. -func (*EventReactor) Descriptor() ([]byte, []int) { - return file_structs_structs_events_proto_rawDescGZIP(), []int{7} +// Deprecated: Use EventProviderRevokeGuildDetail.ProtoReflect.Descriptor instead. +func (*EventProviderRevokeGuildDetail) Descriptor() ([]byte, []int) { + return file_structs_structs_events_proto_rawDescGZIP(), []int{22} } -func (x *EventReactor) GetReactor() *Reactor { +func (x *EventProviderRevokeGuildDetail) GetProviderId() string { if x != nil { - return x.Reactor + return x.ProviderId } - return nil + return "" } -type EventStruct struct { +func (x *EventProviderRevokeGuildDetail) GetGuildId() string { + if x != nil { + return x.GuildId + } + return "" +} + +type EventPlayerHalted struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Structure *Struct `protobuf:"bytes,1,opt,name=structure,proto3" json:"structure,omitempty"` + PlayerId string `protobuf:"bytes,1,opt,name=playerId,proto3" json:"playerId,omitempty"` } -func (x *EventStruct) Reset() { - *x = EventStruct{} +func (x *EventPlayerHalted) Reset() { + *x = EventPlayerHalted{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_events_proto_msgTypes[8] + mi := &file_structs_structs_events_proto_msgTypes[23] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *EventStruct) String() string { +func (x *EventPlayerHalted) String() string { return protoimpl.X.MessageStringOf(x) } -func (*EventStruct) ProtoMessage() {} +func (*EventPlayerHalted) ProtoMessage() {} -// Deprecated: Use EventStruct.ProtoReflect.Descriptor instead. -func (*EventStruct) Descriptor() ([]byte, []int) { - return file_structs_structs_events_proto_rawDescGZIP(), []int{8} +// Deprecated: Use EventPlayerHalted.ProtoReflect.Descriptor instead. +func (*EventPlayerHalted) Descriptor() ([]byte, []int) { + return file_structs_structs_events_proto_rawDescGZIP(), []int{23} } -func (x *EventStruct) GetStructure() *Struct { +func (x *EventPlayerHalted) GetPlayerId() string { if x != nil { - return x.Structure + return x.PlayerId } - return nil + return "" } -type EventStructAttribute struct { +type EventPlayerResumed struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - StructAttributeRecord *StructAttributeRecord `protobuf:"bytes,1,opt,name=structAttributeRecord,proto3" json:"structAttributeRecord,omitempty"` + PlayerId string `protobuf:"bytes,1,opt,name=playerId,proto3" json:"playerId,omitempty"` } -func (x *EventStructAttribute) Reset() { - *x = EventStructAttribute{} +func (x *EventPlayerResumed) Reset() { + *x = EventPlayerResumed{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_events_proto_msgTypes[9] + mi := &file_structs_structs_events_proto_msgTypes[24] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *EventStructAttribute) String() string { +func (x *EventPlayerResumed) String() string { return protoimpl.X.MessageStringOf(x) } -func (*EventStructAttribute) ProtoMessage() {} +func (*EventPlayerResumed) ProtoMessage() {} -// Deprecated: Use EventStructAttribute.ProtoReflect.Descriptor instead. -func (*EventStructAttribute) Descriptor() ([]byte, []int) { - return file_structs_structs_events_proto_rawDescGZIP(), []int{9} +// Deprecated: Use EventPlayerResumed.ProtoReflect.Descriptor instead. +func (*EventPlayerResumed) Descriptor() ([]byte, []int) { + return file_structs_structs_events_proto_rawDescGZIP(), []int{24} } -func (x *EventStructAttribute) GetStructAttributeRecord() *StructAttributeRecord { +func (x *EventPlayerResumed) GetPlayerId() string { if x != nil { - return x.StructAttributeRecord + return x.PlayerId } - return nil + return "" } -type EventStructDefender struct { +type EventDelete struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - StructDefender *StructDefender `protobuf:"bytes,1,opt,name=structDefender,proto3" json:"structDefender,omitempty"` + ObjectId string `protobuf:"bytes,1,opt,name=objectId,proto3" json:"objectId,omitempty"` } -func (x *EventStructDefender) Reset() { - *x = EventStructDefender{} +func (x *EventDelete) Reset() { + *x = EventDelete{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_events_proto_msgTypes[10] + mi := &file_structs_structs_events_proto_msgTypes[25] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *EventStructDefender) String() string { +func (x *EventDelete) String() string { return protoimpl.X.MessageStringOf(x) } -func (*EventStructDefender) ProtoMessage() {} +func (*EventDelete) ProtoMessage() {} -// Deprecated: Use EventStructDefender.ProtoReflect.Descriptor instead. -func (*EventStructDefender) Descriptor() ([]byte, []int) { - return file_structs_structs_events_proto_rawDescGZIP(), []int{10} +// Deprecated: Use EventDelete.ProtoReflect.Descriptor instead. +func (*EventDelete) Descriptor() ([]byte, []int) { + return file_structs_structs_events_proto_rawDescGZIP(), []int{25} } -func (x *EventStructDefender) GetStructDefender() *StructDefender { +func (x *EventDelete) GetObjectId() string { if x != nil { - return x.StructDefender + return x.ObjectId } - return nil + return "" } -type EventStructType struct { +type EventAddressAssociation struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - StructType *StructType `protobuf:"bytes,1,opt,name=structType,proto3" json:"structType,omitempty"` + AddressAssociation *AddressAssociation `protobuf:"bytes,1,opt,name=addressAssociation,proto3" json:"addressAssociation,omitempty"` } -func (x *EventStructType) Reset() { - *x = EventStructType{} +func (x *EventAddressAssociation) Reset() { + *x = EventAddressAssociation{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_events_proto_msgTypes[11] + mi := &file_structs_structs_events_proto_msgTypes[26] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *EventStructType) String() string { +func (x *EventAddressAssociation) String() string { return protoimpl.X.MessageStringOf(x) } -func (*EventStructType) ProtoMessage() {} +func (*EventAddressAssociation) ProtoMessage() {} -// Deprecated: Use EventStructType.ProtoReflect.Descriptor instead. -func (*EventStructType) Descriptor() ([]byte, []int) { - return file_structs_structs_events_proto_rawDescGZIP(), []int{11} +// Deprecated: Use EventAddressAssociation.ProtoReflect.Descriptor instead. +func (*EventAddressAssociation) Descriptor() ([]byte, []int) { + return file_structs_structs_events_proto_rawDescGZIP(), []int{26} } -func (x *EventStructType) GetStructType() *StructType { +func (x *EventAddressAssociation) GetAddressAssociation() *AddressAssociation { if x != nil { - return x.StructType + return x.AddressAssociation } return nil } -type EventSubstation struct { +type EventAddressActivity struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Substation *Substation `protobuf:"bytes,1,opt,name=substation,proto3" json:"substation,omitempty"` + AddressActivity *AddressActivity `protobuf:"bytes,1,opt,name=addressActivity,proto3" json:"addressActivity,omitempty"` } -func (x *EventSubstation) Reset() { - *x = EventSubstation{} +func (x *EventAddressActivity) Reset() { + *x = EventAddressActivity{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_events_proto_msgTypes[12] + mi := &file_structs_structs_events_proto_msgTypes[27] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *EventSubstation) String() string { +func (x *EventAddressActivity) String() string { return protoimpl.X.MessageStringOf(x) } -func (*EventSubstation) ProtoMessage() {} +func (*EventAddressActivity) ProtoMessage() {} -// Deprecated: Use EventSubstation.ProtoReflect.Descriptor instead. -func (*EventSubstation) Descriptor() ([]byte, []int) { - return file_structs_structs_events_proto_rawDescGZIP(), []int{12} +// Deprecated: Use EventAddressActivity.ProtoReflect.Descriptor instead. +func (*EventAddressActivity) Descriptor() ([]byte, []int) { + return file_structs_structs_events_proto_rawDescGZIP(), []int{27} } -func (x *EventSubstation) GetSubstation() *Substation { +func (x *EventAddressActivity) GetAddressActivity() *AddressActivity { if x != nil { - return x.Substation + return x.AddressActivity } return nil } -type EventTime struct { +type EventGuildBankMint struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - EventTimeDetail *EventTimeDetail `protobuf:"bytes,1,opt,name=eventTimeDetail,proto3" json:"eventTimeDetail,omitempty"` + EventGuildBankMintDetail *EventGuildBankMintDetail `protobuf:"bytes,1,opt,name=eventGuildBankMintDetail,proto3" json:"eventGuildBankMintDetail,omitempty"` } -func (x *EventTime) Reset() { - *x = EventTime{} +func (x *EventGuildBankMint) Reset() { + *x = EventGuildBankMint{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_events_proto_msgTypes[13] + mi := &file_structs_structs_events_proto_msgTypes[28] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *EventTime) String() string { +func (x *EventGuildBankMint) String() string { return protoimpl.X.MessageStringOf(x) } -func (*EventTime) ProtoMessage() {} +func (*EventGuildBankMint) ProtoMessage() {} -// Deprecated: Use EventTime.ProtoReflect.Descriptor instead. -func (*EventTime) Descriptor() ([]byte, []int) { - return file_structs_structs_events_proto_rawDescGZIP(), []int{13} +// Deprecated: Use EventGuildBankMint.ProtoReflect.Descriptor instead. +func (*EventGuildBankMint) Descriptor() ([]byte, []int) { + return file_structs_structs_events_proto_rawDescGZIP(), []int{28} } -func (x *EventTime) GetEventTimeDetail() *EventTimeDetail { +func (x *EventGuildBankMint) GetEventGuildBankMintDetail() *EventGuildBankMintDetail { if x != nil { - return x.EventTimeDetail + return x.EventGuildBankMintDetail } return nil } -type EventTimeDetail struct { +type EventGuildBankMintDetail struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - BlockHeight int64 `protobuf:"varint,1,opt,name=blockHeight,proto3" json:"blockHeight,omitempty"` - BlockTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=blockTime,proto3" json:"blockTime,omitempty"` + GuildId string `protobuf:"bytes,1,opt,name=guildId,proto3" json:"guildId,omitempty"` + AmountAlpha uint64 `protobuf:"varint,2,opt,name=amountAlpha,proto3" json:"amountAlpha,omitempty"` + AmountToken uint64 `protobuf:"varint,3,opt,name=amountToken,proto3" json:"amountToken,omitempty"` + PlayerId string `protobuf:"bytes,4,opt,name=playerId,proto3" json:"playerId,omitempty"` } -func (x *EventTimeDetail) Reset() { - *x = EventTimeDetail{} +func (x *EventGuildBankMintDetail) Reset() { + *x = EventGuildBankMintDetail{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_events_proto_msgTypes[14] + mi := &file_structs_structs_events_proto_msgTypes[29] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *EventTimeDetail) String() string { +func (x *EventGuildBankMintDetail) String() string { return protoimpl.X.MessageStringOf(x) } -func (*EventTimeDetail) ProtoMessage() {} +func (*EventGuildBankMintDetail) ProtoMessage() {} -// Deprecated: Use EventTimeDetail.ProtoReflect.Descriptor instead. -func (*EventTimeDetail) Descriptor() ([]byte, []int) { - return file_structs_structs_events_proto_rawDescGZIP(), []int{14} +// Deprecated: Use EventGuildBankMintDetail.ProtoReflect.Descriptor instead. +func (*EventGuildBankMintDetail) Descriptor() ([]byte, []int) { + return file_structs_structs_events_proto_rawDescGZIP(), []int{29} } -func (x *EventTimeDetail) GetBlockHeight() int64 { +func (x *EventGuildBankMintDetail) GetGuildId() string { if x != nil { - return x.BlockHeight + return x.GuildId + } + return "" +} + +func (x *EventGuildBankMintDetail) GetAmountAlpha() uint64 { + if x != nil { + return x.AmountAlpha } return 0 } -func (x *EventTimeDetail) GetBlockTime() *timestamppb.Timestamp { +func (x *EventGuildBankMintDetail) GetAmountToken() uint64 { if x != nil { - return x.BlockTime + return x.AmountToken } - return nil + return 0 } -type EventPermission struct { +func (x *EventGuildBankMintDetail) GetPlayerId() string { + if x != nil { + return x.PlayerId + } + return "" +} + +type EventGuildBankRedeem struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - PermissionRecord *PermissionRecord `protobuf:"bytes,1,opt,name=permissionRecord,proto3" json:"permissionRecord,omitempty"` + EventGuildBankRedeemDetail *EventGuildBankRedeemDetail `protobuf:"bytes,1,opt,name=eventGuildBankRedeemDetail,proto3" json:"eventGuildBankRedeemDetail,omitempty"` } -func (x *EventPermission) Reset() { - *x = EventPermission{} +func (x *EventGuildBankRedeem) Reset() { + *x = EventGuildBankRedeem{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_events_proto_msgTypes[15] + mi := &file_structs_structs_events_proto_msgTypes[30] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *EventPermission) String() string { +func (x *EventGuildBankRedeem) String() string { return protoimpl.X.MessageStringOf(x) } -func (*EventPermission) ProtoMessage() {} +func (*EventGuildBankRedeem) ProtoMessage() {} -// Deprecated: Use EventPermission.ProtoReflect.Descriptor instead. -func (*EventPermission) Descriptor() ([]byte, []int) { - return file_structs_structs_events_proto_rawDescGZIP(), []int{15} +// Deprecated: Use EventGuildBankRedeem.ProtoReflect.Descriptor instead. +func (*EventGuildBankRedeem) Descriptor() ([]byte, []int) { + return file_structs_structs_events_proto_rawDescGZIP(), []int{30} } -func (x *EventPermission) GetPermissionRecord() *PermissionRecord { +func (x *EventGuildBankRedeem) GetEventGuildBankRedeemDetail() *EventGuildBankRedeemDetail { if x != nil { - return x.PermissionRecord + return x.EventGuildBankRedeemDetail } return nil } -type EventGrid struct { +type EventGuildBankRedeemDetail struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - GridRecord *GridRecord `protobuf:"bytes,1,opt,name=gridRecord,proto3" json:"gridRecord,omitempty"` + GuildId string `protobuf:"bytes,1,opt,name=guildId,proto3" json:"guildId,omitempty"` + AmountAlpha uint64 `protobuf:"varint,2,opt,name=amountAlpha,proto3" json:"amountAlpha,omitempty"` + AmountToken uint64 `protobuf:"varint,3,opt,name=amountToken,proto3" json:"amountToken,omitempty"` + PlayerId string `protobuf:"bytes,4,opt,name=playerId,proto3" json:"playerId,omitempty"` } -func (x *EventGrid) Reset() { - *x = EventGrid{} +func (x *EventGuildBankRedeemDetail) Reset() { + *x = EventGuildBankRedeemDetail{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_events_proto_msgTypes[16] + mi := &file_structs_structs_events_proto_msgTypes[31] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *EventGrid) String() string { +func (x *EventGuildBankRedeemDetail) String() string { return protoimpl.X.MessageStringOf(x) } -func (*EventGrid) ProtoMessage() {} +func (*EventGuildBankRedeemDetail) ProtoMessage() {} -// Deprecated: Use EventGrid.ProtoReflect.Descriptor instead. -func (*EventGrid) Descriptor() ([]byte, []int) { - return file_structs_structs_events_proto_rawDescGZIP(), []int{16} +// Deprecated: Use EventGuildBankRedeemDetail.ProtoReflect.Descriptor instead. +func (*EventGuildBankRedeemDetail) Descriptor() ([]byte, []int) { + return file_structs_structs_events_proto_rawDescGZIP(), []int{31} } -func (x *EventGrid) GetGridRecord() *GridRecord { +func (x *EventGuildBankRedeemDetail) GetGuildId() string { if x != nil { - return x.GridRecord + return x.GuildId } - return nil -} - -type EventDelete struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ObjectId string `protobuf:"bytes,1,opt,name=objectId,proto3" json:"objectId,omitempty"` + return "" } -func (x *EventDelete) Reset() { - *x = EventDelete{} - if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_events_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) +func (x *EventGuildBankRedeemDetail) GetAmountAlpha() uint64 { + if x != nil { + return x.AmountAlpha } + return 0 } -func (x *EventDelete) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*EventDelete) ProtoMessage() {} - -// Deprecated: Use EventDelete.ProtoReflect.Descriptor instead. -func (*EventDelete) Descriptor() ([]byte, []int) { - return file_structs_structs_events_proto_rawDescGZIP(), []int{17} +func (x *EventGuildBankRedeemDetail) GetAmountToken() uint64 { + if x != nil { + return x.AmountToken + } + return 0 } -func (x *EventDelete) GetObjectId() string { +func (x *EventGuildBankRedeemDetail) GetPlayerId() string { if x != nil { - return x.ObjectId + return x.PlayerId } return "" } -type EventAddressAssociation struct { +type EventGuildBankConfiscateAndBurn struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - AddressAssociation *AddressAssociation `protobuf:"bytes,1,opt,name=addressAssociation,proto3" json:"addressAssociation,omitempty"` + EventGuildBankConfiscateAndBurnDetail *EventGuildBankConfiscateAndBurnDetail `protobuf:"bytes,1,opt,name=eventGuildBankConfiscateAndBurnDetail,proto3" json:"eventGuildBankConfiscateAndBurnDetail,omitempty"` } -func (x *EventAddressAssociation) Reset() { - *x = EventAddressAssociation{} +func (x *EventGuildBankConfiscateAndBurn) Reset() { + *x = EventGuildBankConfiscateAndBurn{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_events_proto_msgTypes[18] + mi := &file_structs_structs_events_proto_msgTypes[32] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *EventAddressAssociation) String() string { +func (x *EventGuildBankConfiscateAndBurn) String() string { return protoimpl.X.MessageStringOf(x) } -func (*EventAddressAssociation) ProtoMessage() {} +func (*EventGuildBankConfiscateAndBurn) ProtoMessage() {} -// Deprecated: Use EventAddressAssociation.ProtoReflect.Descriptor instead. -func (*EventAddressAssociation) Descriptor() ([]byte, []int) { - return file_structs_structs_events_proto_rawDescGZIP(), []int{18} +// Deprecated: Use EventGuildBankConfiscateAndBurn.ProtoReflect.Descriptor instead. +func (*EventGuildBankConfiscateAndBurn) Descriptor() ([]byte, []int) { + return file_structs_structs_events_proto_rawDescGZIP(), []int{32} } -func (x *EventAddressAssociation) GetAddressAssociation() *AddressAssociation { +func (x *EventGuildBankConfiscateAndBurn) GetEventGuildBankConfiscateAndBurnDetail() *EventGuildBankConfiscateAndBurnDetail { if x != nil { - return x.AddressAssociation + return x.EventGuildBankConfiscateAndBurnDetail } return nil } -type EventAddressActivity struct { +type EventGuildBankConfiscateAndBurnDetail struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - AddressActivity *AddressActivity `protobuf:"bytes,1,opt,name=addressActivity,proto3" json:"addressActivity,omitempty"` + GuildId string `protobuf:"bytes,1,opt,name=guildId,proto3" json:"guildId,omitempty"` + AmountAlpha uint64 `protobuf:"varint,2,opt,name=amountAlpha,proto3" json:"amountAlpha,omitempty"` + AmountToken uint64 `protobuf:"varint,3,opt,name=amountToken,proto3" json:"amountToken,omitempty"` + Address string `protobuf:"bytes,4,opt,name=address,proto3" json:"address,omitempty"` } -func (x *EventAddressActivity) Reset() { - *x = EventAddressActivity{} +func (x *EventGuildBankConfiscateAndBurnDetail) Reset() { + *x = EventGuildBankConfiscateAndBurnDetail{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_events_proto_msgTypes[19] + mi := &file_structs_structs_events_proto_msgTypes[33] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *EventAddressActivity) String() string { +func (x *EventGuildBankConfiscateAndBurnDetail) String() string { return protoimpl.X.MessageStringOf(x) } -func (*EventAddressActivity) ProtoMessage() {} +func (*EventGuildBankConfiscateAndBurnDetail) ProtoMessage() {} -// Deprecated: Use EventAddressActivity.ProtoReflect.Descriptor instead. -func (*EventAddressActivity) Descriptor() ([]byte, []int) { - return file_structs_structs_events_proto_rawDescGZIP(), []int{19} +// Deprecated: Use EventGuildBankConfiscateAndBurnDetail.ProtoReflect.Descriptor instead. +func (*EventGuildBankConfiscateAndBurnDetail) Descriptor() ([]byte, []int) { + return file_structs_structs_events_proto_rawDescGZIP(), []int{33} } -func (x *EventAddressActivity) GetAddressActivity() *AddressActivity { +func (x *EventGuildBankConfiscateAndBurnDetail) GetGuildId() string { if x != nil { - return x.AddressActivity + return x.GuildId } - return nil + return "" +} + +func (x *EventGuildBankConfiscateAndBurnDetail) GetAmountAlpha() uint64 { + if x != nil { + return x.AmountAlpha + } + return 0 +} + +func (x *EventGuildBankConfiscateAndBurnDetail) GetAmountToken() uint64 { + if x != nil { + return x.AmountToken + } + return 0 +} + +func (x *EventGuildBankConfiscateAndBurnDetail) GetAddress() string { + if x != nil { + return x.Address + } + return "" } type EventGuildMembershipApplication struct { @@ -21564,7 +28735,7 @@ type EventGuildMembershipApplication struct { func (x *EventGuildMembershipApplication) Reset() { *x = EventGuildMembershipApplication{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_events_proto_msgTypes[20] + mi := &file_structs_structs_events_proto_msgTypes[34] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -21578,7 +28749,7 @@ func (*EventGuildMembershipApplication) ProtoMessage() {} // Deprecated: Use EventGuildMembershipApplication.ProtoReflect.Descriptor instead. func (*EventGuildMembershipApplication) Descriptor() ([]byte, []int) { - return file_structs_structs_events_proto_rawDescGZIP(), []int{20} + return file_structs_structs_events_proto_rawDescGZIP(), []int{34} } func (x *EventGuildMembershipApplication) GetGuildMembershipApplication() *GuildMembershipApplication { @@ -21599,7 +28770,7 @@ type EventOreMine struct { func (x *EventOreMine) Reset() { *x = EventOreMine{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_events_proto_msgTypes[21] + mi := &file_structs_structs_events_proto_msgTypes[35] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -21613,7 +28784,7 @@ func (*EventOreMine) ProtoMessage() {} // Deprecated: Use EventOreMine.ProtoReflect.Descriptor instead. func (*EventOreMine) Descriptor() ([]byte, []int) { - return file_structs_structs_events_proto_rawDescGZIP(), []int{21} + return file_structs_structs_events_proto_rawDescGZIP(), []int{35} } func (x *EventOreMine) GetEventOreMineDetail() *EventOreMineDetail { @@ -21636,7 +28807,7 @@ type EventOreMineDetail struct { func (x *EventOreMineDetail) Reset() { *x = EventOreMineDetail{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_events_proto_msgTypes[22] + mi := &file_structs_structs_events_proto_msgTypes[36] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -21650,7 +28821,7 @@ func (*EventOreMineDetail) ProtoMessage() {} // Deprecated: Use EventOreMineDetail.ProtoReflect.Descriptor instead. func (*EventOreMineDetail) Descriptor() ([]byte, []int) { - return file_structs_structs_events_proto_rawDescGZIP(), []int{22} + return file_structs_structs_events_proto_rawDescGZIP(), []int{36} } func (x *EventOreMineDetail) GetPlayerId() string { @@ -21685,7 +28856,7 @@ type EventAlphaRefine struct { func (x *EventAlphaRefine) Reset() { *x = EventAlphaRefine{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_events_proto_msgTypes[23] + mi := &file_structs_structs_events_proto_msgTypes[37] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -21699,7 +28870,7 @@ func (*EventAlphaRefine) ProtoMessage() {} // Deprecated: Use EventAlphaRefine.ProtoReflect.Descriptor instead. func (*EventAlphaRefine) Descriptor() ([]byte, []int) { - return file_structs_structs_events_proto_rawDescGZIP(), []int{23} + return file_structs_structs_events_proto_rawDescGZIP(), []int{37} } func (x *EventAlphaRefine) GetEventAlphaRefineDetail() *EventAlphaRefineDetail { @@ -21722,7 +28893,7 @@ type EventAlphaRefineDetail struct { func (x *EventAlphaRefineDetail) Reset() { *x = EventAlphaRefineDetail{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_events_proto_msgTypes[24] + mi := &file_structs_structs_events_proto_msgTypes[38] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -21736,7 +28907,7 @@ func (*EventAlphaRefineDetail) ProtoMessage() {} // Deprecated: Use EventAlphaRefineDetail.ProtoReflect.Descriptor instead. func (*EventAlphaRefineDetail) Descriptor() ([]byte, []int) { - return file_structs_structs_events_proto_rawDescGZIP(), []int{24} + return file_structs_structs_events_proto_rawDescGZIP(), []int{38} } func (x *EventAlphaRefineDetail) GetPlayerId() string { @@ -21771,7 +28942,7 @@ type EventAlphaInfuse struct { func (x *EventAlphaInfuse) Reset() { *x = EventAlphaInfuse{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_events_proto_msgTypes[25] + mi := &file_structs_structs_events_proto_msgTypes[39] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -21785,7 +28956,7 @@ func (*EventAlphaInfuse) ProtoMessage() {} // Deprecated: Use EventAlphaInfuse.ProtoReflect.Descriptor instead. func (*EventAlphaInfuse) Descriptor() ([]byte, []int) { - return file_structs_structs_events_proto_rawDescGZIP(), []int{25} + return file_structs_structs_events_proto_rawDescGZIP(), []int{39} } func (x *EventAlphaInfuse) GetEventAlphaInfuseDetail() *EventAlphaInfuseDetail { @@ -21808,7 +28979,7 @@ type EventAlphaInfuseDetail struct { func (x *EventAlphaInfuseDetail) Reset() { *x = EventAlphaInfuseDetail{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_events_proto_msgTypes[26] + mi := &file_structs_structs_events_proto_msgTypes[40] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -21822,7 +28993,7 @@ func (*EventAlphaInfuseDetail) ProtoMessage() {} // Deprecated: Use EventAlphaInfuseDetail.ProtoReflect.Descriptor instead. func (*EventAlphaInfuseDetail) Descriptor() ([]byte, []int) { - return file_structs_structs_events_proto_rawDescGZIP(), []int{26} + return file_structs_structs_events_proto_rawDescGZIP(), []int{40} } func (x *EventAlphaInfuseDetail) GetPlayerId() string { @@ -21857,7 +29028,7 @@ type EventAlphaDefuse struct { func (x *EventAlphaDefuse) Reset() { *x = EventAlphaDefuse{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_events_proto_msgTypes[27] + mi := &file_structs_structs_events_proto_msgTypes[41] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -21871,7 +29042,7 @@ func (*EventAlphaDefuse) ProtoMessage() {} // Deprecated: Use EventAlphaDefuse.ProtoReflect.Descriptor instead. func (*EventAlphaDefuse) Descriptor() ([]byte, []int) { - return file_structs_structs_events_proto_rawDescGZIP(), []int{27} + return file_structs_structs_events_proto_rawDescGZIP(), []int{41} } func (x *EventAlphaDefuse) GetEventAlphaDefuseDetail() *EventAlphaDefuseDetail { @@ -21893,7 +29064,7 @@ type EventAlphaDefuseDetail struct { func (x *EventAlphaDefuseDetail) Reset() { *x = EventAlphaDefuseDetail{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_events_proto_msgTypes[28] + mi := &file_structs_structs_events_proto_msgTypes[42] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -21907,7 +29078,7 @@ func (*EventAlphaDefuseDetail) ProtoMessage() {} // Deprecated: Use EventAlphaDefuseDetail.ProtoReflect.Descriptor instead. func (*EventAlphaDefuseDetail) Descriptor() ([]byte, []int) { - return file_structs_structs_events_proto_rawDescGZIP(), []int{28} + return file_structs_structs_events_proto_rawDescGZIP(), []int{42} } func (x *EventAlphaDefuseDetail) GetPrimaryAddress() string { @@ -21935,7 +29106,7 @@ type EventOreTheft struct { func (x *EventOreTheft) Reset() { *x = EventOreTheft{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_events_proto_msgTypes[29] + mi := &file_structs_structs_events_proto_msgTypes[43] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -21949,7 +29120,7 @@ func (*EventOreTheft) ProtoMessage() {} // Deprecated: Use EventOreTheft.ProtoReflect.Descriptor instead. func (*EventOreTheft) Descriptor() ([]byte, []int) { - return file_structs_structs_events_proto_rawDescGZIP(), []int{29} + return file_structs_structs_events_proto_rawDescGZIP(), []int{43} } func (x *EventOreTheft) GetEventOreTheftDetail() *EventOreTheftDetail { @@ -21974,7 +29145,7 @@ type EventOreTheftDetail struct { func (x *EventOreTheftDetail) Reset() { *x = EventOreTheftDetail{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_events_proto_msgTypes[30] + mi := &file_structs_structs_events_proto_msgTypes[44] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -21988,7 +29159,7 @@ func (*EventOreTheftDetail) ProtoMessage() {} // Deprecated: Use EventOreTheftDetail.ProtoReflect.Descriptor instead. func (*EventOreTheftDetail) Descriptor() ([]byte, []int) { - return file_structs_structs_events_proto_rawDescGZIP(), []int{30} + return file_structs_structs_events_proto_rawDescGZIP(), []int{44} } func (x *EventOreTheftDetail) GetVictimPrimaryAddress() string { @@ -22037,7 +29208,7 @@ type EventOreMigrate struct { func (x *EventOreMigrate) Reset() { *x = EventOreMigrate{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_events_proto_msgTypes[31] + mi := &file_structs_structs_events_proto_msgTypes[45] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -22051,7 +29222,7 @@ func (*EventOreMigrate) ProtoMessage() {} // Deprecated: Use EventOreMigrate.ProtoReflect.Descriptor instead. func (*EventOreMigrate) Descriptor() ([]byte, []int) { - return file_structs_structs_events_proto_rawDescGZIP(), []int{31} + return file_structs_structs_events_proto_rawDescGZIP(), []int{45} } func (x *EventOreMigrate) GetEventOreMigrateDetail() *EventOreMigrateDetail { @@ -22075,7 +29246,7 @@ type EventOreMigrateDetail struct { func (x *EventOreMigrateDetail) Reset() { *x = EventOreMigrateDetail{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_events_proto_msgTypes[32] + mi := &file_structs_structs_events_proto_msgTypes[46] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -22089,7 +29260,7 @@ func (*EventOreMigrateDetail) ProtoMessage() {} // Deprecated: Use EventOreMigrateDetail.ProtoReflect.Descriptor instead. func (*EventOreMigrateDetail) Descriptor() ([]byte, []int) { - return file_structs_structs_events_proto_rawDescGZIP(), []int{32} + return file_structs_structs_events_proto_rawDescGZIP(), []int{46} } func (x *EventOreMigrateDetail) GetPlayerId() string { @@ -22131,7 +29302,7 @@ type EventAttack struct { func (x *EventAttack) Reset() { *x = EventAttack{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_events_proto_msgTypes[33] + mi := &file_structs_structs_events_proto_msgTypes[47] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -22145,7 +29316,7 @@ func (*EventAttack) ProtoMessage() {} // Deprecated: Use EventAttack.ProtoReflect.Descriptor instead. func (*EventAttack) Descriptor() ([]byte, []int) { - return file_structs_structs_events_proto_rawDescGZIP(), []int{33} + return file_structs_structs_events_proto_rawDescGZIP(), []int{47} } func (x *EventAttack) GetEventAttackDetail() *EventAttackDetail { @@ -22183,7 +29354,7 @@ type EventAttackDetail struct { func (x *EventAttackDetail) Reset() { *x = EventAttackDetail{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_events_proto_msgTypes[34] + mi := &file_structs_structs_events_proto_msgTypes[48] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -22197,7 +29368,7 @@ func (*EventAttackDetail) ProtoMessage() {} // Deprecated: Use EventAttackDetail.ProtoReflect.Descriptor instead. func (*EventAttackDetail) Descriptor() ([]byte, []int) { - return file_structs_structs_events_proto_rawDescGZIP(), []int{34} + return file_structs_structs_events_proto_rawDescGZIP(), []int{48} } func (x *EventAttackDetail) GetAttackerStructId() string { @@ -22368,7 +29539,7 @@ type EventAttackShotDetail struct { func (x *EventAttackShotDetail) Reset() { *x = EventAttackShotDetail{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_events_proto_msgTypes[35] + mi := &file_structs_structs_events_proto_msgTypes[49] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -22382,7 +29553,7 @@ func (*EventAttackShotDetail) ProtoMessage() {} // Deprecated: Use EventAttackShotDetail.ProtoReflect.Descriptor instead. func (*EventAttackShotDetail) Descriptor() ([]byte, []int) { - return file_structs_structs_events_proto_rawDescGZIP(), []int{35} + return file_structs_structs_events_proto_rawDescGZIP(), []int{49} } func (x *EventAttackShotDetail) GetTargetStructId() string { @@ -22627,7 +29798,7 @@ type EventAttackDefenderCounterDetail struct { func (x *EventAttackDefenderCounterDetail) Reset() { *x = EventAttackDefenderCounterDetail{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_events_proto_msgTypes[36] + mi := &file_structs_structs_events_proto_msgTypes[50] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -22641,7 +29812,7 @@ func (*EventAttackDefenderCounterDetail) ProtoMessage() {} // Deprecated: Use EventAttackDefenderCounterDetail.ProtoReflect.Descriptor instead. func (*EventAttackDefenderCounterDetail) Descriptor() ([]byte, []int) { - return file_structs_structs_events_proto_rawDescGZIP(), []int{36} + return file_structs_structs_events_proto_rawDescGZIP(), []int{50} } func (x *EventAttackDefenderCounterDetail) GetCounterByStructId() string { @@ -22711,7 +29882,7 @@ type EventRaid struct { func (x *EventRaid) Reset() { *x = EventRaid{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_events_proto_msgTypes[37] + mi := &file_structs_structs_events_proto_msgTypes[51] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -22725,7 +29896,7 @@ func (*EventRaid) ProtoMessage() {} // Deprecated: Use EventRaid.ProtoReflect.Descriptor instead. func (*EventRaid) Descriptor() ([]byte, []int) { - return file_structs_structs_events_proto_rawDescGZIP(), []int{37} + return file_structs_structs_events_proto_rawDescGZIP(), []int{51} } func (x *EventRaid) GetEventRaidDetail() *EventRaidDetail { @@ -22748,7 +29919,7 @@ type EventRaidDetail struct { func (x *EventRaidDetail) Reset() { *x = EventRaidDetail{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_events_proto_msgTypes[38] + mi := &file_structs_structs_events_proto_msgTypes[52] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -22762,7 +29933,7 @@ func (*EventRaidDetail) ProtoMessage() {} // Deprecated: Use EventRaidDetail.ProtoReflect.Descriptor instead. func (*EventRaidDetail) Descriptor() ([]byte, []int) { - return file_structs_structs_events_proto_rawDescGZIP(), []int{38} + return file_structs_structs_events_proto_rawDescGZIP(), []int{52} } func (x *EventRaidDetail) GetFleetId() string { @@ -22802,509 +29973,615 @@ var file_structs_structs_events_proto_rawDesc = []byte{ 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x73, 0x74, + 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x61, 0x67, 0x72, 0x65, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x73, + 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, + 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x66, 0x6c, 0x65, 0x65, 0x74, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1a, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x73, 0x74, + 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x67, 0x72, 0x69, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x1b, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, + 0x73, 0x2f, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x73, + 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x69, + 0x6e, 0x66, 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1a, 0x73, + 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x6b, + 0x65, 0x79, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x73, 0x74, 0x72, 0x75, 0x63, + 0x74, 0x73, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x70, 0x65, 0x72, 0x6d, 0x69, + 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x73, 0x74, 0x72, + 0x75, 0x63, 0x74, 0x73, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x70, 0x6c, 0x61, + 0x79, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x73, 0x74, 0x72, 0x75, 0x63, + 0x74, 0x73, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x70, 0x6c, 0x61, 0x6e, 0x65, + 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, + 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, + 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, + 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x72, 0x65, 0x61, 0x63, 0x74, 0x6f, 0x72, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, + 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x73, 0x74, - 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, - 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x66, 0x6c, 0x65, 0x65, 0x74, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x1a, 0x1a, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x73, 0x74, 0x72, - 0x75, 0x63, 0x74, 0x73, 0x2f, 0x67, 0x72, 0x69, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, - 0x1b, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, - 0x2f, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x73, 0x74, - 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x69, 0x6e, - 0x66, 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1a, 0x73, 0x74, - 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x6b, 0x65, - 0x79, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, - 0x73, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, - 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x73, 0x74, 0x72, 0x75, - 0x63, 0x74, 0x73, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x70, 0x6c, 0x61, 0x79, - 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, - 0x73, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x74, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, - 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x72, 0x65, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x73, - 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x73, 0x74, 0x72, - 0x75, 0x63, 0x74, 0x73, 0x2f, 0x73, 0x75, 0x62, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4e, 0x0a, 0x0f, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x41, 0x6c, - 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3b, 0x0a, 0x0a, 0x61, 0x6c, 0x6c, 0x6f, - 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x73, - 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x41, - 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x61, 0x6c, 0x6c, 0x6f, 0x63, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x3a, 0x0a, 0x0a, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x46, 0x6c, - 0x65, 0x65, 0x74, 0x12, 0x2c, 0x0a, 0x05, 0x66, 0x6c, 0x65, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, - 0x75, 0x63, 0x74, 0x73, 0x2e, 0x46, 0x6c, 0x65, 0x65, 0x74, 0x52, 0x05, 0x66, 0x6c, 0x65, 0x65, - 0x74, 0x22, 0x3a, 0x0a, 0x0a, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x12, - 0x2c, 0x0a, 0x05, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, - 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, - 0x2e, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x52, 0x05, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x22, 0x46, 0x0a, - 0x0d, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x35, - 0x0a, 0x08, 0x69, 0x6e, 0x66, 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x19, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, - 0x74, 0x73, 0x2e, 0x49, 0x6e, 0x66, 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x69, 0x6e, 0x66, - 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x3e, 0x0a, 0x0b, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x50, 0x6c, - 0x61, 0x6e, 0x65, 0x74, 0x12, 0x2f, 0x0a, 0x06, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, - 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x50, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x52, 0x06, 0x70, - 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x22, 0x74, 0x0a, 0x14, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x50, 0x6c, - 0x61, 0x6e, 0x65, 0x74, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x12, 0x5c, 0x0a, - 0x15, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, - 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x73, - 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x50, - 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x52, 0x65, - 0x63, 0x6f, 0x72, 0x64, 0x52, 0x15, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x41, 0x74, 0x74, 0x72, - 0x69, 0x62, 0x75, 0x74, 0x65, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x22, 0x3e, 0x0a, 0x0b, 0x45, - 0x76, 0x65, 0x6e, 0x74, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x12, 0x2f, 0x0a, 0x06, 0x70, 0x6c, - 0x61, 0x79, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x73, 0x74, 0x72, - 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x50, 0x6c, 0x61, - 0x79, 0x65, 0x72, 0x52, 0x06, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x22, 0x42, 0x0a, 0x0c, 0x45, - 0x76, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x12, 0x32, 0x0a, 0x07, 0x72, - 0x65, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x73, - 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x52, - 0x65, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x07, 0x72, 0x65, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x22, - 0x44, 0x0a, 0x0b, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x12, 0x35, - 0x0a, 0x09, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x75, 0x72, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x73, 0x75, 0x62, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4e, 0x0a, 0x0f, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x41, + 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3b, 0x0a, 0x0a, 0x61, 0x6c, 0x6c, + 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, + 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, + 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x61, 0x6c, 0x6c, 0x6f, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x4a, 0x0a, 0x0e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x41, + 0x67, 0x72, 0x65, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x38, 0x0a, 0x09, 0x61, 0x67, 0x72, 0x65, + 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x73, 0x74, + 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x41, 0x67, + 0x72, 0x65, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x09, 0x61, 0x67, 0x72, 0x65, 0x65, 0x6d, 0x65, + 0x6e, 0x74, 0x22, 0x3a, 0x0a, 0x0a, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x46, 0x6c, 0x65, 0x65, 0x74, + 0x12, 0x2c, 0x0a, 0x05, 0x66, 0x6c, 0x65, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x16, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, + 0x73, 0x2e, 0x46, 0x6c, 0x65, 0x65, 0x74, 0x52, 0x05, 0x66, 0x6c, 0x65, 0x65, 0x74, 0x22, 0x3a, + 0x0a, 0x0a, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x12, 0x2c, 0x0a, 0x05, + 0x67, 0x75, 0x69, 0x6c, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x73, 0x74, + 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x47, 0x75, + 0x69, 0x6c, 0x64, 0x52, 0x05, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x22, 0x46, 0x0a, 0x0d, 0x45, 0x76, + 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x35, 0x0a, 0x08, 0x69, + 0x6e, 0x66, 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, + 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, + 0x49, 0x6e, 0x66, 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x69, 0x6e, 0x66, 0x75, 0x73, 0x69, + 0x6f, 0x6e, 0x22, 0x3e, 0x0a, 0x0b, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x50, 0x6c, 0x61, 0x6e, 0x65, + 0x74, 0x12, 0x2f, 0x0a, 0x06, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, - 0x63, 0x74, 0x73, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x09, 0x73, 0x74, 0x72, 0x75, - 0x63, 0x74, 0x75, 0x72, 0x65, 0x22, 0x74, 0x0a, 0x14, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x53, 0x74, - 0x72, 0x75, 0x63, 0x74, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x12, 0x5c, 0x0a, - 0x15, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, - 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x73, - 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x53, - 0x74, 0x72, 0x75, 0x63, 0x74, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x52, 0x65, - 0x63, 0x6f, 0x72, 0x64, 0x52, 0x15, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x41, 0x74, 0x74, 0x72, - 0x69, 0x62, 0x75, 0x74, 0x65, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x22, 0x5e, 0x0a, 0x13, 0x45, - 0x76, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x44, 0x65, 0x66, 0x65, 0x6e, 0x64, - 0x65, 0x72, 0x12, 0x47, 0x0a, 0x0e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x44, 0x65, 0x66, 0x65, - 0x6e, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x73, 0x74, 0x72, - 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x53, 0x74, 0x72, - 0x75, 0x63, 0x74, 0x44, 0x65, 0x66, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x52, 0x0e, 0x73, 0x74, 0x72, - 0x75, 0x63, 0x74, 0x44, 0x65, 0x66, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x22, 0x4e, 0x0a, 0x0f, 0x45, - 0x76, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x3b, - 0x0a, 0x0a, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, - 0x75, 0x63, 0x74, 0x73, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, - 0x0a, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x22, 0x4e, 0x0a, 0x0f, 0x45, - 0x76, 0x65, 0x6e, 0x74, 0x53, 0x75, 0x62, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3b, - 0x0a, 0x0a, 0x73, 0x75, 0x62, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, - 0x75, 0x63, 0x74, 0x73, 0x2e, 0x53, 0x75, 0x62, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, - 0x0a, 0x73, 0x75, 0x62, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x57, 0x0a, 0x09, 0x45, - 0x76, 0x65, 0x6e, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x4a, 0x0a, 0x0f, 0x65, 0x76, 0x65, 0x6e, - 0x74, 0x54, 0x69, 0x6d, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x20, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, - 0x63, 0x74, 0x73, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x44, 0x65, 0x74, - 0x61, 0x69, 0x6c, 0x52, 0x0f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x44, 0x65, - 0x74, 0x61, 0x69, 0x6c, 0x22, 0x77, 0x0a, 0x0f, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x54, 0x69, 0x6d, - 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x12, 0x20, 0x0a, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, - 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x62, 0x6c, - 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x42, 0x0a, 0x09, 0x62, 0x6c, 0x6f, - 0x63, 0x6b, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, - 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, - 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x08, 0xc8, 0xde, 0x1f, 0x00, 0x90, 0xdf, - 0x1f, 0x01, 0x52, 0x09, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x69, 0x6d, 0x65, 0x22, 0x60, 0x0a, - 0x0f, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, - 0x12, 0x4d, 0x0a, 0x10, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, - 0x63, 0x6f, 0x72, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x73, 0x74, 0x72, - 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x50, 0x65, 0x72, - 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x10, 0x70, - 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x22, - 0x48, 0x0a, 0x09, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x47, 0x72, 0x69, 0x64, 0x12, 0x3b, 0x0a, 0x0a, - 0x67, 0x72, 0x69, 0x64, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x1b, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, - 0x74, 0x73, 0x2e, 0x47, 0x72, 0x69, 0x64, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x0a, 0x67, - 0x72, 0x69, 0x64, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x22, 0x29, 0x0a, 0x0b, 0x45, 0x76, 0x65, - 0x6e, 0x74, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x6f, 0x62, 0x6a, 0x65, - 0x63, 0x74, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6f, 0x62, 0x6a, 0x65, - 0x63, 0x74, 0x49, 0x64, 0x22, 0x6e, 0x0a, 0x17, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x41, 0x64, 0x64, - 0x72, 0x65, 0x73, 0x73, 0x41, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, - 0x53, 0x0a, 0x12, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x41, 0x73, 0x73, 0x6f, 0x63, 0x69, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x73, 0x74, - 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x41, 0x64, - 0x64, 0x72, 0x65, 0x73, 0x73, 0x41, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x52, 0x12, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x41, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x62, 0x0a, 0x14, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x41, 0x64, 0x64, - 0x72, 0x65, 0x73, 0x73, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x12, 0x4a, 0x0a, 0x0f, - 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, - 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x41, - 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x52, 0x0f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, - 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x22, 0x8e, 0x01, 0x0a, 0x1f, 0x45, 0x76, 0x65, - 0x6e, 0x74, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, - 0x70, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x6b, 0x0a, 0x1a, - 0x67, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x41, - 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x63, 0x74, 0x73, 0x2e, 0x50, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x52, 0x06, 0x70, 0x6c, 0x61, 0x6e, + 0x65, 0x74, 0x22, 0x74, 0x0a, 0x14, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x50, 0x6c, 0x61, 0x6e, 0x65, + 0x74, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x12, 0x5c, 0x0a, 0x15, 0x70, 0x6c, + 0x61, 0x6e, 0x65, 0x74, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x52, 0x65, 0x63, + 0x6f, 0x72, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x73, 0x74, 0x72, 0x75, + 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x50, 0x6c, 0x61, 0x6e, + 0x65, 0x74, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x52, 0x65, 0x63, 0x6f, 0x72, + 0x64, 0x52, 0x15, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, + 0x74, 0x65, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x22, 0x3e, 0x0a, 0x0b, 0x45, 0x76, 0x65, 0x6e, + 0x74, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x12, 0x2f, 0x0a, 0x06, 0x70, 0x6c, 0x61, 0x79, 0x65, + 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, + 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, + 0x52, 0x06, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x22, 0x46, 0x0a, 0x0d, 0x45, 0x76, 0x65, 0x6e, + 0x74, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x12, 0x35, 0x0a, 0x08, 0x70, 0x72, 0x6f, + 0x76, 0x69, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x73, 0x74, + 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x50, 0x72, + 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, + 0x22, 0x42, 0x0a, 0x0c, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x61, 0x63, 0x74, 0x6f, 0x72, + 0x12, 0x32, 0x0a, 0x07, 0x72, 0x65, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x18, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, + 0x63, 0x74, 0x73, 0x2e, 0x52, 0x65, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x07, 0x72, 0x65, 0x61, + 0x63, 0x74, 0x6f, 0x72, 0x22, 0x44, 0x0a, 0x0b, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x72, + 0x75, 0x63, 0x74, 0x12, 0x35, 0x0a, 0x09, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x75, 0x72, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, + 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, + 0x09, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x75, 0x72, 0x65, 0x22, 0x74, 0x0a, 0x14, 0x45, 0x76, + 0x65, 0x6e, 0x74, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, + 0x74, 0x65, 0x12, 0x5c, 0x0a, 0x15, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x41, 0x74, 0x74, 0x72, + 0x69, 0x62, 0x75, 0x74, 0x65, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x26, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, + 0x63, 0x74, 0x73, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, + 0x75, 0x74, 0x65, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x15, 0x73, 0x74, 0x72, 0x75, 0x63, + 0x74, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, + 0x22, 0x5e, 0x0a, 0x13, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x44, + 0x65, 0x66, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x12, 0x47, 0x0a, 0x0e, 0x73, 0x74, 0x72, 0x75, 0x63, + 0x74, 0x44, 0x65, 0x66, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1f, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, + 0x73, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x44, 0x65, 0x66, 0x65, 0x6e, 0x64, 0x65, 0x72, + 0x52, 0x0e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x44, 0x65, 0x66, 0x65, 0x6e, 0x64, 0x65, 0x72, + 0x22, 0x4e, 0x0a, 0x0f, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x54, + 0x79, 0x70, 0x65, 0x12, 0x3b, 0x0a, 0x0a, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x54, 0x79, 0x70, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, + 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, + 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, + 0x22, 0x4e, 0x0a, 0x0f, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x53, 0x75, 0x62, 0x73, 0x74, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x12, 0x3b, 0x0a, 0x0a, 0x73, 0x75, 0x62, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, + 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x53, 0x75, 0x62, 0x73, 0x74, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x73, 0x75, 0x62, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x22, 0x57, 0x0a, 0x09, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x4a, 0x0a, + 0x0f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, + 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x54, 0x69, + 0x6d, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, 0x0f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x54, + 0x69, 0x6d, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x22, 0x77, 0x0a, 0x0f, 0x45, 0x76, 0x65, + 0x6e, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x12, 0x20, 0x0a, 0x0b, + 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x42, + 0x0a, 0x09, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x08, 0xc8, + 0xde, 0x1f, 0x00, 0x90, 0xdf, 0x1f, 0x01, 0x52, 0x09, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x69, + 0x6d, 0x65, 0x22, 0x60, 0x0a, 0x0f, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x50, 0x65, 0x72, 0x6d, 0x69, + 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x4d, 0x0a, 0x10, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, + 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x21, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, + 0x73, 0x2e, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x63, 0x6f, + 0x72, 0x64, 0x52, 0x10, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, + 0x63, 0x6f, 0x72, 0x64, 0x22, 0x48, 0x0a, 0x09, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x47, 0x72, 0x69, + 0x64, 0x12, 0x3b, 0x0a, 0x0a, 0x67, 0x72, 0x69, 0x64, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, + 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x47, 0x72, 0x69, 0x64, 0x52, 0x65, 0x63, 0x6f, + 0x72, 0x64, 0x52, 0x0a, 0x67, 0x72, 0x69, 0x64, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x22, 0x8f, + 0x01, 0x0a, 0x17, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, + 0x47, 0x72, 0x61, 0x6e, 0x74, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x12, 0x74, 0x0a, 0x1d, 0x65, 0x76, + 0x65, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x47, 0x72, 0x61, 0x6e, 0x74, + 0x47, 0x75, 0x69, 0x6c, 0x64, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x2e, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, + 0x63, 0x74, 0x73, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, + 0x72, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x44, 0x65, 0x74, 0x61, 0x69, + 0x6c, 0x52, 0x1d, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, + 0x47, 0x72, 0x61, 0x6e, 0x74, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, + 0x22, 0x59, 0x0a, 0x1d, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, + 0x72, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x44, 0x65, 0x74, 0x61, 0x69, + 0x6c, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, + 0x64, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x22, 0x93, 0x01, 0x0a, 0x18, + 0x45, 0x76, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x65, 0x76, + 0x6f, 0x6b, 0x65, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x12, 0x77, 0x0a, 0x1e, 0x65, 0x76, 0x65, 0x6e, + 0x74, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x47, + 0x75, 0x69, 0x6c, 0x64, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x2f, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, + 0x74, 0x73, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, + 0x52, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x44, 0x65, 0x74, 0x61, 0x69, + 0x6c, 0x52, 0x1e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, + 0x52, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x44, 0x65, 0x74, 0x61, 0x69, + 0x6c, 0x22, 0x5a, 0x0a, 0x1e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, + 0x65, 0x72, 0x52, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x44, 0x65, 0x74, + 0x61, 0x69, 0x6c, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, + 0x72, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x22, 0x2f, 0x0a, + 0x11, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x48, 0x61, 0x6c, 0x74, + 0x65, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, 0x22, 0x30, + 0x0a, 0x12, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x52, 0x65, 0x73, + 0x75, 0x6d, 0x65, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, + 0x22, 0x29, 0x0a, 0x0b, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x12, + 0x1a, 0x0a, 0x08, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x08, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x64, 0x22, 0x6e, 0x0a, 0x17, 0x45, + 0x76, 0x65, 0x6e, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x41, 0x73, 0x73, 0x6f, 0x63, + 0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x53, 0x0a, 0x12, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, + 0x73, 0x41, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, + 0x75, 0x63, 0x74, 0x73, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x41, 0x73, 0x73, 0x6f, + 0x63, 0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x12, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, + 0x41, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x62, 0x0a, 0x14, 0x45, + 0x76, 0x65, 0x6e, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x41, 0x63, 0x74, 0x69, 0x76, + 0x69, 0x74, 0x79, 0x12, 0x4a, 0x0a, 0x0f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x41, 0x63, + 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x73, + 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x41, + 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x52, 0x0f, + 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x22, + 0x7b, 0x0a, 0x12, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x42, 0x61, 0x6e, + 0x6b, 0x4d, 0x69, 0x6e, 0x74, 0x12, 0x65, 0x0a, 0x18, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x47, 0x75, + 0x69, 0x6c, 0x64, 0x42, 0x61, 0x6e, 0x6b, 0x4d, 0x69, 0x6e, 0x74, 0x44, 0x65, 0x74, 0x61, 0x69, + 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, + 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x47, + 0x75, 0x69, 0x6c, 0x64, 0x42, 0x61, 0x6e, 0x6b, 0x4d, 0x69, 0x6e, 0x74, 0x44, 0x65, 0x74, 0x61, + 0x69, 0x6c, 0x52, 0x18, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x42, 0x61, + 0x6e, 0x6b, 0x4d, 0x69, 0x6e, 0x74, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x22, 0x94, 0x01, 0x0a, + 0x18, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x42, 0x61, 0x6e, 0x6b, 0x4d, + 0x69, 0x6e, 0x74, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x75, 0x69, + 0x6c, 0x64, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x67, 0x75, 0x69, 0x6c, + 0x64, 0x49, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x70, + 0x68, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, + 0x41, 0x6c, 0x70, 0x68, 0x61, 0x12, 0x20, 0x0a, 0x0b, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x54, + 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x61, 0x6d, 0x6f, 0x75, + 0x6e, 0x74, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x65, + 0x72, 0x49, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x65, + 0x72, 0x49, 0x64, 0x22, 0x83, 0x01, 0x0a, 0x14, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x47, 0x75, 0x69, + 0x6c, 0x64, 0x42, 0x61, 0x6e, 0x6b, 0x52, 0x65, 0x64, 0x65, 0x65, 0x6d, 0x12, 0x6b, 0x0a, 0x1a, + 0x65, 0x76, 0x65, 0x6e, 0x74, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x42, 0x61, 0x6e, 0x6b, 0x52, 0x65, + 0x64, 0x65, 0x65, 0x6d, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, - 0x74, 0x73, 0x2e, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, - 0x69, 0x70, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x1a, 0x67, + 0x74, 0x73, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x42, 0x61, 0x6e, + 0x6b, 0x52, 0x65, 0x64, 0x65, 0x65, 0x6d, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, 0x1a, 0x65, + 0x76, 0x65, 0x6e, 0x74, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x42, 0x61, 0x6e, 0x6b, 0x52, 0x65, 0x64, + 0x65, 0x65, 0x6d, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x22, 0x96, 0x01, 0x0a, 0x1a, 0x45, 0x76, + 0x65, 0x6e, 0x74, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x42, 0x61, 0x6e, 0x6b, 0x52, 0x65, 0x64, 0x65, + 0x65, 0x6d, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x75, 0x69, 0x6c, + 0x64, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, + 0x49, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x70, 0x68, + 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x41, + 0x6c, 0x70, 0x68, 0x61, 0x12, 0x20, 0x0a, 0x0b, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x54, 0x6f, + 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x61, 0x6d, 0x6f, 0x75, 0x6e, + 0x74, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, + 0x49, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, + 0x49, 0x64, 0x22, 0xb0, 0x01, 0x0a, 0x1f, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x47, 0x75, 0x69, 0x6c, + 0x64, 0x42, 0x61, 0x6e, 0x6b, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x73, 0x63, 0x61, 0x74, 0x65, 0x41, + 0x6e, 0x64, 0x42, 0x75, 0x72, 0x6e, 0x12, 0x8c, 0x01, 0x0a, 0x25, 0x65, 0x76, 0x65, 0x6e, 0x74, + 0x47, 0x75, 0x69, 0x6c, 0x64, 0x42, 0x61, 0x6e, 0x6b, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x73, 0x63, + 0x61, 0x74, 0x65, 0x41, 0x6e, 0x64, 0x42, 0x75, 0x72, 0x6e, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, + 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x47, 0x75, + 0x69, 0x6c, 0x64, 0x42, 0x61, 0x6e, 0x6b, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x73, 0x63, 0x61, 0x74, + 0x65, 0x41, 0x6e, 0x64, 0x42, 0x75, 0x72, 0x6e, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, 0x25, + 0x65, 0x76, 0x65, 0x6e, 0x74, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x42, 0x61, 0x6e, 0x6b, 0x43, 0x6f, + 0x6e, 0x66, 0x69, 0x73, 0x63, 0x61, 0x74, 0x65, 0x41, 0x6e, 0x64, 0x42, 0x75, 0x72, 0x6e, 0x44, + 0x65, 0x74, 0x61, 0x69, 0x6c, 0x22, 0x9f, 0x01, 0x0a, 0x25, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x47, + 0x75, 0x69, 0x6c, 0x64, 0x42, 0x61, 0x6e, 0x6b, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x73, 0x63, 0x61, + 0x74, 0x65, 0x41, 0x6e, 0x64, 0x42, 0x75, 0x72, 0x6e, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x12, + 0x18, 0x0a, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x61, 0x6d, 0x6f, + 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, + 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x12, 0x20, 0x0a, 0x0b, 0x61, + 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, + 0x52, 0x0b, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x18, 0x0a, + 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, + 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x8e, 0x01, 0x0a, 0x1f, 0x45, 0x76, 0x65, 0x6e, + 0x74, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, + 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x6b, 0x0a, 0x1a, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x41, 0x70, - 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x63, 0x0a, 0x0c, 0x45, 0x76, 0x65, - 0x6e, 0x74, 0x4f, 0x72, 0x65, 0x4d, 0x69, 0x6e, 0x65, 0x12, 0x53, 0x0a, 0x12, 0x65, 0x76, 0x65, - 0x6e, 0x74, 0x4f, 0x72, 0x65, 0x4d, 0x69, 0x6e, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, - 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x4f, 0x72, 0x65, - 0x4d, 0x69, 0x6e, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, 0x12, 0x65, 0x76, 0x65, 0x6e, - 0x74, 0x4f, 0x72, 0x65, 0x4d, 0x69, 0x6e, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x22, 0x70, - 0x0a, 0x12, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x4f, 0x72, 0x65, 0x4d, 0x69, 0x6e, 0x65, 0x44, 0x65, - 0x74, 0x61, 0x69, 0x6c, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, - 0x12, 0x26, 0x0a, 0x0e, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x41, 0x64, 0x64, 0x72, 0x65, - 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, - 0x79, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, - 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, - 0x22, 0x73, 0x0a, 0x10, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x52, 0x65, - 0x66, 0x69, 0x6e, 0x65, 0x12, 0x5f, 0x0a, 0x16, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x41, 0x6c, 0x70, - 0x68, 0x61, 0x52, 0x65, 0x66, 0x69, 0x6e, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, - 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x41, 0x6c, 0x70, 0x68, - 0x61, 0x52, 0x65, 0x66, 0x69, 0x6e, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, 0x16, 0x65, - 0x76, 0x65, 0x6e, 0x74, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x52, 0x65, 0x66, 0x69, 0x6e, 0x65, 0x44, - 0x65, 0x74, 0x61, 0x69, 0x6c, 0x22, 0x74, 0x0a, 0x16, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x41, 0x6c, - 0x70, 0x68, 0x61, 0x52, 0x65, 0x66, 0x69, 0x6e, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x12, - 0x1a, 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, 0x12, 0x26, 0x0a, 0x0e, 0x70, - 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x0e, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x41, 0x64, 0x64, 0x72, - 0x65, 0x73, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x04, 0x52, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x73, 0x0a, 0x10, 0x45, - 0x76, 0x65, 0x6e, 0x74, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x49, 0x6e, 0x66, 0x75, 0x73, 0x65, 0x12, - 0x5f, 0x0a, 0x16, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x49, 0x6e, 0x66, - 0x75, 0x73, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x27, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, - 0x73, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x49, 0x6e, 0x66, 0x75, - 0x73, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, 0x16, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x41, - 0x6c, 0x70, 0x68, 0x61, 0x49, 0x6e, 0x66, 0x75, 0x73, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, - 0x22, 0x74, 0x0a, 0x16, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x49, 0x6e, - 0x66, 0x75, 0x73, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6c, - 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6c, - 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, 0x12, 0x26, 0x0a, 0x0e, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, - 0x79, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, - 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x16, - 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, - 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x73, 0x0a, 0x10, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x41, - 0x6c, 0x70, 0x68, 0x61, 0x44, 0x65, 0x66, 0x75, 0x73, 0x65, 0x12, 0x5f, 0x0a, 0x16, 0x65, 0x76, - 0x65, 0x6e, 0x74, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x44, 0x65, 0x66, 0x75, 0x73, 0x65, 0x44, 0x65, - 0x74, 0x61, 0x69, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x73, 0x74, 0x72, - 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x45, 0x76, 0x65, - 0x6e, 0x74, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x44, 0x65, 0x66, 0x75, 0x73, 0x65, 0x44, 0x65, 0x74, - 0x61, 0x69, 0x6c, 0x52, 0x16, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x44, - 0x65, 0x66, 0x75, 0x73, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x22, 0x58, 0x0a, 0x16, 0x45, - 0x76, 0x65, 0x6e, 0x74, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x44, 0x65, 0x66, 0x75, 0x73, 0x65, 0x44, - 0x65, 0x74, 0x61, 0x69, 0x6c, 0x12, 0x26, 0x0a, 0x0e, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, - 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x70, - 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x16, 0x0a, - 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x61, - 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x67, 0x0a, 0x0d, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x4f, 0x72, - 0x65, 0x54, 0x68, 0x65, 0x66, 0x74, 0x12, 0x56, 0x0a, 0x13, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x4f, - 0x72, 0x65, 0x54, 0x68, 0x65, 0x66, 0x74, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, - 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x4f, 0x72, 0x65, 0x54, 0x68, - 0x65, 0x66, 0x74, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, 0x13, 0x65, 0x76, 0x65, 0x6e, 0x74, - 0x4f, 0x72, 0x65, 0x54, 0x68, 0x65, 0x66, 0x74, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x22, 0xe1, - 0x01, 0x0a, 0x13, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x4f, 0x72, 0x65, 0x54, 0x68, 0x65, 0x66, 0x74, - 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x12, 0x32, 0x0a, 0x14, 0x76, 0x69, 0x63, 0x74, 0x69, 0x6d, - 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x14, 0x76, 0x69, 0x63, 0x74, 0x69, 0x6d, 0x50, 0x72, 0x69, 0x6d, - 0x61, 0x72, 0x79, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x26, 0x0a, 0x0e, 0x76, 0x69, - 0x63, 0x74, 0x69, 0x6d, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x0e, 0x76, 0x69, 0x63, 0x74, 0x69, 0x6d, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, - 0x49, 0x64, 0x12, 0x30, 0x0a, 0x13, 0x74, 0x68, 0x69, 0x65, 0x66, 0x50, 0x72, 0x69, 0x6d, 0x61, - 0x72, 0x79, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x13, 0x74, 0x68, 0x69, 0x65, 0x66, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x41, 0x64, 0x64, - 0x72, 0x65, 0x73, 0x73, 0x12, 0x24, 0x0a, 0x0d, 0x74, 0x68, 0x69, 0x65, 0x66, 0x50, 0x6c, 0x61, - 0x79, 0x65, 0x72, 0x49, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x74, 0x68, 0x69, - 0x65, 0x66, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x6d, - 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x61, 0x6d, 0x6f, 0x75, - 0x6e, 0x74, 0x22, 0x6f, 0x0a, 0x0f, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x4f, 0x72, 0x65, 0x4d, 0x69, - 0x67, 0x72, 0x61, 0x74, 0x65, 0x12, 0x5c, 0x0a, 0x15, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x4f, 0x72, - 0x65, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, + 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x2b, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, + 0x73, 0x2e, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, + 0x70, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x1a, 0x67, 0x75, + 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x41, 0x70, 0x70, + 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x63, 0x0a, 0x0c, 0x45, 0x76, 0x65, 0x6e, + 0x74, 0x4f, 0x72, 0x65, 0x4d, 0x69, 0x6e, 0x65, 0x12, 0x53, 0x0a, 0x12, 0x65, 0x76, 0x65, 0x6e, + 0x74, 0x4f, 0x72, 0x65, 0x4d, 0x69, 0x6e, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x4f, 0x72, 0x65, 0x4d, - 0x69, 0x67, 0x72, 0x61, 0x74, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, 0x15, 0x65, 0x76, - 0x65, 0x6e, 0x74, 0x4f, 0x72, 0x65, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x65, 0x44, 0x65, 0x74, - 0x61, 0x69, 0x6c, 0x22, 0xa1, 0x01, 0x0a, 0x15, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x4f, 0x72, 0x65, - 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x12, 0x1a, 0x0a, - 0x08, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x08, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, 0x12, 0x26, 0x0a, 0x0e, 0x70, 0x72, 0x69, - 0x6d, 0x61, 0x72, 0x79, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0e, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, - 0x73, 0x12, 0x2c, 0x0a, 0x11, 0x6f, 0x6c, 0x64, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x41, - 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x6f, 0x6c, - 0x64, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, - 0x16, 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, - 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x5f, 0x0a, 0x0b, 0x45, 0x76, 0x65, 0x6e, 0x74, - 0x41, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x12, 0x50, 0x0a, 0x11, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x41, - 0x74, 0x74, 0x61, 0x63, 0x6b, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x22, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, - 0x63, 0x74, 0x73, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x41, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x44, - 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, 0x11, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x41, 0x74, 0x74, 0x61, - 0x63, 0x6b, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x22, 0xd6, 0x09, 0x0a, 0x11, 0x45, 0x76, 0x65, - 0x6e, 0x74, 0x41, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x12, 0x2a, - 0x0a, 0x10, 0x61, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x65, 0x72, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, - 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x61, 0x74, 0x74, 0x61, 0x63, 0x6b, - 0x65, 0x72, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x49, 0x64, 0x12, 0x2e, 0x0a, 0x12, 0x61, 0x74, - 0x74, 0x61, 0x63, 0x6b, 0x65, 0x72, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x12, 0x61, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x65, 0x72, - 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x62, 0x0a, 0x1a, 0x61, 0x74, - 0x74, 0x61, 0x63, 0x6b, 0x65, 0x72, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x4c, 0x6f, 0x63, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1b, + 0x69, 0x6e, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, 0x12, 0x65, 0x76, 0x65, 0x6e, 0x74, + 0x4f, 0x72, 0x65, 0x4d, 0x69, 0x6e, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x22, 0x70, 0x0a, + 0x12, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x4f, 0x72, 0x65, 0x4d, 0x69, 0x6e, 0x65, 0x44, 0x65, 0x74, + 0x61, 0x69, 0x6c, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, 0x12, + 0x26, 0x0a, 0x0e, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, + 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, + 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, + 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x22, + 0x73, 0x0a, 0x10, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x52, 0x65, 0x66, + 0x69, 0x6e, 0x65, 0x12, 0x5f, 0x0a, 0x16, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x41, 0x6c, 0x70, 0x68, + 0x61, 0x52, 0x65, 0x66, 0x69, 0x6e, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, + 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x41, 0x6c, 0x70, 0x68, 0x61, + 0x52, 0x65, 0x66, 0x69, 0x6e, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, 0x16, 0x65, 0x76, + 0x65, 0x6e, 0x74, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x52, 0x65, 0x66, 0x69, 0x6e, 0x65, 0x44, 0x65, + 0x74, 0x61, 0x69, 0x6c, 0x22, 0x74, 0x0a, 0x16, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x41, 0x6c, 0x70, + 0x68, 0x61, 0x52, 0x65, 0x66, 0x69, 0x6e, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x12, 0x1a, + 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, 0x12, 0x26, 0x0a, 0x0e, 0x70, 0x72, + 0x69, 0x6d, 0x61, 0x72, 0x79, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0e, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x41, 0x64, 0x64, 0x72, 0x65, + 0x73, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x04, 0x52, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x73, 0x0a, 0x10, 0x45, 0x76, + 0x65, 0x6e, 0x74, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x49, 0x6e, 0x66, 0x75, 0x73, 0x65, 0x12, 0x5f, + 0x0a, 0x16, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x49, 0x6e, 0x66, 0x75, + 0x73, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, - 0x2e, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x42, 0x05, 0xa8, 0xe7, 0xb0, - 0x2a, 0x01, 0x52, 0x1a, 0x61, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x65, 0x72, 0x53, 0x74, 0x72, 0x75, - 0x63, 0x74, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x3a, - 0x0a, 0x18, 0x61, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x65, 0x72, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, - 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x18, 0x61, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x65, 0x72, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, - 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x61, 0x0a, 0x1c, 0x61, 0x74, - 0x74, 0x61, 0x63, 0x6b, 0x65, 0x72, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x4f, 0x70, 0x65, 0x72, - 0x61, 0x74, 0x69, 0x6e, 0x67, 0x41, 0x6d, 0x62, 0x69, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, - 0x32, 0x16, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, - 0x74, 0x73, 0x2e, 0x61, 0x6d, 0x62, 0x69, 0x74, 0x42, 0x05, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, - 0x1c, 0x61, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x65, 0x72, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x4f, - 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6e, 0x67, 0x41, 0x6d, 0x62, 0x69, 0x74, 0x12, 0x2e, 0x0a, - 0x12, 0x61, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x65, 0x72, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x53, - 0x6c, 0x6f, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x12, 0x61, 0x74, 0x74, 0x61, 0x63, - 0x6b, 0x65, 0x72, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x53, 0x6c, 0x6f, 0x74, 0x12, 0x45, 0x0a, - 0x0c, 0x77, 0x65, 0x61, 0x70, 0x6f, 0x6e, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x18, 0x07, 0x20, - 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, - 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x74, 0x65, 0x63, 0x68, 0x57, 0x65, 0x61, 0x70, 0x6f, 0x6e, - 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x52, 0x0c, 0x77, 0x65, 0x61, 0x70, 0x6f, 0x6e, 0x53, 0x79, - 0x73, 0x74, 0x65, 0x6d, 0x12, 0x48, 0x0a, 0x0d, 0x77, 0x65, 0x61, 0x70, 0x6f, 0x6e, 0x43, 0x6f, - 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x22, 0x2e, 0x73, 0x74, - 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x74, 0x65, - 0x63, 0x68, 0x57, 0x65, 0x61, 0x70, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x52, - 0x0d, 0x77, 0x65, 0x61, 0x70, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x12, 0x4b, - 0x0a, 0x0e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x57, 0x65, 0x61, 0x70, 0x6f, 0x6e, 0x72, 0x79, - 0x18, 0x09, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x23, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, - 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x74, 0x65, 0x63, 0x68, 0x41, 0x63, 0x74, - 0x69, 0x76, 0x65, 0x57, 0x65, 0x61, 0x70, 0x6f, 0x6e, 0x72, 0x79, 0x52, 0x0e, 0x61, 0x63, 0x74, - 0x69, 0x76, 0x65, 0x57, 0x65, 0x61, 0x70, 0x6f, 0x6e, 0x72, 0x79, 0x12, 0x5c, 0x0a, 0x15, 0x65, - 0x76, 0x65, 0x6e, 0x74, 0x41, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x53, 0x68, 0x6f, 0x74, 0x44, 0x65, - 0x74, 0x61, 0x69, 0x6c, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x73, 0x74, 0x72, - 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x45, 0x76, 0x65, - 0x6e, 0x74, 0x41, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x53, 0x68, 0x6f, 0x74, 0x44, 0x65, 0x74, 0x61, - 0x69, 0x6c, 0x52, 0x15, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x41, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x53, - 0x68, 0x6f, 0x74, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x12, 0x36, 0x0a, 0x16, 0x72, 0x65, 0x63, - 0x6f, 0x69, 0x6c, 0x44, 0x61, 0x6d, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x41, 0x74, 0x74, 0x61, 0x63, - 0x6b, 0x65, 0x72, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x16, 0x72, 0x65, 0x63, 0x6f, 0x69, - 0x6c, 0x44, 0x61, 0x6d, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x41, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x65, - 0x72, 0x12, 0x22, 0x0a, 0x0c, 0x72, 0x65, 0x63, 0x6f, 0x69, 0x6c, 0x44, 0x61, 0x6d, 0x61, 0x67, - 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0c, 0x72, 0x65, 0x63, 0x6f, 0x69, 0x6c, 0x44, - 0x61, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x44, 0x0a, 0x1d, 0x72, 0x65, 0x63, 0x6f, 0x69, 0x6c, 0x44, - 0x61, 0x6d, 0x61, 0x67, 0x65, 0x44, 0x65, 0x73, 0x74, 0x72, 0x6f, 0x79, 0x65, 0x64, 0x41, 0x74, - 0x74, 0x61, 0x63, 0x6b, 0x65, 0x72, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x08, 0x52, 0x1d, 0x72, 0x65, - 0x63, 0x6f, 0x69, 0x6c, 0x44, 0x61, 0x6d, 0x61, 0x67, 0x65, 0x44, 0x65, 0x73, 0x74, 0x72, 0x6f, - 0x79, 0x65, 0x64, 0x41, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x65, 0x72, 0x12, 0x56, 0x0a, 0x26, 0x70, - 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x61, 0x72, 0x79, 0x44, 0x65, 0x66, 0x65, 0x6e, 0x73, 0x65, 0x43, - 0x61, 0x6e, 0x6e, 0x6f, 0x6e, 0x44, 0x61, 0x6d, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x41, 0x74, 0x74, - 0x61, 0x63, 0x6b, 0x65, 0x72, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x08, 0x52, 0x26, 0x70, 0x6c, 0x61, - 0x6e, 0x65, 0x74, 0x61, 0x72, 0x79, 0x44, 0x65, 0x66, 0x65, 0x6e, 0x73, 0x65, 0x43, 0x61, 0x6e, - 0x6e, 0x6f, 0x6e, 0x44, 0x61, 0x6d, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x41, 0x74, 0x74, 0x61, 0x63, - 0x6b, 0x65, 0x72, 0x12, 0x42, 0x0a, 0x1c, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x61, 0x72, 0x79, - 0x44, 0x65, 0x66, 0x65, 0x6e, 0x73, 0x65, 0x43, 0x61, 0x6e, 0x6e, 0x6f, 0x6e, 0x44, 0x61, 0x6d, - 0x61, 0x67, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x04, 0x52, 0x1c, 0x70, 0x6c, 0x61, 0x6e, 0x65, - 0x74, 0x61, 0x72, 0x79, 0x44, 0x65, 0x66, 0x65, 0x6e, 0x73, 0x65, 0x43, 0x61, 0x6e, 0x6e, 0x6f, - 0x6e, 0x44, 0x61, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x64, 0x0a, 0x2d, 0x70, 0x6c, 0x61, 0x6e, 0x65, - 0x74, 0x61, 0x72, 0x79, 0x44, 0x65, 0x66, 0x65, 0x6e, 0x73, 0x65, 0x43, 0x61, 0x6e, 0x6e, 0x6f, - 0x6e, 0x44, 0x61, 0x6d, 0x61, 0x67, 0x65, 0x44, 0x65, 0x73, 0x74, 0x72, 0x6f, 0x79, 0x65, 0x64, - 0x41, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x65, 0x72, 0x18, 0x10, 0x20, 0x01, 0x28, 0x08, 0x52, 0x2d, - 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x61, 0x72, 0x79, 0x44, 0x65, 0x66, 0x65, 0x6e, 0x73, 0x65, - 0x43, 0x61, 0x6e, 0x6e, 0x6f, 0x6e, 0x44, 0x61, 0x6d, 0x61, 0x67, 0x65, 0x44, 0x65, 0x73, 0x74, - 0x72, 0x6f, 0x79, 0x65, 0x64, 0x41, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x65, 0x72, 0x12, 0x2a, 0x0a, - 0x10, 0x61, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x65, 0x72, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, - 0x64, 0x18, 0x11, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x61, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x65, - 0x72, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, 0x12, 0x26, 0x0a, 0x0e, 0x74, 0x61, 0x72, - 0x67, 0x65, 0x74, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, 0x18, 0x12, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0e, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, - 0x64, 0x22, 0x9a, 0x10, 0x0a, 0x15, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x41, 0x74, 0x74, 0x61, 0x63, - 0x6b, 0x53, 0x68, 0x6f, 0x74, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x12, 0x26, 0x0a, 0x0e, 0x74, - 0x61, 0x72, 0x67, 0x65, 0x74, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x49, 0x64, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x0e, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x53, 0x74, 0x72, 0x75, 0x63, - 0x74, 0x49, 0x64, 0x12, 0x2a, 0x0a, 0x10, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x53, 0x74, 0x72, - 0x75, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x10, 0x74, - 0x61, 0x72, 0x67, 0x65, 0x74, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, - 0x5e, 0x0a, 0x18, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x4c, - 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x0e, 0x32, 0x1b, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, - 0x63, 0x74, 0x73, 0x2e, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x42, 0x05, - 0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, 0x18, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x53, 0x74, 0x72, - 0x75, 0x63, 0x74, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, - 0x36, 0x0a, 0x16, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x4c, + 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x49, 0x6e, 0x66, 0x75, 0x73, + 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, 0x16, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x41, 0x6c, + 0x70, 0x68, 0x61, 0x49, 0x6e, 0x66, 0x75, 0x73, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x22, + 0x74, 0x0a, 0x16, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x49, 0x6e, 0x66, + 0x75, 0x73, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6c, 0x61, + 0x79, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6c, 0x61, + 0x79, 0x65, 0x72, 0x49, 0x64, 0x12, 0x26, 0x0a, 0x0e, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, + 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x70, + 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x16, 0x0a, + 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x61, + 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x73, 0x0a, 0x10, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x41, 0x6c, + 0x70, 0x68, 0x61, 0x44, 0x65, 0x66, 0x75, 0x73, 0x65, 0x12, 0x5f, 0x0a, 0x16, 0x65, 0x76, 0x65, + 0x6e, 0x74, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x44, 0x65, 0x66, 0x75, 0x73, 0x65, 0x44, 0x65, 0x74, + 0x61, 0x69, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x73, 0x74, 0x72, 0x75, + 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x45, 0x76, 0x65, 0x6e, + 0x74, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x44, 0x65, 0x66, 0x75, 0x73, 0x65, 0x44, 0x65, 0x74, 0x61, + 0x69, 0x6c, 0x52, 0x16, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x44, 0x65, + 0x66, 0x75, 0x73, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x22, 0x58, 0x0a, 0x16, 0x45, 0x76, + 0x65, 0x6e, 0x74, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x44, 0x65, 0x66, 0x75, 0x73, 0x65, 0x44, 0x65, + 0x74, 0x61, 0x69, 0x6c, 0x12, 0x26, 0x0a, 0x0e, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x41, + 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x70, 0x72, + 0x69, 0x6d, 0x61, 0x72, 0x79, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x16, 0x0a, 0x06, + 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x61, 0x6d, + 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x67, 0x0a, 0x0d, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x4f, 0x72, 0x65, + 0x54, 0x68, 0x65, 0x66, 0x74, 0x12, 0x56, 0x0a, 0x13, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x4f, 0x72, + 0x65, 0x54, 0x68, 0x65, 0x66, 0x74, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, + 0x75, 0x63, 0x74, 0x73, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x4f, 0x72, 0x65, 0x54, 0x68, 0x65, + 0x66, 0x74, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, 0x13, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x4f, + 0x72, 0x65, 0x54, 0x68, 0x65, 0x66, 0x74, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x22, 0xe1, 0x01, + 0x0a, 0x13, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x4f, 0x72, 0x65, 0x54, 0x68, 0x65, 0x66, 0x74, 0x44, + 0x65, 0x74, 0x61, 0x69, 0x6c, 0x12, 0x32, 0x0a, 0x14, 0x76, 0x69, 0x63, 0x74, 0x69, 0x6d, 0x50, + 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x14, 0x76, 0x69, 0x63, 0x74, 0x69, 0x6d, 0x50, 0x72, 0x69, 0x6d, 0x61, + 0x72, 0x79, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x26, 0x0a, 0x0e, 0x76, 0x69, 0x63, + 0x74, 0x69, 0x6d, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0e, 0x76, 0x69, 0x63, 0x74, 0x69, 0x6d, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, + 0x64, 0x12, 0x30, 0x0a, 0x13, 0x74, 0x68, 0x69, 0x65, 0x66, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, + 0x79, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, + 0x74, 0x68, 0x69, 0x65, 0x66, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x41, 0x64, 0x64, 0x72, + 0x65, 0x73, 0x73, 0x12, 0x24, 0x0a, 0x0d, 0x74, 0x68, 0x69, 0x65, 0x66, 0x50, 0x6c, 0x61, 0x79, + 0x65, 0x72, 0x49, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x74, 0x68, 0x69, 0x65, + 0x66, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x6d, 0x6f, + 0x75, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, + 0x74, 0x22, 0x6f, 0x0a, 0x0f, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x4f, 0x72, 0x65, 0x4d, 0x69, 0x67, + 0x72, 0x61, 0x74, 0x65, 0x12, 0x5c, 0x0a, 0x15, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x4f, 0x72, 0x65, + 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, + 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x4f, 0x72, 0x65, 0x4d, 0x69, + 0x67, 0x72, 0x61, 0x74, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, 0x15, 0x65, 0x76, 0x65, + 0x6e, 0x74, 0x4f, 0x72, 0x65, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x65, 0x44, 0x65, 0x74, 0x61, + 0x69, 0x6c, 0x22, 0xa1, 0x01, 0x0a, 0x15, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x4f, 0x72, 0x65, 0x4d, + 0x69, 0x67, 0x72, 0x61, 0x74, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x12, 0x1a, 0x0a, 0x08, + 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, + 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, 0x12, 0x26, 0x0a, 0x0e, 0x70, 0x72, 0x69, 0x6d, + 0x61, 0x72, 0x79, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0e, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, + 0x12, 0x2c, 0x0a, 0x11, 0x6f, 0x6c, 0x64, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x41, 0x64, + 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x6f, 0x6c, 0x64, + 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x16, + 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, + 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x5f, 0x0a, 0x0b, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x41, + 0x74, 0x74, 0x61, 0x63, 0x6b, 0x12, 0x50, 0x0a, 0x11, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x41, 0x74, + 0x74, 0x61, 0x63, 0x6b, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x22, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, + 0x74, 0x73, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x41, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x44, 0x65, + 0x74, 0x61, 0x69, 0x6c, 0x52, 0x11, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x41, 0x74, 0x74, 0x61, 0x63, + 0x6b, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x22, 0xd6, 0x09, 0x0a, 0x11, 0x45, 0x76, 0x65, 0x6e, + 0x74, 0x41, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x12, 0x2a, 0x0a, + 0x10, 0x61, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x65, 0x72, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x49, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x61, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x65, + 0x72, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x49, 0x64, 0x12, 0x2e, 0x0a, 0x12, 0x61, 0x74, 0x74, + 0x61, 0x63, 0x6b, 0x65, 0x72, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x12, 0x61, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x65, 0x72, 0x53, + 0x74, 0x72, 0x75, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x62, 0x0a, 0x1a, 0x61, 0x74, 0x74, + 0x61, 0x63, 0x6b, 0x65, 0x72, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x4c, 0x6f, 0x63, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1b, 0x2e, + 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, + 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x42, 0x05, 0xa8, 0xe7, 0xb0, 0x2a, + 0x01, 0x52, 0x1a, 0x61, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x65, 0x72, 0x53, 0x74, 0x72, 0x75, 0x63, + 0x74, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x3a, 0x0a, + 0x18, 0x61, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x65, 0x72, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x16, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x4c, 0x6f, 0x63, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x5d, 0x0a, 0x1a, 0x74, 0x61, 0x72, 0x67, 0x65, + 0x18, 0x61, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x65, 0x72, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x4c, + 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x61, 0x0a, 0x1c, 0x61, 0x74, 0x74, + 0x61, 0x63, 0x6b, 0x65, 0x72, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x4f, 0x70, 0x65, 0x72, 0x61, + 0x74, 0x69, 0x6e, 0x67, 0x41, 0x6d, 0x62, 0x69, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x16, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, + 0x73, 0x2e, 0x61, 0x6d, 0x62, 0x69, 0x74, 0x42, 0x05, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, 0x1c, + 0x61, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x65, 0x72, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x4f, 0x70, + 0x65, 0x72, 0x61, 0x74, 0x69, 0x6e, 0x67, 0x41, 0x6d, 0x62, 0x69, 0x74, 0x12, 0x2e, 0x0a, 0x12, + 0x61, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x65, 0x72, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x53, 0x6c, + 0x6f, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x12, 0x61, 0x74, 0x74, 0x61, 0x63, 0x6b, + 0x65, 0x72, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x53, 0x6c, 0x6f, 0x74, 0x12, 0x45, 0x0a, 0x0c, + 0x77, 0x65, 0x61, 0x70, 0x6f, 0x6e, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x18, 0x07, 0x20, 0x01, + 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, + 0x75, 0x63, 0x74, 0x73, 0x2e, 0x74, 0x65, 0x63, 0x68, 0x57, 0x65, 0x61, 0x70, 0x6f, 0x6e, 0x53, + 0x79, 0x73, 0x74, 0x65, 0x6d, 0x52, 0x0c, 0x77, 0x65, 0x61, 0x70, 0x6f, 0x6e, 0x53, 0x79, 0x73, + 0x74, 0x65, 0x6d, 0x12, 0x48, 0x0a, 0x0d, 0x77, 0x65, 0x61, 0x70, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, + 0x74, 0x72, 0x6f, 0x6c, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x22, 0x2e, 0x73, 0x74, 0x72, + 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x74, 0x65, 0x63, + 0x68, 0x57, 0x65, 0x61, 0x70, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x52, 0x0d, + 0x77, 0x65, 0x61, 0x70, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x12, 0x4b, 0x0a, + 0x0e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x57, 0x65, 0x61, 0x70, 0x6f, 0x6e, 0x72, 0x79, 0x18, + 0x09, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x23, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, + 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x74, 0x65, 0x63, 0x68, 0x41, 0x63, 0x74, 0x69, + 0x76, 0x65, 0x57, 0x65, 0x61, 0x70, 0x6f, 0x6e, 0x72, 0x79, 0x52, 0x0e, 0x61, 0x63, 0x74, 0x69, + 0x76, 0x65, 0x57, 0x65, 0x61, 0x70, 0x6f, 0x6e, 0x72, 0x79, 0x12, 0x5c, 0x0a, 0x15, 0x65, 0x76, + 0x65, 0x6e, 0x74, 0x41, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x53, 0x68, 0x6f, 0x74, 0x44, 0x65, 0x74, + 0x61, 0x69, 0x6c, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x73, 0x74, 0x72, 0x75, + 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x45, 0x76, 0x65, 0x6e, + 0x74, 0x41, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x53, 0x68, 0x6f, 0x74, 0x44, 0x65, 0x74, 0x61, 0x69, + 0x6c, 0x52, 0x15, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x41, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x53, 0x68, + 0x6f, 0x74, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x12, 0x36, 0x0a, 0x16, 0x72, 0x65, 0x63, 0x6f, + 0x69, 0x6c, 0x44, 0x61, 0x6d, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x41, 0x74, 0x74, 0x61, 0x63, 0x6b, + 0x65, 0x72, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x16, 0x72, 0x65, 0x63, 0x6f, 0x69, 0x6c, + 0x44, 0x61, 0x6d, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x41, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x65, 0x72, + 0x12, 0x22, 0x0a, 0x0c, 0x72, 0x65, 0x63, 0x6f, 0x69, 0x6c, 0x44, 0x61, 0x6d, 0x61, 0x67, 0x65, + 0x18, 0x0c, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0c, 0x72, 0x65, 0x63, 0x6f, 0x69, 0x6c, 0x44, 0x61, + 0x6d, 0x61, 0x67, 0x65, 0x12, 0x44, 0x0a, 0x1d, 0x72, 0x65, 0x63, 0x6f, 0x69, 0x6c, 0x44, 0x61, + 0x6d, 0x61, 0x67, 0x65, 0x44, 0x65, 0x73, 0x74, 0x72, 0x6f, 0x79, 0x65, 0x64, 0x41, 0x74, 0x74, + 0x61, 0x63, 0x6b, 0x65, 0x72, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x08, 0x52, 0x1d, 0x72, 0x65, 0x63, + 0x6f, 0x69, 0x6c, 0x44, 0x61, 0x6d, 0x61, 0x67, 0x65, 0x44, 0x65, 0x73, 0x74, 0x72, 0x6f, 0x79, + 0x65, 0x64, 0x41, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x65, 0x72, 0x12, 0x56, 0x0a, 0x26, 0x70, 0x6c, + 0x61, 0x6e, 0x65, 0x74, 0x61, 0x72, 0x79, 0x44, 0x65, 0x66, 0x65, 0x6e, 0x73, 0x65, 0x43, 0x61, + 0x6e, 0x6e, 0x6f, 0x6e, 0x44, 0x61, 0x6d, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x41, 0x74, 0x74, 0x61, + 0x63, 0x6b, 0x65, 0x72, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x08, 0x52, 0x26, 0x70, 0x6c, 0x61, 0x6e, + 0x65, 0x74, 0x61, 0x72, 0x79, 0x44, 0x65, 0x66, 0x65, 0x6e, 0x73, 0x65, 0x43, 0x61, 0x6e, 0x6e, + 0x6f, 0x6e, 0x44, 0x61, 0x6d, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x41, 0x74, 0x74, 0x61, 0x63, 0x6b, + 0x65, 0x72, 0x12, 0x42, 0x0a, 0x1c, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x61, 0x72, 0x79, 0x44, + 0x65, 0x66, 0x65, 0x6e, 0x73, 0x65, 0x43, 0x61, 0x6e, 0x6e, 0x6f, 0x6e, 0x44, 0x61, 0x6d, 0x61, + 0x67, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x04, 0x52, 0x1c, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x74, + 0x61, 0x72, 0x79, 0x44, 0x65, 0x66, 0x65, 0x6e, 0x73, 0x65, 0x43, 0x61, 0x6e, 0x6e, 0x6f, 0x6e, + 0x44, 0x61, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x64, 0x0a, 0x2d, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x74, + 0x61, 0x72, 0x79, 0x44, 0x65, 0x66, 0x65, 0x6e, 0x73, 0x65, 0x43, 0x61, 0x6e, 0x6e, 0x6f, 0x6e, + 0x44, 0x61, 0x6d, 0x61, 0x67, 0x65, 0x44, 0x65, 0x73, 0x74, 0x72, 0x6f, 0x79, 0x65, 0x64, 0x41, + 0x74, 0x74, 0x61, 0x63, 0x6b, 0x65, 0x72, 0x18, 0x10, 0x20, 0x01, 0x28, 0x08, 0x52, 0x2d, 0x70, + 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x61, 0x72, 0x79, 0x44, 0x65, 0x66, 0x65, 0x6e, 0x73, 0x65, 0x43, + 0x61, 0x6e, 0x6e, 0x6f, 0x6e, 0x44, 0x61, 0x6d, 0x61, 0x67, 0x65, 0x44, 0x65, 0x73, 0x74, 0x72, + 0x6f, 0x79, 0x65, 0x64, 0x41, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x65, 0x72, 0x12, 0x2a, 0x0a, 0x10, + 0x61, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x65, 0x72, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, + 0x18, 0x11, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x61, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x65, 0x72, + 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, 0x12, 0x26, 0x0a, 0x0e, 0x74, 0x61, 0x72, 0x67, + 0x65, 0x74, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, 0x18, 0x12, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0e, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, + 0x22, 0x9a, 0x10, 0x0a, 0x15, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x41, 0x74, 0x74, 0x61, 0x63, 0x6b, + 0x53, 0x68, 0x6f, 0x74, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x12, 0x26, 0x0a, 0x0e, 0x74, 0x61, + 0x72, 0x67, 0x65, 0x74, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0e, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, + 0x49, 0x64, 0x12, 0x2a, 0x0a, 0x10, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x53, 0x74, 0x72, 0x75, + 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x10, 0x74, 0x61, + 0x72, 0x67, 0x65, 0x74, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x5e, + 0x0a, 0x18, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x4c, 0x6f, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, + 0x32, 0x1b, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, + 0x74, 0x73, 0x2e, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x42, 0x05, 0xa8, + 0xe7, 0xb0, 0x2a, 0x01, 0x52, 0x18, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x53, 0x74, 0x72, 0x75, + 0x63, 0x74, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x36, + 0x0a, 0x16, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x4c, 0x6f, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x16, + 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x4c, 0x6f, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x5d, 0x0a, 0x1a, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, + 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6e, 0x67, 0x41, + 0x6d, 0x62, 0x69, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, 0x73, 0x74, 0x72, + 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x61, 0x6d, 0x62, + 0x69, 0x74, 0x42, 0x05, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, 0x1a, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6e, 0x67, - 0x41, 0x6d, 0x62, 0x69, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, 0x73, 0x74, - 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x61, 0x6d, - 0x62, 0x69, 0x74, 0x42, 0x05, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, 0x1a, 0x74, 0x61, 0x72, 0x67, - 0x65, 0x74, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6e, - 0x67, 0x41, 0x6d, 0x62, 0x69, 0x74, 0x12, 0x2a, 0x0a, 0x10, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, - 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x53, 0x6c, 0x6f, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, - 0x52, 0x10, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x53, 0x6c, - 0x6f, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x76, 0x61, 0x64, 0x65, 0x64, 0x18, 0x07, 0x20, 0x01, - 0x28, 0x08, 0x52, 0x06, 0x65, 0x76, 0x61, 0x64, 0x65, 0x64, 0x12, 0x43, 0x0a, 0x0b, 0x65, 0x76, - 0x61, 0x64, 0x65, 0x64, 0x43, 0x61, 0x75, 0x73, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, - 0x21, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, - 0x73, 0x2e, 0x74, 0x65, 0x63, 0x68, 0x55, 0x6e, 0x69, 0x74, 0x44, 0x65, 0x66, 0x65, 0x6e, 0x73, - 0x65, 0x73, 0x52, 0x0b, 0x65, 0x76, 0x61, 0x64, 0x65, 0x64, 0x43, 0x61, 0x75, 0x73, 0x65, 0x12, - 0x3c, 0x0a, 0x19, 0x65, 0x76, 0x61, 0x64, 0x65, 0x64, 0x42, 0x79, 0x50, 0x6c, 0x61, 0x6e, 0x65, - 0x74, 0x61, 0x72, 0x79, 0x44, 0x65, 0x66, 0x65, 0x6e, 0x73, 0x65, 0x73, 0x18, 0x09, 0x20, 0x01, - 0x28, 0x08, 0x52, 0x19, 0x65, 0x76, 0x61, 0x64, 0x65, 0x64, 0x42, 0x79, 0x50, 0x6c, 0x61, 0x6e, - 0x65, 0x74, 0x61, 0x72, 0x79, 0x44, 0x65, 0x66, 0x65, 0x6e, 0x73, 0x65, 0x73, 0x12, 0x6e, 0x0a, - 0x1e, 0x65, 0x76, 0x61, 0x64, 0x65, 0x64, 0x42, 0x79, 0x50, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x61, - 0x72, 0x79, 0x44, 0x65, 0x66, 0x65, 0x6e, 0x73, 0x65, 0x73, 0x43, 0x61, 0x75, 0x73, 0x65, 0x18, - 0x0a, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x26, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, - 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x74, 0x65, 0x63, 0x68, 0x50, 0x6c, 0x61, 0x6e, - 0x65, 0x74, 0x61, 0x72, 0x79, 0x44, 0x65, 0x66, 0x65, 0x6e, 0x73, 0x65, 0x73, 0x52, 0x1e, 0x65, - 0x76, 0x61, 0x64, 0x65, 0x64, 0x42, 0x79, 0x50, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x61, 0x72, 0x79, - 0x44, 0x65, 0x66, 0x65, 0x6e, 0x73, 0x65, 0x73, 0x43, 0x61, 0x75, 0x73, 0x65, 0x12, 0x18, 0x0a, - 0x07, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, - 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x12, 0x2c, 0x0a, 0x11, 0x62, 0x6c, 0x6f, 0x63, 0x6b, - 0x65, 0x64, 0x42, 0x79, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x49, 0x64, 0x18, 0x0c, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x11, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x42, 0x79, 0x53, 0x74, 0x72, - 0x75, 0x63, 0x74, 0x49, 0x64, 0x12, 0x30, 0x0a, 0x13, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x65, 0x64, - 0x42, 0x79, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x18, 0x0d, 0x20, 0x01, - 0x28, 0x04, 0x52, 0x13, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x42, 0x79, 0x53, 0x74, 0x72, - 0x75, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x64, 0x0a, 0x1b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, - 0x65, 0x64, 0x42, 0x79, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1b, 0x2e, 0x73, - 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x6f, - 0x62, 0x6a, 0x65, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x42, 0x05, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, - 0x52, 0x1b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x42, 0x79, 0x53, 0x74, 0x72, 0x75, 0x63, - 0x74, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x3c, 0x0a, + 0x41, 0x6d, 0x62, 0x69, 0x74, 0x12, 0x2a, 0x0a, 0x10, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x53, + 0x74, 0x72, 0x75, 0x63, 0x74, 0x53, 0x6c, 0x6f, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, + 0x10, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x53, 0x6c, 0x6f, + 0x74, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x76, 0x61, 0x64, 0x65, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x06, 0x65, 0x76, 0x61, 0x64, 0x65, 0x64, 0x12, 0x43, 0x0a, 0x0b, 0x65, 0x76, 0x61, + 0x64, 0x65, 0x64, 0x43, 0x61, 0x75, 0x73, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, + 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, + 0x2e, 0x74, 0x65, 0x63, 0x68, 0x55, 0x6e, 0x69, 0x74, 0x44, 0x65, 0x66, 0x65, 0x6e, 0x73, 0x65, + 0x73, 0x52, 0x0b, 0x65, 0x76, 0x61, 0x64, 0x65, 0x64, 0x43, 0x61, 0x75, 0x73, 0x65, 0x12, 0x3c, + 0x0a, 0x19, 0x65, 0x76, 0x61, 0x64, 0x65, 0x64, 0x42, 0x79, 0x50, 0x6c, 0x61, 0x6e, 0x65, 0x74, + 0x61, 0x72, 0x79, 0x44, 0x65, 0x66, 0x65, 0x6e, 0x73, 0x65, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x19, 0x65, 0x76, 0x61, 0x64, 0x65, 0x64, 0x42, 0x79, 0x50, 0x6c, 0x61, 0x6e, 0x65, + 0x74, 0x61, 0x72, 0x79, 0x44, 0x65, 0x66, 0x65, 0x6e, 0x73, 0x65, 0x73, 0x12, 0x6e, 0x0a, 0x1e, + 0x65, 0x76, 0x61, 0x64, 0x65, 0x64, 0x42, 0x79, 0x50, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x61, 0x72, + 0x79, 0x44, 0x65, 0x66, 0x65, 0x6e, 0x73, 0x65, 0x73, 0x43, 0x61, 0x75, 0x73, 0x65, 0x18, 0x0a, + 0x20, 0x01, 0x28, 0x0e, 0x32, 0x26, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, + 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x74, 0x65, 0x63, 0x68, 0x50, 0x6c, 0x61, 0x6e, 0x65, + 0x74, 0x61, 0x72, 0x79, 0x44, 0x65, 0x66, 0x65, 0x6e, 0x73, 0x65, 0x73, 0x52, 0x1e, 0x65, 0x76, + 0x61, 0x64, 0x65, 0x64, 0x42, 0x79, 0x50, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x61, 0x72, 0x79, 0x44, + 0x65, 0x66, 0x65, 0x6e, 0x73, 0x65, 0x73, 0x43, 0x61, 0x75, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, + 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x62, + 0x6c, 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x12, 0x2c, 0x0a, 0x11, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x65, + 0x64, 0x42, 0x79, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x49, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x11, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x42, 0x79, 0x53, 0x74, 0x72, 0x75, + 0x63, 0x74, 0x49, 0x64, 0x12, 0x30, 0x0a, 0x13, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x42, + 0x79, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, + 0x04, 0x52, 0x13, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x42, 0x79, 0x53, 0x74, 0x72, 0x75, + 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x64, 0x0a, 0x1b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x65, + 0x64, 0x42, 0x79, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x54, 0x79, 0x70, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1b, 0x2e, 0x73, 0x74, + 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x6f, 0x62, + 0x6a, 0x65, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x42, 0x05, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, + 0x1b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x42, 0x79, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, + 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x3c, 0x0a, 0x19, + 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x42, 0x79, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x4c, + 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x19, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x42, 0x79, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, - 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x19, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x42, 0x79, 0x53, 0x74, 0x72, 0x75, 0x63, - 0x74, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x63, 0x0a, 0x1d, 0x62, - 0x6c, 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x42, 0x79, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x4f, 0x70, - 0x65, 0x72, 0x61, 0x74, 0x69, 0x6e, 0x67, 0x41, 0x6d, 0x62, 0x69, 0x74, 0x18, 0x10, 0x20, 0x01, - 0x28, 0x0e, 0x32, 0x16, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, - 0x75, 0x63, 0x74, 0x73, 0x2e, 0x61, 0x6d, 0x62, 0x69, 0x74, 0x42, 0x05, 0xa8, 0xe7, 0xb0, 0x2a, - 0x01, 0x52, 0x1d, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x42, 0x79, 0x53, 0x74, 0x72, 0x75, - 0x63, 0x74, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6e, 0x67, 0x41, 0x6d, 0x62, 0x69, 0x74, - 0x12, 0x30, 0x0a, 0x13, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x42, 0x79, 0x53, 0x74, 0x72, - 0x75, 0x63, 0x74, 0x53, 0x6c, 0x6f, 0x74, 0x18, 0x11, 0x20, 0x01, 0x28, 0x04, 0x52, 0x13, 0x62, - 0x6c, 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x42, 0x79, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x53, 0x6c, - 0x6f, 0x74, 0x12, 0x2a, 0x0a, 0x10, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x44, 0x65, 0x73, - 0x74, 0x72, 0x6f, 0x79, 0x65, 0x64, 0x18, 0x12, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x62, 0x6c, - 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x44, 0x65, 0x73, 0x74, 0x72, 0x6f, 0x79, 0x65, 0x64, 0x12, 0x7d, - 0x0a, 0x20, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x41, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x44, 0x65, 0x66, - 0x65, 0x6e, 0x64, 0x65, 0x72, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x44, 0x65, 0x74, 0x61, - 0x69, 0x6c, 0x18, 0x13, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, - 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, - 0x41, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x44, 0x65, 0x66, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x43, 0x6f, - 0x75, 0x6e, 0x74, 0x65, 0x72, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, 0x20, 0x65, 0x76, 0x65, - 0x6e, 0x74, 0x41, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x44, 0x65, 0x66, 0x65, 0x6e, 0x64, 0x65, 0x72, - 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x12, 0x20, 0x0a, - 0x0b, 0x64, 0x61, 0x6d, 0x61, 0x67, 0x65, 0x44, 0x65, 0x61, 0x6c, 0x74, 0x18, 0x14, 0x20, 0x01, - 0x28, 0x04, 0x52, 0x0b, 0x64, 0x61, 0x6d, 0x61, 0x67, 0x65, 0x44, 0x65, 0x61, 0x6c, 0x74, 0x12, - 0x28, 0x0a, 0x0f, 0x64, 0x61, 0x6d, 0x61, 0x67, 0x65, 0x52, 0x65, 0x64, 0x75, 0x63, 0x74, 0x69, - 0x6f, 0x6e, 0x18, 0x15, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0f, 0x64, 0x61, 0x6d, 0x61, 0x67, 0x65, - 0x52, 0x65, 0x64, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x55, 0x0a, 0x14, 0x64, 0x61, 0x6d, - 0x61, 0x67, 0x65, 0x52, 0x65, 0x64, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x61, 0x75, 0x73, - 0x65, 0x18, 0x16, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, - 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x74, 0x65, 0x63, 0x68, 0x55, 0x6e, - 0x69, 0x74, 0x44, 0x65, 0x66, 0x65, 0x6e, 0x73, 0x65, 0x73, 0x52, 0x14, 0x64, 0x61, 0x6d, 0x61, + 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x63, 0x0a, 0x1d, 0x62, 0x6c, + 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x42, 0x79, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x4f, 0x70, 0x65, + 0x72, 0x61, 0x74, 0x69, 0x6e, 0x67, 0x41, 0x6d, 0x62, 0x69, 0x74, 0x18, 0x10, 0x20, 0x01, 0x28, + 0x0e, 0x32, 0x16, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, + 0x63, 0x74, 0x73, 0x2e, 0x61, 0x6d, 0x62, 0x69, 0x74, 0x42, 0x05, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, + 0x52, 0x1d, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x42, 0x79, 0x53, 0x74, 0x72, 0x75, 0x63, + 0x74, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6e, 0x67, 0x41, 0x6d, 0x62, 0x69, 0x74, 0x12, + 0x30, 0x0a, 0x13, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x42, 0x79, 0x53, 0x74, 0x72, 0x75, + 0x63, 0x74, 0x53, 0x6c, 0x6f, 0x74, 0x18, 0x11, 0x20, 0x01, 0x28, 0x04, 0x52, 0x13, 0x62, 0x6c, + 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x42, 0x79, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x53, 0x6c, 0x6f, + 0x74, 0x12, 0x2a, 0x0a, 0x10, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x44, 0x65, 0x73, 0x74, + 0x72, 0x6f, 0x79, 0x65, 0x64, 0x18, 0x12, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x62, 0x6c, 0x6f, + 0x63, 0x6b, 0x65, 0x72, 0x44, 0x65, 0x73, 0x74, 0x72, 0x6f, 0x79, 0x65, 0x64, 0x12, 0x7d, 0x0a, + 0x20, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x41, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x44, 0x65, 0x66, 0x65, + 0x6e, 0x64, 0x65, 0x72, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x44, 0x65, 0x74, 0x61, 0x69, + 0x6c, 0x18, 0x13, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, + 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x41, + 0x74, 0x74, 0x61, 0x63, 0x6b, 0x44, 0x65, 0x66, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x43, 0x6f, 0x75, + 0x6e, 0x74, 0x65, 0x72, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, 0x20, 0x65, 0x76, 0x65, 0x6e, + 0x74, 0x41, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x44, 0x65, 0x66, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x43, + 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x12, 0x20, 0x0a, 0x0b, + 0x64, 0x61, 0x6d, 0x61, 0x67, 0x65, 0x44, 0x65, 0x61, 0x6c, 0x74, 0x18, 0x14, 0x20, 0x01, 0x28, + 0x04, 0x52, 0x0b, 0x64, 0x61, 0x6d, 0x61, 0x67, 0x65, 0x44, 0x65, 0x61, 0x6c, 0x74, 0x12, 0x28, + 0x0a, 0x0f, 0x64, 0x61, 0x6d, 0x61, 0x67, 0x65, 0x52, 0x65, 0x64, 0x75, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x18, 0x15, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0f, 0x64, 0x61, 0x6d, 0x61, 0x67, 0x65, 0x52, + 0x65, 0x64, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x55, 0x0a, 0x14, 0x64, 0x61, 0x6d, 0x61, 0x67, 0x65, 0x52, 0x65, 0x64, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x61, 0x75, 0x73, 0x65, - 0x12, 0x16, 0x0a, 0x06, 0x64, 0x61, 0x6d, 0x61, 0x67, 0x65, 0x18, 0x17, 0x20, 0x01, 0x28, 0x04, - 0x52, 0x06, 0x64, 0x61, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x28, 0x0a, 0x0f, 0x74, 0x61, 0x72, 0x67, - 0x65, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x65, 0x64, 0x18, 0x18, 0x20, 0x01, 0x28, - 0x08, 0x52, 0x0f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, - 0x65, 0x64, 0x12, 0x34, 0x0a, 0x15, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x43, 0x6f, 0x75, 0x6e, - 0x74, 0x65, 0x72, 0x65, 0x64, 0x44, 0x61, 0x6d, 0x61, 0x67, 0x65, 0x18, 0x19, 0x20, 0x01, 0x28, - 0x04, 0x52, 0x15, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, - 0x65, 0x64, 0x44, 0x61, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x46, 0x0a, 0x1e, 0x74, 0x61, 0x72, 0x67, - 0x65, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x44, 0x65, 0x73, 0x74, 0x72, 0x6f, 0x79, - 0x65, 0x64, 0x41, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x65, 0x72, 0x18, 0x1a, 0x20, 0x01, 0x28, 0x08, - 0x52, 0x1e, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x44, - 0x65, 0x73, 0x74, 0x72, 0x6f, 0x79, 0x65, 0x64, 0x41, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x65, 0x72, - 0x12, 0x54, 0x0a, 0x12, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x65, - 0x72, 0x43, 0x61, 0x75, 0x73, 0x65, 0x18, 0x1b, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x24, 0x2e, 0x73, - 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x74, - 0x65, 0x63, 0x68, 0x50, 0x61, 0x73, 0x73, 0x69, 0x76, 0x65, 0x57, 0x65, 0x61, 0x70, 0x6f, 0x6e, - 0x72, 0x79, 0x52, 0x12, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x65, - 0x72, 0x43, 0x61, 0x75, 0x73, 0x65, 0x12, 0x28, 0x0a, 0x0f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, - 0x44, 0x65, 0x73, 0x74, 0x72, 0x6f, 0x79, 0x65, 0x64, 0x18, 0x1c, 0x20, 0x01, 0x28, 0x08, 0x52, - 0x0f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x44, 0x65, 0x73, 0x74, 0x72, 0x6f, 0x79, 0x65, 0x64, - 0x12, 0x48, 0x0a, 0x1f, 0x70, 0x6f, 0x73, 0x74, 0x44, 0x65, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, - 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x6d, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x41, 0x74, 0x74, 0x61, 0x63, - 0x6b, 0x65, 0x72, 0x18, 0x1d, 0x20, 0x01, 0x28, 0x08, 0x52, 0x1f, 0x70, 0x6f, 0x73, 0x74, 0x44, - 0x65, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x6d, 0x61, 0x67, 0x65, - 0x54, 0x6f, 0x41, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x65, 0x72, 0x12, 0x34, 0x0a, 0x15, 0x70, 0x6f, - 0x73, 0x74, 0x44, 0x65, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x6d, - 0x61, 0x67, 0x65, 0x18, 0x1e, 0x20, 0x01, 0x28, 0x04, 0x52, 0x15, 0x70, 0x6f, 0x73, 0x74, 0x44, + 0x18, 0x16, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, + 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x74, 0x65, 0x63, 0x68, 0x55, 0x6e, 0x69, + 0x74, 0x44, 0x65, 0x66, 0x65, 0x6e, 0x73, 0x65, 0x73, 0x52, 0x14, 0x64, 0x61, 0x6d, 0x61, 0x67, + 0x65, 0x52, 0x65, 0x64, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x61, 0x75, 0x73, 0x65, 0x12, + 0x16, 0x0a, 0x06, 0x64, 0x61, 0x6d, 0x61, 0x67, 0x65, 0x18, 0x17, 0x20, 0x01, 0x28, 0x04, 0x52, + 0x06, 0x64, 0x61, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x28, 0x0a, 0x0f, 0x74, 0x61, 0x72, 0x67, 0x65, + 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x65, 0x64, 0x18, 0x18, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x0f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x65, + 0x64, 0x12, 0x34, 0x0a, 0x15, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, + 0x65, 0x72, 0x65, 0x64, 0x44, 0x61, 0x6d, 0x61, 0x67, 0x65, 0x18, 0x19, 0x20, 0x01, 0x28, 0x04, + 0x52, 0x15, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x65, + 0x64, 0x44, 0x61, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x46, 0x0a, 0x1e, 0x74, 0x61, 0x72, 0x67, 0x65, + 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x44, 0x65, 0x73, 0x74, 0x72, 0x6f, 0x79, 0x65, + 0x64, 0x41, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x65, 0x72, 0x18, 0x1a, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x1e, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x44, 0x65, + 0x73, 0x74, 0x72, 0x6f, 0x79, 0x65, 0x64, 0x41, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x65, 0x72, 0x12, + 0x54, 0x0a, 0x12, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, + 0x43, 0x61, 0x75, 0x73, 0x65, 0x18, 0x1b, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x24, 0x2e, 0x73, 0x74, + 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x74, 0x65, + 0x63, 0x68, 0x50, 0x61, 0x73, 0x73, 0x69, 0x76, 0x65, 0x57, 0x65, 0x61, 0x70, 0x6f, 0x6e, 0x72, + 0x79, 0x52, 0x12, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, + 0x43, 0x61, 0x75, 0x73, 0x65, 0x12, 0x28, 0x0a, 0x0f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x44, + 0x65, 0x73, 0x74, 0x72, 0x6f, 0x79, 0x65, 0x64, 0x18, 0x1c, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, + 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x44, 0x65, 0x73, 0x74, 0x72, 0x6f, 0x79, 0x65, 0x64, 0x12, + 0x48, 0x0a, 0x1f, 0x70, 0x6f, 0x73, 0x74, 0x44, 0x65, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x44, 0x61, 0x6d, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x41, 0x74, 0x74, 0x61, 0x63, 0x6b, + 0x65, 0x72, 0x18, 0x1d, 0x20, 0x01, 0x28, 0x08, 0x52, 0x1f, 0x70, 0x6f, 0x73, 0x74, 0x44, 0x65, + 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x6d, 0x61, 0x67, 0x65, 0x54, + 0x6f, 0x41, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x65, 0x72, 0x12, 0x34, 0x0a, 0x15, 0x70, 0x6f, 0x73, + 0x74, 0x44, 0x65, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x6d, 0x61, + 0x67, 0x65, 0x18, 0x1e, 0x20, 0x01, 0x28, 0x04, 0x52, 0x15, 0x70, 0x6f, 0x73, 0x74, 0x44, 0x65, + 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x6d, 0x61, 0x67, 0x65, 0x12, + 0x56, 0x0a, 0x26, 0x70, 0x6f, 0x73, 0x74, 0x44, 0x65, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x44, 0x61, 0x6d, 0x61, 0x67, 0x65, 0x44, 0x65, 0x73, 0x74, 0x72, 0x6f, 0x79, 0x65, + 0x64, 0x41, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x65, 0x72, 0x18, 0x1f, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x26, 0x70, 0x6f, 0x73, 0x74, 0x44, 0x65, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x44, 0x61, 0x6d, 0x61, 0x67, 0x65, 0x44, 0x65, 0x73, 0x74, 0x72, 0x6f, 0x79, 0x65, 0x64, 0x41, + 0x74, 0x74, 0x61, 0x63, 0x6b, 0x65, 0x72, 0x12, 0x64, 0x0a, 0x1a, 0x70, 0x6f, 0x73, 0x74, 0x44, 0x65, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x6d, 0x61, 0x67, 0x65, - 0x12, 0x56, 0x0a, 0x26, 0x70, 0x6f, 0x73, 0x74, 0x44, 0x65, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, - 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x6d, 0x61, 0x67, 0x65, 0x44, 0x65, 0x73, 0x74, 0x72, 0x6f, 0x79, - 0x65, 0x64, 0x41, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x65, 0x72, 0x18, 0x1f, 0x20, 0x01, 0x28, 0x08, - 0x52, 0x26, 0x70, 0x6f, 0x73, 0x74, 0x44, 0x65, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x69, 0x6f, - 0x6e, 0x44, 0x61, 0x6d, 0x61, 0x67, 0x65, 0x44, 0x65, 0x73, 0x74, 0x72, 0x6f, 0x79, 0x65, 0x64, - 0x41, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x65, 0x72, 0x12, 0x64, 0x0a, 0x1a, 0x70, 0x6f, 0x73, 0x74, - 0x44, 0x65, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x6d, 0x61, 0x67, - 0x65, 0x43, 0x61, 0x75, 0x73, 0x65, 0x18, 0x20, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x24, 0x2e, 0x73, - 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x74, - 0x65, 0x63, 0x68, 0x50, 0x61, 0x73, 0x73, 0x69, 0x76, 0x65, 0x57, 0x65, 0x61, 0x70, 0x6f, 0x6e, - 0x72, 0x79, 0x52, 0x1a, 0x70, 0x6f, 0x73, 0x74, 0x44, 0x65, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, - 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x6d, 0x61, 0x67, 0x65, 0x43, 0x61, 0x75, 0x73, 0x65, 0x22, 0x9f, - 0x04, 0x0a, 0x20, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x41, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x44, 0x65, - 0x66, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x44, 0x65, 0x74, - 0x61, 0x69, 0x6c, 0x12, 0x2c, 0x0a, 0x11, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x42, 0x79, - 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, - 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x42, 0x79, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x49, - 0x64, 0x12, 0x30, 0x0a, 0x13, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x42, 0x79, 0x53, 0x74, - 0x72, 0x75, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x13, - 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x42, 0x79, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x54, - 0x79, 0x70, 0x65, 0x12, 0x64, 0x0a, 0x1b, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x42, 0x79, - 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, - 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1b, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, - 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x6f, 0x62, 0x6a, 0x65, 0x63, - 0x74, 0x54, 0x79, 0x70, 0x65, 0x42, 0x05, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, 0x1b, 0x63, 0x6f, - 0x75, 0x6e, 0x74, 0x65, 0x72, 0x42, 0x79, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x4c, 0x6f, 0x63, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x3c, 0x0a, 0x19, 0x63, 0x6f, 0x75, + 0x43, 0x61, 0x75, 0x73, 0x65, 0x18, 0x20, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x24, 0x2e, 0x73, 0x74, + 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x74, 0x65, + 0x63, 0x68, 0x50, 0x61, 0x73, 0x73, 0x69, 0x76, 0x65, 0x57, 0x65, 0x61, 0x70, 0x6f, 0x6e, 0x72, + 0x79, 0x52, 0x1a, 0x70, 0x6f, 0x73, 0x74, 0x44, 0x65, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x44, 0x61, 0x6d, 0x61, 0x67, 0x65, 0x43, 0x61, 0x75, 0x73, 0x65, 0x22, 0x9f, 0x04, + 0x0a, 0x20, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x41, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x44, 0x65, 0x66, + 0x65, 0x6e, 0x64, 0x65, 0x72, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x44, 0x65, 0x74, 0x61, + 0x69, 0x6c, 0x12, 0x2c, 0x0a, 0x11, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x42, 0x79, 0x53, + 0x74, 0x72, 0x75, 0x63, 0x74, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x63, + 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x42, 0x79, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x49, 0x64, + 0x12, 0x30, 0x0a, 0x13, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x42, 0x79, 0x53, 0x74, 0x72, + 0x75, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x13, 0x63, + 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x42, 0x79, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x54, 0x79, + 0x70, 0x65, 0x12, 0x64, 0x0a, 0x1b, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x42, 0x79, 0x53, + 0x74, 0x72, 0x75, 0x63, 0x74, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, + 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1b, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, + 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, + 0x54, 0x79, 0x70, 0x65, 0x42, 0x05, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, 0x1b, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x42, 0x79, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x4c, 0x6f, 0x63, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x19, 0x63, 0x6f, - 0x75, 0x6e, 0x74, 0x65, 0x72, 0x42, 0x79, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x4c, 0x6f, 0x63, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x63, 0x0a, 0x1d, 0x63, 0x6f, 0x75, 0x6e, 0x74, - 0x65, 0x72, 0x42, 0x79, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, - 0x69, 0x6e, 0x67, 0x41, 0x6d, 0x62, 0x69, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, - 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, - 0x2e, 0x61, 0x6d, 0x62, 0x69, 0x74, 0x42, 0x05, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, 0x1d, 0x63, - 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x42, 0x79, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x4f, 0x70, - 0x65, 0x72, 0x61, 0x74, 0x69, 0x6e, 0x67, 0x41, 0x6d, 0x62, 0x69, 0x74, 0x12, 0x30, 0x0a, 0x13, - 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x42, 0x79, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x53, - 0x6c, 0x6f, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x13, 0x63, 0x6f, 0x75, 0x6e, 0x74, - 0x65, 0x72, 0x42, 0x79, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x53, 0x6c, 0x6f, 0x74, 0x12, 0x24, - 0x0a, 0x0d, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x44, 0x61, 0x6d, 0x61, 0x67, 0x65, 0x18, - 0x07, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0d, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x44, 0x61, - 0x6d, 0x61, 0x67, 0x65, 0x12, 0x3a, 0x0a, 0x18, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x44, - 0x65, 0x73, 0x74, 0x72, 0x6f, 0x79, 0x65, 0x64, 0x41, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x65, 0x72, - 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x18, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x44, - 0x65, 0x73, 0x74, 0x72, 0x6f, 0x79, 0x65, 0x64, 0x41, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x65, 0x72, - 0x22, 0x57, 0x0a, 0x09, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x61, 0x69, 0x64, 0x12, 0x4a, 0x0a, - 0x0f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x61, 0x69, 0x64, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, - 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x61, - 0x69, 0x64, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, 0x0f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x52, - 0x61, 0x69, 0x64, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x22, 0x7c, 0x0a, 0x0f, 0x45, 0x76, 0x65, - 0x6e, 0x74, 0x52, 0x61, 0x69, 0x64, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x12, 0x18, 0x0a, 0x07, - 0x66, 0x6c, 0x65, 0x65, 0x74, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x66, - 0x6c, 0x65, 0x65, 0x74, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x74, - 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x74, - 0x49, 0x64, 0x12, 0x33, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x0e, 0x32, 0x1b, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, - 0x75, 0x63, 0x74, 0x73, 0x2e, 0x72, 0x61, 0x69, 0x64, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, - 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x42, 0xa1, 0x01, 0x0a, 0x13, 0x63, 0x6f, 0x6d, 0x2e, - 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x42, - 0x0b, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x20, - 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, - 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, - 0xa2, 0x02, 0x03, 0x53, 0x53, 0x58, 0xaa, 0x02, 0x0f, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, - 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0xca, 0x02, 0x0f, 0x53, 0x74, 0x72, 0x75, 0x63, - 0x74, 0x73, 0x5c, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0xe2, 0x02, 0x1b, 0x53, 0x74, 0x72, - 0x75, 0x63, 0x74, 0x73, 0x5c, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x5c, 0x47, 0x50, 0x42, - 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x10, 0x53, 0x74, 0x72, 0x75, 0x63, - 0x74, 0x73, 0x3a, 0x3a, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x33, + 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x3c, 0x0a, 0x19, 0x63, 0x6f, 0x75, 0x6e, + 0x74, 0x65, 0x72, 0x42, 0x79, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x4c, 0x6f, 0x63, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x19, 0x63, 0x6f, 0x75, + 0x6e, 0x74, 0x65, 0x72, 0x42, 0x79, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x4c, 0x6f, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x63, 0x0a, 0x1d, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x65, + 0x72, 0x42, 0x79, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, + 0x6e, 0x67, 0x41, 0x6d, 0x62, 0x69, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, + 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, + 0x61, 0x6d, 0x62, 0x69, 0x74, 0x42, 0x05, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, 0x1d, 0x63, 0x6f, + 0x75, 0x6e, 0x74, 0x65, 0x72, 0x42, 0x79, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x4f, 0x70, 0x65, + 0x72, 0x61, 0x74, 0x69, 0x6e, 0x67, 0x41, 0x6d, 0x62, 0x69, 0x74, 0x12, 0x30, 0x0a, 0x13, 0x63, + 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x42, 0x79, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x53, 0x6c, + 0x6f, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x13, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x65, + 0x72, 0x42, 0x79, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x53, 0x6c, 0x6f, 0x74, 0x12, 0x24, 0x0a, + 0x0d, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x44, 0x61, 0x6d, 0x61, 0x67, 0x65, 0x18, 0x07, + 0x20, 0x01, 0x28, 0x04, 0x52, 0x0d, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x44, 0x61, 0x6d, + 0x61, 0x67, 0x65, 0x12, 0x3a, 0x0a, 0x18, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x44, 0x65, + 0x73, 0x74, 0x72, 0x6f, 0x79, 0x65, 0x64, 0x41, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x65, 0x72, 0x18, + 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x18, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x44, 0x65, + 0x73, 0x74, 0x72, 0x6f, 0x79, 0x65, 0x64, 0x41, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x65, 0x72, 0x22, + 0x57, 0x0a, 0x09, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x61, 0x69, 0x64, 0x12, 0x4a, 0x0a, 0x0f, + 0x65, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x61, 0x69, 0x64, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, + 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x61, 0x69, + 0x64, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, 0x0f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x61, + 0x69, 0x64, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x22, 0x7c, 0x0a, 0x0f, 0x45, 0x76, 0x65, 0x6e, + 0x74, 0x52, 0x61, 0x69, 0x64, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x12, 0x18, 0x0a, 0x07, 0x66, + 0x6c, 0x65, 0x65, 0x74, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x66, 0x6c, + 0x65, 0x65, 0x74, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x49, + 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x49, + 0x64, 0x12, 0x33, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x0e, 0x32, 0x1b, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, + 0x63, 0x74, 0x73, 0x2e, 0x72, 0x61, 0x69, 0x64, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, + 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x42, 0xa1, 0x01, 0x0a, 0x13, 0x63, 0x6f, 0x6d, 0x2e, 0x73, + 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x42, 0x0b, + 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x20, 0x63, + 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, + 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0xa2, + 0x02, 0x03, 0x53, 0x53, 0x58, 0xaa, 0x02, 0x0f, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, + 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0xca, 0x02, 0x0f, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, + 0x73, 0x5c, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0xe2, 0x02, 0x1b, 0x53, 0x74, 0x72, 0x75, + 0x63, 0x74, 0x73, 0x5c, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x5c, 0x47, 0x50, 0x42, 0x4d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x10, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, + 0x73, 0x3a, 0x3a, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, } var ( @@ -23319,129 +30596,152 @@ func file_structs_structs_events_proto_rawDescGZIP() []byte { return file_structs_structs_events_proto_rawDescData } -var file_structs_structs_events_proto_msgTypes = make([]protoimpl.MessageInfo, 39) +var file_structs_structs_events_proto_msgTypes = make([]protoimpl.MessageInfo, 53) var file_structs_structs_events_proto_goTypes = []interface{}{ - (*EventAllocation)(nil), // 0: structs.structs.EventAllocation - (*EventFleet)(nil), // 1: structs.structs.EventFleet - (*EventGuild)(nil), // 2: structs.structs.EventGuild - (*EventInfusion)(nil), // 3: structs.structs.EventInfusion - (*EventPlanet)(nil), // 4: structs.structs.EventPlanet - (*EventPlanetAttribute)(nil), // 5: structs.structs.EventPlanetAttribute - (*EventPlayer)(nil), // 6: structs.structs.EventPlayer - (*EventReactor)(nil), // 7: structs.structs.EventReactor - (*EventStruct)(nil), // 8: structs.structs.EventStruct - (*EventStructAttribute)(nil), // 9: structs.structs.EventStructAttribute - (*EventStructDefender)(nil), // 10: structs.structs.EventStructDefender - (*EventStructType)(nil), // 11: structs.structs.EventStructType - (*EventSubstation)(nil), // 12: structs.structs.EventSubstation - (*EventTime)(nil), // 13: structs.structs.EventTime - (*EventTimeDetail)(nil), // 14: structs.structs.EventTimeDetail - (*EventPermission)(nil), // 15: structs.structs.EventPermission - (*EventGrid)(nil), // 16: structs.structs.EventGrid - (*EventDelete)(nil), // 17: structs.structs.EventDelete - (*EventAddressAssociation)(nil), // 18: structs.structs.EventAddressAssociation - (*EventAddressActivity)(nil), // 19: structs.structs.EventAddressActivity - (*EventGuildMembershipApplication)(nil), // 20: structs.structs.EventGuildMembershipApplication - (*EventOreMine)(nil), // 21: structs.structs.EventOreMine - (*EventOreMineDetail)(nil), // 22: structs.structs.EventOreMineDetail - (*EventAlphaRefine)(nil), // 23: structs.structs.EventAlphaRefine - (*EventAlphaRefineDetail)(nil), // 24: structs.structs.EventAlphaRefineDetail - (*EventAlphaInfuse)(nil), // 25: structs.structs.EventAlphaInfuse - (*EventAlphaInfuseDetail)(nil), // 26: structs.structs.EventAlphaInfuseDetail - (*EventAlphaDefuse)(nil), // 27: structs.structs.EventAlphaDefuse - (*EventAlphaDefuseDetail)(nil), // 28: structs.structs.EventAlphaDefuseDetail - (*EventOreTheft)(nil), // 29: structs.structs.EventOreTheft - (*EventOreTheftDetail)(nil), // 30: structs.structs.EventOreTheftDetail - (*EventOreMigrate)(nil), // 31: structs.structs.EventOreMigrate - (*EventOreMigrateDetail)(nil), // 32: structs.structs.EventOreMigrateDetail - (*EventAttack)(nil), // 33: structs.structs.EventAttack - (*EventAttackDetail)(nil), // 34: structs.structs.EventAttackDetail - (*EventAttackShotDetail)(nil), // 35: structs.structs.EventAttackShotDetail - (*EventAttackDefenderCounterDetail)(nil), // 36: structs.structs.EventAttackDefenderCounterDetail - (*EventRaid)(nil), // 37: structs.structs.EventRaid - (*EventRaidDetail)(nil), // 38: structs.structs.EventRaidDetail - (*Allocation)(nil), // 39: structs.structs.Allocation - (*Fleet)(nil), // 40: structs.structs.Fleet - (*Guild)(nil), // 41: structs.structs.Guild - (*Infusion)(nil), // 42: structs.structs.Infusion - (*Planet)(nil), // 43: structs.structs.Planet - (*PlanetAttributeRecord)(nil), // 44: structs.structs.PlanetAttributeRecord - (*Player)(nil), // 45: structs.structs.Player - (*Reactor)(nil), // 46: structs.structs.Reactor - (*Struct)(nil), // 47: structs.structs.Struct - (*StructAttributeRecord)(nil), // 48: structs.structs.StructAttributeRecord - (*StructDefender)(nil), // 49: structs.structs.StructDefender - (*StructType)(nil), // 50: structs.structs.StructType - (*Substation)(nil), // 51: structs.structs.Substation - (*timestamppb.Timestamp)(nil), // 52: google.protobuf.Timestamp - (*PermissionRecord)(nil), // 53: structs.structs.PermissionRecord - (*GridRecord)(nil), // 54: structs.structs.GridRecord - (*AddressAssociation)(nil), // 55: structs.structs.AddressAssociation - (*AddressActivity)(nil), // 56: structs.structs.AddressActivity - (*GuildMembershipApplication)(nil), // 57: structs.structs.GuildMembershipApplication - (ObjectType)(0), // 58: structs.structs.objectType - (Ambit)(0), // 59: structs.structs.ambit - (TechWeaponSystem)(0), // 60: structs.structs.techWeaponSystem - (TechWeaponControl)(0), // 61: structs.structs.techWeaponControl - (TechActiveWeaponry)(0), // 62: structs.structs.techActiveWeaponry - (TechUnitDefenses)(0), // 63: structs.structs.techUnitDefenses - (TechPlanetaryDefenses)(0), // 64: structs.structs.techPlanetaryDefenses - (TechPassiveWeaponry)(0), // 65: structs.structs.techPassiveWeaponry - (RaidStatus)(0), // 66: structs.structs.raidStatus + (*EventAllocation)(nil), // 0: structs.structs.EventAllocation + (*EventAgreement)(nil), // 1: structs.structs.EventAgreement + (*EventFleet)(nil), // 2: structs.structs.EventFleet + (*EventGuild)(nil), // 3: structs.structs.EventGuild + (*EventInfusion)(nil), // 4: structs.structs.EventInfusion + (*EventPlanet)(nil), // 5: structs.structs.EventPlanet + (*EventPlanetAttribute)(nil), // 6: structs.structs.EventPlanetAttribute + (*EventPlayer)(nil), // 7: structs.structs.EventPlayer + (*EventProvider)(nil), // 8: structs.structs.EventProvider + (*EventReactor)(nil), // 9: structs.structs.EventReactor + (*EventStruct)(nil), // 10: structs.structs.EventStruct + (*EventStructAttribute)(nil), // 11: structs.structs.EventStructAttribute + (*EventStructDefender)(nil), // 12: structs.structs.EventStructDefender + (*EventStructType)(nil), // 13: structs.structs.EventStructType + (*EventSubstation)(nil), // 14: structs.structs.EventSubstation + (*EventTime)(nil), // 15: structs.structs.EventTime + (*EventTimeDetail)(nil), // 16: structs.structs.EventTimeDetail + (*EventPermission)(nil), // 17: structs.structs.EventPermission + (*EventGrid)(nil), // 18: structs.structs.EventGrid + (*EventProviderGrantGuild)(nil), // 19: structs.structs.EventProviderGrantGuild + (*EventProviderGrantGuildDetail)(nil), // 20: structs.structs.EventProviderGrantGuildDetail + (*EventProviderRevokeGuild)(nil), // 21: structs.structs.EventProviderRevokeGuild + (*EventProviderRevokeGuildDetail)(nil), // 22: structs.structs.EventProviderRevokeGuildDetail + (*EventPlayerHalted)(nil), // 23: structs.structs.EventPlayerHalted + (*EventPlayerResumed)(nil), // 24: structs.structs.EventPlayerResumed + (*EventDelete)(nil), // 25: structs.structs.EventDelete + (*EventAddressAssociation)(nil), // 26: structs.structs.EventAddressAssociation + (*EventAddressActivity)(nil), // 27: structs.structs.EventAddressActivity + (*EventGuildBankMint)(nil), // 28: structs.structs.EventGuildBankMint + (*EventGuildBankMintDetail)(nil), // 29: structs.structs.EventGuildBankMintDetail + (*EventGuildBankRedeem)(nil), // 30: structs.structs.EventGuildBankRedeem + (*EventGuildBankRedeemDetail)(nil), // 31: structs.structs.EventGuildBankRedeemDetail + (*EventGuildBankConfiscateAndBurn)(nil), // 32: structs.structs.EventGuildBankConfiscateAndBurn + (*EventGuildBankConfiscateAndBurnDetail)(nil), // 33: structs.structs.EventGuildBankConfiscateAndBurnDetail + (*EventGuildMembershipApplication)(nil), // 34: structs.structs.EventGuildMembershipApplication + (*EventOreMine)(nil), // 35: structs.structs.EventOreMine + (*EventOreMineDetail)(nil), // 36: structs.structs.EventOreMineDetail + (*EventAlphaRefine)(nil), // 37: structs.structs.EventAlphaRefine + (*EventAlphaRefineDetail)(nil), // 38: structs.structs.EventAlphaRefineDetail + (*EventAlphaInfuse)(nil), // 39: structs.structs.EventAlphaInfuse + (*EventAlphaInfuseDetail)(nil), // 40: structs.structs.EventAlphaInfuseDetail + (*EventAlphaDefuse)(nil), // 41: structs.structs.EventAlphaDefuse + (*EventAlphaDefuseDetail)(nil), // 42: structs.structs.EventAlphaDefuseDetail + (*EventOreTheft)(nil), // 43: structs.structs.EventOreTheft + (*EventOreTheftDetail)(nil), // 44: structs.structs.EventOreTheftDetail + (*EventOreMigrate)(nil), // 45: structs.structs.EventOreMigrate + (*EventOreMigrateDetail)(nil), // 46: structs.structs.EventOreMigrateDetail + (*EventAttack)(nil), // 47: structs.structs.EventAttack + (*EventAttackDetail)(nil), // 48: structs.structs.EventAttackDetail + (*EventAttackShotDetail)(nil), // 49: structs.structs.EventAttackShotDetail + (*EventAttackDefenderCounterDetail)(nil), // 50: structs.structs.EventAttackDefenderCounterDetail + (*EventRaid)(nil), // 51: structs.structs.EventRaid + (*EventRaidDetail)(nil), // 52: structs.structs.EventRaidDetail + (*Allocation)(nil), // 53: structs.structs.Allocation + (*Agreement)(nil), // 54: structs.structs.Agreement + (*Fleet)(nil), // 55: structs.structs.Fleet + (*Guild)(nil), // 56: structs.structs.Guild + (*Infusion)(nil), // 57: structs.structs.Infusion + (*Planet)(nil), // 58: structs.structs.Planet + (*PlanetAttributeRecord)(nil), // 59: structs.structs.PlanetAttributeRecord + (*Player)(nil), // 60: structs.structs.Player + (*Provider)(nil), // 61: structs.structs.Provider + (*Reactor)(nil), // 62: structs.structs.Reactor + (*Struct)(nil), // 63: structs.structs.Struct + (*StructAttributeRecord)(nil), // 64: structs.structs.StructAttributeRecord + (*StructDefender)(nil), // 65: structs.structs.StructDefender + (*StructType)(nil), // 66: structs.structs.StructType + (*Substation)(nil), // 67: structs.structs.Substation + (*timestamppb.Timestamp)(nil), // 68: google.protobuf.Timestamp + (*PermissionRecord)(nil), // 69: structs.structs.PermissionRecord + (*GridRecord)(nil), // 70: structs.structs.GridRecord + (*AddressAssociation)(nil), // 71: structs.structs.AddressAssociation + (*AddressActivity)(nil), // 72: structs.structs.AddressActivity + (*GuildMembershipApplication)(nil), // 73: structs.structs.GuildMembershipApplication + (ObjectType)(0), // 74: structs.structs.objectType + (Ambit)(0), // 75: structs.structs.ambit + (TechWeaponSystem)(0), // 76: structs.structs.techWeaponSystem + (TechWeaponControl)(0), // 77: structs.structs.techWeaponControl + (TechActiveWeaponry)(0), // 78: structs.structs.techActiveWeaponry + (TechUnitDefenses)(0), // 79: structs.structs.techUnitDefenses + (TechPlanetaryDefenses)(0), // 80: structs.structs.techPlanetaryDefenses + (TechPassiveWeaponry)(0), // 81: structs.structs.techPassiveWeaponry + (RaidStatus)(0), // 82: structs.structs.raidStatus } var file_structs_structs_events_proto_depIdxs = []int32{ - 39, // 0: structs.structs.EventAllocation.allocation:type_name -> structs.structs.Allocation - 40, // 1: structs.structs.EventFleet.fleet:type_name -> structs.structs.Fleet - 41, // 2: structs.structs.EventGuild.guild:type_name -> structs.structs.Guild - 42, // 3: structs.structs.EventInfusion.infusion:type_name -> structs.structs.Infusion - 43, // 4: structs.structs.EventPlanet.planet:type_name -> structs.structs.Planet - 44, // 5: structs.structs.EventPlanetAttribute.planetAttributeRecord:type_name -> structs.structs.PlanetAttributeRecord - 45, // 6: structs.structs.EventPlayer.player:type_name -> structs.structs.Player - 46, // 7: structs.structs.EventReactor.reactor:type_name -> structs.structs.Reactor - 47, // 8: structs.structs.EventStruct.structure:type_name -> structs.structs.Struct - 48, // 9: structs.structs.EventStructAttribute.structAttributeRecord:type_name -> structs.structs.StructAttributeRecord - 49, // 10: structs.structs.EventStructDefender.structDefender:type_name -> structs.structs.StructDefender - 50, // 11: structs.structs.EventStructType.structType:type_name -> structs.structs.StructType - 51, // 12: structs.structs.EventSubstation.substation:type_name -> structs.structs.Substation - 14, // 13: structs.structs.EventTime.eventTimeDetail:type_name -> structs.structs.EventTimeDetail - 52, // 14: structs.structs.EventTimeDetail.blockTime:type_name -> google.protobuf.Timestamp - 53, // 15: structs.structs.EventPermission.permissionRecord:type_name -> structs.structs.PermissionRecord - 54, // 16: structs.structs.EventGrid.gridRecord:type_name -> structs.structs.GridRecord - 55, // 17: structs.structs.EventAddressAssociation.addressAssociation:type_name -> structs.structs.AddressAssociation - 56, // 18: structs.structs.EventAddressActivity.addressActivity:type_name -> structs.structs.AddressActivity - 57, // 19: structs.structs.EventGuildMembershipApplication.guildMembershipApplication:type_name -> structs.structs.GuildMembershipApplication - 22, // 20: structs.structs.EventOreMine.eventOreMineDetail:type_name -> structs.structs.EventOreMineDetail - 24, // 21: structs.structs.EventAlphaRefine.eventAlphaRefineDetail:type_name -> structs.structs.EventAlphaRefineDetail - 26, // 22: structs.structs.EventAlphaInfuse.eventAlphaInfuseDetail:type_name -> structs.structs.EventAlphaInfuseDetail - 28, // 23: structs.structs.EventAlphaDefuse.eventAlphaDefuseDetail:type_name -> structs.structs.EventAlphaDefuseDetail - 30, // 24: structs.structs.EventOreTheft.eventOreTheftDetail:type_name -> structs.structs.EventOreTheftDetail - 32, // 25: structs.structs.EventOreMigrate.eventOreMigrateDetail:type_name -> structs.structs.EventOreMigrateDetail - 34, // 26: structs.structs.EventAttack.eventAttackDetail:type_name -> structs.structs.EventAttackDetail - 58, // 27: structs.structs.EventAttackDetail.attackerStructLocationType:type_name -> structs.structs.objectType - 59, // 28: structs.structs.EventAttackDetail.attackerStructOperatingAmbit:type_name -> structs.structs.ambit - 60, // 29: structs.structs.EventAttackDetail.weaponSystem:type_name -> structs.structs.techWeaponSystem - 61, // 30: structs.structs.EventAttackDetail.weaponControl:type_name -> structs.structs.techWeaponControl - 62, // 31: structs.structs.EventAttackDetail.activeWeaponry:type_name -> structs.structs.techActiveWeaponry - 35, // 32: structs.structs.EventAttackDetail.eventAttackShotDetail:type_name -> structs.structs.EventAttackShotDetail - 58, // 33: structs.structs.EventAttackShotDetail.targetStructLocationType:type_name -> structs.structs.objectType - 59, // 34: structs.structs.EventAttackShotDetail.targetStructOperatingAmbit:type_name -> structs.structs.ambit - 63, // 35: structs.structs.EventAttackShotDetail.evadedCause:type_name -> structs.structs.techUnitDefenses - 64, // 36: structs.structs.EventAttackShotDetail.evadedByPlanetaryDefensesCause:type_name -> structs.structs.techPlanetaryDefenses - 58, // 37: structs.structs.EventAttackShotDetail.blockedByStructLocationType:type_name -> structs.structs.objectType - 59, // 38: structs.structs.EventAttackShotDetail.blockedByStructOperatingAmbit:type_name -> structs.structs.ambit - 36, // 39: structs.structs.EventAttackShotDetail.eventAttackDefenderCounterDetail:type_name -> structs.structs.EventAttackDefenderCounterDetail - 63, // 40: structs.structs.EventAttackShotDetail.damageReductionCause:type_name -> structs.structs.techUnitDefenses - 65, // 41: structs.structs.EventAttackShotDetail.targetCounterCause:type_name -> structs.structs.techPassiveWeaponry - 65, // 42: structs.structs.EventAttackShotDetail.postDestructionDamageCause:type_name -> structs.structs.techPassiveWeaponry - 58, // 43: structs.structs.EventAttackDefenderCounterDetail.counterByStructLocationType:type_name -> structs.structs.objectType - 59, // 44: structs.structs.EventAttackDefenderCounterDetail.counterByStructOperatingAmbit:type_name -> structs.structs.ambit - 38, // 45: structs.structs.EventRaid.eventRaidDetail:type_name -> structs.structs.EventRaidDetail - 66, // 46: structs.structs.EventRaidDetail.status:type_name -> structs.structs.raidStatus - 47, // [47:47] is the sub-list for method output_type - 47, // [47:47] is the sub-list for method input_type - 47, // [47:47] is the sub-list for extension type_name - 47, // [47:47] is the sub-list for extension extendee - 0, // [0:47] is the sub-list for field type_name + 53, // 0: structs.structs.EventAllocation.allocation:type_name -> structs.structs.Allocation + 54, // 1: structs.structs.EventAgreement.agreement:type_name -> structs.structs.Agreement + 55, // 2: structs.structs.EventFleet.fleet:type_name -> structs.structs.Fleet + 56, // 3: structs.structs.EventGuild.guild:type_name -> structs.structs.Guild + 57, // 4: structs.structs.EventInfusion.infusion:type_name -> structs.structs.Infusion + 58, // 5: structs.structs.EventPlanet.planet:type_name -> structs.structs.Planet + 59, // 6: structs.structs.EventPlanetAttribute.planetAttributeRecord:type_name -> structs.structs.PlanetAttributeRecord + 60, // 7: structs.structs.EventPlayer.player:type_name -> structs.structs.Player + 61, // 8: structs.structs.EventProvider.provider:type_name -> structs.structs.Provider + 62, // 9: structs.structs.EventReactor.reactor:type_name -> structs.structs.Reactor + 63, // 10: structs.structs.EventStruct.structure:type_name -> structs.structs.Struct + 64, // 11: structs.structs.EventStructAttribute.structAttributeRecord:type_name -> structs.structs.StructAttributeRecord + 65, // 12: structs.structs.EventStructDefender.structDefender:type_name -> structs.structs.StructDefender + 66, // 13: structs.structs.EventStructType.structType:type_name -> structs.structs.StructType + 67, // 14: structs.structs.EventSubstation.substation:type_name -> structs.structs.Substation + 16, // 15: structs.structs.EventTime.eventTimeDetail:type_name -> structs.structs.EventTimeDetail + 68, // 16: structs.structs.EventTimeDetail.blockTime:type_name -> google.protobuf.Timestamp + 69, // 17: structs.structs.EventPermission.permissionRecord:type_name -> structs.structs.PermissionRecord + 70, // 18: structs.structs.EventGrid.gridRecord:type_name -> structs.structs.GridRecord + 20, // 19: structs.structs.EventProviderGrantGuild.eventProviderGrantGuildDetail:type_name -> structs.structs.EventProviderGrantGuildDetail + 22, // 20: structs.structs.EventProviderRevokeGuild.eventProviderRevokeGuildDetail:type_name -> structs.structs.EventProviderRevokeGuildDetail + 71, // 21: structs.structs.EventAddressAssociation.addressAssociation:type_name -> structs.structs.AddressAssociation + 72, // 22: structs.structs.EventAddressActivity.addressActivity:type_name -> structs.structs.AddressActivity + 29, // 23: structs.structs.EventGuildBankMint.eventGuildBankMintDetail:type_name -> structs.structs.EventGuildBankMintDetail + 31, // 24: structs.structs.EventGuildBankRedeem.eventGuildBankRedeemDetail:type_name -> structs.structs.EventGuildBankRedeemDetail + 33, // 25: structs.structs.EventGuildBankConfiscateAndBurn.eventGuildBankConfiscateAndBurnDetail:type_name -> structs.structs.EventGuildBankConfiscateAndBurnDetail + 73, // 26: structs.structs.EventGuildMembershipApplication.guildMembershipApplication:type_name -> structs.structs.GuildMembershipApplication + 36, // 27: structs.structs.EventOreMine.eventOreMineDetail:type_name -> structs.structs.EventOreMineDetail + 38, // 28: structs.structs.EventAlphaRefine.eventAlphaRefineDetail:type_name -> structs.structs.EventAlphaRefineDetail + 40, // 29: structs.structs.EventAlphaInfuse.eventAlphaInfuseDetail:type_name -> structs.structs.EventAlphaInfuseDetail + 42, // 30: structs.structs.EventAlphaDefuse.eventAlphaDefuseDetail:type_name -> structs.structs.EventAlphaDefuseDetail + 44, // 31: structs.structs.EventOreTheft.eventOreTheftDetail:type_name -> structs.structs.EventOreTheftDetail + 46, // 32: structs.structs.EventOreMigrate.eventOreMigrateDetail:type_name -> structs.structs.EventOreMigrateDetail + 48, // 33: structs.structs.EventAttack.eventAttackDetail:type_name -> structs.structs.EventAttackDetail + 74, // 34: structs.structs.EventAttackDetail.attackerStructLocationType:type_name -> structs.structs.objectType + 75, // 35: structs.structs.EventAttackDetail.attackerStructOperatingAmbit:type_name -> structs.structs.ambit + 76, // 36: structs.structs.EventAttackDetail.weaponSystem:type_name -> structs.structs.techWeaponSystem + 77, // 37: structs.structs.EventAttackDetail.weaponControl:type_name -> structs.structs.techWeaponControl + 78, // 38: structs.structs.EventAttackDetail.activeWeaponry:type_name -> structs.structs.techActiveWeaponry + 49, // 39: structs.structs.EventAttackDetail.eventAttackShotDetail:type_name -> structs.structs.EventAttackShotDetail + 74, // 40: structs.structs.EventAttackShotDetail.targetStructLocationType:type_name -> structs.structs.objectType + 75, // 41: structs.structs.EventAttackShotDetail.targetStructOperatingAmbit:type_name -> structs.structs.ambit + 79, // 42: structs.structs.EventAttackShotDetail.evadedCause:type_name -> structs.structs.techUnitDefenses + 80, // 43: structs.structs.EventAttackShotDetail.evadedByPlanetaryDefensesCause:type_name -> structs.structs.techPlanetaryDefenses + 74, // 44: structs.structs.EventAttackShotDetail.blockedByStructLocationType:type_name -> structs.structs.objectType + 75, // 45: structs.structs.EventAttackShotDetail.blockedByStructOperatingAmbit:type_name -> structs.structs.ambit + 50, // 46: structs.structs.EventAttackShotDetail.eventAttackDefenderCounterDetail:type_name -> structs.structs.EventAttackDefenderCounterDetail + 79, // 47: structs.structs.EventAttackShotDetail.damageReductionCause:type_name -> structs.structs.techUnitDefenses + 81, // 48: structs.structs.EventAttackShotDetail.targetCounterCause:type_name -> structs.structs.techPassiveWeaponry + 81, // 49: structs.structs.EventAttackShotDetail.postDestructionDamageCause:type_name -> structs.structs.techPassiveWeaponry + 74, // 50: structs.structs.EventAttackDefenderCounterDetail.counterByStructLocationType:type_name -> structs.structs.objectType + 75, // 51: structs.structs.EventAttackDefenderCounterDetail.counterByStructOperatingAmbit:type_name -> structs.structs.ambit + 52, // 52: structs.structs.EventRaid.eventRaidDetail:type_name -> structs.structs.EventRaidDetail + 82, // 53: structs.structs.EventRaidDetail.status:type_name -> structs.structs.raidStatus + 54, // [54:54] is the sub-list for method output_type + 54, // [54:54] is the sub-list for method input_type + 54, // [54:54] is the sub-list for extension type_name + 54, // [54:54] is the sub-list for extension extendee + 0, // [0:54] is the sub-list for field type_name } func init() { file_structs_structs_events_proto_init() } @@ -23451,6 +30751,7 @@ func file_structs_structs_events_proto_init() { } file_structs_structs_params_proto_init() file_structs_structs_address_proto_init() + file_structs_structs_agreement_proto_init() file_structs_structs_allocation_proto_init() file_structs_structs_fleet_proto_init() file_structs_structs_grid_proto_init() @@ -23460,6 +30761,7 @@ func file_structs_structs_events_proto_init() { file_structs_structs_permission_proto_init() file_structs_structs_player_proto_init() file_structs_structs_planet_proto_init() + file_structs_structs_provider_proto_init() file_structs_structs_reactor_proto_init() file_structs_structs_struct_proto_init() file_structs_structs_substation_proto_init() @@ -23477,7 +30779,7 @@ func file_structs_structs_events_proto_init() { } } file_structs_structs_events_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EventFleet); i { + switch v := v.(*EventAgreement); i { case 0: return &v.state case 1: @@ -23489,7 +30791,7 @@ func file_structs_structs_events_proto_init() { } } file_structs_structs_events_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EventGuild); i { + switch v := v.(*EventFleet); i { case 0: return &v.state case 1: @@ -23501,7 +30803,7 @@ func file_structs_structs_events_proto_init() { } } file_structs_structs_events_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EventInfusion); i { + switch v := v.(*EventGuild); i { case 0: return &v.state case 1: @@ -23513,7 +30815,7 @@ func file_structs_structs_events_proto_init() { } } file_structs_structs_events_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EventPlanet); i { + switch v := v.(*EventInfusion); i { case 0: return &v.state case 1: @@ -23525,7 +30827,7 @@ func file_structs_structs_events_proto_init() { } } file_structs_structs_events_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EventPlanetAttribute); i { + switch v := v.(*EventPlanet); i { case 0: return &v.state case 1: @@ -23537,7 +30839,7 @@ func file_structs_structs_events_proto_init() { } } file_structs_structs_events_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EventPlayer); i { + switch v := v.(*EventPlanetAttribute); i { case 0: return &v.state case 1: @@ -23549,7 +30851,7 @@ func file_structs_structs_events_proto_init() { } } file_structs_structs_events_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EventReactor); i { + switch v := v.(*EventPlayer); i { case 0: return &v.state case 1: @@ -23561,7 +30863,7 @@ func file_structs_structs_events_proto_init() { } } file_structs_structs_events_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EventStruct); i { + switch v := v.(*EventProvider); i { case 0: return &v.state case 1: @@ -23573,7 +30875,7 @@ func file_structs_structs_events_proto_init() { } } file_structs_structs_events_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EventStructAttribute); i { + switch v := v.(*EventReactor); i { case 0: return &v.state case 1: @@ -23585,7 +30887,7 @@ func file_structs_structs_events_proto_init() { } } file_structs_structs_events_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EventStructDefender); i { + switch v := v.(*EventStruct); i { case 0: return &v.state case 1: @@ -23597,7 +30899,7 @@ func file_structs_structs_events_proto_init() { } } file_structs_structs_events_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EventStructType); i { + switch v := v.(*EventStructAttribute); i { case 0: return &v.state case 1: @@ -23609,7 +30911,7 @@ func file_structs_structs_events_proto_init() { } } file_structs_structs_events_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EventSubstation); i { + switch v := v.(*EventStructDefender); i { case 0: return &v.state case 1: @@ -23621,7 +30923,7 @@ func file_structs_structs_events_proto_init() { } } file_structs_structs_events_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EventTime); i { + switch v := v.(*EventStructType); i { case 0: return &v.state case 1: @@ -23633,7 +30935,7 @@ func file_structs_structs_events_proto_init() { } } file_structs_structs_events_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EventTimeDetail); i { + switch v := v.(*EventSubstation); i { case 0: return &v.state case 1: @@ -23645,7 +30947,7 @@ func file_structs_structs_events_proto_init() { } } file_structs_structs_events_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EventPermission); i { + switch v := v.(*EventTime); i { case 0: return &v.state case 1: @@ -23657,7 +30959,7 @@ func file_structs_structs_events_proto_init() { } } file_structs_structs_events_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EventGrid); i { + switch v := v.(*EventTimeDetail); i { case 0: return &v.state case 1: @@ -23669,7 +30971,7 @@ func file_structs_structs_events_proto_init() { } } file_structs_structs_events_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EventDelete); i { + switch v := v.(*EventPermission); i { case 0: return &v.state case 1: @@ -23681,7 +30983,7 @@ func file_structs_structs_events_proto_init() { } } file_structs_structs_events_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EventAddressAssociation); i { + switch v := v.(*EventGrid); i { case 0: return &v.state case 1: @@ -23693,7 +30995,7 @@ func file_structs_structs_events_proto_init() { } } file_structs_structs_events_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EventAddressActivity); i { + switch v := v.(*EventProviderGrantGuild); i { case 0: return &v.state case 1: @@ -23705,7 +31007,7 @@ func file_structs_structs_events_proto_init() { } } file_structs_structs_events_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EventGuildMembershipApplication); i { + switch v := v.(*EventProviderGrantGuildDetail); i { case 0: return &v.state case 1: @@ -23717,7 +31019,7 @@ func file_structs_structs_events_proto_init() { } } file_structs_structs_events_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EventOreMine); i { + switch v := v.(*EventProviderRevokeGuild); i { case 0: return &v.state case 1: @@ -23729,7 +31031,7 @@ func file_structs_structs_events_proto_init() { } } file_structs_structs_events_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EventOreMineDetail); i { + switch v := v.(*EventProviderRevokeGuildDetail); i { case 0: return &v.state case 1: @@ -23741,7 +31043,7 @@ func file_structs_structs_events_proto_init() { } } file_structs_structs_events_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EventAlphaRefine); i { + switch v := v.(*EventPlayerHalted); i { case 0: return &v.state case 1: @@ -23753,7 +31055,7 @@ func file_structs_structs_events_proto_init() { } } file_structs_structs_events_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EventAlphaRefineDetail); i { + switch v := v.(*EventPlayerResumed); i { case 0: return &v.state case 1: @@ -23765,7 +31067,7 @@ func file_structs_structs_events_proto_init() { } } file_structs_structs_events_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EventAlphaInfuse); i { + switch v := v.(*EventDelete); i { case 0: return &v.state case 1: @@ -23777,7 +31079,7 @@ func file_structs_structs_events_proto_init() { } } file_structs_structs_events_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EventAlphaInfuseDetail); i { + switch v := v.(*EventAddressAssociation); i { case 0: return &v.state case 1: @@ -23789,7 +31091,7 @@ func file_structs_structs_events_proto_init() { } } file_structs_structs_events_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EventAlphaDefuse); i { + switch v := v.(*EventAddressActivity); i { case 0: return &v.state case 1: @@ -23801,7 +31103,7 @@ func file_structs_structs_events_proto_init() { } } file_structs_structs_events_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EventAlphaDefuseDetail); i { + switch v := v.(*EventGuildBankMint); i { case 0: return &v.state case 1: @@ -23813,7 +31115,7 @@ func file_structs_structs_events_proto_init() { } } file_structs_structs_events_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EventOreTheft); i { + switch v := v.(*EventGuildBankMintDetail); i { case 0: return &v.state case 1: @@ -23825,7 +31127,7 @@ func file_structs_structs_events_proto_init() { } } file_structs_structs_events_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EventOreTheftDetail); i { + switch v := v.(*EventGuildBankRedeem); i { case 0: return &v.state case 1: @@ -23837,7 +31139,7 @@ func file_structs_structs_events_proto_init() { } } file_structs_structs_events_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EventOreMigrate); i { + switch v := v.(*EventGuildBankRedeemDetail); i { case 0: return &v.state case 1: @@ -23849,7 +31151,7 @@ func file_structs_structs_events_proto_init() { } } file_structs_structs_events_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EventOreMigrateDetail); i { + switch v := v.(*EventGuildBankConfiscateAndBurn); i { case 0: return &v.state case 1: @@ -23861,7 +31163,7 @@ func file_structs_structs_events_proto_init() { } } file_structs_structs_events_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EventAttack); i { + switch v := v.(*EventGuildBankConfiscateAndBurnDetail); i { case 0: return &v.state case 1: @@ -23873,7 +31175,7 @@ func file_structs_structs_events_proto_init() { } } file_structs_structs_events_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EventAttackDetail); i { + switch v := v.(*EventGuildMembershipApplication); i { case 0: return &v.state case 1: @@ -23885,7 +31187,7 @@ func file_structs_structs_events_proto_init() { } } file_structs_structs_events_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EventAttackShotDetail); i { + switch v := v.(*EventOreMine); i { case 0: return &v.state case 1: @@ -23897,7 +31199,7 @@ func file_structs_structs_events_proto_init() { } } file_structs_structs_events_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EventAttackDefenderCounterDetail); i { + switch v := v.(*EventOreMineDetail); i { case 0: return &v.state case 1: @@ -23909,7 +31211,7 @@ func file_structs_structs_events_proto_init() { } } file_structs_structs_events_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EventRaid); i { + switch v := v.(*EventAlphaRefine); i { case 0: return &v.state case 1: @@ -23921,6 +31223,174 @@ func file_structs_structs_events_proto_init() { } } file_structs_structs_events_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EventAlphaRefineDetail); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_structs_structs_events_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EventAlphaInfuse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_structs_structs_events_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EventAlphaInfuseDetail); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_structs_structs_events_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EventAlphaDefuse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_structs_structs_events_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EventAlphaDefuseDetail); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_structs_structs_events_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EventOreTheft); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_structs_structs_events_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EventOreTheftDetail); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_structs_structs_events_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EventOreMigrate); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_structs_structs_events_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EventOreMigrateDetail); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_structs_structs_events_proto_msgTypes[47].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EventAttack); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_structs_structs_events_proto_msgTypes[48].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EventAttackDetail); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_structs_structs_events_proto_msgTypes[49].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EventAttackShotDetail); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_structs_structs_events_proto_msgTypes[50].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EventAttackDefenderCounterDetail); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_structs_structs_events_proto_msgTypes[51].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EventRaid); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_structs_structs_events_proto_msgTypes[52].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*EventRaidDetail); i { case 0: return &v.state @@ -23939,7 +31409,7 @@ func file_structs_structs_events_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_structs_structs_events_proto_rawDesc, NumEnums: 0, - NumMessages: 39, + NumMessages: 53, NumExtensions: 0, NumServices: 0, }, diff --git a/api/structs/structs/genesis.pulsar.go b/api/structs/structs/genesis.pulsar.go index dc894fe0..3c302283 100644 --- a/api/structs/structs/genesis.pulsar.go +++ b/api/structs/structs/genesis.pulsar.go @@ -68,7 +68,7 @@ func (x *_GenesisState_3_list) IsValid() bool { var _ protoreflect.List = (*_GenesisState_4_list)(nil) type _GenesisState_4_list struct { - list *[]*Infusion + list *[]*Agreement } func (x *_GenesisState_4_list) Len() int { @@ -84,18 +84,18 @@ func (x *_GenesisState_4_list) Get(i int) protoreflect.Value { func (x *_GenesisState_4_list) Set(i int, value protoreflect.Value) { valueUnwrapped := value.Message() - concreteValue := valueUnwrapped.Interface().(*Infusion) + concreteValue := valueUnwrapped.Interface().(*Agreement) (*x.list)[i] = concreteValue } func (x *_GenesisState_4_list) Append(value protoreflect.Value) { valueUnwrapped := value.Message() - concreteValue := valueUnwrapped.Interface().(*Infusion) + concreteValue := valueUnwrapped.Interface().(*Agreement) *x.list = append(*x.list, concreteValue) } func (x *_GenesisState_4_list) AppendMutable() protoreflect.Value { - v := new(Infusion) + v := new(Agreement) *x.list = append(*x.list, v) return protoreflect.ValueOfMessage(v.ProtoReflect()) } @@ -108,7 +108,7 @@ func (x *_GenesisState_4_list) Truncate(n int) { } func (x *_GenesisState_4_list) NewElement() protoreflect.Value { - v := new(Infusion) + v := new(Agreement) return protoreflect.ValueOfMessage(v.ProtoReflect()) } @@ -116,6 +116,57 @@ func (x *_GenesisState_4_list) IsValid() bool { return x.list != nil } +var _ protoreflect.List = (*_GenesisState_5_list)(nil) + +type _GenesisState_5_list struct { + list *[]*Infusion +} + +func (x *_GenesisState_5_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_GenesisState_5_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_GenesisState_5_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*Infusion) + (*x.list)[i] = concreteValue +} + +func (x *_GenesisState_5_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*Infusion) + *x.list = append(*x.list, concreteValue) +} + +func (x *_GenesisState_5_list) AppendMutable() protoreflect.Value { + v := new(Infusion) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_5_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_GenesisState_5_list) NewElement() protoreflect.Value { + v := new(Infusion) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_5_list) IsValid() bool { + return x.list != nil +} + var _ protoreflect.List = (*_GenesisState_6_list)(nil) type _GenesisState_6_list struct { @@ -269,309 +320,406 @@ func (x *_GenesisState_10_list) IsValid() bool { return x.list != nil } -var _ protoreflect.List = (*_GenesisState_12_list)(nil) +var _ protoreflect.List = (*_GenesisState_11_list)(nil) + +type _GenesisState_11_list struct { + list *[]string +} + +func (x *_GenesisState_11_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_GenesisState_11_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfString((*x.list)[i]) +} + +func (x *_GenesisState_11_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_GenesisState_11_list) Append(value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_GenesisState_11_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message GenesisState at list field PlayerHalted as it is not of Message kind")) +} + +func (x *_GenesisState_11_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_GenesisState_11_list) NewElement() protoreflect.Value { + v := "" + return protoreflect.ValueOfString(v) +} + +func (x *_GenesisState_11_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_GenesisState_13_list)(nil) + +type _GenesisState_13_list struct { + list *[]*Provider +} + +func (x *_GenesisState_13_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_GenesisState_13_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_GenesisState_13_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*Provider) + (*x.list)[i] = concreteValue +} + +func (x *_GenesisState_13_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*Provider) + *x.list = append(*x.list, concreteValue) +} + +func (x *_GenesisState_13_list) AppendMutable() protoreflect.Value { + v := new(Provider) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_13_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_GenesisState_13_list) NewElement() protoreflect.Value { + v := new(Provider) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_GenesisState_13_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_GenesisState_15_list)(nil) -type _GenesisState_12_list struct { +type _GenesisState_15_list struct { list *[]*Reactor } -func (x *_GenesisState_12_list) Len() int { +func (x *_GenesisState_15_list) Len() int { if x.list == nil { return 0 } return len(*x.list) } -func (x *_GenesisState_12_list) Get(i int) protoreflect.Value { +func (x *_GenesisState_15_list) Get(i int) protoreflect.Value { return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) } -func (x *_GenesisState_12_list) Set(i int, value protoreflect.Value) { +func (x *_GenesisState_15_list) Set(i int, value protoreflect.Value) { valueUnwrapped := value.Message() concreteValue := valueUnwrapped.Interface().(*Reactor) (*x.list)[i] = concreteValue } -func (x *_GenesisState_12_list) Append(value protoreflect.Value) { +func (x *_GenesisState_15_list) Append(value protoreflect.Value) { valueUnwrapped := value.Message() concreteValue := valueUnwrapped.Interface().(*Reactor) *x.list = append(*x.list, concreteValue) } -func (x *_GenesisState_12_list) AppendMutable() protoreflect.Value { +func (x *_GenesisState_15_list) AppendMutable() protoreflect.Value { v := new(Reactor) *x.list = append(*x.list, v) return protoreflect.ValueOfMessage(v.ProtoReflect()) } -func (x *_GenesisState_12_list) Truncate(n int) { +func (x *_GenesisState_15_list) Truncate(n int) { for i := n; i < len(*x.list); i++ { (*x.list)[i] = nil } *x.list = (*x.list)[:n] } -func (x *_GenesisState_12_list) NewElement() protoreflect.Value { +func (x *_GenesisState_15_list) NewElement() protoreflect.Value { v := new(Reactor) return protoreflect.ValueOfMessage(v.ProtoReflect()) } -func (x *_GenesisState_12_list) IsValid() bool { +func (x *_GenesisState_15_list) IsValid() bool { return x.list != nil } -var _ protoreflect.List = (*_GenesisState_14_list)(nil) +var _ protoreflect.List = (*_GenesisState_17_list)(nil) -type _GenesisState_14_list struct { +type _GenesisState_17_list struct { list *[]*Struct } -func (x *_GenesisState_14_list) Len() int { +func (x *_GenesisState_17_list) Len() int { if x.list == nil { return 0 } return len(*x.list) } -func (x *_GenesisState_14_list) Get(i int) protoreflect.Value { +func (x *_GenesisState_17_list) Get(i int) protoreflect.Value { return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) } -func (x *_GenesisState_14_list) Set(i int, value protoreflect.Value) { +func (x *_GenesisState_17_list) Set(i int, value protoreflect.Value) { valueUnwrapped := value.Message() concreteValue := valueUnwrapped.Interface().(*Struct) (*x.list)[i] = concreteValue } -func (x *_GenesisState_14_list) Append(value protoreflect.Value) { +func (x *_GenesisState_17_list) Append(value protoreflect.Value) { valueUnwrapped := value.Message() concreteValue := valueUnwrapped.Interface().(*Struct) *x.list = append(*x.list, concreteValue) } -func (x *_GenesisState_14_list) AppendMutable() protoreflect.Value { +func (x *_GenesisState_17_list) AppendMutable() protoreflect.Value { v := new(Struct) *x.list = append(*x.list, v) return protoreflect.ValueOfMessage(v.ProtoReflect()) } -func (x *_GenesisState_14_list) Truncate(n int) { +func (x *_GenesisState_17_list) Truncate(n int) { for i := n; i < len(*x.list); i++ { (*x.list)[i] = nil } *x.list = (*x.list)[:n] } -func (x *_GenesisState_14_list) NewElement() protoreflect.Value { +func (x *_GenesisState_17_list) NewElement() protoreflect.Value { v := new(Struct) return protoreflect.ValueOfMessage(v.ProtoReflect()) } -func (x *_GenesisState_14_list) IsValid() bool { +func (x *_GenesisState_17_list) IsValid() bool { return x.list != nil } -var _ protoreflect.List = (*_GenesisState_16_list)(nil) +var _ protoreflect.List = (*_GenesisState_19_list)(nil) -type _GenesisState_16_list struct { +type _GenesisState_19_list struct { list *[]*Substation } -func (x *_GenesisState_16_list) Len() int { +func (x *_GenesisState_19_list) Len() int { if x.list == nil { return 0 } return len(*x.list) } -func (x *_GenesisState_16_list) Get(i int) protoreflect.Value { +func (x *_GenesisState_19_list) Get(i int) protoreflect.Value { return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) } -func (x *_GenesisState_16_list) Set(i int, value protoreflect.Value) { +func (x *_GenesisState_19_list) Set(i int, value protoreflect.Value) { valueUnwrapped := value.Message() concreteValue := valueUnwrapped.Interface().(*Substation) (*x.list)[i] = concreteValue } -func (x *_GenesisState_16_list) Append(value protoreflect.Value) { +func (x *_GenesisState_19_list) Append(value protoreflect.Value) { valueUnwrapped := value.Message() concreteValue := valueUnwrapped.Interface().(*Substation) *x.list = append(*x.list, concreteValue) } -func (x *_GenesisState_16_list) AppendMutable() protoreflect.Value { +func (x *_GenesisState_19_list) AppendMutable() protoreflect.Value { v := new(Substation) *x.list = append(*x.list, v) return protoreflect.ValueOfMessage(v.ProtoReflect()) } -func (x *_GenesisState_16_list) Truncate(n int) { +func (x *_GenesisState_19_list) Truncate(n int) { for i := n; i < len(*x.list); i++ { (*x.list)[i] = nil } *x.list = (*x.list)[:n] } -func (x *_GenesisState_16_list) NewElement() protoreflect.Value { +func (x *_GenesisState_19_list) NewElement() protoreflect.Value { v := new(Substation) return protoreflect.ValueOfMessage(v.ProtoReflect()) } -func (x *_GenesisState_16_list) IsValid() bool { +func (x *_GenesisState_19_list) IsValid() bool { return x.list != nil } -var _ protoreflect.List = (*_GenesisState_18_list)(nil) +var _ protoreflect.List = (*_GenesisState_21_list)(nil) -type _GenesisState_18_list struct { +type _GenesisState_21_list struct { list *[]*PermissionRecord } -func (x *_GenesisState_18_list) Len() int { +func (x *_GenesisState_21_list) Len() int { if x.list == nil { return 0 } return len(*x.list) } -func (x *_GenesisState_18_list) Get(i int) protoreflect.Value { +func (x *_GenesisState_21_list) Get(i int) protoreflect.Value { return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) } -func (x *_GenesisState_18_list) Set(i int, value protoreflect.Value) { +func (x *_GenesisState_21_list) Set(i int, value protoreflect.Value) { valueUnwrapped := value.Message() concreteValue := valueUnwrapped.Interface().(*PermissionRecord) (*x.list)[i] = concreteValue } -func (x *_GenesisState_18_list) Append(value protoreflect.Value) { +func (x *_GenesisState_21_list) Append(value protoreflect.Value) { valueUnwrapped := value.Message() concreteValue := valueUnwrapped.Interface().(*PermissionRecord) *x.list = append(*x.list, concreteValue) } -func (x *_GenesisState_18_list) AppendMutable() protoreflect.Value { +func (x *_GenesisState_21_list) AppendMutable() protoreflect.Value { v := new(PermissionRecord) *x.list = append(*x.list, v) return protoreflect.ValueOfMessage(v.ProtoReflect()) } -func (x *_GenesisState_18_list) Truncate(n int) { +func (x *_GenesisState_21_list) Truncate(n int) { for i := n; i < len(*x.list); i++ { (*x.list)[i] = nil } *x.list = (*x.list)[:n] } -func (x *_GenesisState_18_list) NewElement() protoreflect.Value { +func (x *_GenesisState_21_list) NewElement() protoreflect.Value { v := new(PermissionRecord) return protoreflect.ValueOfMessage(v.ProtoReflect()) } -func (x *_GenesisState_18_list) IsValid() bool { +func (x *_GenesisState_21_list) IsValid() bool { return x.list != nil } -var _ protoreflect.List = (*_GenesisState_19_list)(nil) +var _ protoreflect.List = (*_GenesisState_22_list)(nil) -type _GenesisState_19_list struct { +type _GenesisState_22_list struct { list *[]*GridRecord } -func (x *_GenesisState_19_list) Len() int { +func (x *_GenesisState_22_list) Len() int { if x.list == nil { return 0 } return len(*x.list) } -func (x *_GenesisState_19_list) Get(i int) protoreflect.Value { +func (x *_GenesisState_22_list) Get(i int) protoreflect.Value { return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) } -func (x *_GenesisState_19_list) Set(i int, value protoreflect.Value) { +func (x *_GenesisState_22_list) Set(i int, value protoreflect.Value) { valueUnwrapped := value.Message() concreteValue := valueUnwrapped.Interface().(*GridRecord) (*x.list)[i] = concreteValue } -func (x *_GenesisState_19_list) Append(value protoreflect.Value) { +func (x *_GenesisState_22_list) Append(value protoreflect.Value) { valueUnwrapped := value.Message() concreteValue := valueUnwrapped.Interface().(*GridRecord) *x.list = append(*x.list, concreteValue) } -func (x *_GenesisState_19_list) AppendMutable() protoreflect.Value { +func (x *_GenesisState_22_list) AppendMutable() protoreflect.Value { v := new(GridRecord) *x.list = append(*x.list, v) return protoreflect.ValueOfMessage(v.ProtoReflect()) } -func (x *_GenesisState_19_list) Truncate(n int) { +func (x *_GenesisState_22_list) Truncate(n int) { for i := n; i < len(*x.list); i++ { (*x.list)[i] = nil } *x.list = (*x.list)[:n] } -func (x *_GenesisState_19_list) NewElement() protoreflect.Value { +func (x *_GenesisState_22_list) NewElement() protoreflect.Value { v := new(GridRecord) return protoreflect.ValueOfMessage(v.ProtoReflect()) } -func (x *_GenesisState_19_list) IsValid() bool { +func (x *_GenesisState_22_list) IsValid() bool { return x.list != nil } -var _ protoreflect.List = (*_GenesisState_20_list)(nil) +var _ protoreflect.List = (*_GenesisState_23_list)(nil) -type _GenesisState_20_list struct { +type _GenesisState_23_list struct { list *[]*AddressRecord } -func (x *_GenesisState_20_list) Len() int { +func (x *_GenesisState_23_list) Len() int { if x.list == nil { return 0 } return len(*x.list) } -func (x *_GenesisState_20_list) Get(i int) protoreflect.Value { +func (x *_GenesisState_23_list) Get(i int) protoreflect.Value { return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) } -func (x *_GenesisState_20_list) Set(i int, value protoreflect.Value) { +func (x *_GenesisState_23_list) Set(i int, value protoreflect.Value) { valueUnwrapped := value.Message() concreteValue := valueUnwrapped.Interface().(*AddressRecord) (*x.list)[i] = concreteValue } -func (x *_GenesisState_20_list) Append(value protoreflect.Value) { +func (x *_GenesisState_23_list) Append(value protoreflect.Value) { valueUnwrapped := value.Message() concreteValue := valueUnwrapped.Interface().(*AddressRecord) *x.list = append(*x.list, concreteValue) } -func (x *_GenesisState_20_list) AppendMutable() protoreflect.Value { +func (x *_GenesisState_23_list) AppendMutable() protoreflect.Value { v := new(AddressRecord) *x.list = append(*x.list, v) return protoreflect.ValueOfMessage(v.ProtoReflect()) } -func (x *_GenesisState_20_list) Truncate(n int) { +func (x *_GenesisState_23_list) Truncate(n int) { for i := n; i < len(*x.list); i++ { (*x.list)[i] = nil } *x.list = (*x.list)[:n] } -func (x *_GenesisState_20_list) NewElement() protoreflect.Value { +func (x *_GenesisState_23_list) NewElement() protoreflect.Value { v := new(AddressRecord) return protoreflect.ValueOfMessage(v.ProtoReflect()) } -func (x *_GenesisState_20_list) IsValid() bool { +func (x *_GenesisState_23_list) IsValid() bool { return x.list != nil } @@ -580,13 +728,17 @@ var ( fd_GenesisState_params protoreflect.FieldDescriptor fd_GenesisState_port_id protoreflect.FieldDescriptor fd_GenesisState_allocationList protoreflect.FieldDescriptor + fd_GenesisState_agreementList protoreflect.FieldDescriptor fd_GenesisState_infusionList protoreflect.FieldDescriptor fd_GenesisState_guildList protoreflect.FieldDescriptor fd_GenesisState_guildCount protoreflect.FieldDescriptor fd_GenesisState_planetList protoreflect.FieldDescriptor fd_GenesisState_planetCount protoreflect.FieldDescriptor fd_GenesisState_playerList protoreflect.FieldDescriptor + fd_GenesisState_playerHalted protoreflect.FieldDescriptor fd_GenesisState_playerCount protoreflect.FieldDescriptor + fd_GenesisState_providerList protoreflect.FieldDescriptor + fd_GenesisState_providerCount protoreflect.FieldDescriptor fd_GenesisState_reactorList protoreflect.FieldDescriptor fd_GenesisState_reactorCount protoreflect.FieldDescriptor fd_GenesisState_structList protoreflect.FieldDescriptor @@ -604,13 +756,17 @@ func init() { fd_GenesisState_params = md_GenesisState.Fields().ByName("params") fd_GenesisState_port_id = md_GenesisState.Fields().ByName("port_id") fd_GenesisState_allocationList = md_GenesisState.Fields().ByName("allocationList") + fd_GenesisState_agreementList = md_GenesisState.Fields().ByName("agreementList") fd_GenesisState_infusionList = md_GenesisState.Fields().ByName("infusionList") fd_GenesisState_guildList = md_GenesisState.Fields().ByName("guildList") fd_GenesisState_guildCount = md_GenesisState.Fields().ByName("guildCount") fd_GenesisState_planetList = md_GenesisState.Fields().ByName("planetList") fd_GenesisState_planetCount = md_GenesisState.Fields().ByName("planetCount") fd_GenesisState_playerList = md_GenesisState.Fields().ByName("playerList") + fd_GenesisState_playerHalted = md_GenesisState.Fields().ByName("playerHalted") fd_GenesisState_playerCount = md_GenesisState.Fields().ByName("playerCount") + fd_GenesisState_providerList = md_GenesisState.Fields().ByName("providerList") + fd_GenesisState_providerCount = md_GenesisState.Fields().ByName("providerCount") fd_GenesisState_reactorList = md_GenesisState.Fields().ByName("reactorList") fd_GenesisState_reactorCount = md_GenesisState.Fields().ByName("reactorCount") fd_GenesisState_structList = md_GenesisState.Fields().ByName("structList") @@ -705,8 +861,14 @@ func (x *fastReflection_GenesisState) Range(f func(protoreflect.FieldDescriptor, return } } + if len(x.AgreementList) != 0 { + value := protoreflect.ValueOfList(&_GenesisState_4_list{list: &x.AgreementList}) + if !f(fd_GenesisState_agreementList, value) { + return + } + } if len(x.InfusionList) != 0 { - value := protoreflect.ValueOfList(&_GenesisState_4_list{list: &x.InfusionList}) + value := protoreflect.ValueOfList(&_GenesisState_5_list{list: &x.InfusionList}) if !f(fd_GenesisState_infusionList, value) { return } @@ -741,14 +903,32 @@ func (x *fastReflection_GenesisState) Range(f func(protoreflect.FieldDescriptor, return } } + if len(x.PlayerHalted) != 0 { + value := protoreflect.ValueOfList(&_GenesisState_11_list{list: &x.PlayerHalted}) + if !f(fd_GenesisState_playerHalted, value) { + return + } + } if x.PlayerCount != uint64(0) { value := protoreflect.ValueOfUint64(x.PlayerCount) if !f(fd_GenesisState_playerCount, value) { return } } + if len(x.ProviderList) != 0 { + value := protoreflect.ValueOfList(&_GenesisState_13_list{list: &x.ProviderList}) + if !f(fd_GenesisState_providerList, value) { + return + } + } + if x.ProviderCount != uint64(0) { + value := protoreflect.ValueOfUint64(x.ProviderCount) + if !f(fd_GenesisState_providerCount, value) { + return + } + } if len(x.ReactorList) != 0 { - value := protoreflect.ValueOfList(&_GenesisState_12_list{list: &x.ReactorList}) + value := protoreflect.ValueOfList(&_GenesisState_15_list{list: &x.ReactorList}) if !f(fd_GenesisState_reactorList, value) { return } @@ -760,7 +940,7 @@ func (x *fastReflection_GenesisState) Range(f func(protoreflect.FieldDescriptor, } } if len(x.StructList) != 0 { - value := protoreflect.ValueOfList(&_GenesisState_14_list{list: &x.StructList}) + value := protoreflect.ValueOfList(&_GenesisState_17_list{list: &x.StructList}) if !f(fd_GenesisState_structList, value) { return } @@ -772,7 +952,7 @@ func (x *fastReflection_GenesisState) Range(f func(protoreflect.FieldDescriptor, } } if len(x.SubstationList) != 0 { - value := protoreflect.ValueOfList(&_GenesisState_16_list{list: &x.SubstationList}) + value := protoreflect.ValueOfList(&_GenesisState_19_list{list: &x.SubstationList}) if !f(fd_GenesisState_substationList, value) { return } @@ -784,19 +964,19 @@ func (x *fastReflection_GenesisState) Range(f func(protoreflect.FieldDescriptor, } } if len(x.PermissionList) != 0 { - value := protoreflect.ValueOfList(&_GenesisState_18_list{list: &x.PermissionList}) + value := protoreflect.ValueOfList(&_GenesisState_21_list{list: &x.PermissionList}) if !f(fd_GenesisState_permissionList, value) { return } } if len(x.GridList) != 0 { - value := protoreflect.ValueOfList(&_GenesisState_19_list{list: &x.GridList}) + value := protoreflect.ValueOfList(&_GenesisState_22_list{list: &x.GridList}) if !f(fd_GenesisState_gridList, value) { return } } if len(x.AddressList) != 0 { - value := protoreflect.ValueOfList(&_GenesisState_20_list{list: &x.AddressList}) + value := protoreflect.ValueOfList(&_GenesisState_23_list{list: &x.AddressList}) if !f(fd_GenesisState_addressList, value) { return } @@ -822,6 +1002,8 @@ func (x *fastReflection_GenesisState) Has(fd protoreflect.FieldDescriptor) bool return x.PortId != "" case "structs.structs.GenesisState.allocationList": return len(x.AllocationList) != 0 + case "structs.structs.GenesisState.agreementList": + return len(x.AgreementList) != 0 case "structs.structs.GenesisState.infusionList": return len(x.InfusionList) != 0 case "structs.structs.GenesisState.guildList": @@ -834,8 +1016,14 @@ func (x *fastReflection_GenesisState) Has(fd protoreflect.FieldDescriptor) bool return x.PlanetCount != uint64(0) case "structs.structs.GenesisState.playerList": return len(x.PlayerList) != 0 + case "structs.structs.GenesisState.playerHalted": + return len(x.PlayerHalted) != 0 case "structs.structs.GenesisState.playerCount": return x.PlayerCount != uint64(0) + case "structs.structs.GenesisState.providerList": + return len(x.ProviderList) != 0 + case "structs.structs.GenesisState.providerCount": + return x.ProviderCount != uint64(0) case "structs.structs.GenesisState.reactorList": return len(x.ReactorList) != 0 case "structs.structs.GenesisState.reactorCount": @@ -876,6 +1064,8 @@ func (x *fastReflection_GenesisState) Clear(fd protoreflect.FieldDescriptor) { x.PortId = "" case "structs.structs.GenesisState.allocationList": x.AllocationList = nil + case "structs.structs.GenesisState.agreementList": + x.AgreementList = nil case "structs.structs.GenesisState.infusionList": x.InfusionList = nil case "structs.structs.GenesisState.guildList": @@ -888,8 +1078,14 @@ func (x *fastReflection_GenesisState) Clear(fd protoreflect.FieldDescriptor) { x.PlanetCount = uint64(0) case "structs.structs.GenesisState.playerList": x.PlayerList = nil + case "structs.structs.GenesisState.playerHalted": + x.PlayerHalted = nil case "structs.structs.GenesisState.playerCount": x.PlayerCount = uint64(0) + case "structs.structs.GenesisState.providerList": + x.ProviderList = nil + case "structs.structs.GenesisState.providerCount": + x.ProviderCount = uint64(0) case "structs.structs.GenesisState.reactorList": x.ReactorList = nil case "structs.structs.GenesisState.reactorCount": @@ -936,11 +1132,17 @@ func (x *fastReflection_GenesisState) Get(descriptor protoreflect.FieldDescripto } listValue := &_GenesisState_3_list{list: &x.AllocationList} return protoreflect.ValueOfList(listValue) + case "structs.structs.GenesisState.agreementList": + if len(x.AgreementList) == 0 { + return protoreflect.ValueOfList(&_GenesisState_4_list{}) + } + listValue := &_GenesisState_4_list{list: &x.AgreementList} + return protoreflect.ValueOfList(listValue) case "structs.structs.GenesisState.infusionList": if len(x.InfusionList) == 0 { - return protoreflect.ValueOfList(&_GenesisState_4_list{}) + return protoreflect.ValueOfList(&_GenesisState_5_list{}) } - listValue := &_GenesisState_4_list{list: &x.InfusionList} + listValue := &_GenesisState_5_list{list: &x.InfusionList} return protoreflect.ValueOfList(listValue) case "structs.structs.GenesisState.guildList": if len(x.GuildList) == 0 { @@ -966,53 +1168,68 @@ func (x *fastReflection_GenesisState) Get(descriptor protoreflect.FieldDescripto } listValue := &_GenesisState_10_list{list: &x.PlayerList} return protoreflect.ValueOfList(listValue) + case "structs.structs.GenesisState.playerHalted": + if len(x.PlayerHalted) == 0 { + return protoreflect.ValueOfList(&_GenesisState_11_list{}) + } + listValue := &_GenesisState_11_list{list: &x.PlayerHalted} + return protoreflect.ValueOfList(listValue) case "structs.structs.GenesisState.playerCount": value := x.PlayerCount return protoreflect.ValueOfUint64(value) + case "structs.structs.GenesisState.providerList": + if len(x.ProviderList) == 0 { + return protoreflect.ValueOfList(&_GenesisState_13_list{}) + } + listValue := &_GenesisState_13_list{list: &x.ProviderList} + return protoreflect.ValueOfList(listValue) + case "structs.structs.GenesisState.providerCount": + value := x.ProviderCount + return protoreflect.ValueOfUint64(value) case "structs.structs.GenesisState.reactorList": if len(x.ReactorList) == 0 { - return protoreflect.ValueOfList(&_GenesisState_12_list{}) + return protoreflect.ValueOfList(&_GenesisState_15_list{}) } - listValue := &_GenesisState_12_list{list: &x.ReactorList} + listValue := &_GenesisState_15_list{list: &x.ReactorList} return protoreflect.ValueOfList(listValue) case "structs.structs.GenesisState.reactorCount": value := x.ReactorCount return protoreflect.ValueOfUint64(value) case "structs.structs.GenesisState.structList": if len(x.StructList) == 0 { - return protoreflect.ValueOfList(&_GenesisState_14_list{}) + return protoreflect.ValueOfList(&_GenesisState_17_list{}) } - listValue := &_GenesisState_14_list{list: &x.StructList} + listValue := &_GenesisState_17_list{list: &x.StructList} return protoreflect.ValueOfList(listValue) case "structs.structs.GenesisState.structCount": value := x.StructCount return protoreflect.ValueOfUint64(value) case "structs.structs.GenesisState.substationList": if len(x.SubstationList) == 0 { - return protoreflect.ValueOfList(&_GenesisState_16_list{}) + return protoreflect.ValueOfList(&_GenesisState_19_list{}) } - listValue := &_GenesisState_16_list{list: &x.SubstationList} + listValue := &_GenesisState_19_list{list: &x.SubstationList} return protoreflect.ValueOfList(listValue) case "structs.structs.GenesisState.substationCount": value := x.SubstationCount return protoreflect.ValueOfUint64(value) case "structs.structs.GenesisState.permissionList": if len(x.PermissionList) == 0 { - return protoreflect.ValueOfList(&_GenesisState_18_list{}) + return protoreflect.ValueOfList(&_GenesisState_21_list{}) } - listValue := &_GenesisState_18_list{list: &x.PermissionList} + listValue := &_GenesisState_21_list{list: &x.PermissionList} return protoreflect.ValueOfList(listValue) case "structs.structs.GenesisState.gridList": if len(x.GridList) == 0 { - return protoreflect.ValueOfList(&_GenesisState_19_list{}) + return protoreflect.ValueOfList(&_GenesisState_22_list{}) } - listValue := &_GenesisState_19_list{list: &x.GridList} + listValue := &_GenesisState_22_list{list: &x.GridList} return protoreflect.ValueOfList(listValue) case "structs.structs.GenesisState.addressList": if len(x.AddressList) == 0 { - return protoreflect.ValueOfList(&_GenesisState_20_list{}) + return protoreflect.ValueOfList(&_GenesisState_23_list{}) } - listValue := &_GenesisState_20_list{list: &x.AddressList} + listValue := &_GenesisState_23_list{list: &x.AddressList} return protoreflect.ValueOfList(listValue) default: if descriptor.IsExtension() { @@ -1042,9 +1259,13 @@ func (x *fastReflection_GenesisState) Set(fd protoreflect.FieldDescriptor, value lv := value.List() clv := lv.(*_GenesisState_3_list) x.AllocationList = *clv.list - case "structs.structs.GenesisState.infusionList": + case "structs.structs.GenesisState.agreementList": lv := value.List() clv := lv.(*_GenesisState_4_list) + x.AgreementList = *clv.list + case "structs.structs.GenesisState.infusionList": + lv := value.List() + clv := lv.(*_GenesisState_5_list) x.InfusionList = *clv.list case "structs.structs.GenesisState.guildList": lv := value.List() @@ -1062,37 +1283,47 @@ func (x *fastReflection_GenesisState) Set(fd protoreflect.FieldDescriptor, value lv := value.List() clv := lv.(*_GenesisState_10_list) x.PlayerList = *clv.list + case "structs.structs.GenesisState.playerHalted": + lv := value.List() + clv := lv.(*_GenesisState_11_list) + x.PlayerHalted = *clv.list case "structs.structs.GenesisState.playerCount": x.PlayerCount = value.Uint() + case "structs.structs.GenesisState.providerList": + lv := value.List() + clv := lv.(*_GenesisState_13_list) + x.ProviderList = *clv.list + case "structs.structs.GenesisState.providerCount": + x.ProviderCount = value.Uint() case "structs.structs.GenesisState.reactorList": lv := value.List() - clv := lv.(*_GenesisState_12_list) + clv := lv.(*_GenesisState_15_list) x.ReactorList = *clv.list case "structs.structs.GenesisState.reactorCount": x.ReactorCount = value.Uint() case "structs.structs.GenesisState.structList": lv := value.List() - clv := lv.(*_GenesisState_14_list) + clv := lv.(*_GenesisState_17_list) x.StructList = *clv.list case "structs.structs.GenesisState.structCount": x.StructCount = value.Uint() case "structs.structs.GenesisState.substationList": lv := value.List() - clv := lv.(*_GenesisState_16_list) + clv := lv.(*_GenesisState_19_list) x.SubstationList = *clv.list case "structs.structs.GenesisState.substationCount": x.SubstationCount = value.Uint() case "structs.structs.GenesisState.permissionList": lv := value.List() - clv := lv.(*_GenesisState_18_list) + clv := lv.(*_GenesisState_21_list) x.PermissionList = *clv.list case "structs.structs.GenesisState.gridList": lv := value.List() - clv := lv.(*_GenesisState_19_list) + clv := lv.(*_GenesisState_22_list) x.GridList = *clv.list case "structs.structs.GenesisState.addressList": lv := value.List() - clv := lv.(*_GenesisState_20_list) + clv := lv.(*_GenesisState_23_list) x.AddressList = *clv.list default: if fd.IsExtension() { @@ -1125,11 +1356,17 @@ func (x *fastReflection_GenesisState) Mutable(fd protoreflect.FieldDescriptor) p } value := &_GenesisState_3_list{list: &x.AllocationList} return protoreflect.ValueOfList(value) + case "structs.structs.GenesisState.agreementList": + if x.AgreementList == nil { + x.AgreementList = []*Agreement{} + } + value := &_GenesisState_4_list{list: &x.AgreementList} + return protoreflect.ValueOfList(value) case "structs.structs.GenesisState.infusionList": if x.InfusionList == nil { x.InfusionList = []*Infusion{} } - value := &_GenesisState_4_list{list: &x.InfusionList} + value := &_GenesisState_5_list{list: &x.InfusionList} return protoreflect.ValueOfList(value) case "structs.structs.GenesisState.guildList": if x.GuildList == nil { @@ -1149,41 +1386,53 @@ func (x *fastReflection_GenesisState) Mutable(fd protoreflect.FieldDescriptor) p } value := &_GenesisState_10_list{list: &x.PlayerList} return protoreflect.ValueOfList(value) + case "structs.structs.GenesisState.playerHalted": + if x.PlayerHalted == nil { + x.PlayerHalted = []string{} + } + value := &_GenesisState_11_list{list: &x.PlayerHalted} + return protoreflect.ValueOfList(value) + case "structs.structs.GenesisState.providerList": + if x.ProviderList == nil { + x.ProviderList = []*Provider{} + } + value := &_GenesisState_13_list{list: &x.ProviderList} + return protoreflect.ValueOfList(value) case "structs.structs.GenesisState.reactorList": if x.ReactorList == nil { x.ReactorList = []*Reactor{} } - value := &_GenesisState_12_list{list: &x.ReactorList} + value := &_GenesisState_15_list{list: &x.ReactorList} return protoreflect.ValueOfList(value) case "structs.structs.GenesisState.structList": if x.StructList == nil { x.StructList = []*Struct{} } - value := &_GenesisState_14_list{list: &x.StructList} + value := &_GenesisState_17_list{list: &x.StructList} return protoreflect.ValueOfList(value) case "structs.structs.GenesisState.substationList": if x.SubstationList == nil { x.SubstationList = []*Substation{} } - value := &_GenesisState_16_list{list: &x.SubstationList} + value := &_GenesisState_19_list{list: &x.SubstationList} return protoreflect.ValueOfList(value) case "structs.structs.GenesisState.permissionList": if x.PermissionList == nil { x.PermissionList = []*PermissionRecord{} } - value := &_GenesisState_18_list{list: &x.PermissionList} + value := &_GenesisState_21_list{list: &x.PermissionList} return protoreflect.ValueOfList(value) case "structs.structs.GenesisState.gridList": if x.GridList == nil { x.GridList = []*GridRecord{} } - value := &_GenesisState_19_list{list: &x.GridList} + value := &_GenesisState_22_list{list: &x.GridList} return protoreflect.ValueOfList(value) case "structs.structs.GenesisState.addressList": if x.AddressList == nil { x.AddressList = []*AddressRecord{} } - value := &_GenesisState_20_list{list: &x.AddressList} + value := &_GenesisState_23_list{list: &x.AddressList} return protoreflect.ValueOfList(value) case "structs.structs.GenesisState.port_id": panic(fmt.Errorf("field port_id of message structs.structs.GenesisState is not mutable")) @@ -1193,6 +1442,8 @@ func (x *fastReflection_GenesisState) Mutable(fd protoreflect.FieldDescriptor) p panic(fmt.Errorf("field planetCount of message structs.structs.GenesisState is not mutable")) case "structs.structs.GenesisState.playerCount": panic(fmt.Errorf("field playerCount of message structs.structs.GenesisState is not mutable")) + case "structs.structs.GenesisState.providerCount": + panic(fmt.Errorf("field providerCount of message structs.structs.GenesisState is not mutable")) case "structs.structs.GenesisState.reactorCount": panic(fmt.Errorf("field reactorCount of message structs.structs.GenesisState is not mutable")) case "structs.structs.GenesisState.structCount": @@ -1220,9 +1471,12 @@ func (x *fastReflection_GenesisState) NewField(fd protoreflect.FieldDescriptor) case "structs.structs.GenesisState.allocationList": list := []*Allocation{} return protoreflect.ValueOfList(&_GenesisState_3_list{list: &list}) + case "structs.structs.GenesisState.agreementList": + list := []*Agreement{} + return protoreflect.ValueOfList(&_GenesisState_4_list{list: &list}) case "structs.structs.GenesisState.infusionList": list := []*Infusion{} - return protoreflect.ValueOfList(&_GenesisState_4_list{list: &list}) + return protoreflect.ValueOfList(&_GenesisState_5_list{list: &list}) case "structs.structs.GenesisState.guildList": list := []*Guild{} return protoreflect.ValueOfList(&_GenesisState_6_list{list: &list}) @@ -1236,32 +1490,40 @@ func (x *fastReflection_GenesisState) NewField(fd protoreflect.FieldDescriptor) case "structs.structs.GenesisState.playerList": list := []*Player{} return protoreflect.ValueOfList(&_GenesisState_10_list{list: &list}) + case "structs.structs.GenesisState.playerHalted": + list := []string{} + return protoreflect.ValueOfList(&_GenesisState_11_list{list: &list}) case "structs.structs.GenesisState.playerCount": return protoreflect.ValueOfUint64(uint64(0)) + case "structs.structs.GenesisState.providerList": + list := []*Provider{} + return protoreflect.ValueOfList(&_GenesisState_13_list{list: &list}) + case "structs.structs.GenesisState.providerCount": + return protoreflect.ValueOfUint64(uint64(0)) case "structs.structs.GenesisState.reactorList": list := []*Reactor{} - return protoreflect.ValueOfList(&_GenesisState_12_list{list: &list}) + return protoreflect.ValueOfList(&_GenesisState_15_list{list: &list}) case "structs.structs.GenesisState.reactorCount": return protoreflect.ValueOfUint64(uint64(0)) case "structs.structs.GenesisState.structList": list := []*Struct{} - return protoreflect.ValueOfList(&_GenesisState_14_list{list: &list}) + return protoreflect.ValueOfList(&_GenesisState_17_list{list: &list}) case "structs.structs.GenesisState.structCount": return protoreflect.ValueOfUint64(uint64(0)) case "structs.structs.GenesisState.substationList": list := []*Substation{} - return protoreflect.ValueOfList(&_GenesisState_16_list{list: &list}) + return protoreflect.ValueOfList(&_GenesisState_19_list{list: &list}) case "structs.structs.GenesisState.substationCount": return protoreflect.ValueOfUint64(uint64(0)) case "structs.structs.GenesisState.permissionList": list := []*PermissionRecord{} - return protoreflect.ValueOfList(&_GenesisState_18_list{list: &list}) + return protoreflect.ValueOfList(&_GenesisState_21_list{list: &list}) case "structs.structs.GenesisState.gridList": list := []*GridRecord{} - return protoreflect.ValueOfList(&_GenesisState_19_list{list: &list}) + return protoreflect.ValueOfList(&_GenesisState_22_list{list: &list}) case "structs.structs.GenesisState.addressList": list := []*AddressRecord{} - return protoreflect.ValueOfList(&_GenesisState_20_list{list: &list}) + return protoreflect.ValueOfList(&_GenesisState_23_list{list: &list}) default: if fd.IsExtension() { panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.GenesisState")) @@ -1345,6 +1607,12 @@ func (x *fastReflection_GenesisState) ProtoMethods() *protoiface.Methods { n += 1 + l + runtime.Sov(uint64(l)) } } + if len(x.AgreementList) > 0 { + for _, e := range x.AgreementList { + l = options.Size(e) + n += 1 + l + runtime.Sov(uint64(l)) + } + } if len(x.InfusionList) > 0 { for _, e := range x.InfusionList { l = options.Size(e) @@ -1375,9 +1643,24 @@ func (x *fastReflection_GenesisState) ProtoMethods() *protoiface.Methods { n += 1 + l + runtime.Sov(uint64(l)) } } + if len(x.PlayerHalted) > 0 { + for _, s := range x.PlayerHalted { + l = len(s) + n += 1 + l + runtime.Sov(uint64(l)) + } + } if x.PlayerCount != 0 { n += 1 + runtime.Sov(uint64(x.PlayerCount)) } + if len(x.ProviderList) > 0 { + for _, e := range x.ProviderList { + l = options.Size(e) + n += 1 + l + runtime.Sov(uint64(l)) + } + } + if x.ProviderCount != 0 { + n += 1 + runtime.Sov(uint64(x.ProviderCount)) + } if len(x.ReactorList) > 0 { for _, e := range x.ReactorList { l = options.Size(e) @@ -1385,16 +1668,16 @@ func (x *fastReflection_GenesisState) ProtoMethods() *protoiface.Methods { } } if x.ReactorCount != 0 { - n += 1 + runtime.Sov(uint64(x.ReactorCount)) + n += 2 + runtime.Sov(uint64(x.ReactorCount)) } if len(x.StructList) > 0 { for _, e := range x.StructList { l = options.Size(e) - n += 1 + l + runtime.Sov(uint64(l)) + n += 2 + l + runtime.Sov(uint64(l)) } } if x.StructCount != 0 { - n += 1 + runtime.Sov(uint64(x.StructCount)) + n += 2 + runtime.Sov(uint64(x.StructCount)) } if len(x.SubstationList) > 0 { for _, e := range x.SubstationList { @@ -1467,7 +1750,7 @@ func (x *fastReflection_GenesisState) ProtoMethods() *protoiface.Methods { i-- dAtA[i] = 0x1 i-- - dAtA[i] = 0xa2 + dAtA[i] = 0xba } } if len(x.GridList) > 0 { @@ -1485,7 +1768,7 @@ func (x *fastReflection_GenesisState) ProtoMethods() *protoiface.Methods { i-- dAtA[i] = 0x1 i-- - dAtA[i] = 0x9a + dAtA[i] = 0xb2 } } if len(x.PermissionList) > 0 { @@ -1503,7 +1786,7 @@ func (x *fastReflection_GenesisState) ProtoMethods() *protoiface.Methods { i-- dAtA[i] = 0x1 i-- - dAtA[i] = 0x92 + dAtA[i] = 0xaa } } if x.SubstationCount != 0 { @@ -1511,7 +1794,7 @@ func (x *fastReflection_GenesisState) ProtoMethods() *protoiface.Methods { i-- dAtA[i] = 0x1 i-- - dAtA[i] = 0x88 + dAtA[i] = 0xa0 } if len(x.SubstationList) > 0 { for iNdEx := len(x.SubstationList) - 1; iNdEx >= 0; iNdEx-- { @@ -1528,13 +1811,15 @@ func (x *fastReflection_GenesisState) ProtoMethods() *protoiface.Methods { i-- dAtA[i] = 0x1 i-- - dAtA[i] = 0x82 + dAtA[i] = 0x9a } } if x.StructCount != 0 { i = runtime.EncodeVarint(dAtA, i, uint64(x.StructCount)) i-- - dAtA[i] = 0x78 + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x90 } if len(x.StructList) > 0 { for iNdEx := len(x.StructList) - 1; iNdEx >= 0; iNdEx-- { @@ -1549,13 +1834,17 @@ func (x *fastReflection_GenesisState) ProtoMethods() *protoiface.Methods { copy(dAtA[i:], encoded) i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) i-- - dAtA[i] = 0x72 + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x8a } } if x.ReactorCount != 0 { i = runtime.EncodeVarint(dAtA, i, uint64(x.ReactorCount)) i-- - dAtA[i] = 0x68 + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x80 } if len(x.ReactorList) > 0 { for iNdEx := len(x.ReactorList) - 1; iNdEx >= 0; iNdEx-- { @@ -1570,13 +1859,43 @@ func (x *fastReflection_GenesisState) ProtoMethods() *protoiface.Methods { copy(dAtA[i:], encoded) i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) i-- - dAtA[i] = 0x62 + dAtA[i] = 0x7a + } + } + if x.ProviderCount != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.ProviderCount)) + i-- + dAtA[i] = 0x70 + } + if len(x.ProviderList) > 0 { + for iNdEx := len(x.ProviderList) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.ProviderList[iNdEx]) + 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] = 0x6a } } if x.PlayerCount != 0 { i = runtime.EncodeVarint(dAtA, i, uint64(x.PlayerCount)) i-- - dAtA[i] = 0x58 + dAtA[i] = 0x60 + } + if len(x.PlayerHalted) > 0 { + for iNdEx := len(x.PlayerHalted) - 1; iNdEx >= 0; iNdEx-- { + i -= len(x.PlayerHalted[iNdEx]) + copy(dAtA[i:], x.PlayerHalted[iNdEx]) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.PlayerHalted[iNdEx]))) + i-- + dAtA[i] = 0x5a + } } if len(x.PlayerList) > 0 { for iNdEx := len(x.PlayerList) - 1; iNdEx >= 0; iNdEx-- { @@ -1649,6 +1968,22 @@ func (x *fastReflection_GenesisState) ProtoMethods() *protoiface.Methods { copy(dAtA[i:], encoded) i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) i-- + dAtA[i] = 0x2a + } + } + if len(x.AgreementList) > 0 { + for iNdEx := len(x.AgreementList) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.AgreementList[iNdEx]) + 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] = 0x22 } } @@ -1841,6 +2176,40 @@ func (x *fastReflection_GenesisState) ProtoMethods() *protoiface.Methods { } iNdEx = postIndex case 4: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field AgreementList", 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 + } + x.AgreementList = append(x.AgreementList, &Agreement{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.AgreementList[len(x.AgreementList)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 5: if wireType != 2 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field InfusionList", wireType) } @@ -2015,6 +2384,38 @@ func (x *fastReflection_GenesisState) ProtoMethods() *protoiface.Methods { } iNdEx = postIndex case 11: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field PlayerHalted", 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.PlayerHalted = append(x.PlayerHalted, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 12: if wireType != 0 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field PlayerCount", wireType) } @@ -2033,7 +2434,60 @@ func (x *fastReflection_GenesisState) ProtoMethods() *protoiface.Methods { break } } - case 12: + case 13: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ProviderList", 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 + } + x.ProviderList = append(x.ProviderList, &Provider{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.ProviderList[len(x.ProviderList)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 14: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ProviderCount", wireType) + } + x.ProviderCount = 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.ProviderCount |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 15: if wireType != 2 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ReactorList", wireType) } @@ -2067,7 +2521,7 @@ func (x *fastReflection_GenesisState) ProtoMethods() *protoiface.Methods { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err } iNdEx = postIndex - case 13: + case 16: if wireType != 0 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ReactorCount", wireType) } @@ -2086,7 +2540,7 @@ func (x *fastReflection_GenesisState) ProtoMethods() *protoiface.Methods { break } } - case 14: + case 17: if wireType != 2 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field StructList", wireType) } @@ -2120,7 +2574,7 @@ func (x *fastReflection_GenesisState) ProtoMethods() *protoiface.Methods { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err } iNdEx = postIndex - case 15: + case 18: if wireType != 0 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field StructCount", wireType) } @@ -2139,7 +2593,7 @@ func (x *fastReflection_GenesisState) ProtoMethods() *protoiface.Methods { break } } - case 16: + case 19: if wireType != 2 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field SubstationList", wireType) } @@ -2173,7 +2627,7 @@ func (x *fastReflection_GenesisState) ProtoMethods() *protoiface.Methods { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err } iNdEx = postIndex - case 17: + case 20: if wireType != 0 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field SubstationCount", wireType) } @@ -2192,7 +2646,7 @@ func (x *fastReflection_GenesisState) ProtoMethods() *protoiface.Methods { break } } - case 18: + case 21: if wireType != 2 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field PermissionList", wireType) } @@ -2226,7 +2680,7 @@ func (x *fastReflection_GenesisState) ProtoMethods() *protoiface.Methods { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err } iNdEx = postIndex - case 19: + case 22: if wireType != 2 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field GridList", wireType) } @@ -2260,7 +2714,7 @@ func (x *fastReflection_GenesisState) ProtoMethods() *protoiface.Methods { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err } iNdEx = postIndex - case 20: + case 23: if wireType != 2 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field AddressList", wireType) } @@ -2352,22 +2806,26 @@ type GenesisState struct { Params *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"` PortId string `protobuf:"bytes,2,opt,name=port_id,json=portId,proto3" json:"port_id,omitempty"` AllocationList []*Allocation `protobuf:"bytes,3,rep,name=allocationList,proto3" json:"allocationList,omitempty"` - InfusionList []*Infusion `protobuf:"bytes,4,rep,name=infusionList,proto3" json:"infusionList,omitempty"` + AgreementList []*Agreement `protobuf:"bytes,4,rep,name=agreementList,proto3" json:"agreementList,omitempty"` + InfusionList []*Infusion `protobuf:"bytes,5,rep,name=infusionList,proto3" json:"infusionList,omitempty"` GuildList []*Guild `protobuf:"bytes,6,rep,name=guildList,proto3" json:"guildList,omitempty"` GuildCount uint64 `protobuf:"varint,7,opt,name=guildCount,proto3" json:"guildCount,omitempty"` PlanetList []*Planet `protobuf:"bytes,8,rep,name=planetList,proto3" json:"planetList,omitempty"` PlanetCount uint64 `protobuf:"varint,9,opt,name=planetCount,proto3" json:"planetCount,omitempty"` PlayerList []*Player `protobuf:"bytes,10,rep,name=playerList,proto3" json:"playerList,omitempty"` - PlayerCount uint64 `protobuf:"varint,11,opt,name=playerCount,proto3" json:"playerCount,omitempty"` - ReactorList []*Reactor `protobuf:"bytes,12,rep,name=reactorList,proto3" json:"reactorList,omitempty"` - ReactorCount uint64 `protobuf:"varint,13,opt,name=reactorCount,proto3" json:"reactorCount,omitempty"` - StructList []*Struct `protobuf:"bytes,14,rep,name=structList,proto3" json:"structList,omitempty"` - StructCount uint64 `protobuf:"varint,15,opt,name=structCount,proto3" json:"structCount,omitempty"` - SubstationList []*Substation `protobuf:"bytes,16,rep,name=substationList,proto3" json:"substationList,omitempty"` - SubstationCount uint64 `protobuf:"varint,17,opt,name=substationCount,proto3" json:"substationCount,omitempty"` - PermissionList []*PermissionRecord `protobuf:"bytes,18,rep,name=permissionList,proto3" json:"permissionList,omitempty"` - GridList []*GridRecord `protobuf:"bytes,19,rep,name=gridList,proto3" json:"gridList,omitempty"` - AddressList []*AddressRecord `protobuf:"bytes,20,rep,name=addressList,proto3" json:"addressList,omitempty"` + PlayerHalted []string `protobuf:"bytes,11,rep,name=playerHalted,proto3" json:"playerHalted,omitempty"` + PlayerCount uint64 `protobuf:"varint,12,opt,name=playerCount,proto3" json:"playerCount,omitempty"` + ProviderList []*Provider `protobuf:"bytes,13,rep,name=providerList,proto3" json:"providerList,omitempty"` + ProviderCount uint64 `protobuf:"varint,14,opt,name=providerCount,proto3" json:"providerCount,omitempty"` + ReactorList []*Reactor `protobuf:"bytes,15,rep,name=reactorList,proto3" json:"reactorList,omitempty"` + ReactorCount uint64 `protobuf:"varint,16,opt,name=reactorCount,proto3" json:"reactorCount,omitempty"` + StructList []*Struct `protobuf:"bytes,17,rep,name=structList,proto3" json:"structList,omitempty"` + StructCount uint64 `protobuf:"varint,18,opt,name=structCount,proto3" json:"structCount,omitempty"` + SubstationList []*Substation `protobuf:"bytes,19,rep,name=substationList,proto3" json:"substationList,omitempty"` + SubstationCount uint64 `protobuf:"varint,20,opt,name=substationCount,proto3" json:"substationCount,omitempty"` + PermissionList []*PermissionRecord `protobuf:"bytes,21,rep,name=permissionList,proto3" json:"permissionList,omitempty"` + GridList []*GridRecord `protobuf:"bytes,22,rep,name=gridList,proto3" json:"gridList,omitempty"` + AddressList []*AddressRecord `protobuf:"bytes,23,rep,name=addressList,proto3" json:"addressList,omitempty"` } func (x *GenesisState) Reset() { @@ -2411,6 +2869,13 @@ func (x *GenesisState) GetAllocationList() []*Allocation { return nil } +func (x *GenesisState) GetAgreementList() []*Agreement { + if x != nil { + return x.AgreementList + } + return nil +} + func (x *GenesisState) GetInfusionList() []*Infusion { if x != nil { return x.InfusionList @@ -2453,6 +2918,13 @@ func (x *GenesisState) GetPlayerList() []*Player { return nil } +func (x *GenesisState) GetPlayerHalted() []string { + if x != nil { + return x.PlayerHalted + } + return nil +} + func (x *GenesisState) GetPlayerCount() uint64 { if x != nil { return x.PlayerCount @@ -2460,6 +2932,20 @@ func (x *GenesisState) GetPlayerCount() uint64 { return 0 } +func (x *GenesisState) GetProviderList() []*Provider { + if x != nil { + return x.ProviderList + } + return nil +} + +func (x *GenesisState) GetProviderCount() uint64 { + if x != nil { + return x.ProviderCount + } + return 0 +} + func (x *GenesisState) GetReactorList() []*Reactor { if x != nil { return x.ReactorList @@ -2535,104 +3021,122 @@ var file_structs_structs_genesis_proto_rawDesc = []byte{ 0x74, 0x73, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, - 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1a, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, - 0x73, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x67, 0x72, 0x69, 0x64, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x73, 0x74, - 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x1a, 0x1e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, - 0x74, 0x73, 0x2f, 0x69, 0x6e, 0x66, 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x1a, 0x1a, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, - 0x74, 0x73, 0x2f, 0x6b, 0x65, 0x79, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x73, - 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x70, - 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, - 0x1c, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, - 0x2f, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x73, - 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x70, - 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x73, 0x74, 0x72, - 0x75, 0x63, 0x74, 0x73, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x72, 0x65, 0x61, - 0x63, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x73, 0x74, 0x72, 0x75, - 0x63, 0x74, 0x73, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x73, 0x74, 0x72, 0x75, - 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, - 0x73, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x73, 0x75, 0x62, 0x73, 0x74, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x93, 0x08, 0x0a, 0x0c, 0x47, - 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x3a, 0x0a, 0x06, 0x70, - 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x73, 0x74, - 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x50, 0x61, - 0x72, 0x61, 0x6d, 0x73, 0x42, 0x09, 0xc8, 0xde, 0x1f, 0x00, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, - 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x17, 0x0a, 0x07, 0x70, 0x6f, 0x72, 0x74, 0x5f, - 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x6f, 0x72, 0x74, 0x49, 0x64, - 0x12, 0x49, 0x0a, 0x0e, 0x61, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, - 0x73, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, - 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x41, 0x6c, 0x6c, 0x6f, 0x63, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x0e, 0x61, 0x6c, 0x6c, - 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x43, 0x0a, 0x0c, 0x69, - 0x6e, 0x66, 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x04, 0x20, 0x03, 0x28, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, + 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x61, 0x67, 0x72, 0x65, 0x65, 0x6d, 0x65, 0x6e, + 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, + 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1a, 0x73, 0x74, 0x72, 0x75, 0x63, + 0x74, 0x73, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x67, 0x72, 0x69, 0x64, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x73, + 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x1e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x73, 0x74, 0x72, 0x75, + 0x63, 0x74, 0x73, 0x2f, 0x69, 0x6e, 0x66, 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x1a, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x73, 0x74, 0x72, 0x75, + 0x63, 0x74, 0x73, 0x2f, 0x6b, 0x65, 0x79, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, + 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, + 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x1c, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, + 0x73, 0x2f, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, + 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, + 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x73, 0x74, + 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x70, 0x72, + 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x73, 0x74, + 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x72, 0x65, + 0x61, 0x63, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x73, 0x74, 0x72, + 0x75, 0x63, 0x74, 0x73, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x73, 0x74, 0x72, + 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x73, 0x74, 0x72, 0x75, 0x63, + 0x74, 0x73, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x73, 0x75, 0x62, 0x73, 0x74, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xea, 0x09, 0x0a, 0x0c, + 0x47, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x3a, 0x0a, 0x06, + 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x73, + 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x50, + 0x61, 0x72, 0x61, 0x6d, 0x73, 0x42, 0x09, 0xc8, 0xde, 0x1f, 0x00, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, + 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x17, 0x0a, 0x07, 0x70, 0x6f, 0x72, 0x74, + 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x6f, 0x72, 0x74, 0x49, + 0x64, 0x12, 0x49, 0x0a, 0x0e, 0x61, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4c, + 0x69, 0x73, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x73, 0x74, 0x72, 0x75, + 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x41, 0x6c, 0x6c, 0x6f, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x0e, 0x61, 0x6c, + 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x46, 0x0a, 0x0d, + 0x61, 0x67, 0x72, 0x65, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x04, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, + 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x41, 0x67, 0x72, 0x65, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x42, + 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x0d, 0x61, 0x67, 0x72, 0x65, 0x65, 0x6d, 0x65, 0x6e, 0x74, + 0x4c, 0x69, 0x73, 0x74, 0x12, 0x43, 0x0a, 0x0c, 0x69, 0x6e, 0x66, 0x75, 0x73, 0x69, 0x6f, 0x6e, + 0x4c, 0x69, 0x73, 0x74, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x73, 0x74, 0x72, + 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x49, 0x6e, 0x66, + 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x0c, 0x69, 0x6e, 0x66, + 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x3a, 0x0a, 0x09, 0x67, 0x75, 0x69, + 0x6c, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x73, + 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x47, + 0x75, 0x69, 0x6c, 0x64, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x09, 0x67, 0x75, 0x69, 0x6c, + 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x43, 0x6f, + 0x75, 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x67, 0x75, 0x69, 0x6c, 0x64, + 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x3d, 0x0a, 0x0a, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x4c, + 0x69, 0x73, 0x74, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x73, 0x74, 0x72, 0x75, + 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x50, 0x6c, 0x61, 0x6e, + 0x65, 0x74, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x0a, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x74, + 0x4c, 0x69, 0x73, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x43, 0x6f, + 0x75, 0x6e, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x70, 0x6c, 0x61, 0x6e, 0x65, + 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x3d, 0x0a, 0x0a, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, + 0x4c, 0x69, 0x73, 0x74, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x73, 0x74, 0x72, + 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x50, 0x6c, 0x61, + 0x79, 0x65, 0x72, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x0a, 0x70, 0x6c, 0x61, 0x79, 0x65, + 0x72, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x22, 0x0a, 0x0c, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x48, + 0x61, 0x6c, 0x74, 0x65, 0x64, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x70, 0x6c, 0x61, + 0x79, 0x65, 0x72, 0x48, 0x61, 0x6c, 0x74, 0x65, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x70, 0x6c, 0x61, + 0x79, 0x65, 0x72, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, + 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x43, 0x0a, 0x0c, 0x70, + 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, - 0x63, 0x74, 0x73, 0x2e, 0x49, 0x6e, 0x66, 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x04, 0xc8, 0xde, - 0x1f, 0x00, 0x52, 0x0c, 0x69, 0x6e, 0x66, 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, - 0x12, 0x3a, 0x0a, 0x09, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x06, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, - 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x42, 0x04, 0xc8, 0xde, 0x1f, - 0x00, 0x52, 0x09, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1e, 0x0a, 0x0a, - 0x67, 0x75, 0x69, 0x6c, 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, - 0x52, 0x0a, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x3d, 0x0a, 0x0a, - 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, + 0x63, 0x74, 0x73, 0x2e, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x42, 0x04, 0xc8, 0xde, + 0x1f, 0x00, 0x52, 0x0c, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, + 0x12, 0x24, 0x0a, 0x0d, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x43, 0x6f, 0x75, 0x6e, + 0x74, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0d, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, + 0x72, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x40, 0x0a, 0x0b, 0x72, 0x65, 0x61, 0x63, 0x74, 0x6f, + 0x72, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x73, 0x74, + 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x52, 0x65, + 0x61, 0x63, 0x74, 0x6f, 0x72, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x0b, 0x72, 0x65, 0x61, + 0x63, 0x74, 0x6f, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x22, 0x0a, 0x0c, 0x72, 0x65, 0x61, 0x63, + 0x74, 0x6f, 0x72, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x10, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0c, + 0x72, 0x65, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x3d, 0x0a, 0x0a, + 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x11, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, - 0x74, 0x73, 0x2e, 0x50, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, - 0x0a, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x70, - 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x04, - 0x52, 0x0b, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x3d, 0x0a, - 0x0a, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x0a, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x17, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, - 0x63, 0x74, 0x73, 0x2e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, - 0x52, 0x0a, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x20, 0x0a, 0x0b, - 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x0b, 0x20, 0x01, 0x28, - 0x04, 0x52, 0x0b, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x40, - 0x0a, 0x0b, 0x72, 0x65, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x0c, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, - 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x52, 0x65, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x42, 0x04, 0xc8, - 0xde, 0x1f, 0x00, 0x52, 0x0b, 0x72, 0x65, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x4c, 0x69, 0x73, 0x74, - 0x12, 0x22, 0x0a, 0x0c, 0x72, 0x65, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x43, 0x6f, 0x75, 0x6e, 0x74, - 0x18, 0x0d, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0c, 0x72, 0x65, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x43, - 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x3d, 0x0a, 0x0a, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x4c, 0x69, - 0x73, 0x74, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, - 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, - 0x74, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x0a, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x4c, - 0x69, 0x73, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x43, 0x6f, 0x75, - 0x6e, 0x74, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, - 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x49, 0x0a, 0x0e, 0x73, 0x75, 0x62, 0x73, 0x74, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x10, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, - 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, - 0x53, 0x75, 0x62, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, - 0x52, 0x0e, 0x73, 0x75, 0x62, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, - 0x12, 0x28, 0x0a, 0x0f, 0x73, 0x75, 0x62, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, - 0x75, 0x6e, 0x74, 0x18, 0x11, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0f, 0x73, 0x75, 0x62, 0x73, 0x74, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x49, 0x0a, 0x0e, 0x70, 0x65, - 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x12, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, - 0x75, 0x63, 0x74, 0x73, 0x2e, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, - 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x0e, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, - 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x37, 0x0a, 0x08, 0x67, 0x72, 0x69, 0x64, 0x4c, 0x69, 0x73, - 0x74, 0x18, 0x13, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, - 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x47, 0x72, 0x69, 0x64, 0x52, 0x65, - 0x63, 0x6f, 0x72, 0x64, 0x52, 0x08, 0x67, 0x72, 0x69, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x40, - 0x0a, 0x0b, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x14, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, - 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x63, - 0x6f, 0x72, 0x64, 0x52, 0x0b, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x4c, 0x69, 0x73, 0x74, - 0x42, 0xa2, 0x01, 0x0a, 0x13, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, - 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x42, 0x0c, 0x47, 0x65, 0x6e, 0x65, 0x73, 0x69, - 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x20, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, - 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, - 0x74, 0x73, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0xa2, 0x02, 0x03, 0x53, 0x53, 0x58, - 0xaa, 0x02, 0x0f, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, - 0x74, 0x73, 0xca, 0x02, 0x0f, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x5c, 0x53, 0x74, 0x72, - 0x75, 0x63, 0x74, 0x73, 0xe2, 0x02, 0x1b, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x5c, 0x53, - 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, - 0x74, 0x61, 0xea, 0x02, 0x10, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x3a, 0x3a, 0x53, 0x74, - 0x72, 0x75, 0x63, 0x74, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x74, 0x73, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, + 0x0a, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x73, + 0x74, 0x72, 0x75, 0x63, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x12, 0x20, 0x01, 0x28, 0x04, + 0x52, 0x0b, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x49, 0x0a, + 0x0e, 0x73, 0x75, 0x62, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x18, + 0x13, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, + 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x53, 0x75, 0x62, 0x73, 0x74, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x0e, 0x73, 0x75, 0x62, 0x73, 0x74, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x28, 0x0a, 0x0f, 0x73, 0x75, 0x62, 0x73, + 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x14, 0x20, 0x01, 0x28, + 0x04, 0x52, 0x0f, 0x73, 0x75, 0x62, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x75, + 0x6e, 0x74, 0x12, 0x49, 0x0a, 0x0e, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, + 0x4c, 0x69, 0x73, 0x74, 0x18, 0x15, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x73, 0x74, 0x72, + 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x50, 0x65, 0x72, + 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x0e, 0x70, + 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x37, 0x0a, + 0x08, 0x67, 0x72, 0x69, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x16, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x1b, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, + 0x73, 0x2e, 0x47, 0x72, 0x69, 0x64, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x08, 0x67, 0x72, + 0x69, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x40, 0x0a, 0x0b, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, + 0x73, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x17, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x73, 0x74, + 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x41, 0x64, + 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x0b, 0x61, 0x64, 0x64, + 0x72, 0x65, 0x73, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x42, 0xa2, 0x01, 0x0a, 0x13, 0x63, 0x6f, 0x6d, + 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, + 0x42, 0x0c, 0x47, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, + 0x5a, 0x20, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x61, + 0x70, 0x69, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, + 0x74, 0x73, 0xa2, 0x02, 0x03, 0x53, 0x53, 0x58, 0xaa, 0x02, 0x0f, 0x53, 0x74, 0x72, 0x75, 0x63, + 0x74, 0x73, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0xca, 0x02, 0x0f, 0x53, 0x74, 0x72, + 0x75, 0x63, 0x74, 0x73, 0x5c, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0xe2, 0x02, 0x1b, 0x53, + 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x5c, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x5c, 0x47, + 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x10, 0x53, 0x74, 0x72, + 0x75, 0x63, 0x74, 0x73, 0x3a, 0x3a, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -2652,35 +3156,39 @@ var file_structs_structs_genesis_proto_goTypes = []interface{}{ (*GenesisState)(nil), // 0: structs.structs.GenesisState (*Params)(nil), // 1: structs.structs.Params (*Allocation)(nil), // 2: structs.structs.Allocation - (*Infusion)(nil), // 3: structs.structs.Infusion - (*Guild)(nil), // 4: structs.structs.Guild - (*Planet)(nil), // 5: structs.structs.Planet - (*Player)(nil), // 6: structs.structs.Player - (*Reactor)(nil), // 7: structs.structs.Reactor - (*Struct)(nil), // 8: structs.structs.Struct - (*Substation)(nil), // 9: structs.structs.Substation - (*PermissionRecord)(nil), // 10: structs.structs.PermissionRecord - (*GridRecord)(nil), // 11: structs.structs.GridRecord - (*AddressRecord)(nil), // 12: structs.structs.AddressRecord + (*Agreement)(nil), // 3: structs.structs.Agreement + (*Infusion)(nil), // 4: structs.structs.Infusion + (*Guild)(nil), // 5: structs.structs.Guild + (*Planet)(nil), // 6: structs.structs.Planet + (*Player)(nil), // 7: structs.structs.Player + (*Provider)(nil), // 8: structs.structs.Provider + (*Reactor)(nil), // 9: structs.structs.Reactor + (*Struct)(nil), // 10: structs.structs.Struct + (*Substation)(nil), // 11: structs.structs.Substation + (*PermissionRecord)(nil), // 12: structs.structs.PermissionRecord + (*GridRecord)(nil), // 13: structs.structs.GridRecord + (*AddressRecord)(nil), // 14: structs.structs.AddressRecord } var file_structs_structs_genesis_proto_depIdxs = []int32{ 1, // 0: structs.structs.GenesisState.params:type_name -> structs.structs.Params 2, // 1: structs.structs.GenesisState.allocationList:type_name -> structs.structs.Allocation - 3, // 2: structs.structs.GenesisState.infusionList:type_name -> structs.structs.Infusion - 4, // 3: structs.structs.GenesisState.guildList:type_name -> structs.structs.Guild - 5, // 4: structs.structs.GenesisState.planetList:type_name -> structs.structs.Planet - 6, // 5: structs.structs.GenesisState.playerList:type_name -> structs.structs.Player - 7, // 6: structs.structs.GenesisState.reactorList:type_name -> structs.structs.Reactor - 8, // 7: structs.structs.GenesisState.structList:type_name -> structs.structs.Struct - 9, // 8: structs.structs.GenesisState.substationList:type_name -> structs.structs.Substation - 10, // 9: structs.structs.GenesisState.permissionList:type_name -> structs.structs.PermissionRecord - 11, // 10: structs.structs.GenesisState.gridList:type_name -> structs.structs.GridRecord - 12, // 11: structs.structs.GenesisState.addressList:type_name -> structs.structs.AddressRecord - 12, // [12:12] is the sub-list for method output_type - 12, // [12:12] is the sub-list for method input_type - 12, // [12:12] is the sub-list for extension type_name - 12, // [12:12] is the sub-list for extension extendee - 0, // [0:12] is the sub-list for field type_name + 3, // 2: structs.structs.GenesisState.agreementList:type_name -> structs.structs.Agreement + 4, // 3: structs.structs.GenesisState.infusionList:type_name -> structs.structs.Infusion + 5, // 4: structs.structs.GenesisState.guildList:type_name -> structs.structs.Guild + 6, // 5: structs.structs.GenesisState.planetList:type_name -> structs.structs.Planet + 7, // 6: structs.structs.GenesisState.playerList:type_name -> structs.structs.Player + 8, // 7: structs.structs.GenesisState.providerList:type_name -> structs.structs.Provider + 9, // 8: structs.structs.GenesisState.reactorList:type_name -> structs.structs.Reactor + 10, // 9: structs.structs.GenesisState.structList:type_name -> structs.structs.Struct + 11, // 10: structs.structs.GenesisState.substationList:type_name -> structs.structs.Substation + 12, // 11: structs.structs.GenesisState.permissionList:type_name -> structs.structs.PermissionRecord + 13, // 12: structs.structs.GenesisState.gridList:type_name -> structs.structs.GridRecord + 14, // 13: structs.structs.GenesisState.addressList:type_name -> structs.structs.AddressRecord + 14, // [14:14] is the sub-list for method output_type + 14, // [14:14] is the sub-list for method input_type + 14, // [14:14] is the sub-list for extension type_name + 14, // [14:14] is the sub-list for extension extendee + 0, // [0:14] is the sub-list for field type_name } func init() { file_structs_structs_genesis_proto_init() } @@ -2690,6 +3198,7 @@ func file_structs_structs_genesis_proto_init() { } file_structs_structs_params_proto_init() file_structs_structs_address_proto_init() + file_structs_structs_agreement_proto_init() file_structs_structs_allocation_proto_init() file_structs_structs_grid_proto_init() file_structs_structs_guild_proto_init() @@ -2698,6 +3207,7 @@ func file_structs_structs_genesis_proto_init() { file_structs_structs_permission_proto_init() file_structs_structs_player_proto_init() file_structs_structs_planet_proto_init() + file_structs_structs_provider_proto_init() file_structs_structs_reactor_proto_init() file_structs_structs_struct_proto_init() file_structs_structs_substation_proto_init() diff --git a/api/structs/structs/grid.pulsar.go b/api/structs/structs/grid.pulsar.go index 18b77b8c..1890b152 100644 --- a/api/structs/structs/grid.pulsar.go +++ b/api/structs/structs/grid.pulsar.go @@ -497,6 +497,7 @@ var ( fd_GridAttributes_lastAction protoreflect.FieldDescriptor fd_GridAttributes_nonce protoreflect.FieldDescriptor fd_GridAttributes_ready protoreflect.FieldDescriptor + fd_GridAttributes_checkpointBlock protoreflect.FieldDescriptor ) func init() { @@ -516,6 +517,7 @@ func init() { fd_GridAttributes_lastAction = md_GridAttributes.Fields().ByName("lastAction") fd_GridAttributes_nonce = md_GridAttributes.Fields().ByName("nonce") fd_GridAttributes_ready = md_GridAttributes.Fields().ByName("ready") + fd_GridAttributes_checkpointBlock = md_GridAttributes.Fields().ByName("checkpointBlock") } var _ protoreflect.Message = (*fastReflection_GridAttributes)(nil) @@ -667,6 +669,12 @@ func (x *fastReflection_GridAttributes) Range(f func(protoreflect.FieldDescripto return } } + if x.CheckpointBlock != uint64(0) { + value := protoreflect.ValueOfUint64(x.CheckpointBlock) + if !f(fd_GridAttributes_checkpointBlock, value) { + return + } + } } // Has reports whether a field is populated. @@ -710,6 +718,8 @@ func (x *fastReflection_GridAttributes) Has(fd protoreflect.FieldDescriptor) boo return x.Nonce != uint64(0) case "structs.structs.GridAttributes.ready": return x.Ready != uint64(0) + case "structs.structs.GridAttributes.checkpointBlock": + return x.CheckpointBlock != uint64(0) default: if fd.IsExtension() { panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.GridAttributes")) @@ -754,6 +764,8 @@ func (x *fastReflection_GridAttributes) Clear(fd protoreflect.FieldDescriptor) { x.Nonce = uint64(0) case "structs.structs.GridAttributes.ready": x.Ready = uint64(0) + case "structs.structs.GridAttributes.checkpointBlock": + x.CheckpointBlock = uint64(0) default: if fd.IsExtension() { panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.GridAttributes")) @@ -812,6 +824,9 @@ func (x *fastReflection_GridAttributes) Get(descriptor protoreflect.FieldDescrip case "structs.structs.GridAttributes.ready": value := x.Ready return protoreflect.ValueOfUint64(value) + case "structs.structs.GridAttributes.checkpointBlock": + value := x.CheckpointBlock + return protoreflect.ValueOfUint64(value) default: if descriptor.IsExtension() { panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.GridAttributes")) @@ -860,6 +875,8 @@ func (x *fastReflection_GridAttributes) Set(fd protoreflect.FieldDescriptor, val x.Nonce = value.Uint() case "structs.structs.GridAttributes.ready": x.Ready = value.Uint() + case "structs.structs.GridAttributes.checkpointBlock": + x.CheckpointBlock = value.Uint() default: if fd.IsExtension() { panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.GridAttributes")) @@ -908,6 +925,8 @@ func (x *fastReflection_GridAttributes) Mutable(fd protoreflect.FieldDescriptor) panic(fmt.Errorf("field nonce of message structs.structs.GridAttributes is not mutable")) case "structs.structs.GridAttributes.ready": panic(fmt.Errorf("field ready of message structs.structs.GridAttributes is not mutable")) + case "structs.structs.GridAttributes.checkpointBlock": + panic(fmt.Errorf("field checkpointBlock of message structs.structs.GridAttributes is not mutable")) default: if fd.IsExtension() { panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.GridAttributes")) @@ -949,6 +968,8 @@ func (x *fastReflection_GridAttributes) NewField(fd protoreflect.FieldDescriptor return protoreflect.ValueOfUint64(uint64(0)) case "structs.structs.GridAttributes.ready": return protoreflect.ValueOfUint64(uint64(0)) + case "structs.structs.GridAttributes.checkpointBlock": + return protoreflect.ValueOfUint64(uint64(0)) default: if fd.IsExtension() { panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.GridAttributes")) @@ -1060,6 +1081,9 @@ func (x *fastReflection_GridAttributes) ProtoMethods() *protoiface.Methods { if x.Ready != 0 { n += 1 + runtime.Sov(uint64(x.Ready)) } + if x.CheckpointBlock != 0 { + n += 1 + runtime.Sov(uint64(x.CheckpointBlock)) + } if x.unknownFields != nil { n += len(x.unknownFields) } @@ -1089,6 +1113,11 @@ func (x *fastReflection_GridAttributes) ProtoMethods() *protoiface.Methods { i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } + if x.CheckpointBlock != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.CheckpointBlock)) + i-- + dAtA[i] = 0x78 + } if x.Ready != 0 { i = runtime.EncodeVarint(dAtA, i, uint64(x.Ready)) i-- @@ -1474,6 +1503,25 @@ func (x *fastReflection_GridAttributes) ProtoMethods() *protoiface.Methods { break } } + case 15: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field CheckpointBlock", wireType) + } + x.CheckpointBlock = 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.CheckpointBlock |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } default: iNdEx = preIndex skippy, err := runtime.Skip(dAtA[iNdEx:]) @@ -1584,6 +1632,7 @@ type GridAttributes struct { LastAction uint64 `protobuf:"varint,12,opt,name=lastAction,proto3" json:"lastAction,omitempty"` Nonce uint64 `protobuf:"varint,13,opt,name=nonce,proto3" json:"nonce,omitempty"` Ready uint64 `protobuf:"varint,14,opt,name=ready,proto3" json:"ready,omitempty"` + CheckpointBlock uint64 `protobuf:"varint,15,opt,name=checkpointBlock,proto3" json:"checkpointBlock,omitempty"` } func (x *GridAttributes) Reset() { @@ -1704,6 +1753,13 @@ func (x *GridAttributes) GetReady() uint64 { return 0 } +func (x *GridAttributes) GetCheckpointBlock() uint64 { + if x != nil { + return x.CheckpointBlock + } + return 0 +} + var File_structs_structs_grid_proto protoreflect.FileDescriptor var file_structs_structs_grid_proto_rawDesc = []byte{ @@ -1715,7 +1771,7 @@ var file_structs_structs_grid_proto_rawDesc = []byte{ 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x04, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0xd0, 0x03, 0x0a, 0x0e, 0x47, 0x72, + 0x28, 0x04, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0xfa, 0x03, 0x0a, 0x0e, 0x47, 0x72, 0x69, 0x64, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x6f, 0x72, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x03, 0x6f, 0x72, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x66, 0x75, 0x65, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x66, 0x75, @@ -1744,18 +1800,20 @@ var file_structs_structs_grid_proto_rawDesc = []byte{ 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x6c, 0x61, 0x73, 0x74, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x6e, 0x6f, 0x6e, 0x63, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x6e, 0x6f, 0x6e, 0x63, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x72, 0x65, 0x61, 0x64, 0x79, 0x18, - 0x0e, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x72, 0x65, 0x61, 0x64, 0x79, 0x42, 0x9f, 0x01, 0x0a, - 0x13, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, - 0x75, 0x63, 0x74, 0x73, 0x42, 0x09, 0x47, 0x72, 0x69, 0x64, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, - 0x01, 0x5a, 0x20, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, - 0x61, 0x70, 0x69, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x73, 0x74, 0x72, 0x75, - 0x63, 0x74, 0x73, 0xa2, 0x02, 0x03, 0x53, 0x53, 0x58, 0xaa, 0x02, 0x0f, 0x53, 0x74, 0x72, 0x75, - 0x63, 0x74, 0x73, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0xca, 0x02, 0x0f, 0x53, 0x74, - 0x72, 0x75, 0x63, 0x74, 0x73, 0x5c, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0xe2, 0x02, 0x1b, - 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x5c, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x5c, - 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x10, 0x53, 0x74, - 0x72, 0x75, 0x63, 0x74, 0x73, 0x3a, 0x3a, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x62, 0x06, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x0e, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x72, 0x65, 0x61, 0x64, 0x79, 0x12, 0x28, 0x0a, 0x0f, + 0x63, 0x68, 0x65, 0x63, 0x6b, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x18, + 0x0f, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x70, 0x6f, 0x69, 0x6e, + 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x42, 0x9f, 0x01, 0x0a, 0x13, 0x63, 0x6f, 0x6d, 0x2e, 0x73, + 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x42, 0x09, + 0x47, 0x72, 0x69, 0x64, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x20, 0x63, 0x6f, 0x73, + 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x73, 0x74, + 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0xa2, 0x02, 0x03, + 0x53, 0x53, 0x58, 0xaa, 0x02, 0x0f, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x53, 0x74, + 0x72, 0x75, 0x63, 0x74, 0x73, 0xca, 0x02, 0x0f, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x5c, + 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0xe2, 0x02, 0x1b, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, + 0x73, 0x5c, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, + 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x10, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x3a, + 0x3a, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/api/structs/structs/keys.pulsar.go b/api/structs/structs/keys.pulsar.go index 51f0a4b5..8c677d1a 100644 --- a/api/structs/structs/keys.pulsar.go +++ b/api/structs/structs/keys.pulsar.go @@ -35,21 +35,25 @@ const ( ObjectType_infusion ObjectType = 7 ObjectType_address ObjectType = 8 ObjectType_fleet ObjectType = 9 + ObjectType_provider ObjectType = 10 + ObjectType_agreement ObjectType = 11 ) // Enum value maps for ObjectType. var ( ObjectType_name = map[int32]string{ - 0: "guild", - 1: "player", - 2: "planet", - 3: "reactor", - 4: "substation", - 5: "struct", - 6: "allocation", - 7: "infusion", - 8: "address", - 9: "fleet", + 0: "guild", + 1: "player", + 2: "planet", + 3: "reactor", + 4: "substation", + 5: "struct", + 6: "allocation", + 7: "infusion", + 8: "address", + 9: "fleet", + 10: "provider", + 11: "agreement", } ObjectType_value = map[string]int32{ "guild": 0, @@ -62,6 +66,8 @@ var ( "infusion": 7, "address": 8, "fleet": 9, + "provider": 10, + "agreement": 11, } ) @@ -109,6 +115,7 @@ const ( GridAttributeType_lastAction GridAttributeType = 11 GridAttributeType_nonce GridAttributeType = 12 GridAttributeType_ready GridAttributeType = 13 + GridAttributeType_checkpointBlock GridAttributeType = 14 ) // Enum value maps for GridAttributeType. @@ -128,6 +135,7 @@ var ( 11: "lastAction", 12: "nonce", 13: "ready", + 14: "checkpointBlock", } GridAttributeType_value = map[string]int32{ "ore": 0, @@ -144,6 +152,7 @@ var ( "lastAction": 11, "nonce": 12, "ready": 13, + "checkpointBlock": 14, } ) @@ -177,9 +186,10 @@ func (GridAttributeType) EnumDescriptor() ([]byte, []int) { type AllocationType int32 const ( - AllocationType_static AllocationType = 0 - AllocationType_dynamic AllocationType = 1 - AllocationType_automated AllocationType = 2 + AllocationType_static AllocationType = 0 + AllocationType_dynamic AllocationType = 1 + AllocationType_automated AllocationType = 2 + AllocationType_providerAgreement AllocationType = 3 ) // Enum value maps for AllocationType. @@ -188,11 +198,13 @@ var ( 0: "static", 1: "dynamic", 2: "automated", + 3: "providerAgreement", } AllocationType_value = map[string]int32{ - "static": 0, - "dynamic": 1, - "automated": 2, + "static": 0, + "dynamic": 1, + "automated": 2, + "providerAgreement": 3, } ) @@ -1287,6 +1299,55 @@ func (TechPowerGeneration) EnumDescriptor() ([]byte, []int) { return file_structs_structs_keys_proto_rawDescGZIP(), []int{22} } +type ProviderAccessPolicy int32 + +const ( + ProviderAccessPolicy_openMarket ProviderAccessPolicy = 0 + ProviderAccessPolicy_guildMarket ProviderAccessPolicy = 1 + ProviderAccessPolicy_closedMarket ProviderAccessPolicy = 2 +) + +// Enum value maps for ProviderAccessPolicy. +var ( + ProviderAccessPolicy_name = map[int32]string{ + 0: "openMarket", + 1: "guildMarket", + 2: "closedMarket", + } + ProviderAccessPolicy_value = map[string]int32{ + "openMarket": 0, + "guildMarket": 1, + "closedMarket": 2, + } +) + +func (x ProviderAccessPolicy) Enum() *ProviderAccessPolicy { + p := new(ProviderAccessPolicy) + *p = x + return p +} + +func (x ProviderAccessPolicy) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ProviderAccessPolicy) Descriptor() protoreflect.EnumDescriptor { + return file_structs_structs_keys_proto_enumTypes[23].Descriptor() +} + +func (ProviderAccessPolicy) Type() protoreflect.EnumType { + return &file_structs_structs_keys_proto_enumTypes[23] +} + +func (x ProviderAccessPolicy) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ProviderAccessPolicy.Descriptor instead. +func (ProviderAccessPolicy) EnumDescriptor() ([]byte, []int) { + return file_structs_structs_keys_proto_rawDescGZIP(), []int{23} +} + var File_structs_structs_keys_proto protoreflect.FileDescriptor var file_structs_structs_keys_proto_rawDesc = []byte{ @@ -1294,7 +1355,7 @@ var file_structs_structs_keys_proto_rawDesc = []byte{ 0x73, 0x2f, 0x6b, 0x65, 0x79, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x1a, 0x14, 0x67, 0x6f, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x67, 0x6f, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x2a, 0x8e, 0x01, 0x0a, 0x0a, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x54, 0x79, + 0x6f, 0x74, 0x6f, 0x2a, 0xab, 0x01, 0x0a, 0x0a, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x09, 0x0a, 0x05, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x10, 0x02, 0x12, 0x0b, 0x0a, 0x07, 0x72, 0x65, 0x61, 0x63, 0x74, 0x6f, 0x72, @@ -1303,178 +1364,188 @@ var file_structs_structs_keys_proto_rawDesc = []byte{ 0x0a, 0x0a, 0x61, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x10, 0x06, 0x12, 0x0c, 0x0a, 0x08, 0x69, 0x6e, 0x66, 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x10, 0x07, 0x12, 0x0b, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x10, 0x08, 0x12, 0x09, 0x0a, 0x05, 0x66, 0x6c, 0x65, - 0x65, 0x74, 0x10, 0x09, 0x2a, 0xf3, 0x01, 0x0a, 0x11, 0x67, 0x72, 0x69, 0x64, 0x41, 0x74, 0x74, - 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x07, 0x0a, 0x03, 0x6f, 0x72, - 0x65, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x66, 0x75, 0x65, 0x6c, 0x10, 0x01, 0x12, 0x0c, 0x0a, - 0x08, 0x63, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x10, 0x02, 0x12, 0x08, 0x0a, 0x04, 0x6c, - 0x6f, 0x61, 0x64, 0x10, 0x03, 0x12, 0x0f, 0x0a, 0x0b, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, - 0x4c, 0x6f, 0x61, 0x64, 0x10, 0x04, 0x12, 0x09, 0x0a, 0x05, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x10, - 0x05, 0x12, 0x16, 0x0a, 0x12, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, - 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x10, 0x06, 0x12, 0x13, 0x0a, 0x0f, 0x63, 0x6f, 0x6e, - 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x10, 0x07, 0x12, 0x1a, - 0x0a, 0x16, 0x61, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x69, 0x6e, - 0x74, 0x65, 0x72, 0x53, 0x74, 0x61, 0x72, 0x74, 0x10, 0x08, 0x12, 0x18, 0x0a, 0x14, 0x61, 0x6c, - 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x45, - 0x6e, 0x64, 0x10, 0x09, 0x12, 0x0e, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x4e, 0x6f, 0x6e, - 0x63, 0x65, 0x10, 0x0a, 0x12, 0x0e, 0x0a, 0x0a, 0x6c, 0x61, 0x73, 0x74, 0x41, 0x63, 0x74, 0x69, - 0x6f, 0x6e, 0x10, 0x0b, 0x12, 0x09, 0x0a, 0x05, 0x6e, 0x6f, 0x6e, 0x63, 0x65, 0x10, 0x0c, 0x12, - 0x09, 0x0a, 0x05, 0x72, 0x65, 0x61, 0x64, 0x79, 0x10, 0x0d, 0x2a, 0x38, 0x0a, 0x0e, 0x61, 0x6c, - 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0a, 0x0a, 0x06, - 0x73, 0x74, 0x61, 0x74, 0x69, 0x63, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x64, 0x79, 0x6e, 0x61, - 0x6d, 0x69, 0x63, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x61, 0x74, - 0x65, 0x64, 0x10, 0x02, 0x2a, 0x40, 0x0a, 0x14, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x4a, 0x6f, 0x69, - 0x6e, 0x42, 0x79, 0x70, 0x61, 0x73, 0x73, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x0a, 0x0a, 0x06, - 0x63, 0x6c, 0x6f, 0x73, 0x65, 0x64, 0x10, 0x00, 0x12, 0x10, 0x0a, 0x0c, 0x70, 0x65, 0x72, 0x6d, - 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x64, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x6d, 0x65, - 0x6d, 0x62, 0x65, 0x72, 0x10, 0x02, 0x2a, 0x3f, 0x0a, 0x0d, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x4a, - 0x6f, 0x69, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0a, 0x0a, 0x06, 0x69, 0x6e, 0x76, 0x69, 0x74, - 0x65, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x10, 0x01, - 0x12, 0x0a, 0x0a, 0x06, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x10, 0x02, 0x12, 0x09, 0x0a, 0x05, - 0x70, 0x72, 0x6f, 0x78, 0x79, 0x10, 0x03, 0x2a, 0x49, 0x0a, 0x12, 0x72, 0x65, 0x67, 0x69, 0x73, - 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x0c, 0x0a, - 0x08, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x65, 0x64, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x61, - 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x64, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x64, 0x65, 0x6e, - 0x69, 0x65, 0x64, 0x10, 0x02, 0x12, 0x0b, 0x0a, 0x07, 0x72, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x64, - 0x10, 0x03, 0x2a, 0x45, 0x0a, 0x05, 0x61, 0x6d, 0x62, 0x69, 0x74, 0x12, 0x08, 0x0a, 0x04, 0x6e, - 0x6f, 0x6e, 0x65, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x77, 0x61, 0x74, 0x65, 0x72, 0x10, 0x01, - 0x12, 0x08, 0x0a, 0x04, 0x6c, 0x61, 0x6e, 0x64, 0x10, 0x02, 0x12, 0x07, 0x0a, 0x03, 0x61, 0x69, - 0x72, 0x10, 0x03, 0x12, 0x09, 0x0a, 0x05, 0x73, 0x70, 0x61, 0x63, 0x65, 0x10, 0x04, 0x12, 0x09, - 0x0a, 0x05, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x10, 0x05, 0x2a, 0x65, 0x0a, 0x0a, 0x72, 0x61, 0x69, - 0x64, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x0d, 0x0a, 0x09, 0x69, 0x6e, 0x69, 0x74, 0x69, - 0x61, 0x74, 0x65, 0x64, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x6f, 0x6e, 0x67, 0x6f, 0x69, 0x6e, - 0x67, 0x10, 0x02, 0x12, 0x14, 0x0a, 0x10, 0x61, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x65, 0x72, 0x44, - 0x65, 0x66, 0x65, 0x61, 0x74, 0x65, 0x64, 0x10, 0x01, 0x12, 0x12, 0x0a, 0x0e, 0x72, 0x61, 0x69, - 0x64, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x66, 0x75, 0x6c, 0x10, 0x03, 0x12, 0x11, 0x0a, - 0x0d, 0x64, 0x65, 0x6d, 0x69, 0x6c, 0x69, 0x74, 0x61, 0x72, 0x69, 0x7a, 0x65, 0x64, 0x10, 0x04, - 0x2a, 0x28, 0x0a, 0x0c, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, - 0x12, 0x0a, 0x0a, 0x06, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, - 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x10, 0x01, 0x2a, 0x26, 0x0a, 0x0b, 0x66, 0x6c, - 0x65, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x0d, 0x0a, 0x09, 0x6f, 0x6e, 0x53, - 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x61, 0x77, 0x61, 0x79, - 0x10, 0x01, 0x2a, 0x9b, 0x01, 0x0a, 0x13, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x41, 0x74, 0x74, - 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0a, 0x0a, 0x06, 0x68, 0x65, - 0x61, 0x6c, 0x74, 0x68, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, - 0x10, 0x01, 0x12, 0x13, 0x0a, 0x0f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x53, 0x74, 0x61, 0x72, 0x74, - 0x42, 0x75, 0x69, 0x6c, 0x64, 0x10, 0x02, 0x12, 0x15, 0x0a, 0x11, 0x62, 0x6c, 0x6f, 0x63, 0x6b, - 0x53, 0x74, 0x61, 0x72, 0x74, 0x4f, 0x72, 0x65, 0x4d, 0x69, 0x6e, 0x65, 0x10, 0x03, 0x12, 0x17, - 0x0a, 0x13, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x53, 0x74, 0x61, 0x72, 0x74, 0x4f, 0x72, 0x65, 0x52, - 0x65, 0x66, 0x69, 0x6e, 0x65, 0x10, 0x04, 0x12, 0x18, 0x0a, 0x14, 0x70, 0x72, 0x6f, 0x74, 0x65, - 0x63, 0x74, 0x65, 0x64, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x10, - 0x05, 0x12, 0x0d, 0x0a, 0x09, 0x74, 0x79, 0x70, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x10, 0x06, - 0x2a, 0xda, 0x03, 0x0a, 0x13, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x41, 0x74, 0x74, 0x72, 0x69, - 0x62, 0x75, 0x74, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x13, 0x0a, 0x0f, 0x70, 0x6c, 0x61, 0x6e, - 0x65, 0x74, 0x61, 0x72, 0x79, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x10, 0x00, 0x12, 0x19, 0x0a, - 0x15, 0x72, 0x65, 0x70, 0x61, 0x69, 0x72, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x51, 0x75, - 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x10, 0x01, 0x12, 0x1b, 0x0a, 0x17, 0x64, 0x65, 0x66, 0x65, - 0x6e, 0x73, 0x69, 0x76, 0x65, 0x43, 0x61, 0x6e, 0x6e, 0x6f, 0x6e, 0x51, 0x75, 0x61, 0x6e, 0x74, - 0x69, 0x74, 0x79, 0x10, 0x02, 0x12, 0x2a, 0x0a, 0x26, 0x63, 0x6f, 0x6f, 0x72, 0x64, 0x69, 0x6e, - 0x61, 0x74, 0x65, 0x64, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, + 0x65, 0x74, 0x10, 0x09, 0x12, 0x0c, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, + 0x10, 0x0a, 0x12, 0x0d, 0x0a, 0x09, 0x61, 0x67, 0x72, 0x65, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x10, + 0x0b, 0x2a, 0x88, 0x02, 0x0a, 0x11, 0x67, 0x72, 0x69, 0x64, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, + 0x75, 0x74, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x07, 0x0a, 0x03, 0x6f, 0x72, 0x65, 0x10, 0x00, + 0x12, 0x08, 0x0a, 0x04, 0x66, 0x75, 0x65, 0x6c, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x63, 0x61, + 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x10, 0x02, 0x12, 0x08, 0x0a, 0x04, 0x6c, 0x6f, 0x61, 0x64, + 0x10, 0x03, 0x12, 0x0f, 0x0a, 0x0b, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x4c, 0x6f, 0x61, + 0x64, 0x10, 0x04, 0x12, 0x09, 0x0a, 0x05, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x10, 0x05, 0x12, 0x16, + 0x0a, 0x12, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x61, 0x70, 0x61, + 0x63, 0x69, 0x74, 0x79, 0x10, 0x06, 0x12, 0x13, 0x0a, 0x0f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x10, 0x07, 0x12, 0x1a, 0x0a, 0x16, 0x61, + 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x65, 0x72, + 0x53, 0x74, 0x61, 0x72, 0x74, 0x10, 0x08, 0x12, 0x18, 0x0a, 0x14, 0x61, 0x6c, 0x6c, 0x6f, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x45, 0x6e, 0x64, 0x10, + 0x09, 0x12, 0x0e, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x4e, 0x6f, 0x6e, 0x63, 0x65, 0x10, + 0x0a, 0x12, 0x0e, 0x0a, 0x0a, 0x6c, 0x61, 0x73, 0x74, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x10, + 0x0b, 0x12, 0x09, 0x0a, 0x05, 0x6e, 0x6f, 0x6e, 0x63, 0x65, 0x10, 0x0c, 0x12, 0x09, 0x0a, 0x05, + 0x72, 0x65, 0x61, 0x64, 0x79, 0x10, 0x0d, 0x12, 0x13, 0x0a, 0x0f, 0x63, 0x68, 0x65, 0x63, 0x6b, + 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x10, 0x0e, 0x2a, 0x4f, 0x0a, 0x0e, + 0x61, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0a, + 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x69, 0x63, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x64, 0x79, + 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x61, 0x75, 0x74, 0x6f, 0x6d, + 0x61, 0x74, 0x65, 0x64, 0x10, 0x02, 0x12, 0x15, 0x0a, 0x11, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, + 0x65, 0x72, 0x41, 0x67, 0x72, 0x65, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x10, 0x03, 0x2a, 0x40, 0x0a, + 0x14, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x4a, 0x6f, 0x69, 0x6e, 0x42, 0x79, 0x70, 0x61, 0x73, 0x73, + 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x0a, 0x0a, 0x06, 0x63, 0x6c, 0x6f, 0x73, 0x65, 0x64, 0x10, + 0x00, 0x12, 0x10, 0x0a, 0x0c, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x65, + 0x64, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x10, 0x02, 0x2a, + 0x3f, 0x0a, 0x0d, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x4a, 0x6f, 0x69, 0x6e, 0x54, 0x79, 0x70, 0x65, + 0x12, 0x0a, 0x0a, 0x06, 0x69, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, + 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x64, 0x69, 0x72, + 0x65, 0x63, 0x74, 0x10, 0x02, 0x12, 0x09, 0x0a, 0x05, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x10, 0x03, + 0x2a, 0x49, 0x0a, 0x12, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x0c, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, + 0x65, 0x64, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x61, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x64, + 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x64, 0x65, 0x6e, 0x69, 0x65, 0x64, 0x10, 0x02, 0x12, 0x0b, + 0x0a, 0x07, 0x72, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x64, 0x10, 0x03, 0x2a, 0x45, 0x0a, 0x05, 0x61, + 0x6d, 0x62, 0x69, 0x74, 0x12, 0x08, 0x0a, 0x04, 0x6e, 0x6f, 0x6e, 0x65, 0x10, 0x00, 0x12, 0x09, + 0x0a, 0x05, 0x77, 0x61, 0x74, 0x65, 0x72, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x6c, 0x61, 0x6e, + 0x64, 0x10, 0x02, 0x12, 0x07, 0x0a, 0x03, 0x61, 0x69, 0x72, 0x10, 0x03, 0x12, 0x09, 0x0a, 0x05, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x10, 0x04, 0x12, 0x09, 0x0a, 0x05, 0x6c, 0x6f, 0x63, 0x61, 0x6c, + 0x10, 0x05, 0x2a, 0x65, 0x0a, 0x0a, 0x72, 0x61, 0x69, 0x64, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x12, 0x0d, 0x0a, 0x09, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x74, 0x65, 0x64, 0x10, 0x00, 0x12, + 0x0b, 0x0a, 0x07, 0x6f, 0x6e, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x10, 0x02, 0x12, 0x14, 0x0a, 0x10, + 0x61, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x65, 0x72, 0x44, 0x65, 0x66, 0x65, 0x61, 0x74, 0x65, 0x64, + 0x10, 0x01, 0x12, 0x12, 0x0a, 0x0e, 0x72, 0x61, 0x69, 0x64, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, + 0x73, 0x66, 0x75, 0x6c, 0x10, 0x03, 0x12, 0x11, 0x0a, 0x0d, 0x64, 0x65, 0x6d, 0x69, 0x6c, 0x69, + 0x74, 0x61, 0x72, 0x69, 0x7a, 0x65, 0x64, 0x10, 0x04, 0x2a, 0x28, 0x0a, 0x0c, 0x70, 0x6c, 0x61, + 0x6e, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x0a, 0x0a, 0x06, 0x61, 0x63, 0x74, + 0x69, 0x76, 0x65, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, + 0x65, 0x10, 0x01, 0x2a, 0x26, 0x0a, 0x0b, 0x66, 0x6c, 0x65, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, + 0x75, 0x73, 0x12, 0x0d, 0x0a, 0x09, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x10, + 0x00, 0x12, 0x08, 0x0a, 0x04, 0x61, 0x77, 0x61, 0x79, 0x10, 0x01, 0x2a, 0x9b, 0x01, 0x0a, 0x13, + 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x54, + 0x79, 0x70, 0x65, 0x12, 0x0a, 0x0a, 0x06, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x10, 0x00, 0x12, + 0x0a, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x10, 0x01, 0x12, 0x13, 0x0a, 0x0f, 0x62, + 0x6c, 0x6f, 0x63, 0x6b, 0x53, 0x74, 0x61, 0x72, 0x74, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x10, 0x02, + 0x12, 0x15, 0x0a, 0x11, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x53, 0x74, 0x61, 0x72, 0x74, 0x4f, 0x72, + 0x65, 0x4d, 0x69, 0x6e, 0x65, 0x10, 0x03, 0x12, 0x17, 0x0a, 0x13, 0x62, 0x6c, 0x6f, 0x63, 0x6b, + 0x53, 0x74, 0x61, 0x72, 0x74, 0x4f, 0x72, 0x65, 0x52, 0x65, 0x66, 0x69, 0x6e, 0x65, 0x10, 0x04, + 0x12, 0x18, 0x0a, 0x14, 0x70, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x65, 0x64, 0x53, 0x74, 0x72, + 0x75, 0x63, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x10, 0x05, 0x12, 0x0d, 0x0a, 0x09, 0x74, 0x79, + 0x70, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x10, 0x06, 0x2a, 0xda, 0x03, 0x0a, 0x13, 0x70, 0x6c, + 0x61, 0x6e, 0x65, 0x74, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x54, 0x79, 0x70, + 0x65, 0x12, 0x13, 0x0a, 0x0f, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x61, 0x72, 0x79, 0x53, 0x68, + 0x69, 0x65, 0x6c, 0x64, 0x10, 0x00, 0x12, 0x19, 0x0a, 0x15, 0x72, 0x65, 0x70, 0x61, 0x69, 0x72, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x51, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x10, - 0x03, 0x12, 0x30, 0x0a, 0x2c, 0x6c, 0x6f, 0x77, 0x4f, 0x72, 0x62, 0x69, 0x74, 0x42, 0x61, 0x6c, - 0x6c, 0x69, 0x73, 0x74, 0x69, 0x63, 0x73, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x63, 0x65, 0x70, 0x74, - 0x6f, 0x72, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x51, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, - 0x79, 0x10, 0x04, 0x12, 0x38, 0x0a, 0x34, 0x61, 0x64, 0x76, 0x61, 0x6e, 0x63, 0x65, 0x64, 0x4c, - 0x6f, 0x77, 0x4f, 0x72, 0x62, 0x69, 0x74, 0x42, 0x61, 0x6c, 0x6c, 0x69, 0x73, 0x74, 0x69, 0x63, - 0x73, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x63, 0x65, 0x70, 0x74, 0x6f, 0x72, 0x4e, 0x65, 0x74, 0x77, - 0x6f, 0x72, 0x6b, 0x51, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x10, 0x05, 0x12, 0x3c, 0x0a, - 0x38, 0x6c, 0x6f, 0x77, 0x4f, 0x72, 0x62, 0x69, 0x74, 0x42, 0x61, 0x6c, 0x6c, 0x69, 0x73, 0x74, - 0x69, 0x63, 0x73, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x63, 0x65, 0x70, 0x74, 0x6f, 0x72, 0x4e, 0x65, - 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x52, 0x61, 0x74, 0x65, - 0x4e, 0x75, 0x6d, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x10, 0x06, 0x12, 0x3e, 0x0a, 0x3a, 0x6c, - 0x6f, 0x77, 0x4f, 0x72, 0x62, 0x69, 0x74, 0x42, 0x61, 0x6c, 0x6c, 0x69, 0x73, 0x74, 0x69, 0x63, - 0x73, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x63, 0x65, 0x70, 0x74, 0x6f, 0x72, 0x4e, 0x65, 0x74, 0x77, - 0x6f, 0x72, 0x6b, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x52, 0x61, 0x74, 0x65, 0x44, 0x65, - 0x6e, 0x6f, 0x6d, 0x69, 0x6e, 0x61, 0x74, 0x6f, 0x72, 0x10, 0x07, 0x12, 0x21, 0x0a, 0x1d, 0x6f, - 0x72, 0x62, 0x69, 0x74, 0x61, 0x6c, 0x4a, 0x61, 0x6d, 0x6d, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x51, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x10, 0x08, 0x12, 0x29, - 0x0a, 0x25, 0x61, 0x64, 0x76, 0x61, 0x6e, 0x63, 0x65, 0x64, 0x4f, 0x72, 0x62, 0x69, 0x74, 0x61, - 0x6c, 0x4a, 0x61, 0x6d, 0x6d, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x51, - 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x10, 0x09, 0x12, 0x12, 0x0a, 0x0e, 0x62, 0x6c, 0x6f, - 0x63, 0x6b, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x61, 0x69, 0x64, 0x10, 0x0a, 0x2a, 0x3a, 0x0a, - 0x10, 0x74, 0x65, 0x63, 0x68, 0x57, 0x65, 0x61, 0x70, 0x6f, 0x6e, 0x53, 0x79, 0x73, 0x74, 0x65, - 0x6d, 0x12, 0x11, 0x0a, 0x0d, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x57, 0x65, 0x61, 0x70, - 0x6f, 0x6e, 0x10, 0x00, 0x12, 0x13, 0x0a, 0x0f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x61, 0x72, - 0x79, 0x57, 0x65, 0x61, 0x70, 0x6f, 0x6e, 0x10, 0x01, 0x2a, 0x42, 0x0a, 0x11, 0x74, 0x65, 0x63, - 0x68, 0x57, 0x65, 0x61, 0x70, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x12, 0x13, - 0x0a, 0x0f, 0x6e, 0x6f, 0x57, 0x65, 0x61, 0x70, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, - 0x6c, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x67, 0x75, 0x69, 0x64, 0x65, 0x64, 0x10, 0x01, 0x12, - 0x0c, 0x0a, 0x08, 0x75, 0x6e, 0x67, 0x75, 0x69, 0x64, 0x65, 0x64, 0x10, 0x02, 0x2a, 0x75, 0x0a, - 0x12, 0x74, 0x65, 0x63, 0x68, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x57, 0x65, 0x61, 0x70, 0x6f, - 0x6e, 0x72, 0x79, 0x12, 0x14, 0x0a, 0x10, 0x6e, 0x6f, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x57, - 0x65, 0x61, 0x70, 0x6f, 0x6e, 0x72, 0x79, 0x10, 0x00, 0x12, 0x12, 0x0a, 0x0e, 0x67, 0x75, 0x69, - 0x64, 0x65, 0x64, 0x57, 0x65, 0x61, 0x70, 0x6f, 0x6e, 0x72, 0x79, 0x10, 0x01, 0x12, 0x14, 0x0a, - 0x10, 0x75, 0x6e, 0x67, 0x75, 0x69, 0x64, 0x65, 0x64, 0x57, 0x65, 0x61, 0x70, 0x6f, 0x6e, 0x72, - 0x79, 0x10, 0x02, 0x12, 0x0d, 0x0a, 0x09, 0x61, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x52, 0x75, 0x6e, - 0x10, 0x03, 0x12, 0x10, 0x0a, 0x0c, 0x73, 0x65, 0x6c, 0x66, 0x44, 0x65, 0x73, 0x74, 0x72, 0x75, - 0x63, 0x74, 0x10, 0x04, 0x2a, 0x83, 0x01, 0x0a, 0x13, 0x74, 0x65, 0x63, 0x68, 0x50, 0x61, 0x73, - 0x73, 0x69, 0x76, 0x65, 0x57, 0x65, 0x61, 0x70, 0x6f, 0x6e, 0x72, 0x79, 0x12, 0x15, 0x0a, 0x11, - 0x6e, 0x6f, 0x50, 0x61, 0x73, 0x73, 0x69, 0x76, 0x65, 0x57, 0x65, 0x61, 0x70, 0x6f, 0x6e, 0x72, - 0x79, 0x10, 0x00, 0x12, 0x11, 0x0a, 0x0d, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x41, 0x74, - 0x74, 0x61, 0x63, 0x6b, 0x10, 0x01, 0x12, 0x17, 0x0a, 0x13, 0x73, 0x74, 0x72, 0x6f, 0x6e, 0x67, - 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x41, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x10, 0x02, 0x12, - 0x19, 0x0a, 0x15, 0x61, 0x64, 0x76, 0x61, 0x6e, 0x63, 0x65, 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74, - 0x65, 0x72, 0x41, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x10, 0x03, 0x12, 0x0e, 0x0a, 0x0a, 0x6c, 0x61, - 0x73, 0x74, 0x52, 0x65, 0x73, 0x6f, 0x72, 0x74, 0x10, 0x04, 0x2a, 0xb2, 0x01, 0x0a, 0x10, 0x74, - 0x65, 0x63, 0x68, 0x55, 0x6e, 0x69, 0x74, 0x44, 0x65, 0x66, 0x65, 0x6e, 0x73, 0x65, 0x73, 0x12, - 0x12, 0x0a, 0x0e, 0x6e, 0x6f, 0x55, 0x6e, 0x69, 0x74, 0x44, 0x65, 0x66, 0x65, 0x6e, 0x73, 0x65, - 0x73, 0x10, 0x00, 0x12, 0x15, 0x0a, 0x11, 0x64, 0x65, 0x66, 0x65, 0x6e, 0x73, 0x69, 0x76, 0x65, - 0x4d, 0x61, 0x6e, 0x65, 0x75, 0x76, 0x65, 0x72, 0x10, 0x01, 0x12, 0x11, 0x0a, 0x0d, 0x73, 0x69, - 0x67, 0x6e, 0x61, 0x6c, 0x4a, 0x61, 0x6d, 0x6d, 0x69, 0x6e, 0x67, 0x10, 0x02, 0x12, 0x0a, 0x0a, - 0x06, 0x61, 0x72, 0x6d, 0x6f, 0x75, 0x72, 0x10, 0x03, 0x12, 0x18, 0x0a, 0x14, 0x69, 0x6e, 0x64, - 0x69, 0x72, 0x65, 0x63, 0x74, 0x43, 0x6f, 0x6d, 0x62, 0x61, 0x74, 0x4d, 0x6f, 0x64, 0x75, 0x6c, - 0x65, 0x10, 0x04, 0x12, 0x0f, 0x0a, 0x0b, 0x73, 0x74, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x4d, 0x6f, - 0x64, 0x65, 0x10, 0x05, 0x12, 0x14, 0x0a, 0x10, 0x70, 0x65, 0x72, 0x69, 0x6d, 0x65, 0x74, 0x65, - 0x72, 0x46, 0x65, 0x6e, 0x63, 0x69, 0x6e, 0x67, 0x10, 0x06, 0x12, 0x13, 0x0a, 0x0f, 0x72, 0x65, - 0x69, 0x6e, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x64, 0x57, 0x61, 0x6c, 0x6c, 0x73, 0x10, 0x07, 0x2a, - 0xad, 0x01, 0x0a, 0x16, 0x74, 0x65, 0x63, 0x68, 0x4f, 0x72, 0x65, 0x52, 0x65, 0x73, 0x65, 0x72, - 0x76, 0x65, 0x44, 0x65, 0x66, 0x65, 0x6e, 0x73, 0x65, 0x73, 0x12, 0x18, 0x0a, 0x14, 0x6e, 0x6f, - 0x4f, 0x72, 0x65, 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x44, 0x65, 0x66, 0x65, 0x6e, 0x73, - 0x65, 0x73, 0x10, 0x00, 0x12, 0x25, 0x0a, 0x21, 0x63, 0x6f, 0x6f, 0x72, 0x64, 0x69, 0x6e, 0x61, - 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x54, 0x72, 0x61, 0x63, 0x6b, 0x65, 0x72, 0x10, 0x01, 0x12, 0x18, 0x0a, 0x14, 0x72, - 0x61, 0x70, 0x69, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x61, 0x63, 0x6b, - 0x61, 0x67, 0x65, 0x10, 0x02, 0x12, 0x12, 0x0a, 0x0e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x53, - 0x63, 0x61, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x10, 0x03, 0x12, 0x15, 0x0a, 0x11, 0x6d, 0x6f, 0x6e, - 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x10, 0x04, - 0x12, 0x0d, 0x0a, 0x09, 0x6f, 0x72, 0x65, 0x42, 0x75, 0x6e, 0x6b, 0x65, 0x72, 0x10, 0x05, 0x2a, - 0x6d, 0x0a, 0x15, 0x74, 0x65, 0x63, 0x68, 0x50, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x61, 0x72, 0x79, - 0x44, 0x65, 0x66, 0x65, 0x6e, 0x73, 0x65, 0x73, 0x12, 0x16, 0x0a, 0x12, 0x6e, 0x6f, 0x50, 0x6c, - 0x61, 0x6e, 0x65, 0x74, 0x61, 0x72, 0x79, 0x44, 0x65, 0x66, 0x65, 0x6e, 0x73, 0x65, 0x10, 0x00, - 0x12, 0x13, 0x0a, 0x0f, 0x64, 0x65, 0x66, 0x65, 0x6e, 0x73, 0x69, 0x76, 0x65, 0x43, 0x61, 0x6e, - 0x6e, 0x6f, 0x6e, 0x10, 0x01, 0x12, 0x27, 0x0a, 0x23, 0x6c, 0x6f, 0x77, 0x4f, 0x72, 0x62, 0x69, - 0x74, 0x42, 0x61, 0x6c, 0x6c, 0x69, 0x73, 0x74, 0x69, 0x63, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x63, - 0x65, 0x70, 0x74, 0x6f, 0x72, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x10, 0x02, 0x2a, 0x55, - 0x0a, 0x15, 0x74, 0x65, 0x63, 0x68, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x46, 0x61, 0x63, - 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, 0x17, 0x0a, 0x13, 0x6e, 0x6f, 0x53, 0x74, 0x6f, - 0x72, 0x61, 0x67, 0x65, 0x46, 0x61, 0x63, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x10, 0x00, - 0x12, 0x08, 0x0a, 0x04, 0x64, 0x6f, 0x63, 0x6b, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x68, 0x61, - 0x6e, 0x67, 0x65, 0x72, 0x10, 0x02, 0x12, 0x0d, 0x0a, 0x09, 0x66, 0x6c, 0x65, 0x65, 0x74, 0x42, - 0x61, 0x73, 0x65, 0x10, 0x03, 0x2a, 0x3e, 0x0a, 0x13, 0x74, 0x65, 0x63, 0x68, 0x50, 0x6c, 0x61, - 0x6e, 0x65, 0x74, 0x61, 0x72, 0x79, 0x4d, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x12, 0x15, 0x0a, 0x11, - 0x6e, 0x6f, 0x50, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x61, 0x72, 0x79, 0x4d, 0x69, 0x6e, 0x69, 0x6e, - 0x67, 0x10, 0x00, 0x12, 0x10, 0x0a, 0x0c, 0x6f, 0x72, 0x65, 0x4d, 0x69, 0x6e, 0x69, 0x6e, 0x67, - 0x52, 0x69, 0x67, 0x10, 0x01, 0x2a, 0x43, 0x0a, 0x17, 0x74, 0x65, 0x63, 0x68, 0x50, 0x6c, 0x61, - 0x6e, 0x65, 0x74, 0x61, 0x72, 0x79, 0x52, 0x65, 0x66, 0x69, 0x6e, 0x65, 0x72, 0x69, 0x65, 0x73, - 0x12, 0x17, 0x0a, 0x13, 0x6e, 0x6f, 0x50, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x61, 0x72, 0x79, 0x52, - 0x65, 0x66, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x10, 0x00, 0x12, 0x0f, 0x0a, 0x0b, 0x6f, 0x72, 0x65, - 0x52, 0x65, 0x66, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x10, 0x01, 0x2a, 0x69, 0x0a, 0x13, 0x74, 0x65, - 0x63, 0x68, 0x50, 0x6f, 0x77, 0x65, 0x72, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x12, 0x15, 0x0a, 0x11, 0x6e, 0x6f, 0x50, 0x6f, 0x77, 0x65, 0x72, 0x47, 0x65, 0x6e, 0x65, - 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x10, 0x00, 0x12, 0x12, 0x0a, 0x0e, 0x73, 0x6d, 0x61, 0x6c, - 0x6c, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x10, 0x01, 0x12, 0x13, 0x0a, 0x0f, - 0x6d, 0x65, 0x64, 0x69, 0x75, 0x6d, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x10, - 0x02, 0x12, 0x12, 0x0a, 0x0e, 0x6c, 0x61, 0x72, 0x67, 0x65, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, - 0x74, 0x6f, 0x72, 0x10, 0x03, 0x42, 0x9f, 0x01, 0x0a, 0x13, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x74, - 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x42, 0x09, 0x4b, - 0x65, 0x79, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x20, 0x63, 0x6f, 0x73, 0x6d, - 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x73, 0x74, 0x72, - 0x75, 0x63, 0x74, 0x73, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0xa2, 0x02, 0x03, 0x53, - 0x53, 0x58, 0xaa, 0x02, 0x0f, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x53, 0x74, 0x72, - 0x75, 0x63, 0x74, 0x73, 0xca, 0x02, 0x0f, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x5c, 0x53, - 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0xe2, 0x02, 0x1b, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, - 0x5c, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, - 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x10, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x3a, 0x3a, - 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x01, 0x12, 0x1b, 0x0a, 0x17, 0x64, 0x65, 0x66, 0x65, 0x6e, 0x73, 0x69, 0x76, 0x65, 0x43, 0x61, + 0x6e, 0x6e, 0x6f, 0x6e, 0x51, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x10, 0x02, 0x12, 0x2a, + 0x0a, 0x26, 0x63, 0x6f, 0x6f, 0x72, 0x64, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64, 0x47, 0x6c, 0x6f, + 0x62, 0x61, 0x6c, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, + 0x51, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x10, 0x03, 0x12, 0x30, 0x0a, 0x2c, 0x6c, 0x6f, + 0x77, 0x4f, 0x72, 0x62, 0x69, 0x74, 0x42, 0x61, 0x6c, 0x6c, 0x69, 0x73, 0x74, 0x69, 0x63, 0x73, + 0x49, 0x6e, 0x74, 0x65, 0x72, 0x63, 0x65, 0x70, 0x74, 0x6f, 0x72, 0x4e, 0x65, 0x74, 0x77, 0x6f, + 0x72, 0x6b, 0x51, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x10, 0x04, 0x12, 0x38, 0x0a, 0x34, + 0x61, 0x64, 0x76, 0x61, 0x6e, 0x63, 0x65, 0x64, 0x4c, 0x6f, 0x77, 0x4f, 0x72, 0x62, 0x69, 0x74, + 0x42, 0x61, 0x6c, 0x6c, 0x69, 0x73, 0x74, 0x69, 0x63, 0x73, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x63, + 0x65, 0x70, 0x74, 0x6f, 0x72, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x51, 0x75, 0x61, 0x6e, + 0x74, 0x69, 0x74, 0x79, 0x10, 0x05, 0x12, 0x3c, 0x0a, 0x38, 0x6c, 0x6f, 0x77, 0x4f, 0x72, 0x62, + 0x69, 0x74, 0x42, 0x61, 0x6c, 0x6c, 0x69, 0x73, 0x74, 0x69, 0x63, 0x73, 0x49, 0x6e, 0x74, 0x65, + 0x72, 0x63, 0x65, 0x70, 0x74, 0x6f, 0x72, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x53, 0x75, + 0x63, 0x63, 0x65, 0x73, 0x73, 0x52, 0x61, 0x74, 0x65, 0x4e, 0x75, 0x6d, 0x65, 0x72, 0x61, 0x74, + 0x6f, 0x72, 0x10, 0x06, 0x12, 0x3e, 0x0a, 0x3a, 0x6c, 0x6f, 0x77, 0x4f, 0x72, 0x62, 0x69, 0x74, + 0x42, 0x61, 0x6c, 0x6c, 0x69, 0x73, 0x74, 0x69, 0x63, 0x73, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x63, + 0x65, 0x70, 0x74, 0x6f, 0x72, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x53, 0x75, 0x63, 0x63, + 0x65, 0x73, 0x73, 0x52, 0x61, 0x74, 0x65, 0x44, 0x65, 0x6e, 0x6f, 0x6d, 0x69, 0x6e, 0x61, 0x74, + 0x6f, 0x72, 0x10, 0x07, 0x12, 0x21, 0x0a, 0x1d, 0x6f, 0x72, 0x62, 0x69, 0x74, 0x61, 0x6c, 0x4a, + 0x61, 0x6d, 0x6d, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x51, 0x75, 0x61, + 0x6e, 0x74, 0x69, 0x74, 0x79, 0x10, 0x08, 0x12, 0x29, 0x0a, 0x25, 0x61, 0x64, 0x76, 0x61, 0x6e, + 0x63, 0x65, 0x64, 0x4f, 0x72, 0x62, 0x69, 0x74, 0x61, 0x6c, 0x4a, 0x61, 0x6d, 0x6d, 0x69, 0x6e, + 0x67, 0x53, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x51, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, + 0x10, 0x09, 0x12, 0x12, 0x0a, 0x0e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x53, 0x74, 0x61, 0x72, 0x74, + 0x52, 0x61, 0x69, 0x64, 0x10, 0x0a, 0x2a, 0x3a, 0x0a, 0x10, 0x74, 0x65, 0x63, 0x68, 0x57, 0x65, + 0x61, 0x70, 0x6f, 0x6e, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x12, 0x11, 0x0a, 0x0d, 0x70, 0x72, + 0x69, 0x6d, 0x61, 0x72, 0x79, 0x57, 0x65, 0x61, 0x70, 0x6f, 0x6e, 0x10, 0x00, 0x12, 0x13, 0x0a, + 0x0f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x61, 0x72, 0x79, 0x57, 0x65, 0x61, 0x70, 0x6f, 0x6e, + 0x10, 0x01, 0x2a, 0x42, 0x0a, 0x11, 0x74, 0x65, 0x63, 0x68, 0x57, 0x65, 0x61, 0x70, 0x6f, 0x6e, + 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x12, 0x13, 0x0a, 0x0f, 0x6e, 0x6f, 0x57, 0x65, 0x61, + 0x70, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, + 0x67, 0x75, 0x69, 0x64, 0x65, 0x64, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x75, 0x6e, 0x67, 0x75, + 0x69, 0x64, 0x65, 0x64, 0x10, 0x02, 0x2a, 0x75, 0x0a, 0x12, 0x74, 0x65, 0x63, 0x68, 0x41, 0x63, + 0x74, 0x69, 0x76, 0x65, 0x57, 0x65, 0x61, 0x70, 0x6f, 0x6e, 0x72, 0x79, 0x12, 0x14, 0x0a, 0x10, + 0x6e, 0x6f, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x57, 0x65, 0x61, 0x70, 0x6f, 0x6e, 0x72, 0x79, + 0x10, 0x00, 0x12, 0x12, 0x0a, 0x0e, 0x67, 0x75, 0x69, 0x64, 0x65, 0x64, 0x57, 0x65, 0x61, 0x70, + 0x6f, 0x6e, 0x72, 0x79, 0x10, 0x01, 0x12, 0x14, 0x0a, 0x10, 0x75, 0x6e, 0x67, 0x75, 0x69, 0x64, + 0x65, 0x64, 0x57, 0x65, 0x61, 0x70, 0x6f, 0x6e, 0x72, 0x79, 0x10, 0x02, 0x12, 0x0d, 0x0a, 0x09, + 0x61, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x52, 0x75, 0x6e, 0x10, 0x03, 0x12, 0x10, 0x0a, 0x0c, 0x73, + 0x65, 0x6c, 0x66, 0x44, 0x65, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x10, 0x04, 0x2a, 0x83, 0x01, + 0x0a, 0x13, 0x74, 0x65, 0x63, 0x68, 0x50, 0x61, 0x73, 0x73, 0x69, 0x76, 0x65, 0x57, 0x65, 0x61, + 0x70, 0x6f, 0x6e, 0x72, 0x79, 0x12, 0x15, 0x0a, 0x11, 0x6e, 0x6f, 0x50, 0x61, 0x73, 0x73, 0x69, + 0x76, 0x65, 0x57, 0x65, 0x61, 0x70, 0x6f, 0x6e, 0x72, 0x79, 0x10, 0x00, 0x12, 0x11, 0x0a, 0x0d, + 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x41, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x10, 0x01, 0x12, + 0x17, 0x0a, 0x13, 0x73, 0x74, 0x72, 0x6f, 0x6e, 0x67, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, + 0x41, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x10, 0x02, 0x12, 0x19, 0x0a, 0x15, 0x61, 0x64, 0x76, 0x61, + 0x6e, 0x63, 0x65, 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x41, 0x74, 0x74, 0x61, 0x63, + 0x6b, 0x10, 0x03, 0x12, 0x0e, 0x0a, 0x0a, 0x6c, 0x61, 0x73, 0x74, 0x52, 0x65, 0x73, 0x6f, 0x72, + 0x74, 0x10, 0x04, 0x2a, 0xb2, 0x01, 0x0a, 0x10, 0x74, 0x65, 0x63, 0x68, 0x55, 0x6e, 0x69, 0x74, + 0x44, 0x65, 0x66, 0x65, 0x6e, 0x73, 0x65, 0x73, 0x12, 0x12, 0x0a, 0x0e, 0x6e, 0x6f, 0x55, 0x6e, + 0x69, 0x74, 0x44, 0x65, 0x66, 0x65, 0x6e, 0x73, 0x65, 0x73, 0x10, 0x00, 0x12, 0x15, 0x0a, 0x11, + 0x64, 0x65, 0x66, 0x65, 0x6e, 0x73, 0x69, 0x76, 0x65, 0x4d, 0x61, 0x6e, 0x65, 0x75, 0x76, 0x65, + 0x72, 0x10, 0x01, 0x12, 0x11, 0x0a, 0x0d, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x4a, 0x61, 0x6d, + 0x6d, 0x69, 0x6e, 0x67, 0x10, 0x02, 0x12, 0x0a, 0x0a, 0x06, 0x61, 0x72, 0x6d, 0x6f, 0x75, 0x72, + 0x10, 0x03, 0x12, 0x18, 0x0a, 0x14, 0x69, 0x6e, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x43, 0x6f, + 0x6d, 0x62, 0x61, 0x74, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x10, 0x04, 0x12, 0x0f, 0x0a, 0x0b, + 0x73, 0x74, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x4d, 0x6f, 0x64, 0x65, 0x10, 0x05, 0x12, 0x14, 0x0a, + 0x10, 0x70, 0x65, 0x72, 0x69, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x46, 0x65, 0x6e, 0x63, 0x69, 0x6e, + 0x67, 0x10, 0x06, 0x12, 0x13, 0x0a, 0x0f, 0x72, 0x65, 0x69, 0x6e, 0x66, 0x6f, 0x72, 0x63, 0x65, + 0x64, 0x57, 0x61, 0x6c, 0x6c, 0x73, 0x10, 0x07, 0x2a, 0xad, 0x01, 0x0a, 0x16, 0x74, 0x65, 0x63, + 0x68, 0x4f, 0x72, 0x65, 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x44, 0x65, 0x66, 0x65, 0x6e, + 0x73, 0x65, 0x73, 0x12, 0x18, 0x0a, 0x14, 0x6e, 0x6f, 0x4f, 0x72, 0x65, 0x52, 0x65, 0x73, 0x65, + 0x72, 0x76, 0x65, 0x44, 0x65, 0x66, 0x65, 0x6e, 0x73, 0x65, 0x73, 0x10, 0x00, 0x12, 0x25, 0x0a, + 0x21, 0x63, 0x6f, 0x6f, 0x72, 0x64, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x65, + 0x72, 0x76, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x54, 0x72, 0x61, 0x63, 0x6b, + 0x65, 0x72, 0x10, 0x01, 0x12, 0x18, 0x0a, 0x14, 0x72, 0x61, 0x70, 0x69, 0x64, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x10, 0x02, 0x12, 0x12, + 0x0a, 0x0e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x53, 0x63, 0x61, 0x6e, 0x6e, 0x69, 0x6e, 0x67, + 0x10, 0x03, 0x12, 0x15, 0x0a, 0x11, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, + 0x53, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x10, 0x04, 0x12, 0x0d, 0x0a, 0x09, 0x6f, 0x72, 0x65, + 0x42, 0x75, 0x6e, 0x6b, 0x65, 0x72, 0x10, 0x05, 0x2a, 0x6d, 0x0a, 0x15, 0x74, 0x65, 0x63, 0x68, + 0x50, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x61, 0x72, 0x79, 0x44, 0x65, 0x66, 0x65, 0x6e, 0x73, 0x65, + 0x73, 0x12, 0x16, 0x0a, 0x12, 0x6e, 0x6f, 0x50, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x61, 0x72, 0x79, + 0x44, 0x65, 0x66, 0x65, 0x6e, 0x73, 0x65, 0x10, 0x00, 0x12, 0x13, 0x0a, 0x0f, 0x64, 0x65, 0x66, + 0x65, 0x6e, 0x73, 0x69, 0x76, 0x65, 0x43, 0x61, 0x6e, 0x6e, 0x6f, 0x6e, 0x10, 0x01, 0x12, 0x27, + 0x0a, 0x23, 0x6c, 0x6f, 0x77, 0x4f, 0x72, 0x62, 0x69, 0x74, 0x42, 0x61, 0x6c, 0x6c, 0x69, 0x73, + 0x74, 0x69, 0x63, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x63, 0x65, 0x70, 0x74, 0x6f, 0x72, 0x4e, 0x65, + 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x10, 0x02, 0x2a, 0x55, 0x0a, 0x15, 0x74, 0x65, 0x63, 0x68, 0x53, + 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x46, 0x61, 0x63, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, + 0x12, 0x17, 0x0a, 0x13, 0x6e, 0x6f, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x46, 0x61, 0x63, + 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x64, 0x6f, 0x63, + 0x6b, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x72, 0x10, 0x02, 0x12, + 0x0d, 0x0a, 0x09, 0x66, 0x6c, 0x65, 0x65, 0x74, 0x42, 0x61, 0x73, 0x65, 0x10, 0x03, 0x2a, 0x3e, + 0x0a, 0x13, 0x74, 0x65, 0x63, 0x68, 0x50, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x61, 0x72, 0x79, 0x4d, + 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x12, 0x15, 0x0a, 0x11, 0x6e, 0x6f, 0x50, 0x6c, 0x61, 0x6e, 0x65, + 0x74, 0x61, 0x72, 0x79, 0x4d, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x10, 0x00, 0x12, 0x10, 0x0a, 0x0c, + 0x6f, 0x72, 0x65, 0x4d, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x52, 0x69, 0x67, 0x10, 0x01, 0x2a, 0x43, + 0x0a, 0x17, 0x74, 0x65, 0x63, 0x68, 0x50, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x61, 0x72, 0x79, 0x52, + 0x65, 0x66, 0x69, 0x6e, 0x65, 0x72, 0x69, 0x65, 0x73, 0x12, 0x17, 0x0a, 0x13, 0x6e, 0x6f, 0x50, + 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x61, 0x72, 0x79, 0x52, 0x65, 0x66, 0x69, 0x6e, 0x65, 0x72, 0x79, + 0x10, 0x00, 0x12, 0x0f, 0x0a, 0x0b, 0x6f, 0x72, 0x65, 0x52, 0x65, 0x66, 0x69, 0x6e, 0x65, 0x72, + 0x79, 0x10, 0x01, 0x2a, 0x69, 0x0a, 0x13, 0x74, 0x65, 0x63, 0x68, 0x50, 0x6f, 0x77, 0x65, 0x72, + 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x15, 0x0a, 0x11, 0x6e, 0x6f, + 0x50, 0x6f, 0x77, 0x65, 0x72, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x10, + 0x00, 0x12, 0x12, 0x0a, 0x0e, 0x73, 0x6d, 0x61, 0x6c, 0x6c, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, + 0x74, 0x6f, 0x72, 0x10, 0x01, 0x12, 0x13, 0x0a, 0x0f, 0x6d, 0x65, 0x64, 0x69, 0x75, 0x6d, 0x47, + 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x10, 0x02, 0x12, 0x12, 0x0a, 0x0e, 0x6c, 0x61, + 0x72, 0x67, 0x65, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x10, 0x03, 0x2a, 0x49, + 0x0a, 0x14, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, + 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x0e, 0x0a, 0x0a, 0x6f, 0x70, 0x65, 0x6e, 0x4d, 0x61, + 0x72, 0x6b, 0x65, 0x74, 0x10, 0x00, 0x12, 0x0f, 0x0a, 0x0b, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x4d, + 0x61, 0x72, 0x6b, 0x65, 0x74, 0x10, 0x01, 0x12, 0x10, 0x0a, 0x0c, 0x63, 0x6c, 0x6f, 0x73, 0x65, + 0x64, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x10, 0x02, 0x42, 0x9f, 0x01, 0x0a, 0x13, 0x63, 0x6f, + 0x6d, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, + 0x73, 0x42, 0x09, 0x4b, 0x65, 0x79, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x20, + 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, + 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, + 0xa2, 0x02, 0x03, 0x53, 0x53, 0x58, 0xaa, 0x02, 0x0f, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, + 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0xca, 0x02, 0x0f, 0x53, 0x74, 0x72, 0x75, 0x63, + 0x74, 0x73, 0x5c, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0xe2, 0x02, 0x1b, 0x53, 0x74, 0x72, + 0x75, 0x63, 0x74, 0x73, 0x5c, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x5c, 0x47, 0x50, 0x42, + 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x10, 0x53, 0x74, 0x72, 0x75, 0x63, + 0x74, 0x73, 0x3a, 0x3a, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, } var ( @@ -1489,7 +1560,7 @@ func file_structs_structs_keys_proto_rawDescGZIP() []byte { return file_structs_structs_keys_proto_rawDescData } -var file_structs_structs_keys_proto_enumTypes = make([]protoimpl.EnumInfo, 23) +var file_structs_structs_keys_proto_enumTypes = make([]protoimpl.EnumInfo, 24) var file_structs_structs_keys_proto_goTypes = []interface{}{ (ObjectType)(0), // 0: structs.structs.objectType (GridAttributeType)(0), // 1: structs.structs.gridAttributeType @@ -1514,6 +1585,7 @@ var file_structs_structs_keys_proto_goTypes = []interface{}{ (TechPlanetaryMining)(0), // 20: structs.structs.techPlanetaryMining (TechPlanetaryRefineries)(0), // 21: structs.structs.techPlanetaryRefineries (TechPowerGeneration)(0), // 22: structs.structs.techPowerGeneration + (ProviderAccessPolicy)(0), // 23: structs.structs.providerAccessPolicy } var file_structs_structs_keys_proto_depIdxs = []int32{ 0, // [0:0] is the sub-list for method output_type @@ -1533,7 +1605,7 @@ func file_structs_structs_keys_proto_init() { File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_structs_structs_keys_proto_rawDesc, - NumEnums: 23, + NumEnums: 24, NumMessages: 0, NumExtensions: 0, NumServices: 0, diff --git a/api/structs/structs/provider.pulsar.go b/api/structs/structs/provider.pulsar.go new file mode 100644 index 00000000..98d50ad4 --- /dev/null +++ b/api/structs/structs/provider.pulsar.go @@ -0,0 +1,1408 @@ +// Code generated by protoc-gen-go-pulsar. DO NOT EDIT. +package structs + +import ( + _ "cosmossdk.io/api/amino" + v1beta1 "cosmossdk.io/api/cosmos/base/v1beta1" + fmt "fmt" + _ "github.com/cosmos/cosmos-proto" + runtime "github.com/cosmos/cosmos-proto/runtime" + _ "github.com/cosmos/gogoproto/gogoproto" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoiface "google.golang.org/protobuf/runtime/protoiface" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + io "io" + reflect "reflect" + sync "sync" +) + +var ( + md_Provider protoreflect.MessageDescriptor + fd_Provider_id protoreflect.FieldDescriptor + fd_Provider_index protoreflect.FieldDescriptor + fd_Provider_substationId protoreflect.FieldDescriptor + fd_Provider_rate protoreflect.FieldDescriptor + fd_Provider_accessPolicy protoreflect.FieldDescriptor + fd_Provider_capacityMinimum protoreflect.FieldDescriptor + fd_Provider_capacityMaximum protoreflect.FieldDescriptor + fd_Provider_durationMinimum protoreflect.FieldDescriptor + fd_Provider_durationMaximum protoreflect.FieldDescriptor + fd_Provider_providerCancellationPenalty protoreflect.FieldDescriptor + fd_Provider_consumerCancellationPenalty protoreflect.FieldDescriptor + fd_Provider_creator protoreflect.FieldDescriptor + fd_Provider_owner protoreflect.FieldDescriptor +) + +func init() { + file_structs_structs_provider_proto_init() + md_Provider = File_structs_structs_provider_proto.Messages().ByName("Provider") + fd_Provider_id = md_Provider.Fields().ByName("id") + fd_Provider_index = md_Provider.Fields().ByName("index") + fd_Provider_substationId = md_Provider.Fields().ByName("substationId") + fd_Provider_rate = md_Provider.Fields().ByName("rate") + fd_Provider_accessPolicy = md_Provider.Fields().ByName("accessPolicy") + fd_Provider_capacityMinimum = md_Provider.Fields().ByName("capacityMinimum") + fd_Provider_capacityMaximum = md_Provider.Fields().ByName("capacityMaximum") + fd_Provider_durationMinimum = md_Provider.Fields().ByName("durationMinimum") + fd_Provider_durationMaximum = md_Provider.Fields().ByName("durationMaximum") + fd_Provider_providerCancellationPenalty = md_Provider.Fields().ByName("providerCancellationPenalty") + fd_Provider_consumerCancellationPenalty = md_Provider.Fields().ByName("consumerCancellationPenalty") + fd_Provider_creator = md_Provider.Fields().ByName("creator") + fd_Provider_owner = md_Provider.Fields().ByName("owner") +} + +var _ protoreflect.Message = (*fastReflection_Provider)(nil) + +type fastReflection_Provider Provider + +func (x *Provider) ProtoReflect() protoreflect.Message { + return (*fastReflection_Provider)(x) +} + +func (x *Provider) slowProtoReflect() protoreflect.Message { + mi := &file_structs_structs_provider_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_Provider_messageType fastReflection_Provider_messageType +var _ protoreflect.MessageType = fastReflection_Provider_messageType{} + +type fastReflection_Provider_messageType struct{} + +func (x fastReflection_Provider_messageType) Zero() protoreflect.Message { + return (*fastReflection_Provider)(nil) +} +func (x fastReflection_Provider_messageType) New() protoreflect.Message { + return new(fastReflection_Provider) +} +func (x fastReflection_Provider_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_Provider +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_Provider) Descriptor() protoreflect.MessageDescriptor { + return md_Provider +} + +// 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_Provider) Type() protoreflect.MessageType { + return _fastReflection_Provider_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_Provider) New() protoreflect.Message { + return new(fastReflection_Provider) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_Provider) Interface() protoreflect.ProtoMessage { + return (*Provider)(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_Provider) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Id != "" { + value := protoreflect.ValueOfString(x.Id) + if !f(fd_Provider_id, value) { + return + } + } + if x.Index != uint64(0) { + value := protoreflect.ValueOfUint64(x.Index) + if !f(fd_Provider_index, value) { + return + } + } + if x.SubstationId != "" { + value := protoreflect.ValueOfString(x.SubstationId) + if !f(fd_Provider_substationId, value) { + return + } + } + if x.Rate != nil { + value := protoreflect.ValueOfMessage(x.Rate.ProtoReflect()) + if !f(fd_Provider_rate, value) { + return + } + } + if x.AccessPolicy != 0 { + value := protoreflect.ValueOfEnum((protoreflect.EnumNumber)(x.AccessPolicy)) + if !f(fd_Provider_accessPolicy, value) { + return + } + } + if x.CapacityMinimum != uint64(0) { + value := protoreflect.ValueOfUint64(x.CapacityMinimum) + if !f(fd_Provider_capacityMinimum, value) { + return + } + } + if x.CapacityMaximum != uint64(0) { + value := protoreflect.ValueOfUint64(x.CapacityMaximum) + if !f(fd_Provider_capacityMaximum, value) { + return + } + } + if x.DurationMinimum != uint64(0) { + value := protoreflect.ValueOfUint64(x.DurationMinimum) + if !f(fd_Provider_durationMinimum, value) { + return + } + } + if x.DurationMaximum != uint64(0) { + value := protoreflect.ValueOfUint64(x.DurationMaximum) + if !f(fd_Provider_durationMaximum, value) { + return + } + } + if x.ProviderCancellationPenalty != "" { + value := protoreflect.ValueOfString(x.ProviderCancellationPenalty) + if !f(fd_Provider_providerCancellationPenalty, value) { + return + } + } + if x.ConsumerCancellationPenalty != "" { + value := protoreflect.ValueOfString(x.ConsumerCancellationPenalty) + if !f(fd_Provider_consumerCancellationPenalty, value) { + return + } + } + if x.Creator != "" { + value := protoreflect.ValueOfString(x.Creator) + if !f(fd_Provider_creator, value) { + return + } + } + if x.Owner != "" { + value := protoreflect.ValueOfString(x.Owner) + if !f(fd_Provider_owner, 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_Provider) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "structs.structs.Provider.id": + return x.Id != "" + case "structs.structs.Provider.index": + return x.Index != uint64(0) + case "structs.structs.Provider.substationId": + return x.SubstationId != "" + case "structs.structs.Provider.rate": + return x.Rate != nil + case "structs.structs.Provider.accessPolicy": + return x.AccessPolicy != 0 + case "structs.structs.Provider.capacityMinimum": + return x.CapacityMinimum != uint64(0) + case "structs.structs.Provider.capacityMaximum": + return x.CapacityMaximum != uint64(0) + case "structs.structs.Provider.durationMinimum": + return x.DurationMinimum != uint64(0) + case "structs.structs.Provider.durationMaximum": + return x.DurationMaximum != uint64(0) + case "structs.structs.Provider.providerCancellationPenalty": + return x.ProviderCancellationPenalty != "" + case "structs.structs.Provider.consumerCancellationPenalty": + return x.ConsumerCancellationPenalty != "" + case "structs.structs.Provider.creator": + return x.Creator != "" + case "structs.structs.Provider.owner": + return x.Owner != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.Provider")) + } + panic(fmt.Errorf("message structs.structs.Provider 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_Provider) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "structs.structs.Provider.id": + x.Id = "" + case "structs.structs.Provider.index": + x.Index = uint64(0) + case "structs.structs.Provider.substationId": + x.SubstationId = "" + case "structs.structs.Provider.rate": + x.Rate = nil + case "structs.structs.Provider.accessPolicy": + x.AccessPolicy = 0 + case "structs.structs.Provider.capacityMinimum": + x.CapacityMinimum = uint64(0) + case "structs.structs.Provider.capacityMaximum": + x.CapacityMaximum = uint64(0) + case "structs.structs.Provider.durationMinimum": + x.DurationMinimum = uint64(0) + case "structs.structs.Provider.durationMaximum": + x.DurationMaximum = uint64(0) + case "structs.structs.Provider.providerCancellationPenalty": + x.ProviderCancellationPenalty = "" + case "structs.structs.Provider.consumerCancellationPenalty": + x.ConsumerCancellationPenalty = "" + case "structs.structs.Provider.creator": + x.Creator = "" + case "structs.structs.Provider.owner": + x.Owner = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.Provider")) + } + panic(fmt.Errorf("message structs.structs.Provider 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_Provider) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "structs.structs.Provider.id": + value := x.Id + return protoreflect.ValueOfString(value) + case "structs.structs.Provider.index": + value := x.Index + return protoreflect.ValueOfUint64(value) + case "structs.structs.Provider.substationId": + value := x.SubstationId + return protoreflect.ValueOfString(value) + case "structs.structs.Provider.rate": + value := x.Rate + return protoreflect.ValueOfMessage(value.ProtoReflect()) + case "structs.structs.Provider.accessPolicy": + value := x.AccessPolicy + return protoreflect.ValueOfEnum((protoreflect.EnumNumber)(value)) + case "structs.structs.Provider.capacityMinimum": + value := x.CapacityMinimum + return protoreflect.ValueOfUint64(value) + case "structs.structs.Provider.capacityMaximum": + value := x.CapacityMaximum + return protoreflect.ValueOfUint64(value) + case "structs.structs.Provider.durationMinimum": + value := x.DurationMinimum + return protoreflect.ValueOfUint64(value) + case "structs.structs.Provider.durationMaximum": + value := x.DurationMaximum + return protoreflect.ValueOfUint64(value) + case "structs.structs.Provider.providerCancellationPenalty": + value := x.ProviderCancellationPenalty + return protoreflect.ValueOfString(value) + case "structs.structs.Provider.consumerCancellationPenalty": + value := x.ConsumerCancellationPenalty + return protoreflect.ValueOfString(value) + case "structs.structs.Provider.creator": + value := x.Creator + return protoreflect.ValueOfString(value) + case "structs.structs.Provider.owner": + value := x.Owner + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.Provider")) + } + panic(fmt.Errorf("message structs.structs.Provider 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_Provider) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "structs.structs.Provider.id": + x.Id = value.Interface().(string) + case "structs.structs.Provider.index": + x.Index = value.Uint() + case "structs.structs.Provider.substationId": + x.SubstationId = value.Interface().(string) + case "structs.structs.Provider.rate": + x.Rate = value.Message().Interface().(*v1beta1.Coin) + case "structs.structs.Provider.accessPolicy": + x.AccessPolicy = (ProviderAccessPolicy)(value.Enum()) + case "structs.structs.Provider.capacityMinimum": + x.CapacityMinimum = value.Uint() + case "structs.structs.Provider.capacityMaximum": + x.CapacityMaximum = value.Uint() + case "structs.structs.Provider.durationMinimum": + x.DurationMinimum = value.Uint() + case "structs.structs.Provider.durationMaximum": + x.DurationMaximum = value.Uint() + case "structs.structs.Provider.providerCancellationPenalty": + x.ProviderCancellationPenalty = value.Interface().(string) + case "structs.structs.Provider.consumerCancellationPenalty": + x.ConsumerCancellationPenalty = value.Interface().(string) + case "structs.structs.Provider.creator": + x.Creator = value.Interface().(string) + case "structs.structs.Provider.owner": + x.Owner = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.Provider")) + } + panic(fmt.Errorf("message structs.structs.Provider 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_Provider) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.Provider.rate": + if x.Rate == nil { + x.Rate = new(v1beta1.Coin) + } + return protoreflect.ValueOfMessage(x.Rate.ProtoReflect()) + case "structs.structs.Provider.id": + panic(fmt.Errorf("field id of message structs.structs.Provider is not mutable")) + case "structs.structs.Provider.index": + panic(fmt.Errorf("field index of message structs.structs.Provider is not mutable")) + case "structs.structs.Provider.substationId": + panic(fmt.Errorf("field substationId of message structs.structs.Provider is not mutable")) + case "structs.structs.Provider.accessPolicy": + panic(fmt.Errorf("field accessPolicy of message structs.structs.Provider is not mutable")) + case "structs.structs.Provider.capacityMinimum": + panic(fmt.Errorf("field capacityMinimum of message structs.structs.Provider is not mutable")) + case "structs.structs.Provider.capacityMaximum": + panic(fmt.Errorf("field capacityMaximum of message structs.structs.Provider is not mutable")) + case "structs.structs.Provider.durationMinimum": + panic(fmt.Errorf("field durationMinimum of message structs.structs.Provider is not mutable")) + case "structs.structs.Provider.durationMaximum": + panic(fmt.Errorf("field durationMaximum of message structs.structs.Provider is not mutable")) + case "structs.structs.Provider.providerCancellationPenalty": + panic(fmt.Errorf("field providerCancellationPenalty of message structs.structs.Provider is not mutable")) + case "structs.structs.Provider.consumerCancellationPenalty": + panic(fmt.Errorf("field consumerCancellationPenalty of message structs.structs.Provider is not mutable")) + case "structs.structs.Provider.creator": + panic(fmt.Errorf("field creator of message structs.structs.Provider is not mutable")) + case "structs.structs.Provider.owner": + panic(fmt.Errorf("field owner of message structs.structs.Provider is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.Provider")) + } + panic(fmt.Errorf("message structs.structs.Provider 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_Provider) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.Provider.id": + return protoreflect.ValueOfString("") + case "structs.structs.Provider.index": + return protoreflect.ValueOfUint64(uint64(0)) + case "structs.structs.Provider.substationId": + return protoreflect.ValueOfString("") + case "structs.structs.Provider.rate": + m := new(v1beta1.Coin) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + case "structs.structs.Provider.accessPolicy": + return protoreflect.ValueOfEnum(0) + case "structs.structs.Provider.capacityMinimum": + return protoreflect.ValueOfUint64(uint64(0)) + case "structs.structs.Provider.capacityMaximum": + return protoreflect.ValueOfUint64(uint64(0)) + case "structs.structs.Provider.durationMinimum": + return protoreflect.ValueOfUint64(uint64(0)) + case "structs.structs.Provider.durationMaximum": + return protoreflect.ValueOfUint64(uint64(0)) + case "structs.structs.Provider.providerCancellationPenalty": + return protoreflect.ValueOfString("") + case "structs.structs.Provider.consumerCancellationPenalty": + return protoreflect.ValueOfString("") + case "structs.structs.Provider.creator": + return protoreflect.ValueOfString("") + case "structs.structs.Provider.owner": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.Provider")) + } + panic(fmt.Errorf("message structs.structs.Provider 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_Provider) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in structs.structs.Provider", 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_Provider) 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_Provider) 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_Provider) 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_Provider) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*Provider) + 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.Id) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.Index != 0 { + n += 1 + runtime.Sov(uint64(x.Index)) + } + l = len(x.SubstationId) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.Rate != nil { + l = options.Size(x.Rate) + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.AccessPolicy != 0 { + n += 1 + runtime.Sov(uint64(x.AccessPolicy)) + } + if x.CapacityMinimum != 0 { + n += 1 + runtime.Sov(uint64(x.CapacityMinimum)) + } + if x.CapacityMaximum != 0 { + n += 1 + runtime.Sov(uint64(x.CapacityMaximum)) + } + if x.DurationMinimum != 0 { + n += 1 + runtime.Sov(uint64(x.DurationMinimum)) + } + if x.DurationMaximum != 0 { + n += 1 + runtime.Sov(uint64(x.DurationMaximum)) + } + l = len(x.ProviderCancellationPenalty) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.ConsumerCancellationPenalty) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.Creator) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.Owner) + 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().(*Provider) + 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.Owner) > 0 { + i -= len(x.Owner) + copy(dAtA[i:], x.Owner) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Owner))) + i-- + dAtA[i] = 0x6a + } + if len(x.Creator) > 0 { + i -= len(x.Creator) + copy(dAtA[i:], x.Creator) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Creator))) + i-- + dAtA[i] = 0x62 + } + if len(x.ConsumerCancellationPenalty) > 0 { + i -= len(x.ConsumerCancellationPenalty) + copy(dAtA[i:], x.ConsumerCancellationPenalty) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.ConsumerCancellationPenalty))) + i-- + dAtA[i] = 0x5a + } + if len(x.ProviderCancellationPenalty) > 0 { + i -= len(x.ProviderCancellationPenalty) + copy(dAtA[i:], x.ProviderCancellationPenalty) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.ProviderCancellationPenalty))) + i-- + dAtA[i] = 0x52 + } + if x.DurationMaximum != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.DurationMaximum)) + i-- + dAtA[i] = 0x48 + } + if x.DurationMinimum != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.DurationMinimum)) + i-- + dAtA[i] = 0x40 + } + if x.CapacityMaximum != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.CapacityMaximum)) + i-- + dAtA[i] = 0x38 + } + if x.CapacityMinimum != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.CapacityMinimum)) + i-- + dAtA[i] = 0x30 + } + if x.AccessPolicy != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.AccessPolicy)) + i-- + dAtA[i] = 0x28 + } + if x.Rate != nil { + encoded, err := options.Marshal(x.Rate) + 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] = 0x22 + } + if len(x.SubstationId) > 0 { + i -= len(x.SubstationId) + copy(dAtA[i:], x.SubstationId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.SubstationId))) + i-- + dAtA[i] = 0x1a + } + if x.Index != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.Index)) + i-- + dAtA[i] = 0x10 + } + if len(x.Id) > 0 { + i -= len(x.Id) + copy(dAtA[i:], x.Id) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Id))) + 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().(*Provider) + 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: Provider: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: Provider: 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 Id", 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.Id = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Index", wireType) + } + x.Index = 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.Index |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field SubstationId", 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.SubstationId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Rate", 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.Rate == nil { + x.Rate = &v1beta1.Coin{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Rate); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 5: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field AccessPolicy", wireType) + } + x.AccessPolicy = 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.AccessPolicy |= ProviderAccessPolicy(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 6: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field CapacityMinimum", wireType) + } + x.CapacityMinimum = 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.CapacityMinimum |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 7: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field CapacityMaximum", wireType) + } + x.CapacityMaximum = 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.CapacityMaximum |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 8: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field DurationMinimum", wireType) + } + x.DurationMinimum = 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.DurationMinimum |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 9: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field DurationMaximum", wireType) + } + x.DurationMaximum = 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.DurationMaximum |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 10: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ProviderCancellationPenalty", 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.ProviderCancellationPenalty = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 11: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ConsumerCancellationPenalty", 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.ConsumerCancellationPenalty = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 12: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Creator", 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.Creator = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 13: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Owner", 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.Owner = 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, + } +} + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.27.0 +// protoc (unknown) +// source: structs/structs/provider.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) +) + +type Provider struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Index uint64 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"` + SubstationId string `protobuf:"bytes,3,opt,name=substationId,proto3" json:"substationId,omitempty"` + Rate *v1beta1.Coin `protobuf:"bytes,4,opt,name=rate,proto3" json:"rate,omitempty"` + AccessPolicy ProviderAccessPolicy `protobuf:"varint,5,opt,name=accessPolicy,proto3,enum=structs.structs.ProviderAccessPolicy" json:"accessPolicy,omitempty"` + CapacityMinimum uint64 `protobuf:"varint,6,opt,name=capacityMinimum,proto3" json:"capacityMinimum,omitempty"` + CapacityMaximum uint64 `protobuf:"varint,7,opt,name=capacityMaximum,proto3" json:"capacityMaximum,omitempty"` + DurationMinimum uint64 `protobuf:"varint,8,opt,name=durationMinimum,proto3" json:"durationMinimum,omitempty"` + DurationMaximum uint64 `protobuf:"varint,9,opt,name=durationMaximum,proto3" json:"durationMaximum,omitempty"` + ProviderCancellationPenalty string `protobuf:"bytes,10,opt,name=providerCancellationPenalty,proto3" json:"providerCancellationPenalty,omitempty"` + ConsumerCancellationPenalty string `protobuf:"bytes,11,opt,name=consumerCancellationPenalty,proto3" json:"consumerCancellationPenalty,omitempty"` + Creator string `protobuf:"bytes,12,opt,name=creator,proto3" json:"creator,omitempty"` + Owner string `protobuf:"bytes,13,opt,name=owner,proto3" json:"owner,omitempty"` +} + +func (x *Provider) Reset() { + *x = Provider{} + if protoimpl.UnsafeEnabled { + mi := &file_structs_structs_provider_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Provider) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Provider) ProtoMessage() {} + +// Deprecated: Use Provider.ProtoReflect.Descriptor instead. +func (*Provider) Descriptor() ([]byte, []int) { + return file_structs_structs_provider_proto_rawDescGZIP(), []int{0} +} + +func (x *Provider) GetId() string { + if x != nil { + return x.Id + } + return "" +} + +func (x *Provider) GetIndex() uint64 { + if x != nil { + return x.Index + } + return 0 +} + +func (x *Provider) GetSubstationId() string { + if x != nil { + return x.SubstationId + } + return "" +} + +func (x *Provider) GetRate() *v1beta1.Coin { + if x != nil { + return x.Rate + } + return nil +} + +func (x *Provider) GetAccessPolicy() ProviderAccessPolicy { + if x != nil { + return x.AccessPolicy + } + return ProviderAccessPolicy_openMarket +} + +func (x *Provider) GetCapacityMinimum() uint64 { + if x != nil { + return x.CapacityMinimum + } + return 0 +} + +func (x *Provider) GetCapacityMaximum() uint64 { + if x != nil { + return x.CapacityMaximum + } + return 0 +} + +func (x *Provider) GetDurationMinimum() uint64 { + if x != nil { + return x.DurationMinimum + } + return 0 +} + +func (x *Provider) GetDurationMaximum() uint64 { + if x != nil { + return x.DurationMaximum + } + return 0 +} + +func (x *Provider) GetProviderCancellationPenalty() string { + if x != nil { + return x.ProviderCancellationPenalty + } + return "" +} + +func (x *Provider) GetConsumerCancellationPenalty() string { + if x != nil { + return x.ConsumerCancellationPenalty + } + return "" +} + +func (x *Provider) GetCreator() string { + if x != nil { + return x.Creator + } + return "" +} + +func (x *Provider) GetOwner() string { + if x != nil { + return x.Owner + } + return "" +} + +var File_structs_structs_provider_proto protoreflect.FileDescriptor + +var file_structs_structs_provider_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, + 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x12, 0x0f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, + 0x73, 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, 0x14, 0x67, 0x6f, + 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x67, 0x6f, 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, 0x69, 0x6e, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x11, 0x61, 0x6d, 0x69, 0x6e, 0x6f, 0x2f, 0x61, 0x6d, 0x69, 0x6e, 0x6f, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1a, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x73, + 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x6b, 0x65, 0x79, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0xcd, 0x05, 0x0a, 0x08, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x12, 0x0e, + 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, + 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x69, + 0x6e, 0x64, 0x65, 0x78, 0x12, 0x22, 0x0a, 0x0c, 0x73, 0x75, 0x62, 0x73, 0x74, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x75, 0x62, 0x73, + 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x64, 0x0a, 0x04, 0x72, 0x61, 0x74, 0x65, + 0x18, 0x04, 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, 0x35, 0xc8, 0xde, 0x1f, 0x00, 0xaa, 0xdf, 0x1f, 0x28, 0x67, 0x69, 0x74, 0x68, 0x75, + 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x63, 0x6f, 0x73, + 0x6d, 0x6f, 0x73, 0x2d, 0x73, 0x64, 0x6b, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x43, 0x6f, + 0x69, 0x6e, 0x73, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, 0x04, 0x72, 0x61, 0x74, 0x65, 0x12, 0x49, + 0x0a, 0x0c, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x0e, 0x32, 0x25, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, + 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x41, + 0x63, 0x63, 0x65, 0x73, 0x73, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x0c, 0x61, 0x63, 0x63, + 0x65, 0x73, 0x73, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x28, 0x0a, 0x0f, 0x63, 0x61, 0x70, + 0x61, 0x63, 0x69, 0x74, 0x79, 0x4d, 0x69, 0x6e, 0x69, 0x6d, 0x75, 0x6d, 0x18, 0x06, 0x20, 0x01, + 0x28, 0x04, 0x52, 0x0f, 0x63, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x4d, 0x69, 0x6e, 0x69, + 0x6d, 0x75, 0x6d, 0x12, 0x28, 0x0a, 0x0f, 0x63, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x4d, + 0x61, 0x78, 0x69, 0x6d, 0x75, 0x6d, 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0f, 0x63, 0x61, + 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x4d, 0x61, 0x78, 0x69, 0x6d, 0x75, 0x6d, 0x12, 0x28, 0x0a, + 0x0f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x69, 0x6e, 0x69, 0x6d, 0x75, 0x6d, + 0x18, 0x08, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x4d, 0x69, 0x6e, 0x69, 0x6d, 0x75, 0x6d, 0x12, 0x28, 0x0a, 0x0f, 0x64, 0x75, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x4d, 0x61, 0x78, 0x69, 0x6d, 0x75, 0x6d, 0x18, 0x09, 0x20, 0x01, 0x28, 0x04, + 0x52, 0x0f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x61, 0x78, 0x69, 0x6d, 0x75, + 0x6d, 0x12, 0x73, 0x0a, 0x1b, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x43, 0x61, 0x6e, + 0x63, 0x65, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x65, 0x6e, 0x61, 0x6c, 0x74, 0x79, + 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x42, 0x31, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x1b, + 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x6d, 0x61, 0x74, + 0x68, 0x2e, 0x4c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x44, 0x65, 0x63, 0xd2, 0xb4, 0x2d, 0x0a, 0x63, + 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x44, 0x65, 0x63, 0x52, 0x1b, 0x70, 0x72, 0x6f, 0x76, 0x69, + 0x64, 0x65, 0x72, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, + 0x65, 0x6e, 0x61, 0x6c, 0x74, 0x79, 0x12, 0x73, 0x0a, 0x1b, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, + 0x65, 0x72, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x65, + 0x6e, 0x61, 0x6c, 0x74, 0x79, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x42, 0x31, 0xc8, 0xde, 0x1f, + 0x00, 0xda, 0xde, 0x1f, 0x1b, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, + 0x6f, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x4c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x44, 0x65, 0x63, + 0xd2, 0xb4, 0x2d, 0x0a, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x44, 0x65, 0x63, 0x52, 0x1b, + 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x72, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x6c, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x65, 0x6e, 0x61, 0x6c, 0x74, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x63, + 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x72, + 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x0d, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x3a, 0x04, 0xe8, 0xa0, 0x1f, + 0x01, 0x42, 0xa3, 0x01, 0x0a, 0x13, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, + 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x42, 0x0d, 0x50, 0x72, 0x6f, 0x76, 0x69, + 0x64, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x20, 0x63, 0x6f, 0x73, 0x6d, + 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x73, 0x74, 0x72, + 0x75, 0x63, 0x74, 0x73, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0xa2, 0x02, 0x03, 0x53, + 0x53, 0x58, 0xaa, 0x02, 0x0f, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x53, 0x74, 0x72, + 0x75, 0x63, 0x74, 0x73, 0xca, 0x02, 0x0f, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x5c, 0x53, + 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0xe2, 0x02, 0x1b, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, + 0x5c, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, + 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x10, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x3a, 0x3a, + 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_structs_structs_provider_proto_rawDescOnce sync.Once + file_structs_structs_provider_proto_rawDescData = file_structs_structs_provider_proto_rawDesc +) + +func file_structs_structs_provider_proto_rawDescGZIP() []byte { + file_structs_structs_provider_proto_rawDescOnce.Do(func() { + file_structs_structs_provider_proto_rawDescData = protoimpl.X.CompressGZIP(file_structs_structs_provider_proto_rawDescData) + }) + return file_structs_structs_provider_proto_rawDescData +} + +var file_structs_structs_provider_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_structs_structs_provider_proto_goTypes = []interface{}{ + (*Provider)(nil), // 0: structs.structs.Provider + (*v1beta1.Coin)(nil), // 1: cosmos.base.v1beta1.Coin + (ProviderAccessPolicy)(0), // 2: structs.structs.providerAccessPolicy +} +var file_structs_structs_provider_proto_depIdxs = []int32{ + 1, // 0: structs.structs.Provider.rate:type_name -> cosmos.base.v1beta1.Coin + 2, // 1: structs.structs.Provider.accessPolicy:type_name -> structs.structs.providerAccessPolicy + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_structs_structs_provider_proto_init() } +func file_structs_structs_provider_proto_init() { + if File_structs_structs_provider_proto != nil { + return + } + file_structs_structs_keys_proto_init() + if !protoimpl.UnsafeEnabled { + file_structs_structs_provider_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Provider); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_structs_structs_provider_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_structs_structs_provider_proto_goTypes, + DependencyIndexes: file_structs_structs_provider_proto_depIdxs, + MessageInfos: file_structs_structs_provider_proto_msgTypes, + }.Build() + File_structs_structs_provider_proto = out.File + file_structs_structs_provider_proto_rawDesc = nil + file_structs_structs_provider_proto_goTypes = nil + file_structs_structs_provider_proto_depIdxs = nil +} diff --git a/api/structs/structs/query.pulsar.go b/api/structs/structs/query.pulsar.go index c02d33ed..d44db33c 100644 --- a/api/structs/structs/query.pulsar.go +++ b/api/structs/structs/query.pulsar.go @@ -4027,25 +4027,25 @@ func (x *fastReflection_QueryAllAddressResponse) ProtoMethods() *protoiface.Meth } var ( - md_QueryGetAllocationRequest protoreflect.MessageDescriptor - fd_QueryGetAllocationRequest_id protoreflect.FieldDescriptor + md_QueryGetAgreementRequest protoreflect.MessageDescriptor + fd_QueryGetAgreementRequest_id protoreflect.FieldDescriptor ) func init() { file_structs_structs_query_proto_init() - md_QueryGetAllocationRequest = File_structs_structs_query_proto.Messages().ByName("QueryGetAllocationRequest") - fd_QueryGetAllocationRequest_id = md_QueryGetAllocationRequest.Fields().ByName("id") + md_QueryGetAgreementRequest = File_structs_structs_query_proto.Messages().ByName("QueryGetAgreementRequest") + fd_QueryGetAgreementRequest_id = md_QueryGetAgreementRequest.Fields().ByName("id") } -var _ protoreflect.Message = (*fastReflection_QueryGetAllocationRequest)(nil) +var _ protoreflect.Message = (*fastReflection_QueryGetAgreementRequest)(nil) -type fastReflection_QueryGetAllocationRequest QueryGetAllocationRequest +type fastReflection_QueryGetAgreementRequest QueryGetAgreementRequest -func (x *QueryGetAllocationRequest) ProtoReflect() protoreflect.Message { - return (*fastReflection_QueryGetAllocationRequest)(x) +func (x *QueryGetAgreementRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_QueryGetAgreementRequest)(x) } -func (x *QueryGetAllocationRequest) slowProtoReflect() protoreflect.Message { +func (x *QueryGetAgreementRequest) slowProtoReflect() protoreflect.Message { mi := &file_structs_structs_query_proto_msgTypes[9] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -4057,43 +4057,43 @@ func (x *QueryGetAllocationRequest) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_QueryGetAllocationRequest_messageType fastReflection_QueryGetAllocationRequest_messageType -var _ protoreflect.MessageType = fastReflection_QueryGetAllocationRequest_messageType{} +var _fastReflection_QueryGetAgreementRequest_messageType fastReflection_QueryGetAgreementRequest_messageType +var _ protoreflect.MessageType = fastReflection_QueryGetAgreementRequest_messageType{} -type fastReflection_QueryGetAllocationRequest_messageType struct{} +type fastReflection_QueryGetAgreementRequest_messageType struct{} -func (x fastReflection_QueryGetAllocationRequest_messageType) Zero() protoreflect.Message { - return (*fastReflection_QueryGetAllocationRequest)(nil) +func (x fastReflection_QueryGetAgreementRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_QueryGetAgreementRequest)(nil) } -func (x fastReflection_QueryGetAllocationRequest_messageType) New() protoreflect.Message { - return new(fastReflection_QueryGetAllocationRequest) +func (x fastReflection_QueryGetAgreementRequest_messageType) New() protoreflect.Message { + return new(fastReflection_QueryGetAgreementRequest) } -func (x fastReflection_QueryGetAllocationRequest_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_QueryGetAllocationRequest +func (x fastReflection_QueryGetAgreementRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_QueryGetAgreementRequest } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_QueryGetAllocationRequest) Descriptor() protoreflect.MessageDescriptor { - return md_QueryGetAllocationRequest +func (x *fastReflection_QueryGetAgreementRequest) Descriptor() protoreflect.MessageDescriptor { + return md_QueryGetAgreementRequest } // 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_QueryGetAllocationRequest) Type() protoreflect.MessageType { - return _fastReflection_QueryGetAllocationRequest_messageType +func (x *fastReflection_QueryGetAgreementRequest) Type() protoreflect.MessageType { + return _fastReflection_QueryGetAgreementRequest_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_QueryGetAllocationRequest) New() protoreflect.Message { - return new(fastReflection_QueryGetAllocationRequest) +func (x *fastReflection_QueryGetAgreementRequest) New() protoreflect.Message { + return new(fastReflection_QueryGetAgreementRequest) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_QueryGetAllocationRequest) Interface() protoreflect.ProtoMessage { - return (*QueryGetAllocationRequest)(x) +func (x *fastReflection_QueryGetAgreementRequest) Interface() protoreflect.ProtoMessage { + return (*QueryGetAgreementRequest)(x) } // Range iterates over every populated field in an undefined order, @@ -4101,10 +4101,10 @@ func (x *fastReflection_QueryGetAllocationRequest) Interface() protoreflect.Prot // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_QueryGetAllocationRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +func (x *fastReflection_QueryGetAgreementRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { if x.Id != "" { value := protoreflect.ValueOfString(x.Id) - if !f(fd_QueryGetAllocationRequest_id, value) { + if !f(fd_QueryGetAgreementRequest_id, value) { return } } @@ -4121,15 +4121,15 @@ func (x *fastReflection_QueryGetAllocationRequest) Range(f func(protoreflect.Fie // 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_QueryGetAllocationRequest) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_QueryGetAgreementRequest) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.QueryGetAllocationRequest.id": + case "structs.structs.QueryGetAgreementRequest.id": return x.Id != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetAllocationRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetAgreementRequest")) } - panic(fmt.Errorf("message structs.structs.QueryGetAllocationRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetAgreementRequest does not contain field %s", fd.FullName())) } } @@ -4139,15 +4139,15 @@ func (x *fastReflection_QueryGetAllocationRequest) Has(fd protoreflect.FieldDesc // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryGetAllocationRequest) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_QueryGetAgreementRequest) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.QueryGetAllocationRequest.id": + case "structs.structs.QueryGetAgreementRequest.id": x.Id = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetAllocationRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetAgreementRequest")) } - panic(fmt.Errorf("message structs.structs.QueryGetAllocationRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetAgreementRequest does not contain field %s", fd.FullName())) } } @@ -4157,16 +4157,16 @@ func (x *fastReflection_QueryGetAllocationRequest) Clear(fd protoreflect.FieldDe // 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_QueryGetAllocationRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryGetAgreementRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.QueryGetAllocationRequest.id": + case "structs.structs.QueryGetAgreementRequest.id": value := x.Id return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetAllocationRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetAgreementRequest")) } - panic(fmt.Errorf("message structs.structs.QueryGetAllocationRequest does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetAgreementRequest does not contain field %s", descriptor.FullName())) } } @@ -4180,15 +4180,15 @@ func (x *fastReflection_QueryGetAllocationRequest) Get(descriptor protoreflect.F // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryGetAllocationRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_QueryGetAgreementRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.QueryGetAllocationRequest.id": + case "structs.structs.QueryGetAgreementRequest.id": x.Id = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetAllocationRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetAgreementRequest")) } - panic(fmt.Errorf("message structs.structs.QueryGetAllocationRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetAgreementRequest does not contain field %s", fd.FullName())) } } @@ -4202,40 +4202,40 @@ func (x *fastReflection_QueryGetAllocationRequest) Set(fd protoreflect.FieldDesc // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryGetAllocationRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryGetAgreementRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.QueryGetAllocationRequest.id": - panic(fmt.Errorf("field id of message structs.structs.QueryGetAllocationRequest is not mutable")) + case "structs.structs.QueryGetAgreementRequest.id": + panic(fmt.Errorf("field id of message structs.structs.QueryGetAgreementRequest is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetAllocationRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetAgreementRequest")) } - panic(fmt.Errorf("message structs.structs.QueryGetAllocationRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetAgreementRequest 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_QueryGetAllocationRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryGetAgreementRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.QueryGetAllocationRequest.id": + case "structs.structs.QueryGetAgreementRequest.id": return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetAllocationRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetAgreementRequest")) } - panic(fmt.Errorf("message structs.structs.QueryGetAllocationRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetAgreementRequest 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_QueryGetAllocationRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_QueryGetAgreementRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryGetAllocationRequest", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryGetAgreementRequest", d.FullName())) } panic("unreachable") } @@ -4243,7 +4243,7 @@ func (x *fastReflection_QueryGetAllocationRequest) WhichOneof(d protoreflect.One // 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_QueryGetAllocationRequest) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_QueryGetAgreementRequest) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -4254,7 +4254,7 @@ func (x *fastReflection_QueryGetAllocationRequest) GetUnknown() protoreflect.Raw // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryGetAllocationRequest) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_QueryGetAgreementRequest) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -4266,7 +4266,7 @@ func (x *fastReflection_QueryGetAllocationRequest) SetUnknown(fields protoreflec // 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_QueryGetAllocationRequest) IsValid() bool { +func (x *fastReflection_QueryGetAgreementRequest) IsValid() bool { return x != nil } @@ -4276,9 +4276,9 @@ func (x *fastReflection_QueryGetAllocationRequest) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_QueryGetAllocationRequest) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_QueryGetAgreementRequest) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*QueryGetAllocationRequest) + x := input.Message.Interface().(*QueryGetAgreementRequest) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -4304,7 +4304,7 @@ func (x *fastReflection_QueryGetAllocationRequest) ProtoMethods() *protoiface.Me } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*QueryGetAllocationRequest) + x := input.Message.Interface().(*QueryGetAgreementRequest) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -4341,7 +4341,7 @@ func (x *fastReflection_QueryGetAllocationRequest) ProtoMethods() *protoiface.Me }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*QueryGetAllocationRequest) + x := input.Message.Interface().(*QueryGetAgreementRequest) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -4373,10 +4373,10 @@ func (x *fastReflection_QueryGetAllocationRequest) ProtoMethods() *protoiface.Me fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryGetAllocationRequest: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryGetAgreementRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryGetAllocationRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryGetAgreementRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -4447,27 +4447,25 @@ func (x *fastReflection_QueryGetAllocationRequest) ProtoMethods() *protoiface.Me } var ( - md_QueryGetAllocationResponse protoreflect.MessageDescriptor - fd_QueryGetAllocationResponse_Allocation protoreflect.FieldDescriptor - fd_QueryGetAllocationResponse_gridAttributes protoreflect.FieldDescriptor + md_QueryGetAgreementResponse protoreflect.MessageDescriptor + fd_QueryGetAgreementResponse_Agreement protoreflect.FieldDescriptor ) func init() { file_structs_structs_query_proto_init() - md_QueryGetAllocationResponse = File_structs_structs_query_proto.Messages().ByName("QueryGetAllocationResponse") - fd_QueryGetAllocationResponse_Allocation = md_QueryGetAllocationResponse.Fields().ByName("Allocation") - fd_QueryGetAllocationResponse_gridAttributes = md_QueryGetAllocationResponse.Fields().ByName("gridAttributes") + md_QueryGetAgreementResponse = File_structs_structs_query_proto.Messages().ByName("QueryGetAgreementResponse") + fd_QueryGetAgreementResponse_Agreement = md_QueryGetAgreementResponse.Fields().ByName("Agreement") } -var _ protoreflect.Message = (*fastReflection_QueryGetAllocationResponse)(nil) +var _ protoreflect.Message = (*fastReflection_QueryGetAgreementResponse)(nil) -type fastReflection_QueryGetAllocationResponse QueryGetAllocationResponse +type fastReflection_QueryGetAgreementResponse QueryGetAgreementResponse -func (x *QueryGetAllocationResponse) ProtoReflect() protoreflect.Message { - return (*fastReflection_QueryGetAllocationResponse)(x) +func (x *QueryGetAgreementResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_QueryGetAgreementResponse)(x) } -func (x *QueryGetAllocationResponse) slowProtoReflect() protoreflect.Message { +func (x *QueryGetAgreementResponse) slowProtoReflect() protoreflect.Message { mi := &file_structs_structs_query_proto_msgTypes[10] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -4479,43 +4477,43 @@ func (x *QueryGetAllocationResponse) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_QueryGetAllocationResponse_messageType fastReflection_QueryGetAllocationResponse_messageType -var _ protoreflect.MessageType = fastReflection_QueryGetAllocationResponse_messageType{} +var _fastReflection_QueryGetAgreementResponse_messageType fastReflection_QueryGetAgreementResponse_messageType +var _ protoreflect.MessageType = fastReflection_QueryGetAgreementResponse_messageType{} -type fastReflection_QueryGetAllocationResponse_messageType struct{} +type fastReflection_QueryGetAgreementResponse_messageType struct{} -func (x fastReflection_QueryGetAllocationResponse_messageType) Zero() protoreflect.Message { - return (*fastReflection_QueryGetAllocationResponse)(nil) +func (x fastReflection_QueryGetAgreementResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_QueryGetAgreementResponse)(nil) } -func (x fastReflection_QueryGetAllocationResponse_messageType) New() protoreflect.Message { - return new(fastReflection_QueryGetAllocationResponse) +func (x fastReflection_QueryGetAgreementResponse_messageType) New() protoreflect.Message { + return new(fastReflection_QueryGetAgreementResponse) } -func (x fastReflection_QueryGetAllocationResponse_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_QueryGetAllocationResponse +func (x fastReflection_QueryGetAgreementResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_QueryGetAgreementResponse } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_QueryGetAllocationResponse) Descriptor() protoreflect.MessageDescriptor { - return md_QueryGetAllocationResponse +func (x *fastReflection_QueryGetAgreementResponse) Descriptor() protoreflect.MessageDescriptor { + return md_QueryGetAgreementResponse } // 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_QueryGetAllocationResponse) Type() protoreflect.MessageType { - return _fastReflection_QueryGetAllocationResponse_messageType +func (x *fastReflection_QueryGetAgreementResponse) Type() protoreflect.MessageType { + return _fastReflection_QueryGetAgreementResponse_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_QueryGetAllocationResponse) New() protoreflect.Message { - return new(fastReflection_QueryGetAllocationResponse) +func (x *fastReflection_QueryGetAgreementResponse) New() protoreflect.Message { + return new(fastReflection_QueryGetAgreementResponse) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_QueryGetAllocationResponse) Interface() protoreflect.ProtoMessage { - return (*QueryGetAllocationResponse)(x) +func (x *fastReflection_QueryGetAgreementResponse) Interface() protoreflect.ProtoMessage { + return (*QueryGetAgreementResponse)(x) } // Range iterates over every populated field in an undefined order, @@ -4523,16 +4521,10 @@ func (x *fastReflection_QueryGetAllocationResponse) Interface() protoreflect.Pro // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_QueryGetAllocationResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.Allocation != nil { - value := protoreflect.ValueOfMessage(x.Allocation.ProtoReflect()) - if !f(fd_QueryGetAllocationResponse_Allocation, value) { - return - } - } - if x.GridAttributes != nil { - value := protoreflect.ValueOfMessage(x.GridAttributes.ProtoReflect()) - if !f(fd_QueryGetAllocationResponse_gridAttributes, value) { +func (x *fastReflection_QueryGetAgreementResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Agreement != nil { + value := protoreflect.ValueOfMessage(x.Agreement.ProtoReflect()) + if !f(fd_QueryGetAgreementResponse_Agreement, value) { return } } @@ -4549,17 +4541,15 @@ func (x *fastReflection_QueryGetAllocationResponse) Range(f func(protoreflect.Fi // 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_QueryGetAllocationResponse) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_QueryGetAgreementResponse) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.QueryGetAllocationResponse.Allocation": - return x.Allocation != nil - case "structs.structs.QueryGetAllocationResponse.gridAttributes": - return x.GridAttributes != nil + case "structs.structs.QueryGetAgreementResponse.Agreement": + return x.Agreement != nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetAllocationResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetAgreementResponse")) } - panic(fmt.Errorf("message structs.structs.QueryGetAllocationResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetAgreementResponse does not contain field %s", fd.FullName())) } } @@ -4569,17 +4559,15 @@ func (x *fastReflection_QueryGetAllocationResponse) Has(fd protoreflect.FieldDes // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryGetAllocationResponse) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_QueryGetAgreementResponse) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.QueryGetAllocationResponse.Allocation": - x.Allocation = nil - case "structs.structs.QueryGetAllocationResponse.gridAttributes": - x.GridAttributes = nil + case "structs.structs.QueryGetAgreementResponse.Agreement": + x.Agreement = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetAllocationResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetAgreementResponse")) } - panic(fmt.Errorf("message structs.structs.QueryGetAllocationResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetAgreementResponse does not contain field %s", fd.FullName())) } } @@ -4589,19 +4577,16 @@ func (x *fastReflection_QueryGetAllocationResponse) Clear(fd protoreflect.FieldD // 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_QueryGetAllocationResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryGetAgreementResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.QueryGetAllocationResponse.Allocation": - value := x.Allocation - return protoreflect.ValueOfMessage(value.ProtoReflect()) - case "structs.structs.QueryGetAllocationResponse.gridAttributes": - value := x.GridAttributes + case "structs.structs.QueryGetAgreementResponse.Agreement": + value := x.Agreement return protoreflect.ValueOfMessage(value.ProtoReflect()) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetAllocationResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetAgreementResponse")) } - panic(fmt.Errorf("message structs.structs.QueryGetAllocationResponse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetAgreementResponse does not contain field %s", descriptor.FullName())) } } @@ -4615,17 +4600,15 @@ func (x *fastReflection_QueryGetAllocationResponse) Get(descriptor protoreflect. // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryGetAllocationResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_QueryGetAgreementResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.QueryGetAllocationResponse.Allocation": - x.Allocation = value.Message().Interface().(*Allocation) - case "structs.structs.QueryGetAllocationResponse.gridAttributes": - x.GridAttributes = value.Message().Interface().(*GridAttributes) + case "structs.structs.QueryGetAgreementResponse.Agreement": + x.Agreement = value.Message().Interface().(*Agreement) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetAllocationResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetAgreementResponse")) } - panic(fmt.Errorf("message structs.structs.QueryGetAllocationResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetAgreementResponse does not contain field %s", fd.FullName())) } } @@ -4639,52 +4622,44 @@ func (x *fastReflection_QueryGetAllocationResponse) Set(fd protoreflect.FieldDes // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryGetAllocationResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryGetAgreementResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.QueryGetAllocationResponse.Allocation": - if x.Allocation == nil { - x.Allocation = new(Allocation) - } - return protoreflect.ValueOfMessage(x.Allocation.ProtoReflect()) - case "structs.structs.QueryGetAllocationResponse.gridAttributes": - if x.GridAttributes == nil { - x.GridAttributes = new(GridAttributes) + case "structs.structs.QueryGetAgreementResponse.Agreement": + if x.Agreement == nil { + x.Agreement = new(Agreement) } - return protoreflect.ValueOfMessage(x.GridAttributes.ProtoReflect()) + return protoreflect.ValueOfMessage(x.Agreement.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetAllocationResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetAgreementResponse")) } - panic(fmt.Errorf("message structs.structs.QueryGetAllocationResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetAgreementResponse 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_QueryGetAllocationResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryGetAgreementResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.QueryGetAllocationResponse.Allocation": - m := new(Allocation) - return protoreflect.ValueOfMessage(m.ProtoReflect()) - case "structs.structs.QueryGetAllocationResponse.gridAttributes": - m := new(GridAttributes) + case "structs.structs.QueryGetAgreementResponse.Agreement": + m := new(Agreement) return protoreflect.ValueOfMessage(m.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetAllocationResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetAgreementResponse")) } - panic(fmt.Errorf("message structs.structs.QueryGetAllocationResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetAgreementResponse 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_QueryGetAllocationResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_QueryGetAgreementResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryGetAllocationResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryGetAgreementResponse", d.FullName())) } panic("unreachable") } @@ -4692,7 +4667,7 @@ func (x *fastReflection_QueryGetAllocationResponse) WhichOneof(d protoreflect.On // 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_QueryGetAllocationResponse) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_QueryGetAgreementResponse) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -4703,7 +4678,7 @@ func (x *fastReflection_QueryGetAllocationResponse) GetUnknown() protoreflect.Ra // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryGetAllocationResponse) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_QueryGetAgreementResponse) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -4715,7 +4690,7 @@ func (x *fastReflection_QueryGetAllocationResponse) SetUnknown(fields protorefle // 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_QueryGetAllocationResponse) IsValid() bool { +func (x *fastReflection_QueryGetAgreementResponse) IsValid() bool { return x != nil } @@ -4725,9 +4700,9 @@ func (x *fastReflection_QueryGetAllocationResponse) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_QueryGetAllocationResponse) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_QueryGetAgreementResponse) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*QueryGetAllocationResponse) + x := input.Message.Interface().(*QueryGetAgreementResponse) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -4739,12 +4714,8 @@ func (x *fastReflection_QueryGetAllocationResponse) ProtoMethods() *protoiface.M var n int var l int _ = l - if x.Allocation != nil { - l = options.Size(x.Allocation) - n += 1 + l + runtime.Sov(uint64(l)) - } - if x.GridAttributes != nil { - l = options.Size(x.GridAttributes) + if x.Agreement != nil { + l = options.Size(x.Agreement) n += 1 + l + runtime.Sov(uint64(l)) } if x.unknownFields != nil { @@ -4757,7 +4728,7 @@ func (x *fastReflection_QueryGetAllocationResponse) ProtoMethods() *protoiface.M } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*QueryGetAllocationResponse) + x := input.Message.Interface().(*QueryGetAgreementResponse) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -4776,22 +4747,8 @@ func (x *fastReflection_QueryGetAllocationResponse) ProtoMethods() *protoiface.M i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if x.GridAttributes != nil { - encoded, err := options.Marshal(x.GridAttributes) - 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 x.Allocation != nil { - encoded, err := options.Marshal(x.Allocation) + if x.Agreement != nil { + encoded, err := options.Marshal(x.Agreement) if err != nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -4815,7 +4772,7 @@ func (x *fastReflection_QueryGetAllocationResponse) ProtoMethods() *protoiface.M }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*QueryGetAllocationResponse) + x := input.Message.Interface().(*QueryGetAgreementResponse) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -4847,15 +4804,15 @@ func (x *fastReflection_QueryGetAllocationResponse) ProtoMethods() *protoiface.M fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryGetAllocationResponse: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryGetAgreementResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryGetAllocationResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryGetAgreementResponse: 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 Allocation", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Agreement", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -4882,46 +4839,10 @@ func (x *fastReflection_QueryGetAllocationResponse) ProtoMethods() *protoiface.M if postIndex > l { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - if x.Allocation == nil { - x.Allocation = &Allocation{} + if x.Agreement == nil { + x.Agreement = &Agreement{} } - if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Allocation); err != nil { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field GridAttributes", 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.GridAttributes == nil { - x.GridAttributes = &GridAttributes{} - } - if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.GridAttributes); err != nil { + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Agreement); err != nil { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err } iNdEx = postIndex @@ -4961,25 +4882,25 @@ func (x *fastReflection_QueryGetAllocationResponse) ProtoMethods() *protoiface.M } var ( - md_QueryAllAllocationRequest protoreflect.MessageDescriptor - fd_QueryAllAllocationRequest_pagination protoreflect.FieldDescriptor + md_QueryAllAgreementRequest protoreflect.MessageDescriptor + fd_QueryAllAgreementRequest_pagination protoreflect.FieldDescriptor ) func init() { file_structs_structs_query_proto_init() - md_QueryAllAllocationRequest = File_structs_structs_query_proto.Messages().ByName("QueryAllAllocationRequest") - fd_QueryAllAllocationRequest_pagination = md_QueryAllAllocationRequest.Fields().ByName("pagination") + md_QueryAllAgreementRequest = File_structs_structs_query_proto.Messages().ByName("QueryAllAgreementRequest") + fd_QueryAllAgreementRequest_pagination = md_QueryAllAgreementRequest.Fields().ByName("pagination") } -var _ protoreflect.Message = (*fastReflection_QueryAllAllocationRequest)(nil) +var _ protoreflect.Message = (*fastReflection_QueryAllAgreementRequest)(nil) -type fastReflection_QueryAllAllocationRequest QueryAllAllocationRequest +type fastReflection_QueryAllAgreementRequest QueryAllAgreementRequest -func (x *QueryAllAllocationRequest) ProtoReflect() protoreflect.Message { - return (*fastReflection_QueryAllAllocationRequest)(x) +func (x *QueryAllAgreementRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_QueryAllAgreementRequest)(x) } -func (x *QueryAllAllocationRequest) slowProtoReflect() protoreflect.Message { +func (x *QueryAllAgreementRequest) slowProtoReflect() protoreflect.Message { mi := &file_structs_structs_query_proto_msgTypes[11] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -4991,43 +4912,43 @@ func (x *QueryAllAllocationRequest) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_QueryAllAllocationRequest_messageType fastReflection_QueryAllAllocationRequest_messageType -var _ protoreflect.MessageType = fastReflection_QueryAllAllocationRequest_messageType{} +var _fastReflection_QueryAllAgreementRequest_messageType fastReflection_QueryAllAgreementRequest_messageType +var _ protoreflect.MessageType = fastReflection_QueryAllAgreementRequest_messageType{} -type fastReflection_QueryAllAllocationRequest_messageType struct{} +type fastReflection_QueryAllAgreementRequest_messageType struct{} -func (x fastReflection_QueryAllAllocationRequest_messageType) Zero() protoreflect.Message { - return (*fastReflection_QueryAllAllocationRequest)(nil) +func (x fastReflection_QueryAllAgreementRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_QueryAllAgreementRequest)(nil) } -func (x fastReflection_QueryAllAllocationRequest_messageType) New() protoreflect.Message { - return new(fastReflection_QueryAllAllocationRequest) +func (x fastReflection_QueryAllAgreementRequest_messageType) New() protoreflect.Message { + return new(fastReflection_QueryAllAgreementRequest) } -func (x fastReflection_QueryAllAllocationRequest_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_QueryAllAllocationRequest +func (x fastReflection_QueryAllAgreementRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_QueryAllAgreementRequest } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_QueryAllAllocationRequest) Descriptor() protoreflect.MessageDescriptor { - return md_QueryAllAllocationRequest +func (x *fastReflection_QueryAllAgreementRequest) Descriptor() protoreflect.MessageDescriptor { + return md_QueryAllAgreementRequest } // 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_QueryAllAllocationRequest) Type() protoreflect.MessageType { - return _fastReflection_QueryAllAllocationRequest_messageType +func (x *fastReflection_QueryAllAgreementRequest) Type() protoreflect.MessageType { + return _fastReflection_QueryAllAgreementRequest_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_QueryAllAllocationRequest) New() protoreflect.Message { - return new(fastReflection_QueryAllAllocationRequest) +func (x *fastReflection_QueryAllAgreementRequest) New() protoreflect.Message { + return new(fastReflection_QueryAllAgreementRequest) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_QueryAllAllocationRequest) Interface() protoreflect.ProtoMessage { - return (*QueryAllAllocationRequest)(x) +func (x *fastReflection_QueryAllAgreementRequest) Interface() protoreflect.ProtoMessage { + return (*QueryAllAgreementRequest)(x) } // Range iterates over every populated field in an undefined order, @@ -5035,10 +4956,10 @@ func (x *fastReflection_QueryAllAllocationRequest) Interface() protoreflect.Prot // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_QueryAllAllocationRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +func (x *fastReflection_QueryAllAgreementRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { if x.Pagination != nil { value := protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) - if !f(fd_QueryAllAllocationRequest_pagination, value) { + if !f(fd_QueryAllAgreementRequest_pagination, value) { return } } @@ -5055,15 +4976,15 @@ func (x *fastReflection_QueryAllAllocationRequest) Range(f func(protoreflect.Fie // 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_QueryAllAllocationRequest) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_QueryAllAgreementRequest) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.QueryAllAllocationRequest.pagination": + case "structs.structs.QueryAllAgreementRequest.pagination": return x.Pagination != nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllAllocationRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllAgreementRequest")) } - panic(fmt.Errorf("message structs.structs.QueryAllAllocationRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllAgreementRequest does not contain field %s", fd.FullName())) } } @@ -5073,15 +4994,15 @@ func (x *fastReflection_QueryAllAllocationRequest) Has(fd protoreflect.FieldDesc // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAllAllocationRequest) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_QueryAllAgreementRequest) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.QueryAllAllocationRequest.pagination": + case "structs.structs.QueryAllAgreementRequest.pagination": x.Pagination = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllAllocationRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllAgreementRequest")) } - panic(fmt.Errorf("message structs.structs.QueryAllAllocationRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllAgreementRequest does not contain field %s", fd.FullName())) } } @@ -5091,16 +5012,16 @@ func (x *fastReflection_QueryAllAllocationRequest) Clear(fd protoreflect.FieldDe // 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_QueryAllAllocationRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryAllAgreementRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.QueryAllAllocationRequest.pagination": + case "structs.structs.QueryAllAgreementRequest.pagination": value := x.Pagination return protoreflect.ValueOfMessage(value.ProtoReflect()) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllAllocationRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllAgreementRequest")) } - panic(fmt.Errorf("message structs.structs.QueryAllAllocationRequest does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllAgreementRequest does not contain field %s", descriptor.FullName())) } } @@ -5114,15 +5035,15 @@ func (x *fastReflection_QueryAllAllocationRequest) Get(descriptor protoreflect.F // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAllAllocationRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_QueryAllAgreementRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.QueryAllAllocationRequest.pagination": + case "structs.structs.QueryAllAgreementRequest.pagination": x.Pagination = value.Message().Interface().(*v1beta1.PageRequest) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllAllocationRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllAgreementRequest")) } - panic(fmt.Errorf("message structs.structs.QueryAllAllocationRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllAgreementRequest does not contain field %s", fd.FullName())) } } @@ -5136,44 +5057,44 @@ func (x *fastReflection_QueryAllAllocationRequest) Set(fd protoreflect.FieldDesc // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAllAllocationRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryAllAgreementRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.QueryAllAllocationRequest.pagination": + case "structs.structs.QueryAllAgreementRequest.pagination": if x.Pagination == nil { x.Pagination = new(v1beta1.PageRequest) } return protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllAllocationRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllAgreementRequest")) } - panic(fmt.Errorf("message structs.structs.QueryAllAllocationRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllAgreementRequest 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_QueryAllAllocationRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryAllAgreementRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.QueryAllAllocationRequest.pagination": + case "structs.structs.QueryAllAgreementRequest.pagination": m := new(v1beta1.PageRequest) return protoreflect.ValueOfMessage(m.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllAllocationRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllAgreementRequest")) } - panic(fmt.Errorf("message structs.structs.QueryAllAllocationRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllAgreementRequest 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_QueryAllAllocationRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_QueryAllAgreementRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryAllAllocationRequest", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryAllAgreementRequest", d.FullName())) } panic("unreachable") } @@ -5181,7 +5102,7 @@ func (x *fastReflection_QueryAllAllocationRequest) WhichOneof(d protoreflect.One // 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_QueryAllAllocationRequest) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_QueryAllAgreementRequest) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -5192,7 +5113,7 @@ func (x *fastReflection_QueryAllAllocationRequest) GetUnknown() protoreflect.Raw // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAllAllocationRequest) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_QueryAllAgreementRequest) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -5204,7 +5125,7 @@ func (x *fastReflection_QueryAllAllocationRequest) SetUnknown(fields protoreflec // 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_QueryAllAllocationRequest) IsValid() bool { +func (x *fastReflection_QueryAllAgreementRequest) IsValid() bool { return x != nil } @@ -5214,9 +5135,9 @@ func (x *fastReflection_QueryAllAllocationRequest) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_QueryAllAllocationRequest) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_QueryAllAgreementRequest) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*QueryAllAllocationRequest) + x := input.Message.Interface().(*QueryAllAgreementRequest) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -5242,7 +5163,7 @@ func (x *fastReflection_QueryAllAllocationRequest) ProtoMethods() *protoiface.Me } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*QueryAllAllocationRequest) + x := input.Message.Interface().(*QueryAllAgreementRequest) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -5286,7 +5207,7 @@ func (x *fastReflection_QueryAllAllocationRequest) ProtoMethods() *protoiface.Me }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*QueryAllAllocationRequest) + x := input.Message.Interface().(*QueryAllAgreementRequest) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -5318,10 +5239,10 @@ func (x *fastReflection_QueryAllAllocationRequest) ProtoMethods() *protoiface.Me fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllAllocationRequest: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllAgreementRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllAllocationRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllAgreementRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -5396,27 +5317,27 @@ func (x *fastReflection_QueryAllAllocationRequest) ProtoMethods() *protoiface.Me } var ( - md_QueryAllAllocationBySourceRequest protoreflect.MessageDescriptor - fd_QueryAllAllocationBySourceRequest_pagination protoreflect.FieldDescriptor - fd_QueryAllAllocationBySourceRequest_sourceId protoreflect.FieldDescriptor + md_QueryAllAgreementByProviderRequest protoreflect.MessageDescriptor + fd_QueryAllAgreementByProviderRequest_pagination protoreflect.FieldDescriptor + fd_QueryAllAgreementByProviderRequest_providerId protoreflect.FieldDescriptor ) func init() { file_structs_structs_query_proto_init() - md_QueryAllAllocationBySourceRequest = File_structs_structs_query_proto.Messages().ByName("QueryAllAllocationBySourceRequest") - fd_QueryAllAllocationBySourceRequest_pagination = md_QueryAllAllocationBySourceRequest.Fields().ByName("pagination") - fd_QueryAllAllocationBySourceRequest_sourceId = md_QueryAllAllocationBySourceRequest.Fields().ByName("sourceId") + md_QueryAllAgreementByProviderRequest = File_structs_structs_query_proto.Messages().ByName("QueryAllAgreementByProviderRequest") + fd_QueryAllAgreementByProviderRequest_pagination = md_QueryAllAgreementByProviderRequest.Fields().ByName("pagination") + fd_QueryAllAgreementByProviderRequest_providerId = md_QueryAllAgreementByProviderRequest.Fields().ByName("providerId") } -var _ protoreflect.Message = (*fastReflection_QueryAllAllocationBySourceRequest)(nil) +var _ protoreflect.Message = (*fastReflection_QueryAllAgreementByProviderRequest)(nil) -type fastReflection_QueryAllAllocationBySourceRequest QueryAllAllocationBySourceRequest +type fastReflection_QueryAllAgreementByProviderRequest QueryAllAgreementByProviderRequest -func (x *QueryAllAllocationBySourceRequest) ProtoReflect() protoreflect.Message { - return (*fastReflection_QueryAllAllocationBySourceRequest)(x) +func (x *QueryAllAgreementByProviderRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_QueryAllAgreementByProviderRequest)(x) } -func (x *QueryAllAllocationBySourceRequest) slowProtoReflect() protoreflect.Message { +func (x *QueryAllAgreementByProviderRequest) slowProtoReflect() protoreflect.Message { mi := &file_structs_structs_query_proto_msgTypes[12] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -5428,43 +5349,43 @@ func (x *QueryAllAllocationBySourceRequest) slowProtoReflect() protoreflect.Mess return mi.MessageOf(x) } -var _fastReflection_QueryAllAllocationBySourceRequest_messageType fastReflection_QueryAllAllocationBySourceRequest_messageType -var _ protoreflect.MessageType = fastReflection_QueryAllAllocationBySourceRequest_messageType{} +var _fastReflection_QueryAllAgreementByProviderRequest_messageType fastReflection_QueryAllAgreementByProviderRequest_messageType +var _ protoreflect.MessageType = fastReflection_QueryAllAgreementByProviderRequest_messageType{} -type fastReflection_QueryAllAllocationBySourceRequest_messageType struct{} +type fastReflection_QueryAllAgreementByProviderRequest_messageType struct{} -func (x fastReflection_QueryAllAllocationBySourceRequest_messageType) Zero() protoreflect.Message { - return (*fastReflection_QueryAllAllocationBySourceRequest)(nil) +func (x fastReflection_QueryAllAgreementByProviderRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_QueryAllAgreementByProviderRequest)(nil) } -func (x fastReflection_QueryAllAllocationBySourceRequest_messageType) New() protoreflect.Message { - return new(fastReflection_QueryAllAllocationBySourceRequest) +func (x fastReflection_QueryAllAgreementByProviderRequest_messageType) New() protoreflect.Message { + return new(fastReflection_QueryAllAgreementByProviderRequest) } -func (x fastReflection_QueryAllAllocationBySourceRequest_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_QueryAllAllocationBySourceRequest +func (x fastReflection_QueryAllAgreementByProviderRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_QueryAllAgreementByProviderRequest } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_QueryAllAllocationBySourceRequest) Descriptor() protoreflect.MessageDescriptor { - return md_QueryAllAllocationBySourceRequest +func (x *fastReflection_QueryAllAgreementByProviderRequest) Descriptor() protoreflect.MessageDescriptor { + return md_QueryAllAgreementByProviderRequest } // 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_QueryAllAllocationBySourceRequest) Type() protoreflect.MessageType { - return _fastReflection_QueryAllAllocationBySourceRequest_messageType +func (x *fastReflection_QueryAllAgreementByProviderRequest) Type() protoreflect.MessageType { + return _fastReflection_QueryAllAgreementByProviderRequest_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_QueryAllAllocationBySourceRequest) New() protoreflect.Message { - return new(fastReflection_QueryAllAllocationBySourceRequest) +func (x *fastReflection_QueryAllAgreementByProviderRequest) New() protoreflect.Message { + return new(fastReflection_QueryAllAgreementByProviderRequest) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_QueryAllAllocationBySourceRequest) Interface() protoreflect.ProtoMessage { - return (*QueryAllAllocationBySourceRequest)(x) +func (x *fastReflection_QueryAllAgreementByProviderRequest) Interface() protoreflect.ProtoMessage { + return (*QueryAllAgreementByProviderRequest)(x) } // Range iterates over every populated field in an undefined order, @@ -5472,16 +5393,16 @@ func (x *fastReflection_QueryAllAllocationBySourceRequest) Interface() protorefl // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_QueryAllAllocationBySourceRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +func (x *fastReflection_QueryAllAgreementByProviderRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { if x.Pagination != nil { value := protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) - if !f(fd_QueryAllAllocationBySourceRequest_pagination, value) { + if !f(fd_QueryAllAgreementByProviderRequest_pagination, value) { return } } - if x.SourceId != "" { - value := protoreflect.ValueOfString(x.SourceId) - if !f(fd_QueryAllAllocationBySourceRequest_sourceId, value) { + if x.ProviderId != "" { + value := protoreflect.ValueOfString(x.ProviderId) + if !f(fd_QueryAllAgreementByProviderRequest_providerId, value) { return } } @@ -5498,17 +5419,17 @@ func (x *fastReflection_QueryAllAllocationBySourceRequest) Range(f func(protoref // 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_QueryAllAllocationBySourceRequest) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_QueryAllAgreementByProviderRequest) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.QueryAllAllocationBySourceRequest.pagination": + case "structs.structs.QueryAllAgreementByProviderRequest.pagination": return x.Pagination != nil - case "structs.structs.QueryAllAllocationBySourceRequest.sourceId": - return x.SourceId != "" + case "structs.structs.QueryAllAgreementByProviderRequest.providerId": + return x.ProviderId != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllAllocationBySourceRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllAgreementByProviderRequest")) } - panic(fmt.Errorf("message structs.structs.QueryAllAllocationBySourceRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllAgreementByProviderRequest does not contain field %s", fd.FullName())) } } @@ -5518,17 +5439,17 @@ func (x *fastReflection_QueryAllAllocationBySourceRequest) Has(fd protoreflect.F // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAllAllocationBySourceRequest) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_QueryAllAgreementByProviderRequest) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.QueryAllAllocationBySourceRequest.pagination": + case "structs.structs.QueryAllAgreementByProviderRequest.pagination": x.Pagination = nil - case "structs.structs.QueryAllAllocationBySourceRequest.sourceId": - x.SourceId = "" + case "structs.structs.QueryAllAgreementByProviderRequest.providerId": + x.ProviderId = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllAllocationBySourceRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllAgreementByProviderRequest")) } - panic(fmt.Errorf("message structs.structs.QueryAllAllocationBySourceRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllAgreementByProviderRequest does not contain field %s", fd.FullName())) } } @@ -5538,19 +5459,19 @@ func (x *fastReflection_QueryAllAllocationBySourceRequest) Clear(fd protoreflect // 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_QueryAllAllocationBySourceRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryAllAgreementByProviderRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.QueryAllAllocationBySourceRequest.pagination": + case "structs.structs.QueryAllAgreementByProviderRequest.pagination": value := x.Pagination return protoreflect.ValueOfMessage(value.ProtoReflect()) - case "structs.structs.QueryAllAllocationBySourceRequest.sourceId": - value := x.SourceId + case "structs.structs.QueryAllAgreementByProviderRequest.providerId": + value := x.ProviderId return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllAllocationBySourceRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllAgreementByProviderRequest")) } - panic(fmt.Errorf("message structs.structs.QueryAllAllocationBySourceRequest does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllAgreementByProviderRequest does not contain field %s", descriptor.FullName())) } } @@ -5564,17 +5485,17 @@ func (x *fastReflection_QueryAllAllocationBySourceRequest) Get(descriptor protor // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAllAllocationBySourceRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_QueryAllAgreementByProviderRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.QueryAllAllocationBySourceRequest.pagination": + case "structs.structs.QueryAllAgreementByProviderRequest.pagination": x.Pagination = value.Message().Interface().(*v1beta1.PageRequest) - case "structs.structs.QueryAllAllocationBySourceRequest.sourceId": - x.SourceId = value.Interface().(string) + case "structs.structs.QueryAllAgreementByProviderRequest.providerId": + x.ProviderId = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllAllocationBySourceRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllAgreementByProviderRequest")) } - panic(fmt.Errorf("message structs.structs.QueryAllAllocationBySourceRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllAgreementByProviderRequest does not contain field %s", fd.FullName())) } } @@ -5588,48 +5509,48 @@ func (x *fastReflection_QueryAllAllocationBySourceRequest) Set(fd protoreflect.F // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAllAllocationBySourceRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryAllAgreementByProviderRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.QueryAllAllocationBySourceRequest.pagination": + case "structs.structs.QueryAllAgreementByProviderRequest.pagination": if x.Pagination == nil { x.Pagination = new(v1beta1.PageRequest) } return protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) - case "structs.structs.QueryAllAllocationBySourceRequest.sourceId": - panic(fmt.Errorf("field sourceId of message structs.structs.QueryAllAllocationBySourceRequest is not mutable")) + case "structs.structs.QueryAllAgreementByProviderRequest.providerId": + panic(fmt.Errorf("field providerId of message structs.structs.QueryAllAgreementByProviderRequest is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllAllocationBySourceRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllAgreementByProviderRequest")) } - panic(fmt.Errorf("message structs.structs.QueryAllAllocationBySourceRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllAgreementByProviderRequest 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_QueryAllAllocationBySourceRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryAllAgreementByProviderRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.QueryAllAllocationBySourceRequest.pagination": + case "structs.structs.QueryAllAgreementByProviderRequest.pagination": m := new(v1beta1.PageRequest) return protoreflect.ValueOfMessage(m.ProtoReflect()) - case "structs.structs.QueryAllAllocationBySourceRequest.sourceId": + case "structs.structs.QueryAllAgreementByProviderRequest.providerId": return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllAllocationBySourceRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllAgreementByProviderRequest")) } - panic(fmt.Errorf("message structs.structs.QueryAllAllocationBySourceRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllAgreementByProviderRequest 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_QueryAllAllocationBySourceRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_QueryAllAgreementByProviderRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryAllAllocationBySourceRequest", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryAllAgreementByProviderRequest", d.FullName())) } panic("unreachable") } @@ -5637,7 +5558,7 @@ func (x *fastReflection_QueryAllAllocationBySourceRequest) WhichOneof(d protoref // 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_QueryAllAllocationBySourceRequest) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_QueryAllAgreementByProviderRequest) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -5648,7 +5569,7 @@ func (x *fastReflection_QueryAllAllocationBySourceRequest) GetUnknown() protoref // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAllAllocationBySourceRequest) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_QueryAllAgreementByProviderRequest) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -5660,7 +5581,7 @@ func (x *fastReflection_QueryAllAllocationBySourceRequest) SetUnknown(fields pro // 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_QueryAllAllocationBySourceRequest) IsValid() bool { +func (x *fastReflection_QueryAllAgreementByProviderRequest) IsValid() bool { return x != nil } @@ -5670,9 +5591,9 @@ func (x *fastReflection_QueryAllAllocationBySourceRequest) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_QueryAllAllocationBySourceRequest) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_QueryAllAgreementByProviderRequest) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*QueryAllAllocationBySourceRequest) + x := input.Message.Interface().(*QueryAllAgreementByProviderRequest) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -5688,7 +5609,7 @@ func (x *fastReflection_QueryAllAllocationBySourceRequest) ProtoMethods() *proto l = options.Size(x.Pagination) n += 1 + l + runtime.Sov(uint64(l)) } - l = len(x.SourceId) + l = len(x.ProviderId) if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } @@ -5702,7 +5623,7 @@ func (x *fastReflection_QueryAllAllocationBySourceRequest) ProtoMethods() *proto } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*QueryAllAllocationBySourceRequest) + x := input.Message.Interface().(*QueryAllAgreementByProviderRequest) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -5721,10 +5642,10 @@ func (x *fastReflection_QueryAllAllocationBySourceRequest) ProtoMethods() *proto i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if len(x.SourceId) > 0 { - i -= len(x.SourceId) - copy(dAtA[i:], x.SourceId) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.SourceId))) + if len(x.ProviderId) > 0 { + i -= len(x.ProviderId) + copy(dAtA[i:], x.ProviderId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.ProviderId))) i-- dAtA[i] = 0x12 } @@ -5753,7 +5674,7 @@ func (x *fastReflection_QueryAllAllocationBySourceRequest) ProtoMethods() *proto }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*QueryAllAllocationBySourceRequest) + x := input.Message.Interface().(*QueryAllAgreementByProviderRequest) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -5785,10 +5706,10 @@ func (x *fastReflection_QueryAllAllocationBySourceRequest) ProtoMethods() *proto fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllAllocationBySourceRequest: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllAgreementByProviderRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllAllocationBySourceRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllAgreementByProviderRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -5829,7 +5750,7 @@ func (x *fastReflection_QueryAllAllocationBySourceRequest) ProtoMethods() *proto iNdEx = postIndex case 2: if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field SourceId", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ProviderId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -5857,7 +5778,7 @@ func (x *fastReflection_QueryAllAllocationBySourceRequest) ProtoMethods() *proto if postIndex > l { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - x.SourceId = string(dAtA[iNdEx:postIndex]) + x.ProviderId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -5894,28 +5815,79 @@ func (x *fastReflection_QueryAllAllocationBySourceRequest) ProtoMethods() *proto } } +var _ protoreflect.List = (*_QueryAllAgreementResponse_1_list)(nil) + +type _QueryAllAgreementResponse_1_list struct { + list *[]*Agreement +} + +func (x *_QueryAllAgreementResponse_1_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_QueryAllAgreementResponse_1_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_QueryAllAgreementResponse_1_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*Agreement) + (*x.list)[i] = concreteValue +} + +func (x *_QueryAllAgreementResponse_1_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*Agreement) + *x.list = append(*x.list, concreteValue) +} + +func (x *_QueryAllAgreementResponse_1_list) AppendMutable() protoreflect.Value { + v := new(Agreement) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_QueryAllAgreementResponse_1_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_QueryAllAgreementResponse_1_list) NewElement() protoreflect.Value { + v := new(Agreement) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_QueryAllAgreementResponse_1_list) IsValid() bool { + return x.list != nil +} + var ( - md_QueryAllAllocationByDestinationRequest protoreflect.MessageDescriptor - fd_QueryAllAllocationByDestinationRequest_pagination protoreflect.FieldDescriptor - fd_QueryAllAllocationByDestinationRequest_destinationId protoreflect.FieldDescriptor + md_QueryAllAgreementResponse protoreflect.MessageDescriptor + fd_QueryAllAgreementResponse_Agreement protoreflect.FieldDescriptor + fd_QueryAllAgreementResponse_pagination protoreflect.FieldDescriptor ) func init() { file_structs_structs_query_proto_init() - md_QueryAllAllocationByDestinationRequest = File_structs_structs_query_proto.Messages().ByName("QueryAllAllocationByDestinationRequest") - fd_QueryAllAllocationByDestinationRequest_pagination = md_QueryAllAllocationByDestinationRequest.Fields().ByName("pagination") - fd_QueryAllAllocationByDestinationRequest_destinationId = md_QueryAllAllocationByDestinationRequest.Fields().ByName("destinationId") + md_QueryAllAgreementResponse = File_structs_structs_query_proto.Messages().ByName("QueryAllAgreementResponse") + fd_QueryAllAgreementResponse_Agreement = md_QueryAllAgreementResponse.Fields().ByName("Agreement") + fd_QueryAllAgreementResponse_pagination = md_QueryAllAgreementResponse.Fields().ByName("pagination") } -var _ protoreflect.Message = (*fastReflection_QueryAllAllocationByDestinationRequest)(nil) +var _ protoreflect.Message = (*fastReflection_QueryAllAgreementResponse)(nil) -type fastReflection_QueryAllAllocationByDestinationRequest QueryAllAllocationByDestinationRequest +type fastReflection_QueryAllAgreementResponse QueryAllAgreementResponse -func (x *QueryAllAllocationByDestinationRequest) ProtoReflect() protoreflect.Message { - return (*fastReflection_QueryAllAllocationByDestinationRequest)(x) +func (x *QueryAllAgreementResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_QueryAllAgreementResponse)(x) } -func (x *QueryAllAllocationByDestinationRequest) slowProtoReflect() protoreflect.Message { +func (x *QueryAllAgreementResponse) slowProtoReflect() protoreflect.Message { mi := &file_structs_structs_query_proto_msgTypes[13] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -5927,43 +5899,43 @@ func (x *QueryAllAllocationByDestinationRequest) slowProtoReflect() protoreflect return mi.MessageOf(x) } -var _fastReflection_QueryAllAllocationByDestinationRequest_messageType fastReflection_QueryAllAllocationByDestinationRequest_messageType -var _ protoreflect.MessageType = fastReflection_QueryAllAllocationByDestinationRequest_messageType{} +var _fastReflection_QueryAllAgreementResponse_messageType fastReflection_QueryAllAgreementResponse_messageType +var _ protoreflect.MessageType = fastReflection_QueryAllAgreementResponse_messageType{} -type fastReflection_QueryAllAllocationByDestinationRequest_messageType struct{} +type fastReflection_QueryAllAgreementResponse_messageType struct{} -func (x fastReflection_QueryAllAllocationByDestinationRequest_messageType) Zero() protoreflect.Message { - return (*fastReflection_QueryAllAllocationByDestinationRequest)(nil) +func (x fastReflection_QueryAllAgreementResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_QueryAllAgreementResponse)(nil) } -func (x fastReflection_QueryAllAllocationByDestinationRequest_messageType) New() protoreflect.Message { - return new(fastReflection_QueryAllAllocationByDestinationRequest) +func (x fastReflection_QueryAllAgreementResponse_messageType) New() protoreflect.Message { + return new(fastReflection_QueryAllAgreementResponse) } -func (x fastReflection_QueryAllAllocationByDestinationRequest_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_QueryAllAllocationByDestinationRequest +func (x fastReflection_QueryAllAgreementResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_QueryAllAgreementResponse } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_QueryAllAllocationByDestinationRequest) Descriptor() protoreflect.MessageDescriptor { - return md_QueryAllAllocationByDestinationRequest +func (x *fastReflection_QueryAllAgreementResponse) Descriptor() protoreflect.MessageDescriptor { + return md_QueryAllAgreementResponse } // 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_QueryAllAllocationByDestinationRequest) Type() protoreflect.MessageType { - return _fastReflection_QueryAllAllocationByDestinationRequest_messageType +func (x *fastReflection_QueryAllAgreementResponse) Type() protoreflect.MessageType { + return _fastReflection_QueryAllAgreementResponse_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_QueryAllAllocationByDestinationRequest) New() protoreflect.Message { - return new(fastReflection_QueryAllAllocationByDestinationRequest) +func (x *fastReflection_QueryAllAgreementResponse) New() protoreflect.Message { + return new(fastReflection_QueryAllAgreementResponse) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_QueryAllAllocationByDestinationRequest) Interface() protoreflect.ProtoMessage { - return (*QueryAllAllocationByDestinationRequest)(x) +func (x *fastReflection_QueryAllAgreementResponse) Interface() protoreflect.ProtoMessage { + return (*QueryAllAgreementResponse)(x) } // Range iterates over every populated field in an undefined order, @@ -5971,16 +5943,16 @@ func (x *fastReflection_QueryAllAllocationByDestinationRequest) Interface() prot // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_QueryAllAllocationByDestinationRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.Pagination != nil { - value := protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) - if !f(fd_QueryAllAllocationByDestinationRequest_pagination, value) { +func (x *fastReflection_QueryAllAgreementResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if len(x.Agreement) != 0 { + value := protoreflect.ValueOfList(&_QueryAllAgreementResponse_1_list{list: &x.Agreement}) + if !f(fd_QueryAllAgreementResponse_Agreement, value) { return } } - if x.DestinationId != "" { - value := protoreflect.ValueOfString(x.DestinationId) - if !f(fd_QueryAllAllocationByDestinationRequest_destinationId, value) { + if x.Pagination != nil { + value := protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) + if !f(fd_QueryAllAgreementResponse_pagination, value) { return } } @@ -5997,17 +5969,17 @@ func (x *fastReflection_QueryAllAllocationByDestinationRequest) Range(f func(pro // 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_QueryAllAllocationByDestinationRequest) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_QueryAllAgreementResponse) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.QueryAllAllocationByDestinationRequest.pagination": + case "structs.structs.QueryAllAgreementResponse.Agreement": + return len(x.Agreement) != 0 + case "structs.structs.QueryAllAgreementResponse.pagination": return x.Pagination != nil - case "structs.structs.QueryAllAllocationByDestinationRequest.destinationId": - return x.DestinationId != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllAllocationByDestinationRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllAgreementResponse")) } - panic(fmt.Errorf("message structs.structs.QueryAllAllocationByDestinationRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllAgreementResponse does not contain field %s", fd.FullName())) } } @@ -6017,17 +5989,17 @@ func (x *fastReflection_QueryAllAllocationByDestinationRequest) Has(fd protorefl // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAllAllocationByDestinationRequest) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_QueryAllAgreementResponse) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.QueryAllAllocationByDestinationRequest.pagination": + case "structs.structs.QueryAllAgreementResponse.Agreement": + x.Agreement = nil + case "structs.structs.QueryAllAgreementResponse.pagination": x.Pagination = nil - case "structs.structs.QueryAllAllocationByDestinationRequest.destinationId": - x.DestinationId = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllAllocationByDestinationRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllAgreementResponse")) } - panic(fmt.Errorf("message structs.structs.QueryAllAllocationByDestinationRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllAgreementResponse does not contain field %s", fd.FullName())) } } @@ -6037,19 +6009,22 @@ func (x *fastReflection_QueryAllAllocationByDestinationRequest) Clear(fd protore // 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_QueryAllAllocationByDestinationRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryAllAgreementResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.QueryAllAllocationByDestinationRequest.pagination": + case "structs.structs.QueryAllAgreementResponse.Agreement": + if len(x.Agreement) == 0 { + return protoreflect.ValueOfList(&_QueryAllAgreementResponse_1_list{}) + } + listValue := &_QueryAllAgreementResponse_1_list{list: &x.Agreement} + return protoreflect.ValueOfList(listValue) + case "structs.structs.QueryAllAgreementResponse.pagination": value := x.Pagination return protoreflect.ValueOfMessage(value.ProtoReflect()) - case "structs.structs.QueryAllAllocationByDestinationRequest.destinationId": - value := x.DestinationId - return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllAllocationByDestinationRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllAgreementResponse")) } - panic(fmt.Errorf("message structs.structs.QueryAllAllocationByDestinationRequest does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllAgreementResponse does not contain field %s", descriptor.FullName())) } } @@ -6063,17 +6038,19 @@ func (x *fastReflection_QueryAllAllocationByDestinationRequest) Get(descriptor p // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAllAllocationByDestinationRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_QueryAllAgreementResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.QueryAllAllocationByDestinationRequest.pagination": - x.Pagination = value.Message().Interface().(*v1beta1.PageRequest) - case "structs.structs.QueryAllAllocationByDestinationRequest.destinationId": - x.DestinationId = value.Interface().(string) + case "structs.structs.QueryAllAgreementResponse.Agreement": + lv := value.List() + clv := lv.(*_QueryAllAgreementResponse_1_list) + x.Agreement = *clv.list + case "structs.structs.QueryAllAgreementResponse.pagination": + x.Pagination = value.Message().Interface().(*v1beta1.PageResponse) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllAllocationByDestinationRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllAgreementResponse")) } - panic(fmt.Errorf("message structs.structs.QueryAllAllocationByDestinationRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllAgreementResponse does not contain field %s", fd.FullName())) } } @@ -6087,48 +6064,53 @@ func (x *fastReflection_QueryAllAllocationByDestinationRequest) Set(fd protorefl // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAllAllocationByDestinationRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryAllAgreementResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.QueryAllAllocationByDestinationRequest.pagination": + case "structs.structs.QueryAllAgreementResponse.Agreement": + if x.Agreement == nil { + x.Agreement = []*Agreement{} + } + value := &_QueryAllAgreementResponse_1_list{list: &x.Agreement} + return protoreflect.ValueOfList(value) + case "structs.structs.QueryAllAgreementResponse.pagination": if x.Pagination == nil { - x.Pagination = new(v1beta1.PageRequest) + x.Pagination = new(v1beta1.PageResponse) } return protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) - case "structs.structs.QueryAllAllocationByDestinationRequest.destinationId": - panic(fmt.Errorf("field destinationId of message structs.structs.QueryAllAllocationByDestinationRequest is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllAllocationByDestinationRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllAgreementResponse")) } - panic(fmt.Errorf("message structs.structs.QueryAllAllocationByDestinationRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllAgreementResponse 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_QueryAllAllocationByDestinationRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryAllAgreementResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.QueryAllAllocationByDestinationRequest.pagination": - m := new(v1beta1.PageRequest) + case "structs.structs.QueryAllAgreementResponse.Agreement": + list := []*Agreement{} + return protoreflect.ValueOfList(&_QueryAllAgreementResponse_1_list{list: &list}) + case "structs.structs.QueryAllAgreementResponse.pagination": + m := new(v1beta1.PageResponse) return protoreflect.ValueOfMessage(m.ProtoReflect()) - case "structs.structs.QueryAllAllocationByDestinationRequest.destinationId": - return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllAllocationByDestinationRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllAgreementResponse")) } - panic(fmt.Errorf("message structs.structs.QueryAllAllocationByDestinationRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllAgreementResponse 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_QueryAllAllocationByDestinationRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_QueryAllAgreementResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryAllAllocationByDestinationRequest", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryAllAgreementResponse", d.FullName())) } panic("unreachable") } @@ -6136,7 +6118,7 @@ func (x *fastReflection_QueryAllAllocationByDestinationRequest) WhichOneof(d pro // 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_QueryAllAllocationByDestinationRequest) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_QueryAllAgreementResponse) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -6147,7 +6129,7 @@ func (x *fastReflection_QueryAllAllocationByDestinationRequest) GetUnknown() pro // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAllAllocationByDestinationRequest) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_QueryAllAgreementResponse) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -6159,7 +6141,7 @@ func (x *fastReflection_QueryAllAllocationByDestinationRequest) SetUnknown(field // 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_QueryAllAllocationByDestinationRequest) IsValid() bool { +func (x *fastReflection_QueryAllAgreementResponse) IsValid() bool { return x != nil } @@ -6169,9 +6151,9 @@ func (x *fastReflection_QueryAllAllocationByDestinationRequest) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_QueryAllAllocationByDestinationRequest) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_QueryAllAgreementResponse) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*QueryAllAllocationByDestinationRequest) + x := input.Message.Interface().(*QueryAllAgreementResponse) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -6183,14 +6165,16 @@ func (x *fastReflection_QueryAllAllocationByDestinationRequest) ProtoMethods() * var n int var l int _ = l + if len(x.Agreement) > 0 { + for _, e := range x.Agreement { + l = options.Size(e) + n += 1 + l + runtime.Sov(uint64(l)) + } + } if x.Pagination != nil { l = options.Size(x.Pagination) n += 1 + l + runtime.Sov(uint64(l)) } - l = len(x.DestinationId) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } if x.unknownFields != nil { n += len(x.unknownFields) } @@ -6201,7 +6185,7 @@ func (x *fastReflection_QueryAllAllocationByDestinationRequest) ProtoMethods() * } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*QueryAllAllocationByDestinationRequest) + x := input.Message.Interface().(*QueryAllAgreementResponse) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -6220,13 +6204,6 @@ func (x *fastReflection_QueryAllAllocationByDestinationRequest) ProtoMethods() * i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if len(x.DestinationId) > 0 { - i -= len(x.DestinationId) - copy(dAtA[i:], x.DestinationId) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.DestinationId))) - i-- - dAtA[i] = 0x12 - } if x.Pagination != nil { encoded, err := options.Marshal(x.Pagination) if err != nil { @@ -6239,7 +6216,23 @@ func (x *fastReflection_QueryAllAllocationByDestinationRequest) ProtoMethods() * copy(dAtA[i:], encoded) i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) i-- - dAtA[i] = 0xa + dAtA[i] = 0x12 + } + if len(x.Agreement) > 0 { + for iNdEx := len(x.Agreement) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.Agreement[iNdEx]) + 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...) @@ -6252,7 +6245,7 @@ func (x *fastReflection_QueryAllAllocationByDestinationRequest) ProtoMethods() * }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*QueryAllAllocationByDestinationRequest) + x := input.Message.Interface().(*QueryAllAgreementResponse) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -6284,15 +6277,15 @@ func (x *fastReflection_QueryAllAllocationByDestinationRequest) ProtoMethods() * fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllAllocationByDestinationRequest: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllAgreementResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllAllocationByDestinationRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllAgreementResponse: 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 Pagination", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Agreement", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -6319,18 +6312,16 @@ func (x *fastReflection_QueryAllAllocationByDestinationRequest) ProtoMethods() * if postIndex > l { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - if x.Pagination == nil { - x.Pagination = &v1beta1.PageRequest{} - } - if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Pagination); err != nil { + x.Agreement = append(x.Agreement, &Agreement{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Agreement[len(x.Agreement)-1]); err != nil { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err } iNdEx = postIndex case 2: if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field DestinationId", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Pagination", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -6340,23 +6331,2394 @@ func (x *fastReflection_QueryAllAllocationByDestinationRequest) ProtoMethods() * } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength } - postIndex := iNdEx + intStringLen + 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 } - x.DestinationId = string(dAtA[iNdEx:postIndex]) + if x.Pagination == nil { + x.Pagination = &v1beta1.PageResponse{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Pagination); 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_QueryGetAllocationRequest protoreflect.MessageDescriptor + fd_QueryGetAllocationRequest_id protoreflect.FieldDescriptor +) + +func init() { + file_structs_structs_query_proto_init() + md_QueryGetAllocationRequest = File_structs_structs_query_proto.Messages().ByName("QueryGetAllocationRequest") + fd_QueryGetAllocationRequest_id = md_QueryGetAllocationRequest.Fields().ByName("id") +} + +var _ protoreflect.Message = (*fastReflection_QueryGetAllocationRequest)(nil) + +type fastReflection_QueryGetAllocationRequest QueryGetAllocationRequest + +func (x *QueryGetAllocationRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_QueryGetAllocationRequest)(x) +} + +func (x *QueryGetAllocationRequest) slowProtoReflect() protoreflect.Message { + mi := &file_structs_structs_query_proto_msgTypes[14] + 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_QueryGetAllocationRequest_messageType fastReflection_QueryGetAllocationRequest_messageType +var _ protoreflect.MessageType = fastReflection_QueryGetAllocationRequest_messageType{} + +type fastReflection_QueryGetAllocationRequest_messageType struct{} + +func (x fastReflection_QueryGetAllocationRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_QueryGetAllocationRequest)(nil) +} +func (x fastReflection_QueryGetAllocationRequest_messageType) New() protoreflect.Message { + return new(fastReflection_QueryGetAllocationRequest) +} +func (x fastReflection_QueryGetAllocationRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_QueryGetAllocationRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_QueryGetAllocationRequest) Descriptor() protoreflect.MessageDescriptor { + return md_QueryGetAllocationRequest +} + +// 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_QueryGetAllocationRequest) Type() protoreflect.MessageType { + return _fastReflection_QueryGetAllocationRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_QueryGetAllocationRequest) New() protoreflect.Message { + return new(fastReflection_QueryGetAllocationRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_QueryGetAllocationRequest) Interface() protoreflect.ProtoMessage { + return (*QueryGetAllocationRequest)(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_QueryGetAllocationRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Id != "" { + value := protoreflect.ValueOfString(x.Id) + if !f(fd_QueryGetAllocationRequest_id, 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_QueryGetAllocationRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "structs.structs.QueryGetAllocationRequest.id": + return x.Id != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetAllocationRequest")) + } + panic(fmt.Errorf("message structs.structs.QueryGetAllocationRequest 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_QueryGetAllocationRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "structs.structs.QueryGetAllocationRequest.id": + x.Id = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetAllocationRequest")) + } + panic(fmt.Errorf("message structs.structs.QueryGetAllocationRequest 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_QueryGetAllocationRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "structs.structs.QueryGetAllocationRequest.id": + value := x.Id + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetAllocationRequest")) + } + panic(fmt.Errorf("message structs.structs.QueryGetAllocationRequest 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_QueryGetAllocationRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "structs.structs.QueryGetAllocationRequest.id": + x.Id = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetAllocationRequest")) + } + panic(fmt.Errorf("message structs.structs.QueryGetAllocationRequest 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_QueryGetAllocationRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.QueryGetAllocationRequest.id": + panic(fmt.Errorf("field id of message structs.structs.QueryGetAllocationRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetAllocationRequest")) + } + panic(fmt.Errorf("message structs.structs.QueryGetAllocationRequest 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_QueryGetAllocationRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.QueryGetAllocationRequest.id": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetAllocationRequest")) + } + panic(fmt.Errorf("message structs.structs.QueryGetAllocationRequest 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_QueryGetAllocationRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryGetAllocationRequest", 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_QueryGetAllocationRequest) 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_QueryGetAllocationRequest) 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_QueryGetAllocationRequest) 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_QueryGetAllocationRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*QueryGetAllocationRequest) + 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.Id) + 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().(*QueryGetAllocationRequest) + 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.Id) > 0 { + i -= len(x.Id) + copy(dAtA[i:], x.Id) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Id))) + 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().(*QueryGetAllocationRequest) + 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: QueryGetAllocationRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryGetAllocationRequest: 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 Id", 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.Id = 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_QueryGetAllocationResponse protoreflect.MessageDescriptor + fd_QueryGetAllocationResponse_Allocation protoreflect.FieldDescriptor + fd_QueryGetAllocationResponse_gridAttributes protoreflect.FieldDescriptor +) + +func init() { + file_structs_structs_query_proto_init() + md_QueryGetAllocationResponse = File_structs_structs_query_proto.Messages().ByName("QueryGetAllocationResponse") + fd_QueryGetAllocationResponse_Allocation = md_QueryGetAllocationResponse.Fields().ByName("Allocation") + fd_QueryGetAllocationResponse_gridAttributes = md_QueryGetAllocationResponse.Fields().ByName("gridAttributes") +} + +var _ protoreflect.Message = (*fastReflection_QueryGetAllocationResponse)(nil) + +type fastReflection_QueryGetAllocationResponse QueryGetAllocationResponse + +func (x *QueryGetAllocationResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_QueryGetAllocationResponse)(x) +} + +func (x *QueryGetAllocationResponse) slowProtoReflect() protoreflect.Message { + mi := &file_structs_structs_query_proto_msgTypes[15] + 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_QueryGetAllocationResponse_messageType fastReflection_QueryGetAllocationResponse_messageType +var _ protoreflect.MessageType = fastReflection_QueryGetAllocationResponse_messageType{} + +type fastReflection_QueryGetAllocationResponse_messageType struct{} + +func (x fastReflection_QueryGetAllocationResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_QueryGetAllocationResponse)(nil) +} +func (x fastReflection_QueryGetAllocationResponse_messageType) New() protoreflect.Message { + return new(fastReflection_QueryGetAllocationResponse) +} +func (x fastReflection_QueryGetAllocationResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_QueryGetAllocationResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_QueryGetAllocationResponse) Descriptor() protoreflect.MessageDescriptor { + return md_QueryGetAllocationResponse +} + +// 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_QueryGetAllocationResponse) Type() protoreflect.MessageType { + return _fastReflection_QueryGetAllocationResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_QueryGetAllocationResponse) New() protoreflect.Message { + return new(fastReflection_QueryGetAllocationResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_QueryGetAllocationResponse) Interface() protoreflect.ProtoMessage { + return (*QueryGetAllocationResponse)(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_QueryGetAllocationResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Allocation != nil { + value := protoreflect.ValueOfMessage(x.Allocation.ProtoReflect()) + if !f(fd_QueryGetAllocationResponse_Allocation, value) { + return + } + } + if x.GridAttributes != nil { + value := protoreflect.ValueOfMessage(x.GridAttributes.ProtoReflect()) + if !f(fd_QueryGetAllocationResponse_gridAttributes, 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_QueryGetAllocationResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "structs.structs.QueryGetAllocationResponse.Allocation": + return x.Allocation != nil + case "structs.structs.QueryGetAllocationResponse.gridAttributes": + return x.GridAttributes != nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetAllocationResponse")) + } + panic(fmt.Errorf("message structs.structs.QueryGetAllocationResponse 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_QueryGetAllocationResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "structs.structs.QueryGetAllocationResponse.Allocation": + x.Allocation = nil + case "structs.structs.QueryGetAllocationResponse.gridAttributes": + x.GridAttributes = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetAllocationResponse")) + } + panic(fmt.Errorf("message structs.structs.QueryGetAllocationResponse 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_QueryGetAllocationResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "structs.structs.QueryGetAllocationResponse.Allocation": + value := x.Allocation + return protoreflect.ValueOfMessage(value.ProtoReflect()) + case "structs.structs.QueryGetAllocationResponse.gridAttributes": + value := x.GridAttributes + return protoreflect.ValueOfMessage(value.ProtoReflect()) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetAllocationResponse")) + } + panic(fmt.Errorf("message structs.structs.QueryGetAllocationResponse 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_QueryGetAllocationResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "structs.structs.QueryGetAllocationResponse.Allocation": + x.Allocation = value.Message().Interface().(*Allocation) + case "structs.structs.QueryGetAllocationResponse.gridAttributes": + x.GridAttributes = value.Message().Interface().(*GridAttributes) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetAllocationResponse")) + } + panic(fmt.Errorf("message structs.structs.QueryGetAllocationResponse 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_QueryGetAllocationResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.QueryGetAllocationResponse.Allocation": + if x.Allocation == nil { + x.Allocation = new(Allocation) + } + return protoreflect.ValueOfMessage(x.Allocation.ProtoReflect()) + case "structs.structs.QueryGetAllocationResponse.gridAttributes": + if x.GridAttributes == nil { + x.GridAttributes = new(GridAttributes) + } + return protoreflect.ValueOfMessage(x.GridAttributes.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetAllocationResponse")) + } + panic(fmt.Errorf("message structs.structs.QueryGetAllocationResponse 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_QueryGetAllocationResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.QueryGetAllocationResponse.Allocation": + m := new(Allocation) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + case "structs.structs.QueryGetAllocationResponse.gridAttributes": + m := new(GridAttributes) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetAllocationResponse")) + } + panic(fmt.Errorf("message structs.structs.QueryGetAllocationResponse 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_QueryGetAllocationResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryGetAllocationResponse", 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_QueryGetAllocationResponse) 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_QueryGetAllocationResponse) 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_QueryGetAllocationResponse) 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_QueryGetAllocationResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*QueryGetAllocationResponse) + 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.Allocation != nil { + l = options.Size(x.Allocation) + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.GridAttributes != nil { + l = options.Size(x.GridAttributes) + 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().(*QueryGetAllocationResponse) + 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.GridAttributes != nil { + encoded, err := options.Marshal(x.GridAttributes) + 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 x.Allocation != nil { + encoded, err := options.Marshal(x.Allocation) + 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().(*QueryGetAllocationResponse) + 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: QueryGetAllocationResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryGetAllocationResponse: 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 Allocation", 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.Allocation == nil { + x.Allocation = &Allocation{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Allocation); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field GridAttributes", 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.GridAttributes == nil { + x.GridAttributes = &GridAttributes{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.GridAttributes); 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_QueryAllAllocationRequest protoreflect.MessageDescriptor + fd_QueryAllAllocationRequest_pagination protoreflect.FieldDescriptor +) + +func init() { + file_structs_structs_query_proto_init() + md_QueryAllAllocationRequest = File_structs_structs_query_proto.Messages().ByName("QueryAllAllocationRequest") + fd_QueryAllAllocationRequest_pagination = md_QueryAllAllocationRequest.Fields().ByName("pagination") +} + +var _ protoreflect.Message = (*fastReflection_QueryAllAllocationRequest)(nil) + +type fastReflection_QueryAllAllocationRequest QueryAllAllocationRequest + +func (x *QueryAllAllocationRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_QueryAllAllocationRequest)(x) +} + +func (x *QueryAllAllocationRequest) slowProtoReflect() protoreflect.Message { + mi := &file_structs_structs_query_proto_msgTypes[16] + 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_QueryAllAllocationRequest_messageType fastReflection_QueryAllAllocationRequest_messageType +var _ protoreflect.MessageType = fastReflection_QueryAllAllocationRequest_messageType{} + +type fastReflection_QueryAllAllocationRequest_messageType struct{} + +func (x fastReflection_QueryAllAllocationRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_QueryAllAllocationRequest)(nil) +} +func (x fastReflection_QueryAllAllocationRequest_messageType) New() protoreflect.Message { + return new(fastReflection_QueryAllAllocationRequest) +} +func (x fastReflection_QueryAllAllocationRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_QueryAllAllocationRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_QueryAllAllocationRequest) Descriptor() protoreflect.MessageDescriptor { + return md_QueryAllAllocationRequest +} + +// 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_QueryAllAllocationRequest) Type() protoreflect.MessageType { + return _fastReflection_QueryAllAllocationRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_QueryAllAllocationRequest) New() protoreflect.Message { + return new(fastReflection_QueryAllAllocationRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_QueryAllAllocationRequest) Interface() protoreflect.ProtoMessage { + return (*QueryAllAllocationRequest)(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_QueryAllAllocationRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Pagination != nil { + value := protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) + if !f(fd_QueryAllAllocationRequest_pagination, 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_QueryAllAllocationRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "structs.structs.QueryAllAllocationRequest.pagination": + return x.Pagination != nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllAllocationRequest")) + } + panic(fmt.Errorf("message structs.structs.QueryAllAllocationRequest 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_QueryAllAllocationRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "structs.structs.QueryAllAllocationRequest.pagination": + x.Pagination = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllAllocationRequest")) + } + panic(fmt.Errorf("message structs.structs.QueryAllAllocationRequest 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_QueryAllAllocationRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "structs.structs.QueryAllAllocationRequest.pagination": + value := x.Pagination + return protoreflect.ValueOfMessage(value.ProtoReflect()) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllAllocationRequest")) + } + panic(fmt.Errorf("message structs.structs.QueryAllAllocationRequest 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_QueryAllAllocationRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "structs.structs.QueryAllAllocationRequest.pagination": + x.Pagination = value.Message().Interface().(*v1beta1.PageRequest) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllAllocationRequest")) + } + panic(fmt.Errorf("message structs.structs.QueryAllAllocationRequest 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_QueryAllAllocationRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.QueryAllAllocationRequest.pagination": + if x.Pagination == nil { + x.Pagination = new(v1beta1.PageRequest) + } + return protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllAllocationRequest")) + } + panic(fmt.Errorf("message structs.structs.QueryAllAllocationRequest 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_QueryAllAllocationRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.QueryAllAllocationRequest.pagination": + m := new(v1beta1.PageRequest) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllAllocationRequest")) + } + panic(fmt.Errorf("message structs.structs.QueryAllAllocationRequest 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_QueryAllAllocationRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryAllAllocationRequest", 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_QueryAllAllocationRequest) 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_QueryAllAllocationRequest) 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_QueryAllAllocationRequest) 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_QueryAllAllocationRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*QueryAllAllocationRequest) + 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.Pagination != nil { + l = options.Size(x.Pagination) + 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().(*QueryAllAllocationRequest) + 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.Pagination != nil { + encoded, err := options.Marshal(x.Pagination) + 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().(*QueryAllAllocationRequest) + 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: QueryAllAllocationRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllAllocationRequest: 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 Pagination", 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.Pagination == nil { + x.Pagination = &v1beta1.PageRequest{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Pagination); 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_QueryAllAllocationBySourceRequest protoreflect.MessageDescriptor + fd_QueryAllAllocationBySourceRequest_pagination protoreflect.FieldDescriptor + fd_QueryAllAllocationBySourceRequest_sourceId protoreflect.FieldDescriptor +) + +func init() { + file_structs_structs_query_proto_init() + md_QueryAllAllocationBySourceRequest = File_structs_structs_query_proto.Messages().ByName("QueryAllAllocationBySourceRequest") + fd_QueryAllAllocationBySourceRequest_pagination = md_QueryAllAllocationBySourceRequest.Fields().ByName("pagination") + fd_QueryAllAllocationBySourceRequest_sourceId = md_QueryAllAllocationBySourceRequest.Fields().ByName("sourceId") +} + +var _ protoreflect.Message = (*fastReflection_QueryAllAllocationBySourceRequest)(nil) + +type fastReflection_QueryAllAllocationBySourceRequest QueryAllAllocationBySourceRequest + +func (x *QueryAllAllocationBySourceRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_QueryAllAllocationBySourceRequest)(x) +} + +func (x *QueryAllAllocationBySourceRequest) slowProtoReflect() protoreflect.Message { + mi := &file_structs_structs_query_proto_msgTypes[17] + 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_QueryAllAllocationBySourceRequest_messageType fastReflection_QueryAllAllocationBySourceRequest_messageType +var _ protoreflect.MessageType = fastReflection_QueryAllAllocationBySourceRequest_messageType{} + +type fastReflection_QueryAllAllocationBySourceRequest_messageType struct{} + +func (x fastReflection_QueryAllAllocationBySourceRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_QueryAllAllocationBySourceRequest)(nil) +} +func (x fastReflection_QueryAllAllocationBySourceRequest_messageType) New() protoreflect.Message { + return new(fastReflection_QueryAllAllocationBySourceRequest) +} +func (x fastReflection_QueryAllAllocationBySourceRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_QueryAllAllocationBySourceRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_QueryAllAllocationBySourceRequest) Descriptor() protoreflect.MessageDescriptor { + return md_QueryAllAllocationBySourceRequest +} + +// 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_QueryAllAllocationBySourceRequest) Type() protoreflect.MessageType { + return _fastReflection_QueryAllAllocationBySourceRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_QueryAllAllocationBySourceRequest) New() protoreflect.Message { + return new(fastReflection_QueryAllAllocationBySourceRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_QueryAllAllocationBySourceRequest) Interface() protoreflect.ProtoMessage { + return (*QueryAllAllocationBySourceRequest)(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_QueryAllAllocationBySourceRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Pagination != nil { + value := protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) + if !f(fd_QueryAllAllocationBySourceRequest_pagination, value) { + return + } + } + if x.SourceId != "" { + value := protoreflect.ValueOfString(x.SourceId) + if !f(fd_QueryAllAllocationBySourceRequest_sourceId, 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_QueryAllAllocationBySourceRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "structs.structs.QueryAllAllocationBySourceRequest.pagination": + return x.Pagination != nil + case "structs.structs.QueryAllAllocationBySourceRequest.sourceId": + return x.SourceId != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllAllocationBySourceRequest")) + } + panic(fmt.Errorf("message structs.structs.QueryAllAllocationBySourceRequest 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_QueryAllAllocationBySourceRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "structs.structs.QueryAllAllocationBySourceRequest.pagination": + x.Pagination = nil + case "structs.structs.QueryAllAllocationBySourceRequest.sourceId": + x.SourceId = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllAllocationBySourceRequest")) + } + panic(fmt.Errorf("message structs.structs.QueryAllAllocationBySourceRequest 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_QueryAllAllocationBySourceRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "structs.structs.QueryAllAllocationBySourceRequest.pagination": + value := x.Pagination + return protoreflect.ValueOfMessage(value.ProtoReflect()) + case "structs.structs.QueryAllAllocationBySourceRequest.sourceId": + value := x.SourceId + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllAllocationBySourceRequest")) + } + panic(fmt.Errorf("message structs.structs.QueryAllAllocationBySourceRequest 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_QueryAllAllocationBySourceRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "structs.structs.QueryAllAllocationBySourceRequest.pagination": + x.Pagination = value.Message().Interface().(*v1beta1.PageRequest) + case "structs.structs.QueryAllAllocationBySourceRequest.sourceId": + x.SourceId = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllAllocationBySourceRequest")) + } + panic(fmt.Errorf("message structs.structs.QueryAllAllocationBySourceRequest 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_QueryAllAllocationBySourceRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.QueryAllAllocationBySourceRequest.pagination": + if x.Pagination == nil { + x.Pagination = new(v1beta1.PageRequest) + } + return protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) + case "structs.structs.QueryAllAllocationBySourceRequest.sourceId": + panic(fmt.Errorf("field sourceId of message structs.structs.QueryAllAllocationBySourceRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllAllocationBySourceRequest")) + } + panic(fmt.Errorf("message structs.structs.QueryAllAllocationBySourceRequest 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_QueryAllAllocationBySourceRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.QueryAllAllocationBySourceRequest.pagination": + m := new(v1beta1.PageRequest) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + case "structs.structs.QueryAllAllocationBySourceRequest.sourceId": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllAllocationBySourceRequest")) + } + panic(fmt.Errorf("message structs.structs.QueryAllAllocationBySourceRequest 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_QueryAllAllocationBySourceRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryAllAllocationBySourceRequest", 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_QueryAllAllocationBySourceRequest) 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_QueryAllAllocationBySourceRequest) 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_QueryAllAllocationBySourceRequest) 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_QueryAllAllocationBySourceRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*QueryAllAllocationBySourceRequest) + 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.Pagination != nil { + l = options.Size(x.Pagination) + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.SourceId) + 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().(*QueryAllAllocationBySourceRequest) + 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.SourceId) > 0 { + i -= len(x.SourceId) + copy(dAtA[i:], x.SourceId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.SourceId))) + i-- + dAtA[i] = 0x12 + } + if x.Pagination != nil { + encoded, err := options.Marshal(x.Pagination) + 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().(*QueryAllAllocationBySourceRequest) + 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: QueryAllAllocationBySourceRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllAllocationBySourceRequest: 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 Pagination", 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.Pagination == nil { + x.Pagination = &v1beta1.PageRequest{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Pagination); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field SourceId", 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.SourceId = 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_QueryAllAllocationByDestinationRequest protoreflect.MessageDescriptor + fd_QueryAllAllocationByDestinationRequest_pagination protoreflect.FieldDescriptor + fd_QueryAllAllocationByDestinationRequest_destinationId protoreflect.FieldDescriptor +) + +func init() { + file_structs_structs_query_proto_init() + md_QueryAllAllocationByDestinationRequest = File_structs_structs_query_proto.Messages().ByName("QueryAllAllocationByDestinationRequest") + fd_QueryAllAllocationByDestinationRequest_pagination = md_QueryAllAllocationByDestinationRequest.Fields().ByName("pagination") + fd_QueryAllAllocationByDestinationRequest_destinationId = md_QueryAllAllocationByDestinationRequest.Fields().ByName("destinationId") +} + +var _ protoreflect.Message = (*fastReflection_QueryAllAllocationByDestinationRequest)(nil) + +type fastReflection_QueryAllAllocationByDestinationRequest QueryAllAllocationByDestinationRequest + +func (x *QueryAllAllocationByDestinationRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_QueryAllAllocationByDestinationRequest)(x) +} + +func (x *QueryAllAllocationByDestinationRequest) slowProtoReflect() protoreflect.Message { + mi := &file_structs_structs_query_proto_msgTypes[18] + 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_QueryAllAllocationByDestinationRequest_messageType fastReflection_QueryAllAllocationByDestinationRequest_messageType +var _ protoreflect.MessageType = fastReflection_QueryAllAllocationByDestinationRequest_messageType{} + +type fastReflection_QueryAllAllocationByDestinationRequest_messageType struct{} + +func (x fastReflection_QueryAllAllocationByDestinationRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_QueryAllAllocationByDestinationRequest)(nil) +} +func (x fastReflection_QueryAllAllocationByDestinationRequest_messageType) New() protoreflect.Message { + return new(fastReflection_QueryAllAllocationByDestinationRequest) +} +func (x fastReflection_QueryAllAllocationByDestinationRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_QueryAllAllocationByDestinationRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_QueryAllAllocationByDestinationRequest) Descriptor() protoreflect.MessageDescriptor { + return md_QueryAllAllocationByDestinationRequest +} + +// 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_QueryAllAllocationByDestinationRequest) Type() protoreflect.MessageType { + return _fastReflection_QueryAllAllocationByDestinationRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_QueryAllAllocationByDestinationRequest) New() protoreflect.Message { + return new(fastReflection_QueryAllAllocationByDestinationRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_QueryAllAllocationByDestinationRequest) Interface() protoreflect.ProtoMessage { + return (*QueryAllAllocationByDestinationRequest)(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_QueryAllAllocationByDestinationRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Pagination != nil { + value := protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) + if !f(fd_QueryAllAllocationByDestinationRequest_pagination, value) { + return + } + } + if x.DestinationId != "" { + value := protoreflect.ValueOfString(x.DestinationId) + if !f(fd_QueryAllAllocationByDestinationRequest_destinationId, 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_QueryAllAllocationByDestinationRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "structs.structs.QueryAllAllocationByDestinationRequest.pagination": + return x.Pagination != nil + case "structs.structs.QueryAllAllocationByDestinationRequest.destinationId": + return x.DestinationId != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllAllocationByDestinationRequest")) + } + panic(fmt.Errorf("message structs.structs.QueryAllAllocationByDestinationRequest 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_QueryAllAllocationByDestinationRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "structs.structs.QueryAllAllocationByDestinationRequest.pagination": + x.Pagination = nil + case "structs.structs.QueryAllAllocationByDestinationRequest.destinationId": + x.DestinationId = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllAllocationByDestinationRequest")) + } + panic(fmt.Errorf("message structs.structs.QueryAllAllocationByDestinationRequest 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_QueryAllAllocationByDestinationRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "structs.structs.QueryAllAllocationByDestinationRequest.pagination": + value := x.Pagination + return protoreflect.ValueOfMessage(value.ProtoReflect()) + case "structs.structs.QueryAllAllocationByDestinationRequest.destinationId": + value := x.DestinationId + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllAllocationByDestinationRequest")) + } + panic(fmt.Errorf("message structs.structs.QueryAllAllocationByDestinationRequest 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_QueryAllAllocationByDestinationRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "structs.structs.QueryAllAllocationByDestinationRequest.pagination": + x.Pagination = value.Message().Interface().(*v1beta1.PageRequest) + case "structs.structs.QueryAllAllocationByDestinationRequest.destinationId": + x.DestinationId = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllAllocationByDestinationRequest")) + } + panic(fmt.Errorf("message structs.structs.QueryAllAllocationByDestinationRequest 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_QueryAllAllocationByDestinationRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.QueryAllAllocationByDestinationRequest.pagination": + if x.Pagination == nil { + x.Pagination = new(v1beta1.PageRequest) + } + return protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) + case "structs.structs.QueryAllAllocationByDestinationRequest.destinationId": + panic(fmt.Errorf("field destinationId of message structs.structs.QueryAllAllocationByDestinationRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllAllocationByDestinationRequest")) + } + panic(fmt.Errorf("message structs.structs.QueryAllAllocationByDestinationRequest 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_QueryAllAllocationByDestinationRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.QueryAllAllocationByDestinationRequest.pagination": + m := new(v1beta1.PageRequest) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + case "structs.structs.QueryAllAllocationByDestinationRequest.destinationId": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllAllocationByDestinationRequest")) + } + panic(fmt.Errorf("message structs.structs.QueryAllAllocationByDestinationRequest 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_QueryAllAllocationByDestinationRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryAllAllocationByDestinationRequest", 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_QueryAllAllocationByDestinationRequest) 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_QueryAllAllocationByDestinationRequest) 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_QueryAllAllocationByDestinationRequest) 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_QueryAllAllocationByDestinationRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*QueryAllAllocationByDestinationRequest) + 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.Pagination != nil { + l = options.Size(x.Pagination) + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.DestinationId) + 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().(*QueryAllAllocationByDestinationRequest) + 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.DestinationId) > 0 { + i -= len(x.DestinationId) + copy(dAtA[i:], x.DestinationId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.DestinationId))) + i-- + dAtA[i] = 0x12 + } + if x.Pagination != nil { + encoded, err := options.Marshal(x.Pagination) + 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().(*QueryAllAllocationByDestinationRequest) + 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: QueryAllAllocationByDestinationRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllAllocationByDestinationRequest: 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 Pagination", 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.Pagination == nil { + x.Pagination = &v1beta1.PageRequest{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Pagination); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field DestinationId", 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.DestinationId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -6395,126 +8757,8621 @@ func (x *fastReflection_QueryAllAllocationByDestinationRequest) ProtoMethods() * var _ protoreflect.List = (*_QueryAllAllocationResponse_1_list)(nil) -type _QueryAllAllocationResponse_1_list struct { - list *[]*Allocation +type _QueryAllAllocationResponse_1_list struct { + list *[]*Allocation +} + +func (x *_QueryAllAllocationResponse_1_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_QueryAllAllocationResponse_1_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_QueryAllAllocationResponse_1_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*Allocation) + (*x.list)[i] = concreteValue +} + +func (x *_QueryAllAllocationResponse_1_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*Allocation) + *x.list = append(*x.list, concreteValue) +} + +func (x *_QueryAllAllocationResponse_1_list) AppendMutable() protoreflect.Value { + v := new(Allocation) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_QueryAllAllocationResponse_1_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_QueryAllAllocationResponse_1_list) NewElement() protoreflect.Value { + v := new(Allocation) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_QueryAllAllocationResponse_1_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_QueryAllAllocationResponse_3_list)(nil) + +type _QueryAllAllocationResponse_3_list struct { + list *[]uint64 +} + +func (x *_QueryAllAllocationResponse_3_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_QueryAllAllocationResponse_3_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfUint64((*x.list)[i]) +} + +func (x *_QueryAllAllocationResponse_3_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Uint() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_QueryAllAllocationResponse_3_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Uint() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_QueryAllAllocationResponse_3_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message QueryAllAllocationResponse at list field Status as it is not of Message kind")) +} + +func (x *_QueryAllAllocationResponse_3_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_QueryAllAllocationResponse_3_list) NewElement() protoreflect.Value { + v := uint64(0) + return protoreflect.ValueOfUint64(v) +} + +func (x *_QueryAllAllocationResponse_3_list) IsValid() bool { + return x.list != nil +} + +var ( + md_QueryAllAllocationResponse protoreflect.MessageDescriptor + fd_QueryAllAllocationResponse_Allocation protoreflect.FieldDescriptor + fd_QueryAllAllocationResponse_pagination protoreflect.FieldDescriptor + fd_QueryAllAllocationResponse_status protoreflect.FieldDescriptor +) + +func init() { + file_structs_structs_query_proto_init() + md_QueryAllAllocationResponse = File_structs_structs_query_proto.Messages().ByName("QueryAllAllocationResponse") + fd_QueryAllAllocationResponse_Allocation = md_QueryAllAllocationResponse.Fields().ByName("Allocation") + fd_QueryAllAllocationResponse_pagination = md_QueryAllAllocationResponse.Fields().ByName("pagination") + fd_QueryAllAllocationResponse_status = md_QueryAllAllocationResponse.Fields().ByName("status") +} + +var _ protoreflect.Message = (*fastReflection_QueryAllAllocationResponse)(nil) + +type fastReflection_QueryAllAllocationResponse QueryAllAllocationResponse + +func (x *QueryAllAllocationResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_QueryAllAllocationResponse)(x) +} + +func (x *QueryAllAllocationResponse) slowProtoReflect() protoreflect.Message { + mi := &file_structs_structs_query_proto_msgTypes[19] + 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_QueryAllAllocationResponse_messageType fastReflection_QueryAllAllocationResponse_messageType +var _ protoreflect.MessageType = fastReflection_QueryAllAllocationResponse_messageType{} + +type fastReflection_QueryAllAllocationResponse_messageType struct{} + +func (x fastReflection_QueryAllAllocationResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_QueryAllAllocationResponse)(nil) +} +func (x fastReflection_QueryAllAllocationResponse_messageType) New() protoreflect.Message { + return new(fastReflection_QueryAllAllocationResponse) +} +func (x fastReflection_QueryAllAllocationResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_QueryAllAllocationResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_QueryAllAllocationResponse) Descriptor() protoreflect.MessageDescriptor { + return md_QueryAllAllocationResponse +} + +// 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_QueryAllAllocationResponse) Type() protoreflect.MessageType { + return _fastReflection_QueryAllAllocationResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_QueryAllAllocationResponse) New() protoreflect.Message { + return new(fastReflection_QueryAllAllocationResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_QueryAllAllocationResponse) Interface() protoreflect.ProtoMessage { + return (*QueryAllAllocationResponse)(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_QueryAllAllocationResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if len(x.Allocation) != 0 { + value := protoreflect.ValueOfList(&_QueryAllAllocationResponse_1_list{list: &x.Allocation}) + if !f(fd_QueryAllAllocationResponse_Allocation, value) { + return + } + } + if x.Pagination != nil { + value := protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) + if !f(fd_QueryAllAllocationResponse_pagination, value) { + return + } + } + if len(x.Status) != 0 { + value := protoreflect.ValueOfList(&_QueryAllAllocationResponse_3_list{list: &x.Status}) + if !f(fd_QueryAllAllocationResponse_status, 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_QueryAllAllocationResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "structs.structs.QueryAllAllocationResponse.Allocation": + return len(x.Allocation) != 0 + case "structs.structs.QueryAllAllocationResponse.pagination": + return x.Pagination != nil + case "structs.structs.QueryAllAllocationResponse.status": + return len(x.Status) != 0 + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllAllocationResponse")) + } + panic(fmt.Errorf("message structs.structs.QueryAllAllocationResponse 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_QueryAllAllocationResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "structs.structs.QueryAllAllocationResponse.Allocation": + x.Allocation = nil + case "structs.structs.QueryAllAllocationResponse.pagination": + x.Pagination = nil + case "structs.structs.QueryAllAllocationResponse.status": + x.Status = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllAllocationResponse")) + } + panic(fmt.Errorf("message structs.structs.QueryAllAllocationResponse 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_QueryAllAllocationResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "structs.structs.QueryAllAllocationResponse.Allocation": + if len(x.Allocation) == 0 { + return protoreflect.ValueOfList(&_QueryAllAllocationResponse_1_list{}) + } + listValue := &_QueryAllAllocationResponse_1_list{list: &x.Allocation} + return protoreflect.ValueOfList(listValue) + case "structs.structs.QueryAllAllocationResponse.pagination": + value := x.Pagination + return protoreflect.ValueOfMessage(value.ProtoReflect()) + case "structs.structs.QueryAllAllocationResponse.status": + if len(x.Status) == 0 { + return protoreflect.ValueOfList(&_QueryAllAllocationResponse_3_list{}) + } + listValue := &_QueryAllAllocationResponse_3_list{list: &x.Status} + return protoreflect.ValueOfList(listValue) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllAllocationResponse")) + } + panic(fmt.Errorf("message structs.structs.QueryAllAllocationResponse 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_QueryAllAllocationResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "structs.structs.QueryAllAllocationResponse.Allocation": + lv := value.List() + clv := lv.(*_QueryAllAllocationResponse_1_list) + x.Allocation = *clv.list + case "structs.structs.QueryAllAllocationResponse.pagination": + x.Pagination = value.Message().Interface().(*v1beta1.PageResponse) + case "structs.structs.QueryAllAllocationResponse.status": + lv := value.List() + clv := lv.(*_QueryAllAllocationResponse_3_list) + x.Status = *clv.list + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllAllocationResponse")) + } + panic(fmt.Errorf("message structs.structs.QueryAllAllocationResponse 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_QueryAllAllocationResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.QueryAllAllocationResponse.Allocation": + if x.Allocation == nil { + x.Allocation = []*Allocation{} + } + value := &_QueryAllAllocationResponse_1_list{list: &x.Allocation} + return protoreflect.ValueOfList(value) + case "structs.structs.QueryAllAllocationResponse.pagination": + if x.Pagination == nil { + x.Pagination = new(v1beta1.PageResponse) + } + return protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) + case "structs.structs.QueryAllAllocationResponse.status": + if x.Status == nil { + x.Status = []uint64{} + } + value := &_QueryAllAllocationResponse_3_list{list: &x.Status} + return protoreflect.ValueOfList(value) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllAllocationResponse")) + } + panic(fmt.Errorf("message structs.structs.QueryAllAllocationResponse 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_QueryAllAllocationResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.QueryAllAllocationResponse.Allocation": + list := []*Allocation{} + return protoreflect.ValueOfList(&_QueryAllAllocationResponse_1_list{list: &list}) + case "structs.structs.QueryAllAllocationResponse.pagination": + m := new(v1beta1.PageResponse) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + case "structs.structs.QueryAllAllocationResponse.status": + list := []uint64{} + return protoreflect.ValueOfList(&_QueryAllAllocationResponse_3_list{list: &list}) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllAllocationResponse")) + } + panic(fmt.Errorf("message structs.structs.QueryAllAllocationResponse 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_QueryAllAllocationResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryAllAllocationResponse", 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_QueryAllAllocationResponse) 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_QueryAllAllocationResponse) 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_QueryAllAllocationResponse) 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_QueryAllAllocationResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*QueryAllAllocationResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if len(x.Allocation) > 0 { + for _, e := range x.Allocation { + l = options.Size(e) + n += 1 + l + runtime.Sov(uint64(l)) + } + } + if x.Pagination != nil { + l = options.Size(x.Pagination) + n += 1 + l + runtime.Sov(uint64(l)) + } + if len(x.Status) > 0 { + l = 0 + for _, e := range x.Status { + l += runtime.Sov(uint64(e)) + } + n += 1 + runtime.Sov(uint64(l)) + 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().(*QueryAllAllocationResponse) + 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.Status) > 0 { + var pksize2 int + for _, num := range x.Status { + pksize2 += runtime.Sov(uint64(num)) + } + i -= pksize2 + j1 := i + for _, num := range x.Status { + for num >= 1<<7 { + dAtA[j1] = uint8(uint64(num)&0x7f | 0x80) + num >>= 7 + j1++ + } + dAtA[j1] = uint8(num) + j1++ + } + i = runtime.EncodeVarint(dAtA, i, uint64(pksize2)) + i-- + dAtA[i] = 0x1a + } + if x.Pagination != nil { + encoded, err := options.Marshal(x.Pagination) + 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.Allocation) > 0 { + for iNdEx := len(x.Allocation) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.Allocation[iNdEx]) + 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().(*QueryAllAllocationResponse) + 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: QueryAllAllocationResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllAllocationResponse: 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 Allocation", 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 + } + x.Allocation = append(x.Allocation, &Allocation{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Allocation[len(x.Allocation)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Pagination", 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.Pagination == nil { + x.Pagination = &v1beta1.PageResponse{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Pagination); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 3: + if wireType == 0 { + var v 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++ + v |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.Status = append(x.Status, v) + } else if wireType == 2 { + var packedLen 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++ + packedLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if packedLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + packedLen + 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 + } + var elementCount int + var count int + for _, integer := range dAtA[iNdEx:postIndex] { + if integer < 128 { + count++ + } + } + elementCount = count + if elementCount != 0 && len(x.Status) == 0 { + x.Status = make([]uint64, 0, elementCount) + } + for iNdEx < postIndex { + var v 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++ + v |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.Status = append(x.Status, v) + } + } else { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) + } + 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_QueryGetFleetRequest protoreflect.MessageDescriptor + fd_QueryGetFleetRequest_id protoreflect.FieldDescriptor +) + +func init() { + file_structs_structs_query_proto_init() + md_QueryGetFleetRequest = File_structs_structs_query_proto.Messages().ByName("QueryGetFleetRequest") + fd_QueryGetFleetRequest_id = md_QueryGetFleetRequest.Fields().ByName("id") +} + +var _ protoreflect.Message = (*fastReflection_QueryGetFleetRequest)(nil) + +type fastReflection_QueryGetFleetRequest QueryGetFleetRequest + +func (x *QueryGetFleetRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_QueryGetFleetRequest)(x) +} + +func (x *QueryGetFleetRequest) slowProtoReflect() protoreflect.Message { + mi := &file_structs_structs_query_proto_msgTypes[20] + 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_QueryGetFleetRequest_messageType fastReflection_QueryGetFleetRequest_messageType +var _ protoreflect.MessageType = fastReflection_QueryGetFleetRequest_messageType{} + +type fastReflection_QueryGetFleetRequest_messageType struct{} + +func (x fastReflection_QueryGetFleetRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_QueryGetFleetRequest)(nil) +} +func (x fastReflection_QueryGetFleetRequest_messageType) New() protoreflect.Message { + return new(fastReflection_QueryGetFleetRequest) +} +func (x fastReflection_QueryGetFleetRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_QueryGetFleetRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_QueryGetFleetRequest) Descriptor() protoreflect.MessageDescriptor { + return md_QueryGetFleetRequest +} + +// 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_QueryGetFleetRequest) Type() protoreflect.MessageType { + return _fastReflection_QueryGetFleetRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_QueryGetFleetRequest) New() protoreflect.Message { + return new(fastReflection_QueryGetFleetRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_QueryGetFleetRequest) Interface() protoreflect.ProtoMessage { + return (*QueryGetFleetRequest)(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_QueryGetFleetRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Id != "" { + value := protoreflect.ValueOfString(x.Id) + if !f(fd_QueryGetFleetRequest_id, 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_QueryGetFleetRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "structs.structs.QueryGetFleetRequest.id": + return x.Id != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetFleetRequest")) + } + panic(fmt.Errorf("message structs.structs.QueryGetFleetRequest 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_QueryGetFleetRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "structs.structs.QueryGetFleetRequest.id": + x.Id = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetFleetRequest")) + } + panic(fmt.Errorf("message structs.structs.QueryGetFleetRequest 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_QueryGetFleetRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "structs.structs.QueryGetFleetRequest.id": + value := x.Id + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetFleetRequest")) + } + panic(fmt.Errorf("message structs.structs.QueryGetFleetRequest 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_QueryGetFleetRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "structs.structs.QueryGetFleetRequest.id": + x.Id = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetFleetRequest")) + } + panic(fmt.Errorf("message structs.structs.QueryGetFleetRequest 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_QueryGetFleetRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.QueryGetFleetRequest.id": + panic(fmt.Errorf("field id of message structs.structs.QueryGetFleetRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetFleetRequest")) + } + panic(fmt.Errorf("message structs.structs.QueryGetFleetRequest 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_QueryGetFleetRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.QueryGetFleetRequest.id": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetFleetRequest")) + } + panic(fmt.Errorf("message structs.structs.QueryGetFleetRequest 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_QueryGetFleetRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryGetFleetRequest", 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_QueryGetFleetRequest) 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_QueryGetFleetRequest) 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_QueryGetFleetRequest) 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_QueryGetFleetRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*QueryGetFleetRequest) + 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.Id) + 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().(*QueryGetFleetRequest) + 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.Id) > 0 { + i -= len(x.Id) + copy(dAtA[i:], x.Id) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Id))) + 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().(*QueryGetFleetRequest) + 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: QueryGetFleetRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryGetFleetRequest: 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 Id", 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.Id = 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_QueryGetFleetResponse protoreflect.MessageDescriptor + fd_QueryGetFleetResponse_Fleet protoreflect.FieldDescriptor +) + +func init() { + file_structs_structs_query_proto_init() + md_QueryGetFleetResponse = File_structs_structs_query_proto.Messages().ByName("QueryGetFleetResponse") + fd_QueryGetFleetResponse_Fleet = md_QueryGetFleetResponse.Fields().ByName("Fleet") +} + +var _ protoreflect.Message = (*fastReflection_QueryGetFleetResponse)(nil) + +type fastReflection_QueryGetFleetResponse QueryGetFleetResponse + +func (x *QueryGetFleetResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_QueryGetFleetResponse)(x) +} + +func (x *QueryGetFleetResponse) slowProtoReflect() protoreflect.Message { + mi := &file_structs_structs_query_proto_msgTypes[21] + 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_QueryGetFleetResponse_messageType fastReflection_QueryGetFleetResponse_messageType +var _ protoreflect.MessageType = fastReflection_QueryGetFleetResponse_messageType{} + +type fastReflection_QueryGetFleetResponse_messageType struct{} + +func (x fastReflection_QueryGetFleetResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_QueryGetFleetResponse)(nil) +} +func (x fastReflection_QueryGetFleetResponse_messageType) New() protoreflect.Message { + return new(fastReflection_QueryGetFleetResponse) +} +func (x fastReflection_QueryGetFleetResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_QueryGetFleetResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_QueryGetFleetResponse) Descriptor() protoreflect.MessageDescriptor { + return md_QueryGetFleetResponse +} + +// 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_QueryGetFleetResponse) Type() protoreflect.MessageType { + return _fastReflection_QueryGetFleetResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_QueryGetFleetResponse) New() protoreflect.Message { + return new(fastReflection_QueryGetFleetResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_QueryGetFleetResponse) Interface() protoreflect.ProtoMessage { + return (*QueryGetFleetResponse)(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_QueryGetFleetResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Fleet != nil { + value := protoreflect.ValueOfMessage(x.Fleet.ProtoReflect()) + if !f(fd_QueryGetFleetResponse_Fleet, 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_QueryGetFleetResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "structs.structs.QueryGetFleetResponse.Fleet": + return x.Fleet != nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetFleetResponse")) + } + panic(fmt.Errorf("message structs.structs.QueryGetFleetResponse 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_QueryGetFleetResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "structs.structs.QueryGetFleetResponse.Fleet": + x.Fleet = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetFleetResponse")) + } + panic(fmt.Errorf("message structs.structs.QueryGetFleetResponse 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_QueryGetFleetResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "structs.structs.QueryGetFleetResponse.Fleet": + value := x.Fleet + return protoreflect.ValueOfMessage(value.ProtoReflect()) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetFleetResponse")) + } + panic(fmt.Errorf("message structs.structs.QueryGetFleetResponse 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_QueryGetFleetResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "structs.structs.QueryGetFleetResponse.Fleet": + x.Fleet = value.Message().Interface().(*Fleet) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetFleetResponse")) + } + panic(fmt.Errorf("message structs.structs.QueryGetFleetResponse 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_QueryGetFleetResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.QueryGetFleetResponse.Fleet": + if x.Fleet == nil { + x.Fleet = new(Fleet) + } + return protoreflect.ValueOfMessage(x.Fleet.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetFleetResponse")) + } + panic(fmt.Errorf("message structs.structs.QueryGetFleetResponse 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_QueryGetFleetResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.QueryGetFleetResponse.Fleet": + m := new(Fleet) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetFleetResponse")) + } + panic(fmt.Errorf("message structs.structs.QueryGetFleetResponse 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_QueryGetFleetResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryGetFleetResponse", 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_QueryGetFleetResponse) 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_QueryGetFleetResponse) 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_QueryGetFleetResponse) 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_QueryGetFleetResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*QueryGetFleetResponse) + 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.Fleet != nil { + l = options.Size(x.Fleet) + 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().(*QueryGetFleetResponse) + 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.Fleet != nil { + encoded, err := options.Marshal(x.Fleet) + 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().(*QueryGetFleetResponse) + 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: QueryGetFleetResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryGetFleetResponse: 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 Fleet", 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.Fleet == nil { + x.Fleet = &Fleet{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Fleet); 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_QueryGetFleetByIndexRequest protoreflect.MessageDescriptor + fd_QueryGetFleetByIndexRequest_index protoreflect.FieldDescriptor +) + +func init() { + file_structs_structs_query_proto_init() + md_QueryGetFleetByIndexRequest = File_structs_structs_query_proto.Messages().ByName("QueryGetFleetByIndexRequest") + fd_QueryGetFleetByIndexRequest_index = md_QueryGetFleetByIndexRequest.Fields().ByName("index") +} + +var _ protoreflect.Message = (*fastReflection_QueryGetFleetByIndexRequest)(nil) + +type fastReflection_QueryGetFleetByIndexRequest QueryGetFleetByIndexRequest + +func (x *QueryGetFleetByIndexRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_QueryGetFleetByIndexRequest)(x) +} + +func (x *QueryGetFleetByIndexRequest) slowProtoReflect() protoreflect.Message { + mi := &file_structs_structs_query_proto_msgTypes[22] + 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_QueryGetFleetByIndexRequest_messageType fastReflection_QueryGetFleetByIndexRequest_messageType +var _ protoreflect.MessageType = fastReflection_QueryGetFleetByIndexRequest_messageType{} + +type fastReflection_QueryGetFleetByIndexRequest_messageType struct{} + +func (x fastReflection_QueryGetFleetByIndexRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_QueryGetFleetByIndexRequest)(nil) +} +func (x fastReflection_QueryGetFleetByIndexRequest_messageType) New() protoreflect.Message { + return new(fastReflection_QueryGetFleetByIndexRequest) +} +func (x fastReflection_QueryGetFleetByIndexRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_QueryGetFleetByIndexRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_QueryGetFleetByIndexRequest) Descriptor() protoreflect.MessageDescriptor { + return md_QueryGetFleetByIndexRequest +} + +// 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_QueryGetFleetByIndexRequest) Type() protoreflect.MessageType { + return _fastReflection_QueryGetFleetByIndexRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_QueryGetFleetByIndexRequest) New() protoreflect.Message { + return new(fastReflection_QueryGetFleetByIndexRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_QueryGetFleetByIndexRequest) Interface() protoreflect.ProtoMessage { + return (*QueryGetFleetByIndexRequest)(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_QueryGetFleetByIndexRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Index != uint64(0) { + value := protoreflect.ValueOfUint64(x.Index) + if !f(fd_QueryGetFleetByIndexRequest_index, 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_QueryGetFleetByIndexRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "structs.structs.QueryGetFleetByIndexRequest.index": + return x.Index != uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetFleetByIndexRequest")) + } + panic(fmt.Errorf("message structs.structs.QueryGetFleetByIndexRequest 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_QueryGetFleetByIndexRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "structs.structs.QueryGetFleetByIndexRequest.index": + x.Index = uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetFleetByIndexRequest")) + } + panic(fmt.Errorf("message structs.structs.QueryGetFleetByIndexRequest 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_QueryGetFleetByIndexRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "structs.structs.QueryGetFleetByIndexRequest.index": + value := x.Index + return protoreflect.ValueOfUint64(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetFleetByIndexRequest")) + } + panic(fmt.Errorf("message structs.structs.QueryGetFleetByIndexRequest 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_QueryGetFleetByIndexRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "structs.structs.QueryGetFleetByIndexRequest.index": + x.Index = value.Uint() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetFleetByIndexRequest")) + } + panic(fmt.Errorf("message structs.structs.QueryGetFleetByIndexRequest 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_QueryGetFleetByIndexRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.QueryGetFleetByIndexRequest.index": + panic(fmt.Errorf("field index of message structs.structs.QueryGetFleetByIndexRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetFleetByIndexRequest")) + } + panic(fmt.Errorf("message structs.structs.QueryGetFleetByIndexRequest 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_QueryGetFleetByIndexRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.QueryGetFleetByIndexRequest.index": + return protoreflect.ValueOfUint64(uint64(0)) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetFleetByIndexRequest")) + } + panic(fmt.Errorf("message structs.structs.QueryGetFleetByIndexRequest 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_QueryGetFleetByIndexRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryGetFleetByIndexRequest", 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_QueryGetFleetByIndexRequest) 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_QueryGetFleetByIndexRequest) 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_QueryGetFleetByIndexRequest) 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_QueryGetFleetByIndexRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*QueryGetFleetByIndexRequest) + 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.Index != 0 { + n += 1 + runtime.Sov(uint64(x.Index)) + } + 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().(*QueryGetFleetByIndexRequest) + 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.Index != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.Index)) + i-- + dAtA[i] = 0x8 + } + 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().(*QueryGetFleetByIndexRequest) + 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: QueryGetFleetByIndexRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryGetFleetByIndexRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Index", wireType) + } + x.Index = 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.Index |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + 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_QueryAllFleetRequest protoreflect.MessageDescriptor + fd_QueryAllFleetRequest_pagination protoreflect.FieldDescriptor +) + +func init() { + file_structs_structs_query_proto_init() + md_QueryAllFleetRequest = File_structs_structs_query_proto.Messages().ByName("QueryAllFleetRequest") + fd_QueryAllFleetRequest_pagination = md_QueryAllFleetRequest.Fields().ByName("pagination") +} + +var _ protoreflect.Message = (*fastReflection_QueryAllFleetRequest)(nil) + +type fastReflection_QueryAllFleetRequest QueryAllFleetRequest + +func (x *QueryAllFleetRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_QueryAllFleetRequest)(x) +} + +func (x *QueryAllFleetRequest) slowProtoReflect() protoreflect.Message { + mi := &file_structs_structs_query_proto_msgTypes[23] + 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_QueryAllFleetRequest_messageType fastReflection_QueryAllFleetRequest_messageType +var _ protoreflect.MessageType = fastReflection_QueryAllFleetRequest_messageType{} + +type fastReflection_QueryAllFleetRequest_messageType struct{} + +func (x fastReflection_QueryAllFleetRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_QueryAllFleetRequest)(nil) +} +func (x fastReflection_QueryAllFleetRequest_messageType) New() protoreflect.Message { + return new(fastReflection_QueryAllFleetRequest) +} +func (x fastReflection_QueryAllFleetRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_QueryAllFleetRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_QueryAllFleetRequest) Descriptor() protoreflect.MessageDescriptor { + return md_QueryAllFleetRequest +} + +// 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_QueryAllFleetRequest) Type() protoreflect.MessageType { + return _fastReflection_QueryAllFleetRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_QueryAllFleetRequest) New() protoreflect.Message { + return new(fastReflection_QueryAllFleetRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_QueryAllFleetRequest) Interface() protoreflect.ProtoMessage { + return (*QueryAllFleetRequest)(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_QueryAllFleetRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Pagination != nil { + value := protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) + if !f(fd_QueryAllFleetRequest_pagination, 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_QueryAllFleetRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "structs.structs.QueryAllFleetRequest.pagination": + return x.Pagination != nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllFleetRequest")) + } + panic(fmt.Errorf("message structs.structs.QueryAllFleetRequest 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_QueryAllFleetRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "structs.structs.QueryAllFleetRequest.pagination": + x.Pagination = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllFleetRequest")) + } + panic(fmt.Errorf("message structs.structs.QueryAllFleetRequest 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_QueryAllFleetRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "structs.structs.QueryAllFleetRequest.pagination": + value := x.Pagination + return protoreflect.ValueOfMessage(value.ProtoReflect()) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllFleetRequest")) + } + panic(fmt.Errorf("message structs.structs.QueryAllFleetRequest 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_QueryAllFleetRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "structs.structs.QueryAllFleetRequest.pagination": + x.Pagination = value.Message().Interface().(*v1beta1.PageRequest) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllFleetRequest")) + } + panic(fmt.Errorf("message structs.structs.QueryAllFleetRequest 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_QueryAllFleetRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.QueryAllFleetRequest.pagination": + if x.Pagination == nil { + x.Pagination = new(v1beta1.PageRequest) + } + return protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllFleetRequest")) + } + panic(fmt.Errorf("message structs.structs.QueryAllFleetRequest 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_QueryAllFleetRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.QueryAllFleetRequest.pagination": + m := new(v1beta1.PageRequest) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllFleetRequest")) + } + panic(fmt.Errorf("message structs.structs.QueryAllFleetRequest 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_QueryAllFleetRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryAllFleetRequest", 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_QueryAllFleetRequest) 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_QueryAllFleetRequest) 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_QueryAllFleetRequest) 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_QueryAllFleetRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*QueryAllFleetRequest) + 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.Pagination != nil { + l = options.Size(x.Pagination) + 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().(*QueryAllFleetRequest) + 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.Pagination != nil { + encoded, err := options.Marshal(x.Pagination) + 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().(*QueryAllFleetRequest) + 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: QueryAllFleetRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllFleetRequest: 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 Pagination", 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.Pagination == nil { + x.Pagination = &v1beta1.PageRequest{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Pagination); 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 _ protoreflect.List = (*_QueryAllFleetResponse_1_list)(nil) + +type _QueryAllFleetResponse_1_list struct { + list *[]*Fleet +} + +func (x *_QueryAllFleetResponse_1_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_QueryAllFleetResponse_1_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_QueryAllFleetResponse_1_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*Fleet) + (*x.list)[i] = concreteValue +} + +func (x *_QueryAllFleetResponse_1_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*Fleet) + *x.list = append(*x.list, concreteValue) +} + +func (x *_QueryAllFleetResponse_1_list) AppendMutable() protoreflect.Value { + v := new(Fleet) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_QueryAllFleetResponse_1_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_QueryAllFleetResponse_1_list) NewElement() protoreflect.Value { + v := new(Fleet) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_QueryAllFleetResponse_1_list) IsValid() bool { + return x.list != nil +} + +var ( + md_QueryAllFleetResponse protoreflect.MessageDescriptor + fd_QueryAllFleetResponse_Fleet protoreflect.FieldDescriptor + fd_QueryAllFleetResponse_pagination protoreflect.FieldDescriptor +) + +func init() { + file_structs_structs_query_proto_init() + md_QueryAllFleetResponse = File_structs_structs_query_proto.Messages().ByName("QueryAllFleetResponse") + fd_QueryAllFleetResponse_Fleet = md_QueryAllFleetResponse.Fields().ByName("Fleet") + fd_QueryAllFleetResponse_pagination = md_QueryAllFleetResponse.Fields().ByName("pagination") +} + +var _ protoreflect.Message = (*fastReflection_QueryAllFleetResponse)(nil) + +type fastReflection_QueryAllFleetResponse QueryAllFleetResponse + +func (x *QueryAllFleetResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_QueryAllFleetResponse)(x) +} + +func (x *QueryAllFleetResponse) slowProtoReflect() protoreflect.Message { + mi := &file_structs_structs_query_proto_msgTypes[24] + 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_QueryAllFleetResponse_messageType fastReflection_QueryAllFleetResponse_messageType +var _ protoreflect.MessageType = fastReflection_QueryAllFleetResponse_messageType{} + +type fastReflection_QueryAllFleetResponse_messageType struct{} + +func (x fastReflection_QueryAllFleetResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_QueryAllFleetResponse)(nil) +} +func (x fastReflection_QueryAllFleetResponse_messageType) New() protoreflect.Message { + return new(fastReflection_QueryAllFleetResponse) +} +func (x fastReflection_QueryAllFleetResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_QueryAllFleetResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_QueryAllFleetResponse) Descriptor() protoreflect.MessageDescriptor { + return md_QueryAllFleetResponse +} + +// 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_QueryAllFleetResponse) Type() protoreflect.MessageType { + return _fastReflection_QueryAllFleetResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_QueryAllFleetResponse) New() protoreflect.Message { + return new(fastReflection_QueryAllFleetResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_QueryAllFleetResponse) Interface() protoreflect.ProtoMessage { + return (*QueryAllFleetResponse)(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_QueryAllFleetResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if len(x.Fleet) != 0 { + value := protoreflect.ValueOfList(&_QueryAllFleetResponse_1_list{list: &x.Fleet}) + if !f(fd_QueryAllFleetResponse_Fleet, value) { + return + } + } + if x.Pagination != nil { + value := protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) + if !f(fd_QueryAllFleetResponse_pagination, 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_QueryAllFleetResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "structs.structs.QueryAllFleetResponse.Fleet": + return len(x.Fleet) != 0 + case "structs.structs.QueryAllFleetResponse.pagination": + return x.Pagination != nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllFleetResponse")) + } + panic(fmt.Errorf("message structs.structs.QueryAllFleetResponse 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_QueryAllFleetResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "structs.structs.QueryAllFleetResponse.Fleet": + x.Fleet = nil + case "structs.structs.QueryAllFleetResponse.pagination": + x.Pagination = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllFleetResponse")) + } + panic(fmt.Errorf("message structs.structs.QueryAllFleetResponse 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_QueryAllFleetResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "structs.structs.QueryAllFleetResponse.Fleet": + if len(x.Fleet) == 0 { + return protoreflect.ValueOfList(&_QueryAllFleetResponse_1_list{}) + } + listValue := &_QueryAllFleetResponse_1_list{list: &x.Fleet} + return protoreflect.ValueOfList(listValue) + case "structs.structs.QueryAllFleetResponse.pagination": + value := x.Pagination + return protoreflect.ValueOfMessage(value.ProtoReflect()) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllFleetResponse")) + } + panic(fmt.Errorf("message structs.structs.QueryAllFleetResponse 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_QueryAllFleetResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "structs.structs.QueryAllFleetResponse.Fleet": + lv := value.List() + clv := lv.(*_QueryAllFleetResponse_1_list) + x.Fleet = *clv.list + case "structs.structs.QueryAllFleetResponse.pagination": + x.Pagination = value.Message().Interface().(*v1beta1.PageResponse) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllFleetResponse")) + } + panic(fmt.Errorf("message structs.structs.QueryAllFleetResponse 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_QueryAllFleetResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.QueryAllFleetResponse.Fleet": + if x.Fleet == nil { + x.Fleet = []*Fleet{} + } + value := &_QueryAllFleetResponse_1_list{list: &x.Fleet} + return protoreflect.ValueOfList(value) + case "structs.structs.QueryAllFleetResponse.pagination": + if x.Pagination == nil { + x.Pagination = new(v1beta1.PageResponse) + } + return protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllFleetResponse")) + } + panic(fmt.Errorf("message structs.structs.QueryAllFleetResponse 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_QueryAllFleetResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.QueryAllFleetResponse.Fleet": + list := []*Fleet{} + return protoreflect.ValueOfList(&_QueryAllFleetResponse_1_list{list: &list}) + case "structs.structs.QueryAllFleetResponse.pagination": + m := new(v1beta1.PageResponse) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllFleetResponse")) + } + panic(fmt.Errorf("message structs.structs.QueryAllFleetResponse 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_QueryAllFleetResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryAllFleetResponse", 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_QueryAllFleetResponse) 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_QueryAllFleetResponse) 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_QueryAllFleetResponse) 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_QueryAllFleetResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*QueryAllFleetResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if len(x.Fleet) > 0 { + for _, e := range x.Fleet { + l = options.Size(e) + n += 1 + l + runtime.Sov(uint64(l)) + } + } + if x.Pagination != nil { + l = options.Size(x.Pagination) + 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().(*QueryAllFleetResponse) + 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.Pagination != nil { + encoded, err := options.Marshal(x.Pagination) + 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.Fleet) > 0 { + for iNdEx := len(x.Fleet) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.Fleet[iNdEx]) + 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().(*QueryAllFleetResponse) + 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: QueryAllFleetResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllFleetResponse: 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 Fleet", 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 + } + x.Fleet = append(x.Fleet, &Fleet{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Fleet[len(x.Fleet)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Pagination", 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.Pagination == nil { + x.Pagination = &v1beta1.PageResponse{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Pagination); 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_QueryGetGridRequest protoreflect.MessageDescriptor + fd_QueryGetGridRequest_attributeId protoreflect.FieldDescriptor +) + +func init() { + file_structs_structs_query_proto_init() + md_QueryGetGridRequest = File_structs_structs_query_proto.Messages().ByName("QueryGetGridRequest") + fd_QueryGetGridRequest_attributeId = md_QueryGetGridRequest.Fields().ByName("attributeId") +} + +var _ protoreflect.Message = (*fastReflection_QueryGetGridRequest)(nil) + +type fastReflection_QueryGetGridRequest QueryGetGridRequest + +func (x *QueryGetGridRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_QueryGetGridRequest)(x) +} + +func (x *QueryGetGridRequest) slowProtoReflect() protoreflect.Message { + mi := &file_structs_structs_query_proto_msgTypes[25] + 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_QueryGetGridRequest_messageType fastReflection_QueryGetGridRequest_messageType +var _ protoreflect.MessageType = fastReflection_QueryGetGridRequest_messageType{} + +type fastReflection_QueryGetGridRequest_messageType struct{} + +func (x fastReflection_QueryGetGridRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_QueryGetGridRequest)(nil) +} +func (x fastReflection_QueryGetGridRequest_messageType) New() protoreflect.Message { + return new(fastReflection_QueryGetGridRequest) +} +func (x fastReflection_QueryGetGridRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_QueryGetGridRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_QueryGetGridRequest) Descriptor() protoreflect.MessageDescriptor { + return md_QueryGetGridRequest +} + +// 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_QueryGetGridRequest) Type() protoreflect.MessageType { + return _fastReflection_QueryGetGridRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_QueryGetGridRequest) New() protoreflect.Message { + return new(fastReflection_QueryGetGridRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_QueryGetGridRequest) Interface() protoreflect.ProtoMessage { + return (*QueryGetGridRequest)(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_QueryGetGridRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.AttributeId != "" { + value := protoreflect.ValueOfString(x.AttributeId) + if !f(fd_QueryGetGridRequest_attributeId, 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_QueryGetGridRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "structs.structs.QueryGetGridRequest.attributeId": + return x.AttributeId != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetGridRequest")) + } + panic(fmt.Errorf("message structs.structs.QueryGetGridRequest 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_QueryGetGridRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "structs.structs.QueryGetGridRequest.attributeId": + x.AttributeId = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetGridRequest")) + } + panic(fmt.Errorf("message structs.structs.QueryGetGridRequest 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_QueryGetGridRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "structs.structs.QueryGetGridRequest.attributeId": + value := x.AttributeId + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetGridRequest")) + } + panic(fmt.Errorf("message structs.structs.QueryGetGridRequest 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_QueryGetGridRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "structs.structs.QueryGetGridRequest.attributeId": + x.AttributeId = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetGridRequest")) + } + panic(fmt.Errorf("message structs.structs.QueryGetGridRequest 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_QueryGetGridRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.QueryGetGridRequest.attributeId": + panic(fmt.Errorf("field attributeId of message structs.structs.QueryGetGridRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetGridRequest")) + } + panic(fmt.Errorf("message structs.structs.QueryGetGridRequest 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_QueryGetGridRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.QueryGetGridRequest.attributeId": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetGridRequest")) + } + panic(fmt.Errorf("message structs.structs.QueryGetGridRequest 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_QueryGetGridRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryGetGridRequest", 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_QueryGetGridRequest) 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_QueryGetGridRequest) 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_QueryGetGridRequest) 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_QueryGetGridRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*QueryGetGridRequest) + 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.AttributeId) + 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().(*QueryGetGridRequest) + 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.AttributeId) > 0 { + i -= len(x.AttributeId) + copy(dAtA[i:], x.AttributeId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.AttributeId))) + 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().(*QueryGetGridRequest) + 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: QueryGetGridRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryGetGridRequest: 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 AttributeId", 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.AttributeId = 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_QueryAllGridRequest protoreflect.MessageDescriptor + fd_QueryAllGridRequest_pagination protoreflect.FieldDescriptor +) + +func init() { + file_structs_structs_query_proto_init() + md_QueryAllGridRequest = File_structs_structs_query_proto.Messages().ByName("QueryAllGridRequest") + fd_QueryAllGridRequest_pagination = md_QueryAllGridRequest.Fields().ByName("pagination") +} + +var _ protoreflect.Message = (*fastReflection_QueryAllGridRequest)(nil) + +type fastReflection_QueryAllGridRequest QueryAllGridRequest + +func (x *QueryAllGridRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_QueryAllGridRequest)(x) +} + +func (x *QueryAllGridRequest) slowProtoReflect() protoreflect.Message { + mi := &file_structs_structs_query_proto_msgTypes[26] + 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_QueryAllGridRequest_messageType fastReflection_QueryAllGridRequest_messageType +var _ protoreflect.MessageType = fastReflection_QueryAllGridRequest_messageType{} + +type fastReflection_QueryAllGridRequest_messageType struct{} + +func (x fastReflection_QueryAllGridRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_QueryAllGridRequest)(nil) +} +func (x fastReflection_QueryAllGridRequest_messageType) New() protoreflect.Message { + return new(fastReflection_QueryAllGridRequest) +} +func (x fastReflection_QueryAllGridRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_QueryAllGridRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_QueryAllGridRequest) Descriptor() protoreflect.MessageDescriptor { + return md_QueryAllGridRequest +} + +// 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_QueryAllGridRequest) Type() protoreflect.MessageType { + return _fastReflection_QueryAllGridRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_QueryAllGridRequest) New() protoreflect.Message { + return new(fastReflection_QueryAllGridRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_QueryAllGridRequest) Interface() protoreflect.ProtoMessage { + return (*QueryAllGridRequest)(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_QueryAllGridRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Pagination != nil { + value := protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) + if !f(fd_QueryAllGridRequest_pagination, 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_QueryAllGridRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "structs.structs.QueryAllGridRequest.pagination": + return x.Pagination != nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllGridRequest")) + } + panic(fmt.Errorf("message structs.structs.QueryAllGridRequest 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_QueryAllGridRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "structs.structs.QueryAllGridRequest.pagination": + x.Pagination = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllGridRequest")) + } + panic(fmt.Errorf("message structs.structs.QueryAllGridRequest 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_QueryAllGridRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "structs.structs.QueryAllGridRequest.pagination": + value := x.Pagination + return protoreflect.ValueOfMessage(value.ProtoReflect()) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllGridRequest")) + } + panic(fmt.Errorf("message structs.structs.QueryAllGridRequest 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_QueryAllGridRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "structs.structs.QueryAllGridRequest.pagination": + x.Pagination = value.Message().Interface().(*v1beta1.PageRequest) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllGridRequest")) + } + panic(fmt.Errorf("message structs.structs.QueryAllGridRequest 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_QueryAllGridRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.QueryAllGridRequest.pagination": + if x.Pagination == nil { + x.Pagination = new(v1beta1.PageRequest) + } + return protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllGridRequest")) + } + panic(fmt.Errorf("message structs.structs.QueryAllGridRequest 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_QueryAllGridRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.QueryAllGridRequest.pagination": + m := new(v1beta1.PageRequest) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllGridRequest")) + } + panic(fmt.Errorf("message structs.structs.QueryAllGridRequest 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_QueryAllGridRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryAllGridRequest", 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_QueryAllGridRequest) 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_QueryAllGridRequest) 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_QueryAllGridRequest) 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_QueryAllGridRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*QueryAllGridRequest) + 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.Pagination != nil { + l = options.Size(x.Pagination) + 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().(*QueryAllGridRequest) + 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.Pagination != nil { + encoded, err := options.Marshal(x.Pagination) + 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().(*QueryAllGridRequest) + 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: QueryAllGridRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllGridRequest: 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 Pagination", 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.Pagination == nil { + x.Pagination = &v1beta1.PageRequest{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Pagination); 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_QueryGetGridResponse protoreflect.MessageDescriptor + fd_QueryGetGridResponse_gridRecord protoreflect.FieldDescriptor +) + +func init() { + file_structs_structs_query_proto_init() + md_QueryGetGridResponse = File_structs_structs_query_proto.Messages().ByName("QueryGetGridResponse") + fd_QueryGetGridResponse_gridRecord = md_QueryGetGridResponse.Fields().ByName("gridRecord") +} + +var _ protoreflect.Message = (*fastReflection_QueryGetGridResponse)(nil) + +type fastReflection_QueryGetGridResponse QueryGetGridResponse + +func (x *QueryGetGridResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_QueryGetGridResponse)(x) +} + +func (x *QueryGetGridResponse) slowProtoReflect() protoreflect.Message { + mi := &file_structs_structs_query_proto_msgTypes[27] + 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_QueryGetGridResponse_messageType fastReflection_QueryGetGridResponse_messageType +var _ protoreflect.MessageType = fastReflection_QueryGetGridResponse_messageType{} + +type fastReflection_QueryGetGridResponse_messageType struct{} + +func (x fastReflection_QueryGetGridResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_QueryGetGridResponse)(nil) +} +func (x fastReflection_QueryGetGridResponse_messageType) New() protoreflect.Message { + return new(fastReflection_QueryGetGridResponse) +} +func (x fastReflection_QueryGetGridResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_QueryGetGridResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_QueryGetGridResponse) Descriptor() protoreflect.MessageDescriptor { + return md_QueryGetGridResponse +} + +// 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_QueryGetGridResponse) Type() protoreflect.MessageType { + return _fastReflection_QueryGetGridResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_QueryGetGridResponse) New() protoreflect.Message { + return new(fastReflection_QueryGetGridResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_QueryGetGridResponse) Interface() protoreflect.ProtoMessage { + return (*QueryGetGridResponse)(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_QueryGetGridResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.GridRecord != nil { + value := protoreflect.ValueOfMessage(x.GridRecord.ProtoReflect()) + if !f(fd_QueryGetGridResponse_gridRecord, 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_QueryGetGridResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "structs.structs.QueryGetGridResponse.gridRecord": + return x.GridRecord != nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetGridResponse")) + } + panic(fmt.Errorf("message structs.structs.QueryGetGridResponse 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_QueryGetGridResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "structs.structs.QueryGetGridResponse.gridRecord": + x.GridRecord = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetGridResponse")) + } + panic(fmt.Errorf("message structs.structs.QueryGetGridResponse 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_QueryGetGridResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "structs.structs.QueryGetGridResponse.gridRecord": + value := x.GridRecord + return protoreflect.ValueOfMessage(value.ProtoReflect()) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetGridResponse")) + } + panic(fmt.Errorf("message structs.structs.QueryGetGridResponse 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_QueryGetGridResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "structs.structs.QueryGetGridResponse.gridRecord": + x.GridRecord = value.Message().Interface().(*GridRecord) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetGridResponse")) + } + panic(fmt.Errorf("message structs.structs.QueryGetGridResponse 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_QueryGetGridResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.QueryGetGridResponse.gridRecord": + if x.GridRecord == nil { + x.GridRecord = new(GridRecord) + } + return protoreflect.ValueOfMessage(x.GridRecord.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetGridResponse")) + } + panic(fmt.Errorf("message structs.structs.QueryGetGridResponse 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_QueryGetGridResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.QueryGetGridResponse.gridRecord": + m := new(GridRecord) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetGridResponse")) + } + panic(fmt.Errorf("message structs.structs.QueryGetGridResponse 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_QueryGetGridResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryGetGridResponse", 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_QueryGetGridResponse) 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_QueryGetGridResponse) 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_QueryGetGridResponse) 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_QueryGetGridResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*QueryGetGridResponse) + 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.GridRecord != nil { + l = options.Size(x.GridRecord) + 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().(*QueryGetGridResponse) + 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.GridRecord != nil { + encoded, err := options.Marshal(x.GridRecord) + 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().(*QueryGetGridResponse) + 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: QueryGetGridResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryGetGridResponse: 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 GridRecord", 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.GridRecord == nil { + x.GridRecord = &GridRecord{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.GridRecord); 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 _ protoreflect.List = (*_QueryAllGridResponse_1_list)(nil) + +type _QueryAllGridResponse_1_list struct { + list *[]*GridRecord +} + +func (x *_QueryAllGridResponse_1_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_QueryAllGridResponse_1_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_QueryAllGridResponse_1_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*GridRecord) + (*x.list)[i] = concreteValue +} + +func (x *_QueryAllGridResponse_1_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*GridRecord) + *x.list = append(*x.list, concreteValue) +} + +func (x *_QueryAllGridResponse_1_list) AppendMutable() protoreflect.Value { + v := new(GridRecord) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_QueryAllGridResponse_1_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_QueryAllGridResponse_1_list) NewElement() protoreflect.Value { + v := new(GridRecord) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_QueryAllGridResponse_1_list) IsValid() bool { + return x.list != nil +} + +var ( + md_QueryAllGridResponse protoreflect.MessageDescriptor + fd_QueryAllGridResponse_gridRecords protoreflect.FieldDescriptor + fd_QueryAllGridResponse_pagination protoreflect.FieldDescriptor +) + +func init() { + file_structs_structs_query_proto_init() + md_QueryAllGridResponse = File_structs_structs_query_proto.Messages().ByName("QueryAllGridResponse") + fd_QueryAllGridResponse_gridRecords = md_QueryAllGridResponse.Fields().ByName("gridRecords") + fd_QueryAllGridResponse_pagination = md_QueryAllGridResponse.Fields().ByName("pagination") +} + +var _ protoreflect.Message = (*fastReflection_QueryAllGridResponse)(nil) + +type fastReflection_QueryAllGridResponse QueryAllGridResponse + +func (x *QueryAllGridResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_QueryAllGridResponse)(x) +} + +func (x *QueryAllGridResponse) slowProtoReflect() protoreflect.Message { + mi := &file_structs_structs_query_proto_msgTypes[28] + 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_QueryAllGridResponse_messageType fastReflection_QueryAllGridResponse_messageType +var _ protoreflect.MessageType = fastReflection_QueryAllGridResponse_messageType{} + +type fastReflection_QueryAllGridResponse_messageType struct{} + +func (x fastReflection_QueryAllGridResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_QueryAllGridResponse)(nil) +} +func (x fastReflection_QueryAllGridResponse_messageType) New() protoreflect.Message { + return new(fastReflection_QueryAllGridResponse) +} +func (x fastReflection_QueryAllGridResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_QueryAllGridResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_QueryAllGridResponse) Descriptor() protoreflect.MessageDescriptor { + return md_QueryAllGridResponse +} + +// 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_QueryAllGridResponse) Type() protoreflect.MessageType { + return _fastReflection_QueryAllGridResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_QueryAllGridResponse) New() protoreflect.Message { + return new(fastReflection_QueryAllGridResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_QueryAllGridResponse) Interface() protoreflect.ProtoMessage { + return (*QueryAllGridResponse)(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_QueryAllGridResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if len(x.GridRecords) != 0 { + value := protoreflect.ValueOfList(&_QueryAllGridResponse_1_list{list: &x.GridRecords}) + if !f(fd_QueryAllGridResponse_gridRecords, value) { + return + } + } + if x.Pagination != nil { + value := protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) + if !f(fd_QueryAllGridResponse_pagination, 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_QueryAllGridResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "structs.structs.QueryAllGridResponse.gridRecords": + return len(x.GridRecords) != 0 + case "structs.structs.QueryAllGridResponse.pagination": + return x.Pagination != nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllGridResponse")) + } + panic(fmt.Errorf("message structs.structs.QueryAllGridResponse 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_QueryAllGridResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "structs.structs.QueryAllGridResponse.gridRecords": + x.GridRecords = nil + case "structs.structs.QueryAllGridResponse.pagination": + x.Pagination = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllGridResponse")) + } + panic(fmt.Errorf("message structs.structs.QueryAllGridResponse 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_QueryAllGridResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "structs.structs.QueryAllGridResponse.gridRecords": + if len(x.GridRecords) == 0 { + return protoreflect.ValueOfList(&_QueryAllGridResponse_1_list{}) + } + listValue := &_QueryAllGridResponse_1_list{list: &x.GridRecords} + return protoreflect.ValueOfList(listValue) + case "structs.structs.QueryAllGridResponse.pagination": + value := x.Pagination + return protoreflect.ValueOfMessage(value.ProtoReflect()) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllGridResponse")) + } + panic(fmt.Errorf("message structs.structs.QueryAllGridResponse 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_QueryAllGridResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "structs.structs.QueryAllGridResponse.gridRecords": + lv := value.List() + clv := lv.(*_QueryAllGridResponse_1_list) + x.GridRecords = *clv.list + case "structs.structs.QueryAllGridResponse.pagination": + x.Pagination = value.Message().Interface().(*v1beta1.PageResponse) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllGridResponse")) + } + panic(fmt.Errorf("message structs.structs.QueryAllGridResponse 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_QueryAllGridResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.QueryAllGridResponse.gridRecords": + if x.GridRecords == nil { + x.GridRecords = []*GridRecord{} + } + value := &_QueryAllGridResponse_1_list{list: &x.GridRecords} + return protoreflect.ValueOfList(value) + case "structs.structs.QueryAllGridResponse.pagination": + if x.Pagination == nil { + x.Pagination = new(v1beta1.PageResponse) + } + return protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllGridResponse")) + } + panic(fmt.Errorf("message structs.structs.QueryAllGridResponse 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_QueryAllGridResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.QueryAllGridResponse.gridRecords": + list := []*GridRecord{} + return protoreflect.ValueOfList(&_QueryAllGridResponse_1_list{list: &list}) + case "structs.structs.QueryAllGridResponse.pagination": + m := new(v1beta1.PageResponse) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllGridResponse")) + } + panic(fmt.Errorf("message structs.structs.QueryAllGridResponse 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_QueryAllGridResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryAllGridResponse", 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_QueryAllGridResponse) 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_QueryAllGridResponse) 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_QueryAllGridResponse) 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_QueryAllGridResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*QueryAllGridResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if len(x.GridRecords) > 0 { + for _, e := range x.GridRecords { + l = options.Size(e) + n += 1 + l + runtime.Sov(uint64(l)) + } + } + if x.Pagination != nil { + l = options.Size(x.Pagination) + 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().(*QueryAllGridResponse) + 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.Pagination != nil { + encoded, err := options.Marshal(x.Pagination) + 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.GridRecords) > 0 { + for iNdEx := len(x.GridRecords) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.GridRecords[iNdEx]) + 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().(*QueryAllGridResponse) + 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: QueryAllGridResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllGridResponse: 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 GridRecords", 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 + } + x.GridRecords = append(x.GridRecords, &GridRecord{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.GridRecords[len(x.GridRecords)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Pagination", 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.Pagination == nil { + x.Pagination = &v1beta1.PageResponse{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Pagination); 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_QueryGetGuildRequest protoreflect.MessageDescriptor + fd_QueryGetGuildRequest_id protoreflect.FieldDescriptor +) + +func init() { + file_structs_structs_query_proto_init() + md_QueryGetGuildRequest = File_structs_structs_query_proto.Messages().ByName("QueryGetGuildRequest") + fd_QueryGetGuildRequest_id = md_QueryGetGuildRequest.Fields().ByName("id") +} + +var _ protoreflect.Message = (*fastReflection_QueryGetGuildRequest)(nil) + +type fastReflection_QueryGetGuildRequest QueryGetGuildRequest + +func (x *QueryGetGuildRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_QueryGetGuildRequest)(x) +} + +func (x *QueryGetGuildRequest) slowProtoReflect() protoreflect.Message { + mi := &file_structs_structs_query_proto_msgTypes[29] + 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_QueryGetGuildRequest_messageType fastReflection_QueryGetGuildRequest_messageType +var _ protoreflect.MessageType = fastReflection_QueryGetGuildRequest_messageType{} + +type fastReflection_QueryGetGuildRequest_messageType struct{} + +func (x fastReflection_QueryGetGuildRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_QueryGetGuildRequest)(nil) +} +func (x fastReflection_QueryGetGuildRequest_messageType) New() protoreflect.Message { + return new(fastReflection_QueryGetGuildRequest) +} +func (x fastReflection_QueryGetGuildRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_QueryGetGuildRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_QueryGetGuildRequest) Descriptor() protoreflect.MessageDescriptor { + return md_QueryGetGuildRequest +} + +// 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_QueryGetGuildRequest) Type() protoreflect.MessageType { + return _fastReflection_QueryGetGuildRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_QueryGetGuildRequest) New() protoreflect.Message { + return new(fastReflection_QueryGetGuildRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_QueryGetGuildRequest) Interface() protoreflect.ProtoMessage { + return (*QueryGetGuildRequest)(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_QueryGetGuildRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Id != "" { + value := protoreflect.ValueOfString(x.Id) + if !f(fd_QueryGetGuildRequest_id, 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_QueryGetGuildRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "structs.structs.QueryGetGuildRequest.id": + return x.Id != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetGuildRequest")) + } + panic(fmt.Errorf("message structs.structs.QueryGetGuildRequest 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_QueryGetGuildRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "structs.structs.QueryGetGuildRequest.id": + x.Id = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetGuildRequest")) + } + panic(fmt.Errorf("message structs.structs.QueryGetGuildRequest 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_QueryGetGuildRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "structs.structs.QueryGetGuildRequest.id": + value := x.Id + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetGuildRequest")) + } + panic(fmt.Errorf("message structs.structs.QueryGetGuildRequest 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_QueryGetGuildRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "structs.structs.QueryGetGuildRequest.id": + x.Id = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetGuildRequest")) + } + panic(fmt.Errorf("message structs.structs.QueryGetGuildRequest 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_QueryGetGuildRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.QueryGetGuildRequest.id": + panic(fmt.Errorf("field id of message structs.structs.QueryGetGuildRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetGuildRequest")) + } + panic(fmt.Errorf("message structs.structs.QueryGetGuildRequest 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_QueryGetGuildRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.QueryGetGuildRequest.id": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetGuildRequest")) + } + panic(fmt.Errorf("message structs.structs.QueryGetGuildRequest 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_QueryGetGuildRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryGetGuildRequest", 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_QueryGetGuildRequest) 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_QueryGetGuildRequest) 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_QueryGetGuildRequest) 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_QueryGetGuildRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*QueryGetGuildRequest) + 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.Id) + 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().(*QueryGetGuildRequest) + 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.Id) > 0 { + i -= len(x.Id) + copy(dAtA[i:], x.Id) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Id))) + 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().(*QueryGetGuildRequest) + 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: QueryGetGuildRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryGetGuildRequest: 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 Id", 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.Id = 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_QueryGetGuildResponse protoreflect.MessageDescriptor + fd_QueryGetGuildResponse_Guild protoreflect.FieldDescriptor +) + +func init() { + file_structs_structs_query_proto_init() + md_QueryGetGuildResponse = File_structs_structs_query_proto.Messages().ByName("QueryGetGuildResponse") + fd_QueryGetGuildResponse_Guild = md_QueryGetGuildResponse.Fields().ByName("Guild") +} + +var _ protoreflect.Message = (*fastReflection_QueryGetGuildResponse)(nil) + +type fastReflection_QueryGetGuildResponse QueryGetGuildResponse + +func (x *QueryGetGuildResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_QueryGetGuildResponse)(x) +} + +func (x *QueryGetGuildResponse) slowProtoReflect() protoreflect.Message { + mi := &file_structs_structs_query_proto_msgTypes[30] + 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_QueryGetGuildResponse_messageType fastReflection_QueryGetGuildResponse_messageType +var _ protoreflect.MessageType = fastReflection_QueryGetGuildResponse_messageType{} + +type fastReflection_QueryGetGuildResponse_messageType struct{} + +func (x fastReflection_QueryGetGuildResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_QueryGetGuildResponse)(nil) +} +func (x fastReflection_QueryGetGuildResponse_messageType) New() protoreflect.Message { + return new(fastReflection_QueryGetGuildResponse) +} +func (x fastReflection_QueryGetGuildResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_QueryGetGuildResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_QueryGetGuildResponse) Descriptor() protoreflect.MessageDescriptor { + return md_QueryGetGuildResponse +} + +// 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_QueryGetGuildResponse) Type() protoreflect.MessageType { + return _fastReflection_QueryGetGuildResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_QueryGetGuildResponse) New() protoreflect.Message { + return new(fastReflection_QueryGetGuildResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_QueryGetGuildResponse) Interface() protoreflect.ProtoMessage { + return (*QueryGetGuildResponse)(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_QueryGetGuildResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Guild != nil { + value := protoreflect.ValueOfMessage(x.Guild.ProtoReflect()) + if !f(fd_QueryGetGuildResponse_Guild, 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_QueryGetGuildResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "structs.structs.QueryGetGuildResponse.Guild": + return x.Guild != nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetGuildResponse")) + } + panic(fmt.Errorf("message structs.structs.QueryGetGuildResponse 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_QueryGetGuildResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "structs.structs.QueryGetGuildResponse.Guild": + x.Guild = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetGuildResponse")) + } + panic(fmt.Errorf("message structs.structs.QueryGetGuildResponse 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_QueryGetGuildResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "structs.structs.QueryGetGuildResponse.Guild": + value := x.Guild + return protoreflect.ValueOfMessage(value.ProtoReflect()) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetGuildResponse")) + } + panic(fmt.Errorf("message structs.structs.QueryGetGuildResponse 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_QueryGetGuildResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "structs.structs.QueryGetGuildResponse.Guild": + x.Guild = value.Message().Interface().(*Guild) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetGuildResponse")) + } + panic(fmt.Errorf("message structs.structs.QueryGetGuildResponse 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_QueryGetGuildResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.QueryGetGuildResponse.Guild": + if x.Guild == nil { + x.Guild = new(Guild) + } + return protoreflect.ValueOfMessage(x.Guild.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetGuildResponse")) + } + panic(fmt.Errorf("message structs.structs.QueryGetGuildResponse 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_QueryGetGuildResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.QueryGetGuildResponse.Guild": + m := new(Guild) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetGuildResponse")) + } + panic(fmt.Errorf("message structs.structs.QueryGetGuildResponse 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_QueryGetGuildResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryGetGuildResponse", 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_QueryGetGuildResponse) 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_QueryGetGuildResponse) 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_QueryGetGuildResponse) 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_QueryGetGuildResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*QueryGetGuildResponse) + 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.Guild != nil { + l = options.Size(x.Guild) + 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().(*QueryGetGuildResponse) + 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.Guild != nil { + encoded, err := options.Marshal(x.Guild) + 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().(*QueryGetGuildResponse) + 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: QueryGetGuildResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryGetGuildResponse: 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 Guild", 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.Guild == nil { + x.Guild = &Guild{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Guild); 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_QueryAllGuildRequest protoreflect.MessageDescriptor + fd_QueryAllGuildRequest_pagination protoreflect.FieldDescriptor +) + +func init() { + file_structs_structs_query_proto_init() + md_QueryAllGuildRequest = File_structs_structs_query_proto.Messages().ByName("QueryAllGuildRequest") + fd_QueryAllGuildRequest_pagination = md_QueryAllGuildRequest.Fields().ByName("pagination") +} + +var _ protoreflect.Message = (*fastReflection_QueryAllGuildRequest)(nil) + +type fastReflection_QueryAllGuildRequest QueryAllGuildRequest + +func (x *QueryAllGuildRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_QueryAllGuildRequest)(x) +} + +func (x *QueryAllGuildRequest) slowProtoReflect() protoreflect.Message { + mi := &file_structs_structs_query_proto_msgTypes[31] + 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_QueryAllGuildRequest_messageType fastReflection_QueryAllGuildRequest_messageType +var _ protoreflect.MessageType = fastReflection_QueryAllGuildRequest_messageType{} + +type fastReflection_QueryAllGuildRequest_messageType struct{} + +func (x fastReflection_QueryAllGuildRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_QueryAllGuildRequest)(nil) +} +func (x fastReflection_QueryAllGuildRequest_messageType) New() protoreflect.Message { + return new(fastReflection_QueryAllGuildRequest) +} +func (x fastReflection_QueryAllGuildRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_QueryAllGuildRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_QueryAllGuildRequest) Descriptor() protoreflect.MessageDescriptor { + return md_QueryAllGuildRequest +} + +// 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_QueryAllGuildRequest) Type() protoreflect.MessageType { + return _fastReflection_QueryAllGuildRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_QueryAllGuildRequest) New() protoreflect.Message { + return new(fastReflection_QueryAllGuildRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_QueryAllGuildRequest) Interface() protoreflect.ProtoMessage { + return (*QueryAllGuildRequest)(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_QueryAllGuildRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Pagination != nil { + value := protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) + if !f(fd_QueryAllGuildRequest_pagination, 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_QueryAllGuildRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "structs.structs.QueryAllGuildRequest.pagination": + return x.Pagination != nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllGuildRequest")) + } + panic(fmt.Errorf("message structs.structs.QueryAllGuildRequest 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_QueryAllGuildRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "structs.structs.QueryAllGuildRequest.pagination": + x.Pagination = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllGuildRequest")) + } + panic(fmt.Errorf("message structs.structs.QueryAllGuildRequest 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_QueryAllGuildRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "structs.structs.QueryAllGuildRequest.pagination": + value := x.Pagination + return protoreflect.ValueOfMessage(value.ProtoReflect()) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllGuildRequest")) + } + panic(fmt.Errorf("message structs.structs.QueryAllGuildRequest 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_QueryAllGuildRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "structs.structs.QueryAllGuildRequest.pagination": + x.Pagination = value.Message().Interface().(*v1beta1.PageRequest) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllGuildRequest")) + } + panic(fmt.Errorf("message structs.structs.QueryAllGuildRequest 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_QueryAllGuildRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.QueryAllGuildRequest.pagination": + if x.Pagination == nil { + x.Pagination = new(v1beta1.PageRequest) + } + return protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllGuildRequest")) + } + panic(fmt.Errorf("message structs.structs.QueryAllGuildRequest 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_QueryAllGuildRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.QueryAllGuildRequest.pagination": + m := new(v1beta1.PageRequest) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllGuildRequest")) + } + panic(fmt.Errorf("message structs.structs.QueryAllGuildRequest 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_QueryAllGuildRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryAllGuildRequest", 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_QueryAllGuildRequest) 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_QueryAllGuildRequest) 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_QueryAllGuildRequest) 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_QueryAllGuildRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*QueryAllGuildRequest) + 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.Pagination != nil { + l = options.Size(x.Pagination) + 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().(*QueryAllGuildRequest) + 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.Pagination != nil { + encoded, err := options.Marshal(x.Pagination) + 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().(*QueryAllGuildRequest) + 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: QueryAllGuildRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllGuildRequest: 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 Pagination", 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.Pagination == nil { + x.Pagination = &v1beta1.PageRequest{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Pagination); 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 _ protoreflect.List = (*_QueryAllGuildResponse_1_list)(nil) + +type _QueryAllGuildResponse_1_list struct { + list *[]*Guild +} + +func (x *_QueryAllGuildResponse_1_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_QueryAllGuildResponse_1_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_QueryAllGuildResponse_1_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*Guild) + (*x.list)[i] = concreteValue +} + +func (x *_QueryAllGuildResponse_1_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*Guild) + *x.list = append(*x.list, concreteValue) +} + +func (x *_QueryAllGuildResponse_1_list) AppendMutable() protoreflect.Value { + v := new(Guild) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_QueryAllGuildResponse_1_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_QueryAllGuildResponse_1_list) NewElement() protoreflect.Value { + v := new(Guild) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_QueryAllGuildResponse_1_list) IsValid() bool { + return x.list != nil +} + +var ( + md_QueryAllGuildResponse protoreflect.MessageDescriptor + fd_QueryAllGuildResponse_Guild protoreflect.FieldDescriptor + fd_QueryAllGuildResponse_pagination protoreflect.FieldDescriptor +) + +func init() { + file_structs_structs_query_proto_init() + md_QueryAllGuildResponse = File_structs_structs_query_proto.Messages().ByName("QueryAllGuildResponse") + fd_QueryAllGuildResponse_Guild = md_QueryAllGuildResponse.Fields().ByName("Guild") + fd_QueryAllGuildResponse_pagination = md_QueryAllGuildResponse.Fields().ByName("pagination") +} + +var _ protoreflect.Message = (*fastReflection_QueryAllGuildResponse)(nil) + +type fastReflection_QueryAllGuildResponse QueryAllGuildResponse + +func (x *QueryAllGuildResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_QueryAllGuildResponse)(x) +} + +func (x *QueryAllGuildResponse) slowProtoReflect() protoreflect.Message { + mi := &file_structs_structs_query_proto_msgTypes[32] + 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_QueryAllGuildResponse_messageType fastReflection_QueryAllGuildResponse_messageType +var _ protoreflect.MessageType = fastReflection_QueryAllGuildResponse_messageType{} + +type fastReflection_QueryAllGuildResponse_messageType struct{} + +func (x fastReflection_QueryAllGuildResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_QueryAllGuildResponse)(nil) +} +func (x fastReflection_QueryAllGuildResponse_messageType) New() protoreflect.Message { + return new(fastReflection_QueryAllGuildResponse) +} +func (x fastReflection_QueryAllGuildResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_QueryAllGuildResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_QueryAllGuildResponse) Descriptor() protoreflect.MessageDescriptor { + return md_QueryAllGuildResponse +} + +// 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_QueryAllGuildResponse) Type() protoreflect.MessageType { + return _fastReflection_QueryAllGuildResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_QueryAllGuildResponse) New() protoreflect.Message { + return new(fastReflection_QueryAllGuildResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_QueryAllGuildResponse) Interface() protoreflect.ProtoMessage { + return (*QueryAllGuildResponse)(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_QueryAllGuildResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if len(x.Guild) != 0 { + value := protoreflect.ValueOfList(&_QueryAllGuildResponse_1_list{list: &x.Guild}) + if !f(fd_QueryAllGuildResponse_Guild, value) { + return + } + } + if x.Pagination != nil { + value := protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) + if !f(fd_QueryAllGuildResponse_pagination, 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_QueryAllGuildResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "structs.structs.QueryAllGuildResponse.Guild": + return len(x.Guild) != 0 + case "structs.structs.QueryAllGuildResponse.pagination": + return x.Pagination != nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllGuildResponse")) + } + panic(fmt.Errorf("message structs.structs.QueryAllGuildResponse 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_QueryAllGuildResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "structs.structs.QueryAllGuildResponse.Guild": + x.Guild = nil + case "structs.structs.QueryAllGuildResponse.pagination": + x.Pagination = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllGuildResponse")) + } + panic(fmt.Errorf("message structs.structs.QueryAllGuildResponse 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_QueryAllGuildResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "structs.structs.QueryAllGuildResponse.Guild": + if len(x.Guild) == 0 { + return protoreflect.ValueOfList(&_QueryAllGuildResponse_1_list{}) + } + listValue := &_QueryAllGuildResponse_1_list{list: &x.Guild} + return protoreflect.ValueOfList(listValue) + case "structs.structs.QueryAllGuildResponse.pagination": + value := x.Pagination + return protoreflect.ValueOfMessage(value.ProtoReflect()) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllGuildResponse")) + } + panic(fmt.Errorf("message structs.structs.QueryAllGuildResponse 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_QueryAllGuildResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "structs.structs.QueryAllGuildResponse.Guild": + lv := value.List() + clv := lv.(*_QueryAllGuildResponse_1_list) + x.Guild = *clv.list + case "structs.structs.QueryAllGuildResponse.pagination": + x.Pagination = value.Message().Interface().(*v1beta1.PageResponse) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllGuildResponse")) + } + panic(fmt.Errorf("message structs.structs.QueryAllGuildResponse 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_QueryAllGuildResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.QueryAllGuildResponse.Guild": + if x.Guild == nil { + x.Guild = []*Guild{} + } + value := &_QueryAllGuildResponse_1_list{list: &x.Guild} + return protoreflect.ValueOfList(value) + case "structs.structs.QueryAllGuildResponse.pagination": + if x.Pagination == nil { + x.Pagination = new(v1beta1.PageResponse) + } + return protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllGuildResponse")) + } + panic(fmt.Errorf("message structs.structs.QueryAllGuildResponse 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_QueryAllGuildResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.QueryAllGuildResponse.Guild": + list := []*Guild{} + return protoreflect.ValueOfList(&_QueryAllGuildResponse_1_list{list: &list}) + case "structs.structs.QueryAllGuildResponse.pagination": + m := new(v1beta1.PageResponse) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllGuildResponse")) + } + panic(fmt.Errorf("message structs.structs.QueryAllGuildResponse 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_QueryAllGuildResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryAllGuildResponse", 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_QueryAllGuildResponse) 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_QueryAllGuildResponse) 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_QueryAllGuildResponse) 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_QueryAllGuildResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*QueryAllGuildResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if len(x.Guild) > 0 { + for _, e := range x.Guild { + l = options.Size(e) + n += 1 + l + runtime.Sov(uint64(l)) + } + } + if x.Pagination != nil { + l = options.Size(x.Pagination) + 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().(*QueryAllGuildResponse) + 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.Pagination != nil { + encoded, err := options.Marshal(x.Pagination) + 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.Guild) > 0 { + for iNdEx := len(x.Guild) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.Guild[iNdEx]) + 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().(*QueryAllGuildResponse) + 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: QueryAllGuildResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllGuildResponse: 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 Guild", 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 + } + x.Guild = append(x.Guild, &Guild{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Guild[len(x.Guild)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Pagination", 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.Pagination == nil { + x.Pagination = &v1beta1.PageResponse{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Pagination); 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_QueryGetGuildBankCollateralAddressRequest protoreflect.MessageDescriptor + fd_QueryGetGuildBankCollateralAddressRequest_guildId protoreflect.FieldDescriptor +) + +func init() { + file_structs_structs_query_proto_init() + md_QueryGetGuildBankCollateralAddressRequest = File_structs_structs_query_proto.Messages().ByName("QueryGetGuildBankCollateralAddressRequest") + fd_QueryGetGuildBankCollateralAddressRequest_guildId = md_QueryGetGuildBankCollateralAddressRequest.Fields().ByName("guildId") +} + +var _ protoreflect.Message = (*fastReflection_QueryGetGuildBankCollateralAddressRequest)(nil) + +type fastReflection_QueryGetGuildBankCollateralAddressRequest QueryGetGuildBankCollateralAddressRequest + +func (x *QueryGetGuildBankCollateralAddressRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_QueryGetGuildBankCollateralAddressRequest)(x) +} + +func (x *QueryGetGuildBankCollateralAddressRequest) slowProtoReflect() protoreflect.Message { + mi := &file_structs_structs_query_proto_msgTypes[33] + 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_QueryGetGuildBankCollateralAddressRequest_messageType fastReflection_QueryGetGuildBankCollateralAddressRequest_messageType +var _ protoreflect.MessageType = fastReflection_QueryGetGuildBankCollateralAddressRequest_messageType{} + +type fastReflection_QueryGetGuildBankCollateralAddressRequest_messageType struct{} + +func (x fastReflection_QueryGetGuildBankCollateralAddressRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_QueryGetGuildBankCollateralAddressRequest)(nil) +} +func (x fastReflection_QueryGetGuildBankCollateralAddressRequest_messageType) New() protoreflect.Message { + return new(fastReflection_QueryGetGuildBankCollateralAddressRequest) +} +func (x fastReflection_QueryGetGuildBankCollateralAddressRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_QueryGetGuildBankCollateralAddressRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_QueryGetGuildBankCollateralAddressRequest) Descriptor() protoreflect.MessageDescriptor { + return md_QueryGetGuildBankCollateralAddressRequest +} + +// 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_QueryGetGuildBankCollateralAddressRequest) Type() protoreflect.MessageType { + return _fastReflection_QueryGetGuildBankCollateralAddressRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_QueryGetGuildBankCollateralAddressRequest) New() protoreflect.Message { + return new(fastReflection_QueryGetGuildBankCollateralAddressRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_QueryGetGuildBankCollateralAddressRequest) Interface() protoreflect.ProtoMessage { + return (*QueryGetGuildBankCollateralAddressRequest)(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_QueryGetGuildBankCollateralAddressRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.GuildId != "" { + value := protoreflect.ValueOfString(x.GuildId) + if !f(fd_QueryGetGuildBankCollateralAddressRequest_guildId, 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_QueryGetGuildBankCollateralAddressRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "structs.structs.QueryGetGuildBankCollateralAddressRequest.guildId": + return x.GuildId != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetGuildBankCollateralAddressRequest")) + } + panic(fmt.Errorf("message structs.structs.QueryGetGuildBankCollateralAddressRequest 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_QueryGetGuildBankCollateralAddressRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "structs.structs.QueryGetGuildBankCollateralAddressRequest.guildId": + x.GuildId = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetGuildBankCollateralAddressRequest")) + } + panic(fmt.Errorf("message structs.structs.QueryGetGuildBankCollateralAddressRequest 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_QueryGetGuildBankCollateralAddressRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "structs.structs.QueryGetGuildBankCollateralAddressRequest.guildId": + value := x.GuildId + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetGuildBankCollateralAddressRequest")) + } + panic(fmt.Errorf("message structs.structs.QueryGetGuildBankCollateralAddressRequest 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_QueryGetGuildBankCollateralAddressRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "structs.structs.QueryGetGuildBankCollateralAddressRequest.guildId": + x.GuildId = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetGuildBankCollateralAddressRequest")) + } + panic(fmt.Errorf("message structs.structs.QueryGetGuildBankCollateralAddressRequest 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_QueryGetGuildBankCollateralAddressRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.QueryGetGuildBankCollateralAddressRequest.guildId": + panic(fmt.Errorf("field guildId of message structs.structs.QueryGetGuildBankCollateralAddressRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetGuildBankCollateralAddressRequest")) + } + panic(fmt.Errorf("message structs.structs.QueryGetGuildBankCollateralAddressRequest 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_QueryGetGuildBankCollateralAddressRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.QueryGetGuildBankCollateralAddressRequest.guildId": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetGuildBankCollateralAddressRequest")) + } + panic(fmt.Errorf("message structs.structs.QueryGetGuildBankCollateralAddressRequest 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_QueryGetGuildBankCollateralAddressRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryGetGuildBankCollateralAddressRequest", 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_QueryGetGuildBankCollateralAddressRequest) 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_QueryGetGuildBankCollateralAddressRequest) 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_QueryGetGuildBankCollateralAddressRequest) 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_QueryGetGuildBankCollateralAddressRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*QueryGetGuildBankCollateralAddressRequest) + 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.GuildId) + 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().(*QueryGetGuildBankCollateralAddressRequest) + 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.GuildId) > 0 { + i -= len(x.GuildId) + copy(dAtA[i:], x.GuildId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.GuildId))) + 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().(*QueryGetGuildBankCollateralAddressRequest) + 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: QueryGetGuildBankCollateralAddressRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryGetGuildBankCollateralAddressRequest: 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 GuildId", 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.GuildId = 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_QueryAllGuildBankCollateralAddressRequest protoreflect.MessageDescriptor + fd_QueryAllGuildBankCollateralAddressRequest_pagination protoreflect.FieldDescriptor +) + +func init() { + file_structs_structs_query_proto_init() + md_QueryAllGuildBankCollateralAddressRequest = File_structs_structs_query_proto.Messages().ByName("QueryAllGuildBankCollateralAddressRequest") + fd_QueryAllGuildBankCollateralAddressRequest_pagination = md_QueryAllGuildBankCollateralAddressRequest.Fields().ByName("pagination") +} + +var _ protoreflect.Message = (*fastReflection_QueryAllGuildBankCollateralAddressRequest)(nil) + +type fastReflection_QueryAllGuildBankCollateralAddressRequest QueryAllGuildBankCollateralAddressRequest + +func (x *QueryAllGuildBankCollateralAddressRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_QueryAllGuildBankCollateralAddressRequest)(x) +} + +func (x *QueryAllGuildBankCollateralAddressRequest) slowProtoReflect() protoreflect.Message { + mi := &file_structs_structs_query_proto_msgTypes[34] + 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_QueryAllGuildBankCollateralAddressRequest_messageType fastReflection_QueryAllGuildBankCollateralAddressRequest_messageType +var _ protoreflect.MessageType = fastReflection_QueryAllGuildBankCollateralAddressRequest_messageType{} + +type fastReflection_QueryAllGuildBankCollateralAddressRequest_messageType struct{} + +func (x fastReflection_QueryAllGuildBankCollateralAddressRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_QueryAllGuildBankCollateralAddressRequest)(nil) +} +func (x fastReflection_QueryAllGuildBankCollateralAddressRequest_messageType) New() protoreflect.Message { + return new(fastReflection_QueryAllGuildBankCollateralAddressRequest) +} +func (x fastReflection_QueryAllGuildBankCollateralAddressRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_QueryAllGuildBankCollateralAddressRequest +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_QueryAllGuildBankCollateralAddressRequest) Descriptor() protoreflect.MessageDescriptor { + return md_QueryAllGuildBankCollateralAddressRequest +} + +// 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_QueryAllGuildBankCollateralAddressRequest) Type() protoreflect.MessageType { + return _fastReflection_QueryAllGuildBankCollateralAddressRequest_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_QueryAllGuildBankCollateralAddressRequest) New() protoreflect.Message { + return new(fastReflection_QueryAllGuildBankCollateralAddressRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_QueryAllGuildBankCollateralAddressRequest) Interface() protoreflect.ProtoMessage { + return (*QueryAllGuildBankCollateralAddressRequest)(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_QueryAllGuildBankCollateralAddressRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Pagination != nil { + value := protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) + if !f(fd_QueryAllGuildBankCollateralAddressRequest_pagination, 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_QueryAllGuildBankCollateralAddressRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "structs.structs.QueryAllGuildBankCollateralAddressRequest.pagination": + return x.Pagination != nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllGuildBankCollateralAddressRequest")) + } + panic(fmt.Errorf("message structs.structs.QueryAllGuildBankCollateralAddressRequest 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_QueryAllGuildBankCollateralAddressRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "structs.structs.QueryAllGuildBankCollateralAddressRequest.pagination": + x.Pagination = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllGuildBankCollateralAddressRequest")) + } + panic(fmt.Errorf("message structs.structs.QueryAllGuildBankCollateralAddressRequest 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_QueryAllGuildBankCollateralAddressRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "structs.structs.QueryAllGuildBankCollateralAddressRequest.pagination": + value := x.Pagination + return protoreflect.ValueOfMessage(value.ProtoReflect()) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllGuildBankCollateralAddressRequest")) + } + panic(fmt.Errorf("message structs.structs.QueryAllGuildBankCollateralAddressRequest 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_QueryAllGuildBankCollateralAddressRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "structs.structs.QueryAllGuildBankCollateralAddressRequest.pagination": + x.Pagination = value.Message().Interface().(*v1beta1.PageRequest) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllGuildBankCollateralAddressRequest")) + } + panic(fmt.Errorf("message structs.structs.QueryAllGuildBankCollateralAddressRequest 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_QueryAllGuildBankCollateralAddressRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.QueryAllGuildBankCollateralAddressRequest.pagination": + if x.Pagination == nil { + x.Pagination = new(v1beta1.PageRequest) + } + return protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllGuildBankCollateralAddressRequest")) + } + panic(fmt.Errorf("message structs.structs.QueryAllGuildBankCollateralAddressRequest 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_QueryAllGuildBankCollateralAddressRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.QueryAllGuildBankCollateralAddressRequest.pagination": + m := new(v1beta1.PageRequest) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllGuildBankCollateralAddressRequest")) + } + panic(fmt.Errorf("message structs.structs.QueryAllGuildBankCollateralAddressRequest 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_QueryAllGuildBankCollateralAddressRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryAllGuildBankCollateralAddressRequest", 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_QueryAllGuildBankCollateralAddressRequest) 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_QueryAllGuildBankCollateralAddressRequest) 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_QueryAllGuildBankCollateralAddressRequest) 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_QueryAllGuildBankCollateralAddressRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*QueryAllGuildBankCollateralAddressRequest) + 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.Pagination != nil { + l = options.Size(x.Pagination) + 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().(*QueryAllGuildBankCollateralAddressRequest) + 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.Pagination != nil { + encoded, err := options.Marshal(x.Pagination) + 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().(*QueryAllGuildBankCollateralAddressRequest) + 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: QueryAllGuildBankCollateralAddressRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllGuildBankCollateralAddressRequest: 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 Pagination", 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.Pagination == nil { + x.Pagination = &v1beta1.PageRequest{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Pagination); 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 _ protoreflect.List = (*_QueryAllGuildBankCollateralAddressResponse_1_list)(nil) + +type _QueryAllGuildBankCollateralAddressResponse_1_list struct { + list *[]*InternalAddressAssociation +} + +func (x *_QueryAllGuildBankCollateralAddressResponse_1_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_QueryAllGuildBankCollateralAddressResponse_1_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_QueryAllGuildBankCollateralAddressResponse_1_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*InternalAddressAssociation) + (*x.list)[i] = concreteValue +} + +func (x *_QueryAllGuildBankCollateralAddressResponse_1_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*InternalAddressAssociation) + *x.list = append(*x.list, concreteValue) +} + +func (x *_QueryAllGuildBankCollateralAddressResponse_1_list) AppendMutable() protoreflect.Value { + v := new(InternalAddressAssociation) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_QueryAllGuildBankCollateralAddressResponse_1_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_QueryAllGuildBankCollateralAddressResponse_1_list) NewElement() protoreflect.Value { + v := new(InternalAddressAssociation) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_QueryAllGuildBankCollateralAddressResponse_1_list) IsValid() bool { + return x.list != nil +} + +var ( + md_QueryAllGuildBankCollateralAddressResponse protoreflect.MessageDescriptor + fd_QueryAllGuildBankCollateralAddressResponse_internalAddressAssociation protoreflect.FieldDescriptor + fd_QueryAllGuildBankCollateralAddressResponse_pagination protoreflect.FieldDescriptor +) + +func init() { + file_structs_structs_query_proto_init() + md_QueryAllGuildBankCollateralAddressResponse = File_structs_structs_query_proto.Messages().ByName("QueryAllGuildBankCollateralAddressResponse") + fd_QueryAllGuildBankCollateralAddressResponse_internalAddressAssociation = md_QueryAllGuildBankCollateralAddressResponse.Fields().ByName("internalAddressAssociation") + fd_QueryAllGuildBankCollateralAddressResponse_pagination = md_QueryAllGuildBankCollateralAddressResponse.Fields().ByName("pagination") +} + +var _ protoreflect.Message = (*fastReflection_QueryAllGuildBankCollateralAddressResponse)(nil) + +type fastReflection_QueryAllGuildBankCollateralAddressResponse QueryAllGuildBankCollateralAddressResponse + +func (x *QueryAllGuildBankCollateralAddressResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_QueryAllGuildBankCollateralAddressResponse)(x) +} + +func (x *QueryAllGuildBankCollateralAddressResponse) slowProtoReflect() protoreflect.Message { + mi := &file_structs_structs_query_proto_msgTypes[35] + 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_QueryAllGuildBankCollateralAddressResponse_messageType fastReflection_QueryAllGuildBankCollateralAddressResponse_messageType +var _ protoreflect.MessageType = fastReflection_QueryAllGuildBankCollateralAddressResponse_messageType{} + +type fastReflection_QueryAllGuildBankCollateralAddressResponse_messageType struct{} + +func (x fastReflection_QueryAllGuildBankCollateralAddressResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_QueryAllGuildBankCollateralAddressResponse)(nil) +} +func (x fastReflection_QueryAllGuildBankCollateralAddressResponse_messageType) New() protoreflect.Message { + return new(fastReflection_QueryAllGuildBankCollateralAddressResponse) +} +func (x fastReflection_QueryAllGuildBankCollateralAddressResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_QueryAllGuildBankCollateralAddressResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_QueryAllGuildBankCollateralAddressResponse) Descriptor() protoreflect.MessageDescriptor { + return md_QueryAllGuildBankCollateralAddressResponse +} + +// 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_QueryAllGuildBankCollateralAddressResponse) Type() protoreflect.MessageType { + return _fastReflection_QueryAllGuildBankCollateralAddressResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_QueryAllGuildBankCollateralAddressResponse) New() protoreflect.Message { + return new(fastReflection_QueryAllGuildBankCollateralAddressResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_QueryAllGuildBankCollateralAddressResponse) Interface() protoreflect.ProtoMessage { + return (*QueryAllGuildBankCollateralAddressResponse)(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_QueryAllGuildBankCollateralAddressResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if len(x.InternalAddressAssociation) != 0 { + value := protoreflect.ValueOfList(&_QueryAllGuildBankCollateralAddressResponse_1_list{list: &x.InternalAddressAssociation}) + if !f(fd_QueryAllGuildBankCollateralAddressResponse_internalAddressAssociation, value) { + return + } + } + if x.Pagination != nil { + value := protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) + if !f(fd_QueryAllGuildBankCollateralAddressResponse_pagination, 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_QueryAllGuildBankCollateralAddressResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "structs.structs.QueryAllGuildBankCollateralAddressResponse.internalAddressAssociation": + return len(x.InternalAddressAssociation) != 0 + case "structs.structs.QueryAllGuildBankCollateralAddressResponse.pagination": + return x.Pagination != nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllGuildBankCollateralAddressResponse")) + } + panic(fmt.Errorf("message structs.structs.QueryAllGuildBankCollateralAddressResponse 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_QueryAllGuildBankCollateralAddressResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "structs.structs.QueryAllGuildBankCollateralAddressResponse.internalAddressAssociation": + x.InternalAddressAssociation = nil + case "structs.structs.QueryAllGuildBankCollateralAddressResponse.pagination": + x.Pagination = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllGuildBankCollateralAddressResponse")) + } + panic(fmt.Errorf("message structs.structs.QueryAllGuildBankCollateralAddressResponse 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_QueryAllGuildBankCollateralAddressResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "structs.structs.QueryAllGuildBankCollateralAddressResponse.internalAddressAssociation": + if len(x.InternalAddressAssociation) == 0 { + return protoreflect.ValueOfList(&_QueryAllGuildBankCollateralAddressResponse_1_list{}) + } + listValue := &_QueryAllGuildBankCollateralAddressResponse_1_list{list: &x.InternalAddressAssociation} + return protoreflect.ValueOfList(listValue) + case "structs.structs.QueryAllGuildBankCollateralAddressResponse.pagination": + value := x.Pagination + return protoreflect.ValueOfMessage(value.ProtoReflect()) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllGuildBankCollateralAddressResponse")) + } + panic(fmt.Errorf("message structs.structs.QueryAllGuildBankCollateralAddressResponse 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_QueryAllGuildBankCollateralAddressResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "structs.structs.QueryAllGuildBankCollateralAddressResponse.internalAddressAssociation": + lv := value.List() + clv := lv.(*_QueryAllGuildBankCollateralAddressResponse_1_list) + x.InternalAddressAssociation = *clv.list + case "structs.structs.QueryAllGuildBankCollateralAddressResponse.pagination": + x.Pagination = value.Message().Interface().(*v1beta1.PageResponse) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllGuildBankCollateralAddressResponse")) + } + panic(fmt.Errorf("message structs.structs.QueryAllGuildBankCollateralAddressResponse 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_QueryAllGuildBankCollateralAddressResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.QueryAllGuildBankCollateralAddressResponse.internalAddressAssociation": + if x.InternalAddressAssociation == nil { + x.InternalAddressAssociation = []*InternalAddressAssociation{} + } + value := &_QueryAllGuildBankCollateralAddressResponse_1_list{list: &x.InternalAddressAssociation} + return protoreflect.ValueOfList(value) + case "structs.structs.QueryAllGuildBankCollateralAddressResponse.pagination": + if x.Pagination == nil { + x.Pagination = new(v1beta1.PageResponse) + } + return protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllGuildBankCollateralAddressResponse")) + } + panic(fmt.Errorf("message structs.structs.QueryAllGuildBankCollateralAddressResponse 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_QueryAllGuildBankCollateralAddressResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.QueryAllGuildBankCollateralAddressResponse.internalAddressAssociation": + list := []*InternalAddressAssociation{} + return protoreflect.ValueOfList(&_QueryAllGuildBankCollateralAddressResponse_1_list{list: &list}) + case "structs.structs.QueryAllGuildBankCollateralAddressResponse.pagination": + m := new(v1beta1.PageResponse) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllGuildBankCollateralAddressResponse")) + } + panic(fmt.Errorf("message structs.structs.QueryAllGuildBankCollateralAddressResponse 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_QueryAllGuildBankCollateralAddressResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryAllGuildBankCollateralAddressResponse", 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_QueryAllGuildBankCollateralAddressResponse) 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_QueryAllGuildBankCollateralAddressResponse) 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_QueryAllGuildBankCollateralAddressResponse) 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_QueryAllGuildBankCollateralAddressResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*QueryAllGuildBankCollateralAddressResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if len(x.InternalAddressAssociation) > 0 { + for _, e := range x.InternalAddressAssociation { + l = options.Size(e) + n += 1 + l + runtime.Sov(uint64(l)) + } + } + if x.Pagination != nil { + l = options.Size(x.Pagination) + 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().(*QueryAllGuildBankCollateralAddressResponse) + 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.Pagination != nil { + encoded, err := options.Marshal(x.Pagination) + 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.InternalAddressAssociation) > 0 { + for iNdEx := len(x.InternalAddressAssociation) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.InternalAddressAssociation[iNdEx]) + 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().(*QueryAllGuildBankCollateralAddressResponse) + 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: QueryAllGuildBankCollateralAddressResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllGuildBankCollateralAddressResponse: 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 InternalAddressAssociation", 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 + } + x.InternalAddressAssociation = append(x.InternalAddressAssociation, &InternalAddressAssociation{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.InternalAddressAssociation[len(x.InternalAddressAssociation)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Pagination", 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.Pagination == nil { + x.Pagination = &v1beta1.PageResponse{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Pagination); 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, + } } -func (x *_QueryAllAllocationResponse_1_list) Len() int { - if x.list == nil { - return 0 +var ( + md_QueryGetGuildByBankCollateralAddressRequest protoreflect.MessageDescriptor + fd_QueryGetGuildByBankCollateralAddressRequest_address protoreflect.FieldDescriptor +) + +func init() { + file_structs_structs_query_proto_init() + md_QueryGetGuildByBankCollateralAddressRequest = File_structs_structs_query_proto.Messages().ByName("QueryGetGuildByBankCollateralAddressRequest") + fd_QueryGetGuildByBankCollateralAddressRequest_address = md_QueryGetGuildByBankCollateralAddressRequest.Fields().ByName("address") +} + +var _ protoreflect.Message = (*fastReflection_QueryGetGuildByBankCollateralAddressRequest)(nil) + +type fastReflection_QueryGetGuildByBankCollateralAddressRequest QueryGetGuildByBankCollateralAddressRequest + +func (x *QueryGetGuildByBankCollateralAddressRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_QueryGetGuildByBankCollateralAddressRequest)(x) +} + +func (x *QueryGetGuildByBankCollateralAddressRequest) slowProtoReflect() protoreflect.Message { + mi := &file_structs_structs_query_proto_msgTypes[36] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return len(*x.list) + return mi.MessageOf(x) } -func (x *_QueryAllAllocationResponse_1_list) Get(i int) protoreflect.Value { - return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +var _fastReflection_QueryGetGuildByBankCollateralAddressRequest_messageType fastReflection_QueryGetGuildByBankCollateralAddressRequest_messageType +var _ protoreflect.MessageType = fastReflection_QueryGetGuildByBankCollateralAddressRequest_messageType{} + +type fastReflection_QueryGetGuildByBankCollateralAddressRequest_messageType struct{} + +func (x fastReflection_QueryGetGuildByBankCollateralAddressRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_QueryGetGuildByBankCollateralAddressRequest)(nil) +} +func (x fastReflection_QueryGetGuildByBankCollateralAddressRequest_messageType) New() protoreflect.Message { + return new(fastReflection_QueryGetGuildByBankCollateralAddressRequest) +} +func (x fastReflection_QueryGetGuildByBankCollateralAddressRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_QueryGetGuildByBankCollateralAddressRequest } -func (x *_QueryAllAllocationResponse_1_list) Set(i int, value protoreflect.Value) { - valueUnwrapped := value.Message() - concreteValue := valueUnwrapped.Interface().(*Allocation) - (*x.list)[i] = concreteValue +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_QueryGetGuildByBankCollateralAddressRequest) Descriptor() protoreflect.MessageDescriptor { + return md_QueryGetGuildByBankCollateralAddressRequest } -func (x *_QueryAllAllocationResponse_1_list) Append(value protoreflect.Value) { - valueUnwrapped := value.Message() - concreteValue := valueUnwrapped.Interface().(*Allocation) - *x.list = append(*x.list, concreteValue) +// 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_QueryGetGuildByBankCollateralAddressRequest) Type() protoreflect.MessageType { + return _fastReflection_QueryGetGuildByBankCollateralAddressRequest_messageType } -func (x *_QueryAllAllocationResponse_1_list) AppendMutable() protoreflect.Value { - v := new(Allocation) - *x.list = append(*x.list, v) - return protoreflect.ValueOfMessage(v.ProtoReflect()) +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_QueryGetGuildByBankCollateralAddressRequest) New() protoreflect.Message { + return new(fastReflection_QueryGetGuildByBankCollateralAddressRequest) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_QueryGetGuildByBankCollateralAddressRequest) Interface() protoreflect.ProtoMessage { + return (*QueryGetGuildByBankCollateralAddressRequest)(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_QueryGetGuildByBankCollateralAddressRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Address != "" { + value := protoreflect.ValueOfString(x.Address) + if !f(fd_QueryGetGuildByBankCollateralAddressRequest_address, 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_QueryGetGuildByBankCollateralAddressRequest) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "structs.structs.QueryGetGuildByBankCollateralAddressRequest.address": + return x.Address != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetGuildByBankCollateralAddressRequest")) + } + panic(fmt.Errorf("message structs.structs.QueryGetGuildByBankCollateralAddressRequest 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_QueryGetGuildByBankCollateralAddressRequest) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "structs.structs.QueryGetGuildByBankCollateralAddressRequest.address": + x.Address = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetGuildByBankCollateralAddressRequest")) + } + panic(fmt.Errorf("message structs.structs.QueryGetGuildByBankCollateralAddressRequest 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_QueryGetGuildByBankCollateralAddressRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "structs.structs.QueryGetGuildByBankCollateralAddressRequest.address": + value := x.Address + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetGuildByBankCollateralAddressRequest")) + } + panic(fmt.Errorf("message structs.structs.QueryGetGuildByBankCollateralAddressRequest 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_QueryGetGuildByBankCollateralAddressRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "structs.structs.QueryGetGuildByBankCollateralAddressRequest.address": + x.Address = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetGuildByBankCollateralAddressRequest")) + } + panic(fmt.Errorf("message structs.structs.QueryGetGuildByBankCollateralAddressRequest 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_QueryGetGuildByBankCollateralAddressRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.QueryGetGuildByBankCollateralAddressRequest.address": + panic(fmt.Errorf("field address of message structs.structs.QueryGetGuildByBankCollateralAddressRequest is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetGuildByBankCollateralAddressRequest")) + } + panic(fmt.Errorf("message structs.structs.QueryGetGuildByBankCollateralAddressRequest 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_QueryGetGuildByBankCollateralAddressRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.QueryGetGuildByBankCollateralAddressRequest.address": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetGuildByBankCollateralAddressRequest")) + } + panic(fmt.Errorf("message structs.structs.QueryGetGuildByBankCollateralAddressRequest 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_QueryGetGuildByBankCollateralAddressRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryGetGuildByBankCollateralAddressRequest", 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_QueryGetGuildByBankCollateralAddressRequest) 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_QueryGetGuildByBankCollateralAddressRequest) 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_QueryGetGuildByBankCollateralAddressRequest) IsValid() bool { + return x != nil } -func (x *_QueryAllAllocationResponse_1_list) Truncate(n int) { - for i := n; i < len(*x.list); i++ { - (*x.list)[i] = 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_QueryGetGuildByBankCollateralAddressRequest) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*QueryGetGuildByBankCollateralAddressRequest) + 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.Address) + 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().(*QueryGetGuildByBankCollateralAddressRequest) + 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.Address) > 0 { + i -= len(x.Address) + copy(dAtA[i:], x.Address) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Address))) + 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().(*QueryGetGuildByBankCollateralAddressRequest) + 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: QueryGetGuildByBankCollateralAddressRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryGetGuildByBankCollateralAddressRequest: 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 Address", 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.Address = 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 } - *x.list = (*x.list)[:n] -} - -func (x *_QueryAllAllocationResponse_1_list) NewElement() protoreflect.Value { - v := new(Allocation) - return protoreflect.ValueOfMessage(v.ProtoReflect()) -} - -func (x *_QueryAllAllocationResponse_1_list) IsValid() bool { - return x.list != nil -} - -var _ protoreflect.List = (*_QueryAllAllocationResponse_3_list)(nil) - -type _QueryAllAllocationResponse_3_list struct { - list *[]uint64 -} - -func (x *_QueryAllAllocationResponse_3_list) Len() int { - if x.list == nil { - return 0 + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, } - return len(*x.list) -} - -func (x *_QueryAllAllocationResponse_3_list) Get(i int) protoreflect.Value { - return protoreflect.ValueOfUint64((*x.list)[i]) -} - -func (x *_QueryAllAllocationResponse_3_list) Set(i int, value protoreflect.Value) { - valueUnwrapped := value.Uint() - concreteValue := valueUnwrapped - (*x.list)[i] = concreteValue -} - -func (x *_QueryAllAllocationResponse_3_list) Append(value protoreflect.Value) { - valueUnwrapped := value.Uint() - concreteValue := valueUnwrapped - *x.list = append(*x.list, concreteValue) -} - -func (x *_QueryAllAllocationResponse_3_list) AppendMutable() protoreflect.Value { - panic(fmt.Errorf("AppendMutable can not be called on message QueryAllAllocationResponse at list field Status as it is not of Message kind")) -} - -func (x *_QueryAllAllocationResponse_3_list) Truncate(n int) { - *x.list = (*x.list)[:n] -} - -func (x *_QueryAllAllocationResponse_3_list) NewElement() protoreflect.Value { - v := uint64(0) - return protoreflect.ValueOfUint64(v) -} - -func (x *_QueryAllAllocationResponse_3_list) IsValid() bool { - return x.list != nil } var ( - md_QueryAllAllocationResponse protoreflect.MessageDescriptor - fd_QueryAllAllocationResponse_Allocation protoreflect.FieldDescriptor - fd_QueryAllAllocationResponse_pagination protoreflect.FieldDescriptor - fd_QueryAllAllocationResponse_status protoreflect.FieldDescriptor + md_QueryGetGuildMembershipApplicationRequest protoreflect.MessageDescriptor + fd_QueryGetGuildMembershipApplicationRequest_guildId protoreflect.FieldDescriptor + fd_QueryGetGuildMembershipApplicationRequest_playerId protoreflect.FieldDescriptor ) func init() { file_structs_structs_query_proto_init() - md_QueryAllAllocationResponse = File_structs_structs_query_proto.Messages().ByName("QueryAllAllocationResponse") - fd_QueryAllAllocationResponse_Allocation = md_QueryAllAllocationResponse.Fields().ByName("Allocation") - fd_QueryAllAllocationResponse_pagination = md_QueryAllAllocationResponse.Fields().ByName("pagination") - fd_QueryAllAllocationResponse_status = md_QueryAllAllocationResponse.Fields().ByName("status") + md_QueryGetGuildMembershipApplicationRequest = File_structs_structs_query_proto.Messages().ByName("QueryGetGuildMembershipApplicationRequest") + fd_QueryGetGuildMembershipApplicationRequest_guildId = md_QueryGetGuildMembershipApplicationRequest.Fields().ByName("guildId") + fd_QueryGetGuildMembershipApplicationRequest_playerId = md_QueryGetGuildMembershipApplicationRequest.Fields().ByName("playerId") } -var _ protoreflect.Message = (*fastReflection_QueryAllAllocationResponse)(nil) +var _ protoreflect.Message = (*fastReflection_QueryGetGuildMembershipApplicationRequest)(nil) -type fastReflection_QueryAllAllocationResponse QueryAllAllocationResponse +type fastReflection_QueryGetGuildMembershipApplicationRequest QueryGetGuildMembershipApplicationRequest -func (x *QueryAllAllocationResponse) ProtoReflect() protoreflect.Message { - return (*fastReflection_QueryAllAllocationResponse)(x) +func (x *QueryGetGuildMembershipApplicationRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_QueryGetGuildMembershipApplicationRequest)(x) } -func (x *QueryAllAllocationResponse) slowProtoReflect() protoreflect.Message { - mi := &file_structs_structs_query_proto_msgTypes[14] +func (x *QueryGetGuildMembershipApplicationRequest) slowProtoReflect() protoreflect.Message { + mi := &file_structs_structs_query_proto_msgTypes[37] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6525,43 +17382,43 @@ func (x *QueryAllAllocationResponse) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_QueryAllAllocationResponse_messageType fastReflection_QueryAllAllocationResponse_messageType -var _ protoreflect.MessageType = fastReflection_QueryAllAllocationResponse_messageType{} +var _fastReflection_QueryGetGuildMembershipApplicationRequest_messageType fastReflection_QueryGetGuildMembershipApplicationRequest_messageType +var _ protoreflect.MessageType = fastReflection_QueryGetGuildMembershipApplicationRequest_messageType{} -type fastReflection_QueryAllAllocationResponse_messageType struct{} +type fastReflection_QueryGetGuildMembershipApplicationRequest_messageType struct{} -func (x fastReflection_QueryAllAllocationResponse_messageType) Zero() protoreflect.Message { - return (*fastReflection_QueryAllAllocationResponse)(nil) +func (x fastReflection_QueryGetGuildMembershipApplicationRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_QueryGetGuildMembershipApplicationRequest)(nil) } -func (x fastReflection_QueryAllAllocationResponse_messageType) New() protoreflect.Message { - return new(fastReflection_QueryAllAllocationResponse) +func (x fastReflection_QueryGetGuildMembershipApplicationRequest_messageType) New() protoreflect.Message { + return new(fastReflection_QueryGetGuildMembershipApplicationRequest) } -func (x fastReflection_QueryAllAllocationResponse_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_QueryAllAllocationResponse +func (x fastReflection_QueryGetGuildMembershipApplicationRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_QueryGetGuildMembershipApplicationRequest } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_QueryAllAllocationResponse) Descriptor() protoreflect.MessageDescriptor { - return md_QueryAllAllocationResponse +func (x *fastReflection_QueryGetGuildMembershipApplicationRequest) Descriptor() protoreflect.MessageDescriptor { + return md_QueryGetGuildMembershipApplicationRequest } // 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_QueryAllAllocationResponse) Type() protoreflect.MessageType { - return _fastReflection_QueryAllAllocationResponse_messageType +func (x *fastReflection_QueryGetGuildMembershipApplicationRequest) Type() protoreflect.MessageType { + return _fastReflection_QueryGetGuildMembershipApplicationRequest_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_QueryAllAllocationResponse) New() protoreflect.Message { - return new(fastReflection_QueryAllAllocationResponse) +func (x *fastReflection_QueryGetGuildMembershipApplicationRequest) New() protoreflect.Message { + return new(fastReflection_QueryGetGuildMembershipApplicationRequest) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_QueryAllAllocationResponse) Interface() protoreflect.ProtoMessage { - return (*QueryAllAllocationResponse)(x) +func (x *fastReflection_QueryGetGuildMembershipApplicationRequest) Interface() protoreflect.ProtoMessage { + return (*QueryGetGuildMembershipApplicationRequest)(x) } // Range iterates over every populated field in an undefined order, @@ -6569,22 +17426,16 @@ func (x *fastReflection_QueryAllAllocationResponse) Interface() protoreflect.Pro // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_QueryAllAllocationResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if len(x.Allocation) != 0 { - value := protoreflect.ValueOfList(&_QueryAllAllocationResponse_1_list{list: &x.Allocation}) - if !f(fd_QueryAllAllocationResponse_Allocation, value) { - return - } - } - if x.Pagination != nil { - value := protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) - if !f(fd_QueryAllAllocationResponse_pagination, value) { +func (x *fastReflection_QueryGetGuildMembershipApplicationRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.GuildId != "" { + value := protoreflect.ValueOfString(x.GuildId) + if !f(fd_QueryGetGuildMembershipApplicationRequest_guildId, value) { return } } - if len(x.Status) != 0 { - value := protoreflect.ValueOfList(&_QueryAllAllocationResponse_3_list{list: &x.Status}) - if !f(fd_QueryAllAllocationResponse_status, value) { + if x.PlayerId != "" { + value := protoreflect.ValueOfString(x.PlayerId) + if !f(fd_QueryGetGuildMembershipApplicationRequest_playerId, value) { return } } @@ -6601,19 +17452,17 @@ func (x *fastReflection_QueryAllAllocationResponse) Range(f func(protoreflect.Fi // 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_QueryAllAllocationResponse) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_QueryGetGuildMembershipApplicationRequest) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.QueryAllAllocationResponse.Allocation": - return len(x.Allocation) != 0 - case "structs.structs.QueryAllAllocationResponse.pagination": - return x.Pagination != nil - case "structs.structs.QueryAllAllocationResponse.status": - return len(x.Status) != 0 + case "structs.structs.QueryGetGuildMembershipApplicationRequest.guildId": + return x.GuildId != "" + case "structs.structs.QueryGetGuildMembershipApplicationRequest.playerId": + return x.PlayerId != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllAllocationResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetGuildMembershipApplicationRequest")) } - panic(fmt.Errorf("message structs.structs.QueryAllAllocationResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetGuildMembershipApplicationRequest does not contain field %s", fd.FullName())) } } @@ -6623,19 +17472,17 @@ func (x *fastReflection_QueryAllAllocationResponse) Has(fd protoreflect.FieldDes // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAllAllocationResponse) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_QueryGetGuildMembershipApplicationRequest) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.QueryAllAllocationResponse.Allocation": - x.Allocation = nil - case "structs.structs.QueryAllAllocationResponse.pagination": - x.Pagination = nil - case "structs.structs.QueryAllAllocationResponse.status": - x.Status = nil + case "structs.structs.QueryGetGuildMembershipApplicationRequest.guildId": + x.GuildId = "" + case "structs.structs.QueryGetGuildMembershipApplicationRequest.playerId": + x.PlayerId = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllAllocationResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetGuildMembershipApplicationRequest")) } - panic(fmt.Errorf("message structs.structs.QueryAllAllocationResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetGuildMembershipApplicationRequest does not contain field %s", fd.FullName())) } } @@ -6645,28 +17492,19 @@ func (x *fastReflection_QueryAllAllocationResponse) Clear(fd protoreflect.FieldD // 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_QueryAllAllocationResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryGetGuildMembershipApplicationRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.QueryAllAllocationResponse.Allocation": - if len(x.Allocation) == 0 { - return protoreflect.ValueOfList(&_QueryAllAllocationResponse_1_list{}) - } - listValue := &_QueryAllAllocationResponse_1_list{list: &x.Allocation} - return protoreflect.ValueOfList(listValue) - case "structs.structs.QueryAllAllocationResponse.pagination": - value := x.Pagination - return protoreflect.ValueOfMessage(value.ProtoReflect()) - case "structs.structs.QueryAllAllocationResponse.status": - if len(x.Status) == 0 { - return protoreflect.ValueOfList(&_QueryAllAllocationResponse_3_list{}) - } - listValue := &_QueryAllAllocationResponse_3_list{list: &x.Status} - return protoreflect.ValueOfList(listValue) + case "structs.structs.QueryGetGuildMembershipApplicationRequest.guildId": + value := x.GuildId + return protoreflect.ValueOfString(value) + case "structs.structs.QueryGetGuildMembershipApplicationRequest.playerId": + value := x.PlayerId + return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllAllocationResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetGuildMembershipApplicationRequest")) } - panic(fmt.Errorf("message structs.structs.QueryAllAllocationResponse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetGuildMembershipApplicationRequest does not contain field %s", descriptor.FullName())) } } @@ -6680,23 +17518,17 @@ func (x *fastReflection_QueryAllAllocationResponse) Get(descriptor protoreflect. // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAllAllocationResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_QueryGetGuildMembershipApplicationRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.QueryAllAllocationResponse.Allocation": - lv := value.List() - clv := lv.(*_QueryAllAllocationResponse_1_list) - x.Allocation = *clv.list - case "structs.structs.QueryAllAllocationResponse.pagination": - x.Pagination = value.Message().Interface().(*v1beta1.PageResponse) - case "structs.structs.QueryAllAllocationResponse.status": - lv := value.List() - clv := lv.(*_QueryAllAllocationResponse_3_list) - x.Status = *clv.list + case "structs.structs.QueryGetGuildMembershipApplicationRequest.guildId": + x.GuildId = value.Interface().(string) + case "structs.structs.QueryGetGuildMembershipApplicationRequest.playerId": + x.PlayerId = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllAllocationResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetGuildMembershipApplicationRequest")) } - panic(fmt.Errorf("message structs.structs.QueryAllAllocationResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetGuildMembershipApplicationRequest does not contain field %s", fd.FullName())) } } @@ -6710,62 +17542,44 @@ func (x *fastReflection_QueryAllAllocationResponse) Set(fd protoreflect.FieldDes // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAllAllocationResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryGetGuildMembershipApplicationRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.QueryAllAllocationResponse.Allocation": - if x.Allocation == nil { - x.Allocation = []*Allocation{} - } - value := &_QueryAllAllocationResponse_1_list{list: &x.Allocation} - return protoreflect.ValueOfList(value) - case "structs.structs.QueryAllAllocationResponse.pagination": - if x.Pagination == nil { - x.Pagination = new(v1beta1.PageResponse) - } - return protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) - case "structs.structs.QueryAllAllocationResponse.status": - if x.Status == nil { - x.Status = []uint64{} - } - value := &_QueryAllAllocationResponse_3_list{list: &x.Status} - return protoreflect.ValueOfList(value) + case "structs.structs.QueryGetGuildMembershipApplicationRequest.guildId": + panic(fmt.Errorf("field guildId of message structs.structs.QueryGetGuildMembershipApplicationRequest is not mutable")) + case "structs.structs.QueryGetGuildMembershipApplicationRequest.playerId": + panic(fmt.Errorf("field playerId of message structs.structs.QueryGetGuildMembershipApplicationRequest is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllAllocationResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetGuildMembershipApplicationRequest")) } - panic(fmt.Errorf("message structs.structs.QueryAllAllocationResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetGuildMembershipApplicationRequest 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_QueryAllAllocationResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryGetGuildMembershipApplicationRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.QueryAllAllocationResponse.Allocation": - list := []*Allocation{} - return protoreflect.ValueOfList(&_QueryAllAllocationResponse_1_list{list: &list}) - case "structs.structs.QueryAllAllocationResponse.pagination": - m := new(v1beta1.PageResponse) - return protoreflect.ValueOfMessage(m.ProtoReflect()) - case "structs.structs.QueryAllAllocationResponse.status": - list := []uint64{} - return protoreflect.ValueOfList(&_QueryAllAllocationResponse_3_list{list: &list}) + case "structs.structs.QueryGetGuildMembershipApplicationRequest.guildId": + return protoreflect.ValueOfString("") + case "structs.structs.QueryGetGuildMembershipApplicationRequest.playerId": + return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllAllocationResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetGuildMembershipApplicationRequest")) } - panic(fmt.Errorf("message structs.structs.QueryAllAllocationResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetGuildMembershipApplicationRequest 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_QueryAllAllocationResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_QueryGetGuildMembershipApplicationRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryAllAllocationResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryGetGuildMembershipApplicationRequest", d.FullName())) } panic("unreachable") } @@ -6773,7 +17587,7 @@ func (x *fastReflection_QueryAllAllocationResponse) WhichOneof(d protoreflect.On // 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_QueryAllAllocationResponse) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_QueryGetGuildMembershipApplicationRequest) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -6784,7 +17598,7 @@ func (x *fastReflection_QueryAllAllocationResponse) GetUnknown() protoreflect.Ra // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAllAllocationResponse) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_QueryGetGuildMembershipApplicationRequest) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -6796,7 +17610,7 @@ func (x *fastReflection_QueryAllAllocationResponse) SetUnknown(fields protorefle // 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_QueryAllAllocationResponse) IsValid() bool { +func (x *fastReflection_QueryGetGuildMembershipApplicationRequest) IsValid() bool { return x != nil } @@ -6806,9 +17620,9 @@ func (x *fastReflection_QueryAllAllocationResponse) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_QueryAllAllocationResponse) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_QueryGetGuildMembershipApplicationRequest) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*QueryAllAllocationResponse) + x := input.Message.Interface().(*QueryGetGuildMembershipApplicationRequest) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -6820,22 +17634,13 @@ func (x *fastReflection_QueryAllAllocationResponse) ProtoMethods() *protoiface.M var n int var l int _ = l - if len(x.Allocation) > 0 { - for _, e := range x.Allocation { - l = options.Size(e) - n += 1 + l + runtime.Sov(uint64(l)) - } - } - if x.Pagination != nil { - l = options.Size(x.Pagination) + l = len(x.GuildId) + if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } - if len(x.Status) > 0 { - l = 0 - for _, e := range x.Status { - l += runtime.Sov(uint64(e)) - } - n += 1 + runtime.Sov(uint64(l)) + l + l = len(x.PlayerId) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) } if x.unknownFields != nil { n += len(x.unknownFields) @@ -6847,7 +17652,7 @@ func (x *fastReflection_QueryAllAllocationResponse) ProtoMethods() *protoiface.M } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*QueryAllAllocationResponse) + x := input.Message.Interface().(*QueryGetGuildMembershipApplicationRequest) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -6866,55 +17671,19 @@ func (x *fastReflection_QueryAllAllocationResponse) ProtoMethods() *protoiface.M i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if len(x.Status) > 0 { - var pksize2 int - for _, num := range x.Status { - pksize2 += runtime.Sov(uint64(num)) - } - i -= pksize2 - j1 := i - for _, num := range x.Status { - for num >= 1<<7 { - dAtA[j1] = uint8(uint64(num)&0x7f | 0x80) - num >>= 7 - j1++ - } - dAtA[j1] = uint8(num) - j1++ - } - i = runtime.EncodeVarint(dAtA, i, uint64(pksize2)) - i-- - dAtA[i] = 0x1a - } - if x.Pagination != nil { - encoded, err := options.Marshal(x.Pagination) - 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))) + if len(x.PlayerId) > 0 { + i -= len(x.PlayerId) + copy(dAtA[i:], x.PlayerId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.PlayerId))) i-- dAtA[i] = 0x12 } - if len(x.Allocation) > 0 { - for iNdEx := len(x.Allocation) - 1; iNdEx >= 0; iNdEx-- { - encoded, err := options.Marshal(x.Allocation[iNdEx]) - 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 len(x.GuildId) > 0 { + i -= len(x.GuildId) + copy(dAtA[i:], x.GuildId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.GuildId))) + i-- + dAtA[i] = 0xa } if input.Buf != nil { input.Buf = append(input.Buf, dAtA...) @@ -6927,7 +17696,7 @@ func (x *fastReflection_QueryAllAllocationResponse) ProtoMethods() *protoiface.M }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*QueryAllAllocationResponse) + x := input.Message.Interface().(*QueryGetGuildMembershipApplicationRequest) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -6959,17 +17728,17 @@ func (x *fastReflection_QueryAllAllocationResponse) ProtoMethods() *protoiface.M fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllAllocationResponse: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryGetGuildMembershipApplicationRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllAllocationResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryGetGuildMembershipApplicationRequest: 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 Allocation", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field GuildId", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -6979,31 +17748,29 @@ func (x *fastReflection_QueryAllAllocationResponse) ProtoMethods() *protoiface.M } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength } - postIndex := iNdEx + msglen + 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.Allocation = append(x.Allocation, &Allocation{}) - if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Allocation[len(x.Allocation)-1]); err != nil { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err - } + x.GuildId = 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 Pagination", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field PlayerId", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -7013,104 +17780,24 @@ func (x *fastReflection_QueryAllAllocationResponse) ProtoMethods() *protoiface.M } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength } - postIndex := iNdEx + msglen + 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 } - if x.Pagination == nil { - x.Pagination = &v1beta1.PageResponse{} - } - if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Pagination); err != nil { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err - } + x.PlayerId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 3: - if wireType == 0 { - var v 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++ - v |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - x.Status = append(x.Status, v) - } else if wireType == 2 { - var packedLen 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++ - packedLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if packedLen < 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength - } - postIndex := iNdEx + packedLen - 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 - } - var elementCount int - var count int - for _, integer := range dAtA[iNdEx:postIndex] { - if integer < 128 { - count++ - } - } - elementCount = count - if elementCount != 0 && len(x.Status) == 0 { - x.Status = make([]uint64, 0, elementCount) - } - for iNdEx < postIndex { - var v 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++ - v |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - x.Status = append(x.Status, v) - } - } else { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) - } default: iNdEx = preIndex skippy, err := runtime.Skip(dAtA[iNdEx:]) @@ -7147,26 +17834,26 @@ func (x *fastReflection_QueryAllAllocationResponse) ProtoMethods() *protoiface.M } var ( - md_QueryGetFleetRequest protoreflect.MessageDescriptor - fd_QueryGetFleetRequest_id protoreflect.FieldDescriptor + md_QueryGetGuildMembershipApplicationResponse protoreflect.MessageDescriptor + fd_QueryGetGuildMembershipApplicationResponse_GuildMembershipApplication protoreflect.FieldDescriptor ) func init() { file_structs_structs_query_proto_init() - md_QueryGetFleetRequest = File_structs_structs_query_proto.Messages().ByName("QueryGetFleetRequest") - fd_QueryGetFleetRequest_id = md_QueryGetFleetRequest.Fields().ByName("id") + md_QueryGetGuildMembershipApplicationResponse = File_structs_structs_query_proto.Messages().ByName("QueryGetGuildMembershipApplicationResponse") + fd_QueryGetGuildMembershipApplicationResponse_GuildMembershipApplication = md_QueryGetGuildMembershipApplicationResponse.Fields().ByName("GuildMembershipApplication") } -var _ protoreflect.Message = (*fastReflection_QueryGetFleetRequest)(nil) +var _ protoreflect.Message = (*fastReflection_QueryGetGuildMembershipApplicationResponse)(nil) -type fastReflection_QueryGetFleetRequest QueryGetFleetRequest +type fastReflection_QueryGetGuildMembershipApplicationResponse QueryGetGuildMembershipApplicationResponse -func (x *QueryGetFleetRequest) ProtoReflect() protoreflect.Message { - return (*fastReflection_QueryGetFleetRequest)(x) +func (x *QueryGetGuildMembershipApplicationResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_QueryGetGuildMembershipApplicationResponse)(x) } -func (x *QueryGetFleetRequest) slowProtoReflect() protoreflect.Message { - mi := &file_structs_structs_query_proto_msgTypes[15] +func (x *QueryGetGuildMembershipApplicationResponse) slowProtoReflect() protoreflect.Message { + mi := &file_structs_structs_query_proto_msgTypes[38] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7177,43 +17864,43 @@ func (x *QueryGetFleetRequest) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_QueryGetFleetRequest_messageType fastReflection_QueryGetFleetRequest_messageType -var _ protoreflect.MessageType = fastReflection_QueryGetFleetRequest_messageType{} +var _fastReflection_QueryGetGuildMembershipApplicationResponse_messageType fastReflection_QueryGetGuildMembershipApplicationResponse_messageType +var _ protoreflect.MessageType = fastReflection_QueryGetGuildMembershipApplicationResponse_messageType{} -type fastReflection_QueryGetFleetRequest_messageType struct{} +type fastReflection_QueryGetGuildMembershipApplicationResponse_messageType struct{} -func (x fastReflection_QueryGetFleetRequest_messageType) Zero() protoreflect.Message { - return (*fastReflection_QueryGetFleetRequest)(nil) +func (x fastReflection_QueryGetGuildMembershipApplicationResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_QueryGetGuildMembershipApplicationResponse)(nil) } -func (x fastReflection_QueryGetFleetRequest_messageType) New() protoreflect.Message { - return new(fastReflection_QueryGetFleetRequest) +func (x fastReflection_QueryGetGuildMembershipApplicationResponse_messageType) New() protoreflect.Message { + return new(fastReflection_QueryGetGuildMembershipApplicationResponse) } -func (x fastReflection_QueryGetFleetRequest_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_QueryGetFleetRequest +func (x fastReflection_QueryGetGuildMembershipApplicationResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_QueryGetGuildMembershipApplicationResponse } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_QueryGetFleetRequest) Descriptor() protoreflect.MessageDescriptor { - return md_QueryGetFleetRequest +func (x *fastReflection_QueryGetGuildMembershipApplicationResponse) Descriptor() protoreflect.MessageDescriptor { + return md_QueryGetGuildMembershipApplicationResponse } // 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_QueryGetFleetRequest) Type() protoreflect.MessageType { - return _fastReflection_QueryGetFleetRequest_messageType +func (x *fastReflection_QueryGetGuildMembershipApplicationResponse) Type() protoreflect.MessageType { + return _fastReflection_QueryGetGuildMembershipApplicationResponse_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_QueryGetFleetRequest) New() protoreflect.Message { - return new(fastReflection_QueryGetFleetRequest) +func (x *fastReflection_QueryGetGuildMembershipApplicationResponse) New() protoreflect.Message { + return new(fastReflection_QueryGetGuildMembershipApplicationResponse) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_QueryGetFleetRequest) Interface() protoreflect.ProtoMessage { - return (*QueryGetFleetRequest)(x) +func (x *fastReflection_QueryGetGuildMembershipApplicationResponse) Interface() protoreflect.ProtoMessage { + return (*QueryGetGuildMembershipApplicationResponse)(x) } // Range iterates over every populated field in an undefined order, @@ -7221,10 +17908,10 @@ func (x *fastReflection_QueryGetFleetRequest) Interface() protoreflect.ProtoMess // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_QueryGetFleetRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.Id != "" { - value := protoreflect.ValueOfString(x.Id) - if !f(fd_QueryGetFleetRequest_id, value) { +func (x *fastReflection_QueryGetGuildMembershipApplicationResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.GuildMembershipApplication != nil { + value := protoreflect.ValueOfMessage(x.GuildMembershipApplication.ProtoReflect()) + if !f(fd_QueryGetGuildMembershipApplicationResponse_GuildMembershipApplication, value) { return } } @@ -7241,15 +17928,15 @@ func (x *fastReflection_QueryGetFleetRequest) Range(f func(protoreflect.FieldDes // 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_QueryGetFleetRequest) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_QueryGetGuildMembershipApplicationResponse) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.QueryGetFleetRequest.id": - return x.Id != "" + case "structs.structs.QueryGetGuildMembershipApplicationResponse.GuildMembershipApplication": + return x.GuildMembershipApplication != nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetFleetRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetGuildMembershipApplicationResponse")) } - panic(fmt.Errorf("message structs.structs.QueryGetFleetRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetGuildMembershipApplicationResponse does not contain field %s", fd.FullName())) } } @@ -7259,15 +17946,15 @@ func (x *fastReflection_QueryGetFleetRequest) Has(fd protoreflect.FieldDescripto // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryGetFleetRequest) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_QueryGetGuildMembershipApplicationResponse) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.QueryGetFleetRequest.id": - x.Id = "" + case "structs.structs.QueryGetGuildMembershipApplicationResponse.GuildMembershipApplication": + x.GuildMembershipApplication = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetFleetRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetGuildMembershipApplicationResponse")) } - panic(fmt.Errorf("message structs.structs.QueryGetFleetRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetGuildMembershipApplicationResponse does not contain field %s", fd.FullName())) } } @@ -7277,16 +17964,16 @@ func (x *fastReflection_QueryGetFleetRequest) Clear(fd protoreflect.FieldDescrip // 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_QueryGetFleetRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryGetGuildMembershipApplicationResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.QueryGetFleetRequest.id": - value := x.Id - return protoreflect.ValueOfString(value) + case "structs.structs.QueryGetGuildMembershipApplicationResponse.GuildMembershipApplication": + value := x.GuildMembershipApplication + return protoreflect.ValueOfMessage(value.ProtoReflect()) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetFleetRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetGuildMembershipApplicationResponse")) } - panic(fmt.Errorf("message structs.structs.QueryGetFleetRequest does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetGuildMembershipApplicationResponse does not contain field %s", descriptor.FullName())) } } @@ -7300,15 +17987,15 @@ func (x *fastReflection_QueryGetFleetRequest) Get(descriptor protoreflect.FieldD // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryGetFleetRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_QueryGetGuildMembershipApplicationResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.QueryGetFleetRequest.id": - x.Id = value.Interface().(string) + case "structs.structs.QueryGetGuildMembershipApplicationResponse.GuildMembershipApplication": + x.GuildMembershipApplication = value.Message().Interface().(*GuildMembershipApplication) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetFleetRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetGuildMembershipApplicationResponse")) } - panic(fmt.Errorf("message structs.structs.QueryGetFleetRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetGuildMembershipApplicationResponse does not contain field %s", fd.FullName())) } } @@ -7322,40 +18009,44 @@ func (x *fastReflection_QueryGetFleetRequest) Set(fd protoreflect.FieldDescripto // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryGetFleetRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryGetGuildMembershipApplicationResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.QueryGetFleetRequest.id": - panic(fmt.Errorf("field id of message structs.structs.QueryGetFleetRequest is not mutable")) + case "structs.structs.QueryGetGuildMembershipApplicationResponse.GuildMembershipApplication": + if x.GuildMembershipApplication == nil { + x.GuildMembershipApplication = new(GuildMembershipApplication) + } + return protoreflect.ValueOfMessage(x.GuildMembershipApplication.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetFleetRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetGuildMembershipApplicationResponse")) } - panic(fmt.Errorf("message structs.structs.QueryGetFleetRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetGuildMembershipApplicationResponse 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_QueryGetFleetRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryGetGuildMembershipApplicationResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.QueryGetFleetRequest.id": - return protoreflect.ValueOfString("") + case "structs.structs.QueryGetGuildMembershipApplicationResponse.GuildMembershipApplication": + m := new(GuildMembershipApplication) + return protoreflect.ValueOfMessage(m.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetFleetRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetGuildMembershipApplicationResponse")) } - panic(fmt.Errorf("message structs.structs.QueryGetFleetRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetGuildMembershipApplicationResponse 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_QueryGetFleetRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_QueryGetGuildMembershipApplicationResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryGetFleetRequest", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryGetGuildMembershipApplicationResponse", d.FullName())) } panic("unreachable") } @@ -7363,7 +18054,7 @@ func (x *fastReflection_QueryGetFleetRequest) WhichOneof(d protoreflect.OneofDes // 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_QueryGetFleetRequest) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_QueryGetGuildMembershipApplicationResponse) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -7374,7 +18065,7 @@ func (x *fastReflection_QueryGetFleetRequest) GetUnknown() protoreflect.RawField // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryGetFleetRequest) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_QueryGetGuildMembershipApplicationResponse) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -7386,7 +18077,7 @@ func (x *fastReflection_QueryGetFleetRequest) SetUnknown(fields protoreflect.Raw // 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_QueryGetFleetRequest) IsValid() bool { +func (x *fastReflection_QueryGetGuildMembershipApplicationResponse) IsValid() bool { return x != nil } @@ -7396,9 +18087,9 @@ func (x *fastReflection_QueryGetFleetRequest) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_QueryGetFleetRequest) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_QueryGetGuildMembershipApplicationResponse) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*QueryGetFleetRequest) + x := input.Message.Interface().(*QueryGetGuildMembershipApplicationResponse) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -7410,8 +18101,8 @@ func (x *fastReflection_QueryGetFleetRequest) ProtoMethods() *protoiface.Methods var n int var l int _ = l - l = len(x.Id) - if l > 0 { + if x.GuildMembershipApplication != nil { + l = options.Size(x.GuildMembershipApplication) n += 1 + l + runtime.Sov(uint64(l)) } if x.unknownFields != nil { @@ -7424,7 +18115,7 @@ func (x *fastReflection_QueryGetFleetRequest) ProtoMethods() *protoiface.Methods } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*QueryGetFleetRequest) + x := input.Message.Interface().(*QueryGetGuildMembershipApplicationResponse) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -7443,10 +18134,17 @@ func (x *fastReflection_QueryGetFleetRequest) ProtoMethods() *protoiface.Methods i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if len(x.Id) > 0 { - i -= len(x.Id) - copy(dAtA[i:], x.Id) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Id))) + if x.GuildMembershipApplication != nil { + encoded, err := options.Marshal(x.GuildMembershipApplication) + 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 } @@ -7461,7 +18159,7 @@ func (x *fastReflection_QueryGetFleetRequest) ProtoMethods() *protoiface.Methods }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*QueryGetFleetRequest) + x := input.Message.Interface().(*QueryGetGuildMembershipApplicationResponse) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -7493,17 +18191,17 @@ func (x *fastReflection_QueryGetFleetRequest) ProtoMethods() *protoiface.Methods fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryGetFleetRequest: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryGetGuildMembershipApplicationResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryGetFleetRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryGetGuildMembershipApplicationResponse: 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 Id", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field GuildMembershipApplication", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -7513,23 +18211,27 @@ func (x *fastReflection_QueryGetFleetRequest) ProtoMethods() *protoiface.Methods } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength } - postIndex := iNdEx + intStringLen + 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 } - x.Id = string(dAtA[iNdEx:postIndex]) + if x.GuildMembershipApplication == nil { + x.GuildMembershipApplication = &GuildMembershipApplication{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.GuildMembershipApplication); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } iNdEx = postIndex default: iNdEx = preIndex @@ -7567,26 +18269,26 @@ func (x *fastReflection_QueryGetFleetRequest) ProtoMethods() *protoiface.Methods } var ( - md_QueryGetFleetResponse protoreflect.MessageDescriptor - fd_QueryGetFleetResponse_Fleet protoreflect.FieldDescriptor + md_QueryAllGuildMembershipApplicationRequest protoreflect.MessageDescriptor + fd_QueryAllGuildMembershipApplicationRequest_pagination protoreflect.FieldDescriptor ) func init() { file_structs_structs_query_proto_init() - md_QueryGetFleetResponse = File_structs_structs_query_proto.Messages().ByName("QueryGetFleetResponse") - fd_QueryGetFleetResponse_Fleet = md_QueryGetFleetResponse.Fields().ByName("Fleet") + md_QueryAllGuildMembershipApplicationRequest = File_structs_structs_query_proto.Messages().ByName("QueryAllGuildMembershipApplicationRequest") + fd_QueryAllGuildMembershipApplicationRequest_pagination = md_QueryAllGuildMembershipApplicationRequest.Fields().ByName("pagination") } -var _ protoreflect.Message = (*fastReflection_QueryGetFleetResponse)(nil) +var _ protoreflect.Message = (*fastReflection_QueryAllGuildMembershipApplicationRequest)(nil) -type fastReflection_QueryGetFleetResponse QueryGetFleetResponse +type fastReflection_QueryAllGuildMembershipApplicationRequest QueryAllGuildMembershipApplicationRequest -func (x *QueryGetFleetResponse) ProtoReflect() protoreflect.Message { - return (*fastReflection_QueryGetFleetResponse)(x) +func (x *QueryAllGuildMembershipApplicationRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_QueryAllGuildMembershipApplicationRequest)(x) } -func (x *QueryGetFleetResponse) slowProtoReflect() protoreflect.Message { - mi := &file_structs_structs_query_proto_msgTypes[16] +func (x *QueryAllGuildMembershipApplicationRequest) slowProtoReflect() protoreflect.Message { + mi := &file_structs_structs_query_proto_msgTypes[39] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7597,43 +18299,43 @@ func (x *QueryGetFleetResponse) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_QueryGetFleetResponse_messageType fastReflection_QueryGetFleetResponse_messageType -var _ protoreflect.MessageType = fastReflection_QueryGetFleetResponse_messageType{} +var _fastReflection_QueryAllGuildMembershipApplicationRequest_messageType fastReflection_QueryAllGuildMembershipApplicationRequest_messageType +var _ protoreflect.MessageType = fastReflection_QueryAllGuildMembershipApplicationRequest_messageType{} -type fastReflection_QueryGetFleetResponse_messageType struct{} +type fastReflection_QueryAllGuildMembershipApplicationRequest_messageType struct{} -func (x fastReflection_QueryGetFleetResponse_messageType) Zero() protoreflect.Message { - return (*fastReflection_QueryGetFleetResponse)(nil) +func (x fastReflection_QueryAllGuildMembershipApplicationRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_QueryAllGuildMembershipApplicationRequest)(nil) } -func (x fastReflection_QueryGetFleetResponse_messageType) New() protoreflect.Message { - return new(fastReflection_QueryGetFleetResponse) +func (x fastReflection_QueryAllGuildMembershipApplicationRequest_messageType) New() protoreflect.Message { + return new(fastReflection_QueryAllGuildMembershipApplicationRequest) } -func (x fastReflection_QueryGetFleetResponse_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_QueryGetFleetResponse +func (x fastReflection_QueryAllGuildMembershipApplicationRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_QueryAllGuildMembershipApplicationRequest } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_QueryGetFleetResponse) Descriptor() protoreflect.MessageDescriptor { - return md_QueryGetFleetResponse +func (x *fastReflection_QueryAllGuildMembershipApplicationRequest) Descriptor() protoreflect.MessageDescriptor { + return md_QueryAllGuildMembershipApplicationRequest } // 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_QueryGetFleetResponse) Type() protoreflect.MessageType { - return _fastReflection_QueryGetFleetResponse_messageType +func (x *fastReflection_QueryAllGuildMembershipApplicationRequest) Type() protoreflect.MessageType { + return _fastReflection_QueryAllGuildMembershipApplicationRequest_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_QueryGetFleetResponse) New() protoreflect.Message { - return new(fastReflection_QueryGetFleetResponse) +func (x *fastReflection_QueryAllGuildMembershipApplicationRequest) New() protoreflect.Message { + return new(fastReflection_QueryAllGuildMembershipApplicationRequest) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_QueryGetFleetResponse) Interface() protoreflect.ProtoMessage { - return (*QueryGetFleetResponse)(x) +func (x *fastReflection_QueryAllGuildMembershipApplicationRequest) Interface() protoreflect.ProtoMessage { + return (*QueryAllGuildMembershipApplicationRequest)(x) } // Range iterates over every populated field in an undefined order, @@ -7641,10 +18343,10 @@ func (x *fastReflection_QueryGetFleetResponse) Interface() protoreflect.ProtoMes // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_QueryGetFleetResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.Fleet != nil { - value := protoreflect.ValueOfMessage(x.Fleet.ProtoReflect()) - if !f(fd_QueryGetFleetResponse_Fleet, value) { +func (x *fastReflection_QueryAllGuildMembershipApplicationRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Pagination != nil { + value := protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) + if !f(fd_QueryAllGuildMembershipApplicationRequest_pagination, value) { return } } @@ -7661,15 +18363,15 @@ func (x *fastReflection_QueryGetFleetResponse) Range(f func(protoreflect.FieldDe // 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_QueryGetFleetResponse) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_QueryAllGuildMembershipApplicationRequest) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.QueryGetFleetResponse.Fleet": - return x.Fleet != nil + case "structs.structs.QueryAllGuildMembershipApplicationRequest.pagination": + return x.Pagination != nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetFleetResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllGuildMembershipApplicationRequest")) } - panic(fmt.Errorf("message structs.structs.QueryGetFleetResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllGuildMembershipApplicationRequest does not contain field %s", fd.FullName())) } } @@ -7679,15 +18381,15 @@ func (x *fastReflection_QueryGetFleetResponse) Has(fd protoreflect.FieldDescript // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryGetFleetResponse) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_QueryAllGuildMembershipApplicationRequest) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.QueryGetFleetResponse.Fleet": - x.Fleet = nil + case "structs.structs.QueryAllGuildMembershipApplicationRequest.pagination": + x.Pagination = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetFleetResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllGuildMembershipApplicationRequest")) } - panic(fmt.Errorf("message structs.structs.QueryGetFleetResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllGuildMembershipApplicationRequest does not contain field %s", fd.FullName())) } } @@ -7697,16 +18399,16 @@ func (x *fastReflection_QueryGetFleetResponse) Clear(fd protoreflect.FieldDescri // 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_QueryGetFleetResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { - switch descriptor.FullName() { - case "structs.structs.QueryGetFleetResponse.Fleet": - value := x.Fleet +func (x *fastReflection_QueryAllGuildMembershipApplicationRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "structs.structs.QueryAllGuildMembershipApplicationRequest.pagination": + value := x.Pagination return protoreflect.ValueOfMessage(value.ProtoReflect()) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetFleetResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllGuildMembershipApplicationRequest")) } - panic(fmt.Errorf("message structs.structs.QueryGetFleetResponse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllGuildMembershipApplicationRequest does not contain field %s", descriptor.FullName())) } } @@ -7720,15 +18422,15 @@ func (x *fastReflection_QueryGetFleetResponse) Get(descriptor protoreflect.Field // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryGetFleetResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_QueryAllGuildMembershipApplicationRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.QueryGetFleetResponse.Fleet": - x.Fleet = value.Message().Interface().(*Fleet) + case "structs.structs.QueryAllGuildMembershipApplicationRequest.pagination": + x.Pagination = value.Message().Interface().(*v1beta1.PageRequest) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetFleetResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllGuildMembershipApplicationRequest")) } - panic(fmt.Errorf("message structs.structs.QueryGetFleetResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllGuildMembershipApplicationRequest does not contain field %s", fd.FullName())) } } @@ -7742,44 +18444,44 @@ func (x *fastReflection_QueryGetFleetResponse) Set(fd protoreflect.FieldDescript // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryGetFleetResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryAllGuildMembershipApplicationRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.QueryGetFleetResponse.Fleet": - if x.Fleet == nil { - x.Fleet = new(Fleet) + case "structs.structs.QueryAllGuildMembershipApplicationRequest.pagination": + if x.Pagination == nil { + x.Pagination = new(v1beta1.PageRequest) } - return protoreflect.ValueOfMessage(x.Fleet.ProtoReflect()) + return protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetFleetResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllGuildMembershipApplicationRequest")) } - panic(fmt.Errorf("message structs.structs.QueryGetFleetResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllGuildMembershipApplicationRequest 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_QueryGetFleetResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryAllGuildMembershipApplicationRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.QueryGetFleetResponse.Fleet": - m := new(Fleet) + case "structs.structs.QueryAllGuildMembershipApplicationRequest.pagination": + m := new(v1beta1.PageRequest) return protoreflect.ValueOfMessage(m.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetFleetResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllGuildMembershipApplicationRequest")) } - panic(fmt.Errorf("message structs.structs.QueryGetFleetResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllGuildMembershipApplicationRequest 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_QueryGetFleetResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_QueryAllGuildMembershipApplicationRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryGetFleetResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryAllGuildMembershipApplicationRequest", d.FullName())) } panic("unreachable") } @@ -7787,7 +18489,7 @@ func (x *fastReflection_QueryGetFleetResponse) WhichOneof(d protoreflect.OneofDe // 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_QueryGetFleetResponse) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_QueryAllGuildMembershipApplicationRequest) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -7798,7 +18500,7 @@ func (x *fastReflection_QueryGetFleetResponse) GetUnknown() protoreflect.RawFiel // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryGetFleetResponse) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_QueryAllGuildMembershipApplicationRequest) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -7810,7 +18512,7 @@ func (x *fastReflection_QueryGetFleetResponse) SetUnknown(fields protoreflect.Ra // 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_QueryGetFleetResponse) IsValid() bool { +func (x *fastReflection_QueryAllGuildMembershipApplicationRequest) IsValid() bool { return x != nil } @@ -7820,9 +18522,9 @@ func (x *fastReflection_QueryGetFleetResponse) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_QueryGetFleetResponse) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_QueryAllGuildMembershipApplicationRequest) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*QueryGetFleetResponse) + x := input.Message.Interface().(*QueryAllGuildMembershipApplicationRequest) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -7834,8 +18536,8 @@ func (x *fastReflection_QueryGetFleetResponse) ProtoMethods() *protoiface.Method var n int var l int _ = l - if x.Fleet != nil { - l = options.Size(x.Fleet) + if x.Pagination != nil { + l = options.Size(x.Pagination) n += 1 + l + runtime.Sov(uint64(l)) } if x.unknownFields != nil { @@ -7848,7 +18550,7 @@ func (x *fastReflection_QueryGetFleetResponse) ProtoMethods() *protoiface.Method } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*QueryGetFleetResponse) + x := input.Message.Interface().(*QueryAllGuildMembershipApplicationRequest) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -7867,8 +18569,8 @@ func (x *fastReflection_QueryGetFleetResponse) ProtoMethods() *protoiface.Method i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if x.Fleet != nil { - encoded, err := options.Marshal(x.Fleet) + if x.Pagination != nil { + encoded, err := options.Marshal(x.Pagination) if err != nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -7892,7 +18594,7 @@ func (x *fastReflection_QueryGetFleetResponse) ProtoMethods() *protoiface.Method }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*QueryGetFleetResponse) + x := input.Message.Interface().(*QueryAllGuildMembershipApplicationRequest) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -7924,15 +18626,15 @@ func (x *fastReflection_QueryGetFleetResponse) ProtoMethods() *protoiface.Method fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryGetFleetResponse: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllGuildMembershipApplicationRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryGetFleetResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllGuildMembershipApplicationRequest: 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 Fleet", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Pagination", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -7959,10 +18661,10 @@ func (x *fastReflection_QueryGetFleetResponse) ProtoMethods() *protoiface.Method if postIndex > l { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - if x.Fleet == nil { - x.Fleet = &Fleet{} + if x.Pagination == nil { + x.Pagination = &v1beta1.PageRequest{} } - if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Fleet); err != nil { + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Pagination); err != nil { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err } iNdEx = postIndex @@ -8001,27 +18703,80 @@ func (x *fastReflection_QueryGetFleetResponse) ProtoMethods() *protoiface.Method } } +var _ protoreflect.List = (*_QueryAllGuildMembershipApplicationResponse_1_list)(nil) + +type _QueryAllGuildMembershipApplicationResponse_1_list struct { + list *[]*GuildMembershipApplication +} + +func (x *_QueryAllGuildMembershipApplicationResponse_1_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_QueryAllGuildMembershipApplicationResponse_1_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_QueryAllGuildMembershipApplicationResponse_1_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*GuildMembershipApplication) + (*x.list)[i] = concreteValue +} + +func (x *_QueryAllGuildMembershipApplicationResponse_1_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*GuildMembershipApplication) + *x.list = append(*x.list, concreteValue) +} + +func (x *_QueryAllGuildMembershipApplicationResponse_1_list) AppendMutable() protoreflect.Value { + v := new(GuildMembershipApplication) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_QueryAllGuildMembershipApplicationResponse_1_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_QueryAllGuildMembershipApplicationResponse_1_list) NewElement() protoreflect.Value { + v := new(GuildMembershipApplication) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_QueryAllGuildMembershipApplicationResponse_1_list) IsValid() bool { + return x.list != nil +} + var ( - md_QueryGetFleetByIndexRequest protoreflect.MessageDescriptor - fd_QueryGetFleetByIndexRequest_index protoreflect.FieldDescriptor + md_QueryAllGuildMembershipApplicationResponse protoreflect.MessageDescriptor + fd_QueryAllGuildMembershipApplicationResponse_GuildMembershipApplication protoreflect.FieldDescriptor + fd_QueryAllGuildMembershipApplicationResponse_pagination protoreflect.FieldDescriptor ) func init() { file_structs_structs_query_proto_init() - md_QueryGetFleetByIndexRequest = File_structs_structs_query_proto.Messages().ByName("QueryGetFleetByIndexRequest") - fd_QueryGetFleetByIndexRequest_index = md_QueryGetFleetByIndexRequest.Fields().ByName("index") + md_QueryAllGuildMembershipApplicationResponse = File_structs_structs_query_proto.Messages().ByName("QueryAllGuildMembershipApplicationResponse") + fd_QueryAllGuildMembershipApplicationResponse_GuildMembershipApplication = md_QueryAllGuildMembershipApplicationResponse.Fields().ByName("GuildMembershipApplication") + fd_QueryAllGuildMembershipApplicationResponse_pagination = md_QueryAllGuildMembershipApplicationResponse.Fields().ByName("pagination") } -var _ protoreflect.Message = (*fastReflection_QueryGetFleetByIndexRequest)(nil) +var _ protoreflect.Message = (*fastReflection_QueryAllGuildMembershipApplicationResponse)(nil) -type fastReflection_QueryGetFleetByIndexRequest QueryGetFleetByIndexRequest +type fastReflection_QueryAllGuildMembershipApplicationResponse QueryAllGuildMembershipApplicationResponse -func (x *QueryGetFleetByIndexRequest) ProtoReflect() protoreflect.Message { - return (*fastReflection_QueryGetFleetByIndexRequest)(x) +func (x *QueryAllGuildMembershipApplicationResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_QueryAllGuildMembershipApplicationResponse)(x) } -func (x *QueryGetFleetByIndexRequest) slowProtoReflect() protoreflect.Message { - mi := &file_structs_structs_query_proto_msgTypes[17] +func (x *QueryAllGuildMembershipApplicationResponse) slowProtoReflect() protoreflect.Message { + mi := &file_structs_structs_query_proto_msgTypes[40] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8032,43 +18787,43 @@ func (x *QueryGetFleetByIndexRequest) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_QueryGetFleetByIndexRequest_messageType fastReflection_QueryGetFleetByIndexRequest_messageType -var _ protoreflect.MessageType = fastReflection_QueryGetFleetByIndexRequest_messageType{} +var _fastReflection_QueryAllGuildMembershipApplicationResponse_messageType fastReflection_QueryAllGuildMembershipApplicationResponse_messageType +var _ protoreflect.MessageType = fastReflection_QueryAllGuildMembershipApplicationResponse_messageType{} -type fastReflection_QueryGetFleetByIndexRequest_messageType struct{} +type fastReflection_QueryAllGuildMembershipApplicationResponse_messageType struct{} -func (x fastReflection_QueryGetFleetByIndexRequest_messageType) Zero() protoreflect.Message { - return (*fastReflection_QueryGetFleetByIndexRequest)(nil) +func (x fastReflection_QueryAllGuildMembershipApplicationResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_QueryAllGuildMembershipApplicationResponse)(nil) } -func (x fastReflection_QueryGetFleetByIndexRequest_messageType) New() protoreflect.Message { - return new(fastReflection_QueryGetFleetByIndexRequest) +func (x fastReflection_QueryAllGuildMembershipApplicationResponse_messageType) New() protoreflect.Message { + return new(fastReflection_QueryAllGuildMembershipApplicationResponse) } -func (x fastReflection_QueryGetFleetByIndexRequest_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_QueryGetFleetByIndexRequest +func (x fastReflection_QueryAllGuildMembershipApplicationResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_QueryAllGuildMembershipApplicationResponse } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_QueryGetFleetByIndexRequest) Descriptor() protoreflect.MessageDescriptor { - return md_QueryGetFleetByIndexRequest +func (x *fastReflection_QueryAllGuildMembershipApplicationResponse) Descriptor() protoreflect.MessageDescriptor { + return md_QueryAllGuildMembershipApplicationResponse } // 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_QueryGetFleetByIndexRequest) Type() protoreflect.MessageType { - return _fastReflection_QueryGetFleetByIndexRequest_messageType +func (x *fastReflection_QueryAllGuildMembershipApplicationResponse) Type() protoreflect.MessageType { + return _fastReflection_QueryAllGuildMembershipApplicationResponse_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_QueryGetFleetByIndexRequest) New() protoreflect.Message { - return new(fastReflection_QueryGetFleetByIndexRequest) +func (x *fastReflection_QueryAllGuildMembershipApplicationResponse) New() protoreflect.Message { + return new(fastReflection_QueryAllGuildMembershipApplicationResponse) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_QueryGetFleetByIndexRequest) Interface() protoreflect.ProtoMessage { - return (*QueryGetFleetByIndexRequest)(x) +func (x *fastReflection_QueryAllGuildMembershipApplicationResponse) Interface() protoreflect.ProtoMessage { + return (*QueryAllGuildMembershipApplicationResponse)(x) } // Range iterates over every populated field in an undefined order, @@ -8076,10 +18831,16 @@ func (x *fastReflection_QueryGetFleetByIndexRequest) Interface() protoreflect.Pr // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_QueryGetFleetByIndexRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.Index != uint64(0) { - value := protoreflect.ValueOfUint64(x.Index) - if !f(fd_QueryGetFleetByIndexRequest_index, value) { +func (x *fastReflection_QueryAllGuildMembershipApplicationResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if len(x.GuildMembershipApplication) != 0 { + value := protoreflect.ValueOfList(&_QueryAllGuildMembershipApplicationResponse_1_list{list: &x.GuildMembershipApplication}) + if !f(fd_QueryAllGuildMembershipApplicationResponse_GuildMembershipApplication, value) { + return + } + } + if x.Pagination != nil { + value := protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) + if !f(fd_QueryAllGuildMembershipApplicationResponse_pagination, value) { return } } @@ -8096,15 +18857,17 @@ func (x *fastReflection_QueryGetFleetByIndexRequest) Range(f func(protoreflect.F // 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_QueryGetFleetByIndexRequest) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_QueryAllGuildMembershipApplicationResponse) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.QueryGetFleetByIndexRequest.index": - return x.Index != uint64(0) + case "structs.structs.QueryAllGuildMembershipApplicationResponse.GuildMembershipApplication": + return len(x.GuildMembershipApplication) != 0 + case "structs.structs.QueryAllGuildMembershipApplicationResponse.pagination": + return x.Pagination != nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetFleetByIndexRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllGuildMembershipApplicationResponse")) } - panic(fmt.Errorf("message structs.structs.QueryGetFleetByIndexRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllGuildMembershipApplicationResponse does not contain field %s", fd.FullName())) } } @@ -8114,15 +18877,17 @@ func (x *fastReflection_QueryGetFleetByIndexRequest) Has(fd protoreflect.FieldDe // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryGetFleetByIndexRequest) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_QueryAllGuildMembershipApplicationResponse) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.QueryGetFleetByIndexRequest.index": - x.Index = uint64(0) + case "structs.structs.QueryAllGuildMembershipApplicationResponse.GuildMembershipApplication": + x.GuildMembershipApplication = nil + case "structs.structs.QueryAllGuildMembershipApplicationResponse.pagination": + x.Pagination = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetFleetByIndexRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllGuildMembershipApplicationResponse")) } - panic(fmt.Errorf("message structs.structs.QueryGetFleetByIndexRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllGuildMembershipApplicationResponse does not contain field %s", fd.FullName())) } } @@ -8132,16 +18897,22 @@ func (x *fastReflection_QueryGetFleetByIndexRequest) Clear(fd protoreflect.Field // 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_QueryGetFleetByIndexRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryAllGuildMembershipApplicationResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.QueryGetFleetByIndexRequest.index": - value := x.Index - return protoreflect.ValueOfUint64(value) + case "structs.structs.QueryAllGuildMembershipApplicationResponse.GuildMembershipApplication": + if len(x.GuildMembershipApplication) == 0 { + return protoreflect.ValueOfList(&_QueryAllGuildMembershipApplicationResponse_1_list{}) + } + listValue := &_QueryAllGuildMembershipApplicationResponse_1_list{list: &x.GuildMembershipApplication} + return protoreflect.ValueOfList(listValue) + case "structs.structs.QueryAllGuildMembershipApplicationResponse.pagination": + value := x.Pagination + return protoreflect.ValueOfMessage(value.ProtoReflect()) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetFleetByIndexRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllGuildMembershipApplicationResponse")) } - panic(fmt.Errorf("message structs.structs.QueryGetFleetByIndexRequest does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllGuildMembershipApplicationResponse does not contain field %s", descriptor.FullName())) } } @@ -8155,15 +18926,19 @@ func (x *fastReflection_QueryGetFleetByIndexRequest) Get(descriptor protoreflect // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryGetFleetByIndexRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_QueryAllGuildMembershipApplicationResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.QueryGetFleetByIndexRequest.index": - x.Index = value.Uint() + case "structs.structs.QueryAllGuildMembershipApplicationResponse.GuildMembershipApplication": + lv := value.List() + clv := lv.(*_QueryAllGuildMembershipApplicationResponse_1_list) + x.GuildMembershipApplication = *clv.list + case "structs.structs.QueryAllGuildMembershipApplicationResponse.pagination": + x.Pagination = value.Message().Interface().(*v1beta1.PageResponse) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetFleetByIndexRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllGuildMembershipApplicationResponse")) } - panic(fmt.Errorf("message structs.structs.QueryGetFleetByIndexRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllGuildMembershipApplicationResponse does not contain field %s", fd.FullName())) } } @@ -8177,40 +18952,53 @@ func (x *fastReflection_QueryGetFleetByIndexRequest) Set(fd protoreflect.FieldDe // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryGetFleetByIndexRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryAllGuildMembershipApplicationResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.QueryGetFleetByIndexRequest.index": - panic(fmt.Errorf("field index of message structs.structs.QueryGetFleetByIndexRequest is not mutable")) + case "structs.structs.QueryAllGuildMembershipApplicationResponse.GuildMembershipApplication": + if x.GuildMembershipApplication == nil { + x.GuildMembershipApplication = []*GuildMembershipApplication{} + } + value := &_QueryAllGuildMembershipApplicationResponse_1_list{list: &x.GuildMembershipApplication} + return protoreflect.ValueOfList(value) + case "structs.structs.QueryAllGuildMembershipApplicationResponse.pagination": + if x.Pagination == nil { + x.Pagination = new(v1beta1.PageResponse) + } + return protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetFleetByIndexRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllGuildMembershipApplicationResponse")) } - panic(fmt.Errorf("message structs.structs.QueryGetFleetByIndexRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllGuildMembershipApplicationResponse 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_QueryGetFleetByIndexRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryAllGuildMembershipApplicationResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.QueryGetFleetByIndexRequest.index": - return protoreflect.ValueOfUint64(uint64(0)) + case "structs.structs.QueryAllGuildMembershipApplicationResponse.GuildMembershipApplication": + list := []*GuildMembershipApplication{} + return protoreflect.ValueOfList(&_QueryAllGuildMembershipApplicationResponse_1_list{list: &list}) + case "structs.structs.QueryAllGuildMembershipApplicationResponse.pagination": + m := new(v1beta1.PageResponse) + return protoreflect.ValueOfMessage(m.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetFleetByIndexRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllGuildMembershipApplicationResponse")) } - panic(fmt.Errorf("message structs.structs.QueryGetFleetByIndexRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllGuildMembershipApplicationResponse 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_QueryGetFleetByIndexRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_QueryAllGuildMembershipApplicationResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryGetFleetByIndexRequest", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryAllGuildMembershipApplicationResponse", d.FullName())) } panic("unreachable") } @@ -8218,7 +19006,7 @@ func (x *fastReflection_QueryGetFleetByIndexRequest) WhichOneof(d protoreflect.O // 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_QueryGetFleetByIndexRequest) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_QueryAllGuildMembershipApplicationResponse) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -8229,7 +19017,7 @@ func (x *fastReflection_QueryGetFleetByIndexRequest) GetUnknown() protoreflect.R // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryGetFleetByIndexRequest) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_QueryAllGuildMembershipApplicationResponse) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -8241,7 +19029,7 @@ func (x *fastReflection_QueryGetFleetByIndexRequest) SetUnknown(fields protorefl // 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_QueryGetFleetByIndexRequest) IsValid() bool { +func (x *fastReflection_QueryAllGuildMembershipApplicationResponse) IsValid() bool { return x != nil } @@ -8251,9 +19039,9 @@ func (x *fastReflection_QueryGetFleetByIndexRequest) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_QueryGetFleetByIndexRequest) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_QueryAllGuildMembershipApplicationResponse) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*QueryGetFleetByIndexRequest) + x := input.Message.Interface().(*QueryAllGuildMembershipApplicationResponse) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -8265,8 +19053,15 @@ func (x *fastReflection_QueryGetFleetByIndexRequest) ProtoMethods() *protoiface. var n int var l int _ = l - if x.Index != 0 { - n += 1 + runtime.Sov(uint64(x.Index)) + if len(x.GuildMembershipApplication) > 0 { + for _, e := range x.GuildMembershipApplication { + l = options.Size(e) + n += 1 + l + runtime.Sov(uint64(l)) + } + } + if x.Pagination != nil { + l = options.Size(x.Pagination) + n += 1 + l + runtime.Sov(uint64(l)) } if x.unknownFields != nil { n += len(x.unknownFields) @@ -8278,7 +19073,7 @@ func (x *fastReflection_QueryGetFleetByIndexRequest) ProtoMethods() *protoiface. } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*QueryGetFleetByIndexRequest) + x := input.Message.Interface().(*QueryAllGuildMembershipApplicationResponse) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -8297,10 +19092,35 @@ func (x *fastReflection_QueryGetFleetByIndexRequest) ProtoMethods() *protoiface. i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if x.Index != 0 { - i = runtime.EncodeVarint(dAtA, i, uint64(x.Index)) + if x.Pagination != nil { + encoded, err := options.Marshal(x.Pagination) + 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] = 0x8 + dAtA[i] = 0x12 + } + if len(x.GuildMembershipApplication) > 0 { + for iNdEx := len(x.GuildMembershipApplication) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.GuildMembershipApplication[iNdEx]) + 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...) @@ -8313,7 +19133,7 @@ func (x *fastReflection_QueryGetFleetByIndexRequest) ProtoMethods() *protoiface. }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*QueryGetFleetByIndexRequest) + x := input.Message.Interface().(*QueryAllGuildMembershipApplicationResponse) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -8345,17 +19165,17 @@ func (x *fastReflection_QueryGetFleetByIndexRequest) ProtoMethods() *protoiface. fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryGetFleetByIndexRequest: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllGuildMembershipApplicationResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryGetFleetByIndexRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllGuildMembershipApplicationResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: - if wireType != 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Index", wireType) + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field GuildMembershipApplication", wireType) } - x.Index = 0 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -8365,11 +19185,62 @@ func (x *fastReflection_QueryGetFleetByIndexRequest) ProtoMethods() *protoiface. } b := dAtA[iNdEx] iNdEx++ - x.Index |= uint64(b&0x7F) << shift + 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 + } + x.GuildMembershipApplication = append(x.GuildMembershipApplication, &GuildMembershipApplication{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.GuildMembershipApplication[len(x.GuildMembershipApplication)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Pagination", 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.Pagination == nil { + x.Pagination = &v1beta1.PageResponse{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Pagination); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := runtime.Skip(dAtA[iNdEx:]) @@ -8406,26 +19277,28 @@ func (x *fastReflection_QueryGetFleetByIndexRequest) ProtoMethods() *protoiface. } var ( - md_QueryAllFleetRequest protoreflect.MessageDescriptor - fd_QueryAllFleetRequest_pagination protoreflect.FieldDescriptor + md_QueryGetInfusionRequest protoreflect.MessageDescriptor + fd_QueryGetInfusionRequest_destinationId protoreflect.FieldDescriptor + fd_QueryGetInfusionRequest_address protoreflect.FieldDescriptor ) func init() { file_structs_structs_query_proto_init() - md_QueryAllFleetRequest = File_structs_structs_query_proto.Messages().ByName("QueryAllFleetRequest") - fd_QueryAllFleetRequest_pagination = md_QueryAllFleetRequest.Fields().ByName("pagination") + md_QueryGetInfusionRequest = File_structs_structs_query_proto.Messages().ByName("QueryGetInfusionRequest") + fd_QueryGetInfusionRequest_destinationId = md_QueryGetInfusionRequest.Fields().ByName("destinationId") + fd_QueryGetInfusionRequest_address = md_QueryGetInfusionRequest.Fields().ByName("address") } -var _ protoreflect.Message = (*fastReflection_QueryAllFleetRequest)(nil) +var _ protoreflect.Message = (*fastReflection_QueryGetInfusionRequest)(nil) -type fastReflection_QueryAllFleetRequest QueryAllFleetRequest +type fastReflection_QueryGetInfusionRequest QueryGetInfusionRequest -func (x *QueryAllFleetRequest) ProtoReflect() protoreflect.Message { - return (*fastReflection_QueryAllFleetRequest)(x) +func (x *QueryGetInfusionRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_QueryGetInfusionRequest)(x) } -func (x *QueryAllFleetRequest) slowProtoReflect() protoreflect.Message { - mi := &file_structs_structs_query_proto_msgTypes[18] +func (x *QueryGetInfusionRequest) slowProtoReflect() protoreflect.Message { + mi := &file_structs_structs_query_proto_msgTypes[41] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8436,43 +19309,43 @@ func (x *QueryAllFleetRequest) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_QueryAllFleetRequest_messageType fastReflection_QueryAllFleetRequest_messageType -var _ protoreflect.MessageType = fastReflection_QueryAllFleetRequest_messageType{} +var _fastReflection_QueryGetInfusionRequest_messageType fastReflection_QueryGetInfusionRequest_messageType +var _ protoreflect.MessageType = fastReflection_QueryGetInfusionRequest_messageType{} -type fastReflection_QueryAllFleetRequest_messageType struct{} +type fastReflection_QueryGetInfusionRequest_messageType struct{} -func (x fastReflection_QueryAllFleetRequest_messageType) Zero() protoreflect.Message { - return (*fastReflection_QueryAllFleetRequest)(nil) +func (x fastReflection_QueryGetInfusionRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_QueryGetInfusionRequest)(nil) } -func (x fastReflection_QueryAllFleetRequest_messageType) New() protoreflect.Message { - return new(fastReflection_QueryAllFleetRequest) +func (x fastReflection_QueryGetInfusionRequest_messageType) New() protoreflect.Message { + return new(fastReflection_QueryGetInfusionRequest) } -func (x fastReflection_QueryAllFleetRequest_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_QueryAllFleetRequest +func (x fastReflection_QueryGetInfusionRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_QueryGetInfusionRequest } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_QueryAllFleetRequest) Descriptor() protoreflect.MessageDescriptor { - return md_QueryAllFleetRequest +func (x *fastReflection_QueryGetInfusionRequest) Descriptor() protoreflect.MessageDescriptor { + return md_QueryGetInfusionRequest } // 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_QueryAllFleetRequest) Type() protoreflect.MessageType { - return _fastReflection_QueryAllFleetRequest_messageType +func (x *fastReflection_QueryGetInfusionRequest) Type() protoreflect.MessageType { + return _fastReflection_QueryGetInfusionRequest_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_QueryAllFleetRequest) New() protoreflect.Message { - return new(fastReflection_QueryAllFleetRequest) +func (x *fastReflection_QueryGetInfusionRequest) New() protoreflect.Message { + return new(fastReflection_QueryGetInfusionRequest) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_QueryAllFleetRequest) Interface() protoreflect.ProtoMessage { - return (*QueryAllFleetRequest)(x) +func (x *fastReflection_QueryGetInfusionRequest) Interface() protoreflect.ProtoMessage { + return (*QueryGetInfusionRequest)(x) } // Range iterates over every populated field in an undefined order, @@ -8480,10 +19353,16 @@ func (x *fastReflection_QueryAllFleetRequest) Interface() protoreflect.ProtoMess // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_QueryAllFleetRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.Pagination != nil { - value := protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) - if !f(fd_QueryAllFleetRequest_pagination, value) { +func (x *fastReflection_QueryGetInfusionRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.DestinationId != "" { + value := protoreflect.ValueOfString(x.DestinationId) + if !f(fd_QueryGetInfusionRequest_destinationId, value) { + return + } + } + if x.Address != "" { + value := protoreflect.ValueOfString(x.Address) + if !f(fd_QueryGetInfusionRequest_address, value) { return } } @@ -8500,15 +19379,17 @@ func (x *fastReflection_QueryAllFleetRequest) Range(f func(protoreflect.FieldDes // 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_QueryAllFleetRequest) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_QueryGetInfusionRequest) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.QueryAllFleetRequest.pagination": - return x.Pagination != nil + case "structs.structs.QueryGetInfusionRequest.destinationId": + return x.DestinationId != "" + case "structs.structs.QueryGetInfusionRequest.address": + return x.Address != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllFleetRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetInfusionRequest")) } - panic(fmt.Errorf("message structs.structs.QueryAllFleetRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetInfusionRequest does not contain field %s", fd.FullName())) } } @@ -8518,15 +19399,17 @@ func (x *fastReflection_QueryAllFleetRequest) Has(fd protoreflect.FieldDescripto // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAllFleetRequest) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_QueryGetInfusionRequest) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.QueryAllFleetRequest.pagination": - x.Pagination = nil + case "structs.structs.QueryGetInfusionRequest.destinationId": + x.DestinationId = "" + case "structs.structs.QueryGetInfusionRequest.address": + x.Address = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllFleetRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetInfusionRequest")) } - panic(fmt.Errorf("message structs.structs.QueryAllFleetRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetInfusionRequest does not contain field %s", fd.FullName())) } } @@ -8536,16 +19419,19 @@ func (x *fastReflection_QueryAllFleetRequest) Clear(fd protoreflect.FieldDescrip // 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_QueryAllFleetRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryGetInfusionRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.QueryAllFleetRequest.pagination": - value := x.Pagination - return protoreflect.ValueOfMessage(value.ProtoReflect()) + case "structs.structs.QueryGetInfusionRequest.destinationId": + value := x.DestinationId + return protoreflect.ValueOfString(value) + case "structs.structs.QueryGetInfusionRequest.address": + value := x.Address + return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllFleetRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetInfusionRequest")) } - panic(fmt.Errorf("message structs.structs.QueryAllFleetRequest does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetInfusionRequest does not contain field %s", descriptor.FullName())) } } @@ -8559,15 +19445,17 @@ func (x *fastReflection_QueryAllFleetRequest) Get(descriptor protoreflect.FieldD // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAllFleetRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_QueryGetInfusionRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.QueryAllFleetRequest.pagination": - x.Pagination = value.Message().Interface().(*v1beta1.PageRequest) + case "structs.structs.QueryGetInfusionRequest.destinationId": + x.DestinationId = value.Interface().(string) + case "structs.structs.QueryGetInfusionRequest.address": + x.Address = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllFleetRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetInfusionRequest")) } - panic(fmt.Errorf("message structs.structs.QueryAllFleetRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetInfusionRequest does not contain field %s", fd.FullName())) } } @@ -8581,44 +19469,44 @@ func (x *fastReflection_QueryAllFleetRequest) Set(fd protoreflect.FieldDescripto // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAllFleetRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryGetInfusionRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.QueryAllFleetRequest.pagination": - if x.Pagination == nil { - x.Pagination = new(v1beta1.PageRequest) - } - return protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) + case "structs.structs.QueryGetInfusionRequest.destinationId": + panic(fmt.Errorf("field destinationId of message structs.structs.QueryGetInfusionRequest is not mutable")) + case "structs.structs.QueryGetInfusionRequest.address": + panic(fmt.Errorf("field address of message structs.structs.QueryGetInfusionRequest is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllFleetRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetInfusionRequest")) } - panic(fmt.Errorf("message structs.structs.QueryAllFleetRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetInfusionRequest 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_QueryAllFleetRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryGetInfusionRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.QueryAllFleetRequest.pagination": - m := new(v1beta1.PageRequest) - return protoreflect.ValueOfMessage(m.ProtoReflect()) + case "structs.structs.QueryGetInfusionRequest.destinationId": + return protoreflect.ValueOfString("") + case "structs.structs.QueryGetInfusionRequest.address": + return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllFleetRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetInfusionRequest")) } - panic(fmt.Errorf("message structs.structs.QueryAllFleetRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetInfusionRequest 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_QueryAllFleetRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_QueryGetInfusionRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryAllFleetRequest", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryGetInfusionRequest", d.FullName())) } panic("unreachable") } @@ -8626,7 +19514,7 @@ func (x *fastReflection_QueryAllFleetRequest) WhichOneof(d protoreflect.OneofDes // 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_QueryAllFleetRequest) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_QueryGetInfusionRequest) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -8637,7 +19525,7 @@ func (x *fastReflection_QueryAllFleetRequest) GetUnknown() protoreflect.RawField // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAllFleetRequest) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_QueryGetInfusionRequest) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -8649,7 +19537,7 @@ func (x *fastReflection_QueryAllFleetRequest) SetUnknown(fields protoreflect.Raw // 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_QueryAllFleetRequest) IsValid() bool { +func (x *fastReflection_QueryGetInfusionRequest) IsValid() bool { return x != nil } @@ -8659,9 +19547,9 @@ func (x *fastReflection_QueryAllFleetRequest) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_QueryAllFleetRequest) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_QueryGetInfusionRequest) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*QueryAllFleetRequest) + x := input.Message.Interface().(*QueryGetInfusionRequest) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -8673,8 +19561,12 @@ func (x *fastReflection_QueryAllFleetRequest) ProtoMethods() *protoiface.Methods var n int var l int _ = l - if x.Pagination != nil { - l = options.Size(x.Pagination) + l = len(x.DestinationId) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.Address) + if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } if x.unknownFields != nil { @@ -8687,7 +19579,7 @@ func (x *fastReflection_QueryAllFleetRequest) ProtoMethods() *protoiface.Methods } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*QueryAllFleetRequest) + x := input.Message.Interface().(*QueryGetInfusionRequest) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -8706,17 +19598,17 @@ func (x *fastReflection_QueryAllFleetRequest) ProtoMethods() *protoiface.Methods i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if x.Pagination != nil { - encoded, err := options.Marshal(x.Pagination) - 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))) + if len(x.Address) > 0 { + i -= len(x.Address) + copy(dAtA[i:], x.Address) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Address))) + i-- + dAtA[i] = 0x12 + } + if len(x.DestinationId) > 0 { + i -= len(x.DestinationId) + copy(dAtA[i:], x.DestinationId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.DestinationId))) i-- dAtA[i] = 0xa } @@ -8731,7 +19623,7 @@ func (x *fastReflection_QueryAllFleetRequest) ProtoMethods() *protoiface.Methods }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*QueryAllFleetRequest) + x := input.Message.Interface().(*QueryGetInfusionRequest) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -8763,17 +19655,17 @@ func (x *fastReflection_QueryAllFleetRequest) ProtoMethods() *protoiface.Methods fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllFleetRequest: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryGetInfusionRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllFleetRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryGetInfusionRequest: 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 Pagination", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field DestinationId", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -8783,27 +19675,55 @@ func (x *fastReflection_QueryAllFleetRequest) ProtoMethods() *protoiface.Methods } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength } - postIndex := iNdEx + msglen + 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 } - if x.Pagination == nil { - x.Pagination = &v1beta1.PageRequest{} + x.DestinationId = 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 Address", wireType) } - if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Pagination); err != nil { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + 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.Address = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -8840,80 +19760,27 @@ func (x *fastReflection_QueryAllFleetRequest) ProtoMethods() *protoiface.Methods } } -var _ protoreflect.List = (*_QueryAllFleetResponse_1_list)(nil) - -type _QueryAllFleetResponse_1_list struct { - list *[]*Fleet -} - -func (x *_QueryAllFleetResponse_1_list) Len() int { - if x.list == nil { - return 0 - } - return len(*x.list) -} - -func (x *_QueryAllFleetResponse_1_list) Get(i int) protoreflect.Value { - return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) -} - -func (x *_QueryAllFleetResponse_1_list) Set(i int, value protoreflect.Value) { - valueUnwrapped := value.Message() - concreteValue := valueUnwrapped.Interface().(*Fleet) - (*x.list)[i] = concreteValue -} - -func (x *_QueryAllFleetResponse_1_list) Append(value protoreflect.Value) { - valueUnwrapped := value.Message() - concreteValue := valueUnwrapped.Interface().(*Fleet) - *x.list = append(*x.list, concreteValue) -} - -func (x *_QueryAllFleetResponse_1_list) AppendMutable() protoreflect.Value { - v := new(Fleet) - *x.list = append(*x.list, v) - return protoreflect.ValueOfMessage(v.ProtoReflect()) -} - -func (x *_QueryAllFleetResponse_1_list) Truncate(n int) { - for i := n; i < len(*x.list); i++ { - (*x.list)[i] = nil - } - *x.list = (*x.list)[:n] -} - -func (x *_QueryAllFleetResponse_1_list) NewElement() protoreflect.Value { - v := new(Fleet) - return protoreflect.ValueOfMessage(v.ProtoReflect()) -} - -func (x *_QueryAllFleetResponse_1_list) IsValid() bool { - return x.list != nil -} - var ( - md_QueryAllFleetResponse protoreflect.MessageDescriptor - fd_QueryAllFleetResponse_Fleet protoreflect.FieldDescriptor - fd_QueryAllFleetResponse_pagination protoreflect.FieldDescriptor + md_QueryGetInfusionResponse protoreflect.MessageDescriptor + fd_QueryGetInfusionResponse_Infusion protoreflect.FieldDescriptor ) func init() { file_structs_structs_query_proto_init() - md_QueryAllFleetResponse = File_structs_structs_query_proto.Messages().ByName("QueryAllFleetResponse") - fd_QueryAllFleetResponse_Fleet = md_QueryAllFleetResponse.Fields().ByName("Fleet") - fd_QueryAllFleetResponse_pagination = md_QueryAllFleetResponse.Fields().ByName("pagination") + md_QueryGetInfusionResponse = File_structs_structs_query_proto.Messages().ByName("QueryGetInfusionResponse") + fd_QueryGetInfusionResponse_Infusion = md_QueryGetInfusionResponse.Fields().ByName("Infusion") } -var _ protoreflect.Message = (*fastReflection_QueryAllFleetResponse)(nil) +var _ protoreflect.Message = (*fastReflection_QueryGetInfusionResponse)(nil) -type fastReflection_QueryAllFleetResponse QueryAllFleetResponse +type fastReflection_QueryGetInfusionResponse QueryGetInfusionResponse -func (x *QueryAllFleetResponse) ProtoReflect() protoreflect.Message { - return (*fastReflection_QueryAllFleetResponse)(x) +func (x *QueryGetInfusionResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_QueryGetInfusionResponse)(x) } -func (x *QueryAllFleetResponse) slowProtoReflect() protoreflect.Message { - mi := &file_structs_structs_query_proto_msgTypes[19] +func (x *QueryGetInfusionResponse) slowProtoReflect() protoreflect.Message { + mi := &file_structs_structs_query_proto_msgTypes[42] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8924,43 +19791,43 @@ func (x *QueryAllFleetResponse) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_QueryAllFleetResponse_messageType fastReflection_QueryAllFleetResponse_messageType -var _ protoreflect.MessageType = fastReflection_QueryAllFleetResponse_messageType{} +var _fastReflection_QueryGetInfusionResponse_messageType fastReflection_QueryGetInfusionResponse_messageType +var _ protoreflect.MessageType = fastReflection_QueryGetInfusionResponse_messageType{} -type fastReflection_QueryAllFleetResponse_messageType struct{} +type fastReflection_QueryGetInfusionResponse_messageType struct{} -func (x fastReflection_QueryAllFleetResponse_messageType) Zero() protoreflect.Message { - return (*fastReflection_QueryAllFleetResponse)(nil) +func (x fastReflection_QueryGetInfusionResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_QueryGetInfusionResponse)(nil) } -func (x fastReflection_QueryAllFleetResponse_messageType) New() protoreflect.Message { - return new(fastReflection_QueryAllFleetResponse) +func (x fastReflection_QueryGetInfusionResponse_messageType) New() protoreflect.Message { + return new(fastReflection_QueryGetInfusionResponse) } -func (x fastReflection_QueryAllFleetResponse_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_QueryAllFleetResponse +func (x fastReflection_QueryGetInfusionResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_QueryGetInfusionResponse } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_QueryAllFleetResponse) Descriptor() protoreflect.MessageDescriptor { - return md_QueryAllFleetResponse +func (x *fastReflection_QueryGetInfusionResponse) Descriptor() protoreflect.MessageDescriptor { + return md_QueryGetInfusionResponse } // 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_QueryAllFleetResponse) Type() protoreflect.MessageType { - return _fastReflection_QueryAllFleetResponse_messageType +func (x *fastReflection_QueryGetInfusionResponse) Type() protoreflect.MessageType { + return _fastReflection_QueryGetInfusionResponse_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_QueryAllFleetResponse) New() protoreflect.Message { - return new(fastReflection_QueryAllFleetResponse) +func (x *fastReflection_QueryGetInfusionResponse) New() protoreflect.Message { + return new(fastReflection_QueryGetInfusionResponse) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_QueryAllFleetResponse) Interface() protoreflect.ProtoMessage { - return (*QueryAllFleetResponse)(x) +func (x *fastReflection_QueryGetInfusionResponse) Interface() protoreflect.ProtoMessage { + return (*QueryGetInfusionResponse)(x) } // Range iterates over every populated field in an undefined order, @@ -8968,16 +19835,10 @@ func (x *fastReflection_QueryAllFleetResponse) Interface() protoreflect.ProtoMes // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_QueryAllFleetResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if len(x.Fleet) != 0 { - value := protoreflect.ValueOfList(&_QueryAllFleetResponse_1_list{list: &x.Fleet}) - if !f(fd_QueryAllFleetResponse_Fleet, value) { - return - } - } - if x.Pagination != nil { - value := protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) - if !f(fd_QueryAllFleetResponse_pagination, value) { +func (x *fastReflection_QueryGetInfusionResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Infusion != nil { + value := protoreflect.ValueOfMessage(x.Infusion.ProtoReflect()) + if !f(fd_QueryGetInfusionResponse_Infusion, value) { return } } @@ -8994,17 +19855,15 @@ func (x *fastReflection_QueryAllFleetResponse) Range(f func(protoreflect.FieldDe // 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_QueryAllFleetResponse) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_QueryGetInfusionResponse) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.QueryAllFleetResponse.Fleet": - return len(x.Fleet) != 0 - case "structs.structs.QueryAllFleetResponse.pagination": - return x.Pagination != nil + case "structs.structs.QueryGetInfusionResponse.Infusion": + return x.Infusion != nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllFleetResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetInfusionResponse")) } - panic(fmt.Errorf("message structs.structs.QueryAllFleetResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetInfusionResponse does not contain field %s", fd.FullName())) } } @@ -9014,17 +19873,15 @@ func (x *fastReflection_QueryAllFleetResponse) Has(fd protoreflect.FieldDescript // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAllFleetResponse) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_QueryGetInfusionResponse) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.QueryAllFleetResponse.Fleet": - x.Fleet = nil - case "structs.structs.QueryAllFleetResponse.pagination": - x.Pagination = nil + case "structs.structs.QueryGetInfusionResponse.Infusion": + x.Infusion = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllFleetResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetInfusionResponse")) } - panic(fmt.Errorf("message structs.structs.QueryAllFleetResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetInfusionResponse does not contain field %s", fd.FullName())) } } @@ -9034,22 +19891,16 @@ func (x *fastReflection_QueryAllFleetResponse) Clear(fd protoreflect.FieldDescri // 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_QueryAllFleetResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryGetInfusionResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.QueryAllFleetResponse.Fleet": - if len(x.Fleet) == 0 { - return protoreflect.ValueOfList(&_QueryAllFleetResponse_1_list{}) - } - listValue := &_QueryAllFleetResponse_1_list{list: &x.Fleet} - return protoreflect.ValueOfList(listValue) - case "structs.structs.QueryAllFleetResponse.pagination": - value := x.Pagination + case "structs.structs.QueryGetInfusionResponse.Infusion": + value := x.Infusion return protoreflect.ValueOfMessage(value.ProtoReflect()) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllFleetResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetInfusionResponse")) } - panic(fmt.Errorf("message structs.structs.QueryAllFleetResponse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetInfusionResponse does not contain field %s", descriptor.FullName())) } } @@ -9063,19 +19914,15 @@ func (x *fastReflection_QueryAllFleetResponse) Get(descriptor protoreflect.Field // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAllFleetResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_QueryGetInfusionResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.QueryAllFleetResponse.Fleet": - lv := value.List() - clv := lv.(*_QueryAllFleetResponse_1_list) - x.Fleet = *clv.list - case "structs.structs.QueryAllFleetResponse.pagination": - x.Pagination = value.Message().Interface().(*v1beta1.PageResponse) + case "structs.structs.QueryGetInfusionResponse.Infusion": + x.Infusion = value.Message().Interface().(*Infusion) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllFleetResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetInfusionResponse")) } - panic(fmt.Errorf("message structs.structs.QueryAllFleetResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetInfusionResponse does not contain field %s", fd.FullName())) } } @@ -9089,53 +19936,44 @@ func (x *fastReflection_QueryAllFleetResponse) Set(fd protoreflect.FieldDescript // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAllFleetResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryGetInfusionResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.QueryAllFleetResponse.Fleet": - if x.Fleet == nil { - x.Fleet = []*Fleet{} - } - value := &_QueryAllFleetResponse_1_list{list: &x.Fleet} - return protoreflect.ValueOfList(value) - case "structs.structs.QueryAllFleetResponse.pagination": - if x.Pagination == nil { - x.Pagination = new(v1beta1.PageResponse) + case "structs.structs.QueryGetInfusionResponse.Infusion": + if x.Infusion == nil { + x.Infusion = new(Infusion) } - return protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) + return protoreflect.ValueOfMessage(x.Infusion.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllFleetResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetInfusionResponse")) } - panic(fmt.Errorf("message structs.structs.QueryAllFleetResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetInfusionResponse 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_QueryAllFleetResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryGetInfusionResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.QueryAllFleetResponse.Fleet": - list := []*Fleet{} - return protoreflect.ValueOfList(&_QueryAllFleetResponse_1_list{list: &list}) - case "structs.structs.QueryAllFleetResponse.pagination": - m := new(v1beta1.PageResponse) + case "structs.structs.QueryGetInfusionResponse.Infusion": + m := new(Infusion) return protoreflect.ValueOfMessage(m.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllFleetResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetInfusionResponse")) } - panic(fmt.Errorf("message structs.structs.QueryAllFleetResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetInfusionResponse 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_QueryAllFleetResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_QueryGetInfusionResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryAllFleetResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryGetInfusionResponse", d.FullName())) } panic("unreachable") } @@ -9143,7 +19981,7 @@ func (x *fastReflection_QueryAllFleetResponse) WhichOneof(d protoreflect.OneofDe // 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_QueryAllFleetResponse) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_QueryGetInfusionResponse) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -9154,7 +19992,7 @@ func (x *fastReflection_QueryAllFleetResponse) GetUnknown() protoreflect.RawFiel // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAllFleetResponse) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_QueryGetInfusionResponse) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -9166,7 +20004,7 @@ func (x *fastReflection_QueryAllFleetResponse) SetUnknown(fields protoreflect.Ra // 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_QueryAllFleetResponse) IsValid() bool { +func (x *fastReflection_QueryGetInfusionResponse) IsValid() bool { return x != nil } @@ -9176,9 +20014,9 @@ func (x *fastReflection_QueryAllFleetResponse) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_QueryAllFleetResponse) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_QueryGetInfusionResponse) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*QueryAllFleetResponse) + x := input.Message.Interface().(*QueryGetInfusionResponse) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -9190,14 +20028,8 @@ func (x *fastReflection_QueryAllFleetResponse) ProtoMethods() *protoiface.Method var n int var l int _ = l - if len(x.Fleet) > 0 { - for _, e := range x.Fleet { - l = options.Size(e) - n += 1 + l + runtime.Sov(uint64(l)) - } - } - if x.Pagination != nil { - l = options.Size(x.Pagination) + if x.Infusion != nil { + l = options.Size(x.Infusion) n += 1 + l + runtime.Sov(uint64(l)) } if x.unknownFields != nil { @@ -9210,7 +20042,7 @@ func (x *fastReflection_QueryAllFleetResponse) ProtoMethods() *protoiface.Method } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*QueryAllFleetResponse) + x := input.Message.Interface().(*QueryGetInfusionResponse) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -9229,8 +20061,8 @@ func (x *fastReflection_QueryAllFleetResponse) ProtoMethods() *protoiface.Method i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if x.Pagination != nil { - encoded, err := options.Marshal(x.Pagination) + if x.Infusion != nil { + encoded, err := options.Marshal(x.Infusion) if err != nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -9241,23 +20073,7 @@ func (x *fastReflection_QueryAllFleetResponse) ProtoMethods() *protoiface.Method copy(dAtA[i:], encoded) i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) i-- - dAtA[i] = 0x12 - } - if len(x.Fleet) > 0 { - for iNdEx := len(x.Fleet) - 1; iNdEx >= 0; iNdEx-- { - encoded, err := options.Marshal(x.Fleet[iNdEx]) - 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 - } + dAtA[i] = 0xa } if input.Buf != nil { input.Buf = append(input.Buf, dAtA...) @@ -9270,7 +20086,7 @@ func (x *fastReflection_QueryAllFleetResponse) ProtoMethods() *protoiface.Method }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*QueryAllFleetResponse) + x := input.Message.Interface().(*QueryGetInfusionResponse) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -9302,49 +20118,15 @@ func (x *fastReflection_QueryAllFleetResponse) ProtoMethods() *protoiface.Method fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllFleetResponse: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryGetInfusionResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllFleetResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryGetInfusionResponse: 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 Fleet", 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 - } - x.Fleet = append(x.Fleet, &Fleet{}) - if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Fleet[len(x.Fleet)-1]); err != nil { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Pagination", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Infusion", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -9371,10 +20153,10 @@ func (x *fastReflection_QueryAllFleetResponse) ProtoMethods() *protoiface.Method if postIndex > l { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - if x.Pagination == nil { - x.Pagination = &v1beta1.PageResponse{} + if x.Infusion == nil { + x.Infusion = &Infusion{} } - if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Pagination); err != nil { + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Infusion); err != nil { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err } iNdEx = postIndex @@ -9414,26 +20196,28 @@ func (x *fastReflection_QueryAllFleetResponse) ProtoMethods() *protoiface.Method } var ( - md_QueryGetGridRequest protoreflect.MessageDescriptor - fd_QueryGetGridRequest_attributeId protoreflect.FieldDescriptor + md_QueryAllInfusionByDestinationRequest protoreflect.MessageDescriptor + fd_QueryAllInfusionByDestinationRequest_destinationId protoreflect.FieldDescriptor + fd_QueryAllInfusionByDestinationRequest_pagination protoreflect.FieldDescriptor ) func init() { file_structs_structs_query_proto_init() - md_QueryGetGridRequest = File_structs_structs_query_proto.Messages().ByName("QueryGetGridRequest") - fd_QueryGetGridRequest_attributeId = md_QueryGetGridRequest.Fields().ByName("attributeId") + md_QueryAllInfusionByDestinationRequest = File_structs_structs_query_proto.Messages().ByName("QueryAllInfusionByDestinationRequest") + fd_QueryAllInfusionByDestinationRequest_destinationId = md_QueryAllInfusionByDestinationRequest.Fields().ByName("destinationId") + fd_QueryAllInfusionByDestinationRequest_pagination = md_QueryAllInfusionByDestinationRequest.Fields().ByName("pagination") } -var _ protoreflect.Message = (*fastReflection_QueryGetGridRequest)(nil) +var _ protoreflect.Message = (*fastReflection_QueryAllInfusionByDestinationRequest)(nil) -type fastReflection_QueryGetGridRequest QueryGetGridRequest +type fastReflection_QueryAllInfusionByDestinationRequest QueryAllInfusionByDestinationRequest -func (x *QueryGetGridRequest) ProtoReflect() protoreflect.Message { - return (*fastReflection_QueryGetGridRequest)(x) +func (x *QueryAllInfusionByDestinationRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_QueryAllInfusionByDestinationRequest)(x) } -func (x *QueryGetGridRequest) slowProtoReflect() protoreflect.Message { - mi := &file_structs_structs_query_proto_msgTypes[20] +func (x *QueryAllInfusionByDestinationRequest) slowProtoReflect() protoreflect.Message { + mi := &file_structs_structs_query_proto_msgTypes[43] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -9444,54 +20228,60 @@ func (x *QueryGetGridRequest) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_QueryGetGridRequest_messageType fastReflection_QueryGetGridRequest_messageType -var _ protoreflect.MessageType = fastReflection_QueryGetGridRequest_messageType{} +var _fastReflection_QueryAllInfusionByDestinationRequest_messageType fastReflection_QueryAllInfusionByDestinationRequest_messageType +var _ protoreflect.MessageType = fastReflection_QueryAllInfusionByDestinationRequest_messageType{} -type fastReflection_QueryGetGridRequest_messageType struct{} +type fastReflection_QueryAllInfusionByDestinationRequest_messageType struct{} -func (x fastReflection_QueryGetGridRequest_messageType) Zero() protoreflect.Message { - return (*fastReflection_QueryGetGridRequest)(nil) +func (x fastReflection_QueryAllInfusionByDestinationRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_QueryAllInfusionByDestinationRequest)(nil) } -func (x fastReflection_QueryGetGridRequest_messageType) New() protoreflect.Message { - return new(fastReflection_QueryGetGridRequest) +func (x fastReflection_QueryAllInfusionByDestinationRequest_messageType) New() protoreflect.Message { + return new(fastReflection_QueryAllInfusionByDestinationRequest) } -func (x fastReflection_QueryGetGridRequest_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_QueryGetGridRequest +func (x fastReflection_QueryAllInfusionByDestinationRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_QueryAllInfusionByDestinationRequest } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_QueryGetGridRequest) Descriptor() protoreflect.MessageDescriptor { - return md_QueryGetGridRequest +func (x *fastReflection_QueryAllInfusionByDestinationRequest) Descriptor() protoreflect.MessageDescriptor { + return md_QueryAllInfusionByDestinationRequest } // 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_QueryGetGridRequest) Type() protoreflect.MessageType { - return _fastReflection_QueryGetGridRequest_messageType +func (x *fastReflection_QueryAllInfusionByDestinationRequest) Type() protoreflect.MessageType { + return _fastReflection_QueryAllInfusionByDestinationRequest_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_QueryGetGridRequest) New() protoreflect.Message { - return new(fastReflection_QueryGetGridRequest) +func (x *fastReflection_QueryAllInfusionByDestinationRequest) New() protoreflect.Message { + return new(fastReflection_QueryAllInfusionByDestinationRequest) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_QueryGetGridRequest) Interface() protoreflect.ProtoMessage { - return (*QueryGetGridRequest)(x) +func (x *fastReflection_QueryAllInfusionByDestinationRequest) Interface() protoreflect.ProtoMessage { + return (*QueryAllInfusionByDestinationRequest)(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_QueryGetGridRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.AttributeId != "" { - value := protoreflect.ValueOfString(x.AttributeId) - if !f(fd_QueryGetGridRequest_attributeId, value) { +// on the current field descriptor. +func (x *fastReflection_QueryAllInfusionByDestinationRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.DestinationId != "" { + value := protoreflect.ValueOfString(x.DestinationId) + if !f(fd_QueryAllInfusionByDestinationRequest_destinationId, value) { + return + } + } + if x.Pagination != nil { + value := protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) + if !f(fd_QueryAllInfusionByDestinationRequest_pagination, value) { return } } @@ -9508,15 +20298,17 @@ func (x *fastReflection_QueryGetGridRequest) Range(f func(protoreflect.FieldDesc // 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_QueryGetGridRequest) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_QueryAllInfusionByDestinationRequest) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.QueryGetGridRequest.attributeId": - return x.AttributeId != "" + case "structs.structs.QueryAllInfusionByDestinationRequest.destinationId": + return x.DestinationId != "" + case "structs.structs.QueryAllInfusionByDestinationRequest.pagination": + return x.Pagination != nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetGridRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllInfusionByDestinationRequest")) } - panic(fmt.Errorf("message structs.structs.QueryGetGridRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllInfusionByDestinationRequest does not contain field %s", fd.FullName())) } } @@ -9526,15 +20318,17 @@ func (x *fastReflection_QueryGetGridRequest) Has(fd protoreflect.FieldDescriptor // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryGetGridRequest) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_QueryAllInfusionByDestinationRequest) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.QueryGetGridRequest.attributeId": - x.AttributeId = "" + case "structs.structs.QueryAllInfusionByDestinationRequest.destinationId": + x.DestinationId = "" + case "structs.structs.QueryAllInfusionByDestinationRequest.pagination": + x.Pagination = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetGridRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllInfusionByDestinationRequest")) } - panic(fmt.Errorf("message structs.structs.QueryGetGridRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllInfusionByDestinationRequest does not contain field %s", fd.FullName())) } } @@ -9544,16 +20338,19 @@ func (x *fastReflection_QueryGetGridRequest) Clear(fd protoreflect.FieldDescript // 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_QueryGetGridRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryAllInfusionByDestinationRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.QueryGetGridRequest.attributeId": - value := x.AttributeId + case "structs.structs.QueryAllInfusionByDestinationRequest.destinationId": + value := x.DestinationId return protoreflect.ValueOfString(value) + case "structs.structs.QueryAllInfusionByDestinationRequest.pagination": + value := x.Pagination + return protoreflect.ValueOfMessage(value.ProtoReflect()) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetGridRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllInfusionByDestinationRequest")) } - panic(fmt.Errorf("message structs.structs.QueryGetGridRequest does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllInfusionByDestinationRequest does not contain field %s", descriptor.FullName())) } } @@ -9567,15 +20364,17 @@ func (x *fastReflection_QueryGetGridRequest) Get(descriptor protoreflect.FieldDe // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryGetGridRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_QueryAllInfusionByDestinationRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.QueryGetGridRequest.attributeId": - x.AttributeId = value.Interface().(string) + case "structs.structs.QueryAllInfusionByDestinationRequest.destinationId": + x.DestinationId = value.Interface().(string) + case "structs.structs.QueryAllInfusionByDestinationRequest.pagination": + x.Pagination = value.Message().Interface().(*v1beta1.PageRequest) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetGridRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllInfusionByDestinationRequest")) } - panic(fmt.Errorf("message structs.structs.QueryGetGridRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllInfusionByDestinationRequest does not contain field %s", fd.FullName())) } } @@ -9589,40 +20388,48 @@ func (x *fastReflection_QueryGetGridRequest) Set(fd protoreflect.FieldDescriptor // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryGetGridRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryAllInfusionByDestinationRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.QueryGetGridRequest.attributeId": - panic(fmt.Errorf("field attributeId of message structs.structs.QueryGetGridRequest is not mutable")) + case "structs.structs.QueryAllInfusionByDestinationRequest.pagination": + if x.Pagination == nil { + x.Pagination = new(v1beta1.PageRequest) + } + return protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) + case "structs.structs.QueryAllInfusionByDestinationRequest.destinationId": + panic(fmt.Errorf("field destinationId of message structs.structs.QueryAllInfusionByDestinationRequest is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetGridRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllInfusionByDestinationRequest")) } - panic(fmt.Errorf("message structs.structs.QueryGetGridRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllInfusionByDestinationRequest 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_QueryGetGridRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryAllInfusionByDestinationRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.QueryGetGridRequest.attributeId": + case "structs.structs.QueryAllInfusionByDestinationRequest.destinationId": return protoreflect.ValueOfString("") + case "structs.structs.QueryAllInfusionByDestinationRequest.pagination": + m := new(v1beta1.PageRequest) + return protoreflect.ValueOfMessage(m.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetGridRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllInfusionByDestinationRequest")) } - panic(fmt.Errorf("message structs.structs.QueryGetGridRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllInfusionByDestinationRequest 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_QueryGetGridRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_QueryAllInfusionByDestinationRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryGetGridRequest", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryAllInfusionByDestinationRequest", d.FullName())) } panic("unreachable") } @@ -9630,7 +20437,7 @@ func (x *fastReflection_QueryGetGridRequest) WhichOneof(d protoreflect.OneofDesc // 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_QueryGetGridRequest) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_QueryAllInfusionByDestinationRequest) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -9641,7 +20448,7 @@ func (x *fastReflection_QueryGetGridRequest) GetUnknown() protoreflect.RawFields // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryGetGridRequest) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_QueryAllInfusionByDestinationRequest) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -9653,7 +20460,7 @@ func (x *fastReflection_QueryGetGridRequest) SetUnknown(fields protoreflect.RawF // 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_QueryGetGridRequest) IsValid() bool { +func (x *fastReflection_QueryAllInfusionByDestinationRequest) IsValid() bool { return x != nil } @@ -9663,9 +20470,9 @@ func (x *fastReflection_QueryGetGridRequest) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_QueryGetGridRequest) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_QueryAllInfusionByDestinationRequest) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*QueryGetGridRequest) + x := input.Message.Interface().(*QueryAllInfusionByDestinationRequest) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -9677,10 +20484,14 @@ func (x *fastReflection_QueryGetGridRequest) ProtoMethods() *protoiface.Methods var n int var l int _ = l - l = len(x.AttributeId) + l = len(x.DestinationId) if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } + if x.Pagination != nil { + l = options.Size(x.Pagination) + n += 1 + l + runtime.Sov(uint64(l)) + } if x.unknownFields != nil { n += len(x.unknownFields) } @@ -9691,7 +20502,7 @@ func (x *fastReflection_QueryGetGridRequest) ProtoMethods() *protoiface.Methods } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*QueryGetGridRequest) + x := input.Message.Interface().(*QueryAllInfusionByDestinationRequest) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -9710,10 +20521,24 @@ func (x *fastReflection_QueryGetGridRequest) ProtoMethods() *protoiface.Methods i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if len(x.AttributeId) > 0 { - i -= len(x.AttributeId) - copy(dAtA[i:], x.AttributeId) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.AttributeId))) + if x.Pagination != nil { + encoded, err := options.Marshal(x.Pagination) + 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.DestinationId) > 0 { + i -= len(x.DestinationId) + copy(dAtA[i:], x.DestinationId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.DestinationId))) i-- dAtA[i] = 0xa } @@ -9728,7 +20553,7 @@ func (x *fastReflection_QueryGetGridRequest) ProtoMethods() *protoiface.Methods }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*QueryGetGridRequest) + x := input.Message.Interface().(*QueryAllInfusionByDestinationRequest) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -9760,15 +20585,15 @@ func (x *fastReflection_QueryGetGridRequest) ProtoMethods() *protoiface.Methods fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryGetGridRequest: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllInfusionByDestinationRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryGetGridRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllInfusionByDestinationRequest: 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 AttributeId", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field DestinationId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -9796,7 +20621,43 @@ func (x *fastReflection_QueryGetGridRequest) ProtoMethods() *protoiface.Methods if postIndex > l { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - x.AttributeId = string(dAtA[iNdEx:postIndex]) + x.DestinationId = 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 Pagination", 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.Pagination == nil { + x.Pagination = &v1beta1.PageRequest{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Pagination); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } iNdEx = postIndex default: iNdEx = preIndex @@ -9834,26 +20695,26 @@ func (x *fastReflection_QueryGetGridRequest) ProtoMethods() *protoiface.Methods } var ( - md_QueryAllGridRequest protoreflect.MessageDescriptor - fd_QueryAllGridRequest_pagination protoreflect.FieldDescriptor + md_QueryAllInfusionRequest protoreflect.MessageDescriptor + fd_QueryAllInfusionRequest_pagination protoreflect.FieldDescriptor ) func init() { file_structs_structs_query_proto_init() - md_QueryAllGridRequest = File_structs_structs_query_proto.Messages().ByName("QueryAllGridRequest") - fd_QueryAllGridRequest_pagination = md_QueryAllGridRequest.Fields().ByName("pagination") + md_QueryAllInfusionRequest = File_structs_structs_query_proto.Messages().ByName("QueryAllInfusionRequest") + fd_QueryAllInfusionRequest_pagination = md_QueryAllInfusionRequest.Fields().ByName("pagination") } -var _ protoreflect.Message = (*fastReflection_QueryAllGridRequest)(nil) +var _ protoreflect.Message = (*fastReflection_QueryAllInfusionRequest)(nil) -type fastReflection_QueryAllGridRequest QueryAllGridRequest +type fastReflection_QueryAllInfusionRequest QueryAllInfusionRequest -func (x *QueryAllGridRequest) ProtoReflect() protoreflect.Message { - return (*fastReflection_QueryAllGridRequest)(x) +func (x *QueryAllInfusionRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_QueryAllInfusionRequest)(x) } -func (x *QueryAllGridRequest) slowProtoReflect() protoreflect.Message { - mi := &file_structs_structs_query_proto_msgTypes[21] +func (x *QueryAllInfusionRequest) slowProtoReflect() protoreflect.Message { + mi := &file_structs_structs_query_proto_msgTypes[44] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -9864,43 +20725,43 @@ func (x *QueryAllGridRequest) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_QueryAllGridRequest_messageType fastReflection_QueryAllGridRequest_messageType -var _ protoreflect.MessageType = fastReflection_QueryAllGridRequest_messageType{} +var _fastReflection_QueryAllInfusionRequest_messageType fastReflection_QueryAllInfusionRequest_messageType +var _ protoreflect.MessageType = fastReflection_QueryAllInfusionRequest_messageType{} -type fastReflection_QueryAllGridRequest_messageType struct{} +type fastReflection_QueryAllInfusionRequest_messageType struct{} -func (x fastReflection_QueryAllGridRequest_messageType) Zero() protoreflect.Message { - return (*fastReflection_QueryAllGridRequest)(nil) +func (x fastReflection_QueryAllInfusionRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_QueryAllInfusionRequest)(nil) } -func (x fastReflection_QueryAllGridRequest_messageType) New() protoreflect.Message { - return new(fastReflection_QueryAllGridRequest) +func (x fastReflection_QueryAllInfusionRequest_messageType) New() protoreflect.Message { + return new(fastReflection_QueryAllInfusionRequest) } -func (x fastReflection_QueryAllGridRequest_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_QueryAllGridRequest +func (x fastReflection_QueryAllInfusionRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_QueryAllInfusionRequest } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_QueryAllGridRequest) Descriptor() protoreflect.MessageDescriptor { - return md_QueryAllGridRequest +func (x *fastReflection_QueryAllInfusionRequest) Descriptor() protoreflect.MessageDescriptor { + return md_QueryAllInfusionRequest } // 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_QueryAllGridRequest) Type() protoreflect.MessageType { - return _fastReflection_QueryAllGridRequest_messageType +func (x *fastReflection_QueryAllInfusionRequest) Type() protoreflect.MessageType { + return _fastReflection_QueryAllInfusionRequest_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_QueryAllGridRequest) New() protoreflect.Message { - return new(fastReflection_QueryAllGridRequest) +func (x *fastReflection_QueryAllInfusionRequest) New() protoreflect.Message { + return new(fastReflection_QueryAllInfusionRequest) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_QueryAllGridRequest) Interface() protoreflect.ProtoMessage { - return (*QueryAllGridRequest)(x) +func (x *fastReflection_QueryAllInfusionRequest) Interface() protoreflect.ProtoMessage { + return (*QueryAllInfusionRequest)(x) } // Range iterates over every populated field in an undefined order, @@ -9908,10 +20769,10 @@ func (x *fastReflection_QueryAllGridRequest) Interface() protoreflect.ProtoMessa // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_QueryAllGridRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +func (x *fastReflection_QueryAllInfusionRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { if x.Pagination != nil { value := protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) - if !f(fd_QueryAllGridRequest_pagination, value) { + if !f(fd_QueryAllInfusionRequest_pagination, value) { return } } @@ -9928,15 +20789,15 @@ func (x *fastReflection_QueryAllGridRequest) Range(f func(protoreflect.FieldDesc // 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_QueryAllGridRequest) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_QueryAllInfusionRequest) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.QueryAllGridRequest.pagination": + case "structs.structs.QueryAllInfusionRequest.pagination": return x.Pagination != nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllGridRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllInfusionRequest")) } - panic(fmt.Errorf("message structs.structs.QueryAllGridRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllInfusionRequest does not contain field %s", fd.FullName())) } } @@ -9946,15 +20807,15 @@ func (x *fastReflection_QueryAllGridRequest) Has(fd protoreflect.FieldDescriptor // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAllGridRequest) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_QueryAllInfusionRequest) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.QueryAllGridRequest.pagination": + case "structs.structs.QueryAllInfusionRequest.pagination": x.Pagination = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllGridRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllInfusionRequest")) } - panic(fmt.Errorf("message structs.structs.QueryAllGridRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllInfusionRequest does not contain field %s", fd.FullName())) } } @@ -9964,16 +20825,16 @@ func (x *fastReflection_QueryAllGridRequest) Clear(fd protoreflect.FieldDescript // 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_QueryAllGridRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryAllInfusionRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.QueryAllGridRequest.pagination": + case "structs.structs.QueryAllInfusionRequest.pagination": value := x.Pagination return protoreflect.ValueOfMessage(value.ProtoReflect()) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllGridRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllInfusionRequest")) } - panic(fmt.Errorf("message structs.structs.QueryAllGridRequest does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllInfusionRequest does not contain field %s", descriptor.FullName())) } } @@ -9987,15 +20848,15 @@ func (x *fastReflection_QueryAllGridRequest) Get(descriptor protoreflect.FieldDe // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAllGridRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_QueryAllInfusionRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.QueryAllGridRequest.pagination": + case "structs.structs.QueryAllInfusionRequest.pagination": x.Pagination = value.Message().Interface().(*v1beta1.PageRequest) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllGridRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllInfusionRequest")) } - panic(fmt.Errorf("message structs.structs.QueryAllGridRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllInfusionRequest does not contain field %s", fd.FullName())) } } @@ -10009,44 +20870,44 @@ func (x *fastReflection_QueryAllGridRequest) Set(fd protoreflect.FieldDescriptor // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAllGridRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryAllInfusionRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.QueryAllGridRequest.pagination": + case "structs.structs.QueryAllInfusionRequest.pagination": if x.Pagination == nil { x.Pagination = new(v1beta1.PageRequest) } return protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllGridRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllInfusionRequest")) } - panic(fmt.Errorf("message structs.structs.QueryAllGridRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllInfusionRequest 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_QueryAllGridRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryAllInfusionRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.QueryAllGridRequest.pagination": + case "structs.structs.QueryAllInfusionRequest.pagination": m := new(v1beta1.PageRequest) return protoreflect.ValueOfMessage(m.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllGridRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllInfusionRequest")) } - panic(fmt.Errorf("message structs.structs.QueryAllGridRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllInfusionRequest 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_QueryAllGridRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_QueryAllInfusionRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryAllGridRequest", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryAllInfusionRequest", d.FullName())) } panic("unreachable") } @@ -10054,7 +20915,7 @@ func (x *fastReflection_QueryAllGridRequest) WhichOneof(d protoreflect.OneofDesc // 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_QueryAllGridRequest) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_QueryAllInfusionRequest) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -10065,7 +20926,7 @@ func (x *fastReflection_QueryAllGridRequest) GetUnknown() protoreflect.RawFields // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAllGridRequest) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_QueryAllInfusionRequest) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -10077,7 +20938,7 @@ func (x *fastReflection_QueryAllGridRequest) SetUnknown(fields protoreflect.RawF // 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_QueryAllGridRequest) IsValid() bool { +func (x *fastReflection_QueryAllInfusionRequest) IsValid() bool { return x != nil } @@ -10087,9 +20948,9 @@ func (x *fastReflection_QueryAllGridRequest) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_QueryAllGridRequest) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_QueryAllInfusionRequest) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*QueryAllGridRequest) + x := input.Message.Interface().(*QueryAllInfusionRequest) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -10115,7 +20976,7 @@ func (x *fastReflection_QueryAllGridRequest) ProtoMethods() *protoiface.Methods } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*QueryAllGridRequest) + x := input.Message.Interface().(*QueryAllInfusionRequest) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -10159,7 +21020,7 @@ func (x *fastReflection_QueryAllGridRequest) ProtoMethods() *protoiface.Methods }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*QueryAllGridRequest) + x := input.Message.Interface().(*QueryAllInfusionRequest) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -10191,10 +21052,10 @@ func (x *fastReflection_QueryAllGridRequest) ProtoMethods() *protoiface.Methods fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllGridRequest: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllInfusionRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllGridRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllInfusionRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -10268,27 +21129,128 @@ func (x *fastReflection_QueryAllGridRequest) ProtoMethods() *protoiface.Methods } } +var _ protoreflect.List = (*_QueryAllInfusionResponse_1_list)(nil) + +type _QueryAllInfusionResponse_1_list struct { + list *[]*Infusion +} + +func (x *_QueryAllInfusionResponse_1_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_QueryAllInfusionResponse_1_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_QueryAllInfusionResponse_1_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*Infusion) + (*x.list)[i] = concreteValue +} + +func (x *_QueryAllInfusionResponse_1_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*Infusion) + *x.list = append(*x.list, concreteValue) +} + +func (x *_QueryAllInfusionResponse_1_list) AppendMutable() protoreflect.Value { + v := new(Infusion) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_QueryAllInfusionResponse_1_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_QueryAllInfusionResponse_1_list) NewElement() protoreflect.Value { + v := new(Infusion) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_QueryAllInfusionResponse_1_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_QueryAllInfusionResponse_3_list)(nil) + +type _QueryAllInfusionResponse_3_list struct { + list *[]uint64 +} + +func (x *_QueryAllInfusionResponse_3_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_QueryAllInfusionResponse_3_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfUint64((*x.list)[i]) +} + +func (x *_QueryAllInfusionResponse_3_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Uint() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_QueryAllInfusionResponse_3_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Uint() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_QueryAllInfusionResponse_3_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message QueryAllInfusionResponse at list field Status as it is not of Message kind")) +} + +func (x *_QueryAllInfusionResponse_3_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_QueryAllInfusionResponse_3_list) NewElement() protoreflect.Value { + v := uint64(0) + return protoreflect.ValueOfUint64(v) +} + +func (x *_QueryAllInfusionResponse_3_list) IsValid() bool { + return x.list != nil +} + var ( - md_QueryGetGridResponse protoreflect.MessageDescriptor - fd_QueryGetGridResponse_gridRecord protoreflect.FieldDescriptor + md_QueryAllInfusionResponse protoreflect.MessageDescriptor + fd_QueryAllInfusionResponse_Infusion protoreflect.FieldDescriptor + fd_QueryAllInfusionResponse_pagination protoreflect.FieldDescriptor + fd_QueryAllInfusionResponse_status protoreflect.FieldDescriptor ) func init() { file_structs_structs_query_proto_init() - md_QueryGetGridResponse = File_structs_structs_query_proto.Messages().ByName("QueryGetGridResponse") - fd_QueryGetGridResponse_gridRecord = md_QueryGetGridResponse.Fields().ByName("gridRecord") + md_QueryAllInfusionResponse = File_structs_structs_query_proto.Messages().ByName("QueryAllInfusionResponse") + fd_QueryAllInfusionResponse_Infusion = md_QueryAllInfusionResponse.Fields().ByName("Infusion") + fd_QueryAllInfusionResponse_pagination = md_QueryAllInfusionResponse.Fields().ByName("pagination") + fd_QueryAllInfusionResponse_status = md_QueryAllInfusionResponse.Fields().ByName("status") } -var _ protoreflect.Message = (*fastReflection_QueryGetGridResponse)(nil) +var _ protoreflect.Message = (*fastReflection_QueryAllInfusionResponse)(nil) -type fastReflection_QueryGetGridResponse QueryGetGridResponse +type fastReflection_QueryAllInfusionResponse QueryAllInfusionResponse -func (x *QueryGetGridResponse) ProtoReflect() protoreflect.Message { - return (*fastReflection_QueryGetGridResponse)(x) +func (x *QueryAllInfusionResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_QueryAllInfusionResponse)(x) } -func (x *QueryGetGridResponse) slowProtoReflect() protoreflect.Message { - mi := &file_structs_structs_query_proto_msgTypes[22] +func (x *QueryAllInfusionResponse) slowProtoReflect() protoreflect.Message { + mi := &file_structs_structs_query_proto_msgTypes[45] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -10299,43 +21261,43 @@ func (x *QueryGetGridResponse) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_QueryGetGridResponse_messageType fastReflection_QueryGetGridResponse_messageType -var _ protoreflect.MessageType = fastReflection_QueryGetGridResponse_messageType{} +var _fastReflection_QueryAllInfusionResponse_messageType fastReflection_QueryAllInfusionResponse_messageType +var _ protoreflect.MessageType = fastReflection_QueryAllInfusionResponse_messageType{} -type fastReflection_QueryGetGridResponse_messageType struct{} +type fastReflection_QueryAllInfusionResponse_messageType struct{} -func (x fastReflection_QueryGetGridResponse_messageType) Zero() protoreflect.Message { - return (*fastReflection_QueryGetGridResponse)(nil) +func (x fastReflection_QueryAllInfusionResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_QueryAllInfusionResponse)(nil) } -func (x fastReflection_QueryGetGridResponse_messageType) New() protoreflect.Message { - return new(fastReflection_QueryGetGridResponse) +func (x fastReflection_QueryAllInfusionResponse_messageType) New() protoreflect.Message { + return new(fastReflection_QueryAllInfusionResponse) } -func (x fastReflection_QueryGetGridResponse_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_QueryGetGridResponse +func (x fastReflection_QueryAllInfusionResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_QueryAllInfusionResponse } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_QueryGetGridResponse) Descriptor() protoreflect.MessageDescriptor { - return md_QueryGetGridResponse +func (x *fastReflection_QueryAllInfusionResponse) Descriptor() protoreflect.MessageDescriptor { + return md_QueryAllInfusionResponse } // 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_QueryGetGridResponse) Type() protoreflect.MessageType { - return _fastReflection_QueryGetGridResponse_messageType +func (x *fastReflection_QueryAllInfusionResponse) Type() protoreflect.MessageType { + return _fastReflection_QueryAllInfusionResponse_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_QueryGetGridResponse) New() protoreflect.Message { - return new(fastReflection_QueryGetGridResponse) +func (x *fastReflection_QueryAllInfusionResponse) New() protoreflect.Message { + return new(fastReflection_QueryAllInfusionResponse) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_QueryGetGridResponse) Interface() protoreflect.ProtoMessage { - return (*QueryGetGridResponse)(x) +func (x *fastReflection_QueryAllInfusionResponse) Interface() protoreflect.ProtoMessage { + return (*QueryAllInfusionResponse)(x) } // Range iterates over every populated field in an undefined order, @@ -10343,10 +21305,22 @@ func (x *fastReflection_QueryGetGridResponse) Interface() protoreflect.ProtoMess // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_QueryGetGridResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.GridRecord != nil { - value := protoreflect.ValueOfMessage(x.GridRecord.ProtoReflect()) - if !f(fd_QueryGetGridResponse_gridRecord, value) { +func (x *fastReflection_QueryAllInfusionResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if len(x.Infusion) != 0 { + value := protoreflect.ValueOfList(&_QueryAllInfusionResponse_1_list{list: &x.Infusion}) + if !f(fd_QueryAllInfusionResponse_Infusion, value) { + return + } + } + if x.Pagination != nil { + value := protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) + if !f(fd_QueryAllInfusionResponse_pagination, value) { + return + } + } + if len(x.Status) != 0 { + value := protoreflect.ValueOfList(&_QueryAllInfusionResponse_3_list{list: &x.Status}) + if !f(fd_QueryAllInfusionResponse_status, value) { return } } @@ -10363,15 +21337,19 @@ func (x *fastReflection_QueryGetGridResponse) Range(f func(protoreflect.FieldDes // 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_QueryGetGridResponse) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_QueryAllInfusionResponse) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.QueryGetGridResponse.gridRecord": - return x.GridRecord != nil + case "structs.structs.QueryAllInfusionResponse.Infusion": + return len(x.Infusion) != 0 + case "structs.structs.QueryAllInfusionResponse.pagination": + return x.Pagination != nil + case "structs.structs.QueryAllInfusionResponse.status": + return len(x.Status) != 0 default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetGridResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllInfusionResponse")) } - panic(fmt.Errorf("message structs.structs.QueryGetGridResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllInfusionResponse does not contain field %s", fd.FullName())) } } @@ -10381,15 +21359,19 @@ func (x *fastReflection_QueryGetGridResponse) Has(fd protoreflect.FieldDescripto // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryGetGridResponse) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_QueryAllInfusionResponse) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.QueryGetGridResponse.gridRecord": - x.GridRecord = nil + case "structs.structs.QueryAllInfusionResponse.Infusion": + x.Infusion = nil + case "structs.structs.QueryAllInfusionResponse.pagination": + x.Pagination = nil + case "structs.structs.QueryAllInfusionResponse.status": + x.Status = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetGridResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllInfusionResponse")) } - panic(fmt.Errorf("message structs.structs.QueryGetGridResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllInfusionResponse does not contain field %s", fd.FullName())) } } @@ -10399,16 +21381,28 @@ func (x *fastReflection_QueryGetGridResponse) Clear(fd protoreflect.FieldDescrip // 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_QueryGetGridResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { - switch descriptor.FullName() { - case "structs.structs.QueryGetGridResponse.gridRecord": - value := x.GridRecord +func (x *fastReflection_QueryAllInfusionResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "structs.structs.QueryAllInfusionResponse.Infusion": + if len(x.Infusion) == 0 { + return protoreflect.ValueOfList(&_QueryAllInfusionResponse_1_list{}) + } + listValue := &_QueryAllInfusionResponse_1_list{list: &x.Infusion} + return protoreflect.ValueOfList(listValue) + case "structs.structs.QueryAllInfusionResponse.pagination": + value := x.Pagination return protoreflect.ValueOfMessage(value.ProtoReflect()) + case "structs.structs.QueryAllInfusionResponse.status": + if len(x.Status) == 0 { + return protoreflect.ValueOfList(&_QueryAllInfusionResponse_3_list{}) + } + listValue := &_QueryAllInfusionResponse_3_list{list: &x.Status} + return protoreflect.ValueOfList(listValue) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetGridResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllInfusionResponse")) } - panic(fmt.Errorf("message structs.structs.QueryGetGridResponse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllInfusionResponse does not contain field %s", descriptor.FullName())) } } @@ -10422,15 +21416,23 @@ func (x *fastReflection_QueryGetGridResponse) Get(descriptor protoreflect.FieldD // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryGetGridResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_QueryAllInfusionResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.QueryGetGridResponse.gridRecord": - x.GridRecord = value.Message().Interface().(*GridRecord) + case "structs.structs.QueryAllInfusionResponse.Infusion": + lv := value.List() + clv := lv.(*_QueryAllInfusionResponse_1_list) + x.Infusion = *clv.list + case "structs.structs.QueryAllInfusionResponse.pagination": + x.Pagination = value.Message().Interface().(*v1beta1.PageResponse) + case "structs.structs.QueryAllInfusionResponse.status": + lv := value.List() + clv := lv.(*_QueryAllInfusionResponse_3_list) + x.Status = *clv.list default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetGridResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllInfusionResponse")) } - panic(fmt.Errorf("message structs.structs.QueryGetGridResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllInfusionResponse does not contain field %s", fd.FullName())) } } @@ -10444,44 +21446,62 @@ func (x *fastReflection_QueryGetGridResponse) Set(fd protoreflect.FieldDescripto // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryGetGridResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryAllInfusionResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.QueryGetGridResponse.gridRecord": - if x.GridRecord == nil { - x.GridRecord = new(GridRecord) + case "structs.structs.QueryAllInfusionResponse.Infusion": + if x.Infusion == nil { + x.Infusion = []*Infusion{} } - return protoreflect.ValueOfMessage(x.GridRecord.ProtoReflect()) + value := &_QueryAllInfusionResponse_1_list{list: &x.Infusion} + return protoreflect.ValueOfList(value) + case "structs.structs.QueryAllInfusionResponse.pagination": + if x.Pagination == nil { + x.Pagination = new(v1beta1.PageResponse) + } + return protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) + case "structs.structs.QueryAllInfusionResponse.status": + if x.Status == nil { + x.Status = []uint64{} + } + value := &_QueryAllInfusionResponse_3_list{list: &x.Status} + return protoreflect.ValueOfList(value) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetGridResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllInfusionResponse")) } - panic(fmt.Errorf("message structs.structs.QueryGetGridResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllInfusionResponse 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_QueryGetGridResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryAllInfusionResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.QueryGetGridResponse.gridRecord": - m := new(GridRecord) + case "structs.structs.QueryAllInfusionResponse.Infusion": + list := []*Infusion{} + return protoreflect.ValueOfList(&_QueryAllInfusionResponse_1_list{list: &list}) + case "structs.structs.QueryAllInfusionResponse.pagination": + m := new(v1beta1.PageResponse) return protoreflect.ValueOfMessage(m.ProtoReflect()) + case "structs.structs.QueryAllInfusionResponse.status": + list := []uint64{} + return protoreflect.ValueOfList(&_QueryAllInfusionResponse_3_list{list: &list}) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetGridResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllInfusionResponse")) } - panic(fmt.Errorf("message structs.structs.QueryGetGridResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllInfusionResponse 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_QueryGetGridResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_QueryAllInfusionResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryGetGridResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryAllInfusionResponse", d.FullName())) } panic("unreachable") } @@ -10489,7 +21509,7 @@ func (x *fastReflection_QueryGetGridResponse) WhichOneof(d protoreflect.OneofDes // 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_QueryGetGridResponse) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_QueryAllInfusionResponse) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -10500,7 +21520,7 @@ func (x *fastReflection_QueryGetGridResponse) GetUnknown() protoreflect.RawField // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryGetGridResponse) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_QueryAllInfusionResponse) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -10512,7 +21532,7 @@ func (x *fastReflection_QueryGetGridResponse) SetUnknown(fields protoreflect.Raw // 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_QueryGetGridResponse) IsValid() bool { +func (x *fastReflection_QueryAllInfusionResponse) IsValid() bool { return x != nil } @@ -10522,9 +21542,9 @@ func (x *fastReflection_QueryGetGridResponse) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_QueryGetGridResponse) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_QueryAllInfusionResponse) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*QueryGetGridResponse) + x := input.Message.Interface().(*QueryAllInfusionResponse) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -10536,10 +21556,23 @@ func (x *fastReflection_QueryGetGridResponse) ProtoMethods() *protoiface.Methods var n int var l int _ = l - if x.GridRecord != nil { - l = options.Size(x.GridRecord) + if len(x.Infusion) > 0 { + for _, e := range x.Infusion { + l = options.Size(e) + n += 1 + l + runtime.Sov(uint64(l)) + } + } + if x.Pagination != nil { + l = options.Size(x.Pagination) n += 1 + l + runtime.Sov(uint64(l)) } + if len(x.Status) > 0 { + l = 0 + for _, e := range x.Status { + l += runtime.Sov(uint64(e)) + } + n += 1 + runtime.Sov(uint64(l)) + l + } if x.unknownFields != nil { n += len(x.unknownFields) } @@ -10550,7 +21583,7 @@ func (x *fastReflection_QueryGetGridResponse) ProtoMethods() *protoiface.Methods } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*QueryGetGridResponse) + x := input.Message.Interface().(*QueryAllInfusionResponse) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -10569,8 +21602,28 @@ func (x *fastReflection_QueryGetGridResponse) ProtoMethods() *protoiface.Methods i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if x.GridRecord != nil { - encoded, err := options.Marshal(x.GridRecord) + if len(x.Status) > 0 { + var pksize2 int + for _, num := range x.Status { + pksize2 += runtime.Sov(uint64(num)) + } + i -= pksize2 + j1 := i + for _, num := range x.Status { + for num >= 1<<7 { + dAtA[j1] = uint8(uint64(num)&0x7f | 0x80) + num >>= 7 + j1++ + } + dAtA[j1] = uint8(num) + j1++ + } + i = runtime.EncodeVarint(dAtA, i, uint64(pksize2)) + i-- + dAtA[i] = 0x1a + } + if x.Pagination != nil { + encoded, err := options.Marshal(x.Pagination) if err != nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -10581,7 +21634,23 @@ func (x *fastReflection_QueryGetGridResponse) ProtoMethods() *protoiface.Methods copy(dAtA[i:], encoded) i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) i-- - dAtA[i] = 0xa + dAtA[i] = 0x12 + } + if len(x.Infusion) > 0 { + for iNdEx := len(x.Infusion) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.Infusion[iNdEx]) + 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...) @@ -10594,7 +21663,7 @@ func (x *fastReflection_QueryGetGridResponse) ProtoMethods() *protoiface.Methods }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*QueryGetGridResponse) + x := input.Message.Interface().(*QueryAllInfusionResponse) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -10626,15 +21695,15 @@ func (x *fastReflection_QueryGetGridResponse) ProtoMethods() *protoiface.Methods fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryGetGridResponse: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllInfusionResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryGetGridResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllInfusionResponse: 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 GridRecord", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Infusion", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -10661,13 +21730,123 @@ func (x *fastReflection_QueryGetGridResponse) ProtoMethods() *protoiface.Methods if postIndex > l { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - if x.GridRecord == nil { - x.GridRecord = &GridRecord{} + x.Infusion = append(x.Infusion, &Infusion{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Infusion[len(x.Infusion)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err } - if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.GridRecord); err != nil { + iNdEx = postIndex + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Pagination", 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.Pagination == nil { + x.Pagination = &v1beta1.PageResponse{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Pagination); err != nil { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err } iNdEx = postIndex + case 3: + if wireType == 0 { + var v 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++ + v |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.Status = append(x.Status, v) + } else if wireType == 2 { + var packedLen 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++ + packedLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if packedLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + packedLen + 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 + } + var elementCount int + var count int + for _, integer := range dAtA[iNdEx:postIndex] { + if integer < 128 { + count++ + } + } + elementCount = count + if elementCount != 0 && len(x.Status) == 0 { + x.Status = make([]uint64, 0, elementCount) + } + for iNdEx < postIndex { + var v 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++ + v |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.Status = append(x.Status, v) + } + } else { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) + } default: iNdEx = preIndex skippy, err := runtime.Skip(dAtA[iNdEx:]) @@ -10703,80 +21882,27 @@ func (x *fastReflection_QueryGetGridResponse) ProtoMethods() *protoiface.Methods } } -var _ protoreflect.List = (*_QueryAllGridResponse_1_list)(nil) - -type _QueryAllGridResponse_1_list struct { - list *[]*GridRecord -} - -func (x *_QueryAllGridResponse_1_list) Len() int { - if x.list == nil { - return 0 - } - return len(*x.list) -} - -func (x *_QueryAllGridResponse_1_list) Get(i int) protoreflect.Value { - return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) -} - -func (x *_QueryAllGridResponse_1_list) Set(i int, value protoreflect.Value) { - valueUnwrapped := value.Message() - concreteValue := valueUnwrapped.Interface().(*GridRecord) - (*x.list)[i] = concreteValue -} - -func (x *_QueryAllGridResponse_1_list) Append(value protoreflect.Value) { - valueUnwrapped := value.Message() - concreteValue := valueUnwrapped.Interface().(*GridRecord) - *x.list = append(*x.list, concreteValue) -} - -func (x *_QueryAllGridResponse_1_list) AppendMutable() protoreflect.Value { - v := new(GridRecord) - *x.list = append(*x.list, v) - return protoreflect.ValueOfMessage(v.ProtoReflect()) -} - -func (x *_QueryAllGridResponse_1_list) Truncate(n int) { - for i := n; i < len(*x.list); i++ { - (*x.list)[i] = nil - } - *x.list = (*x.list)[:n] -} - -func (x *_QueryAllGridResponse_1_list) NewElement() protoreflect.Value { - v := new(GridRecord) - return protoreflect.ValueOfMessage(v.ProtoReflect()) -} - -func (x *_QueryAllGridResponse_1_list) IsValid() bool { - return x.list != nil -} - var ( - md_QueryAllGridResponse protoreflect.MessageDescriptor - fd_QueryAllGridResponse_gridRecords protoreflect.FieldDescriptor - fd_QueryAllGridResponse_pagination protoreflect.FieldDescriptor + md_QueryGetPermissionRequest protoreflect.MessageDescriptor + fd_QueryGetPermissionRequest_permissionId protoreflect.FieldDescriptor ) func init() { file_structs_structs_query_proto_init() - md_QueryAllGridResponse = File_structs_structs_query_proto.Messages().ByName("QueryAllGridResponse") - fd_QueryAllGridResponse_gridRecords = md_QueryAllGridResponse.Fields().ByName("gridRecords") - fd_QueryAllGridResponse_pagination = md_QueryAllGridResponse.Fields().ByName("pagination") + md_QueryGetPermissionRequest = File_structs_structs_query_proto.Messages().ByName("QueryGetPermissionRequest") + fd_QueryGetPermissionRequest_permissionId = md_QueryGetPermissionRequest.Fields().ByName("permissionId") } -var _ protoreflect.Message = (*fastReflection_QueryAllGridResponse)(nil) +var _ protoreflect.Message = (*fastReflection_QueryGetPermissionRequest)(nil) -type fastReflection_QueryAllGridResponse QueryAllGridResponse +type fastReflection_QueryGetPermissionRequest QueryGetPermissionRequest -func (x *QueryAllGridResponse) ProtoReflect() protoreflect.Message { - return (*fastReflection_QueryAllGridResponse)(x) +func (x *QueryGetPermissionRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_QueryGetPermissionRequest)(x) } -func (x *QueryAllGridResponse) slowProtoReflect() protoreflect.Message { - mi := &file_structs_structs_query_proto_msgTypes[23] +func (x *QueryGetPermissionRequest) slowProtoReflect() protoreflect.Message { + mi := &file_structs_structs_query_proto_msgTypes[46] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -10787,43 +21913,43 @@ func (x *QueryAllGridResponse) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_QueryAllGridResponse_messageType fastReflection_QueryAllGridResponse_messageType -var _ protoreflect.MessageType = fastReflection_QueryAllGridResponse_messageType{} +var _fastReflection_QueryGetPermissionRequest_messageType fastReflection_QueryGetPermissionRequest_messageType +var _ protoreflect.MessageType = fastReflection_QueryGetPermissionRequest_messageType{} -type fastReflection_QueryAllGridResponse_messageType struct{} +type fastReflection_QueryGetPermissionRequest_messageType struct{} -func (x fastReflection_QueryAllGridResponse_messageType) Zero() protoreflect.Message { - return (*fastReflection_QueryAllGridResponse)(nil) +func (x fastReflection_QueryGetPermissionRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_QueryGetPermissionRequest)(nil) } -func (x fastReflection_QueryAllGridResponse_messageType) New() protoreflect.Message { - return new(fastReflection_QueryAllGridResponse) +func (x fastReflection_QueryGetPermissionRequest_messageType) New() protoreflect.Message { + return new(fastReflection_QueryGetPermissionRequest) } -func (x fastReflection_QueryAllGridResponse_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_QueryAllGridResponse +func (x fastReflection_QueryGetPermissionRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_QueryGetPermissionRequest } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_QueryAllGridResponse) Descriptor() protoreflect.MessageDescriptor { - return md_QueryAllGridResponse +func (x *fastReflection_QueryGetPermissionRequest) Descriptor() protoreflect.MessageDescriptor { + return md_QueryGetPermissionRequest } // 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_QueryAllGridResponse) Type() protoreflect.MessageType { - return _fastReflection_QueryAllGridResponse_messageType +func (x *fastReflection_QueryGetPermissionRequest) Type() protoreflect.MessageType { + return _fastReflection_QueryGetPermissionRequest_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_QueryAllGridResponse) New() protoreflect.Message { - return new(fastReflection_QueryAllGridResponse) +func (x *fastReflection_QueryGetPermissionRequest) New() protoreflect.Message { + return new(fastReflection_QueryGetPermissionRequest) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_QueryAllGridResponse) Interface() protoreflect.ProtoMessage { - return (*QueryAllGridResponse)(x) +func (x *fastReflection_QueryGetPermissionRequest) Interface() protoreflect.ProtoMessage { + return (*QueryGetPermissionRequest)(x) } // Range iterates over every populated field in an undefined order, @@ -10831,16 +21957,10 @@ func (x *fastReflection_QueryAllGridResponse) Interface() protoreflect.ProtoMess // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_QueryAllGridResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if len(x.GridRecords) != 0 { - value := protoreflect.ValueOfList(&_QueryAllGridResponse_1_list{list: &x.GridRecords}) - if !f(fd_QueryAllGridResponse_gridRecords, value) { - return - } - } - if x.Pagination != nil { - value := protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) - if !f(fd_QueryAllGridResponse_pagination, value) { +func (x *fastReflection_QueryGetPermissionRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.PermissionId != "" { + value := protoreflect.ValueOfString(x.PermissionId) + if !f(fd_QueryGetPermissionRequest_permissionId, value) { return } } @@ -10857,17 +21977,15 @@ func (x *fastReflection_QueryAllGridResponse) Range(f func(protoreflect.FieldDes // 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_QueryAllGridResponse) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_QueryGetPermissionRequest) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.QueryAllGridResponse.gridRecords": - return len(x.GridRecords) != 0 - case "structs.structs.QueryAllGridResponse.pagination": - return x.Pagination != nil + case "structs.structs.QueryGetPermissionRequest.permissionId": + return x.PermissionId != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllGridResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetPermissionRequest")) } - panic(fmt.Errorf("message structs.structs.QueryAllGridResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetPermissionRequest does not contain field %s", fd.FullName())) } } @@ -10877,17 +21995,15 @@ func (x *fastReflection_QueryAllGridResponse) Has(fd protoreflect.FieldDescripto // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAllGridResponse) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_QueryGetPermissionRequest) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.QueryAllGridResponse.gridRecords": - x.GridRecords = nil - case "structs.structs.QueryAllGridResponse.pagination": - x.Pagination = nil + case "structs.structs.QueryGetPermissionRequest.permissionId": + x.PermissionId = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllGridResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetPermissionRequest")) } - panic(fmt.Errorf("message structs.structs.QueryAllGridResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetPermissionRequest does not contain field %s", fd.FullName())) } } @@ -10897,22 +22013,16 @@ func (x *fastReflection_QueryAllGridResponse) Clear(fd protoreflect.FieldDescrip // 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_QueryAllGridResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryGetPermissionRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.QueryAllGridResponse.gridRecords": - if len(x.GridRecords) == 0 { - return protoreflect.ValueOfList(&_QueryAllGridResponse_1_list{}) - } - listValue := &_QueryAllGridResponse_1_list{list: &x.GridRecords} - return protoreflect.ValueOfList(listValue) - case "structs.structs.QueryAllGridResponse.pagination": - value := x.Pagination - return protoreflect.ValueOfMessage(value.ProtoReflect()) + case "structs.structs.QueryGetPermissionRequest.permissionId": + value := x.PermissionId + return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllGridResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetPermissionRequest")) } - panic(fmt.Errorf("message structs.structs.QueryAllGridResponse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetPermissionRequest does not contain field %s", descriptor.FullName())) } } @@ -10926,19 +22036,15 @@ func (x *fastReflection_QueryAllGridResponse) Get(descriptor protoreflect.FieldD // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAllGridResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_QueryGetPermissionRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.QueryAllGridResponse.gridRecords": - lv := value.List() - clv := lv.(*_QueryAllGridResponse_1_list) - x.GridRecords = *clv.list - case "structs.structs.QueryAllGridResponse.pagination": - x.Pagination = value.Message().Interface().(*v1beta1.PageResponse) + case "structs.structs.QueryGetPermissionRequest.permissionId": + x.PermissionId = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllGridResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetPermissionRequest")) } - panic(fmt.Errorf("message structs.structs.QueryAllGridResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetPermissionRequest does not contain field %s", fd.FullName())) } } @@ -10952,53 +22058,40 @@ func (x *fastReflection_QueryAllGridResponse) Set(fd protoreflect.FieldDescripto // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAllGridResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryGetPermissionRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.QueryAllGridResponse.gridRecords": - if x.GridRecords == nil { - x.GridRecords = []*GridRecord{} - } - value := &_QueryAllGridResponse_1_list{list: &x.GridRecords} - return protoreflect.ValueOfList(value) - case "structs.structs.QueryAllGridResponse.pagination": - if x.Pagination == nil { - x.Pagination = new(v1beta1.PageResponse) - } - return protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) + case "structs.structs.QueryGetPermissionRequest.permissionId": + panic(fmt.Errorf("field permissionId of message structs.structs.QueryGetPermissionRequest is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllGridResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetPermissionRequest")) } - panic(fmt.Errorf("message structs.structs.QueryAllGridResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetPermissionRequest 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_QueryAllGridResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryGetPermissionRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.QueryAllGridResponse.gridRecords": - list := []*GridRecord{} - return protoreflect.ValueOfList(&_QueryAllGridResponse_1_list{list: &list}) - case "structs.structs.QueryAllGridResponse.pagination": - m := new(v1beta1.PageResponse) - return protoreflect.ValueOfMessage(m.ProtoReflect()) + case "structs.structs.QueryGetPermissionRequest.permissionId": + return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllGridResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetPermissionRequest")) } - panic(fmt.Errorf("message structs.structs.QueryAllGridResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetPermissionRequest 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_QueryAllGridResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_QueryGetPermissionRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryAllGridResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryGetPermissionRequest", d.FullName())) } panic("unreachable") } @@ -11006,7 +22099,7 @@ func (x *fastReflection_QueryAllGridResponse) WhichOneof(d protoreflect.OneofDes // 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_QueryAllGridResponse) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_QueryGetPermissionRequest) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -11017,7 +22110,7 @@ func (x *fastReflection_QueryAllGridResponse) GetUnknown() protoreflect.RawField // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAllGridResponse) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_QueryGetPermissionRequest) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -11029,7 +22122,7 @@ func (x *fastReflection_QueryAllGridResponse) SetUnknown(fields protoreflect.Raw // 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_QueryAllGridResponse) IsValid() bool { +func (x *fastReflection_QueryGetPermissionRequest) IsValid() bool { return x != nil } @@ -11039,9 +22132,9 @@ func (x *fastReflection_QueryAllGridResponse) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_QueryAllGridResponse) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_QueryGetPermissionRequest) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*QueryAllGridResponse) + x := input.Message.Interface().(*QueryGetPermissionRequest) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -11053,14 +22146,8 @@ func (x *fastReflection_QueryAllGridResponse) ProtoMethods() *protoiface.Methods var n int var l int _ = l - if len(x.GridRecords) > 0 { - for _, e := range x.GridRecords { - l = options.Size(e) - n += 1 + l + runtime.Sov(uint64(l)) - } - } - if x.Pagination != nil { - l = options.Size(x.Pagination) + l = len(x.PermissionId) + if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } if x.unknownFields != nil { @@ -11073,7 +22160,7 @@ func (x *fastReflection_QueryAllGridResponse) ProtoMethods() *protoiface.Methods } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*QueryAllGridResponse) + x := input.Message.Interface().(*QueryGetPermissionRequest) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -11092,35 +22179,12 @@ func (x *fastReflection_QueryAllGridResponse) ProtoMethods() *protoiface.Methods i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if x.Pagination != nil { - encoded, err := options.Marshal(x.Pagination) - 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))) + if len(x.PermissionId) > 0 { + i -= len(x.PermissionId) + copy(dAtA[i:], x.PermissionId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.PermissionId))) i-- - dAtA[i] = 0x12 - } - if len(x.GridRecords) > 0 { - for iNdEx := len(x.GridRecords) - 1; iNdEx >= 0; iNdEx-- { - encoded, err := options.Marshal(x.GridRecords[iNdEx]) - 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 - } + dAtA[i] = 0xa } if input.Buf != nil { input.Buf = append(input.Buf, dAtA...) @@ -11133,7 +22197,7 @@ func (x *fastReflection_QueryAllGridResponse) ProtoMethods() *protoiface.Methods }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*QueryAllGridResponse) + x := input.Message.Interface().(*QueryGetPermissionRequest) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -11165,51 +22229,17 @@ func (x *fastReflection_QueryAllGridResponse) ProtoMethods() *protoiface.Methods fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllGridResponse: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryGetPermissionRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllGridResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryGetPermissionRequest: 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 GridRecords", 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 - } - x.GridRecords = append(x.GridRecords, &GridRecord{}) - if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.GridRecords[len(x.GridRecords)-1]); err != nil { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Pagination", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field PermissionId", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -11219,27 +22249,23 @@ func (x *fastReflection_QueryAllGridResponse) ProtoMethods() *protoiface.Methods } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength } - postIndex := iNdEx + msglen + 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 } - if x.Pagination == nil { - x.Pagination = &v1beta1.PageResponse{} - } - if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Pagination); err != nil { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err - } + x.PermissionId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -11277,26 +22303,28 @@ func (x *fastReflection_QueryAllGridResponse) ProtoMethods() *protoiface.Methods } var ( - md_QueryGetGuildRequest protoreflect.MessageDescriptor - fd_QueryGetGuildRequest_id protoreflect.FieldDescriptor + md_QueryAllPermissionByObjectRequest protoreflect.MessageDescriptor + fd_QueryAllPermissionByObjectRequest_objectId protoreflect.FieldDescriptor + fd_QueryAllPermissionByObjectRequest_pagination protoreflect.FieldDescriptor ) func init() { file_structs_structs_query_proto_init() - md_QueryGetGuildRequest = File_structs_structs_query_proto.Messages().ByName("QueryGetGuildRequest") - fd_QueryGetGuildRequest_id = md_QueryGetGuildRequest.Fields().ByName("id") + md_QueryAllPermissionByObjectRequest = File_structs_structs_query_proto.Messages().ByName("QueryAllPermissionByObjectRequest") + fd_QueryAllPermissionByObjectRequest_objectId = md_QueryAllPermissionByObjectRequest.Fields().ByName("objectId") + fd_QueryAllPermissionByObjectRequest_pagination = md_QueryAllPermissionByObjectRequest.Fields().ByName("pagination") } -var _ protoreflect.Message = (*fastReflection_QueryGetGuildRequest)(nil) +var _ protoreflect.Message = (*fastReflection_QueryAllPermissionByObjectRequest)(nil) -type fastReflection_QueryGetGuildRequest QueryGetGuildRequest +type fastReflection_QueryAllPermissionByObjectRequest QueryAllPermissionByObjectRequest -func (x *QueryGetGuildRequest) ProtoReflect() protoreflect.Message { - return (*fastReflection_QueryGetGuildRequest)(x) +func (x *QueryAllPermissionByObjectRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_QueryAllPermissionByObjectRequest)(x) } -func (x *QueryGetGuildRequest) slowProtoReflect() protoreflect.Message { - mi := &file_structs_structs_query_proto_msgTypes[24] +func (x *QueryAllPermissionByObjectRequest) slowProtoReflect() protoreflect.Message { + mi := &file_structs_structs_query_proto_msgTypes[47] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -11307,43 +22335,43 @@ func (x *QueryGetGuildRequest) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_QueryGetGuildRequest_messageType fastReflection_QueryGetGuildRequest_messageType -var _ protoreflect.MessageType = fastReflection_QueryGetGuildRequest_messageType{} +var _fastReflection_QueryAllPermissionByObjectRequest_messageType fastReflection_QueryAllPermissionByObjectRequest_messageType +var _ protoreflect.MessageType = fastReflection_QueryAllPermissionByObjectRequest_messageType{} -type fastReflection_QueryGetGuildRequest_messageType struct{} +type fastReflection_QueryAllPermissionByObjectRequest_messageType struct{} -func (x fastReflection_QueryGetGuildRequest_messageType) Zero() protoreflect.Message { - return (*fastReflection_QueryGetGuildRequest)(nil) +func (x fastReflection_QueryAllPermissionByObjectRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_QueryAllPermissionByObjectRequest)(nil) } -func (x fastReflection_QueryGetGuildRequest_messageType) New() protoreflect.Message { - return new(fastReflection_QueryGetGuildRequest) +func (x fastReflection_QueryAllPermissionByObjectRequest_messageType) New() protoreflect.Message { + return new(fastReflection_QueryAllPermissionByObjectRequest) } -func (x fastReflection_QueryGetGuildRequest_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_QueryGetGuildRequest +func (x fastReflection_QueryAllPermissionByObjectRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_QueryAllPermissionByObjectRequest } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_QueryGetGuildRequest) Descriptor() protoreflect.MessageDescriptor { - return md_QueryGetGuildRequest +func (x *fastReflection_QueryAllPermissionByObjectRequest) Descriptor() protoreflect.MessageDescriptor { + return md_QueryAllPermissionByObjectRequest } // 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_QueryGetGuildRequest) Type() protoreflect.MessageType { - return _fastReflection_QueryGetGuildRequest_messageType +func (x *fastReflection_QueryAllPermissionByObjectRequest) Type() protoreflect.MessageType { + return _fastReflection_QueryAllPermissionByObjectRequest_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_QueryGetGuildRequest) New() protoreflect.Message { - return new(fastReflection_QueryGetGuildRequest) +func (x *fastReflection_QueryAllPermissionByObjectRequest) New() protoreflect.Message { + return new(fastReflection_QueryAllPermissionByObjectRequest) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_QueryGetGuildRequest) Interface() protoreflect.ProtoMessage { - return (*QueryGetGuildRequest)(x) +func (x *fastReflection_QueryAllPermissionByObjectRequest) Interface() protoreflect.ProtoMessage { + return (*QueryAllPermissionByObjectRequest)(x) } // Range iterates over every populated field in an undefined order, @@ -11351,10 +22379,16 @@ func (x *fastReflection_QueryGetGuildRequest) Interface() protoreflect.ProtoMess // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_QueryGetGuildRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.Id != "" { - value := protoreflect.ValueOfString(x.Id) - if !f(fd_QueryGetGuildRequest_id, value) { +func (x *fastReflection_QueryAllPermissionByObjectRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.ObjectId != "" { + value := protoreflect.ValueOfString(x.ObjectId) + if !f(fd_QueryAllPermissionByObjectRequest_objectId, value) { + return + } + } + if x.Pagination != nil { + value := protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) + if !f(fd_QueryAllPermissionByObjectRequest_pagination, value) { return } } @@ -11371,15 +22405,17 @@ func (x *fastReflection_QueryGetGuildRequest) Range(f func(protoreflect.FieldDes // 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_QueryGetGuildRequest) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_QueryAllPermissionByObjectRequest) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.QueryGetGuildRequest.id": - return x.Id != "" + case "structs.structs.QueryAllPermissionByObjectRequest.objectId": + return x.ObjectId != "" + case "structs.structs.QueryAllPermissionByObjectRequest.pagination": + return x.Pagination != nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetGuildRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPermissionByObjectRequest")) } - panic(fmt.Errorf("message structs.structs.QueryGetGuildRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllPermissionByObjectRequest does not contain field %s", fd.FullName())) } } @@ -11389,15 +22425,17 @@ func (x *fastReflection_QueryGetGuildRequest) Has(fd protoreflect.FieldDescripto // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryGetGuildRequest) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_QueryAllPermissionByObjectRequest) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.QueryGetGuildRequest.id": - x.Id = "" + case "structs.structs.QueryAllPermissionByObjectRequest.objectId": + x.ObjectId = "" + case "structs.structs.QueryAllPermissionByObjectRequest.pagination": + x.Pagination = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetGuildRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPermissionByObjectRequest")) } - panic(fmt.Errorf("message structs.structs.QueryGetGuildRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllPermissionByObjectRequest does not contain field %s", fd.FullName())) } } @@ -11407,16 +22445,19 @@ func (x *fastReflection_QueryGetGuildRequest) Clear(fd protoreflect.FieldDescrip // 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_QueryGetGuildRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryAllPermissionByObjectRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.QueryGetGuildRequest.id": - value := x.Id + case "structs.structs.QueryAllPermissionByObjectRequest.objectId": + value := x.ObjectId return protoreflect.ValueOfString(value) + case "structs.structs.QueryAllPermissionByObjectRequest.pagination": + value := x.Pagination + return protoreflect.ValueOfMessage(value.ProtoReflect()) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetGuildRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPermissionByObjectRequest")) } - panic(fmt.Errorf("message structs.structs.QueryGetGuildRequest does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllPermissionByObjectRequest does not contain field %s", descriptor.FullName())) } } @@ -11430,15 +22471,17 @@ func (x *fastReflection_QueryGetGuildRequest) Get(descriptor protoreflect.FieldD // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryGetGuildRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_QueryAllPermissionByObjectRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.QueryGetGuildRequest.id": - x.Id = value.Interface().(string) + case "structs.structs.QueryAllPermissionByObjectRequest.objectId": + x.ObjectId = value.Interface().(string) + case "structs.structs.QueryAllPermissionByObjectRequest.pagination": + x.Pagination = value.Message().Interface().(*v1beta1.PageRequest) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetGuildRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPermissionByObjectRequest")) } - panic(fmt.Errorf("message structs.structs.QueryGetGuildRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllPermissionByObjectRequest does not contain field %s", fd.FullName())) } } @@ -11452,40 +22495,48 @@ func (x *fastReflection_QueryGetGuildRequest) Set(fd protoreflect.FieldDescripto // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryGetGuildRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryAllPermissionByObjectRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.QueryGetGuildRequest.id": - panic(fmt.Errorf("field id of message structs.structs.QueryGetGuildRequest is not mutable")) + case "structs.structs.QueryAllPermissionByObjectRequest.pagination": + if x.Pagination == nil { + x.Pagination = new(v1beta1.PageRequest) + } + return protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) + case "structs.structs.QueryAllPermissionByObjectRequest.objectId": + panic(fmt.Errorf("field objectId of message structs.structs.QueryAllPermissionByObjectRequest is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetGuildRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPermissionByObjectRequest")) } - panic(fmt.Errorf("message structs.structs.QueryGetGuildRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllPermissionByObjectRequest 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_QueryGetGuildRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryAllPermissionByObjectRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.QueryGetGuildRequest.id": + case "structs.structs.QueryAllPermissionByObjectRequest.objectId": return protoreflect.ValueOfString("") + case "structs.structs.QueryAllPermissionByObjectRequest.pagination": + m := new(v1beta1.PageRequest) + return protoreflect.ValueOfMessage(m.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetGuildRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPermissionByObjectRequest")) } - panic(fmt.Errorf("message structs.structs.QueryGetGuildRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllPermissionByObjectRequest 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_QueryGetGuildRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_QueryAllPermissionByObjectRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryGetGuildRequest", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryAllPermissionByObjectRequest", d.FullName())) } panic("unreachable") } @@ -11493,7 +22544,7 @@ func (x *fastReflection_QueryGetGuildRequest) WhichOneof(d protoreflect.OneofDes // 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_QueryGetGuildRequest) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_QueryAllPermissionByObjectRequest) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -11504,7 +22555,7 @@ func (x *fastReflection_QueryGetGuildRequest) GetUnknown() protoreflect.RawField // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryGetGuildRequest) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_QueryAllPermissionByObjectRequest) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -11516,7 +22567,7 @@ func (x *fastReflection_QueryGetGuildRequest) SetUnknown(fields protoreflect.Raw // 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_QueryGetGuildRequest) IsValid() bool { +func (x *fastReflection_QueryAllPermissionByObjectRequest) IsValid() bool { return x != nil } @@ -11526,9 +22577,9 @@ func (x *fastReflection_QueryGetGuildRequest) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_QueryGetGuildRequest) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_QueryAllPermissionByObjectRequest) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*QueryGetGuildRequest) + x := input.Message.Interface().(*QueryAllPermissionByObjectRequest) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -11540,10 +22591,14 @@ func (x *fastReflection_QueryGetGuildRequest) ProtoMethods() *protoiface.Methods var n int var l int _ = l - l = len(x.Id) + l = len(x.ObjectId) if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } + if x.Pagination != nil { + l = options.Size(x.Pagination) + n += 1 + l + runtime.Sov(uint64(l)) + } if x.unknownFields != nil { n += len(x.unknownFields) } @@ -11554,7 +22609,7 @@ func (x *fastReflection_QueryGetGuildRequest) ProtoMethods() *protoiface.Methods } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*QueryGetGuildRequest) + x := input.Message.Interface().(*QueryAllPermissionByObjectRequest) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -11573,10 +22628,24 @@ func (x *fastReflection_QueryGetGuildRequest) ProtoMethods() *protoiface.Methods i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if len(x.Id) > 0 { - i -= len(x.Id) - copy(dAtA[i:], x.Id) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Id))) + if x.Pagination != nil { + encoded, err := options.Marshal(x.Pagination) + 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.ObjectId) > 0 { + i -= len(x.ObjectId) + copy(dAtA[i:], x.ObjectId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.ObjectId))) i-- dAtA[i] = 0xa } @@ -11591,7 +22660,7 @@ func (x *fastReflection_QueryGetGuildRequest) ProtoMethods() *protoiface.Methods }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*QueryGetGuildRequest) + x := input.Message.Interface().(*QueryAllPermissionByObjectRequest) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -11623,15 +22692,15 @@ func (x *fastReflection_QueryGetGuildRequest) ProtoMethods() *protoiface.Methods fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryGetGuildRequest: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllPermissionByObjectRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryGetGuildRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllPermissionByObjectRequest: 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 Id", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ObjectId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -11659,7 +22728,43 @@ func (x *fastReflection_QueryGetGuildRequest) ProtoMethods() *protoiface.Methods if postIndex > l { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - x.Id = string(dAtA[iNdEx:postIndex]) + x.ObjectId = 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 Pagination", 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.Pagination == nil { + x.Pagination = &v1beta1.PageRequest{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Pagination); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } iNdEx = postIndex default: iNdEx = preIndex @@ -11697,26 +22802,28 @@ func (x *fastReflection_QueryGetGuildRequest) ProtoMethods() *protoiface.Methods } var ( - md_QueryGetGuildResponse protoreflect.MessageDescriptor - fd_QueryGetGuildResponse_Guild protoreflect.FieldDescriptor + md_QueryAllPermissionByPlayerRequest protoreflect.MessageDescriptor + fd_QueryAllPermissionByPlayerRequest_playerId protoreflect.FieldDescriptor + fd_QueryAllPermissionByPlayerRequest_pagination protoreflect.FieldDescriptor ) func init() { file_structs_structs_query_proto_init() - md_QueryGetGuildResponse = File_structs_structs_query_proto.Messages().ByName("QueryGetGuildResponse") - fd_QueryGetGuildResponse_Guild = md_QueryGetGuildResponse.Fields().ByName("Guild") + md_QueryAllPermissionByPlayerRequest = File_structs_structs_query_proto.Messages().ByName("QueryAllPermissionByPlayerRequest") + fd_QueryAllPermissionByPlayerRequest_playerId = md_QueryAllPermissionByPlayerRequest.Fields().ByName("playerId") + fd_QueryAllPermissionByPlayerRequest_pagination = md_QueryAllPermissionByPlayerRequest.Fields().ByName("pagination") } -var _ protoreflect.Message = (*fastReflection_QueryGetGuildResponse)(nil) +var _ protoreflect.Message = (*fastReflection_QueryAllPermissionByPlayerRequest)(nil) -type fastReflection_QueryGetGuildResponse QueryGetGuildResponse +type fastReflection_QueryAllPermissionByPlayerRequest QueryAllPermissionByPlayerRequest -func (x *QueryGetGuildResponse) ProtoReflect() protoreflect.Message { - return (*fastReflection_QueryGetGuildResponse)(x) +func (x *QueryAllPermissionByPlayerRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_QueryAllPermissionByPlayerRequest)(x) } -func (x *QueryGetGuildResponse) slowProtoReflect() protoreflect.Message { - mi := &file_structs_structs_query_proto_msgTypes[25] +func (x *QueryAllPermissionByPlayerRequest) slowProtoReflect() protoreflect.Message { + mi := &file_structs_structs_query_proto_msgTypes[48] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -11727,43 +22834,43 @@ func (x *QueryGetGuildResponse) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_QueryGetGuildResponse_messageType fastReflection_QueryGetGuildResponse_messageType -var _ protoreflect.MessageType = fastReflection_QueryGetGuildResponse_messageType{} +var _fastReflection_QueryAllPermissionByPlayerRequest_messageType fastReflection_QueryAllPermissionByPlayerRequest_messageType +var _ protoreflect.MessageType = fastReflection_QueryAllPermissionByPlayerRequest_messageType{} -type fastReflection_QueryGetGuildResponse_messageType struct{} +type fastReflection_QueryAllPermissionByPlayerRequest_messageType struct{} -func (x fastReflection_QueryGetGuildResponse_messageType) Zero() protoreflect.Message { - return (*fastReflection_QueryGetGuildResponse)(nil) +func (x fastReflection_QueryAllPermissionByPlayerRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_QueryAllPermissionByPlayerRequest)(nil) } -func (x fastReflection_QueryGetGuildResponse_messageType) New() protoreflect.Message { - return new(fastReflection_QueryGetGuildResponse) +func (x fastReflection_QueryAllPermissionByPlayerRequest_messageType) New() protoreflect.Message { + return new(fastReflection_QueryAllPermissionByPlayerRequest) } -func (x fastReflection_QueryGetGuildResponse_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_QueryGetGuildResponse +func (x fastReflection_QueryAllPermissionByPlayerRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_QueryAllPermissionByPlayerRequest } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_QueryGetGuildResponse) Descriptor() protoreflect.MessageDescriptor { - return md_QueryGetGuildResponse +func (x *fastReflection_QueryAllPermissionByPlayerRequest) Descriptor() protoreflect.MessageDescriptor { + return md_QueryAllPermissionByPlayerRequest } // 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_QueryGetGuildResponse) Type() protoreflect.MessageType { - return _fastReflection_QueryGetGuildResponse_messageType +func (x *fastReflection_QueryAllPermissionByPlayerRequest) Type() protoreflect.MessageType { + return _fastReflection_QueryAllPermissionByPlayerRequest_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_QueryGetGuildResponse) New() protoreflect.Message { - return new(fastReflection_QueryGetGuildResponse) +func (x *fastReflection_QueryAllPermissionByPlayerRequest) New() protoreflect.Message { + return new(fastReflection_QueryAllPermissionByPlayerRequest) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_QueryGetGuildResponse) Interface() protoreflect.ProtoMessage { - return (*QueryGetGuildResponse)(x) +func (x *fastReflection_QueryAllPermissionByPlayerRequest) Interface() protoreflect.ProtoMessage { + return (*QueryAllPermissionByPlayerRequest)(x) } // Range iterates over every populated field in an undefined order, @@ -11771,10 +22878,16 @@ func (x *fastReflection_QueryGetGuildResponse) Interface() protoreflect.ProtoMes // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_QueryGetGuildResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.Guild != nil { - value := protoreflect.ValueOfMessage(x.Guild.ProtoReflect()) - if !f(fd_QueryGetGuildResponse_Guild, value) { +func (x *fastReflection_QueryAllPermissionByPlayerRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.PlayerId != "" { + value := protoreflect.ValueOfString(x.PlayerId) + if !f(fd_QueryAllPermissionByPlayerRequest_playerId, value) { + return + } + } + if x.Pagination != nil { + value := protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) + if !f(fd_QueryAllPermissionByPlayerRequest_pagination, value) { return } } @@ -11791,15 +22904,17 @@ func (x *fastReflection_QueryGetGuildResponse) Range(f func(protoreflect.FieldDe // 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_QueryGetGuildResponse) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_QueryAllPermissionByPlayerRequest) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.QueryGetGuildResponse.Guild": - return x.Guild != nil + case "structs.structs.QueryAllPermissionByPlayerRequest.playerId": + return x.PlayerId != "" + case "structs.structs.QueryAllPermissionByPlayerRequest.pagination": + return x.Pagination != nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetGuildResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPermissionByPlayerRequest")) } - panic(fmt.Errorf("message structs.structs.QueryGetGuildResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllPermissionByPlayerRequest does not contain field %s", fd.FullName())) } } @@ -11809,15 +22924,17 @@ func (x *fastReflection_QueryGetGuildResponse) Has(fd protoreflect.FieldDescript // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryGetGuildResponse) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_QueryAllPermissionByPlayerRequest) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.QueryGetGuildResponse.Guild": - x.Guild = nil + case "structs.structs.QueryAllPermissionByPlayerRequest.playerId": + x.PlayerId = "" + case "structs.structs.QueryAllPermissionByPlayerRequest.pagination": + x.Pagination = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetGuildResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPermissionByPlayerRequest")) } - panic(fmt.Errorf("message structs.structs.QueryGetGuildResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllPermissionByPlayerRequest does not contain field %s", fd.FullName())) } } @@ -11827,16 +22944,19 @@ func (x *fastReflection_QueryGetGuildResponse) Clear(fd protoreflect.FieldDescri // 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_QueryGetGuildResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryAllPermissionByPlayerRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.QueryGetGuildResponse.Guild": - value := x.Guild + case "structs.structs.QueryAllPermissionByPlayerRequest.playerId": + value := x.PlayerId + return protoreflect.ValueOfString(value) + case "structs.structs.QueryAllPermissionByPlayerRequest.pagination": + value := x.Pagination return protoreflect.ValueOfMessage(value.ProtoReflect()) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetGuildResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPermissionByPlayerRequest")) } - panic(fmt.Errorf("message structs.structs.QueryGetGuildResponse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllPermissionByPlayerRequest does not contain field %s", descriptor.FullName())) } } @@ -11850,15 +22970,17 @@ func (x *fastReflection_QueryGetGuildResponse) Get(descriptor protoreflect.Field // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryGetGuildResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_QueryAllPermissionByPlayerRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.QueryGetGuildResponse.Guild": - x.Guild = value.Message().Interface().(*Guild) + case "structs.structs.QueryAllPermissionByPlayerRequest.playerId": + x.PlayerId = value.Interface().(string) + case "structs.structs.QueryAllPermissionByPlayerRequest.pagination": + x.Pagination = value.Message().Interface().(*v1beta1.PageRequest) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetGuildResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPermissionByPlayerRequest")) } - panic(fmt.Errorf("message structs.structs.QueryGetGuildResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllPermissionByPlayerRequest does not contain field %s", fd.FullName())) } } @@ -11872,44 +22994,48 @@ func (x *fastReflection_QueryGetGuildResponse) Set(fd protoreflect.FieldDescript // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryGetGuildResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryAllPermissionByPlayerRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.QueryGetGuildResponse.Guild": - if x.Guild == nil { - x.Guild = new(Guild) + case "structs.structs.QueryAllPermissionByPlayerRequest.pagination": + if x.Pagination == nil { + x.Pagination = new(v1beta1.PageRequest) } - return protoreflect.ValueOfMessage(x.Guild.ProtoReflect()) + return protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) + case "structs.structs.QueryAllPermissionByPlayerRequest.playerId": + panic(fmt.Errorf("field playerId of message structs.structs.QueryAllPermissionByPlayerRequest is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetGuildResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPermissionByPlayerRequest")) } - panic(fmt.Errorf("message structs.structs.QueryGetGuildResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllPermissionByPlayerRequest 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_QueryGetGuildResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryAllPermissionByPlayerRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.QueryGetGuildResponse.Guild": - m := new(Guild) + case "structs.structs.QueryAllPermissionByPlayerRequest.playerId": + return protoreflect.ValueOfString("") + case "structs.structs.QueryAllPermissionByPlayerRequest.pagination": + m := new(v1beta1.PageRequest) return protoreflect.ValueOfMessage(m.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetGuildResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPermissionByPlayerRequest")) } - panic(fmt.Errorf("message structs.structs.QueryGetGuildResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllPermissionByPlayerRequest 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_QueryGetGuildResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_QueryAllPermissionByPlayerRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryGetGuildResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryAllPermissionByPlayerRequest", d.FullName())) } panic("unreachable") } @@ -11917,7 +23043,7 @@ func (x *fastReflection_QueryGetGuildResponse) WhichOneof(d protoreflect.OneofDe // 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_QueryGetGuildResponse) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_QueryAllPermissionByPlayerRequest) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -11928,7 +23054,7 @@ func (x *fastReflection_QueryGetGuildResponse) GetUnknown() protoreflect.RawFiel // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryGetGuildResponse) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_QueryAllPermissionByPlayerRequest) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -11940,7 +23066,7 @@ func (x *fastReflection_QueryGetGuildResponse) SetUnknown(fields protoreflect.Ra // 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_QueryGetGuildResponse) IsValid() bool { +func (x *fastReflection_QueryAllPermissionByPlayerRequest) IsValid() bool { return x != nil } @@ -11950,9 +23076,9 @@ func (x *fastReflection_QueryGetGuildResponse) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_QueryGetGuildResponse) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_QueryAllPermissionByPlayerRequest) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*QueryGetGuildResponse) + x := input.Message.Interface().(*QueryAllPermissionByPlayerRequest) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -11964,8 +23090,12 @@ func (x *fastReflection_QueryGetGuildResponse) ProtoMethods() *protoiface.Method var n int var l int _ = l - if x.Guild != nil { - l = options.Size(x.Guild) + l = len(x.PlayerId) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.Pagination != nil { + l = options.Size(x.Pagination) n += 1 + l + runtime.Sov(uint64(l)) } if x.unknownFields != nil { @@ -11978,7 +23108,7 @@ func (x *fastReflection_QueryGetGuildResponse) ProtoMethods() *protoiface.Method } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*QueryGetGuildResponse) + x := input.Message.Interface().(*QueryAllPermissionByPlayerRequest) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -11997,8 +23127,8 @@ func (x *fastReflection_QueryGetGuildResponse) ProtoMethods() *protoiface.Method i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if x.Guild != nil { - encoded, err := options.Marshal(x.Guild) + if x.Pagination != nil { + encoded, err := options.Marshal(x.Pagination) if err != nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -12009,6 +23139,13 @@ func (x *fastReflection_QueryGetGuildResponse) ProtoMethods() *protoiface.Method copy(dAtA[i:], encoded) i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) i-- + dAtA[i] = 0x12 + } + if len(x.PlayerId) > 0 { + i -= len(x.PlayerId) + copy(dAtA[i:], x.PlayerId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.PlayerId))) + i-- dAtA[i] = 0xa } if input.Buf != nil { @@ -12022,7 +23159,7 @@ func (x *fastReflection_QueryGetGuildResponse) ProtoMethods() *protoiface.Method }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*QueryGetGuildResponse) + x := input.Message.Interface().(*QueryAllPermissionByPlayerRequest) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -12054,15 +23191,47 @@ func (x *fastReflection_QueryGetGuildResponse) ProtoMethods() *protoiface.Method fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryGetGuildResponse: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllPermissionByPlayerRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryGetGuildResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllPermissionByPlayerRequest: 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 Guild", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field PlayerId", 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.PlayerId = 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 Pagination", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -12089,10 +23258,10 @@ func (x *fastReflection_QueryGetGuildResponse) ProtoMethods() *protoiface.Method if postIndex > l { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - if x.Guild == nil { - x.Guild = &Guild{} + if x.Pagination == nil { + x.Pagination = &v1beta1.PageRequest{} } - if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Guild); err != nil { + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Pagination); err != nil { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err } iNdEx = postIndex @@ -12132,26 +23301,26 @@ func (x *fastReflection_QueryGetGuildResponse) ProtoMethods() *protoiface.Method } var ( - md_QueryAllGuildRequest protoreflect.MessageDescriptor - fd_QueryAllGuildRequest_pagination protoreflect.FieldDescriptor + md_QueryAllPermissionRequest protoreflect.MessageDescriptor + fd_QueryAllPermissionRequest_pagination protoreflect.FieldDescriptor ) func init() { file_structs_structs_query_proto_init() - md_QueryAllGuildRequest = File_structs_structs_query_proto.Messages().ByName("QueryAllGuildRequest") - fd_QueryAllGuildRequest_pagination = md_QueryAllGuildRequest.Fields().ByName("pagination") + md_QueryAllPermissionRequest = File_structs_structs_query_proto.Messages().ByName("QueryAllPermissionRequest") + fd_QueryAllPermissionRequest_pagination = md_QueryAllPermissionRequest.Fields().ByName("pagination") } -var _ protoreflect.Message = (*fastReflection_QueryAllGuildRequest)(nil) +var _ protoreflect.Message = (*fastReflection_QueryAllPermissionRequest)(nil) -type fastReflection_QueryAllGuildRequest QueryAllGuildRequest +type fastReflection_QueryAllPermissionRequest QueryAllPermissionRequest -func (x *QueryAllGuildRequest) ProtoReflect() protoreflect.Message { - return (*fastReflection_QueryAllGuildRequest)(x) +func (x *QueryAllPermissionRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_QueryAllPermissionRequest)(x) } -func (x *QueryAllGuildRequest) slowProtoReflect() protoreflect.Message { - mi := &file_structs_structs_query_proto_msgTypes[26] +func (x *QueryAllPermissionRequest) slowProtoReflect() protoreflect.Message { + mi := &file_structs_structs_query_proto_msgTypes[49] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -12162,43 +23331,43 @@ func (x *QueryAllGuildRequest) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_QueryAllGuildRequest_messageType fastReflection_QueryAllGuildRequest_messageType -var _ protoreflect.MessageType = fastReflection_QueryAllGuildRequest_messageType{} +var _fastReflection_QueryAllPermissionRequest_messageType fastReflection_QueryAllPermissionRequest_messageType +var _ protoreflect.MessageType = fastReflection_QueryAllPermissionRequest_messageType{} -type fastReflection_QueryAllGuildRequest_messageType struct{} +type fastReflection_QueryAllPermissionRequest_messageType struct{} -func (x fastReflection_QueryAllGuildRequest_messageType) Zero() protoreflect.Message { - return (*fastReflection_QueryAllGuildRequest)(nil) +func (x fastReflection_QueryAllPermissionRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_QueryAllPermissionRequest)(nil) } -func (x fastReflection_QueryAllGuildRequest_messageType) New() protoreflect.Message { - return new(fastReflection_QueryAllGuildRequest) +func (x fastReflection_QueryAllPermissionRequest_messageType) New() protoreflect.Message { + return new(fastReflection_QueryAllPermissionRequest) } -func (x fastReflection_QueryAllGuildRequest_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_QueryAllGuildRequest +func (x fastReflection_QueryAllPermissionRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_QueryAllPermissionRequest } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_QueryAllGuildRequest) Descriptor() protoreflect.MessageDescriptor { - return md_QueryAllGuildRequest +func (x *fastReflection_QueryAllPermissionRequest) Descriptor() protoreflect.MessageDescriptor { + return md_QueryAllPermissionRequest } // 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_QueryAllGuildRequest) Type() protoreflect.MessageType { - return _fastReflection_QueryAllGuildRequest_messageType +func (x *fastReflection_QueryAllPermissionRequest) Type() protoreflect.MessageType { + return _fastReflection_QueryAllPermissionRequest_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_QueryAllGuildRequest) New() protoreflect.Message { - return new(fastReflection_QueryAllGuildRequest) +func (x *fastReflection_QueryAllPermissionRequest) New() protoreflect.Message { + return new(fastReflection_QueryAllPermissionRequest) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_QueryAllGuildRequest) Interface() protoreflect.ProtoMessage { - return (*QueryAllGuildRequest)(x) +func (x *fastReflection_QueryAllPermissionRequest) Interface() protoreflect.ProtoMessage { + return (*QueryAllPermissionRequest)(x) } // Range iterates over every populated field in an undefined order, @@ -12206,10 +23375,10 @@ func (x *fastReflection_QueryAllGuildRequest) Interface() protoreflect.ProtoMess // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_QueryAllGuildRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +func (x *fastReflection_QueryAllPermissionRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { if x.Pagination != nil { value := protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) - if !f(fd_QueryAllGuildRequest_pagination, value) { + if !f(fd_QueryAllPermissionRequest_pagination, value) { return } } @@ -12226,15 +23395,15 @@ func (x *fastReflection_QueryAllGuildRequest) Range(f func(protoreflect.FieldDes // 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_QueryAllGuildRequest) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_QueryAllPermissionRequest) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.QueryAllGuildRequest.pagination": + case "structs.structs.QueryAllPermissionRequest.pagination": return x.Pagination != nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllGuildRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPermissionRequest")) } - panic(fmt.Errorf("message structs.structs.QueryAllGuildRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllPermissionRequest does not contain field %s", fd.FullName())) } } @@ -12244,15 +23413,15 @@ func (x *fastReflection_QueryAllGuildRequest) Has(fd protoreflect.FieldDescripto // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAllGuildRequest) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_QueryAllPermissionRequest) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.QueryAllGuildRequest.pagination": + case "structs.structs.QueryAllPermissionRequest.pagination": x.Pagination = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllGuildRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPermissionRequest")) } - panic(fmt.Errorf("message structs.structs.QueryAllGuildRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllPermissionRequest does not contain field %s", fd.FullName())) } } @@ -12262,16 +23431,16 @@ func (x *fastReflection_QueryAllGuildRequest) Clear(fd protoreflect.FieldDescrip // 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_QueryAllGuildRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryAllPermissionRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.QueryAllGuildRequest.pagination": + case "structs.structs.QueryAllPermissionRequest.pagination": value := x.Pagination return protoreflect.ValueOfMessage(value.ProtoReflect()) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllGuildRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPermissionRequest")) } - panic(fmt.Errorf("message structs.structs.QueryAllGuildRequest does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllPermissionRequest does not contain field %s", descriptor.FullName())) } } @@ -12285,15 +23454,15 @@ func (x *fastReflection_QueryAllGuildRequest) Get(descriptor protoreflect.FieldD // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAllGuildRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_QueryAllPermissionRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.QueryAllGuildRequest.pagination": + case "structs.structs.QueryAllPermissionRequest.pagination": x.Pagination = value.Message().Interface().(*v1beta1.PageRequest) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllGuildRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPermissionRequest")) } - panic(fmt.Errorf("message structs.structs.QueryAllGuildRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllPermissionRequest does not contain field %s", fd.FullName())) } } @@ -12307,44 +23476,44 @@ func (x *fastReflection_QueryAllGuildRequest) Set(fd protoreflect.FieldDescripto // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAllGuildRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryAllPermissionRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.QueryAllGuildRequest.pagination": + case "structs.structs.QueryAllPermissionRequest.pagination": if x.Pagination == nil { x.Pagination = new(v1beta1.PageRequest) } return protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllGuildRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPermissionRequest")) } - panic(fmt.Errorf("message structs.structs.QueryAllGuildRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllPermissionRequest 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_QueryAllGuildRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryAllPermissionRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.QueryAllGuildRequest.pagination": + case "structs.structs.QueryAllPermissionRequest.pagination": m := new(v1beta1.PageRequest) return protoreflect.ValueOfMessage(m.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllGuildRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPermissionRequest")) } - panic(fmt.Errorf("message structs.structs.QueryAllGuildRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllPermissionRequest 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_QueryAllGuildRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_QueryAllPermissionRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryAllGuildRequest", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryAllPermissionRequest", d.FullName())) } panic("unreachable") } @@ -12352,7 +23521,7 @@ func (x *fastReflection_QueryAllGuildRequest) WhichOneof(d protoreflect.OneofDes // 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_QueryAllGuildRequest) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_QueryAllPermissionRequest) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -12363,7 +23532,7 @@ func (x *fastReflection_QueryAllGuildRequest) GetUnknown() protoreflect.RawField // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAllGuildRequest) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_QueryAllPermissionRequest) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -12375,7 +23544,7 @@ func (x *fastReflection_QueryAllGuildRequest) SetUnknown(fields protoreflect.Raw // 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_QueryAllGuildRequest) IsValid() bool { +func (x *fastReflection_QueryAllPermissionRequest) IsValid() bool { return x != nil } @@ -12385,9 +23554,9 @@ func (x *fastReflection_QueryAllGuildRequest) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_QueryAllGuildRequest) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_QueryAllPermissionRequest) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*QueryAllGuildRequest) + x := input.Message.Interface().(*QueryAllPermissionRequest) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -12413,7 +23582,7 @@ func (x *fastReflection_QueryAllGuildRequest) ProtoMethods() *protoiface.Methods } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*QueryAllGuildRequest) + x := input.Message.Interface().(*QueryAllPermissionRequest) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -12457,7 +23626,7 @@ func (x *fastReflection_QueryAllGuildRequest) ProtoMethods() *protoiface.Methods }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*QueryAllGuildRequest) + x := input.Message.Interface().(*QueryAllPermissionRequest) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -12489,10 +23658,10 @@ func (x *fastReflection_QueryAllGuildRequest) ProtoMethods() *protoiface.Methods fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllGuildRequest: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllPermissionRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllGuildRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllPermissionRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -12566,80 +23735,27 @@ func (x *fastReflection_QueryAllGuildRequest) ProtoMethods() *protoiface.Methods } } -var _ protoreflect.List = (*_QueryAllGuildResponse_1_list)(nil) - -type _QueryAllGuildResponse_1_list struct { - list *[]*Guild -} - -func (x *_QueryAllGuildResponse_1_list) Len() int { - if x.list == nil { - return 0 - } - return len(*x.list) -} - -func (x *_QueryAllGuildResponse_1_list) Get(i int) protoreflect.Value { - return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) -} - -func (x *_QueryAllGuildResponse_1_list) Set(i int, value protoreflect.Value) { - valueUnwrapped := value.Message() - concreteValue := valueUnwrapped.Interface().(*Guild) - (*x.list)[i] = concreteValue -} - -func (x *_QueryAllGuildResponse_1_list) Append(value protoreflect.Value) { - valueUnwrapped := value.Message() - concreteValue := valueUnwrapped.Interface().(*Guild) - *x.list = append(*x.list, concreteValue) -} - -func (x *_QueryAllGuildResponse_1_list) AppendMutable() protoreflect.Value { - v := new(Guild) - *x.list = append(*x.list, v) - return protoreflect.ValueOfMessage(v.ProtoReflect()) -} - -func (x *_QueryAllGuildResponse_1_list) Truncate(n int) { - for i := n; i < len(*x.list); i++ { - (*x.list)[i] = nil - } - *x.list = (*x.list)[:n] -} - -func (x *_QueryAllGuildResponse_1_list) NewElement() protoreflect.Value { - v := new(Guild) - return protoreflect.ValueOfMessage(v.ProtoReflect()) -} - -func (x *_QueryAllGuildResponse_1_list) IsValid() bool { - return x.list != nil -} - var ( - md_QueryAllGuildResponse protoreflect.MessageDescriptor - fd_QueryAllGuildResponse_Guild protoreflect.FieldDescriptor - fd_QueryAllGuildResponse_pagination protoreflect.FieldDescriptor + md_QueryGetPermissionResponse protoreflect.MessageDescriptor + fd_QueryGetPermissionResponse_permissionRecord protoreflect.FieldDescriptor ) func init() { file_structs_structs_query_proto_init() - md_QueryAllGuildResponse = File_structs_structs_query_proto.Messages().ByName("QueryAllGuildResponse") - fd_QueryAllGuildResponse_Guild = md_QueryAllGuildResponse.Fields().ByName("Guild") - fd_QueryAllGuildResponse_pagination = md_QueryAllGuildResponse.Fields().ByName("pagination") + md_QueryGetPermissionResponse = File_structs_structs_query_proto.Messages().ByName("QueryGetPermissionResponse") + fd_QueryGetPermissionResponse_permissionRecord = md_QueryGetPermissionResponse.Fields().ByName("permissionRecord") } -var _ protoreflect.Message = (*fastReflection_QueryAllGuildResponse)(nil) +var _ protoreflect.Message = (*fastReflection_QueryGetPermissionResponse)(nil) -type fastReflection_QueryAllGuildResponse QueryAllGuildResponse +type fastReflection_QueryGetPermissionResponse QueryGetPermissionResponse -func (x *QueryAllGuildResponse) ProtoReflect() protoreflect.Message { - return (*fastReflection_QueryAllGuildResponse)(x) +func (x *QueryGetPermissionResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_QueryGetPermissionResponse)(x) } -func (x *QueryAllGuildResponse) slowProtoReflect() protoreflect.Message { - mi := &file_structs_structs_query_proto_msgTypes[27] +func (x *QueryGetPermissionResponse) slowProtoReflect() protoreflect.Message { + mi := &file_structs_structs_query_proto_msgTypes[50] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -12650,60 +23766,54 @@ func (x *QueryAllGuildResponse) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_QueryAllGuildResponse_messageType fastReflection_QueryAllGuildResponse_messageType -var _ protoreflect.MessageType = fastReflection_QueryAllGuildResponse_messageType{} +var _fastReflection_QueryGetPermissionResponse_messageType fastReflection_QueryGetPermissionResponse_messageType +var _ protoreflect.MessageType = fastReflection_QueryGetPermissionResponse_messageType{} -type fastReflection_QueryAllGuildResponse_messageType struct{} +type fastReflection_QueryGetPermissionResponse_messageType struct{} -func (x fastReflection_QueryAllGuildResponse_messageType) Zero() protoreflect.Message { - return (*fastReflection_QueryAllGuildResponse)(nil) +func (x fastReflection_QueryGetPermissionResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_QueryGetPermissionResponse)(nil) } -func (x fastReflection_QueryAllGuildResponse_messageType) New() protoreflect.Message { - return new(fastReflection_QueryAllGuildResponse) +func (x fastReflection_QueryGetPermissionResponse_messageType) New() protoreflect.Message { + return new(fastReflection_QueryGetPermissionResponse) } -func (x fastReflection_QueryAllGuildResponse_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_QueryAllGuildResponse +func (x fastReflection_QueryGetPermissionResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_QueryGetPermissionResponse } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_QueryAllGuildResponse) Descriptor() protoreflect.MessageDescriptor { - return md_QueryAllGuildResponse +func (x *fastReflection_QueryGetPermissionResponse) Descriptor() protoreflect.MessageDescriptor { + return md_QueryGetPermissionResponse } // 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_QueryAllGuildResponse) Type() protoreflect.MessageType { - return _fastReflection_QueryAllGuildResponse_messageType +func (x *fastReflection_QueryGetPermissionResponse) Type() protoreflect.MessageType { + return _fastReflection_QueryGetPermissionResponse_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_QueryAllGuildResponse) New() protoreflect.Message { - return new(fastReflection_QueryAllGuildResponse) +func (x *fastReflection_QueryGetPermissionResponse) New() protoreflect.Message { + return new(fastReflection_QueryGetPermissionResponse) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_QueryAllGuildResponse) Interface() protoreflect.ProtoMessage { - return (*QueryAllGuildResponse)(x) +func (x *fastReflection_QueryGetPermissionResponse) Interface() protoreflect.ProtoMessage { + return (*QueryGetPermissionResponse)(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_QueryAllGuildResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if len(x.Guild) != 0 { - value := protoreflect.ValueOfList(&_QueryAllGuildResponse_1_list{list: &x.Guild}) - if !f(fd_QueryAllGuildResponse_Guild, value) { - return - } - } - if x.Pagination != nil { - value := protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) - if !f(fd_QueryAllGuildResponse_pagination, value) { +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_QueryGetPermissionResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.PermissionRecord != nil { + value := protoreflect.ValueOfMessage(x.PermissionRecord.ProtoReflect()) + if !f(fd_QueryGetPermissionResponse_permissionRecord, value) { return } } @@ -12720,17 +23830,15 @@ func (x *fastReflection_QueryAllGuildResponse) Range(f func(protoreflect.FieldDe // 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_QueryAllGuildResponse) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_QueryGetPermissionResponse) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.QueryAllGuildResponse.Guild": - return len(x.Guild) != 0 - case "structs.structs.QueryAllGuildResponse.pagination": - return x.Pagination != nil + case "structs.structs.QueryGetPermissionResponse.permissionRecord": + return x.PermissionRecord != nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllGuildResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetPermissionResponse")) } - panic(fmt.Errorf("message structs.structs.QueryAllGuildResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetPermissionResponse does not contain field %s", fd.FullName())) } } @@ -12740,17 +23848,15 @@ func (x *fastReflection_QueryAllGuildResponse) Has(fd protoreflect.FieldDescript // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAllGuildResponse) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_QueryGetPermissionResponse) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.QueryAllGuildResponse.Guild": - x.Guild = nil - case "structs.structs.QueryAllGuildResponse.pagination": - x.Pagination = nil + case "structs.structs.QueryGetPermissionResponse.permissionRecord": + x.PermissionRecord = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllGuildResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetPermissionResponse")) } - panic(fmt.Errorf("message structs.structs.QueryAllGuildResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetPermissionResponse does not contain field %s", fd.FullName())) } } @@ -12760,22 +23866,16 @@ func (x *fastReflection_QueryAllGuildResponse) Clear(fd protoreflect.FieldDescri // 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_QueryAllGuildResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryGetPermissionResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.QueryAllGuildResponse.Guild": - if len(x.Guild) == 0 { - return protoreflect.ValueOfList(&_QueryAllGuildResponse_1_list{}) - } - listValue := &_QueryAllGuildResponse_1_list{list: &x.Guild} - return protoreflect.ValueOfList(listValue) - case "structs.structs.QueryAllGuildResponse.pagination": - value := x.Pagination + case "structs.structs.QueryGetPermissionResponse.permissionRecord": + value := x.PermissionRecord return protoreflect.ValueOfMessage(value.ProtoReflect()) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllGuildResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetPermissionResponse")) } - panic(fmt.Errorf("message structs.structs.QueryAllGuildResponse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetPermissionResponse does not contain field %s", descriptor.FullName())) } } @@ -12789,19 +23889,15 @@ func (x *fastReflection_QueryAllGuildResponse) Get(descriptor protoreflect.Field // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAllGuildResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_QueryGetPermissionResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.QueryAllGuildResponse.Guild": - lv := value.List() - clv := lv.(*_QueryAllGuildResponse_1_list) - x.Guild = *clv.list - case "structs.structs.QueryAllGuildResponse.pagination": - x.Pagination = value.Message().Interface().(*v1beta1.PageResponse) + case "structs.structs.QueryGetPermissionResponse.permissionRecord": + x.PermissionRecord = value.Message().Interface().(*PermissionRecord) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllGuildResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetPermissionResponse")) } - panic(fmt.Errorf("message structs.structs.QueryAllGuildResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetPermissionResponse does not contain field %s", fd.FullName())) } } @@ -12815,53 +23911,44 @@ func (x *fastReflection_QueryAllGuildResponse) Set(fd protoreflect.FieldDescript // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAllGuildResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryGetPermissionResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.QueryAllGuildResponse.Guild": - if x.Guild == nil { - x.Guild = []*Guild{} - } - value := &_QueryAllGuildResponse_1_list{list: &x.Guild} - return protoreflect.ValueOfList(value) - case "structs.structs.QueryAllGuildResponse.pagination": - if x.Pagination == nil { - x.Pagination = new(v1beta1.PageResponse) + case "structs.structs.QueryGetPermissionResponse.permissionRecord": + if x.PermissionRecord == nil { + x.PermissionRecord = new(PermissionRecord) } - return protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) + return protoreflect.ValueOfMessage(x.PermissionRecord.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllGuildResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetPermissionResponse")) } - panic(fmt.Errorf("message structs.structs.QueryAllGuildResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetPermissionResponse 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_QueryAllGuildResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryGetPermissionResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.QueryAllGuildResponse.Guild": - list := []*Guild{} - return protoreflect.ValueOfList(&_QueryAllGuildResponse_1_list{list: &list}) - case "structs.structs.QueryAllGuildResponse.pagination": - m := new(v1beta1.PageResponse) + case "structs.structs.QueryGetPermissionResponse.permissionRecord": + m := new(PermissionRecord) return protoreflect.ValueOfMessage(m.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllGuildResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetPermissionResponse")) } - panic(fmt.Errorf("message structs.structs.QueryAllGuildResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetPermissionResponse 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_QueryAllGuildResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_QueryGetPermissionResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryAllGuildResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryGetPermissionResponse", d.FullName())) } panic("unreachable") } @@ -12869,7 +23956,7 @@ func (x *fastReflection_QueryAllGuildResponse) WhichOneof(d protoreflect.OneofDe // 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_QueryAllGuildResponse) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_QueryGetPermissionResponse) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -12880,7 +23967,7 @@ func (x *fastReflection_QueryAllGuildResponse) GetUnknown() protoreflect.RawFiel // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAllGuildResponse) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_QueryGetPermissionResponse) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -12892,7 +23979,7 @@ func (x *fastReflection_QueryAllGuildResponse) SetUnknown(fields protoreflect.Ra // 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_QueryAllGuildResponse) IsValid() bool { +func (x *fastReflection_QueryGetPermissionResponse) IsValid() bool { return x != nil } @@ -12902,9 +23989,9 @@ func (x *fastReflection_QueryAllGuildResponse) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_QueryAllGuildResponse) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_QueryGetPermissionResponse) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*QueryAllGuildResponse) + x := input.Message.Interface().(*QueryGetPermissionResponse) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -12916,14 +24003,8 @@ func (x *fastReflection_QueryAllGuildResponse) ProtoMethods() *protoiface.Method var n int var l int _ = l - if len(x.Guild) > 0 { - for _, e := range x.Guild { - l = options.Size(e) - n += 1 + l + runtime.Sov(uint64(l)) - } - } - if x.Pagination != nil { - l = options.Size(x.Pagination) + if x.PermissionRecord != nil { + l = options.Size(x.PermissionRecord) n += 1 + l + runtime.Sov(uint64(l)) } if x.unknownFields != nil { @@ -12936,7 +24017,7 @@ func (x *fastReflection_QueryAllGuildResponse) ProtoMethods() *protoiface.Method } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*QueryAllGuildResponse) + x := input.Message.Interface().(*QueryGetPermissionResponse) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -12955,8 +24036,8 @@ func (x *fastReflection_QueryAllGuildResponse) ProtoMethods() *protoiface.Method i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if x.Pagination != nil { - encoded, err := options.Marshal(x.Pagination) + if x.PermissionRecord != nil { + encoded, err := options.Marshal(x.PermissionRecord) if err != nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -12967,23 +24048,7 @@ func (x *fastReflection_QueryAllGuildResponse) ProtoMethods() *protoiface.Method copy(dAtA[i:], encoded) i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) i-- - dAtA[i] = 0x12 - } - if len(x.Guild) > 0 { - for iNdEx := len(x.Guild) - 1; iNdEx >= 0; iNdEx-- { - encoded, err := options.Marshal(x.Guild[iNdEx]) - 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 - } + dAtA[i] = 0xa } if input.Buf != nil { input.Buf = append(input.Buf, dAtA...) @@ -12996,7 +24061,7 @@ func (x *fastReflection_QueryAllGuildResponse) ProtoMethods() *protoiface.Method }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*QueryAllGuildResponse) + x := input.Message.Interface().(*QueryGetPermissionResponse) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -13028,49 +24093,15 @@ func (x *fastReflection_QueryAllGuildResponse) ProtoMethods() *protoiface.Method fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllGuildResponse: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryGetPermissionResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllGuildResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryGetPermissionResponse: 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 Guild", 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 - } - x.Guild = append(x.Guild, &Guild{}) - if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Guild[len(x.Guild)-1]); err != nil { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Pagination", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field PermissionRecord", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -13097,10 +24128,10 @@ func (x *fastReflection_QueryAllGuildResponse) ProtoMethods() *protoiface.Method if postIndex > l { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - if x.Pagination == nil { - x.Pagination = &v1beta1.PageResponse{} + if x.PermissionRecord == nil { + x.PermissionRecord = &PermissionRecord{} } - if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Pagination); err != nil { + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.PermissionRecord); err != nil { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err } iNdEx = postIndex @@ -13139,29 +24170,80 @@ func (x *fastReflection_QueryAllGuildResponse) ProtoMethods() *protoiface.Method } } +var _ protoreflect.List = (*_QueryAllPermissionResponse_1_list)(nil) + +type _QueryAllPermissionResponse_1_list struct { + list *[]*PermissionRecord +} + +func (x *_QueryAllPermissionResponse_1_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_QueryAllPermissionResponse_1_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_QueryAllPermissionResponse_1_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*PermissionRecord) + (*x.list)[i] = concreteValue +} + +func (x *_QueryAllPermissionResponse_1_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*PermissionRecord) + *x.list = append(*x.list, concreteValue) +} + +func (x *_QueryAllPermissionResponse_1_list) AppendMutable() protoreflect.Value { + v := new(PermissionRecord) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_QueryAllPermissionResponse_1_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_QueryAllPermissionResponse_1_list) NewElement() protoreflect.Value { + v := new(PermissionRecord) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_QueryAllPermissionResponse_1_list) IsValid() bool { + return x.list != nil +} + var ( - md_QueryGetGuildMembershipApplicationRequest protoreflect.MessageDescriptor - fd_QueryGetGuildMembershipApplicationRequest_guildId protoreflect.FieldDescriptor - fd_QueryGetGuildMembershipApplicationRequest_playerId protoreflect.FieldDescriptor + md_QueryAllPermissionResponse protoreflect.MessageDescriptor + fd_QueryAllPermissionResponse_permissionRecords protoreflect.FieldDescriptor + fd_QueryAllPermissionResponse_pagination protoreflect.FieldDescriptor ) func init() { file_structs_structs_query_proto_init() - md_QueryGetGuildMembershipApplicationRequest = File_structs_structs_query_proto.Messages().ByName("QueryGetGuildMembershipApplicationRequest") - fd_QueryGetGuildMembershipApplicationRequest_guildId = md_QueryGetGuildMembershipApplicationRequest.Fields().ByName("guildId") - fd_QueryGetGuildMembershipApplicationRequest_playerId = md_QueryGetGuildMembershipApplicationRequest.Fields().ByName("playerId") + md_QueryAllPermissionResponse = File_structs_structs_query_proto.Messages().ByName("QueryAllPermissionResponse") + fd_QueryAllPermissionResponse_permissionRecords = md_QueryAllPermissionResponse.Fields().ByName("permissionRecords") + fd_QueryAllPermissionResponse_pagination = md_QueryAllPermissionResponse.Fields().ByName("pagination") } -var _ protoreflect.Message = (*fastReflection_QueryGetGuildMembershipApplicationRequest)(nil) +var _ protoreflect.Message = (*fastReflection_QueryAllPermissionResponse)(nil) -type fastReflection_QueryGetGuildMembershipApplicationRequest QueryGetGuildMembershipApplicationRequest +type fastReflection_QueryAllPermissionResponse QueryAllPermissionResponse -func (x *QueryGetGuildMembershipApplicationRequest) ProtoReflect() protoreflect.Message { - return (*fastReflection_QueryGetGuildMembershipApplicationRequest)(x) +func (x *QueryAllPermissionResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_QueryAllPermissionResponse)(x) } -func (x *QueryGetGuildMembershipApplicationRequest) slowProtoReflect() protoreflect.Message { - mi := &file_structs_structs_query_proto_msgTypes[28] +func (x *QueryAllPermissionResponse) slowProtoReflect() protoreflect.Message { + mi := &file_structs_structs_query_proto_msgTypes[51] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -13172,43 +24254,43 @@ func (x *QueryGetGuildMembershipApplicationRequest) slowProtoReflect() protorefl return mi.MessageOf(x) } -var _fastReflection_QueryGetGuildMembershipApplicationRequest_messageType fastReflection_QueryGetGuildMembershipApplicationRequest_messageType -var _ protoreflect.MessageType = fastReflection_QueryGetGuildMembershipApplicationRequest_messageType{} +var _fastReflection_QueryAllPermissionResponse_messageType fastReflection_QueryAllPermissionResponse_messageType +var _ protoreflect.MessageType = fastReflection_QueryAllPermissionResponse_messageType{} -type fastReflection_QueryGetGuildMembershipApplicationRequest_messageType struct{} +type fastReflection_QueryAllPermissionResponse_messageType struct{} -func (x fastReflection_QueryGetGuildMembershipApplicationRequest_messageType) Zero() protoreflect.Message { - return (*fastReflection_QueryGetGuildMembershipApplicationRequest)(nil) +func (x fastReflection_QueryAllPermissionResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_QueryAllPermissionResponse)(nil) } -func (x fastReflection_QueryGetGuildMembershipApplicationRequest_messageType) New() protoreflect.Message { - return new(fastReflection_QueryGetGuildMembershipApplicationRequest) +func (x fastReflection_QueryAllPermissionResponse_messageType) New() protoreflect.Message { + return new(fastReflection_QueryAllPermissionResponse) } -func (x fastReflection_QueryGetGuildMembershipApplicationRequest_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_QueryGetGuildMembershipApplicationRequest +func (x fastReflection_QueryAllPermissionResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_QueryAllPermissionResponse } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_QueryGetGuildMembershipApplicationRequest) Descriptor() protoreflect.MessageDescriptor { - return md_QueryGetGuildMembershipApplicationRequest +func (x *fastReflection_QueryAllPermissionResponse) Descriptor() protoreflect.MessageDescriptor { + return md_QueryAllPermissionResponse } // 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_QueryGetGuildMembershipApplicationRequest) Type() protoreflect.MessageType { - return _fastReflection_QueryGetGuildMembershipApplicationRequest_messageType +func (x *fastReflection_QueryAllPermissionResponse) Type() protoreflect.MessageType { + return _fastReflection_QueryAllPermissionResponse_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_QueryGetGuildMembershipApplicationRequest) New() protoreflect.Message { - return new(fastReflection_QueryGetGuildMembershipApplicationRequest) +func (x *fastReflection_QueryAllPermissionResponse) New() protoreflect.Message { + return new(fastReflection_QueryAllPermissionResponse) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_QueryGetGuildMembershipApplicationRequest) Interface() protoreflect.ProtoMessage { - return (*QueryGetGuildMembershipApplicationRequest)(x) +func (x *fastReflection_QueryAllPermissionResponse) Interface() protoreflect.ProtoMessage { + return (*QueryAllPermissionResponse)(x) } // Range iterates over every populated field in an undefined order, @@ -13216,16 +24298,16 @@ func (x *fastReflection_QueryGetGuildMembershipApplicationRequest) Interface() p // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_QueryGetGuildMembershipApplicationRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.GuildId != "" { - value := protoreflect.ValueOfString(x.GuildId) - if !f(fd_QueryGetGuildMembershipApplicationRequest_guildId, value) { +func (x *fastReflection_QueryAllPermissionResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if len(x.PermissionRecords) != 0 { + value := protoreflect.ValueOfList(&_QueryAllPermissionResponse_1_list{list: &x.PermissionRecords}) + if !f(fd_QueryAllPermissionResponse_permissionRecords, value) { return } } - if x.PlayerId != "" { - value := protoreflect.ValueOfString(x.PlayerId) - if !f(fd_QueryGetGuildMembershipApplicationRequest_playerId, value) { + if x.Pagination != nil { + value := protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) + if !f(fd_QueryAllPermissionResponse_pagination, value) { return } } @@ -13242,17 +24324,17 @@ func (x *fastReflection_QueryGetGuildMembershipApplicationRequest) Range(f func( // 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_QueryGetGuildMembershipApplicationRequest) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_QueryAllPermissionResponse) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.QueryGetGuildMembershipApplicationRequest.guildId": - return x.GuildId != "" - case "structs.structs.QueryGetGuildMembershipApplicationRequest.playerId": - return x.PlayerId != "" + case "structs.structs.QueryAllPermissionResponse.permissionRecords": + return len(x.PermissionRecords) != 0 + case "structs.structs.QueryAllPermissionResponse.pagination": + return x.Pagination != nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetGuildMembershipApplicationRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPermissionResponse")) } - panic(fmt.Errorf("message structs.structs.QueryGetGuildMembershipApplicationRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllPermissionResponse does not contain field %s", fd.FullName())) } } @@ -13262,17 +24344,17 @@ func (x *fastReflection_QueryGetGuildMembershipApplicationRequest) Has(fd protor // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryGetGuildMembershipApplicationRequest) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_QueryAllPermissionResponse) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.QueryGetGuildMembershipApplicationRequest.guildId": - x.GuildId = "" - case "structs.structs.QueryGetGuildMembershipApplicationRequest.playerId": - x.PlayerId = "" + case "structs.structs.QueryAllPermissionResponse.permissionRecords": + x.PermissionRecords = nil + case "structs.structs.QueryAllPermissionResponse.pagination": + x.Pagination = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetGuildMembershipApplicationRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPermissionResponse")) } - panic(fmt.Errorf("message structs.structs.QueryGetGuildMembershipApplicationRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllPermissionResponse does not contain field %s", fd.FullName())) } } @@ -13282,19 +24364,22 @@ func (x *fastReflection_QueryGetGuildMembershipApplicationRequest) Clear(fd prot // 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_QueryGetGuildMembershipApplicationRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryAllPermissionResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.QueryGetGuildMembershipApplicationRequest.guildId": - value := x.GuildId - return protoreflect.ValueOfString(value) - case "structs.structs.QueryGetGuildMembershipApplicationRequest.playerId": - value := x.PlayerId - return protoreflect.ValueOfString(value) + case "structs.structs.QueryAllPermissionResponse.permissionRecords": + if len(x.PermissionRecords) == 0 { + return protoreflect.ValueOfList(&_QueryAllPermissionResponse_1_list{}) + } + listValue := &_QueryAllPermissionResponse_1_list{list: &x.PermissionRecords} + return protoreflect.ValueOfList(listValue) + case "structs.structs.QueryAllPermissionResponse.pagination": + value := x.Pagination + return protoreflect.ValueOfMessage(value.ProtoReflect()) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetGuildMembershipApplicationRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPermissionResponse")) } - panic(fmt.Errorf("message structs.structs.QueryGetGuildMembershipApplicationRequest does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllPermissionResponse does not contain field %s", descriptor.FullName())) } } @@ -13308,17 +24393,19 @@ func (x *fastReflection_QueryGetGuildMembershipApplicationRequest) Get(descripto // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryGetGuildMembershipApplicationRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_QueryAllPermissionResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.QueryGetGuildMembershipApplicationRequest.guildId": - x.GuildId = value.Interface().(string) - case "structs.structs.QueryGetGuildMembershipApplicationRequest.playerId": - x.PlayerId = value.Interface().(string) + case "structs.structs.QueryAllPermissionResponse.permissionRecords": + lv := value.List() + clv := lv.(*_QueryAllPermissionResponse_1_list) + x.PermissionRecords = *clv.list + case "structs.structs.QueryAllPermissionResponse.pagination": + x.Pagination = value.Message().Interface().(*v1beta1.PageResponse) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetGuildMembershipApplicationRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPermissionResponse")) } - panic(fmt.Errorf("message structs.structs.QueryGetGuildMembershipApplicationRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllPermissionResponse does not contain field %s", fd.FullName())) } } @@ -13332,44 +24419,53 @@ func (x *fastReflection_QueryGetGuildMembershipApplicationRequest) Set(fd protor // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryGetGuildMembershipApplicationRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryAllPermissionResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.QueryGetGuildMembershipApplicationRequest.guildId": - panic(fmt.Errorf("field guildId of message structs.structs.QueryGetGuildMembershipApplicationRequest is not mutable")) - case "structs.structs.QueryGetGuildMembershipApplicationRequest.playerId": - panic(fmt.Errorf("field playerId of message structs.structs.QueryGetGuildMembershipApplicationRequest is not mutable")) + case "structs.structs.QueryAllPermissionResponse.permissionRecords": + if x.PermissionRecords == nil { + x.PermissionRecords = []*PermissionRecord{} + } + value := &_QueryAllPermissionResponse_1_list{list: &x.PermissionRecords} + return protoreflect.ValueOfList(value) + case "structs.structs.QueryAllPermissionResponse.pagination": + if x.Pagination == nil { + x.Pagination = new(v1beta1.PageResponse) + } + return protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetGuildMembershipApplicationRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPermissionResponse")) } - panic(fmt.Errorf("message structs.structs.QueryGetGuildMembershipApplicationRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllPermissionResponse 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_QueryGetGuildMembershipApplicationRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryAllPermissionResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.QueryGetGuildMembershipApplicationRequest.guildId": - return protoreflect.ValueOfString("") - case "structs.structs.QueryGetGuildMembershipApplicationRequest.playerId": - return protoreflect.ValueOfString("") + case "structs.structs.QueryAllPermissionResponse.permissionRecords": + list := []*PermissionRecord{} + return protoreflect.ValueOfList(&_QueryAllPermissionResponse_1_list{list: &list}) + case "structs.structs.QueryAllPermissionResponse.pagination": + m := new(v1beta1.PageResponse) + return protoreflect.ValueOfMessage(m.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetGuildMembershipApplicationRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPermissionResponse")) } - panic(fmt.Errorf("message structs.structs.QueryGetGuildMembershipApplicationRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllPermissionResponse 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_QueryGetGuildMembershipApplicationRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_QueryAllPermissionResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryGetGuildMembershipApplicationRequest", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryAllPermissionResponse", d.FullName())) } panic("unreachable") } @@ -13377,7 +24473,7 @@ func (x *fastReflection_QueryGetGuildMembershipApplicationRequest) WhichOneof(d // 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_QueryGetGuildMembershipApplicationRequest) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_QueryAllPermissionResponse) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -13388,7 +24484,7 @@ func (x *fastReflection_QueryGetGuildMembershipApplicationRequest) GetUnknown() // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryGetGuildMembershipApplicationRequest) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_QueryAllPermissionResponse) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -13400,7 +24496,7 @@ func (x *fastReflection_QueryGetGuildMembershipApplicationRequest) SetUnknown(fi // 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_QueryGetGuildMembershipApplicationRequest) IsValid() bool { +func (x *fastReflection_QueryAllPermissionResponse) IsValid() bool { return x != nil } @@ -13410,9 +24506,9 @@ func (x *fastReflection_QueryGetGuildMembershipApplicationRequest) IsValid() boo // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_QueryGetGuildMembershipApplicationRequest) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_QueryAllPermissionResponse) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*QueryGetGuildMembershipApplicationRequest) + x := input.Message.Interface().(*QueryAllPermissionResponse) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -13424,12 +24520,14 @@ func (x *fastReflection_QueryGetGuildMembershipApplicationRequest) ProtoMethods( var n int var l int _ = l - l = len(x.GuildId) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) + if len(x.PermissionRecords) > 0 { + for _, e := range x.PermissionRecords { + l = options.Size(e) + n += 1 + l + runtime.Sov(uint64(l)) + } } - l = len(x.PlayerId) - if l > 0 { + if x.Pagination != nil { + l = options.Size(x.Pagination) n += 1 + l + runtime.Sov(uint64(l)) } if x.unknownFields != nil { @@ -13442,7 +24540,7 @@ func (x *fastReflection_QueryGetGuildMembershipApplicationRequest) ProtoMethods( } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*QueryGetGuildMembershipApplicationRequest) + x := input.Message.Interface().(*QueryAllPermissionResponse) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -13461,19 +24559,35 @@ func (x *fastReflection_QueryGetGuildMembershipApplicationRequest) ProtoMethods( i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if len(x.PlayerId) > 0 { - i -= len(x.PlayerId) - copy(dAtA[i:], x.PlayerId) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.PlayerId))) + if x.Pagination != nil { + encoded, err := options.Marshal(x.Pagination) + 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.GuildId) > 0 { - i -= len(x.GuildId) - copy(dAtA[i:], x.GuildId) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.GuildId))) - i-- - dAtA[i] = 0xa + if len(x.PermissionRecords) > 0 { + for iNdEx := len(x.PermissionRecords) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.PermissionRecords[iNdEx]) + 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...) @@ -13486,7 +24600,7 @@ func (x *fastReflection_QueryGetGuildMembershipApplicationRequest) ProtoMethods( }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*QueryGetGuildMembershipApplicationRequest) + x := input.Message.Interface().(*QueryAllPermissionResponse) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -13518,17 +24632,17 @@ func (x *fastReflection_QueryGetGuildMembershipApplicationRequest) ProtoMethods( fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryGetGuildMembershipApplicationRequest: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllPermissionResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryGetGuildMembershipApplicationRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllPermissionResponse: 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 GuildId", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field PermissionRecords", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -13538,29 +24652,31 @@ func (x *fastReflection_QueryGetGuildMembershipApplicationRequest) ProtoMethods( } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength } - postIndex := iNdEx + intStringLen + 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 } - x.GuildId = string(dAtA[iNdEx:postIndex]) + x.PermissionRecords = append(x.PermissionRecords, &PermissionRecord{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.PermissionRecords[len(x.PermissionRecords)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } iNdEx = postIndex case 2: if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field PlayerId", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Pagination", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -13570,23 +24686,27 @@ func (x *fastReflection_QueryGetGuildMembershipApplicationRequest) ProtoMethods( } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength } - postIndex := iNdEx + intStringLen + 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 } - x.PlayerId = string(dAtA[iNdEx:postIndex]) + if x.Pagination == nil { + x.Pagination = &v1beta1.PageResponse{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Pagination); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } iNdEx = postIndex default: iNdEx = preIndex @@ -13624,26 +24744,26 @@ func (x *fastReflection_QueryGetGuildMembershipApplicationRequest) ProtoMethods( } var ( - md_QueryGetGuildMembershipApplicationResponse protoreflect.MessageDescriptor - fd_QueryGetGuildMembershipApplicationResponse_GuildMembershipApplication protoreflect.FieldDescriptor + md_QueryGetPlanetRequest protoreflect.MessageDescriptor + fd_QueryGetPlanetRequest_id protoreflect.FieldDescriptor ) func init() { file_structs_structs_query_proto_init() - md_QueryGetGuildMembershipApplicationResponse = File_structs_structs_query_proto.Messages().ByName("QueryGetGuildMembershipApplicationResponse") - fd_QueryGetGuildMembershipApplicationResponse_GuildMembershipApplication = md_QueryGetGuildMembershipApplicationResponse.Fields().ByName("GuildMembershipApplication") + md_QueryGetPlanetRequest = File_structs_structs_query_proto.Messages().ByName("QueryGetPlanetRequest") + fd_QueryGetPlanetRequest_id = md_QueryGetPlanetRequest.Fields().ByName("id") } -var _ protoreflect.Message = (*fastReflection_QueryGetGuildMembershipApplicationResponse)(nil) +var _ protoreflect.Message = (*fastReflection_QueryGetPlanetRequest)(nil) -type fastReflection_QueryGetGuildMembershipApplicationResponse QueryGetGuildMembershipApplicationResponse +type fastReflection_QueryGetPlanetRequest QueryGetPlanetRequest -func (x *QueryGetGuildMembershipApplicationResponse) ProtoReflect() protoreflect.Message { - return (*fastReflection_QueryGetGuildMembershipApplicationResponse)(x) +func (x *QueryGetPlanetRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_QueryGetPlanetRequest)(x) } -func (x *QueryGetGuildMembershipApplicationResponse) slowProtoReflect() protoreflect.Message { - mi := &file_structs_structs_query_proto_msgTypes[29] +func (x *QueryGetPlanetRequest) slowProtoReflect() protoreflect.Message { + mi := &file_structs_structs_query_proto_msgTypes[52] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -13654,43 +24774,43 @@ func (x *QueryGetGuildMembershipApplicationResponse) slowProtoReflect() protoref return mi.MessageOf(x) } -var _fastReflection_QueryGetGuildMembershipApplicationResponse_messageType fastReflection_QueryGetGuildMembershipApplicationResponse_messageType -var _ protoreflect.MessageType = fastReflection_QueryGetGuildMembershipApplicationResponse_messageType{} +var _fastReflection_QueryGetPlanetRequest_messageType fastReflection_QueryGetPlanetRequest_messageType +var _ protoreflect.MessageType = fastReflection_QueryGetPlanetRequest_messageType{} -type fastReflection_QueryGetGuildMembershipApplicationResponse_messageType struct{} +type fastReflection_QueryGetPlanetRequest_messageType struct{} -func (x fastReflection_QueryGetGuildMembershipApplicationResponse_messageType) Zero() protoreflect.Message { - return (*fastReflection_QueryGetGuildMembershipApplicationResponse)(nil) +func (x fastReflection_QueryGetPlanetRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_QueryGetPlanetRequest)(nil) } -func (x fastReflection_QueryGetGuildMembershipApplicationResponse_messageType) New() protoreflect.Message { - return new(fastReflection_QueryGetGuildMembershipApplicationResponse) +func (x fastReflection_QueryGetPlanetRequest_messageType) New() protoreflect.Message { + return new(fastReflection_QueryGetPlanetRequest) } -func (x fastReflection_QueryGetGuildMembershipApplicationResponse_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_QueryGetGuildMembershipApplicationResponse +func (x fastReflection_QueryGetPlanetRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_QueryGetPlanetRequest } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_QueryGetGuildMembershipApplicationResponse) Descriptor() protoreflect.MessageDescriptor { - return md_QueryGetGuildMembershipApplicationResponse +func (x *fastReflection_QueryGetPlanetRequest) Descriptor() protoreflect.MessageDescriptor { + return md_QueryGetPlanetRequest } // 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_QueryGetGuildMembershipApplicationResponse) Type() protoreflect.MessageType { - return _fastReflection_QueryGetGuildMembershipApplicationResponse_messageType +func (x *fastReflection_QueryGetPlanetRequest) Type() protoreflect.MessageType { + return _fastReflection_QueryGetPlanetRequest_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_QueryGetGuildMembershipApplicationResponse) New() protoreflect.Message { - return new(fastReflection_QueryGetGuildMembershipApplicationResponse) +func (x *fastReflection_QueryGetPlanetRequest) New() protoreflect.Message { + return new(fastReflection_QueryGetPlanetRequest) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_QueryGetGuildMembershipApplicationResponse) Interface() protoreflect.ProtoMessage { - return (*QueryGetGuildMembershipApplicationResponse)(x) +func (x *fastReflection_QueryGetPlanetRequest) Interface() protoreflect.ProtoMessage { + return (*QueryGetPlanetRequest)(x) } // Range iterates over every populated field in an undefined order, @@ -13698,10 +24818,10 @@ func (x *fastReflection_QueryGetGuildMembershipApplicationResponse) Interface() // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_QueryGetGuildMembershipApplicationResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.GuildMembershipApplication != nil { - value := protoreflect.ValueOfMessage(x.GuildMembershipApplication.ProtoReflect()) - if !f(fd_QueryGetGuildMembershipApplicationResponse_GuildMembershipApplication, value) { +func (x *fastReflection_QueryGetPlanetRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Id != "" { + value := protoreflect.ValueOfString(x.Id) + if !f(fd_QueryGetPlanetRequest_id, value) { return } } @@ -13718,15 +24838,15 @@ func (x *fastReflection_QueryGetGuildMembershipApplicationResponse) Range(f func // 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_QueryGetGuildMembershipApplicationResponse) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_QueryGetPlanetRequest) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.QueryGetGuildMembershipApplicationResponse.GuildMembershipApplication": - return x.GuildMembershipApplication != nil + case "structs.structs.QueryGetPlanetRequest.id": + return x.Id != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetGuildMembershipApplicationResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetPlanetRequest")) } - panic(fmt.Errorf("message structs.structs.QueryGetGuildMembershipApplicationResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetPlanetRequest does not contain field %s", fd.FullName())) } } @@ -13736,15 +24856,15 @@ func (x *fastReflection_QueryGetGuildMembershipApplicationResponse) Has(fd proto // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryGetGuildMembershipApplicationResponse) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_QueryGetPlanetRequest) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.QueryGetGuildMembershipApplicationResponse.GuildMembershipApplication": - x.GuildMembershipApplication = nil + case "structs.structs.QueryGetPlanetRequest.id": + x.Id = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetGuildMembershipApplicationResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetPlanetRequest")) } - panic(fmt.Errorf("message structs.structs.QueryGetGuildMembershipApplicationResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetPlanetRequest does not contain field %s", fd.FullName())) } } @@ -13754,16 +24874,16 @@ func (x *fastReflection_QueryGetGuildMembershipApplicationResponse) Clear(fd pro // 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_QueryGetGuildMembershipApplicationResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryGetPlanetRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.QueryGetGuildMembershipApplicationResponse.GuildMembershipApplication": - value := x.GuildMembershipApplication - return protoreflect.ValueOfMessage(value.ProtoReflect()) + case "structs.structs.QueryGetPlanetRequest.id": + value := x.Id + return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetGuildMembershipApplicationResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetPlanetRequest")) } - panic(fmt.Errorf("message structs.structs.QueryGetGuildMembershipApplicationResponse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetPlanetRequest does not contain field %s", descriptor.FullName())) } } @@ -13777,15 +24897,15 @@ func (x *fastReflection_QueryGetGuildMembershipApplicationResponse) Get(descript // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryGetGuildMembershipApplicationResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_QueryGetPlanetRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.QueryGetGuildMembershipApplicationResponse.GuildMembershipApplication": - x.GuildMembershipApplication = value.Message().Interface().(*GuildMembershipApplication) + case "structs.structs.QueryGetPlanetRequest.id": + x.Id = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetGuildMembershipApplicationResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetPlanetRequest")) } - panic(fmt.Errorf("message structs.structs.QueryGetGuildMembershipApplicationResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetPlanetRequest does not contain field %s", fd.FullName())) } } @@ -13799,44 +24919,40 @@ func (x *fastReflection_QueryGetGuildMembershipApplicationResponse) Set(fd proto // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryGetGuildMembershipApplicationResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryGetPlanetRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.QueryGetGuildMembershipApplicationResponse.GuildMembershipApplication": - if x.GuildMembershipApplication == nil { - x.GuildMembershipApplication = new(GuildMembershipApplication) - } - return protoreflect.ValueOfMessage(x.GuildMembershipApplication.ProtoReflect()) + case "structs.structs.QueryGetPlanetRequest.id": + panic(fmt.Errorf("field id of message structs.structs.QueryGetPlanetRequest is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetGuildMembershipApplicationResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetPlanetRequest")) } - panic(fmt.Errorf("message structs.structs.QueryGetGuildMembershipApplicationResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetPlanetRequest 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_QueryGetGuildMembershipApplicationResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryGetPlanetRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.QueryGetGuildMembershipApplicationResponse.GuildMembershipApplication": - m := new(GuildMembershipApplication) - return protoreflect.ValueOfMessage(m.ProtoReflect()) + case "structs.structs.QueryGetPlanetRequest.id": + return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetGuildMembershipApplicationResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetPlanetRequest")) } - panic(fmt.Errorf("message structs.structs.QueryGetGuildMembershipApplicationResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetPlanetRequest 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_QueryGetGuildMembershipApplicationResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_QueryGetPlanetRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryGetGuildMembershipApplicationResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryGetPlanetRequest", d.FullName())) } panic("unreachable") } @@ -13844,7 +24960,7 @@ func (x *fastReflection_QueryGetGuildMembershipApplicationResponse) WhichOneof(d // 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_QueryGetGuildMembershipApplicationResponse) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_QueryGetPlanetRequest) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -13855,7 +24971,7 @@ func (x *fastReflection_QueryGetGuildMembershipApplicationResponse) GetUnknown() // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryGetGuildMembershipApplicationResponse) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_QueryGetPlanetRequest) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -13867,7 +24983,7 @@ func (x *fastReflection_QueryGetGuildMembershipApplicationResponse) SetUnknown(f // 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_QueryGetGuildMembershipApplicationResponse) IsValid() bool { +func (x *fastReflection_QueryGetPlanetRequest) IsValid() bool { return x != nil } @@ -13877,9 +24993,9 @@ func (x *fastReflection_QueryGetGuildMembershipApplicationResponse) IsValid() bo // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_QueryGetGuildMembershipApplicationResponse) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_QueryGetPlanetRequest) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*QueryGetGuildMembershipApplicationResponse) + x := input.Message.Interface().(*QueryGetPlanetRequest) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -13891,8 +25007,8 @@ func (x *fastReflection_QueryGetGuildMembershipApplicationResponse) ProtoMethods var n int var l int _ = l - if x.GuildMembershipApplication != nil { - l = options.Size(x.GuildMembershipApplication) + l = len(x.Id) + if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } if x.unknownFields != nil { @@ -13905,7 +25021,7 @@ func (x *fastReflection_QueryGetGuildMembershipApplicationResponse) ProtoMethods } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*QueryGetGuildMembershipApplicationResponse) + x := input.Message.Interface().(*QueryGetPlanetRequest) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -13924,17 +25040,10 @@ func (x *fastReflection_QueryGetGuildMembershipApplicationResponse) ProtoMethods i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if x.GuildMembershipApplication != nil { - encoded, err := options.Marshal(x.GuildMembershipApplication) - 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))) + if len(x.Id) > 0 { + i -= len(x.Id) + copy(dAtA[i:], x.Id) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Id))) i-- dAtA[i] = 0xa } @@ -13949,7 +25058,7 @@ func (x *fastReflection_QueryGetGuildMembershipApplicationResponse) ProtoMethods }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*QueryGetGuildMembershipApplicationResponse) + x := input.Message.Interface().(*QueryGetPlanetRequest) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -13981,17 +25090,17 @@ func (x *fastReflection_QueryGetGuildMembershipApplicationResponse) ProtoMethods fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryGetGuildMembershipApplicationResponse: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryGetPlanetRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryGetGuildMembershipApplicationResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryGetPlanetRequest: 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 GuildMembershipApplication", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -14001,27 +25110,23 @@ func (x *fastReflection_QueryGetGuildMembershipApplicationResponse) ProtoMethods } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength } - postIndex := iNdEx + msglen + 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 } - if x.GuildMembershipApplication == nil { - x.GuildMembershipApplication = &GuildMembershipApplication{} - } - if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.GuildMembershipApplication); err != nil { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err - } + x.Id = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -14059,26 +25164,30 @@ func (x *fastReflection_QueryGetGuildMembershipApplicationResponse) ProtoMethods } var ( - md_QueryAllGuildMembershipApplicationRequest protoreflect.MessageDescriptor - fd_QueryAllGuildMembershipApplicationRequest_pagination protoreflect.FieldDescriptor + md_QueryGetPlanetResponse protoreflect.MessageDescriptor + fd_QueryGetPlanetResponse_Planet protoreflect.FieldDescriptor + fd_QueryGetPlanetResponse_gridAttributes protoreflect.FieldDescriptor + fd_QueryGetPlanetResponse_planetAttributes protoreflect.FieldDescriptor ) func init() { file_structs_structs_query_proto_init() - md_QueryAllGuildMembershipApplicationRequest = File_structs_structs_query_proto.Messages().ByName("QueryAllGuildMembershipApplicationRequest") - fd_QueryAllGuildMembershipApplicationRequest_pagination = md_QueryAllGuildMembershipApplicationRequest.Fields().ByName("pagination") + md_QueryGetPlanetResponse = File_structs_structs_query_proto.Messages().ByName("QueryGetPlanetResponse") + fd_QueryGetPlanetResponse_Planet = md_QueryGetPlanetResponse.Fields().ByName("Planet") + fd_QueryGetPlanetResponse_gridAttributes = md_QueryGetPlanetResponse.Fields().ByName("gridAttributes") + fd_QueryGetPlanetResponse_planetAttributes = md_QueryGetPlanetResponse.Fields().ByName("planetAttributes") } -var _ protoreflect.Message = (*fastReflection_QueryAllGuildMembershipApplicationRequest)(nil) +var _ protoreflect.Message = (*fastReflection_QueryGetPlanetResponse)(nil) -type fastReflection_QueryAllGuildMembershipApplicationRequest QueryAllGuildMembershipApplicationRequest +type fastReflection_QueryGetPlanetResponse QueryGetPlanetResponse -func (x *QueryAllGuildMembershipApplicationRequest) ProtoReflect() protoreflect.Message { - return (*fastReflection_QueryAllGuildMembershipApplicationRequest)(x) +func (x *QueryGetPlanetResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_QueryGetPlanetResponse)(x) } -func (x *QueryAllGuildMembershipApplicationRequest) slowProtoReflect() protoreflect.Message { - mi := &file_structs_structs_query_proto_msgTypes[30] +func (x *QueryGetPlanetResponse) slowProtoReflect() protoreflect.Message { + mi := &file_structs_structs_query_proto_msgTypes[53] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -14089,43 +25198,43 @@ func (x *QueryAllGuildMembershipApplicationRequest) slowProtoReflect() protorefl return mi.MessageOf(x) } -var _fastReflection_QueryAllGuildMembershipApplicationRequest_messageType fastReflection_QueryAllGuildMembershipApplicationRequest_messageType -var _ protoreflect.MessageType = fastReflection_QueryAllGuildMembershipApplicationRequest_messageType{} +var _fastReflection_QueryGetPlanetResponse_messageType fastReflection_QueryGetPlanetResponse_messageType +var _ protoreflect.MessageType = fastReflection_QueryGetPlanetResponse_messageType{} -type fastReflection_QueryAllGuildMembershipApplicationRequest_messageType struct{} +type fastReflection_QueryGetPlanetResponse_messageType struct{} -func (x fastReflection_QueryAllGuildMembershipApplicationRequest_messageType) Zero() protoreflect.Message { - return (*fastReflection_QueryAllGuildMembershipApplicationRequest)(nil) +func (x fastReflection_QueryGetPlanetResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_QueryGetPlanetResponse)(nil) } -func (x fastReflection_QueryAllGuildMembershipApplicationRequest_messageType) New() protoreflect.Message { - return new(fastReflection_QueryAllGuildMembershipApplicationRequest) +func (x fastReflection_QueryGetPlanetResponse_messageType) New() protoreflect.Message { + return new(fastReflection_QueryGetPlanetResponse) } -func (x fastReflection_QueryAllGuildMembershipApplicationRequest_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_QueryAllGuildMembershipApplicationRequest +func (x fastReflection_QueryGetPlanetResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_QueryGetPlanetResponse } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_QueryAllGuildMembershipApplicationRequest) Descriptor() protoreflect.MessageDescriptor { - return md_QueryAllGuildMembershipApplicationRequest +func (x *fastReflection_QueryGetPlanetResponse) Descriptor() protoreflect.MessageDescriptor { + return md_QueryGetPlanetResponse } // 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_QueryAllGuildMembershipApplicationRequest) Type() protoreflect.MessageType { - return _fastReflection_QueryAllGuildMembershipApplicationRequest_messageType +func (x *fastReflection_QueryGetPlanetResponse) Type() protoreflect.MessageType { + return _fastReflection_QueryGetPlanetResponse_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_QueryAllGuildMembershipApplicationRequest) New() protoreflect.Message { - return new(fastReflection_QueryAllGuildMembershipApplicationRequest) +func (x *fastReflection_QueryGetPlanetResponse) New() protoreflect.Message { + return new(fastReflection_QueryGetPlanetResponse) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_QueryAllGuildMembershipApplicationRequest) Interface() protoreflect.ProtoMessage { - return (*QueryAllGuildMembershipApplicationRequest)(x) +func (x *fastReflection_QueryGetPlanetResponse) Interface() protoreflect.ProtoMessage { + return (*QueryGetPlanetResponse)(x) } // Range iterates over every populated field in an undefined order, @@ -14133,10 +25242,22 @@ func (x *fastReflection_QueryAllGuildMembershipApplicationRequest) Interface() p // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_QueryAllGuildMembershipApplicationRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.Pagination != nil { - value := protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) - if !f(fd_QueryAllGuildMembershipApplicationRequest_pagination, value) { +func (x *fastReflection_QueryGetPlanetResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Planet != nil { + value := protoreflect.ValueOfMessage(x.Planet.ProtoReflect()) + if !f(fd_QueryGetPlanetResponse_Planet, value) { + return + } + } + if x.GridAttributes != nil { + value := protoreflect.ValueOfMessage(x.GridAttributes.ProtoReflect()) + if !f(fd_QueryGetPlanetResponse_gridAttributes, value) { + return + } + } + if x.PlanetAttributes != nil { + value := protoreflect.ValueOfMessage(x.PlanetAttributes.ProtoReflect()) + if !f(fd_QueryGetPlanetResponse_planetAttributes, value) { return } } @@ -14153,15 +25274,19 @@ func (x *fastReflection_QueryAllGuildMembershipApplicationRequest) Range(f func( // 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_QueryAllGuildMembershipApplicationRequest) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_QueryGetPlanetResponse) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.QueryAllGuildMembershipApplicationRequest.pagination": - return x.Pagination != nil + case "structs.structs.QueryGetPlanetResponse.Planet": + return x.Planet != nil + case "structs.structs.QueryGetPlanetResponse.gridAttributes": + return x.GridAttributes != nil + case "structs.structs.QueryGetPlanetResponse.planetAttributes": + return x.PlanetAttributes != nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllGuildMembershipApplicationRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetPlanetResponse")) } - panic(fmt.Errorf("message structs.structs.QueryAllGuildMembershipApplicationRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetPlanetResponse does not contain field %s", fd.FullName())) } } @@ -14171,15 +25296,19 @@ func (x *fastReflection_QueryAllGuildMembershipApplicationRequest) Has(fd protor // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAllGuildMembershipApplicationRequest) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_QueryGetPlanetResponse) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.QueryAllGuildMembershipApplicationRequest.pagination": - x.Pagination = nil + case "structs.structs.QueryGetPlanetResponse.Planet": + x.Planet = nil + case "structs.structs.QueryGetPlanetResponse.gridAttributes": + x.GridAttributes = nil + case "structs.structs.QueryGetPlanetResponse.planetAttributes": + x.PlanetAttributes = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllGuildMembershipApplicationRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetPlanetResponse")) } - panic(fmt.Errorf("message structs.structs.QueryAllGuildMembershipApplicationRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetPlanetResponse does not contain field %s", fd.FullName())) } } @@ -14189,16 +25318,22 @@ func (x *fastReflection_QueryAllGuildMembershipApplicationRequest) Clear(fd prot // 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_QueryAllGuildMembershipApplicationRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryGetPlanetResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.QueryAllGuildMembershipApplicationRequest.pagination": - value := x.Pagination + case "structs.structs.QueryGetPlanetResponse.Planet": + value := x.Planet + return protoreflect.ValueOfMessage(value.ProtoReflect()) + case "structs.structs.QueryGetPlanetResponse.gridAttributes": + value := x.GridAttributes + return protoreflect.ValueOfMessage(value.ProtoReflect()) + case "structs.structs.QueryGetPlanetResponse.planetAttributes": + value := x.PlanetAttributes return protoreflect.ValueOfMessage(value.ProtoReflect()) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllGuildMembershipApplicationRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetPlanetResponse")) } - panic(fmt.Errorf("message structs.structs.QueryAllGuildMembershipApplicationRequest does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetPlanetResponse does not contain field %s", descriptor.FullName())) } } @@ -14212,15 +25347,19 @@ func (x *fastReflection_QueryAllGuildMembershipApplicationRequest) Get(descripto // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAllGuildMembershipApplicationRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_QueryGetPlanetResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.QueryAllGuildMembershipApplicationRequest.pagination": - x.Pagination = value.Message().Interface().(*v1beta1.PageRequest) + case "structs.structs.QueryGetPlanetResponse.Planet": + x.Planet = value.Message().Interface().(*Planet) + case "structs.structs.QueryGetPlanetResponse.gridAttributes": + x.GridAttributes = value.Message().Interface().(*GridAttributes) + case "structs.structs.QueryGetPlanetResponse.planetAttributes": + x.PlanetAttributes = value.Message().Interface().(*PlanetAttributes) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllGuildMembershipApplicationRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetPlanetResponse")) } - panic(fmt.Errorf("message structs.structs.QueryAllGuildMembershipApplicationRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetPlanetResponse does not contain field %s", fd.FullName())) } } @@ -14234,44 +25373,60 @@ func (x *fastReflection_QueryAllGuildMembershipApplicationRequest) Set(fd protor // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAllGuildMembershipApplicationRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryGetPlanetResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.QueryAllGuildMembershipApplicationRequest.pagination": - if x.Pagination == nil { - x.Pagination = new(v1beta1.PageRequest) + case "structs.structs.QueryGetPlanetResponse.Planet": + if x.Planet == nil { + x.Planet = new(Planet) } - return protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) + return protoreflect.ValueOfMessage(x.Planet.ProtoReflect()) + case "structs.structs.QueryGetPlanetResponse.gridAttributes": + if x.GridAttributes == nil { + x.GridAttributes = new(GridAttributes) + } + return protoreflect.ValueOfMessage(x.GridAttributes.ProtoReflect()) + case "structs.structs.QueryGetPlanetResponse.planetAttributes": + if x.PlanetAttributes == nil { + x.PlanetAttributes = new(PlanetAttributes) + } + return protoreflect.ValueOfMessage(x.PlanetAttributes.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllGuildMembershipApplicationRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetPlanetResponse")) } - panic(fmt.Errorf("message structs.structs.QueryAllGuildMembershipApplicationRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetPlanetResponse 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_QueryAllGuildMembershipApplicationRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryGetPlanetResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.QueryAllGuildMembershipApplicationRequest.pagination": - m := new(v1beta1.PageRequest) + case "structs.structs.QueryGetPlanetResponse.Planet": + m := new(Planet) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + case "structs.structs.QueryGetPlanetResponse.gridAttributes": + m := new(GridAttributes) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + case "structs.structs.QueryGetPlanetResponse.planetAttributes": + m := new(PlanetAttributes) return protoreflect.ValueOfMessage(m.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllGuildMembershipApplicationRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetPlanetResponse")) } - panic(fmt.Errorf("message structs.structs.QueryAllGuildMembershipApplicationRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetPlanetResponse 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_QueryAllGuildMembershipApplicationRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_QueryGetPlanetResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryAllGuildMembershipApplicationRequest", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryGetPlanetResponse", d.FullName())) } panic("unreachable") } @@ -14279,7 +25434,7 @@ func (x *fastReflection_QueryAllGuildMembershipApplicationRequest) WhichOneof(d // 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_QueryAllGuildMembershipApplicationRequest) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_QueryGetPlanetResponse) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -14290,7 +25445,7 @@ func (x *fastReflection_QueryAllGuildMembershipApplicationRequest) GetUnknown() // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAllGuildMembershipApplicationRequest) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_QueryGetPlanetResponse) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -14302,7 +25457,7 @@ func (x *fastReflection_QueryAllGuildMembershipApplicationRequest) SetUnknown(fi // 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_QueryAllGuildMembershipApplicationRequest) IsValid() bool { +func (x *fastReflection_QueryGetPlanetResponse) IsValid() bool { return x != nil } @@ -14312,9 +25467,9 @@ func (x *fastReflection_QueryAllGuildMembershipApplicationRequest) IsValid() boo // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_QueryAllGuildMembershipApplicationRequest) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_QueryGetPlanetResponse) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*QueryAllGuildMembershipApplicationRequest) + x := input.Message.Interface().(*QueryGetPlanetResponse) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -14326,8 +25481,16 @@ func (x *fastReflection_QueryAllGuildMembershipApplicationRequest) ProtoMethods( var n int var l int _ = l - if x.Pagination != nil { - l = options.Size(x.Pagination) + if x.Planet != nil { + l = options.Size(x.Planet) + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.GridAttributes != nil { + l = options.Size(x.GridAttributes) + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.PlanetAttributes != nil { + l = options.Size(x.PlanetAttributes) n += 1 + l + runtime.Sov(uint64(l)) } if x.unknownFields != nil { @@ -14340,7 +25503,7 @@ func (x *fastReflection_QueryAllGuildMembershipApplicationRequest) ProtoMethods( } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*QueryAllGuildMembershipApplicationRequest) + x := input.Message.Interface().(*QueryGetPlanetResponse) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -14359,8 +25522,36 @@ func (x *fastReflection_QueryAllGuildMembershipApplicationRequest) ProtoMethods( i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if x.Pagination != nil { - encoded, err := options.Marshal(x.Pagination) + if x.PlanetAttributes != nil { + encoded, err := options.Marshal(x.PlanetAttributes) + 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] = 0x1a + } + if x.GridAttributes != nil { + encoded, err := options.Marshal(x.GridAttributes) + 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 x.Planet != nil { + encoded, err := options.Marshal(x.Planet) if err != nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -14384,7 +25575,7 @@ func (x *fastReflection_QueryAllGuildMembershipApplicationRequest) ProtoMethods( }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*QueryAllGuildMembershipApplicationRequest) + x := input.Message.Interface().(*QueryGetPlanetResponse) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -14406,25 +25597,97 @@ func (x *fastReflection_QueryAllGuildMembershipApplicationRequest) ProtoMethods( 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 + 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: QueryGetPlanetResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryGetPlanetResponse: 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 Planet", 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.Planet == nil { + x.Planet = &Planet{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Planet); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field GridAttributes", 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.GridAttributes == nil { + x.GridAttributes = &GridAttributes{} } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllGuildMembershipApplicationRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllGuildMembershipApplicationRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.GridAttributes); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 3: if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Pagination", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field PlanetAttributes", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -14451,10 +25714,10 @@ func (x *fastReflection_QueryAllGuildMembershipApplicationRequest) ProtoMethods( if postIndex > l { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - if x.Pagination == nil { - x.Pagination = &v1beta1.PageRequest{} + if x.PlanetAttributes == nil { + x.PlanetAttributes = &PlanetAttributes{} } - if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Pagination); err != nil { + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.PlanetAttributes); err != nil { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err } iNdEx = postIndex @@ -14493,80 +25756,27 @@ func (x *fastReflection_QueryAllGuildMembershipApplicationRequest) ProtoMethods( } } -var _ protoreflect.List = (*_QueryAllGuildMembershipApplicationResponse_1_list)(nil) - -type _QueryAllGuildMembershipApplicationResponse_1_list struct { - list *[]*GuildMembershipApplication -} - -func (x *_QueryAllGuildMembershipApplicationResponse_1_list) Len() int { - if x.list == nil { - return 0 - } - return len(*x.list) -} - -func (x *_QueryAllGuildMembershipApplicationResponse_1_list) Get(i int) protoreflect.Value { - return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) -} - -func (x *_QueryAllGuildMembershipApplicationResponse_1_list) Set(i int, value protoreflect.Value) { - valueUnwrapped := value.Message() - concreteValue := valueUnwrapped.Interface().(*GuildMembershipApplication) - (*x.list)[i] = concreteValue -} - -func (x *_QueryAllGuildMembershipApplicationResponse_1_list) Append(value protoreflect.Value) { - valueUnwrapped := value.Message() - concreteValue := valueUnwrapped.Interface().(*GuildMembershipApplication) - *x.list = append(*x.list, concreteValue) -} - -func (x *_QueryAllGuildMembershipApplicationResponse_1_list) AppendMutable() protoreflect.Value { - v := new(GuildMembershipApplication) - *x.list = append(*x.list, v) - return protoreflect.ValueOfMessage(v.ProtoReflect()) -} - -func (x *_QueryAllGuildMembershipApplicationResponse_1_list) Truncate(n int) { - for i := n; i < len(*x.list); i++ { - (*x.list)[i] = nil - } - *x.list = (*x.list)[:n] -} - -func (x *_QueryAllGuildMembershipApplicationResponse_1_list) NewElement() protoreflect.Value { - v := new(GuildMembershipApplication) - return protoreflect.ValueOfMessage(v.ProtoReflect()) -} - -func (x *_QueryAllGuildMembershipApplicationResponse_1_list) IsValid() bool { - return x.list != nil -} - var ( - md_QueryAllGuildMembershipApplicationResponse protoreflect.MessageDescriptor - fd_QueryAllGuildMembershipApplicationResponse_GuildMembershipApplication protoreflect.FieldDescriptor - fd_QueryAllGuildMembershipApplicationResponse_pagination protoreflect.FieldDescriptor + md_QueryAllPlanetRequest protoreflect.MessageDescriptor + fd_QueryAllPlanetRequest_pagination protoreflect.FieldDescriptor ) func init() { file_structs_structs_query_proto_init() - md_QueryAllGuildMembershipApplicationResponse = File_structs_structs_query_proto.Messages().ByName("QueryAllGuildMembershipApplicationResponse") - fd_QueryAllGuildMembershipApplicationResponse_GuildMembershipApplication = md_QueryAllGuildMembershipApplicationResponse.Fields().ByName("GuildMembershipApplication") - fd_QueryAllGuildMembershipApplicationResponse_pagination = md_QueryAllGuildMembershipApplicationResponse.Fields().ByName("pagination") + md_QueryAllPlanetRequest = File_structs_structs_query_proto.Messages().ByName("QueryAllPlanetRequest") + fd_QueryAllPlanetRequest_pagination = md_QueryAllPlanetRequest.Fields().ByName("pagination") } -var _ protoreflect.Message = (*fastReflection_QueryAllGuildMembershipApplicationResponse)(nil) +var _ protoreflect.Message = (*fastReflection_QueryAllPlanetRequest)(nil) -type fastReflection_QueryAllGuildMembershipApplicationResponse QueryAllGuildMembershipApplicationResponse +type fastReflection_QueryAllPlanetRequest QueryAllPlanetRequest -func (x *QueryAllGuildMembershipApplicationResponse) ProtoReflect() protoreflect.Message { - return (*fastReflection_QueryAllGuildMembershipApplicationResponse)(x) +func (x *QueryAllPlanetRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_QueryAllPlanetRequest)(x) } -func (x *QueryAllGuildMembershipApplicationResponse) slowProtoReflect() protoreflect.Message { - mi := &file_structs_structs_query_proto_msgTypes[31] +func (x *QueryAllPlanetRequest) slowProtoReflect() protoreflect.Message { + mi := &file_structs_structs_query_proto_msgTypes[54] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -14577,43 +25787,43 @@ func (x *QueryAllGuildMembershipApplicationResponse) slowProtoReflect() protoref return mi.MessageOf(x) } -var _fastReflection_QueryAllGuildMembershipApplicationResponse_messageType fastReflection_QueryAllGuildMembershipApplicationResponse_messageType -var _ protoreflect.MessageType = fastReflection_QueryAllGuildMembershipApplicationResponse_messageType{} +var _fastReflection_QueryAllPlanetRequest_messageType fastReflection_QueryAllPlanetRequest_messageType +var _ protoreflect.MessageType = fastReflection_QueryAllPlanetRequest_messageType{} -type fastReflection_QueryAllGuildMembershipApplicationResponse_messageType struct{} +type fastReflection_QueryAllPlanetRequest_messageType struct{} -func (x fastReflection_QueryAllGuildMembershipApplicationResponse_messageType) Zero() protoreflect.Message { - return (*fastReflection_QueryAllGuildMembershipApplicationResponse)(nil) +func (x fastReflection_QueryAllPlanetRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_QueryAllPlanetRequest)(nil) } -func (x fastReflection_QueryAllGuildMembershipApplicationResponse_messageType) New() protoreflect.Message { - return new(fastReflection_QueryAllGuildMembershipApplicationResponse) +func (x fastReflection_QueryAllPlanetRequest_messageType) New() protoreflect.Message { + return new(fastReflection_QueryAllPlanetRequest) } -func (x fastReflection_QueryAllGuildMembershipApplicationResponse_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_QueryAllGuildMembershipApplicationResponse +func (x fastReflection_QueryAllPlanetRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_QueryAllPlanetRequest } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_QueryAllGuildMembershipApplicationResponse) Descriptor() protoreflect.MessageDescriptor { - return md_QueryAllGuildMembershipApplicationResponse +func (x *fastReflection_QueryAllPlanetRequest) Descriptor() protoreflect.MessageDescriptor { + return md_QueryAllPlanetRequest } // 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_QueryAllGuildMembershipApplicationResponse) Type() protoreflect.MessageType { - return _fastReflection_QueryAllGuildMembershipApplicationResponse_messageType +func (x *fastReflection_QueryAllPlanetRequest) Type() protoreflect.MessageType { + return _fastReflection_QueryAllPlanetRequest_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_QueryAllGuildMembershipApplicationResponse) New() protoreflect.Message { - return new(fastReflection_QueryAllGuildMembershipApplicationResponse) +func (x *fastReflection_QueryAllPlanetRequest) New() protoreflect.Message { + return new(fastReflection_QueryAllPlanetRequest) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_QueryAllGuildMembershipApplicationResponse) Interface() protoreflect.ProtoMessage { - return (*QueryAllGuildMembershipApplicationResponse)(x) +func (x *fastReflection_QueryAllPlanetRequest) Interface() protoreflect.ProtoMessage { + return (*QueryAllPlanetRequest)(x) } // Range iterates over every populated field in an undefined order, @@ -14621,16 +25831,10 @@ func (x *fastReflection_QueryAllGuildMembershipApplicationResponse) Interface() // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_QueryAllGuildMembershipApplicationResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if len(x.GuildMembershipApplication) != 0 { - value := protoreflect.ValueOfList(&_QueryAllGuildMembershipApplicationResponse_1_list{list: &x.GuildMembershipApplication}) - if !f(fd_QueryAllGuildMembershipApplicationResponse_GuildMembershipApplication, value) { - return - } - } +func (x *fastReflection_QueryAllPlanetRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { if x.Pagination != nil { value := protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) - if !f(fd_QueryAllGuildMembershipApplicationResponse_pagination, value) { + if !f(fd_QueryAllPlanetRequest_pagination, value) { return } } @@ -14647,17 +25851,15 @@ func (x *fastReflection_QueryAllGuildMembershipApplicationResponse) Range(f func // 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_QueryAllGuildMembershipApplicationResponse) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_QueryAllPlanetRequest) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.QueryAllGuildMembershipApplicationResponse.GuildMembershipApplication": - return len(x.GuildMembershipApplication) != 0 - case "structs.structs.QueryAllGuildMembershipApplicationResponse.pagination": + case "structs.structs.QueryAllPlanetRequest.pagination": return x.Pagination != nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllGuildMembershipApplicationResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPlanetRequest")) } - panic(fmt.Errorf("message structs.structs.QueryAllGuildMembershipApplicationResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllPlanetRequest does not contain field %s", fd.FullName())) } } @@ -14667,17 +25869,15 @@ func (x *fastReflection_QueryAllGuildMembershipApplicationResponse) Has(fd proto // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAllGuildMembershipApplicationResponse) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_QueryAllPlanetRequest) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.QueryAllGuildMembershipApplicationResponse.GuildMembershipApplication": - x.GuildMembershipApplication = nil - case "structs.structs.QueryAllGuildMembershipApplicationResponse.pagination": + case "structs.structs.QueryAllPlanetRequest.pagination": x.Pagination = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllGuildMembershipApplicationResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPlanetRequest")) } - panic(fmt.Errorf("message structs.structs.QueryAllGuildMembershipApplicationResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllPlanetRequest does not contain field %s", fd.FullName())) } } @@ -14687,22 +25887,16 @@ func (x *fastReflection_QueryAllGuildMembershipApplicationResponse) Clear(fd pro // 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_QueryAllGuildMembershipApplicationResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryAllPlanetRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.QueryAllGuildMembershipApplicationResponse.GuildMembershipApplication": - if len(x.GuildMembershipApplication) == 0 { - return protoreflect.ValueOfList(&_QueryAllGuildMembershipApplicationResponse_1_list{}) - } - listValue := &_QueryAllGuildMembershipApplicationResponse_1_list{list: &x.GuildMembershipApplication} - return protoreflect.ValueOfList(listValue) - case "structs.structs.QueryAllGuildMembershipApplicationResponse.pagination": + case "structs.structs.QueryAllPlanetRequest.pagination": value := x.Pagination return protoreflect.ValueOfMessage(value.ProtoReflect()) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllGuildMembershipApplicationResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPlanetRequest")) } - panic(fmt.Errorf("message structs.structs.QueryAllGuildMembershipApplicationResponse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllPlanetRequest does not contain field %s", descriptor.FullName())) } } @@ -14716,19 +25910,15 @@ func (x *fastReflection_QueryAllGuildMembershipApplicationResponse) Get(descript // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAllGuildMembershipApplicationResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_QueryAllPlanetRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.QueryAllGuildMembershipApplicationResponse.GuildMembershipApplication": - lv := value.List() - clv := lv.(*_QueryAllGuildMembershipApplicationResponse_1_list) - x.GuildMembershipApplication = *clv.list - case "structs.structs.QueryAllGuildMembershipApplicationResponse.pagination": - x.Pagination = value.Message().Interface().(*v1beta1.PageResponse) + case "structs.structs.QueryAllPlanetRequest.pagination": + x.Pagination = value.Message().Interface().(*v1beta1.PageRequest) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllGuildMembershipApplicationResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPlanetRequest")) } - panic(fmt.Errorf("message structs.structs.QueryAllGuildMembershipApplicationResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllPlanetRequest does not contain field %s", fd.FullName())) } } @@ -14742,53 +25932,44 @@ func (x *fastReflection_QueryAllGuildMembershipApplicationResponse) Set(fd proto // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAllGuildMembershipApplicationResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryAllPlanetRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.QueryAllGuildMembershipApplicationResponse.GuildMembershipApplication": - if x.GuildMembershipApplication == nil { - x.GuildMembershipApplication = []*GuildMembershipApplication{} - } - value := &_QueryAllGuildMembershipApplicationResponse_1_list{list: &x.GuildMembershipApplication} - return protoreflect.ValueOfList(value) - case "structs.structs.QueryAllGuildMembershipApplicationResponse.pagination": + case "structs.structs.QueryAllPlanetRequest.pagination": if x.Pagination == nil { - x.Pagination = new(v1beta1.PageResponse) + x.Pagination = new(v1beta1.PageRequest) } return protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllGuildMembershipApplicationResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPlanetRequest")) } - panic(fmt.Errorf("message structs.structs.QueryAllGuildMembershipApplicationResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllPlanetRequest 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_QueryAllGuildMembershipApplicationResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryAllPlanetRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.QueryAllGuildMembershipApplicationResponse.GuildMembershipApplication": - list := []*GuildMembershipApplication{} - return protoreflect.ValueOfList(&_QueryAllGuildMembershipApplicationResponse_1_list{list: &list}) - case "structs.structs.QueryAllGuildMembershipApplicationResponse.pagination": - m := new(v1beta1.PageResponse) + case "structs.structs.QueryAllPlanetRequest.pagination": + m := new(v1beta1.PageRequest) return protoreflect.ValueOfMessage(m.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllGuildMembershipApplicationResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPlanetRequest")) } - panic(fmt.Errorf("message structs.structs.QueryAllGuildMembershipApplicationResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllPlanetRequest 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_QueryAllGuildMembershipApplicationResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_QueryAllPlanetRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryAllGuildMembershipApplicationResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryAllPlanetRequest", d.FullName())) } panic("unreachable") } @@ -14796,7 +25977,7 @@ func (x *fastReflection_QueryAllGuildMembershipApplicationResponse) WhichOneof(d // 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_QueryAllGuildMembershipApplicationResponse) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_QueryAllPlanetRequest) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -14807,7 +25988,7 @@ func (x *fastReflection_QueryAllGuildMembershipApplicationResponse) GetUnknown() // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAllGuildMembershipApplicationResponse) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_QueryAllPlanetRequest) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -14819,7 +26000,7 @@ func (x *fastReflection_QueryAllGuildMembershipApplicationResponse) SetUnknown(f // 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_QueryAllGuildMembershipApplicationResponse) IsValid() bool { +func (x *fastReflection_QueryAllPlanetRequest) IsValid() bool { return x != nil } @@ -14829,9 +26010,9 @@ func (x *fastReflection_QueryAllGuildMembershipApplicationResponse) IsValid() bo // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_QueryAllGuildMembershipApplicationResponse) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_QueryAllPlanetRequest) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*QueryAllGuildMembershipApplicationResponse) + x := input.Message.Interface().(*QueryAllPlanetRequest) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -14843,12 +26024,6 @@ func (x *fastReflection_QueryAllGuildMembershipApplicationResponse) ProtoMethods var n int var l int _ = l - if len(x.GuildMembershipApplication) > 0 { - for _, e := range x.GuildMembershipApplication { - l = options.Size(e) - n += 1 + l + runtime.Sov(uint64(l)) - } - } if x.Pagination != nil { l = options.Size(x.Pagination) n += 1 + l + runtime.Sov(uint64(l)) @@ -14863,7 +26038,7 @@ func (x *fastReflection_QueryAllGuildMembershipApplicationResponse) ProtoMethods } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*QueryAllGuildMembershipApplicationResponse) + x := input.Message.Interface().(*QueryAllPlanetRequest) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -14894,23 +26069,7 @@ func (x *fastReflection_QueryAllGuildMembershipApplicationResponse) ProtoMethods copy(dAtA[i:], encoded) i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) i-- - dAtA[i] = 0x12 - } - if len(x.GuildMembershipApplication) > 0 { - for iNdEx := len(x.GuildMembershipApplication) - 1; iNdEx >= 0; iNdEx-- { - encoded, err := options.Marshal(x.GuildMembershipApplication[iNdEx]) - 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 - } + dAtA[i] = 0xa } if input.Buf != nil { input.Buf = append(input.Buf, dAtA...) @@ -14923,7 +26082,7 @@ func (x *fastReflection_QueryAllGuildMembershipApplicationResponse) ProtoMethods }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*QueryAllGuildMembershipApplicationResponse) + x := input.Message.Interface().(*QueryAllPlanetRequest) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -14955,47 +26114,13 @@ func (x *fastReflection_QueryAllGuildMembershipApplicationResponse) ProtoMethods fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllGuildMembershipApplicationResponse: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllPlanetRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllGuildMembershipApplicationResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllPlanetRequest: 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 GuildMembershipApplication", 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 - } - x.GuildMembershipApplication = append(x.GuildMembershipApplication, &GuildMembershipApplication{}) - if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.GuildMembershipApplication[len(x.GuildMembershipApplication)-1]); err != nil { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err - } - iNdEx = postIndex - case 2: if wireType != 2 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Pagination", wireType) } @@ -15025,7 +26150,7 @@ func (x *fastReflection_QueryAllGuildMembershipApplicationResponse) ProtoMethods return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } if x.Pagination == nil { - x.Pagination = &v1beta1.PageResponse{} + x.Pagination = &v1beta1.PageRequest{} } if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Pagination); err != nil { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err @@ -15067,28 +26192,28 @@ func (x *fastReflection_QueryAllGuildMembershipApplicationResponse) ProtoMethods } var ( - md_QueryGetInfusionRequest protoreflect.MessageDescriptor - fd_QueryGetInfusionRequest_destinationId protoreflect.FieldDescriptor - fd_QueryGetInfusionRequest_address protoreflect.FieldDescriptor + md_QueryAllPlanetByPlayerRequest protoreflect.MessageDescriptor + fd_QueryAllPlanetByPlayerRequest_playerId protoreflect.FieldDescriptor + fd_QueryAllPlanetByPlayerRequest_pagination protoreflect.FieldDescriptor ) func init() { file_structs_structs_query_proto_init() - md_QueryGetInfusionRequest = File_structs_structs_query_proto.Messages().ByName("QueryGetInfusionRequest") - fd_QueryGetInfusionRequest_destinationId = md_QueryGetInfusionRequest.Fields().ByName("destinationId") - fd_QueryGetInfusionRequest_address = md_QueryGetInfusionRequest.Fields().ByName("address") + md_QueryAllPlanetByPlayerRequest = File_structs_structs_query_proto.Messages().ByName("QueryAllPlanetByPlayerRequest") + fd_QueryAllPlanetByPlayerRequest_playerId = md_QueryAllPlanetByPlayerRequest.Fields().ByName("playerId") + fd_QueryAllPlanetByPlayerRequest_pagination = md_QueryAllPlanetByPlayerRequest.Fields().ByName("pagination") } -var _ protoreflect.Message = (*fastReflection_QueryGetInfusionRequest)(nil) +var _ protoreflect.Message = (*fastReflection_QueryAllPlanetByPlayerRequest)(nil) -type fastReflection_QueryGetInfusionRequest QueryGetInfusionRequest +type fastReflection_QueryAllPlanetByPlayerRequest QueryAllPlanetByPlayerRequest -func (x *QueryGetInfusionRequest) ProtoReflect() protoreflect.Message { - return (*fastReflection_QueryGetInfusionRequest)(x) +func (x *QueryAllPlanetByPlayerRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_QueryAllPlanetByPlayerRequest)(x) } -func (x *QueryGetInfusionRequest) slowProtoReflect() protoreflect.Message { - mi := &file_structs_structs_query_proto_msgTypes[32] +func (x *QueryAllPlanetByPlayerRequest) slowProtoReflect() protoreflect.Message { + mi := &file_structs_structs_query_proto_msgTypes[55] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -15099,43 +26224,43 @@ func (x *QueryGetInfusionRequest) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_QueryGetInfusionRequest_messageType fastReflection_QueryGetInfusionRequest_messageType -var _ protoreflect.MessageType = fastReflection_QueryGetInfusionRequest_messageType{} +var _fastReflection_QueryAllPlanetByPlayerRequest_messageType fastReflection_QueryAllPlanetByPlayerRequest_messageType +var _ protoreflect.MessageType = fastReflection_QueryAllPlanetByPlayerRequest_messageType{} -type fastReflection_QueryGetInfusionRequest_messageType struct{} +type fastReflection_QueryAllPlanetByPlayerRequest_messageType struct{} -func (x fastReflection_QueryGetInfusionRequest_messageType) Zero() protoreflect.Message { - return (*fastReflection_QueryGetInfusionRequest)(nil) +func (x fastReflection_QueryAllPlanetByPlayerRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_QueryAllPlanetByPlayerRequest)(nil) } -func (x fastReflection_QueryGetInfusionRequest_messageType) New() protoreflect.Message { - return new(fastReflection_QueryGetInfusionRequest) +func (x fastReflection_QueryAllPlanetByPlayerRequest_messageType) New() protoreflect.Message { + return new(fastReflection_QueryAllPlanetByPlayerRequest) } -func (x fastReflection_QueryGetInfusionRequest_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_QueryGetInfusionRequest +func (x fastReflection_QueryAllPlanetByPlayerRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_QueryAllPlanetByPlayerRequest } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_QueryGetInfusionRequest) Descriptor() protoreflect.MessageDescriptor { - return md_QueryGetInfusionRequest +func (x *fastReflection_QueryAllPlanetByPlayerRequest) Descriptor() protoreflect.MessageDescriptor { + return md_QueryAllPlanetByPlayerRequest } // 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_QueryGetInfusionRequest) Type() protoreflect.MessageType { - return _fastReflection_QueryGetInfusionRequest_messageType +func (x *fastReflection_QueryAllPlanetByPlayerRequest) Type() protoreflect.MessageType { + return _fastReflection_QueryAllPlanetByPlayerRequest_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_QueryGetInfusionRequest) New() protoreflect.Message { - return new(fastReflection_QueryGetInfusionRequest) +func (x *fastReflection_QueryAllPlanetByPlayerRequest) New() protoreflect.Message { + return new(fastReflection_QueryAllPlanetByPlayerRequest) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_QueryGetInfusionRequest) Interface() protoreflect.ProtoMessage { - return (*QueryGetInfusionRequest)(x) +func (x *fastReflection_QueryAllPlanetByPlayerRequest) Interface() protoreflect.ProtoMessage { + return (*QueryAllPlanetByPlayerRequest)(x) } // Range iterates over every populated field in an undefined order, @@ -15143,16 +26268,16 @@ func (x *fastReflection_QueryGetInfusionRequest) Interface() protoreflect.ProtoM // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_QueryGetInfusionRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.DestinationId != "" { - value := protoreflect.ValueOfString(x.DestinationId) - if !f(fd_QueryGetInfusionRequest_destinationId, value) { +func (x *fastReflection_QueryAllPlanetByPlayerRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.PlayerId != "" { + value := protoreflect.ValueOfString(x.PlayerId) + if !f(fd_QueryAllPlanetByPlayerRequest_playerId, value) { return } } - if x.Address != "" { - value := protoreflect.ValueOfString(x.Address) - if !f(fd_QueryGetInfusionRequest_address, value) { + if x.Pagination != nil { + value := protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) + if !f(fd_QueryAllPlanetByPlayerRequest_pagination, value) { return } } @@ -15169,17 +26294,17 @@ func (x *fastReflection_QueryGetInfusionRequest) Range(f func(protoreflect.Field // 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_QueryGetInfusionRequest) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_QueryAllPlanetByPlayerRequest) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.QueryGetInfusionRequest.destinationId": - return x.DestinationId != "" - case "structs.structs.QueryGetInfusionRequest.address": - return x.Address != "" + case "structs.structs.QueryAllPlanetByPlayerRequest.playerId": + return x.PlayerId != "" + case "structs.structs.QueryAllPlanetByPlayerRequest.pagination": + return x.Pagination != nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetInfusionRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPlanetByPlayerRequest")) } - panic(fmt.Errorf("message structs.structs.QueryGetInfusionRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllPlanetByPlayerRequest does not contain field %s", fd.FullName())) } } @@ -15189,17 +26314,17 @@ func (x *fastReflection_QueryGetInfusionRequest) Has(fd protoreflect.FieldDescri // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryGetInfusionRequest) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_QueryAllPlanetByPlayerRequest) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.QueryGetInfusionRequest.destinationId": - x.DestinationId = "" - case "structs.structs.QueryGetInfusionRequest.address": - x.Address = "" + case "structs.structs.QueryAllPlanetByPlayerRequest.playerId": + x.PlayerId = "" + case "structs.structs.QueryAllPlanetByPlayerRequest.pagination": + x.Pagination = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetInfusionRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPlanetByPlayerRequest")) } - panic(fmt.Errorf("message structs.structs.QueryGetInfusionRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllPlanetByPlayerRequest does not contain field %s", fd.FullName())) } } @@ -15209,19 +26334,19 @@ func (x *fastReflection_QueryGetInfusionRequest) Clear(fd protoreflect.FieldDesc // 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_QueryGetInfusionRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryAllPlanetByPlayerRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.QueryGetInfusionRequest.destinationId": - value := x.DestinationId - return protoreflect.ValueOfString(value) - case "structs.structs.QueryGetInfusionRequest.address": - value := x.Address + case "structs.structs.QueryAllPlanetByPlayerRequest.playerId": + value := x.PlayerId return protoreflect.ValueOfString(value) + case "structs.structs.QueryAllPlanetByPlayerRequest.pagination": + value := x.Pagination + return protoreflect.ValueOfMessage(value.ProtoReflect()) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetInfusionRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPlanetByPlayerRequest")) } - panic(fmt.Errorf("message structs.structs.QueryGetInfusionRequest does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllPlanetByPlayerRequest does not contain field %s", descriptor.FullName())) } } @@ -15235,17 +26360,17 @@ func (x *fastReflection_QueryGetInfusionRequest) Get(descriptor protoreflect.Fie // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryGetInfusionRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_QueryAllPlanetByPlayerRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.QueryGetInfusionRequest.destinationId": - x.DestinationId = value.Interface().(string) - case "structs.structs.QueryGetInfusionRequest.address": - x.Address = value.Interface().(string) + case "structs.structs.QueryAllPlanetByPlayerRequest.playerId": + x.PlayerId = value.Interface().(string) + case "structs.structs.QueryAllPlanetByPlayerRequest.pagination": + x.Pagination = value.Message().Interface().(*v1beta1.PageRequest) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetInfusionRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPlanetByPlayerRequest")) } - panic(fmt.Errorf("message structs.structs.QueryGetInfusionRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllPlanetByPlayerRequest does not contain field %s", fd.FullName())) } } @@ -15259,44 +26384,48 @@ func (x *fastReflection_QueryGetInfusionRequest) Set(fd protoreflect.FieldDescri // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryGetInfusionRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryAllPlanetByPlayerRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.QueryGetInfusionRequest.destinationId": - panic(fmt.Errorf("field destinationId of message structs.structs.QueryGetInfusionRequest is not mutable")) - case "structs.structs.QueryGetInfusionRequest.address": - panic(fmt.Errorf("field address of message structs.structs.QueryGetInfusionRequest is not mutable")) + case "structs.structs.QueryAllPlanetByPlayerRequest.pagination": + if x.Pagination == nil { + x.Pagination = new(v1beta1.PageRequest) + } + return protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) + case "structs.structs.QueryAllPlanetByPlayerRequest.playerId": + panic(fmt.Errorf("field playerId of message structs.structs.QueryAllPlanetByPlayerRequest is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetInfusionRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPlanetByPlayerRequest")) } - panic(fmt.Errorf("message structs.structs.QueryGetInfusionRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllPlanetByPlayerRequest 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_QueryGetInfusionRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryAllPlanetByPlayerRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.QueryGetInfusionRequest.destinationId": - return protoreflect.ValueOfString("") - case "structs.structs.QueryGetInfusionRequest.address": + case "structs.structs.QueryAllPlanetByPlayerRequest.playerId": return protoreflect.ValueOfString("") + case "structs.structs.QueryAllPlanetByPlayerRequest.pagination": + m := new(v1beta1.PageRequest) + return protoreflect.ValueOfMessage(m.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetInfusionRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPlanetByPlayerRequest")) } - panic(fmt.Errorf("message structs.structs.QueryGetInfusionRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllPlanetByPlayerRequest 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_QueryGetInfusionRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_QueryAllPlanetByPlayerRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryGetInfusionRequest", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryAllPlanetByPlayerRequest", d.FullName())) } panic("unreachable") } @@ -15304,7 +26433,7 @@ func (x *fastReflection_QueryGetInfusionRequest) WhichOneof(d protoreflect.Oneof // 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_QueryGetInfusionRequest) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_QueryAllPlanetByPlayerRequest) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -15315,7 +26444,7 @@ func (x *fastReflection_QueryGetInfusionRequest) GetUnknown() protoreflect.RawFi // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryGetInfusionRequest) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_QueryAllPlanetByPlayerRequest) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -15327,7 +26456,7 @@ func (x *fastReflection_QueryGetInfusionRequest) SetUnknown(fields protoreflect. // 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_QueryGetInfusionRequest) IsValid() bool { +func (x *fastReflection_QueryAllPlanetByPlayerRequest) IsValid() bool { return x != nil } @@ -15337,9 +26466,9 @@ func (x *fastReflection_QueryGetInfusionRequest) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_QueryGetInfusionRequest) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_QueryAllPlanetByPlayerRequest) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*QueryGetInfusionRequest) + x := input.Message.Interface().(*QueryAllPlanetByPlayerRequest) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -15351,12 +26480,12 @@ func (x *fastReflection_QueryGetInfusionRequest) ProtoMethods() *protoiface.Meth var n int var l int _ = l - l = len(x.DestinationId) + l = len(x.PlayerId) if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } - l = len(x.Address) - if l > 0 { + if x.Pagination != nil { + l = options.Size(x.Pagination) n += 1 + l + runtime.Sov(uint64(l)) } if x.unknownFields != nil { @@ -15369,7 +26498,7 @@ func (x *fastReflection_QueryGetInfusionRequest) ProtoMethods() *protoiface.Meth } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*QueryGetInfusionRequest) + x := input.Message.Interface().(*QueryAllPlanetByPlayerRequest) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -15388,17 +26517,24 @@ func (x *fastReflection_QueryGetInfusionRequest) ProtoMethods() *protoiface.Meth i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if len(x.Address) > 0 { - i -= len(x.Address) - copy(dAtA[i:], x.Address) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Address))) + if x.Pagination != nil { + encoded, err := options.Marshal(x.Pagination) + 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.DestinationId) > 0 { - i -= len(x.DestinationId) - copy(dAtA[i:], x.DestinationId) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.DestinationId))) + if len(x.PlayerId) > 0 { + i -= len(x.PlayerId) + copy(dAtA[i:], x.PlayerId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.PlayerId))) i-- dAtA[i] = 0xa } @@ -15413,7 +26549,7 @@ func (x *fastReflection_QueryGetInfusionRequest) ProtoMethods() *protoiface.Meth }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*QueryGetInfusionRequest) + x := input.Message.Interface().(*QueryAllPlanetByPlayerRequest) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -15445,15 +26581,15 @@ func (x *fastReflection_QueryGetInfusionRequest) ProtoMethods() *protoiface.Meth fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryGetInfusionRequest: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllPlanetByPlayerRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryGetInfusionRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllPlanetByPlayerRequest: 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 DestinationId", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field PlayerId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -15481,13 +26617,13 @@ func (x *fastReflection_QueryGetInfusionRequest) ProtoMethods() *protoiface.Meth if postIndex > l { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - x.DestinationId = string(dAtA[iNdEx:postIndex]) + x.PlayerId = 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 Address", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Pagination", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -15497,23 +26633,27 @@ func (x *fastReflection_QueryGetInfusionRequest) ProtoMethods() *protoiface.Meth } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength } - postIndex := iNdEx + intStringLen + 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 } - x.Address = string(dAtA[iNdEx:postIndex]) + if x.Pagination == nil { + x.Pagination = &v1beta1.PageRequest{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Pagination); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } iNdEx = postIndex default: iNdEx = preIndex @@ -15550,27 +26690,80 @@ func (x *fastReflection_QueryGetInfusionRequest) ProtoMethods() *protoiface.Meth } } +var _ protoreflect.List = (*_QueryAllPlanetResponse_1_list)(nil) + +type _QueryAllPlanetResponse_1_list struct { + list *[]*Planet +} + +func (x *_QueryAllPlanetResponse_1_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_QueryAllPlanetResponse_1_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_QueryAllPlanetResponse_1_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*Planet) + (*x.list)[i] = concreteValue +} + +func (x *_QueryAllPlanetResponse_1_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*Planet) + *x.list = append(*x.list, concreteValue) +} + +func (x *_QueryAllPlanetResponse_1_list) AppendMutable() protoreflect.Value { + v := new(Planet) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_QueryAllPlanetResponse_1_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_QueryAllPlanetResponse_1_list) NewElement() protoreflect.Value { + v := new(Planet) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_QueryAllPlanetResponse_1_list) IsValid() bool { + return x.list != nil +} + var ( - md_QueryGetInfusionResponse protoreflect.MessageDescriptor - fd_QueryGetInfusionResponse_Infusion protoreflect.FieldDescriptor + md_QueryAllPlanetResponse protoreflect.MessageDescriptor + fd_QueryAllPlanetResponse_Planet protoreflect.FieldDescriptor + fd_QueryAllPlanetResponse_pagination protoreflect.FieldDescriptor ) func init() { file_structs_structs_query_proto_init() - md_QueryGetInfusionResponse = File_structs_structs_query_proto.Messages().ByName("QueryGetInfusionResponse") - fd_QueryGetInfusionResponse_Infusion = md_QueryGetInfusionResponse.Fields().ByName("Infusion") + md_QueryAllPlanetResponse = File_structs_structs_query_proto.Messages().ByName("QueryAllPlanetResponse") + fd_QueryAllPlanetResponse_Planet = md_QueryAllPlanetResponse.Fields().ByName("Planet") + fd_QueryAllPlanetResponse_pagination = md_QueryAllPlanetResponse.Fields().ByName("pagination") } -var _ protoreflect.Message = (*fastReflection_QueryGetInfusionResponse)(nil) +var _ protoreflect.Message = (*fastReflection_QueryAllPlanetResponse)(nil) -type fastReflection_QueryGetInfusionResponse QueryGetInfusionResponse +type fastReflection_QueryAllPlanetResponse QueryAllPlanetResponse -func (x *QueryGetInfusionResponse) ProtoReflect() protoreflect.Message { - return (*fastReflection_QueryGetInfusionResponse)(x) +func (x *QueryAllPlanetResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_QueryAllPlanetResponse)(x) } -func (x *QueryGetInfusionResponse) slowProtoReflect() protoreflect.Message { - mi := &file_structs_structs_query_proto_msgTypes[33] +func (x *QueryAllPlanetResponse) slowProtoReflect() protoreflect.Message { + mi := &file_structs_structs_query_proto_msgTypes[56] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -15581,43 +26774,43 @@ func (x *QueryGetInfusionResponse) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_QueryGetInfusionResponse_messageType fastReflection_QueryGetInfusionResponse_messageType -var _ protoreflect.MessageType = fastReflection_QueryGetInfusionResponse_messageType{} +var _fastReflection_QueryAllPlanetResponse_messageType fastReflection_QueryAllPlanetResponse_messageType +var _ protoreflect.MessageType = fastReflection_QueryAllPlanetResponse_messageType{} -type fastReflection_QueryGetInfusionResponse_messageType struct{} +type fastReflection_QueryAllPlanetResponse_messageType struct{} -func (x fastReflection_QueryGetInfusionResponse_messageType) Zero() protoreflect.Message { - return (*fastReflection_QueryGetInfusionResponse)(nil) +func (x fastReflection_QueryAllPlanetResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_QueryAllPlanetResponse)(nil) } -func (x fastReflection_QueryGetInfusionResponse_messageType) New() protoreflect.Message { - return new(fastReflection_QueryGetInfusionResponse) +func (x fastReflection_QueryAllPlanetResponse_messageType) New() protoreflect.Message { + return new(fastReflection_QueryAllPlanetResponse) } -func (x fastReflection_QueryGetInfusionResponse_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_QueryGetInfusionResponse +func (x fastReflection_QueryAllPlanetResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_QueryAllPlanetResponse } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_QueryGetInfusionResponse) Descriptor() protoreflect.MessageDescriptor { - return md_QueryGetInfusionResponse +func (x *fastReflection_QueryAllPlanetResponse) Descriptor() protoreflect.MessageDescriptor { + return md_QueryAllPlanetResponse } // 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_QueryGetInfusionResponse) Type() protoreflect.MessageType { - return _fastReflection_QueryGetInfusionResponse_messageType +func (x *fastReflection_QueryAllPlanetResponse) Type() protoreflect.MessageType { + return _fastReflection_QueryAllPlanetResponse_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_QueryGetInfusionResponse) New() protoreflect.Message { - return new(fastReflection_QueryGetInfusionResponse) +func (x *fastReflection_QueryAllPlanetResponse) New() protoreflect.Message { + return new(fastReflection_QueryAllPlanetResponse) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_QueryGetInfusionResponse) Interface() protoreflect.ProtoMessage { - return (*QueryGetInfusionResponse)(x) +func (x *fastReflection_QueryAllPlanetResponse) Interface() protoreflect.ProtoMessage { + return (*QueryAllPlanetResponse)(x) } // Range iterates over every populated field in an undefined order, @@ -15625,10 +26818,16 @@ func (x *fastReflection_QueryGetInfusionResponse) Interface() protoreflect.Proto // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_QueryGetInfusionResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.Infusion != nil { - value := protoreflect.ValueOfMessage(x.Infusion.ProtoReflect()) - if !f(fd_QueryGetInfusionResponse_Infusion, value) { +func (x *fastReflection_QueryAllPlanetResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if len(x.Planet) != 0 { + value := protoreflect.ValueOfList(&_QueryAllPlanetResponse_1_list{list: &x.Planet}) + if !f(fd_QueryAllPlanetResponse_Planet, value) { + return + } + } + if x.Pagination != nil { + value := protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) + if !f(fd_QueryAllPlanetResponse_pagination, value) { return } } @@ -15645,15 +26844,17 @@ func (x *fastReflection_QueryGetInfusionResponse) Range(f func(protoreflect.Fiel // 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_QueryGetInfusionResponse) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_QueryAllPlanetResponse) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.QueryGetInfusionResponse.Infusion": - return x.Infusion != nil + case "structs.structs.QueryAllPlanetResponse.Planet": + return len(x.Planet) != 0 + case "structs.structs.QueryAllPlanetResponse.pagination": + return x.Pagination != nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetInfusionResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPlanetResponse")) } - panic(fmt.Errorf("message structs.structs.QueryGetInfusionResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllPlanetResponse does not contain field %s", fd.FullName())) } } @@ -15663,15 +26864,17 @@ func (x *fastReflection_QueryGetInfusionResponse) Has(fd protoreflect.FieldDescr // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryGetInfusionResponse) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_QueryAllPlanetResponse) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.QueryGetInfusionResponse.Infusion": - x.Infusion = nil + case "structs.structs.QueryAllPlanetResponse.Planet": + x.Planet = nil + case "structs.structs.QueryAllPlanetResponse.pagination": + x.Pagination = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetInfusionResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPlanetResponse")) } - panic(fmt.Errorf("message structs.structs.QueryGetInfusionResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllPlanetResponse does not contain field %s", fd.FullName())) } } @@ -15681,16 +26884,22 @@ func (x *fastReflection_QueryGetInfusionResponse) Clear(fd protoreflect.FieldDes // 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_QueryGetInfusionResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryAllPlanetResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.QueryGetInfusionResponse.Infusion": - value := x.Infusion + case "structs.structs.QueryAllPlanetResponse.Planet": + if len(x.Planet) == 0 { + return protoreflect.ValueOfList(&_QueryAllPlanetResponse_1_list{}) + } + listValue := &_QueryAllPlanetResponse_1_list{list: &x.Planet} + return protoreflect.ValueOfList(listValue) + case "structs.structs.QueryAllPlanetResponse.pagination": + value := x.Pagination return protoreflect.ValueOfMessage(value.ProtoReflect()) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetInfusionResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPlanetResponse")) } - panic(fmt.Errorf("message structs.structs.QueryGetInfusionResponse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllPlanetResponse does not contain field %s", descriptor.FullName())) } } @@ -15704,15 +26913,19 @@ func (x *fastReflection_QueryGetInfusionResponse) Get(descriptor protoreflect.Fi // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryGetInfusionResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_QueryAllPlanetResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.QueryGetInfusionResponse.Infusion": - x.Infusion = value.Message().Interface().(*Infusion) + case "structs.structs.QueryAllPlanetResponse.Planet": + lv := value.List() + clv := lv.(*_QueryAllPlanetResponse_1_list) + x.Planet = *clv.list + case "structs.structs.QueryAllPlanetResponse.pagination": + x.Pagination = value.Message().Interface().(*v1beta1.PageResponse) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetInfusionResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPlanetResponse")) } - panic(fmt.Errorf("message structs.structs.QueryGetInfusionResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllPlanetResponse does not contain field %s", fd.FullName())) } } @@ -15726,44 +26939,53 @@ func (x *fastReflection_QueryGetInfusionResponse) Set(fd protoreflect.FieldDescr // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryGetInfusionResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryAllPlanetResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.QueryGetInfusionResponse.Infusion": - if x.Infusion == nil { - x.Infusion = new(Infusion) + case "structs.structs.QueryAllPlanetResponse.Planet": + if x.Planet == nil { + x.Planet = []*Planet{} } - return protoreflect.ValueOfMessage(x.Infusion.ProtoReflect()) + value := &_QueryAllPlanetResponse_1_list{list: &x.Planet} + return protoreflect.ValueOfList(value) + case "structs.structs.QueryAllPlanetResponse.pagination": + if x.Pagination == nil { + x.Pagination = new(v1beta1.PageResponse) + } + return protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetInfusionResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPlanetResponse")) } - panic(fmt.Errorf("message structs.structs.QueryGetInfusionResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllPlanetResponse 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_QueryGetInfusionResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryAllPlanetResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.QueryGetInfusionResponse.Infusion": - m := new(Infusion) + case "structs.structs.QueryAllPlanetResponse.Planet": + list := []*Planet{} + return protoreflect.ValueOfList(&_QueryAllPlanetResponse_1_list{list: &list}) + case "structs.structs.QueryAllPlanetResponse.pagination": + m := new(v1beta1.PageResponse) return protoreflect.ValueOfMessage(m.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetInfusionResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPlanetResponse")) } - panic(fmt.Errorf("message structs.structs.QueryGetInfusionResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllPlanetResponse 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_QueryGetInfusionResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_QueryAllPlanetResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryGetInfusionResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryAllPlanetResponse", d.FullName())) } panic("unreachable") } @@ -15771,7 +26993,7 @@ func (x *fastReflection_QueryGetInfusionResponse) WhichOneof(d protoreflect.Oneo // 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_QueryGetInfusionResponse) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_QueryAllPlanetResponse) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -15782,7 +27004,7 @@ func (x *fastReflection_QueryGetInfusionResponse) GetUnknown() protoreflect.RawF // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryGetInfusionResponse) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_QueryAllPlanetResponse) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -15794,7 +27016,7 @@ func (x *fastReflection_QueryGetInfusionResponse) SetUnknown(fields protoreflect // 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_QueryGetInfusionResponse) IsValid() bool { +func (x *fastReflection_QueryAllPlanetResponse) IsValid() bool { return x != nil } @@ -15804,9 +27026,9 @@ func (x *fastReflection_QueryGetInfusionResponse) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_QueryGetInfusionResponse) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_QueryAllPlanetResponse) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*QueryGetInfusionResponse) + x := input.Message.Interface().(*QueryAllPlanetResponse) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -15818,8 +27040,14 @@ func (x *fastReflection_QueryGetInfusionResponse) ProtoMethods() *protoiface.Met var n int var l int _ = l - if x.Infusion != nil { - l = options.Size(x.Infusion) + if len(x.Planet) > 0 { + for _, e := range x.Planet { + l = options.Size(e) + n += 1 + l + runtime.Sov(uint64(l)) + } + } + if x.Pagination != nil { + l = options.Size(x.Pagination) n += 1 + l + runtime.Sov(uint64(l)) } if x.unknownFields != nil { @@ -15832,7 +27060,7 @@ func (x *fastReflection_QueryGetInfusionResponse) ProtoMethods() *protoiface.Met } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*QueryGetInfusionResponse) + x := input.Message.Interface().(*QueryAllPlanetResponse) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -15851,8 +27079,8 @@ func (x *fastReflection_QueryGetInfusionResponse) ProtoMethods() *protoiface.Met i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if x.Infusion != nil { - encoded, err := options.Marshal(x.Infusion) + if x.Pagination != nil { + encoded, err := options.Marshal(x.Pagination) if err != nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -15863,7 +27091,23 @@ func (x *fastReflection_QueryGetInfusionResponse) ProtoMethods() *protoiface.Met copy(dAtA[i:], encoded) i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) i-- - dAtA[i] = 0xa + dAtA[i] = 0x12 + } + if len(x.Planet) > 0 { + for iNdEx := len(x.Planet) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.Planet[iNdEx]) + 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...) @@ -15876,7 +27120,7 @@ func (x *fastReflection_QueryGetInfusionResponse) ProtoMethods() *protoiface.Met }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*QueryGetInfusionResponse) + x := input.Message.Interface().(*QueryAllPlanetResponse) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -15908,15 +27152,15 @@ func (x *fastReflection_QueryGetInfusionResponse) ProtoMethods() *protoiface.Met fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryGetInfusionResponse: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllPlanetResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryGetInfusionResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllPlanetResponse: 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 Infusion", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Planet", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -15943,10 +27187,44 @@ func (x *fastReflection_QueryGetInfusionResponse) ProtoMethods() *protoiface.Met if postIndex > l { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - if x.Infusion == nil { - x.Infusion = &Infusion{} + x.Planet = append(x.Planet, &Planet{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Planet[len(x.Planet)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err } - if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Infusion); err != nil { + iNdEx = postIndex + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Pagination", 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.Pagination == nil { + x.Pagination = &v1beta1.PageResponse{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Pagination); err != nil { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err } iNdEx = postIndex @@ -15986,28 +27264,28 @@ func (x *fastReflection_QueryGetInfusionResponse) ProtoMethods() *protoiface.Met } var ( - md_QueryAllInfusionByDestinationRequest protoreflect.MessageDescriptor - fd_QueryAllInfusionByDestinationRequest_destinationId protoreflect.FieldDescriptor - fd_QueryAllInfusionByDestinationRequest_pagination protoreflect.FieldDescriptor + md_QueryGetPlanetAttributeRequest protoreflect.MessageDescriptor + fd_QueryGetPlanetAttributeRequest_planetId protoreflect.FieldDescriptor + fd_QueryGetPlanetAttributeRequest_attributeType protoreflect.FieldDescriptor ) func init() { file_structs_structs_query_proto_init() - md_QueryAllInfusionByDestinationRequest = File_structs_structs_query_proto.Messages().ByName("QueryAllInfusionByDestinationRequest") - fd_QueryAllInfusionByDestinationRequest_destinationId = md_QueryAllInfusionByDestinationRequest.Fields().ByName("destinationId") - fd_QueryAllInfusionByDestinationRequest_pagination = md_QueryAllInfusionByDestinationRequest.Fields().ByName("pagination") + md_QueryGetPlanetAttributeRequest = File_structs_structs_query_proto.Messages().ByName("QueryGetPlanetAttributeRequest") + fd_QueryGetPlanetAttributeRequest_planetId = md_QueryGetPlanetAttributeRequest.Fields().ByName("planetId") + fd_QueryGetPlanetAttributeRequest_attributeType = md_QueryGetPlanetAttributeRequest.Fields().ByName("attributeType") } -var _ protoreflect.Message = (*fastReflection_QueryAllInfusionByDestinationRequest)(nil) +var _ protoreflect.Message = (*fastReflection_QueryGetPlanetAttributeRequest)(nil) -type fastReflection_QueryAllInfusionByDestinationRequest QueryAllInfusionByDestinationRequest +type fastReflection_QueryGetPlanetAttributeRequest QueryGetPlanetAttributeRequest -func (x *QueryAllInfusionByDestinationRequest) ProtoReflect() protoreflect.Message { - return (*fastReflection_QueryAllInfusionByDestinationRequest)(x) +func (x *QueryGetPlanetAttributeRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_QueryGetPlanetAttributeRequest)(x) } -func (x *QueryAllInfusionByDestinationRequest) slowProtoReflect() protoreflect.Message { - mi := &file_structs_structs_query_proto_msgTypes[34] +func (x *QueryGetPlanetAttributeRequest) slowProtoReflect() protoreflect.Message { + mi := &file_structs_structs_query_proto_msgTypes[57] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -16018,43 +27296,43 @@ func (x *QueryAllInfusionByDestinationRequest) slowProtoReflect() protoreflect.M return mi.MessageOf(x) } -var _fastReflection_QueryAllInfusionByDestinationRequest_messageType fastReflection_QueryAllInfusionByDestinationRequest_messageType -var _ protoreflect.MessageType = fastReflection_QueryAllInfusionByDestinationRequest_messageType{} +var _fastReflection_QueryGetPlanetAttributeRequest_messageType fastReflection_QueryGetPlanetAttributeRequest_messageType +var _ protoreflect.MessageType = fastReflection_QueryGetPlanetAttributeRequest_messageType{} -type fastReflection_QueryAllInfusionByDestinationRequest_messageType struct{} +type fastReflection_QueryGetPlanetAttributeRequest_messageType struct{} -func (x fastReflection_QueryAllInfusionByDestinationRequest_messageType) Zero() protoreflect.Message { - return (*fastReflection_QueryAllInfusionByDestinationRequest)(nil) +func (x fastReflection_QueryGetPlanetAttributeRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_QueryGetPlanetAttributeRequest)(nil) } -func (x fastReflection_QueryAllInfusionByDestinationRequest_messageType) New() protoreflect.Message { - return new(fastReflection_QueryAllInfusionByDestinationRequest) +func (x fastReflection_QueryGetPlanetAttributeRequest_messageType) New() protoreflect.Message { + return new(fastReflection_QueryGetPlanetAttributeRequest) } -func (x fastReflection_QueryAllInfusionByDestinationRequest_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_QueryAllInfusionByDestinationRequest +func (x fastReflection_QueryGetPlanetAttributeRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_QueryGetPlanetAttributeRequest } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_QueryAllInfusionByDestinationRequest) Descriptor() protoreflect.MessageDescriptor { - return md_QueryAllInfusionByDestinationRequest +func (x *fastReflection_QueryGetPlanetAttributeRequest) Descriptor() protoreflect.MessageDescriptor { + return md_QueryGetPlanetAttributeRequest } // 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_QueryAllInfusionByDestinationRequest) Type() protoreflect.MessageType { - return _fastReflection_QueryAllInfusionByDestinationRequest_messageType +func (x *fastReflection_QueryGetPlanetAttributeRequest) Type() protoreflect.MessageType { + return _fastReflection_QueryGetPlanetAttributeRequest_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_QueryAllInfusionByDestinationRequest) New() protoreflect.Message { - return new(fastReflection_QueryAllInfusionByDestinationRequest) +func (x *fastReflection_QueryGetPlanetAttributeRequest) New() protoreflect.Message { + return new(fastReflection_QueryGetPlanetAttributeRequest) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_QueryAllInfusionByDestinationRequest) Interface() protoreflect.ProtoMessage { - return (*QueryAllInfusionByDestinationRequest)(x) +func (x *fastReflection_QueryGetPlanetAttributeRequest) Interface() protoreflect.ProtoMessage { + return (*QueryGetPlanetAttributeRequest)(x) } // Range iterates over every populated field in an undefined order, @@ -16062,16 +27340,16 @@ func (x *fastReflection_QueryAllInfusionByDestinationRequest) Interface() protor // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_QueryAllInfusionByDestinationRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.DestinationId != "" { - value := protoreflect.ValueOfString(x.DestinationId) - if !f(fd_QueryAllInfusionByDestinationRequest_destinationId, value) { +func (x *fastReflection_QueryGetPlanetAttributeRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.PlanetId != "" { + value := protoreflect.ValueOfString(x.PlanetId) + if !f(fd_QueryGetPlanetAttributeRequest_planetId, value) { return } } - if x.Pagination != nil { - value := protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) - if !f(fd_QueryAllInfusionByDestinationRequest_pagination, value) { + if x.AttributeType != "" { + value := protoreflect.ValueOfString(x.AttributeType) + if !f(fd_QueryGetPlanetAttributeRequest_attributeType, value) { return } } @@ -16088,17 +27366,17 @@ func (x *fastReflection_QueryAllInfusionByDestinationRequest) Range(f func(proto // 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_QueryAllInfusionByDestinationRequest) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_QueryGetPlanetAttributeRequest) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.QueryAllInfusionByDestinationRequest.destinationId": - return x.DestinationId != "" - case "structs.structs.QueryAllInfusionByDestinationRequest.pagination": - return x.Pagination != nil + case "structs.structs.QueryGetPlanetAttributeRequest.planetId": + return x.PlanetId != "" + case "structs.structs.QueryGetPlanetAttributeRequest.attributeType": + return x.AttributeType != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllInfusionByDestinationRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetPlanetAttributeRequest")) } - panic(fmt.Errorf("message structs.structs.QueryAllInfusionByDestinationRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetPlanetAttributeRequest does not contain field %s", fd.FullName())) } } @@ -16108,17 +27386,17 @@ func (x *fastReflection_QueryAllInfusionByDestinationRequest) Has(fd protoreflec // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAllInfusionByDestinationRequest) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_QueryGetPlanetAttributeRequest) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.QueryAllInfusionByDestinationRequest.destinationId": - x.DestinationId = "" - case "structs.structs.QueryAllInfusionByDestinationRequest.pagination": - x.Pagination = nil + case "structs.structs.QueryGetPlanetAttributeRequest.planetId": + x.PlanetId = "" + case "structs.structs.QueryGetPlanetAttributeRequest.attributeType": + x.AttributeType = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllInfusionByDestinationRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetPlanetAttributeRequest")) } - panic(fmt.Errorf("message structs.structs.QueryAllInfusionByDestinationRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetPlanetAttributeRequest does not contain field %s", fd.FullName())) } } @@ -16128,19 +27406,19 @@ func (x *fastReflection_QueryAllInfusionByDestinationRequest) Clear(fd protorefl // 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_QueryAllInfusionByDestinationRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryGetPlanetAttributeRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.QueryAllInfusionByDestinationRequest.destinationId": - value := x.DestinationId + case "structs.structs.QueryGetPlanetAttributeRequest.planetId": + value := x.PlanetId + return protoreflect.ValueOfString(value) + case "structs.structs.QueryGetPlanetAttributeRequest.attributeType": + value := x.AttributeType return protoreflect.ValueOfString(value) - case "structs.structs.QueryAllInfusionByDestinationRequest.pagination": - value := x.Pagination - return protoreflect.ValueOfMessage(value.ProtoReflect()) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllInfusionByDestinationRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetPlanetAttributeRequest")) } - panic(fmt.Errorf("message structs.structs.QueryAllInfusionByDestinationRequest does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetPlanetAttributeRequest does not contain field %s", descriptor.FullName())) } } @@ -16154,17 +27432,17 @@ func (x *fastReflection_QueryAllInfusionByDestinationRequest) Get(descriptor pro // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAllInfusionByDestinationRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_QueryGetPlanetAttributeRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.QueryAllInfusionByDestinationRequest.destinationId": - x.DestinationId = value.Interface().(string) - case "structs.structs.QueryAllInfusionByDestinationRequest.pagination": - x.Pagination = value.Message().Interface().(*v1beta1.PageRequest) + case "structs.structs.QueryGetPlanetAttributeRequest.planetId": + x.PlanetId = value.Interface().(string) + case "structs.structs.QueryGetPlanetAttributeRequest.attributeType": + x.AttributeType = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllInfusionByDestinationRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetPlanetAttributeRequest")) } - panic(fmt.Errorf("message structs.structs.QueryAllInfusionByDestinationRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetPlanetAttributeRequest does not contain field %s", fd.FullName())) } } @@ -16178,48 +27456,44 @@ func (x *fastReflection_QueryAllInfusionByDestinationRequest) Set(fd protoreflec // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAllInfusionByDestinationRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryGetPlanetAttributeRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.QueryAllInfusionByDestinationRequest.pagination": - if x.Pagination == nil { - x.Pagination = new(v1beta1.PageRequest) - } - return protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) - case "structs.structs.QueryAllInfusionByDestinationRequest.destinationId": - panic(fmt.Errorf("field destinationId of message structs.structs.QueryAllInfusionByDestinationRequest is not mutable")) + case "structs.structs.QueryGetPlanetAttributeRequest.planetId": + panic(fmt.Errorf("field planetId of message structs.structs.QueryGetPlanetAttributeRequest is not mutable")) + case "structs.structs.QueryGetPlanetAttributeRequest.attributeType": + panic(fmt.Errorf("field attributeType of message structs.structs.QueryGetPlanetAttributeRequest is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllInfusionByDestinationRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetPlanetAttributeRequest")) } - panic(fmt.Errorf("message structs.structs.QueryAllInfusionByDestinationRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetPlanetAttributeRequest 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_QueryAllInfusionByDestinationRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryGetPlanetAttributeRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.QueryAllInfusionByDestinationRequest.destinationId": + case "structs.structs.QueryGetPlanetAttributeRequest.planetId": + return protoreflect.ValueOfString("") + case "structs.structs.QueryGetPlanetAttributeRequest.attributeType": return protoreflect.ValueOfString("") - case "structs.structs.QueryAllInfusionByDestinationRequest.pagination": - m := new(v1beta1.PageRequest) - return protoreflect.ValueOfMessage(m.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllInfusionByDestinationRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetPlanetAttributeRequest")) } - panic(fmt.Errorf("message structs.structs.QueryAllInfusionByDestinationRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetPlanetAttributeRequest 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_QueryAllInfusionByDestinationRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_QueryGetPlanetAttributeRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryAllInfusionByDestinationRequest", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryGetPlanetAttributeRequest", d.FullName())) } panic("unreachable") } @@ -16227,7 +27501,7 @@ func (x *fastReflection_QueryAllInfusionByDestinationRequest) WhichOneof(d proto // 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_QueryAllInfusionByDestinationRequest) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_QueryGetPlanetAttributeRequest) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -16238,7 +27512,7 @@ func (x *fastReflection_QueryAllInfusionByDestinationRequest) GetUnknown() proto // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAllInfusionByDestinationRequest) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_QueryGetPlanetAttributeRequest) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -16250,7 +27524,7 @@ func (x *fastReflection_QueryAllInfusionByDestinationRequest) SetUnknown(fields // 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_QueryAllInfusionByDestinationRequest) IsValid() bool { +func (x *fastReflection_QueryGetPlanetAttributeRequest) IsValid() bool { return x != nil } @@ -16260,9 +27534,9 @@ func (x *fastReflection_QueryAllInfusionByDestinationRequest) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_QueryAllInfusionByDestinationRequest) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_QueryGetPlanetAttributeRequest) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*QueryAllInfusionByDestinationRequest) + x := input.Message.Interface().(*QueryGetPlanetAttributeRequest) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -16274,12 +27548,12 @@ func (x *fastReflection_QueryAllInfusionByDestinationRequest) ProtoMethods() *pr var n int var l int _ = l - l = len(x.DestinationId) + l = len(x.PlanetId) if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } - if x.Pagination != nil { - l = options.Size(x.Pagination) + l = len(x.AttributeType) + if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } if x.unknownFields != nil { @@ -16292,7 +27566,7 @@ func (x *fastReflection_QueryAllInfusionByDestinationRequest) ProtoMethods() *pr } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*QueryAllInfusionByDestinationRequest) + x := input.Message.Interface().(*QueryGetPlanetAttributeRequest) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -16311,24 +27585,17 @@ func (x *fastReflection_QueryAllInfusionByDestinationRequest) ProtoMethods() *pr i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if x.Pagination != nil { - encoded, err := options.Marshal(x.Pagination) - 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))) + if len(x.AttributeType) > 0 { + i -= len(x.AttributeType) + copy(dAtA[i:], x.AttributeType) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.AttributeType))) i-- dAtA[i] = 0x12 } - if len(x.DestinationId) > 0 { - i -= len(x.DestinationId) - copy(dAtA[i:], x.DestinationId) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.DestinationId))) + if len(x.PlanetId) > 0 { + i -= len(x.PlanetId) + copy(dAtA[i:], x.PlanetId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.PlanetId))) i-- dAtA[i] = 0xa } @@ -16343,7 +27610,7 @@ func (x *fastReflection_QueryAllInfusionByDestinationRequest) ProtoMethods() *pr }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*QueryAllInfusionByDestinationRequest) + x := input.Message.Interface().(*QueryGetPlanetAttributeRequest) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -16375,15 +27642,15 @@ func (x *fastReflection_QueryAllInfusionByDestinationRequest) ProtoMethods() *pr fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllInfusionByDestinationRequest: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryGetPlanetAttributeRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllInfusionByDestinationRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryGetPlanetAttributeRequest: 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 DestinationId", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field PlanetId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -16411,13 +27678,13 @@ func (x *fastReflection_QueryAllInfusionByDestinationRequest) ProtoMethods() *pr if postIndex > l { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - x.DestinationId = string(dAtA[iNdEx:postIndex]) + x.PlanetId = 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 Pagination", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field AttributeType", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -16427,27 +27694,23 @@ func (x *fastReflection_QueryAllInfusionByDestinationRequest) ProtoMethods() *pr } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength } - postIndex := iNdEx + msglen + 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 } - if x.Pagination == nil { - x.Pagination = &v1beta1.PageRequest{} - } - if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Pagination); err != nil { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err - } + x.AttributeType = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -16485,26 +27748,26 @@ func (x *fastReflection_QueryAllInfusionByDestinationRequest) ProtoMethods() *pr } var ( - md_QueryAllInfusionRequest protoreflect.MessageDescriptor - fd_QueryAllInfusionRequest_pagination protoreflect.FieldDescriptor + md_QueryGetPlanetAttributeResponse protoreflect.MessageDescriptor + fd_QueryGetPlanetAttributeResponse_attribute protoreflect.FieldDescriptor ) func init() { file_structs_structs_query_proto_init() - md_QueryAllInfusionRequest = File_structs_structs_query_proto.Messages().ByName("QueryAllInfusionRequest") - fd_QueryAllInfusionRequest_pagination = md_QueryAllInfusionRequest.Fields().ByName("pagination") + md_QueryGetPlanetAttributeResponse = File_structs_structs_query_proto.Messages().ByName("QueryGetPlanetAttributeResponse") + fd_QueryGetPlanetAttributeResponse_attribute = md_QueryGetPlanetAttributeResponse.Fields().ByName("attribute") } -var _ protoreflect.Message = (*fastReflection_QueryAllInfusionRequest)(nil) +var _ protoreflect.Message = (*fastReflection_QueryGetPlanetAttributeResponse)(nil) -type fastReflection_QueryAllInfusionRequest QueryAllInfusionRequest +type fastReflection_QueryGetPlanetAttributeResponse QueryGetPlanetAttributeResponse -func (x *QueryAllInfusionRequest) ProtoReflect() protoreflect.Message { - return (*fastReflection_QueryAllInfusionRequest)(x) +func (x *QueryGetPlanetAttributeResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_QueryGetPlanetAttributeResponse)(x) } -func (x *QueryAllInfusionRequest) slowProtoReflect() protoreflect.Message { - mi := &file_structs_structs_query_proto_msgTypes[35] +func (x *QueryGetPlanetAttributeResponse) slowProtoReflect() protoreflect.Message { + mi := &file_structs_structs_query_proto_msgTypes[58] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -16515,43 +27778,43 @@ func (x *QueryAllInfusionRequest) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_QueryAllInfusionRequest_messageType fastReflection_QueryAllInfusionRequest_messageType -var _ protoreflect.MessageType = fastReflection_QueryAllInfusionRequest_messageType{} +var _fastReflection_QueryGetPlanetAttributeResponse_messageType fastReflection_QueryGetPlanetAttributeResponse_messageType +var _ protoreflect.MessageType = fastReflection_QueryGetPlanetAttributeResponse_messageType{} -type fastReflection_QueryAllInfusionRequest_messageType struct{} +type fastReflection_QueryGetPlanetAttributeResponse_messageType struct{} -func (x fastReflection_QueryAllInfusionRequest_messageType) Zero() protoreflect.Message { - return (*fastReflection_QueryAllInfusionRequest)(nil) +func (x fastReflection_QueryGetPlanetAttributeResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_QueryGetPlanetAttributeResponse)(nil) } -func (x fastReflection_QueryAllInfusionRequest_messageType) New() protoreflect.Message { - return new(fastReflection_QueryAllInfusionRequest) +func (x fastReflection_QueryGetPlanetAttributeResponse_messageType) New() protoreflect.Message { + return new(fastReflection_QueryGetPlanetAttributeResponse) } -func (x fastReflection_QueryAllInfusionRequest_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_QueryAllInfusionRequest +func (x fastReflection_QueryGetPlanetAttributeResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_QueryGetPlanetAttributeResponse } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_QueryAllInfusionRequest) Descriptor() protoreflect.MessageDescriptor { - return md_QueryAllInfusionRequest +func (x *fastReflection_QueryGetPlanetAttributeResponse) Descriptor() protoreflect.MessageDescriptor { + return md_QueryGetPlanetAttributeResponse } // 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_QueryAllInfusionRequest) Type() protoreflect.MessageType { - return _fastReflection_QueryAllInfusionRequest_messageType +func (x *fastReflection_QueryGetPlanetAttributeResponse) Type() protoreflect.MessageType { + return _fastReflection_QueryGetPlanetAttributeResponse_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_QueryAllInfusionRequest) New() protoreflect.Message { - return new(fastReflection_QueryAllInfusionRequest) +func (x *fastReflection_QueryGetPlanetAttributeResponse) New() protoreflect.Message { + return new(fastReflection_QueryGetPlanetAttributeResponse) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_QueryAllInfusionRequest) Interface() protoreflect.ProtoMessage { - return (*QueryAllInfusionRequest)(x) +func (x *fastReflection_QueryGetPlanetAttributeResponse) Interface() protoreflect.ProtoMessage { + return (*QueryGetPlanetAttributeResponse)(x) } // Range iterates over every populated field in an undefined order, @@ -16559,10 +27822,10 @@ func (x *fastReflection_QueryAllInfusionRequest) Interface() protoreflect.ProtoM // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_QueryAllInfusionRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.Pagination != nil { - value := protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) - if !f(fd_QueryAllInfusionRequest_pagination, value) { +func (x *fastReflection_QueryGetPlanetAttributeResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Attribute != uint64(0) { + value := protoreflect.ValueOfUint64(x.Attribute) + if !f(fd_QueryGetPlanetAttributeResponse_attribute, value) { return } } @@ -16579,15 +27842,15 @@ func (x *fastReflection_QueryAllInfusionRequest) Range(f func(protoreflect.Field // 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_QueryAllInfusionRequest) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_QueryGetPlanetAttributeResponse) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.QueryAllInfusionRequest.pagination": - return x.Pagination != nil + case "structs.structs.QueryGetPlanetAttributeResponse.attribute": + return x.Attribute != uint64(0) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllInfusionRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetPlanetAttributeResponse")) } - panic(fmt.Errorf("message structs.structs.QueryAllInfusionRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetPlanetAttributeResponse does not contain field %s", fd.FullName())) } } @@ -16597,15 +27860,15 @@ func (x *fastReflection_QueryAllInfusionRequest) Has(fd protoreflect.FieldDescri // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAllInfusionRequest) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_QueryGetPlanetAttributeResponse) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.QueryAllInfusionRequest.pagination": - x.Pagination = nil + case "structs.structs.QueryGetPlanetAttributeResponse.attribute": + x.Attribute = uint64(0) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllInfusionRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetPlanetAttributeResponse")) } - panic(fmt.Errorf("message structs.structs.QueryAllInfusionRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetPlanetAttributeResponse does not contain field %s", fd.FullName())) } } @@ -16615,16 +27878,16 @@ func (x *fastReflection_QueryAllInfusionRequest) Clear(fd protoreflect.FieldDesc // 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_QueryAllInfusionRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryGetPlanetAttributeResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.QueryAllInfusionRequest.pagination": - value := x.Pagination - return protoreflect.ValueOfMessage(value.ProtoReflect()) + case "structs.structs.QueryGetPlanetAttributeResponse.attribute": + value := x.Attribute + return protoreflect.ValueOfUint64(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllInfusionRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetPlanetAttributeResponse")) } - panic(fmt.Errorf("message structs.structs.QueryAllInfusionRequest does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetPlanetAttributeResponse does not contain field %s", descriptor.FullName())) } } @@ -16638,15 +27901,15 @@ func (x *fastReflection_QueryAllInfusionRequest) Get(descriptor protoreflect.Fie // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAllInfusionRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_QueryGetPlanetAttributeResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.QueryAllInfusionRequest.pagination": - x.Pagination = value.Message().Interface().(*v1beta1.PageRequest) + case "structs.structs.QueryGetPlanetAttributeResponse.attribute": + x.Attribute = value.Uint() default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllInfusionRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetPlanetAttributeResponse")) } - panic(fmt.Errorf("message structs.structs.QueryAllInfusionRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetPlanetAttributeResponse does not contain field %s", fd.FullName())) } } @@ -16660,44 +27923,40 @@ func (x *fastReflection_QueryAllInfusionRequest) Set(fd protoreflect.FieldDescri // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAllInfusionRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryGetPlanetAttributeResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.QueryAllInfusionRequest.pagination": - if x.Pagination == nil { - x.Pagination = new(v1beta1.PageRequest) - } - return protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) + case "structs.structs.QueryGetPlanetAttributeResponse.attribute": + panic(fmt.Errorf("field attribute of message structs.structs.QueryGetPlanetAttributeResponse is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllInfusionRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetPlanetAttributeResponse")) } - panic(fmt.Errorf("message structs.structs.QueryAllInfusionRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetPlanetAttributeResponse 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_QueryAllInfusionRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryGetPlanetAttributeResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.QueryAllInfusionRequest.pagination": - m := new(v1beta1.PageRequest) - return protoreflect.ValueOfMessage(m.ProtoReflect()) + case "structs.structs.QueryGetPlanetAttributeResponse.attribute": + return protoreflect.ValueOfUint64(uint64(0)) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllInfusionRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetPlanetAttributeResponse")) } - panic(fmt.Errorf("message structs.structs.QueryAllInfusionRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetPlanetAttributeResponse 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_QueryAllInfusionRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_QueryGetPlanetAttributeResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryAllInfusionRequest", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryGetPlanetAttributeResponse", d.FullName())) } panic("unreachable") } @@ -16705,7 +27964,7 @@ func (x *fastReflection_QueryAllInfusionRequest) WhichOneof(d protoreflect.Oneof // 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_QueryAllInfusionRequest) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_QueryGetPlanetAttributeResponse) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -16716,7 +27975,7 @@ func (x *fastReflection_QueryAllInfusionRequest) GetUnknown() protoreflect.RawFi // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAllInfusionRequest) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_QueryGetPlanetAttributeResponse) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -16728,7 +27987,7 @@ func (x *fastReflection_QueryAllInfusionRequest) SetUnknown(fields protoreflect. // 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_QueryAllInfusionRequest) IsValid() bool { +func (x *fastReflection_QueryGetPlanetAttributeResponse) IsValid() bool { return x != nil } @@ -16738,9 +27997,9 @@ func (x *fastReflection_QueryAllInfusionRequest) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_QueryAllInfusionRequest) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_QueryGetPlanetAttributeResponse) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*QueryAllInfusionRequest) + x := input.Message.Interface().(*QueryGetPlanetAttributeResponse) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -16752,9 +28011,8 @@ func (x *fastReflection_QueryAllInfusionRequest) ProtoMethods() *protoiface.Meth var n int var l int _ = l - if x.Pagination != nil { - l = options.Size(x.Pagination) - n += 1 + l + runtime.Sov(uint64(l)) + if x.Attribute != 0 { + n += 1 + runtime.Sov(uint64(x.Attribute)) } if x.unknownFields != nil { n += len(x.unknownFields) @@ -16766,7 +28024,7 @@ func (x *fastReflection_QueryAllInfusionRequest) ProtoMethods() *protoiface.Meth } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*QueryAllInfusionRequest) + x := input.Message.Interface().(*QueryGetPlanetAttributeResponse) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -16785,19 +28043,10 @@ func (x *fastReflection_QueryAllInfusionRequest) ProtoMethods() *protoiface.Meth i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if x.Pagination != nil { - encoded, err := options.Marshal(x.Pagination) - 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))) + if x.Attribute != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.Attribute)) i-- - dAtA[i] = 0xa + dAtA[i] = 0x8 } if input.Buf != nil { input.Buf = append(input.Buf, dAtA...) @@ -16810,7 +28059,7 @@ func (x *fastReflection_QueryAllInfusionRequest) ProtoMethods() *protoiface.Meth }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*QueryAllInfusionRequest) + x := input.Message.Interface().(*QueryGetPlanetAttributeResponse) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -16842,17 +28091,17 @@ func (x *fastReflection_QueryAllInfusionRequest) ProtoMethods() *protoiface.Meth fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllInfusionRequest: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryGetPlanetAttributeResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllInfusionRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryGetPlanetAttributeResponse: 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 Pagination", wireType) + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Attribute", wireType) } - var msglen int + x.Attribute = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -16862,28 +28111,11 @@ func (x *fastReflection_QueryAllInfusionRequest) ProtoMethods() *protoiface.Meth } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + x.Attribute |= uint64(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.Pagination == nil { - x.Pagination = &v1beta1.PageRequest{} - } - if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Pagination); err != nil { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err - } - iNdEx = postIndex default: iNdEx = preIndex skippy, err := runtime.Skip(dAtA[iNdEx:]) @@ -16919,128 +28151,27 @@ func (x *fastReflection_QueryAllInfusionRequest) ProtoMethods() *protoiface.Meth } } -var _ protoreflect.List = (*_QueryAllInfusionResponse_1_list)(nil) - -type _QueryAllInfusionResponse_1_list struct { - list *[]*Infusion -} - -func (x *_QueryAllInfusionResponse_1_list) Len() int { - if x.list == nil { - return 0 - } - return len(*x.list) -} - -func (x *_QueryAllInfusionResponse_1_list) Get(i int) protoreflect.Value { - return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) -} - -func (x *_QueryAllInfusionResponse_1_list) Set(i int, value protoreflect.Value) { - valueUnwrapped := value.Message() - concreteValue := valueUnwrapped.Interface().(*Infusion) - (*x.list)[i] = concreteValue -} - -func (x *_QueryAllInfusionResponse_1_list) Append(value protoreflect.Value) { - valueUnwrapped := value.Message() - concreteValue := valueUnwrapped.Interface().(*Infusion) - *x.list = append(*x.list, concreteValue) -} - -func (x *_QueryAllInfusionResponse_1_list) AppendMutable() protoreflect.Value { - v := new(Infusion) - *x.list = append(*x.list, v) - return protoreflect.ValueOfMessage(v.ProtoReflect()) -} - -func (x *_QueryAllInfusionResponse_1_list) Truncate(n int) { - for i := n; i < len(*x.list); i++ { - (*x.list)[i] = nil - } - *x.list = (*x.list)[:n] -} - -func (x *_QueryAllInfusionResponse_1_list) NewElement() protoreflect.Value { - v := new(Infusion) - return protoreflect.ValueOfMessage(v.ProtoReflect()) -} - -func (x *_QueryAllInfusionResponse_1_list) IsValid() bool { - return x.list != nil -} - -var _ protoreflect.List = (*_QueryAllInfusionResponse_3_list)(nil) - -type _QueryAllInfusionResponse_3_list struct { - list *[]uint64 -} - -func (x *_QueryAllInfusionResponse_3_list) Len() int { - if x.list == nil { - return 0 - } - return len(*x.list) -} - -func (x *_QueryAllInfusionResponse_3_list) Get(i int) protoreflect.Value { - return protoreflect.ValueOfUint64((*x.list)[i]) -} - -func (x *_QueryAllInfusionResponse_3_list) Set(i int, value protoreflect.Value) { - valueUnwrapped := value.Uint() - concreteValue := valueUnwrapped - (*x.list)[i] = concreteValue -} - -func (x *_QueryAllInfusionResponse_3_list) Append(value protoreflect.Value) { - valueUnwrapped := value.Uint() - concreteValue := valueUnwrapped - *x.list = append(*x.list, concreteValue) -} - -func (x *_QueryAllInfusionResponse_3_list) AppendMutable() protoreflect.Value { - panic(fmt.Errorf("AppendMutable can not be called on message QueryAllInfusionResponse at list field Status as it is not of Message kind")) -} - -func (x *_QueryAllInfusionResponse_3_list) Truncate(n int) { - *x.list = (*x.list)[:n] -} - -func (x *_QueryAllInfusionResponse_3_list) NewElement() protoreflect.Value { - v := uint64(0) - return protoreflect.ValueOfUint64(v) -} - -func (x *_QueryAllInfusionResponse_3_list) IsValid() bool { - return x.list != nil -} - var ( - md_QueryAllInfusionResponse protoreflect.MessageDescriptor - fd_QueryAllInfusionResponse_Infusion protoreflect.FieldDescriptor - fd_QueryAllInfusionResponse_pagination protoreflect.FieldDescriptor - fd_QueryAllInfusionResponse_status protoreflect.FieldDescriptor + md_QueryAllPlanetAttributeRequest protoreflect.MessageDescriptor + fd_QueryAllPlanetAttributeRequest_pagination protoreflect.FieldDescriptor ) func init() { file_structs_structs_query_proto_init() - md_QueryAllInfusionResponse = File_structs_structs_query_proto.Messages().ByName("QueryAllInfusionResponse") - fd_QueryAllInfusionResponse_Infusion = md_QueryAllInfusionResponse.Fields().ByName("Infusion") - fd_QueryAllInfusionResponse_pagination = md_QueryAllInfusionResponse.Fields().ByName("pagination") - fd_QueryAllInfusionResponse_status = md_QueryAllInfusionResponse.Fields().ByName("status") + md_QueryAllPlanetAttributeRequest = File_structs_structs_query_proto.Messages().ByName("QueryAllPlanetAttributeRequest") + fd_QueryAllPlanetAttributeRequest_pagination = md_QueryAllPlanetAttributeRequest.Fields().ByName("pagination") } -var _ protoreflect.Message = (*fastReflection_QueryAllInfusionResponse)(nil) +var _ protoreflect.Message = (*fastReflection_QueryAllPlanetAttributeRequest)(nil) -type fastReflection_QueryAllInfusionResponse QueryAllInfusionResponse +type fastReflection_QueryAllPlanetAttributeRequest QueryAllPlanetAttributeRequest -func (x *QueryAllInfusionResponse) ProtoReflect() protoreflect.Message { - return (*fastReflection_QueryAllInfusionResponse)(x) +func (x *QueryAllPlanetAttributeRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_QueryAllPlanetAttributeRequest)(x) } -func (x *QueryAllInfusionResponse) slowProtoReflect() protoreflect.Message { - mi := &file_structs_structs_query_proto_msgTypes[36] +func (x *QueryAllPlanetAttributeRequest) slowProtoReflect() protoreflect.Message { + mi := &file_structs_structs_query_proto_msgTypes[59] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -17051,43 +28182,43 @@ func (x *QueryAllInfusionResponse) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_QueryAllInfusionResponse_messageType fastReflection_QueryAllInfusionResponse_messageType -var _ protoreflect.MessageType = fastReflection_QueryAllInfusionResponse_messageType{} +var _fastReflection_QueryAllPlanetAttributeRequest_messageType fastReflection_QueryAllPlanetAttributeRequest_messageType +var _ protoreflect.MessageType = fastReflection_QueryAllPlanetAttributeRequest_messageType{} -type fastReflection_QueryAllInfusionResponse_messageType struct{} +type fastReflection_QueryAllPlanetAttributeRequest_messageType struct{} -func (x fastReflection_QueryAllInfusionResponse_messageType) Zero() protoreflect.Message { - return (*fastReflection_QueryAllInfusionResponse)(nil) +func (x fastReflection_QueryAllPlanetAttributeRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_QueryAllPlanetAttributeRequest)(nil) } -func (x fastReflection_QueryAllInfusionResponse_messageType) New() protoreflect.Message { - return new(fastReflection_QueryAllInfusionResponse) +func (x fastReflection_QueryAllPlanetAttributeRequest_messageType) New() protoreflect.Message { + return new(fastReflection_QueryAllPlanetAttributeRequest) } -func (x fastReflection_QueryAllInfusionResponse_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_QueryAllInfusionResponse +func (x fastReflection_QueryAllPlanetAttributeRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_QueryAllPlanetAttributeRequest } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_QueryAllInfusionResponse) Descriptor() protoreflect.MessageDescriptor { - return md_QueryAllInfusionResponse +func (x *fastReflection_QueryAllPlanetAttributeRequest) Descriptor() protoreflect.MessageDescriptor { + return md_QueryAllPlanetAttributeRequest } // 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_QueryAllInfusionResponse) Type() protoreflect.MessageType { - return _fastReflection_QueryAllInfusionResponse_messageType +func (x *fastReflection_QueryAllPlanetAttributeRequest) Type() protoreflect.MessageType { + return _fastReflection_QueryAllPlanetAttributeRequest_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_QueryAllInfusionResponse) New() protoreflect.Message { - return new(fastReflection_QueryAllInfusionResponse) +func (x *fastReflection_QueryAllPlanetAttributeRequest) New() protoreflect.Message { + return new(fastReflection_QueryAllPlanetAttributeRequest) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_QueryAllInfusionResponse) Interface() protoreflect.ProtoMessage { - return (*QueryAllInfusionResponse)(x) +func (x *fastReflection_QueryAllPlanetAttributeRequest) Interface() protoreflect.ProtoMessage { + return (*QueryAllPlanetAttributeRequest)(x) } // Range iterates over every populated field in an undefined order, @@ -17095,22 +28226,10 @@ func (x *fastReflection_QueryAllInfusionResponse) Interface() protoreflect.Proto // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_QueryAllInfusionResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if len(x.Infusion) != 0 { - value := protoreflect.ValueOfList(&_QueryAllInfusionResponse_1_list{list: &x.Infusion}) - if !f(fd_QueryAllInfusionResponse_Infusion, value) { - return - } - } +func (x *fastReflection_QueryAllPlanetAttributeRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { if x.Pagination != nil { value := protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) - if !f(fd_QueryAllInfusionResponse_pagination, value) { - return - } - } - if len(x.Status) != 0 { - value := protoreflect.ValueOfList(&_QueryAllInfusionResponse_3_list{list: &x.Status}) - if !f(fd_QueryAllInfusionResponse_status, value) { + if !f(fd_QueryAllPlanetAttributeRequest_pagination, value) { return } } @@ -17127,19 +28246,15 @@ func (x *fastReflection_QueryAllInfusionResponse) Range(f func(protoreflect.Fiel // 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_QueryAllInfusionResponse) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_QueryAllPlanetAttributeRequest) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.QueryAllInfusionResponse.Infusion": - return len(x.Infusion) != 0 - case "structs.structs.QueryAllInfusionResponse.pagination": + case "structs.structs.QueryAllPlanetAttributeRequest.pagination": return x.Pagination != nil - case "structs.structs.QueryAllInfusionResponse.status": - return len(x.Status) != 0 default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllInfusionResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPlanetAttributeRequest")) } - panic(fmt.Errorf("message structs.structs.QueryAllInfusionResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllPlanetAttributeRequest does not contain field %s", fd.FullName())) } } @@ -17149,19 +28264,15 @@ func (x *fastReflection_QueryAllInfusionResponse) Has(fd protoreflect.FieldDescr // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAllInfusionResponse) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_QueryAllPlanetAttributeRequest) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.QueryAllInfusionResponse.Infusion": - x.Infusion = nil - case "structs.structs.QueryAllInfusionResponse.pagination": + case "structs.structs.QueryAllPlanetAttributeRequest.pagination": x.Pagination = nil - case "structs.structs.QueryAllInfusionResponse.status": - x.Status = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllInfusionResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPlanetAttributeRequest")) } - panic(fmt.Errorf("message structs.structs.QueryAllInfusionResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllPlanetAttributeRequest does not contain field %s", fd.FullName())) } } @@ -17171,28 +28282,16 @@ func (x *fastReflection_QueryAllInfusionResponse) Clear(fd protoreflect.FieldDes // 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_QueryAllInfusionResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryAllPlanetAttributeRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.QueryAllInfusionResponse.Infusion": - if len(x.Infusion) == 0 { - return protoreflect.ValueOfList(&_QueryAllInfusionResponse_1_list{}) - } - listValue := &_QueryAllInfusionResponse_1_list{list: &x.Infusion} - return protoreflect.ValueOfList(listValue) - case "structs.structs.QueryAllInfusionResponse.pagination": + case "structs.structs.QueryAllPlanetAttributeRequest.pagination": value := x.Pagination return protoreflect.ValueOfMessage(value.ProtoReflect()) - case "structs.structs.QueryAllInfusionResponse.status": - if len(x.Status) == 0 { - return protoreflect.ValueOfList(&_QueryAllInfusionResponse_3_list{}) - } - listValue := &_QueryAllInfusionResponse_3_list{list: &x.Status} - return protoreflect.ValueOfList(listValue) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllInfusionResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPlanetAttributeRequest")) } - panic(fmt.Errorf("message structs.structs.QueryAllInfusionResponse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllPlanetAttributeRequest does not contain field %s", descriptor.FullName())) } } @@ -17206,23 +28305,15 @@ func (x *fastReflection_QueryAllInfusionResponse) Get(descriptor protoreflect.Fi // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAllInfusionResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_QueryAllPlanetAttributeRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.QueryAllInfusionResponse.Infusion": - lv := value.List() - clv := lv.(*_QueryAllInfusionResponse_1_list) - x.Infusion = *clv.list - case "structs.structs.QueryAllInfusionResponse.pagination": - x.Pagination = value.Message().Interface().(*v1beta1.PageResponse) - case "structs.structs.QueryAllInfusionResponse.status": - lv := value.List() - clv := lv.(*_QueryAllInfusionResponse_3_list) - x.Status = *clv.list + case "structs.structs.QueryAllPlanetAttributeRequest.pagination": + x.Pagination = value.Message().Interface().(*v1beta1.PageRequest) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllInfusionResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPlanetAttributeRequest")) } - panic(fmt.Errorf("message structs.structs.QueryAllInfusionResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllPlanetAttributeRequest does not contain field %s", fd.FullName())) } } @@ -17236,62 +28327,44 @@ func (x *fastReflection_QueryAllInfusionResponse) Set(fd protoreflect.FieldDescr // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAllInfusionResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryAllPlanetAttributeRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.QueryAllInfusionResponse.Infusion": - if x.Infusion == nil { - x.Infusion = []*Infusion{} - } - value := &_QueryAllInfusionResponse_1_list{list: &x.Infusion} - return protoreflect.ValueOfList(value) - case "structs.structs.QueryAllInfusionResponse.pagination": + case "structs.structs.QueryAllPlanetAttributeRequest.pagination": if x.Pagination == nil { - x.Pagination = new(v1beta1.PageResponse) + x.Pagination = new(v1beta1.PageRequest) } return protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) - case "structs.structs.QueryAllInfusionResponse.status": - if x.Status == nil { - x.Status = []uint64{} - } - value := &_QueryAllInfusionResponse_3_list{list: &x.Status} - return protoreflect.ValueOfList(value) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllInfusionResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPlanetAttributeRequest")) } - panic(fmt.Errorf("message structs.structs.QueryAllInfusionResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllPlanetAttributeRequest 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_QueryAllInfusionResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryAllPlanetAttributeRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.QueryAllInfusionResponse.Infusion": - list := []*Infusion{} - return protoreflect.ValueOfList(&_QueryAllInfusionResponse_1_list{list: &list}) - case "structs.structs.QueryAllInfusionResponse.pagination": - m := new(v1beta1.PageResponse) + case "structs.structs.QueryAllPlanetAttributeRequest.pagination": + m := new(v1beta1.PageRequest) return protoreflect.ValueOfMessage(m.ProtoReflect()) - case "structs.structs.QueryAllInfusionResponse.status": - list := []uint64{} - return protoreflect.ValueOfList(&_QueryAllInfusionResponse_3_list{list: &list}) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllInfusionResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPlanetAttributeRequest")) } - panic(fmt.Errorf("message structs.structs.QueryAllInfusionResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllPlanetAttributeRequest 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_QueryAllInfusionResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_QueryAllPlanetAttributeRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryAllInfusionResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryAllPlanetAttributeRequest", d.FullName())) } panic("unreachable") } @@ -17299,7 +28372,7 @@ func (x *fastReflection_QueryAllInfusionResponse) WhichOneof(d protoreflect.Oneo // 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_QueryAllInfusionResponse) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_QueryAllPlanetAttributeRequest) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -17310,7 +28383,7 @@ func (x *fastReflection_QueryAllInfusionResponse) GetUnknown() protoreflect.RawF // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAllInfusionResponse) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_QueryAllPlanetAttributeRequest) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -17322,7 +28395,7 @@ func (x *fastReflection_QueryAllInfusionResponse) SetUnknown(fields protoreflect // 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_QueryAllInfusionResponse) IsValid() bool { +func (x *fastReflection_QueryAllPlanetAttributeRequest) IsValid() bool { return x != nil } @@ -17332,9 +28405,9 @@ func (x *fastReflection_QueryAllInfusionResponse) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_QueryAllInfusionResponse) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_QueryAllPlanetAttributeRequest) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*QueryAllInfusionResponse) + x := input.Message.Interface().(*QueryAllPlanetAttributeRequest) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -17346,23 +28419,10 @@ func (x *fastReflection_QueryAllInfusionResponse) ProtoMethods() *protoiface.Met var n int var l int _ = l - if len(x.Infusion) > 0 { - for _, e := range x.Infusion { - l = options.Size(e) - n += 1 + l + runtime.Sov(uint64(l)) - } - } if x.Pagination != nil { l = options.Size(x.Pagination) n += 1 + l + runtime.Sov(uint64(l)) } - if len(x.Status) > 0 { - l = 0 - for _, e := range x.Status { - l += runtime.Sov(uint64(e)) - } - n += 1 + runtime.Sov(uint64(l)) + l - } if x.unknownFields != nil { n += len(x.unknownFields) } @@ -17373,7 +28433,7 @@ func (x *fastReflection_QueryAllInfusionResponse) ProtoMethods() *protoiface.Met } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*QueryAllInfusionResponse) + x := input.Message.Interface().(*QueryAllPlanetAttributeRequest) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -17392,26 +28452,6 @@ func (x *fastReflection_QueryAllInfusionResponse) ProtoMethods() *protoiface.Met i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if len(x.Status) > 0 { - var pksize2 int - for _, num := range x.Status { - pksize2 += runtime.Sov(uint64(num)) - } - i -= pksize2 - j1 := i - for _, num := range x.Status { - for num >= 1<<7 { - dAtA[j1] = uint8(uint64(num)&0x7f | 0x80) - num >>= 7 - j1++ - } - dAtA[j1] = uint8(num) - j1++ - } - i = runtime.EncodeVarint(dAtA, i, uint64(pksize2)) - i-- - dAtA[i] = 0x1a - } if x.Pagination != nil { encoded, err := options.Marshal(x.Pagination) if err != nil { @@ -17424,23 +28464,7 @@ func (x *fastReflection_QueryAllInfusionResponse) ProtoMethods() *protoiface.Met copy(dAtA[i:], encoded) i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) i-- - dAtA[i] = 0x12 - } - if len(x.Infusion) > 0 { - for iNdEx := len(x.Infusion) - 1; iNdEx >= 0; iNdEx-- { - encoded, err := options.Marshal(x.Infusion[iNdEx]) - 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 - } + dAtA[i] = 0xa } if input.Buf != nil { input.Buf = append(input.Buf, dAtA...) @@ -17453,7 +28477,7 @@ func (x *fastReflection_QueryAllInfusionResponse) ProtoMethods() *protoiface.Met }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*QueryAllInfusionResponse) + x := input.Message.Interface().(*QueryAllPlanetAttributeRequest) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -17485,47 +28509,13 @@ func (x *fastReflection_QueryAllInfusionResponse) ProtoMethods() *protoiface.Met fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllInfusionResponse: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllPlanetAttributeRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllInfusionResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllPlanetAttributeRequest: 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 Infusion", 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 - } - x.Infusion = append(x.Infusion, &Infusion{}) - if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Infusion[len(x.Infusion)-1]); err != nil { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err - } - iNdEx = postIndex - case 2: if wireType != 2 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Pagination", wireType) } @@ -17555,88 +28545,12 @@ func (x *fastReflection_QueryAllInfusionResponse) ProtoMethods() *protoiface.Met return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } if x.Pagination == nil { - x.Pagination = &v1beta1.PageResponse{} + x.Pagination = &v1beta1.PageRequest{} } if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Pagination); err != nil { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err } iNdEx = postIndex - case 3: - if wireType == 0 { - var v 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++ - v |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - x.Status = append(x.Status, v) - } else if wireType == 2 { - var packedLen 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++ - packedLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if packedLen < 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength - } - postIndex := iNdEx + packedLen - 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 - } - var elementCount int - var count int - for _, integer := range dAtA[iNdEx:postIndex] { - if integer < 128 { - count++ - } - } - elementCount = count - if elementCount != 0 && len(x.Status) == 0 { - x.Status = make([]uint64, 0, elementCount) - } - for iNdEx < postIndex { - var v 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++ - v |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - x.Status = append(x.Status, v) - } - } else { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) - } default: iNdEx = preIndex skippy, err := runtime.Skip(dAtA[iNdEx:]) @@ -17672,27 +28586,80 @@ func (x *fastReflection_QueryAllInfusionResponse) ProtoMethods() *protoiface.Met } } +var _ protoreflect.List = (*_QueryAllPlanetAttributeResponse_1_list)(nil) + +type _QueryAllPlanetAttributeResponse_1_list struct { + list *[]*PlanetAttributeRecord +} + +func (x *_QueryAllPlanetAttributeResponse_1_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_QueryAllPlanetAttributeResponse_1_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_QueryAllPlanetAttributeResponse_1_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*PlanetAttributeRecord) + (*x.list)[i] = concreteValue +} + +func (x *_QueryAllPlanetAttributeResponse_1_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*PlanetAttributeRecord) + *x.list = append(*x.list, concreteValue) +} + +func (x *_QueryAllPlanetAttributeResponse_1_list) AppendMutable() protoreflect.Value { + v := new(PlanetAttributeRecord) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_QueryAllPlanetAttributeResponse_1_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_QueryAllPlanetAttributeResponse_1_list) NewElement() protoreflect.Value { + v := new(PlanetAttributeRecord) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_QueryAllPlanetAttributeResponse_1_list) IsValid() bool { + return x.list != nil +} + var ( - md_QueryGetPermissionRequest protoreflect.MessageDescriptor - fd_QueryGetPermissionRequest_permissionId protoreflect.FieldDescriptor + md_QueryAllPlanetAttributeResponse protoreflect.MessageDescriptor + fd_QueryAllPlanetAttributeResponse_planetAttributeRecords protoreflect.FieldDescriptor + fd_QueryAllPlanetAttributeResponse_pagination protoreflect.FieldDescriptor ) func init() { file_structs_structs_query_proto_init() - md_QueryGetPermissionRequest = File_structs_structs_query_proto.Messages().ByName("QueryGetPermissionRequest") - fd_QueryGetPermissionRequest_permissionId = md_QueryGetPermissionRequest.Fields().ByName("permissionId") + md_QueryAllPlanetAttributeResponse = File_structs_structs_query_proto.Messages().ByName("QueryAllPlanetAttributeResponse") + fd_QueryAllPlanetAttributeResponse_planetAttributeRecords = md_QueryAllPlanetAttributeResponse.Fields().ByName("planetAttributeRecords") + fd_QueryAllPlanetAttributeResponse_pagination = md_QueryAllPlanetAttributeResponse.Fields().ByName("pagination") } -var _ protoreflect.Message = (*fastReflection_QueryGetPermissionRequest)(nil) +var _ protoreflect.Message = (*fastReflection_QueryAllPlanetAttributeResponse)(nil) -type fastReflection_QueryGetPermissionRequest QueryGetPermissionRequest +type fastReflection_QueryAllPlanetAttributeResponse QueryAllPlanetAttributeResponse -func (x *QueryGetPermissionRequest) ProtoReflect() protoreflect.Message { - return (*fastReflection_QueryGetPermissionRequest)(x) +func (x *QueryAllPlanetAttributeResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_QueryAllPlanetAttributeResponse)(x) } -func (x *QueryGetPermissionRequest) slowProtoReflect() protoreflect.Message { - mi := &file_structs_structs_query_proto_msgTypes[37] +func (x *QueryAllPlanetAttributeResponse) slowProtoReflect() protoreflect.Message { + mi := &file_structs_structs_query_proto_msgTypes[60] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -17703,43 +28670,43 @@ func (x *QueryGetPermissionRequest) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_QueryGetPermissionRequest_messageType fastReflection_QueryGetPermissionRequest_messageType -var _ protoreflect.MessageType = fastReflection_QueryGetPermissionRequest_messageType{} +var _fastReflection_QueryAllPlanetAttributeResponse_messageType fastReflection_QueryAllPlanetAttributeResponse_messageType +var _ protoreflect.MessageType = fastReflection_QueryAllPlanetAttributeResponse_messageType{} -type fastReflection_QueryGetPermissionRequest_messageType struct{} +type fastReflection_QueryAllPlanetAttributeResponse_messageType struct{} -func (x fastReflection_QueryGetPermissionRequest_messageType) Zero() protoreflect.Message { - return (*fastReflection_QueryGetPermissionRequest)(nil) +func (x fastReflection_QueryAllPlanetAttributeResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_QueryAllPlanetAttributeResponse)(nil) } -func (x fastReflection_QueryGetPermissionRequest_messageType) New() protoreflect.Message { - return new(fastReflection_QueryGetPermissionRequest) +func (x fastReflection_QueryAllPlanetAttributeResponse_messageType) New() protoreflect.Message { + return new(fastReflection_QueryAllPlanetAttributeResponse) } -func (x fastReflection_QueryGetPermissionRequest_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_QueryGetPermissionRequest +func (x fastReflection_QueryAllPlanetAttributeResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_QueryAllPlanetAttributeResponse } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_QueryGetPermissionRequest) Descriptor() protoreflect.MessageDescriptor { - return md_QueryGetPermissionRequest +func (x *fastReflection_QueryAllPlanetAttributeResponse) Descriptor() protoreflect.MessageDescriptor { + return md_QueryAllPlanetAttributeResponse } // 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_QueryGetPermissionRequest) Type() protoreflect.MessageType { - return _fastReflection_QueryGetPermissionRequest_messageType +func (x *fastReflection_QueryAllPlanetAttributeResponse) Type() protoreflect.MessageType { + return _fastReflection_QueryAllPlanetAttributeResponse_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_QueryGetPermissionRequest) New() protoreflect.Message { - return new(fastReflection_QueryGetPermissionRequest) +func (x *fastReflection_QueryAllPlanetAttributeResponse) New() protoreflect.Message { + return new(fastReflection_QueryAllPlanetAttributeResponse) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_QueryGetPermissionRequest) Interface() protoreflect.ProtoMessage { - return (*QueryGetPermissionRequest)(x) +func (x *fastReflection_QueryAllPlanetAttributeResponse) Interface() protoreflect.ProtoMessage { + return (*QueryAllPlanetAttributeResponse)(x) } // Range iterates over every populated field in an undefined order, @@ -17747,10 +28714,16 @@ func (x *fastReflection_QueryGetPermissionRequest) Interface() protoreflect.Prot // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_QueryGetPermissionRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.PermissionId != "" { - value := protoreflect.ValueOfString(x.PermissionId) - if !f(fd_QueryGetPermissionRequest_permissionId, value) { +func (x *fastReflection_QueryAllPlanetAttributeResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if len(x.PlanetAttributeRecords) != 0 { + value := protoreflect.ValueOfList(&_QueryAllPlanetAttributeResponse_1_list{list: &x.PlanetAttributeRecords}) + if !f(fd_QueryAllPlanetAttributeResponse_planetAttributeRecords, value) { + return + } + } + if x.Pagination != nil { + value := protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) + if !f(fd_QueryAllPlanetAttributeResponse_pagination, value) { return } } @@ -17767,15 +28740,17 @@ func (x *fastReflection_QueryGetPermissionRequest) Range(f func(protoreflect.Fie // 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_QueryGetPermissionRequest) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_QueryAllPlanetAttributeResponse) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.QueryGetPermissionRequest.permissionId": - return x.PermissionId != "" + case "structs.structs.QueryAllPlanetAttributeResponse.planetAttributeRecords": + return len(x.PlanetAttributeRecords) != 0 + case "structs.structs.QueryAllPlanetAttributeResponse.pagination": + return x.Pagination != nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetPermissionRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPlanetAttributeResponse")) } - panic(fmt.Errorf("message structs.structs.QueryGetPermissionRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllPlanetAttributeResponse does not contain field %s", fd.FullName())) } } @@ -17785,15 +28760,17 @@ func (x *fastReflection_QueryGetPermissionRequest) Has(fd protoreflect.FieldDesc // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryGetPermissionRequest) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_QueryAllPlanetAttributeResponse) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.QueryGetPermissionRequest.permissionId": - x.PermissionId = "" + case "structs.structs.QueryAllPlanetAttributeResponse.planetAttributeRecords": + x.PlanetAttributeRecords = nil + case "structs.structs.QueryAllPlanetAttributeResponse.pagination": + x.Pagination = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetPermissionRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPlanetAttributeResponse")) } - panic(fmt.Errorf("message structs.structs.QueryGetPermissionRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllPlanetAttributeResponse does not contain field %s", fd.FullName())) } } @@ -17803,16 +28780,22 @@ func (x *fastReflection_QueryGetPermissionRequest) Clear(fd protoreflect.FieldDe // 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_QueryGetPermissionRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryAllPlanetAttributeResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.QueryGetPermissionRequest.permissionId": - value := x.PermissionId - return protoreflect.ValueOfString(value) + case "structs.structs.QueryAllPlanetAttributeResponse.planetAttributeRecords": + if len(x.PlanetAttributeRecords) == 0 { + return protoreflect.ValueOfList(&_QueryAllPlanetAttributeResponse_1_list{}) + } + listValue := &_QueryAllPlanetAttributeResponse_1_list{list: &x.PlanetAttributeRecords} + return protoreflect.ValueOfList(listValue) + case "structs.structs.QueryAllPlanetAttributeResponse.pagination": + value := x.Pagination + return protoreflect.ValueOfMessage(value.ProtoReflect()) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetPermissionRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPlanetAttributeResponse")) } - panic(fmt.Errorf("message structs.structs.QueryGetPermissionRequest does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllPlanetAttributeResponse does not contain field %s", descriptor.FullName())) } } @@ -17826,15 +28809,19 @@ func (x *fastReflection_QueryGetPermissionRequest) Get(descriptor protoreflect.F // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryGetPermissionRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_QueryAllPlanetAttributeResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.QueryGetPermissionRequest.permissionId": - x.PermissionId = value.Interface().(string) + case "structs.structs.QueryAllPlanetAttributeResponse.planetAttributeRecords": + lv := value.List() + clv := lv.(*_QueryAllPlanetAttributeResponse_1_list) + x.PlanetAttributeRecords = *clv.list + case "structs.structs.QueryAllPlanetAttributeResponse.pagination": + x.Pagination = value.Message().Interface().(*v1beta1.PageResponse) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetPermissionRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPlanetAttributeResponse")) } - panic(fmt.Errorf("message structs.structs.QueryGetPermissionRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllPlanetAttributeResponse does not contain field %s", fd.FullName())) } } @@ -17848,40 +28835,53 @@ func (x *fastReflection_QueryGetPermissionRequest) Set(fd protoreflect.FieldDesc // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryGetPermissionRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryAllPlanetAttributeResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.QueryGetPermissionRequest.permissionId": - panic(fmt.Errorf("field permissionId of message structs.structs.QueryGetPermissionRequest is not mutable")) + case "structs.structs.QueryAllPlanetAttributeResponse.planetAttributeRecords": + if x.PlanetAttributeRecords == nil { + x.PlanetAttributeRecords = []*PlanetAttributeRecord{} + } + value := &_QueryAllPlanetAttributeResponse_1_list{list: &x.PlanetAttributeRecords} + return protoreflect.ValueOfList(value) + case "structs.structs.QueryAllPlanetAttributeResponse.pagination": + if x.Pagination == nil { + x.Pagination = new(v1beta1.PageResponse) + } + return protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetPermissionRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPlanetAttributeResponse")) } - panic(fmt.Errorf("message structs.structs.QueryGetPermissionRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllPlanetAttributeResponse 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_QueryGetPermissionRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryAllPlanetAttributeResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.QueryGetPermissionRequest.permissionId": - return protoreflect.ValueOfString("") + case "structs.structs.QueryAllPlanetAttributeResponse.planetAttributeRecords": + list := []*PlanetAttributeRecord{} + return protoreflect.ValueOfList(&_QueryAllPlanetAttributeResponse_1_list{list: &list}) + case "structs.structs.QueryAllPlanetAttributeResponse.pagination": + m := new(v1beta1.PageResponse) + return protoreflect.ValueOfMessage(m.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetPermissionRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPlanetAttributeResponse")) } - panic(fmt.Errorf("message structs.structs.QueryGetPermissionRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllPlanetAttributeResponse 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_QueryGetPermissionRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_QueryAllPlanetAttributeResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryGetPermissionRequest", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryAllPlanetAttributeResponse", d.FullName())) } panic("unreachable") } @@ -17889,7 +28889,7 @@ func (x *fastReflection_QueryGetPermissionRequest) WhichOneof(d protoreflect.One // 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_QueryGetPermissionRequest) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_QueryAllPlanetAttributeResponse) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -17900,7 +28900,7 @@ func (x *fastReflection_QueryGetPermissionRequest) GetUnknown() protoreflect.Raw // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryGetPermissionRequest) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_QueryAllPlanetAttributeResponse) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -17912,7 +28912,7 @@ func (x *fastReflection_QueryGetPermissionRequest) SetUnknown(fields protoreflec // 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_QueryGetPermissionRequest) IsValid() bool { +func (x *fastReflection_QueryAllPlanetAttributeResponse) IsValid() bool { return x != nil } @@ -17922,9 +28922,9 @@ func (x *fastReflection_QueryGetPermissionRequest) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_QueryGetPermissionRequest) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_QueryAllPlanetAttributeResponse) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*QueryGetPermissionRequest) + x := input.Message.Interface().(*QueryAllPlanetAttributeResponse) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -17936,8 +28936,14 @@ func (x *fastReflection_QueryGetPermissionRequest) ProtoMethods() *protoiface.Me var n int var l int _ = l - l = len(x.PermissionId) - if l > 0 { + if len(x.PlanetAttributeRecords) > 0 { + for _, e := range x.PlanetAttributeRecords { + l = options.Size(e) + n += 1 + l + runtime.Sov(uint64(l)) + } + } + if x.Pagination != nil { + l = options.Size(x.Pagination) n += 1 + l + runtime.Sov(uint64(l)) } if x.unknownFields != nil { @@ -17950,7 +28956,7 @@ func (x *fastReflection_QueryGetPermissionRequest) ProtoMethods() *protoiface.Me } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*QueryGetPermissionRequest) + x := input.Message.Interface().(*QueryAllPlanetAttributeResponse) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -17969,12 +28975,35 @@ func (x *fastReflection_QueryGetPermissionRequest) ProtoMethods() *protoiface.Me i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if len(x.PermissionId) > 0 { - i -= len(x.PermissionId) - copy(dAtA[i:], x.PermissionId) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.PermissionId))) + if x.Pagination != nil { + encoded, err := options.Marshal(x.Pagination) + 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 + dAtA[i] = 0x12 + } + if len(x.PlanetAttributeRecords) > 0 { + for iNdEx := len(x.PlanetAttributeRecords) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.PlanetAttributeRecords[iNdEx]) + 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...) @@ -17987,7 +29016,7 @@ func (x *fastReflection_QueryGetPermissionRequest) ProtoMethods() *protoiface.Me }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*QueryGetPermissionRequest) + x := input.Message.Interface().(*QueryAllPlanetAttributeResponse) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -18019,17 +29048,17 @@ func (x *fastReflection_QueryGetPermissionRequest) ProtoMethods() *protoiface.Me fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryGetPermissionRequest: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllPlanetAttributeResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryGetPermissionRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllPlanetAttributeResponse: 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 PermissionId", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field PlanetAttributeRecords", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -18039,23 +29068,61 @@ func (x *fastReflection_QueryGetPermissionRequest) ProtoMethods() *protoiface.Me } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength } - postIndex := iNdEx + intStringLen + 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 + } + x.PlanetAttributeRecords = append(x.PlanetAttributeRecords, &PlanetAttributeRecord{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.PlanetAttributeRecords[len(x.PlanetAttributeRecords)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Pagination", 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 } - x.PermissionId = string(dAtA[iNdEx:postIndex]) + if x.Pagination == nil { + x.Pagination = &v1beta1.PageResponse{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Pagination); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } iNdEx = postIndex default: iNdEx = preIndex @@ -18093,28 +29160,26 @@ func (x *fastReflection_QueryGetPermissionRequest) ProtoMethods() *protoiface.Me } var ( - md_QueryAllPermissionByObjectRequest protoreflect.MessageDescriptor - fd_QueryAllPermissionByObjectRequest_objectId protoreflect.FieldDescriptor - fd_QueryAllPermissionByObjectRequest_pagination protoreflect.FieldDescriptor + md_QueryGetPlayerRequest protoreflect.MessageDescriptor + fd_QueryGetPlayerRequest_id protoreflect.FieldDescriptor ) func init() { file_structs_structs_query_proto_init() - md_QueryAllPermissionByObjectRequest = File_structs_structs_query_proto.Messages().ByName("QueryAllPermissionByObjectRequest") - fd_QueryAllPermissionByObjectRequest_objectId = md_QueryAllPermissionByObjectRequest.Fields().ByName("objectId") - fd_QueryAllPermissionByObjectRequest_pagination = md_QueryAllPermissionByObjectRequest.Fields().ByName("pagination") + md_QueryGetPlayerRequest = File_structs_structs_query_proto.Messages().ByName("QueryGetPlayerRequest") + fd_QueryGetPlayerRequest_id = md_QueryGetPlayerRequest.Fields().ByName("id") } -var _ protoreflect.Message = (*fastReflection_QueryAllPermissionByObjectRequest)(nil) +var _ protoreflect.Message = (*fastReflection_QueryGetPlayerRequest)(nil) -type fastReflection_QueryAllPermissionByObjectRequest QueryAllPermissionByObjectRequest +type fastReflection_QueryGetPlayerRequest QueryGetPlayerRequest -func (x *QueryAllPermissionByObjectRequest) ProtoReflect() protoreflect.Message { - return (*fastReflection_QueryAllPermissionByObjectRequest)(x) +func (x *QueryGetPlayerRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_QueryGetPlayerRequest)(x) } -func (x *QueryAllPermissionByObjectRequest) slowProtoReflect() protoreflect.Message { - mi := &file_structs_structs_query_proto_msgTypes[38] +func (x *QueryGetPlayerRequest) slowProtoReflect() protoreflect.Message { + mi := &file_structs_structs_query_proto_msgTypes[61] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -18125,43 +29190,43 @@ func (x *QueryAllPermissionByObjectRequest) slowProtoReflect() protoreflect.Mess return mi.MessageOf(x) } -var _fastReflection_QueryAllPermissionByObjectRequest_messageType fastReflection_QueryAllPermissionByObjectRequest_messageType -var _ protoreflect.MessageType = fastReflection_QueryAllPermissionByObjectRequest_messageType{} +var _fastReflection_QueryGetPlayerRequest_messageType fastReflection_QueryGetPlayerRequest_messageType +var _ protoreflect.MessageType = fastReflection_QueryGetPlayerRequest_messageType{} -type fastReflection_QueryAllPermissionByObjectRequest_messageType struct{} +type fastReflection_QueryGetPlayerRequest_messageType struct{} -func (x fastReflection_QueryAllPermissionByObjectRequest_messageType) Zero() protoreflect.Message { - return (*fastReflection_QueryAllPermissionByObjectRequest)(nil) +func (x fastReflection_QueryGetPlayerRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_QueryGetPlayerRequest)(nil) } -func (x fastReflection_QueryAllPermissionByObjectRequest_messageType) New() protoreflect.Message { - return new(fastReflection_QueryAllPermissionByObjectRequest) +func (x fastReflection_QueryGetPlayerRequest_messageType) New() protoreflect.Message { + return new(fastReflection_QueryGetPlayerRequest) } -func (x fastReflection_QueryAllPermissionByObjectRequest_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_QueryAllPermissionByObjectRequest +func (x fastReflection_QueryGetPlayerRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_QueryGetPlayerRequest } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_QueryAllPermissionByObjectRequest) Descriptor() protoreflect.MessageDescriptor { - return md_QueryAllPermissionByObjectRequest +func (x *fastReflection_QueryGetPlayerRequest) Descriptor() protoreflect.MessageDescriptor { + return md_QueryGetPlayerRequest } // 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_QueryAllPermissionByObjectRequest) Type() protoreflect.MessageType { - return _fastReflection_QueryAllPermissionByObjectRequest_messageType +func (x *fastReflection_QueryGetPlayerRequest) Type() protoreflect.MessageType { + return _fastReflection_QueryGetPlayerRequest_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_QueryAllPermissionByObjectRequest) New() protoreflect.Message { - return new(fastReflection_QueryAllPermissionByObjectRequest) +func (x *fastReflection_QueryGetPlayerRequest) New() protoreflect.Message { + return new(fastReflection_QueryGetPlayerRequest) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_QueryAllPermissionByObjectRequest) Interface() protoreflect.ProtoMessage { - return (*QueryAllPermissionByObjectRequest)(x) +func (x *fastReflection_QueryGetPlayerRequest) Interface() protoreflect.ProtoMessage { + return (*QueryGetPlayerRequest)(x) } // Range iterates over every populated field in an undefined order, @@ -18169,16 +29234,10 @@ func (x *fastReflection_QueryAllPermissionByObjectRequest) Interface() protorefl // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_QueryAllPermissionByObjectRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.ObjectId != "" { - value := protoreflect.ValueOfString(x.ObjectId) - if !f(fd_QueryAllPermissionByObjectRequest_objectId, value) { - return - } - } - if x.Pagination != nil { - value := protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) - if !f(fd_QueryAllPermissionByObjectRequest_pagination, value) { +func (x *fastReflection_QueryGetPlayerRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Id != "" { + value := protoreflect.ValueOfString(x.Id) + if !f(fd_QueryGetPlayerRequest_id, value) { return } } @@ -18195,17 +29254,15 @@ func (x *fastReflection_QueryAllPermissionByObjectRequest) Range(f func(protoref // 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_QueryAllPermissionByObjectRequest) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_QueryGetPlayerRequest) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.QueryAllPermissionByObjectRequest.objectId": - return x.ObjectId != "" - case "structs.structs.QueryAllPermissionByObjectRequest.pagination": - return x.Pagination != nil + case "structs.structs.QueryGetPlayerRequest.id": + return x.Id != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPermissionByObjectRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetPlayerRequest")) } - panic(fmt.Errorf("message structs.structs.QueryAllPermissionByObjectRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetPlayerRequest does not contain field %s", fd.FullName())) } } @@ -18215,17 +29272,15 @@ func (x *fastReflection_QueryAllPermissionByObjectRequest) Has(fd protoreflect.F // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAllPermissionByObjectRequest) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_QueryGetPlayerRequest) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.QueryAllPermissionByObjectRequest.objectId": - x.ObjectId = "" - case "structs.structs.QueryAllPermissionByObjectRequest.pagination": - x.Pagination = nil + case "structs.structs.QueryGetPlayerRequest.id": + x.Id = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPermissionByObjectRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetPlayerRequest")) } - panic(fmt.Errorf("message structs.structs.QueryAllPermissionByObjectRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetPlayerRequest does not contain field %s", fd.FullName())) } } @@ -18235,19 +29290,16 @@ func (x *fastReflection_QueryAllPermissionByObjectRequest) Clear(fd protoreflect // 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_QueryAllPermissionByObjectRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryGetPlayerRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.QueryAllPermissionByObjectRequest.objectId": - value := x.ObjectId + case "structs.structs.QueryGetPlayerRequest.id": + value := x.Id return protoreflect.ValueOfString(value) - case "structs.structs.QueryAllPermissionByObjectRequest.pagination": - value := x.Pagination - return protoreflect.ValueOfMessage(value.ProtoReflect()) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPermissionByObjectRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetPlayerRequest")) } - panic(fmt.Errorf("message structs.structs.QueryAllPermissionByObjectRequest does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetPlayerRequest does not contain field %s", descriptor.FullName())) } } @@ -18261,17 +29313,15 @@ func (x *fastReflection_QueryAllPermissionByObjectRequest) Get(descriptor protor // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAllPermissionByObjectRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_QueryGetPlayerRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.QueryAllPermissionByObjectRequest.objectId": - x.ObjectId = value.Interface().(string) - case "structs.structs.QueryAllPermissionByObjectRequest.pagination": - x.Pagination = value.Message().Interface().(*v1beta1.PageRequest) + case "structs.structs.QueryGetPlayerRequest.id": + x.Id = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPermissionByObjectRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetPlayerRequest")) } - panic(fmt.Errorf("message structs.structs.QueryAllPermissionByObjectRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetPlayerRequest does not contain field %s", fd.FullName())) } } @@ -18285,48 +29335,40 @@ func (x *fastReflection_QueryAllPermissionByObjectRequest) Set(fd protoreflect.F // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAllPermissionByObjectRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryGetPlayerRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.QueryAllPermissionByObjectRequest.pagination": - if x.Pagination == nil { - x.Pagination = new(v1beta1.PageRequest) - } - return protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) - case "structs.structs.QueryAllPermissionByObjectRequest.objectId": - panic(fmt.Errorf("field objectId of message structs.structs.QueryAllPermissionByObjectRequest is not mutable")) + case "structs.structs.QueryGetPlayerRequest.id": + panic(fmt.Errorf("field id of message structs.structs.QueryGetPlayerRequest is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPermissionByObjectRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetPlayerRequest")) } - panic(fmt.Errorf("message structs.structs.QueryAllPermissionByObjectRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetPlayerRequest 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_QueryAllPermissionByObjectRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryGetPlayerRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.QueryAllPermissionByObjectRequest.objectId": + case "structs.structs.QueryGetPlayerRequest.id": return protoreflect.ValueOfString("") - case "structs.structs.QueryAllPermissionByObjectRequest.pagination": - m := new(v1beta1.PageRequest) - return protoreflect.ValueOfMessage(m.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPermissionByObjectRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetPlayerRequest")) } - panic(fmt.Errorf("message structs.structs.QueryAllPermissionByObjectRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetPlayerRequest 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_QueryAllPermissionByObjectRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_QueryGetPlayerRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryAllPermissionByObjectRequest", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryGetPlayerRequest", d.FullName())) } panic("unreachable") } @@ -18334,7 +29376,7 @@ func (x *fastReflection_QueryAllPermissionByObjectRequest) WhichOneof(d protoref // 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_QueryAllPermissionByObjectRequest) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_QueryGetPlayerRequest) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -18345,7 +29387,7 @@ func (x *fastReflection_QueryAllPermissionByObjectRequest) GetUnknown() protoref // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAllPermissionByObjectRequest) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_QueryGetPlayerRequest) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -18357,7 +29399,7 @@ func (x *fastReflection_QueryAllPermissionByObjectRequest) SetUnknown(fields pro // 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_QueryAllPermissionByObjectRequest) IsValid() bool { +func (x *fastReflection_QueryGetPlayerRequest) IsValid() bool { return x != nil } @@ -18367,9 +29409,9 @@ func (x *fastReflection_QueryAllPermissionByObjectRequest) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_QueryAllPermissionByObjectRequest) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_QueryGetPlayerRequest) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*QueryAllPermissionByObjectRequest) + x := input.Message.Interface().(*QueryGetPlayerRequest) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -18381,14 +29423,10 @@ func (x *fastReflection_QueryAllPermissionByObjectRequest) ProtoMethods() *proto var n int var l int _ = l - l = len(x.ObjectId) + l = len(x.Id) if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } - if x.Pagination != nil { - l = options.Size(x.Pagination) - n += 1 + l + runtime.Sov(uint64(l)) - } if x.unknownFields != nil { n += len(x.unknownFields) } @@ -18399,7 +29437,7 @@ func (x *fastReflection_QueryAllPermissionByObjectRequest) ProtoMethods() *proto } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*QueryAllPermissionByObjectRequest) + x := input.Message.Interface().(*QueryGetPlayerRequest) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -18418,24 +29456,10 @@ func (x *fastReflection_QueryAllPermissionByObjectRequest) ProtoMethods() *proto i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if x.Pagination != nil { - encoded, err := options.Marshal(x.Pagination) - 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.ObjectId) > 0 { - i -= len(x.ObjectId) - copy(dAtA[i:], x.ObjectId) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.ObjectId))) + if len(x.Id) > 0 { + i -= len(x.Id) + copy(dAtA[i:], x.Id) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Id))) i-- dAtA[i] = 0xa } @@ -18450,7 +29474,7 @@ func (x *fastReflection_QueryAllPermissionByObjectRequest) ProtoMethods() *proto }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*QueryAllPermissionByObjectRequest) + x := input.Message.Interface().(*QueryGetPlayerRequest) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -18482,15 +29506,15 @@ func (x *fastReflection_QueryAllPermissionByObjectRequest) ProtoMethods() *proto fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllPermissionByObjectRequest: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryGetPlayerRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllPermissionByObjectRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryGetPlayerRequest: 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 ObjectId", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -18518,43 +29542,7 @@ func (x *fastReflection_QueryAllPermissionByObjectRequest) ProtoMethods() *proto if postIndex > l { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - x.ObjectId = 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 Pagination", 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.Pagination == nil { - x.Pagination = &v1beta1.PageRequest{} - } - if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Pagination); err != nil { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err - } + x.Id = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -18592,28 +29580,32 @@ func (x *fastReflection_QueryAllPermissionByObjectRequest) ProtoMethods() *proto } var ( - md_QueryAllPermissionByPlayerRequest protoreflect.MessageDescriptor - fd_QueryAllPermissionByPlayerRequest_playerId protoreflect.FieldDescriptor - fd_QueryAllPermissionByPlayerRequest_pagination protoreflect.FieldDescriptor + md_QueryGetPlayerResponse protoreflect.MessageDescriptor + fd_QueryGetPlayerResponse_Player protoreflect.FieldDescriptor + fd_QueryGetPlayerResponse_gridAttributes protoreflect.FieldDescriptor + fd_QueryGetPlayerResponse_playerInventory protoreflect.FieldDescriptor + fd_QueryGetPlayerResponse_halted protoreflect.FieldDescriptor ) func init() { file_structs_structs_query_proto_init() - md_QueryAllPermissionByPlayerRequest = File_structs_structs_query_proto.Messages().ByName("QueryAllPermissionByPlayerRequest") - fd_QueryAllPermissionByPlayerRequest_playerId = md_QueryAllPermissionByPlayerRequest.Fields().ByName("playerId") - fd_QueryAllPermissionByPlayerRequest_pagination = md_QueryAllPermissionByPlayerRequest.Fields().ByName("pagination") + md_QueryGetPlayerResponse = File_structs_structs_query_proto.Messages().ByName("QueryGetPlayerResponse") + fd_QueryGetPlayerResponse_Player = md_QueryGetPlayerResponse.Fields().ByName("Player") + fd_QueryGetPlayerResponse_gridAttributes = md_QueryGetPlayerResponse.Fields().ByName("gridAttributes") + fd_QueryGetPlayerResponse_playerInventory = md_QueryGetPlayerResponse.Fields().ByName("playerInventory") + fd_QueryGetPlayerResponse_halted = md_QueryGetPlayerResponse.Fields().ByName("halted") } -var _ protoreflect.Message = (*fastReflection_QueryAllPermissionByPlayerRequest)(nil) +var _ protoreflect.Message = (*fastReflection_QueryGetPlayerResponse)(nil) -type fastReflection_QueryAllPermissionByPlayerRequest QueryAllPermissionByPlayerRequest +type fastReflection_QueryGetPlayerResponse QueryGetPlayerResponse -func (x *QueryAllPermissionByPlayerRequest) ProtoReflect() protoreflect.Message { - return (*fastReflection_QueryAllPermissionByPlayerRequest)(x) +func (x *QueryGetPlayerResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_QueryGetPlayerResponse)(x) } -func (x *QueryAllPermissionByPlayerRequest) slowProtoReflect() protoreflect.Message { - mi := &file_structs_structs_query_proto_msgTypes[39] +func (x *QueryGetPlayerResponse) slowProtoReflect() protoreflect.Message { + mi := &file_structs_structs_query_proto_msgTypes[62] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -18624,43 +29616,43 @@ func (x *QueryAllPermissionByPlayerRequest) slowProtoReflect() protoreflect.Mess return mi.MessageOf(x) } -var _fastReflection_QueryAllPermissionByPlayerRequest_messageType fastReflection_QueryAllPermissionByPlayerRequest_messageType -var _ protoreflect.MessageType = fastReflection_QueryAllPermissionByPlayerRequest_messageType{} +var _fastReflection_QueryGetPlayerResponse_messageType fastReflection_QueryGetPlayerResponse_messageType +var _ protoreflect.MessageType = fastReflection_QueryGetPlayerResponse_messageType{} -type fastReflection_QueryAllPermissionByPlayerRequest_messageType struct{} +type fastReflection_QueryGetPlayerResponse_messageType struct{} -func (x fastReflection_QueryAllPermissionByPlayerRequest_messageType) Zero() protoreflect.Message { - return (*fastReflection_QueryAllPermissionByPlayerRequest)(nil) +func (x fastReflection_QueryGetPlayerResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_QueryGetPlayerResponse)(nil) } -func (x fastReflection_QueryAllPermissionByPlayerRequest_messageType) New() protoreflect.Message { - return new(fastReflection_QueryAllPermissionByPlayerRequest) +func (x fastReflection_QueryGetPlayerResponse_messageType) New() protoreflect.Message { + return new(fastReflection_QueryGetPlayerResponse) } -func (x fastReflection_QueryAllPermissionByPlayerRequest_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_QueryAllPermissionByPlayerRequest +func (x fastReflection_QueryGetPlayerResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_QueryGetPlayerResponse } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_QueryAllPermissionByPlayerRequest) Descriptor() protoreflect.MessageDescriptor { - return md_QueryAllPermissionByPlayerRequest +func (x *fastReflection_QueryGetPlayerResponse) Descriptor() protoreflect.MessageDescriptor { + return md_QueryGetPlayerResponse } // 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_QueryAllPermissionByPlayerRequest) Type() protoreflect.MessageType { - return _fastReflection_QueryAllPermissionByPlayerRequest_messageType +func (x *fastReflection_QueryGetPlayerResponse) Type() protoreflect.MessageType { + return _fastReflection_QueryGetPlayerResponse_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_QueryAllPermissionByPlayerRequest) New() protoreflect.Message { - return new(fastReflection_QueryAllPermissionByPlayerRequest) +func (x *fastReflection_QueryGetPlayerResponse) New() protoreflect.Message { + return new(fastReflection_QueryGetPlayerResponse) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_QueryAllPermissionByPlayerRequest) Interface() protoreflect.ProtoMessage { - return (*QueryAllPermissionByPlayerRequest)(x) +func (x *fastReflection_QueryGetPlayerResponse) Interface() protoreflect.ProtoMessage { + return (*QueryGetPlayerResponse)(x) } // Range iterates over every populated field in an undefined order, @@ -18668,16 +29660,28 @@ func (x *fastReflection_QueryAllPermissionByPlayerRequest) Interface() protorefl // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_QueryAllPermissionByPlayerRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.PlayerId != "" { - value := protoreflect.ValueOfString(x.PlayerId) - if !f(fd_QueryAllPermissionByPlayerRequest_playerId, value) { +func (x *fastReflection_QueryGetPlayerResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Player != nil { + value := protoreflect.ValueOfMessage(x.Player.ProtoReflect()) + if !f(fd_QueryGetPlayerResponse_Player, value) { return } } - if x.Pagination != nil { - value := protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) - if !f(fd_QueryAllPermissionByPlayerRequest_pagination, value) { + if x.GridAttributes != nil { + value := protoreflect.ValueOfMessage(x.GridAttributes.ProtoReflect()) + if !f(fd_QueryGetPlayerResponse_gridAttributes, value) { + return + } + } + if x.PlayerInventory != nil { + value := protoreflect.ValueOfMessage(x.PlayerInventory.ProtoReflect()) + if !f(fd_QueryGetPlayerResponse_playerInventory, value) { + return + } + } + if x.Halted != false { + value := protoreflect.ValueOfBool(x.Halted) + if !f(fd_QueryGetPlayerResponse_halted, value) { return } } @@ -18694,17 +29698,21 @@ func (x *fastReflection_QueryAllPermissionByPlayerRequest) Range(f func(protoref // 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_QueryAllPermissionByPlayerRequest) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_QueryGetPlayerResponse) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.QueryAllPermissionByPlayerRequest.playerId": - return x.PlayerId != "" - case "structs.structs.QueryAllPermissionByPlayerRequest.pagination": - return x.Pagination != nil + case "structs.structs.QueryGetPlayerResponse.Player": + return x.Player != nil + case "structs.structs.QueryGetPlayerResponse.gridAttributes": + return x.GridAttributes != nil + case "structs.structs.QueryGetPlayerResponse.playerInventory": + return x.PlayerInventory != nil + case "structs.structs.QueryGetPlayerResponse.halted": + return x.Halted != false default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPermissionByPlayerRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetPlayerResponse")) } - panic(fmt.Errorf("message structs.structs.QueryAllPermissionByPlayerRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetPlayerResponse does not contain field %s", fd.FullName())) } } @@ -18714,17 +29722,21 @@ func (x *fastReflection_QueryAllPermissionByPlayerRequest) Has(fd protoreflect.F // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAllPermissionByPlayerRequest) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_QueryGetPlayerResponse) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.QueryAllPermissionByPlayerRequest.playerId": - x.PlayerId = "" - case "structs.structs.QueryAllPermissionByPlayerRequest.pagination": - x.Pagination = nil + case "structs.structs.QueryGetPlayerResponse.Player": + x.Player = nil + case "structs.structs.QueryGetPlayerResponse.gridAttributes": + x.GridAttributes = nil + case "structs.structs.QueryGetPlayerResponse.playerInventory": + x.PlayerInventory = nil + case "structs.structs.QueryGetPlayerResponse.halted": + x.Halted = false default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPermissionByPlayerRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetPlayerResponse")) } - panic(fmt.Errorf("message structs.structs.QueryAllPermissionByPlayerRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetPlayerResponse does not contain field %s", fd.FullName())) } } @@ -18734,19 +29746,25 @@ func (x *fastReflection_QueryAllPermissionByPlayerRequest) Clear(fd protoreflect // 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_QueryAllPermissionByPlayerRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryGetPlayerResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.QueryAllPermissionByPlayerRequest.playerId": - value := x.PlayerId - return protoreflect.ValueOfString(value) - case "structs.structs.QueryAllPermissionByPlayerRequest.pagination": - value := x.Pagination + case "structs.structs.QueryGetPlayerResponse.Player": + value := x.Player + return protoreflect.ValueOfMessage(value.ProtoReflect()) + case "structs.structs.QueryGetPlayerResponse.gridAttributes": + value := x.GridAttributes + return protoreflect.ValueOfMessage(value.ProtoReflect()) + case "structs.structs.QueryGetPlayerResponse.playerInventory": + value := x.PlayerInventory return protoreflect.ValueOfMessage(value.ProtoReflect()) + case "structs.structs.QueryGetPlayerResponse.halted": + value := x.Halted + return protoreflect.ValueOfBool(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPermissionByPlayerRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetPlayerResponse")) } - panic(fmt.Errorf("message structs.structs.QueryAllPermissionByPlayerRequest does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetPlayerResponse does not contain field %s", descriptor.FullName())) } } @@ -18760,17 +29778,21 @@ func (x *fastReflection_QueryAllPermissionByPlayerRequest) Get(descriptor protor // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAllPermissionByPlayerRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_QueryGetPlayerResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.QueryAllPermissionByPlayerRequest.playerId": - x.PlayerId = value.Interface().(string) - case "structs.structs.QueryAllPermissionByPlayerRequest.pagination": - x.Pagination = value.Message().Interface().(*v1beta1.PageRequest) + case "structs.structs.QueryGetPlayerResponse.Player": + x.Player = value.Message().Interface().(*Player) + case "structs.structs.QueryGetPlayerResponse.gridAttributes": + x.GridAttributes = value.Message().Interface().(*GridAttributes) + case "structs.structs.QueryGetPlayerResponse.playerInventory": + x.PlayerInventory = value.Message().Interface().(*PlayerInventory) + case "structs.structs.QueryGetPlayerResponse.halted": + x.Halted = value.Bool() default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPermissionByPlayerRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetPlayerResponse")) } - panic(fmt.Errorf("message structs.structs.QueryAllPermissionByPlayerRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetPlayerResponse does not contain field %s", fd.FullName())) } } @@ -18784,48 +29806,64 @@ func (x *fastReflection_QueryAllPermissionByPlayerRequest) Set(fd protoreflect.F // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAllPermissionByPlayerRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryGetPlayerResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.QueryAllPermissionByPlayerRequest.pagination": - if x.Pagination == nil { - x.Pagination = new(v1beta1.PageRequest) + case "structs.structs.QueryGetPlayerResponse.Player": + if x.Player == nil { + x.Player = new(Player) } - return protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) - case "structs.structs.QueryAllPermissionByPlayerRequest.playerId": - panic(fmt.Errorf("field playerId of message structs.structs.QueryAllPermissionByPlayerRequest is not mutable")) + return protoreflect.ValueOfMessage(x.Player.ProtoReflect()) + case "structs.structs.QueryGetPlayerResponse.gridAttributes": + if x.GridAttributes == nil { + x.GridAttributes = new(GridAttributes) + } + return protoreflect.ValueOfMessage(x.GridAttributes.ProtoReflect()) + case "structs.structs.QueryGetPlayerResponse.playerInventory": + if x.PlayerInventory == nil { + x.PlayerInventory = new(PlayerInventory) + } + return protoreflect.ValueOfMessage(x.PlayerInventory.ProtoReflect()) + case "structs.structs.QueryGetPlayerResponse.halted": + panic(fmt.Errorf("field halted of message structs.structs.QueryGetPlayerResponse is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPermissionByPlayerRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetPlayerResponse")) } - panic(fmt.Errorf("message structs.structs.QueryAllPermissionByPlayerRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetPlayerResponse 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_QueryAllPermissionByPlayerRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryGetPlayerResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.QueryAllPermissionByPlayerRequest.playerId": - return protoreflect.ValueOfString("") - case "structs.structs.QueryAllPermissionByPlayerRequest.pagination": - m := new(v1beta1.PageRequest) + case "structs.structs.QueryGetPlayerResponse.Player": + m := new(Player) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + case "structs.structs.QueryGetPlayerResponse.gridAttributes": + m := new(GridAttributes) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + case "structs.structs.QueryGetPlayerResponse.playerInventory": + m := new(PlayerInventory) return protoreflect.ValueOfMessage(m.ProtoReflect()) + case "structs.structs.QueryGetPlayerResponse.halted": + return protoreflect.ValueOfBool(false) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPermissionByPlayerRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetPlayerResponse")) } - panic(fmt.Errorf("message structs.structs.QueryAllPermissionByPlayerRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetPlayerResponse 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_QueryAllPermissionByPlayerRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_QueryGetPlayerResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryAllPermissionByPlayerRequest", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryGetPlayerResponse", d.FullName())) } panic("unreachable") } @@ -18833,7 +29871,7 @@ func (x *fastReflection_QueryAllPermissionByPlayerRequest) WhichOneof(d protoref // 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_QueryAllPermissionByPlayerRequest) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_QueryGetPlayerResponse) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -18844,7 +29882,7 @@ func (x *fastReflection_QueryAllPermissionByPlayerRequest) GetUnknown() protoref // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAllPermissionByPlayerRequest) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_QueryGetPlayerResponse) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -18856,7 +29894,7 @@ func (x *fastReflection_QueryAllPermissionByPlayerRequest) SetUnknown(fields pro // 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_QueryAllPermissionByPlayerRequest) IsValid() bool { +func (x *fastReflection_QueryGetPlayerResponse) IsValid() bool { return x != nil } @@ -18866,9 +29904,9 @@ func (x *fastReflection_QueryAllPermissionByPlayerRequest) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_QueryAllPermissionByPlayerRequest) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_QueryGetPlayerResponse) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*QueryAllPermissionByPlayerRequest) + x := input.Message.Interface().(*QueryGetPlayerResponse) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -18880,14 +29918,21 @@ func (x *fastReflection_QueryAllPermissionByPlayerRequest) ProtoMethods() *proto var n int var l int _ = l - l = len(x.PlayerId) - if l > 0 { + if x.Player != nil { + l = options.Size(x.Player) n += 1 + l + runtime.Sov(uint64(l)) } - if x.Pagination != nil { - l = options.Size(x.Pagination) + if x.GridAttributes != nil { + l = options.Size(x.GridAttributes) + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.PlayerInventory != nil { + l = options.Size(x.PlayerInventory) n += 1 + l + runtime.Sov(uint64(l)) } + if x.Halted { + n += 2 + } if x.unknownFields != nil { n += len(x.unknownFields) } @@ -18898,7 +29943,7 @@ func (x *fastReflection_QueryAllPermissionByPlayerRequest) ProtoMethods() *proto } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*QueryAllPermissionByPlayerRequest) + x := input.Message.Interface().(*QueryGetPlayerResponse) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -18917,8 +29962,32 @@ func (x *fastReflection_QueryAllPermissionByPlayerRequest) ProtoMethods() *proto i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if x.Pagination != nil { - encoded, err := options.Marshal(x.Pagination) + if x.Halted { + i-- + if x.Halted { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x20 + } + if x.PlayerInventory != nil { + encoded, err := options.Marshal(x.PlayerInventory) + 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] = 0x1a + } + if x.GridAttributes != nil { + encoded, err := options.Marshal(x.GridAttributes) if err != nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -18931,10 +30000,17 @@ func (x *fastReflection_QueryAllPermissionByPlayerRequest) ProtoMethods() *proto i-- dAtA[i] = 0x12 } - if len(x.PlayerId) > 0 { - i -= len(x.PlayerId) - copy(dAtA[i:], x.PlayerId) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.PlayerId))) + if x.Player != nil { + encoded, err := options.Marshal(x.Player) + 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 } @@ -18949,7 +30025,7 @@ func (x *fastReflection_QueryAllPermissionByPlayerRequest) ProtoMethods() *proto }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*QueryAllPermissionByPlayerRequest) + x := input.Message.Interface().(*QueryGetPlayerResponse) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -18981,17 +30057,17 @@ func (x *fastReflection_QueryAllPermissionByPlayerRequest) ProtoMethods() *proto fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllPermissionByPlayerRequest: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryGetPlayerResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllPermissionByPlayerRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryGetPlayerResponse: 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 PlayerId", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Player", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -19001,27 +30077,31 @@ func (x *fastReflection_QueryAllPermissionByPlayerRequest) ProtoMethods() *proto } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength } - postIndex := iNdEx + intStringLen + 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 } - x.PlayerId = string(dAtA[iNdEx:postIndex]) + if x.Player == nil { + x.Player = &Player{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Player); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } iNdEx = postIndex case 2: if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Pagination", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field GridAttributes", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -19048,13 +30128,69 @@ func (x *fastReflection_QueryAllPermissionByPlayerRequest) ProtoMethods() *proto if postIndex > l { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - if x.Pagination == nil { - x.Pagination = &v1beta1.PageRequest{} + if x.GridAttributes == nil { + x.GridAttributes = &GridAttributes{} } - if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Pagination); err != nil { + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.GridAttributes); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field PlayerInventory", 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.PlayerInventory == nil { + x.PlayerInventory = &PlayerInventory{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.PlayerInventory); err != nil { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err } iNdEx = postIndex + case 4: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Halted", wireType) + } + var v 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++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.Halted = bool(v != 0) default: iNdEx = preIndex skippy, err := runtime.Skip(dAtA[iNdEx:]) @@ -19091,26 +30227,26 @@ func (x *fastReflection_QueryAllPermissionByPlayerRequest) ProtoMethods() *proto } var ( - md_QueryAllPermissionRequest protoreflect.MessageDescriptor - fd_QueryAllPermissionRequest_pagination protoreflect.FieldDescriptor + md_QueryAllPlayerRequest protoreflect.MessageDescriptor + fd_QueryAllPlayerRequest_pagination protoreflect.FieldDescriptor ) func init() { file_structs_structs_query_proto_init() - md_QueryAllPermissionRequest = File_structs_structs_query_proto.Messages().ByName("QueryAllPermissionRequest") - fd_QueryAllPermissionRequest_pagination = md_QueryAllPermissionRequest.Fields().ByName("pagination") + md_QueryAllPlayerRequest = File_structs_structs_query_proto.Messages().ByName("QueryAllPlayerRequest") + fd_QueryAllPlayerRequest_pagination = md_QueryAllPlayerRequest.Fields().ByName("pagination") } -var _ protoreflect.Message = (*fastReflection_QueryAllPermissionRequest)(nil) +var _ protoreflect.Message = (*fastReflection_QueryAllPlayerRequest)(nil) -type fastReflection_QueryAllPermissionRequest QueryAllPermissionRequest +type fastReflection_QueryAllPlayerRequest QueryAllPlayerRequest -func (x *QueryAllPermissionRequest) ProtoReflect() protoreflect.Message { - return (*fastReflection_QueryAllPermissionRequest)(x) +func (x *QueryAllPlayerRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_QueryAllPlayerRequest)(x) } -func (x *QueryAllPermissionRequest) slowProtoReflect() protoreflect.Message { - mi := &file_structs_structs_query_proto_msgTypes[40] +func (x *QueryAllPlayerRequest) slowProtoReflect() protoreflect.Message { + mi := &file_structs_structs_query_proto_msgTypes[63] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -19121,43 +30257,43 @@ func (x *QueryAllPermissionRequest) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_QueryAllPermissionRequest_messageType fastReflection_QueryAllPermissionRequest_messageType -var _ protoreflect.MessageType = fastReflection_QueryAllPermissionRequest_messageType{} +var _fastReflection_QueryAllPlayerRequest_messageType fastReflection_QueryAllPlayerRequest_messageType +var _ protoreflect.MessageType = fastReflection_QueryAllPlayerRequest_messageType{} -type fastReflection_QueryAllPermissionRequest_messageType struct{} +type fastReflection_QueryAllPlayerRequest_messageType struct{} -func (x fastReflection_QueryAllPermissionRequest_messageType) Zero() protoreflect.Message { - return (*fastReflection_QueryAllPermissionRequest)(nil) +func (x fastReflection_QueryAllPlayerRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_QueryAllPlayerRequest)(nil) } -func (x fastReflection_QueryAllPermissionRequest_messageType) New() protoreflect.Message { - return new(fastReflection_QueryAllPermissionRequest) +func (x fastReflection_QueryAllPlayerRequest_messageType) New() protoreflect.Message { + return new(fastReflection_QueryAllPlayerRequest) } -func (x fastReflection_QueryAllPermissionRequest_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_QueryAllPermissionRequest +func (x fastReflection_QueryAllPlayerRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_QueryAllPlayerRequest } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_QueryAllPermissionRequest) Descriptor() protoreflect.MessageDescriptor { - return md_QueryAllPermissionRequest +func (x *fastReflection_QueryAllPlayerRequest) Descriptor() protoreflect.MessageDescriptor { + return md_QueryAllPlayerRequest } // 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_QueryAllPermissionRequest) Type() protoreflect.MessageType { - return _fastReflection_QueryAllPermissionRequest_messageType +func (x *fastReflection_QueryAllPlayerRequest) Type() protoreflect.MessageType { + return _fastReflection_QueryAllPlayerRequest_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_QueryAllPermissionRequest) New() protoreflect.Message { - return new(fastReflection_QueryAllPermissionRequest) +func (x *fastReflection_QueryAllPlayerRequest) New() protoreflect.Message { + return new(fastReflection_QueryAllPlayerRequest) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_QueryAllPermissionRequest) Interface() protoreflect.ProtoMessage { - return (*QueryAllPermissionRequest)(x) +func (x *fastReflection_QueryAllPlayerRequest) Interface() protoreflect.ProtoMessage { + return (*QueryAllPlayerRequest)(x) } // Range iterates over every populated field in an undefined order, @@ -19165,10 +30301,10 @@ func (x *fastReflection_QueryAllPermissionRequest) Interface() protoreflect.Prot // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_QueryAllPermissionRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +func (x *fastReflection_QueryAllPlayerRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { if x.Pagination != nil { value := protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) - if !f(fd_QueryAllPermissionRequest_pagination, value) { + if !f(fd_QueryAllPlayerRequest_pagination, value) { return } } @@ -19185,15 +30321,15 @@ func (x *fastReflection_QueryAllPermissionRequest) Range(f func(protoreflect.Fie // 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_QueryAllPermissionRequest) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_QueryAllPlayerRequest) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.QueryAllPermissionRequest.pagination": + case "structs.structs.QueryAllPlayerRequest.pagination": return x.Pagination != nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPermissionRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPlayerRequest")) } - panic(fmt.Errorf("message structs.structs.QueryAllPermissionRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllPlayerRequest does not contain field %s", fd.FullName())) } } @@ -19203,15 +30339,15 @@ func (x *fastReflection_QueryAllPermissionRequest) Has(fd protoreflect.FieldDesc // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAllPermissionRequest) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_QueryAllPlayerRequest) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.QueryAllPermissionRequest.pagination": + case "structs.structs.QueryAllPlayerRequest.pagination": x.Pagination = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPermissionRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPlayerRequest")) } - panic(fmt.Errorf("message structs.structs.QueryAllPermissionRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllPlayerRequest does not contain field %s", fd.FullName())) } } @@ -19221,16 +30357,16 @@ func (x *fastReflection_QueryAllPermissionRequest) Clear(fd protoreflect.FieldDe // 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_QueryAllPermissionRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryAllPlayerRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.QueryAllPermissionRequest.pagination": + case "structs.structs.QueryAllPlayerRequest.pagination": value := x.Pagination return protoreflect.ValueOfMessage(value.ProtoReflect()) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPermissionRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPlayerRequest")) } - panic(fmt.Errorf("message structs.structs.QueryAllPermissionRequest does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllPlayerRequest does not contain field %s", descriptor.FullName())) } } @@ -19244,15 +30380,15 @@ func (x *fastReflection_QueryAllPermissionRequest) Get(descriptor protoreflect.F // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAllPermissionRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_QueryAllPlayerRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.QueryAllPermissionRequest.pagination": + case "structs.structs.QueryAllPlayerRequest.pagination": x.Pagination = value.Message().Interface().(*v1beta1.PageRequest) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPermissionRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPlayerRequest")) } - panic(fmt.Errorf("message structs.structs.QueryAllPermissionRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllPlayerRequest does not contain field %s", fd.FullName())) } } @@ -19266,44 +30402,44 @@ func (x *fastReflection_QueryAllPermissionRequest) Set(fd protoreflect.FieldDesc // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAllPermissionRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryAllPlayerRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.QueryAllPermissionRequest.pagination": + case "structs.structs.QueryAllPlayerRequest.pagination": if x.Pagination == nil { x.Pagination = new(v1beta1.PageRequest) } return protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPermissionRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPlayerRequest")) } - panic(fmt.Errorf("message structs.structs.QueryAllPermissionRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllPlayerRequest 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_QueryAllPermissionRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryAllPlayerRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.QueryAllPermissionRequest.pagination": + case "structs.structs.QueryAllPlayerRequest.pagination": m := new(v1beta1.PageRequest) return protoreflect.ValueOfMessage(m.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPermissionRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPlayerRequest")) } - panic(fmt.Errorf("message structs.structs.QueryAllPermissionRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllPlayerRequest 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_QueryAllPermissionRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_QueryAllPlayerRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryAllPermissionRequest", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryAllPlayerRequest", d.FullName())) } panic("unreachable") } @@ -19311,7 +30447,7 @@ func (x *fastReflection_QueryAllPermissionRequest) WhichOneof(d protoreflect.One // 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_QueryAllPermissionRequest) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_QueryAllPlayerRequest) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -19322,7 +30458,7 @@ func (x *fastReflection_QueryAllPermissionRequest) GetUnknown() protoreflect.Raw // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAllPermissionRequest) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_QueryAllPlayerRequest) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -19334,7 +30470,7 @@ func (x *fastReflection_QueryAllPermissionRequest) SetUnknown(fields protoreflec // 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_QueryAllPermissionRequest) IsValid() bool { +func (x *fastReflection_QueryAllPlayerRequest) IsValid() bool { return x != nil } @@ -19344,9 +30480,9 @@ func (x *fastReflection_QueryAllPermissionRequest) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_QueryAllPermissionRequest) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_QueryAllPlayerRequest) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*QueryAllPermissionRequest) + x := input.Message.Interface().(*QueryAllPlayerRequest) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -19372,7 +30508,7 @@ func (x *fastReflection_QueryAllPermissionRequest) ProtoMethods() *protoiface.Me } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*QueryAllPermissionRequest) + x := input.Message.Interface().(*QueryAllPlayerRequest) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -19416,7 +30552,7 @@ func (x *fastReflection_QueryAllPermissionRequest) ProtoMethods() *protoiface.Me }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*QueryAllPermissionRequest) + x := input.Message.Interface().(*QueryAllPlayerRequest) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -19448,10 +30584,10 @@ func (x *fastReflection_QueryAllPermissionRequest) ProtoMethods() *protoiface.Me fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllPermissionRequest: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllPlayerRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllPermissionRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllPlayerRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -19525,27 +30661,80 @@ func (x *fastReflection_QueryAllPermissionRequest) ProtoMethods() *protoiface.Me } } +var _ protoreflect.List = (*_QueryAllPlayerResponse_1_list)(nil) + +type _QueryAllPlayerResponse_1_list struct { + list *[]*Player +} + +func (x *_QueryAllPlayerResponse_1_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_QueryAllPlayerResponse_1_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_QueryAllPlayerResponse_1_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*Player) + (*x.list)[i] = concreteValue +} + +func (x *_QueryAllPlayerResponse_1_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*Player) + *x.list = append(*x.list, concreteValue) +} + +func (x *_QueryAllPlayerResponse_1_list) AppendMutable() protoreflect.Value { + v := new(Player) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_QueryAllPlayerResponse_1_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_QueryAllPlayerResponse_1_list) NewElement() protoreflect.Value { + v := new(Player) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_QueryAllPlayerResponse_1_list) IsValid() bool { + return x.list != nil +} + var ( - md_QueryGetPermissionResponse protoreflect.MessageDescriptor - fd_QueryGetPermissionResponse_permissionRecord protoreflect.FieldDescriptor + md_QueryAllPlayerResponse protoreflect.MessageDescriptor + fd_QueryAllPlayerResponse_Player protoreflect.FieldDescriptor + fd_QueryAllPlayerResponse_pagination protoreflect.FieldDescriptor ) func init() { file_structs_structs_query_proto_init() - md_QueryGetPermissionResponse = File_structs_structs_query_proto.Messages().ByName("QueryGetPermissionResponse") - fd_QueryGetPermissionResponse_permissionRecord = md_QueryGetPermissionResponse.Fields().ByName("permissionRecord") + md_QueryAllPlayerResponse = File_structs_structs_query_proto.Messages().ByName("QueryAllPlayerResponse") + fd_QueryAllPlayerResponse_Player = md_QueryAllPlayerResponse.Fields().ByName("Player") + fd_QueryAllPlayerResponse_pagination = md_QueryAllPlayerResponse.Fields().ByName("pagination") } -var _ protoreflect.Message = (*fastReflection_QueryGetPermissionResponse)(nil) +var _ protoreflect.Message = (*fastReflection_QueryAllPlayerResponse)(nil) -type fastReflection_QueryGetPermissionResponse QueryGetPermissionResponse +type fastReflection_QueryAllPlayerResponse QueryAllPlayerResponse -func (x *QueryGetPermissionResponse) ProtoReflect() protoreflect.Message { - return (*fastReflection_QueryGetPermissionResponse)(x) +func (x *QueryAllPlayerResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_QueryAllPlayerResponse)(x) } -func (x *QueryGetPermissionResponse) slowProtoReflect() protoreflect.Message { - mi := &file_structs_structs_query_proto_msgTypes[41] +func (x *QueryAllPlayerResponse) slowProtoReflect() protoreflect.Message { + mi := &file_structs_structs_query_proto_msgTypes[64] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -19556,43 +30745,43 @@ func (x *QueryGetPermissionResponse) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_QueryGetPermissionResponse_messageType fastReflection_QueryGetPermissionResponse_messageType -var _ protoreflect.MessageType = fastReflection_QueryGetPermissionResponse_messageType{} +var _fastReflection_QueryAllPlayerResponse_messageType fastReflection_QueryAllPlayerResponse_messageType +var _ protoreflect.MessageType = fastReflection_QueryAllPlayerResponse_messageType{} -type fastReflection_QueryGetPermissionResponse_messageType struct{} +type fastReflection_QueryAllPlayerResponse_messageType struct{} -func (x fastReflection_QueryGetPermissionResponse_messageType) Zero() protoreflect.Message { - return (*fastReflection_QueryGetPermissionResponse)(nil) +func (x fastReflection_QueryAllPlayerResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_QueryAllPlayerResponse)(nil) } -func (x fastReflection_QueryGetPermissionResponse_messageType) New() protoreflect.Message { - return new(fastReflection_QueryGetPermissionResponse) +func (x fastReflection_QueryAllPlayerResponse_messageType) New() protoreflect.Message { + return new(fastReflection_QueryAllPlayerResponse) } -func (x fastReflection_QueryGetPermissionResponse_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_QueryGetPermissionResponse +func (x fastReflection_QueryAllPlayerResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_QueryAllPlayerResponse } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_QueryGetPermissionResponse) Descriptor() protoreflect.MessageDescriptor { - return md_QueryGetPermissionResponse +func (x *fastReflection_QueryAllPlayerResponse) Descriptor() protoreflect.MessageDescriptor { + return md_QueryAllPlayerResponse } // 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_QueryGetPermissionResponse) Type() protoreflect.MessageType { - return _fastReflection_QueryGetPermissionResponse_messageType +func (x *fastReflection_QueryAllPlayerResponse) Type() protoreflect.MessageType { + return _fastReflection_QueryAllPlayerResponse_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_QueryGetPermissionResponse) New() protoreflect.Message { - return new(fastReflection_QueryGetPermissionResponse) +func (x *fastReflection_QueryAllPlayerResponse) New() protoreflect.Message { + return new(fastReflection_QueryAllPlayerResponse) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_QueryGetPermissionResponse) Interface() protoreflect.ProtoMessage { - return (*QueryGetPermissionResponse)(x) +func (x *fastReflection_QueryAllPlayerResponse) Interface() protoreflect.ProtoMessage { + return (*QueryAllPlayerResponse)(x) } // Range iterates over every populated field in an undefined order, @@ -19600,10 +30789,16 @@ func (x *fastReflection_QueryGetPermissionResponse) Interface() protoreflect.Pro // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_QueryGetPermissionResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.PermissionRecord != nil { - value := protoreflect.ValueOfMessage(x.PermissionRecord.ProtoReflect()) - if !f(fd_QueryGetPermissionResponse_permissionRecord, value) { +func (x *fastReflection_QueryAllPlayerResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if len(x.Player) != 0 { + value := protoreflect.ValueOfList(&_QueryAllPlayerResponse_1_list{list: &x.Player}) + if !f(fd_QueryAllPlayerResponse_Player, value) { + return + } + } + if x.Pagination != nil { + value := protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) + if !f(fd_QueryAllPlayerResponse_pagination, value) { return } } @@ -19620,15 +30815,17 @@ func (x *fastReflection_QueryGetPermissionResponse) Range(f func(protoreflect.Fi // 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_QueryGetPermissionResponse) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_QueryAllPlayerResponse) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.QueryGetPermissionResponse.permissionRecord": - return x.PermissionRecord != nil + case "structs.structs.QueryAllPlayerResponse.Player": + return len(x.Player) != 0 + case "structs.structs.QueryAllPlayerResponse.pagination": + return x.Pagination != nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetPermissionResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPlayerResponse")) } - panic(fmt.Errorf("message structs.structs.QueryGetPermissionResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllPlayerResponse does not contain field %s", fd.FullName())) } } @@ -19638,15 +30835,17 @@ func (x *fastReflection_QueryGetPermissionResponse) Has(fd protoreflect.FieldDes // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryGetPermissionResponse) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_QueryAllPlayerResponse) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.QueryGetPermissionResponse.permissionRecord": - x.PermissionRecord = nil + case "structs.structs.QueryAllPlayerResponse.Player": + x.Player = nil + case "structs.structs.QueryAllPlayerResponse.pagination": + x.Pagination = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetPermissionResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPlayerResponse")) } - panic(fmt.Errorf("message structs.structs.QueryGetPermissionResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllPlayerResponse does not contain field %s", fd.FullName())) } } @@ -19656,16 +30855,22 @@ func (x *fastReflection_QueryGetPermissionResponse) Clear(fd protoreflect.FieldD // 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_QueryGetPermissionResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryAllPlayerResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.QueryGetPermissionResponse.permissionRecord": - value := x.PermissionRecord + case "structs.structs.QueryAllPlayerResponse.Player": + if len(x.Player) == 0 { + return protoreflect.ValueOfList(&_QueryAllPlayerResponse_1_list{}) + } + listValue := &_QueryAllPlayerResponse_1_list{list: &x.Player} + return protoreflect.ValueOfList(listValue) + case "structs.structs.QueryAllPlayerResponse.pagination": + value := x.Pagination return protoreflect.ValueOfMessage(value.ProtoReflect()) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetPermissionResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPlayerResponse")) } - panic(fmt.Errorf("message structs.structs.QueryGetPermissionResponse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllPlayerResponse does not contain field %s", descriptor.FullName())) } } @@ -19679,15 +30884,19 @@ func (x *fastReflection_QueryGetPermissionResponse) Get(descriptor protoreflect. // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryGetPermissionResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_QueryAllPlayerResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.QueryGetPermissionResponse.permissionRecord": - x.PermissionRecord = value.Message().Interface().(*PermissionRecord) + case "structs.structs.QueryAllPlayerResponse.Player": + lv := value.List() + clv := lv.(*_QueryAllPlayerResponse_1_list) + x.Player = *clv.list + case "structs.structs.QueryAllPlayerResponse.pagination": + x.Pagination = value.Message().Interface().(*v1beta1.PageResponse) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetPermissionResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPlayerResponse")) } - panic(fmt.Errorf("message structs.structs.QueryGetPermissionResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllPlayerResponse does not contain field %s", fd.FullName())) } } @@ -19701,44 +30910,53 @@ func (x *fastReflection_QueryGetPermissionResponse) Set(fd protoreflect.FieldDes // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryGetPermissionResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryAllPlayerResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.QueryGetPermissionResponse.permissionRecord": - if x.PermissionRecord == nil { - x.PermissionRecord = new(PermissionRecord) + case "structs.structs.QueryAllPlayerResponse.Player": + if x.Player == nil { + x.Player = []*Player{} } - return protoreflect.ValueOfMessage(x.PermissionRecord.ProtoReflect()) + value := &_QueryAllPlayerResponse_1_list{list: &x.Player} + return protoreflect.ValueOfList(value) + case "structs.structs.QueryAllPlayerResponse.pagination": + if x.Pagination == nil { + x.Pagination = new(v1beta1.PageResponse) + } + return protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetPermissionResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPlayerResponse")) } - panic(fmt.Errorf("message structs.structs.QueryGetPermissionResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllPlayerResponse 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_QueryGetPermissionResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryAllPlayerResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.QueryGetPermissionResponse.permissionRecord": - m := new(PermissionRecord) + case "structs.structs.QueryAllPlayerResponse.Player": + list := []*Player{} + return protoreflect.ValueOfList(&_QueryAllPlayerResponse_1_list{list: &list}) + case "structs.structs.QueryAllPlayerResponse.pagination": + m := new(v1beta1.PageResponse) return protoreflect.ValueOfMessage(m.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetPermissionResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPlayerResponse")) } - panic(fmt.Errorf("message structs.structs.QueryGetPermissionResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllPlayerResponse 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_QueryGetPermissionResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_QueryAllPlayerResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryGetPermissionResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryAllPlayerResponse", d.FullName())) } panic("unreachable") } @@ -19746,7 +30964,7 @@ func (x *fastReflection_QueryGetPermissionResponse) WhichOneof(d protoreflect.On // 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_QueryGetPermissionResponse) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_QueryAllPlayerResponse) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -19757,7 +30975,7 @@ func (x *fastReflection_QueryGetPermissionResponse) GetUnknown() protoreflect.Ra // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryGetPermissionResponse) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_QueryAllPlayerResponse) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -19769,7 +30987,7 @@ func (x *fastReflection_QueryGetPermissionResponse) SetUnknown(fields protorefle // 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_QueryGetPermissionResponse) IsValid() bool { +func (x *fastReflection_QueryAllPlayerResponse) IsValid() bool { return x != nil } @@ -19779,9 +30997,9 @@ func (x *fastReflection_QueryGetPermissionResponse) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_QueryGetPermissionResponse) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_QueryAllPlayerResponse) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*QueryGetPermissionResponse) + x := input.Message.Interface().(*QueryAllPlayerResponse) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -19793,8 +31011,14 @@ func (x *fastReflection_QueryGetPermissionResponse) ProtoMethods() *protoiface.M var n int var l int _ = l - if x.PermissionRecord != nil { - l = options.Size(x.PermissionRecord) + if len(x.Player) > 0 { + for _, e := range x.Player { + l = options.Size(e) + n += 1 + l + runtime.Sov(uint64(l)) + } + } + if x.Pagination != nil { + l = options.Size(x.Pagination) n += 1 + l + runtime.Sov(uint64(l)) } if x.unknownFields != nil { @@ -19807,7 +31031,7 @@ func (x *fastReflection_QueryGetPermissionResponse) ProtoMethods() *protoiface.M } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*QueryGetPermissionResponse) + x := input.Message.Interface().(*QueryAllPlayerResponse) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -19826,8 +31050,8 @@ func (x *fastReflection_QueryGetPermissionResponse) ProtoMethods() *protoiface.M i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if x.PermissionRecord != nil { - encoded, err := options.Marshal(x.PermissionRecord) + if x.Pagination != nil { + encoded, err := options.Marshal(x.Pagination) if err != nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -19838,7 +31062,23 @@ func (x *fastReflection_QueryGetPermissionResponse) ProtoMethods() *protoiface.M copy(dAtA[i:], encoded) i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) i-- - dAtA[i] = 0xa + dAtA[i] = 0x12 + } + if len(x.Player) > 0 { + for iNdEx := len(x.Player) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.Player[iNdEx]) + 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...) @@ -19851,7 +31091,7 @@ func (x *fastReflection_QueryGetPermissionResponse) ProtoMethods() *protoiface.M }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*QueryGetPermissionResponse) + x := input.Message.Interface().(*QueryAllPlayerResponse) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -19883,15 +31123,15 @@ func (x *fastReflection_QueryGetPermissionResponse) ProtoMethods() *protoiface.M fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryGetPermissionResponse: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllPlayerResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryGetPermissionResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllPlayerResponse: 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 PermissionRecord", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Player", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -19918,10 +31158,44 @@ func (x *fastReflection_QueryGetPermissionResponse) ProtoMethods() *protoiface.M if postIndex > l { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - if x.PermissionRecord == nil { - x.PermissionRecord = &PermissionRecord{} + x.Player = append(x.Player, &Player{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Player[len(x.Player)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err } - if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.PermissionRecord); err != nil { + iNdEx = postIndex + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Pagination", 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.Pagination == nil { + x.Pagination = &v1beta1.PageResponse{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Pagination); err != nil { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err } iNdEx = postIndex @@ -19960,80 +31234,25 @@ func (x *fastReflection_QueryGetPermissionResponse) ProtoMethods() *protoiface.M } } -var _ protoreflect.List = (*_QueryAllPermissionResponse_1_list)(nil) - -type _QueryAllPermissionResponse_1_list struct { - list *[]*PermissionRecord -} - -func (x *_QueryAllPermissionResponse_1_list) Len() int { - if x.list == nil { - return 0 - } - return len(*x.list) -} - -func (x *_QueryAllPermissionResponse_1_list) Get(i int) protoreflect.Value { - return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) -} - -func (x *_QueryAllPermissionResponse_1_list) Set(i int, value protoreflect.Value) { - valueUnwrapped := value.Message() - concreteValue := valueUnwrapped.Interface().(*PermissionRecord) - (*x.list)[i] = concreteValue -} - -func (x *_QueryAllPermissionResponse_1_list) Append(value protoreflect.Value) { - valueUnwrapped := value.Message() - concreteValue := valueUnwrapped.Interface().(*PermissionRecord) - *x.list = append(*x.list, concreteValue) -} - -func (x *_QueryAllPermissionResponse_1_list) AppendMutable() protoreflect.Value { - v := new(PermissionRecord) - *x.list = append(*x.list, v) - return protoreflect.ValueOfMessage(v.ProtoReflect()) -} - -func (x *_QueryAllPermissionResponse_1_list) Truncate(n int) { - for i := n; i < len(*x.list); i++ { - (*x.list)[i] = nil - } - *x.list = (*x.list)[:n] -} - -func (x *_QueryAllPermissionResponse_1_list) NewElement() protoreflect.Value { - v := new(PermissionRecord) - return protoreflect.ValueOfMessage(v.ProtoReflect()) -} - -func (x *_QueryAllPermissionResponse_1_list) IsValid() bool { - return x.list != nil -} - var ( - md_QueryAllPermissionResponse protoreflect.MessageDescriptor - fd_QueryAllPermissionResponse_permissionRecords protoreflect.FieldDescriptor - fd_QueryAllPermissionResponse_pagination protoreflect.FieldDescriptor + md_QueryAllPlayerHaltedRequest protoreflect.MessageDescriptor ) func init() { file_structs_structs_query_proto_init() - md_QueryAllPermissionResponse = File_structs_structs_query_proto.Messages().ByName("QueryAllPermissionResponse") - fd_QueryAllPermissionResponse_permissionRecords = md_QueryAllPermissionResponse.Fields().ByName("permissionRecords") - fd_QueryAllPermissionResponse_pagination = md_QueryAllPermissionResponse.Fields().ByName("pagination") + md_QueryAllPlayerHaltedRequest = File_structs_structs_query_proto.Messages().ByName("QueryAllPlayerHaltedRequest") } -var _ protoreflect.Message = (*fastReflection_QueryAllPermissionResponse)(nil) +var _ protoreflect.Message = (*fastReflection_QueryAllPlayerHaltedRequest)(nil) -type fastReflection_QueryAllPermissionResponse QueryAllPermissionResponse +type fastReflection_QueryAllPlayerHaltedRequest QueryAllPlayerHaltedRequest -func (x *QueryAllPermissionResponse) ProtoReflect() protoreflect.Message { - return (*fastReflection_QueryAllPermissionResponse)(x) +func (x *QueryAllPlayerHaltedRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_QueryAllPlayerHaltedRequest)(x) } -func (x *QueryAllPermissionResponse) slowProtoReflect() protoreflect.Message { - mi := &file_structs_structs_query_proto_msgTypes[42] +func (x *QueryAllPlayerHaltedRequest) slowProtoReflect() protoreflect.Message { + mi := &file_structs_structs_query_proto_msgTypes[65] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -20044,43 +31263,43 @@ func (x *QueryAllPermissionResponse) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_QueryAllPermissionResponse_messageType fastReflection_QueryAllPermissionResponse_messageType -var _ protoreflect.MessageType = fastReflection_QueryAllPermissionResponse_messageType{} +var _fastReflection_QueryAllPlayerHaltedRequest_messageType fastReflection_QueryAllPlayerHaltedRequest_messageType +var _ protoreflect.MessageType = fastReflection_QueryAllPlayerHaltedRequest_messageType{} -type fastReflection_QueryAllPermissionResponse_messageType struct{} +type fastReflection_QueryAllPlayerHaltedRequest_messageType struct{} -func (x fastReflection_QueryAllPermissionResponse_messageType) Zero() protoreflect.Message { - return (*fastReflection_QueryAllPermissionResponse)(nil) +func (x fastReflection_QueryAllPlayerHaltedRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_QueryAllPlayerHaltedRequest)(nil) } -func (x fastReflection_QueryAllPermissionResponse_messageType) New() protoreflect.Message { - return new(fastReflection_QueryAllPermissionResponse) +func (x fastReflection_QueryAllPlayerHaltedRequest_messageType) New() protoreflect.Message { + return new(fastReflection_QueryAllPlayerHaltedRequest) } -func (x fastReflection_QueryAllPermissionResponse_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_QueryAllPermissionResponse +func (x fastReflection_QueryAllPlayerHaltedRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_QueryAllPlayerHaltedRequest } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_QueryAllPermissionResponse) Descriptor() protoreflect.MessageDescriptor { - return md_QueryAllPermissionResponse +func (x *fastReflection_QueryAllPlayerHaltedRequest) Descriptor() protoreflect.MessageDescriptor { + return md_QueryAllPlayerHaltedRequest } // 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_QueryAllPermissionResponse) Type() protoreflect.MessageType { - return _fastReflection_QueryAllPermissionResponse_messageType +func (x *fastReflection_QueryAllPlayerHaltedRequest) Type() protoreflect.MessageType { + return _fastReflection_QueryAllPlayerHaltedRequest_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_QueryAllPermissionResponse) New() protoreflect.Message { - return new(fastReflection_QueryAllPermissionResponse) +func (x *fastReflection_QueryAllPlayerHaltedRequest) New() protoreflect.Message { + return new(fastReflection_QueryAllPlayerHaltedRequest) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_QueryAllPermissionResponse) Interface() protoreflect.ProtoMessage { - return (*QueryAllPermissionResponse)(x) +func (x *fastReflection_QueryAllPlayerHaltedRequest) Interface() protoreflect.ProtoMessage { + return (*QueryAllPlayerHaltedRequest)(x) } // Range iterates over every populated field in an undefined order, @@ -20088,19 +31307,7 @@ func (x *fastReflection_QueryAllPermissionResponse) Interface() protoreflect.Pro // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_QueryAllPermissionResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if len(x.PermissionRecords) != 0 { - value := protoreflect.ValueOfList(&_QueryAllPermissionResponse_1_list{list: &x.PermissionRecords}) - if !f(fd_QueryAllPermissionResponse_permissionRecords, value) { - return - } - } - if x.Pagination != nil { - value := protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) - if !f(fd_QueryAllPermissionResponse_pagination, value) { - return - } - } +func (x *fastReflection_QueryAllPlayerHaltedRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { } // Has reports whether a field is populated. @@ -20114,17 +31321,13 @@ func (x *fastReflection_QueryAllPermissionResponse) Range(f func(protoreflect.Fi // 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_QueryAllPermissionResponse) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_QueryAllPlayerHaltedRequest) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.QueryAllPermissionResponse.permissionRecords": - return len(x.PermissionRecords) != 0 - case "structs.structs.QueryAllPermissionResponse.pagination": - return x.Pagination != nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPermissionResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPlayerHaltedRequest")) } - panic(fmt.Errorf("message structs.structs.QueryAllPermissionResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllPlayerHaltedRequest does not contain field %s", fd.FullName())) } } @@ -20134,17 +31337,13 @@ func (x *fastReflection_QueryAllPermissionResponse) Has(fd protoreflect.FieldDes // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAllPermissionResponse) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_QueryAllPlayerHaltedRequest) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.QueryAllPermissionResponse.permissionRecords": - x.PermissionRecords = nil - case "structs.structs.QueryAllPermissionResponse.pagination": - x.Pagination = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPermissionResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPlayerHaltedRequest")) } - panic(fmt.Errorf("message structs.structs.QueryAllPermissionResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllPlayerHaltedRequest does not contain field %s", fd.FullName())) } } @@ -20154,22 +31353,13 @@ func (x *fastReflection_QueryAllPermissionResponse) Clear(fd protoreflect.FieldD // 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_QueryAllPermissionResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryAllPlayerHaltedRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.QueryAllPermissionResponse.permissionRecords": - if len(x.PermissionRecords) == 0 { - return protoreflect.ValueOfList(&_QueryAllPermissionResponse_1_list{}) - } - listValue := &_QueryAllPermissionResponse_1_list{list: &x.PermissionRecords} - return protoreflect.ValueOfList(listValue) - case "structs.structs.QueryAllPermissionResponse.pagination": - value := x.Pagination - return protoreflect.ValueOfMessage(value.ProtoReflect()) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPermissionResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPlayerHaltedRequest")) } - panic(fmt.Errorf("message structs.structs.QueryAllPermissionResponse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllPlayerHaltedRequest does not contain field %s", descriptor.FullName())) } } @@ -20183,19 +31373,13 @@ func (x *fastReflection_QueryAllPermissionResponse) Get(descriptor protoreflect. // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAllPermissionResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_QueryAllPlayerHaltedRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.QueryAllPermissionResponse.permissionRecords": - lv := value.List() - clv := lv.(*_QueryAllPermissionResponse_1_list) - x.PermissionRecords = *clv.list - case "structs.structs.QueryAllPermissionResponse.pagination": - x.Pagination = value.Message().Interface().(*v1beta1.PageResponse) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPermissionResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPlayerHaltedRequest")) } - panic(fmt.Errorf("message structs.structs.QueryAllPermissionResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllPlayerHaltedRequest does not contain field %s", fd.FullName())) } } @@ -20209,53 +31393,36 @@ func (x *fastReflection_QueryAllPermissionResponse) Set(fd protoreflect.FieldDes // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAllPermissionResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryAllPlayerHaltedRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.QueryAllPermissionResponse.permissionRecords": - if x.PermissionRecords == nil { - x.PermissionRecords = []*PermissionRecord{} - } - value := &_QueryAllPermissionResponse_1_list{list: &x.PermissionRecords} - return protoreflect.ValueOfList(value) - case "structs.structs.QueryAllPermissionResponse.pagination": - if x.Pagination == nil { - x.Pagination = new(v1beta1.PageResponse) - } - return protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPermissionResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPlayerHaltedRequest")) } - panic(fmt.Errorf("message structs.structs.QueryAllPermissionResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllPlayerHaltedRequest 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_QueryAllPermissionResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryAllPlayerHaltedRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.QueryAllPermissionResponse.permissionRecords": - list := []*PermissionRecord{} - return protoreflect.ValueOfList(&_QueryAllPermissionResponse_1_list{list: &list}) - case "structs.structs.QueryAllPermissionResponse.pagination": - m := new(v1beta1.PageResponse) - return protoreflect.ValueOfMessage(m.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPermissionResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPlayerHaltedRequest")) } - panic(fmt.Errorf("message structs.structs.QueryAllPermissionResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllPlayerHaltedRequest 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_QueryAllPermissionResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_QueryAllPlayerHaltedRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryAllPermissionResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryAllPlayerHaltedRequest", d.FullName())) } panic("unreachable") } @@ -20263,7 +31430,7 @@ func (x *fastReflection_QueryAllPermissionResponse) WhichOneof(d protoreflect.On // 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_QueryAllPermissionResponse) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_QueryAllPlayerHaltedRequest) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -20274,7 +31441,7 @@ func (x *fastReflection_QueryAllPermissionResponse) GetUnknown() protoreflect.Ra // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAllPermissionResponse) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_QueryAllPlayerHaltedRequest) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -20286,7 +31453,7 @@ func (x *fastReflection_QueryAllPermissionResponse) SetUnknown(fields protorefle // 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_QueryAllPermissionResponse) IsValid() bool { +func (x *fastReflection_QueryAllPlayerHaltedRequest) IsValid() bool { return x != nil } @@ -20296,9 +31463,9 @@ func (x *fastReflection_QueryAllPermissionResponse) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_QueryAllPermissionResponse) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_QueryAllPlayerHaltedRequest) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*QueryAllPermissionResponse) + x := input.Message.Interface().(*QueryAllPlayerHaltedRequest) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -20310,16 +31477,6 @@ func (x *fastReflection_QueryAllPermissionResponse) ProtoMethods() *protoiface.M var n int var l int _ = l - if len(x.PermissionRecords) > 0 { - for _, e := range x.PermissionRecords { - l = options.Size(e) - n += 1 + l + runtime.Sov(uint64(l)) - } - } - if x.Pagination != nil { - l = options.Size(x.Pagination) - n += 1 + l + runtime.Sov(uint64(l)) - } if x.unknownFields != nil { n += len(x.unknownFields) } @@ -20330,7 +31487,7 @@ func (x *fastReflection_QueryAllPermissionResponse) ProtoMethods() *protoiface.M } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*QueryAllPermissionResponse) + x := input.Message.Interface().(*QueryAllPlayerHaltedRequest) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -20349,36 +31506,6 @@ func (x *fastReflection_QueryAllPermissionResponse) ProtoMethods() *protoiface.M i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if x.Pagination != nil { - encoded, err := options.Marshal(x.Pagination) - 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.PermissionRecords) > 0 { - for iNdEx := len(x.PermissionRecords) - 1; iNdEx >= 0; iNdEx-- { - encoded, err := options.Marshal(x.PermissionRecords[iNdEx]) - 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 { @@ -20390,7 +31517,7 @@ func (x *fastReflection_QueryAllPermissionResponse) ProtoMethods() *protoiface.M }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*QueryAllPermissionResponse) + x := input.Message.Interface().(*QueryAllPlayerHaltedRequest) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -20422,82 +31549,12 @@ func (x *fastReflection_QueryAllPermissionResponse) ProtoMethods() *protoiface.M fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllPermissionResponse: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllPlayerHaltedRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllPermissionResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllPlayerHaltedRequest: 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 PermissionRecords", 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 - } - x.PermissionRecords = append(x.PermissionRecords, &PermissionRecord{}) - if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.PermissionRecords[len(x.PermissionRecords)-1]); err != nil { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Pagination", 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.Pagination == nil { - x.Pagination = &v1beta1.PageResponse{} - } - if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Pagination); err != nil { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err - } - iNdEx = postIndex default: iNdEx = preIndex skippy, err := runtime.Skip(dAtA[iNdEx:]) @@ -20533,27 +31590,73 @@ func (x *fastReflection_QueryAllPermissionResponse) ProtoMethods() *protoiface.M } } +var _ protoreflect.List = (*_QueryAllPlayerHaltedResponse_1_list)(nil) + +type _QueryAllPlayerHaltedResponse_1_list struct { + list *[]string +} + +func (x *_QueryAllPlayerHaltedResponse_1_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_QueryAllPlayerHaltedResponse_1_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfString((*x.list)[i]) +} + +func (x *_QueryAllPlayerHaltedResponse_1_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_QueryAllPlayerHaltedResponse_1_list) Append(value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_QueryAllPlayerHaltedResponse_1_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message QueryAllPlayerHaltedResponse at list field PlayerId as it is not of Message kind")) +} + +func (x *_QueryAllPlayerHaltedResponse_1_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_QueryAllPlayerHaltedResponse_1_list) NewElement() protoreflect.Value { + v := "" + return protoreflect.ValueOfString(v) +} + +func (x *_QueryAllPlayerHaltedResponse_1_list) IsValid() bool { + return x.list != nil +} + var ( - md_QueryGetPlanetRequest protoreflect.MessageDescriptor - fd_QueryGetPlanetRequest_id protoreflect.FieldDescriptor + md_QueryAllPlayerHaltedResponse protoreflect.MessageDescriptor + fd_QueryAllPlayerHaltedResponse_PlayerId protoreflect.FieldDescriptor ) func init() { file_structs_structs_query_proto_init() - md_QueryGetPlanetRequest = File_structs_structs_query_proto.Messages().ByName("QueryGetPlanetRequest") - fd_QueryGetPlanetRequest_id = md_QueryGetPlanetRequest.Fields().ByName("id") + md_QueryAllPlayerHaltedResponse = File_structs_structs_query_proto.Messages().ByName("QueryAllPlayerHaltedResponse") + fd_QueryAllPlayerHaltedResponse_PlayerId = md_QueryAllPlayerHaltedResponse.Fields().ByName("PlayerId") } -var _ protoreflect.Message = (*fastReflection_QueryGetPlanetRequest)(nil) +var _ protoreflect.Message = (*fastReflection_QueryAllPlayerHaltedResponse)(nil) -type fastReflection_QueryGetPlanetRequest QueryGetPlanetRequest +type fastReflection_QueryAllPlayerHaltedResponse QueryAllPlayerHaltedResponse -func (x *QueryGetPlanetRequest) ProtoReflect() protoreflect.Message { - return (*fastReflection_QueryGetPlanetRequest)(x) +func (x *QueryAllPlayerHaltedResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_QueryAllPlayerHaltedResponse)(x) } -func (x *QueryGetPlanetRequest) slowProtoReflect() protoreflect.Message { - mi := &file_structs_structs_query_proto_msgTypes[43] +func (x *QueryAllPlayerHaltedResponse) slowProtoReflect() protoreflect.Message { + mi := &file_structs_structs_query_proto_msgTypes[66] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -20564,43 +31667,43 @@ func (x *QueryGetPlanetRequest) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_QueryGetPlanetRequest_messageType fastReflection_QueryGetPlanetRequest_messageType -var _ protoreflect.MessageType = fastReflection_QueryGetPlanetRequest_messageType{} +var _fastReflection_QueryAllPlayerHaltedResponse_messageType fastReflection_QueryAllPlayerHaltedResponse_messageType +var _ protoreflect.MessageType = fastReflection_QueryAllPlayerHaltedResponse_messageType{} -type fastReflection_QueryGetPlanetRequest_messageType struct{} +type fastReflection_QueryAllPlayerHaltedResponse_messageType struct{} -func (x fastReflection_QueryGetPlanetRequest_messageType) Zero() protoreflect.Message { - return (*fastReflection_QueryGetPlanetRequest)(nil) +func (x fastReflection_QueryAllPlayerHaltedResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_QueryAllPlayerHaltedResponse)(nil) } -func (x fastReflection_QueryGetPlanetRequest_messageType) New() protoreflect.Message { - return new(fastReflection_QueryGetPlanetRequest) +func (x fastReflection_QueryAllPlayerHaltedResponse_messageType) New() protoreflect.Message { + return new(fastReflection_QueryAllPlayerHaltedResponse) } -func (x fastReflection_QueryGetPlanetRequest_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_QueryGetPlanetRequest +func (x fastReflection_QueryAllPlayerHaltedResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_QueryAllPlayerHaltedResponse } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_QueryGetPlanetRequest) Descriptor() protoreflect.MessageDescriptor { - return md_QueryGetPlanetRequest +func (x *fastReflection_QueryAllPlayerHaltedResponse) Descriptor() protoreflect.MessageDescriptor { + return md_QueryAllPlayerHaltedResponse } // 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_QueryGetPlanetRequest) Type() protoreflect.MessageType { - return _fastReflection_QueryGetPlanetRequest_messageType +func (x *fastReflection_QueryAllPlayerHaltedResponse) Type() protoreflect.MessageType { + return _fastReflection_QueryAllPlayerHaltedResponse_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_QueryGetPlanetRequest) New() protoreflect.Message { - return new(fastReflection_QueryGetPlanetRequest) +func (x *fastReflection_QueryAllPlayerHaltedResponse) New() protoreflect.Message { + return new(fastReflection_QueryAllPlayerHaltedResponse) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_QueryGetPlanetRequest) Interface() protoreflect.ProtoMessage { - return (*QueryGetPlanetRequest)(x) +func (x *fastReflection_QueryAllPlayerHaltedResponse) Interface() protoreflect.ProtoMessage { + return (*QueryAllPlayerHaltedResponse)(x) } // Range iterates over every populated field in an undefined order, @@ -20608,10 +31711,10 @@ func (x *fastReflection_QueryGetPlanetRequest) Interface() protoreflect.ProtoMes // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_QueryGetPlanetRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.Id != "" { - value := protoreflect.ValueOfString(x.Id) - if !f(fd_QueryGetPlanetRequest_id, value) { +func (x *fastReflection_QueryAllPlayerHaltedResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if len(x.PlayerId) != 0 { + value := protoreflect.ValueOfList(&_QueryAllPlayerHaltedResponse_1_list{list: &x.PlayerId}) + if !f(fd_QueryAllPlayerHaltedResponse_PlayerId, value) { return } } @@ -20628,15 +31731,15 @@ func (x *fastReflection_QueryGetPlanetRequest) Range(f func(protoreflect.FieldDe // 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_QueryGetPlanetRequest) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_QueryAllPlayerHaltedResponse) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.QueryGetPlanetRequest.id": - return x.Id != "" + case "structs.structs.QueryAllPlayerHaltedResponse.PlayerId": + return len(x.PlayerId) != 0 default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetPlanetRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPlayerHaltedResponse")) } - panic(fmt.Errorf("message structs.structs.QueryGetPlanetRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllPlayerHaltedResponse does not contain field %s", fd.FullName())) } } @@ -20646,15 +31749,15 @@ func (x *fastReflection_QueryGetPlanetRequest) Has(fd protoreflect.FieldDescript // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryGetPlanetRequest) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_QueryAllPlayerHaltedResponse) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.QueryGetPlanetRequest.id": - x.Id = "" + case "structs.structs.QueryAllPlayerHaltedResponse.PlayerId": + x.PlayerId = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetPlanetRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPlayerHaltedResponse")) } - panic(fmt.Errorf("message structs.structs.QueryGetPlanetRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllPlayerHaltedResponse does not contain field %s", fd.FullName())) } } @@ -20664,16 +31767,19 @@ func (x *fastReflection_QueryGetPlanetRequest) Clear(fd protoreflect.FieldDescri // 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_QueryGetPlanetRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryAllPlayerHaltedResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.QueryGetPlanetRequest.id": - value := x.Id - return protoreflect.ValueOfString(value) + case "structs.structs.QueryAllPlayerHaltedResponse.PlayerId": + if len(x.PlayerId) == 0 { + return protoreflect.ValueOfList(&_QueryAllPlayerHaltedResponse_1_list{}) + } + listValue := &_QueryAllPlayerHaltedResponse_1_list{list: &x.PlayerId} + return protoreflect.ValueOfList(listValue) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetPlanetRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPlayerHaltedResponse")) } - panic(fmt.Errorf("message structs.structs.QueryGetPlanetRequest does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllPlayerHaltedResponse does not contain field %s", descriptor.FullName())) } } @@ -20687,15 +31793,17 @@ func (x *fastReflection_QueryGetPlanetRequest) Get(descriptor protoreflect.Field // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryGetPlanetRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_QueryAllPlayerHaltedResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.QueryGetPlanetRequest.id": - x.Id = value.Interface().(string) + case "structs.structs.QueryAllPlayerHaltedResponse.PlayerId": + lv := value.List() + clv := lv.(*_QueryAllPlayerHaltedResponse_1_list) + x.PlayerId = *clv.list default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetPlanetRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPlayerHaltedResponse")) } - panic(fmt.Errorf("message structs.structs.QueryGetPlanetRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllPlayerHaltedResponse does not contain field %s", fd.FullName())) } } @@ -20709,40 +31817,45 @@ func (x *fastReflection_QueryGetPlanetRequest) Set(fd protoreflect.FieldDescript // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryGetPlanetRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryAllPlayerHaltedResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.QueryGetPlanetRequest.id": - panic(fmt.Errorf("field id of message structs.structs.QueryGetPlanetRequest is not mutable")) + case "structs.structs.QueryAllPlayerHaltedResponse.PlayerId": + if x.PlayerId == nil { + x.PlayerId = []string{} + } + value := &_QueryAllPlayerHaltedResponse_1_list{list: &x.PlayerId} + return protoreflect.ValueOfList(value) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetPlanetRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPlayerHaltedResponse")) } - panic(fmt.Errorf("message structs.structs.QueryGetPlanetRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllPlayerHaltedResponse 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_QueryGetPlanetRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryAllPlayerHaltedResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.QueryGetPlanetRequest.id": - return protoreflect.ValueOfString("") + case "structs.structs.QueryAllPlayerHaltedResponse.PlayerId": + list := []string{} + return protoreflect.ValueOfList(&_QueryAllPlayerHaltedResponse_1_list{list: &list}) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetPlanetRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPlayerHaltedResponse")) } - panic(fmt.Errorf("message structs.structs.QueryGetPlanetRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllPlayerHaltedResponse 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_QueryGetPlanetRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_QueryAllPlayerHaltedResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryGetPlanetRequest", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryAllPlayerHaltedResponse", d.FullName())) } panic("unreachable") } @@ -20750,7 +31863,7 @@ func (x *fastReflection_QueryGetPlanetRequest) WhichOneof(d protoreflect.OneofDe // 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_QueryGetPlanetRequest) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_QueryAllPlayerHaltedResponse) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -20761,7 +31874,7 @@ func (x *fastReflection_QueryGetPlanetRequest) GetUnknown() protoreflect.RawFiel // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryGetPlanetRequest) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_QueryAllPlayerHaltedResponse) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -20773,7 +31886,7 @@ func (x *fastReflection_QueryGetPlanetRequest) SetUnknown(fields protoreflect.Ra // 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_QueryGetPlanetRequest) IsValid() bool { +func (x *fastReflection_QueryAllPlayerHaltedResponse) IsValid() bool { return x != nil } @@ -20783,9 +31896,9 @@ func (x *fastReflection_QueryGetPlanetRequest) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_QueryGetPlanetRequest) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_QueryAllPlayerHaltedResponse) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*QueryGetPlanetRequest) + x := input.Message.Interface().(*QueryAllPlayerHaltedResponse) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -20797,9 +31910,11 @@ func (x *fastReflection_QueryGetPlanetRequest) ProtoMethods() *protoiface.Method var n int var l int _ = l - l = len(x.Id) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) + if len(x.PlayerId) > 0 { + for _, s := range x.PlayerId { + l = len(s) + n += 1 + l + runtime.Sov(uint64(l)) + } } if x.unknownFields != nil { n += len(x.unknownFields) @@ -20811,7 +31926,7 @@ func (x *fastReflection_QueryGetPlanetRequest) ProtoMethods() *protoiface.Method } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*QueryGetPlanetRequest) + x := input.Message.Interface().(*QueryAllPlayerHaltedResponse) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -20830,12 +31945,14 @@ func (x *fastReflection_QueryGetPlanetRequest) ProtoMethods() *protoiface.Method i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if len(x.Id) > 0 { - i -= len(x.Id) - copy(dAtA[i:], x.Id) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Id))) - i-- - dAtA[i] = 0xa + if len(x.PlayerId) > 0 { + for iNdEx := len(x.PlayerId) - 1; iNdEx >= 0; iNdEx-- { + i -= len(x.PlayerId[iNdEx]) + copy(dAtA[i:], x.PlayerId[iNdEx]) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.PlayerId[iNdEx]))) + i-- + dAtA[i] = 0xa + } } if input.Buf != nil { input.Buf = append(input.Buf, dAtA...) @@ -20848,7 +31965,7 @@ func (x *fastReflection_QueryGetPlanetRequest) ProtoMethods() *protoiface.Method }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*QueryGetPlanetRequest) + x := input.Message.Interface().(*QueryAllPlayerHaltedResponse) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -20880,15 +31997,15 @@ func (x *fastReflection_QueryGetPlanetRequest) ProtoMethods() *protoiface.Method fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryGetPlanetRequest: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllPlayerHaltedResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryGetPlanetRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllPlayerHaltedResponse: 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 Id", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field PlayerId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -20916,7 +32033,7 @@ func (x *fastReflection_QueryGetPlanetRequest) ProtoMethods() *protoiface.Method if postIndex > l { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - x.Id = string(dAtA[iNdEx:postIndex]) + x.PlayerId = append(x.PlayerId, string(dAtA[iNdEx:postIndex])) iNdEx = postIndex default: iNdEx = preIndex @@ -20954,30 +32071,26 @@ func (x *fastReflection_QueryGetPlanetRequest) ProtoMethods() *protoiface.Method } var ( - md_QueryGetPlanetResponse protoreflect.MessageDescriptor - fd_QueryGetPlanetResponse_Planet protoreflect.FieldDescriptor - fd_QueryGetPlanetResponse_gridAttributes protoreflect.FieldDescriptor - fd_QueryGetPlanetResponse_planetAttributes protoreflect.FieldDescriptor + md_QueryGetProviderRequest protoreflect.MessageDescriptor + fd_QueryGetProviderRequest_id protoreflect.FieldDescriptor ) func init() { file_structs_structs_query_proto_init() - md_QueryGetPlanetResponse = File_structs_structs_query_proto.Messages().ByName("QueryGetPlanetResponse") - fd_QueryGetPlanetResponse_Planet = md_QueryGetPlanetResponse.Fields().ByName("Planet") - fd_QueryGetPlanetResponse_gridAttributes = md_QueryGetPlanetResponse.Fields().ByName("gridAttributes") - fd_QueryGetPlanetResponse_planetAttributes = md_QueryGetPlanetResponse.Fields().ByName("planetAttributes") + md_QueryGetProviderRequest = File_structs_structs_query_proto.Messages().ByName("QueryGetProviderRequest") + fd_QueryGetProviderRequest_id = md_QueryGetProviderRequest.Fields().ByName("id") } -var _ protoreflect.Message = (*fastReflection_QueryGetPlanetResponse)(nil) +var _ protoreflect.Message = (*fastReflection_QueryGetProviderRequest)(nil) -type fastReflection_QueryGetPlanetResponse QueryGetPlanetResponse +type fastReflection_QueryGetProviderRequest QueryGetProviderRequest -func (x *QueryGetPlanetResponse) ProtoReflect() protoreflect.Message { - return (*fastReflection_QueryGetPlanetResponse)(x) +func (x *QueryGetProviderRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_QueryGetProviderRequest)(x) } -func (x *QueryGetPlanetResponse) slowProtoReflect() protoreflect.Message { - mi := &file_structs_structs_query_proto_msgTypes[44] +func (x *QueryGetProviderRequest) slowProtoReflect() protoreflect.Message { + mi := &file_structs_structs_query_proto_msgTypes[67] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -20988,43 +32101,43 @@ func (x *QueryGetPlanetResponse) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_QueryGetPlanetResponse_messageType fastReflection_QueryGetPlanetResponse_messageType -var _ protoreflect.MessageType = fastReflection_QueryGetPlanetResponse_messageType{} +var _fastReflection_QueryGetProviderRequest_messageType fastReflection_QueryGetProviderRequest_messageType +var _ protoreflect.MessageType = fastReflection_QueryGetProviderRequest_messageType{} -type fastReflection_QueryGetPlanetResponse_messageType struct{} +type fastReflection_QueryGetProviderRequest_messageType struct{} -func (x fastReflection_QueryGetPlanetResponse_messageType) Zero() protoreflect.Message { - return (*fastReflection_QueryGetPlanetResponse)(nil) +func (x fastReflection_QueryGetProviderRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_QueryGetProviderRequest)(nil) } -func (x fastReflection_QueryGetPlanetResponse_messageType) New() protoreflect.Message { - return new(fastReflection_QueryGetPlanetResponse) +func (x fastReflection_QueryGetProviderRequest_messageType) New() protoreflect.Message { + return new(fastReflection_QueryGetProviderRequest) } -func (x fastReflection_QueryGetPlanetResponse_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_QueryGetPlanetResponse +func (x fastReflection_QueryGetProviderRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_QueryGetProviderRequest } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_QueryGetPlanetResponse) Descriptor() protoreflect.MessageDescriptor { - return md_QueryGetPlanetResponse +func (x *fastReflection_QueryGetProviderRequest) Descriptor() protoreflect.MessageDescriptor { + return md_QueryGetProviderRequest } // 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_QueryGetPlanetResponse) Type() protoreflect.MessageType { - return _fastReflection_QueryGetPlanetResponse_messageType +func (x *fastReflection_QueryGetProviderRequest) Type() protoreflect.MessageType { + return _fastReflection_QueryGetProviderRequest_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_QueryGetPlanetResponse) New() protoreflect.Message { - return new(fastReflection_QueryGetPlanetResponse) +func (x *fastReflection_QueryGetProviderRequest) New() protoreflect.Message { + return new(fastReflection_QueryGetProviderRequest) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_QueryGetPlanetResponse) Interface() protoreflect.ProtoMessage { - return (*QueryGetPlanetResponse)(x) +func (x *fastReflection_QueryGetProviderRequest) Interface() protoreflect.ProtoMessage { + return (*QueryGetProviderRequest)(x) } // Range iterates over every populated field in an undefined order, @@ -21032,22 +32145,10 @@ func (x *fastReflection_QueryGetPlanetResponse) Interface() protoreflect.ProtoMe // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_QueryGetPlanetResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.Planet != nil { - value := protoreflect.ValueOfMessage(x.Planet.ProtoReflect()) - if !f(fd_QueryGetPlanetResponse_Planet, value) { - return - } - } - if x.GridAttributes != nil { - value := protoreflect.ValueOfMessage(x.GridAttributes.ProtoReflect()) - if !f(fd_QueryGetPlanetResponse_gridAttributes, value) { - return - } - } - if x.PlanetAttributes != nil { - value := protoreflect.ValueOfMessage(x.PlanetAttributes.ProtoReflect()) - if !f(fd_QueryGetPlanetResponse_planetAttributes, value) { +func (x *fastReflection_QueryGetProviderRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Id != "" { + value := protoreflect.ValueOfString(x.Id) + if !f(fd_QueryGetProviderRequest_id, value) { return } } @@ -21064,19 +32165,15 @@ func (x *fastReflection_QueryGetPlanetResponse) Range(f func(protoreflect.FieldD // 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_QueryGetPlanetResponse) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_QueryGetProviderRequest) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.QueryGetPlanetResponse.Planet": - return x.Planet != nil - case "structs.structs.QueryGetPlanetResponse.gridAttributes": - return x.GridAttributes != nil - case "structs.structs.QueryGetPlanetResponse.planetAttributes": - return x.PlanetAttributes != nil + case "structs.structs.QueryGetProviderRequest.id": + return x.Id != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetPlanetResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetProviderRequest")) } - panic(fmt.Errorf("message structs.structs.QueryGetPlanetResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetProviderRequest does not contain field %s", fd.FullName())) } } @@ -21086,19 +32183,15 @@ func (x *fastReflection_QueryGetPlanetResponse) Has(fd protoreflect.FieldDescrip // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryGetPlanetResponse) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_QueryGetProviderRequest) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.QueryGetPlanetResponse.Planet": - x.Planet = nil - case "structs.structs.QueryGetPlanetResponse.gridAttributes": - x.GridAttributes = nil - case "structs.structs.QueryGetPlanetResponse.planetAttributes": - x.PlanetAttributes = nil + case "structs.structs.QueryGetProviderRequest.id": + x.Id = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetPlanetResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetProviderRequest")) } - panic(fmt.Errorf("message structs.structs.QueryGetPlanetResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetProviderRequest does not contain field %s", fd.FullName())) } } @@ -21108,22 +32201,16 @@ func (x *fastReflection_QueryGetPlanetResponse) Clear(fd protoreflect.FieldDescr // 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_QueryGetPlanetResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryGetProviderRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.QueryGetPlanetResponse.Planet": - value := x.Planet - return protoreflect.ValueOfMessage(value.ProtoReflect()) - case "structs.structs.QueryGetPlanetResponse.gridAttributes": - value := x.GridAttributes - return protoreflect.ValueOfMessage(value.ProtoReflect()) - case "structs.structs.QueryGetPlanetResponse.planetAttributes": - value := x.PlanetAttributes - return protoreflect.ValueOfMessage(value.ProtoReflect()) + case "structs.structs.QueryGetProviderRequest.id": + value := x.Id + return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetPlanetResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetProviderRequest")) } - panic(fmt.Errorf("message structs.structs.QueryGetPlanetResponse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetProviderRequest does not contain field %s", descriptor.FullName())) } } @@ -21137,19 +32224,15 @@ func (x *fastReflection_QueryGetPlanetResponse) Get(descriptor protoreflect.Fiel // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryGetPlanetResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_QueryGetProviderRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.QueryGetPlanetResponse.Planet": - x.Planet = value.Message().Interface().(*Planet) - case "structs.structs.QueryGetPlanetResponse.gridAttributes": - x.GridAttributes = value.Message().Interface().(*GridAttributes) - case "structs.structs.QueryGetPlanetResponse.planetAttributes": - x.PlanetAttributes = value.Message().Interface().(*PlanetAttributes) + case "structs.structs.QueryGetProviderRequest.id": + x.Id = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetPlanetResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetProviderRequest")) } - panic(fmt.Errorf("message structs.structs.QueryGetPlanetResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetProviderRequest does not contain field %s", fd.FullName())) } } @@ -21163,60 +32246,40 @@ func (x *fastReflection_QueryGetPlanetResponse) Set(fd protoreflect.FieldDescrip // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryGetPlanetResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryGetProviderRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.QueryGetPlanetResponse.Planet": - if x.Planet == nil { - x.Planet = new(Planet) - } - return protoreflect.ValueOfMessage(x.Planet.ProtoReflect()) - case "structs.structs.QueryGetPlanetResponse.gridAttributes": - if x.GridAttributes == nil { - x.GridAttributes = new(GridAttributes) - } - return protoreflect.ValueOfMessage(x.GridAttributes.ProtoReflect()) - case "structs.structs.QueryGetPlanetResponse.planetAttributes": - if x.PlanetAttributes == nil { - x.PlanetAttributes = new(PlanetAttributes) - } - return protoreflect.ValueOfMessage(x.PlanetAttributes.ProtoReflect()) + case "structs.structs.QueryGetProviderRequest.id": + panic(fmt.Errorf("field id of message structs.structs.QueryGetProviderRequest is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetPlanetResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetProviderRequest")) } - panic(fmt.Errorf("message structs.structs.QueryGetPlanetResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetProviderRequest 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_QueryGetPlanetResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryGetProviderRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.QueryGetPlanetResponse.Planet": - m := new(Planet) - return protoreflect.ValueOfMessage(m.ProtoReflect()) - case "structs.structs.QueryGetPlanetResponse.gridAttributes": - m := new(GridAttributes) - return protoreflect.ValueOfMessage(m.ProtoReflect()) - case "structs.structs.QueryGetPlanetResponse.planetAttributes": - m := new(PlanetAttributes) - return protoreflect.ValueOfMessage(m.ProtoReflect()) + case "structs.structs.QueryGetProviderRequest.id": + return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetPlanetResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetProviderRequest")) } - panic(fmt.Errorf("message structs.structs.QueryGetPlanetResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetProviderRequest 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_QueryGetPlanetResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_QueryGetProviderRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryGetPlanetResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryGetProviderRequest", d.FullName())) } panic("unreachable") } @@ -21224,7 +32287,7 @@ func (x *fastReflection_QueryGetPlanetResponse) WhichOneof(d protoreflect.OneofD // 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_QueryGetPlanetResponse) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_QueryGetProviderRequest) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -21235,7 +32298,7 @@ func (x *fastReflection_QueryGetPlanetResponse) GetUnknown() protoreflect.RawFie // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryGetPlanetResponse) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_QueryGetProviderRequest) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -21247,7 +32310,7 @@ func (x *fastReflection_QueryGetPlanetResponse) SetUnknown(fields protoreflect.R // 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_QueryGetPlanetResponse) IsValid() bool { +func (x *fastReflection_QueryGetProviderRequest) IsValid() bool { return x != nil } @@ -21257,9 +32320,9 @@ func (x *fastReflection_QueryGetPlanetResponse) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_QueryGetPlanetResponse) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_QueryGetProviderRequest) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*QueryGetPlanetResponse) + x := input.Message.Interface().(*QueryGetProviderRequest) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -21271,16 +32334,8 @@ func (x *fastReflection_QueryGetPlanetResponse) ProtoMethods() *protoiface.Metho var n int var l int _ = l - if x.Planet != nil { - l = options.Size(x.Planet) - n += 1 + l + runtime.Sov(uint64(l)) - } - if x.GridAttributes != nil { - l = options.Size(x.GridAttributes) - n += 1 + l + runtime.Sov(uint64(l)) - } - if x.PlanetAttributes != nil { - l = options.Size(x.PlanetAttributes) + l = len(x.Id) + if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } if x.unknownFields != nil { @@ -21293,7 +32348,7 @@ func (x *fastReflection_QueryGetPlanetResponse) ProtoMethods() *protoiface.Metho } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*QueryGetPlanetResponse) + x := input.Message.Interface().(*QueryGetProviderRequest) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -21312,45 +32367,10 @@ func (x *fastReflection_QueryGetPlanetResponse) ProtoMethods() *protoiface.Metho i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if x.PlanetAttributes != nil { - encoded, err := options.Marshal(x.PlanetAttributes) - 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] = 0x1a - } - if x.GridAttributes != nil { - encoded, err := options.Marshal(x.GridAttributes) - 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 x.Planet != nil { - encoded, err := options.Marshal(x.Planet) - 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))) + if len(x.Id) > 0 { + i -= len(x.Id) + copy(dAtA[i:], x.Id) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Id))) i-- dAtA[i] = 0xa } @@ -21365,7 +32385,7 @@ func (x *fastReflection_QueryGetPlanetResponse) ProtoMethods() *protoiface.Metho }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*QueryGetPlanetResponse) + x := input.Message.Interface().(*QueryGetProviderRequest) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -21397,89 +32417,17 @@ func (x *fastReflection_QueryGetPlanetResponse) ProtoMethods() *protoiface.Metho fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryGetPlanetResponse: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryGetProviderRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryGetPlanetResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryGetProviderRequest: 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 Planet", 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.Planet == nil { - x.Planet = &Planet{} - } - if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Planet); err != nil { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field GridAttributes", 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.GridAttributes == nil { - x.GridAttributes = &GridAttributes{} - } - if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.GridAttributes); err != nil { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field PlanetAttributes", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -21489,27 +32437,23 @@ func (x *fastReflection_QueryGetPlanetResponse) ProtoMethods() *protoiface.Metho } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength } - postIndex := iNdEx + msglen + 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 } - if x.PlanetAttributes == nil { - x.PlanetAttributes = &PlanetAttributes{} - } - if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.PlanetAttributes); err != nil { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err - } + x.Id = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -21547,26 +32491,28 @@ func (x *fastReflection_QueryGetPlanetResponse) ProtoMethods() *protoiface.Metho } var ( - md_QueryAllPlanetRequest protoreflect.MessageDescriptor - fd_QueryAllPlanetRequest_pagination protoreflect.FieldDescriptor + md_QueryGetProviderResponse protoreflect.MessageDescriptor + fd_QueryGetProviderResponse_Provider protoreflect.FieldDescriptor + fd_QueryGetProviderResponse_gridAttributes protoreflect.FieldDescriptor ) func init() { file_structs_structs_query_proto_init() - md_QueryAllPlanetRequest = File_structs_structs_query_proto.Messages().ByName("QueryAllPlanetRequest") - fd_QueryAllPlanetRequest_pagination = md_QueryAllPlanetRequest.Fields().ByName("pagination") + md_QueryGetProviderResponse = File_structs_structs_query_proto.Messages().ByName("QueryGetProviderResponse") + fd_QueryGetProviderResponse_Provider = md_QueryGetProviderResponse.Fields().ByName("Provider") + fd_QueryGetProviderResponse_gridAttributes = md_QueryGetProviderResponse.Fields().ByName("gridAttributes") } -var _ protoreflect.Message = (*fastReflection_QueryAllPlanetRequest)(nil) +var _ protoreflect.Message = (*fastReflection_QueryGetProviderResponse)(nil) -type fastReflection_QueryAllPlanetRequest QueryAllPlanetRequest +type fastReflection_QueryGetProviderResponse QueryGetProviderResponse -func (x *QueryAllPlanetRequest) ProtoReflect() protoreflect.Message { - return (*fastReflection_QueryAllPlanetRequest)(x) +func (x *QueryGetProviderResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_QueryGetProviderResponse)(x) } -func (x *QueryAllPlanetRequest) slowProtoReflect() protoreflect.Message { - mi := &file_structs_structs_query_proto_msgTypes[45] +func (x *QueryGetProviderResponse) slowProtoReflect() protoreflect.Message { + mi := &file_structs_structs_query_proto_msgTypes[68] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -21577,43 +32523,43 @@ func (x *QueryAllPlanetRequest) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_QueryAllPlanetRequest_messageType fastReflection_QueryAllPlanetRequest_messageType -var _ protoreflect.MessageType = fastReflection_QueryAllPlanetRequest_messageType{} +var _fastReflection_QueryGetProviderResponse_messageType fastReflection_QueryGetProviderResponse_messageType +var _ protoreflect.MessageType = fastReflection_QueryGetProviderResponse_messageType{} -type fastReflection_QueryAllPlanetRequest_messageType struct{} +type fastReflection_QueryGetProviderResponse_messageType struct{} -func (x fastReflection_QueryAllPlanetRequest_messageType) Zero() protoreflect.Message { - return (*fastReflection_QueryAllPlanetRequest)(nil) +func (x fastReflection_QueryGetProviderResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_QueryGetProviderResponse)(nil) } -func (x fastReflection_QueryAllPlanetRequest_messageType) New() protoreflect.Message { - return new(fastReflection_QueryAllPlanetRequest) +func (x fastReflection_QueryGetProviderResponse_messageType) New() protoreflect.Message { + return new(fastReflection_QueryGetProviderResponse) } -func (x fastReflection_QueryAllPlanetRequest_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_QueryAllPlanetRequest +func (x fastReflection_QueryGetProviderResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_QueryGetProviderResponse } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_QueryAllPlanetRequest) Descriptor() protoreflect.MessageDescriptor { - return md_QueryAllPlanetRequest +func (x *fastReflection_QueryGetProviderResponse) Descriptor() protoreflect.MessageDescriptor { + return md_QueryGetProviderResponse } // 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_QueryAllPlanetRequest) Type() protoreflect.MessageType { - return _fastReflection_QueryAllPlanetRequest_messageType +func (x *fastReflection_QueryGetProviderResponse) Type() protoreflect.MessageType { + return _fastReflection_QueryGetProviderResponse_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_QueryAllPlanetRequest) New() protoreflect.Message { - return new(fastReflection_QueryAllPlanetRequest) +func (x *fastReflection_QueryGetProviderResponse) New() protoreflect.Message { + return new(fastReflection_QueryGetProviderResponse) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_QueryAllPlanetRequest) Interface() protoreflect.ProtoMessage { - return (*QueryAllPlanetRequest)(x) +func (x *fastReflection_QueryGetProviderResponse) Interface() protoreflect.ProtoMessage { + return (*QueryGetProviderResponse)(x) } // Range iterates over every populated field in an undefined order, @@ -21621,10 +32567,16 @@ func (x *fastReflection_QueryAllPlanetRequest) Interface() protoreflect.ProtoMes // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_QueryAllPlanetRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.Pagination != nil { - value := protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) - if !f(fd_QueryAllPlanetRequest_pagination, value) { +func (x *fastReflection_QueryGetProviderResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Provider != nil { + value := protoreflect.ValueOfMessage(x.Provider.ProtoReflect()) + if !f(fd_QueryGetProviderResponse_Provider, value) { + return + } + } + if x.GridAttributes != nil { + value := protoreflect.ValueOfMessage(x.GridAttributes.ProtoReflect()) + if !f(fd_QueryGetProviderResponse_gridAttributes, value) { return } } @@ -21641,15 +32593,17 @@ func (x *fastReflection_QueryAllPlanetRequest) Range(f func(protoreflect.FieldDe // 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_QueryAllPlanetRequest) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_QueryGetProviderResponse) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.QueryAllPlanetRequest.pagination": - return x.Pagination != nil + case "structs.structs.QueryGetProviderResponse.Provider": + return x.Provider != nil + case "structs.structs.QueryGetProviderResponse.gridAttributes": + return x.GridAttributes != nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPlanetRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetProviderResponse")) } - panic(fmt.Errorf("message structs.structs.QueryAllPlanetRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetProviderResponse does not contain field %s", fd.FullName())) } } @@ -21659,15 +32613,17 @@ func (x *fastReflection_QueryAllPlanetRequest) Has(fd protoreflect.FieldDescript // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAllPlanetRequest) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_QueryGetProviderResponse) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.QueryAllPlanetRequest.pagination": - x.Pagination = nil + case "structs.structs.QueryGetProviderResponse.Provider": + x.Provider = nil + case "structs.structs.QueryGetProviderResponse.gridAttributes": + x.GridAttributes = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPlanetRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetProviderResponse")) } - panic(fmt.Errorf("message structs.structs.QueryAllPlanetRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetProviderResponse does not contain field %s", fd.FullName())) } } @@ -21677,16 +32633,19 @@ func (x *fastReflection_QueryAllPlanetRequest) Clear(fd protoreflect.FieldDescri // 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_QueryAllPlanetRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryGetProviderResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.QueryAllPlanetRequest.pagination": - value := x.Pagination + case "structs.structs.QueryGetProviderResponse.Provider": + value := x.Provider + return protoreflect.ValueOfMessage(value.ProtoReflect()) + case "structs.structs.QueryGetProviderResponse.gridAttributes": + value := x.GridAttributes return protoreflect.ValueOfMessage(value.ProtoReflect()) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPlanetRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetProviderResponse")) } - panic(fmt.Errorf("message structs.structs.QueryAllPlanetRequest does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetProviderResponse does not contain field %s", descriptor.FullName())) } } @@ -21700,15 +32659,17 @@ func (x *fastReflection_QueryAllPlanetRequest) Get(descriptor protoreflect.Field // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAllPlanetRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_QueryGetProviderResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.QueryAllPlanetRequest.pagination": - x.Pagination = value.Message().Interface().(*v1beta1.PageRequest) + case "structs.structs.QueryGetProviderResponse.Provider": + x.Provider = value.Message().Interface().(*Provider) + case "structs.structs.QueryGetProviderResponse.gridAttributes": + x.GridAttributes = value.Message().Interface().(*GridAttributes) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPlanetRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetProviderResponse")) } - panic(fmt.Errorf("message structs.structs.QueryAllPlanetRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetProviderResponse does not contain field %s", fd.FullName())) } } @@ -21722,44 +32683,52 @@ func (x *fastReflection_QueryAllPlanetRequest) Set(fd protoreflect.FieldDescript // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAllPlanetRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryGetProviderResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.QueryAllPlanetRequest.pagination": - if x.Pagination == nil { - x.Pagination = new(v1beta1.PageRequest) + case "structs.structs.QueryGetProviderResponse.Provider": + if x.Provider == nil { + x.Provider = new(Provider) } - return protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) + return protoreflect.ValueOfMessage(x.Provider.ProtoReflect()) + case "structs.structs.QueryGetProviderResponse.gridAttributes": + if x.GridAttributes == nil { + x.GridAttributes = new(GridAttributes) + } + return protoreflect.ValueOfMessage(x.GridAttributes.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPlanetRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetProviderResponse")) } - panic(fmt.Errorf("message structs.structs.QueryAllPlanetRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetProviderResponse 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_QueryAllPlanetRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryGetProviderResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.QueryAllPlanetRequest.pagination": - m := new(v1beta1.PageRequest) + case "structs.structs.QueryGetProviderResponse.Provider": + m := new(Provider) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + case "structs.structs.QueryGetProviderResponse.gridAttributes": + m := new(GridAttributes) return protoreflect.ValueOfMessage(m.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPlanetRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetProviderResponse")) } - panic(fmt.Errorf("message structs.structs.QueryAllPlanetRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetProviderResponse 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_QueryAllPlanetRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_QueryGetProviderResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryAllPlanetRequest", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryGetProviderResponse", d.FullName())) } panic("unreachable") } @@ -21767,7 +32736,7 @@ func (x *fastReflection_QueryAllPlanetRequest) WhichOneof(d protoreflect.OneofDe // 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_QueryAllPlanetRequest) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_QueryGetProviderResponse) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -21778,7 +32747,7 @@ func (x *fastReflection_QueryAllPlanetRequest) GetUnknown() protoreflect.RawFiel // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAllPlanetRequest) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_QueryGetProviderResponse) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -21790,7 +32759,7 @@ func (x *fastReflection_QueryAllPlanetRequest) SetUnknown(fields protoreflect.Ra // 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_QueryAllPlanetRequest) IsValid() bool { +func (x *fastReflection_QueryGetProviderResponse) IsValid() bool { return x != nil } @@ -21800,9 +32769,9 @@ func (x *fastReflection_QueryAllPlanetRequest) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_QueryAllPlanetRequest) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_QueryGetProviderResponse) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*QueryAllPlanetRequest) + x := input.Message.Interface().(*QueryGetProviderResponse) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -21814,8 +32783,12 @@ func (x *fastReflection_QueryAllPlanetRequest) ProtoMethods() *protoiface.Method var n int var l int _ = l - if x.Pagination != nil { - l = options.Size(x.Pagination) + if x.Provider != nil { + l = options.Size(x.Provider) + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.GridAttributes != nil { + l = options.Size(x.GridAttributes) n += 1 + l + runtime.Sov(uint64(l)) } if x.unknownFields != nil { @@ -21828,7 +32801,7 @@ func (x *fastReflection_QueryAllPlanetRequest) ProtoMethods() *protoiface.Method } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*QueryAllPlanetRequest) + x := input.Message.Interface().(*QueryGetProviderResponse) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -21847,8 +32820,22 @@ func (x *fastReflection_QueryAllPlanetRequest) ProtoMethods() *protoiface.Method i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if x.Pagination != nil { - encoded, err := options.Marshal(x.Pagination) + if x.GridAttributes != nil { + encoded, err := options.Marshal(x.GridAttributes) + 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 x.Provider != nil { + encoded, err := options.Marshal(x.Provider) if err != nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -21872,7 +32859,7 @@ func (x *fastReflection_QueryAllPlanetRequest) ProtoMethods() *protoiface.Method }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*QueryAllPlanetRequest) + x := input.Message.Interface().(*QueryGetProviderResponse) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -21904,15 +32891,15 @@ func (x *fastReflection_QueryAllPlanetRequest) ProtoMethods() *protoiface.Method fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllPlanetRequest: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryGetProviderResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllPlanetRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryGetProviderResponse: 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 Pagination", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Provider", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -21939,10 +32926,46 @@ func (x *fastReflection_QueryAllPlanetRequest) ProtoMethods() *protoiface.Method if postIndex > l { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - if x.Pagination == nil { - x.Pagination = &v1beta1.PageRequest{} + if x.Provider == nil { + x.Provider = &Provider{} } - if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Pagination); err != nil { + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Provider); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field GridAttributes", 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.GridAttributes == nil { + x.GridAttributes = &GridAttributes{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.GridAttributes); err != nil { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err } iNdEx = postIndex @@ -21982,28 +33005,26 @@ func (x *fastReflection_QueryAllPlanetRequest) ProtoMethods() *protoiface.Method } var ( - md_QueryAllPlanetByPlayerRequest protoreflect.MessageDescriptor - fd_QueryAllPlanetByPlayerRequest_playerId protoreflect.FieldDescriptor - fd_QueryAllPlanetByPlayerRequest_pagination protoreflect.FieldDescriptor + md_QueryAllProviderRequest protoreflect.MessageDescriptor + fd_QueryAllProviderRequest_pagination protoreflect.FieldDescriptor ) func init() { file_structs_structs_query_proto_init() - md_QueryAllPlanetByPlayerRequest = File_structs_structs_query_proto.Messages().ByName("QueryAllPlanetByPlayerRequest") - fd_QueryAllPlanetByPlayerRequest_playerId = md_QueryAllPlanetByPlayerRequest.Fields().ByName("playerId") - fd_QueryAllPlanetByPlayerRequest_pagination = md_QueryAllPlanetByPlayerRequest.Fields().ByName("pagination") + md_QueryAllProviderRequest = File_structs_structs_query_proto.Messages().ByName("QueryAllProviderRequest") + fd_QueryAllProviderRequest_pagination = md_QueryAllProviderRequest.Fields().ByName("pagination") } -var _ protoreflect.Message = (*fastReflection_QueryAllPlanetByPlayerRequest)(nil) +var _ protoreflect.Message = (*fastReflection_QueryAllProviderRequest)(nil) -type fastReflection_QueryAllPlanetByPlayerRequest QueryAllPlanetByPlayerRequest +type fastReflection_QueryAllProviderRequest QueryAllProviderRequest -func (x *QueryAllPlanetByPlayerRequest) ProtoReflect() protoreflect.Message { - return (*fastReflection_QueryAllPlanetByPlayerRequest)(x) +func (x *QueryAllProviderRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_QueryAllProviderRequest)(x) } -func (x *QueryAllPlanetByPlayerRequest) slowProtoReflect() protoreflect.Message { - mi := &file_structs_structs_query_proto_msgTypes[46] +func (x *QueryAllProviderRequest) slowProtoReflect() protoreflect.Message { + mi := &file_structs_structs_query_proto_msgTypes[69] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -22014,43 +33035,43 @@ func (x *QueryAllPlanetByPlayerRequest) slowProtoReflect() protoreflect.Message return mi.MessageOf(x) } -var _fastReflection_QueryAllPlanetByPlayerRequest_messageType fastReflection_QueryAllPlanetByPlayerRequest_messageType -var _ protoreflect.MessageType = fastReflection_QueryAllPlanetByPlayerRequest_messageType{} +var _fastReflection_QueryAllProviderRequest_messageType fastReflection_QueryAllProviderRequest_messageType +var _ protoreflect.MessageType = fastReflection_QueryAllProviderRequest_messageType{} -type fastReflection_QueryAllPlanetByPlayerRequest_messageType struct{} +type fastReflection_QueryAllProviderRequest_messageType struct{} -func (x fastReflection_QueryAllPlanetByPlayerRequest_messageType) Zero() protoreflect.Message { - return (*fastReflection_QueryAllPlanetByPlayerRequest)(nil) +func (x fastReflection_QueryAllProviderRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_QueryAllProviderRequest)(nil) } -func (x fastReflection_QueryAllPlanetByPlayerRequest_messageType) New() protoreflect.Message { - return new(fastReflection_QueryAllPlanetByPlayerRequest) +func (x fastReflection_QueryAllProviderRequest_messageType) New() protoreflect.Message { + return new(fastReflection_QueryAllProviderRequest) } -func (x fastReflection_QueryAllPlanetByPlayerRequest_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_QueryAllPlanetByPlayerRequest +func (x fastReflection_QueryAllProviderRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_QueryAllProviderRequest } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_QueryAllPlanetByPlayerRequest) Descriptor() protoreflect.MessageDescriptor { - return md_QueryAllPlanetByPlayerRequest +func (x *fastReflection_QueryAllProviderRequest) Descriptor() protoreflect.MessageDescriptor { + return md_QueryAllProviderRequest } // 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_QueryAllPlanetByPlayerRequest) Type() protoreflect.MessageType { - return _fastReflection_QueryAllPlanetByPlayerRequest_messageType +func (x *fastReflection_QueryAllProviderRequest) Type() protoreflect.MessageType { + return _fastReflection_QueryAllProviderRequest_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_QueryAllPlanetByPlayerRequest) New() protoreflect.Message { - return new(fastReflection_QueryAllPlanetByPlayerRequest) +func (x *fastReflection_QueryAllProviderRequest) New() protoreflect.Message { + return new(fastReflection_QueryAllProviderRequest) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_QueryAllPlanetByPlayerRequest) Interface() protoreflect.ProtoMessage { - return (*QueryAllPlanetByPlayerRequest)(x) +func (x *fastReflection_QueryAllProviderRequest) Interface() protoreflect.ProtoMessage { + return (*QueryAllProviderRequest)(x) } // Range iterates over every populated field in an undefined order, @@ -22058,16 +33079,10 @@ func (x *fastReflection_QueryAllPlanetByPlayerRequest) Interface() protoreflect. // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_QueryAllPlanetByPlayerRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.PlayerId != "" { - value := protoreflect.ValueOfString(x.PlayerId) - if !f(fd_QueryAllPlanetByPlayerRequest_playerId, value) { - return - } - } +func (x *fastReflection_QueryAllProviderRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { if x.Pagination != nil { value := protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) - if !f(fd_QueryAllPlanetByPlayerRequest_pagination, value) { + if !f(fd_QueryAllProviderRequest_pagination, value) { return } } @@ -22084,17 +33099,15 @@ func (x *fastReflection_QueryAllPlanetByPlayerRequest) Range(f func(protoreflect // 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_QueryAllPlanetByPlayerRequest) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_QueryAllProviderRequest) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.QueryAllPlanetByPlayerRequest.playerId": - return x.PlayerId != "" - case "structs.structs.QueryAllPlanetByPlayerRequest.pagination": + case "structs.structs.QueryAllProviderRequest.pagination": return x.Pagination != nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPlanetByPlayerRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllProviderRequest")) } - panic(fmt.Errorf("message structs.structs.QueryAllPlanetByPlayerRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllProviderRequest does not contain field %s", fd.FullName())) } } @@ -22104,17 +33117,15 @@ func (x *fastReflection_QueryAllPlanetByPlayerRequest) Has(fd protoreflect.Field // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAllPlanetByPlayerRequest) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_QueryAllProviderRequest) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.QueryAllPlanetByPlayerRequest.playerId": - x.PlayerId = "" - case "structs.structs.QueryAllPlanetByPlayerRequest.pagination": + case "structs.structs.QueryAllProviderRequest.pagination": x.Pagination = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPlanetByPlayerRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllProviderRequest")) } - panic(fmt.Errorf("message structs.structs.QueryAllPlanetByPlayerRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllProviderRequest does not contain field %s", fd.FullName())) } } @@ -22124,19 +33135,16 @@ func (x *fastReflection_QueryAllPlanetByPlayerRequest) Clear(fd protoreflect.Fie // 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_QueryAllPlanetByPlayerRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryAllProviderRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.QueryAllPlanetByPlayerRequest.playerId": - value := x.PlayerId - return protoreflect.ValueOfString(value) - case "structs.structs.QueryAllPlanetByPlayerRequest.pagination": + case "structs.structs.QueryAllProviderRequest.pagination": value := x.Pagination return protoreflect.ValueOfMessage(value.ProtoReflect()) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPlanetByPlayerRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllProviderRequest")) } - panic(fmt.Errorf("message structs.structs.QueryAllPlanetByPlayerRequest does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllProviderRequest does not contain field %s", descriptor.FullName())) } } @@ -22150,17 +33158,15 @@ func (x *fastReflection_QueryAllPlanetByPlayerRequest) Get(descriptor protorefle // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAllPlanetByPlayerRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_QueryAllProviderRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.QueryAllPlanetByPlayerRequest.playerId": - x.PlayerId = value.Interface().(string) - case "structs.structs.QueryAllPlanetByPlayerRequest.pagination": + case "structs.structs.QueryAllProviderRequest.pagination": x.Pagination = value.Message().Interface().(*v1beta1.PageRequest) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPlanetByPlayerRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllProviderRequest")) } - panic(fmt.Errorf("message structs.structs.QueryAllPlanetByPlayerRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllProviderRequest does not contain field %s", fd.FullName())) } } @@ -22174,48 +33180,44 @@ func (x *fastReflection_QueryAllPlanetByPlayerRequest) Set(fd protoreflect.Field // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAllPlanetByPlayerRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryAllProviderRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.QueryAllPlanetByPlayerRequest.pagination": + case "structs.structs.QueryAllProviderRequest.pagination": if x.Pagination == nil { x.Pagination = new(v1beta1.PageRequest) } return protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) - case "structs.structs.QueryAllPlanetByPlayerRequest.playerId": - panic(fmt.Errorf("field playerId of message structs.structs.QueryAllPlanetByPlayerRequest is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPlanetByPlayerRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllProviderRequest")) } - panic(fmt.Errorf("message structs.structs.QueryAllPlanetByPlayerRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllProviderRequest 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_QueryAllPlanetByPlayerRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryAllProviderRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.QueryAllPlanetByPlayerRequest.playerId": - return protoreflect.ValueOfString("") - case "structs.structs.QueryAllPlanetByPlayerRequest.pagination": + case "structs.structs.QueryAllProviderRequest.pagination": m := new(v1beta1.PageRequest) return protoreflect.ValueOfMessage(m.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPlanetByPlayerRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllProviderRequest")) } - panic(fmt.Errorf("message structs.structs.QueryAllPlanetByPlayerRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllProviderRequest 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_QueryAllPlanetByPlayerRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_QueryAllProviderRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryAllPlanetByPlayerRequest", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryAllProviderRequest", d.FullName())) } panic("unreachable") } @@ -22223,7 +33225,7 @@ func (x *fastReflection_QueryAllPlanetByPlayerRequest) WhichOneof(d protoreflect // 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_QueryAllPlanetByPlayerRequest) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_QueryAllProviderRequest) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -22234,7 +33236,7 @@ func (x *fastReflection_QueryAllPlanetByPlayerRequest) GetUnknown() protoreflect // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAllPlanetByPlayerRequest) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_QueryAllProviderRequest) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -22246,7 +33248,7 @@ func (x *fastReflection_QueryAllPlanetByPlayerRequest) SetUnknown(fields protore // 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_QueryAllPlanetByPlayerRequest) IsValid() bool { +func (x *fastReflection_QueryAllProviderRequest) IsValid() bool { return x != nil } @@ -22256,9 +33258,9 @@ func (x *fastReflection_QueryAllPlanetByPlayerRequest) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_QueryAllPlanetByPlayerRequest) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_QueryAllProviderRequest) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*QueryAllPlanetByPlayerRequest) + x := input.Message.Interface().(*QueryAllProviderRequest) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -22270,10 +33272,6 @@ func (x *fastReflection_QueryAllPlanetByPlayerRequest) ProtoMethods() *protoifac var n int var l int _ = l - l = len(x.PlayerId) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } if x.Pagination != nil { l = options.Size(x.Pagination) n += 1 + l + runtime.Sov(uint64(l)) @@ -22288,7 +33286,7 @@ func (x *fastReflection_QueryAllPlanetByPlayerRequest) ProtoMethods() *protoifac } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*QueryAllPlanetByPlayerRequest) + x := input.Message.Interface().(*QueryAllProviderRequest) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -22319,13 +33317,6 @@ func (x *fastReflection_QueryAllPlanetByPlayerRequest) ProtoMethods() *protoifac copy(dAtA[i:], encoded) i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) i-- - dAtA[i] = 0x12 - } - if len(x.PlayerId) > 0 { - i -= len(x.PlayerId) - copy(dAtA[i:], x.PlayerId) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.PlayerId))) - i-- dAtA[i] = 0xa } if input.Buf != nil { @@ -22339,7 +33330,7 @@ func (x *fastReflection_QueryAllPlanetByPlayerRequest) ProtoMethods() *protoifac }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*QueryAllPlanetByPlayerRequest) + x := input.Message.Interface().(*QueryAllProviderRequest) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -22371,45 +33362,13 @@ func (x *fastReflection_QueryAllPlanetByPlayerRequest) ProtoMethods() *protoifac fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllPlanetByPlayerRequest: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllProviderRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllPlanetByPlayerRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllProviderRequest: 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 PlayerId", 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.PlayerId = 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 Pagination", wireType) } @@ -22480,80 +33439,80 @@ func (x *fastReflection_QueryAllPlanetByPlayerRequest) ProtoMethods() *protoifac } } -var _ protoreflect.List = (*_QueryAllPlanetResponse_1_list)(nil) +var _ protoreflect.List = (*_QueryAllProviderResponse_1_list)(nil) -type _QueryAllPlanetResponse_1_list struct { - list *[]*Planet +type _QueryAllProviderResponse_1_list struct { + list *[]*Provider } -func (x *_QueryAllPlanetResponse_1_list) Len() int { +func (x *_QueryAllProviderResponse_1_list) Len() int { if x.list == nil { return 0 } return len(*x.list) } -func (x *_QueryAllPlanetResponse_1_list) Get(i int) protoreflect.Value { +func (x *_QueryAllProviderResponse_1_list) Get(i int) protoreflect.Value { return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) } -func (x *_QueryAllPlanetResponse_1_list) Set(i int, value protoreflect.Value) { +func (x *_QueryAllProviderResponse_1_list) Set(i int, value protoreflect.Value) { valueUnwrapped := value.Message() - concreteValue := valueUnwrapped.Interface().(*Planet) + concreteValue := valueUnwrapped.Interface().(*Provider) (*x.list)[i] = concreteValue } -func (x *_QueryAllPlanetResponse_1_list) Append(value protoreflect.Value) { +func (x *_QueryAllProviderResponse_1_list) Append(value protoreflect.Value) { valueUnwrapped := value.Message() - concreteValue := valueUnwrapped.Interface().(*Planet) + concreteValue := valueUnwrapped.Interface().(*Provider) *x.list = append(*x.list, concreteValue) } -func (x *_QueryAllPlanetResponse_1_list) AppendMutable() protoreflect.Value { - v := new(Planet) +func (x *_QueryAllProviderResponse_1_list) AppendMutable() protoreflect.Value { + v := new(Provider) *x.list = append(*x.list, v) return protoreflect.ValueOfMessage(v.ProtoReflect()) } -func (x *_QueryAllPlanetResponse_1_list) Truncate(n int) { +func (x *_QueryAllProviderResponse_1_list) Truncate(n int) { for i := n; i < len(*x.list); i++ { (*x.list)[i] = nil } *x.list = (*x.list)[:n] } -func (x *_QueryAllPlanetResponse_1_list) NewElement() protoreflect.Value { - v := new(Planet) +func (x *_QueryAllProviderResponse_1_list) NewElement() protoreflect.Value { + v := new(Provider) return protoreflect.ValueOfMessage(v.ProtoReflect()) } -func (x *_QueryAllPlanetResponse_1_list) IsValid() bool { +func (x *_QueryAllProviderResponse_1_list) IsValid() bool { return x.list != nil } var ( - md_QueryAllPlanetResponse protoreflect.MessageDescriptor - fd_QueryAllPlanetResponse_Planet protoreflect.FieldDescriptor - fd_QueryAllPlanetResponse_pagination protoreflect.FieldDescriptor + md_QueryAllProviderResponse protoreflect.MessageDescriptor + fd_QueryAllProviderResponse_Provider protoreflect.FieldDescriptor + fd_QueryAllProviderResponse_pagination protoreflect.FieldDescriptor ) func init() { file_structs_structs_query_proto_init() - md_QueryAllPlanetResponse = File_structs_structs_query_proto.Messages().ByName("QueryAllPlanetResponse") - fd_QueryAllPlanetResponse_Planet = md_QueryAllPlanetResponse.Fields().ByName("Planet") - fd_QueryAllPlanetResponse_pagination = md_QueryAllPlanetResponse.Fields().ByName("pagination") + md_QueryAllProviderResponse = File_structs_structs_query_proto.Messages().ByName("QueryAllProviderResponse") + fd_QueryAllProviderResponse_Provider = md_QueryAllProviderResponse.Fields().ByName("Provider") + fd_QueryAllProviderResponse_pagination = md_QueryAllProviderResponse.Fields().ByName("pagination") } -var _ protoreflect.Message = (*fastReflection_QueryAllPlanetResponse)(nil) +var _ protoreflect.Message = (*fastReflection_QueryAllProviderResponse)(nil) -type fastReflection_QueryAllPlanetResponse QueryAllPlanetResponse +type fastReflection_QueryAllProviderResponse QueryAllProviderResponse -func (x *QueryAllPlanetResponse) ProtoReflect() protoreflect.Message { - return (*fastReflection_QueryAllPlanetResponse)(x) +func (x *QueryAllProviderResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_QueryAllProviderResponse)(x) } -func (x *QueryAllPlanetResponse) slowProtoReflect() protoreflect.Message { - mi := &file_structs_structs_query_proto_msgTypes[47] +func (x *QueryAllProviderResponse) slowProtoReflect() protoreflect.Message { + mi := &file_structs_structs_query_proto_msgTypes[70] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -22564,43 +33523,43 @@ func (x *QueryAllPlanetResponse) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_QueryAllPlanetResponse_messageType fastReflection_QueryAllPlanetResponse_messageType -var _ protoreflect.MessageType = fastReflection_QueryAllPlanetResponse_messageType{} +var _fastReflection_QueryAllProviderResponse_messageType fastReflection_QueryAllProviderResponse_messageType +var _ protoreflect.MessageType = fastReflection_QueryAllProviderResponse_messageType{} -type fastReflection_QueryAllPlanetResponse_messageType struct{} +type fastReflection_QueryAllProviderResponse_messageType struct{} -func (x fastReflection_QueryAllPlanetResponse_messageType) Zero() protoreflect.Message { - return (*fastReflection_QueryAllPlanetResponse)(nil) +func (x fastReflection_QueryAllProviderResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_QueryAllProviderResponse)(nil) } -func (x fastReflection_QueryAllPlanetResponse_messageType) New() protoreflect.Message { - return new(fastReflection_QueryAllPlanetResponse) +func (x fastReflection_QueryAllProviderResponse_messageType) New() protoreflect.Message { + return new(fastReflection_QueryAllProviderResponse) } -func (x fastReflection_QueryAllPlanetResponse_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_QueryAllPlanetResponse +func (x fastReflection_QueryAllProviderResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_QueryAllProviderResponse } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_QueryAllPlanetResponse) Descriptor() protoreflect.MessageDescriptor { - return md_QueryAllPlanetResponse +func (x *fastReflection_QueryAllProviderResponse) Descriptor() protoreflect.MessageDescriptor { + return md_QueryAllProviderResponse } // 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_QueryAllPlanetResponse) Type() protoreflect.MessageType { - return _fastReflection_QueryAllPlanetResponse_messageType +func (x *fastReflection_QueryAllProviderResponse) Type() protoreflect.MessageType { + return _fastReflection_QueryAllProviderResponse_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_QueryAllPlanetResponse) New() protoreflect.Message { - return new(fastReflection_QueryAllPlanetResponse) +func (x *fastReflection_QueryAllProviderResponse) New() protoreflect.Message { + return new(fastReflection_QueryAllProviderResponse) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_QueryAllPlanetResponse) Interface() protoreflect.ProtoMessage { - return (*QueryAllPlanetResponse)(x) +func (x *fastReflection_QueryAllProviderResponse) Interface() protoreflect.ProtoMessage { + return (*QueryAllProviderResponse)(x) } // Range iterates over every populated field in an undefined order, @@ -22608,16 +33567,16 @@ func (x *fastReflection_QueryAllPlanetResponse) Interface() protoreflect.ProtoMe // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_QueryAllPlanetResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if len(x.Planet) != 0 { - value := protoreflect.ValueOfList(&_QueryAllPlanetResponse_1_list{list: &x.Planet}) - if !f(fd_QueryAllPlanetResponse_Planet, value) { +func (x *fastReflection_QueryAllProviderResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if len(x.Provider) != 0 { + value := protoreflect.ValueOfList(&_QueryAllProviderResponse_1_list{list: &x.Provider}) + if !f(fd_QueryAllProviderResponse_Provider, value) { return } } if x.Pagination != nil { value := protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) - if !f(fd_QueryAllPlanetResponse_pagination, value) { + if !f(fd_QueryAllProviderResponse_pagination, value) { return } } @@ -22634,17 +33593,17 @@ func (x *fastReflection_QueryAllPlanetResponse) Range(f func(protoreflect.FieldD // 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_QueryAllPlanetResponse) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_QueryAllProviderResponse) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.QueryAllPlanetResponse.Planet": - return len(x.Planet) != 0 - case "structs.structs.QueryAllPlanetResponse.pagination": + case "structs.structs.QueryAllProviderResponse.Provider": + return len(x.Provider) != 0 + case "structs.structs.QueryAllProviderResponse.pagination": return x.Pagination != nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPlanetResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllProviderResponse")) } - panic(fmt.Errorf("message structs.structs.QueryAllPlanetResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllProviderResponse does not contain field %s", fd.FullName())) } } @@ -22654,17 +33613,17 @@ func (x *fastReflection_QueryAllPlanetResponse) Has(fd protoreflect.FieldDescrip // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAllPlanetResponse) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_QueryAllProviderResponse) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.QueryAllPlanetResponse.Planet": - x.Planet = nil - case "structs.structs.QueryAllPlanetResponse.pagination": + case "structs.structs.QueryAllProviderResponse.Provider": + x.Provider = nil + case "structs.structs.QueryAllProviderResponse.pagination": x.Pagination = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPlanetResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllProviderResponse")) } - panic(fmt.Errorf("message structs.structs.QueryAllPlanetResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllProviderResponse does not contain field %s", fd.FullName())) } } @@ -22674,22 +33633,22 @@ func (x *fastReflection_QueryAllPlanetResponse) Clear(fd protoreflect.FieldDescr // 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_QueryAllPlanetResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryAllProviderResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.QueryAllPlanetResponse.Planet": - if len(x.Planet) == 0 { - return protoreflect.ValueOfList(&_QueryAllPlanetResponse_1_list{}) + case "structs.structs.QueryAllProviderResponse.Provider": + if len(x.Provider) == 0 { + return protoreflect.ValueOfList(&_QueryAllProviderResponse_1_list{}) } - listValue := &_QueryAllPlanetResponse_1_list{list: &x.Planet} + listValue := &_QueryAllProviderResponse_1_list{list: &x.Provider} return protoreflect.ValueOfList(listValue) - case "structs.structs.QueryAllPlanetResponse.pagination": + case "structs.structs.QueryAllProviderResponse.pagination": value := x.Pagination return protoreflect.ValueOfMessage(value.ProtoReflect()) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPlanetResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllProviderResponse")) } - panic(fmt.Errorf("message structs.structs.QueryAllPlanetResponse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllProviderResponse does not contain field %s", descriptor.FullName())) } } @@ -22703,19 +33662,19 @@ func (x *fastReflection_QueryAllPlanetResponse) Get(descriptor protoreflect.Fiel // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAllPlanetResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_QueryAllProviderResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.QueryAllPlanetResponse.Planet": + case "structs.structs.QueryAllProviderResponse.Provider": lv := value.List() - clv := lv.(*_QueryAllPlanetResponse_1_list) - x.Planet = *clv.list - case "structs.structs.QueryAllPlanetResponse.pagination": + clv := lv.(*_QueryAllProviderResponse_1_list) + x.Provider = *clv.list + case "structs.structs.QueryAllProviderResponse.pagination": x.Pagination = value.Message().Interface().(*v1beta1.PageResponse) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPlanetResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllProviderResponse")) } - panic(fmt.Errorf("message structs.structs.QueryAllPlanetResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllProviderResponse does not contain field %s", fd.FullName())) } } @@ -22729,53 +33688,53 @@ func (x *fastReflection_QueryAllPlanetResponse) Set(fd protoreflect.FieldDescrip // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAllPlanetResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryAllProviderResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.QueryAllPlanetResponse.Planet": - if x.Planet == nil { - x.Planet = []*Planet{} + case "structs.structs.QueryAllProviderResponse.Provider": + if x.Provider == nil { + x.Provider = []*Provider{} } - value := &_QueryAllPlanetResponse_1_list{list: &x.Planet} + value := &_QueryAllProviderResponse_1_list{list: &x.Provider} return protoreflect.ValueOfList(value) - case "structs.structs.QueryAllPlanetResponse.pagination": + case "structs.structs.QueryAllProviderResponse.pagination": if x.Pagination == nil { x.Pagination = new(v1beta1.PageResponse) } return protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPlanetResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllProviderResponse")) } - panic(fmt.Errorf("message structs.structs.QueryAllPlanetResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllProviderResponse 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_QueryAllPlanetResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryAllProviderResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.QueryAllPlanetResponse.Planet": - list := []*Planet{} - return protoreflect.ValueOfList(&_QueryAllPlanetResponse_1_list{list: &list}) - case "structs.structs.QueryAllPlanetResponse.pagination": + case "structs.structs.QueryAllProviderResponse.Provider": + list := []*Provider{} + return protoreflect.ValueOfList(&_QueryAllProviderResponse_1_list{list: &list}) + case "structs.structs.QueryAllProviderResponse.pagination": m := new(v1beta1.PageResponse) return protoreflect.ValueOfMessage(m.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPlanetResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllProviderResponse")) } - panic(fmt.Errorf("message structs.structs.QueryAllPlanetResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllProviderResponse 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_QueryAllPlanetResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_QueryAllProviderResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryAllPlanetResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryAllProviderResponse", d.FullName())) } panic("unreachable") } @@ -22783,7 +33742,7 @@ func (x *fastReflection_QueryAllPlanetResponse) WhichOneof(d protoreflect.OneofD // 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_QueryAllPlanetResponse) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_QueryAllProviderResponse) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -22794,7 +33753,7 @@ func (x *fastReflection_QueryAllPlanetResponse) GetUnknown() protoreflect.RawFie // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAllPlanetResponse) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_QueryAllProviderResponse) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -22806,7 +33765,7 @@ func (x *fastReflection_QueryAllPlanetResponse) SetUnknown(fields protoreflect.R // 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_QueryAllPlanetResponse) IsValid() bool { +func (x *fastReflection_QueryAllProviderResponse) IsValid() bool { return x != nil } @@ -22816,9 +33775,9 @@ func (x *fastReflection_QueryAllPlanetResponse) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_QueryAllPlanetResponse) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_QueryAllProviderResponse) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*QueryAllPlanetResponse) + x := input.Message.Interface().(*QueryAllProviderResponse) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -22830,8 +33789,8 @@ func (x *fastReflection_QueryAllPlanetResponse) ProtoMethods() *protoiface.Metho var n int var l int _ = l - if len(x.Planet) > 0 { - for _, e := range x.Planet { + if len(x.Provider) > 0 { + for _, e := range x.Provider { l = options.Size(e) n += 1 + l + runtime.Sov(uint64(l)) } @@ -22850,7 +33809,7 @@ func (x *fastReflection_QueryAllPlanetResponse) ProtoMethods() *protoiface.Metho } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*QueryAllPlanetResponse) + x := input.Message.Interface().(*QueryAllProviderResponse) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -22883,9 +33842,9 @@ func (x *fastReflection_QueryAllPlanetResponse) ProtoMethods() *protoiface.Metho i-- dAtA[i] = 0x12 } - if len(x.Planet) > 0 { - for iNdEx := len(x.Planet) - 1; iNdEx >= 0; iNdEx-- { - encoded, err := options.Marshal(x.Planet[iNdEx]) + if len(x.Provider) > 0 { + for iNdEx := len(x.Provider) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.Provider[iNdEx]) if err != nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -22910,7 +33869,7 @@ func (x *fastReflection_QueryAllPlanetResponse) ProtoMethods() *protoiface.Metho }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*QueryAllPlanetResponse) + x := input.Message.Interface().(*QueryAllProviderResponse) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -22942,15 +33901,15 @@ func (x *fastReflection_QueryAllPlanetResponse) ProtoMethods() *protoiface.Metho fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllPlanetResponse: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllProviderResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllPlanetResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllProviderResponse: 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 Planet", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Provider", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -22977,8 +33936,8 @@ func (x *fastReflection_QueryAllPlanetResponse) ProtoMethods() *protoiface.Metho if postIndex > l { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - x.Planet = append(x.Planet, &Planet{}) - if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Planet[len(x.Planet)-1]); err != nil { + x.Provider = append(x.Provider, &Provider{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Provider[len(x.Provider)-1]); err != nil { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err } iNdEx = postIndex @@ -23054,28 +34013,26 @@ func (x *fastReflection_QueryAllPlanetResponse) ProtoMethods() *protoiface.Metho } var ( - md_QueryGetPlanetAttributeRequest protoreflect.MessageDescriptor - fd_QueryGetPlanetAttributeRequest_planetId protoreflect.FieldDescriptor - fd_QueryGetPlanetAttributeRequest_attributeType protoreflect.FieldDescriptor + md_QueryGetProviderCollateralAddressRequest protoreflect.MessageDescriptor + fd_QueryGetProviderCollateralAddressRequest_providerId protoreflect.FieldDescriptor ) func init() { file_structs_structs_query_proto_init() - md_QueryGetPlanetAttributeRequest = File_structs_structs_query_proto.Messages().ByName("QueryGetPlanetAttributeRequest") - fd_QueryGetPlanetAttributeRequest_planetId = md_QueryGetPlanetAttributeRequest.Fields().ByName("planetId") - fd_QueryGetPlanetAttributeRequest_attributeType = md_QueryGetPlanetAttributeRequest.Fields().ByName("attributeType") + md_QueryGetProviderCollateralAddressRequest = File_structs_structs_query_proto.Messages().ByName("QueryGetProviderCollateralAddressRequest") + fd_QueryGetProviderCollateralAddressRequest_providerId = md_QueryGetProviderCollateralAddressRequest.Fields().ByName("providerId") } -var _ protoreflect.Message = (*fastReflection_QueryGetPlanetAttributeRequest)(nil) +var _ protoreflect.Message = (*fastReflection_QueryGetProviderCollateralAddressRequest)(nil) -type fastReflection_QueryGetPlanetAttributeRequest QueryGetPlanetAttributeRequest +type fastReflection_QueryGetProviderCollateralAddressRequest QueryGetProviderCollateralAddressRequest -func (x *QueryGetPlanetAttributeRequest) ProtoReflect() protoreflect.Message { - return (*fastReflection_QueryGetPlanetAttributeRequest)(x) +func (x *QueryGetProviderCollateralAddressRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_QueryGetProviderCollateralAddressRequest)(x) } -func (x *QueryGetPlanetAttributeRequest) slowProtoReflect() protoreflect.Message { - mi := &file_structs_structs_query_proto_msgTypes[48] +func (x *QueryGetProviderCollateralAddressRequest) slowProtoReflect() protoreflect.Message { + mi := &file_structs_structs_query_proto_msgTypes[71] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -23086,43 +34043,43 @@ func (x *QueryGetPlanetAttributeRequest) slowProtoReflect() protoreflect.Message return mi.MessageOf(x) } -var _fastReflection_QueryGetPlanetAttributeRequest_messageType fastReflection_QueryGetPlanetAttributeRequest_messageType -var _ protoreflect.MessageType = fastReflection_QueryGetPlanetAttributeRequest_messageType{} +var _fastReflection_QueryGetProviderCollateralAddressRequest_messageType fastReflection_QueryGetProviderCollateralAddressRequest_messageType +var _ protoreflect.MessageType = fastReflection_QueryGetProviderCollateralAddressRequest_messageType{} -type fastReflection_QueryGetPlanetAttributeRequest_messageType struct{} +type fastReflection_QueryGetProviderCollateralAddressRequest_messageType struct{} -func (x fastReflection_QueryGetPlanetAttributeRequest_messageType) Zero() protoreflect.Message { - return (*fastReflection_QueryGetPlanetAttributeRequest)(nil) +func (x fastReflection_QueryGetProviderCollateralAddressRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_QueryGetProviderCollateralAddressRequest)(nil) } -func (x fastReflection_QueryGetPlanetAttributeRequest_messageType) New() protoreflect.Message { - return new(fastReflection_QueryGetPlanetAttributeRequest) +func (x fastReflection_QueryGetProviderCollateralAddressRequest_messageType) New() protoreflect.Message { + return new(fastReflection_QueryGetProviderCollateralAddressRequest) } -func (x fastReflection_QueryGetPlanetAttributeRequest_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_QueryGetPlanetAttributeRequest +func (x fastReflection_QueryGetProviderCollateralAddressRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_QueryGetProviderCollateralAddressRequest } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_QueryGetPlanetAttributeRequest) Descriptor() protoreflect.MessageDescriptor { - return md_QueryGetPlanetAttributeRequest +func (x *fastReflection_QueryGetProviderCollateralAddressRequest) Descriptor() protoreflect.MessageDescriptor { + return md_QueryGetProviderCollateralAddressRequest } // 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_QueryGetPlanetAttributeRequest) Type() protoreflect.MessageType { - return _fastReflection_QueryGetPlanetAttributeRequest_messageType +func (x *fastReflection_QueryGetProviderCollateralAddressRequest) Type() protoreflect.MessageType { + return _fastReflection_QueryGetProviderCollateralAddressRequest_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_QueryGetPlanetAttributeRequest) New() protoreflect.Message { - return new(fastReflection_QueryGetPlanetAttributeRequest) +func (x *fastReflection_QueryGetProviderCollateralAddressRequest) New() protoreflect.Message { + return new(fastReflection_QueryGetProviderCollateralAddressRequest) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_QueryGetPlanetAttributeRequest) Interface() protoreflect.ProtoMessage { - return (*QueryGetPlanetAttributeRequest)(x) +func (x *fastReflection_QueryGetProviderCollateralAddressRequest) Interface() protoreflect.ProtoMessage { + return (*QueryGetProviderCollateralAddressRequest)(x) } // Range iterates over every populated field in an undefined order, @@ -23130,16 +34087,10 @@ func (x *fastReflection_QueryGetPlanetAttributeRequest) Interface() protoreflect // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_QueryGetPlanetAttributeRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.PlanetId != "" { - value := protoreflect.ValueOfString(x.PlanetId) - if !f(fd_QueryGetPlanetAttributeRequest_planetId, value) { - return - } - } - if x.AttributeType != "" { - value := protoreflect.ValueOfString(x.AttributeType) - if !f(fd_QueryGetPlanetAttributeRequest_attributeType, value) { +func (x *fastReflection_QueryGetProviderCollateralAddressRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.ProviderId != "" { + value := protoreflect.ValueOfString(x.ProviderId) + if !f(fd_QueryGetProviderCollateralAddressRequest_providerId, value) { return } } @@ -23156,17 +34107,15 @@ func (x *fastReflection_QueryGetPlanetAttributeRequest) Range(f func(protoreflec // 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_QueryGetPlanetAttributeRequest) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_QueryGetProviderCollateralAddressRequest) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.QueryGetPlanetAttributeRequest.planetId": - return x.PlanetId != "" - case "structs.structs.QueryGetPlanetAttributeRequest.attributeType": - return x.AttributeType != "" + case "structs.structs.QueryGetProviderCollateralAddressRequest.providerId": + return x.ProviderId != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetPlanetAttributeRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetProviderCollateralAddressRequest")) } - panic(fmt.Errorf("message structs.structs.QueryGetPlanetAttributeRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetProviderCollateralAddressRequest does not contain field %s", fd.FullName())) } } @@ -23176,17 +34125,15 @@ func (x *fastReflection_QueryGetPlanetAttributeRequest) Has(fd protoreflect.Fiel // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryGetPlanetAttributeRequest) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_QueryGetProviderCollateralAddressRequest) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.QueryGetPlanetAttributeRequest.planetId": - x.PlanetId = "" - case "structs.structs.QueryGetPlanetAttributeRequest.attributeType": - x.AttributeType = "" + case "structs.structs.QueryGetProviderCollateralAddressRequest.providerId": + x.ProviderId = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetPlanetAttributeRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetProviderCollateralAddressRequest")) } - panic(fmt.Errorf("message structs.structs.QueryGetPlanetAttributeRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetProviderCollateralAddressRequest does not contain field %s", fd.FullName())) } } @@ -23196,19 +34143,16 @@ func (x *fastReflection_QueryGetPlanetAttributeRequest) Clear(fd protoreflect.Fi // 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_QueryGetPlanetAttributeRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryGetProviderCollateralAddressRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.QueryGetPlanetAttributeRequest.planetId": - value := x.PlanetId - return protoreflect.ValueOfString(value) - case "structs.structs.QueryGetPlanetAttributeRequest.attributeType": - value := x.AttributeType + case "structs.structs.QueryGetProviderCollateralAddressRequest.providerId": + value := x.ProviderId return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetPlanetAttributeRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetProviderCollateralAddressRequest")) } - panic(fmt.Errorf("message structs.structs.QueryGetPlanetAttributeRequest does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetProviderCollateralAddressRequest does not contain field %s", descriptor.FullName())) } } @@ -23222,17 +34166,15 @@ func (x *fastReflection_QueryGetPlanetAttributeRequest) Get(descriptor protorefl // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryGetPlanetAttributeRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_QueryGetProviderCollateralAddressRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.QueryGetPlanetAttributeRequest.planetId": - x.PlanetId = value.Interface().(string) - case "structs.structs.QueryGetPlanetAttributeRequest.attributeType": - x.AttributeType = value.Interface().(string) + case "structs.structs.QueryGetProviderCollateralAddressRequest.providerId": + x.ProviderId = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetPlanetAttributeRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetProviderCollateralAddressRequest")) } - panic(fmt.Errorf("message structs.structs.QueryGetPlanetAttributeRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetProviderCollateralAddressRequest does not contain field %s", fd.FullName())) } } @@ -23246,44 +34188,40 @@ func (x *fastReflection_QueryGetPlanetAttributeRequest) Set(fd protoreflect.Fiel // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryGetPlanetAttributeRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryGetProviderCollateralAddressRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.QueryGetPlanetAttributeRequest.planetId": - panic(fmt.Errorf("field planetId of message structs.structs.QueryGetPlanetAttributeRequest is not mutable")) - case "structs.structs.QueryGetPlanetAttributeRequest.attributeType": - panic(fmt.Errorf("field attributeType of message structs.structs.QueryGetPlanetAttributeRequest is not mutable")) + case "structs.structs.QueryGetProviderCollateralAddressRequest.providerId": + panic(fmt.Errorf("field providerId of message structs.structs.QueryGetProviderCollateralAddressRequest is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetPlanetAttributeRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetProviderCollateralAddressRequest")) } - panic(fmt.Errorf("message structs.structs.QueryGetPlanetAttributeRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetProviderCollateralAddressRequest 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_QueryGetPlanetAttributeRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryGetProviderCollateralAddressRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.QueryGetPlanetAttributeRequest.planetId": - return protoreflect.ValueOfString("") - case "structs.structs.QueryGetPlanetAttributeRequest.attributeType": + case "structs.structs.QueryGetProviderCollateralAddressRequest.providerId": return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetPlanetAttributeRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetProviderCollateralAddressRequest")) } - panic(fmt.Errorf("message structs.structs.QueryGetPlanetAttributeRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetProviderCollateralAddressRequest 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_QueryGetPlanetAttributeRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_QueryGetProviderCollateralAddressRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryGetPlanetAttributeRequest", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryGetProviderCollateralAddressRequest", d.FullName())) } panic("unreachable") } @@ -23291,7 +34229,7 @@ func (x *fastReflection_QueryGetPlanetAttributeRequest) WhichOneof(d protoreflec // 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_QueryGetPlanetAttributeRequest) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_QueryGetProviderCollateralAddressRequest) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -23302,7 +34240,7 @@ func (x *fastReflection_QueryGetPlanetAttributeRequest) GetUnknown() protoreflec // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryGetPlanetAttributeRequest) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_QueryGetProviderCollateralAddressRequest) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -23314,7 +34252,7 @@ func (x *fastReflection_QueryGetPlanetAttributeRequest) SetUnknown(fields protor // 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_QueryGetPlanetAttributeRequest) IsValid() bool { +func (x *fastReflection_QueryGetProviderCollateralAddressRequest) IsValid() bool { return x != nil } @@ -23324,9 +34262,9 @@ func (x *fastReflection_QueryGetPlanetAttributeRequest) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_QueryGetPlanetAttributeRequest) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_QueryGetProviderCollateralAddressRequest) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*QueryGetPlanetAttributeRequest) + x := input.Message.Interface().(*QueryGetProviderCollateralAddressRequest) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -23338,11 +34276,7 @@ func (x *fastReflection_QueryGetPlanetAttributeRequest) ProtoMethods() *protoifa var n int var l int _ = l - l = len(x.PlanetId) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } - l = len(x.AttributeType) + l = len(x.ProviderId) if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } @@ -23356,7 +34290,7 @@ func (x *fastReflection_QueryGetPlanetAttributeRequest) ProtoMethods() *protoifa } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*QueryGetPlanetAttributeRequest) + x := input.Message.Interface().(*QueryGetProviderCollateralAddressRequest) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -23375,17 +34309,10 @@ func (x *fastReflection_QueryGetPlanetAttributeRequest) ProtoMethods() *protoifa i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if len(x.AttributeType) > 0 { - i -= len(x.AttributeType) - copy(dAtA[i:], x.AttributeType) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.AttributeType))) - i-- - dAtA[i] = 0x12 - } - if len(x.PlanetId) > 0 { - i -= len(x.PlanetId) - copy(dAtA[i:], x.PlanetId) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.PlanetId))) + if len(x.ProviderId) > 0 { + i -= len(x.ProviderId) + copy(dAtA[i:], x.ProviderId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.ProviderId))) i-- dAtA[i] = 0xa } @@ -23400,7 +34327,7 @@ func (x *fastReflection_QueryGetPlanetAttributeRequest) ProtoMethods() *protoifa }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*QueryGetPlanetAttributeRequest) + x := input.Message.Interface().(*QueryGetProviderCollateralAddressRequest) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -23432,47 +34359,15 @@ func (x *fastReflection_QueryGetPlanetAttributeRequest) ProtoMethods() *protoifa fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryGetPlanetAttributeRequest: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryGetProviderCollateralAddressRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryGetPlanetAttributeRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryGetProviderCollateralAddressRequest: 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 PlanetId", 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.PlanetId = 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 AttributeType", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ProviderId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -23500,7 +34395,7 @@ func (x *fastReflection_QueryGetPlanetAttributeRequest) ProtoMethods() *protoifa if postIndex > l { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - x.AttributeType = string(dAtA[iNdEx:postIndex]) + x.ProviderId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -23538,26 +34433,26 @@ func (x *fastReflection_QueryGetPlanetAttributeRequest) ProtoMethods() *protoifa } var ( - md_QueryGetPlanetAttributeResponse protoreflect.MessageDescriptor - fd_QueryGetPlanetAttributeResponse_attribute protoreflect.FieldDescriptor + md_QueryAllProviderCollateralAddressRequest protoreflect.MessageDescriptor + fd_QueryAllProviderCollateralAddressRequest_pagination protoreflect.FieldDescriptor ) func init() { file_structs_structs_query_proto_init() - md_QueryGetPlanetAttributeResponse = File_structs_structs_query_proto.Messages().ByName("QueryGetPlanetAttributeResponse") - fd_QueryGetPlanetAttributeResponse_attribute = md_QueryGetPlanetAttributeResponse.Fields().ByName("attribute") + md_QueryAllProviderCollateralAddressRequest = File_structs_structs_query_proto.Messages().ByName("QueryAllProviderCollateralAddressRequest") + fd_QueryAllProviderCollateralAddressRequest_pagination = md_QueryAllProviderCollateralAddressRequest.Fields().ByName("pagination") } -var _ protoreflect.Message = (*fastReflection_QueryGetPlanetAttributeResponse)(nil) +var _ protoreflect.Message = (*fastReflection_QueryAllProviderCollateralAddressRequest)(nil) -type fastReflection_QueryGetPlanetAttributeResponse QueryGetPlanetAttributeResponse +type fastReflection_QueryAllProviderCollateralAddressRequest QueryAllProviderCollateralAddressRequest -func (x *QueryGetPlanetAttributeResponse) ProtoReflect() protoreflect.Message { - return (*fastReflection_QueryGetPlanetAttributeResponse)(x) +func (x *QueryAllProviderCollateralAddressRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_QueryAllProviderCollateralAddressRequest)(x) } -func (x *QueryGetPlanetAttributeResponse) slowProtoReflect() protoreflect.Message { - mi := &file_structs_structs_query_proto_msgTypes[49] +func (x *QueryAllProviderCollateralAddressRequest) slowProtoReflect() protoreflect.Message { + mi := &file_structs_structs_query_proto_msgTypes[72] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -23568,43 +34463,43 @@ func (x *QueryGetPlanetAttributeResponse) slowProtoReflect() protoreflect.Messag return mi.MessageOf(x) } -var _fastReflection_QueryGetPlanetAttributeResponse_messageType fastReflection_QueryGetPlanetAttributeResponse_messageType -var _ protoreflect.MessageType = fastReflection_QueryGetPlanetAttributeResponse_messageType{} +var _fastReflection_QueryAllProviderCollateralAddressRequest_messageType fastReflection_QueryAllProviderCollateralAddressRequest_messageType +var _ protoreflect.MessageType = fastReflection_QueryAllProviderCollateralAddressRequest_messageType{} -type fastReflection_QueryGetPlanetAttributeResponse_messageType struct{} +type fastReflection_QueryAllProviderCollateralAddressRequest_messageType struct{} -func (x fastReflection_QueryGetPlanetAttributeResponse_messageType) Zero() protoreflect.Message { - return (*fastReflection_QueryGetPlanetAttributeResponse)(nil) +func (x fastReflection_QueryAllProviderCollateralAddressRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_QueryAllProviderCollateralAddressRequest)(nil) } -func (x fastReflection_QueryGetPlanetAttributeResponse_messageType) New() protoreflect.Message { - return new(fastReflection_QueryGetPlanetAttributeResponse) +func (x fastReflection_QueryAllProviderCollateralAddressRequest_messageType) New() protoreflect.Message { + return new(fastReflection_QueryAllProviderCollateralAddressRequest) } -func (x fastReflection_QueryGetPlanetAttributeResponse_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_QueryGetPlanetAttributeResponse +func (x fastReflection_QueryAllProviderCollateralAddressRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_QueryAllProviderCollateralAddressRequest } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_QueryGetPlanetAttributeResponse) Descriptor() protoreflect.MessageDescriptor { - return md_QueryGetPlanetAttributeResponse +func (x *fastReflection_QueryAllProviderCollateralAddressRequest) Descriptor() protoreflect.MessageDescriptor { + return md_QueryAllProviderCollateralAddressRequest } // 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_QueryGetPlanetAttributeResponse) Type() protoreflect.MessageType { - return _fastReflection_QueryGetPlanetAttributeResponse_messageType +func (x *fastReflection_QueryAllProviderCollateralAddressRequest) Type() protoreflect.MessageType { + return _fastReflection_QueryAllProviderCollateralAddressRequest_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_QueryGetPlanetAttributeResponse) New() protoreflect.Message { - return new(fastReflection_QueryGetPlanetAttributeResponse) +func (x *fastReflection_QueryAllProviderCollateralAddressRequest) New() protoreflect.Message { + return new(fastReflection_QueryAllProviderCollateralAddressRequest) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_QueryGetPlanetAttributeResponse) Interface() protoreflect.ProtoMessage { - return (*QueryGetPlanetAttributeResponse)(x) +func (x *fastReflection_QueryAllProviderCollateralAddressRequest) Interface() protoreflect.ProtoMessage { + return (*QueryAllProviderCollateralAddressRequest)(x) } // Range iterates over every populated field in an undefined order, @@ -23612,10 +34507,10 @@ func (x *fastReflection_QueryGetPlanetAttributeResponse) Interface() protoreflec // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_QueryGetPlanetAttributeResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.Attribute != uint64(0) { - value := protoreflect.ValueOfUint64(x.Attribute) - if !f(fd_QueryGetPlanetAttributeResponse_attribute, value) { +func (x *fastReflection_QueryAllProviderCollateralAddressRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Pagination != nil { + value := protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) + if !f(fd_QueryAllProviderCollateralAddressRequest_pagination, value) { return } } @@ -23632,15 +34527,15 @@ func (x *fastReflection_QueryGetPlanetAttributeResponse) Range(f func(protorefle // 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_QueryGetPlanetAttributeResponse) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_QueryAllProviderCollateralAddressRequest) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.QueryGetPlanetAttributeResponse.attribute": - return x.Attribute != uint64(0) + case "structs.structs.QueryAllProviderCollateralAddressRequest.pagination": + return x.Pagination != nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetPlanetAttributeResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllProviderCollateralAddressRequest")) } - panic(fmt.Errorf("message structs.structs.QueryGetPlanetAttributeResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllProviderCollateralAddressRequest does not contain field %s", fd.FullName())) } } @@ -23650,15 +34545,15 @@ func (x *fastReflection_QueryGetPlanetAttributeResponse) Has(fd protoreflect.Fie // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryGetPlanetAttributeResponse) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_QueryAllProviderCollateralAddressRequest) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.QueryGetPlanetAttributeResponse.attribute": - x.Attribute = uint64(0) + case "structs.structs.QueryAllProviderCollateralAddressRequest.pagination": + x.Pagination = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetPlanetAttributeResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllProviderCollateralAddressRequest")) } - panic(fmt.Errorf("message structs.structs.QueryGetPlanetAttributeResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllProviderCollateralAddressRequest does not contain field %s", fd.FullName())) } } @@ -23668,16 +34563,16 @@ func (x *fastReflection_QueryGetPlanetAttributeResponse) Clear(fd protoreflect.F // 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_QueryGetPlanetAttributeResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryAllProviderCollateralAddressRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.QueryGetPlanetAttributeResponse.attribute": - value := x.Attribute - return protoreflect.ValueOfUint64(value) + case "structs.structs.QueryAllProviderCollateralAddressRequest.pagination": + value := x.Pagination + return protoreflect.ValueOfMessage(value.ProtoReflect()) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetPlanetAttributeResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllProviderCollateralAddressRequest")) } - panic(fmt.Errorf("message structs.structs.QueryGetPlanetAttributeResponse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllProviderCollateralAddressRequest does not contain field %s", descriptor.FullName())) } } @@ -23691,15 +34586,15 @@ func (x *fastReflection_QueryGetPlanetAttributeResponse) Get(descriptor protoref // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryGetPlanetAttributeResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_QueryAllProviderCollateralAddressRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.QueryGetPlanetAttributeResponse.attribute": - x.Attribute = value.Uint() + case "structs.structs.QueryAllProviderCollateralAddressRequest.pagination": + x.Pagination = value.Message().Interface().(*v1beta1.PageRequest) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetPlanetAttributeResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllProviderCollateralAddressRequest")) } - panic(fmt.Errorf("message structs.structs.QueryGetPlanetAttributeResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllProviderCollateralAddressRequest does not contain field %s", fd.FullName())) } } @@ -23713,40 +34608,44 @@ func (x *fastReflection_QueryGetPlanetAttributeResponse) Set(fd protoreflect.Fie // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryGetPlanetAttributeResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryAllProviderCollateralAddressRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.QueryGetPlanetAttributeResponse.attribute": - panic(fmt.Errorf("field attribute of message structs.structs.QueryGetPlanetAttributeResponse is not mutable")) + case "structs.structs.QueryAllProviderCollateralAddressRequest.pagination": + if x.Pagination == nil { + x.Pagination = new(v1beta1.PageRequest) + } + return protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetPlanetAttributeResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllProviderCollateralAddressRequest")) } - panic(fmt.Errorf("message structs.structs.QueryGetPlanetAttributeResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllProviderCollateralAddressRequest 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_QueryGetPlanetAttributeResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryAllProviderCollateralAddressRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.QueryGetPlanetAttributeResponse.attribute": - return protoreflect.ValueOfUint64(uint64(0)) + case "structs.structs.QueryAllProviderCollateralAddressRequest.pagination": + m := new(v1beta1.PageRequest) + return protoreflect.ValueOfMessage(m.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetPlanetAttributeResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllProviderCollateralAddressRequest")) } - panic(fmt.Errorf("message structs.structs.QueryGetPlanetAttributeResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllProviderCollateralAddressRequest 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_QueryGetPlanetAttributeResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_QueryAllProviderCollateralAddressRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryGetPlanetAttributeResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryAllProviderCollateralAddressRequest", d.FullName())) } panic("unreachable") } @@ -23754,7 +34653,7 @@ func (x *fastReflection_QueryGetPlanetAttributeResponse) WhichOneof(d protorefle // 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_QueryGetPlanetAttributeResponse) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_QueryAllProviderCollateralAddressRequest) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -23765,7 +34664,7 @@ func (x *fastReflection_QueryGetPlanetAttributeResponse) GetUnknown() protorefle // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryGetPlanetAttributeResponse) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_QueryAllProviderCollateralAddressRequest) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -23777,7 +34676,7 @@ func (x *fastReflection_QueryGetPlanetAttributeResponse) SetUnknown(fields proto // 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_QueryGetPlanetAttributeResponse) IsValid() bool { +func (x *fastReflection_QueryAllProviderCollateralAddressRequest) IsValid() bool { return x != nil } @@ -23787,9 +34686,9 @@ func (x *fastReflection_QueryGetPlanetAttributeResponse) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_QueryGetPlanetAttributeResponse) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_QueryAllProviderCollateralAddressRequest) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*QueryGetPlanetAttributeResponse) + x := input.Message.Interface().(*QueryAllProviderCollateralAddressRequest) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -23801,8 +34700,9 @@ func (x *fastReflection_QueryGetPlanetAttributeResponse) ProtoMethods() *protoif var n int var l int _ = l - if x.Attribute != 0 { - n += 1 + runtime.Sov(uint64(x.Attribute)) + if x.Pagination != nil { + l = options.Size(x.Pagination) + n += 1 + l + runtime.Sov(uint64(l)) } if x.unknownFields != nil { n += len(x.unknownFields) @@ -23814,7 +34714,7 @@ func (x *fastReflection_QueryGetPlanetAttributeResponse) ProtoMethods() *protoif } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*QueryGetPlanetAttributeResponse) + x := input.Message.Interface().(*QueryAllProviderCollateralAddressRequest) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -23833,10 +34733,19 @@ func (x *fastReflection_QueryGetPlanetAttributeResponse) ProtoMethods() *protoif i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if x.Attribute != 0 { - i = runtime.EncodeVarint(dAtA, i, uint64(x.Attribute)) + if x.Pagination != nil { + encoded, err := options.Marshal(x.Pagination) + 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] = 0x8 + dAtA[i] = 0xa } if input.Buf != nil { input.Buf = append(input.Buf, dAtA...) @@ -23849,7 +34758,7 @@ func (x *fastReflection_QueryGetPlanetAttributeResponse) ProtoMethods() *protoif }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*QueryGetPlanetAttributeResponse) + x := input.Message.Interface().(*QueryAllProviderCollateralAddressRequest) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -23881,17 +34790,17 @@ func (x *fastReflection_QueryGetPlanetAttributeResponse) ProtoMethods() *protoif fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryGetPlanetAttributeResponse: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllProviderCollateralAddressRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryGetPlanetAttributeResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllProviderCollateralAddressRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: - if wireType != 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Attribute", wireType) + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Pagination", wireType) } - x.Attribute = 0 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -23901,11 +34810,28 @@ func (x *fastReflection_QueryGetPlanetAttributeResponse) ProtoMethods() *protoif } b := dAtA[iNdEx] iNdEx++ - x.Attribute |= uint64(b&0x7F) << shift + 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.Pagination == nil { + x.Pagination = &v1beta1.PageRequest{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Pagination); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := runtime.Skip(dAtA[iNdEx:]) @@ -23941,27 +34867,80 @@ func (x *fastReflection_QueryGetPlanetAttributeResponse) ProtoMethods() *protoif } } +var _ protoreflect.List = (*_QueryAllProviderCollateralAddressResponse_1_list)(nil) + +type _QueryAllProviderCollateralAddressResponse_1_list struct { + list *[]*InternalAddressAssociation +} + +func (x *_QueryAllProviderCollateralAddressResponse_1_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_QueryAllProviderCollateralAddressResponse_1_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_QueryAllProviderCollateralAddressResponse_1_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*InternalAddressAssociation) + (*x.list)[i] = concreteValue +} + +func (x *_QueryAllProviderCollateralAddressResponse_1_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*InternalAddressAssociation) + *x.list = append(*x.list, concreteValue) +} + +func (x *_QueryAllProviderCollateralAddressResponse_1_list) AppendMutable() protoreflect.Value { + v := new(InternalAddressAssociation) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_QueryAllProviderCollateralAddressResponse_1_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_QueryAllProviderCollateralAddressResponse_1_list) NewElement() protoreflect.Value { + v := new(InternalAddressAssociation) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_QueryAllProviderCollateralAddressResponse_1_list) IsValid() bool { + return x.list != nil +} + var ( - md_QueryAllPlanetAttributeRequest protoreflect.MessageDescriptor - fd_QueryAllPlanetAttributeRequest_pagination protoreflect.FieldDescriptor + md_QueryAllProviderCollateralAddressResponse protoreflect.MessageDescriptor + fd_QueryAllProviderCollateralAddressResponse_internalAddressAssociation protoreflect.FieldDescriptor + fd_QueryAllProviderCollateralAddressResponse_pagination protoreflect.FieldDescriptor ) func init() { file_structs_structs_query_proto_init() - md_QueryAllPlanetAttributeRequest = File_structs_structs_query_proto.Messages().ByName("QueryAllPlanetAttributeRequest") - fd_QueryAllPlanetAttributeRequest_pagination = md_QueryAllPlanetAttributeRequest.Fields().ByName("pagination") + md_QueryAllProviderCollateralAddressResponse = File_structs_structs_query_proto.Messages().ByName("QueryAllProviderCollateralAddressResponse") + fd_QueryAllProviderCollateralAddressResponse_internalAddressAssociation = md_QueryAllProviderCollateralAddressResponse.Fields().ByName("internalAddressAssociation") + fd_QueryAllProviderCollateralAddressResponse_pagination = md_QueryAllProviderCollateralAddressResponse.Fields().ByName("pagination") } -var _ protoreflect.Message = (*fastReflection_QueryAllPlanetAttributeRequest)(nil) +var _ protoreflect.Message = (*fastReflection_QueryAllProviderCollateralAddressResponse)(nil) -type fastReflection_QueryAllPlanetAttributeRequest QueryAllPlanetAttributeRequest +type fastReflection_QueryAllProviderCollateralAddressResponse QueryAllProviderCollateralAddressResponse -func (x *QueryAllPlanetAttributeRequest) ProtoReflect() protoreflect.Message { - return (*fastReflection_QueryAllPlanetAttributeRequest)(x) +func (x *QueryAllProviderCollateralAddressResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_QueryAllProviderCollateralAddressResponse)(x) } -func (x *QueryAllPlanetAttributeRequest) slowProtoReflect() protoreflect.Message { - mi := &file_structs_structs_query_proto_msgTypes[50] +func (x *QueryAllProviderCollateralAddressResponse) slowProtoReflect() protoreflect.Message { + mi := &file_structs_structs_query_proto_msgTypes[73] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -23972,43 +34951,43 @@ func (x *QueryAllPlanetAttributeRequest) slowProtoReflect() protoreflect.Message return mi.MessageOf(x) } -var _fastReflection_QueryAllPlanetAttributeRequest_messageType fastReflection_QueryAllPlanetAttributeRequest_messageType -var _ protoreflect.MessageType = fastReflection_QueryAllPlanetAttributeRequest_messageType{} +var _fastReflection_QueryAllProviderCollateralAddressResponse_messageType fastReflection_QueryAllProviderCollateralAddressResponse_messageType +var _ protoreflect.MessageType = fastReflection_QueryAllProviderCollateralAddressResponse_messageType{} -type fastReflection_QueryAllPlanetAttributeRequest_messageType struct{} +type fastReflection_QueryAllProviderCollateralAddressResponse_messageType struct{} -func (x fastReflection_QueryAllPlanetAttributeRequest_messageType) Zero() protoreflect.Message { - return (*fastReflection_QueryAllPlanetAttributeRequest)(nil) +func (x fastReflection_QueryAllProviderCollateralAddressResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_QueryAllProviderCollateralAddressResponse)(nil) } -func (x fastReflection_QueryAllPlanetAttributeRequest_messageType) New() protoreflect.Message { - return new(fastReflection_QueryAllPlanetAttributeRequest) +func (x fastReflection_QueryAllProviderCollateralAddressResponse_messageType) New() protoreflect.Message { + return new(fastReflection_QueryAllProviderCollateralAddressResponse) } -func (x fastReflection_QueryAllPlanetAttributeRequest_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_QueryAllPlanetAttributeRequest +func (x fastReflection_QueryAllProviderCollateralAddressResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_QueryAllProviderCollateralAddressResponse } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_QueryAllPlanetAttributeRequest) Descriptor() protoreflect.MessageDescriptor { - return md_QueryAllPlanetAttributeRequest +func (x *fastReflection_QueryAllProviderCollateralAddressResponse) Descriptor() protoreflect.MessageDescriptor { + return md_QueryAllProviderCollateralAddressResponse } // 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_QueryAllPlanetAttributeRequest) Type() protoreflect.MessageType { - return _fastReflection_QueryAllPlanetAttributeRequest_messageType +func (x *fastReflection_QueryAllProviderCollateralAddressResponse) Type() protoreflect.MessageType { + return _fastReflection_QueryAllProviderCollateralAddressResponse_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_QueryAllPlanetAttributeRequest) New() protoreflect.Message { - return new(fastReflection_QueryAllPlanetAttributeRequest) +func (x *fastReflection_QueryAllProviderCollateralAddressResponse) New() protoreflect.Message { + return new(fastReflection_QueryAllProviderCollateralAddressResponse) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_QueryAllPlanetAttributeRequest) Interface() protoreflect.ProtoMessage { - return (*QueryAllPlanetAttributeRequest)(x) +func (x *fastReflection_QueryAllProviderCollateralAddressResponse) Interface() protoreflect.ProtoMessage { + return (*QueryAllProviderCollateralAddressResponse)(x) } // Range iterates over every populated field in an undefined order, @@ -24016,10 +34995,16 @@ func (x *fastReflection_QueryAllPlanetAttributeRequest) Interface() protoreflect // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_QueryAllPlanetAttributeRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +func (x *fastReflection_QueryAllProviderCollateralAddressResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if len(x.InternalAddressAssociation) != 0 { + value := protoreflect.ValueOfList(&_QueryAllProviderCollateralAddressResponse_1_list{list: &x.InternalAddressAssociation}) + if !f(fd_QueryAllProviderCollateralAddressResponse_internalAddressAssociation, value) { + return + } + } if x.Pagination != nil { value := protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) - if !f(fd_QueryAllPlanetAttributeRequest_pagination, value) { + if !f(fd_QueryAllProviderCollateralAddressResponse_pagination, value) { return } } @@ -24036,15 +35021,17 @@ func (x *fastReflection_QueryAllPlanetAttributeRequest) Range(f func(protoreflec // 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_QueryAllPlanetAttributeRequest) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_QueryAllProviderCollateralAddressResponse) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.QueryAllPlanetAttributeRequest.pagination": + case "structs.structs.QueryAllProviderCollateralAddressResponse.internalAddressAssociation": + return len(x.InternalAddressAssociation) != 0 + case "structs.structs.QueryAllProviderCollateralAddressResponse.pagination": return x.Pagination != nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPlanetAttributeRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllProviderCollateralAddressResponse")) } - panic(fmt.Errorf("message structs.structs.QueryAllPlanetAttributeRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllProviderCollateralAddressResponse does not contain field %s", fd.FullName())) } } @@ -24054,15 +35041,17 @@ func (x *fastReflection_QueryAllPlanetAttributeRequest) Has(fd protoreflect.Fiel // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAllPlanetAttributeRequest) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_QueryAllProviderCollateralAddressResponse) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.QueryAllPlanetAttributeRequest.pagination": + case "structs.structs.QueryAllProviderCollateralAddressResponse.internalAddressAssociation": + x.InternalAddressAssociation = nil + case "structs.structs.QueryAllProviderCollateralAddressResponse.pagination": x.Pagination = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPlanetAttributeRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllProviderCollateralAddressResponse")) } - panic(fmt.Errorf("message structs.structs.QueryAllPlanetAttributeRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllProviderCollateralAddressResponse does not contain field %s", fd.FullName())) } } @@ -24072,16 +35061,22 @@ func (x *fastReflection_QueryAllPlanetAttributeRequest) Clear(fd protoreflect.Fi // 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_QueryAllPlanetAttributeRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryAllProviderCollateralAddressResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.QueryAllPlanetAttributeRequest.pagination": + case "structs.structs.QueryAllProviderCollateralAddressResponse.internalAddressAssociation": + if len(x.InternalAddressAssociation) == 0 { + return protoreflect.ValueOfList(&_QueryAllProviderCollateralAddressResponse_1_list{}) + } + listValue := &_QueryAllProviderCollateralAddressResponse_1_list{list: &x.InternalAddressAssociation} + return protoreflect.ValueOfList(listValue) + case "structs.structs.QueryAllProviderCollateralAddressResponse.pagination": value := x.Pagination return protoreflect.ValueOfMessage(value.ProtoReflect()) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPlanetAttributeRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllProviderCollateralAddressResponse")) } - panic(fmt.Errorf("message structs.structs.QueryAllPlanetAttributeRequest does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllProviderCollateralAddressResponse does not contain field %s", descriptor.FullName())) } } @@ -24095,15 +35090,19 @@ func (x *fastReflection_QueryAllPlanetAttributeRequest) Get(descriptor protorefl // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAllPlanetAttributeRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_QueryAllProviderCollateralAddressResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.QueryAllPlanetAttributeRequest.pagination": - x.Pagination = value.Message().Interface().(*v1beta1.PageRequest) + case "structs.structs.QueryAllProviderCollateralAddressResponse.internalAddressAssociation": + lv := value.List() + clv := lv.(*_QueryAllProviderCollateralAddressResponse_1_list) + x.InternalAddressAssociation = *clv.list + case "structs.structs.QueryAllProviderCollateralAddressResponse.pagination": + x.Pagination = value.Message().Interface().(*v1beta1.PageResponse) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPlanetAttributeRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllProviderCollateralAddressResponse")) } - panic(fmt.Errorf("message structs.structs.QueryAllPlanetAttributeRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllProviderCollateralAddressResponse does not contain field %s", fd.FullName())) } } @@ -24117,44 +35116,53 @@ func (x *fastReflection_QueryAllPlanetAttributeRequest) Set(fd protoreflect.Fiel // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAllPlanetAttributeRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryAllProviderCollateralAddressResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.QueryAllPlanetAttributeRequest.pagination": + case "structs.structs.QueryAllProviderCollateralAddressResponse.internalAddressAssociation": + if x.InternalAddressAssociation == nil { + x.InternalAddressAssociation = []*InternalAddressAssociation{} + } + value := &_QueryAllProviderCollateralAddressResponse_1_list{list: &x.InternalAddressAssociation} + return protoreflect.ValueOfList(value) + case "structs.structs.QueryAllProviderCollateralAddressResponse.pagination": if x.Pagination == nil { - x.Pagination = new(v1beta1.PageRequest) + x.Pagination = new(v1beta1.PageResponse) } return protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPlanetAttributeRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllProviderCollateralAddressResponse")) } - panic(fmt.Errorf("message structs.structs.QueryAllPlanetAttributeRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllProviderCollateralAddressResponse 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_QueryAllPlanetAttributeRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryAllProviderCollateralAddressResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.QueryAllPlanetAttributeRequest.pagination": - m := new(v1beta1.PageRequest) + case "structs.structs.QueryAllProviderCollateralAddressResponse.internalAddressAssociation": + list := []*InternalAddressAssociation{} + return protoreflect.ValueOfList(&_QueryAllProviderCollateralAddressResponse_1_list{list: &list}) + case "structs.structs.QueryAllProviderCollateralAddressResponse.pagination": + m := new(v1beta1.PageResponse) return protoreflect.ValueOfMessage(m.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPlanetAttributeRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllProviderCollateralAddressResponse")) } - panic(fmt.Errorf("message structs.structs.QueryAllPlanetAttributeRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllProviderCollateralAddressResponse 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_QueryAllPlanetAttributeRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_QueryAllProviderCollateralAddressResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryAllPlanetAttributeRequest", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryAllProviderCollateralAddressResponse", d.FullName())) } panic("unreachable") } @@ -24162,7 +35170,7 @@ func (x *fastReflection_QueryAllPlanetAttributeRequest) WhichOneof(d protoreflec // 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_QueryAllPlanetAttributeRequest) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_QueryAllProviderCollateralAddressResponse) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -24173,7 +35181,7 @@ func (x *fastReflection_QueryAllPlanetAttributeRequest) GetUnknown() protoreflec // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAllPlanetAttributeRequest) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_QueryAllProviderCollateralAddressResponse) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -24185,7 +35193,7 @@ func (x *fastReflection_QueryAllPlanetAttributeRequest) SetUnknown(fields protor // 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_QueryAllPlanetAttributeRequest) IsValid() bool { +func (x *fastReflection_QueryAllProviderCollateralAddressResponse) IsValid() bool { return x != nil } @@ -24195,9 +35203,9 @@ func (x *fastReflection_QueryAllPlanetAttributeRequest) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_QueryAllPlanetAttributeRequest) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_QueryAllProviderCollateralAddressResponse) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*QueryAllPlanetAttributeRequest) + x := input.Message.Interface().(*QueryAllProviderCollateralAddressResponse) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -24209,6 +35217,12 @@ func (x *fastReflection_QueryAllPlanetAttributeRequest) ProtoMethods() *protoifa var n int var l int _ = l + if len(x.InternalAddressAssociation) > 0 { + for _, e := range x.InternalAddressAssociation { + l = options.Size(e) + n += 1 + l + runtime.Sov(uint64(l)) + } + } if x.Pagination != nil { l = options.Size(x.Pagination) n += 1 + l + runtime.Sov(uint64(l)) @@ -24223,7 +35237,7 @@ func (x *fastReflection_QueryAllPlanetAttributeRequest) ProtoMethods() *protoifa } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*QueryAllPlanetAttributeRequest) + x := input.Message.Interface().(*QueryAllProviderCollateralAddressResponse) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -24254,7 +35268,23 @@ func (x *fastReflection_QueryAllPlanetAttributeRequest) ProtoMethods() *protoifa copy(dAtA[i:], encoded) i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) i-- - dAtA[i] = 0xa + dAtA[i] = 0x12 + } + if len(x.InternalAddressAssociation) > 0 { + for iNdEx := len(x.InternalAddressAssociation) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.InternalAddressAssociation[iNdEx]) + 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...) @@ -24267,7 +35297,7 @@ func (x *fastReflection_QueryAllPlanetAttributeRequest) ProtoMethods() *protoifa }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*QueryAllPlanetAttributeRequest) + x := input.Message.Interface().(*QueryAllProviderCollateralAddressResponse) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -24299,13 +35329,47 @@ func (x *fastReflection_QueryAllPlanetAttributeRequest) ProtoMethods() *protoifa fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllPlanetAttributeRequest: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllProviderCollateralAddressResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllPlanetAttributeRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllProviderCollateralAddressResponse: 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 InternalAddressAssociation", 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 + } + x.InternalAddressAssociation = append(x.InternalAddressAssociation, &InternalAddressAssociation{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.InternalAddressAssociation[len(x.InternalAddressAssociation)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 2: if wireType != 2 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Pagination", wireType) } @@ -24335,7 +35399,7 @@ func (x *fastReflection_QueryAllPlanetAttributeRequest) ProtoMethods() *protoifa return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } if x.Pagination == nil { - x.Pagination = &v1beta1.PageRequest{} + x.Pagination = &v1beta1.PageResponse{} } if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Pagination); err != nil { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err @@ -24376,80 +35440,27 @@ func (x *fastReflection_QueryAllPlanetAttributeRequest) ProtoMethods() *protoifa } } -var _ protoreflect.List = (*_QueryAllPlanetAttributeResponse_1_list)(nil) - -type _QueryAllPlanetAttributeResponse_1_list struct { - list *[]*PlanetAttributeRecord -} - -func (x *_QueryAllPlanetAttributeResponse_1_list) Len() int { - if x.list == nil { - return 0 - } - return len(*x.list) -} - -func (x *_QueryAllPlanetAttributeResponse_1_list) Get(i int) protoreflect.Value { - return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) -} - -func (x *_QueryAllPlanetAttributeResponse_1_list) Set(i int, value protoreflect.Value) { - valueUnwrapped := value.Message() - concreteValue := valueUnwrapped.Interface().(*PlanetAttributeRecord) - (*x.list)[i] = concreteValue -} - -func (x *_QueryAllPlanetAttributeResponse_1_list) Append(value protoreflect.Value) { - valueUnwrapped := value.Message() - concreteValue := valueUnwrapped.Interface().(*PlanetAttributeRecord) - *x.list = append(*x.list, concreteValue) -} - -func (x *_QueryAllPlanetAttributeResponse_1_list) AppendMutable() protoreflect.Value { - v := new(PlanetAttributeRecord) - *x.list = append(*x.list, v) - return protoreflect.ValueOfMessage(v.ProtoReflect()) -} - -func (x *_QueryAllPlanetAttributeResponse_1_list) Truncate(n int) { - for i := n; i < len(*x.list); i++ { - (*x.list)[i] = nil - } - *x.list = (*x.list)[:n] -} - -func (x *_QueryAllPlanetAttributeResponse_1_list) NewElement() protoreflect.Value { - v := new(PlanetAttributeRecord) - return protoreflect.ValueOfMessage(v.ProtoReflect()) -} - -func (x *_QueryAllPlanetAttributeResponse_1_list) IsValid() bool { - return x.list != nil -} - var ( - md_QueryAllPlanetAttributeResponse protoreflect.MessageDescriptor - fd_QueryAllPlanetAttributeResponse_planetAttributeRecords protoreflect.FieldDescriptor - fd_QueryAllPlanetAttributeResponse_pagination protoreflect.FieldDescriptor + md_QueryGetProviderByCollateralAddressRequest protoreflect.MessageDescriptor + fd_QueryGetProviderByCollateralAddressRequest_address protoreflect.FieldDescriptor ) func init() { file_structs_structs_query_proto_init() - md_QueryAllPlanetAttributeResponse = File_structs_structs_query_proto.Messages().ByName("QueryAllPlanetAttributeResponse") - fd_QueryAllPlanetAttributeResponse_planetAttributeRecords = md_QueryAllPlanetAttributeResponse.Fields().ByName("planetAttributeRecords") - fd_QueryAllPlanetAttributeResponse_pagination = md_QueryAllPlanetAttributeResponse.Fields().ByName("pagination") + md_QueryGetProviderByCollateralAddressRequest = File_structs_structs_query_proto.Messages().ByName("QueryGetProviderByCollateralAddressRequest") + fd_QueryGetProviderByCollateralAddressRequest_address = md_QueryGetProviderByCollateralAddressRequest.Fields().ByName("address") } -var _ protoreflect.Message = (*fastReflection_QueryAllPlanetAttributeResponse)(nil) +var _ protoreflect.Message = (*fastReflection_QueryGetProviderByCollateralAddressRequest)(nil) -type fastReflection_QueryAllPlanetAttributeResponse QueryAllPlanetAttributeResponse +type fastReflection_QueryGetProviderByCollateralAddressRequest QueryGetProviderByCollateralAddressRequest -func (x *QueryAllPlanetAttributeResponse) ProtoReflect() protoreflect.Message { - return (*fastReflection_QueryAllPlanetAttributeResponse)(x) +func (x *QueryGetProviderByCollateralAddressRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_QueryGetProviderByCollateralAddressRequest)(x) } -func (x *QueryAllPlanetAttributeResponse) slowProtoReflect() protoreflect.Message { - mi := &file_structs_structs_query_proto_msgTypes[51] +func (x *QueryGetProviderByCollateralAddressRequest) slowProtoReflect() protoreflect.Message { + mi := &file_structs_structs_query_proto_msgTypes[74] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -24460,43 +35471,43 @@ func (x *QueryAllPlanetAttributeResponse) slowProtoReflect() protoreflect.Messag return mi.MessageOf(x) } -var _fastReflection_QueryAllPlanetAttributeResponse_messageType fastReflection_QueryAllPlanetAttributeResponse_messageType -var _ protoreflect.MessageType = fastReflection_QueryAllPlanetAttributeResponse_messageType{} +var _fastReflection_QueryGetProviderByCollateralAddressRequest_messageType fastReflection_QueryGetProviderByCollateralAddressRequest_messageType +var _ protoreflect.MessageType = fastReflection_QueryGetProviderByCollateralAddressRequest_messageType{} -type fastReflection_QueryAllPlanetAttributeResponse_messageType struct{} +type fastReflection_QueryGetProviderByCollateralAddressRequest_messageType struct{} -func (x fastReflection_QueryAllPlanetAttributeResponse_messageType) Zero() protoreflect.Message { - return (*fastReflection_QueryAllPlanetAttributeResponse)(nil) +func (x fastReflection_QueryGetProviderByCollateralAddressRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_QueryGetProviderByCollateralAddressRequest)(nil) } -func (x fastReflection_QueryAllPlanetAttributeResponse_messageType) New() protoreflect.Message { - return new(fastReflection_QueryAllPlanetAttributeResponse) +func (x fastReflection_QueryGetProviderByCollateralAddressRequest_messageType) New() protoreflect.Message { + return new(fastReflection_QueryGetProviderByCollateralAddressRequest) } -func (x fastReflection_QueryAllPlanetAttributeResponse_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_QueryAllPlanetAttributeResponse +func (x fastReflection_QueryGetProviderByCollateralAddressRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_QueryGetProviderByCollateralAddressRequest } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_QueryAllPlanetAttributeResponse) Descriptor() protoreflect.MessageDescriptor { - return md_QueryAllPlanetAttributeResponse +func (x *fastReflection_QueryGetProviderByCollateralAddressRequest) Descriptor() protoreflect.MessageDescriptor { + return md_QueryGetProviderByCollateralAddressRequest } // 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_QueryAllPlanetAttributeResponse) Type() protoreflect.MessageType { - return _fastReflection_QueryAllPlanetAttributeResponse_messageType +func (x *fastReflection_QueryGetProviderByCollateralAddressRequest) Type() protoreflect.MessageType { + return _fastReflection_QueryGetProviderByCollateralAddressRequest_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_QueryAllPlanetAttributeResponse) New() protoreflect.Message { - return new(fastReflection_QueryAllPlanetAttributeResponse) +func (x *fastReflection_QueryGetProviderByCollateralAddressRequest) New() protoreflect.Message { + return new(fastReflection_QueryGetProviderByCollateralAddressRequest) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_QueryAllPlanetAttributeResponse) Interface() protoreflect.ProtoMessage { - return (*QueryAllPlanetAttributeResponse)(x) +func (x *fastReflection_QueryGetProviderByCollateralAddressRequest) Interface() protoreflect.ProtoMessage { + return (*QueryGetProviderByCollateralAddressRequest)(x) } // Range iterates over every populated field in an undefined order, @@ -24504,16 +35515,10 @@ func (x *fastReflection_QueryAllPlanetAttributeResponse) Interface() protoreflec // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_QueryAllPlanetAttributeResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if len(x.PlanetAttributeRecords) != 0 { - value := protoreflect.ValueOfList(&_QueryAllPlanetAttributeResponse_1_list{list: &x.PlanetAttributeRecords}) - if !f(fd_QueryAllPlanetAttributeResponse_planetAttributeRecords, value) { - return - } - } - if x.Pagination != nil { - value := protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) - if !f(fd_QueryAllPlanetAttributeResponse_pagination, value) { +func (x *fastReflection_QueryGetProviderByCollateralAddressRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Address != "" { + value := protoreflect.ValueOfString(x.Address) + if !f(fd_QueryGetProviderByCollateralAddressRequest_address, value) { return } } @@ -24530,17 +35535,15 @@ func (x *fastReflection_QueryAllPlanetAttributeResponse) Range(f func(protorefle // 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_QueryAllPlanetAttributeResponse) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_QueryGetProviderByCollateralAddressRequest) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.QueryAllPlanetAttributeResponse.planetAttributeRecords": - return len(x.PlanetAttributeRecords) != 0 - case "structs.structs.QueryAllPlanetAttributeResponse.pagination": - return x.Pagination != nil + case "structs.structs.QueryGetProviderByCollateralAddressRequest.address": + return x.Address != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPlanetAttributeResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetProviderByCollateralAddressRequest")) } - panic(fmt.Errorf("message structs.structs.QueryAllPlanetAttributeResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetProviderByCollateralAddressRequest does not contain field %s", fd.FullName())) } } @@ -24550,17 +35553,15 @@ func (x *fastReflection_QueryAllPlanetAttributeResponse) Has(fd protoreflect.Fie // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAllPlanetAttributeResponse) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_QueryGetProviderByCollateralAddressRequest) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.QueryAllPlanetAttributeResponse.planetAttributeRecords": - x.PlanetAttributeRecords = nil - case "structs.structs.QueryAllPlanetAttributeResponse.pagination": - x.Pagination = nil + case "structs.structs.QueryGetProviderByCollateralAddressRequest.address": + x.Address = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPlanetAttributeResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetProviderByCollateralAddressRequest")) } - panic(fmt.Errorf("message structs.structs.QueryAllPlanetAttributeResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetProviderByCollateralAddressRequest does not contain field %s", fd.FullName())) } } @@ -24570,22 +35571,16 @@ func (x *fastReflection_QueryAllPlanetAttributeResponse) Clear(fd protoreflect.F // 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_QueryAllPlanetAttributeResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryGetProviderByCollateralAddressRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.QueryAllPlanetAttributeResponse.planetAttributeRecords": - if len(x.PlanetAttributeRecords) == 0 { - return protoreflect.ValueOfList(&_QueryAllPlanetAttributeResponse_1_list{}) - } - listValue := &_QueryAllPlanetAttributeResponse_1_list{list: &x.PlanetAttributeRecords} - return protoreflect.ValueOfList(listValue) - case "structs.structs.QueryAllPlanetAttributeResponse.pagination": - value := x.Pagination - return protoreflect.ValueOfMessage(value.ProtoReflect()) + case "structs.structs.QueryGetProviderByCollateralAddressRequest.address": + value := x.Address + return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPlanetAttributeResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetProviderByCollateralAddressRequest")) } - panic(fmt.Errorf("message structs.structs.QueryAllPlanetAttributeResponse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetProviderByCollateralAddressRequest does not contain field %s", descriptor.FullName())) } } @@ -24599,19 +35594,15 @@ func (x *fastReflection_QueryAllPlanetAttributeResponse) Get(descriptor protoref // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAllPlanetAttributeResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_QueryGetProviderByCollateralAddressRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.QueryAllPlanetAttributeResponse.planetAttributeRecords": - lv := value.List() - clv := lv.(*_QueryAllPlanetAttributeResponse_1_list) - x.PlanetAttributeRecords = *clv.list - case "structs.structs.QueryAllPlanetAttributeResponse.pagination": - x.Pagination = value.Message().Interface().(*v1beta1.PageResponse) + case "structs.structs.QueryGetProviderByCollateralAddressRequest.address": + x.Address = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPlanetAttributeResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetProviderByCollateralAddressRequest")) } - panic(fmt.Errorf("message structs.structs.QueryAllPlanetAttributeResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetProviderByCollateralAddressRequest does not contain field %s", fd.FullName())) } } @@ -24625,53 +35616,40 @@ func (x *fastReflection_QueryAllPlanetAttributeResponse) Set(fd protoreflect.Fie // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAllPlanetAttributeResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryGetProviderByCollateralAddressRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.QueryAllPlanetAttributeResponse.planetAttributeRecords": - if x.PlanetAttributeRecords == nil { - x.PlanetAttributeRecords = []*PlanetAttributeRecord{} - } - value := &_QueryAllPlanetAttributeResponse_1_list{list: &x.PlanetAttributeRecords} - return protoreflect.ValueOfList(value) - case "structs.structs.QueryAllPlanetAttributeResponse.pagination": - if x.Pagination == nil { - x.Pagination = new(v1beta1.PageResponse) - } - return protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) + case "structs.structs.QueryGetProviderByCollateralAddressRequest.address": + panic(fmt.Errorf("field address of message structs.structs.QueryGetProviderByCollateralAddressRequest is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPlanetAttributeResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetProviderByCollateralAddressRequest")) } - panic(fmt.Errorf("message structs.structs.QueryAllPlanetAttributeResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetProviderByCollateralAddressRequest 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_QueryAllPlanetAttributeResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryGetProviderByCollateralAddressRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.QueryAllPlanetAttributeResponse.planetAttributeRecords": - list := []*PlanetAttributeRecord{} - return protoreflect.ValueOfList(&_QueryAllPlanetAttributeResponse_1_list{list: &list}) - case "structs.structs.QueryAllPlanetAttributeResponse.pagination": - m := new(v1beta1.PageResponse) - return protoreflect.ValueOfMessage(m.ProtoReflect()) + case "structs.structs.QueryGetProviderByCollateralAddressRequest.address": + return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPlanetAttributeResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetProviderByCollateralAddressRequest")) } - panic(fmt.Errorf("message structs.structs.QueryAllPlanetAttributeResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetProviderByCollateralAddressRequest 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_QueryAllPlanetAttributeResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_QueryGetProviderByCollateralAddressRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryAllPlanetAttributeResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryGetProviderByCollateralAddressRequest", d.FullName())) } panic("unreachable") } @@ -24679,7 +35657,7 @@ func (x *fastReflection_QueryAllPlanetAttributeResponse) WhichOneof(d protorefle // 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_QueryAllPlanetAttributeResponse) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_QueryGetProviderByCollateralAddressRequest) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -24690,7 +35668,7 @@ func (x *fastReflection_QueryAllPlanetAttributeResponse) GetUnknown() protorefle // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAllPlanetAttributeResponse) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_QueryGetProviderByCollateralAddressRequest) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -24702,7 +35680,7 @@ func (x *fastReflection_QueryAllPlanetAttributeResponse) SetUnknown(fields proto // 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_QueryAllPlanetAttributeResponse) IsValid() bool { +func (x *fastReflection_QueryGetProviderByCollateralAddressRequest) IsValid() bool { return x != nil } @@ -24712,9 +35690,9 @@ func (x *fastReflection_QueryAllPlanetAttributeResponse) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_QueryAllPlanetAttributeResponse) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_QueryGetProviderByCollateralAddressRequest) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*QueryAllPlanetAttributeResponse) + x := input.Message.Interface().(*QueryGetProviderByCollateralAddressRequest) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -24726,14 +35704,8 @@ func (x *fastReflection_QueryAllPlanetAttributeResponse) ProtoMethods() *protoif var n int var l int _ = l - if len(x.PlanetAttributeRecords) > 0 { - for _, e := range x.PlanetAttributeRecords { - l = options.Size(e) - n += 1 + l + runtime.Sov(uint64(l)) - } - } - if x.Pagination != nil { - l = options.Size(x.Pagination) + l = len(x.Address) + if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } if x.unknownFields != nil { @@ -24746,7 +35718,7 @@ func (x *fastReflection_QueryAllPlanetAttributeResponse) ProtoMethods() *protoif } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*QueryAllPlanetAttributeResponse) + x := input.Message.Interface().(*QueryGetProviderByCollateralAddressRequest) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -24765,35 +35737,12 @@ func (x *fastReflection_QueryAllPlanetAttributeResponse) ProtoMethods() *protoif i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if x.Pagination != nil { - encoded, err := options.Marshal(x.Pagination) - 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))) + if len(x.Address) > 0 { + i -= len(x.Address) + copy(dAtA[i:], x.Address) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Address))) i-- - dAtA[i] = 0x12 - } - if len(x.PlanetAttributeRecords) > 0 { - for iNdEx := len(x.PlanetAttributeRecords) - 1; iNdEx >= 0; iNdEx-- { - encoded, err := options.Marshal(x.PlanetAttributeRecords[iNdEx]) - 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 - } + dAtA[i] = 0xa } if input.Buf != nil { input.Buf = append(input.Buf, dAtA...) @@ -24806,7 +35755,7 @@ func (x *fastReflection_QueryAllPlanetAttributeResponse) ProtoMethods() *protoif }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*QueryAllPlanetAttributeResponse) + x := input.Message.Interface().(*QueryGetProviderByCollateralAddressRequest) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -24838,51 +35787,17 @@ func (x *fastReflection_QueryAllPlanetAttributeResponse) ProtoMethods() *protoif fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllPlanetAttributeResponse: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryGetProviderByCollateralAddressRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllPlanetAttributeResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryGetProviderByCollateralAddressRequest: 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 PlanetAttributeRecords", 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 - } - x.PlanetAttributeRecords = append(x.PlanetAttributeRecords, &PlanetAttributeRecord{}) - if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.PlanetAttributeRecords[len(x.PlanetAttributeRecords)-1]); err != nil { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Pagination", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -24892,27 +35807,23 @@ func (x *fastReflection_QueryAllPlanetAttributeResponse) ProtoMethods() *protoif } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength } - postIndex := iNdEx + msglen + 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 } - if x.Pagination == nil { - x.Pagination = &v1beta1.PageResponse{} - } - if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Pagination); err != nil { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err - } + x.Address = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -24950,26 +35861,26 @@ func (x *fastReflection_QueryAllPlanetAttributeResponse) ProtoMethods() *protoif } var ( - md_QueryGetPlayerRequest protoreflect.MessageDescriptor - fd_QueryGetPlayerRequest_id protoreflect.FieldDescriptor + md_QueryGetProviderEarningsAddressRequest protoreflect.MessageDescriptor + fd_QueryGetProviderEarningsAddressRequest_providerId protoreflect.FieldDescriptor ) func init() { file_structs_structs_query_proto_init() - md_QueryGetPlayerRequest = File_structs_structs_query_proto.Messages().ByName("QueryGetPlayerRequest") - fd_QueryGetPlayerRequest_id = md_QueryGetPlayerRequest.Fields().ByName("id") + md_QueryGetProviderEarningsAddressRequest = File_structs_structs_query_proto.Messages().ByName("QueryGetProviderEarningsAddressRequest") + fd_QueryGetProviderEarningsAddressRequest_providerId = md_QueryGetProviderEarningsAddressRequest.Fields().ByName("providerId") } -var _ protoreflect.Message = (*fastReflection_QueryGetPlayerRequest)(nil) +var _ protoreflect.Message = (*fastReflection_QueryGetProviderEarningsAddressRequest)(nil) -type fastReflection_QueryGetPlayerRequest QueryGetPlayerRequest +type fastReflection_QueryGetProviderEarningsAddressRequest QueryGetProviderEarningsAddressRequest -func (x *QueryGetPlayerRequest) ProtoReflect() protoreflect.Message { - return (*fastReflection_QueryGetPlayerRequest)(x) +func (x *QueryGetProviderEarningsAddressRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_QueryGetProviderEarningsAddressRequest)(x) } -func (x *QueryGetPlayerRequest) slowProtoReflect() protoreflect.Message { - mi := &file_structs_structs_query_proto_msgTypes[52] +func (x *QueryGetProviderEarningsAddressRequest) slowProtoReflect() protoreflect.Message { + mi := &file_structs_structs_query_proto_msgTypes[75] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -24980,43 +35891,43 @@ func (x *QueryGetPlayerRequest) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_QueryGetPlayerRequest_messageType fastReflection_QueryGetPlayerRequest_messageType -var _ protoreflect.MessageType = fastReflection_QueryGetPlayerRequest_messageType{} +var _fastReflection_QueryGetProviderEarningsAddressRequest_messageType fastReflection_QueryGetProviderEarningsAddressRequest_messageType +var _ protoreflect.MessageType = fastReflection_QueryGetProviderEarningsAddressRequest_messageType{} -type fastReflection_QueryGetPlayerRequest_messageType struct{} +type fastReflection_QueryGetProviderEarningsAddressRequest_messageType struct{} -func (x fastReflection_QueryGetPlayerRequest_messageType) Zero() protoreflect.Message { - return (*fastReflection_QueryGetPlayerRequest)(nil) +func (x fastReflection_QueryGetProviderEarningsAddressRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_QueryGetProviderEarningsAddressRequest)(nil) } -func (x fastReflection_QueryGetPlayerRequest_messageType) New() protoreflect.Message { - return new(fastReflection_QueryGetPlayerRequest) +func (x fastReflection_QueryGetProviderEarningsAddressRequest_messageType) New() protoreflect.Message { + return new(fastReflection_QueryGetProviderEarningsAddressRequest) } -func (x fastReflection_QueryGetPlayerRequest_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_QueryGetPlayerRequest +func (x fastReflection_QueryGetProviderEarningsAddressRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_QueryGetProviderEarningsAddressRequest } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_QueryGetPlayerRequest) Descriptor() protoreflect.MessageDescriptor { - return md_QueryGetPlayerRequest +func (x *fastReflection_QueryGetProviderEarningsAddressRequest) Descriptor() protoreflect.MessageDescriptor { + return md_QueryGetProviderEarningsAddressRequest } // 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_QueryGetPlayerRequest) Type() protoreflect.MessageType { - return _fastReflection_QueryGetPlayerRequest_messageType +func (x *fastReflection_QueryGetProviderEarningsAddressRequest) Type() protoreflect.MessageType { + return _fastReflection_QueryGetProviderEarningsAddressRequest_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_QueryGetPlayerRequest) New() protoreflect.Message { - return new(fastReflection_QueryGetPlayerRequest) +func (x *fastReflection_QueryGetProviderEarningsAddressRequest) New() protoreflect.Message { + return new(fastReflection_QueryGetProviderEarningsAddressRequest) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_QueryGetPlayerRequest) Interface() protoreflect.ProtoMessage { - return (*QueryGetPlayerRequest)(x) +func (x *fastReflection_QueryGetProviderEarningsAddressRequest) Interface() protoreflect.ProtoMessage { + return (*QueryGetProviderEarningsAddressRequest)(x) } // Range iterates over every populated field in an undefined order, @@ -25024,10 +35935,10 @@ func (x *fastReflection_QueryGetPlayerRequest) Interface() protoreflect.ProtoMes // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_QueryGetPlayerRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.Id != "" { - value := protoreflect.ValueOfString(x.Id) - if !f(fd_QueryGetPlayerRequest_id, value) { +func (x *fastReflection_QueryGetProviderEarningsAddressRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.ProviderId != "" { + value := protoreflect.ValueOfString(x.ProviderId) + if !f(fd_QueryGetProviderEarningsAddressRequest_providerId, value) { return } } @@ -25044,15 +35955,15 @@ func (x *fastReflection_QueryGetPlayerRequest) Range(f func(protoreflect.FieldDe // 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_QueryGetPlayerRequest) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_QueryGetProviderEarningsAddressRequest) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.QueryGetPlayerRequest.id": - return x.Id != "" + case "structs.structs.QueryGetProviderEarningsAddressRequest.providerId": + return x.ProviderId != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetPlayerRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetProviderEarningsAddressRequest")) } - panic(fmt.Errorf("message structs.structs.QueryGetPlayerRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetProviderEarningsAddressRequest does not contain field %s", fd.FullName())) } } @@ -25062,15 +35973,15 @@ func (x *fastReflection_QueryGetPlayerRequest) Has(fd protoreflect.FieldDescript // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryGetPlayerRequest) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_QueryGetProviderEarningsAddressRequest) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.QueryGetPlayerRequest.id": - x.Id = "" + case "structs.structs.QueryGetProviderEarningsAddressRequest.providerId": + x.ProviderId = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetPlayerRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetProviderEarningsAddressRequest")) } - panic(fmt.Errorf("message structs.structs.QueryGetPlayerRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetProviderEarningsAddressRequest does not contain field %s", fd.FullName())) } } @@ -25080,16 +35991,16 @@ func (x *fastReflection_QueryGetPlayerRequest) Clear(fd protoreflect.FieldDescri // 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_QueryGetPlayerRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryGetProviderEarningsAddressRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.QueryGetPlayerRequest.id": - value := x.Id + case "structs.structs.QueryGetProviderEarningsAddressRequest.providerId": + value := x.ProviderId return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetPlayerRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetProviderEarningsAddressRequest")) } - panic(fmt.Errorf("message structs.structs.QueryGetPlayerRequest does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetProviderEarningsAddressRequest does not contain field %s", descriptor.FullName())) } } @@ -25103,15 +36014,15 @@ func (x *fastReflection_QueryGetPlayerRequest) Get(descriptor protoreflect.Field // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryGetPlayerRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_QueryGetProviderEarningsAddressRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.QueryGetPlayerRequest.id": - x.Id = value.Interface().(string) + case "structs.structs.QueryGetProviderEarningsAddressRequest.providerId": + x.ProviderId = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetPlayerRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetProviderEarningsAddressRequest")) } - panic(fmt.Errorf("message structs.structs.QueryGetPlayerRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetProviderEarningsAddressRequest does not contain field %s", fd.FullName())) } } @@ -25125,40 +36036,40 @@ func (x *fastReflection_QueryGetPlayerRequest) Set(fd protoreflect.FieldDescript // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryGetPlayerRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryGetProviderEarningsAddressRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.QueryGetPlayerRequest.id": - panic(fmt.Errorf("field id of message structs.structs.QueryGetPlayerRequest is not mutable")) + case "structs.structs.QueryGetProviderEarningsAddressRequest.providerId": + panic(fmt.Errorf("field providerId of message structs.structs.QueryGetProviderEarningsAddressRequest is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetPlayerRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetProviderEarningsAddressRequest")) } - panic(fmt.Errorf("message structs.structs.QueryGetPlayerRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetProviderEarningsAddressRequest 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_QueryGetPlayerRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryGetProviderEarningsAddressRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.QueryGetPlayerRequest.id": + case "structs.structs.QueryGetProviderEarningsAddressRequest.providerId": return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetPlayerRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetProviderEarningsAddressRequest")) } - panic(fmt.Errorf("message structs.structs.QueryGetPlayerRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetProviderEarningsAddressRequest 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_QueryGetPlayerRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_QueryGetProviderEarningsAddressRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryGetPlayerRequest", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryGetProviderEarningsAddressRequest", d.FullName())) } panic("unreachable") } @@ -25166,7 +36077,7 @@ func (x *fastReflection_QueryGetPlayerRequest) WhichOneof(d protoreflect.OneofDe // 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_QueryGetPlayerRequest) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_QueryGetProviderEarningsAddressRequest) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -25177,7 +36088,7 @@ func (x *fastReflection_QueryGetPlayerRequest) GetUnknown() protoreflect.RawFiel // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryGetPlayerRequest) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_QueryGetProviderEarningsAddressRequest) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -25189,7 +36100,7 @@ func (x *fastReflection_QueryGetPlayerRequest) SetUnknown(fields protoreflect.Ra // 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_QueryGetPlayerRequest) IsValid() bool { +func (x *fastReflection_QueryGetProviderEarningsAddressRequest) IsValid() bool { return x != nil } @@ -25199,9 +36110,9 @@ func (x *fastReflection_QueryGetPlayerRequest) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_QueryGetPlayerRequest) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_QueryGetProviderEarningsAddressRequest) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*QueryGetPlayerRequest) + x := input.Message.Interface().(*QueryGetProviderEarningsAddressRequest) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -25213,7 +36124,7 @@ func (x *fastReflection_QueryGetPlayerRequest) ProtoMethods() *protoiface.Method var n int var l int _ = l - l = len(x.Id) + l = len(x.ProviderId) if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } @@ -25227,7 +36138,7 @@ func (x *fastReflection_QueryGetPlayerRequest) ProtoMethods() *protoiface.Method } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*QueryGetPlayerRequest) + x := input.Message.Interface().(*QueryGetProviderEarningsAddressRequest) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -25246,10 +36157,10 @@ func (x *fastReflection_QueryGetPlayerRequest) ProtoMethods() *protoiface.Method i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if len(x.Id) > 0 { - i -= len(x.Id) - copy(dAtA[i:], x.Id) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Id))) + if len(x.ProviderId) > 0 { + i -= len(x.ProviderId) + copy(dAtA[i:], x.ProviderId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.ProviderId))) i-- dAtA[i] = 0xa } @@ -25264,7 +36175,7 @@ func (x *fastReflection_QueryGetPlayerRequest) ProtoMethods() *protoiface.Method }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*QueryGetPlayerRequest) + x := input.Message.Interface().(*QueryGetProviderEarningsAddressRequest) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -25296,15 +36207,15 @@ func (x *fastReflection_QueryGetPlayerRequest) ProtoMethods() *protoiface.Method fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryGetPlayerRequest: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryGetProviderEarningsAddressRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryGetPlayerRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryGetProviderEarningsAddressRequest: 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 Id", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ProviderId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -25332,7 +36243,7 @@ func (x *fastReflection_QueryGetPlayerRequest) ProtoMethods() *protoiface.Method if postIndex > l { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - x.Id = string(dAtA[iNdEx:postIndex]) + x.ProviderId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -25370,30 +36281,26 @@ func (x *fastReflection_QueryGetPlayerRequest) ProtoMethods() *protoiface.Method } var ( - md_QueryGetPlayerResponse protoreflect.MessageDescriptor - fd_QueryGetPlayerResponse_Player protoreflect.FieldDescriptor - fd_QueryGetPlayerResponse_gridAttributes protoreflect.FieldDescriptor - fd_QueryGetPlayerResponse_playerInventory protoreflect.FieldDescriptor + md_QueryAllProviderEarningsAddressRequest protoreflect.MessageDescriptor + fd_QueryAllProviderEarningsAddressRequest_pagination protoreflect.FieldDescriptor ) func init() { file_structs_structs_query_proto_init() - md_QueryGetPlayerResponse = File_structs_structs_query_proto.Messages().ByName("QueryGetPlayerResponse") - fd_QueryGetPlayerResponse_Player = md_QueryGetPlayerResponse.Fields().ByName("Player") - fd_QueryGetPlayerResponse_gridAttributes = md_QueryGetPlayerResponse.Fields().ByName("gridAttributes") - fd_QueryGetPlayerResponse_playerInventory = md_QueryGetPlayerResponse.Fields().ByName("playerInventory") + md_QueryAllProviderEarningsAddressRequest = File_structs_structs_query_proto.Messages().ByName("QueryAllProviderEarningsAddressRequest") + fd_QueryAllProviderEarningsAddressRequest_pagination = md_QueryAllProviderEarningsAddressRequest.Fields().ByName("pagination") } -var _ protoreflect.Message = (*fastReflection_QueryGetPlayerResponse)(nil) +var _ protoreflect.Message = (*fastReflection_QueryAllProviderEarningsAddressRequest)(nil) -type fastReflection_QueryGetPlayerResponse QueryGetPlayerResponse +type fastReflection_QueryAllProviderEarningsAddressRequest QueryAllProviderEarningsAddressRequest -func (x *QueryGetPlayerResponse) ProtoReflect() protoreflect.Message { - return (*fastReflection_QueryGetPlayerResponse)(x) +func (x *QueryAllProviderEarningsAddressRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_QueryAllProviderEarningsAddressRequest)(x) } -func (x *QueryGetPlayerResponse) slowProtoReflect() protoreflect.Message { - mi := &file_structs_structs_query_proto_msgTypes[53] +func (x *QueryAllProviderEarningsAddressRequest) slowProtoReflect() protoreflect.Message { + mi := &file_structs_structs_query_proto_msgTypes[76] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -25404,43 +36311,43 @@ func (x *QueryGetPlayerResponse) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_QueryGetPlayerResponse_messageType fastReflection_QueryGetPlayerResponse_messageType -var _ protoreflect.MessageType = fastReflection_QueryGetPlayerResponse_messageType{} +var _fastReflection_QueryAllProviderEarningsAddressRequest_messageType fastReflection_QueryAllProviderEarningsAddressRequest_messageType +var _ protoreflect.MessageType = fastReflection_QueryAllProviderEarningsAddressRequest_messageType{} -type fastReflection_QueryGetPlayerResponse_messageType struct{} +type fastReflection_QueryAllProviderEarningsAddressRequest_messageType struct{} -func (x fastReflection_QueryGetPlayerResponse_messageType) Zero() protoreflect.Message { - return (*fastReflection_QueryGetPlayerResponse)(nil) +func (x fastReflection_QueryAllProviderEarningsAddressRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_QueryAllProviderEarningsAddressRequest)(nil) } -func (x fastReflection_QueryGetPlayerResponse_messageType) New() protoreflect.Message { - return new(fastReflection_QueryGetPlayerResponse) +func (x fastReflection_QueryAllProviderEarningsAddressRequest_messageType) New() protoreflect.Message { + return new(fastReflection_QueryAllProviderEarningsAddressRequest) } -func (x fastReflection_QueryGetPlayerResponse_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_QueryGetPlayerResponse +func (x fastReflection_QueryAllProviderEarningsAddressRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_QueryAllProviderEarningsAddressRequest } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_QueryGetPlayerResponse) Descriptor() protoreflect.MessageDescriptor { - return md_QueryGetPlayerResponse +func (x *fastReflection_QueryAllProviderEarningsAddressRequest) Descriptor() protoreflect.MessageDescriptor { + return md_QueryAllProviderEarningsAddressRequest } // 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_QueryGetPlayerResponse) Type() protoreflect.MessageType { - return _fastReflection_QueryGetPlayerResponse_messageType +func (x *fastReflection_QueryAllProviderEarningsAddressRequest) Type() protoreflect.MessageType { + return _fastReflection_QueryAllProviderEarningsAddressRequest_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_QueryGetPlayerResponse) New() protoreflect.Message { - return new(fastReflection_QueryGetPlayerResponse) +func (x *fastReflection_QueryAllProviderEarningsAddressRequest) New() protoreflect.Message { + return new(fastReflection_QueryAllProviderEarningsAddressRequest) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_QueryGetPlayerResponse) Interface() protoreflect.ProtoMessage { - return (*QueryGetPlayerResponse)(x) +func (x *fastReflection_QueryAllProviderEarningsAddressRequest) Interface() protoreflect.ProtoMessage { + return (*QueryAllProviderEarningsAddressRequest)(x) } // Range iterates over every populated field in an undefined order, @@ -25448,22 +36355,10 @@ func (x *fastReflection_QueryGetPlayerResponse) Interface() protoreflect.ProtoMe // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_QueryGetPlayerResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.Player != nil { - value := protoreflect.ValueOfMessage(x.Player.ProtoReflect()) - if !f(fd_QueryGetPlayerResponse_Player, value) { - return - } - } - if x.GridAttributes != nil { - value := protoreflect.ValueOfMessage(x.GridAttributes.ProtoReflect()) - if !f(fd_QueryGetPlayerResponse_gridAttributes, value) { - return - } - } - if x.PlayerInventory != nil { - value := protoreflect.ValueOfMessage(x.PlayerInventory.ProtoReflect()) - if !f(fd_QueryGetPlayerResponse_playerInventory, value) { +func (x *fastReflection_QueryAllProviderEarningsAddressRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Pagination != nil { + value := protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) + if !f(fd_QueryAllProviderEarningsAddressRequest_pagination, value) { return } } @@ -25480,19 +36375,15 @@ func (x *fastReflection_QueryGetPlayerResponse) Range(f func(protoreflect.FieldD // 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_QueryGetPlayerResponse) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_QueryAllProviderEarningsAddressRequest) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.QueryGetPlayerResponse.Player": - return x.Player != nil - case "structs.structs.QueryGetPlayerResponse.gridAttributes": - return x.GridAttributes != nil - case "structs.structs.QueryGetPlayerResponse.playerInventory": - return x.PlayerInventory != nil + case "structs.structs.QueryAllProviderEarningsAddressRequest.pagination": + return x.Pagination != nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetPlayerResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllProviderEarningsAddressRequest")) } - panic(fmt.Errorf("message structs.structs.QueryGetPlayerResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllProviderEarningsAddressRequest does not contain field %s", fd.FullName())) } } @@ -25502,19 +36393,15 @@ func (x *fastReflection_QueryGetPlayerResponse) Has(fd protoreflect.FieldDescrip // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryGetPlayerResponse) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_QueryAllProviderEarningsAddressRequest) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.QueryGetPlayerResponse.Player": - x.Player = nil - case "structs.structs.QueryGetPlayerResponse.gridAttributes": - x.GridAttributes = nil - case "structs.structs.QueryGetPlayerResponse.playerInventory": - x.PlayerInventory = nil + case "structs.structs.QueryAllProviderEarningsAddressRequest.pagination": + x.Pagination = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetPlayerResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllProviderEarningsAddressRequest")) } - panic(fmt.Errorf("message structs.structs.QueryGetPlayerResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllProviderEarningsAddressRequest does not contain field %s", fd.FullName())) } } @@ -25524,22 +36411,16 @@ func (x *fastReflection_QueryGetPlayerResponse) Clear(fd protoreflect.FieldDescr // 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_QueryGetPlayerResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryAllProviderEarningsAddressRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.QueryGetPlayerResponse.Player": - value := x.Player - return protoreflect.ValueOfMessage(value.ProtoReflect()) - case "structs.structs.QueryGetPlayerResponse.gridAttributes": - value := x.GridAttributes - return protoreflect.ValueOfMessage(value.ProtoReflect()) - case "structs.structs.QueryGetPlayerResponse.playerInventory": - value := x.PlayerInventory + case "structs.structs.QueryAllProviderEarningsAddressRequest.pagination": + value := x.Pagination return protoreflect.ValueOfMessage(value.ProtoReflect()) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetPlayerResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllProviderEarningsAddressRequest")) } - panic(fmt.Errorf("message structs.structs.QueryGetPlayerResponse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllProviderEarningsAddressRequest does not contain field %s", descriptor.FullName())) } } @@ -25553,19 +36434,15 @@ func (x *fastReflection_QueryGetPlayerResponse) Get(descriptor protoreflect.Fiel // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryGetPlayerResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_QueryAllProviderEarningsAddressRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.QueryGetPlayerResponse.Player": - x.Player = value.Message().Interface().(*Player) - case "structs.structs.QueryGetPlayerResponse.gridAttributes": - x.GridAttributes = value.Message().Interface().(*GridAttributes) - case "structs.structs.QueryGetPlayerResponse.playerInventory": - x.PlayerInventory = value.Message().Interface().(*PlayerInventory) + case "structs.structs.QueryAllProviderEarningsAddressRequest.pagination": + x.Pagination = value.Message().Interface().(*v1beta1.PageRequest) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetPlayerResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllProviderEarningsAddressRequest")) } - panic(fmt.Errorf("message structs.structs.QueryGetPlayerResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllProviderEarningsAddressRequest does not contain field %s", fd.FullName())) } } @@ -25579,60 +36456,44 @@ func (x *fastReflection_QueryGetPlayerResponse) Set(fd protoreflect.FieldDescrip // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryGetPlayerResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryAllProviderEarningsAddressRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.QueryGetPlayerResponse.Player": - if x.Player == nil { - x.Player = new(Player) - } - return protoreflect.ValueOfMessage(x.Player.ProtoReflect()) - case "structs.structs.QueryGetPlayerResponse.gridAttributes": - if x.GridAttributes == nil { - x.GridAttributes = new(GridAttributes) - } - return protoreflect.ValueOfMessage(x.GridAttributes.ProtoReflect()) - case "structs.structs.QueryGetPlayerResponse.playerInventory": - if x.PlayerInventory == nil { - x.PlayerInventory = new(PlayerInventory) + case "structs.structs.QueryAllProviderEarningsAddressRequest.pagination": + if x.Pagination == nil { + x.Pagination = new(v1beta1.PageRequest) } - return protoreflect.ValueOfMessage(x.PlayerInventory.ProtoReflect()) + return protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetPlayerResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllProviderEarningsAddressRequest")) } - panic(fmt.Errorf("message structs.structs.QueryGetPlayerResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllProviderEarningsAddressRequest 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_QueryGetPlayerResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryAllProviderEarningsAddressRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.QueryGetPlayerResponse.Player": - m := new(Player) - return protoreflect.ValueOfMessage(m.ProtoReflect()) - case "structs.structs.QueryGetPlayerResponse.gridAttributes": - m := new(GridAttributes) - return protoreflect.ValueOfMessage(m.ProtoReflect()) - case "structs.structs.QueryGetPlayerResponse.playerInventory": - m := new(PlayerInventory) + case "structs.structs.QueryAllProviderEarningsAddressRequest.pagination": + m := new(v1beta1.PageRequest) return protoreflect.ValueOfMessage(m.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetPlayerResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllProviderEarningsAddressRequest")) } - panic(fmt.Errorf("message structs.structs.QueryGetPlayerResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllProviderEarningsAddressRequest 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_QueryGetPlayerResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_QueryAllProviderEarningsAddressRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryGetPlayerResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryAllProviderEarningsAddressRequest", d.FullName())) } panic("unreachable") } @@ -25640,7 +36501,7 @@ func (x *fastReflection_QueryGetPlayerResponse) WhichOneof(d protoreflect.OneofD // 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_QueryGetPlayerResponse) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_QueryAllProviderEarningsAddressRequest) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -25651,7 +36512,7 @@ func (x *fastReflection_QueryGetPlayerResponse) GetUnknown() protoreflect.RawFie // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryGetPlayerResponse) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_QueryAllProviderEarningsAddressRequest) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -25663,7 +36524,7 @@ func (x *fastReflection_QueryGetPlayerResponse) SetUnknown(fields protoreflect.R // 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_QueryGetPlayerResponse) IsValid() bool { +func (x *fastReflection_QueryAllProviderEarningsAddressRequest) IsValid() bool { return x != nil } @@ -25673,9 +36534,9 @@ func (x *fastReflection_QueryGetPlayerResponse) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_QueryGetPlayerResponse) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_QueryAllProviderEarningsAddressRequest) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*QueryGetPlayerResponse) + x := input.Message.Interface().(*QueryAllProviderEarningsAddressRequest) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -25687,16 +36548,8 @@ func (x *fastReflection_QueryGetPlayerResponse) ProtoMethods() *protoiface.Metho var n int var l int _ = l - if x.Player != nil { - l = options.Size(x.Player) - n += 1 + l + runtime.Sov(uint64(l)) - } - if x.GridAttributes != nil { - l = options.Size(x.GridAttributes) - n += 1 + l + runtime.Sov(uint64(l)) - } - if x.PlayerInventory != nil { - l = options.Size(x.PlayerInventory) + if x.Pagination != nil { + l = options.Size(x.Pagination) n += 1 + l + runtime.Sov(uint64(l)) } if x.unknownFields != nil { @@ -25709,7 +36562,7 @@ func (x *fastReflection_QueryGetPlayerResponse) ProtoMethods() *protoiface.Metho } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*QueryGetPlayerResponse) + x := input.Message.Interface().(*QueryAllProviderEarningsAddressRequest) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -25728,36 +36581,8 @@ func (x *fastReflection_QueryGetPlayerResponse) ProtoMethods() *protoiface.Metho i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if x.PlayerInventory != nil { - encoded, err := options.Marshal(x.PlayerInventory) - 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] = 0x1a - } - if x.GridAttributes != nil { - encoded, err := options.Marshal(x.GridAttributes) - 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 x.Player != nil { - encoded, err := options.Marshal(x.Player) + if x.Pagination != nil { + encoded, err := options.Marshal(x.Pagination) if err != nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -25781,7 +36606,7 @@ func (x *fastReflection_QueryGetPlayerResponse) ProtoMethods() *protoiface.Metho }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*QueryGetPlayerResponse) + x := input.Message.Interface().(*QueryAllProviderEarningsAddressRequest) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -25813,87 +36638,15 @@ func (x *fastReflection_QueryGetPlayerResponse) ProtoMethods() *protoiface.Metho fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryGetPlayerResponse: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllProviderEarningsAddressRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryGetPlayerResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllProviderEarningsAddressRequest: 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 Player", 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.Player == nil { - x.Player = &Player{} - } - if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Player); err != nil { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field GridAttributes", 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.GridAttributes == nil { - x.GridAttributes = &GridAttributes{} - } - if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.GridAttributes); err != nil { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field PlayerInventory", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Pagination", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -25920,10 +36673,10 @@ func (x *fastReflection_QueryGetPlayerResponse) ProtoMethods() *protoiface.Metho if postIndex > l { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - if x.PlayerInventory == nil { - x.PlayerInventory = &PlayerInventory{} + if x.Pagination == nil { + x.Pagination = &v1beta1.PageRequest{} } - if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.PlayerInventory); err != nil { + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Pagination); err != nil { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err } iNdEx = postIndex @@ -25962,27 +36715,80 @@ func (x *fastReflection_QueryGetPlayerResponse) ProtoMethods() *protoiface.Metho } } +var _ protoreflect.List = (*_QueryAllProviderEarningsAddressResponse_1_list)(nil) + +type _QueryAllProviderEarningsAddressResponse_1_list struct { + list *[]*InternalAddressAssociation +} + +func (x *_QueryAllProviderEarningsAddressResponse_1_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_QueryAllProviderEarningsAddressResponse_1_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_QueryAllProviderEarningsAddressResponse_1_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*InternalAddressAssociation) + (*x.list)[i] = concreteValue +} + +func (x *_QueryAllProviderEarningsAddressResponse_1_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*InternalAddressAssociation) + *x.list = append(*x.list, concreteValue) +} + +func (x *_QueryAllProviderEarningsAddressResponse_1_list) AppendMutable() protoreflect.Value { + v := new(InternalAddressAssociation) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_QueryAllProviderEarningsAddressResponse_1_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_QueryAllProviderEarningsAddressResponse_1_list) NewElement() protoreflect.Value { + v := new(InternalAddressAssociation) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_QueryAllProviderEarningsAddressResponse_1_list) IsValid() bool { + return x.list != nil +} + var ( - md_QueryAllPlayerRequest protoreflect.MessageDescriptor - fd_QueryAllPlayerRequest_pagination protoreflect.FieldDescriptor + md_QueryAllProviderEarningsAddressResponse protoreflect.MessageDescriptor + fd_QueryAllProviderEarningsAddressResponse_internalAddressAssociation protoreflect.FieldDescriptor + fd_QueryAllProviderEarningsAddressResponse_pagination protoreflect.FieldDescriptor ) func init() { file_structs_structs_query_proto_init() - md_QueryAllPlayerRequest = File_structs_structs_query_proto.Messages().ByName("QueryAllPlayerRequest") - fd_QueryAllPlayerRequest_pagination = md_QueryAllPlayerRequest.Fields().ByName("pagination") + md_QueryAllProviderEarningsAddressResponse = File_structs_structs_query_proto.Messages().ByName("QueryAllProviderEarningsAddressResponse") + fd_QueryAllProviderEarningsAddressResponse_internalAddressAssociation = md_QueryAllProviderEarningsAddressResponse.Fields().ByName("internalAddressAssociation") + fd_QueryAllProviderEarningsAddressResponse_pagination = md_QueryAllProviderEarningsAddressResponse.Fields().ByName("pagination") } -var _ protoreflect.Message = (*fastReflection_QueryAllPlayerRequest)(nil) +var _ protoreflect.Message = (*fastReflection_QueryAllProviderEarningsAddressResponse)(nil) -type fastReflection_QueryAllPlayerRequest QueryAllPlayerRequest +type fastReflection_QueryAllProviderEarningsAddressResponse QueryAllProviderEarningsAddressResponse -func (x *QueryAllPlayerRequest) ProtoReflect() protoreflect.Message { - return (*fastReflection_QueryAllPlayerRequest)(x) +func (x *QueryAllProviderEarningsAddressResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_QueryAllProviderEarningsAddressResponse)(x) } -func (x *QueryAllPlayerRequest) slowProtoReflect() protoreflect.Message { - mi := &file_structs_structs_query_proto_msgTypes[54] +func (x *QueryAllProviderEarningsAddressResponse) slowProtoReflect() protoreflect.Message { + mi := &file_structs_structs_query_proto_msgTypes[77] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -25993,43 +36799,43 @@ func (x *QueryAllPlayerRequest) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_QueryAllPlayerRequest_messageType fastReflection_QueryAllPlayerRequest_messageType -var _ protoreflect.MessageType = fastReflection_QueryAllPlayerRequest_messageType{} +var _fastReflection_QueryAllProviderEarningsAddressResponse_messageType fastReflection_QueryAllProviderEarningsAddressResponse_messageType +var _ protoreflect.MessageType = fastReflection_QueryAllProviderEarningsAddressResponse_messageType{} -type fastReflection_QueryAllPlayerRequest_messageType struct{} +type fastReflection_QueryAllProviderEarningsAddressResponse_messageType struct{} -func (x fastReflection_QueryAllPlayerRequest_messageType) Zero() protoreflect.Message { - return (*fastReflection_QueryAllPlayerRequest)(nil) +func (x fastReflection_QueryAllProviderEarningsAddressResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_QueryAllProviderEarningsAddressResponse)(nil) } -func (x fastReflection_QueryAllPlayerRequest_messageType) New() protoreflect.Message { - return new(fastReflection_QueryAllPlayerRequest) +func (x fastReflection_QueryAllProviderEarningsAddressResponse_messageType) New() protoreflect.Message { + return new(fastReflection_QueryAllProviderEarningsAddressResponse) } -func (x fastReflection_QueryAllPlayerRequest_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_QueryAllPlayerRequest +func (x fastReflection_QueryAllProviderEarningsAddressResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_QueryAllProviderEarningsAddressResponse } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_QueryAllPlayerRequest) Descriptor() protoreflect.MessageDescriptor { - return md_QueryAllPlayerRequest +func (x *fastReflection_QueryAllProviderEarningsAddressResponse) Descriptor() protoreflect.MessageDescriptor { + return md_QueryAllProviderEarningsAddressResponse } // 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_QueryAllPlayerRequest) Type() protoreflect.MessageType { - return _fastReflection_QueryAllPlayerRequest_messageType +func (x *fastReflection_QueryAllProviderEarningsAddressResponse) Type() protoreflect.MessageType { + return _fastReflection_QueryAllProviderEarningsAddressResponse_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_QueryAllPlayerRequest) New() protoreflect.Message { - return new(fastReflection_QueryAllPlayerRequest) +func (x *fastReflection_QueryAllProviderEarningsAddressResponse) New() protoreflect.Message { + return new(fastReflection_QueryAllProviderEarningsAddressResponse) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_QueryAllPlayerRequest) Interface() protoreflect.ProtoMessage { - return (*QueryAllPlayerRequest)(x) +func (x *fastReflection_QueryAllProviderEarningsAddressResponse) Interface() protoreflect.ProtoMessage { + return (*QueryAllProviderEarningsAddressResponse)(x) } // Range iterates over every populated field in an undefined order, @@ -26037,10 +36843,16 @@ func (x *fastReflection_QueryAllPlayerRequest) Interface() protoreflect.ProtoMes // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_QueryAllPlayerRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +func (x *fastReflection_QueryAllProviderEarningsAddressResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if len(x.InternalAddressAssociation) != 0 { + value := protoreflect.ValueOfList(&_QueryAllProviderEarningsAddressResponse_1_list{list: &x.InternalAddressAssociation}) + if !f(fd_QueryAllProviderEarningsAddressResponse_internalAddressAssociation, value) { + return + } + } if x.Pagination != nil { value := protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) - if !f(fd_QueryAllPlayerRequest_pagination, value) { + if !f(fd_QueryAllProviderEarningsAddressResponse_pagination, value) { return } } @@ -26057,15 +36869,17 @@ func (x *fastReflection_QueryAllPlayerRequest) Range(f func(protoreflect.FieldDe // 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_QueryAllPlayerRequest) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_QueryAllProviderEarningsAddressResponse) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.QueryAllPlayerRequest.pagination": + case "structs.structs.QueryAllProviderEarningsAddressResponse.internalAddressAssociation": + return len(x.InternalAddressAssociation) != 0 + case "structs.structs.QueryAllProviderEarningsAddressResponse.pagination": return x.Pagination != nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPlayerRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllProviderEarningsAddressResponse")) } - panic(fmt.Errorf("message structs.structs.QueryAllPlayerRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllProviderEarningsAddressResponse does not contain field %s", fd.FullName())) } } @@ -26075,15 +36889,17 @@ func (x *fastReflection_QueryAllPlayerRequest) Has(fd protoreflect.FieldDescript // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAllPlayerRequest) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_QueryAllProviderEarningsAddressResponse) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.QueryAllPlayerRequest.pagination": + case "structs.structs.QueryAllProviderEarningsAddressResponse.internalAddressAssociation": + x.InternalAddressAssociation = nil + case "structs.structs.QueryAllProviderEarningsAddressResponse.pagination": x.Pagination = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPlayerRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllProviderEarningsAddressResponse")) } - panic(fmt.Errorf("message structs.structs.QueryAllPlayerRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllProviderEarningsAddressResponse does not contain field %s", fd.FullName())) } } @@ -26093,16 +36909,22 @@ func (x *fastReflection_QueryAllPlayerRequest) Clear(fd protoreflect.FieldDescri // 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_QueryAllPlayerRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryAllProviderEarningsAddressResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.QueryAllPlayerRequest.pagination": + case "structs.structs.QueryAllProviderEarningsAddressResponse.internalAddressAssociation": + if len(x.InternalAddressAssociation) == 0 { + return protoreflect.ValueOfList(&_QueryAllProviderEarningsAddressResponse_1_list{}) + } + listValue := &_QueryAllProviderEarningsAddressResponse_1_list{list: &x.InternalAddressAssociation} + return protoreflect.ValueOfList(listValue) + case "structs.structs.QueryAllProviderEarningsAddressResponse.pagination": value := x.Pagination return protoreflect.ValueOfMessage(value.ProtoReflect()) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPlayerRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllProviderEarningsAddressResponse")) } - panic(fmt.Errorf("message structs.structs.QueryAllPlayerRequest does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllProviderEarningsAddressResponse does not contain field %s", descriptor.FullName())) } } @@ -26116,15 +36938,19 @@ func (x *fastReflection_QueryAllPlayerRequest) Get(descriptor protoreflect.Field // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAllPlayerRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_QueryAllProviderEarningsAddressResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.QueryAllPlayerRequest.pagination": - x.Pagination = value.Message().Interface().(*v1beta1.PageRequest) + case "structs.structs.QueryAllProviderEarningsAddressResponse.internalAddressAssociation": + lv := value.List() + clv := lv.(*_QueryAllProviderEarningsAddressResponse_1_list) + x.InternalAddressAssociation = *clv.list + case "structs.structs.QueryAllProviderEarningsAddressResponse.pagination": + x.Pagination = value.Message().Interface().(*v1beta1.PageResponse) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPlayerRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllProviderEarningsAddressResponse")) } - panic(fmt.Errorf("message structs.structs.QueryAllPlayerRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllProviderEarningsAddressResponse does not contain field %s", fd.FullName())) } } @@ -26138,44 +36964,53 @@ func (x *fastReflection_QueryAllPlayerRequest) Set(fd protoreflect.FieldDescript // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAllPlayerRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryAllProviderEarningsAddressResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.QueryAllPlayerRequest.pagination": + case "structs.structs.QueryAllProviderEarningsAddressResponse.internalAddressAssociation": + if x.InternalAddressAssociation == nil { + x.InternalAddressAssociation = []*InternalAddressAssociation{} + } + value := &_QueryAllProviderEarningsAddressResponse_1_list{list: &x.InternalAddressAssociation} + return protoreflect.ValueOfList(value) + case "structs.structs.QueryAllProviderEarningsAddressResponse.pagination": if x.Pagination == nil { - x.Pagination = new(v1beta1.PageRequest) + x.Pagination = new(v1beta1.PageResponse) } return protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPlayerRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllProviderEarningsAddressResponse")) } - panic(fmt.Errorf("message structs.structs.QueryAllPlayerRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllProviderEarningsAddressResponse 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_QueryAllPlayerRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryAllProviderEarningsAddressResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.QueryAllPlayerRequest.pagination": - m := new(v1beta1.PageRequest) + case "structs.structs.QueryAllProviderEarningsAddressResponse.internalAddressAssociation": + list := []*InternalAddressAssociation{} + return protoreflect.ValueOfList(&_QueryAllProviderEarningsAddressResponse_1_list{list: &list}) + case "structs.structs.QueryAllProviderEarningsAddressResponse.pagination": + m := new(v1beta1.PageResponse) return protoreflect.ValueOfMessage(m.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPlayerRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllProviderEarningsAddressResponse")) } - panic(fmt.Errorf("message structs.structs.QueryAllPlayerRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryAllProviderEarningsAddressResponse 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_QueryAllPlayerRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_QueryAllProviderEarningsAddressResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryAllPlayerRequest", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryAllProviderEarningsAddressResponse", d.FullName())) } panic("unreachable") } @@ -26183,7 +37018,7 @@ func (x *fastReflection_QueryAllPlayerRequest) WhichOneof(d protoreflect.OneofDe // 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_QueryAllPlayerRequest) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_QueryAllProviderEarningsAddressResponse) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -26194,7 +37029,7 @@ func (x *fastReflection_QueryAllPlayerRequest) GetUnknown() protoreflect.RawFiel // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAllPlayerRequest) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_QueryAllProviderEarningsAddressResponse) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -26206,7 +37041,7 @@ func (x *fastReflection_QueryAllPlayerRequest) SetUnknown(fields protoreflect.Ra // 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_QueryAllPlayerRequest) IsValid() bool { +func (x *fastReflection_QueryAllProviderEarningsAddressResponse) IsValid() bool { return x != nil } @@ -26216,9 +37051,9 @@ func (x *fastReflection_QueryAllPlayerRequest) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_QueryAllPlayerRequest) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_QueryAllProviderEarningsAddressResponse) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*QueryAllPlayerRequest) + x := input.Message.Interface().(*QueryAllProviderEarningsAddressResponse) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -26230,6 +37065,12 @@ func (x *fastReflection_QueryAllPlayerRequest) ProtoMethods() *protoiface.Method var n int var l int _ = l + if len(x.InternalAddressAssociation) > 0 { + for _, e := range x.InternalAddressAssociation { + l = options.Size(e) + n += 1 + l + runtime.Sov(uint64(l)) + } + } if x.Pagination != nil { l = options.Size(x.Pagination) n += 1 + l + runtime.Sov(uint64(l)) @@ -26244,7 +37085,7 @@ func (x *fastReflection_QueryAllPlayerRequest) ProtoMethods() *protoiface.Method } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*QueryAllPlayerRequest) + x := input.Message.Interface().(*QueryAllProviderEarningsAddressResponse) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -26275,7 +37116,23 @@ func (x *fastReflection_QueryAllPlayerRequest) ProtoMethods() *protoiface.Method copy(dAtA[i:], encoded) i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) i-- - dAtA[i] = 0xa + dAtA[i] = 0x12 + } + if len(x.InternalAddressAssociation) > 0 { + for iNdEx := len(x.InternalAddressAssociation) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.InternalAddressAssociation[iNdEx]) + 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...) @@ -26288,7 +37145,7 @@ func (x *fastReflection_QueryAllPlayerRequest) ProtoMethods() *protoiface.Method }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*QueryAllPlayerRequest) + x := input.Message.Interface().(*QueryAllProviderEarningsAddressResponse) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -26320,13 +37177,47 @@ func (x *fastReflection_QueryAllPlayerRequest) ProtoMethods() *protoiface.Method fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllPlayerRequest: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllProviderEarningsAddressResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllPlayerRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllProviderEarningsAddressResponse: 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 InternalAddressAssociation", 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 + } + x.InternalAddressAssociation = append(x.InternalAddressAssociation, &InternalAddressAssociation{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.InternalAddressAssociation[len(x.InternalAddressAssociation)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 2: if wireType != 2 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Pagination", wireType) } @@ -26356,7 +37247,7 @@ func (x *fastReflection_QueryAllPlayerRequest) ProtoMethods() *protoiface.Method return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } if x.Pagination == nil { - x.Pagination = &v1beta1.PageRequest{} + x.Pagination = &v1beta1.PageResponse{} } if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Pagination); err != nil { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err @@ -26397,80 +37288,27 @@ func (x *fastReflection_QueryAllPlayerRequest) ProtoMethods() *protoiface.Method } } -var _ protoreflect.List = (*_QueryAllPlayerResponse_1_list)(nil) - -type _QueryAllPlayerResponse_1_list struct { - list *[]*Player -} - -func (x *_QueryAllPlayerResponse_1_list) Len() int { - if x.list == nil { - return 0 - } - return len(*x.list) -} - -func (x *_QueryAllPlayerResponse_1_list) Get(i int) protoreflect.Value { - return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) -} - -func (x *_QueryAllPlayerResponse_1_list) Set(i int, value protoreflect.Value) { - valueUnwrapped := value.Message() - concreteValue := valueUnwrapped.Interface().(*Player) - (*x.list)[i] = concreteValue -} - -func (x *_QueryAllPlayerResponse_1_list) Append(value protoreflect.Value) { - valueUnwrapped := value.Message() - concreteValue := valueUnwrapped.Interface().(*Player) - *x.list = append(*x.list, concreteValue) -} - -func (x *_QueryAllPlayerResponse_1_list) AppendMutable() protoreflect.Value { - v := new(Player) - *x.list = append(*x.list, v) - return protoreflect.ValueOfMessage(v.ProtoReflect()) -} - -func (x *_QueryAllPlayerResponse_1_list) Truncate(n int) { - for i := n; i < len(*x.list); i++ { - (*x.list)[i] = nil - } - *x.list = (*x.list)[:n] -} - -func (x *_QueryAllPlayerResponse_1_list) NewElement() protoreflect.Value { - v := new(Player) - return protoreflect.ValueOfMessage(v.ProtoReflect()) -} - -func (x *_QueryAllPlayerResponse_1_list) IsValid() bool { - return x.list != nil -} - var ( - md_QueryAllPlayerResponse protoreflect.MessageDescriptor - fd_QueryAllPlayerResponse_Player protoreflect.FieldDescriptor - fd_QueryAllPlayerResponse_pagination protoreflect.FieldDescriptor + md_QueryGetProviderByEarningsAddressRequest protoreflect.MessageDescriptor + fd_QueryGetProviderByEarningsAddressRequest_address protoreflect.FieldDescriptor ) func init() { file_structs_structs_query_proto_init() - md_QueryAllPlayerResponse = File_structs_structs_query_proto.Messages().ByName("QueryAllPlayerResponse") - fd_QueryAllPlayerResponse_Player = md_QueryAllPlayerResponse.Fields().ByName("Player") - fd_QueryAllPlayerResponse_pagination = md_QueryAllPlayerResponse.Fields().ByName("pagination") + md_QueryGetProviderByEarningsAddressRequest = File_structs_structs_query_proto.Messages().ByName("QueryGetProviderByEarningsAddressRequest") + fd_QueryGetProviderByEarningsAddressRequest_address = md_QueryGetProviderByEarningsAddressRequest.Fields().ByName("address") } -var _ protoreflect.Message = (*fastReflection_QueryAllPlayerResponse)(nil) +var _ protoreflect.Message = (*fastReflection_QueryGetProviderByEarningsAddressRequest)(nil) -type fastReflection_QueryAllPlayerResponse QueryAllPlayerResponse +type fastReflection_QueryGetProviderByEarningsAddressRequest QueryGetProviderByEarningsAddressRequest -func (x *QueryAllPlayerResponse) ProtoReflect() protoreflect.Message { - return (*fastReflection_QueryAllPlayerResponse)(x) +func (x *QueryGetProviderByEarningsAddressRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_QueryGetProviderByEarningsAddressRequest)(x) } -func (x *QueryAllPlayerResponse) slowProtoReflect() protoreflect.Message { - mi := &file_structs_structs_query_proto_msgTypes[55] +func (x *QueryGetProviderByEarningsAddressRequest) slowProtoReflect() protoreflect.Message { + mi := &file_structs_structs_query_proto_msgTypes[78] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -26481,43 +37319,43 @@ func (x *QueryAllPlayerResponse) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_QueryAllPlayerResponse_messageType fastReflection_QueryAllPlayerResponse_messageType -var _ protoreflect.MessageType = fastReflection_QueryAllPlayerResponse_messageType{} +var _fastReflection_QueryGetProviderByEarningsAddressRequest_messageType fastReflection_QueryGetProviderByEarningsAddressRequest_messageType +var _ protoreflect.MessageType = fastReflection_QueryGetProviderByEarningsAddressRequest_messageType{} -type fastReflection_QueryAllPlayerResponse_messageType struct{} +type fastReflection_QueryGetProviderByEarningsAddressRequest_messageType struct{} -func (x fastReflection_QueryAllPlayerResponse_messageType) Zero() protoreflect.Message { - return (*fastReflection_QueryAllPlayerResponse)(nil) +func (x fastReflection_QueryGetProviderByEarningsAddressRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_QueryGetProviderByEarningsAddressRequest)(nil) } -func (x fastReflection_QueryAllPlayerResponse_messageType) New() protoreflect.Message { - return new(fastReflection_QueryAllPlayerResponse) +func (x fastReflection_QueryGetProviderByEarningsAddressRequest_messageType) New() protoreflect.Message { + return new(fastReflection_QueryGetProviderByEarningsAddressRequest) } -func (x fastReflection_QueryAllPlayerResponse_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_QueryAllPlayerResponse +func (x fastReflection_QueryGetProviderByEarningsAddressRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_QueryGetProviderByEarningsAddressRequest } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_QueryAllPlayerResponse) Descriptor() protoreflect.MessageDescriptor { - return md_QueryAllPlayerResponse +func (x *fastReflection_QueryGetProviderByEarningsAddressRequest) Descriptor() protoreflect.MessageDescriptor { + return md_QueryGetProviderByEarningsAddressRequest } // 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_QueryAllPlayerResponse) Type() protoreflect.MessageType { - return _fastReflection_QueryAllPlayerResponse_messageType +func (x *fastReflection_QueryGetProviderByEarningsAddressRequest) Type() protoreflect.MessageType { + return _fastReflection_QueryGetProviderByEarningsAddressRequest_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_QueryAllPlayerResponse) New() protoreflect.Message { - return new(fastReflection_QueryAllPlayerResponse) +func (x *fastReflection_QueryGetProviderByEarningsAddressRequest) New() protoreflect.Message { + return new(fastReflection_QueryGetProviderByEarningsAddressRequest) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_QueryAllPlayerResponse) Interface() protoreflect.ProtoMessage { - return (*QueryAllPlayerResponse)(x) +func (x *fastReflection_QueryGetProviderByEarningsAddressRequest) Interface() protoreflect.ProtoMessage { + return (*QueryGetProviderByEarningsAddressRequest)(x) } // Range iterates over every populated field in an undefined order, @@ -26525,16 +37363,10 @@ func (x *fastReflection_QueryAllPlayerResponse) Interface() protoreflect.ProtoMe // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_QueryAllPlayerResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if len(x.Player) != 0 { - value := protoreflect.ValueOfList(&_QueryAllPlayerResponse_1_list{list: &x.Player}) - if !f(fd_QueryAllPlayerResponse_Player, value) { - return - } - } - if x.Pagination != nil { - value := protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) - if !f(fd_QueryAllPlayerResponse_pagination, value) { +func (x *fastReflection_QueryGetProviderByEarningsAddressRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Address != "" { + value := protoreflect.ValueOfString(x.Address) + if !f(fd_QueryGetProviderByEarningsAddressRequest_address, value) { return } } @@ -26551,17 +37383,15 @@ func (x *fastReflection_QueryAllPlayerResponse) Range(f func(protoreflect.FieldD // 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_QueryAllPlayerResponse) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_QueryGetProviderByEarningsAddressRequest) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.QueryAllPlayerResponse.Player": - return len(x.Player) != 0 - case "structs.structs.QueryAllPlayerResponse.pagination": - return x.Pagination != nil + case "structs.structs.QueryGetProviderByEarningsAddressRequest.address": + return x.Address != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPlayerResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetProviderByEarningsAddressRequest")) } - panic(fmt.Errorf("message structs.structs.QueryAllPlayerResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetProviderByEarningsAddressRequest does not contain field %s", fd.FullName())) } } @@ -26571,17 +37401,15 @@ func (x *fastReflection_QueryAllPlayerResponse) Has(fd protoreflect.FieldDescrip // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAllPlayerResponse) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_QueryGetProviderByEarningsAddressRequest) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.QueryAllPlayerResponse.Player": - x.Player = nil - case "structs.structs.QueryAllPlayerResponse.pagination": - x.Pagination = nil + case "structs.structs.QueryGetProviderByEarningsAddressRequest.address": + x.Address = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPlayerResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetProviderByEarningsAddressRequest")) } - panic(fmt.Errorf("message structs.structs.QueryAllPlayerResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetProviderByEarningsAddressRequest does not contain field %s", fd.FullName())) } } @@ -26591,22 +37419,16 @@ func (x *fastReflection_QueryAllPlayerResponse) Clear(fd protoreflect.FieldDescr // 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_QueryAllPlayerResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryGetProviderByEarningsAddressRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.QueryAllPlayerResponse.Player": - if len(x.Player) == 0 { - return protoreflect.ValueOfList(&_QueryAllPlayerResponse_1_list{}) - } - listValue := &_QueryAllPlayerResponse_1_list{list: &x.Player} - return protoreflect.ValueOfList(listValue) - case "structs.structs.QueryAllPlayerResponse.pagination": - value := x.Pagination - return protoreflect.ValueOfMessage(value.ProtoReflect()) + case "structs.structs.QueryGetProviderByEarningsAddressRequest.address": + value := x.Address + return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPlayerResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetProviderByEarningsAddressRequest")) } - panic(fmt.Errorf("message structs.structs.QueryAllPlayerResponse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetProviderByEarningsAddressRequest does not contain field %s", descriptor.FullName())) } } @@ -26620,19 +37442,15 @@ func (x *fastReflection_QueryAllPlayerResponse) Get(descriptor protoreflect.Fiel // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAllPlayerResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_QueryGetProviderByEarningsAddressRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.QueryAllPlayerResponse.Player": - lv := value.List() - clv := lv.(*_QueryAllPlayerResponse_1_list) - x.Player = *clv.list - case "structs.structs.QueryAllPlayerResponse.pagination": - x.Pagination = value.Message().Interface().(*v1beta1.PageResponse) + case "structs.structs.QueryGetProviderByEarningsAddressRequest.address": + x.Address = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPlayerResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetProviderByEarningsAddressRequest")) } - panic(fmt.Errorf("message structs.structs.QueryAllPlayerResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetProviderByEarningsAddressRequest does not contain field %s", fd.FullName())) } } @@ -26646,53 +37464,40 @@ func (x *fastReflection_QueryAllPlayerResponse) Set(fd protoreflect.FieldDescrip // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAllPlayerResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryGetProviderByEarningsAddressRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.QueryAllPlayerResponse.Player": - if x.Player == nil { - x.Player = []*Player{} - } - value := &_QueryAllPlayerResponse_1_list{list: &x.Player} - return protoreflect.ValueOfList(value) - case "structs.structs.QueryAllPlayerResponse.pagination": - if x.Pagination == nil { - x.Pagination = new(v1beta1.PageResponse) - } - return protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) + case "structs.structs.QueryGetProviderByEarningsAddressRequest.address": + panic(fmt.Errorf("field address of message structs.structs.QueryGetProviderByEarningsAddressRequest is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPlayerResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetProviderByEarningsAddressRequest")) } - panic(fmt.Errorf("message structs.structs.QueryAllPlayerResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetProviderByEarningsAddressRequest 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_QueryAllPlayerResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_QueryGetProviderByEarningsAddressRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.QueryAllPlayerResponse.Player": - list := []*Player{} - return protoreflect.ValueOfList(&_QueryAllPlayerResponse_1_list{list: &list}) - case "structs.structs.QueryAllPlayerResponse.pagination": - m := new(v1beta1.PageResponse) - return protoreflect.ValueOfMessage(m.ProtoReflect()) + case "structs.structs.QueryGetProviderByEarningsAddressRequest.address": + return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryAllPlayerResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.QueryGetProviderByEarningsAddressRequest")) } - panic(fmt.Errorf("message structs.structs.QueryAllPlayerResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.QueryGetProviderByEarningsAddressRequest 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_QueryAllPlayerResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_QueryGetProviderByEarningsAddressRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryAllPlayerResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.QueryGetProviderByEarningsAddressRequest", d.FullName())) } panic("unreachable") } @@ -26700,7 +37505,7 @@ func (x *fastReflection_QueryAllPlayerResponse) WhichOneof(d protoreflect.OneofD // 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_QueryAllPlayerResponse) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_QueryGetProviderByEarningsAddressRequest) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -26711,7 +37516,7 @@ func (x *fastReflection_QueryAllPlayerResponse) GetUnknown() protoreflect.RawFie // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_QueryAllPlayerResponse) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_QueryGetProviderByEarningsAddressRequest) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -26723,7 +37528,7 @@ func (x *fastReflection_QueryAllPlayerResponse) SetUnknown(fields protoreflect.R // 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_QueryAllPlayerResponse) IsValid() bool { +func (x *fastReflection_QueryGetProviderByEarningsAddressRequest) IsValid() bool { return x != nil } @@ -26733,9 +37538,9 @@ func (x *fastReflection_QueryAllPlayerResponse) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_QueryAllPlayerResponse) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_QueryGetProviderByEarningsAddressRequest) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*QueryAllPlayerResponse) + x := input.Message.Interface().(*QueryGetProviderByEarningsAddressRequest) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -26747,14 +37552,8 @@ func (x *fastReflection_QueryAllPlayerResponse) ProtoMethods() *protoiface.Metho var n int var l int _ = l - if len(x.Player) > 0 { - for _, e := range x.Player { - l = options.Size(e) - n += 1 + l + runtime.Sov(uint64(l)) - } - } - if x.Pagination != nil { - l = options.Size(x.Pagination) + l = len(x.Address) + if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } if x.unknownFields != nil { @@ -26767,7 +37566,7 @@ func (x *fastReflection_QueryAllPlayerResponse) ProtoMethods() *protoiface.Metho } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*QueryAllPlayerResponse) + x := input.Message.Interface().(*QueryGetProviderByEarningsAddressRequest) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -26786,35 +37585,12 @@ func (x *fastReflection_QueryAllPlayerResponse) ProtoMethods() *protoiface.Metho i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if x.Pagination != nil { - encoded, err := options.Marshal(x.Pagination) - 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))) + if len(x.Address) > 0 { + i -= len(x.Address) + copy(dAtA[i:], x.Address) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Address))) i-- - dAtA[i] = 0x12 - } - if len(x.Player) > 0 { - for iNdEx := len(x.Player) - 1; iNdEx >= 0; iNdEx-- { - encoded, err := options.Marshal(x.Player[iNdEx]) - 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 - } + dAtA[i] = 0xa } if input.Buf != nil { input.Buf = append(input.Buf, dAtA...) @@ -26827,7 +37603,7 @@ func (x *fastReflection_QueryAllPlayerResponse) ProtoMethods() *protoiface.Metho }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*QueryAllPlayerResponse) + x := input.Message.Interface().(*QueryGetProviderByEarningsAddressRequest) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -26859,51 +37635,17 @@ func (x *fastReflection_QueryAllPlayerResponse) ProtoMethods() *protoiface.Metho fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllPlayerResponse: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryGetProviderByEarningsAddressRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryAllPlayerResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: QueryGetProviderByEarningsAddressRequest: 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 Player", 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 - } - x.Player = append(x.Player, &Player{}) - if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Player[len(x.Player)-1]); err != nil { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Pagination", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -26913,27 +37655,23 @@ func (x *fastReflection_QueryAllPlayerResponse) ProtoMethods() *protoiface.Metho } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength } - postIndex := iNdEx + msglen + 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 } - if x.Pagination == nil { - x.Pagination = &v1beta1.PageResponse{} - } - if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Pagination); err != nil { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err - } + x.Address = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -26990,7 +37728,7 @@ func (x *QueryGetReactorRequest) ProtoReflect() protoreflect.Message { } func (x *QueryGetReactorRequest) slowProtoReflect() protoreflect.Message { - mi := &file_structs_structs_query_proto_msgTypes[56] + mi := &file_structs_structs_query_proto_msgTypes[79] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -27412,7 +38150,7 @@ func (x *QueryGetReactorResponse) ProtoReflect() protoreflect.Message { } func (x *QueryGetReactorResponse) slowProtoReflect() protoreflect.Message { - mi := &file_structs_structs_query_proto_msgTypes[57] + mi := &file_structs_structs_query_proto_msgTypes[80] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -27924,7 +38662,7 @@ func (x *QueryAllReactorRequest) ProtoReflect() protoreflect.Message { } func (x *QueryAllReactorRequest) slowProtoReflect() protoreflect.Message { - mi := &file_structs_structs_query_proto_msgTypes[58] + mi := &file_structs_structs_query_proto_msgTypes[81] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -28412,7 +39150,7 @@ func (x *QueryAllReactorResponse) ProtoReflect() protoreflect.Message { } func (x *QueryAllReactorResponse) slowProtoReflect() protoreflect.Message { - mi := &file_structs_structs_query_proto_msgTypes[59] + mi := &file_structs_structs_query_proto_msgTypes[82] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -28932,7 +39670,7 @@ func (x *QueryGetStructRequest) ProtoReflect() protoreflect.Message { } func (x *QueryGetStructRequest) slowProtoReflect() protoreflect.Message { - mi := &file_structs_structs_query_proto_msgTypes[60] + mi := &file_structs_structs_query_proto_msgTypes[83] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -29404,7 +40142,7 @@ func (x *QueryGetStructResponse) ProtoReflect() protoreflect.Message { } func (x *QueryGetStructResponse) slowProtoReflect() protoreflect.Message { - mi := &file_structs_structs_query_proto_msgTypes[61] + mi := &file_structs_structs_query_proto_msgTypes[84] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -30069,7 +40807,7 @@ func (x *QueryAllStructRequest) ProtoReflect() protoreflect.Message { } func (x *QueryAllStructRequest) slowProtoReflect() protoreflect.Message { - mi := &file_structs_structs_query_proto_msgTypes[62] + mi := &file_structs_structs_query_proto_msgTypes[85] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -30557,7 +41295,7 @@ func (x *QueryAllStructResponse) ProtoReflect() protoreflect.Message { } func (x *QueryAllStructResponse) slowProtoReflect() protoreflect.Message { - mi := &file_structs_structs_query_proto_msgTypes[63] + mi := &file_structs_structs_query_proto_msgTypes[86] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -31079,7 +41817,7 @@ func (x *QueryGetStructAttributeRequest) ProtoReflect() protoreflect.Message { } func (x *QueryGetStructAttributeRequest) slowProtoReflect() protoreflect.Message { - mi := &file_structs_structs_query_proto_msgTypes[64] + mi := &file_structs_structs_query_proto_msgTypes[87] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -31561,7 +42299,7 @@ func (x *QueryGetStructAttributeResponse) ProtoReflect() protoreflect.Message { } func (x *QueryGetStructAttributeResponse) slowProtoReflect() protoreflect.Message { - mi := &file_structs_structs_query_proto_msgTypes[65] + mi := &file_structs_structs_query_proto_msgTypes[88] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -31965,7 +42703,7 @@ func (x *QueryAllStructAttributeRequest) ProtoReflect() protoreflect.Message { } func (x *QueryAllStructAttributeRequest) slowProtoReflect() protoreflect.Message { - mi := &file_structs_structs_query_proto_msgTypes[66] + mi := &file_structs_structs_query_proto_msgTypes[89] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -32453,7 +43191,7 @@ func (x *QueryAllStructAttributeResponse) ProtoReflect() protoreflect.Message { } func (x *QueryAllStructAttributeResponse) slowProtoReflect() protoreflect.Message { - mi := &file_structs_structs_query_proto_msgTypes[67] + mi := &file_structs_structs_query_proto_msgTypes[90] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -32973,7 +43711,7 @@ func (x *QueryGetStructTypeRequest) ProtoReflect() protoreflect.Message { } func (x *QueryGetStructTypeRequest) slowProtoReflect() protoreflect.Message { - mi := &file_structs_structs_query_proto_msgTypes[68] + mi := &file_structs_structs_query_proto_msgTypes[91] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -33377,7 +44115,7 @@ func (x *QueryGetStructTypeResponse) ProtoReflect() protoreflect.Message { } func (x *QueryGetStructTypeResponse) slowProtoReflect() protoreflect.Message { - mi := &file_structs_structs_query_proto_msgTypes[69] + mi := &file_structs_structs_query_proto_msgTypes[92] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -33812,7 +44550,7 @@ func (x *QueryAllStructTypeRequest) ProtoReflect() protoreflect.Message { } func (x *QueryAllStructTypeRequest) slowProtoReflect() protoreflect.Message { - mi := &file_structs_structs_query_proto_msgTypes[70] + mi := &file_structs_structs_query_proto_msgTypes[93] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -34300,7 +45038,7 @@ func (x *QueryAllStructTypeResponse) ProtoReflect() protoreflect.Message { } func (x *QueryAllStructTypeResponse) slowProtoReflect() protoreflect.Message { - mi := &file_structs_structs_query_proto_msgTypes[71] + mi := &file_structs_structs_query_proto_msgTypes[94] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -34820,7 +45558,7 @@ func (x *QueryGetSubstationRequest) ProtoReflect() protoreflect.Message { } func (x *QueryGetSubstationRequest) slowProtoReflect() protoreflect.Message { - mi := &file_structs_structs_query_proto_msgTypes[72] + mi := &file_structs_structs_query_proto_msgTypes[95] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -35242,7 +45980,7 @@ func (x *QueryGetSubstationResponse) ProtoReflect() protoreflect.Message { } func (x *QueryGetSubstationResponse) slowProtoReflect() protoreflect.Message { - mi := &file_structs_structs_query_proto_msgTypes[73] + mi := &file_structs_structs_query_proto_msgTypes[96] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -35754,7 +46492,7 @@ func (x *QueryAllSubstationRequest) ProtoReflect() protoreflect.Message { } func (x *QueryAllSubstationRequest) slowProtoReflect() protoreflect.Message { - mi := &file_structs_structs_query_proto_msgTypes[74] + mi := &file_structs_structs_query_proto_msgTypes[97] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -36242,7 +46980,7 @@ func (x *QueryAllSubstationResponse) ProtoReflect() protoreflect.Message { } func (x *QueryAllSubstationResponse) slowProtoReflect() protoreflect.Message { - mi := &file_structs_structs_query_proto_msgTypes[75] + mi := &file_structs_structs_query_proto_msgTypes[98] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -36768,7 +47506,7 @@ func (x *QueryValidateSignatureRequest) ProtoReflect() protoreflect.Message { } func (x *QueryValidateSignatureRequest) slowProtoReflect() protoreflect.Message { - mi := &file_structs_structs_query_proto_msgTypes[76] + mi := &file_structs_structs_query_proto_msgTypes[99] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -37382,7 +48120,7 @@ func (x *QueryValidateSignatureResponse) ProtoReflect() protoreflect.Message { } func (x *QueryValidateSignatureResponse) slowProtoReflect() protoreflect.Message { - mi := &file_structs_structs_query_proto_msgTypes[77] + mi := &file_structs_structs_query_proto_msgTypes[100] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -38325,6 +49063,197 @@ func (x *QueryAllAddressResponse) GetPagination() *v1beta1.PageResponse { return nil } +type QueryGetAgreementRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` +} + +func (x *QueryGetAgreementRequest) Reset() { + *x = QueryGetAgreementRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_structs_structs_query_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *QueryGetAgreementRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*QueryGetAgreementRequest) ProtoMessage() {} + +// Deprecated: Use QueryGetAgreementRequest.ProtoReflect.Descriptor instead. +func (*QueryGetAgreementRequest) Descriptor() ([]byte, []int) { + return file_structs_structs_query_proto_rawDescGZIP(), []int{9} +} + +func (x *QueryGetAgreementRequest) GetId() string { + if x != nil { + return x.Id + } + return "" +} + +type QueryGetAgreementResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Agreement *Agreement `protobuf:"bytes,1,opt,name=Agreement,proto3" json:"Agreement,omitempty"` +} + +func (x *QueryGetAgreementResponse) Reset() { + *x = QueryGetAgreementResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_structs_structs_query_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *QueryGetAgreementResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*QueryGetAgreementResponse) ProtoMessage() {} + +// Deprecated: Use QueryGetAgreementResponse.ProtoReflect.Descriptor instead. +func (*QueryGetAgreementResponse) Descriptor() ([]byte, []int) { + return file_structs_structs_query_proto_rawDescGZIP(), []int{10} +} + +func (x *QueryGetAgreementResponse) GetAgreement() *Agreement { + if x != nil { + return x.Agreement + } + return nil +} + +type QueryAllAgreementRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Pagination *v1beta1.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` +} + +func (x *QueryAllAgreementRequest) Reset() { + *x = QueryAllAgreementRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_structs_structs_query_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *QueryAllAgreementRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*QueryAllAgreementRequest) ProtoMessage() {} + +// Deprecated: Use QueryAllAgreementRequest.ProtoReflect.Descriptor instead. +func (*QueryAllAgreementRequest) Descriptor() ([]byte, []int) { + return file_structs_structs_query_proto_rawDescGZIP(), []int{11} +} + +func (x *QueryAllAgreementRequest) GetPagination() *v1beta1.PageRequest { + if x != nil { + return x.Pagination + } + return nil +} + +type QueryAllAgreementByProviderRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Pagination *v1beta1.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` + ProviderId string `protobuf:"bytes,2,opt,name=providerId,proto3" json:"providerId,omitempty"` +} + +func (x *QueryAllAgreementByProviderRequest) Reset() { + *x = QueryAllAgreementByProviderRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_structs_structs_query_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *QueryAllAgreementByProviderRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*QueryAllAgreementByProviderRequest) ProtoMessage() {} + +// Deprecated: Use QueryAllAgreementByProviderRequest.ProtoReflect.Descriptor instead. +func (*QueryAllAgreementByProviderRequest) Descriptor() ([]byte, []int) { + return file_structs_structs_query_proto_rawDescGZIP(), []int{12} +} + +func (x *QueryAllAgreementByProviderRequest) GetPagination() *v1beta1.PageRequest { + if x != nil { + return x.Pagination + } + return nil +} + +func (x *QueryAllAgreementByProviderRequest) GetProviderId() string { + if x != nil { + return x.ProviderId + } + return "" +} + +type QueryAllAgreementResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Agreement []*Agreement `protobuf:"bytes,1,rep,name=Agreement,proto3" json:"Agreement,omitempty"` + Pagination *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` +} + +func (x *QueryAllAgreementResponse) Reset() { + *x = QueryAllAgreementResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_structs_structs_query_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *QueryAllAgreementResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*QueryAllAgreementResponse) ProtoMessage() {} + +// Deprecated: Use QueryAllAgreementResponse.ProtoReflect.Descriptor instead. +func (*QueryAllAgreementResponse) Descriptor() ([]byte, []int) { + return file_structs_structs_query_proto_rawDescGZIP(), []int{13} +} + +func (x *QueryAllAgreementResponse) GetAgreement() []*Agreement { + if x != nil { + return x.Agreement + } + return nil +} + +func (x *QueryAllAgreementResponse) GetPagination() *v1beta1.PageResponse { + if x != nil { + return x.Pagination + } + return nil +} + type QueryGetAllocationRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -38336,7 +49265,7 @@ type QueryGetAllocationRequest struct { func (x *QueryGetAllocationRequest) Reset() { *x = QueryGetAllocationRequest{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_query_proto_msgTypes[9] + mi := &file_structs_structs_query_proto_msgTypes[14] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -38350,7 +49279,7 @@ func (*QueryGetAllocationRequest) ProtoMessage() {} // Deprecated: Use QueryGetAllocationRequest.ProtoReflect.Descriptor instead. func (*QueryGetAllocationRequest) Descriptor() ([]byte, []int) { - return file_structs_structs_query_proto_rawDescGZIP(), []int{9} + return file_structs_structs_query_proto_rawDescGZIP(), []int{14} } func (x *QueryGetAllocationRequest) GetId() string { @@ -38372,7 +49301,7 @@ type QueryGetAllocationResponse struct { func (x *QueryGetAllocationResponse) Reset() { *x = QueryGetAllocationResponse{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_query_proto_msgTypes[10] + mi := &file_structs_structs_query_proto_msgTypes[15] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -38386,7 +49315,7 @@ func (*QueryGetAllocationResponse) ProtoMessage() {} // Deprecated: Use QueryGetAllocationResponse.ProtoReflect.Descriptor instead. func (*QueryGetAllocationResponse) Descriptor() ([]byte, []int) { - return file_structs_structs_query_proto_rawDescGZIP(), []int{10} + return file_structs_structs_query_proto_rawDescGZIP(), []int{15} } func (x *QueryGetAllocationResponse) GetAllocation() *Allocation { @@ -38414,7 +49343,7 @@ type QueryAllAllocationRequest struct { func (x *QueryAllAllocationRequest) Reset() { *x = QueryAllAllocationRequest{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_query_proto_msgTypes[11] + mi := &file_structs_structs_query_proto_msgTypes[16] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -38428,7 +49357,7 @@ func (*QueryAllAllocationRequest) ProtoMessage() {} // Deprecated: Use QueryAllAllocationRequest.ProtoReflect.Descriptor instead. func (*QueryAllAllocationRequest) Descriptor() ([]byte, []int) { - return file_structs_structs_query_proto_rawDescGZIP(), []int{11} + return file_structs_structs_query_proto_rawDescGZIP(), []int{16} } func (x *QueryAllAllocationRequest) GetPagination() *v1beta1.PageRequest { @@ -38450,7 +49379,7 @@ type QueryAllAllocationBySourceRequest struct { func (x *QueryAllAllocationBySourceRequest) Reset() { *x = QueryAllAllocationBySourceRequest{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_query_proto_msgTypes[12] + mi := &file_structs_structs_query_proto_msgTypes[17] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -38464,7 +49393,7 @@ func (*QueryAllAllocationBySourceRequest) ProtoMessage() {} // Deprecated: Use QueryAllAllocationBySourceRequest.ProtoReflect.Descriptor instead. func (*QueryAllAllocationBySourceRequest) Descriptor() ([]byte, []int) { - return file_structs_structs_query_proto_rawDescGZIP(), []int{12} + return file_structs_structs_query_proto_rawDescGZIP(), []int{17} } func (x *QueryAllAllocationBySourceRequest) GetPagination() *v1beta1.PageRequest { @@ -38493,7 +49422,7 @@ type QueryAllAllocationByDestinationRequest struct { func (x *QueryAllAllocationByDestinationRequest) Reset() { *x = QueryAllAllocationByDestinationRequest{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_query_proto_msgTypes[13] + mi := &file_structs_structs_query_proto_msgTypes[18] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -38507,7 +49436,7 @@ func (*QueryAllAllocationByDestinationRequest) ProtoMessage() {} // Deprecated: Use QueryAllAllocationByDestinationRequest.ProtoReflect.Descriptor instead. func (*QueryAllAllocationByDestinationRequest) Descriptor() ([]byte, []int) { - return file_structs_structs_query_proto_rawDescGZIP(), []int{13} + return file_structs_structs_query_proto_rawDescGZIP(), []int{18} } func (x *QueryAllAllocationByDestinationRequest) GetPagination() *v1beta1.PageRequest { @@ -38537,7 +49466,7 @@ type QueryAllAllocationResponse struct { func (x *QueryAllAllocationResponse) Reset() { *x = QueryAllAllocationResponse{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_query_proto_msgTypes[14] + mi := &file_structs_structs_query_proto_msgTypes[19] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -38551,7 +49480,7 @@ func (*QueryAllAllocationResponse) ProtoMessage() {} // Deprecated: Use QueryAllAllocationResponse.ProtoReflect.Descriptor instead. func (*QueryAllAllocationResponse) Descriptor() ([]byte, []int) { - return file_structs_structs_query_proto_rawDescGZIP(), []int{14} + return file_structs_structs_query_proto_rawDescGZIP(), []int{19} } func (x *QueryAllAllocationResponse) GetAllocation() []*Allocation { @@ -38586,7 +49515,7 @@ type QueryGetFleetRequest struct { func (x *QueryGetFleetRequest) Reset() { *x = QueryGetFleetRequest{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_query_proto_msgTypes[15] + mi := &file_structs_structs_query_proto_msgTypes[20] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -38600,7 +49529,7 @@ func (*QueryGetFleetRequest) ProtoMessage() {} // Deprecated: Use QueryGetFleetRequest.ProtoReflect.Descriptor instead. func (*QueryGetFleetRequest) Descriptor() ([]byte, []int) { - return file_structs_structs_query_proto_rawDescGZIP(), []int{15} + return file_structs_structs_query_proto_rawDescGZIP(), []int{20} } func (x *QueryGetFleetRequest) GetId() string { @@ -38621,7 +49550,7 @@ type QueryGetFleetResponse struct { func (x *QueryGetFleetResponse) Reset() { *x = QueryGetFleetResponse{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_query_proto_msgTypes[16] + mi := &file_structs_structs_query_proto_msgTypes[21] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -38635,7 +49564,7 @@ func (*QueryGetFleetResponse) ProtoMessage() {} // Deprecated: Use QueryGetFleetResponse.ProtoReflect.Descriptor instead. func (*QueryGetFleetResponse) Descriptor() ([]byte, []int) { - return file_structs_structs_query_proto_rawDescGZIP(), []int{16} + return file_structs_structs_query_proto_rawDescGZIP(), []int{21} } func (x *QueryGetFleetResponse) GetFleet() *Fleet { @@ -38656,7 +49585,7 @@ type QueryGetFleetByIndexRequest struct { func (x *QueryGetFleetByIndexRequest) Reset() { *x = QueryGetFleetByIndexRequest{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_query_proto_msgTypes[17] + mi := &file_structs_structs_query_proto_msgTypes[22] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -38670,7 +49599,7 @@ func (*QueryGetFleetByIndexRequest) ProtoMessage() {} // Deprecated: Use QueryGetFleetByIndexRequest.ProtoReflect.Descriptor instead. func (*QueryGetFleetByIndexRequest) Descriptor() ([]byte, []int) { - return file_structs_structs_query_proto_rawDescGZIP(), []int{17} + return file_structs_structs_query_proto_rawDescGZIP(), []int{22} } func (x *QueryGetFleetByIndexRequest) GetIndex() uint64 { @@ -38691,7 +49620,7 @@ type QueryAllFleetRequest struct { func (x *QueryAllFleetRequest) Reset() { *x = QueryAllFleetRequest{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_query_proto_msgTypes[18] + mi := &file_structs_structs_query_proto_msgTypes[23] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -38705,7 +49634,7 @@ func (*QueryAllFleetRequest) ProtoMessage() {} // Deprecated: Use QueryAllFleetRequest.ProtoReflect.Descriptor instead. func (*QueryAllFleetRequest) Descriptor() ([]byte, []int) { - return file_structs_structs_query_proto_rawDescGZIP(), []int{18} + return file_structs_structs_query_proto_rawDescGZIP(), []int{23} } func (x *QueryAllFleetRequest) GetPagination() *v1beta1.PageRequest { @@ -38727,7 +49656,7 @@ type QueryAllFleetResponse struct { func (x *QueryAllFleetResponse) Reset() { *x = QueryAllFleetResponse{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_query_proto_msgTypes[19] + mi := &file_structs_structs_query_proto_msgTypes[24] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -38741,7 +49670,7 @@ func (*QueryAllFleetResponse) ProtoMessage() {} // Deprecated: Use QueryAllFleetResponse.ProtoReflect.Descriptor instead. func (*QueryAllFleetResponse) Descriptor() ([]byte, []int) { - return file_structs_structs_query_proto_rawDescGZIP(), []int{19} + return file_structs_structs_query_proto_rawDescGZIP(), []int{24} } func (x *QueryAllFleetResponse) GetFleet() []*Fleet { @@ -38769,7 +49698,7 @@ type QueryGetGridRequest struct { func (x *QueryGetGridRequest) Reset() { *x = QueryGetGridRequest{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_query_proto_msgTypes[20] + mi := &file_structs_structs_query_proto_msgTypes[25] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -38783,7 +49712,7 @@ func (*QueryGetGridRequest) ProtoMessage() {} // Deprecated: Use QueryGetGridRequest.ProtoReflect.Descriptor instead. func (*QueryGetGridRequest) Descriptor() ([]byte, []int) { - return file_structs_structs_query_proto_rawDescGZIP(), []int{20} + return file_structs_structs_query_proto_rawDescGZIP(), []int{25} } func (x *QueryGetGridRequest) GetAttributeId() string { @@ -38804,7 +49733,7 @@ type QueryAllGridRequest struct { func (x *QueryAllGridRequest) Reset() { *x = QueryAllGridRequest{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_query_proto_msgTypes[21] + mi := &file_structs_structs_query_proto_msgTypes[26] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -38818,7 +49747,7 @@ func (*QueryAllGridRequest) ProtoMessage() {} // Deprecated: Use QueryAllGridRequest.ProtoReflect.Descriptor instead. func (*QueryAllGridRequest) Descriptor() ([]byte, []int) { - return file_structs_structs_query_proto_rawDescGZIP(), []int{21} + return file_structs_structs_query_proto_rawDescGZIP(), []int{26} } func (x *QueryAllGridRequest) GetPagination() *v1beta1.PageRequest { @@ -38840,7 +49769,7 @@ type QueryGetGridResponse struct { func (x *QueryGetGridResponse) Reset() { *x = QueryGetGridResponse{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_query_proto_msgTypes[22] + mi := &file_structs_structs_query_proto_msgTypes[27] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -38854,7 +49783,7 @@ func (*QueryGetGridResponse) ProtoMessage() {} // Deprecated: Use QueryGetGridResponse.ProtoReflect.Descriptor instead. func (*QueryGetGridResponse) Descriptor() ([]byte, []int) { - return file_structs_structs_query_proto_rawDescGZIP(), []int{22} + return file_structs_structs_query_proto_rawDescGZIP(), []int{27} } func (x *QueryGetGridResponse) GetGridRecord() *GridRecord { @@ -38876,7 +49805,7 @@ type QueryAllGridResponse struct { func (x *QueryAllGridResponse) Reset() { *x = QueryAllGridResponse{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_query_proto_msgTypes[23] + mi := &file_structs_structs_query_proto_msgTypes[28] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -38890,7 +49819,7 @@ func (*QueryAllGridResponse) ProtoMessage() {} // Deprecated: Use QueryAllGridResponse.ProtoReflect.Descriptor instead. func (*QueryAllGridResponse) Descriptor() ([]byte, []int) { - return file_structs_structs_query_proto_rawDescGZIP(), []int{23} + return file_structs_structs_query_proto_rawDescGZIP(), []int{28} } func (x *QueryAllGridResponse) GetGridRecords() []*GridRecord { @@ -38918,7 +49847,7 @@ type QueryGetGuildRequest struct { func (x *QueryGetGuildRequest) Reset() { *x = QueryGetGuildRequest{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_query_proto_msgTypes[24] + mi := &file_structs_structs_query_proto_msgTypes[29] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -38932,7 +49861,7 @@ func (*QueryGetGuildRequest) ProtoMessage() {} // Deprecated: Use QueryGetGuildRequest.ProtoReflect.Descriptor instead. func (*QueryGetGuildRequest) Descriptor() ([]byte, []int) { - return file_structs_structs_query_proto_rawDescGZIP(), []int{24} + return file_structs_structs_query_proto_rawDescGZIP(), []int{29} } func (x *QueryGetGuildRequest) GetId() string { @@ -38953,7 +49882,7 @@ type QueryGetGuildResponse struct { func (x *QueryGetGuildResponse) Reset() { *x = QueryGetGuildResponse{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_query_proto_msgTypes[25] + mi := &file_structs_structs_query_proto_msgTypes[30] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -38967,7 +49896,7 @@ func (*QueryGetGuildResponse) ProtoMessage() {} // Deprecated: Use QueryGetGuildResponse.ProtoReflect.Descriptor instead. func (*QueryGetGuildResponse) Descriptor() ([]byte, []int) { - return file_structs_structs_query_proto_rawDescGZIP(), []int{25} + return file_structs_structs_query_proto_rawDescGZIP(), []int{30} } func (x *QueryGetGuildResponse) GetGuild() *Guild { @@ -38988,7 +49917,7 @@ type QueryAllGuildRequest struct { func (x *QueryAllGuildRequest) Reset() { *x = QueryAllGuildRequest{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_query_proto_msgTypes[26] + mi := &file_structs_structs_query_proto_msgTypes[31] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -39002,7 +49931,7 @@ func (*QueryAllGuildRequest) ProtoMessage() {} // Deprecated: Use QueryAllGuildRequest.ProtoReflect.Descriptor instead. func (*QueryAllGuildRequest) Descriptor() ([]byte, []int) { - return file_structs_structs_query_proto_rawDescGZIP(), []int{26} + return file_structs_structs_query_proto_rawDescGZIP(), []int{31} } func (x *QueryAllGuildRequest) GetPagination() *v1beta1.PageRequest { @@ -39024,7 +49953,7 @@ type QueryAllGuildResponse struct { func (x *QueryAllGuildResponse) Reset() { *x = QueryAllGuildResponse{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_query_proto_msgTypes[27] + mi := &file_structs_structs_query_proto_msgTypes[32] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -39038,7 +49967,7 @@ func (*QueryAllGuildResponse) ProtoMessage() {} // Deprecated: Use QueryAllGuildResponse.ProtoReflect.Descriptor instead. func (*QueryAllGuildResponse) Descriptor() ([]byte, []int) { - return file_structs_structs_query_proto_rawDescGZIP(), []int{27} + return file_structs_structs_query_proto_rawDescGZIP(), []int{32} } func (x *QueryAllGuildResponse) GetGuild() []*Guild { @@ -39055,6 +49984,154 @@ func (x *QueryAllGuildResponse) GetPagination() *v1beta1.PageResponse { return nil } +type QueryGetGuildBankCollateralAddressRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + GuildId string `protobuf:"bytes,1,opt,name=guildId,proto3" json:"guildId,omitempty"` +} + +func (x *QueryGetGuildBankCollateralAddressRequest) Reset() { + *x = QueryGetGuildBankCollateralAddressRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_structs_structs_query_proto_msgTypes[33] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *QueryGetGuildBankCollateralAddressRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*QueryGetGuildBankCollateralAddressRequest) ProtoMessage() {} + +// Deprecated: Use QueryGetGuildBankCollateralAddressRequest.ProtoReflect.Descriptor instead. +func (*QueryGetGuildBankCollateralAddressRequest) Descriptor() ([]byte, []int) { + return file_structs_structs_query_proto_rawDescGZIP(), []int{33} +} + +func (x *QueryGetGuildBankCollateralAddressRequest) GetGuildId() string { + if x != nil { + return x.GuildId + } + return "" +} + +type QueryAllGuildBankCollateralAddressRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Pagination *v1beta1.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` +} + +func (x *QueryAllGuildBankCollateralAddressRequest) Reset() { + *x = QueryAllGuildBankCollateralAddressRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_structs_structs_query_proto_msgTypes[34] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *QueryAllGuildBankCollateralAddressRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*QueryAllGuildBankCollateralAddressRequest) ProtoMessage() {} + +// Deprecated: Use QueryAllGuildBankCollateralAddressRequest.ProtoReflect.Descriptor instead. +func (*QueryAllGuildBankCollateralAddressRequest) Descriptor() ([]byte, []int) { + return file_structs_structs_query_proto_rawDescGZIP(), []int{34} +} + +func (x *QueryAllGuildBankCollateralAddressRequest) GetPagination() *v1beta1.PageRequest { + if x != nil { + return x.Pagination + } + return nil +} + +type QueryAllGuildBankCollateralAddressResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + InternalAddressAssociation []*InternalAddressAssociation `protobuf:"bytes,1,rep,name=internalAddressAssociation,proto3" json:"internalAddressAssociation,omitempty"` + Pagination *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` +} + +func (x *QueryAllGuildBankCollateralAddressResponse) Reset() { + *x = QueryAllGuildBankCollateralAddressResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_structs_structs_query_proto_msgTypes[35] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *QueryAllGuildBankCollateralAddressResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*QueryAllGuildBankCollateralAddressResponse) ProtoMessage() {} + +// Deprecated: Use QueryAllGuildBankCollateralAddressResponse.ProtoReflect.Descriptor instead. +func (*QueryAllGuildBankCollateralAddressResponse) Descriptor() ([]byte, []int) { + return file_structs_structs_query_proto_rawDescGZIP(), []int{35} +} + +func (x *QueryAllGuildBankCollateralAddressResponse) GetInternalAddressAssociation() []*InternalAddressAssociation { + if x != nil { + return x.InternalAddressAssociation + } + return nil +} + +func (x *QueryAllGuildBankCollateralAddressResponse) GetPagination() *v1beta1.PageResponse { + if x != nil { + return x.Pagination + } + return nil +} + +type QueryGetGuildByBankCollateralAddressRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` +} + +func (x *QueryGetGuildByBankCollateralAddressRequest) Reset() { + *x = QueryGetGuildByBankCollateralAddressRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_structs_structs_query_proto_msgTypes[36] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *QueryGetGuildByBankCollateralAddressRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*QueryGetGuildByBankCollateralAddressRequest) ProtoMessage() {} + +// Deprecated: Use QueryGetGuildByBankCollateralAddressRequest.ProtoReflect.Descriptor instead. +func (*QueryGetGuildByBankCollateralAddressRequest) Descriptor() ([]byte, []int) { + return file_structs_structs_query_proto_rawDescGZIP(), []int{36} +} + +func (x *QueryGetGuildByBankCollateralAddressRequest) GetAddress() string { + if x != nil { + return x.Address + } + return "" +} + type QueryGetGuildMembershipApplicationRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -39067,7 +50144,7 @@ type QueryGetGuildMembershipApplicationRequest struct { func (x *QueryGetGuildMembershipApplicationRequest) Reset() { *x = QueryGetGuildMembershipApplicationRequest{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_query_proto_msgTypes[28] + mi := &file_structs_structs_query_proto_msgTypes[37] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -39081,7 +50158,7 @@ func (*QueryGetGuildMembershipApplicationRequest) ProtoMessage() {} // Deprecated: Use QueryGetGuildMembershipApplicationRequest.ProtoReflect.Descriptor instead. func (*QueryGetGuildMembershipApplicationRequest) Descriptor() ([]byte, []int) { - return file_structs_structs_query_proto_rawDescGZIP(), []int{28} + return file_structs_structs_query_proto_rawDescGZIP(), []int{37} } func (x *QueryGetGuildMembershipApplicationRequest) GetGuildId() string { @@ -39109,7 +50186,7 @@ type QueryGetGuildMembershipApplicationResponse struct { func (x *QueryGetGuildMembershipApplicationResponse) Reset() { *x = QueryGetGuildMembershipApplicationResponse{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_query_proto_msgTypes[29] + mi := &file_structs_structs_query_proto_msgTypes[38] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -39123,7 +50200,7 @@ func (*QueryGetGuildMembershipApplicationResponse) ProtoMessage() {} // Deprecated: Use QueryGetGuildMembershipApplicationResponse.ProtoReflect.Descriptor instead. func (*QueryGetGuildMembershipApplicationResponse) Descriptor() ([]byte, []int) { - return file_structs_structs_query_proto_rawDescGZIP(), []int{29} + return file_structs_structs_query_proto_rawDescGZIP(), []int{38} } func (x *QueryGetGuildMembershipApplicationResponse) GetGuildMembershipApplication() *GuildMembershipApplication { @@ -39144,7 +50221,7 @@ type QueryAllGuildMembershipApplicationRequest struct { func (x *QueryAllGuildMembershipApplicationRequest) Reset() { *x = QueryAllGuildMembershipApplicationRequest{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_query_proto_msgTypes[30] + mi := &file_structs_structs_query_proto_msgTypes[39] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -39158,7 +50235,7 @@ func (*QueryAllGuildMembershipApplicationRequest) ProtoMessage() {} // Deprecated: Use QueryAllGuildMembershipApplicationRequest.ProtoReflect.Descriptor instead. func (*QueryAllGuildMembershipApplicationRequest) Descriptor() ([]byte, []int) { - return file_structs_structs_query_proto_rawDescGZIP(), []int{30} + return file_structs_structs_query_proto_rawDescGZIP(), []int{39} } func (x *QueryAllGuildMembershipApplicationRequest) GetPagination() *v1beta1.PageRequest { @@ -39180,7 +50257,7 @@ type QueryAllGuildMembershipApplicationResponse struct { func (x *QueryAllGuildMembershipApplicationResponse) Reset() { *x = QueryAllGuildMembershipApplicationResponse{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_query_proto_msgTypes[31] + mi := &file_structs_structs_query_proto_msgTypes[40] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -39194,7 +50271,7 @@ func (*QueryAllGuildMembershipApplicationResponse) ProtoMessage() {} // Deprecated: Use QueryAllGuildMembershipApplicationResponse.ProtoReflect.Descriptor instead. func (*QueryAllGuildMembershipApplicationResponse) Descriptor() ([]byte, []int) { - return file_structs_structs_query_proto_rawDescGZIP(), []int{31} + return file_structs_structs_query_proto_rawDescGZIP(), []int{40} } func (x *QueryAllGuildMembershipApplicationResponse) GetGuildMembershipApplication() []*GuildMembershipApplication { @@ -39223,7 +50300,7 @@ type QueryGetInfusionRequest struct { func (x *QueryGetInfusionRequest) Reset() { *x = QueryGetInfusionRequest{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_query_proto_msgTypes[32] + mi := &file_structs_structs_query_proto_msgTypes[41] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -39237,7 +50314,7 @@ func (*QueryGetInfusionRequest) ProtoMessage() {} // Deprecated: Use QueryGetInfusionRequest.ProtoReflect.Descriptor instead. func (*QueryGetInfusionRequest) Descriptor() ([]byte, []int) { - return file_structs_structs_query_proto_rawDescGZIP(), []int{32} + return file_structs_structs_query_proto_rawDescGZIP(), []int{41} } func (x *QueryGetInfusionRequest) GetDestinationId() string { @@ -39265,7 +50342,7 @@ type QueryGetInfusionResponse struct { func (x *QueryGetInfusionResponse) Reset() { *x = QueryGetInfusionResponse{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_query_proto_msgTypes[33] + mi := &file_structs_structs_query_proto_msgTypes[42] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -39279,7 +50356,7 @@ func (*QueryGetInfusionResponse) ProtoMessage() {} // Deprecated: Use QueryGetInfusionResponse.ProtoReflect.Descriptor instead. func (*QueryGetInfusionResponse) Descriptor() ([]byte, []int) { - return file_structs_structs_query_proto_rawDescGZIP(), []int{33} + return file_structs_structs_query_proto_rawDescGZIP(), []int{42} } func (x *QueryGetInfusionResponse) GetInfusion() *Infusion { @@ -39301,7 +50378,7 @@ type QueryAllInfusionByDestinationRequest struct { func (x *QueryAllInfusionByDestinationRequest) Reset() { *x = QueryAllInfusionByDestinationRequest{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_query_proto_msgTypes[34] + mi := &file_structs_structs_query_proto_msgTypes[43] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -39315,7 +50392,7 @@ func (*QueryAllInfusionByDestinationRequest) ProtoMessage() {} // Deprecated: Use QueryAllInfusionByDestinationRequest.ProtoReflect.Descriptor instead. func (*QueryAllInfusionByDestinationRequest) Descriptor() ([]byte, []int) { - return file_structs_structs_query_proto_rawDescGZIP(), []int{34} + return file_structs_structs_query_proto_rawDescGZIP(), []int{43} } func (x *QueryAllInfusionByDestinationRequest) GetDestinationId() string { @@ -39343,7 +50420,7 @@ type QueryAllInfusionRequest struct { func (x *QueryAllInfusionRequest) Reset() { *x = QueryAllInfusionRequest{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_query_proto_msgTypes[35] + mi := &file_structs_structs_query_proto_msgTypes[44] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -39357,7 +50434,7 @@ func (*QueryAllInfusionRequest) ProtoMessage() {} // Deprecated: Use QueryAllInfusionRequest.ProtoReflect.Descriptor instead. func (*QueryAllInfusionRequest) Descriptor() ([]byte, []int) { - return file_structs_structs_query_proto_rawDescGZIP(), []int{35} + return file_structs_structs_query_proto_rawDescGZIP(), []int{44} } func (x *QueryAllInfusionRequest) GetPagination() *v1beta1.PageRequest { @@ -39380,7 +50457,7 @@ type QueryAllInfusionResponse struct { func (x *QueryAllInfusionResponse) Reset() { *x = QueryAllInfusionResponse{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_query_proto_msgTypes[36] + mi := &file_structs_structs_query_proto_msgTypes[45] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -39394,7 +50471,7 @@ func (*QueryAllInfusionResponse) ProtoMessage() {} // Deprecated: Use QueryAllInfusionResponse.ProtoReflect.Descriptor instead. func (*QueryAllInfusionResponse) Descriptor() ([]byte, []int) { - return file_structs_structs_query_proto_rawDescGZIP(), []int{36} + return file_structs_structs_query_proto_rawDescGZIP(), []int{45} } func (x *QueryAllInfusionResponse) GetInfusion() []*Infusion { @@ -39429,7 +50506,7 @@ type QueryGetPermissionRequest struct { func (x *QueryGetPermissionRequest) Reset() { *x = QueryGetPermissionRequest{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_query_proto_msgTypes[37] + mi := &file_structs_structs_query_proto_msgTypes[46] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -39443,7 +50520,7 @@ func (*QueryGetPermissionRequest) ProtoMessage() {} // Deprecated: Use QueryGetPermissionRequest.ProtoReflect.Descriptor instead. func (*QueryGetPermissionRequest) Descriptor() ([]byte, []int) { - return file_structs_structs_query_proto_rawDescGZIP(), []int{37} + return file_structs_structs_query_proto_rawDescGZIP(), []int{46} } func (x *QueryGetPermissionRequest) GetPermissionId() string { @@ -39465,7 +50542,7 @@ type QueryAllPermissionByObjectRequest struct { func (x *QueryAllPermissionByObjectRequest) Reset() { *x = QueryAllPermissionByObjectRequest{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_query_proto_msgTypes[38] + mi := &file_structs_structs_query_proto_msgTypes[47] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -39479,7 +50556,7 @@ func (*QueryAllPermissionByObjectRequest) ProtoMessage() {} // Deprecated: Use QueryAllPermissionByObjectRequest.ProtoReflect.Descriptor instead. func (*QueryAllPermissionByObjectRequest) Descriptor() ([]byte, []int) { - return file_structs_structs_query_proto_rawDescGZIP(), []int{38} + return file_structs_structs_query_proto_rawDescGZIP(), []int{47} } func (x *QueryAllPermissionByObjectRequest) GetObjectId() string { @@ -39508,7 +50585,7 @@ type QueryAllPermissionByPlayerRequest struct { func (x *QueryAllPermissionByPlayerRequest) Reset() { *x = QueryAllPermissionByPlayerRequest{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_query_proto_msgTypes[39] + mi := &file_structs_structs_query_proto_msgTypes[48] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -39522,7 +50599,7 @@ func (*QueryAllPermissionByPlayerRequest) ProtoMessage() {} // Deprecated: Use QueryAllPermissionByPlayerRequest.ProtoReflect.Descriptor instead. func (*QueryAllPermissionByPlayerRequest) Descriptor() ([]byte, []int) { - return file_structs_structs_query_proto_rawDescGZIP(), []int{39} + return file_structs_structs_query_proto_rawDescGZIP(), []int{48} } func (x *QueryAllPermissionByPlayerRequest) GetPlayerId() string { @@ -39550,7 +50627,7 @@ type QueryAllPermissionRequest struct { func (x *QueryAllPermissionRequest) Reset() { *x = QueryAllPermissionRequest{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_query_proto_msgTypes[40] + mi := &file_structs_structs_query_proto_msgTypes[49] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -39564,7 +50641,7 @@ func (*QueryAllPermissionRequest) ProtoMessage() {} // Deprecated: Use QueryAllPermissionRequest.ProtoReflect.Descriptor instead. func (*QueryAllPermissionRequest) Descriptor() ([]byte, []int) { - return file_structs_structs_query_proto_rawDescGZIP(), []int{40} + return file_structs_structs_query_proto_rawDescGZIP(), []int{49} } func (x *QueryAllPermissionRequest) GetPagination() *v1beta1.PageRequest { @@ -39586,7 +50663,7 @@ type QueryGetPermissionResponse struct { func (x *QueryGetPermissionResponse) Reset() { *x = QueryGetPermissionResponse{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_query_proto_msgTypes[41] + mi := &file_structs_structs_query_proto_msgTypes[50] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -39600,7 +50677,7 @@ func (*QueryGetPermissionResponse) ProtoMessage() {} // Deprecated: Use QueryGetPermissionResponse.ProtoReflect.Descriptor instead. func (*QueryGetPermissionResponse) Descriptor() ([]byte, []int) { - return file_structs_structs_query_proto_rawDescGZIP(), []int{41} + return file_structs_structs_query_proto_rawDescGZIP(), []int{50} } func (x *QueryGetPermissionResponse) GetPermissionRecord() *PermissionRecord { @@ -39622,7 +50699,7 @@ type QueryAllPermissionResponse struct { func (x *QueryAllPermissionResponse) Reset() { *x = QueryAllPermissionResponse{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_query_proto_msgTypes[42] + mi := &file_structs_structs_query_proto_msgTypes[51] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -39636,7 +50713,7 @@ func (*QueryAllPermissionResponse) ProtoMessage() {} // Deprecated: Use QueryAllPermissionResponse.ProtoReflect.Descriptor instead. func (*QueryAllPermissionResponse) Descriptor() ([]byte, []int) { - return file_structs_structs_query_proto_rawDescGZIP(), []int{42} + return file_structs_structs_query_proto_rawDescGZIP(), []int{51} } func (x *QueryAllPermissionResponse) GetPermissionRecords() []*PermissionRecord { @@ -39664,7 +50741,7 @@ type QueryGetPlanetRequest struct { func (x *QueryGetPlanetRequest) Reset() { *x = QueryGetPlanetRequest{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_query_proto_msgTypes[43] + mi := &file_structs_structs_query_proto_msgTypes[52] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -39678,7 +50755,7 @@ func (*QueryGetPlanetRequest) ProtoMessage() {} // Deprecated: Use QueryGetPlanetRequest.ProtoReflect.Descriptor instead. func (*QueryGetPlanetRequest) Descriptor() ([]byte, []int) { - return file_structs_structs_query_proto_rawDescGZIP(), []int{43} + return file_structs_structs_query_proto_rawDescGZIP(), []int{52} } func (x *QueryGetPlanetRequest) GetId() string { @@ -39701,7 +50778,7 @@ type QueryGetPlanetResponse struct { func (x *QueryGetPlanetResponse) Reset() { *x = QueryGetPlanetResponse{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_query_proto_msgTypes[44] + mi := &file_structs_structs_query_proto_msgTypes[53] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -39715,7 +50792,7 @@ func (*QueryGetPlanetResponse) ProtoMessage() {} // Deprecated: Use QueryGetPlanetResponse.ProtoReflect.Descriptor instead. func (*QueryGetPlanetResponse) Descriptor() ([]byte, []int) { - return file_structs_structs_query_proto_rawDescGZIP(), []int{44} + return file_structs_structs_query_proto_rawDescGZIP(), []int{53} } func (x *QueryGetPlanetResponse) GetPlanet() *Planet { @@ -39750,7 +50827,7 @@ type QueryAllPlanetRequest struct { func (x *QueryAllPlanetRequest) Reset() { *x = QueryAllPlanetRequest{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_query_proto_msgTypes[45] + mi := &file_structs_structs_query_proto_msgTypes[54] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -39764,7 +50841,7 @@ func (*QueryAllPlanetRequest) ProtoMessage() {} // Deprecated: Use QueryAllPlanetRequest.ProtoReflect.Descriptor instead. func (*QueryAllPlanetRequest) Descriptor() ([]byte, []int) { - return file_structs_structs_query_proto_rawDescGZIP(), []int{45} + return file_structs_structs_query_proto_rawDescGZIP(), []int{54} } func (x *QueryAllPlanetRequest) GetPagination() *v1beta1.PageRequest { @@ -39786,7 +50863,7 @@ type QueryAllPlanetByPlayerRequest struct { func (x *QueryAllPlanetByPlayerRequest) Reset() { *x = QueryAllPlanetByPlayerRequest{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_query_proto_msgTypes[46] + mi := &file_structs_structs_query_proto_msgTypes[55] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -39800,7 +50877,7 @@ func (*QueryAllPlanetByPlayerRequest) ProtoMessage() {} // Deprecated: Use QueryAllPlanetByPlayerRequest.ProtoReflect.Descriptor instead. func (*QueryAllPlanetByPlayerRequest) Descriptor() ([]byte, []int) { - return file_structs_structs_query_proto_rawDescGZIP(), []int{46} + return file_structs_structs_query_proto_rawDescGZIP(), []int{55} } func (x *QueryAllPlanetByPlayerRequest) GetPlayerId() string { @@ -39829,7 +50906,7 @@ type QueryAllPlanetResponse struct { func (x *QueryAllPlanetResponse) Reset() { *x = QueryAllPlanetResponse{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_query_proto_msgTypes[47] + mi := &file_structs_structs_query_proto_msgTypes[56] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -39843,7 +50920,7 @@ func (*QueryAllPlanetResponse) ProtoMessage() {} // Deprecated: Use QueryAllPlanetResponse.ProtoReflect.Descriptor instead. func (*QueryAllPlanetResponse) Descriptor() ([]byte, []int) { - return file_structs_structs_query_proto_rawDescGZIP(), []int{47} + return file_structs_structs_query_proto_rawDescGZIP(), []int{56} } func (x *QueryAllPlanetResponse) GetPlanet() []*Planet { @@ -39872,7 +50949,7 @@ type QueryGetPlanetAttributeRequest struct { func (x *QueryGetPlanetAttributeRequest) Reset() { *x = QueryGetPlanetAttributeRequest{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_query_proto_msgTypes[48] + mi := &file_structs_structs_query_proto_msgTypes[57] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -39886,7 +50963,7 @@ func (*QueryGetPlanetAttributeRequest) ProtoMessage() {} // Deprecated: Use QueryGetPlanetAttributeRequest.ProtoReflect.Descriptor instead. func (*QueryGetPlanetAttributeRequest) Descriptor() ([]byte, []int) { - return file_structs_structs_query_proto_rawDescGZIP(), []int{48} + return file_structs_structs_query_proto_rawDescGZIP(), []int{57} } func (x *QueryGetPlanetAttributeRequest) GetPlanetId() string { @@ -39914,7 +50991,7 @@ type QueryGetPlanetAttributeResponse struct { func (x *QueryGetPlanetAttributeResponse) Reset() { *x = QueryGetPlanetAttributeResponse{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_query_proto_msgTypes[49] + mi := &file_structs_structs_query_proto_msgTypes[58] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -39928,7 +51005,7 @@ func (*QueryGetPlanetAttributeResponse) ProtoMessage() {} // Deprecated: Use QueryGetPlanetAttributeResponse.ProtoReflect.Descriptor instead. func (*QueryGetPlanetAttributeResponse) Descriptor() ([]byte, []int) { - return file_structs_structs_query_proto_rawDescGZIP(), []int{49} + return file_structs_structs_query_proto_rawDescGZIP(), []int{58} } func (x *QueryGetPlanetAttributeResponse) GetAttribute() uint64 { @@ -39949,7 +51026,7 @@ type QueryAllPlanetAttributeRequest struct { func (x *QueryAllPlanetAttributeRequest) Reset() { *x = QueryAllPlanetAttributeRequest{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_query_proto_msgTypes[50] + mi := &file_structs_structs_query_proto_msgTypes[59] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -39963,7 +51040,7 @@ func (*QueryAllPlanetAttributeRequest) ProtoMessage() {} // Deprecated: Use QueryAllPlanetAttributeRequest.ProtoReflect.Descriptor instead. func (*QueryAllPlanetAttributeRequest) Descriptor() ([]byte, []int) { - return file_structs_structs_query_proto_rawDescGZIP(), []int{50} + return file_structs_structs_query_proto_rawDescGZIP(), []int{59} } func (x *QueryAllPlanetAttributeRequest) GetPagination() *v1beta1.PageRequest { @@ -39985,7 +51062,7 @@ type QueryAllPlanetAttributeResponse struct { func (x *QueryAllPlanetAttributeResponse) Reset() { *x = QueryAllPlanetAttributeResponse{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_query_proto_msgTypes[51] + mi := &file_structs_structs_query_proto_msgTypes[60] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -39999,7 +51076,7 @@ func (*QueryAllPlanetAttributeResponse) ProtoMessage() {} // Deprecated: Use QueryAllPlanetAttributeResponse.ProtoReflect.Descriptor instead. func (*QueryAllPlanetAttributeResponse) Descriptor() ([]byte, []int) { - return file_structs_structs_query_proto_rawDescGZIP(), []int{51} + return file_structs_structs_query_proto_rawDescGZIP(), []int{60} } func (x *QueryAllPlanetAttributeResponse) GetPlanetAttributeRecords() []*PlanetAttributeRecord { @@ -40027,7 +51104,7 @@ type QueryGetPlayerRequest struct { func (x *QueryGetPlayerRequest) Reset() { *x = QueryGetPlayerRequest{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_query_proto_msgTypes[52] + mi := &file_structs_structs_query_proto_msgTypes[61] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -40041,7 +51118,7 @@ func (*QueryGetPlayerRequest) ProtoMessage() {} // Deprecated: Use QueryGetPlayerRequest.ProtoReflect.Descriptor instead. func (*QueryGetPlayerRequest) Descriptor() ([]byte, []int) { - return file_structs_structs_query_proto_rawDescGZIP(), []int{52} + return file_structs_structs_query_proto_rawDescGZIP(), []int{61} } func (x *QueryGetPlayerRequest) GetId() string { @@ -40059,12 +51136,13 @@ type QueryGetPlayerResponse struct { Player *Player `protobuf:"bytes,1,opt,name=Player,proto3" json:"Player,omitempty"` GridAttributes *GridAttributes `protobuf:"bytes,2,opt,name=gridAttributes,proto3" json:"gridAttributes,omitempty"` PlayerInventory *PlayerInventory `protobuf:"bytes,3,opt,name=playerInventory,proto3" json:"playerInventory,omitempty"` + Halted bool `protobuf:"varint,4,opt,name=halted,proto3" json:"halted,omitempty"` } func (x *QueryGetPlayerResponse) Reset() { *x = QueryGetPlayerResponse{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_query_proto_msgTypes[53] + mi := &file_structs_structs_query_proto_msgTypes[62] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -40078,7 +51156,7 @@ func (*QueryGetPlayerResponse) ProtoMessage() {} // Deprecated: Use QueryGetPlayerResponse.ProtoReflect.Descriptor instead. func (*QueryGetPlayerResponse) Descriptor() ([]byte, []int) { - return file_structs_structs_query_proto_rawDescGZIP(), []int{53} + return file_structs_structs_query_proto_rawDescGZIP(), []int{62} } func (x *QueryGetPlayerResponse) GetPlayer() *Player { @@ -40102,6 +51180,13 @@ func (x *QueryGetPlayerResponse) GetPlayerInventory() *PlayerInventory { return nil } +func (x *QueryGetPlayerResponse) GetHalted() bool { + if x != nil { + return x.Halted + } + return false +} + type QueryAllPlayerRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -40113,7 +51198,7 @@ type QueryAllPlayerRequest struct { func (x *QueryAllPlayerRequest) Reset() { *x = QueryAllPlayerRequest{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_query_proto_msgTypes[54] + mi := &file_structs_structs_query_proto_msgTypes[63] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -40127,7 +51212,7 @@ func (*QueryAllPlayerRequest) ProtoMessage() {} // Deprecated: Use QueryAllPlayerRequest.ProtoReflect.Descriptor instead. func (*QueryAllPlayerRequest) Descriptor() ([]byte, []int) { - return file_structs_structs_query_proto_rawDescGZIP(), []int{54} + return file_structs_structs_query_proto_rawDescGZIP(), []int{63} } func (x *QueryAllPlayerRequest) GetPagination() *v1beta1.PageRequest { @@ -40149,7 +51234,7 @@ type QueryAllPlayerResponse struct { func (x *QueryAllPlayerResponse) Reset() { *x = QueryAllPlayerResponse{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_query_proto_msgTypes[55] + mi := &file_structs_structs_query_proto_msgTypes[64] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -40163,7 +51248,7 @@ func (*QueryAllPlayerResponse) ProtoMessage() {} // Deprecated: Use QueryAllPlayerResponse.ProtoReflect.Descriptor instead. func (*QueryAllPlayerResponse) Descriptor() ([]byte, []int) { - return file_structs_structs_query_proto_rawDescGZIP(), []int{55} + return file_structs_structs_query_proto_rawDescGZIP(), []int{64} } func (x *QueryAllPlayerResponse) GetPlayer() []*Player { @@ -40180,6 +51265,519 @@ func (x *QueryAllPlayerResponse) GetPagination() *v1beta1.PageResponse { return nil } +type QueryAllPlayerHaltedRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *QueryAllPlayerHaltedRequest) Reset() { + *x = QueryAllPlayerHaltedRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_structs_structs_query_proto_msgTypes[65] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *QueryAllPlayerHaltedRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*QueryAllPlayerHaltedRequest) ProtoMessage() {} + +// Deprecated: Use QueryAllPlayerHaltedRequest.ProtoReflect.Descriptor instead. +func (*QueryAllPlayerHaltedRequest) Descriptor() ([]byte, []int) { + return file_structs_structs_query_proto_rawDescGZIP(), []int{65} +} + +type QueryAllPlayerHaltedResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PlayerId []string `protobuf:"bytes,1,rep,name=PlayerId,proto3" json:"PlayerId,omitempty"` +} + +func (x *QueryAllPlayerHaltedResponse) Reset() { + *x = QueryAllPlayerHaltedResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_structs_structs_query_proto_msgTypes[66] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *QueryAllPlayerHaltedResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*QueryAllPlayerHaltedResponse) ProtoMessage() {} + +// Deprecated: Use QueryAllPlayerHaltedResponse.ProtoReflect.Descriptor instead. +func (*QueryAllPlayerHaltedResponse) Descriptor() ([]byte, []int) { + return file_structs_structs_query_proto_rawDescGZIP(), []int{66} +} + +func (x *QueryAllPlayerHaltedResponse) GetPlayerId() []string { + if x != nil { + return x.PlayerId + } + return nil +} + +type QueryGetProviderRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` +} + +func (x *QueryGetProviderRequest) Reset() { + *x = QueryGetProviderRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_structs_structs_query_proto_msgTypes[67] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *QueryGetProviderRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*QueryGetProviderRequest) ProtoMessage() {} + +// Deprecated: Use QueryGetProviderRequest.ProtoReflect.Descriptor instead. +func (*QueryGetProviderRequest) Descriptor() ([]byte, []int) { + return file_structs_structs_query_proto_rawDescGZIP(), []int{67} +} + +func (x *QueryGetProviderRequest) GetId() string { + if x != nil { + return x.Id + } + return "" +} + +type QueryGetProviderResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Provider *Provider `protobuf:"bytes,1,opt,name=Provider,proto3" json:"Provider,omitempty"` + GridAttributes *GridAttributes `protobuf:"bytes,2,opt,name=gridAttributes,proto3" json:"gridAttributes,omitempty"` +} + +func (x *QueryGetProviderResponse) Reset() { + *x = QueryGetProviderResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_structs_structs_query_proto_msgTypes[68] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *QueryGetProviderResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*QueryGetProviderResponse) ProtoMessage() {} + +// Deprecated: Use QueryGetProviderResponse.ProtoReflect.Descriptor instead. +func (*QueryGetProviderResponse) Descriptor() ([]byte, []int) { + return file_structs_structs_query_proto_rawDescGZIP(), []int{68} +} + +func (x *QueryGetProviderResponse) GetProvider() *Provider { + if x != nil { + return x.Provider + } + return nil +} + +func (x *QueryGetProviderResponse) GetGridAttributes() *GridAttributes { + if x != nil { + return x.GridAttributes + } + return nil +} + +type QueryAllProviderRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Pagination *v1beta1.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` +} + +func (x *QueryAllProviderRequest) Reset() { + *x = QueryAllProviderRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_structs_structs_query_proto_msgTypes[69] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *QueryAllProviderRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*QueryAllProviderRequest) ProtoMessage() {} + +// Deprecated: Use QueryAllProviderRequest.ProtoReflect.Descriptor instead. +func (*QueryAllProviderRequest) Descriptor() ([]byte, []int) { + return file_structs_structs_query_proto_rawDescGZIP(), []int{69} +} + +func (x *QueryAllProviderRequest) GetPagination() *v1beta1.PageRequest { + if x != nil { + return x.Pagination + } + return nil +} + +type QueryAllProviderResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Provider []*Provider `protobuf:"bytes,1,rep,name=Provider,proto3" json:"Provider,omitempty"` + Pagination *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` +} + +func (x *QueryAllProviderResponse) Reset() { + *x = QueryAllProviderResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_structs_structs_query_proto_msgTypes[70] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *QueryAllProviderResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*QueryAllProviderResponse) ProtoMessage() {} + +// Deprecated: Use QueryAllProviderResponse.ProtoReflect.Descriptor instead. +func (*QueryAllProviderResponse) Descriptor() ([]byte, []int) { + return file_structs_structs_query_proto_rawDescGZIP(), []int{70} +} + +func (x *QueryAllProviderResponse) GetProvider() []*Provider { + if x != nil { + return x.Provider + } + return nil +} + +func (x *QueryAllProviderResponse) GetPagination() *v1beta1.PageResponse { + if x != nil { + return x.Pagination + } + return nil +} + +type QueryGetProviderCollateralAddressRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ProviderId string `protobuf:"bytes,1,opt,name=providerId,proto3" json:"providerId,omitempty"` +} + +func (x *QueryGetProviderCollateralAddressRequest) Reset() { + *x = QueryGetProviderCollateralAddressRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_structs_structs_query_proto_msgTypes[71] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *QueryGetProviderCollateralAddressRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*QueryGetProviderCollateralAddressRequest) ProtoMessage() {} + +// Deprecated: Use QueryGetProviderCollateralAddressRequest.ProtoReflect.Descriptor instead. +func (*QueryGetProviderCollateralAddressRequest) Descriptor() ([]byte, []int) { + return file_structs_structs_query_proto_rawDescGZIP(), []int{71} +} + +func (x *QueryGetProviderCollateralAddressRequest) GetProviderId() string { + if x != nil { + return x.ProviderId + } + return "" +} + +type QueryAllProviderCollateralAddressRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Pagination *v1beta1.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` +} + +func (x *QueryAllProviderCollateralAddressRequest) Reset() { + *x = QueryAllProviderCollateralAddressRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_structs_structs_query_proto_msgTypes[72] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *QueryAllProviderCollateralAddressRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*QueryAllProviderCollateralAddressRequest) ProtoMessage() {} + +// Deprecated: Use QueryAllProviderCollateralAddressRequest.ProtoReflect.Descriptor instead. +func (*QueryAllProviderCollateralAddressRequest) Descriptor() ([]byte, []int) { + return file_structs_structs_query_proto_rawDescGZIP(), []int{72} +} + +func (x *QueryAllProviderCollateralAddressRequest) GetPagination() *v1beta1.PageRequest { + if x != nil { + return x.Pagination + } + return nil +} + +type QueryAllProviderCollateralAddressResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + InternalAddressAssociation []*InternalAddressAssociation `protobuf:"bytes,1,rep,name=internalAddressAssociation,proto3" json:"internalAddressAssociation,omitempty"` + Pagination *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` +} + +func (x *QueryAllProviderCollateralAddressResponse) Reset() { + *x = QueryAllProviderCollateralAddressResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_structs_structs_query_proto_msgTypes[73] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *QueryAllProviderCollateralAddressResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*QueryAllProviderCollateralAddressResponse) ProtoMessage() {} + +// Deprecated: Use QueryAllProviderCollateralAddressResponse.ProtoReflect.Descriptor instead. +func (*QueryAllProviderCollateralAddressResponse) Descriptor() ([]byte, []int) { + return file_structs_structs_query_proto_rawDescGZIP(), []int{73} +} + +func (x *QueryAllProviderCollateralAddressResponse) GetInternalAddressAssociation() []*InternalAddressAssociation { + if x != nil { + return x.InternalAddressAssociation + } + return nil +} + +func (x *QueryAllProviderCollateralAddressResponse) GetPagination() *v1beta1.PageResponse { + if x != nil { + return x.Pagination + } + return nil +} + +type QueryGetProviderByCollateralAddressRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` +} + +func (x *QueryGetProviderByCollateralAddressRequest) Reset() { + *x = QueryGetProviderByCollateralAddressRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_structs_structs_query_proto_msgTypes[74] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *QueryGetProviderByCollateralAddressRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*QueryGetProviderByCollateralAddressRequest) ProtoMessage() {} + +// Deprecated: Use QueryGetProviderByCollateralAddressRequest.ProtoReflect.Descriptor instead. +func (*QueryGetProviderByCollateralAddressRequest) Descriptor() ([]byte, []int) { + return file_structs_structs_query_proto_rawDescGZIP(), []int{74} +} + +func (x *QueryGetProviderByCollateralAddressRequest) GetAddress() string { + if x != nil { + return x.Address + } + return "" +} + +type QueryGetProviderEarningsAddressRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ProviderId string `protobuf:"bytes,1,opt,name=providerId,proto3" json:"providerId,omitempty"` +} + +func (x *QueryGetProviderEarningsAddressRequest) Reset() { + *x = QueryGetProviderEarningsAddressRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_structs_structs_query_proto_msgTypes[75] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *QueryGetProviderEarningsAddressRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*QueryGetProviderEarningsAddressRequest) ProtoMessage() {} + +// Deprecated: Use QueryGetProviderEarningsAddressRequest.ProtoReflect.Descriptor instead. +func (*QueryGetProviderEarningsAddressRequest) Descriptor() ([]byte, []int) { + return file_structs_structs_query_proto_rawDescGZIP(), []int{75} +} + +func (x *QueryGetProviderEarningsAddressRequest) GetProviderId() string { + if x != nil { + return x.ProviderId + } + return "" +} + +type QueryAllProviderEarningsAddressRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Pagination *v1beta1.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` +} + +func (x *QueryAllProviderEarningsAddressRequest) Reset() { + *x = QueryAllProviderEarningsAddressRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_structs_structs_query_proto_msgTypes[76] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *QueryAllProviderEarningsAddressRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*QueryAllProviderEarningsAddressRequest) ProtoMessage() {} + +// Deprecated: Use QueryAllProviderEarningsAddressRequest.ProtoReflect.Descriptor instead. +func (*QueryAllProviderEarningsAddressRequest) Descriptor() ([]byte, []int) { + return file_structs_structs_query_proto_rawDescGZIP(), []int{76} +} + +func (x *QueryAllProviderEarningsAddressRequest) GetPagination() *v1beta1.PageRequest { + if x != nil { + return x.Pagination + } + return nil +} + +type QueryAllProviderEarningsAddressResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + InternalAddressAssociation []*InternalAddressAssociation `protobuf:"bytes,1,rep,name=internalAddressAssociation,proto3" json:"internalAddressAssociation,omitempty"` + Pagination *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` +} + +func (x *QueryAllProviderEarningsAddressResponse) Reset() { + *x = QueryAllProviderEarningsAddressResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_structs_structs_query_proto_msgTypes[77] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *QueryAllProviderEarningsAddressResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*QueryAllProviderEarningsAddressResponse) ProtoMessage() {} + +// Deprecated: Use QueryAllProviderEarningsAddressResponse.ProtoReflect.Descriptor instead. +func (*QueryAllProviderEarningsAddressResponse) Descriptor() ([]byte, []int) { + return file_structs_structs_query_proto_rawDescGZIP(), []int{77} +} + +func (x *QueryAllProviderEarningsAddressResponse) GetInternalAddressAssociation() []*InternalAddressAssociation { + if x != nil { + return x.InternalAddressAssociation + } + return nil +} + +func (x *QueryAllProviderEarningsAddressResponse) GetPagination() *v1beta1.PageResponse { + if x != nil { + return x.Pagination + } + return nil +} + +type QueryGetProviderByEarningsAddressRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` +} + +func (x *QueryGetProviderByEarningsAddressRequest) Reset() { + *x = QueryGetProviderByEarningsAddressRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_structs_structs_query_proto_msgTypes[78] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *QueryGetProviderByEarningsAddressRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*QueryGetProviderByEarningsAddressRequest) ProtoMessage() {} + +// Deprecated: Use QueryGetProviderByEarningsAddressRequest.ProtoReflect.Descriptor instead. +func (*QueryGetProviderByEarningsAddressRequest) Descriptor() ([]byte, []int) { + return file_structs_structs_query_proto_rawDescGZIP(), []int{78} +} + +func (x *QueryGetProviderByEarningsAddressRequest) GetAddress() string { + if x != nil { + return x.Address + } + return "" +} + type QueryGetReactorRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -40191,7 +51789,7 @@ type QueryGetReactorRequest struct { func (x *QueryGetReactorRequest) Reset() { *x = QueryGetReactorRequest{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_query_proto_msgTypes[56] + mi := &file_structs_structs_query_proto_msgTypes[79] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -40205,7 +51803,7 @@ func (*QueryGetReactorRequest) ProtoMessage() {} // Deprecated: Use QueryGetReactorRequest.ProtoReflect.Descriptor instead. func (*QueryGetReactorRequest) Descriptor() ([]byte, []int) { - return file_structs_structs_query_proto_rawDescGZIP(), []int{56} + return file_structs_structs_query_proto_rawDescGZIP(), []int{79} } func (x *QueryGetReactorRequest) GetId() string { @@ -40227,7 +51825,7 @@ type QueryGetReactorResponse struct { func (x *QueryGetReactorResponse) Reset() { *x = QueryGetReactorResponse{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_query_proto_msgTypes[57] + mi := &file_structs_structs_query_proto_msgTypes[80] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -40241,7 +51839,7 @@ func (*QueryGetReactorResponse) ProtoMessage() {} // Deprecated: Use QueryGetReactorResponse.ProtoReflect.Descriptor instead. func (*QueryGetReactorResponse) Descriptor() ([]byte, []int) { - return file_structs_structs_query_proto_rawDescGZIP(), []int{57} + return file_structs_structs_query_proto_rawDescGZIP(), []int{80} } func (x *QueryGetReactorResponse) GetReactor() *Reactor { @@ -40269,7 +51867,7 @@ type QueryAllReactorRequest struct { func (x *QueryAllReactorRequest) Reset() { *x = QueryAllReactorRequest{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_query_proto_msgTypes[58] + mi := &file_structs_structs_query_proto_msgTypes[81] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -40283,7 +51881,7 @@ func (*QueryAllReactorRequest) ProtoMessage() {} // Deprecated: Use QueryAllReactorRequest.ProtoReflect.Descriptor instead. func (*QueryAllReactorRequest) Descriptor() ([]byte, []int) { - return file_structs_structs_query_proto_rawDescGZIP(), []int{58} + return file_structs_structs_query_proto_rawDescGZIP(), []int{81} } func (x *QueryAllReactorRequest) GetPagination() *v1beta1.PageRequest { @@ -40305,7 +51903,7 @@ type QueryAllReactorResponse struct { func (x *QueryAllReactorResponse) Reset() { *x = QueryAllReactorResponse{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_query_proto_msgTypes[59] + mi := &file_structs_structs_query_proto_msgTypes[82] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -40319,7 +51917,7 @@ func (*QueryAllReactorResponse) ProtoMessage() {} // Deprecated: Use QueryAllReactorResponse.ProtoReflect.Descriptor instead. func (*QueryAllReactorResponse) Descriptor() ([]byte, []int) { - return file_structs_structs_query_proto_rawDescGZIP(), []int{59} + return file_structs_structs_query_proto_rawDescGZIP(), []int{82} } func (x *QueryAllReactorResponse) GetReactor() []*Reactor { @@ -40347,7 +51945,7 @@ type QueryGetStructRequest struct { func (x *QueryGetStructRequest) Reset() { *x = QueryGetStructRequest{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_query_proto_msgTypes[60] + mi := &file_structs_structs_query_proto_msgTypes[83] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -40361,7 +51959,7 @@ func (*QueryGetStructRequest) ProtoMessage() {} // Deprecated: Use QueryGetStructRequest.ProtoReflect.Descriptor instead. func (*QueryGetStructRequest) Descriptor() ([]byte, []int) { - return file_structs_structs_query_proto_rawDescGZIP(), []int{60} + return file_structs_structs_query_proto_rawDescGZIP(), []int{83} } func (x *QueryGetStructRequest) GetId() string { @@ -40385,7 +51983,7 @@ type QueryGetStructResponse struct { func (x *QueryGetStructResponse) Reset() { *x = QueryGetStructResponse{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_query_proto_msgTypes[61] + mi := &file_structs_structs_query_proto_msgTypes[84] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -40399,7 +51997,7 @@ func (*QueryGetStructResponse) ProtoMessage() {} // Deprecated: Use QueryGetStructResponse.ProtoReflect.Descriptor instead. func (*QueryGetStructResponse) Descriptor() ([]byte, []int) { - return file_structs_structs_query_proto_rawDescGZIP(), []int{61} + return file_structs_structs_query_proto_rawDescGZIP(), []int{84} } func (x *QueryGetStructResponse) GetStruct() *Struct { @@ -40441,7 +52039,7 @@ type QueryAllStructRequest struct { func (x *QueryAllStructRequest) Reset() { *x = QueryAllStructRequest{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_query_proto_msgTypes[62] + mi := &file_structs_structs_query_proto_msgTypes[85] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -40455,7 +52053,7 @@ func (*QueryAllStructRequest) ProtoMessage() {} // Deprecated: Use QueryAllStructRequest.ProtoReflect.Descriptor instead. func (*QueryAllStructRequest) Descriptor() ([]byte, []int) { - return file_structs_structs_query_proto_rawDescGZIP(), []int{62} + return file_structs_structs_query_proto_rawDescGZIP(), []int{85} } func (x *QueryAllStructRequest) GetPagination() *v1beta1.PageRequest { @@ -40477,7 +52075,7 @@ type QueryAllStructResponse struct { func (x *QueryAllStructResponse) Reset() { *x = QueryAllStructResponse{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_query_proto_msgTypes[63] + mi := &file_structs_structs_query_proto_msgTypes[86] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -40491,7 +52089,7 @@ func (*QueryAllStructResponse) ProtoMessage() {} // Deprecated: Use QueryAllStructResponse.ProtoReflect.Descriptor instead. func (*QueryAllStructResponse) Descriptor() ([]byte, []int) { - return file_structs_structs_query_proto_rawDescGZIP(), []int{63} + return file_structs_structs_query_proto_rawDescGZIP(), []int{86} } func (x *QueryAllStructResponse) GetStruct() []*Struct { @@ -40520,7 +52118,7 @@ type QueryGetStructAttributeRequest struct { func (x *QueryGetStructAttributeRequest) Reset() { *x = QueryGetStructAttributeRequest{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_query_proto_msgTypes[64] + mi := &file_structs_structs_query_proto_msgTypes[87] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -40534,7 +52132,7 @@ func (*QueryGetStructAttributeRequest) ProtoMessage() {} // Deprecated: Use QueryGetStructAttributeRequest.ProtoReflect.Descriptor instead. func (*QueryGetStructAttributeRequest) Descriptor() ([]byte, []int) { - return file_structs_structs_query_proto_rawDescGZIP(), []int{64} + return file_structs_structs_query_proto_rawDescGZIP(), []int{87} } func (x *QueryGetStructAttributeRequest) GetStructId() string { @@ -40562,7 +52160,7 @@ type QueryGetStructAttributeResponse struct { func (x *QueryGetStructAttributeResponse) Reset() { *x = QueryGetStructAttributeResponse{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_query_proto_msgTypes[65] + mi := &file_structs_structs_query_proto_msgTypes[88] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -40576,7 +52174,7 @@ func (*QueryGetStructAttributeResponse) ProtoMessage() {} // Deprecated: Use QueryGetStructAttributeResponse.ProtoReflect.Descriptor instead. func (*QueryGetStructAttributeResponse) Descriptor() ([]byte, []int) { - return file_structs_structs_query_proto_rawDescGZIP(), []int{65} + return file_structs_structs_query_proto_rawDescGZIP(), []int{88} } func (x *QueryGetStructAttributeResponse) GetAttribute() uint64 { @@ -40597,7 +52195,7 @@ type QueryAllStructAttributeRequest struct { func (x *QueryAllStructAttributeRequest) Reset() { *x = QueryAllStructAttributeRequest{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_query_proto_msgTypes[66] + mi := &file_structs_structs_query_proto_msgTypes[89] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -40611,7 +52209,7 @@ func (*QueryAllStructAttributeRequest) ProtoMessage() {} // Deprecated: Use QueryAllStructAttributeRequest.ProtoReflect.Descriptor instead. func (*QueryAllStructAttributeRequest) Descriptor() ([]byte, []int) { - return file_structs_structs_query_proto_rawDescGZIP(), []int{66} + return file_structs_structs_query_proto_rawDescGZIP(), []int{89} } func (x *QueryAllStructAttributeRequest) GetPagination() *v1beta1.PageRequest { @@ -40633,7 +52231,7 @@ type QueryAllStructAttributeResponse struct { func (x *QueryAllStructAttributeResponse) Reset() { *x = QueryAllStructAttributeResponse{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_query_proto_msgTypes[67] + mi := &file_structs_structs_query_proto_msgTypes[90] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -40647,7 +52245,7 @@ func (*QueryAllStructAttributeResponse) ProtoMessage() {} // Deprecated: Use QueryAllStructAttributeResponse.ProtoReflect.Descriptor instead. func (*QueryAllStructAttributeResponse) Descriptor() ([]byte, []int) { - return file_structs_structs_query_proto_rawDescGZIP(), []int{67} + return file_structs_structs_query_proto_rawDescGZIP(), []int{90} } func (x *QueryAllStructAttributeResponse) GetStructAttributeRecords() []*StructAttributeRecord { @@ -40675,7 +52273,7 @@ type QueryGetStructTypeRequest struct { func (x *QueryGetStructTypeRequest) Reset() { *x = QueryGetStructTypeRequest{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_query_proto_msgTypes[68] + mi := &file_structs_structs_query_proto_msgTypes[91] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -40689,7 +52287,7 @@ func (*QueryGetStructTypeRequest) ProtoMessage() {} // Deprecated: Use QueryGetStructTypeRequest.ProtoReflect.Descriptor instead. func (*QueryGetStructTypeRequest) Descriptor() ([]byte, []int) { - return file_structs_structs_query_proto_rawDescGZIP(), []int{68} + return file_structs_structs_query_proto_rawDescGZIP(), []int{91} } func (x *QueryGetStructTypeRequest) GetId() uint64 { @@ -40710,7 +52308,7 @@ type QueryGetStructTypeResponse struct { func (x *QueryGetStructTypeResponse) Reset() { *x = QueryGetStructTypeResponse{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_query_proto_msgTypes[69] + mi := &file_structs_structs_query_proto_msgTypes[92] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -40724,7 +52322,7 @@ func (*QueryGetStructTypeResponse) ProtoMessage() {} // Deprecated: Use QueryGetStructTypeResponse.ProtoReflect.Descriptor instead. func (*QueryGetStructTypeResponse) Descriptor() ([]byte, []int) { - return file_structs_structs_query_proto_rawDescGZIP(), []int{69} + return file_structs_structs_query_proto_rawDescGZIP(), []int{92} } func (x *QueryGetStructTypeResponse) GetStructType() *StructType { @@ -40745,7 +52343,7 @@ type QueryAllStructTypeRequest struct { func (x *QueryAllStructTypeRequest) Reset() { *x = QueryAllStructTypeRequest{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_query_proto_msgTypes[70] + mi := &file_structs_structs_query_proto_msgTypes[93] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -40759,7 +52357,7 @@ func (*QueryAllStructTypeRequest) ProtoMessage() {} // Deprecated: Use QueryAllStructTypeRequest.ProtoReflect.Descriptor instead. func (*QueryAllStructTypeRequest) Descriptor() ([]byte, []int) { - return file_structs_structs_query_proto_rawDescGZIP(), []int{70} + return file_structs_structs_query_proto_rawDescGZIP(), []int{93} } func (x *QueryAllStructTypeRequest) GetPagination() *v1beta1.PageRequest { @@ -40781,7 +52379,7 @@ type QueryAllStructTypeResponse struct { func (x *QueryAllStructTypeResponse) Reset() { *x = QueryAllStructTypeResponse{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_query_proto_msgTypes[71] + mi := &file_structs_structs_query_proto_msgTypes[94] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -40795,7 +52393,7 @@ func (*QueryAllStructTypeResponse) ProtoMessage() {} // Deprecated: Use QueryAllStructTypeResponse.ProtoReflect.Descriptor instead. func (*QueryAllStructTypeResponse) Descriptor() ([]byte, []int) { - return file_structs_structs_query_proto_rawDescGZIP(), []int{71} + return file_structs_structs_query_proto_rawDescGZIP(), []int{94} } func (x *QueryAllStructTypeResponse) GetStructType() []*StructType { @@ -40823,7 +52421,7 @@ type QueryGetSubstationRequest struct { func (x *QueryGetSubstationRequest) Reset() { *x = QueryGetSubstationRequest{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_query_proto_msgTypes[72] + mi := &file_structs_structs_query_proto_msgTypes[95] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -40837,7 +52435,7 @@ func (*QueryGetSubstationRequest) ProtoMessage() {} // Deprecated: Use QueryGetSubstationRequest.ProtoReflect.Descriptor instead. func (*QueryGetSubstationRequest) Descriptor() ([]byte, []int) { - return file_structs_structs_query_proto_rawDescGZIP(), []int{72} + return file_structs_structs_query_proto_rawDescGZIP(), []int{95} } func (x *QueryGetSubstationRequest) GetId() string { @@ -40859,7 +52457,7 @@ type QueryGetSubstationResponse struct { func (x *QueryGetSubstationResponse) Reset() { *x = QueryGetSubstationResponse{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_query_proto_msgTypes[73] + mi := &file_structs_structs_query_proto_msgTypes[96] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -40873,7 +52471,7 @@ func (*QueryGetSubstationResponse) ProtoMessage() {} // Deprecated: Use QueryGetSubstationResponse.ProtoReflect.Descriptor instead. func (*QueryGetSubstationResponse) Descriptor() ([]byte, []int) { - return file_structs_structs_query_proto_rawDescGZIP(), []int{73} + return file_structs_structs_query_proto_rawDescGZIP(), []int{96} } func (x *QueryGetSubstationResponse) GetSubstation() *Substation { @@ -40901,7 +52499,7 @@ type QueryAllSubstationRequest struct { func (x *QueryAllSubstationRequest) Reset() { *x = QueryAllSubstationRequest{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_query_proto_msgTypes[74] + mi := &file_structs_structs_query_proto_msgTypes[97] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -40915,7 +52513,7 @@ func (*QueryAllSubstationRequest) ProtoMessage() {} // Deprecated: Use QueryAllSubstationRequest.ProtoReflect.Descriptor instead. func (*QueryAllSubstationRequest) Descriptor() ([]byte, []int) { - return file_structs_structs_query_proto_rawDescGZIP(), []int{74} + return file_structs_structs_query_proto_rawDescGZIP(), []int{97} } func (x *QueryAllSubstationRequest) GetPagination() *v1beta1.PageRequest { @@ -40937,7 +52535,7 @@ type QueryAllSubstationResponse struct { func (x *QueryAllSubstationResponse) Reset() { *x = QueryAllSubstationResponse{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_query_proto_msgTypes[75] + mi := &file_structs_structs_query_proto_msgTypes[98] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -40951,7 +52549,7 @@ func (*QueryAllSubstationResponse) ProtoMessage() {} // Deprecated: Use QueryAllSubstationResponse.ProtoReflect.Descriptor instead. func (*QueryAllSubstationResponse) Descriptor() ([]byte, []int) { - return file_structs_structs_query_proto_rawDescGZIP(), []int{75} + return file_structs_structs_query_proto_rawDescGZIP(), []int{98} } func (x *QueryAllSubstationResponse) GetSubstation() []*Substation { @@ -40982,7 +52580,7 @@ type QueryValidateSignatureRequest struct { func (x *QueryValidateSignatureRequest) Reset() { *x = QueryValidateSignatureRequest{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_query_proto_msgTypes[76] + mi := &file_structs_structs_query_proto_msgTypes[99] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -40996,7 +52594,7 @@ func (*QueryValidateSignatureRequest) ProtoMessage() {} // Deprecated: Use QueryValidateSignatureRequest.ProtoReflect.Descriptor instead. func (*QueryValidateSignatureRequest) Descriptor() ([]byte, []int) { - return file_structs_structs_query_proto_rawDescGZIP(), []int{76} + return file_structs_structs_query_proto_rawDescGZIP(), []int{99} } func (x *QueryValidateSignatureRequest) GetAddress() string { @@ -41042,7 +52640,7 @@ type QueryValidateSignatureResponse struct { func (x *QueryValidateSignatureResponse) Reset() { *x = QueryValidateSignatureResponse{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_query_proto_msgTypes[77] + mi := &file_structs_structs_query_proto_msgTypes[100] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -41056,7 +52654,7 @@ func (*QueryValidateSignatureResponse) ProtoMessage() {} // Deprecated: Use QueryValidateSignatureResponse.ProtoReflect.Descriptor instead. func (*QueryValidateSignatureResponse) Descriptor() ([]byte, []int) { - return file_structs_structs_query_proto_rawDescGZIP(), []int{77} + return file_structs_structs_query_proto_rawDescGZIP(), []int{100} } func (x *QueryValidateSignatureResponse) GetPubkeyFormatError() bool { @@ -41110,892 +52708,1187 @@ var file_structs_structs_query_proto_rawDesc = []byte{ 0x6f, 0x1a, 0x1c, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, - 0x2f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, + 0x2f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, - 0x61, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x1a, 0x1b, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, - 0x73, 0x2f, 0x66, 0x6c, 0x65, 0x65, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1a, 0x73, - 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x67, - 0x72, 0x69, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x73, 0x74, 0x72, 0x75, 0x63, - 0x74, 0x73, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x67, 0x75, 0x69, 0x6c, 0x64, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, - 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x69, 0x6e, 0x66, 0x75, 0x73, 0x69, 0x6f, 0x6e, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1a, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, - 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x6b, 0x65, 0x79, 0x73, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x1a, 0x20, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x73, 0x74, 0x72, 0x75, - 0x63, 0x74, 0x73, 0x2f, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x73, 0x74, - 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x1a, 0x1c, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x73, 0x74, 0x72, 0x75, - 0x63, 0x74, 0x73, 0x2f, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x1a, 0x1d, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, - 0x73, 0x2f, 0x72, 0x65, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, - 0x1c, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, - 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x73, - 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x73, - 0x75, 0x62, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, - 0x14, 0x0a, 0x12, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x51, 0x0a, 0x13, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x61, - 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3a, 0x0a, 0x06, - 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x73, - 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x50, - 0x61, 0x72, 0x61, 0x6d, 0x73, 0x42, 0x09, 0xc8, 0xde, 0x1f, 0x00, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, - 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x22, 0x12, 0x0a, 0x10, 0x51, 0x75, 0x65, 0x72, - 0x79, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x22, 0x3c, 0x0a, 0x18, - 0x51, 0x75, 0x65, 0x72, 0x79, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x62, 0x6c, 0x6f, 0x63, - 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x62, - 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x22, 0x32, 0x0a, 0x16, 0x51, 0x75, - 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x84, - 0x01, 0x0a, 0x1e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x41, 0x64, 0x64, 0x72, 0x65, - 0x73, 0x73, 0x42, 0x79, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, 0x12, 0x46, 0x0a, - 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x26, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, - 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, - 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x60, 0x0a, 0x16, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, - 0x6c, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, - 0x46, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, - 0x65, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, - 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x0a, 0x70, 0x61, 0x67, - 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x6e, 0x0a, 0x14, 0x51, 0x75, 0x65, 0x72, 0x79, - 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6c, 0x61, - 0x79, 0x65, 0x72, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6c, 0x61, - 0x79, 0x65, 0x72, 0x49, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, - 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x70, 0x65, 0x72, 0x6d, - 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0xa3, 0x01, 0x0a, 0x17, 0x51, 0x75, 0x65, 0x72, - 0x79, 0x41, 0x6c, 0x6c, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x3f, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, - 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x64, 0x64, 0x72, - 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x07, 0x61, 0x64, 0x64, - 0x72, 0x65, 0x73, 0x73, 0x12, 0x47, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, - 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, - 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x2b, 0x0a, - 0x19, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0xa8, 0x01, 0x0a, 0x1a, 0x51, - 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x41, 0x0a, 0x0a, 0x41, 0x6c, 0x6c, - 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, + 0x61, 0x67, 0x72, 0x65, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x20, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, + 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x1b, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, + 0x74, 0x73, 0x2f, 0x66, 0x6c, 0x65, 0x65, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1a, + 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, + 0x67, 0x72, 0x69, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x73, 0x74, 0x72, 0x75, + 0x63, 0x74, 0x73, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x67, 0x75, 0x69, 0x6c, + 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, + 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x69, 0x6e, 0x66, 0x75, 0x73, 0x69, 0x6f, + 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1a, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, + 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x6b, 0x65, 0x79, 0x73, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x73, 0x74, 0x72, + 0x75, 0x63, 0x74, 0x73, 0x2f, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x73, + 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x73, 0x74, 0x72, + 0x75, 0x63, 0x74, 0x73, 0x2f, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x1d, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, + 0x74, 0x73, 0x2f, 0x72, 0x65, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x1e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, + 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x1c, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, + 0x73, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, + 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, + 0x73, 0x75, 0x62, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x14, 0x0a, 0x12, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x51, 0x0a, 0x13, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, + 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3a, 0x0a, + 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, - 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, - 0x52, 0x0a, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x47, 0x0a, 0x0e, - 0x67, 0x72, 0x69, 0x64, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, - 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x47, 0x72, 0x69, 0x64, 0x41, 0x74, 0x74, 0x72, 0x69, - 0x62, 0x75, 0x74, 0x65, 0x73, 0x52, 0x0e, 0x67, 0x72, 0x69, 0x64, 0x41, 0x74, 0x74, 0x72, 0x69, - 0x62, 0x75, 0x74, 0x65, 0x73, 0x22, 0x63, 0x0a, 0x19, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, - 0x6c, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x46, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, - 0x62, 0x61, 0x73, 0x65, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, - 0x61, 0x31, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x0a, - 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x87, 0x01, 0x0a, 0x21, 0x51, - 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x42, 0x79, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x42, 0x09, 0xc8, 0xde, 0x1f, 0x00, 0xa8, 0xe7, 0xb0, 0x2a, + 0x01, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x22, 0x12, 0x0a, 0x10, 0x51, 0x75, 0x65, + 0x72, 0x79, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x22, 0x3c, 0x0a, + 0x18, 0x51, 0x75, 0x65, 0x72, 0x79, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, + 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x62, 0x6c, 0x6f, + 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, + 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x22, 0x32, 0x0a, 0x16, 0x51, + 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, + 0x84, 0x01, 0x0a, 0x1e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x41, 0x64, 0x64, 0x72, + 0x65, 0x73, 0x73, 0x42, 0x79, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, 0x12, 0x46, + 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, + 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, + 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, + 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x60, 0x0a, 0x16, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, + 0x6c, 0x6c, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x46, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x0a, 0x70, 0x61, - 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x6f, 0x75, 0x72, - 0x63, 0x65, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x6f, 0x75, 0x72, - 0x63, 0x65, 0x49, 0x64, 0x22, 0x96, 0x01, 0x0a, 0x26, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, - 0x6c, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x79, 0x44, 0x65, 0x73, - 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, - 0x46, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, - 0x65, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, - 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x0a, 0x70, 0x61, 0x67, - 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x24, 0x0a, 0x0d, 0x64, 0x65, 0x73, 0x74, 0x69, - 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, - 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0xc0, 0x01, - 0x0a, 0x1a, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x41, 0x0a, 0x0a, - 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x1b, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, - 0x74, 0x73, 0x2e, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x04, 0xc8, - 0xde, 0x1f, 0x00, 0x52, 0x0a, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, - 0x47, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, - 0x65, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, - 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x0a, 0x70, 0x61, - 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, - 0x75, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x04, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, - 0x22, 0x26, 0x0a, 0x14, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x46, 0x6c, 0x65, 0x65, - 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x4b, 0x0a, 0x15, 0x51, 0x75, 0x65, 0x72, - 0x79, 0x47, 0x65, 0x74, 0x46, 0x6c, 0x65, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x32, 0x0a, 0x05, 0x46, 0x6c, 0x65, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x16, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, - 0x74, 0x73, 0x2e, 0x46, 0x6c, 0x65, 0x65, 0x74, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x05, - 0x46, 0x6c, 0x65, 0x65, 0x74, 0x22, 0x33, 0x0a, 0x1b, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, - 0x74, 0x46, 0x6c, 0x65, 0x65, 0x74, 0x42, 0x79, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x04, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x22, 0x5e, 0x0a, 0x14, 0x51, 0x75, - 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x46, 0x6c, 0x65, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x6e, 0x0a, 0x14, 0x51, 0x75, 0x65, 0x72, + 0x79, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6c, + 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6c, + 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, + 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x70, 0x65, 0x72, + 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0xa3, 0x01, 0x0a, 0x17, 0x51, 0x75, 0x65, + 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3f, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, + 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, + 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x64, 0x64, + 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x07, 0x61, 0x64, + 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x47, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x63, 0x6f, 0x73, 0x6d, + 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x2a, + 0x0a, 0x18, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x41, 0x67, 0x72, 0x65, 0x65, 0x6d, + 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x5b, 0x0a, 0x19, 0x51, 0x75, + 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x41, 0x67, 0x72, 0x65, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3e, 0x0a, 0x09, 0x41, 0x67, 0x72, 0x65, 0x65, + 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x73, 0x74, 0x72, + 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x41, 0x67, 0x72, + 0x65, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x09, 0x41, 0x67, + 0x72, 0x65, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0x62, 0x0a, 0x18, 0x51, 0x75, 0x65, 0x72, 0x79, + 0x41, 0x6c, 0x6c, 0x41, 0x67, 0x72, 0x65, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x46, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, + 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, + 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x8c, 0x01, 0x0a, 0x22, + 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x41, 0x67, 0x72, 0x65, 0x65, 0x6d, 0x65, 0x6e, + 0x74, 0x42, 0x79, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x46, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x0a, - 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x94, 0x01, 0x0a, 0x15, 0x51, - 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x46, 0x6c, 0x65, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x32, 0x0a, 0x05, 0x46, 0x6c, 0x65, 0x65, 0x74, 0x18, 0x01, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, - 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x46, 0x6c, 0x65, 0x65, 0x74, 0x42, 0x04, 0xc8, 0xde, 0x1f, - 0x00, 0x52, 0x05, 0x46, 0x6c, 0x65, 0x65, 0x74, 0x12, 0x47, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, + 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x72, + 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, + 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x64, 0x22, 0xa4, 0x01, 0x0a, 0x19, 0x51, + 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x41, 0x67, 0x72, 0x65, 0x65, 0x6d, 0x65, 0x6e, 0x74, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3e, 0x0a, 0x09, 0x41, 0x67, 0x72, 0x65, + 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x73, 0x74, + 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x41, 0x67, + 0x72, 0x65, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x09, 0x41, + 0x67, 0x72, 0x65, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x47, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x22, 0x37, 0x0a, 0x13, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x47, 0x72, 0x69, - 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x61, 0x74, 0x74, 0x72, - 0x69, 0x62, 0x75, 0x74, 0x65, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x61, - 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x49, 0x64, 0x22, 0x5d, 0x0a, 0x13, 0x51, 0x75, - 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x47, 0x72, 0x69, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x46, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, - 0x61, 0x73, 0x65, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, - 0x31, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x0a, 0x70, - 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x53, 0x0a, 0x14, 0x51, 0x75, 0x65, - 0x72, 0x79, 0x47, 0x65, 0x74, 0x47, 0x72, 0x69, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x3b, 0x0a, 0x0a, 0x67, 0x72, 0x69, 0x64, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, - 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x47, 0x72, 0x69, 0x64, 0x52, 0x65, 0x63, 0x6f, - 0x72, 0x64, 0x52, 0x0a, 0x67, 0x72, 0x69, 0x64, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x22, 0x9e, - 0x01, 0x0a, 0x14, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x47, 0x72, 0x69, 0x64, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3d, 0x0a, 0x0b, 0x67, 0x72, 0x69, 0x64, 0x52, - 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x73, - 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x47, - 0x72, 0x69, 0x64, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x0b, 0x67, 0x72, 0x69, 0x64, 0x52, - 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x12, 0x47, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, + 0x6e, 0x22, 0x2b, 0x0a, 0x19, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, + 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, + 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0xa8, + 0x01, 0x0a, 0x1a, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x6f, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x41, 0x0a, + 0x0a, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1b, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, + 0x63, 0x74, 0x73, 0x2e, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x04, + 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x0a, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x12, 0x47, 0x0a, 0x0e, 0x67, 0x72, 0x69, 0x64, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, + 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, + 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x47, 0x72, 0x69, 0x64, 0x41, + 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x52, 0x0e, 0x67, 0x72, 0x69, 0x64, 0x41, + 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x22, 0x63, 0x0a, 0x19, 0x51, 0x75, 0x65, + 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x46, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x63, 0x6f, 0x73, + 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x87, + 0x01, 0x0a, 0x21, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x41, 0x6c, 0x6c, 0x6f, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x79, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x46, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, + 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, + 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, + 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x64, 0x22, 0x96, 0x01, 0x0a, 0x26, 0x51, 0x75, 0x65, + 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, + 0x79, 0x44, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x46, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, + 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, + 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x24, 0x0a, 0x0d, 0x64, + 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0d, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, + 0x64, 0x22, 0xc0, 0x01, 0x0a, 0x1a, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x41, 0x6c, + 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x41, 0x0a, 0x0a, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, + 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x0a, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x12, 0x47, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, + 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, + 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x04, 0x52, 0x06, 0x73, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x22, 0x26, 0x0a, 0x14, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, + 0x46, 0x6c, 0x65, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, + 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x4b, 0x0a, 0x15, + 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x46, 0x6c, 0x65, 0x65, 0x74, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x32, 0x0a, 0x05, 0x46, 0x6c, 0x65, 0x65, 0x74, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, + 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x46, 0x6c, 0x65, 0x65, 0x74, 0x42, 0x04, 0xc8, 0xde, + 0x1f, 0x00, 0x52, 0x05, 0x46, 0x6c, 0x65, 0x65, 0x74, 0x22, 0x33, 0x0a, 0x1b, 0x51, 0x75, 0x65, + 0x72, 0x79, 0x47, 0x65, 0x74, 0x46, 0x6c, 0x65, 0x65, 0x74, 0x42, 0x79, 0x49, 0x6e, 0x64, 0x65, + 0x78, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, + 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x22, 0x5e, + 0x0a, 0x14, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x46, 0x6c, 0x65, 0x65, 0x74, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x46, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x63, 0x6f, 0x73, + 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x94, + 0x01, 0x0a, 0x15, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x46, 0x6c, 0x65, 0x65, 0x74, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x32, 0x0a, 0x05, 0x46, 0x6c, 0x65, 0x65, + 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, + 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x46, 0x6c, 0x65, 0x65, 0x74, 0x42, + 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x05, 0x46, 0x6c, 0x65, 0x65, 0x74, 0x12, 0x47, 0x0a, 0x0a, + 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x27, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x71, + 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x67, + 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x37, 0x0a, 0x13, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, + 0x74, 0x47, 0x72, 0x69, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x20, 0x0a, 0x0b, + 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0b, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x49, 0x64, 0x22, 0x5d, + 0x0a, 0x13, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x47, 0x72, 0x69, 0x64, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x46, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x63, 0x6f, 0x73, 0x6d, + 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x53, 0x0a, + 0x14, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x47, 0x72, 0x69, 0x64, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3b, 0x0a, 0x0a, 0x67, 0x72, 0x69, 0x64, 0x52, 0x65, 0x63, + 0x6f, 0x72, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x73, 0x74, 0x72, 0x75, + 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x47, 0x72, 0x69, 0x64, + 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x0a, 0x67, 0x72, 0x69, 0x64, 0x52, 0x65, 0x63, 0x6f, + 0x72, 0x64, 0x22, 0x9e, 0x01, 0x0a, 0x14, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x47, + 0x72, 0x69, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3d, 0x0a, 0x0b, 0x67, + 0x72, 0x69, 0x64, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x1b, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, + 0x74, 0x73, 0x2e, 0x47, 0x72, 0x69, 0x64, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x0b, 0x67, + 0x72, 0x69, 0x64, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x12, 0x47, 0x0a, 0x0a, 0x70, 0x61, + 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, + 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x71, 0x75, 0x65, + 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x22, 0x26, 0x0a, 0x14, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x47, + 0x75, 0x69, 0x6c, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x4b, 0x0a, 0x15, 0x51, + 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x32, 0x0a, 0x05, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, + 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x42, 0x04, 0xc8, 0xde, 0x1f, + 0x00, 0x52, 0x05, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x22, 0x5e, 0x0a, 0x14, 0x51, 0x75, 0x65, 0x72, + 0x79, 0x41, 0x6c, 0x6c, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x46, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, + 0x73, 0x65, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2e, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x0a, 0x70, 0x61, + 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x94, 0x01, 0x0a, 0x15, 0x51, 0x75, 0x65, + 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x32, 0x0a, 0x05, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x18, 0x01, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x16, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, + 0x63, 0x74, 0x73, 0x2e, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, + 0x05, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x12, 0x47, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, - 0x26, 0x0a, 0x14, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x47, 0x75, 0x69, 0x6c, 0x64, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x4b, 0x0a, 0x15, 0x51, 0x75, 0x65, 0x72, 0x79, - 0x47, 0x65, 0x74, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x32, 0x0a, 0x05, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x16, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, - 0x73, 0x2e, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x05, 0x47, - 0x75, 0x69, 0x6c, 0x64, 0x22, 0x5e, 0x0a, 0x14, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, - 0x47, 0x75, 0x69, 0x6c, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x46, 0x0a, 0x0a, - 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x26, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x71, - 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x67, - 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x94, 0x01, 0x0a, 0x15, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, - 0x6c, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x32, - 0x0a, 0x05, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, - 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, - 0x47, 0x75, 0x69, 0x6c, 0x64, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x05, 0x47, 0x75, 0x69, - 0x6c, 0x64, 0x12, 0x47, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, - 0x62, 0x61, 0x73, 0x65, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, - 0x61, 0x31, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, - 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x61, 0x0a, 0x29, 0x51, - 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x6d, 0x62, - 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x75, 0x69, 0x6c, - 0x64, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, - 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, 0x22, 0x9f, - 0x01, 0x0a, 0x2a, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x47, 0x75, 0x69, 0x6c, 0x64, - 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x71, 0x0a, - 0x1a, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, - 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x2b, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, - 0x63, 0x74, 0x73, 0x2e, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, - 0x68, 0x69, 0x70, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x04, - 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x1a, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, - 0x72, 0x73, 0x68, 0x69, 0x70, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x22, 0x73, 0x0a, 0x29, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x47, 0x75, 0x69, 0x6c, - 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x41, 0x70, 0x70, 0x6c, 0x69, - 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x46, 0x0a, - 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x26, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, - 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, - 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xe8, 0x01, 0x0a, 0x2a, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, - 0x6c, 0x6c, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, - 0x70, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x71, 0x0a, 0x1a, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x6d, - 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, - 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x47, 0x75, 0x69, 0x6c, 0x64, - 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x1a, 0x47, 0x75, 0x69, - 0x6c, 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x41, 0x70, 0x70, 0x6c, - 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x47, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, + 0x45, 0x0a, 0x29, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x47, 0x75, 0x69, 0x6c, 0x64, + 0x42, 0x61, 0x6e, 0x6b, 0x43, 0x6f, 0x6c, 0x6c, 0x61, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x41, 0x64, + 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, + 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x67, + 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x22, 0x73, 0x0a, 0x29, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, + 0x6c, 0x6c, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x42, 0x61, 0x6e, 0x6b, 0x43, 0x6f, 0x6c, 0x6c, 0x61, + 0x74, 0x65, 0x72, 0x61, 0x6c, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x46, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, + 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, + 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xe2, 0x01, 0x0a, 0x2a, + 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x42, 0x61, 0x6e, + 0x6b, 0x43, 0x6f, 0x6c, 0x6c, 0x61, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x41, 0x64, 0x64, 0x72, 0x65, + 0x73, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6b, 0x0a, 0x1a, 0x69, 0x6e, + 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x41, 0x73, 0x73, + 0x6f, 0x63, 0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, + 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, + 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, + 0x41, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x1a, 0x69, 0x6e, 0x74, + 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x41, 0x73, 0x73, 0x6f, + 0x63, 0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x47, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x22, 0x59, 0x0a, 0x17, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x75, - 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x24, 0x0a, 0x0d, 0x64, + 0x22, 0x47, 0x0a, 0x2b, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x47, 0x75, 0x69, 0x6c, + 0x64, 0x42, 0x79, 0x42, 0x61, 0x6e, 0x6b, 0x43, 0x6f, 0x6c, 0x6c, 0x61, 0x74, 0x65, 0x72, 0x61, + 0x6c, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x61, 0x0a, 0x29, 0x51, 0x75, 0x65, + 0x72, 0x79, 0x47, 0x65, 0x74, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, + 0x73, 0x68, 0x69, 0x70, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, + 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, 0x22, 0x9f, 0x01, 0x0a, + 0x2a, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, + 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x71, 0x0a, 0x1a, 0x47, + 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x41, 0x70, + 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x2b, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, + 0x73, 0x2e, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, + 0x70, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x04, 0xc8, 0xde, + 0x1f, 0x00, 0x52, 0x1a, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, + 0x68, 0x69, 0x70, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x73, + 0x0a, 0x29, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x4d, + 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x46, 0x0a, 0x0a, 0x70, + 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x26, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x71, 0x75, + 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x67, 0x65, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x22, 0xe8, 0x01, 0x0a, 0x2a, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, + 0x47, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x41, + 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x71, 0x0a, 0x1a, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, + 0x72, 0x73, 0x68, 0x69, 0x70, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, + 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, + 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x1a, 0x47, 0x75, 0x69, 0x6c, 0x64, + 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x47, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x63, 0x6f, 0x73, 0x6d, + 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, + 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x59, + 0x0a, 0x17, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x75, 0x73, 0x69, + 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x24, 0x0a, 0x0d, 0x64, 0x65, 0x73, + 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0d, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, + 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x57, 0x0a, 0x18, 0x51, 0x75, 0x65, + 0x72, 0x79, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3b, 0x0a, 0x08, 0x49, 0x6e, 0x66, 0x75, 0x73, 0x69, 0x6f, + 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, + 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x49, 0x6e, 0x66, 0x75, 0x73, 0x69, + 0x6f, 0x6e, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x08, 0x49, 0x6e, 0x66, 0x75, 0x73, 0x69, + 0x6f, 0x6e, 0x22, 0x94, 0x01, 0x0a, 0x24, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x49, + 0x6e, 0x66, 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x79, 0x44, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x24, 0x0a, 0x0d, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, - 0x64, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x57, 0x0a, 0x18, 0x51, - 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3b, 0x0a, 0x08, 0x49, 0x6e, 0x66, 0x75, 0x73, - 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x73, 0x74, 0x72, 0x75, - 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x49, 0x6e, 0x66, 0x75, - 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x08, 0x49, 0x6e, 0x66, 0x75, - 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x94, 0x01, 0x0a, 0x24, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, - 0x6c, 0x49, 0x6e, 0x66, 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x79, 0x44, 0x65, 0x73, 0x74, 0x69, - 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x24, 0x0a, - 0x0d, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x49, 0x64, 0x12, 0x46, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, + 0x64, 0x12, 0x46, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, + 0x61, 0x73, 0x65, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x0a, 0x70, + 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x61, 0x0a, 0x17, 0x51, 0x75, 0x65, + 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x46, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, + 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xb8, 0x01, 0x0a, + 0x18, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x75, 0x73, 0x69, 0x6f, + 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3b, 0x0a, 0x08, 0x49, 0x6e, 0x66, + 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x73, 0x74, + 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x49, 0x6e, + 0x66, 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x08, 0x49, 0x6e, + 0x66, 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x47, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x63, 0x6f, 0x73, + 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, + 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x04, 0x52, + 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x3f, 0x0a, 0x19, 0x51, 0x75, 0x65, 0x72, 0x79, + 0x47, 0x65, 0x74, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x22, 0x0a, 0x0c, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, + 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x70, 0x65, 0x72, 0x6d, + 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x87, 0x01, 0x0a, 0x21, 0x51, 0x75, 0x65, + 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x42, + 0x79, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, + 0x0a, 0x08, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x08, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x64, 0x12, 0x46, 0x0a, 0x0a, 0x70, 0x61, + 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, + 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x71, 0x75, 0x65, + 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x22, 0x87, 0x01, 0x0a, 0x21, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x50, + 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x79, 0x50, 0x6c, 0x61, 0x79, 0x65, + 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x79, + 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x79, + 0x65, 0x72, 0x49, 0x64, 0x12, 0x46, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, + 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x63, 0x0a, 0x19, + 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, + 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x46, 0x0a, 0x0a, 0x70, 0x61, 0x67, + 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, + 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x71, 0x75, 0x65, 0x72, + 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x22, 0x6b, 0x0a, 0x1a, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x50, 0x65, 0x72, + 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x4d, 0x0a, 0x10, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x63, + 0x6f, 0x72, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x73, 0x74, 0x72, 0x75, + 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x50, 0x65, 0x72, 0x6d, + 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x10, 0x70, 0x65, + 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x22, 0xb6, + 0x01, 0x0a, 0x1a, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x50, 0x65, 0x72, 0x6d, 0x69, + 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4f, 0x0a, + 0x11, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x63, 0x6f, 0x72, + 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, + 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x50, 0x65, 0x72, 0x6d, 0x69, + 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x11, 0x70, 0x65, 0x72, + 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x12, 0x47, + 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, + 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, + 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x0a, 0x70, 0x61, 0x67, + 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x27, 0x0a, 0x15, 0x51, 0x75, 0x65, 0x72, 0x79, + 0x47, 0x65, 0x74, 0x50, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, + 0x22, 0xe7, 0x01, 0x0a, 0x16, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x50, 0x6c, 0x61, + 0x6e, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x06, 0x50, + 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x73, 0x74, + 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x50, 0x6c, + 0x61, 0x6e, 0x65, 0x74, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x06, 0x50, 0x6c, 0x61, 0x6e, + 0x65, 0x74, 0x12, 0x47, 0x0a, 0x0e, 0x67, 0x72, 0x69, 0x64, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, + 0x75, 0x74, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x73, 0x74, 0x72, + 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x47, 0x72, 0x69, + 0x64, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x52, 0x0e, 0x67, 0x72, 0x69, + 0x64, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x12, 0x4d, 0x0a, 0x10, 0x70, + 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, + 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x50, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x41, 0x74, + 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x52, 0x10, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x74, + 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x22, 0x5f, 0x0a, 0x15, 0x51, 0x75, + 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x50, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x46, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, + 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, + 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x83, 0x01, 0x0a, 0x1d, + 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x50, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x42, 0x79, + 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, + 0x08, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x08, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, 0x12, 0x46, 0x0a, 0x0a, 0x70, 0x61, 0x67, + 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, + 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x71, 0x75, 0x65, 0x72, + 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x22, 0x98, 0x01, 0x0a, 0x16, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x50, 0x6c, + 0x61, 0x6e, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x06, + 0x50, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x73, + 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x50, + 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x06, 0x50, 0x6c, 0x61, + 0x6e, 0x65, 0x74, 0x12, 0x47, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, + 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x62, 0x0a, 0x1e, + 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x50, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x41, 0x74, + 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, + 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x08, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x49, 0x64, 0x12, 0x24, 0x0a, 0x0d, 0x61, 0x74, + 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x54, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0d, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x54, 0x79, 0x70, 0x65, + 0x22, 0x3f, 0x0a, 0x1f, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x50, 0x6c, 0x61, 0x6e, + 0x65, 0x74, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, + 0x65, 0x22, 0x68, 0x0a, 0x1e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x50, 0x6c, 0x61, + 0x6e, 0x65, 0x74, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x46, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, - 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x61, 0x0a, 0x17, 0x51, - 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x52, + 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xca, 0x01, 0x0a, 0x1f, + 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x50, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x41, 0x74, + 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x5e, 0x0a, 0x16, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, + 0x74, 0x65, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x26, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, + 0x73, 0x2e, 0x50, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, + 0x65, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x16, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x41, + 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x12, + 0x47, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, + 0x65, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, + 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x0a, 0x70, 0x61, + 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x27, 0x0a, 0x15, 0x51, 0x75, 0x65, 0x72, + 0x79, 0x47, 0x65, 0x74, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, + 0x64, 0x22, 0xfc, 0x01, 0x0a, 0x16, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x50, 0x6c, + 0x61, 0x79, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x06, + 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x73, + 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x50, + 0x6c, 0x61, 0x79, 0x65, 0x72, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x06, 0x50, 0x6c, 0x61, + 0x79, 0x65, 0x72, 0x12, 0x47, 0x0a, 0x0e, 0x67, 0x72, 0x69, 0x64, 0x41, 0x74, 0x74, 0x72, 0x69, + 0x62, 0x75, 0x74, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x73, 0x74, + 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x47, 0x72, + 0x69, 0x64, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x52, 0x0e, 0x67, 0x72, + 0x69, 0x64, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x12, 0x4a, 0x0a, 0x0f, + 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, + 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x6e, + 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x0f, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, + 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x16, 0x0a, 0x06, 0x68, 0x61, 0x6c, 0x74, + 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x68, 0x61, 0x6c, 0x74, 0x65, 0x64, + 0x22, 0x5f, 0x0a, 0x15, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x50, 0x6c, 0x61, 0x79, + 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x46, 0x0a, 0x0a, 0x70, 0x61, 0x67, + 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, + 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x71, 0x75, 0x65, 0x72, + 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x22, 0x98, 0x01, 0x0a, 0x16, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x50, 0x6c, + 0x61, 0x79, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x06, + 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x73, + 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x50, + 0x6c, 0x61, 0x79, 0x65, 0x72, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x06, 0x50, 0x6c, 0x61, + 0x79, 0x65, 0x72, 0x12, 0x47, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, + 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x1d, 0x0a, 0x1b, + 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x48, 0x61, + 0x6c, 0x74, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x40, 0x0a, 0x1c, 0x51, + 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x48, 0x61, 0x6c, + 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x20, 0x0a, 0x08, 0x50, + 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x42, 0x04, 0xc8, + 0xde, 0x1f, 0x00, 0x52, 0x08, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, 0x22, 0x29, 0x0a, + 0x17, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, + 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0xa0, 0x01, 0x0a, 0x18, 0x51, 0x75, 0x65, + 0x72, 0x79, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3b, 0x0a, 0x08, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, + 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, + 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, + 0x65, 0x72, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x08, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, + 0x65, 0x72, 0x12, 0x47, 0x0a, 0x0e, 0x67, 0x72, 0x69, 0x64, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, + 0x75, 0x74, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x73, 0x74, 0x72, + 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x47, 0x72, 0x69, + 0x64, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x52, 0x0e, 0x67, 0x72, 0x69, + 0x64, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x22, 0x61, 0x0a, 0x17, 0x51, + 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x46, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xb8, - 0x01, 0x0a, 0x18, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x75, 0x73, - 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3b, 0x0a, 0x08, 0x49, - 0x6e, 0x66, 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, + 0x73, 0x74, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xa0, + 0x01, 0x0a, 0x18, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x50, 0x72, 0x6f, 0x76, 0x69, + 0x64, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3b, 0x0a, 0x08, 0x50, + 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, - 0x49, 0x6e, 0x66, 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x08, - 0x49, 0x6e, 0x66, 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x47, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, + 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x08, + 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x12, 0x47, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, - 0x04, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x3f, 0x0a, 0x19, 0x51, 0x75, 0x65, - 0x72, 0x79, 0x47, 0x65, 0x74, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x22, 0x0a, 0x0c, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, - 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x70, 0x65, - 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x87, 0x01, 0x0a, 0x21, 0x51, - 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, - 0x6e, 0x42, 0x79, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x12, 0x1a, 0x0a, 0x08, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x08, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x64, 0x12, 0x46, 0x0a, 0x0a, + 0x6e, 0x22, 0x4a, 0x0a, 0x28, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, + 0x76, 0x69, 0x64, 0x65, 0x72, 0x43, 0x6f, 0x6c, 0x6c, 0x61, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x41, + 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1e, 0x0a, + 0x0a, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x64, 0x22, 0x72, 0x0a, + 0x28, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, + 0x72, 0x43, 0x6f, 0x6c, 0x6c, 0x61, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x41, 0x64, 0x64, 0x72, 0x65, + 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x46, 0x0a, 0x0a, 0x70, 0x61, 0x67, + 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, + 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x71, 0x75, 0x65, 0x72, + 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x22, 0xe1, 0x01, 0x0a, 0x29, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x50, 0x72, + 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x43, 0x6f, 0x6c, 0x6c, 0x61, 0x74, 0x65, 0x72, 0x61, 0x6c, + 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x6b, 0x0a, 0x1a, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x41, 0x64, 0x64, 0x72, 0x65, + 0x73, 0x73, 0x41, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, + 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x41, 0x64, + 0x64, 0x72, 0x65, 0x73, 0x73, 0x41, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x52, 0x1a, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, + 0x73, 0x41, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x47, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x26, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x71, + 0x32, 0x27, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x67, - 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x87, 0x01, 0x0a, 0x21, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, - 0x6c, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x79, 0x50, 0x6c, 0x61, - 0x79, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6c, - 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6c, - 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, 0x12, 0x46, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x63, 0x6f, 0x73, - 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, - 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x63, - 0x0a, 0x19, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, - 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x46, 0x0a, 0x0a, 0x70, + 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x46, 0x0a, 0x2a, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, + 0x74, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x42, 0x79, 0x43, 0x6f, 0x6c, 0x6c, 0x61, + 0x74, 0x65, 0x72, 0x61, 0x6c, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x48, 0x0a, + 0x26, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, + 0x72, 0x45, 0x61, 0x72, 0x6e, 0x69, 0x6e, 0x67, 0x73, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x76, 0x69, + 0x64, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x72, 0x6f, + 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x64, 0x22, 0x70, 0x0a, 0x26, 0x51, 0x75, 0x65, 0x72, 0x79, + 0x41, 0x6c, 0x6c, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x45, 0x61, 0x72, 0x6e, 0x69, + 0x6e, 0x67, 0x73, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x46, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, + 0x61, 0x73, 0x65, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x0a, 0x70, + 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xdf, 0x01, 0x0a, 0x27, 0x51, 0x75, + 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x45, 0x61, + 0x72, 0x6e, 0x69, 0x6e, 0x67, 0x73, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6b, 0x0a, 0x1a, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, + 0x6c, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x41, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x73, 0x74, 0x72, 0x75, + 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x49, 0x6e, 0x74, 0x65, + 0x72, 0x6e, 0x61, 0x6c, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x41, 0x73, 0x73, 0x6f, 0x63, + 0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x1a, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, + 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x41, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x12, 0x47, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, + 0x62, 0x61, 0x73, 0x65, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, + 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x44, 0x0a, 0x28, 0x51, + 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x42, + 0x79, 0x45, 0x61, 0x72, 0x6e, 0x69, 0x6e, 0x67, 0x73, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, + 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, + 0x73, 0x22, 0x28, 0x0a, 0x16, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x52, 0x65, 0x61, + 0x63, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x9c, 0x01, 0x0a, 0x17, + 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x52, 0x65, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x38, 0x0a, 0x07, 0x52, 0x65, 0x61, 0x63, 0x74, + 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, + 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x52, 0x65, 0x61, 0x63, 0x74, + 0x6f, 0x72, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x07, 0x52, 0x65, 0x61, 0x63, 0x74, 0x6f, + 0x72, 0x12, 0x47, 0x0a, 0x0e, 0x67, 0x72, 0x69, 0x64, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, + 0x74, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x73, 0x74, 0x72, 0x75, + 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x47, 0x72, 0x69, 0x64, + 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x52, 0x0e, 0x67, 0x72, 0x69, 0x64, + 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x22, 0x60, 0x0a, 0x16, 0x51, 0x75, + 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x52, 0x65, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x46, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, + 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x9c, 0x01, 0x0a, + 0x17, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x52, 0x65, 0x61, 0x63, 0x74, 0x6f, 0x72, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x38, 0x0a, 0x07, 0x52, 0x65, 0x61, 0x63, + 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x73, 0x74, 0x72, 0x75, + 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x52, 0x65, 0x61, 0x63, + 0x74, 0x6f, 0x72, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x07, 0x52, 0x65, 0x61, 0x63, 0x74, + 0x6f, 0x72, 0x12, 0x47, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, + 0x62, 0x61, 0x73, 0x65, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, + 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x27, 0x0a, 0x15, 0x51, + 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x02, 0x69, 0x64, 0x22, 0x91, 0x02, 0x0a, 0x16, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, + 0x74, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x35, 0x0a, 0x06, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x17, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, + 0x73, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x06, + 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x12, 0x4d, 0x0a, 0x10, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, + 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x21, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, + 0x74, 0x73, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, + 0x74, 0x65, 0x73, 0x52, 0x10, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x41, 0x74, 0x74, 0x72, 0x69, + 0x62, 0x75, 0x74, 0x65, 0x73, 0x12, 0x47, 0x0a, 0x0e, 0x67, 0x72, 0x69, 0x64, 0x41, 0x74, 0x74, + 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, + 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, + 0x47, 0x72, 0x69, 0x64, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x52, 0x0e, + 0x67, 0x72, 0x69, 0x64, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x12, 0x28, + 0x0a, 0x0f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x44, 0x65, 0x66, 0x65, 0x6e, 0x64, 0x65, 0x72, + 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x44, + 0x65, 0x66, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x73, 0x22, 0x5f, 0x0a, 0x15, 0x51, 0x75, 0x65, 0x72, + 0x79, 0x41, 0x6c, 0x6c, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x46, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, + 0x61, 0x73, 0x65, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x0a, 0x70, + 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x98, 0x01, 0x0a, 0x16, 0x51, 0x75, + 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x06, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x18, 0x01, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, + 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x42, 0x04, 0xc8, + 0xde, 0x1f, 0x00, 0x52, 0x06, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x12, 0x47, 0x0a, 0x0a, 0x70, + 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x27, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x71, 0x75, + 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x67, 0x65, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x62, 0x0a, 0x1e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, + 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, + 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, + 0x49, 0x64, 0x12, 0x24, 0x0a, 0x0d, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x54, + 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x61, 0x74, 0x74, 0x72, 0x69, + 0x62, 0x75, 0x74, 0x65, 0x54, 0x79, 0x70, 0x65, 0x22, 0x3f, 0x0a, 0x1f, 0x51, 0x75, 0x65, 0x72, + 0x79, 0x47, 0x65, 0x74, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, + 0x75, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x61, + 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, + 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x22, 0x68, 0x0a, 0x1e, 0x51, 0x75, 0x65, + 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x41, 0x74, 0x74, 0x72, 0x69, + 0x62, 0x75, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x46, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x22, 0x6b, 0x0a, 0x1a, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x50, - 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x4d, 0x0a, 0x10, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, - 0x65, 0x63, 0x6f, 0x72, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x73, 0x74, - 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x50, 0x65, - 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x10, - 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, - 0x22, 0xb6, 0x01, 0x0a, 0x1a, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x50, 0x65, 0x72, - 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x4f, 0x0a, 0x11, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x63, - 0x6f, 0x72, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x73, 0x74, 0x72, - 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x50, 0x65, 0x72, - 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x11, 0x70, - 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, - 0x12, 0x47, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, - 0x73, 0x65, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, - 0x2e, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x0a, 0x70, - 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x27, 0x0a, 0x15, 0x51, 0x75, 0x65, - 0x72, 0x79, 0x47, 0x65, 0x74, 0x50, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, - 0x69, 0x64, 0x22, 0xe7, 0x01, 0x0a, 0x16, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x50, - 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, - 0x06, 0x50, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, - 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, - 0x50, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x06, 0x50, 0x6c, - 0x61, 0x6e, 0x65, 0x74, 0x12, 0x47, 0x0a, 0x0e, 0x67, 0x72, 0x69, 0x64, 0x41, 0x74, 0x74, 0x72, - 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x73, - 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x47, - 0x72, 0x69, 0x64, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x52, 0x0e, 0x67, - 0x72, 0x69, 0x64, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x12, 0x4d, 0x0a, - 0x10, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, - 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, - 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x50, 0x6c, 0x61, 0x6e, 0x65, 0x74, - 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x52, 0x10, 0x70, 0x6c, 0x61, 0x6e, - 0x65, 0x74, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x22, 0x5f, 0x0a, 0x15, - 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x50, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x46, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x63, 0x6f, 0x73, 0x6d, - 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, - 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x83, 0x01, - 0x0a, 0x1d, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x50, 0x6c, 0x61, 0x6e, 0x65, 0x74, - 0x42, 0x79, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, - 0x1a, 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, 0x12, 0x46, 0x0a, 0x0a, 0x70, - 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x69, 0x6f, 0x6e, 0x22, 0xca, 0x01, 0x0a, 0x1f, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, + 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5e, 0x0a, 0x16, 0x73, 0x74, 0x72, 0x75, 0x63, + 0x74, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, + 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, + 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, + 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, + 0x16, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, + 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x12, 0x47, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x63, 0x6f, + 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, + 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x22, 0x2b, 0x0a, 0x19, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x53, 0x74, 0x72, 0x75, + 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, + 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x02, 0x69, 0x64, 0x22, 0x5f, 0x0a, + 0x1a, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x54, + 0x79, 0x70, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x41, 0x0a, 0x0a, 0x53, + 0x74, 0x72, 0x75, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1b, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, + 0x73, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x42, 0x04, 0xc8, 0xde, + 0x1f, 0x00, 0x52, 0x0a, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x22, 0x63, + 0x0a, 0x19, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, + 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x46, 0x0a, 0x0a, 0x70, + 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x22, 0x98, 0x01, 0x0a, 0x16, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, - 0x50, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, - 0x0a, 0x06, 0x50, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, - 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, - 0x2e, 0x50, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x06, 0x50, - 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x12, 0x47, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x22, 0xa8, 0x01, 0x0a, 0x1a, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, + 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x41, 0x0a, 0x0a, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, + 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, + 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x54, + 0x79, 0x70, 0x65, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x0a, 0x53, 0x74, 0x72, 0x75, 0x63, + 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x47, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x62, - 0x0a, 0x1e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x50, 0x6c, 0x61, 0x6e, 0x65, 0x74, - 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x49, 0x64, 0x12, 0x24, 0x0a, 0x0d, - 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x54, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x0d, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x54, 0x79, - 0x70, 0x65, 0x22, 0x3f, 0x0a, 0x1f, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x50, 0x6c, - 0x61, 0x6e, 0x65, 0x74, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, - 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, - 0x75, 0x74, 0x65, 0x22, 0x68, 0x0a, 0x1e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x50, - 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x46, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x63, 0x6f, 0x73, 0x6d, - 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, - 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xca, 0x01, - 0x0a, 0x1f, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x50, 0x6c, 0x61, 0x6e, 0x65, 0x74, - 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x5e, 0x0a, 0x16, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x41, 0x74, 0x74, 0x72, 0x69, - 0x62, 0x75, 0x74, 0x65, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x26, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, - 0x63, 0x74, 0x73, 0x2e, 0x50, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, - 0x75, 0x74, 0x65, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x16, 0x70, 0x6c, 0x61, 0x6e, 0x65, - 0x74, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, - 0x73, 0x12, 0x47, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, - 0x61, 0x73, 0x65, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, - 0x31, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x0a, - 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x27, 0x0a, 0x15, 0x51, 0x75, - 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x02, 0x69, 0x64, 0x22, 0xe4, 0x01, 0x0a, 0x16, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, - 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, - 0x0a, 0x06, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, + 0x73, 0x65, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x2b, + 0x0a, 0x19, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x53, 0x75, 0x62, 0x73, 0x74, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0xa8, 0x01, 0x0a, 0x1a, + 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x53, 0x75, 0x62, 0x73, 0x74, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x41, 0x0a, 0x0a, 0x53, 0x75, + 0x62, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, - 0x2e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x06, 0x50, - 0x6c, 0x61, 0x79, 0x65, 0x72, 0x12, 0x47, 0x0a, 0x0e, 0x67, 0x72, 0x69, 0x64, 0x41, 0x74, 0x74, - 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, - 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, - 0x47, 0x72, 0x69, 0x64, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x52, 0x0e, - 0x67, 0x72, 0x69, 0x64, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x12, 0x4a, - 0x0a, 0x0f, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, - 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, - 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, - 0x49, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x0f, 0x70, 0x6c, 0x61, 0x79, 0x65, - 0x72, 0x49, 0x6e, 0x76, 0x65, 0x6e, 0x74, 0x6f, 0x72, 0x79, 0x22, 0x5f, 0x0a, 0x15, 0x51, 0x75, - 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, + 0x2e, 0x53, 0x75, 0x62, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x04, 0xc8, 0xde, 0x1f, + 0x00, 0x52, 0x0a, 0x53, 0x75, 0x62, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x47, 0x0a, + 0x0e, 0x67, 0x72, 0x69, 0x64, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, + 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x47, 0x72, 0x69, 0x64, 0x41, 0x74, 0x74, 0x72, + 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x52, 0x0e, 0x67, 0x72, 0x69, 0x64, 0x41, 0x74, 0x74, 0x72, + 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x22, 0x63, 0x0a, 0x19, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, + 0x6c, 0x6c, 0x53, 0x75, 0x62, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x46, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, - 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x98, 0x01, 0x0a, 0x16, - 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x06, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, - 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, - 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x42, - 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x06, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x12, 0x47, 0x0a, + 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xa8, 0x01, 0x0a, 0x1a, + 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x53, 0x75, 0x62, 0x73, 0x74, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x41, 0x0a, 0x0a, 0x53, 0x75, + 0x62, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, + 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, + 0x2e, 0x53, 0x75, 0x62, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x04, 0xc8, 0xde, 0x1f, + 0x00, 0x52, 0x0a, 0x53, 0x75, 0x62, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x47, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, - 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x28, 0x0a, 0x16, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, - 0x65, 0x74, 0x52, 0x65, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, - 0x22, 0x9c, 0x01, 0x0a, 0x17, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x52, 0x65, 0x61, - 0x63, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x38, 0x0a, 0x07, - 0x52, 0x65, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, + 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x9d, 0x01, 0x0a, 0x1d, 0x51, 0x75, 0x65, 0x72, 0x79, + 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, + 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, + 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, + 0x73, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x20, 0x0a, 0x0b, + 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x50, 0x75, 0x62, 0x4b, 0x65, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0b, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x50, 0x75, 0x62, 0x4b, 0x65, 0x79, 0x12, 0x26, + 0x0a, 0x0e, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x53, 0x69, 0x67, + 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x22, 0xfa, 0x01, 0x0a, 0x1e, 0x51, 0x75, 0x65, 0x72, 0x79, + 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, + 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2c, 0x0a, 0x11, 0x70, 0x75, 0x62, + 0x6b, 0x65, 0x79, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x70, 0x75, 0x62, 0x6b, 0x65, 0x79, 0x46, 0x6f, 0x72, 0x6d, + 0x61, 0x74, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x32, 0x0a, 0x14, 0x73, 0x69, 0x67, 0x6e, 0x61, + 0x74, 0x75, 0x72, 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x14, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, + 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x34, 0x0a, 0x15, 0x61, + 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x50, 0x75, 0x62, 0x6b, 0x65, 0x79, 0x4d, 0x69, 0x73, 0x6d, + 0x61, 0x74, 0x63, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x15, 0x61, 0x64, 0x64, 0x72, + 0x65, 0x73, 0x73, 0x50, 0x75, 0x62, 0x6b, 0x65, 0x79, 0x4d, 0x69, 0x73, 0x6d, 0x61, 0x74, 0x63, + 0x68, 0x12, 0x2a, 0x0a, 0x10, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x49, 0x6e, + 0x76, 0x61, 0x6c, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x73, 0x69, 0x67, + 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x12, 0x14, 0x0a, + 0x05, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x76, 0x61, + 0x6c, 0x69, 0x64, 0x32, 0xb9, 0x40, 0x0a, 0x05, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x74, 0x0a, + 0x0e, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, + 0x21, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, + 0x73, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, + 0x68, 0x74, 0x1a, 0x29, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, + 0x75, 0x63, 0x74, 0x73, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, + 0x65, 0x69, 0x67, 0x68, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x14, 0x82, + 0xd3, 0xe4, 0x93, 0x02, 0x0e, 0x12, 0x0c, 0x2f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x68, 0x65, 0x69, + 0x67, 0x68, 0x74, 0x12, 0x74, 0x0a, 0x06, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x23, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, - 0x52, 0x65, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x07, 0x52, - 0x65, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x12, 0x47, 0x0a, 0x0e, 0x67, 0x72, 0x69, 0x64, 0x41, 0x74, - 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, - 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, - 0x2e, 0x47, 0x72, 0x69, 0x64, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x52, - 0x0e, 0x67, 0x72, 0x69, 0x64, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x22, - 0x60, 0x0a, 0x16, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x52, 0x65, 0x61, 0x63, 0x74, - 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x46, 0x0a, 0x0a, 0x70, 0x61, 0x67, - 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, - 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x71, 0x75, 0x65, 0x72, - 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x22, 0x9c, 0x01, 0x0a, 0x17, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x52, 0x65, - 0x61, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x38, 0x0a, - 0x07, 0x52, 0x65, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, - 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, - 0x2e, 0x52, 0x65, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x07, - 0x52, 0x65, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x12, 0x47, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x63, 0x6f, - 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, - 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x22, 0x27, 0x0a, 0x15, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x53, 0x74, 0x72, 0x75, - 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x91, 0x02, 0x0a, 0x16, 0x51, 0x75, - 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x06, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, - 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x42, 0x04, 0xc8, - 0xde, 0x1f, 0x00, 0x52, 0x06, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x12, 0x4d, 0x0a, 0x10, 0x73, - 0x74, 0x72, 0x75, 0x63, 0x74, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, - 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x41, 0x74, - 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x52, 0x10, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, - 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x12, 0x47, 0x0a, 0x0e, 0x67, 0x72, - 0x69, 0x64, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, - 0x75, 0x63, 0x74, 0x73, 0x2e, 0x47, 0x72, 0x69, 0x64, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, - 0x74, 0x65, 0x73, 0x52, 0x0e, 0x67, 0x72, 0x69, 0x64, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, - 0x74, 0x65, 0x73, 0x12, 0x28, 0x0a, 0x0f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x44, 0x65, 0x66, - 0x65, 0x6e, 0x64, 0x65, 0x72, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0f, 0x73, 0x74, - 0x72, 0x75, 0x63, 0x74, 0x44, 0x65, 0x66, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x73, 0x22, 0x5f, 0x0a, - 0x15, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x46, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x63, 0x6f, 0x73, - 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, - 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x98, - 0x01, 0x0a, 0x16, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x53, 0x74, 0x72, 0x75, 0x63, - 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x06, 0x53, 0x74, 0x72, - 0x75, 0x63, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x73, 0x74, 0x72, 0x75, - 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x53, 0x74, 0x72, 0x75, - 0x63, 0x74, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x06, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, - 0x12, 0x47, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, - 0x73, 0x65, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, - 0x2e, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x0a, 0x70, - 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x62, 0x0a, 0x1e, 0x51, 0x75, 0x65, - 0x72, 0x79, 0x47, 0x65, 0x74, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x41, 0x74, 0x74, 0x72, 0x69, - 0x62, 0x75, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x73, - 0x74, 0x72, 0x75, 0x63, 0x74, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, - 0x74, 0x72, 0x75, 0x63, 0x74, 0x49, 0x64, 0x12, 0x24, 0x0a, 0x0d, 0x61, 0x74, 0x74, 0x72, 0x69, - 0x62, 0x75, 0x74, 0x65, 0x54, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, - 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x54, 0x79, 0x70, 0x65, 0x22, 0x3f, 0x0a, - 0x1f, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x41, - 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x04, 0x52, 0x09, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x22, 0x68, - 0x0a, 0x1e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, - 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x12, 0x46, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, - 0x73, 0x65, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, - 0x2e, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x0a, 0x70, 0x61, - 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xca, 0x01, 0x0a, 0x1f, 0x51, 0x75, 0x65, - 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x41, 0x74, 0x74, 0x72, 0x69, - 0x62, 0x75, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5e, 0x0a, 0x16, - 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x52, - 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x73, - 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x53, - 0x74, 0x72, 0x75, 0x63, 0x74, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x52, 0x65, - 0x63, 0x6f, 0x72, 0x64, 0x52, 0x16, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x41, 0x74, 0x74, 0x72, - 0x69, 0x62, 0x75, 0x74, 0x65, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x12, 0x47, 0x0a, 0x0a, - 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x27, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x71, - 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x67, - 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x2b, 0x0a, 0x19, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, - 0x74, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x02, - 0x69, 0x64, 0x22, 0x5f, 0x0a, 0x1a, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x53, 0x74, - 0x72, 0x75, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x41, 0x0a, 0x0a, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, - 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x54, 0x79, 0x70, - 0x65, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x0a, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x54, - 0x79, 0x70, 0x65, 0x22, 0x63, 0x0a, 0x19, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x53, - 0x74, 0x72, 0x75, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x12, 0x46, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, - 0x73, 0x65, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, - 0x2e, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x0a, 0x70, 0x61, - 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xa8, 0x01, 0x0a, 0x1a, 0x51, 0x75, 0x65, - 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x41, 0x0a, 0x0a, 0x53, 0x74, 0x72, 0x75, 0x63, - 0x74, 0x54, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x73, 0x74, - 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x53, 0x74, - 0x72, 0x75, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x0a, - 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x47, 0x0a, 0x0a, 0x70, 0x61, - 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, - 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x71, 0x75, 0x65, - 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x22, 0x2b, 0x0a, 0x19, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x53, - 0x75, 0x62, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, - 0x22, 0xa8, 0x01, 0x0a, 0x1a, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x53, 0x75, 0x62, - 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x41, 0x0a, 0x0a, 0x53, 0x75, 0x62, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, - 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x53, 0x75, 0x62, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x0a, 0x53, 0x75, 0x62, 0x73, 0x74, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x12, 0x47, 0x0a, 0x0e, 0x67, 0x72, 0x69, 0x64, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, - 0x75, 0x74, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x73, 0x74, 0x72, - 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x47, 0x72, 0x69, - 0x64, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x52, 0x0e, 0x67, 0x72, 0x69, - 0x64, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x22, 0x63, 0x0a, 0x19, 0x51, - 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x53, 0x75, 0x62, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x46, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, - 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x63, - 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, - 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x22, 0xa8, 0x01, 0x0a, 0x1a, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x53, 0x75, 0x62, - 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x41, 0x0a, 0x0a, 0x53, 0x75, 0x62, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, - 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x53, 0x75, 0x62, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x0a, 0x53, 0x75, 0x62, 0x73, 0x74, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x12, 0x47, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, - 0x62, 0x61, 0x73, 0x65, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, - 0x61, 0x31, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, - 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x9d, 0x01, 0x0a, 0x1d, - 0x51, 0x75, 0x65, 0x72, 0x79, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x53, 0x69, 0x67, - 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, - 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, - 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, - 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, - 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x50, 0x75, 0x62, 0x4b, 0x65, 0x79, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x50, 0x75, 0x62, - 0x4b, 0x65, 0x79, 0x12, 0x26, 0x0a, 0x0e, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x53, 0x69, 0x67, 0x6e, - 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x70, 0x72, 0x6f, - 0x6f, 0x66, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x22, 0xfa, 0x01, 0x0a, 0x1e, - 0x51, 0x75, 0x65, 0x72, 0x79, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x53, 0x69, 0x67, - 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2c, - 0x0a, 0x11, 0x70, 0x75, 0x62, 0x6b, 0x65, 0x79, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x45, 0x72, - 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x70, 0x75, 0x62, 0x6b, 0x65, - 0x79, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x32, 0x0a, 0x14, - 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x45, - 0x72, 0x72, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x14, 0x73, 0x69, 0x67, 0x6e, - 0x61, 0x74, 0x75, 0x72, 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x45, 0x72, 0x72, 0x6f, 0x72, - 0x12, 0x34, 0x0a, 0x15, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x50, 0x75, 0x62, 0x6b, 0x65, - 0x79, 0x4d, 0x69, 0x73, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, - 0x15, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x50, 0x75, 0x62, 0x6b, 0x65, 0x79, 0x4d, 0x69, - 0x73, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x12, 0x2a, 0x0a, 0x10, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, - 0x75, 0x72, 0x65, 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, - 0x52, 0x10, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x49, 0x6e, 0x76, 0x61, 0x6c, - 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, - 0x08, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x32, 0xb4, 0x30, 0x0a, 0x05, 0x51, 0x75, 0x65, - 0x72, 0x79, 0x12, 0x74, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, - 0x69, 0x67, 0x68, 0x74, 0x12, 0x21, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, - 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x42, 0x6c, 0x6f, 0x63, - 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x1a, 0x29, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, - 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x42, - 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x14, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x0e, 0x12, 0x0c, 0x2f, 0x62, 0x6c, 0x6f, - 0x63, 0x6b, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x74, 0x0a, 0x06, 0x50, 0x61, 0x72, 0x61, - 0x6d, 0x73, 0x12, 0x23, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, + 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, - 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, - 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1f, 0x82, - 0xd3, 0xe4, 0x93, 0x02, 0x19, 0x12, 0x17, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, - 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x7d, - 0x0a, 0x07, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x27, 0x2e, 0x73, 0x74, 0x72, 0x75, - 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x51, 0x75, 0x65, 0x72, - 0x79, 0x47, 0x65, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, - 0x75, 0x63, 0x74, 0x73, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, - 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x22, 0x82, 0xd3, 0xe4, 0x93, 0x02, - 0x1c, 0x12, 0x1a, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x61, 0x64, 0x64, 0x72, - 0x65, 0x73, 0x73, 0x2f, 0x7b, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x7d, 0x12, 0x79, 0x0a, - 0x0a, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x41, 0x6c, 0x6c, 0x12, 0x27, 0x2e, 0x73, 0x74, - 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x51, 0x75, - 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, - 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x41, - 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x18, - 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x12, 0x12, 0x10, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, - 0x2f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x9e, 0x01, 0x0a, 0x12, 0x41, 0x64, 0x64, - 0x72, 0x65, 0x73, 0x73, 0x41, 0x6c, 0x6c, 0x42, 0x79, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x12, - 0x2f, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, - 0x73, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, - 0x73, 0x42, 0x79, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x28, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, - 0x74, 0x73, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x41, 0x64, 0x64, 0x72, 0x65, - 0x73, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2d, 0x82, 0xd3, 0xe4, 0x93, - 0x02, 0x27, 0x12, 0x25, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x61, 0x64, 0x64, - 0x72, 0x65, 0x73, 0x73, 0x5f, 0x62, 0x79, 0x5f, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x2f, 0x7b, - 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, 0x7d, 0x12, 0x87, 0x01, 0x0a, 0x0a, 0x41, 0x6c, - 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2a, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, - 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, - 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1f, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x19, + 0x12, 0x17, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, + 0x74, 0x73, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x7d, 0x0a, 0x07, 0x41, 0x64, 0x64, + 0x72, 0x65, 0x73, 0x73, 0x12, 0x27, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x41, - 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x20, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1a, 0x12, 0x18, 0x2f, 0x73, 0x74, 0x72, 0x75, - 0x63, 0x74, 0x73, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x7b, - 0x69, 0x64, 0x7d, 0x12, 0x85, 0x01, 0x0a, 0x0d, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x41, 0x6c, 0x6c, 0x12, 0x2a, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, - 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, - 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x2b, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, - 0x63, 0x74, 0x73, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x41, 0x6c, 0x6c, 0x6f, - 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1b, - 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x15, 0x12, 0x13, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, - 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0xaa, 0x01, 0x0a, 0x15, - 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x6c, 0x6c, 0x42, 0x79, 0x53, - 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x32, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, - 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, - 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x79, 0x53, 0x6f, 0x75, 0x72, - 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x73, 0x74, 0x72, 0x75, - 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x51, 0x75, 0x65, 0x72, - 0x79, 0x41, 0x6c, 0x6c, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x30, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2a, 0x12, 0x28, - 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x5f, 0x62, 0x79, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2f, 0x7b, 0x73, - 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x64, 0x7d, 0x12, 0xbe, 0x01, 0x0a, 0x1a, 0x41, 0x6c, 0x6c, - 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x6c, 0x6c, 0x42, 0x79, 0x44, 0x65, 0x73, 0x74, - 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x37, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, - 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, - 0x6c, 0x6c, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x79, 0x44, 0x65, - 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x2b, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, - 0x74, 0x73, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x41, 0x6c, 0x6c, 0x6f, 0x63, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3a, 0x82, - 0xd3, 0xe4, 0x93, 0x02, 0x34, 0x12, 0x32, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, - 0x61, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x62, 0x79, 0x5f, 0x64, 0x65, - 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x7b, 0x64, 0x65, 0x73, 0x74, 0x69, - 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x7d, 0x12, 0x73, 0x0a, 0x05, 0x46, 0x6c, 0x65, - 0x65, 0x74, 0x12, 0x25, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, - 0x75, 0x63, 0x74, 0x73, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x46, 0x6c, 0x65, - 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x73, 0x74, 0x72, 0x75, - 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x51, 0x75, 0x65, 0x72, - 0x79, 0x47, 0x65, 0x74, 0x46, 0x6c, 0x65, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x1b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x15, 0x12, 0x13, 0x2f, 0x73, 0x74, 0x72, 0x75, - 0x63, 0x74, 0x73, 0x2f, 0x66, 0x6c, 0x65, 0x65, 0x74, 0x2f, 0x7b, 0x69, 0x64, 0x7d, 0x12, 0x8d, - 0x01, 0x0a, 0x0c, 0x46, 0x6c, 0x65, 0x65, 0x74, 0x42, 0x79, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, - 0x2c, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, - 0x73, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x46, 0x6c, 0x65, 0x65, 0x74, 0x42, - 0x79, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, + 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, - 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x46, 0x6c, 0x65, 0x65, 0x74, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x27, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x21, 0x12, 0x1f, 0x2f, - 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x66, 0x6c, 0x65, 0x65, 0x74, 0x5f, 0x62, 0x79, - 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x2f, 0x7b, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x7d, 0x12, 0x71, - 0x0a, 0x08, 0x46, 0x6c, 0x65, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x12, 0x25, 0x2e, 0x73, 0x74, 0x72, - 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x51, 0x75, 0x65, - 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x46, 0x6c, 0x65, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x26, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, - 0x63, 0x74, 0x73, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x46, 0x6c, 0x65, 0x65, - 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x16, 0x82, 0xd3, 0xe4, 0x93, 0x02, - 0x10, 0x12, 0x0e, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x66, 0x6c, 0x65, 0x65, - 0x74, 0x12, 0x78, 0x0a, 0x04, 0x47, 0x72, 0x69, 0x64, 0x12, 0x24, 0x2e, 0x73, 0x74, 0x72, 0x75, - 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x51, 0x75, 0x65, 0x72, - 0x79, 0x47, 0x65, 0x74, 0x47, 0x72, 0x69, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x25, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, - 0x73, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x47, 0x72, 0x69, 0x64, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x23, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1d, 0x12, 0x1b, - 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x67, 0x72, 0x69, 0x64, 0x2f, 0x7b, 0x61, - 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x49, 0x64, 0x7d, 0x12, 0x6d, 0x0a, 0x07, 0x47, - 0x72, 0x69, 0x64, 0x41, 0x6c, 0x6c, 0x12, 0x24, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, + 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x22, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1c, 0x12, 0x1a, 0x2f, 0x73, + 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x2f, 0x7b, + 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x7d, 0x12, 0x79, 0x0a, 0x0a, 0x41, 0x64, 0x64, 0x72, + 0x65, 0x73, 0x73, 0x41, 0x6c, 0x6c, 0x12, 0x27, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, - 0x6c, 0x47, 0x72, 0x69, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x73, - 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x51, - 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x47, 0x72, 0x69, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x15, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x0f, 0x12, 0x0d, 0x2f, 0x73, 0x74, - 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x67, 0x72, 0x69, 0x64, 0x12, 0x73, 0x0a, 0x05, 0x47, 0x75, - 0x69, 0x6c, 0x64, 0x12, 0x25, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, - 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x47, 0x75, - 0x69, 0x6c, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x73, 0x74, 0x72, + 0x6c, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x28, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, + 0x73, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, + 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x18, 0x82, 0xd3, 0xe4, 0x93, 0x02, + 0x12, 0x12, 0x10, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x61, 0x64, 0x64, 0x72, + 0x65, 0x73, 0x73, 0x12, 0x9e, 0x01, 0x0a, 0x12, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x41, + 0x6c, 0x6c, 0x42, 0x79, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x12, 0x2f, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x51, 0x75, 0x65, - 0x72, 0x79, 0x47, 0x65, 0x74, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x1b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x15, 0x12, 0x13, 0x2f, 0x73, 0x74, 0x72, - 0x75, 0x63, 0x74, 0x73, 0x2f, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x2f, 0x7b, 0x69, 0x64, 0x7d, 0x12, - 0x71, 0x0a, 0x08, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x41, 0x6c, 0x6c, 0x12, 0x25, 0x2e, 0x73, 0x74, + 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x42, 0x79, 0x50, 0x6c, + 0x61, 0x79, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x51, 0x75, - 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, - 0x75, 0x63, 0x74, 0x73, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x47, 0x75, 0x69, - 0x6c, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x16, 0x82, 0xd3, 0xe4, 0x93, - 0x02, 0x10, 0x12, 0x0e, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x67, 0x75, 0x69, - 0x6c, 0x64, 0x12, 0xd9, 0x01, 0x0a, 0x1a, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x6d, 0x62, - 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x12, 0x3a, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, - 0x63, 0x74, 0x73, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x47, 0x75, 0x69, 0x6c, - 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x41, 0x70, 0x70, 0x6c, 0x69, - 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3b, 0x2e, + 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2d, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x27, 0x12, 0x25, 0x2f, + 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x5f, + 0x62, 0x79, 0x5f, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x2f, 0x7b, 0x70, 0x6c, 0x61, 0x79, 0x65, + 0x72, 0x49, 0x64, 0x7d, 0x12, 0x83, 0x01, 0x0a, 0x09, 0x41, 0x67, 0x72, 0x65, 0x65, 0x6d, 0x65, + 0x6e, 0x74, 0x12, 0x29, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, + 0x75, 0x63, 0x74, 0x73, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x41, 0x67, 0x72, + 0x65, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, - 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x6d, - 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x42, 0x82, 0xd3, 0xe4, 0x93, - 0x02, 0x3c, 0x12, 0x3a, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x67, 0x75, 0x69, - 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x5f, 0x61, 0x70, - 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x7b, 0x67, 0x75, 0x69, 0x6c, 0x64, - 0x49, 0x64, 0x7d, 0x2f, 0x7b, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, 0x7d, 0x12, 0xc7, - 0x01, 0x0a, 0x1d, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, - 0x69, 0x70, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x6c, 0x6c, - 0x12, 0x3a, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, - 0x74, 0x73, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x47, 0x75, 0x69, 0x6c, 0x64, - 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3b, 0x2e, 0x73, - 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x51, - 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x6d, 0x62, - 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2d, 0x82, 0xd3, 0xe4, 0x93, 0x02, - 0x27, 0x12, 0x25, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x67, 0x75, 0x69, 0x6c, - 0x64, 0x5f, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x5f, 0x61, 0x70, 0x70, - 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x94, 0x01, 0x0a, 0x08, 0x49, 0x6e, 0x66, - 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x28, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, - 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, - 0x49, 0x6e, 0x66, 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x29, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, - 0x73, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x75, 0x73, 0x69, - 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x33, 0x82, 0xd3, 0xe4, 0x93, - 0x02, 0x2d, 0x12, 0x2b, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x69, 0x6e, 0x66, - 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x2f, 0x7b, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x49, 0x64, 0x7d, 0x2f, 0x7b, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x7d, 0x12, - 0x7d, 0x0a, 0x0b, 0x49, 0x6e, 0x66, 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x41, 0x6c, 0x6c, 0x12, 0x28, - 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, - 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x75, 0x73, 0x69, 0x6f, - 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, - 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, - 0x41, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x19, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x13, 0x12, 0x11, 0x2f, 0x73, 0x74, - 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x69, 0x6e, 0x66, 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0xb6, - 0x01, 0x0a, 0x18, 0x49, 0x6e, 0x66, 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x41, 0x6c, 0x6c, 0x42, 0x79, - 0x44, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x35, 0x2e, 0x73, 0x74, + 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x41, 0x67, 0x72, 0x65, 0x65, 0x6d, 0x65, 0x6e, + 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1f, 0x82, 0xd3, 0xe4, 0x93, 0x02, + 0x19, 0x12, 0x17, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x61, 0x67, 0x72, 0x65, + 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2f, 0x7b, 0x69, 0x64, 0x7d, 0x12, 0x81, 0x01, 0x0a, 0x0c, 0x41, + 0x67, 0x72, 0x65, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x12, 0x29, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x51, 0x75, - 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x79, - 0x44, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, - 0x75, 0x63, 0x74, 0x73, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x49, 0x6e, 0x66, - 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x38, 0x82, - 0xd3, 0xe4, 0x93, 0x02, 0x32, 0x12, 0x30, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, - 0x69, 0x6e, 0x66, 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x62, 0x79, 0x5f, 0x64, 0x65, 0x73, 0x74, - 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x7b, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x7d, 0x12, 0x91, 0x01, 0x0a, 0x0a, 0x50, 0x65, 0x72, 0x6d, - 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2a, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, - 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, - 0x74, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, - 0x75, 0x63, 0x74, 0x73, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x50, 0x65, 0x72, - 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x2a, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x24, 0x12, 0x22, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, - 0x73, 0x2f, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2f, 0x7b, 0x70, 0x65, - 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x7d, 0x12, 0xa4, 0x01, 0x0a, 0x12, - 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x79, 0x4f, 0x62, 0x6a, 0x65, - 0x63, 0x74, 0x12, 0x32, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, - 0x75, 0x63, 0x74, 0x73, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x50, 0x65, 0x72, - 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x79, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, + 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x41, 0x67, 0x72, 0x65, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, - 0x6c, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x2d, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x27, 0x12, 0x25, 0x2f, 0x73, 0x74, - 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, - 0x2f, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x2f, 0x7b, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x49, - 0x64, 0x7d, 0x12, 0xa4, 0x01, 0x0a, 0x12, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, - 0x6e, 0x42, 0x79, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x12, 0x32, 0x2e, 0x73, 0x74, 0x72, 0x75, + 0x6c, 0x41, 0x67, 0x72, 0x65, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x1a, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x14, 0x12, 0x12, 0x2f, 0x73, 0x74, 0x72, + 0x75, 0x63, 0x74, 0x73, 0x2f, 0x61, 0x67, 0x72, 0x65, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0xae, + 0x01, 0x0a, 0x16, 0x41, 0x67, 0x72, 0x65, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x42, + 0x79, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x12, 0x33, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x51, 0x75, 0x65, 0x72, - 0x79, 0x41, 0x6c, 0x6c, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x79, - 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, - 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, - 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, - 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2d, 0x82, 0xd3, 0xe4, 0x93, - 0x02, 0x27, 0x12, 0x25, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x70, 0x65, 0x72, - 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2f, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x2f, 0x7b, - 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, 0x7d, 0x12, 0x85, 0x01, 0x0a, 0x0d, 0x50, 0x65, - 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x41, 0x6c, 0x6c, 0x12, 0x2a, 0x2e, 0x73, 0x74, + 0x79, 0x41, 0x6c, 0x6c, 0x41, 0x67, 0x72, 0x65, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x42, 0x79, 0x50, + 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, + 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, + 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x41, 0x67, 0x72, 0x65, 0x65, 0x6d, 0x65, + 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x33, 0x82, 0xd3, 0xe4, 0x93, + 0x02, 0x2d, 0x12, 0x2b, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x61, 0x67, 0x72, + 0x65, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x62, 0x79, 0x5f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, + 0x65, 0x72, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x64, 0x7d, 0x12, + 0x87, 0x01, 0x0a, 0x0a, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2a, + 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, + 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x73, 0x74, 0x72, + 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x51, 0x75, 0x65, + 0x72, 0x79, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x20, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1a, 0x12, + 0x18, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x7b, 0x69, 0x64, 0x7d, 0x12, 0x85, 0x01, 0x0a, 0x0d, 0x41, 0x6c, + 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x6c, 0x6c, 0x12, 0x2a, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x51, 0x75, - 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, + 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, - 0x6c, 0x6c, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, + 0x6c, 0x6c, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x15, 0x12, 0x13, 0x2f, 0x73, - 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, - 0x6e, 0x12, 0x77, 0x0a, 0x06, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x12, 0x26, 0x2e, 0x73, 0x74, + 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x12, 0xaa, 0x01, 0x0a, 0x15, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x41, 0x6c, 0x6c, 0x42, 0x79, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x32, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x51, 0x75, - 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, - 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x50, 0x6c, - 0x61, 0x79, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1c, 0x82, 0xd3, - 0xe4, 0x93, 0x02, 0x16, 0x12, 0x14, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x70, - 0x6c, 0x61, 0x79, 0x65, 0x72, 0x2f, 0x7b, 0x69, 0x64, 0x7d, 0x12, 0x75, 0x0a, 0x09, 0x50, 0x6c, - 0x61, 0x79, 0x65, 0x72, 0x41, 0x6c, 0x6c, 0x12, 0x26, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, + 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x42, 0x79, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x2b, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, + 0x73, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x30, 0x82, 0xd3, + 0xe4, 0x93, 0x02, 0x2a, 0x12, 0x28, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x61, + 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x62, 0x79, 0x5f, 0x73, 0x6f, 0x75, + 0x72, 0x63, 0x65, 0x2f, 0x7b, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x64, 0x7d, 0x12, 0xbe, + 0x01, 0x0a, 0x1a, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x6c, 0x6c, + 0x42, 0x79, 0x44, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x37, 0x2e, + 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, + 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x42, 0x79, 0x44, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, + 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, + 0x6c, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x3a, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x34, 0x12, 0x32, 0x2f, 0x73, 0x74, + 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x61, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x5f, 0x62, 0x79, 0x5f, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, + 0x7b, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x7d, 0x12, + 0x73, 0x0a, 0x05, 0x46, 0x6c, 0x65, 0x65, 0x74, 0x12, 0x25, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, + 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, + 0x47, 0x65, 0x74, 0x46, 0x6c, 0x65, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x26, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, + 0x73, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x46, 0x6c, 0x65, 0x65, 0x74, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x15, 0x12, + 0x13, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x66, 0x6c, 0x65, 0x65, 0x74, 0x2f, + 0x7b, 0x69, 0x64, 0x7d, 0x12, 0x8d, 0x01, 0x0a, 0x0c, 0x46, 0x6c, 0x65, 0x65, 0x74, 0x42, 0x79, + 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x2c, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, + 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, + 0x46, 0x6c, 0x65, 0x65, 0x74, 0x42, 0x79, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, + 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x46, 0x6c, + 0x65, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x27, 0x82, 0xd3, 0xe4, + 0x93, 0x02, 0x21, 0x12, 0x1f, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x66, 0x6c, + 0x65, 0x65, 0x74, 0x5f, 0x62, 0x79, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x2f, 0x7b, 0x69, 0x6e, + 0x64, 0x65, 0x78, 0x7d, 0x12, 0x71, 0x0a, 0x08, 0x46, 0x6c, 0x65, 0x65, 0x74, 0x41, 0x6c, 0x6c, + 0x12, 0x25, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, + 0x74, 0x73, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x46, 0x6c, 0x65, 0x65, 0x74, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, - 0x6c, 0x6c, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x27, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, - 0x73, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x17, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x11, - 0x12, 0x0f, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x70, 0x6c, 0x61, 0x79, 0x65, - 0x72, 0x12, 0x77, 0x0a, 0x06, 0x50, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x12, 0x26, 0x2e, 0x73, 0x74, + 0x6c, 0x6c, 0x46, 0x6c, 0x65, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x16, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x10, 0x12, 0x0e, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, + 0x73, 0x2f, 0x66, 0x6c, 0x65, 0x65, 0x74, 0x12, 0x78, 0x0a, 0x04, 0x47, 0x72, 0x69, 0x64, 0x12, + 0x24, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, + 0x73, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x47, 0x72, 0x69, 0x64, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, + 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, + 0x47, 0x72, 0x69, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x23, 0x82, 0xd3, + 0xe4, 0x93, 0x02, 0x1d, 0x12, 0x1b, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x67, + 0x72, 0x69, 0x64, 0x2f, 0x7b, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x49, 0x64, + 0x7d, 0x12, 0x6d, 0x0a, 0x07, 0x47, 0x72, 0x69, 0x64, 0x41, 0x6c, 0x6c, 0x12, 0x24, 0x2e, 0x73, + 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x51, + 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x47, 0x72, 0x69, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, + 0x75, 0x63, 0x74, 0x73, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x47, 0x72, 0x69, + 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x15, 0x82, 0xd3, 0xe4, 0x93, 0x02, + 0x0f, 0x12, 0x0d, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x67, 0x72, 0x69, 0x64, + 0x12, 0x73, 0x0a, 0x05, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x12, 0x25, 0x2e, 0x73, 0x74, 0x72, 0x75, + 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x51, 0x75, 0x65, 0x72, + 0x79, 0x47, 0x65, 0x74, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x26, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, + 0x74, 0x73, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x47, 0x75, 0x69, 0x6c, 0x64, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x15, + 0x12, 0x13, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x67, 0x75, 0x69, 0x6c, 0x64, + 0x2f, 0x7b, 0x69, 0x64, 0x7d, 0x12, 0x71, 0x0a, 0x08, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x41, 0x6c, + 0x6c, 0x12, 0x25, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, + 0x63, 0x74, 0x73, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x47, 0x75, 0x69, 0x6c, + 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, + 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, + 0x41, 0x6c, 0x6c, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x16, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x10, 0x12, 0x0e, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, + 0x74, 0x73, 0x2f, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x12, 0xcf, 0x01, 0x0a, 0x1a, 0x47, 0x75, 0x69, + 0x6c, 0x64, 0x42, 0x61, 0x6e, 0x6b, 0x43, 0x6f, 0x6c, 0x6c, 0x61, 0x74, 0x65, 0x72, 0x61, 0x6c, + 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x3a, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, + 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, + 0x65, 0x74, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x42, 0x61, 0x6e, 0x6b, 0x43, 0x6f, 0x6c, 0x6c, 0x61, + 0x74, 0x65, 0x72, 0x61, 0x6c, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x3b, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, + 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x47, 0x75, + 0x69, 0x6c, 0x64, 0x42, 0x61, 0x6e, 0x6b, 0x43, 0x6f, 0x6c, 0x6c, 0x61, 0x74, 0x65, 0x72, 0x61, + 0x6c, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x38, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x32, 0x12, 0x30, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, + 0x74, 0x73, 0x2f, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x62, 0x61, 0x6e, 0x6b, 0x5f, 0x63, 0x6f, + 0x6c, 0x6c, 0x61, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, + 0x2f, 0x7b, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x7d, 0x12, 0xc8, 0x01, 0x0a, 0x1d, 0x47, + 0x75, 0x69, 0x6c, 0x64, 0x42, 0x61, 0x6e, 0x6b, 0x43, 0x6f, 0x6c, 0x6c, 0x61, 0x74, 0x65, 0x72, + 0x61, 0x6c, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x41, 0x6c, 0x6c, 0x12, 0x3a, 0x2e, 0x73, + 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x51, + 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x42, 0x61, 0x6e, 0x6b, + 0x43, 0x6f, 0x6c, 0x6c, 0x61, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, + 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3b, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, + 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, + 0x41, 0x6c, 0x6c, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x42, 0x61, 0x6e, 0x6b, 0x43, 0x6f, 0x6c, 0x6c, + 0x61, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x28, 0x12, 0x26, 0x2f, + 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x62, 0x61, + 0x6e, 0x6b, 0x5f, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x5f, 0x61, 0x64, + 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0xd9, 0x01, 0x0a, 0x1a, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x4d, + 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3a, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, + 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x47, + 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x41, 0x70, + 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x3b, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, + 0x74, 0x73, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x47, 0x75, 0x69, 0x6c, 0x64, + 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x42, 0x82, + 0xd3, 0xe4, 0x93, 0x02, 0x3c, 0x12, 0x3a, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, + 0x67, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, + 0x5f, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x7b, 0x67, 0x75, + 0x69, 0x6c, 0x64, 0x49, 0x64, 0x7d, 0x2f, 0x7b, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, + 0x7d, 0x12, 0xc7, 0x01, 0x0a, 0x1d, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, + 0x72, 0x73, 0x68, 0x69, 0x70, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x41, 0x6c, 0x6c, 0x12, 0x3a, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, + 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x47, 0x75, + 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x41, 0x70, 0x70, + 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x3b, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, + 0x73, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x4d, + 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2d, 0x82, 0xd3, + 0xe4, 0x93, 0x02, 0x27, 0x12, 0x25, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x67, + 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x5f, + 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x94, 0x01, 0x0a, 0x08, + 0x49, 0x6e, 0x66, 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x28, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, + 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, + 0x47, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, + 0x75, 0x63, 0x74, 0x73, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x66, + 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x33, 0x82, + 0xd3, 0xe4, 0x93, 0x02, 0x2d, 0x12, 0x2b, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, + 0x69, 0x6e, 0x66, 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x2f, 0x7b, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x7d, 0x2f, 0x7b, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, + 0x73, 0x7d, 0x12, 0x7d, 0x0a, 0x0b, 0x49, 0x6e, 0x66, 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x41, 0x6c, + 0x6c, 0x12, 0x28, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, + 0x63, 0x74, 0x73, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x75, + 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x51, 0x75, - 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x50, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x19, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x13, 0x12, 0x11, + 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x69, 0x6e, 0x66, 0x75, 0x73, 0x69, 0x6f, + 0x6e, 0x12, 0xb6, 0x01, 0x0a, 0x18, 0x49, 0x6e, 0x66, 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x41, 0x6c, + 0x6c, 0x42, 0x79, 0x44, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x35, + 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, + 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x49, 0x6e, 0x66, 0x75, 0x73, 0x69, 0x6f, + 0x6e, 0x42, 0x79, 0x44, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, + 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, + 0x49, 0x6e, 0x66, 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x38, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x32, 0x12, 0x30, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, + 0x74, 0x73, 0x2f, 0x69, 0x6e, 0x66, 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x62, 0x79, 0x5f, 0x64, + 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x7b, 0x64, 0x65, 0x73, 0x74, + 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x7d, 0x12, 0x91, 0x01, 0x0a, 0x0a, 0x50, + 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2a, 0x2e, 0x73, 0x74, 0x72, 0x75, + 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x51, 0x75, 0x65, 0x72, + 0x79, 0x47, 0x65, 0x74, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, + 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, + 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x2a, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x24, 0x12, 0x22, 0x2f, 0x73, 0x74, 0x72, + 0x75, 0x63, 0x74, 0x73, 0x2f, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2f, + 0x7b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x7d, 0x12, 0xa4, + 0x01, 0x0a, 0x12, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x79, 0x4f, + 0x62, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x32, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, + 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, + 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x79, 0x4f, 0x62, 0x6a, 0x65, + 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x73, 0x74, 0x72, 0x75, + 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x51, 0x75, 0x65, 0x72, + 0x79, 0x41, 0x6c, 0x6c, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2d, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x27, 0x12, 0x25, + 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, + 0x69, 0x6f, 0x6e, 0x2f, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x2f, 0x7b, 0x6f, 0x62, 0x6a, 0x65, + 0x63, 0x74, 0x49, 0x64, 0x7d, 0x12, 0xa4, 0x01, 0x0a, 0x12, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, + 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x79, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x12, 0x32, 0x2e, 0x73, + 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x51, + 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, + 0x6e, 0x42, 0x79, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x2b, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, + 0x74, 0x73, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x50, 0x65, 0x72, 0x6d, 0x69, + 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2d, 0x82, + 0xd3, 0xe4, 0x93, 0x02, 0x27, 0x12, 0x25, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, + 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2f, 0x70, 0x6c, 0x61, 0x79, 0x65, + 0x72, 0x2f, 0x7b, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, 0x7d, 0x12, 0x85, 0x01, 0x0a, + 0x0d, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x41, 0x6c, 0x6c, 0x12, 0x2a, + 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, + 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, + 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x73, 0x74, 0x72, + 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x51, 0x75, 0x65, + 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x15, 0x12, + 0x13, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, + 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x77, 0x0a, 0x06, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x12, 0x26, + 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, + 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, + 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, + 0x74, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x1c, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x16, 0x12, 0x14, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, + 0x73, 0x2f, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x2f, 0x7b, 0x69, 0x64, 0x7d, 0x12, 0x75, 0x0a, + 0x09, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x41, 0x6c, 0x6c, 0x12, 0x26, 0x2e, 0x73, 0x74, 0x72, + 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x51, 0x75, 0x65, + 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, + 0x75, 0x63, 0x74, 0x73, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x50, 0x6c, 0x61, + 0x79, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x17, 0x82, 0xd3, 0xe4, + 0x93, 0x02, 0x11, 0x12, 0x0f, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x70, 0x6c, + 0x61, 0x79, 0x65, 0x72, 0x12, 0x8e, 0x01, 0x0a, 0x0f, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x48, + 0x61, 0x6c, 0x74, 0x65, 0x64, 0x41, 0x6c, 0x6c, 0x12, 0x2c, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, + 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, + 0x41, 0x6c, 0x6c, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x48, 0x61, 0x6c, 0x74, 0x65, 0x64, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, + 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, + 0x6c, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x48, 0x61, 0x6c, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x18, 0x12, 0x16, 0x2f, + 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x5f, 0x68, + 0x61, 0x6c, 0x74, 0x65, 0x64, 0x12, 0x77, 0x0a, 0x06, 0x50, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x12, + 0x26, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, + 0x73, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x50, 0x6c, 0x61, 0x6e, 0x65, 0x74, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, + 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, + 0x65, 0x74, 0x50, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x1c, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x16, 0x12, 0x14, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, + 0x74, 0x73, 0x2f, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x2f, 0x7b, 0x69, 0x64, 0x7d, 0x12, 0x75, + 0x0a, 0x09, 0x50, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x12, 0x26, 0x2e, 0x73, 0x74, + 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x51, 0x75, + 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x50, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, - 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x50, 0x6c, - 0x61, 0x6e, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1c, 0x82, 0xd3, - 0xe4, 0x93, 0x02, 0x16, 0x12, 0x14, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x70, - 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x2f, 0x7b, 0x69, 0x64, 0x7d, 0x12, 0x75, 0x0a, 0x09, 0x50, 0x6c, - 0x61, 0x6e, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x12, 0x26, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, - 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, - 0x6c, 0x6c, 0x50, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x27, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, + 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x50, 0x6c, + 0x61, 0x6e, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x17, 0x82, 0xd3, + 0xe4, 0x93, 0x02, 0x11, 0x12, 0x0f, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x70, + 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x12, 0x9a, 0x01, 0x0a, 0x11, 0x50, 0x6c, 0x61, 0x6e, 0x65, 0x74, + 0x41, 0x6c, 0x6c, 0x42, 0x79, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x12, 0x2e, 0x2e, 0x73, 0x74, + 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x51, 0x75, + 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x50, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x42, 0x79, 0x50, 0x6c, + 0x61, 0x79, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x73, 0x74, + 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x51, 0x75, + 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x50, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2c, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x26, 0x12, 0x24, 0x2f, 0x73, + 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x5f, 0x62, 0x79, + 0x5f, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x2f, 0x7b, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, + 0x64, 0x7d, 0x12, 0xb2, 0x01, 0x0a, 0x0f, 0x50, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x41, 0x74, 0x74, + 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x12, 0x2f, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, + 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, + 0x74, 0x50, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, + 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, + 0x65, 0x74, 0x50, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, + 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3c, 0x82, 0xd3, 0xe4, 0x93, 0x02, + 0x36, 0x12, 0x34, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x70, 0x6c, 0x61, 0x6e, + 0x65, 0x74, 0x5f, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x2f, 0x7b, 0x70, 0x6c, + 0x61, 0x6e, 0x65, 0x74, 0x49, 0x64, 0x7d, 0x2f, 0x7b, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, + 0x74, 0x65, 0x54, 0x79, 0x70, 0x65, 0x7d, 0x12, 0x9a, 0x01, 0x0a, 0x12, 0x50, 0x6c, 0x61, 0x6e, + 0x65, 0x74, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x41, 0x6c, 0x6c, 0x12, 0x2f, + 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, + 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x50, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x41, + 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x30, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x50, 0x6c, 0x61, 0x6e, 0x65, 0x74, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x17, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x11, - 0x12, 0x0f, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x70, 0x6c, 0x61, 0x6e, 0x65, - 0x74, 0x12, 0x9a, 0x01, 0x0a, 0x11, 0x50, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x42, - 0x79, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x12, 0x2e, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, - 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, - 0x6c, 0x6c, 0x50, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x42, 0x79, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, - 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, - 0x6c, 0x6c, 0x50, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x2c, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x26, 0x12, 0x24, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, - 0x74, 0x73, 0x2f, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x5f, 0x62, 0x79, 0x5f, 0x70, 0x6c, 0x61, - 0x79, 0x65, 0x72, 0x2f, 0x7b, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, 0x7d, 0x12, 0xb2, - 0x01, 0x0a, 0x0f, 0x50, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, - 0x74, 0x65, 0x12, 0x2f, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, - 0x75, 0x63, 0x74, 0x73, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x50, 0x6c, 0x61, - 0x6e, 0x65, 0x74, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, - 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x50, 0x6c, - 0x61, 0x6e, 0x65, 0x74, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3c, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x36, 0x12, 0x34, 0x2f, - 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x5f, 0x61, - 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x2f, 0x7b, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x74, - 0x49, 0x64, 0x7d, 0x2f, 0x7b, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x54, 0x79, - 0x70, 0x65, 0x7d, 0x12, 0x9a, 0x01, 0x0a, 0x12, 0x50, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x41, 0x74, - 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x41, 0x6c, 0x6c, 0x12, 0x2f, 0x2e, 0x73, 0x74, 0x72, + 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x21, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1b, 0x12, 0x19, 0x2f, 0x73, 0x74, 0x72, 0x75, + 0x63, 0x74, 0x73, 0x2f, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x5f, 0x61, 0x74, 0x74, 0x72, 0x69, + 0x62, 0x75, 0x74, 0x65, 0x12, 0x7f, 0x0a, 0x08, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, + 0x12, 0x28, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, + 0x74, 0x73, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x76, 0x69, + 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x51, 0x75, 0x65, - 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x50, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x41, 0x74, 0x74, 0x72, 0x69, - 0x62, 0x75, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x73, 0x74, - 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x51, 0x75, - 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x50, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x41, 0x74, 0x74, 0x72, - 0x69, 0x62, 0x75, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x21, 0x82, - 0xd3, 0xe4, 0x93, 0x02, 0x1b, 0x12, 0x19, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, - 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x5f, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, + 0x72, 0x79, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x18, 0x12, 0x16, 0x2f, + 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, + 0x2f, 0x7b, 0x69, 0x64, 0x7d, 0x12, 0x7d, 0x0a, 0x0b, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, + 0x72, 0x41, 0x6c, 0x6c, 0x12, 0x28, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, + 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x50, + 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, + 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, + 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, + 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x19, 0x82, 0xd3, 0xe4, 0x93, 0x02, + 0x13, 0x12, 0x11, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x76, + 0x69, 0x64, 0x65, 0x72, 0x12, 0xcd, 0x01, 0x0a, 0x19, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, + 0x72, 0x43, 0x6f, 0x6c, 0x6c, 0x61, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x41, 0x64, 0x64, 0x72, 0x65, + 0x73, 0x73, 0x12, 0x39, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, + 0x75, 0x63, 0x74, 0x73, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, + 0x76, 0x69, 0x64, 0x65, 0x72, 0x43, 0x6f, 0x6c, 0x6c, 0x61, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x41, + 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3a, 0x2e, + 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, + 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, + 0x43, 0x6f, 0x6c, 0x6c, 0x61, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, + 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x39, 0x82, 0xd3, 0xe4, 0x93, 0x02, + 0x33, 0x12, 0x31, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x76, + 0x69, 0x64, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x5f, + 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, + 0x72, 0x49, 0x64, 0x7d, 0x12, 0xc3, 0x01, 0x0a, 0x1c, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, + 0x72, 0x43, 0x6f, 0x6c, 0x6c, 0x61, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x41, 0x64, 0x64, 0x72, 0x65, + 0x73, 0x73, 0x41, 0x6c, 0x6c, 0x12, 0x39, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, + 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, + 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x43, 0x6f, 0x6c, 0x6c, 0x61, 0x74, 0x65, 0x72, + 0x61, 0x6c, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x3a, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, + 0x74, 0x73, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x50, 0x72, 0x6f, 0x76, 0x69, + 0x64, 0x65, 0x72, 0x43, 0x6f, 0x6c, 0x6c, 0x61, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x41, 0x64, 0x64, + 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2c, 0x82, 0xd3, + 0xe4, 0x93, 0x02, 0x26, 0x12, 0x24, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x70, + 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x74, 0x65, 0x72, + 0x61, 0x6c, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0xc5, 0x01, 0x0a, 0x17, 0x50, + 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x45, 0x61, 0x72, 0x6e, 0x69, 0x6e, 0x67, 0x73, 0x41, + 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x37, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, + 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, + 0x74, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x45, 0x61, 0x72, 0x6e, 0x69, 0x6e, 0x67, + 0x73, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x38, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, + 0x73, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, + 0x65, 0x72, 0x45, 0x61, 0x72, 0x6e, 0x69, 0x6e, 0x67, 0x73, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, + 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x37, 0x82, 0xd3, 0xe4, 0x93, 0x02, + 0x31, 0x12, 0x2f, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x76, + 0x69, 0x64, 0x65, 0x72, 0x5f, 0x65, 0x61, 0x72, 0x6e, 0x69, 0x6e, 0x67, 0x73, 0x5f, 0x61, 0x64, + 0x64, 0x72, 0x65, 0x73, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, + 0x64, 0x7d, 0x12, 0xbb, 0x01, 0x0a, 0x1a, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x45, + 0x61, 0x72, 0x6e, 0x69, 0x6e, 0x67, 0x73, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x41, 0x6c, + 0x6c, 0x12, 0x37, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, + 0x63, 0x74, 0x73, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x50, 0x72, 0x6f, 0x76, + 0x69, 0x64, 0x65, 0x72, 0x45, 0x61, 0x72, 0x6e, 0x69, 0x6e, 0x67, 0x73, 0x41, 0x64, 0x64, 0x72, + 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x38, 0x2e, 0x73, 0x74, 0x72, + 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x51, 0x75, 0x65, + 0x72, 0x79, 0x41, 0x6c, 0x6c, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x45, 0x61, 0x72, + 0x6e, 0x69, 0x6e, 0x67, 0x73, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2a, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x24, 0x12, 0x22, 0x2f, 0x73, + 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x5f, + 0x65, 0x61, 0x72, 0x6e, 0x69, 0x6e, 0x67, 0x73, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x7b, 0x0a, 0x07, 0x52, 0x65, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x12, 0x27, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x65, 0x74, 0x52, 0x65, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, @@ -42120,279 +54013,348 @@ func file_structs_structs_query_proto_rawDescGZIP() []byte { return file_structs_structs_query_proto_rawDescData } -var file_structs_structs_query_proto_msgTypes = make([]protoimpl.MessageInfo, 78) +var file_structs_structs_query_proto_msgTypes = make([]protoimpl.MessageInfo, 101) var file_structs_structs_query_proto_goTypes = []interface{}{ - (*QueryParamsRequest)(nil), // 0: structs.structs.QueryParamsRequest - (*QueryParamsResponse)(nil), // 1: structs.structs.QueryParamsResponse - (*QueryBlockHeight)(nil), // 2: structs.structs.QueryBlockHeight - (*QueryBlockHeightResponse)(nil), // 3: structs.structs.QueryBlockHeightResponse - (*QueryGetAddressRequest)(nil), // 4: structs.structs.QueryGetAddressRequest - (*QueryAllAddressByPlayerRequest)(nil), // 5: structs.structs.QueryAllAddressByPlayerRequest - (*QueryAllAddressRequest)(nil), // 6: structs.structs.QueryAllAddressRequest - (*QueryAddressResponse)(nil), // 7: structs.structs.QueryAddressResponse - (*QueryAllAddressResponse)(nil), // 8: structs.structs.QueryAllAddressResponse - (*QueryGetAllocationRequest)(nil), // 9: structs.structs.QueryGetAllocationRequest - (*QueryGetAllocationResponse)(nil), // 10: structs.structs.QueryGetAllocationResponse - (*QueryAllAllocationRequest)(nil), // 11: structs.structs.QueryAllAllocationRequest - (*QueryAllAllocationBySourceRequest)(nil), // 12: structs.structs.QueryAllAllocationBySourceRequest - (*QueryAllAllocationByDestinationRequest)(nil), // 13: structs.structs.QueryAllAllocationByDestinationRequest - (*QueryAllAllocationResponse)(nil), // 14: structs.structs.QueryAllAllocationResponse - (*QueryGetFleetRequest)(nil), // 15: structs.structs.QueryGetFleetRequest - (*QueryGetFleetResponse)(nil), // 16: structs.structs.QueryGetFleetResponse - (*QueryGetFleetByIndexRequest)(nil), // 17: structs.structs.QueryGetFleetByIndexRequest - (*QueryAllFleetRequest)(nil), // 18: structs.structs.QueryAllFleetRequest - (*QueryAllFleetResponse)(nil), // 19: structs.structs.QueryAllFleetResponse - (*QueryGetGridRequest)(nil), // 20: structs.structs.QueryGetGridRequest - (*QueryAllGridRequest)(nil), // 21: structs.structs.QueryAllGridRequest - (*QueryGetGridResponse)(nil), // 22: structs.structs.QueryGetGridResponse - (*QueryAllGridResponse)(nil), // 23: structs.structs.QueryAllGridResponse - (*QueryGetGuildRequest)(nil), // 24: structs.structs.QueryGetGuildRequest - (*QueryGetGuildResponse)(nil), // 25: structs.structs.QueryGetGuildResponse - (*QueryAllGuildRequest)(nil), // 26: structs.structs.QueryAllGuildRequest - (*QueryAllGuildResponse)(nil), // 27: structs.structs.QueryAllGuildResponse - (*QueryGetGuildMembershipApplicationRequest)(nil), // 28: structs.structs.QueryGetGuildMembershipApplicationRequest - (*QueryGetGuildMembershipApplicationResponse)(nil), // 29: structs.structs.QueryGetGuildMembershipApplicationResponse - (*QueryAllGuildMembershipApplicationRequest)(nil), // 30: structs.structs.QueryAllGuildMembershipApplicationRequest - (*QueryAllGuildMembershipApplicationResponse)(nil), // 31: structs.structs.QueryAllGuildMembershipApplicationResponse - (*QueryGetInfusionRequest)(nil), // 32: structs.structs.QueryGetInfusionRequest - (*QueryGetInfusionResponse)(nil), // 33: structs.structs.QueryGetInfusionResponse - (*QueryAllInfusionByDestinationRequest)(nil), // 34: structs.structs.QueryAllInfusionByDestinationRequest - (*QueryAllInfusionRequest)(nil), // 35: structs.structs.QueryAllInfusionRequest - (*QueryAllInfusionResponse)(nil), // 36: structs.structs.QueryAllInfusionResponse - (*QueryGetPermissionRequest)(nil), // 37: structs.structs.QueryGetPermissionRequest - (*QueryAllPermissionByObjectRequest)(nil), // 38: structs.structs.QueryAllPermissionByObjectRequest - (*QueryAllPermissionByPlayerRequest)(nil), // 39: structs.structs.QueryAllPermissionByPlayerRequest - (*QueryAllPermissionRequest)(nil), // 40: structs.structs.QueryAllPermissionRequest - (*QueryGetPermissionResponse)(nil), // 41: structs.structs.QueryGetPermissionResponse - (*QueryAllPermissionResponse)(nil), // 42: structs.structs.QueryAllPermissionResponse - (*QueryGetPlanetRequest)(nil), // 43: structs.structs.QueryGetPlanetRequest - (*QueryGetPlanetResponse)(nil), // 44: structs.structs.QueryGetPlanetResponse - (*QueryAllPlanetRequest)(nil), // 45: structs.structs.QueryAllPlanetRequest - (*QueryAllPlanetByPlayerRequest)(nil), // 46: structs.structs.QueryAllPlanetByPlayerRequest - (*QueryAllPlanetResponse)(nil), // 47: structs.structs.QueryAllPlanetResponse - (*QueryGetPlanetAttributeRequest)(nil), // 48: structs.structs.QueryGetPlanetAttributeRequest - (*QueryGetPlanetAttributeResponse)(nil), // 49: structs.structs.QueryGetPlanetAttributeResponse - (*QueryAllPlanetAttributeRequest)(nil), // 50: structs.structs.QueryAllPlanetAttributeRequest - (*QueryAllPlanetAttributeResponse)(nil), // 51: structs.structs.QueryAllPlanetAttributeResponse - (*QueryGetPlayerRequest)(nil), // 52: structs.structs.QueryGetPlayerRequest - (*QueryGetPlayerResponse)(nil), // 53: structs.structs.QueryGetPlayerResponse - (*QueryAllPlayerRequest)(nil), // 54: structs.structs.QueryAllPlayerRequest - (*QueryAllPlayerResponse)(nil), // 55: structs.structs.QueryAllPlayerResponse - (*QueryGetReactorRequest)(nil), // 56: structs.structs.QueryGetReactorRequest - (*QueryGetReactorResponse)(nil), // 57: structs.structs.QueryGetReactorResponse - (*QueryAllReactorRequest)(nil), // 58: structs.structs.QueryAllReactorRequest - (*QueryAllReactorResponse)(nil), // 59: structs.structs.QueryAllReactorResponse - (*QueryGetStructRequest)(nil), // 60: structs.structs.QueryGetStructRequest - (*QueryGetStructResponse)(nil), // 61: structs.structs.QueryGetStructResponse - (*QueryAllStructRequest)(nil), // 62: structs.structs.QueryAllStructRequest - (*QueryAllStructResponse)(nil), // 63: structs.structs.QueryAllStructResponse - (*QueryGetStructAttributeRequest)(nil), // 64: structs.structs.QueryGetStructAttributeRequest - (*QueryGetStructAttributeResponse)(nil), // 65: structs.structs.QueryGetStructAttributeResponse - (*QueryAllStructAttributeRequest)(nil), // 66: structs.structs.QueryAllStructAttributeRequest - (*QueryAllStructAttributeResponse)(nil), // 67: structs.structs.QueryAllStructAttributeResponse - (*QueryGetStructTypeRequest)(nil), // 68: structs.structs.QueryGetStructTypeRequest - (*QueryGetStructTypeResponse)(nil), // 69: structs.structs.QueryGetStructTypeResponse - (*QueryAllStructTypeRequest)(nil), // 70: structs.structs.QueryAllStructTypeRequest - (*QueryAllStructTypeResponse)(nil), // 71: structs.structs.QueryAllStructTypeResponse - (*QueryGetSubstationRequest)(nil), // 72: structs.structs.QueryGetSubstationRequest - (*QueryGetSubstationResponse)(nil), // 73: structs.structs.QueryGetSubstationResponse - (*QueryAllSubstationRequest)(nil), // 74: structs.structs.QueryAllSubstationRequest - (*QueryAllSubstationResponse)(nil), // 75: structs.structs.QueryAllSubstationResponse - (*QueryValidateSignatureRequest)(nil), // 76: structs.structs.QueryValidateSignatureRequest - (*QueryValidateSignatureResponse)(nil), // 77: structs.structs.QueryValidateSignatureResponse - (*Params)(nil), // 78: structs.structs.Params - (*v1beta1.PageRequest)(nil), // 79: cosmos.base.query.v1beta1.PageRequest - (*v1beta1.PageResponse)(nil), // 80: cosmos.base.query.v1beta1.PageResponse - (*Allocation)(nil), // 81: structs.structs.Allocation - (*GridAttributes)(nil), // 82: structs.structs.GridAttributes - (*Fleet)(nil), // 83: structs.structs.Fleet - (*GridRecord)(nil), // 84: structs.structs.GridRecord - (*Guild)(nil), // 85: structs.structs.Guild - (*GuildMembershipApplication)(nil), // 86: structs.structs.GuildMembershipApplication - (*Infusion)(nil), // 87: structs.structs.Infusion - (*PermissionRecord)(nil), // 88: structs.structs.PermissionRecord - (*Planet)(nil), // 89: structs.structs.Planet - (*PlanetAttributes)(nil), // 90: structs.structs.PlanetAttributes - (*PlanetAttributeRecord)(nil), // 91: structs.structs.PlanetAttributeRecord - (*Player)(nil), // 92: structs.structs.Player - (*PlayerInventory)(nil), // 93: structs.structs.PlayerInventory - (*Reactor)(nil), // 94: structs.structs.Reactor - (*Struct)(nil), // 95: structs.structs.Struct - (*StructAttributes)(nil), // 96: structs.structs.StructAttributes - (*StructAttributeRecord)(nil), // 97: structs.structs.StructAttributeRecord - (*StructType)(nil), // 98: structs.structs.StructType - (*Substation)(nil), // 99: structs.structs.Substation + (*QueryParamsRequest)(nil), // 0: structs.structs.QueryParamsRequest + (*QueryParamsResponse)(nil), // 1: structs.structs.QueryParamsResponse + (*QueryBlockHeight)(nil), // 2: structs.structs.QueryBlockHeight + (*QueryBlockHeightResponse)(nil), // 3: structs.structs.QueryBlockHeightResponse + (*QueryGetAddressRequest)(nil), // 4: structs.structs.QueryGetAddressRequest + (*QueryAllAddressByPlayerRequest)(nil), // 5: structs.structs.QueryAllAddressByPlayerRequest + (*QueryAllAddressRequest)(nil), // 6: structs.structs.QueryAllAddressRequest + (*QueryAddressResponse)(nil), // 7: structs.structs.QueryAddressResponse + (*QueryAllAddressResponse)(nil), // 8: structs.structs.QueryAllAddressResponse + (*QueryGetAgreementRequest)(nil), // 9: structs.structs.QueryGetAgreementRequest + (*QueryGetAgreementResponse)(nil), // 10: structs.structs.QueryGetAgreementResponse + (*QueryAllAgreementRequest)(nil), // 11: structs.structs.QueryAllAgreementRequest + (*QueryAllAgreementByProviderRequest)(nil), // 12: structs.structs.QueryAllAgreementByProviderRequest + (*QueryAllAgreementResponse)(nil), // 13: structs.structs.QueryAllAgreementResponse + (*QueryGetAllocationRequest)(nil), // 14: structs.structs.QueryGetAllocationRequest + (*QueryGetAllocationResponse)(nil), // 15: structs.structs.QueryGetAllocationResponse + (*QueryAllAllocationRequest)(nil), // 16: structs.structs.QueryAllAllocationRequest + (*QueryAllAllocationBySourceRequest)(nil), // 17: structs.structs.QueryAllAllocationBySourceRequest + (*QueryAllAllocationByDestinationRequest)(nil), // 18: structs.structs.QueryAllAllocationByDestinationRequest + (*QueryAllAllocationResponse)(nil), // 19: structs.structs.QueryAllAllocationResponse + (*QueryGetFleetRequest)(nil), // 20: structs.structs.QueryGetFleetRequest + (*QueryGetFleetResponse)(nil), // 21: structs.structs.QueryGetFleetResponse + (*QueryGetFleetByIndexRequest)(nil), // 22: structs.structs.QueryGetFleetByIndexRequest + (*QueryAllFleetRequest)(nil), // 23: structs.structs.QueryAllFleetRequest + (*QueryAllFleetResponse)(nil), // 24: structs.structs.QueryAllFleetResponse + (*QueryGetGridRequest)(nil), // 25: structs.structs.QueryGetGridRequest + (*QueryAllGridRequest)(nil), // 26: structs.structs.QueryAllGridRequest + (*QueryGetGridResponse)(nil), // 27: structs.structs.QueryGetGridResponse + (*QueryAllGridResponse)(nil), // 28: structs.structs.QueryAllGridResponse + (*QueryGetGuildRequest)(nil), // 29: structs.structs.QueryGetGuildRequest + (*QueryGetGuildResponse)(nil), // 30: structs.structs.QueryGetGuildResponse + (*QueryAllGuildRequest)(nil), // 31: structs.structs.QueryAllGuildRequest + (*QueryAllGuildResponse)(nil), // 32: structs.structs.QueryAllGuildResponse + (*QueryGetGuildBankCollateralAddressRequest)(nil), // 33: structs.structs.QueryGetGuildBankCollateralAddressRequest + (*QueryAllGuildBankCollateralAddressRequest)(nil), // 34: structs.structs.QueryAllGuildBankCollateralAddressRequest + (*QueryAllGuildBankCollateralAddressResponse)(nil), // 35: structs.structs.QueryAllGuildBankCollateralAddressResponse + (*QueryGetGuildByBankCollateralAddressRequest)(nil), // 36: structs.structs.QueryGetGuildByBankCollateralAddressRequest + (*QueryGetGuildMembershipApplicationRequest)(nil), // 37: structs.structs.QueryGetGuildMembershipApplicationRequest + (*QueryGetGuildMembershipApplicationResponse)(nil), // 38: structs.structs.QueryGetGuildMembershipApplicationResponse + (*QueryAllGuildMembershipApplicationRequest)(nil), // 39: structs.structs.QueryAllGuildMembershipApplicationRequest + (*QueryAllGuildMembershipApplicationResponse)(nil), // 40: structs.structs.QueryAllGuildMembershipApplicationResponse + (*QueryGetInfusionRequest)(nil), // 41: structs.structs.QueryGetInfusionRequest + (*QueryGetInfusionResponse)(nil), // 42: structs.structs.QueryGetInfusionResponse + (*QueryAllInfusionByDestinationRequest)(nil), // 43: structs.structs.QueryAllInfusionByDestinationRequest + (*QueryAllInfusionRequest)(nil), // 44: structs.structs.QueryAllInfusionRequest + (*QueryAllInfusionResponse)(nil), // 45: structs.structs.QueryAllInfusionResponse + (*QueryGetPermissionRequest)(nil), // 46: structs.structs.QueryGetPermissionRequest + (*QueryAllPermissionByObjectRequest)(nil), // 47: structs.structs.QueryAllPermissionByObjectRequest + (*QueryAllPermissionByPlayerRequest)(nil), // 48: structs.structs.QueryAllPermissionByPlayerRequest + (*QueryAllPermissionRequest)(nil), // 49: structs.structs.QueryAllPermissionRequest + (*QueryGetPermissionResponse)(nil), // 50: structs.structs.QueryGetPermissionResponse + (*QueryAllPermissionResponse)(nil), // 51: structs.structs.QueryAllPermissionResponse + (*QueryGetPlanetRequest)(nil), // 52: structs.structs.QueryGetPlanetRequest + (*QueryGetPlanetResponse)(nil), // 53: structs.structs.QueryGetPlanetResponse + (*QueryAllPlanetRequest)(nil), // 54: structs.structs.QueryAllPlanetRequest + (*QueryAllPlanetByPlayerRequest)(nil), // 55: structs.structs.QueryAllPlanetByPlayerRequest + (*QueryAllPlanetResponse)(nil), // 56: structs.structs.QueryAllPlanetResponse + (*QueryGetPlanetAttributeRequest)(nil), // 57: structs.structs.QueryGetPlanetAttributeRequest + (*QueryGetPlanetAttributeResponse)(nil), // 58: structs.structs.QueryGetPlanetAttributeResponse + (*QueryAllPlanetAttributeRequest)(nil), // 59: structs.structs.QueryAllPlanetAttributeRequest + (*QueryAllPlanetAttributeResponse)(nil), // 60: structs.structs.QueryAllPlanetAttributeResponse + (*QueryGetPlayerRequest)(nil), // 61: structs.structs.QueryGetPlayerRequest + (*QueryGetPlayerResponse)(nil), // 62: structs.structs.QueryGetPlayerResponse + (*QueryAllPlayerRequest)(nil), // 63: structs.structs.QueryAllPlayerRequest + (*QueryAllPlayerResponse)(nil), // 64: structs.structs.QueryAllPlayerResponse + (*QueryAllPlayerHaltedRequest)(nil), // 65: structs.structs.QueryAllPlayerHaltedRequest + (*QueryAllPlayerHaltedResponse)(nil), // 66: structs.structs.QueryAllPlayerHaltedResponse + (*QueryGetProviderRequest)(nil), // 67: structs.structs.QueryGetProviderRequest + (*QueryGetProviderResponse)(nil), // 68: structs.structs.QueryGetProviderResponse + (*QueryAllProviderRequest)(nil), // 69: structs.structs.QueryAllProviderRequest + (*QueryAllProviderResponse)(nil), // 70: structs.structs.QueryAllProviderResponse + (*QueryGetProviderCollateralAddressRequest)(nil), // 71: structs.structs.QueryGetProviderCollateralAddressRequest + (*QueryAllProviderCollateralAddressRequest)(nil), // 72: structs.structs.QueryAllProviderCollateralAddressRequest + (*QueryAllProviderCollateralAddressResponse)(nil), // 73: structs.structs.QueryAllProviderCollateralAddressResponse + (*QueryGetProviderByCollateralAddressRequest)(nil), // 74: structs.structs.QueryGetProviderByCollateralAddressRequest + (*QueryGetProviderEarningsAddressRequest)(nil), // 75: structs.structs.QueryGetProviderEarningsAddressRequest + (*QueryAllProviderEarningsAddressRequest)(nil), // 76: structs.structs.QueryAllProviderEarningsAddressRequest + (*QueryAllProviderEarningsAddressResponse)(nil), // 77: structs.structs.QueryAllProviderEarningsAddressResponse + (*QueryGetProviderByEarningsAddressRequest)(nil), // 78: structs.structs.QueryGetProviderByEarningsAddressRequest + (*QueryGetReactorRequest)(nil), // 79: structs.structs.QueryGetReactorRequest + (*QueryGetReactorResponse)(nil), // 80: structs.structs.QueryGetReactorResponse + (*QueryAllReactorRequest)(nil), // 81: structs.structs.QueryAllReactorRequest + (*QueryAllReactorResponse)(nil), // 82: structs.structs.QueryAllReactorResponse + (*QueryGetStructRequest)(nil), // 83: structs.structs.QueryGetStructRequest + (*QueryGetStructResponse)(nil), // 84: structs.structs.QueryGetStructResponse + (*QueryAllStructRequest)(nil), // 85: structs.structs.QueryAllStructRequest + (*QueryAllStructResponse)(nil), // 86: structs.structs.QueryAllStructResponse + (*QueryGetStructAttributeRequest)(nil), // 87: structs.structs.QueryGetStructAttributeRequest + (*QueryGetStructAttributeResponse)(nil), // 88: structs.structs.QueryGetStructAttributeResponse + (*QueryAllStructAttributeRequest)(nil), // 89: structs.structs.QueryAllStructAttributeRequest + (*QueryAllStructAttributeResponse)(nil), // 90: structs.structs.QueryAllStructAttributeResponse + (*QueryGetStructTypeRequest)(nil), // 91: structs.structs.QueryGetStructTypeRequest + (*QueryGetStructTypeResponse)(nil), // 92: structs.structs.QueryGetStructTypeResponse + (*QueryAllStructTypeRequest)(nil), // 93: structs.structs.QueryAllStructTypeRequest + (*QueryAllStructTypeResponse)(nil), // 94: structs.structs.QueryAllStructTypeResponse + (*QueryGetSubstationRequest)(nil), // 95: structs.structs.QueryGetSubstationRequest + (*QueryGetSubstationResponse)(nil), // 96: structs.structs.QueryGetSubstationResponse + (*QueryAllSubstationRequest)(nil), // 97: structs.structs.QueryAllSubstationRequest + (*QueryAllSubstationResponse)(nil), // 98: structs.structs.QueryAllSubstationResponse + (*QueryValidateSignatureRequest)(nil), // 99: structs.structs.QueryValidateSignatureRequest + (*QueryValidateSignatureResponse)(nil), // 100: structs.structs.QueryValidateSignatureResponse + (*Params)(nil), // 101: structs.structs.Params + (*v1beta1.PageRequest)(nil), // 102: cosmos.base.query.v1beta1.PageRequest + (*v1beta1.PageResponse)(nil), // 103: cosmos.base.query.v1beta1.PageResponse + (*Agreement)(nil), // 104: structs.structs.Agreement + (*Allocation)(nil), // 105: structs.structs.Allocation + (*GridAttributes)(nil), // 106: structs.structs.GridAttributes + (*Fleet)(nil), // 107: structs.structs.Fleet + (*GridRecord)(nil), // 108: structs.structs.GridRecord + (*Guild)(nil), // 109: structs.structs.Guild + (*InternalAddressAssociation)(nil), // 110: structs.structs.InternalAddressAssociation + (*GuildMembershipApplication)(nil), // 111: structs.structs.GuildMembershipApplication + (*Infusion)(nil), // 112: structs.structs.Infusion + (*PermissionRecord)(nil), // 113: structs.structs.PermissionRecord + (*Planet)(nil), // 114: structs.structs.Planet + (*PlanetAttributes)(nil), // 115: structs.structs.PlanetAttributes + (*PlanetAttributeRecord)(nil), // 116: structs.structs.PlanetAttributeRecord + (*Player)(nil), // 117: structs.structs.Player + (*PlayerInventory)(nil), // 118: structs.structs.PlayerInventory + (*Provider)(nil), // 119: structs.structs.Provider + (*Reactor)(nil), // 120: structs.structs.Reactor + (*Struct)(nil), // 121: structs.structs.Struct + (*StructAttributes)(nil), // 122: structs.structs.StructAttributes + (*StructAttributeRecord)(nil), // 123: structs.structs.StructAttributeRecord + (*StructType)(nil), // 124: structs.structs.StructType + (*Substation)(nil), // 125: structs.structs.Substation } var file_structs_structs_query_proto_depIdxs = []int32{ - 78, // 0: structs.structs.QueryParamsResponse.params:type_name -> structs.structs.Params - 79, // 1: structs.structs.QueryAllAddressByPlayerRequest.pagination:type_name -> cosmos.base.query.v1beta1.PageRequest - 79, // 2: structs.structs.QueryAllAddressRequest.pagination:type_name -> cosmos.base.query.v1beta1.PageRequest + 101, // 0: structs.structs.QueryParamsResponse.params:type_name -> structs.structs.Params + 102, // 1: structs.structs.QueryAllAddressByPlayerRequest.pagination:type_name -> cosmos.base.query.v1beta1.PageRequest + 102, // 2: structs.structs.QueryAllAddressRequest.pagination:type_name -> cosmos.base.query.v1beta1.PageRequest 7, // 3: structs.structs.QueryAllAddressResponse.address:type_name -> structs.structs.QueryAddressResponse - 80, // 4: structs.structs.QueryAllAddressResponse.pagination:type_name -> cosmos.base.query.v1beta1.PageResponse - 81, // 5: structs.structs.QueryGetAllocationResponse.Allocation:type_name -> structs.structs.Allocation - 82, // 6: structs.structs.QueryGetAllocationResponse.gridAttributes:type_name -> structs.structs.GridAttributes - 79, // 7: structs.structs.QueryAllAllocationRequest.pagination:type_name -> cosmos.base.query.v1beta1.PageRequest - 79, // 8: structs.structs.QueryAllAllocationBySourceRequest.pagination:type_name -> cosmos.base.query.v1beta1.PageRequest - 79, // 9: structs.structs.QueryAllAllocationByDestinationRequest.pagination:type_name -> cosmos.base.query.v1beta1.PageRequest - 81, // 10: structs.structs.QueryAllAllocationResponse.Allocation:type_name -> structs.structs.Allocation - 80, // 11: structs.structs.QueryAllAllocationResponse.pagination:type_name -> cosmos.base.query.v1beta1.PageResponse - 83, // 12: structs.structs.QueryGetFleetResponse.Fleet:type_name -> structs.structs.Fleet - 79, // 13: structs.structs.QueryAllFleetRequest.pagination:type_name -> cosmos.base.query.v1beta1.PageRequest - 83, // 14: structs.structs.QueryAllFleetResponse.Fleet:type_name -> structs.structs.Fleet - 80, // 15: structs.structs.QueryAllFleetResponse.pagination:type_name -> cosmos.base.query.v1beta1.PageResponse - 79, // 16: structs.structs.QueryAllGridRequest.pagination:type_name -> cosmos.base.query.v1beta1.PageRequest - 84, // 17: structs.structs.QueryGetGridResponse.gridRecord:type_name -> structs.structs.GridRecord - 84, // 18: structs.structs.QueryAllGridResponse.gridRecords:type_name -> structs.structs.GridRecord - 80, // 19: structs.structs.QueryAllGridResponse.pagination:type_name -> cosmos.base.query.v1beta1.PageResponse - 85, // 20: structs.structs.QueryGetGuildResponse.Guild:type_name -> structs.structs.Guild - 79, // 21: structs.structs.QueryAllGuildRequest.pagination:type_name -> cosmos.base.query.v1beta1.PageRequest - 85, // 22: structs.structs.QueryAllGuildResponse.Guild:type_name -> structs.structs.Guild - 80, // 23: structs.structs.QueryAllGuildResponse.pagination:type_name -> cosmos.base.query.v1beta1.PageResponse - 86, // 24: structs.structs.QueryGetGuildMembershipApplicationResponse.GuildMembershipApplication:type_name -> structs.structs.GuildMembershipApplication - 79, // 25: structs.structs.QueryAllGuildMembershipApplicationRequest.pagination:type_name -> cosmos.base.query.v1beta1.PageRequest - 86, // 26: structs.structs.QueryAllGuildMembershipApplicationResponse.GuildMembershipApplication:type_name -> structs.structs.GuildMembershipApplication - 80, // 27: structs.structs.QueryAllGuildMembershipApplicationResponse.pagination:type_name -> cosmos.base.query.v1beta1.PageResponse - 87, // 28: structs.structs.QueryGetInfusionResponse.Infusion:type_name -> structs.structs.Infusion - 79, // 29: structs.structs.QueryAllInfusionByDestinationRequest.pagination:type_name -> cosmos.base.query.v1beta1.PageRequest - 79, // 30: structs.structs.QueryAllInfusionRequest.pagination:type_name -> cosmos.base.query.v1beta1.PageRequest - 87, // 31: structs.structs.QueryAllInfusionResponse.Infusion:type_name -> structs.structs.Infusion - 80, // 32: structs.structs.QueryAllInfusionResponse.pagination:type_name -> cosmos.base.query.v1beta1.PageResponse - 79, // 33: structs.structs.QueryAllPermissionByObjectRequest.pagination:type_name -> cosmos.base.query.v1beta1.PageRequest - 79, // 34: structs.structs.QueryAllPermissionByPlayerRequest.pagination:type_name -> cosmos.base.query.v1beta1.PageRequest - 79, // 35: structs.structs.QueryAllPermissionRequest.pagination:type_name -> cosmos.base.query.v1beta1.PageRequest - 88, // 36: structs.structs.QueryGetPermissionResponse.permissionRecord:type_name -> structs.structs.PermissionRecord - 88, // 37: structs.structs.QueryAllPermissionResponse.permissionRecords:type_name -> structs.structs.PermissionRecord - 80, // 38: structs.structs.QueryAllPermissionResponse.pagination:type_name -> cosmos.base.query.v1beta1.PageResponse - 89, // 39: structs.structs.QueryGetPlanetResponse.Planet:type_name -> structs.structs.Planet - 82, // 40: structs.structs.QueryGetPlanetResponse.gridAttributes:type_name -> structs.structs.GridAttributes - 90, // 41: structs.structs.QueryGetPlanetResponse.planetAttributes:type_name -> structs.structs.PlanetAttributes - 79, // 42: structs.structs.QueryAllPlanetRequest.pagination:type_name -> cosmos.base.query.v1beta1.PageRequest - 79, // 43: structs.structs.QueryAllPlanetByPlayerRequest.pagination:type_name -> cosmos.base.query.v1beta1.PageRequest - 89, // 44: structs.structs.QueryAllPlanetResponse.Planet:type_name -> structs.structs.Planet - 80, // 45: structs.structs.QueryAllPlanetResponse.pagination:type_name -> cosmos.base.query.v1beta1.PageResponse - 79, // 46: structs.structs.QueryAllPlanetAttributeRequest.pagination:type_name -> cosmos.base.query.v1beta1.PageRequest - 91, // 47: structs.structs.QueryAllPlanetAttributeResponse.planetAttributeRecords:type_name -> structs.structs.PlanetAttributeRecord - 80, // 48: structs.structs.QueryAllPlanetAttributeResponse.pagination:type_name -> cosmos.base.query.v1beta1.PageResponse - 92, // 49: structs.structs.QueryGetPlayerResponse.Player:type_name -> structs.structs.Player - 82, // 50: structs.structs.QueryGetPlayerResponse.gridAttributes:type_name -> structs.structs.GridAttributes - 93, // 51: structs.structs.QueryGetPlayerResponse.playerInventory:type_name -> structs.structs.PlayerInventory - 79, // 52: structs.structs.QueryAllPlayerRequest.pagination:type_name -> cosmos.base.query.v1beta1.PageRequest - 92, // 53: structs.structs.QueryAllPlayerResponse.Player:type_name -> structs.structs.Player - 80, // 54: structs.structs.QueryAllPlayerResponse.pagination:type_name -> cosmos.base.query.v1beta1.PageResponse - 94, // 55: structs.structs.QueryGetReactorResponse.Reactor:type_name -> structs.structs.Reactor - 82, // 56: structs.structs.QueryGetReactorResponse.gridAttributes:type_name -> structs.structs.GridAttributes - 79, // 57: structs.structs.QueryAllReactorRequest.pagination:type_name -> cosmos.base.query.v1beta1.PageRequest - 94, // 58: structs.structs.QueryAllReactorResponse.Reactor:type_name -> structs.structs.Reactor - 80, // 59: structs.structs.QueryAllReactorResponse.pagination:type_name -> cosmos.base.query.v1beta1.PageResponse - 95, // 60: structs.structs.QueryGetStructResponse.Struct:type_name -> structs.structs.Struct - 96, // 61: structs.structs.QueryGetStructResponse.structAttributes:type_name -> structs.structs.StructAttributes - 82, // 62: structs.structs.QueryGetStructResponse.gridAttributes:type_name -> structs.structs.GridAttributes - 79, // 63: structs.structs.QueryAllStructRequest.pagination:type_name -> cosmos.base.query.v1beta1.PageRequest - 95, // 64: structs.structs.QueryAllStructResponse.Struct:type_name -> structs.structs.Struct - 80, // 65: structs.structs.QueryAllStructResponse.pagination:type_name -> cosmos.base.query.v1beta1.PageResponse - 79, // 66: structs.structs.QueryAllStructAttributeRequest.pagination:type_name -> cosmos.base.query.v1beta1.PageRequest - 97, // 67: structs.structs.QueryAllStructAttributeResponse.structAttributeRecords:type_name -> structs.structs.StructAttributeRecord - 80, // 68: structs.structs.QueryAllStructAttributeResponse.pagination:type_name -> cosmos.base.query.v1beta1.PageResponse - 98, // 69: structs.structs.QueryGetStructTypeResponse.StructType:type_name -> structs.structs.StructType - 79, // 70: structs.structs.QueryAllStructTypeRequest.pagination:type_name -> cosmos.base.query.v1beta1.PageRequest - 98, // 71: structs.structs.QueryAllStructTypeResponse.StructType:type_name -> structs.structs.StructType - 80, // 72: structs.structs.QueryAllStructTypeResponse.pagination:type_name -> cosmos.base.query.v1beta1.PageResponse - 99, // 73: structs.structs.QueryGetSubstationResponse.Substation:type_name -> structs.structs.Substation - 82, // 74: structs.structs.QueryGetSubstationResponse.gridAttributes:type_name -> structs.structs.GridAttributes - 79, // 75: structs.structs.QueryAllSubstationRequest.pagination:type_name -> cosmos.base.query.v1beta1.PageRequest - 99, // 76: structs.structs.QueryAllSubstationResponse.Substation:type_name -> structs.structs.Substation - 80, // 77: structs.structs.QueryAllSubstationResponse.pagination:type_name -> cosmos.base.query.v1beta1.PageResponse - 2, // 78: structs.structs.Query.GetBlockHeight:input_type -> structs.structs.QueryBlockHeight - 0, // 79: structs.structs.Query.Params:input_type -> structs.structs.QueryParamsRequest - 4, // 80: structs.structs.Query.Address:input_type -> structs.structs.QueryGetAddressRequest - 6, // 81: structs.structs.Query.AddressAll:input_type -> structs.structs.QueryAllAddressRequest - 5, // 82: structs.structs.Query.AddressAllByPlayer:input_type -> structs.structs.QueryAllAddressByPlayerRequest - 9, // 83: structs.structs.Query.Allocation:input_type -> structs.structs.QueryGetAllocationRequest - 11, // 84: structs.structs.Query.AllocationAll:input_type -> structs.structs.QueryAllAllocationRequest - 12, // 85: structs.structs.Query.AllocationAllBySource:input_type -> structs.structs.QueryAllAllocationBySourceRequest - 13, // 86: structs.structs.Query.AllocationAllByDestination:input_type -> structs.structs.QueryAllAllocationByDestinationRequest - 15, // 87: structs.structs.Query.Fleet:input_type -> structs.structs.QueryGetFleetRequest - 17, // 88: structs.structs.Query.FleetByIndex:input_type -> structs.structs.QueryGetFleetByIndexRequest - 18, // 89: structs.structs.Query.FleetAll:input_type -> structs.structs.QueryAllFleetRequest - 20, // 90: structs.structs.Query.Grid:input_type -> structs.structs.QueryGetGridRequest - 21, // 91: structs.structs.Query.GridAll:input_type -> structs.structs.QueryAllGridRequest - 24, // 92: structs.structs.Query.Guild:input_type -> structs.structs.QueryGetGuildRequest - 26, // 93: structs.structs.Query.GuildAll:input_type -> structs.structs.QueryAllGuildRequest - 28, // 94: structs.structs.Query.GuildMembershipApplication:input_type -> structs.structs.QueryGetGuildMembershipApplicationRequest - 30, // 95: structs.structs.Query.GuildMembershipApplicationAll:input_type -> structs.structs.QueryAllGuildMembershipApplicationRequest - 32, // 96: structs.structs.Query.Infusion:input_type -> structs.structs.QueryGetInfusionRequest - 35, // 97: structs.structs.Query.InfusionAll:input_type -> structs.structs.QueryAllInfusionRequest - 34, // 98: structs.structs.Query.InfusionAllByDestination:input_type -> structs.structs.QueryAllInfusionByDestinationRequest - 37, // 99: structs.structs.Query.Permission:input_type -> structs.structs.QueryGetPermissionRequest - 38, // 100: structs.structs.Query.PermissionByObject:input_type -> structs.structs.QueryAllPermissionByObjectRequest - 39, // 101: structs.structs.Query.PermissionByPlayer:input_type -> structs.structs.QueryAllPermissionByPlayerRequest - 40, // 102: structs.structs.Query.PermissionAll:input_type -> structs.structs.QueryAllPermissionRequest - 52, // 103: structs.structs.Query.Player:input_type -> structs.structs.QueryGetPlayerRequest - 54, // 104: structs.structs.Query.PlayerAll:input_type -> structs.structs.QueryAllPlayerRequest - 43, // 105: structs.structs.Query.Planet:input_type -> structs.structs.QueryGetPlanetRequest - 45, // 106: structs.structs.Query.PlanetAll:input_type -> structs.structs.QueryAllPlanetRequest - 46, // 107: structs.structs.Query.PlanetAllByPlayer:input_type -> structs.structs.QueryAllPlanetByPlayerRequest - 48, // 108: structs.structs.Query.PlanetAttribute:input_type -> structs.structs.QueryGetPlanetAttributeRequest - 50, // 109: structs.structs.Query.PlanetAttributeAll:input_type -> structs.structs.QueryAllPlanetAttributeRequest - 56, // 110: structs.structs.Query.Reactor:input_type -> structs.structs.QueryGetReactorRequest - 58, // 111: structs.structs.Query.ReactorAll:input_type -> structs.structs.QueryAllReactorRequest - 60, // 112: structs.structs.Query.Struct:input_type -> structs.structs.QueryGetStructRequest - 62, // 113: structs.structs.Query.StructAll:input_type -> structs.structs.QueryAllStructRequest - 64, // 114: structs.structs.Query.StructAttribute:input_type -> structs.structs.QueryGetStructAttributeRequest - 66, // 115: structs.structs.Query.StructAttributeAll:input_type -> structs.structs.QueryAllStructAttributeRequest - 68, // 116: structs.structs.Query.StructType:input_type -> structs.structs.QueryGetStructTypeRequest - 70, // 117: structs.structs.Query.StructTypeAll:input_type -> structs.structs.QueryAllStructTypeRequest - 72, // 118: structs.structs.Query.Substation:input_type -> structs.structs.QueryGetSubstationRequest - 74, // 119: structs.structs.Query.SubstationAll:input_type -> structs.structs.QueryAllSubstationRequest - 76, // 120: structs.structs.Query.ValidateSignature:input_type -> structs.structs.QueryValidateSignatureRequest - 3, // 121: structs.structs.Query.GetBlockHeight:output_type -> structs.structs.QueryBlockHeightResponse - 1, // 122: structs.structs.Query.Params:output_type -> structs.structs.QueryParamsResponse - 7, // 123: structs.structs.Query.Address:output_type -> structs.structs.QueryAddressResponse - 8, // 124: structs.structs.Query.AddressAll:output_type -> structs.structs.QueryAllAddressResponse - 8, // 125: structs.structs.Query.AddressAllByPlayer:output_type -> structs.structs.QueryAllAddressResponse - 10, // 126: structs.structs.Query.Allocation:output_type -> structs.structs.QueryGetAllocationResponse - 14, // 127: structs.structs.Query.AllocationAll:output_type -> structs.structs.QueryAllAllocationResponse - 14, // 128: structs.structs.Query.AllocationAllBySource:output_type -> structs.structs.QueryAllAllocationResponse - 14, // 129: structs.structs.Query.AllocationAllByDestination:output_type -> structs.structs.QueryAllAllocationResponse - 16, // 130: structs.structs.Query.Fleet:output_type -> structs.structs.QueryGetFleetResponse - 16, // 131: structs.structs.Query.FleetByIndex:output_type -> structs.structs.QueryGetFleetResponse - 19, // 132: structs.structs.Query.FleetAll:output_type -> structs.structs.QueryAllFleetResponse - 22, // 133: structs.structs.Query.Grid:output_type -> structs.structs.QueryGetGridResponse - 23, // 134: structs.structs.Query.GridAll:output_type -> structs.structs.QueryAllGridResponse - 25, // 135: structs.structs.Query.Guild:output_type -> structs.structs.QueryGetGuildResponse - 27, // 136: structs.structs.Query.GuildAll:output_type -> structs.structs.QueryAllGuildResponse - 29, // 137: structs.structs.Query.GuildMembershipApplication:output_type -> structs.structs.QueryGetGuildMembershipApplicationResponse - 31, // 138: structs.structs.Query.GuildMembershipApplicationAll:output_type -> structs.structs.QueryAllGuildMembershipApplicationResponse - 33, // 139: structs.structs.Query.Infusion:output_type -> structs.structs.QueryGetInfusionResponse - 36, // 140: structs.structs.Query.InfusionAll:output_type -> structs.structs.QueryAllInfusionResponse - 36, // 141: structs.structs.Query.InfusionAllByDestination:output_type -> structs.structs.QueryAllInfusionResponse - 41, // 142: structs.structs.Query.Permission:output_type -> structs.structs.QueryGetPermissionResponse - 42, // 143: structs.structs.Query.PermissionByObject:output_type -> structs.structs.QueryAllPermissionResponse - 42, // 144: structs.structs.Query.PermissionByPlayer:output_type -> structs.structs.QueryAllPermissionResponse - 42, // 145: structs.structs.Query.PermissionAll:output_type -> structs.structs.QueryAllPermissionResponse - 53, // 146: structs.structs.Query.Player:output_type -> structs.structs.QueryGetPlayerResponse - 55, // 147: structs.structs.Query.PlayerAll:output_type -> structs.structs.QueryAllPlayerResponse - 44, // 148: structs.structs.Query.Planet:output_type -> structs.structs.QueryGetPlanetResponse - 47, // 149: structs.structs.Query.PlanetAll:output_type -> structs.structs.QueryAllPlanetResponse - 47, // 150: structs.structs.Query.PlanetAllByPlayer:output_type -> structs.structs.QueryAllPlanetResponse - 49, // 151: structs.structs.Query.PlanetAttribute:output_type -> structs.structs.QueryGetPlanetAttributeResponse - 51, // 152: structs.structs.Query.PlanetAttributeAll:output_type -> structs.structs.QueryAllPlanetAttributeResponse - 57, // 153: structs.structs.Query.Reactor:output_type -> structs.structs.QueryGetReactorResponse - 59, // 154: structs.structs.Query.ReactorAll:output_type -> structs.structs.QueryAllReactorResponse - 61, // 155: structs.structs.Query.Struct:output_type -> structs.structs.QueryGetStructResponse - 63, // 156: structs.structs.Query.StructAll:output_type -> structs.structs.QueryAllStructResponse - 65, // 157: structs.structs.Query.StructAttribute:output_type -> structs.structs.QueryGetStructAttributeResponse - 67, // 158: structs.structs.Query.StructAttributeAll:output_type -> structs.structs.QueryAllStructAttributeResponse - 69, // 159: structs.structs.Query.StructType:output_type -> structs.structs.QueryGetStructTypeResponse - 71, // 160: structs.structs.Query.StructTypeAll:output_type -> structs.structs.QueryAllStructTypeResponse - 73, // 161: structs.structs.Query.Substation:output_type -> structs.structs.QueryGetSubstationResponse - 75, // 162: structs.structs.Query.SubstationAll:output_type -> structs.structs.QueryAllSubstationResponse - 77, // 163: structs.structs.Query.ValidateSignature:output_type -> structs.structs.QueryValidateSignatureResponse - 121, // [121:164] is the sub-list for method output_type - 78, // [78:121] is the sub-list for method input_type - 78, // [78:78] is the sub-list for extension type_name - 78, // [78:78] is the sub-list for extension extendee - 0, // [0:78] is the sub-list for field type_name + 103, // 4: structs.structs.QueryAllAddressResponse.pagination:type_name -> cosmos.base.query.v1beta1.PageResponse + 104, // 5: structs.structs.QueryGetAgreementResponse.Agreement:type_name -> structs.structs.Agreement + 102, // 6: structs.structs.QueryAllAgreementRequest.pagination:type_name -> cosmos.base.query.v1beta1.PageRequest + 102, // 7: structs.structs.QueryAllAgreementByProviderRequest.pagination:type_name -> cosmos.base.query.v1beta1.PageRequest + 104, // 8: structs.structs.QueryAllAgreementResponse.Agreement:type_name -> structs.structs.Agreement + 103, // 9: structs.structs.QueryAllAgreementResponse.pagination:type_name -> cosmos.base.query.v1beta1.PageResponse + 105, // 10: structs.structs.QueryGetAllocationResponse.Allocation:type_name -> structs.structs.Allocation + 106, // 11: structs.structs.QueryGetAllocationResponse.gridAttributes:type_name -> structs.structs.GridAttributes + 102, // 12: structs.structs.QueryAllAllocationRequest.pagination:type_name -> cosmos.base.query.v1beta1.PageRequest + 102, // 13: structs.structs.QueryAllAllocationBySourceRequest.pagination:type_name -> cosmos.base.query.v1beta1.PageRequest + 102, // 14: structs.structs.QueryAllAllocationByDestinationRequest.pagination:type_name -> cosmos.base.query.v1beta1.PageRequest + 105, // 15: structs.structs.QueryAllAllocationResponse.Allocation:type_name -> structs.structs.Allocation + 103, // 16: structs.structs.QueryAllAllocationResponse.pagination:type_name -> cosmos.base.query.v1beta1.PageResponse + 107, // 17: structs.structs.QueryGetFleetResponse.Fleet:type_name -> structs.structs.Fleet + 102, // 18: structs.structs.QueryAllFleetRequest.pagination:type_name -> cosmos.base.query.v1beta1.PageRequest + 107, // 19: structs.structs.QueryAllFleetResponse.Fleet:type_name -> structs.structs.Fleet + 103, // 20: structs.structs.QueryAllFleetResponse.pagination:type_name -> cosmos.base.query.v1beta1.PageResponse + 102, // 21: structs.structs.QueryAllGridRequest.pagination:type_name -> cosmos.base.query.v1beta1.PageRequest + 108, // 22: structs.structs.QueryGetGridResponse.gridRecord:type_name -> structs.structs.GridRecord + 108, // 23: structs.structs.QueryAllGridResponse.gridRecords:type_name -> structs.structs.GridRecord + 103, // 24: structs.structs.QueryAllGridResponse.pagination:type_name -> cosmos.base.query.v1beta1.PageResponse + 109, // 25: structs.structs.QueryGetGuildResponse.Guild:type_name -> structs.structs.Guild + 102, // 26: structs.structs.QueryAllGuildRequest.pagination:type_name -> cosmos.base.query.v1beta1.PageRequest + 109, // 27: structs.structs.QueryAllGuildResponse.Guild:type_name -> structs.structs.Guild + 103, // 28: structs.structs.QueryAllGuildResponse.pagination:type_name -> cosmos.base.query.v1beta1.PageResponse + 102, // 29: structs.structs.QueryAllGuildBankCollateralAddressRequest.pagination:type_name -> cosmos.base.query.v1beta1.PageRequest + 110, // 30: structs.structs.QueryAllGuildBankCollateralAddressResponse.internalAddressAssociation:type_name -> structs.structs.InternalAddressAssociation + 103, // 31: structs.structs.QueryAllGuildBankCollateralAddressResponse.pagination:type_name -> cosmos.base.query.v1beta1.PageResponse + 111, // 32: structs.structs.QueryGetGuildMembershipApplicationResponse.GuildMembershipApplication:type_name -> structs.structs.GuildMembershipApplication + 102, // 33: structs.structs.QueryAllGuildMembershipApplicationRequest.pagination:type_name -> cosmos.base.query.v1beta1.PageRequest + 111, // 34: structs.structs.QueryAllGuildMembershipApplicationResponse.GuildMembershipApplication:type_name -> structs.structs.GuildMembershipApplication + 103, // 35: structs.structs.QueryAllGuildMembershipApplicationResponse.pagination:type_name -> cosmos.base.query.v1beta1.PageResponse + 112, // 36: structs.structs.QueryGetInfusionResponse.Infusion:type_name -> structs.structs.Infusion + 102, // 37: structs.structs.QueryAllInfusionByDestinationRequest.pagination:type_name -> cosmos.base.query.v1beta1.PageRequest + 102, // 38: structs.structs.QueryAllInfusionRequest.pagination:type_name -> cosmos.base.query.v1beta1.PageRequest + 112, // 39: structs.structs.QueryAllInfusionResponse.Infusion:type_name -> structs.structs.Infusion + 103, // 40: structs.structs.QueryAllInfusionResponse.pagination:type_name -> cosmos.base.query.v1beta1.PageResponse + 102, // 41: structs.structs.QueryAllPermissionByObjectRequest.pagination:type_name -> cosmos.base.query.v1beta1.PageRequest + 102, // 42: structs.structs.QueryAllPermissionByPlayerRequest.pagination:type_name -> cosmos.base.query.v1beta1.PageRequest + 102, // 43: structs.structs.QueryAllPermissionRequest.pagination:type_name -> cosmos.base.query.v1beta1.PageRequest + 113, // 44: structs.structs.QueryGetPermissionResponse.permissionRecord:type_name -> structs.structs.PermissionRecord + 113, // 45: structs.structs.QueryAllPermissionResponse.permissionRecords:type_name -> structs.structs.PermissionRecord + 103, // 46: structs.structs.QueryAllPermissionResponse.pagination:type_name -> cosmos.base.query.v1beta1.PageResponse + 114, // 47: structs.structs.QueryGetPlanetResponse.Planet:type_name -> structs.structs.Planet + 106, // 48: structs.structs.QueryGetPlanetResponse.gridAttributes:type_name -> structs.structs.GridAttributes + 115, // 49: structs.structs.QueryGetPlanetResponse.planetAttributes:type_name -> structs.structs.PlanetAttributes + 102, // 50: structs.structs.QueryAllPlanetRequest.pagination:type_name -> cosmos.base.query.v1beta1.PageRequest + 102, // 51: structs.structs.QueryAllPlanetByPlayerRequest.pagination:type_name -> cosmos.base.query.v1beta1.PageRequest + 114, // 52: structs.structs.QueryAllPlanetResponse.Planet:type_name -> structs.structs.Planet + 103, // 53: structs.structs.QueryAllPlanetResponse.pagination:type_name -> cosmos.base.query.v1beta1.PageResponse + 102, // 54: structs.structs.QueryAllPlanetAttributeRequest.pagination:type_name -> cosmos.base.query.v1beta1.PageRequest + 116, // 55: structs.structs.QueryAllPlanetAttributeResponse.planetAttributeRecords:type_name -> structs.structs.PlanetAttributeRecord + 103, // 56: structs.structs.QueryAllPlanetAttributeResponse.pagination:type_name -> cosmos.base.query.v1beta1.PageResponse + 117, // 57: structs.structs.QueryGetPlayerResponse.Player:type_name -> structs.structs.Player + 106, // 58: structs.structs.QueryGetPlayerResponse.gridAttributes:type_name -> structs.structs.GridAttributes + 118, // 59: structs.structs.QueryGetPlayerResponse.playerInventory:type_name -> structs.structs.PlayerInventory + 102, // 60: structs.structs.QueryAllPlayerRequest.pagination:type_name -> cosmos.base.query.v1beta1.PageRequest + 117, // 61: structs.structs.QueryAllPlayerResponse.Player:type_name -> structs.structs.Player + 103, // 62: structs.structs.QueryAllPlayerResponse.pagination:type_name -> cosmos.base.query.v1beta1.PageResponse + 119, // 63: structs.structs.QueryGetProviderResponse.Provider:type_name -> structs.structs.Provider + 106, // 64: structs.structs.QueryGetProviderResponse.gridAttributes:type_name -> structs.structs.GridAttributes + 102, // 65: structs.structs.QueryAllProviderRequest.pagination:type_name -> cosmos.base.query.v1beta1.PageRequest + 119, // 66: structs.structs.QueryAllProviderResponse.Provider:type_name -> structs.structs.Provider + 103, // 67: structs.structs.QueryAllProviderResponse.pagination:type_name -> cosmos.base.query.v1beta1.PageResponse + 102, // 68: structs.structs.QueryAllProviderCollateralAddressRequest.pagination:type_name -> cosmos.base.query.v1beta1.PageRequest + 110, // 69: structs.structs.QueryAllProviderCollateralAddressResponse.internalAddressAssociation:type_name -> structs.structs.InternalAddressAssociation + 103, // 70: structs.structs.QueryAllProviderCollateralAddressResponse.pagination:type_name -> cosmos.base.query.v1beta1.PageResponse + 102, // 71: structs.structs.QueryAllProviderEarningsAddressRequest.pagination:type_name -> cosmos.base.query.v1beta1.PageRequest + 110, // 72: structs.structs.QueryAllProviderEarningsAddressResponse.internalAddressAssociation:type_name -> structs.structs.InternalAddressAssociation + 103, // 73: structs.structs.QueryAllProviderEarningsAddressResponse.pagination:type_name -> cosmos.base.query.v1beta1.PageResponse + 120, // 74: structs.structs.QueryGetReactorResponse.Reactor:type_name -> structs.structs.Reactor + 106, // 75: structs.structs.QueryGetReactorResponse.gridAttributes:type_name -> structs.structs.GridAttributes + 102, // 76: structs.structs.QueryAllReactorRequest.pagination:type_name -> cosmos.base.query.v1beta1.PageRequest + 120, // 77: structs.structs.QueryAllReactorResponse.Reactor:type_name -> structs.structs.Reactor + 103, // 78: structs.structs.QueryAllReactorResponse.pagination:type_name -> cosmos.base.query.v1beta1.PageResponse + 121, // 79: structs.structs.QueryGetStructResponse.Struct:type_name -> structs.structs.Struct + 122, // 80: structs.structs.QueryGetStructResponse.structAttributes:type_name -> structs.structs.StructAttributes + 106, // 81: structs.structs.QueryGetStructResponse.gridAttributes:type_name -> structs.structs.GridAttributes + 102, // 82: structs.structs.QueryAllStructRequest.pagination:type_name -> cosmos.base.query.v1beta1.PageRequest + 121, // 83: structs.structs.QueryAllStructResponse.Struct:type_name -> structs.structs.Struct + 103, // 84: structs.structs.QueryAllStructResponse.pagination:type_name -> cosmos.base.query.v1beta1.PageResponse + 102, // 85: structs.structs.QueryAllStructAttributeRequest.pagination:type_name -> cosmos.base.query.v1beta1.PageRequest + 123, // 86: structs.structs.QueryAllStructAttributeResponse.structAttributeRecords:type_name -> structs.structs.StructAttributeRecord + 103, // 87: structs.structs.QueryAllStructAttributeResponse.pagination:type_name -> cosmos.base.query.v1beta1.PageResponse + 124, // 88: structs.structs.QueryGetStructTypeResponse.StructType:type_name -> structs.structs.StructType + 102, // 89: structs.structs.QueryAllStructTypeRequest.pagination:type_name -> cosmos.base.query.v1beta1.PageRequest + 124, // 90: structs.structs.QueryAllStructTypeResponse.StructType:type_name -> structs.structs.StructType + 103, // 91: structs.structs.QueryAllStructTypeResponse.pagination:type_name -> cosmos.base.query.v1beta1.PageResponse + 125, // 92: structs.structs.QueryGetSubstationResponse.Substation:type_name -> structs.structs.Substation + 106, // 93: structs.structs.QueryGetSubstationResponse.gridAttributes:type_name -> structs.structs.GridAttributes + 102, // 94: structs.structs.QueryAllSubstationRequest.pagination:type_name -> cosmos.base.query.v1beta1.PageRequest + 125, // 95: structs.structs.QueryAllSubstationResponse.Substation:type_name -> structs.structs.Substation + 103, // 96: structs.structs.QueryAllSubstationResponse.pagination:type_name -> cosmos.base.query.v1beta1.PageResponse + 2, // 97: structs.structs.Query.GetBlockHeight:input_type -> structs.structs.QueryBlockHeight + 0, // 98: structs.structs.Query.Params:input_type -> structs.structs.QueryParamsRequest + 4, // 99: structs.structs.Query.Address:input_type -> structs.structs.QueryGetAddressRequest + 6, // 100: structs.structs.Query.AddressAll:input_type -> structs.structs.QueryAllAddressRequest + 5, // 101: structs.structs.Query.AddressAllByPlayer:input_type -> structs.structs.QueryAllAddressByPlayerRequest + 9, // 102: structs.structs.Query.Agreement:input_type -> structs.structs.QueryGetAgreementRequest + 11, // 103: structs.structs.Query.AgreementAll:input_type -> structs.structs.QueryAllAgreementRequest + 12, // 104: structs.structs.Query.AgreementAllByProvider:input_type -> structs.structs.QueryAllAgreementByProviderRequest + 14, // 105: structs.structs.Query.Allocation:input_type -> structs.structs.QueryGetAllocationRequest + 16, // 106: structs.structs.Query.AllocationAll:input_type -> structs.structs.QueryAllAllocationRequest + 17, // 107: structs.structs.Query.AllocationAllBySource:input_type -> structs.structs.QueryAllAllocationBySourceRequest + 18, // 108: structs.structs.Query.AllocationAllByDestination:input_type -> structs.structs.QueryAllAllocationByDestinationRequest + 20, // 109: structs.structs.Query.Fleet:input_type -> structs.structs.QueryGetFleetRequest + 22, // 110: structs.structs.Query.FleetByIndex:input_type -> structs.structs.QueryGetFleetByIndexRequest + 23, // 111: structs.structs.Query.FleetAll:input_type -> structs.structs.QueryAllFleetRequest + 25, // 112: structs.structs.Query.Grid:input_type -> structs.structs.QueryGetGridRequest + 26, // 113: structs.structs.Query.GridAll:input_type -> structs.structs.QueryAllGridRequest + 29, // 114: structs.structs.Query.Guild:input_type -> structs.structs.QueryGetGuildRequest + 31, // 115: structs.structs.Query.GuildAll:input_type -> structs.structs.QueryAllGuildRequest + 33, // 116: structs.structs.Query.GuildBankCollateralAddress:input_type -> structs.structs.QueryGetGuildBankCollateralAddressRequest + 34, // 117: structs.structs.Query.GuildBankCollateralAddressAll:input_type -> structs.structs.QueryAllGuildBankCollateralAddressRequest + 37, // 118: structs.structs.Query.GuildMembershipApplication:input_type -> structs.structs.QueryGetGuildMembershipApplicationRequest + 39, // 119: structs.structs.Query.GuildMembershipApplicationAll:input_type -> structs.structs.QueryAllGuildMembershipApplicationRequest + 41, // 120: structs.structs.Query.Infusion:input_type -> structs.structs.QueryGetInfusionRequest + 44, // 121: structs.structs.Query.InfusionAll:input_type -> structs.structs.QueryAllInfusionRequest + 43, // 122: structs.structs.Query.InfusionAllByDestination:input_type -> structs.structs.QueryAllInfusionByDestinationRequest + 46, // 123: structs.structs.Query.Permission:input_type -> structs.structs.QueryGetPermissionRequest + 47, // 124: structs.structs.Query.PermissionByObject:input_type -> structs.structs.QueryAllPermissionByObjectRequest + 48, // 125: structs.structs.Query.PermissionByPlayer:input_type -> structs.structs.QueryAllPermissionByPlayerRequest + 49, // 126: structs.structs.Query.PermissionAll:input_type -> structs.structs.QueryAllPermissionRequest + 61, // 127: structs.structs.Query.Player:input_type -> structs.structs.QueryGetPlayerRequest + 63, // 128: structs.structs.Query.PlayerAll:input_type -> structs.structs.QueryAllPlayerRequest + 65, // 129: structs.structs.Query.PlayerHaltedAll:input_type -> structs.structs.QueryAllPlayerHaltedRequest + 52, // 130: structs.structs.Query.Planet:input_type -> structs.structs.QueryGetPlanetRequest + 54, // 131: structs.structs.Query.PlanetAll:input_type -> structs.structs.QueryAllPlanetRequest + 55, // 132: structs.structs.Query.PlanetAllByPlayer:input_type -> structs.structs.QueryAllPlanetByPlayerRequest + 57, // 133: structs.structs.Query.PlanetAttribute:input_type -> structs.structs.QueryGetPlanetAttributeRequest + 59, // 134: structs.structs.Query.PlanetAttributeAll:input_type -> structs.structs.QueryAllPlanetAttributeRequest + 67, // 135: structs.structs.Query.Provider:input_type -> structs.structs.QueryGetProviderRequest + 69, // 136: structs.structs.Query.ProviderAll:input_type -> structs.structs.QueryAllProviderRequest + 71, // 137: structs.structs.Query.ProviderCollateralAddress:input_type -> structs.structs.QueryGetProviderCollateralAddressRequest + 72, // 138: structs.structs.Query.ProviderCollateralAddressAll:input_type -> structs.structs.QueryAllProviderCollateralAddressRequest + 75, // 139: structs.structs.Query.ProviderEarningsAddress:input_type -> structs.structs.QueryGetProviderEarningsAddressRequest + 76, // 140: structs.structs.Query.ProviderEarningsAddressAll:input_type -> structs.structs.QueryAllProviderEarningsAddressRequest + 79, // 141: structs.structs.Query.Reactor:input_type -> structs.structs.QueryGetReactorRequest + 81, // 142: structs.structs.Query.ReactorAll:input_type -> structs.structs.QueryAllReactorRequest + 83, // 143: structs.structs.Query.Struct:input_type -> structs.structs.QueryGetStructRequest + 85, // 144: structs.structs.Query.StructAll:input_type -> structs.structs.QueryAllStructRequest + 87, // 145: structs.structs.Query.StructAttribute:input_type -> structs.structs.QueryGetStructAttributeRequest + 89, // 146: structs.structs.Query.StructAttributeAll:input_type -> structs.structs.QueryAllStructAttributeRequest + 91, // 147: structs.structs.Query.StructType:input_type -> structs.structs.QueryGetStructTypeRequest + 93, // 148: structs.structs.Query.StructTypeAll:input_type -> structs.structs.QueryAllStructTypeRequest + 95, // 149: structs.structs.Query.Substation:input_type -> structs.structs.QueryGetSubstationRequest + 97, // 150: structs.structs.Query.SubstationAll:input_type -> structs.structs.QueryAllSubstationRequest + 99, // 151: structs.structs.Query.ValidateSignature:input_type -> structs.structs.QueryValidateSignatureRequest + 3, // 152: structs.structs.Query.GetBlockHeight:output_type -> structs.structs.QueryBlockHeightResponse + 1, // 153: structs.structs.Query.Params:output_type -> structs.structs.QueryParamsResponse + 7, // 154: structs.structs.Query.Address:output_type -> structs.structs.QueryAddressResponse + 8, // 155: structs.structs.Query.AddressAll:output_type -> structs.structs.QueryAllAddressResponse + 8, // 156: structs.structs.Query.AddressAllByPlayer:output_type -> structs.structs.QueryAllAddressResponse + 10, // 157: structs.structs.Query.Agreement:output_type -> structs.structs.QueryGetAgreementResponse + 13, // 158: structs.structs.Query.AgreementAll:output_type -> structs.structs.QueryAllAgreementResponse + 13, // 159: structs.structs.Query.AgreementAllByProvider:output_type -> structs.structs.QueryAllAgreementResponse + 15, // 160: structs.structs.Query.Allocation:output_type -> structs.structs.QueryGetAllocationResponse + 19, // 161: structs.structs.Query.AllocationAll:output_type -> structs.structs.QueryAllAllocationResponse + 19, // 162: structs.structs.Query.AllocationAllBySource:output_type -> structs.structs.QueryAllAllocationResponse + 19, // 163: structs.structs.Query.AllocationAllByDestination:output_type -> structs.structs.QueryAllAllocationResponse + 21, // 164: structs.structs.Query.Fleet:output_type -> structs.structs.QueryGetFleetResponse + 21, // 165: structs.structs.Query.FleetByIndex:output_type -> structs.structs.QueryGetFleetResponse + 24, // 166: structs.structs.Query.FleetAll:output_type -> structs.structs.QueryAllFleetResponse + 27, // 167: structs.structs.Query.Grid:output_type -> structs.structs.QueryGetGridResponse + 28, // 168: structs.structs.Query.GridAll:output_type -> structs.structs.QueryAllGridResponse + 30, // 169: structs.structs.Query.Guild:output_type -> structs.structs.QueryGetGuildResponse + 32, // 170: structs.structs.Query.GuildAll:output_type -> structs.structs.QueryAllGuildResponse + 35, // 171: structs.structs.Query.GuildBankCollateralAddress:output_type -> structs.structs.QueryAllGuildBankCollateralAddressResponse + 35, // 172: structs.structs.Query.GuildBankCollateralAddressAll:output_type -> structs.structs.QueryAllGuildBankCollateralAddressResponse + 38, // 173: structs.structs.Query.GuildMembershipApplication:output_type -> structs.structs.QueryGetGuildMembershipApplicationResponse + 40, // 174: structs.structs.Query.GuildMembershipApplicationAll:output_type -> structs.structs.QueryAllGuildMembershipApplicationResponse + 42, // 175: structs.structs.Query.Infusion:output_type -> structs.structs.QueryGetInfusionResponse + 45, // 176: structs.structs.Query.InfusionAll:output_type -> structs.structs.QueryAllInfusionResponse + 45, // 177: structs.structs.Query.InfusionAllByDestination:output_type -> structs.structs.QueryAllInfusionResponse + 50, // 178: structs.structs.Query.Permission:output_type -> structs.structs.QueryGetPermissionResponse + 51, // 179: structs.structs.Query.PermissionByObject:output_type -> structs.structs.QueryAllPermissionResponse + 51, // 180: structs.structs.Query.PermissionByPlayer:output_type -> structs.structs.QueryAllPermissionResponse + 51, // 181: structs.structs.Query.PermissionAll:output_type -> structs.structs.QueryAllPermissionResponse + 62, // 182: structs.structs.Query.Player:output_type -> structs.structs.QueryGetPlayerResponse + 64, // 183: structs.structs.Query.PlayerAll:output_type -> structs.structs.QueryAllPlayerResponse + 66, // 184: structs.structs.Query.PlayerHaltedAll:output_type -> structs.structs.QueryAllPlayerHaltedResponse + 53, // 185: structs.structs.Query.Planet:output_type -> structs.structs.QueryGetPlanetResponse + 56, // 186: structs.structs.Query.PlanetAll:output_type -> structs.structs.QueryAllPlanetResponse + 56, // 187: structs.structs.Query.PlanetAllByPlayer:output_type -> structs.structs.QueryAllPlanetResponse + 58, // 188: structs.structs.Query.PlanetAttribute:output_type -> structs.structs.QueryGetPlanetAttributeResponse + 60, // 189: structs.structs.Query.PlanetAttributeAll:output_type -> structs.structs.QueryAllPlanetAttributeResponse + 68, // 190: structs.structs.Query.Provider:output_type -> structs.structs.QueryGetProviderResponse + 70, // 191: structs.structs.Query.ProviderAll:output_type -> structs.structs.QueryAllProviderResponse + 73, // 192: structs.structs.Query.ProviderCollateralAddress:output_type -> structs.structs.QueryAllProviderCollateralAddressResponse + 73, // 193: structs.structs.Query.ProviderCollateralAddressAll:output_type -> structs.structs.QueryAllProviderCollateralAddressResponse + 77, // 194: structs.structs.Query.ProviderEarningsAddress:output_type -> structs.structs.QueryAllProviderEarningsAddressResponse + 77, // 195: structs.structs.Query.ProviderEarningsAddressAll:output_type -> structs.structs.QueryAllProviderEarningsAddressResponse + 80, // 196: structs.structs.Query.Reactor:output_type -> structs.structs.QueryGetReactorResponse + 82, // 197: structs.structs.Query.ReactorAll:output_type -> structs.structs.QueryAllReactorResponse + 84, // 198: structs.structs.Query.Struct:output_type -> structs.structs.QueryGetStructResponse + 86, // 199: structs.structs.Query.StructAll:output_type -> structs.structs.QueryAllStructResponse + 88, // 200: structs.structs.Query.StructAttribute:output_type -> structs.structs.QueryGetStructAttributeResponse + 90, // 201: structs.structs.Query.StructAttributeAll:output_type -> structs.structs.QueryAllStructAttributeResponse + 92, // 202: structs.structs.Query.StructType:output_type -> structs.structs.QueryGetStructTypeResponse + 94, // 203: structs.structs.Query.StructTypeAll:output_type -> structs.structs.QueryAllStructTypeResponse + 96, // 204: structs.structs.Query.Substation:output_type -> structs.structs.QueryGetSubstationResponse + 98, // 205: structs.structs.Query.SubstationAll:output_type -> structs.structs.QueryAllSubstationResponse + 100, // 206: structs.structs.Query.ValidateSignature:output_type -> structs.structs.QueryValidateSignatureResponse + 152, // [152:207] is the sub-list for method output_type + 97, // [97:152] is the sub-list for method input_type + 97, // [97:97] is the sub-list for extension type_name + 97, // [97:97] is the sub-list for extension extendee + 0, // [0:97] is the sub-list for field type_name } func init() { file_structs_structs_query_proto_init() } @@ -42402,6 +54364,7 @@ func file_structs_structs_query_proto_init() { } file_structs_structs_params_proto_init() file_structs_structs_address_proto_init() + file_structs_structs_agreement_proto_init() file_structs_structs_allocation_proto_init() file_structs_structs_fleet_proto_init() file_structs_structs_grid_proto_init() @@ -42412,6 +54375,7 @@ func file_structs_structs_query_proto_init() { file_structs_structs_player_proto_init() file_structs_structs_planet_proto_init() file_structs_structs_reactor_proto_init() + file_structs_structs_provider_proto_init() file_structs_structs_struct_proto_init() file_structs_structs_substation_proto_init() if !protoimpl.UnsafeEnabled { @@ -42524,7 +54488,7 @@ func file_structs_structs_query_proto_init() { } } file_structs_structs_query_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QueryGetAllocationRequest); i { + switch v := v.(*QueryGetAgreementRequest); i { case 0: return &v.state case 1: @@ -42536,7 +54500,7 @@ func file_structs_structs_query_proto_init() { } } file_structs_structs_query_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QueryGetAllocationResponse); i { + switch v := v.(*QueryGetAgreementResponse); i { case 0: return &v.state case 1: @@ -42548,7 +54512,7 @@ func file_structs_structs_query_proto_init() { } } file_structs_structs_query_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QueryAllAllocationRequest); i { + switch v := v.(*QueryAllAgreementRequest); i { case 0: return &v.state case 1: @@ -42560,7 +54524,7 @@ func file_structs_structs_query_proto_init() { } } file_structs_structs_query_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QueryAllAllocationBySourceRequest); i { + switch v := v.(*QueryAllAgreementByProviderRequest); i { case 0: return &v.state case 1: @@ -42572,7 +54536,7 @@ func file_structs_structs_query_proto_init() { } } file_structs_structs_query_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QueryAllAllocationByDestinationRequest); i { + switch v := v.(*QueryAllAgreementResponse); i { case 0: return &v.state case 1: @@ -42584,7 +54548,7 @@ func file_structs_structs_query_proto_init() { } } file_structs_structs_query_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QueryAllAllocationResponse); i { + switch v := v.(*QueryGetAllocationRequest); i { case 0: return &v.state case 1: @@ -42596,7 +54560,7 @@ func file_structs_structs_query_proto_init() { } } file_structs_structs_query_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QueryGetFleetRequest); i { + switch v := v.(*QueryGetAllocationResponse); i { case 0: return &v.state case 1: @@ -42608,7 +54572,7 @@ func file_structs_structs_query_proto_init() { } } file_structs_structs_query_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QueryGetFleetResponse); i { + switch v := v.(*QueryAllAllocationRequest); i { case 0: return &v.state case 1: @@ -42620,7 +54584,7 @@ func file_structs_structs_query_proto_init() { } } file_structs_structs_query_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QueryGetFleetByIndexRequest); i { + switch v := v.(*QueryAllAllocationBySourceRequest); i { case 0: return &v.state case 1: @@ -42632,7 +54596,7 @@ func file_structs_structs_query_proto_init() { } } file_structs_structs_query_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QueryAllFleetRequest); i { + switch v := v.(*QueryAllAllocationByDestinationRequest); i { case 0: return &v.state case 1: @@ -42644,7 +54608,7 @@ func file_structs_structs_query_proto_init() { } } file_structs_structs_query_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QueryAllFleetResponse); i { + switch v := v.(*QueryAllAllocationResponse); i { case 0: return &v.state case 1: @@ -42656,7 +54620,7 @@ func file_structs_structs_query_proto_init() { } } file_structs_structs_query_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QueryGetGridRequest); i { + switch v := v.(*QueryGetFleetRequest); i { case 0: return &v.state case 1: @@ -42668,7 +54632,7 @@ func file_structs_structs_query_proto_init() { } } file_structs_structs_query_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QueryAllGridRequest); i { + switch v := v.(*QueryGetFleetResponse); i { case 0: return &v.state case 1: @@ -42680,7 +54644,7 @@ func file_structs_structs_query_proto_init() { } } file_structs_structs_query_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QueryGetGridResponse); i { + switch v := v.(*QueryGetFleetByIndexRequest); i { case 0: return &v.state case 1: @@ -42692,7 +54656,7 @@ func file_structs_structs_query_proto_init() { } } file_structs_structs_query_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QueryAllGridResponse); i { + switch v := v.(*QueryAllFleetRequest); i { case 0: return &v.state case 1: @@ -42704,7 +54668,7 @@ func file_structs_structs_query_proto_init() { } } file_structs_structs_query_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QueryGetGuildRequest); i { + switch v := v.(*QueryAllFleetResponse); i { case 0: return &v.state case 1: @@ -42716,7 +54680,7 @@ func file_structs_structs_query_proto_init() { } } file_structs_structs_query_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QueryGetGuildResponse); i { + switch v := v.(*QueryGetGridRequest); i { case 0: return &v.state case 1: @@ -42728,7 +54692,7 @@ func file_structs_structs_query_proto_init() { } } file_structs_structs_query_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QueryAllGuildRequest); i { + switch v := v.(*QueryAllGridRequest); i { case 0: return &v.state case 1: @@ -42740,7 +54704,7 @@ func file_structs_structs_query_proto_init() { } } file_structs_structs_query_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QueryAllGuildResponse); i { + switch v := v.(*QueryGetGridResponse); i { case 0: return &v.state case 1: @@ -42752,7 +54716,7 @@ func file_structs_structs_query_proto_init() { } } file_structs_structs_query_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QueryGetGuildMembershipApplicationRequest); i { + switch v := v.(*QueryAllGridResponse); i { case 0: return &v.state case 1: @@ -42764,7 +54728,7 @@ func file_structs_structs_query_proto_init() { } } file_structs_structs_query_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QueryGetGuildMembershipApplicationResponse); i { + switch v := v.(*QueryGetGuildRequest); i { case 0: return &v.state case 1: @@ -42776,7 +54740,7 @@ func file_structs_structs_query_proto_init() { } } file_structs_structs_query_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QueryAllGuildMembershipApplicationRequest); i { + switch v := v.(*QueryGetGuildResponse); i { case 0: return &v.state case 1: @@ -42788,7 +54752,7 @@ func file_structs_structs_query_proto_init() { } } file_structs_structs_query_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QueryAllGuildMembershipApplicationResponse); i { + switch v := v.(*QueryAllGuildRequest); i { case 0: return &v.state case 1: @@ -42800,7 +54764,7 @@ func file_structs_structs_query_proto_init() { } } file_structs_structs_query_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QueryGetInfusionRequest); i { + switch v := v.(*QueryAllGuildResponse); i { case 0: return &v.state case 1: @@ -42812,7 +54776,7 @@ func file_structs_structs_query_proto_init() { } } file_structs_structs_query_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QueryGetInfusionResponse); i { + switch v := v.(*QueryGetGuildBankCollateralAddressRequest); i { case 0: return &v.state case 1: @@ -42824,7 +54788,7 @@ func file_structs_structs_query_proto_init() { } } file_structs_structs_query_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QueryAllInfusionByDestinationRequest); i { + switch v := v.(*QueryAllGuildBankCollateralAddressRequest); i { case 0: return &v.state case 1: @@ -42836,7 +54800,7 @@ func file_structs_structs_query_proto_init() { } } file_structs_structs_query_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QueryAllInfusionRequest); i { + switch v := v.(*QueryAllGuildBankCollateralAddressResponse); i { case 0: return &v.state case 1: @@ -42848,7 +54812,7 @@ func file_structs_structs_query_proto_init() { } } file_structs_structs_query_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QueryAllInfusionResponse); i { + switch v := v.(*QueryGetGuildByBankCollateralAddressRequest); i { case 0: return &v.state case 1: @@ -42860,7 +54824,7 @@ func file_structs_structs_query_proto_init() { } } file_structs_structs_query_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QueryGetPermissionRequest); i { + switch v := v.(*QueryGetGuildMembershipApplicationRequest); i { case 0: return &v.state case 1: @@ -42872,7 +54836,7 @@ func file_structs_structs_query_proto_init() { } } file_structs_structs_query_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QueryAllPermissionByObjectRequest); i { + switch v := v.(*QueryGetGuildMembershipApplicationResponse); i { case 0: return &v.state case 1: @@ -42884,7 +54848,7 @@ func file_structs_structs_query_proto_init() { } } file_structs_structs_query_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QueryAllPermissionByPlayerRequest); i { + switch v := v.(*QueryAllGuildMembershipApplicationRequest); i { case 0: return &v.state case 1: @@ -42896,7 +54860,7 @@ func file_structs_structs_query_proto_init() { } } file_structs_structs_query_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QueryAllPermissionRequest); i { + switch v := v.(*QueryAllGuildMembershipApplicationResponse); i { case 0: return &v.state case 1: @@ -42908,7 +54872,7 @@ func file_structs_structs_query_proto_init() { } } file_structs_structs_query_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QueryGetPermissionResponse); i { + switch v := v.(*QueryGetInfusionRequest); i { case 0: return &v.state case 1: @@ -42920,7 +54884,7 @@ func file_structs_structs_query_proto_init() { } } file_structs_structs_query_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QueryAllPermissionResponse); i { + switch v := v.(*QueryGetInfusionResponse); i { case 0: return &v.state case 1: @@ -42932,7 +54896,7 @@ func file_structs_structs_query_proto_init() { } } file_structs_structs_query_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QueryGetPlanetRequest); i { + switch v := v.(*QueryAllInfusionByDestinationRequest); i { case 0: return &v.state case 1: @@ -42944,7 +54908,7 @@ func file_structs_structs_query_proto_init() { } } file_structs_structs_query_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QueryGetPlanetResponse); i { + switch v := v.(*QueryAllInfusionRequest); i { case 0: return &v.state case 1: @@ -42956,7 +54920,7 @@ func file_structs_structs_query_proto_init() { } } file_structs_structs_query_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QueryAllPlanetRequest); i { + switch v := v.(*QueryAllInfusionResponse); i { case 0: return &v.state case 1: @@ -42968,7 +54932,7 @@ func file_structs_structs_query_proto_init() { } } file_structs_structs_query_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QueryAllPlanetByPlayerRequest); i { + switch v := v.(*QueryGetPermissionRequest); i { case 0: return &v.state case 1: @@ -42980,7 +54944,7 @@ func file_structs_structs_query_proto_init() { } } file_structs_structs_query_proto_msgTypes[47].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QueryAllPlanetResponse); i { + switch v := v.(*QueryAllPermissionByObjectRequest); i { case 0: return &v.state case 1: @@ -42992,7 +54956,7 @@ func file_structs_structs_query_proto_init() { } } file_structs_structs_query_proto_msgTypes[48].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QueryGetPlanetAttributeRequest); i { + switch v := v.(*QueryAllPermissionByPlayerRequest); i { case 0: return &v.state case 1: @@ -43004,7 +54968,7 @@ func file_structs_structs_query_proto_init() { } } file_structs_structs_query_proto_msgTypes[49].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QueryGetPlanetAttributeResponse); i { + switch v := v.(*QueryAllPermissionRequest); i { case 0: return &v.state case 1: @@ -43016,7 +54980,7 @@ func file_structs_structs_query_proto_init() { } } file_structs_structs_query_proto_msgTypes[50].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QueryAllPlanetAttributeRequest); i { + switch v := v.(*QueryGetPermissionResponse); i { case 0: return &v.state case 1: @@ -43028,7 +54992,7 @@ func file_structs_structs_query_proto_init() { } } file_structs_structs_query_proto_msgTypes[51].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QueryAllPlanetAttributeResponse); i { + switch v := v.(*QueryAllPermissionResponse); i { case 0: return &v.state case 1: @@ -43040,7 +55004,7 @@ func file_structs_structs_query_proto_init() { } } file_structs_structs_query_proto_msgTypes[52].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QueryGetPlayerRequest); i { + switch v := v.(*QueryGetPlanetRequest); i { case 0: return &v.state case 1: @@ -43052,7 +55016,7 @@ func file_structs_structs_query_proto_init() { } } file_structs_structs_query_proto_msgTypes[53].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QueryGetPlayerResponse); i { + switch v := v.(*QueryGetPlanetResponse); i { case 0: return &v.state case 1: @@ -43064,7 +55028,7 @@ func file_structs_structs_query_proto_init() { } } file_structs_structs_query_proto_msgTypes[54].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QueryAllPlayerRequest); i { + switch v := v.(*QueryAllPlanetRequest); i { case 0: return &v.state case 1: @@ -43076,7 +55040,7 @@ func file_structs_structs_query_proto_init() { } } file_structs_structs_query_proto_msgTypes[55].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QueryAllPlayerResponse); i { + switch v := v.(*QueryAllPlanetByPlayerRequest); i { case 0: return &v.state case 1: @@ -43088,7 +55052,7 @@ func file_structs_structs_query_proto_init() { } } file_structs_structs_query_proto_msgTypes[56].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QueryGetReactorRequest); i { + switch v := v.(*QueryAllPlanetResponse); i { case 0: return &v.state case 1: @@ -43100,7 +55064,7 @@ func file_structs_structs_query_proto_init() { } } file_structs_structs_query_proto_msgTypes[57].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QueryGetReactorResponse); i { + switch v := v.(*QueryGetPlanetAttributeRequest); i { case 0: return &v.state case 1: @@ -43112,7 +55076,7 @@ func file_structs_structs_query_proto_init() { } } file_structs_structs_query_proto_msgTypes[58].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QueryAllReactorRequest); i { + switch v := v.(*QueryGetPlanetAttributeResponse); i { case 0: return &v.state case 1: @@ -43124,7 +55088,7 @@ func file_structs_structs_query_proto_init() { } } file_structs_structs_query_proto_msgTypes[59].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QueryAllReactorResponse); i { + switch v := v.(*QueryAllPlanetAttributeRequest); i { case 0: return &v.state case 1: @@ -43136,7 +55100,7 @@ func file_structs_structs_query_proto_init() { } } file_structs_structs_query_proto_msgTypes[60].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QueryGetStructRequest); i { + switch v := v.(*QueryAllPlanetAttributeResponse); i { case 0: return &v.state case 1: @@ -43148,7 +55112,7 @@ func file_structs_structs_query_proto_init() { } } file_structs_structs_query_proto_msgTypes[61].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QueryGetStructResponse); i { + switch v := v.(*QueryGetPlayerRequest); i { case 0: return &v.state case 1: @@ -43160,7 +55124,7 @@ func file_structs_structs_query_proto_init() { } } file_structs_structs_query_proto_msgTypes[62].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QueryAllStructRequest); i { + switch v := v.(*QueryGetPlayerResponse); i { case 0: return &v.state case 1: @@ -43172,7 +55136,7 @@ func file_structs_structs_query_proto_init() { } } file_structs_structs_query_proto_msgTypes[63].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QueryAllStructResponse); i { + switch v := v.(*QueryAllPlayerRequest); i { case 0: return &v.state case 1: @@ -43184,7 +55148,7 @@ func file_structs_structs_query_proto_init() { } } file_structs_structs_query_proto_msgTypes[64].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QueryGetStructAttributeRequest); i { + switch v := v.(*QueryAllPlayerResponse); i { case 0: return &v.state case 1: @@ -43196,7 +55160,7 @@ func file_structs_structs_query_proto_init() { } } file_structs_structs_query_proto_msgTypes[65].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QueryGetStructAttributeResponse); i { + switch v := v.(*QueryAllPlayerHaltedRequest); i { case 0: return &v.state case 1: @@ -43208,7 +55172,7 @@ func file_structs_structs_query_proto_init() { } } file_structs_structs_query_proto_msgTypes[66].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QueryAllStructAttributeRequest); i { + switch v := v.(*QueryAllPlayerHaltedResponse); i { case 0: return &v.state case 1: @@ -43220,7 +55184,7 @@ func file_structs_structs_query_proto_init() { } } file_structs_structs_query_proto_msgTypes[67].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QueryAllStructAttributeResponse); i { + switch v := v.(*QueryGetProviderRequest); i { case 0: return &v.state case 1: @@ -43232,7 +55196,7 @@ func file_structs_structs_query_proto_init() { } } file_structs_structs_query_proto_msgTypes[68].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QueryGetStructTypeRequest); i { + switch v := v.(*QueryGetProviderResponse); i { case 0: return &v.state case 1: @@ -43244,7 +55208,7 @@ func file_structs_structs_query_proto_init() { } } file_structs_structs_query_proto_msgTypes[69].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QueryGetStructTypeResponse); i { + switch v := v.(*QueryAllProviderRequest); i { case 0: return &v.state case 1: @@ -43256,7 +55220,7 @@ func file_structs_structs_query_proto_init() { } } file_structs_structs_query_proto_msgTypes[70].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QueryAllStructTypeRequest); i { + switch v := v.(*QueryAllProviderResponse); i { case 0: return &v.state case 1: @@ -43268,7 +55232,7 @@ func file_structs_structs_query_proto_init() { } } file_structs_structs_query_proto_msgTypes[71].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QueryAllStructTypeResponse); i { + switch v := v.(*QueryGetProviderCollateralAddressRequest); i { case 0: return &v.state case 1: @@ -43280,7 +55244,7 @@ func file_structs_structs_query_proto_init() { } } file_structs_structs_query_proto_msgTypes[72].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QueryGetSubstationRequest); i { + switch v := v.(*QueryAllProviderCollateralAddressRequest); i { case 0: return &v.state case 1: @@ -43292,7 +55256,7 @@ func file_structs_structs_query_proto_init() { } } file_structs_structs_query_proto_msgTypes[73].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QueryGetSubstationResponse); i { + switch v := v.(*QueryAllProviderCollateralAddressResponse); i { case 0: return &v.state case 1: @@ -43304,7 +55268,7 @@ func file_structs_structs_query_proto_init() { } } file_structs_structs_query_proto_msgTypes[74].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QueryAllSubstationRequest); i { + switch v := v.(*QueryGetProviderByCollateralAddressRequest); i { case 0: return &v.state case 1: @@ -43316,7 +55280,7 @@ func file_structs_structs_query_proto_init() { } } file_structs_structs_query_proto_msgTypes[75].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QueryAllSubstationResponse); i { + switch v := v.(*QueryGetProviderEarningsAddressRequest); i { case 0: return &v.state case 1: @@ -43328,7 +55292,7 @@ func file_structs_structs_query_proto_init() { } } file_structs_structs_query_proto_msgTypes[76].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*QueryValidateSignatureRequest); i { + switch v := v.(*QueryAllProviderEarningsAddressRequest); i { case 0: return &v.state case 1: @@ -43340,6 +55304,282 @@ func file_structs_structs_query_proto_init() { } } file_structs_structs_query_proto_msgTypes[77].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*QueryAllProviderEarningsAddressResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_structs_structs_query_proto_msgTypes[78].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*QueryGetProviderByEarningsAddressRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_structs_structs_query_proto_msgTypes[79].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*QueryGetReactorRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_structs_structs_query_proto_msgTypes[80].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*QueryGetReactorResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_structs_structs_query_proto_msgTypes[81].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*QueryAllReactorRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_structs_structs_query_proto_msgTypes[82].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*QueryAllReactorResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_structs_structs_query_proto_msgTypes[83].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*QueryGetStructRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_structs_structs_query_proto_msgTypes[84].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*QueryGetStructResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_structs_structs_query_proto_msgTypes[85].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*QueryAllStructRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_structs_structs_query_proto_msgTypes[86].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*QueryAllStructResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_structs_structs_query_proto_msgTypes[87].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*QueryGetStructAttributeRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_structs_structs_query_proto_msgTypes[88].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*QueryGetStructAttributeResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_structs_structs_query_proto_msgTypes[89].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*QueryAllStructAttributeRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_structs_structs_query_proto_msgTypes[90].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*QueryAllStructAttributeResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_structs_structs_query_proto_msgTypes[91].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*QueryGetStructTypeRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_structs_structs_query_proto_msgTypes[92].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*QueryGetStructTypeResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_structs_structs_query_proto_msgTypes[93].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*QueryAllStructTypeRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_structs_structs_query_proto_msgTypes[94].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*QueryAllStructTypeResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_structs_structs_query_proto_msgTypes[95].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*QueryGetSubstationRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_structs_structs_query_proto_msgTypes[96].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*QueryGetSubstationResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_structs_structs_query_proto_msgTypes[97].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*QueryAllSubstationRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_structs_structs_query_proto_msgTypes[98].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*QueryAllSubstationResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_structs_structs_query_proto_msgTypes[99].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*QueryValidateSignatureRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_structs_structs_query_proto_msgTypes[100].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*QueryValidateSignatureResponse); i { case 0: return &v.state @@ -43358,7 +55598,7 @@ func file_structs_structs_query_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_structs_structs_query_proto_rawDesc, NumEnums: 0, - NumMessages: 78, + NumMessages: 101, NumExtensions: 0, NumServices: 1, }, diff --git a/api/structs/structs/query_grpc.pb.go b/api/structs/structs/query_grpc.pb.go index a1b6130d..eddd3f1a 100644 --- a/api/structs/structs/query_grpc.pb.go +++ b/api/structs/structs/query_grpc.pb.go @@ -24,6 +24,9 @@ const ( Query_Address_FullMethodName = "/structs.structs.Query/Address" Query_AddressAll_FullMethodName = "/structs.structs.Query/AddressAll" Query_AddressAllByPlayer_FullMethodName = "/structs.structs.Query/AddressAllByPlayer" + Query_Agreement_FullMethodName = "/structs.structs.Query/Agreement" + Query_AgreementAll_FullMethodName = "/structs.structs.Query/AgreementAll" + Query_AgreementAllByProvider_FullMethodName = "/structs.structs.Query/AgreementAllByProvider" Query_Allocation_FullMethodName = "/structs.structs.Query/Allocation" Query_AllocationAll_FullMethodName = "/structs.structs.Query/AllocationAll" Query_AllocationAllBySource_FullMethodName = "/structs.structs.Query/AllocationAllBySource" @@ -35,6 +38,8 @@ const ( Query_GridAll_FullMethodName = "/structs.structs.Query/GridAll" Query_Guild_FullMethodName = "/structs.structs.Query/Guild" Query_GuildAll_FullMethodName = "/structs.structs.Query/GuildAll" + Query_GuildBankCollateralAddress_FullMethodName = "/structs.structs.Query/GuildBankCollateralAddress" + Query_GuildBankCollateralAddressAll_FullMethodName = "/structs.structs.Query/GuildBankCollateralAddressAll" Query_GuildMembershipApplication_FullMethodName = "/structs.structs.Query/GuildMembershipApplication" Query_GuildMembershipApplicationAll_FullMethodName = "/structs.structs.Query/GuildMembershipApplicationAll" Query_Infusion_FullMethodName = "/structs.structs.Query/Infusion" @@ -46,11 +51,18 @@ const ( Query_PermissionAll_FullMethodName = "/structs.structs.Query/PermissionAll" Query_Player_FullMethodName = "/structs.structs.Query/Player" Query_PlayerAll_FullMethodName = "/structs.structs.Query/PlayerAll" + Query_PlayerHaltedAll_FullMethodName = "/structs.structs.Query/PlayerHaltedAll" Query_Planet_FullMethodName = "/structs.structs.Query/Planet" Query_PlanetAll_FullMethodName = "/structs.structs.Query/PlanetAll" Query_PlanetAllByPlayer_FullMethodName = "/structs.structs.Query/PlanetAllByPlayer" Query_PlanetAttribute_FullMethodName = "/structs.structs.Query/PlanetAttribute" Query_PlanetAttributeAll_FullMethodName = "/structs.structs.Query/PlanetAttributeAll" + Query_Provider_FullMethodName = "/structs.structs.Query/Provider" + Query_ProviderAll_FullMethodName = "/structs.structs.Query/ProviderAll" + Query_ProviderCollateralAddress_FullMethodName = "/structs.structs.Query/ProviderCollateralAddress" + Query_ProviderCollateralAddressAll_FullMethodName = "/structs.structs.Query/ProviderCollateralAddressAll" + Query_ProviderEarningsAddress_FullMethodName = "/structs.structs.Query/ProviderEarningsAddress" + Query_ProviderEarningsAddressAll_FullMethodName = "/structs.structs.Query/ProviderEarningsAddressAll" Query_Reactor_FullMethodName = "/structs.structs.Query/Reactor" Query_ReactorAll_FullMethodName = "/structs.structs.Query/ReactorAll" Query_Struct_FullMethodName = "/structs.structs.Query/Struct" @@ -75,6 +87,10 @@ type QueryClient interface { Address(ctx context.Context, in *QueryGetAddressRequest, opts ...grpc.CallOption) (*QueryAddressResponse, error) AddressAll(ctx context.Context, in *QueryAllAddressRequest, opts ...grpc.CallOption) (*QueryAllAddressResponse, error) AddressAllByPlayer(ctx context.Context, in *QueryAllAddressByPlayerRequest, opts ...grpc.CallOption) (*QueryAllAddressResponse, error) + // Queries a list of Agreement items. + Agreement(ctx context.Context, in *QueryGetAgreementRequest, opts ...grpc.CallOption) (*QueryGetAgreementResponse, error) + AgreementAll(ctx context.Context, in *QueryAllAgreementRequest, opts ...grpc.CallOption) (*QueryAllAgreementResponse, error) + AgreementAllByProvider(ctx context.Context, in *QueryAllAgreementByProviderRequest, opts ...grpc.CallOption) (*QueryAllAgreementResponse, error) // Queries a list of Allocation items. Allocation(ctx context.Context, in *QueryGetAllocationRequest, opts ...grpc.CallOption) (*QueryGetAllocationResponse, error) AllocationAll(ctx context.Context, in *QueryAllAllocationRequest, opts ...grpc.CallOption) (*QueryAllAllocationResponse, error) @@ -91,6 +107,8 @@ type QueryClient interface { // Queries a list of Guild items. Guild(ctx context.Context, in *QueryGetGuildRequest, opts ...grpc.CallOption) (*QueryGetGuildResponse, error) GuildAll(ctx context.Context, in *QueryAllGuildRequest, opts ...grpc.CallOption) (*QueryAllGuildResponse, error) + GuildBankCollateralAddress(ctx context.Context, in *QueryGetGuildBankCollateralAddressRequest, opts ...grpc.CallOption) (*QueryAllGuildBankCollateralAddressResponse, error) + GuildBankCollateralAddressAll(ctx context.Context, in *QueryAllGuildBankCollateralAddressRequest, opts ...grpc.CallOption) (*QueryAllGuildBankCollateralAddressResponse, error) GuildMembershipApplication(ctx context.Context, in *QueryGetGuildMembershipApplicationRequest, opts ...grpc.CallOption) (*QueryGetGuildMembershipApplicationResponse, error) GuildMembershipApplicationAll(ctx context.Context, in *QueryAllGuildMembershipApplicationRequest, opts ...grpc.CallOption) (*QueryAllGuildMembershipApplicationResponse, error) // Queries a list of Infusions. @@ -108,6 +126,7 @@ type QueryClient interface { // Queries a list of Player items. Player(ctx context.Context, in *QueryGetPlayerRequest, opts ...grpc.CallOption) (*QueryGetPlayerResponse, error) PlayerAll(ctx context.Context, in *QueryAllPlayerRequest, opts ...grpc.CallOption) (*QueryAllPlayerResponse, error) + PlayerHaltedAll(ctx context.Context, in *QueryAllPlayerHaltedRequest, opts ...grpc.CallOption) (*QueryAllPlayerHaltedResponse, error) // Queries a list of Planet items. Planet(ctx context.Context, in *QueryGetPlanetRequest, opts ...grpc.CallOption) (*QueryGetPlanetResponse, error) PlanetAll(ctx context.Context, in *QueryAllPlanetRequest, opts ...grpc.CallOption) (*QueryAllPlanetResponse, error) @@ -115,6 +134,17 @@ type QueryClient interface { PlanetAttribute(ctx context.Context, in *QueryGetPlanetAttributeRequest, opts ...grpc.CallOption) (*QueryGetPlanetAttributeResponse, error) // Queries a list of all Planet Attributes PlanetAttributeAll(ctx context.Context, in *QueryAllPlanetAttributeRequest, opts ...grpc.CallOption) (*QueryAllPlanetAttributeResponse, error) + // Queries a list of Allocation items. + Provider(ctx context.Context, in *QueryGetProviderRequest, opts ...grpc.CallOption) (*QueryGetProviderResponse, error) + ProviderAll(ctx context.Context, in *QueryAllProviderRequest, opts ...grpc.CallOption) (*QueryAllProviderResponse, error) + ProviderCollateralAddress(ctx context.Context, in *QueryGetProviderCollateralAddressRequest, opts ...grpc.CallOption) (*QueryAllProviderCollateralAddressResponse, error) + ProviderCollateralAddressAll(ctx context.Context, in *QueryAllProviderCollateralAddressRequest, opts ...grpc.CallOption) (*QueryAllProviderCollateralAddressResponse, error) + // TODO Requires a lookup table that I don't know if we care about + // rpc ProviderByCollateralAddress (QueryGetProviderByCollateralAddressRequest) returns (QueryGetProviderResponse) { + // option (google.api.http).get = "/structs/provider_by_collateral_address/{address}"; + // } + ProviderEarningsAddress(ctx context.Context, in *QueryGetProviderEarningsAddressRequest, opts ...grpc.CallOption) (*QueryAllProviderEarningsAddressResponse, error) + ProviderEarningsAddressAll(ctx context.Context, in *QueryAllProviderEarningsAddressRequest, opts ...grpc.CallOption) (*QueryAllProviderEarningsAddressResponse, error) // Queries a list of Reactor items. Reactor(ctx context.Context, in *QueryGetReactorRequest, opts ...grpc.CallOption) (*QueryGetReactorResponse, error) ReactorAll(ctx context.Context, in *QueryAllReactorRequest, opts ...grpc.CallOption) (*QueryAllReactorResponse, error) @@ -186,6 +216,33 @@ func (c *queryClient) AddressAllByPlayer(ctx context.Context, in *QueryAllAddres return out, nil } +func (c *queryClient) Agreement(ctx context.Context, in *QueryGetAgreementRequest, opts ...grpc.CallOption) (*QueryGetAgreementResponse, error) { + out := new(QueryGetAgreementResponse) + err := c.cc.Invoke(ctx, Query_Agreement_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryClient) AgreementAll(ctx context.Context, in *QueryAllAgreementRequest, opts ...grpc.CallOption) (*QueryAllAgreementResponse, error) { + out := new(QueryAllAgreementResponse) + err := c.cc.Invoke(ctx, Query_AgreementAll_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryClient) AgreementAllByProvider(ctx context.Context, in *QueryAllAgreementByProviderRequest, opts ...grpc.CallOption) (*QueryAllAgreementResponse, error) { + out := new(QueryAllAgreementResponse) + err := c.cc.Invoke(ctx, Query_AgreementAllByProvider_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + func (c *queryClient) Allocation(ctx context.Context, in *QueryGetAllocationRequest, opts ...grpc.CallOption) (*QueryGetAllocationResponse, error) { out := new(QueryGetAllocationResponse) err := c.cc.Invoke(ctx, Query_Allocation_FullMethodName, in, out, opts...) @@ -285,6 +342,24 @@ func (c *queryClient) GuildAll(ctx context.Context, in *QueryAllGuildRequest, op return out, nil } +func (c *queryClient) GuildBankCollateralAddress(ctx context.Context, in *QueryGetGuildBankCollateralAddressRequest, opts ...grpc.CallOption) (*QueryAllGuildBankCollateralAddressResponse, error) { + out := new(QueryAllGuildBankCollateralAddressResponse) + err := c.cc.Invoke(ctx, Query_GuildBankCollateralAddress_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryClient) GuildBankCollateralAddressAll(ctx context.Context, in *QueryAllGuildBankCollateralAddressRequest, opts ...grpc.CallOption) (*QueryAllGuildBankCollateralAddressResponse, error) { + out := new(QueryAllGuildBankCollateralAddressResponse) + err := c.cc.Invoke(ctx, Query_GuildBankCollateralAddressAll_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + func (c *queryClient) GuildMembershipApplication(ctx context.Context, in *QueryGetGuildMembershipApplicationRequest, opts ...grpc.CallOption) (*QueryGetGuildMembershipApplicationResponse, error) { out := new(QueryGetGuildMembershipApplicationResponse) err := c.cc.Invoke(ctx, Query_GuildMembershipApplication_FullMethodName, in, out, opts...) @@ -384,6 +459,15 @@ func (c *queryClient) PlayerAll(ctx context.Context, in *QueryAllPlayerRequest, return out, nil } +func (c *queryClient) PlayerHaltedAll(ctx context.Context, in *QueryAllPlayerHaltedRequest, opts ...grpc.CallOption) (*QueryAllPlayerHaltedResponse, error) { + out := new(QueryAllPlayerHaltedResponse) + err := c.cc.Invoke(ctx, Query_PlayerHaltedAll_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + func (c *queryClient) Planet(ctx context.Context, in *QueryGetPlanetRequest, opts ...grpc.CallOption) (*QueryGetPlanetResponse, error) { out := new(QueryGetPlanetResponse) err := c.cc.Invoke(ctx, Query_Planet_FullMethodName, in, out, opts...) @@ -429,6 +513,60 @@ func (c *queryClient) PlanetAttributeAll(ctx context.Context, in *QueryAllPlanet return out, nil } +func (c *queryClient) Provider(ctx context.Context, in *QueryGetProviderRequest, opts ...grpc.CallOption) (*QueryGetProviderResponse, error) { + out := new(QueryGetProviderResponse) + err := c.cc.Invoke(ctx, Query_Provider_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryClient) ProviderAll(ctx context.Context, in *QueryAllProviderRequest, opts ...grpc.CallOption) (*QueryAllProviderResponse, error) { + out := new(QueryAllProviderResponse) + err := c.cc.Invoke(ctx, Query_ProviderAll_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryClient) ProviderCollateralAddress(ctx context.Context, in *QueryGetProviderCollateralAddressRequest, opts ...grpc.CallOption) (*QueryAllProviderCollateralAddressResponse, error) { + out := new(QueryAllProviderCollateralAddressResponse) + err := c.cc.Invoke(ctx, Query_ProviderCollateralAddress_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryClient) ProviderCollateralAddressAll(ctx context.Context, in *QueryAllProviderCollateralAddressRequest, opts ...grpc.CallOption) (*QueryAllProviderCollateralAddressResponse, error) { + out := new(QueryAllProviderCollateralAddressResponse) + err := c.cc.Invoke(ctx, Query_ProviderCollateralAddressAll_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryClient) ProviderEarningsAddress(ctx context.Context, in *QueryGetProviderEarningsAddressRequest, opts ...grpc.CallOption) (*QueryAllProviderEarningsAddressResponse, error) { + out := new(QueryAllProviderEarningsAddressResponse) + err := c.cc.Invoke(ctx, Query_ProviderEarningsAddress_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryClient) ProviderEarningsAddressAll(ctx context.Context, in *QueryAllProviderEarningsAddressRequest, opts ...grpc.CallOption) (*QueryAllProviderEarningsAddressResponse, error) { + out := new(QueryAllProviderEarningsAddressResponse) + err := c.cc.Invoke(ctx, Query_ProviderEarningsAddressAll_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + func (c *queryClient) Reactor(ctx context.Context, in *QueryGetReactorRequest, opts ...grpc.CallOption) (*QueryGetReactorResponse, error) { out := new(QueryGetReactorResponse) err := c.cc.Invoke(ctx, Query_Reactor_FullMethodName, in, out, opts...) @@ -539,6 +677,10 @@ type QueryServer interface { Address(context.Context, *QueryGetAddressRequest) (*QueryAddressResponse, error) AddressAll(context.Context, *QueryAllAddressRequest) (*QueryAllAddressResponse, error) AddressAllByPlayer(context.Context, *QueryAllAddressByPlayerRequest) (*QueryAllAddressResponse, error) + // Queries a list of Agreement items. + Agreement(context.Context, *QueryGetAgreementRequest) (*QueryGetAgreementResponse, error) + AgreementAll(context.Context, *QueryAllAgreementRequest) (*QueryAllAgreementResponse, error) + AgreementAllByProvider(context.Context, *QueryAllAgreementByProviderRequest) (*QueryAllAgreementResponse, error) // Queries a list of Allocation items. Allocation(context.Context, *QueryGetAllocationRequest) (*QueryGetAllocationResponse, error) AllocationAll(context.Context, *QueryAllAllocationRequest) (*QueryAllAllocationResponse, error) @@ -555,6 +697,8 @@ type QueryServer interface { // Queries a list of Guild items. Guild(context.Context, *QueryGetGuildRequest) (*QueryGetGuildResponse, error) GuildAll(context.Context, *QueryAllGuildRequest) (*QueryAllGuildResponse, error) + GuildBankCollateralAddress(context.Context, *QueryGetGuildBankCollateralAddressRequest) (*QueryAllGuildBankCollateralAddressResponse, error) + GuildBankCollateralAddressAll(context.Context, *QueryAllGuildBankCollateralAddressRequest) (*QueryAllGuildBankCollateralAddressResponse, error) GuildMembershipApplication(context.Context, *QueryGetGuildMembershipApplicationRequest) (*QueryGetGuildMembershipApplicationResponse, error) GuildMembershipApplicationAll(context.Context, *QueryAllGuildMembershipApplicationRequest) (*QueryAllGuildMembershipApplicationResponse, error) // Queries a list of Infusions. @@ -572,6 +716,7 @@ type QueryServer interface { // Queries a list of Player items. Player(context.Context, *QueryGetPlayerRequest) (*QueryGetPlayerResponse, error) PlayerAll(context.Context, *QueryAllPlayerRequest) (*QueryAllPlayerResponse, error) + PlayerHaltedAll(context.Context, *QueryAllPlayerHaltedRequest) (*QueryAllPlayerHaltedResponse, error) // Queries a list of Planet items. Planet(context.Context, *QueryGetPlanetRequest) (*QueryGetPlanetResponse, error) PlanetAll(context.Context, *QueryAllPlanetRequest) (*QueryAllPlanetResponse, error) @@ -579,6 +724,17 @@ type QueryServer interface { PlanetAttribute(context.Context, *QueryGetPlanetAttributeRequest) (*QueryGetPlanetAttributeResponse, error) // Queries a list of all Planet Attributes PlanetAttributeAll(context.Context, *QueryAllPlanetAttributeRequest) (*QueryAllPlanetAttributeResponse, error) + // Queries a list of Allocation items. + Provider(context.Context, *QueryGetProviderRequest) (*QueryGetProviderResponse, error) + ProviderAll(context.Context, *QueryAllProviderRequest) (*QueryAllProviderResponse, error) + ProviderCollateralAddress(context.Context, *QueryGetProviderCollateralAddressRequest) (*QueryAllProviderCollateralAddressResponse, error) + ProviderCollateralAddressAll(context.Context, *QueryAllProviderCollateralAddressRequest) (*QueryAllProviderCollateralAddressResponse, error) + // TODO Requires a lookup table that I don't know if we care about + // rpc ProviderByCollateralAddress (QueryGetProviderByCollateralAddressRequest) returns (QueryGetProviderResponse) { + // option (google.api.http).get = "/structs/provider_by_collateral_address/{address}"; + // } + ProviderEarningsAddress(context.Context, *QueryGetProviderEarningsAddressRequest) (*QueryAllProviderEarningsAddressResponse, error) + ProviderEarningsAddressAll(context.Context, *QueryAllProviderEarningsAddressRequest) (*QueryAllProviderEarningsAddressResponse, error) // Queries a list of Reactor items. Reactor(context.Context, *QueryGetReactorRequest) (*QueryGetReactorResponse, error) ReactorAll(context.Context, *QueryAllReactorRequest) (*QueryAllReactorResponse, error) @@ -617,6 +773,15 @@ func (UnimplementedQueryServer) AddressAll(context.Context, *QueryAllAddressRequ func (UnimplementedQueryServer) AddressAllByPlayer(context.Context, *QueryAllAddressByPlayerRequest) (*QueryAllAddressResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method AddressAllByPlayer not implemented") } +func (UnimplementedQueryServer) Agreement(context.Context, *QueryGetAgreementRequest) (*QueryGetAgreementResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method Agreement not implemented") +} +func (UnimplementedQueryServer) AgreementAll(context.Context, *QueryAllAgreementRequest) (*QueryAllAgreementResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method AgreementAll not implemented") +} +func (UnimplementedQueryServer) AgreementAllByProvider(context.Context, *QueryAllAgreementByProviderRequest) (*QueryAllAgreementResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method AgreementAllByProvider not implemented") +} func (UnimplementedQueryServer) Allocation(context.Context, *QueryGetAllocationRequest) (*QueryGetAllocationResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method Allocation not implemented") } @@ -650,6 +815,12 @@ func (UnimplementedQueryServer) Guild(context.Context, *QueryGetGuildRequest) (* func (UnimplementedQueryServer) GuildAll(context.Context, *QueryAllGuildRequest) (*QueryAllGuildResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GuildAll not implemented") } +func (UnimplementedQueryServer) GuildBankCollateralAddress(context.Context, *QueryGetGuildBankCollateralAddressRequest) (*QueryAllGuildBankCollateralAddressResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GuildBankCollateralAddress not implemented") +} +func (UnimplementedQueryServer) GuildBankCollateralAddressAll(context.Context, *QueryAllGuildBankCollateralAddressRequest) (*QueryAllGuildBankCollateralAddressResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GuildBankCollateralAddressAll not implemented") +} func (UnimplementedQueryServer) GuildMembershipApplication(context.Context, *QueryGetGuildMembershipApplicationRequest) (*QueryGetGuildMembershipApplicationResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GuildMembershipApplication not implemented") } @@ -683,6 +854,9 @@ func (UnimplementedQueryServer) Player(context.Context, *QueryGetPlayerRequest) func (UnimplementedQueryServer) PlayerAll(context.Context, *QueryAllPlayerRequest) (*QueryAllPlayerResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method PlayerAll not implemented") } +func (UnimplementedQueryServer) PlayerHaltedAll(context.Context, *QueryAllPlayerHaltedRequest) (*QueryAllPlayerHaltedResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method PlayerHaltedAll not implemented") +} func (UnimplementedQueryServer) Planet(context.Context, *QueryGetPlanetRequest) (*QueryGetPlanetResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method Planet not implemented") } @@ -698,6 +872,24 @@ func (UnimplementedQueryServer) PlanetAttribute(context.Context, *QueryGetPlanet func (UnimplementedQueryServer) PlanetAttributeAll(context.Context, *QueryAllPlanetAttributeRequest) (*QueryAllPlanetAttributeResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method PlanetAttributeAll not implemented") } +func (UnimplementedQueryServer) Provider(context.Context, *QueryGetProviderRequest) (*QueryGetProviderResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method Provider not implemented") +} +func (UnimplementedQueryServer) ProviderAll(context.Context, *QueryAllProviderRequest) (*QueryAllProviderResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ProviderAll not implemented") +} +func (UnimplementedQueryServer) ProviderCollateralAddress(context.Context, *QueryGetProviderCollateralAddressRequest) (*QueryAllProviderCollateralAddressResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ProviderCollateralAddress not implemented") +} +func (UnimplementedQueryServer) ProviderCollateralAddressAll(context.Context, *QueryAllProviderCollateralAddressRequest) (*QueryAllProviderCollateralAddressResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ProviderCollateralAddressAll not implemented") +} +func (UnimplementedQueryServer) ProviderEarningsAddress(context.Context, *QueryGetProviderEarningsAddressRequest) (*QueryAllProviderEarningsAddressResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ProviderEarningsAddress not implemented") +} +func (UnimplementedQueryServer) ProviderEarningsAddressAll(context.Context, *QueryAllProviderEarningsAddressRequest) (*QueryAllProviderEarningsAddressResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ProviderEarningsAddressAll not implemented") +} func (UnimplementedQueryServer) Reactor(context.Context, *QueryGetReactorRequest) (*QueryGetReactorResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method Reactor not implemented") } @@ -834,6 +1026,60 @@ func _Query_AddressAllByPlayer_Handler(srv interface{}, ctx context.Context, dec return interceptor(ctx, in, info, handler) } +func _Query_Agreement_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(QueryGetAgreementRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServer).Agreement(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: Query_Agreement_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServer).Agreement(ctx, req.(*QueryGetAgreementRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _Query_AgreementAll_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(QueryAllAgreementRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServer).AgreementAll(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: Query_AgreementAll_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServer).AgreementAll(ctx, req.(*QueryAllAgreementRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _Query_AgreementAllByProvider_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(QueryAllAgreementByProviderRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServer).AgreementAllByProvider(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: Query_AgreementAllByProvider_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServer).AgreementAllByProvider(ctx, req.(*QueryAllAgreementByProviderRequest)) + } + return interceptor(ctx, in, info, handler) +} + func _Query_Allocation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(QueryGetAllocationRequest) if err := dec(in); err != nil { @@ -1032,6 +1278,42 @@ func _Query_GuildAll_Handler(srv interface{}, ctx context.Context, dec func(inte return interceptor(ctx, in, info, handler) } +func _Query_GuildBankCollateralAddress_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(QueryGetGuildBankCollateralAddressRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServer).GuildBankCollateralAddress(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: Query_GuildBankCollateralAddress_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServer).GuildBankCollateralAddress(ctx, req.(*QueryGetGuildBankCollateralAddressRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _Query_GuildBankCollateralAddressAll_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(QueryAllGuildBankCollateralAddressRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServer).GuildBankCollateralAddressAll(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: Query_GuildBankCollateralAddressAll_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServer).GuildBankCollateralAddressAll(ctx, req.(*QueryAllGuildBankCollateralAddressRequest)) + } + return interceptor(ctx, in, info, handler) +} + func _Query_GuildMembershipApplication_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(QueryGetGuildMembershipApplicationRequest) if err := dec(in); err != nil { @@ -1230,6 +1512,24 @@ func _Query_PlayerAll_Handler(srv interface{}, ctx context.Context, dec func(int return interceptor(ctx, in, info, handler) } +func _Query_PlayerHaltedAll_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(QueryAllPlayerHaltedRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServer).PlayerHaltedAll(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: Query_PlayerHaltedAll_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServer).PlayerHaltedAll(ctx, req.(*QueryAllPlayerHaltedRequest)) + } + return interceptor(ctx, in, info, handler) +} + func _Query_Planet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(QueryGetPlanetRequest) if err := dec(in); err != nil { @@ -1320,6 +1620,114 @@ func _Query_PlanetAttributeAll_Handler(srv interface{}, ctx context.Context, dec return interceptor(ctx, in, info, handler) } +func _Query_Provider_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(QueryGetProviderRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServer).Provider(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: Query_Provider_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServer).Provider(ctx, req.(*QueryGetProviderRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _Query_ProviderAll_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(QueryAllProviderRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServer).ProviderAll(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: Query_ProviderAll_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServer).ProviderAll(ctx, req.(*QueryAllProviderRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _Query_ProviderCollateralAddress_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(QueryGetProviderCollateralAddressRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServer).ProviderCollateralAddress(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: Query_ProviderCollateralAddress_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServer).ProviderCollateralAddress(ctx, req.(*QueryGetProviderCollateralAddressRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _Query_ProviderCollateralAddressAll_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(QueryAllProviderCollateralAddressRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServer).ProviderCollateralAddressAll(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: Query_ProviderCollateralAddressAll_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServer).ProviderCollateralAddressAll(ctx, req.(*QueryAllProviderCollateralAddressRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _Query_ProviderEarningsAddress_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(QueryGetProviderEarningsAddressRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServer).ProviderEarningsAddress(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: Query_ProviderEarningsAddress_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServer).ProviderEarningsAddress(ctx, req.(*QueryGetProviderEarningsAddressRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _Query_ProviderEarningsAddressAll_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(QueryAllProviderEarningsAddressRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServer).ProviderEarningsAddressAll(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: Query_ProviderEarningsAddressAll_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServer).ProviderEarningsAddressAll(ctx, req.(*QueryAllProviderEarningsAddressRequest)) + } + return interceptor(ctx, in, info, handler) +} + func _Query_Reactor_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(QueryGetReactorRequest) if err := dec(in); err != nil { @@ -1545,6 +1953,18 @@ var Query_ServiceDesc = grpc.ServiceDesc{ MethodName: "AddressAllByPlayer", Handler: _Query_AddressAllByPlayer_Handler, }, + { + MethodName: "Agreement", + Handler: _Query_Agreement_Handler, + }, + { + MethodName: "AgreementAll", + Handler: _Query_AgreementAll_Handler, + }, + { + MethodName: "AgreementAllByProvider", + Handler: _Query_AgreementAllByProvider_Handler, + }, { MethodName: "Allocation", Handler: _Query_Allocation_Handler, @@ -1589,6 +2009,14 @@ var Query_ServiceDesc = grpc.ServiceDesc{ MethodName: "GuildAll", Handler: _Query_GuildAll_Handler, }, + { + MethodName: "GuildBankCollateralAddress", + Handler: _Query_GuildBankCollateralAddress_Handler, + }, + { + MethodName: "GuildBankCollateralAddressAll", + Handler: _Query_GuildBankCollateralAddressAll_Handler, + }, { MethodName: "GuildMembershipApplication", Handler: _Query_GuildMembershipApplication_Handler, @@ -1633,6 +2061,10 @@ var Query_ServiceDesc = grpc.ServiceDesc{ MethodName: "PlayerAll", Handler: _Query_PlayerAll_Handler, }, + { + MethodName: "PlayerHaltedAll", + Handler: _Query_PlayerHaltedAll_Handler, + }, { MethodName: "Planet", Handler: _Query_Planet_Handler, @@ -1653,6 +2085,30 @@ var Query_ServiceDesc = grpc.ServiceDesc{ MethodName: "PlanetAttributeAll", Handler: _Query_PlanetAttributeAll_Handler, }, + { + MethodName: "Provider", + Handler: _Query_Provider_Handler, + }, + { + MethodName: "ProviderAll", + Handler: _Query_ProviderAll_Handler, + }, + { + MethodName: "ProviderCollateralAddress", + Handler: _Query_ProviderCollateralAddress_Handler, + }, + { + MethodName: "ProviderCollateralAddressAll", + Handler: _Query_ProviderCollateralAddressAll_Handler, + }, + { + MethodName: "ProviderEarningsAddress", + Handler: _Query_ProviderEarningsAddress_Handler, + }, + { + MethodName: "ProviderEarningsAddressAll", + Handler: _Query_ProviderEarningsAddressAll_Handler, + }, { MethodName: "Reactor", Handler: _Query_Reactor_Handler, diff --git a/api/structs/structs/tx.pulsar.go b/api/structs/structs/tx.pulsar.go index 7be1a18b..ff29dfa3 100644 --- a/api/structs/structs/tx.pulsar.go +++ b/api/structs/structs/tx.pulsar.go @@ -3,6 +3,7 @@ package structs import ( _ "cosmossdk.io/api/amino" + v1beta1 "cosmossdk.io/api/cosmos/base/v1beta1" _ "cosmossdk.io/api/cosmos/msg/v1" fmt "fmt" _ "github.com/cosmos/cosmos-proto" @@ -7663,29 +7664,29 @@ func (x *fastReflection_MsgFleetMoveResponse) ProtoMethods() *protoiface.Methods } var ( - md_MsgGuildCreate protoreflect.MessageDescriptor - fd_MsgGuildCreate_creator protoreflect.FieldDescriptor - fd_MsgGuildCreate_endpoint protoreflect.FieldDescriptor - fd_MsgGuildCreate_entrySubstationId protoreflect.FieldDescriptor + md_MsgGuildBankMint protoreflect.MessageDescriptor + fd_MsgGuildBankMint_creator protoreflect.FieldDescriptor + fd_MsgGuildBankMint_amountAlpha protoreflect.FieldDescriptor + fd_MsgGuildBankMint_amountToken protoreflect.FieldDescriptor ) func init() { file_structs_structs_tx_proto_init() - md_MsgGuildCreate = File_structs_structs_tx_proto.Messages().ByName("MsgGuildCreate") - fd_MsgGuildCreate_creator = md_MsgGuildCreate.Fields().ByName("creator") - fd_MsgGuildCreate_endpoint = md_MsgGuildCreate.Fields().ByName("endpoint") - fd_MsgGuildCreate_entrySubstationId = md_MsgGuildCreate.Fields().ByName("entrySubstationId") + md_MsgGuildBankMint = File_structs_structs_tx_proto.Messages().ByName("MsgGuildBankMint") + fd_MsgGuildBankMint_creator = md_MsgGuildBankMint.Fields().ByName("creator") + fd_MsgGuildBankMint_amountAlpha = md_MsgGuildBankMint.Fields().ByName("amountAlpha") + fd_MsgGuildBankMint_amountToken = md_MsgGuildBankMint.Fields().ByName("amountToken") } -var _ protoreflect.Message = (*fastReflection_MsgGuildCreate)(nil) +var _ protoreflect.Message = (*fastReflection_MsgGuildBankMint)(nil) -type fastReflection_MsgGuildCreate MsgGuildCreate +type fastReflection_MsgGuildBankMint MsgGuildBankMint -func (x *MsgGuildCreate) ProtoReflect() protoreflect.Message { - return (*fastReflection_MsgGuildCreate)(x) +func (x *MsgGuildBankMint) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgGuildBankMint)(x) } -func (x *MsgGuildCreate) slowProtoReflect() protoreflect.Message { +func (x *MsgGuildBankMint) slowProtoReflect() protoreflect.Message { mi := &file_structs_structs_tx_proto_msgTypes[16] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -7697,43 +7698,43 @@ func (x *MsgGuildCreate) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_MsgGuildCreate_messageType fastReflection_MsgGuildCreate_messageType -var _ protoreflect.MessageType = fastReflection_MsgGuildCreate_messageType{} +var _fastReflection_MsgGuildBankMint_messageType fastReflection_MsgGuildBankMint_messageType +var _ protoreflect.MessageType = fastReflection_MsgGuildBankMint_messageType{} -type fastReflection_MsgGuildCreate_messageType struct{} +type fastReflection_MsgGuildBankMint_messageType struct{} -func (x fastReflection_MsgGuildCreate_messageType) Zero() protoreflect.Message { - return (*fastReflection_MsgGuildCreate)(nil) +func (x fastReflection_MsgGuildBankMint_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgGuildBankMint)(nil) } -func (x fastReflection_MsgGuildCreate_messageType) New() protoreflect.Message { - return new(fastReflection_MsgGuildCreate) +func (x fastReflection_MsgGuildBankMint_messageType) New() protoreflect.Message { + return new(fastReflection_MsgGuildBankMint) } -func (x fastReflection_MsgGuildCreate_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_MsgGuildCreate +func (x fastReflection_MsgGuildBankMint_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgGuildBankMint } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_MsgGuildCreate) Descriptor() protoreflect.MessageDescriptor { - return md_MsgGuildCreate +func (x *fastReflection_MsgGuildBankMint) Descriptor() protoreflect.MessageDescriptor { + return md_MsgGuildBankMint } // 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_MsgGuildCreate) Type() protoreflect.MessageType { - return _fastReflection_MsgGuildCreate_messageType +func (x *fastReflection_MsgGuildBankMint) Type() protoreflect.MessageType { + return _fastReflection_MsgGuildBankMint_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_MsgGuildCreate) New() protoreflect.Message { - return new(fastReflection_MsgGuildCreate) +func (x *fastReflection_MsgGuildBankMint) New() protoreflect.Message { + return new(fastReflection_MsgGuildBankMint) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_MsgGuildCreate) Interface() protoreflect.ProtoMessage { - return (*MsgGuildCreate)(x) +func (x *fastReflection_MsgGuildBankMint) Interface() protoreflect.ProtoMessage { + return (*MsgGuildBankMint)(x) } // Range iterates over every populated field in an undefined order, @@ -7741,22 +7742,22 @@ func (x *fastReflection_MsgGuildCreate) Interface() protoreflect.ProtoMessage { // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_MsgGuildCreate) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +func (x *fastReflection_MsgGuildBankMint) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { if x.Creator != "" { value := protoreflect.ValueOfString(x.Creator) - if !f(fd_MsgGuildCreate_creator, value) { + if !f(fd_MsgGuildBankMint_creator, value) { return } } - if x.Endpoint != "" { - value := protoreflect.ValueOfString(x.Endpoint) - if !f(fd_MsgGuildCreate_endpoint, value) { + if x.AmountAlpha != uint64(0) { + value := protoreflect.ValueOfUint64(x.AmountAlpha) + if !f(fd_MsgGuildBankMint_amountAlpha, value) { return } } - if x.EntrySubstationId != "" { - value := protoreflect.ValueOfString(x.EntrySubstationId) - if !f(fd_MsgGuildCreate_entrySubstationId, value) { + if x.AmountToken != uint64(0) { + value := protoreflect.ValueOfUint64(x.AmountToken) + if !f(fd_MsgGuildBankMint_amountToken, value) { return } } @@ -7773,19 +7774,19 @@ func (x *fastReflection_MsgGuildCreate) Range(f func(protoreflect.FieldDescripto // 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_MsgGuildCreate) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_MsgGuildBankMint) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.MsgGuildCreate.creator": + case "structs.structs.MsgGuildBankMint.creator": return x.Creator != "" - case "structs.structs.MsgGuildCreate.endpoint": - return x.Endpoint != "" - case "structs.structs.MsgGuildCreate.entrySubstationId": - return x.EntrySubstationId != "" + case "structs.structs.MsgGuildBankMint.amountAlpha": + return x.AmountAlpha != uint64(0) + case "structs.structs.MsgGuildBankMint.amountToken": + return x.AmountToken != uint64(0) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildCreate")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildBankMint")) } - panic(fmt.Errorf("message structs.structs.MsgGuildCreate does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildBankMint does not contain field %s", fd.FullName())) } } @@ -7795,19 +7796,19 @@ func (x *fastReflection_MsgGuildCreate) Has(fd protoreflect.FieldDescriptor) boo // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgGuildCreate) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_MsgGuildBankMint) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.MsgGuildCreate.creator": + case "structs.structs.MsgGuildBankMint.creator": x.Creator = "" - case "structs.structs.MsgGuildCreate.endpoint": - x.Endpoint = "" - case "structs.structs.MsgGuildCreate.entrySubstationId": - x.EntrySubstationId = "" + case "structs.structs.MsgGuildBankMint.amountAlpha": + x.AmountAlpha = uint64(0) + case "structs.structs.MsgGuildBankMint.amountToken": + x.AmountToken = uint64(0) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildCreate")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildBankMint")) } - panic(fmt.Errorf("message structs.structs.MsgGuildCreate does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildBankMint does not contain field %s", fd.FullName())) } } @@ -7817,22 +7818,22 @@ func (x *fastReflection_MsgGuildCreate) Clear(fd protoreflect.FieldDescriptor) { // 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_MsgGuildCreate) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgGuildBankMint) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.MsgGuildCreate.creator": + case "structs.structs.MsgGuildBankMint.creator": value := x.Creator return protoreflect.ValueOfString(value) - case "structs.structs.MsgGuildCreate.endpoint": - value := x.Endpoint - return protoreflect.ValueOfString(value) - case "structs.structs.MsgGuildCreate.entrySubstationId": - value := x.EntrySubstationId - return protoreflect.ValueOfString(value) + case "structs.structs.MsgGuildBankMint.amountAlpha": + value := x.AmountAlpha + return protoreflect.ValueOfUint64(value) + case "structs.structs.MsgGuildBankMint.amountToken": + value := x.AmountToken + return protoreflect.ValueOfUint64(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildCreate")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildBankMint")) } - panic(fmt.Errorf("message structs.structs.MsgGuildCreate does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildBankMint does not contain field %s", descriptor.FullName())) } } @@ -7846,19 +7847,19 @@ func (x *fastReflection_MsgGuildCreate) Get(descriptor protoreflect.FieldDescrip // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgGuildCreate) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_MsgGuildBankMint) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.MsgGuildCreate.creator": + case "structs.structs.MsgGuildBankMint.creator": x.Creator = value.Interface().(string) - case "structs.structs.MsgGuildCreate.endpoint": - x.Endpoint = value.Interface().(string) - case "structs.structs.MsgGuildCreate.entrySubstationId": - x.EntrySubstationId = value.Interface().(string) + case "structs.structs.MsgGuildBankMint.amountAlpha": + x.AmountAlpha = value.Uint() + case "structs.structs.MsgGuildBankMint.amountToken": + x.AmountToken = value.Uint() default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildCreate")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildBankMint")) } - panic(fmt.Errorf("message structs.structs.MsgGuildCreate does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildBankMint does not contain field %s", fd.FullName())) } } @@ -7872,48 +7873,48 @@ func (x *fastReflection_MsgGuildCreate) Set(fd protoreflect.FieldDescriptor, val // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgGuildCreate) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgGuildBankMint) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.MsgGuildCreate.creator": - panic(fmt.Errorf("field creator of message structs.structs.MsgGuildCreate is not mutable")) - case "structs.structs.MsgGuildCreate.endpoint": - panic(fmt.Errorf("field endpoint of message structs.structs.MsgGuildCreate is not mutable")) - case "structs.structs.MsgGuildCreate.entrySubstationId": - panic(fmt.Errorf("field entrySubstationId of message structs.structs.MsgGuildCreate is not mutable")) + case "structs.structs.MsgGuildBankMint.creator": + panic(fmt.Errorf("field creator of message structs.structs.MsgGuildBankMint is not mutable")) + case "structs.structs.MsgGuildBankMint.amountAlpha": + panic(fmt.Errorf("field amountAlpha of message structs.structs.MsgGuildBankMint is not mutable")) + case "structs.structs.MsgGuildBankMint.amountToken": + panic(fmt.Errorf("field amountToken of message structs.structs.MsgGuildBankMint is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildCreate")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildBankMint")) } - panic(fmt.Errorf("message structs.structs.MsgGuildCreate does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildBankMint 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_MsgGuildCreate) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgGuildBankMint) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.MsgGuildCreate.creator": - return protoreflect.ValueOfString("") - case "structs.structs.MsgGuildCreate.endpoint": - return protoreflect.ValueOfString("") - case "structs.structs.MsgGuildCreate.entrySubstationId": + case "structs.structs.MsgGuildBankMint.creator": return protoreflect.ValueOfString("") + case "structs.structs.MsgGuildBankMint.amountAlpha": + return protoreflect.ValueOfUint64(uint64(0)) + case "structs.structs.MsgGuildBankMint.amountToken": + return protoreflect.ValueOfUint64(uint64(0)) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildCreate")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildBankMint")) } - panic(fmt.Errorf("message structs.structs.MsgGuildCreate does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildBankMint 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_MsgGuildCreate) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_MsgGuildBankMint) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgGuildCreate", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgGuildBankMint", d.FullName())) } panic("unreachable") } @@ -7921,7 +7922,7 @@ func (x *fastReflection_MsgGuildCreate) WhichOneof(d protoreflect.OneofDescripto // 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_MsgGuildCreate) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_MsgGuildBankMint) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -7932,7 +7933,7 @@ func (x *fastReflection_MsgGuildCreate) GetUnknown() protoreflect.RawFields { // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgGuildCreate) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_MsgGuildBankMint) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -7944,7 +7945,7 @@ func (x *fastReflection_MsgGuildCreate) SetUnknown(fields protoreflect.RawFields // 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_MsgGuildCreate) IsValid() bool { +func (x *fastReflection_MsgGuildBankMint) IsValid() bool { return x != nil } @@ -7954,9 +7955,9 @@ func (x *fastReflection_MsgGuildCreate) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_MsgGuildCreate) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_MsgGuildBankMint) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*MsgGuildCreate) + x := input.Message.Interface().(*MsgGuildBankMint) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -7972,13 +7973,11 @@ func (x *fastReflection_MsgGuildCreate) ProtoMethods() *protoiface.Methods { if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } - l = len(x.Endpoint) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) + if x.AmountAlpha != 0 { + n += 1 + runtime.Sov(uint64(x.AmountAlpha)) } - l = len(x.EntrySubstationId) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) + if x.AmountToken != 0 { + n += 1 + runtime.Sov(uint64(x.AmountToken)) } if x.unknownFields != nil { n += len(x.unknownFields) @@ -7990,7 +7989,7 @@ func (x *fastReflection_MsgGuildCreate) ProtoMethods() *protoiface.Methods { } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*MsgGuildCreate) + x := input.Message.Interface().(*MsgGuildBankMint) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -8009,19 +8008,15 @@ func (x *fastReflection_MsgGuildCreate) ProtoMethods() *protoiface.Methods { i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if len(x.EntrySubstationId) > 0 { - i -= len(x.EntrySubstationId) - copy(dAtA[i:], x.EntrySubstationId) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.EntrySubstationId))) + if x.AmountToken != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.AmountToken)) i-- - dAtA[i] = 0x1a + dAtA[i] = 0x18 } - if len(x.Endpoint) > 0 { - i -= len(x.Endpoint) - copy(dAtA[i:], x.Endpoint) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Endpoint))) + if x.AmountAlpha != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.AmountAlpha)) i-- - dAtA[i] = 0x12 + dAtA[i] = 0x10 } if len(x.Creator) > 0 { i -= len(x.Creator) @@ -8041,7 +8036,7 @@ func (x *fastReflection_MsgGuildCreate) ProtoMethods() *protoiface.Methods { }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*MsgGuildCreate) + x := input.Message.Interface().(*MsgGuildBankMint) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -8073,10 +8068,10 @@ func (x *fastReflection_MsgGuildCreate) ProtoMethods() *protoiface.Methods { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgGuildCreate: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgGuildBankMint: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgGuildCreate: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgGuildBankMint: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -8112,10 +8107,10 @@ func (x *fastReflection_MsgGuildCreate) ProtoMethods() *protoiface.Methods { x.Creator = 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 Endpoint", wireType) + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field AmountAlpha", wireType) } - var stringLen uint64 + x.AmountAlpha = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -8125,29 +8120,16 @@ func (x *fastReflection_MsgGuildCreate) ProtoMethods() *protoiface.Methods { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + x.AmountAlpha |= 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.Endpoint = 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 EntrySubstationId", wireType) + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field AmountToken", wireType) } - var stringLen uint64 + x.AmountToken = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -8157,24 +8139,11 @@ func (x *fastReflection_MsgGuildCreate) ProtoMethods() *protoiface.Methods { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + x.AmountToken |= 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.EntrySubstationId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex default: iNdEx = preIndex skippy, err := runtime.Skip(dAtA[iNdEx:]) @@ -8211,25 +8180,23 @@ func (x *fastReflection_MsgGuildCreate) ProtoMethods() *protoiface.Methods { } var ( - md_MsgGuildCreateResponse protoreflect.MessageDescriptor - fd_MsgGuildCreateResponse_guildId protoreflect.FieldDescriptor + md_MsgGuildBankMintResponse protoreflect.MessageDescriptor ) func init() { file_structs_structs_tx_proto_init() - md_MsgGuildCreateResponse = File_structs_structs_tx_proto.Messages().ByName("MsgGuildCreateResponse") - fd_MsgGuildCreateResponse_guildId = md_MsgGuildCreateResponse.Fields().ByName("guildId") + md_MsgGuildBankMintResponse = File_structs_structs_tx_proto.Messages().ByName("MsgGuildBankMintResponse") } -var _ protoreflect.Message = (*fastReflection_MsgGuildCreateResponse)(nil) +var _ protoreflect.Message = (*fastReflection_MsgGuildBankMintResponse)(nil) -type fastReflection_MsgGuildCreateResponse MsgGuildCreateResponse +type fastReflection_MsgGuildBankMintResponse MsgGuildBankMintResponse -func (x *MsgGuildCreateResponse) ProtoReflect() protoreflect.Message { - return (*fastReflection_MsgGuildCreateResponse)(x) +func (x *MsgGuildBankMintResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgGuildBankMintResponse)(x) } -func (x *MsgGuildCreateResponse) slowProtoReflect() protoreflect.Message { +func (x *MsgGuildBankMintResponse) slowProtoReflect() protoreflect.Message { mi := &file_structs_structs_tx_proto_msgTypes[17] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -8241,43 +8208,43 @@ func (x *MsgGuildCreateResponse) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_MsgGuildCreateResponse_messageType fastReflection_MsgGuildCreateResponse_messageType -var _ protoreflect.MessageType = fastReflection_MsgGuildCreateResponse_messageType{} +var _fastReflection_MsgGuildBankMintResponse_messageType fastReflection_MsgGuildBankMintResponse_messageType +var _ protoreflect.MessageType = fastReflection_MsgGuildBankMintResponse_messageType{} -type fastReflection_MsgGuildCreateResponse_messageType struct{} +type fastReflection_MsgGuildBankMintResponse_messageType struct{} -func (x fastReflection_MsgGuildCreateResponse_messageType) Zero() protoreflect.Message { - return (*fastReflection_MsgGuildCreateResponse)(nil) +func (x fastReflection_MsgGuildBankMintResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgGuildBankMintResponse)(nil) } -func (x fastReflection_MsgGuildCreateResponse_messageType) New() protoreflect.Message { - return new(fastReflection_MsgGuildCreateResponse) +func (x fastReflection_MsgGuildBankMintResponse_messageType) New() protoreflect.Message { + return new(fastReflection_MsgGuildBankMintResponse) } -func (x fastReflection_MsgGuildCreateResponse_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_MsgGuildCreateResponse +func (x fastReflection_MsgGuildBankMintResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgGuildBankMintResponse } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_MsgGuildCreateResponse) Descriptor() protoreflect.MessageDescriptor { - return md_MsgGuildCreateResponse +func (x *fastReflection_MsgGuildBankMintResponse) Descriptor() protoreflect.MessageDescriptor { + return md_MsgGuildBankMintResponse } // 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_MsgGuildCreateResponse) Type() protoreflect.MessageType { - return _fastReflection_MsgGuildCreateResponse_messageType +func (x *fastReflection_MsgGuildBankMintResponse) Type() protoreflect.MessageType { + return _fastReflection_MsgGuildBankMintResponse_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_MsgGuildCreateResponse) New() protoreflect.Message { - return new(fastReflection_MsgGuildCreateResponse) +func (x *fastReflection_MsgGuildBankMintResponse) New() protoreflect.Message { + return new(fastReflection_MsgGuildBankMintResponse) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_MsgGuildCreateResponse) Interface() protoreflect.ProtoMessage { - return (*MsgGuildCreateResponse)(x) +func (x *fastReflection_MsgGuildBankMintResponse) Interface() protoreflect.ProtoMessage { + return (*MsgGuildBankMintResponse)(x) } // Range iterates over every populated field in an undefined order, @@ -8285,13 +8252,7 @@ func (x *fastReflection_MsgGuildCreateResponse) Interface() protoreflect.ProtoMe // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_MsgGuildCreateResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.GuildId != "" { - value := protoreflect.ValueOfString(x.GuildId) - if !f(fd_MsgGuildCreateResponse_guildId, value) { - return - } - } +func (x *fastReflection_MsgGuildBankMintResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { } // Has reports whether a field is populated. @@ -8305,15 +8266,13 @@ func (x *fastReflection_MsgGuildCreateResponse) Range(f func(protoreflect.FieldD // 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_MsgGuildCreateResponse) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_MsgGuildBankMintResponse) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.MsgGuildCreateResponse.guildId": - return x.GuildId != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildCreateResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildBankMintResponse")) } - panic(fmt.Errorf("message structs.structs.MsgGuildCreateResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildBankMintResponse does not contain field %s", fd.FullName())) } } @@ -8323,15 +8282,13 @@ func (x *fastReflection_MsgGuildCreateResponse) Has(fd protoreflect.FieldDescrip // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgGuildCreateResponse) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_MsgGuildBankMintResponse) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.MsgGuildCreateResponse.guildId": - x.GuildId = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildCreateResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildBankMintResponse")) } - panic(fmt.Errorf("message structs.structs.MsgGuildCreateResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildBankMintResponse does not contain field %s", fd.FullName())) } } @@ -8341,16 +8298,13 @@ func (x *fastReflection_MsgGuildCreateResponse) Clear(fd protoreflect.FieldDescr // 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_MsgGuildCreateResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgGuildBankMintResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.MsgGuildCreateResponse.guildId": - value := x.GuildId - return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildCreateResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildBankMintResponse")) } - panic(fmt.Errorf("message structs.structs.MsgGuildCreateResponse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildBankMintResponse does not contain field %s", descriptor.FullName())) } } @@ -8364,15 +8318,13 @@ func (x *fastReflection_MsgGuildCreateResponse) Get(descriptor protoreflect.Fiel // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgGuildCreateResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_MsgGuildBankMintResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.MsgGuildCreateResponse.guildId": - x.GuildId = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildCreateResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildBankMintResponse")) } - panic(fmt.Errorf("message structs.structs.MsgGuildCreateResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildBankMintResponse does not contain field %s", fd.FullName())) } } @@ -8386,40 +8338,36 @@ func (x *fastReflection_MsgGuildCreateResponse) Set(fd protoreflect.FieldDescrip // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgGuildCreateResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgGuildBankMintResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.MsgGuildCreateResponse.guildId": - panic(fmt.Errorf("field guildId of message structs.structs.MsgGuildCreateResponse is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildCreateResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildBankMintResponse")) } - panic(fmt.Errorf("message structs.structs.MsgGuildCreateResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildBankMintResponse 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_MsgGuildCreateResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgGuildBankMintResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.MsgGuildCreateResponse.guildId": - return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildCreateResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildBankMintResponse")) } - panic(fmt.Errorf("message structs.structs.MsgGuildCreateResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildBankMintResponse 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_MsgGuildCreateResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_MsgGuildBankMintResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgGuildCreateResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgGuildBankMintResponse", d.FullName())) } panic("unreachable") } @@ -8427,7 +8375,7 @@ func (x *fastReflection_MsgGuildCreateResponse) WhichOneof(d protoreflect.OneofD // 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_MsgGuildCreateResponse) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_MsgGuildBankMintResponse) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -8438,7 +8386,7 @@ func (x *fastReflection_MsgGuildCreateResponse) GetUnknown() protoreflect.RawFie // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgGuildCreateResponse) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_MsgGuildBankMintResponse) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -8450,7 +8398,7 @@ func (x *fastReflection_MsgGuildCreateResponse) SetUnknown(fields protoreflect.R // 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_MsgGuildCreateResponse) IsValid() bool { +func (x *fastReflection_MsgGuildBankMintResponse) IsValid() bool { return x != nil } @@ -8460,9 +8408,9 @@ func (x *fastReflection_MsgGuildCreateResponse) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_MsgGuildCreateResponse) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_MsgGuildBankMintResponse) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*MsgGuildCreateResponse) + x := input.Message.Interface().(*MsgGuildBankMintResponse) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -8474,10 +8422,6 @@ func (x *fastReflection_MsgGuildCreateResponse) ProtoMethods() *protoiface.Metho var n int var l int _ = l - l = len(x.GuildId) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } if x.unknownFields != nil { n += len(x.unknownFields) } @@ -8488,7 +8432,7 @@ func (x *fastReflection_MsgGuildCreateResponse) ProtoMethods() *protoiface.Metho } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*MsgGuildCreateResponse) + x := input.Message.Interface().(*MsgGuildBankMintResponse) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -8507,13 +8451,6 @@ func (x *fastReflection_MsgGuildCreateResponse) ProtoMethods() *protoiface.Metho i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if len(x.GuildId) > 0 { - i -= len(x.GuildId) - copy(dAtA[i:], x.GuildId) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.GuildId))) - i-- - dAtA[i] = 0xa - } if input.Buf != nil { input.Buf = append(input.Buf, dAtA...) } else { @@ -8525,7 +8462,7 @@ func (x *fastReflection_MsgGuildCreateResponse) ProtoMethods() *protoiface.Metho }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*MsgGuildCreateResponse) + x := input.Message.Interface().(*MsgGuildBankMintResponse) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -8557,44 +8494,12 @@ func (x *fastReflection_MsgGuildCreateResponse) ProtoMethods() *protoiface.Metho fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgGuildCreateResponse: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgGuildBankMintResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgGuildCreateResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgGuildBankMintResponse: 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 GuildId", 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.GuildId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex default: iNdEx = preIndex skippy, err := runtime.Skip(dAtA[iNdEx:]) @@ -8631,29 +8536,27 @@ func (x *fastReflection_MsgGuildCreateResponse) ProtoMethods() *protoiface.Metho } var ( - md_MsgGuildUpdateOwnerId protoreflect.MessageDescriptor - fd_MsgGuildUpdateOwnerId_creator protoreflect.FieldDescriptor - fd_MsgGuildUpdateOwnerId_guildId protoreflect.FieldDescriptor - fd_MsgGuildUpdateOwnerId_owner protoreflect.FieldDescriptor + md_MsgGuildBankRedeem protoreflect.MessageDescriptor + fd_MsgGuildBankRedeem_creator protoreflect.FieldDescriptor + fd_MsgGuildBankRedeem_amountToken protoreflect.FieldDescriptor ) func init() { file_structs_structs_tx_proto_init() - md_MsgGuildUpdateOwnerId = File_structs_structs_tx_proto.Messages().ByName("MsgGuildUpdateOwnerId") - fd_MsgGuildUpdateOwnerId_creator = md_MsgGuildUpdateOwnerId.Fields().ByName("creator") - fd_MsgGuildUpdateOwnerId_guildId = md_MsgGuildUpdateOwnerId.Fields().ByName("guildId") - fd_MsgGuildUpdateOwnerId_owner = md_MsgGuildUpdateOwnerId.Fields().ByName("owner") + md_MsgGuildBankRedeem = File_structs_structs_tx_proto.Messages().ByName("MsgGuildBankRedeem") + fd_MsgGuildBankRedeem_creator = md_MsgGuildBankRedeem.Fields().ByName("creator") + fd_MsgGuildBankRedeem_amountToken = md_MsgGuildBankRedeem.Fields().ByName("amountToken") } -var _ protoreflect.Message = (*fastReflection_MsgGuildUpdateOwnerId)(nil) +var _ protoreflect.Message = (*fastReflection_MsgGuildBankRedeem)(nil) -type fastReflection_MsgGuildUpdateOwnerId MsgGuildUpdateOwnerId +type fastReflection_MsgGuildBankRedeem MsgGuildBankRedeem -func (x *MsgGuildUpdateOwnerId) ProtoReflect() protoreflect.Message { - return (*fastReflection_MsgGuildUpdateOwnerId)(x) +func (x *MsgGuildBankRedeem) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgGuildBankRedeem)(x) } -func (x *MsgGuildUpdateOwnerId) slowProtoReflect() protoreflect.Message { +func (x *MsgGuildBankRedeem) slowProtoReflect() protoreflect.Message { mi := &file_structs_structs_tx_proto_msgTypes[18] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -8665,43 +8568,43 @@ func (x *MsgGuildUpdateOwnerId) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_MsgGuildUpdateOwnerId_messageType fastReflection_MsgGuildUpdateOwnerId_messageType -var _ protoreflect.MessageType = fastReflection_MsgGuildUpdateOwnerId_messageType{} +var _fastReflection_MsgGuildBankRedeem_messageType fastReflection_MsgGuildBankRedeem_messageType +var _ protoreflect.MessageType = fastReflection_MsgGuildBankRedeem_messageType{} -type fastReflection_MsgGuildUpdateOwnerId_messageType struct{} +type fastReflection_MsgGuildBankRedeem_messageType struct{} -func (x fastReflection_MsgGuildUpdateOwnerId_messageType) Zero() protoreflect.Message { - return (*fastReflection_MsgGuildUpdateOwnerId)(nil) +func (x fastReflection_MsgGuildBankRedeem_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgGuildBankRedeem)(nil) } -func (x fastReflection_MsgGuildUpdateOwnerId_messageType) New() protoreflect.Message { - return new(fastReflection_MsgGuildUpdateOwnerId) +func (x fastReflection_MsgGuildBankRedeem_messageType) New() protoreflect.Message { + return new(fastReflection_MsgGuildBankRedeem) } -func (x fastReflection_MsgGuildUpdateOwnerId_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_MsgGuildUpdateOwnerId +func (x fastReflection_MsgGuildBankRedeem_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgGuildBankRedeem } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_MsgGuildUpdateOwnerId) Descriptor() protoreflect.MessageDescriptor { - return md_MsgGuildUpdateOwnerId +func (x *fastReflection_MsgGuildBankRedeem) Descriptor() protoreflect.MessageDescriptor { + return md_MsgGuildBankRedeem } // 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_MsgGuildUpdateOwnerId) Type() protoreflect.MessageType { - return _fastReflection_MsgGuildUpdateOwnerId_messageType +func (x *fastReflection_MsgGuildBankRedeem) Type() protoreflect.MessageType { + return _fastReflection_MsgGuildBankRedeem_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_MsgGuildUpdateOwnerId) New() protoreflect.Message { - return new(fastReflection_MsgGuildUpdateOwnerId) +func (x *fastReflection_MsgGuildBankRedeem) New() protoreflect.Message { + return new(fastReflection_MsgGuildBankRedeem) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_MsgGuildUpdateOwnerId) Interface() protoreflect.ProtoMessage { - return (*MsgGuildUpdateOwnerId)(x) +func (x *fastReflection_MsgGuildBankRedeem) Interface() protoreflect.ProtoMessage { + return (*MsgGuildBankRedeem)(x) } // Range iterates over every populated field in an undefined order, @@ -8709,22 +8612,16 @@ func (x *fastReflection_MsgGuildUpdateOwnerId) Interface() protoreflect.ProtoMes // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_MsgGuildUpdateOwnerId) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +func (x *fastReflection_MsgGuildBankRedeem) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { if x.Creator != "" { value := protoreflect.ValueOfString(x.Creator) - if !f(fd_MsgGuildUpdateOwnerId_creator, value) { - return - } - } - if x.GuildId != "" { - value := protoreflect.ValueOfString(x.GuildId) - if !f(fd_MsgGuildUpdateOwnerId_guildId, value) { + if !f(fd_MsgGuildBankRedeem_creator, value) { return } } - if x.Owner != "" { - value := protoreflect.ValueOfString(x.Owner) - if !f(fd_MsgGuildUpdateOwnerId_owner, value) { + if x.AmountToken != nil { + value := protoreflect.ValueOfMessage(x.AmountToken.ProtoReflect()) + if !f(fd_MsgGuildBankRedeem_amountToken, value) { return } } @@ -8741,19 +8638,17 @@ func (x *fastReflection_MsgGuildUpdateOwnerId) Range(f func(protoreflect.FieldDe // 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_MsgGuildUpdateOwnerId) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_MsgGuildBankRedeem) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.MsgGuildUpdateOwnerId.creator": + case "structs.structs.MsgGuildBankRedeem.creator": return x.Creator != "" - case "structs.structs.MsgGuildUpdateOwnerId.guildId": - return x.GuildId != "" - case "structs.structs.MsgGuildUpdateOwnerId.owner": - return x.Owner != "" + case "structs.structs.MsgGuildBankRedeem.amountToken": + return x.AmountToken != nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildUpdateOwnerId")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildBankRedeem")) } - panic(fmt.Errorf("message structs.structs.MsgGuildUpdateOwnerId does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildBankRedeem does not contain field %s", fd.FullName())) } } @@ -8763,19 +8658,17 @@ func (x *fastReflection_MsgGuildUpdateOwnerId) Has(fd protoreflect.FieldDescript // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgGuildUpdateOwnerId) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_MsgGuildBankRedeem) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.MsgGuildUpdateOwnerId.creator": + case "structs.structs.MsgGuildBankRedeem.creator": x.Creator = "" - case "structs.structs.MsgGuildUpdateOwnerId.guildId": - x.GuildId = "" - case "structs.structs.MsgGuildUpdateOwnerId.owner": - x.Owner = "" + case "structs.structs.MsgGuildBankRedeem.amountToken": + x.AmountToken = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildUpdateOwnerId")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildBankRedeem")) } - panic(fmt.Errorf("message structs.structs.MsgGuildUpdateOwnerId does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildBankRedeem does not contain field %s", fd.FullName())) } } @@ -8785,22 +8678,19 @@ func (x *fastReflection_MsgGuildUpdateOwnerId) Clear(fd protoreflect.FieldDescri // 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_MsgGuildUpdateOwnerId) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgGuildBankRedeem) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.MsgGuildUpdateOwnerId.creator": + case "structs.structs.MsgGuildBankRedeem.creator": value := x.Creator return protoreflect.ValueOfString(value) - case "structs.structs.MsgGuildUpdateOwnerId.guildId": - value := x.GuildId - return protoreflect.ValueOfString(value) - case "structs.structs.MsgGuildUpdateOwnerId.owner": - value := x.Owner - return protoreflect.ValueOfString(value) + case "structs.structs.MsgGuildBankRedeem.amountToken": + value := x.AmountToken + return protoreflect.ValueOfMessage(value.ProtoReflect()) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildUpdateOwnerId")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildBankRedeem")) } - panic(fmt.Errorf("message structs.structs.MsgGuildUpdateOwnerId does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildBankRedeem does not contain field %s", descriptor.FullName())) } } @@ -8814,19 +8704,17 @@ func (x *fastReflection_MsgGuildUpdateOwnerId) Get(descriptor protoreflect.Field // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgGuildUpdateOwnerId) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_MsgGuildBankRedeem) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.MsgGuildUpdateOwnerId.creator": + case "structs.structs.MsgGuildBankRedeem.creator": x.Creator = value.Interface().(string) - case "structs.structs.MsgGuildUpdateOwnerId.guildId": - x.GuildId = value.Interface().(string) - case "structs.structs.MsgGuildUpdateOwnerId.owner": - x.Owner = value.Interface().(string) + case "structs.structs.MsgGuildBankRedeem.amountToken": + x.AmountToken = value.Message().Interface().(*v1beta1.Coin) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildUpdateOwnerId")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildBankRedeem")) } - panic(fmt.Errorf("message structs.structs.MsgGuildUpdateOwnerId does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildBankRedeem does not contain field %s", fd.FullName())) } } @@ -8840,48 +8728,48 @@ func (x *fastReflection_MsgGuildUpdateOwnerId) Set(fd protoreflect.FieldDescript // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgGuildUpdateOwnerId) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgGuildBankRedeem) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.MsgGuildUpdateOwnerId.creator": - panic(fmt.Errorf("field creator of message structs.structs.MsgGuildUpdateOwnerId is not mutable")) - case "structs.structs.MsgGuildUpdateOwnerId.guildId": - panic(fmt.Errorf("field guildId of message structs.structs.MsgGuildUpdateOwnerId is not mutable")) - case "structs.structs.MsgGuildUpdateOwnerId.owner": - panic(fmt.Errorf("field owner of message structs.structs.MsgGuildUpdateOwnerId is not mutable")) + case "structs.structs.MsgGuildBankRedeem.amountToken": + if x.AmountToken == nil { + x.AmountToken = new(v1beta1.Coin) + } + return protoreflect.ValueOfMessage(x.AmountToken.ProtoReflect()) + case "structs.structs.MsgGuildBankRedeem.creator": + panic(fmt.Errorf("field creator of message structs.structs.MsgGuildBankRedeem is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildUpdateOwnerId")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildBankRedeem")) } - panic(fmt.Errorf("message structs.structs.MsgGuildUpdateOwnerId does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildBankRedeem 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_MsgGuildUpdateOwnerId) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgGuildBankRedeem) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.MsgGuildUpdateOwnerId.creator": - return protoreflect.ValueOfString("") - case "structs.structs.MsgGuildUpdateOwnerId.guildId": - return protoreflect.ValueOfString("") - case "structs.structs.MsgGuildUpdateOwnerId.owner": + case "structs.structs.MsgGuildBankRedeem.creator": return protoreflect.ValueOfString("") + case "structs.structs.MsgGuildBankRedeem.amountToken": + m := new(v1beta1.Coin) + return protoreflect.ValueOfMessage(m.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildUpdateOwnerId")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildBankRedeem")) } - panic(fmt.Errorf("message structs.structs.MsgGuildUpdateOwnerId does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildBankRedeem 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_MsgGuildUpdateOwnerId) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_MsgGuildBankRedeem) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgGuildUpdateOwnerId", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgGuildBankRedeem", d.FullName())) } panic("unreachable") } @@ -8889,7 +8777,7 @@ func (x *fastReflection_MsgGuildUpdateOwnerId) WhichOneof(d protoreflect.OneofDe // 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_MsgGuildUpdateOwnerId) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_MsgGuildBankRedeem) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -8900,7 +8788,7 @@ func (x *fastReflection_MsgGuildUpdateOwnerId) GetUnknown() protoreflect.RawFiel // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgGuildUpdateOwnerId) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_MsgGuildBankRedeem) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -8912,7 +8800,7 @@ func (x *fastReflection_MsgGuildUpdateOwnerId) SetUnknown(fields protoreflect.Ra // 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_MsgGuildUpdateOwnerId) IsValid() bool { +func (x *fastReflection_MsgGuildBankRedeem) IsValid() bool { return x != nil } @@ -8922,9 +8810,9 @@ func (x *fastReflection_MsgGuildUpdateOwnerId) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_MsgGuildUpdateOwnerId) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_MsgGuildBankRedeem) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*MsgGuildUpdateOwnerId) + x := input.Message.Interface().(*MsgGuildBankRedeem) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -8940,12 +8828,8 @@ func (x *fastReflection_MsgGuildUpdateOwnerId) ProtoMethods() *protoiface.Method if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } - l = len(x.GuildId) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } - l = len(x.Owner) - if l > 0 { + if x.AmountToken != nil { + l = options.Size(x.AmountToken) n += 1 + l + runtime.Sov(uint64(l)) } if x.unknownFields != nil { @@ -8958,7 +8842,7 @@ func (x *fastReflection_MsgGuildUpdateOwnerId) ProtoMethods() *protoiface.Method } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*MsgGuildUpdateOwnerId) + x := input.Message.Interface().(*MsgGuildBankRedeem) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -8977,17 +8861,17 @@ func (x *fastReflection_MsgGuildUpdateOwnerId) ProtoMethods() *protoiface.Method i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if len(x.Owner) > 0 { - i -= len(x.Owner) - copy(dAtA[i:], x.Owner) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Owner))) - i-- - dAtA[i] = 0x1a - } - if len(x.GuildId) > 0 { - i -= len(x.GuildId) - copy(dAtA[i:], x.GuildId) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.GuildId))) + if x.AmountToken != nil { + encoded, err := options.Marshal(x.AmountToken) + 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 } @@ -9009,7 +8893,7 @@ func (x *fastReflection_MsgGuildUpdateOwnerId) ProtoMethods() *protoiface.Method }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*MsgGuildUpdateOwnerId) + x := input.Message.Interface().(*MsgGuildBankRedeem) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -9041,10 +8925,10 @@ func (x *fastReflection_MsgGuildUpdateOwnerId) ProtoMethods() *protoiface.Method fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgGuildUpdateOwnerId: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgGuildBankRedeem: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgGuildUpdateOwnerId: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgGuildBankRedeem: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -9081,9 +8965,9 @@ func (x *fastReflection_MsgGuildUpdateOwnerId) ProtoMethods() *protoiface.Method iNdEx = postIndex case 2: if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field GuildId", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field AmountToken", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -9093,55 +8977,27 @@ func (x *fastReflection_MsgGuildUpdateOwnerId) ProtoMethods() *protoiface.Method } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength } - postIndex := iNdEx + intStringLen + 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 } - x.GuildId = 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 Owner", 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 + if x.AmountToken == nil { + x.AmountToken = &v1beta1.Coin{} } - 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 + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.AmountToken); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err } - x.Owner = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -9179,29 +9035,23 @@ func (x *fastReflection_MsgGuildUpdateOwnerId) ProtoMethods() *protoiface.Method } var ( - md_MsgGuildUpdateEntrySubstationId protoreflect.MessageDescriptor - fd_MsgGuildUpdateEntrySubstationId_creator protoreflect.FieldDescriptor - fd_MsgGuildUpdateEntrySubstationId_guildId protoreflect.FieldDescriptor - fd_MsgGuildUpdateEntrySubstationId_entrySubstationId protoreflect.FieldDescriptor + md_MsgGuildBankRedeemResponse protoreflect.MessageDescriptor ) func init() { file_structs_structs_tx_proto_init() - md_MsgGuildUpdateEntrySubstationId = File_structs_structs_tx_proto.Messages().ByName("MsgGuildUpdateEntrySubstationId") - fd_MsgGuildUpdateEntrySubstationId_creator = md_MsgGuildUpdateEntrySubstationId.Fields().ByName("creator") - fd_MsgGuildUpdateEntrySubstationId_guildId = md_MsgGuildUpdateEntrySubstationId.Fields().ByName("guildId") - fd_MsgGuildUpdateEntrySubstationId_entrySubstationId = md_MsgGuildUpdateEntrySubstationId.Fields().ByName("entrySubstationId") + md_MsgGuildBankRedeemResponse = File_structs_structs_tx_proto.Messages().ByName("MsgGuildBankRedeemResponse") } -var _ protoreflect.Message = (*fastReflection_MsgGuildUpdateEntrySubstationId)(nil) +var _ protoreflect.Message = (*fastReflection_MsgGuildBankRedeemResponse)(nil) -type fastReflection_MsgGuildUpdateEntrySubstationId MsgGuildUpdateEntrySubstationId +type fastReflection_MsgGuildBankRedeemResponse MsgGuildBankRedeemResponse -func (x *MsgGuildUpdateEntrySubstationId) ProtoReflect() protoreflect.Message { - return (*fastReflection_MsgGuildUpdateEntrySubstationId)(x) +func (x *MsgGuildBankRedeemResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgGuildBankRedeemResponse)(x) } -func (x *MsgGuildUpdateEntrySubstationId) slowProtoReflect() protoreflect.Message { +func (x *MsgGuildBankRedeemResponse) slowProtoReflect() protoreflect.Message { mi := &file_structs_structs_tx_proto_msgTypes[19] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -9213,43 +9063,43 @@ func (x *MsgGuildUpdateEntrySubstationId) slowProtoReflect() protoreflect.Messag return mi.MessageOf(x) } -var _fastReflection_MsgGuildUpdateEntrySubstationId_messageType fastReflection_MsgGuildUpdateEntrySubstationId_messageType -var _ protoreflect.MessageType = fastReflection_MsgGuildUpdateEntrySubstationId_messageType{} +var _fastReflection_MsgGuildBankRedeemResponse_messageType fastReflection_MsgGuildBankRedeemResponse_messageType +var _ protoreflect.MessageType = fastReflection_MsgGuildBankRedeemResponse_messageType{} -type fastReflection_MsgGuildUpdateEntrySubstationId_messageType struct{} +type fastReflection_MsgGuildBankRedeemResponse_messageType struct{} -func (x fastReflection_MsgGuildUpdateEntrySubstationId_messageType) Zero() protoreflect.Message { - return (*fastReflection_MsgGuildUpdateEntrySubstationId)(nil) +func (x fastReflection_MsgGuildBankRedeemResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgGuildBankRedeemResponse)(nil) } -func (x fastReflection_MsgGuildUpdateEntrySubstationId_messageType) New() protoreflect.Message { - return new(fastReflection_MsgGuildUpdateEntrySubstationId) +func (x fastReflection_MsgGuildBankRedeemResponse_messageType) New() protoreflect.Message { + return new(fastReflection_MsgGuildBankRedeemResponse) } -func (x fastReflection_MsgGuildUpdateEntrySubstationId_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_MsgGuildUpdateEntrySubstationId +func (x fastReflection_MsgGuildBankRedeemResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgGuildBankRedeemResponse } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_MsgGuildUpdateEntrySubstationId) Descriptor() protoreflect.MessageDescriptor { - return md_MsgGuildUpdateEntrySubstationId +func (x *fastReflection_MsgGuildBankRedeemResponse) Descriptor() protoreflect.MessageDescriptor { + return md_MsgGuildBankRedeemResponse } // 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_MsgGuildUpdateEntrySubstationId) Type() protoreflect.MessageType { - return _fastReflection_MsgGuildUpdateEntrySubstationId_messageType +func (x *fastReflection_MsgGuildBankRedeemResponse) Type() protoreflect.MessageType { + return _fastReflection_MsgGuildBankRedeemResponse_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_MsgGuildUpdateEntrySubstationId) New() protoreflect.Message { - return new(fastReflection_MsgGuildUpdateEntrySubstationId) +func (x *fastReflection_MsgGuildBankRedeemResponse) New() protoreflect.Message { + return new(fastReflection_MsgGuildBankRedeemResponse) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_MsgGuildUpdateEntrySubstationId) Interface() protoreflect.ProtoMessage { - return (*MsgGuildUpdateEntrySubstationId)(x) +func (x *fastReflection_MsgGuildBankRedeemResponse) Interface() protoreflect.ProtoMessage { + return (*MsgGuildBankRedeemResponse)(x) } // Range iterates over every populated field in an undefined order, @@ -9257,25 +9107,7 @@ func (x *fastReflection_MsgGuildUpdateEntrySubstationId) Interface() protoreflec // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_MsgGuildUpdateEntrySubstationId) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.Creator != "" { - value := protoreflect.ValueOfString(x.Creator) - if !f(fd_MsgGuildUpdateEntrySubstationId_creator, value) { - return - } - } - if x.GuildId != "" { - value := protoreflect.ValueOfString(x.GuildId) - if !f(fd_MsgGuildUpdateEntrySubstationId_guildId, value) { - return - } - } - if x.EntrySubstationId != "" { - value := protoreflect.ValueOfString(x.EntrySubstationId) - if !f(fd_MsgGuildUpdateEntrySubstationId_entrySubstationId, value) { - return - } - } +func (x *fastReflection_MsgGuildBankRedeemResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { } // Has reports whether a field is populated. @@ -9289,19 +9121,13 @@ func (x *fastReflection_MsgGuildUpdateEntrySubstationId) Range(f func(protorefle // 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_MsgGuildUpdateEntrySubstationId) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_MsgGuildBankRedeemResponse) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.MsgGuildUpdateEntrySubstationId.creator": - return x.Creator != "" - case "structs.structs.MsgGuildUpdateEntrySubstationId.guildId": - return x.GuildId != "" - case "structs.structs.MsgGuildUpdateEntrySubstationId.entrySubstationId": - return x.EntrySubstationId != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildUpdateEntrySubstationId")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildBankRedeemResponse")) } - panic(fmt.Errorf("message structs.structs.MsgGuildUpdateEntrySubstationId does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildBankRedeemResponse does not contain field %s", fd.FullName())) } } @@ -9311,19 +9137,13 @@ func (x *fastReflection_MsgGuildUpdateEntrySubstationId) Has(fd protoreflect.Fie // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgGuildUpdateEntrySubstationId) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_MsgGuildBankRedeemResponse) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.MsgGuildUpdateEntrySubstationId.creator": - x.Creator = "" - case "structs.structs.MsgGuildUpdateEntrySubstationId.guildId": - x.GuildId = "" - case "structs.structs.MsgGuildUpdateEntrySubstationId.entrySubstationId": - x.EntrySubstationId = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildUpdateEntrySubstationId")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildBankRedeemResponse")) } - panic(fmt.Errorf("message structs.structs.MsgGuildUpdateEntrySubstationId does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildBankRedeemResponse does not contain field %s", fd.FullName())) } } @@ -9333,22 +9153,13 @@ func (x *fastReflection_MsgGuildUpdateEntrySubstationId) Clear(fd protoreflect.F // 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_MsgGuildUpdateEntrySubstationId) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgGuildBankRedeemResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.MsgGuildUpdateEntrySubstationId.creator": - value := x.Creator - return protoreflect.ValueOfString(value) - case "structs.structs.MsgGuildUpdateEntrySubstationId.guildId": - value := x.GuildId - return protoreflect.ValueOfString(value) - case "structs.structs.MsgGuildUpdateEntrySubstationId.entrySubstationId": - value := x.EntrySubstationId - return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildUpdateEntrySubstationId")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildBankRedeemResponse")) } - panic(fmt.Errorf("message structs.structs.MsgGuildUpdateEntrySubstationId does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildBankRedeemResponse does not contain field %s", descriptor.FullName())) } } @@ -9362,19 +9173,13 @@ func (x *fastReflection_MsgGuildUpdateEntrySubstationId) Get(descriptor protoref // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgGuildUpdateEntrySubstationId) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_MsgGuildBankRedeemResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.MsgGuildUpdateEntrySubstationId.creator": - x.Creator = value.Interface().(string) - case "structs.structs.MsgGuildUpdateEntrySubstationId.guildId": - x.GuildId = value.Interface().(string) - case "structs.structs.MsgGuildUpdateEntrySubstationId.entrySubstationId": - x.EntrySubstationId = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildUpdateEntrySubstationId")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildBankRedeemResponse")) } - panic(fmt.Errorf("message structs.structs.MsgGuildUpdateEntrySubstationId does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildBankRedeemResponse does not contain field %s", fd.FullName())) } } @@ -9388,48 +9193,36 @@ func (x *fastReflection_MsgGuildUpdateEntrySubstationId) Set(fd protoreflect.Fie // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgGuildUpdateEntrySubstationId) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgGuildBankRedeemResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.MsgGuildUpdateEntrySubstationId.creator": - panic(fmt.Errorf("field creator of message structs.structs.MsgGuildUpdateEntrySubstationId is not mutable")) - case "structs.structs.MsgGuildUpdateEntrySubstationId.guildId": - panic(fmt.Errorf("field guildId of message structs.structs.MsgGuildUpdateEntrySubstationId is not mutable")) - case "structs.structs.MsgGuildUpdateEntrySubstationId.entrySubstationId": - panic(fmt.Errorf("field entrySubstationId of message structs.structs.MsgGuildUpdateEntrySubstationId is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildUpdateEntrySubstationId")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildBankRedeemResponse")) } - panic(fmt.Errorf("message structs.structs.MsgGuildUpdateEntrySubstationId does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildBankRedeemResponse 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_MsgGuildUpdateEntrySubstationId) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgGuildBankRedeemResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.MsgGuildUpdateEntrySubstationId.creator": - return protoreflect.ValueOfString("") - case "structs.structs.MsgGuildUpdateEntrySubstationId.guildId": - return protoreflect.ValueOfString("") - case "structs.structs.MsgGuildUpdateEntrySubstationId.entrySubstationId": - return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildUpdateEntrySubstationId")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildBankRedeemResponse")) } - panic(fmt.Errorf("message structs.structs.MsgGuildUpdateEntrySubstationId does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildBankRedeemResponse 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_MsgGuildUpdateEntrySubstationId) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_MsgGuildBankRedeemResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgGuildUpdateEntrySubstationId", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgGuildBankRedeemResponse", d.FullName())) } panic("unreachable") } @@ -9437,7 +9230,7 @@ func (x *fastReflection_MsgGuildUpdateEntrySubstationId) WhichOneof(d protorefle // 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_MsgGuildUpdateEntrySubstationId) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_MsgGuildBankRedeemResponse) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -9448,7 +9241,7 @@ func (x *fastReflection_MsgGuildUpdateEntrySubstationId) GetUnknown() protorefle // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgGuildUpdateEntrySubstationId) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_MsgGuildBankRedeemResponse) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -9460,7 +9253,7 @@ func (x *fastReflection_MsgGuildUpdateEntrySubstationId) SetUnknown(fields proto // 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_MsgGuildUpdateEntrySubstationId) IsValid() bool { +func (x *fastReflection_MsgGuildBankRedeemResponse) IsValid() bool { return x != nil } @@ -9470,9 +9263,9 @@ func (x *fastReflection_MsgGuildUpdateEntrySubstationId) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_MsgGuildUpdateEntrySubstationId) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_MsgGuildBankRedeemResponse) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*MsgGuildUpdateEntrySubstationId) + x := input.Message.Interface().(*MsgGuildBankRedeemResponse) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -9484,18 +9277,6 @@ func (x *fastReflection_MsgGuildUpdateEntrySubstationId) ProtoMethods() *protoif var n int var l int _ = l - l = len(x.Creator) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } - l = len(x.GuildId) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } - l = len(x.EntrySubstationId) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } if x.unknownFields != nil { n += len(x.unknownFields) } @@ -9506,7 +9287,7 @@ func (x *fastReflection_MsgGuildUpdateEntrySubstationId) ProtoMethods() *protoif } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*MsgGuildUpdateEntrySubstationId) + x := input.Message.Interface().(*MsgGuildBankRedeemResponse) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -9525,27 +9306,6 @@ func (x *fastReflection_MsgGuildUpdateEntrySubstationId) ProtoMethods() *protoif i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if len(x.EntrySubstationId) > 0 { - i -= len(x.EntrySubstationId) - copy(dAtA[i:], x.EntrySubstationId) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.EntrySubstationId))) - i-- - dAtA[i] = 0x1a - } - if len(x.GuildId) > 0 { - i -= len(x.GuildId) - copy(dAtA[i:], x.GuildId) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.GuildId))) - i-- - dAtA[i] = 0x12 - } - if len(x.Creator) > 0 { - i -= len(x.Creator) - copy(dAtA[i:], x.Creator) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Creator))) - i-- - dAtA[i] = 0xa - } if input.Buf != nil { input.Buf = append(input.Buf, dAtA...) } else { @@ -9557,7 +9317,7 @@ func (x *fastReflection_MsgGuildUpdateEntrySubstationId) ProtoMethods() *protoif }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*MsgGuildUpdateEntrySubstationId) + x := input.Message.Interface().(*MsgGuildBankRedeemResponse) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -9589,108 +9349,12 @@ func (x *fastReflection_MsgGuildUpdateEntrySubstationId) ProtoMethods() *protoif fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgGuildUpdateEntrySubstationId: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgGuildBankRedeemResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgGuildUpdateEntrySubstationId: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgGuildBankRedeemResponse: 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 Creator", 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.Creator = 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 GuildId", 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.GuildId = 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 EntrySubstationId", 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.EntrySubstationId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex default: iNdEx = preIndex skippy, err := runtime.Skip(dAtA[iNdEx:]) @@ -9727,29 +9391,29 @@ func (x *fastReflection_MsgGuildUpdateEntrySubstationId) ProtoMethods() *protoif } var ( - md_MsgGuildUpdateEndpoint protoreflect.MessageDescriptor - fd_MsgGuildUpdateEndpoint_creator protoreflect.FieldDescriptor - fd_MsgGuildUpdateEndpoint_guildId protoreflect.FieldDescriptor - fd_MsgGuildUpdateEndpoint_endpoint protoreflect.FieldDescriptor + md_MsgGuildBankConfiscateAndBurn protoreflect.MessageDescriptor + fd_MsgGuildBankConfiscateAndBurn_creator protoreflect.FieldDescriptor + fd_MsgGuildBankConfiscateAndBurn_address protoreflect.FieldDescriptor + fd_MsgGuildBankConfiscateAndBurn_amountToken protoreflect.FieldDescriptor ) func init() { file_structs_structs_tx_proto_init() - md_MsgGuildUpdateEndpoint = File_structs_structs_tx_proto.Messages().ByName("MsgGuildUpdateEndpoint") - fd_MsgGuildUpdateEndpoint_creator = md_MsgGuildUpdateEndpoint.Fields().ByName("creator") - fd_MsgGuildUpdateEndpoint_guildId = md_MsgGuildUpdateEndpoint.Fields().ByName("guildId") - fd_MsgGuildUpdateEndpoint_endpoint = md_MsgGuildUpdateEndpoint.Fields().ByName("endpoint") + md_MsgGuildBankConfiscateAndBurn = File_structs_structs_tx_proto.Messages().ByName("MsgGuildBankConfiscateAndBurn") + fd_MsgGuildBankConfiscateAndBurn_creator = md_MsgGuildBankConfiscateAndBurn.Fields().ByName("creator") + fd_MsgGuildBankConfiscateAndBurn_address = md_MsgGuildBankConfiscateAndBurn.Fields().ByName("address") + fd_MsgGuildBankConfiscateAndBurn_amountToken = md_MsgGuildBankConfiscateAndBurn.Fields().ByName("amountToken") } -var _ protoreflect.Message = (*fastReflection_MsgGuildUpdateEndpoint)(nil) +var _ protoreflect.Message = (*fastReflection_MsgGuildBankConfiscateAndBurn)(nil) -type fastReflection_MsgGuildUpdateEndpoint MsgGuildUpdateEndpoint +type fastReflection_MsgGuildBankConfiscateAndBurn MsgGuildBankConfiscateAndBurn -func (x *MsgGuildUpdateEndpoint) ProtoReflect() protoreflect.Message { - return (*fastReflection_MsgGuildUpdateEndpoint)(x) +func (x *MsgGuildBankConfiscateAndBurn) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgGuildBankConfiscateAndBurn)(x) } -func (x *MsgGuildUpdateEndpoint) slowProtoReflect() protoreflect.Message { +func (x *MsgGuildBankConfiscateAndBurn) slowProtoReflect() protoreflect.Message { mi := &file_structs_structs_tx_proto_msgTypes[20] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -9761,43 +9425,43 @@ func (x *MsgGuildUpdateEndpoint) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_MsgGuildUpdateEndpoint_messageType fastReflection_MsgGuildUpdateEndpoint_messageType -var _ protoreflect.MessageType = fastReflection_MsgGuildUpdateEndpoint_messageType{} +var _fastReflection_MsgGuildBankConfiscateAndBurn_messageType fastReflection_MsgGuildBankConfiscateAndBurn_messageType +var _ protoreflect.MessageType = fastReflection_MsgGuildBankConfiscateAndBurn_messageType{} -type fastReflection_MsgGuildUpdateEndpoint_messageType struct{} +type fastReflection_MsgGuildBankConfiscateAndBurn_messageType struct{} -func (x fastReflection_MsgGuildUpdateEndpoint_messageType) Zero() protoreflect.Message { - return (*fastReflection_MsgGuildUpdateEndpoint)(nil) +func (x fastReflection_MsgGuildBankConfiscateAndBurn_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgGuildBankConfiscateAndBurn)(nil) } -func (x fastReflection_MsgGuildUpdateEndpoint_messageType) New() protoreflect.Message { - return new(fastReflection_MsgGuildUpdateEndpoint) +func (x fastReflection_MsgGuildBankConfiscateAndBurn_messageType) New() protoreflect.Message { + return new(fastReflection_MsgGuildBankConfiscateAndBurn) } -func (x fastReflection_MsgGuildUpdateEndpoint_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_MsgGuildUpdateEndpoint +func (x fastReflection_MsgGuildBankConfiscateAndBurn_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgGuildBankConfiscateAndBurn } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_MsgGuildUpdateEndpoint) Descriptor() protoreflect.MessageDescriptor { - return md_MsgGuildUpdateEndpoint +func (x *fastReflection_MsgGuildBankConfiscateAndBurn) Descriptor() protoreflect.MessageDescriptor { + return md_MsgGuildBankConfiscateAndBurn } // 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_MsgGuildUpdateEndpoint) Type() protoreflect.MessageType { - return _fastReflection_MsgGuildUpdateEndpoint_messageType +func (x *fastReflection_MsgGuildBankConfiscateAndBurn) Type() protoreflect.MessageType { + return _fastReflection_MsgGuildBankConfiscateAndBurn_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_MsgGuildUpdateEndpoint) New() protoreflect.Message { - return new(fastReflection_MsgGuildUpdateEndpoint) +func (x *fastReflection_MsgGuildBankConfiscateAndBurn) New() protoreflect.Message { + return new(fastReflection_MsgGuildBankConfiscateAndBurn) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_MsgGuildUpdateEndpoint) Interface() protoreflect.ProtoMessage { - return (*MsgGuildUpdateEndpoint)(x) +func (x *fastReflection_MsgGuildBankConfiscateAndBurn) Interface() protoreflect.ProtoMessage { + return (*MsgGuildBankConfiscateAndBurn)(x) } // Range iterates over every populated field in an undefined order, @@ -9805,22 +9469,22 @@ func (x *fastReflection_MsgGuildUpdateEndpoint) Interface() protoreflect.ProtoMe // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_MsgGuildUpdateEndpoint) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +func (x *fastReflection_MsgGuildBankConfiscateAndBurn) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { if x.Creator != "" { value := protoreflect.ValueOfString(x.Creator) - if !f(fd_MsgGuildUpdateEndpoint_creator, value) { + if !f(fd_MsgGuildBankConfiscateAndBurn_creator, value) { return } } - if x.GuildId != "" { - value := protoreflect.ValueOfString(x.GuildId) - if !f(fd_MsgGuildUpdateEndpoint_guildId, value) { + if x.Address != "" { + value := protoreflect.ValueOfString(x.Address) + if !f(fd_MsgGuildBankConfiscateAndBurn_address, value) { return } } - if x.Endpoint != "" { - value := protoreflect.ValueOfString(x.Endpoint) - if !f(fd_MsgGuildUpdateEndpoint_endpoint, value) { + if x.AmountToken != uint64(0) { + value := protoreflect.ValueOfUint64(x.AmountToken) + if !f(fd_MsgGuildBankConfiscateAndBurn_amountToken, value) { return } } @@ -9837,19 +9501,19 @@ func (x *fastReflection_MsgGuildUpdateEndpoint) Range(f func(protoreflect.FieldD // 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_MsgGuildUpdateEndpoint) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_MsgGuildBankConfiscateAndBurn) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.MsgGuildUpdateEndpoint.creator": + case "structs.structs.MsgGuildBankConfiscateAndBurn.creator": return x.Creator != "" - case "structs.structs.MsgGuildUpdateEndpoint.guildId": - return x.GuildId != "" - case "structs.structs.MsgGuildUpdateEndpoint.endpoint": - return x.Endpoint != "" + case "structs.structs.MsgGuildBankConfiscateAndBurn.address": + return x.Address != "" + case "structs.structs.MsgGuildBankConfiscateAndBurn.amountToken": + return x.AmountToken != uint64(0) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildUpdateEndpoint")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildBankConfiscateAndBurn")) } - panic(fmt.Errorf("message structs.structs.MsgGuildUpdateEndpoint does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildBankConfiscateAndBurn does not contain field %s", fd.FullName())) } } @@ -9859,19 +9523,19 @@ func (x *fastReflection_MsgGuildUpdateEndpoint) Has(fd protoreflect.FieldDescrip // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgGuildUpdateEndpoint) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_MsgGuildBankConfiscateAndBurn) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.MsgGuildUpdateEndpoint.creator": + case "structs.structs.MsgGuildBankConfiscateAndBurn.creator": x.Creator = "" - case "structs.structs.MsgGuildUpdateEndpoint.guildId": - x.GuildId = "" - case "structs.structs.MsgGuildUpdateEndpoint.endpoint": - x.Endpoint = "" + case "structs.structs.MsgGuildBankConfiscateAndBurn.address": + x.Address = "" + case "structs.structs.MsgGuildBankConfiscateAndBurn.amountToken": + x.AmountToken = uint64(0) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildUpdateEndpoint")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildBankConfiscateAndBurn")) } - panic(fmt.Errorf("message structs.structs.MsgGuildUpdateEndpoint does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildBankConfiscateAndBurn does not contain field %s", fd.FullName())) } } @@ -9881,22 +9545,22 @@ func (x *fastReflection_MsgGuildUpdateEndpoint) Clear(fd protoreflect.FieldDescr // 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_MsgGuildUpdateEndpoint) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgGuildBankConfiscateAndBurn) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.MsgGuildUpdateEndpoint.creator": + case "structs.structs.MsgGuildBankConfiscateAndBurn.creator": value := x.Creator return protoreflect.ValueOfString(value) - case "structs.structs.MsgGuildUpdateEndpoint.guildId": - value := x.GuildId - return protoreflect.ValueOfString(value) - case "structs.structs.MsgGuildUpdateEndpoint.endpoint": - value := x.Endpoint + case "structs.structs.MsgGuildBankConfiscateAndBurn.address": + value := x.Address return protoreflect.ValueOfString(value) + case "structs.structs.MsgGuildBankConfiscateAndBurn.amountToken": + value := x.AmountToken + return protoreflect.ValueOfUint64(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildUpdateEndpoint")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildBankConfiscateAndBurn")) } - panic(fmt.Errorf("message structs.structs.MsgGuildUpdateEndpoint does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildBankConfiscateAndBurn does not contain field %s", descriptor.FullName())) } } @@ -9910,19 +9574,19 @@ func (x *fastReflection_MsgGuildUpdateEndpoint) Get(descriptor protoreflect.Fiel // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgGuildUpdateEndpoint) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_MsgGuildBankConfiscateAndBurn) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.MsgGuildUpdateEndpoint.creator": + case "structs.structs.MsgGuildBankConfiscateAndBurn.creator": x.Creator = value.Interface().(string) - case "structs.structs.MsgGuildUpdateEndpoint.guildId": - x.GuildId = value.Interface().(string) - case "structs.structs.MsgGuildUpdateEndpoint.endpoint": - x.Endpoint = value.Interface().(string) + case "structs.structs.MsgGuildBankConfiscateAndBurn.address": + x.Address = value.Interface().(string) + case "structs.structs.MsgGuildBankConfiscateAndBurn.amountToken": + x.AmountToken = value.Uint() default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildUpdateEndpoint")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildBankConfiscateAndBurn")) } - panic(fmt.Errorf("message structs.structs.MsgGuildUpdateEndpoint does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildBankConfiscateAndBurn does not contain field %s", fd.FullName())) } } @@ -9936,48 +9600,48 @@ func (x *fastReflection_MsgGuildUpdateEndpoint) Set(fd protoreflect.FieldDescrip // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgGuildUpdateEndpoint) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgGuildBankConfiscateAndBurn) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.MsgGuildUpdateEndpoint.creator": - panic(fmt.Errorf("field creator of message structs.structs.MsgGuildUpdateEndpoint is not mutable")) - case "structs.structs.MsgGuildUpdateEndpoint.guildId": - panic(fmt.Errorf("field guildId of message structs.structs.MsgGuildUpdateEndpoint is not mutable")) - case "structs.structs.MsgGuildUpdateEndpoint.endpoint": - panic(fmt.Errorf("field endpoint of message structs.structs.MsgGuildUpdateEndpoint is not mutable")) + case "structs.structs.MsgGuildBankConfiscateAndBurn.creator": + panic(fmt.Errorf("field creator of message structs.structs.MsgGuildBankConfiscateAndBurn is not mutable")) + case "structs.structs.MsgGuildBankConfiscateAndBurn.address": + panic(fmt.Errorf("field address of message structs.structs.MsgGuildBankConfiscateAndBurn is not mutable")) + case "structs.structs.MsgGuildBankConfiscateAndBurn.amountToken": + panic(fmt.Errorf("field amountToken of message structs.structs.MsgGuildBankConfiscateAndBurn is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildUpdateEndpoint")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildBankConfiscateAndBurn")) } - panic(fmt.Errorf("message structs.structs.MsgGuildUpdateEndpoint does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildBankConfiscateAndBurn 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_MsgGuildUpdateEndpoint) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgGuildBankConfiscateAndBurn) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.MsgGuildUpdateEndpoint.creator": - return protoreflect.ValueOfString("") - case "structs.structs.MsgGuildUpdateEndpoint.guildId": + case "structs.structs.MsgGuildBankConfiscateAndBurn.creator": return protoreflect.ValueOfString("") - case "structs.structs.MsgGuildUpdateEndpoint.endpoint": + case "structs.structs.MsgGuildBankConfiscateAndBurn.address": return protoreflect.ValueOfString("") + case "structs.structs.MsgGuildBankConfiscateAndBurn.amountToken": + return protoreflect.ValueOfUint64(uint64(0)) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildUpdateEndpoint")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildBankConfiscateAndBurn")) } - panic(fmt.Errorf("message structs.structs.MsgGuildUpdateEndpoint does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildBankConfiscateAndBurn 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_MsgGuildUpdateEndpoint) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_MsgGuildBankConfiscateAndBurn) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgGuildUpdateEndpoint", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgGuildBankConfiscateAndBurn", d.FullName())) } panic("unreachable") } @@ -9985,7 +9649,7 @@ func (x *fastReflection_MsgGuildUpdateEndpoint) WhichOneof(d protoreflect.OneofD // 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_MsgGuildUpdateEndpoint) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_MsgGuildBankConfiscateAndBurn) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -9996,7 +9660,7 @@ func (x *fastReflection_MsgGuildUpdateEndpoint) GetUnknown() protoreflect.RawFie // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgGuildUpdateEndpoint) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_MsgGuildBankConfiscateAndBurn) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -10008,7 +9672,7 @@ func (x *fastReflection_MsgGuildUpdateEndpoint) SetUnknown(fields protoreflect.R // 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_MsgGuildUpdateEndpoint) IsValid() bool { +func (x *fastReflection_MsgGuildBankConfiscateAndBurn) IsValid() bool { return x != nil } @@ -10018,9 +9682,9 @@ func (x *fastReflection_MsgGuildUpdateEndpoint) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_MsgGuildUpdateEndpoint) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_MsgGuildBankConfiscateAndBurn) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*MsgGuildUpdateEndpoint) + x := input.Message.Interface().(*MsgGuildBankConfiscateAndBurn) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -10036,13 +9700,12 @@ func (x *fastReflection_MsgGuildUpdateEndpoint) ProtoMethods() *protoiface.Metho if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } - l = len(x.GuildId) + l = len(x.Address) if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } - l = len(x.Endpoint) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) + if x.AmountToken != 0 { + n += 1 + runtime.Sov(uint64(x.AmountToken)) } if x.unknownFields != nil { n += len(x.unknownFields) @@ -10054,7 +9717,7 @@ func (x *fastReflection_MsgGuildUpdateEndpoint) ProtoMethods() *protoiface.Metho } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*MsgGuildUpdateEndpoint) + x := input.Message.Interface().(*MsgGuildBankConfiscateAndBurn) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -10073,17 +9736,15 @@ func (x *fastReflection_MsgGuildUpdateEndpoint) ProtoMethods() *protoiface.Metho i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if len(x.Endpoint) > 0 { - i -= len(x.Endpoint) - copy(dAtA[i:], x.Endpoint) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Endpoint))) + if x.AmountToken != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.AmountToken)) i-- - dAtA[i] = 0x1a + dAtA[i] = 0x18 } - if len(x.GuildId) > 0 { - i -= len(x.GuildId) - copy(dAtA[i:], x.GuildId) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.GuildId))) + if len(x.Address) > 0 { + i -= len(x.Address) + copy(dAtA[i:], x.Address) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Address))) i-- dAtA[i] = 0x12 } @@ -10105,7 +9766,7 @@ func (x *fastReflection_MsgGuildUpdateEndpoint) ProtoMethods() *protoiface.Metho }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*MsgGuildUpdateEndpoint) + x := input.Message.Interface().(*MsgGuildBankConfiscateAndBurn) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -10137,10 +9798,10 @@ func (x *fastReflection_MsgGuildUpdateEndpoint) ProtoMethods() *protoiface.Metho fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgGuildUpdateEndpoint: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgGuildBankConfiscateAndBurn: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgGuildUpdateEndpoint: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgGuildBankConfiscateAndBurn: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -10177,7 +9838,7 @@ func (x *fastReflection_MsgGuildUpdateEndpoint) ProtoMethods() *protoiface.Metho iNdEx = postIndex case 2: if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field GuildId", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -10205,13 +9866,13 @@ func (x *fastReflection_MsgGuildUpdateEndpoint) ProtoMethods() *protoiface.Metho if postIndex > l { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - x.GuildId = string(dAtA[iNdEx:postIndex]) + x.Address = 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 Endpoint", wireType) + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field AmountToken", wireType) } - var stringLen uint64 + x.AmountToken = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -10221,24 +9882,11 @@ func (x *fastReflection_MsgGuildUpdateEndpoint) ProtoMethods() *protoiface.Metho } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + x.AmountToken |= 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.Endpoint = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex default: iNdEx = preIndex skippy, err := runtime.Skip(dAtA[iNdEx:]) @@ -10275,29 +9923,23 @@ func (x *fastReflection_MsgGuildUpdateEndpoint) ProtoMethods() *protoiface.Metho } var ( - md_MsgGuildUpdateJoinInfusionMinimum protoreflect.MessageDescriptor - fd_MsgGuildUpdateJoinInfusionMinimum_creator protoreflect.FieldDescriptor - fd_MsgGuildUpdateJoinInfusionMinimum_guildId protoreflect.FieldDescriptor - fd_MsgGuildUpdateJoinInfusionMinimum_joinInfusionMinimum protoreflect.FieldDescriptor + md_MsgGuildBankConfiscateAndBurnResponse protoreflect.MessageDescriptor ) func init() { file_structs_structs_tx_proto_init() - md_MsgGuildUpdateJoinInfusionMinimum = File_structs_structs_tx_proto.Messages().ByName("MsgGuildUpdateJoinInfusionMinimum") - fd_MsgGuildUpdateJoinInfusionMinimum_creator = md_MsgGuildUpdateJoinInfusionMinimum.Fields().ByName("creator") - fd_MsgGuildUpdateJoinInfusionMinimum_guildId = md_MsgGuildUpdateJoinInfusionMinimum.Fields().ByName("guildId") - fd_MsgGuildUpdateJoinInfusionMinimum_joinInfusionMinimum = md_MsgGuildUpdateJoinInfusionMinimum.Fields().ByName("joinInfusionMinimum") + md_MsgGuildBankConfiscateAndBurnResponse = File_structs_structs_tx_proto.Messages().ByName("MsgGuildBankConfiscateAndBurnResponse") } -var _ protoreflect.Message = (*fastReflection_MsgGuildUpdateJoinInfusionMinimum)(nil) +var _ protoreflect.Message = (*fastReflection_MsgGuildBankConfiscateAndBurnResponse)(nil) -type fastReflection_MsgGuildUpdateJoinInfusionMinimum MsgGuildUpdateJoinInfusionMinimum +type fastReflection_MsgGuildBankConfiscateAndBurnResponse MsgGuildBankConfiscateAndBurnResponse -func (x *MsgGuildUpdateJoinInfusionMinimum) ProtoReflect() protoreflect.Message { - return (*fastReflection_MsgGuildUpdateJoinInfusionMinimum)(x) +func (x *MsgGuildBankConfiscateAndBurnResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgGuildBankConfiscateAndBurnResponse)(x) } -func (x *MsgGuildUpdateJoinInfusionMinimum) slowProtoReflect() protoreflect.Message { +func (x *MsgGuildBankConfiscateAndBurnResponse) slowProtoReflect() protoreflect.Message { mi := &file_structs_structs_tx_proto_msgTypes[21] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -10309,43 +9951,43 @@ func (x *MsgGuildUpdateJoinInfusionMinimum) slowProtoReflect() protoreflect.Mess return mi.MessageOf(x) } -var _fastReflection_MsgGuildUpdateJoinInfusionMinimum_messageType fastReflection_MsgGuildUpdateJoinInfusionMinimum_messageType -var _ protoreflect.MessageType = fastReflection_MsgGuildUpdateJoinInfusionMinimum_messageType{} +var _fastReflection_MsgGuildBankConfiscateAndBurnResponse_messageType fastReflection_MsgGuildBankConfiscateAndBurnResponse_messageType +var _ protoreflect.MessageType = fastReflection_MsgGuildBankConfiscateAndBurnResponse_messageType{} -type fastReflection_MsgGuildUpdateJoinInfusionMinimum_messageType struct{} +type fastReflection_MsgGuildBankConfiscateAndBurnResponse_messageType struct{} -func (x fastReflection_MsgGuildUpdateJoinInfusionMinimum_messageType) Zero() protoreflect.Message { - return (*fastReflection_MsgGuildUpdateJoinInfusionMinimum)(nil) +func (x fastReflection_MsgGuildBankConfiscateAndBurnResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgGuildBankConfiscateAndBurnResponse)(nil) } -func (x fastReflection_MsgGuildUpdateJoinInfusionMinimum_messageType) New() protoreflect.Message { - return new(fastReflection_MsgGuildUpdateJoinInfusionMinimum) +func (x fastReflection_MsgGuildBankConfiscateAndBurnResponse_messageType) New() protoreflect.Message { + return new(fastReflection_MsgGuildBankConfiscateAndBurnResponse) } -func (x fastReflection_MsgGuildUpdateJoinInfusionMinimum_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_MsgGuildUpdateJoinInfusionMinimum +func (x fastReflection_MsgGuildBankConfiscateAndBurnResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgGuildBankConfiscateAndBurnResponse } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimum) Descriptor() protoreflect.MessageDescriptor { - return md_MsgGuildUpdateJoinInfusionMinimum +func (x *fastReflection_MsgGuildBankConfiscateAndBurnResponse) Descriptor() protoreflect.MessageDescriptor { + return md_MsgGuildBankConfiscateAndBurnResponse } // 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_MsgGuildUpdateJoinInfusionMinimum) Type() protoreflect.MessageType { - return _fastReflection_MsgGuildUpdateJoinInfusionMinimum_messageType +func (x *fastReflection_MsgGuildBankConfiscateAndBurnResponse) Type() protoreflect.MessageType { + return _fastReflection_MsgGuildBankConfiscateAndBurnResponse_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimum) New() protoreflect.Message { - return new(fastReflection_MsgGuildUpdateJoinInfusionMinimum) +func (x *fastReflection_MsgGuildBankConfiscateAndBurnResponse) New() protoreflect.Message { + return new(fastReflection_MsgGuildBankConfiscateAndBurnResponse) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimum) Interface() protoreflect.ProtoMessage { - return (*MsgGuildUpdateJoinInfusionMinimum)(x) +func (x *fastReflection_MsgGuildBankConfiscateAndBurnResponse) Interface() protoreflect.ProtoMessage { + return (*MsgGuildBankConfiscateAndBurnResponse)(x) } // Range iterates over every populated field in an undefined order, @@ -10353,25 +9995,7 @@ func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimum) Interface() protorefl // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimum) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.Creator != "" { - value := protoreflect.ValueOfString(x.Creator) - if !f(fd_MsgGuildUpdateJoinInfusionMinimum_creator, value) { - return - } - } - if x.GuildId != "" { - value := protoreflect.ValueOfString(x.GuildId) - if !f(fd_MsgGuildUpdateJoinInfusionMinimum_guildId, value) { - return - } - } - if x.JoinInfusionMinimum != uint64(0) { - value := protoreflect.ValueOfUint64(x.JoinInfusionMinimum) - if !f(fd_MsgGuildUpdateJoinInfusionMinimum_joinInfusionMinimum, value) { - return - } - } +func (x *fastReflection_MsgGuildBankConfiscateAndBurnResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { } // Has reports whether a field is populated. @@ -10385,19 +10009,13 @@ func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimum) Range(f func(protoref // 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_MsgGuildUpdateJoinInfusionMinimum) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_MsgGuildBankConfiscateAndBurnResponse) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.MsgGuildUpdateJoinInfusionMinimum.creator": - return x.Creator != "" - case "structs.structs.MsgGuildUpdateJoinInfusionMinimum.guildId": - return x.GuildId != "" - case "structs.structs.MsgGuildUpdateJoinInfusionMinimum.joinInfusionMinimum": - return x.JoinInfusionMinimum != uint64(0) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildUpdateJoinInfusionMinimum")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildBankConfiscateAndBurnResponse")) } - panic(fmt.Errorf("message structs.structs.MsgGuildUpdateJoinInfusionMinimum does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildBankConfiscateAndBurnResponse does not contain field %s", fd.FullName())) } } @@ -10407,19 +10025,13 @@ func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimum) Has(fd protoreflect.F // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimum) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_MsgGuildBankConfiscateAndBurnResponse) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.MsgGuildUpdateJoinInfusionMinimum.creator": - x.Creator = "" - case "structs.structs.MsgGuildUpdateJoinInfusionMinimum.guildId": - x.GuildId = "" - case "structs.structs.MsgGuildUpdateJoinInfusionMinimum.joinInfusionMinimum": - x.JoinInfusionMinimum = uint64(0) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildUpdateJoinInfusionMinimum")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildBankConfiscateAndBurnResponse")) } - panic(fmt.Errorf("message structs.structs.MsgGuildUpdateJoinInfusionMinimum does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildBankConfiscateAndBurnResponse does not contain field %s", fd.FullName())) } } @@ -10429,22 +10041,13 @@ func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimum) Clear(fd protoreflect // 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_MsgGuildUpdateJoinInfusionMinimum) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgGuildBankConfiscateAndBurnResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.MsgGuildUpdateJoinInfusionMinimum.creator": - value := x.Creator - return protoreflect.ValueOfString(value) - case "structs.structs.MsgGuildUpdateJoinInfusionMinimum.guildId": - value := x.GuildId - return protoreflect.ValueOfString(value) - case "structs.structs.MsgGuildUpdateJoinInfusionMinimum.joinInfusionMinimum": - value := x.JoinInfusionMinimum - return protoreflect.ValueOfUint64(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildUpdateJoinInfusionMinimum")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildBankConfiscateAndBurnResponse")) } - panic(fmt.Errorf("message structs.structs.MsgGuildUpdateJoinInfusionMinimum does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildBankConfiscateAndBurnResponse does not contain field %s", descriptor.FullName())) } } @@ -10458,19 +10061,13 @@ func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimum) Get(descriptor protor // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimum) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_MsgGuildBankConfiscateAndBurnResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.MsgGuildUpdateJoinInfusionMinimum.creator": - x.Creator = value.Interface().(string) - case "structs.structs.MsgGuildUpdateJoinInfusionMinimum.guildId": - x.GuildId = value.Interface().(string) - case "structs.structs.MsgGuildUpdateJoinInfusionMinimum.joinInfusionMinimum": - x.JoinInfusionMinimum = value.Uint() default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildUpdateJoinInfusionMinimum")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildBankConfiscateAndBurnResponse")) } - panic(fmt.Errorf("message structs.structs.MsgGuildUpdateJoinInfusionMinimum does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildBankConfiscateAndBurnResponse does not contain field %s", fd.FullName())) } } @@ -10484,48 +10081,36 @@ func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimum) Set(fd protoreflect.F // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimum) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgGuildBankConfiscateAndBurnResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.MsgGuildUpdateJoinInfusionMinimum.creator": - panic(fmt.Errorf("field creator of message structs.structs.MsgGuildUpdateJoinInfusionMinimum is not mutable")) - case "structs.structs.MsgGuildUpdateJoinInfusionMinimum.guildId": - panic(fmt.Errorf("field guildId of message structs.structs.MsgGuildUpdateJoinInfusionMinimum is not mutable")) - case "structs.structs.MsgGuildUpdateJoinInfusionMinimum.joinInfusionMinimum": - panic(fmt.Errorf("field joinInfusionMinimum of message structs.structs.MsgGuildUpdateJoinInfusionMinimum is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildUpdateJoinInfusionMinimum")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildBankConfiscateAndBurnResponse")) } - panic(fmt.Errorf("message structs.structs.MsgGuildUpdateJoinInfusionMinimum does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildBankConfiscateAndBurnResponse 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_MsgGuildUpdateJoinInfusionMinimum) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgGuildBankConfiscateAndBurnResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.MsgGuildUpdateJoinInfusionMinimum.creator": - return protoreflect.ValueOfString("") - case "structs.structs.MsgGuildUpdateJoinInfusionMinimum.guildId": - return protoreflect.ValueOfString("") - case "structs.structs.MsgGuildUpdateJoinInfusionMinimum.joinInfusionMinimum": - return protoreflect.ValueOfUint64(uint64(0)) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildUpdateJoinInfusionMinimum")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildBankConfiscateAndBurnResponse")) } - panic(fmt.Errorf("message structs.structs.MsgGuildUpdateJoinInfusionMinimum does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildBankConfiscateAndBurnResponse 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_MsgGuildUpdateJoinInfusionMinimum) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_MsgGuildBankConfiscateAndBurnResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgGuildUpdateJoinInfusionMinimum", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgGuildBankConfiscateAndBurnResponse", d.FullName())) } panic("unreachable") } @@ -10533,7 +10118,7 @@ func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimum) WhichOneof(d protoref // 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_MsgGuildUpdateJoinInfusionMinimum) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_MsgGuildBankConfiscateAndBurnResponse) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -10544,7 +10129,7 @@ func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimum) GetUnknown() protoref // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimum) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_MsgGuildBankConfiscateAndBurnResponse) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -10556,7 +10141,7 @@ func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimum) SetUnknown(fields pro // 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_MsgGuildUpdateJoinInfusionMinimum) IsValid() bool { +func (x *fastReflection_MsgGuildBankConfiscateAndBurnResponse) IsValid() bool { return x != nil } @@ -10566,9 +10151,9 @@ func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimum) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimum) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_MsgGuildBankConfiscateAndBurnResponse) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*MsgGuildUpdateJoinInfusionMinimum) + x := input.Message.Interface().(*MsgGuildBankConfiscateAndBurnResponse) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -10580,17 +10165,6 @@ func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimum) ProtoMethods() *proto var n int var l int _ = l - l = len(x.Creator) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } - l = len(x.GuildId) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } - if x.JoinInfusionMinimum != 0 { - n += 1 + runtime.Sov(uint64(x.JoinInfusionMinimum)) - } if x.unknownFields != nil { n += len(x.unknownFields) } @@ -10601,7 +10175,7 @@ func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimum) ProtoMethods() *proto } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*MsgGuildUpdateJoinInfusionMinimum) + x := input.Message.Interface().(*MsgGuildBankConfiscateAndBurnResponse) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -10620,25 +10194,6 @@ func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimum) ProtoMethods() *proto i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if x.JoinInfusionMinimum != 0 { - i = runtime.EncodeVarint(dAtA, i, uint64(x.JoinInfusionMinimum)) - i-- - dAtA[i] = 0x18 - } - if len(x.GuildId) > 0 { - i -= len(x.GuildId) - copy(dAtA[i:], x.GuildId) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.GuildId))) - i-- - dAtA[i] = 0x12 - } - if len(x.Creator) > 0 { - i -= len(x.Creator) - copy(dAtA[i:], x.Creator) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Creator))) - i-- - dAtA[i] = 0xa - } if input.Buf != nil { input.Buf = append(input.Buf, dAtA...) } else { @@ -10650,7 +10205,7 @@ func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimum) ProtoMethods() *proto }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*MsgGuildUpdateJoinInfusionMinimum) + x := input.Message.Interface().(*MsgGuildBankConfiscateAndBurnResponse) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -10682,95 +10237,12 @@ func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimum) ProtoMethods() *proto fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgGuildUpdateJoinInfusionMinimum: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgGuildBankConfiscateAndBurnResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgGuildUpdateJoinInfusionMinimum: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgGuildBankConfiscateAndBurnResponse: 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 Creator", 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.Creator = 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 GuildId", 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.GuildId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field JoinInfusionMinimum", wireType) - } - x.JoinInfusionMinimum = 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.JoinInfusionMinimum |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } default: iNdEx = preIndex skippy, err := runtime.Skip(dAtA[iNdEx:]) @@ -10807,29 +10279,29 @@ func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimum) ProtoMethods() *proto } var ( - md_MsgGuildUpdateJoinInfusionMinimumBypassByRequest protoreflect.MessageDescriptor - fd_MsgGuildUpdateJoinInfusionMinimumBypassByRequest_creator protoreflect.FieldDescriptor - fd_MsgGuildUpdateJoinInfusionMinimumBypassByRequest_guildId protoreflect.FieldDescriptor - fd_MsgGuildUpdateJoinInfusionMinimumBypassByRequest_guildJoinBypassLevel protoreflect.FieldDescriptor + md_MsgGuildCreate protoreflect.MessageDescriptor + fd_MsgGuildCreate_creator protoreflect.FieldDescriptor + fd_MsgGuildCreate_endpoint protoreflect.FieldDescriptor + fd_MsgGuildCreate_entrySubstationId protoreflect.FieldDescriptor ) func init() { file_structs_structs_tx_proto_init() - md_MsgGuildUpdateJoinInfusionMinimumBypassByRequest = File_structs_structs_tx_proto.Messages().ByName("MsgGuildUpdateJoinInfusionMinimumBypassByRequest") - fd_MsgGuildUpdateJoinInfusionMinimumBypassByRequest_creator = md_MsgGuildUpdateJoinInfusionMinimumBypassByRequest.Fields().ByName("creator") - fd_MsgGuildUpdateJoinInfusionMinimumBypassByRequest_guildId = md_MsgGuildUpdateJoinInfusionMinimumBypassByRequest.Fields().ByName("guildId") - fd_MsgGuildUpdateJoinInfusionMinimumBypassByRequest_guildJoinBypassLevel = md_MsgGuildUpdateJoinInfusionMinimumBypassByRequest.Fields().ByName("guildJoinBypassLevel") + md_MsgGuildCreate = File_structs_structs_tx_proto.Messages().ByName("MsgGuildCreate") + fd_MsgGuildCreate_creator = md_MsgGuildCreate.Fields().ByName("creator") + fd_MsgGuildCreate_endpoint = md_MsgGuildCreate.Fields().ByName("endpoint") + fd_MsgGuildCreate_entrySubstationId = md_MsgGuildCreate.Fields().ByName("entrySubstationId") } -var _ protoreflect.Message = (*fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByRequest)(nil) +var _ protoreflect.Message = (*fastReflection_MsgGuildCreate)(nil) -type fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByRequest MsgGuildUpdateJoinInfusionMinimumBypassByRequest +type fastReflection_MsgGuildCreate MsgGuildCreate -func (x *MsgGuildUpdateJoinInfusionMinimumBypassByRequest) ProtoReflect() protoreflect.Message { - return (*fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByRequest)(x) +func (x *MsgGuildCreate) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgGuildCreate)(x) } -func (x *MsgGuildUpdateJoinInfusionMinimumBypassByRequest) slowProtoReflect() protoreflect.Message { +func (x *MsgGuildCreate) slowProtoReflect() protoreflect.Message { mi := &file_structs_structs_tx_proto_msgTypes[22] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -10841,43 +10313,43 @@ func (x *MsgGuildUpdateJoinInfusionMinimumBypassByRequest) slowProtoReflect() pr return mi.MessageOf(x) } -var _fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByRequest_messageType fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByRequest_messageType -var _ protoreflect.MessageType = fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByRequest_messageType{} +var _fastReflection_MsgGuildCreate_messageType fastReflection_MsgGuildCreate_messageType +var _ protoreflect.MessageType = fastReflection_MsgGuildCreate_messageType{} -type fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByRequest_messageType struct{} +type fastReflection_MsgGuildCreate_messageType struct{} -func (x fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByRequest_messageType) Zero() protoreflect.Message { - return (*fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByRequest)(nil) +func (x fastReflection_MsgGuildCreate_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgGuildCreate)(nil) } -func (x fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByRequest_messageType) New() protoreflect.Message { - return new(fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByRequest) +func (x fastReflection_MsgGuildCreate_messageType) New() protoreflect.Message { + return new(fastReflection_MsgGuildCreate) } -func (x fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByRequest_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_MsgGuildUpdateJoinInfusionMinimumBypassByRequest +func (x fastReflection_MsgGuildCreate_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgGuildCreate } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByRequest) Descriptor() protoreflect.MessageDescriptor { - return md_MsgGuildUpdateJoinInfusionMinimumBypassByRequest +func (x *fastReflection_MsgGuildCreate) Descriptor() protoreflect.MessageDescriptor { + return md_MsgGuildCreate } // 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_MsgGuildUpdateJoinInfusionMinimumBypassByRequest) Type() protoreflect.MessageType { - return _fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByRequest_messageType +func (x *fastReflection_MsgGuildCreate) Type() protoreflect.MessageType { + return _fastReflection_MsgGuildCreate_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByRequest) New() protoreflect.Message { - return new(fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByRequest) +func (x *fastReflection_MsgGuildCreate) New() protoreflect.Message { + return new(fastReflection_MsgGuildCreate) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByRequest) Interface() protoreflect.ProtoMessage { - return (*MsgGuildUpdateJoinInfusionMinimumBypassByRequest)(x) +func (x *fastReflection_MsgGuildCreate) Interface() protoreflect.ProtoMessage { + return (*MsgGuildCreate)(x) } // Range iterates over every populated field in an undefined order, @@ -10885,22 +10357,22 @@ func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByRequest) Interf // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +func (x *fastReflection_MsgGuildCreate) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { if x.Creator != "" { value := protoreflect.ValueOfString(x.Creator) - if !f(fd_MsgGuildUpdateJoinInfusionMinimumBypassByRequest_creator, value) { + if !f(fd_MsgGuildCreate_creator, value) { return } } - if x.GuildId != "" { - value := protoreflect.ValueOfString(x.GuildId) - if !f(fd_MsgGuildUpdateJoinInfusionMinimumBypassByRequest_guildId, value) { + if x.Endpoint != "" { + value := protoreflect.ValueOfString(x.Endpoint) + if !f(fd_MsgGuildCreate_endpoint, value) { return } } - if x.GuildJoinBypassLevel != 0 { - value := protoreflect.ValueOfEnum((protoreflect.EnumNumber)(x.GuildJoinBypassLevel)) - if !f(fd_MsgGuildUpdateJoinInfusionMinimumBypassByRequest_guildJoinBypassLevel, value) { + if x.EntrySubstationId != "" { + value := protoreflect.ValueOfString(x.EntrySubstationId) + if !f(fd_MsgGuildCreate_entrySubstationId, value) { return } } @@ -10917,19 +10389,19 @@ func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByRequest) Range( // 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_MsgGuildUpdateJoinInfusionMinimumBypassByRequest) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_MsgGuildCreate) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByRequest.creator": + case "structs.structs.MsgGuildCreate.creator": return x.Creator != "" - case "structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByRequest.guildId": - return x.GuildId != "" - case "structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByRequest.guildJoinBypassLevel": - return x.GuildJoinBypassLevel != 0 + case "structs.structs.MsgGuildCreate.endpoint": + return x.Endpoint != "" + case "structs.structs.MsgGuildCreate.entrySubstationId": + return x.EntrySubstationId != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildCreate")) } - panic(fmt.Errorf("message structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildCreate does not contain field %s", fd.FullName())) } } @@ -10939,19 +10411,19 @@ func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByRequest) Has(fd // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByRequest) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_MsgGuildCreate) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByRequest.creator": + case "structs.structs.MsgGuildCreate.creator": x.Creator = "" - case "structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByRequest.guildId": - x.GuildId = "" - case "structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByRequest.guildJoinBypassLevel": - x.GuildJoinBypassLevel = 0 + case "structs.structs.MsgGuildCreate.endpoint": + x.Endpoint = "" + case "structs.structs.MsgGuildCreate.entrySubstationId": + x.EntrySubstationId = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildCreate")) } - panic(fmt.Errorf("message structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildCreate does not contain field %s", fd.FullName())) } } @@ -10961,22 +10433,22 @@ func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByRequest) Clear( // 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_MsgGuildUpdateJoinInfusionMinimumBypassByRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgGuildCreate) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByRequest.creator": + case "structs.structs.MsgGuildCreate.creator": value := x.Creator return protoreflect.ValueOfString(value) - case "structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByRequest.guildId": - value := x.GuildId + case "structs.structs.MsgGuildCreate.endpoint": + value := x.Endpoint + return protoreflect.ValueOfString(value) + case "structs.structs.MsgGuildCreate.entrySubstationId": + value := x.EntrySubstationId return protoreflect.ValueOfString(value) - case "structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByRequest.guildJoinBypassLevel": - value := x.GuildJoinBypassLevel - return protoreflect.ValueOfEnum((protoreflect.EnumNumber)(value)) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildCreate")) } - panic(fmt.Errorf("message structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByRequest does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildCreate does not contain field %s", descriptor.FullName())) } } @@ -10990,19 +10462,19 @@ func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByRequest) Get(de // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_MsgGuildCreate) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByRequest.creator": + case "structs.structs.MsgGuildCreate.creator": x.Creator = value.Interface().(string) - case "structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByRequest.guildId": - x.GuildId = value.Interface().(string) - case "structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByRequest.guildJoinBypassLevel": - x.GuildJoinBypassLevel = (GuildJoinBypassLevel)(value.Enum()) + case "structs.structs.MsgGuildCreate.endpoint": + x.Endpoint = value.Interface().(string) + case "structs.structs.MsgGuildCreate.entrySubstationId": + x.EntrySubstationId = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildCreate")) } - panic(fmt.Errorf("message structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildCreate does not contain field %s", fd.FullName())) } } @@ -11016,48 +10488,48 @@ func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByRequest) Set(fd // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgGuildCreate) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByRequest.creator": - panic(fmt.Errorf("field creator of message structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByRequest is not mutable")) - case "structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByRequest.guildId": - panic(fmt.Errorf("field guildId of message structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByRequest is not mutable")) - case "structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByRequest.guildJoinBypassLevel": - panic(fmt.Errorf("field guildJoinBypassLevel of message structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByRequest is not mutable")) + case "structs.structs.MsgGuildCreate.creator": + panic(fmt.Errorf("field creator of message structs.structs.MsgGuildCreate is not mutable")) + case "structs.structs.MsgGuildCreate.endpoint": + panic(fmt.Errorf("field endpoint of message structs.structs.MsgGuildCreate is not mutable")) + case "structs.structs.MsgGuildCreate.entrySubstationId": + panic(fmt.Errorf("field entrySubstationId of message structs.structs.MsgGuildCreate is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildCreate")) } - panic(fmt.Errorf("message structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildCreate 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_MsgGuildUpdateJoinInfusionMinimumBypassByRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgGuildCreate) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByRequest.creator": + case "structs.structs.MsgGuildCreate.creator": return protoreflect.ValueOfString("") - case "structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByRequest.guildId": + case "structs.structs.MsgGuildCreate.endpoint": + return protoreflect.ValueOfString("") + case "structs.structs.MsgGuildCreate.entrySubstationId": return protoreflect.ValueOfString("") - case "structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByRequest.guildJoinBypassLevel": - return protoreflect.ValueOfEnum(0) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildCreate")) } - panic(fmt.Errorf("message structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildCreate 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_MsgGuildUpdateJoinInfusionMinimumBypassByRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_MsgGuildCreate) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByRequest", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgGuildCreate", d.FullName())) } panic("unreachable") } @@ -11065,7 +10537,7 @@ func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByRequest) WhichO // 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_MsgGuildUpdateJoinInfusionMinimumBypassByRequest) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_MsgGuildCreate) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -11076,7 +10548,7 @@ func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByRequest) GetUnk // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByRequest) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_MsgGuildCreate) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -11088,7 +10560,7 @@ func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByRequest) SetUnk // 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_MsgGuildUpdateJoinInfusionMinimumBypassByRequest) IsValid() bool { +func (x *fastReflection_MsgGuildCreate) IsValid() bool { return x != nil } @@ -11098,9 +10570,9 @@ func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByRequest) IsVali // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByRequest) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_MsgGuildCreate) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*MsgGuildUpdateJoinInfusionMinimumBypassByRequest) + x := input.Message.Interface().(*MsgGuildCreate) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -11116,12 +10588,13 @@ func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByRequest) ProtoM if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } - l = len(x.GuildId) + l = len(x.Endpoint) if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } - if x.GuildJoinBypassLevel != 0 { - n += 1 + runtime.Sov(uint64(x.GuildJoinBypassLevel)) + l = len(x.EntrySubstationId) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) } if x.unknownFields != nil { n += len(x.unknownFields) @@ -11133,7 +10606,7 @@ func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByRequest) ProtoM } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*MsgGuildUpdateJoinInfusionMinimumBypassByRequest) + x := input.Message.Interface().(*MsgGuildCreate) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -11152,15 +10625,17 @@ func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByRequest) ProtoM i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if x.GuildJoinBypassLevel != 0 { - i = runtime.EncodeVarint(dAtA, i, uint64(x.GuildJoinBypassLevel)) + if len(x.EntrySubstationId) > 0 { + i -= len(x.EntrySubstationId) + copy(dAtA[i:], x.EntrySubstationId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.EntrySubstationId))) i-- - dAtA[i] = 0x18 + dAtA[i] = 0x1a } - if len(x.GuildId) > 0 { - i -= len(x.GuildId) - copy(dAtA[i:], x.GuildId) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.GuildId))) + if len(x.Endpoint) > 0 { + i -= len(x.Endpoint) + copy(dAtA[i:], x.Endpoint) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Endpoint))) i-- dAtA[i] = 0x12 } @@ -11182,7 +10657,7 @@ func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByRequest) ProtoM }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*MsgGuildUpdateJoinInfusionMinimumBypassByRequest) + x := input.Message.Interface().(*MsgGuildCreate) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -11214,10 +10689,10 @@ func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByRequest) ProtoM fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgGuildUpdateJoinInfusionMinimumBypassByRequest: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgGuildCreate: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgGuildUpdateJoinInfusionMinimumBypassByRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgGuildCreate: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -11254,7 +10729,7 @@ func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByRequest) ProtoM iNdEx = postIndex case 2: if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field GuildId", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Endpoint", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -11282,13 +10757,13 @@ func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByRequest) ProtoM if postIndex > l { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - x.GuildId = string(dAtA[iNdEx:postIndex]) + x.Endpoint = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 3: - if wireType != 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field GuildJoinBypassLevel", wireType) + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field EntrySubstationId", wireType) } - x.GuildJoinBypassLevel = 0 + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -11298,11 +10773,24 @@ func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByRequest) ProtoM } b := dAtA[iNdEx] iNdEx++ - x.GuildJoinBypassLevel |= GuildJoinBypassLevel(b&0x7F) << shift + 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.EntrySubstationId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := runtime.Skip(dAtA[iNdEx:]) @@ -11339,29 +10827,25 @@ func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByRequest) ProtoM } var ( - md_MsgGuildUpdateJoinInfusionMinimumBypassByInvite protoreflect.MessageDescriptor - fd_MsgGuildUpdateJoinInfusionMinimumBypassByInvite_creator protoreflect.FieldDescriptor - fd_MsgGuildUpdateJoinInfusionMinimumBypassByInvite_guildId protoreflect.FieldDescriptor - fd_MsgGuildUpdateJoinInfusionMinimumBypassByInvite_guildJoinBypassLevel protoreflect.FieldDescriptor + md_MsgGuildCreateResponse protoreflect.MessageDescriptor + fd_MsgGuildCreateResponse_guildId protoreflect.FieldDescriptor ) func init() { file_structs_structs_tx_proto_init() - md_MsgGuildUpdateJoinInfusionMinimumBypassByInvite = File_structs_structs_tx_proto.Messages().ByName("MsgGuildUpdateJoinInfusionMinimumBypassByInvite") - fd_MsgGuildUpdateJoinInfusionMinimumBypassByInvite_creator = md_MsgGuildUpdateJoinInfusionMinimumBypassByInvite.Fields().ByName("creator") - fd_MsgGuildUpdateJoinInfusionMinimumBypassByInvite_guildId = md_MsgGuildUpdateJoinInfusionMinimumBypassByInvite.Fields().ByName("guildId") - fd_MsgGuildUpdateJoinInfusionMinimumBypassByInvite_guildJoinBypassLevel = md_MsgGuildUpdateJoinInfusionMinimumBypassByInvite.Fields().ByName("guildJoinBypassLevel") + md_MsgGuildCreateResponse = File_structs_structs_tx_proto.Messages().ByName("MsgGuildCreateResponse") + fd_MsgGuildCreateResponse_guildId = md_MsgGuildCreateResponse.Fields().ByName("guildId") } -var _ protoreflect.Message = (*fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByInvite)(nil) +var _ protoreflect.Message = (*fastReflection_MsgGuildCreateResponse)(nil) -type fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByInvite MsgGuildUpdateJoinInfusionMinimumBypassByInvite +type fastReflection_MsgGuildCreateResponse MsgGuildCreateResponse -func (x *MsgGuildUpdateJoinInfusionMinimumBypassByInvite) ProtoReflect() protoreflect.Message { - return (*fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByInvite)(x) +func (x *MsgGuildCreateResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgGuildCreateResponse)(x) } -func (x *MsgGuildUpdateJoinInfusionMinimumBypassByInvite) slowProtoReflect() protoreflect.Message { +func (x *MsgGuildCreateResponse) slowProtoReflect() protoreflect.Message { mi := &file_structs_structs_tx_proto_msgTypes[23] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -11373,43 +10857,43 @@ func (x *MsgGuildUpdateJoinInfusionMinimumBypassByInvite) slowProtoReflect() pro return mi.MessageOf(x) } -var _fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByInvite_messageType fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByInvite_messageType -var _ protoreflect.MessageType = fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByInvite_messageType{} +var _fastReflection_MsgGuildCreateResponse_messageType fastReflection_MsgGuildCreateResponse_messageType +var _ protoreflect.MessageType = fastReflection_MsgGuildCreateResponse_messageType{} -type fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByInvite_messageType struct{} +type fastReflection_MsgGuildCreateResponse_messageType struct{} -func (x fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByInvite_messageType) Zero() protoreflect.Message { - return (*fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByInvite)(nil) +func (x fastReflection_MsgGuildCreateResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgGuildCreateResponse)(nil) } -func (x fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByInvite_messageType) New() protoreflect.Message { - return new(fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByInvite) +func (x fastReflection_MsgGuildCreateResponse_messageType) New() protoreflect.Message { + return new(fastReflection_MsgGuildCreateResponse) } -func (x fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByInvite_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_MsgGuildUpdateJoinInfusionMinimumBypassByInvite +func (x fastReflection_MsgGuildCreateResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgGuildCreateResponse } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByInvite) Descriptor() protoreflect.MessageDescriptor { - return md_MsgGuildUpdateJoinInfusionMinimumBypassByInvite +func (x *fastReflection_MsgGuildCreateResponse) Descriptor() protoreflect.MessageDescriptor { + return md_MsgGuildCreateResponse } // 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_MsgGuildUpdateJoinInfusionMinimumBypassByInvite) Type() protoreflect.MessageType { - return _fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByInvite_messageType +func (x *fastReflection_MsgGuildCreateResponse) Type() protoreflect.MessageType { + return _fastReflection_MsgGuildCreateResponse_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByInvite) New() protoreflect.Message { - return new(fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByInvite) +func (x *fastReflection_MsgGuildCreateResponse) New() protoreflect.Message { + return new(fastReflection_MsgGuildCreateResponse) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByInvite) Interface() protoreflect.ProtoMessage { - return (*MsgGuildUpdateJoinInfusionMinimumBypassByInvite)(x) +func (x *fastReflection_MsgGuildCreateResponse) Interface() protoreflect.ProtoMessage { + return (*MsgGuildCreateResponse)(x) } // Range iterates over every populated field in an undefined order, @@ -11417,22 +10901,10 @@ func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByInvite) Interfa // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByInvite) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.Creator != "" { - value := protoreflect.ValueOfString(x.Creator) - if !f(fd_MsgGuildUpdateJoinInfusionMinimumBypassByInvite_creator, value) { - return - } - } +func (x *fastReflection_MsgGuildCreateResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { if x.GuildId != "" { value := protoreflect.ValueOfString(x.GuildId) - if !f(fd_MsgGuildUpdateJoinInfusionMinimumBypassByInvite_guildId, value) { - return - } - } - if x.GuildJoinBypassLevel != 0 { - value := protoreflect.ValueOfEnum((protoreflect.EnumNumber)(x.GuildJoinBypassLevel)) - if !f(fd_MsgGuildUpdateJoinInfusionMinimumBypassByInvite_guildJoinBypassLevel, value) { + if !f(fd_MsgGuildCreateResponse_guildId, value) { return } } @@ -11449,19 +10921,15 @@ func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByInvite) Range(f // 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_MsgGuildUpdateJoinInfusionMinimumBypassByInvite) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_MsgGuildCreateResponse) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByInvite.creator": - return x.Creator != "" - case "structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByInvite.guildId": + case "structs.structs.MsgGuildCreateResponse.guildId": return x.GuildId != "" - case "structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByInvite.guildJoinBypassLevel": - return x.GuildJoinBypassLevel != 0 default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByInvite")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildCreateResponse")) } - panic(fmt.Errorf("message structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByInvite does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildCreateResponse does not contain field %s", fd.FullName())) } } @@ -11471,19 +10939,15 @@ func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByInvite) Has(fd // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByInvite) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_MsgGuildCreateResponse) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByInvite.creator": - x.Creator = "" - case "structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByInvite.guildId": + case "structs.structs.MsgGuildCreateResponse.guildId": x.GuildId = "" - case "structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByInvite.guildJoinBypassLevel": - x.GuildJoinBypassLevel = 0 default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByInvite")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildCreateResponse")) } - panic(fmt.Errorf("message structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByInvite does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildCreateResponse does not contain field %s", fd.FullName())) } } @@ -11493,22 +10957,16 @@ func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByInvite) Clear(f // 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_MsgGuildUpdateJoinInfusionMinimumBypassByInvite) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgGuildCreateResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByInvite.creator": - value := x.Creator - return protoreflect.ValueOfString(value) - case "structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByInvite.guildId": + case "structs.structs.MsgGuildCreateResponse.guildId": value := x.GuildId return protoreflect.ValueOfString(value) - case "structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByInvite.guildJoinBypassLevel": - value := x.GuildJoinBypassLevel - return protoreflect.ValueOfEnum((protoreflect.EnumNumber)(value)) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByInvite")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildCreateResponse")) } - panic(fmt.Errorf("message structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByInvite does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildCreateResponse does not contain field %s", descriptor.FullName())) } } @@ -11522,19 +10980,15 @@ func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByInvite) Get(des // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByInvite) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_MsgGuildCreateResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByInvite.creator": - x.Creator = value.Interface().(string) - case "structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByInvite.guildId": + case "structs.structs.MsgGuildCreateResponse.guildId": x.GuildId = value.Interface().(string) - case "structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByInvite.guildJoinBypassLevel": - x.GuildJoinBypassLevel = (GuildJoinBypassLevel)(value.Enum()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByInvite")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildCreateResponse")) } - panic(fmt.Errorf("message structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByInvite does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildCreateResponse does not contain field %s", fd.FullName())) } } @@ -11548,48 +11002,40 @@ func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByInvite) Set(fd // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByInvite) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgGuildCreateResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByInvite.creator": - panic(fmt.Errorf("field creator of message structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByInvite is not mutable")) - case "structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByInvite.guildId": - panic(fmt.Errorf("field guildId of message structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByInvite is not mutable")) - case "structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByInvite.guildJoinBypassLevel": - panic(fmt.Errorf("field guildJoinBypassLevel of message structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByInvite is not mutable")) + case "structs.structs.MsgGuildCreateResponse.guildId": + panic(fmt.Errorf("field guildId of message structs.structs.MsgGuildCreateResponse is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByInvite")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildCreateResponse")) } - panic(fmt.Errorf("message structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByInvite does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildCreateResponse 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_MsgGuildUpdateJoinInfusionMinimumBypassByInvite) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgGuildCreateResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByInvite.creator": - return protoreflect.ValueOfString("") - case "structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByInvite.guildId": + case "structs.structs.MsgGuildCreateResponse.guildId": return protoreflect.ValueOfString("") - case "structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByInvite.guildJoinBypassLevel": - return protoreflect.ValueOfEnum(0) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByInvite")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildCreateResponse")) } - panic(fmt.Errorf("message structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByInvite does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildCreateResponse 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_MsgGuildUpdateJoinInfusionMinimumBypassByInvite) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_MsgGuildCreateResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByInvite", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgGuildCreateResponse", d.FullName())) } panic("unreachable") } @@ -11597,7 +11043,7 @@ func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByInvite) WhichOn // 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_MsgGuildUpdateJoinInfusionMinimumBypassByInvite) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_MsgGuildCreateResponse) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -11608,7 +11054,7 @@ func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByInvite) GetUnkn // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByInvite) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_MsgGuildCreateResponse) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -11620,7 +11066,7 @@ func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByInvite) SetUnkn // 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_MsgGuildUpdateJoinInfusionMinimumBypassByInvite) IsValid() bool { +func (x *fastReflection_MsgGuildCreateResponse) IsValid() bool { return x != nil } @@ -11630,9 +11076,9 @@ func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByInvite) IsValid // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByInvite) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_MsgGuildCreateResponse) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*MsgGuildUpdateJoinInfusionMinimumBypassByInvite) + x := input.Message.Interface().(*MsgGuildCreateResponse) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -11644,17 +11090,10 @@ func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByInvite) ProtoMe var n int var l int _ = l - l = len(x.Creator) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } l = len(x.GuildId) if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } - if x.GuildJoinBypassLevel != 0 { - n += 1 + runtime.Sov(uint64(x.GuildJoinBypassLevel)) - } if x.unknownFields != nil { n += len(x.unknownFields) } @@ -11665,7 +11104,7 @@ func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByInvite) ProtoMe } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*MsgGuildUpdateJoinInfusionMinimumBypassByInvite) + x := input.Message.Interface().(*MsgGuildCreateResponse) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -11684,23 +11123,11 @@ func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByInvite) ProtoMe i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if x.GuildJoinBypassLevel != 0 { - i = runtime.EncodeVarint(dAtA, i, uint64(x.GuildJoinBypassLevel)) - i-- - dAtA[i] = 0x18 - } if len(x.GuildId) > 0 { i -= len(x.GuildId) copy(dAtA[i:], x.GuildId) i = runtime.EncodeVarint(dAtA, i, uint64(len(x.GuildId))) i-- - dAtA[i] = 0x12 - } - if len(x.Creator) > 0 { - i -= len(x.Creator) - copy(dAtA[i:], x.Creator) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Creator))) - i-- dAtA[i] = 0xa } if input.Buf != nil { @@ -11714,7 +11141,7 @@ func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByInvite) ProtoMe }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*MsgGuildUpdateJoinInfusionMinimumBypassByInvite) + x := input.Message.Interface().(*MsgGuildCreateResponse) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -11746,45 +11173,13 @@ func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByInvite) ProtoMe fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgGuildUpdateJoinInfusionMinimumBypassByInvite: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgGuildCreateResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgGuildUpdateJoinInfusionMinimumBypassByInvite: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgGuildCreateResponse: 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 Creator", 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.Creator = 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 GuildId", wireType) } @@ -11816,25 +11211,6 @@ func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByInvite) ProtoMe } x.GuildId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 3: - if wireType != 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field GuildJoinBypassLevel", wireType) - } - x.GuildJoinBypassLevel = 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.GuildJoinBypassLevel |= GuildJoinBypassLevel(b&0x7F) << shift - if b < 0x80 { - break - } - } default: iNdEx = preIndex skippy, err := runtime.Skip(dAtA[iNdEx:]) @@ -11871,23 +11247,29 @@ func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByInvite) ProtoMe } var ( - md_MsgGuildUpdateResponse protoreflect.MessageDescriptor + md_MsgGuildUpdateOwnerId protoreflect.MessageDescriptor + fd_MsgGuildUpdateOwnerId_creator protoreflect.FieldDescriptor + fd_MsgGuildUpdateOwnerId_guildId protoreflect.FieldDescriptor + fd_MsgGuildUpdateOwnerId_owner protoreflect.FieldDescriptor ) func init() { file_structs_structs_tx_proto_init() - md_MsgGuildUpdateResponse = File_structs_structs_tx_proto.Messages().ByName("MsgGuildUpdateResponse") + md_MsgGuildUpdateOwnerId = File_structs_structs_tx_proto.Messages().ByName("MsgGuildUpdateOwnerId") + fd_MsgGuildUpdateOwnerId_creator = md_MsgGuildUpdateOwnerId.Fields().ByName("creator") + fd_MsgGuildUpdateOwnerId_guildId = md_MsgGuildUpdateOwnerId.Fields().ByName("guildId") + fd_MsgGuildUpdateOwnerId_owner = md_MsgGuildUpdateOwnerId.Fields().ByName("owner") } -var _ protoreflect.Message = (*fastReflection_MsgGuildUpdateResponse)(nil) +var _ protoreflect.Message = (*fastReflection_MsgGuildUpdateOwnerId)(nil) -type fastReflection_MsgGuildUpdateResponse MsgGuildUpdateResponse +type fastReflection_MsgGuildUpdateOwnerId MsgGuildUpdateOwnerId -func (x *MsgGuildUpdateResponse) ProtoReflect() protoreflect.Message { - return (*fastReflection_MsgGuildUpdateResponse)(x) +func (x *MsgGuildUpdateOwnerId) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgGuildUpdateOwnerId)(x) } -func (x *MsgGuildUpdateResponse) slowProtoReflect() protoreflect.Message { +func (x *MsgGuildUpdateOwnerId) slowProtoReflect() protoreflect.Message { mi := &file_structs_structs_tx_proto_msgTypes[24] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -11899,43 +11281,43 @@ func (x *MsgGuildUpdateResponse) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_MsgGuildUpdateResponse_messageType fastReflection_MsgGuildUpdateResponse_messageType -var _ protoreflect.MessageType = fastReflection_MsgGuildUpdateResponse_messageType{} +var _fastReflection_MsgGuildUpdateOwnerId_messageType fastReflection_MsgGuildUpdateOwnerId_messageType +var _ protoreflect.MessageType = fastReflection_MsgGuildUpdateOwnerId_messageType{} -type fastReflection_MsgGuildUpdateResponse_messageType struct{} +type fastReflection_MsgGuildUpdateOwnerId_messageType struct{} -func (x fastReflection_MsgGuildUpdateResponse_messageType) Zero() protoreflect.Message { - return (*fastReflection_MsgGuildUpdateResponse)(nil) +func (x fastReflection_MsgGuildUpdateOwnerId_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgGuildUpdateOwnerId)(nil) } -func (x fastReflection_MsgGuildUpdateResponse_messageType) New() protoreflect.Message { - return new(fastReflection_MsgGuildUpdateResponse) +func (x fastReflection_MsgGuildUpdateOwnerId_messageType) New() protoreflect.Message { + return new(fastReflection_MsgGuildUpdateOwnerId) } -func (x fastReflection_MsgGuildUpdateResponse_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_MsgGuildUpdateResponse +func (x fastReflection_MsgGuildUpdateOwnerId_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgGuildUpdateOwnerId } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_MsgGuildUpdateResponse) Descriptor() protoreflect.MessageDescriptor { - return md_MsgGuildUpdateResponse +func (x *fastReflection_MsgGuildUpdateOwnerId) Descriptor() protoreflect.MessageDescriptor { + return md_MsgGuildUpdateOwnerId } // 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_MsgGuildUpdateResponse) Type() protoreflect.MessageType { - return _fastReflection_MsgGuildUpdateResponse_messageType +func (x *fastReflection_MsgGuildUpdateOwnerId) Type() protoreflect.MessageType { + return _fastReflection_MsgGuildUpdateOwnerId_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_MsgGuildUpdateResponse) New() protoreflect.Message { - return new(fastReflection_MsgGuildUpdateResponse) +func (x *fastReflection_MsgGuildUpdateOwnerId) New() protoreflect.Message { + return new(fastReflection_MsgGuildUpdateOwnerId) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_MsgGuildUpdateResponse) Interface() protoreflect.ProtoMessage { - return (*MsgGuildUpdateResponse)(x) +func (x *fastReflection_MsgGuildUpdateOwnerId) Interface() protoreflect.ProtoMessage { + return (*MsgGuildUpdateOwnerId)(x) } // Range iterates over every populated field in an undefined order, @@ -11943,7 +11325,25 @@ func (x *fastReflection_MsgGuildUpdateResponse) Interface() protoreflect.ProtoMe // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_MsgGuildUpdateResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +func (x *fastReflection_MsgGuildUpdateOwnerId) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Creator != "" { + value := protoreflect.ValueOfString(x.Creator) + if !f(fd_MsgGuildUpdateOwnerId_creator, value) { + return + } + } + if x.GuildId != "" { + value := protoreflect.ValueOfString(x.GuildId) + if !f(fd_MsgGuildUpdateOwnerId_guildId, value) { + return + } + } + if x.Owner != "" { + value := protoreflect.ValueOfString(x.Owner) + if !f(fd_MsgGuildUpdateOwnerId_owner, value) { + return + } + } } // Has reports whether a field is populated. @@ -11957,13 +11357,19 @@ func (x *fastReflection_MsgGuildUpdateResponse) Range(f func(protoreflect.FieldD // 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_MsgGuildUpdateResponse) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_MsgGuildUpdateOwnerId) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { + case "structs.structs.MsgGuildUpdateOwnerId.creator": + return x.Creator != "" + case "structs.structs.MsgGuildUpdateOwnerId.guildId": + return x.GuildId != "" + case "structs.structs.MsgGuildUpdateOwnerId.owner": + return x.Owner != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildUpdateResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildUpdateOwnerId")) } - panic(fmt.Errorf("message structs.structs.MsgGuildUpdateResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildUpdateOwnerId does not contain field %s", fd.FullName())) } } @@ -11973,13 +11379,19 @@ func (x *fastReflection_MsgGuildUpdateResponse) Has(fd protoreflect.FieldDescrip // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgGuildUpdateResponse) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_MsgGuildUpdateOwnerId) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { + case "structs.structs.MsgGuildUpdateOwnerId.creator": + x.Creator = "" + case "structs.structs.MsgGuildUpdateOwnerId.guildId": + x.GuildId = "" + case "structs.structs.MsgGuildUpdateOwnerId.owner": + x.Owner = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildUpdateResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildUpdateOwnerId")) } - panic(fmt.Errorf("message structs.structs.MsgGuildUpdateResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildUpdateOwnerId does not contain field %s", fd.FullName())) } } @@ -11989,13 +11401,22 @@ func (x *fastReflection_MsgGuildUpdateResponse) Clear(fd protoreflect.FieldDescr // 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_MsgGuildUpdateResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgGuildUpdateOwnerId) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { + case "structs.structs.MsgGuildUpdateOwnerId.creator": + value := x.Creator + return protoreflect.ValueOfString(value) + case "structs.structs.MsgGuildUpdateOwnerId.guildId": + value := x.GuildId + return protoreflect.ValueOfString(value) + case "structs.structs.MsgGuildUpdateOwnerId.owner": + value := x.Owner + return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildUpdateResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildUpdateOwnerId")) } - panic(fmt.Errorf("message structs.structs.MsgGuildUpdateResponse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildUpdateOwnerId does not contain field %s", descriptor.FullName())) } } @@ -12009,13 +11430,19 @@ func (x *fastReflection_MsgGuildUpdateResponse) Get(descriptor protoreflect.Fiel // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgGuildUpdateResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_MsgGuildUpdateOwnerId) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { + case "structs.structs.MsgGuildUpdateOwnerId.creator": + x.Creator = value.Interface().(string) + case "structs.structs.MsgGuildUpdateOwnerId.guildId": + x.GuildId = value.Interface().(string) + case "structs.structs.MsgGuildUpdateOwnerId.owner": + x.Owner = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildUpdateResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildUpdateOwnerId")) } - panic(fmt.Errorf("message structs.structs.MsgGuildUpdateResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildUpdateOwnerId does not contain field %s", fd.FullName())) } } @@ -12029,36 +11456,48 @@ func (x *fastReflection_MsgGuildUpdateResponse) Set(fd protoreflect.FieldDescrip // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgGuildUpdateResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgGuildUpdateOwnerId) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { + case "structs.structs.MsgGuildUpdateOwnerId.creator": + panic(fmt.Errorf("field creator of message structs.structs.MsgGuildUpdateOwnerId is not mutable")) + case "structs.structs.MsgGuildUpdateOwnerId.guildId": + panic(fmt.Errorf("field guildId of message structs.structs.MsgGuildUpdateOwnerId is not mutable")) + case "structs.structs.MsgGuildUpdateOwnerId.owner": + panic(fmt.Errorf("field owner of message structs.structs.MsgGuildUpdateOwnerId is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildUpdateResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildUpdateOwnerId")) } - panic(fmt.Errorf("message structs.structs.MsgGuildUpdateResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildUpdateOwnerId 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_MsgGuildUpdateResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgGuildUpdateOwnerId) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { + case "structs.structs.MsgGuildUpdateOwnerId.creator": + return protoreflect.ValueOfString("") + case "structs.structs.MsgGuildUpdateOwnerId.guildId": + return protoreflect.ValueOfString("") + case "structs.structs.MsgGuildUpdateOwnerId.owner": + return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildUpdateResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildUpdateOwnerId")) } - panic(fmt.Errorf("message structs.structs.MsgGuildUpdateResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildUpdateOwnerId 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_MsgGuildUpdateResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_MsgGuildUpdateOwnerId) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgGuildUpdateResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgGuildUpdateOwnerId", d.FullName())) } panic("unreachable") } @@ -12066,7 +11505,7 @@ func (x *fastReflection_MsgGuildUpdateResponse) WhichOneof(d protoreflect.OneofD // 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_MsgGuildUpdateResponse) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_MsgGuildUpdateOwnerId) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -12077,7 +11516,7 @@ func (x *fastReflection_MsgGuildUpdateResponse) GetUnknown() protoreflect.RawFie // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgGuildUpdateResponse) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_MsgGuildUpdateOwnerId) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -12089,7 +11528,7 @@ func (x *fastReflection_MsgGuildUpdateResponse) SetUnknown(fields protoreflect.R // 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_MsgGuildUpdateResponse) IsValid() bool { +func (x *fastReflection_MsgGuildUpdateOwnerId) IsValid() bool { return x != nil } @@ -12099,9 +11538,9 @@ func (x *fastReflection_MsgGuildUpdateResponse) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_MsgGuildUpdateResponse) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_MsgGuildUpdateOwnerId) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*MsgGuildUpdateResponse) + x := input.Message.Interface().(*MsgGuildUpdateOwnerId) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -12113,6 +11552,18 @@ func (x *fastReflection_MsgGuildUpdateResponse) ProtoMethods() *protoiface.Metho var n int var l int _ = l + l = len(x.Creator) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.GuildId) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.Owner) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } if x.unknownFields != nil { n += len(x.unknownFields) } @@ -12123,7 +11574,7 @@ func (x *fastReflection_MsgGuildUpdateResponse) ProtoMethods() *protoiface.Metho } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*MsgGuildUpdateResponse) + x := input.Message.Interface().(*MsgGuildUpdateOwnerId) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -12142,6 +11593,27 @@ func (x *fastReflection_MsgGuildUpdateResponse) ProtoMethods() *protoiface.Metho i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } + if len(x.Owner) > 0 { + i -= len(x.Owner) + copy(dAtA[i:], x.Owner) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Owner))) + i-- + dAtA[i] = 0x1a + } + if len(x.GuildId) > 0 { + i -= len(x.GuildId) + copy(dAtA[i:], x.GuildId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.GuildId))) + i-- + dAtA[i] = 0x12 + } + if len(x.Creator) > 0 { + i -= len(x.Creator) + copy(dAtA[i:], x.Creator) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Creator))) + i-- + dAtA[i] = 0xa + } if input.Buf != nil { input.Buf = append(input.Buf, dAtA...) } else { @@ -12153,7 +11625,7 @@ func (x *fastReflection_MsgGuildUpdateResponse) ProtoMethods() *protoiface.Metho }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*MsgGuildUpdateResponse) + x := input.Message.Interface().(*MsgGuildUpdateOwnerId) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -12185,12 +11657,108 @@ func (x *fastReflection_MsgGuildUpdateResponse) ProtoMethods() *protoiface.Metho fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgGuildUpdateResponse: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgGuildUpdateOwnerId: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgGuildUpdateResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgGuildUpdateOwnerId: 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 Creator", 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.Creator = 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 GuildId", 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.GuildId = 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 Owner", 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.Owner = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := runtime.Skip(dAtA[iNdEx:]) @@ -12227,31 +11795,29 @@ func (x *fastReflection_MsgGuildUpdateResponse) ProtoMethods() *protoiface.Metho } var ( - md_MsgGuildMembershipInvite protoreflect.MessageDescriptor - fd_MsgGuildMembershipInvite_creator protoreflect.FieldDescriptor - fd_MsgGuildMembershipInvite_guildId protoreflect.FieldDescriptor - fd_MsgGuildMembershipInvite_playerId protoreflect.FieldDescriptor - fd_MsgGuildMembershipInvite_substationId protoreflect.FieldDescriptor + md_MsgGuildUpdateEntrySubstationId protoreflect.MessageDescriptor + fd_MsgGuildUpdateEntrySubstationId_creator protoreflect.FieldDescriptor + fd_MsgGuildUpdateEntrySubstationId_guildId protoreflect.FieldDescriptor + fd_MsgGuildUpdateEntrySubstationId_entrySubstationId protoreflect.FieldDescriptor ) func init() { file_structs_structs_tx_proto_init() - md_MsgGuildMembershipInvite = File_structs_structs_tx_proto.Messages().ByName("MsgGuildMembershipInvite") - fd_MsgGuildMembershipInvite_creator = md_MsgGuildMembershipInvite.Fields().ByName("creator") - fd_MsgGuildMembershipInvite_guildId = md_MsgGuildMembershipInvite.Fields().ByName("guildId") - fd_MsgGuildMembershipInvite_playerId = md_MsgGuildMembershipInvite.Fields().ByName("playerId") - fd_MsgGuildMembershipInvite_substationId = md_MsgGuildMembershipInvite.Fields().ByName("substationId") + md_MsgGuildUpdateEntrySubstationId = File_structs_structs_tx_proto.Messages().ByName("MsgGuildUpdateEntrySubstationId") + fd_MsgGuildUpdateEntrySubstationId_creator = md_MsgGuildUpdateEntrySubstationId.Fields().ByName("creator") + fd_MsgGuildUpdateEntrySubstationId_guildId = md_MsgGuildUpdateEntrySubstationId.Fields().ByName("guildId") + fd_MsgGuildUpdateEntrySubstationId_entrySubstationId = md_MsgGuildUpdateEntrySubstationId.Fields().ByName("entrySubstationId") } -var _ protoreflect.Message = (*fastReflection_MsgGuildMembershipInvite)(nil) +var _ protoreflect.Message = (*fastReflection_MsgGuildUpdateEntrySubstationId)(nil) -type fastReflection_MsgGuildMembershipInvite MsgGuildMembershipInvite +type fastReflection_MsgGuildUpdateEntrySubstationId MsgGuildUpdateEntrySubstationId -func (x *MsgGuildMembershipInvite) ProtoReflect() protoreflect.Message { - return (*fastReflection_MsgGuildMembershipInvite)(x) +func (x *MsgGuildUpdateEntrySubstationId) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgGuildUpdateEntrySubstationId)(x) } -func (x *MsgGuildMembershipInvite) slowProtoReflect() protoreflect.Message { +func (x *MsgGuildUpdateEntrySubstationId) slowProtoReflect() protoreflect.Message { mi := &file_structs_structs_tx_proto_msgTypes[25] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -12263,43 +11829,43 @@ func (x *MsgGuildMembershipInvite) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_MsgGuildMembershipInvite_messageType fastReflection_MsgGuildMembershipInvite_messageType -var _ protoreflect.MessageType = fastReflection_MsgGuildMembershipInvite_messageType{} +var _fastReflection_MsgGuildUpdateEntrySubstationId_messageType fastReflection_MsgGuildUpdateEntrySubstationId_messageType +var _ protoreflect.MessageType = fastReflection_MsgGuildUpdateEntrySubstationId_messageType{} -type fastReflection_MsgGuildMembershipInvite_messageType struct{} +type fastReflection_MsgGuildUpdateEntrySubstationId_messageType struct{} -func (x fastReflection_MsgGuildMembershipInvite_messageType) Zero() protoreflect.Message { - return (*fastReflection_MsgGuildMembershipInvite)(nil) +func (x fastReflection_MsgGuildUpdateEntrySubstationId_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgGuildUpdateEntrySubstationId)(nil) } -func (x fastReflection_MsgGuildMembershipInvite_messageType) New() protoreflect.Message { - return new(fastReflection_MsgGuildMembershipInvite) +func (x fastReflection_MsgGuildUpdateEntrySubstationId_messageType) New() protoreflect.Message { + return new(fastReflection_MsgGuildUpdateEntrySubstationId) } -func (x fastReflection_MsgGuildMembershipInvite_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_MsgGuildMembershipInvite +func (x fastReflection_MsgGuildUpdateEntrySubstationId_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgGuildUpdateEntrySubstationId } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_MsgGuildMembershipInvite) Descriptor() protoreflect.MessageDescriptor { - return md_MsgGuildMembershipInvite +func (x *fastReflection_MsgGuildUpdateEntrySubstationId) Descriptor() protoreflect.MessageDescriptor { + return md_MsgGuildUpdateEntrySubstationId } // 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_MsgGuildMembershipInvite) Type() protoreflect.MessageType { - return _fastReflection_MsgGuildMembershipInvite_messageType +func (x *fastReflection_MsgGuildUpdateEntrySubstationId) Type() protoreflect.MessageType { + return _fastReflection_MsgGuildUpdateEntrySubstationId_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_MsgGuildMembershipInvite) New() protoreflect.Message { - return new(fastReflection_MsgGuildMembershipInvite) +func (x *fastReflection_MsgGuildUpdateEntrySubstationId) New() protoreflect.Message { + return new(fastReflection_MsgGuildUpdateEntrySubstationId) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_MsgGuildMembershipInvite) Interface() protoreflect.ProtoMessage { - return (*MsgGuildMembershipInvite)(x) +func (x *fastReflection_MsgGuildUpdateEntrySubstationId) Interface() protoreflect.ProtoMessage { + return (*MsgGuildUpdateEntrySubstationId)(x) } // Range iterates over every populated field in an undefined order, @@ -12307,28 +11873,22 @@ func (x *fastReflection_MsgGuildMembershipInvite) Interface() protoreflect.Proto // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_MsgGuildMembershipInvite) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +func (x *fastReflection_MsgGuildUpdateEntrySubstationId) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { if x.Creator != "" { value := protoreflect.ValueOfString(x.Creator) - if !f(fd_MsgGuildMembershipInvite_creator, value) { + if !f(fd_MsgGuildUpdateEntrySubstationId_creator, value) { return } } if x.GuildId != "" { value := protoreflect.ValueOfString(x.GuildId) - if !f(fd_MsgGuildMembershipInvite_guildId, value) { - return - } - } - if x.PlayerId != "" { - value := protoreflect.ValueOfString(x.PlayerId) - if !f(fd_MsgGuildMembershipInvite_playerId, value) { + if !f(fd_MsgGuildUpdateEntrySubstationId_guildId, value) { return } } - if x.SubstationId != "" { - value := protoreflect.ValueOfString(x.SubstationId) - if !f(fd_MsgGuildMembershipInvite_substationId, value) { + if x.EntrySubstationId != "" { + value := protoreflect.ValueOfString(x.EntrySubstationId) + if !f(fd_MsgGuildUpdateEntrySubstationId_entrySubstationId, value) { return } } @@ -12345,21 +11905,19 @@ func (x *fastReflection_MsgGuildMembershipInvite) Range(f func(protoreflect.Fiel // 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_MsgGuildMembershipInvite) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_MsgGuildUpdateEntrySubstationId) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.MsgGuildMembershipInvite.creator": + case "structs.structs.MsgGuildUpdateEntrySubstationId.creator": return x.Creator != "" - case "structs.structs.MsgGuildMembershipInvite.guildId": + case "structs.structs.MsgGuildUpdateEntrySubstationId.guildId": return x.GuildId != "" - case "structs.structs.MsgGuildMembershipInvite.playerId": - return x.PlayerId != "" - case "structs.structs.MsgGuildMembershipInvite.substationId": - return x.SubstationId != "" + case "structs.structs.MsgGuildUpdateEntrySubstationId.entrySubstationId": + return x.EntrySubstationId != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipInvite")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildUpdateEntrySubstationId")) } - panic(fmt.Errorf("message structs.structs.MsgGuildMembershipInvite does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildUpdateEntrySubstationId does not contain field %s", fd.FullName())) } } @@ -12369,21 +11927,19 @@ func (x *fastReflection_MsgGuildMembershipInvite) Has(fd protoreflect.FieldDescr // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgGuildMembershipInvite) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_MsgGuildUpdateEntrySubstationId) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.MsgGuildMembershipInvite.creator": + case "structs.structs.MsgGuildUpdateEntrySubstationId.creator": x.Creator = "" - case "structs.structs.MsgGuildMembershipInvite.guildId": + case "structs.structs.MsgGuildUpdateEntrySubstationId.guildId": x.GuildId = "" - case "structs.structs.MsgGuildMembershipInvite.playerId": - x.PlayerId = "" - case "structs.structs.MsgGuildMembershipInvite.substationId": - x.SubstationId = "" + case "structs.structs.MsgGuildUpdateEntrySubstationId.entrySubstationId": + x.EntrySubstationId = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipInvite")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildUpdateEntrySubstationId")) } - panic(fmt.Errorf("message structs.structs.MsgGuildMembershipInvite does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildUpdateEntrySubstationId does not contain field %s", fd.FullName())) } } @@ -12393,25 +11949,22 @@ func (x *fastReflection_MsgGuildMembershipInvite) Clear(fd protoreflect.FieldDes // 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_MsgGuildMembershipInvite) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgGuildUpdateEntrySubstationId) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.MsgGuildMembershipInvite.creator": + case "structs.structs.MsgGuildUpdateEntrySubstationId.creator": value := x.Creator return protoreflect.ValueOfString(value) - case "structs.structs.MsgGuildMembershipInvite.guildId": + case "structs.structs.MsgGuildUpdateEntrySubstationId.guildId": value := x.GuildId return protoreflect.ValueOfString(value) - case "structs.structs.MsgGuildMembershipInvite.playerId": - value := x.PlayerId - return protoreflect.ValueOfString(value) - case "structs.structs.MsgGuildMembershipInvite.substationId": - value := x.SubstationId + case "structs.structs.MsgGuildUpdateEntrySubstationId.entrySubstationId": + value := x.EntrySubstationId return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipInvite")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildUpdateEntrySubstationId")) } - panic(fmt.Errorf("message structs.structs.MsgGuildMembershipInvite does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildUpdateEntrySubstationId does not contain field %s", descriptor.FullName())) } } @@ -12425,21 +11978,19 @@ func (x *fastReflection_MsgGuildMembershipInvite) Get(descriptor protoreflect.Fi // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgGuildMembershipInvite) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_MsgGuildUpdateEntrySubstationId) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.MsgGuildMembershipInvite.creator": + case "structs.structs.MsgGuildUpdateEntrySubstationId.creator": x.Creator = value.Interface().(string) - case "structs.structs.MsgGuildMembershipInvite.guildId": + case "structs.structs.MsgGuildUpdateEntrySubstationId.guildId": x.GuildId = value.Interface().(string) - case "structs.structs.MsgGuildMembershipInvite.playerId": - x.PlayerId = value.Interface().(string) - case "structs.structs.MsgGuildMembershipInvite.substationId": - x.SubstationId = value.Interface().(string) + case "structs.structs.MsgGuildUpdateEntrySubstationId.entrySubstationId": + x.EntrySubstationId = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipInvite")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildUpdateEntrySubstationId")) } - panic(fmt.Errorf("message structs.structs.MsgGuildMembershipInvite does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildUpdateEntrySubstationId does not contain field %s", fd.FullName())) } } @@ -12453,52 +12004,48 @@ func (x *fastReflection_MsgGuildMembershipInvite) Set(fd protoreflect.FieldDescr // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgGuildMembershipInvite) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgGuildUpdateEntrySubstationId) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.MsgGuildMembershipInvite.creator": - panic(fmt.Errorf("field creator of message structs.structs.MsgGuildMembershipInvite is not mutable")) - case "structs.structs.MsgGuildMembershipInvite.guildId": - panic(fmt.Errorf("field guildId of message structs.structs.MsgGuildMembershipInvite is not mutable")) - case "structs.structs.MsgGuildMembershipInvite.playerId": - panic(fmt.Errorf("field playerId of message structs.structs.MsgGuildMembershipInvite is not mutable")) - case "structs.structs.MsgGuildMembershipInvite.substationId": - panic(fmt.Errorf("field substationId of message structs.structs.MsgGuildMembershipInvite is not mutable")) - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipInvite")) + case "structs.structs.MsgGuildUpdateEntrySubstationId.creator": + panic(fmt.Errorf("field creator of message structs.structs.MsgGuildUpdateEntrySubstationId is not mutable")) + case "structs.structs.MsgGuildUpdateEntrySubstationId.guildId": + panic(fmt.Errorf("field guildId of message structs.structs.MsgGuildUpdateEntrySubstationId is not mutable")) + case "structs.structs.MsgGuildUpdateEntrySubstationId.entrySubstationId": + panic(fmt.Errorf("field entrySubstationId of message structs.structs.MsgGuildUpdateEntrySubstationId is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildUpdateEntrySubstationId")) } - panic(fmt.Errorf("message structs.structs.MsgGuildMembershipInvite does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildUpdateEntrySubstationId 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_MsgGuildMembershipInvite) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgGuildUpdateEntrySubstationId) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.MsgGuildMembershipInvite.creator": - return protoreflect.ValueOfString("") - case "structs.structs.MsgGuildMembershipInvite.guildId": + case "structs.structs.MsgGuildUpdateEntrySubstationId.creator": return protoreflect.ValueOfString("") - case "structs.structs.MsgGuildMembershipInvite.playerId": + case "structs.structs.MsgGuildUpdateEntrySubstationId.guildId": return protoreflect.ValueOfString("") - case "structs.structs.MsgGuildMembershipInvite.substationId": + case "structs.structs.MsgGuildUpdateEntrySubstationId.entrySubstationId": return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipInvite")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildUpdateEntrySubstationId")) } - panic(fmt.Errorf("message structs.structs.MsgGuildMembershipInvite does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildUpdateEntrySubstationId 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_MsgGuildMembershipInvite) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_MsgGuildUpdateEntrySubstationId) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgGuildMembershipInvite", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgGuildUpdateEntrySubstationId", d.FullName())) } panic("unreachable") } @@ -12506,7 +12053,7 @@ func (x *fastReflection_MsgGuildMembershipInvite) WhichOneof(d protoreflect.Oneo // 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_MsgGuildMembershipInvite) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_MsgGuildUpdateEntrySubstationId) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -12517,7 +12064,7 @@ func (x *fastReflection_MsgGuildMembershipInvite) GetUnknown() protoreflect.RawF // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgGuildMembershipInvite) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_MsgGuildUpdateEntrySubstationId) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -12529,7 +12076,7 @@ func (x *fastReflection_MsgGuildMembershipInvite) SetUnknown(fields protoreflect // 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_MsgGuildMembershipInvite) IsValid() bool { +func (x *fastReflection_MsgGuildUpdateEntrySubstationId) IsValid() bool { return x != nil } @@ -12539,9 +12086,9 @@ func (x *fastReflection_MsgGuildMembershipInvite) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_MsgGuildMembershipInvite) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_MsgGuildUpdateEntrySubstationId) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*MsgGuildMembershipInvite) + x := input.Message.Interface().(*MsgGuildUpdateEntrySubstationId) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -12561,11 +12108,7 @@ func (x *fastReflection_MsgGuildMembershipInvite) ProtoMethods() *protoiface.Met if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } - l = len(x.PlayerId) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } - l = len(x.SubstationId) + l = len(x.EntrySubstationId) if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } @@ -12579,7 +12122,7 @@ func (x *fastReflection_MsgGuildMembershipInvite) ProtoMethods() *protoiface.Met } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*MsgGuildMembershipInvite) + x := input.Message.Interface().(*MsgGuildUpdateEntrySubstationId) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -12598,17 +12141,10 @@ func (x *fastReflection_MsgGuildMembershipInvite) ProtoMethods() *protoiface.Met i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if len(x.SubstationId) > 0 { - i -= len(x.SubstationId) - copy(dAtA[i:], x.SubstationId) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.SubstationId))) - i-- - dAtA[i] = 0x22 - } - if len(x.PlayerId) > 0 { - i -= len(x.PlayerId) - copy(dAtA[i:], x.PlayerId) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.PlayerId))) + if len(x.EntrySubstationId) > 0 { + i -= len(x.EntrySubstationId) + copy(dAtA[i:], x.EntrySubstationId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.EntrySubstationId))) i-- dAtA[i] = 0x1a } @@ -12637,7 +12173,7 @@ func (x *fastReflection_MsgGuildMembershipInvite) ProtoMethods() *protoiface.Met }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*MsgGuildMembershipInvite) + x := input.Message.Interface().(*MsgGuildUpdateEntrySubstationId) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -12669,10 +12205,10 @@ func (x *fastReflection_MsgGuildMembershipInvite) ProtoMethods() *protoiface.Met fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgGuildMembershipInvite: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgGuildUpdateEntrySubstationId: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgGuildMembershipInvite: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgGuildUpdateEntrySubstationId: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -12741,39 +12277,7 @@ func (x *fastReflection_MsgGuildMembershipInvite) ProtoMethods() *protoiface.Met iNdEx = postIndex case 3: if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field PlayerId", 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.PlayerId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field SubstationId", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field EntrySubstationId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -12801,7 +12305,7 @@ func (x *fastReflection_MsgGuildMembershipInvite) ProtoMethods() *protoiface.Met if postIndex > l { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - x.SubstationId = string(dAtA[iNdEx:postIndex]) + x.EntrySubstationId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -12839,31 +12343,29 @@ func (x *fastReflection_MsgGuildMembershipInvite) ProtoMethods() *protoiface.Met } var ( - md_MsgGuildMembershipInviteApprove protoreflect.MessageDescriptor - fd_MsgGuildMembershipInviteApprove_creator protoreflect.FieldDescriptor - fd_MsgGuildMembershipInviteApprove_guildId protoreflect.FieldDescriptor - fd_MsgGuildMembershipInviteApprove_playerId protoreflect.FieldDescriptor - fd_MsgGuildMembershipInviteApprove_substationId protoreflect.FieldDescriptor + md_MsgGuildUpdateEndpoint protoreflect.MessageDescriptor + fd_MsgGuildUpdateEndpoint_creator protoreflect.FieldDescriptor + fd_MsgGuildUpdateEndpoint_guildId protoreflect.FieldDescriptor + fd_MsgGuildUpdateEndpoint_endpoint protoreflect.FieldDescriptor ) func init() { file_structs_structs_tx_proto_init() - md_MsgGuildMembershipInviteApprove = File_structs_structs_tx_proto.Messages().ByName("MsgGuildMembershipInviteApprove") - fd_MsgGuildMembershipInviteApprove_creator = md_MsgGuildMembershipInviteApprove.Fields().ByName("creator") - fd_MsgGuildMembershipInviteApprove_guildId = md_MsgGuildMembershipInviteApprove.Fields().ByName("guildId") - fd_MsgGuildMembershipInviteApprove_playerId = md_MsgGuildMembershipInviteApprove.Fields().ByName("playerId") - fd_MsgGuildMembershipInviteApprove_substationId = md_MsgGuildMembershipInviteApprove.Fields().ByName("substationId") + md_MsgGuildUpdateEndpoint = File_structs_structs_tx_proto.Messages().ByName("MsgGuildUpdateEndpoint") + fd_MsgGuildUpdateEndpoint_creator = md_MsgGuildUpdateEndpoint.Fields().ByName("creator") + fd_MsgGuildUpdateEndpoint_guildId = md_MsgGuildUpdateEndpoint.Fields().ByName("guildId") + fd_MsgGuildUpdateEndpoint_endpoint = md_MsgGuildUpdateEndpoint.Fields().ByName("endpoint") } -var _ protoreflect.Message = (*fastReflection_MsgGuildMembershipInviteApprove)(nil) +var _ protoreflect.Message = (*fastReflection_MsgGuildUpdateEndpoint)(nil) -type fastReflection_MsgGuildMembershipInviteApprove MsgGuildMembershipInviteApprove +type fastReflection_MsgGuildUpdateEndpoint MsgGuildUpdateEndpoint -func (x *MsgGuildMembershipInviteApprove) ProtoReflect() protoreflect.Message { - return (*fastReflection_MsgGuildMembershipInviteApprove)(x) +func (x *MsgGuildUpdateEndpoint) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgGuildUpdateEndpoint)(x) } -func (x *MsgGuildMembershipInviteApprove) slowProtoReflect() protoreflect.Message { +func (x *MsgGuildUpdateEndpoint) slowProtoReflect() protoreflect.Message { mi := &file_structs_structs_tx_proto_msgTypes[26] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -12875,43 +12377,43 @@ func (x *MsgGuildMembershipInviteApprove) slowProtoReflect() protoreflect.Messag return mi.MessageOf(x) } -var _fastReflection_MsgGuildMembershipInviteApprove_messageType fastReflection_MsgGuildMembershipInviteApprove_messageType -var _ protoreflect.MessageType = fastReflection_MsgGuildMembershipInviteApprove_messageType{} +var _fastReflection_MsgGuildUpdateEndpoint_messageType fastReflection_MsgGuildUpdateEndpoint_messageType +var _ protoreflect.MessageType = fastReflection_MsgGuildUpdateEndpoint_messageType{} -type fastReflection_MsgGuildMembershipInviteApprove_messageType struct{} +type fastReflection_MsgGuildUpdateEndpoint_messageType struct{} -func (x fastReflection_MsgGuildMembershipInviteApprove_messageType) Zero() protoreflect.Message { - return (*fastReflection_MsgGuildMembershipInviteApprove)(nil) +func (x fastReflection_MsgGuildUpdateEndpoint_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgGuildUpdateEndpoint)(nil) } -func (x fastReflection_MsgGuildMembershipInviteApprove_messageType) New() protoreflect.Message { - return new(fastReflection_MsgGuildMembershipInviteApprove) +func (x fastReflection_MsgGuildUpdateEndpoint_messageType) New() protoreflect.Message { + return new(fastReflection_MsgGuildUpdateEndpoint) } -func (x fastReflection_MsgGuildMembershipInviteApprove_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_MsgGuildMembershipInviteApprove +func (x fastReflection_MsgGuildUpdateEndpoint_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgGuildUpdateEndpoint } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_MsgGuildMembershipInviteApprove) Descriptor() protoreflect.MessageDescriptor { - return md_MsgGuildMembershipInviteApprove +func (x *fastReflection_MsgGuildUpdateEndpoint) Descriptor() protoreflect.MessageDescriptor { + return md_MsgGuildUpdateEndpoint } // 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_MsgGuildMembershipInviteApprove) Type() protoreflect.MessageType { - return _fastReflection_MsgGuildMembershipInviteApprove_messageType +func (x *fastReflection_MsgGuildUpdateEndpoint) Type() protoreflect.MessageType { + return _fastReflection_MsgGuildUpdateEndpoint_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_MsgGuildMembershipInviteApprove) New() protoreflect.Message { - return new(fastReflection_MsgGuildMembershipInviteApprove) +func (x *fastReflection_MsgGuildUpdateEndpoint) New() protoreflect.Message { + return new(fastReflection_MsgGuildUpdateEndpoint) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_MsgGuildMembershipInviteApprove) Interface() protoreflect.ProtoMessage { - return (*MsgGuildMembershipInviteApprove)(x) +func (x *fastReflection_MsgGuildUpdateEndpoint) Interface() protoreflect.ProtoMessage { + return (*MsgGuildUpdateEndpoint)(x) } // Range iterates over every populated field in an undefined order, @@ -12919,28 +12421,22 @@ func (x *fastReflection_MsgGuildMembershipInviteApprove) Interface() protoreflec // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_MsgGuildMembershipInviteApprove) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +func (x *fastReflection_MsgGuildUpdateEndpoint) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { if x.Creator != "" { value := protoreflect.ValueOfString(x.Creator) - if !f(fd_MsgGuildMembershipInviteApprove_creator, value) { + if !f(fd_MsgGuildUpdateEndpoint_creator, value) { return } } if x.GuildId != "" { value := protoreflect.ValueOfString(x.GuildId) - if !f(fd_MsgGuildMembershipInviteApprove_guildId, value) { - return - } - } - if x.PlayerId != "" { - value := protoreflect.ValueOfString(x.PlayerId) - if !f(fd_MsgGuildMembershipInviteApprove_playerId, value) { + if !f(fd_MsgGuildUpdateEndpoint_guildId, value) { return } } - if x.SubstationId != "" { - value := protoreflect.ValueOfString(x.SubstationId) - if !f(fd_MsgGuildMembershipInviteApprove_substationId, value) { + if x.Endpoint != "" { + value := protoreflect.ValueOfString(x.Endpoint) + if !f(fd_MsgGuildUpdateEndpoint_endpoint, value) { return } } @@ -12957,21 +12453,19 @@ func (x *fastReflection_MsgGuildMembershipInviteApprove) Range(f func(protorefle // 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_MsgGuildMembershipInviteApprove) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_MsgGuildUpdateEndpoint) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.MsgGuildMembershipInviteApprove.creator": + case "structs.structs.MsgGuildUpdateEndpoint.creator": return x.Creator != "" - case "structs.structs.MsgGuildMembershipInviteApprove.guildId": + case "structs.structs.MsgGuildUpdateEndpoint.guildId": return x.GuildId != "" - case "structs.structs.MsgGuildMembershipInviteApprove.playerId": - return x.PlayerId != "" - case "structs.structs.MsgGuildMembershipInviteApprove.substationId": - return x.SubstationId != "" + case "structs.structs.MsgGuildUpdateEndpoint.endpoint": + return x.Endpoint != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipInviteApprove")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildUpdateEndpoint")) } - panic(fmt.Errorf("message structs.structs.MsgGuildMembershipInviteApprove does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildUpdateEndpoint does not contain field %s", fd.FullName())) } } @@ -12981,21 +12475,19 @@ func (x *fastReflection_MsgGuildMembershipInviteApprove) Has(fd protoreflect.Fie // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgGuildMembershipInviteApprove) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_MsgGuildUpdateEndpoint) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.MsgGuildMembershipInviteApprove.creator": + case "structs.structs.MsgGuildUpdateEndpoint.creator": x.Creator = "" - case "structs.structs.MsgGuildMembershipInviteApprove.guildId": + case "structs.structs.MsgGuildUpdateEndpoint.guildId": x.GuildId = "" - case "structs.structs.MsgGuildMembershipInviteApprove.playerId": - x.PlayerId = "" - case "structs.structs.MsgGuildMembershipInviteApprove.substationId": - x.SubstationId = "" + case "structs.structs.MsgGuildUpdateEndpoint.endpoint": + x.Endpoint = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipInviteApprove")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildUpdateEndpoint")) } - panic(fmt.Errorf("message structs.structs.MsgGuildMembershipInviteApprove does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildUpdateEndpoint does not contain field %s", fd.FullName())) } } @@ -13005,25 +12497,22 @@ func (x *fastReflection_MsgGuildMembershipInviteApprove) Clear(fd protoreflect.F // 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_MsgGuildMembershipInviteApprove) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgGuildUpdateEndpoint) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.MsgGuildMembershipInviteApprove.creator": + case "structs.structs.MsgGuildUpdateEndpoint.creator": value := x.Creator return protoreflect.ValueOfString(value) - case "structs.structs.MsgGuildMembershipInviteApprove.guildId": + case "structs.structs.MsgGuildUpdateEndpoint.guildId": value := x.GuildId return protoreflect.ValueOfString(value) - case "structs.structs.MsgGuildMembershipInviteApprove.playerId": - value := x.PlayerId - return protoreflect.ValueOfString(value) - case "structs.structs.MsgGuildMembershipInviteApprove.substationId": - value := x.SubstationId + case "structs.structs.MsgGuildUpdateEndpoint.endpoint": + value := x.Endpoint return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipInviteApprove")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildUpdateEndpoint")) } - panic(fmt.Errorf("message structs.structs.MsgGuildMembershipInviteApprove does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildUpdateEndpoint does not contain field %s", descriptor.FullName())) } } @@ -13037,21 +12526,19 @@ func (x *fastReflection_MsgGuildMembershipInviteApprove) Get(descriptor protoref // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgGuildMembershipInviteApprove) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_MsgGuildUpdateEndpoint) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.MsgGuildMembershipInviteApprove.creator": + case "structs.structs.MsgGuildUpdateEndpoint.creator": x.Creator = value.Interface().(string) - case "structs.structs.MsgGuildMembershipInviteApprove.guildId": + case "structs.structs.MsgGuildUpdateEndpoint.guildId": x.GuildId = value.Interface().(string) - case "structs.structs.MsgGuildMembershipInviteApprove.playerId": - x.PlayerId = value.Interface().(string) - case "structs.structs.MsgGuildMembershipInviteApprove.substationId": - x.SubstationId = value.Interface().(string) + case "structs.structs.MsgGuildUpdateEndpoint.endpoint": + x.Endpoint = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipInviteApprove")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildUpdateEndpoint")) } - panic(fmt.Errorf("message structs.structs.MsgGuildMembershipInviteApprove does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildUpdateEndpoint does not contain field %s", fd.FullName())) } } @@ -13065,52 +12552,48 @@ func (x *fastReflection_MsgGuildMembershipInviteApprove) Set(fd protoreflect.Fie // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgGuildMembershipInviteApprove) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgGuildUpdateEndpoint) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.MsgGuildMembershipInviteApprove.creator": - panic(fmt.Errorf("field creator of message structs.structs.MsgGuildMembershipInviteApprove is not mutable")) - case "structs.structs.MsgGuildMembershipInviteApprove.guildId": - panic(fmt.Errorf("field guildId of message structs.structs.MsgGuildMembershipInviteApprove is not mutable")) - case "structs.structs.MsgGuildMembershipInviteApprove.playerId": - panic(fmt.Errorf("field playerId of message structs.structs.MsgGuildMembershipInviteApprove is not mutable")) - case "structs.structs.MsgGuildMembershipInviteApprove.substationId": - panic(fmt.Errorf("field substationId of message structs.structs.MsgGuildMembershipInviteApprove is not mutable")) + case "structs.structs.MsgGuildUpdateEndpoint.creator": + panic(fmt.Errorf("field creator of message structs.structs.MsgGuildUpdateEndpoint is not mutable")) + case "structs.structs.MsgGuildUpdateEndpoint.guildId": + panic(fmt.Errorf("field guildId of message structs.structs.MsgGuildUpdateEndpoint is not mutable")) + case "structs.structs.MsgGuildUpdateEndpoint.endpoint": + panic(fmt.Errorf("field endpoint of message structs.structs.MsgGuildUpdateEndpoint is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipInviteApprove")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildUpdateEndpoint")) } - panic(fmt.Errorf("message structs.structs.MsgGuildMembershipInviteApprove does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildUpdateEndpoint 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_MsgGuildMembershipInviteApprove) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgGuildUpdateEndpoint) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.MsgGuildMembershipInviteApprove.creator": - return protoreflect.ValueOfString("") - case "structs.structs.MsgGuildMembershipInviteApprove.guildId": + case "structs.structs.MsgGuildUpdateEndpoint.creator": return protoreflect.ValueOfString("") - case "structs.structs.MsgGuildMembershipInviteApprove.playerId": + case "structs.structs.MsgGuildUpdateEndpoint.guildId": return protoreflect.ValueOfString("") - case "structs.structs.MsgGuildMembershipInviteApprove.substationId": + case "structs.structs.MsgGuildUpdateEndpoint.endpoint": return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipInviteApprove")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildUpdateEndpoint")) } - panic(fmt.Errorf("message structs.structs.MsgGuildMembershipInviteApprove does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildUpdateEndpoint 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_MsgGuildMembershipInviteApprove) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_MsgGuildUpdateEndpoint) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgGuildMembershipInviteApprove", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgGuildUpdateEndpoint", d.FullName())) } panic("unreachable") } @@ -13118,7 +12601,7 @@ func (x *fastReflection_MsgGuildMembershipInviteApprove) WhichOneof(d protorefle // 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_MsgGuildMembershipInviteApprove) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_MsgGuildUpdateEndpoint) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -13129,7 +12612,7 @@ func (x *fastReflection_MsgGuildMembershipInviteApprove) GetUnknown() protorefle // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgGuildMembershipInviteApprove) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_MsgGuildUpdateEndpoint) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -13141,7 +12624,7 @@ func (x *fastReflection_MsgGuildMembershipInviteApprove) SetUnknown(fields proto // 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_MsgGuildMembershipInviteApprove) IsValid() bool { +func (x *fastReflection_MsgGuildUpdateEndpoint) IsValid() bool { return x != nil } @@ -13151,9 +12634,9 @@ func (x *fastReflection_MsgGuildMembershipInviteApprove) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_MsgGuildMembershipInviteApprove) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_MsgGuildUpdateEndpoint) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*MsgGuildMembershipInviteApprove) + x := input.Message.Interface().(*MsgGuildUpdateEndpoint) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -13173,11 +12656,7 @@ func (x *fastReflection_MsgGuildMembershipInviteApprove) ProtoMethods() *protoif if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } - l = len(x.PlayerId) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } - l = len(x.SubstationId) + l = len(x.Endpoint) if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } @@ -13191,7 +12670,7 @@ func (x *fastReflection_MsgGuildMembershipInviteApprove) ProtoMethods() *protoif } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*MsgGuildMembershipInviteApprove) + x := input.Message.Interface().(*MsgGuildUpdateEndpoint) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -13210,17 +12689,10 @@ func (x *fastReflection_MsgGuildMembershipInviteApprove) ProtoMethods() *protoif i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if len(x.SubstationId) > 0 { - i -= len(x.SubstationId) - copy(dAtA[i:], x.SubstationId) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.SubstationId))) - i-- - dAtA[i] = 0x22 - } - if len(x.PlayerId) > 0 { - i -= len(x.PlayerId) - copy(dAtA[i:], x.PlayerId) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.PlayerId))) + if len(x.Endpoint) > 0 { + i -= len(x.Endpoint) + copy(dAtA[i:], x.Endpoint) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Endpoint))) i-- dAtA[i] = 0x1a } @@ -13249,7 +12721,7 @@ func (x *fastReflection_MsgGuildMembershipInviteApprove) ProtoMethods() *protoif }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*MsgGuildMembershipInviteApprove) + x := input.Message.Interface().(*MsgGuildUpdateEndpoint) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -13281,10 +12753,10 @@ func (x *fastReflection_MsgGuildMembershipInviteApprove) ProtoMethods() *protoif fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgGuildMembershipInviteApprove: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgGuildUpdateEndpoint: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgGuildMembershipInviteApprove: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgGuildUpdateEndpoint: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -13353,39 +12825,7 @@ func (x *fastReflection_MsgGuildMembershipInviteApprove) ProtoMethods() *protoif iNdEx = postIndex case 3: if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field PlayerId", 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.PlayerId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field SubstationId", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Endpoint", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -13413,7 +12853,7 @@ func (x *fastReflection_MsgGuildMembershipInviteApprove) ProtoMethods() *protoif if postIndex > l { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - x.SubstationId = string(dAtA[iNdEx:postIndex]) + x.Endpoint = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -13451,29 +12891,29 @@ func (x *fastReflection_MsgGuildMembershipInviteApprove) ProtoMethods() *protoif } var ( - md_MsgGuildMembershipInviteDeny protoreflect.MessageDescriptor - fd_MsgGuildMembershipInviteDeny_creator protoreflect.FieldDescriptor - fd_MsgGuildMembershipInviteDeny_guildId protoreflect.FieldDescriptor - fd_MsgGuildMembershipInviteDeny_playerId protoreflect.FieldDescriptor + md_MsgGuildUpdateJoinInfusionMinimum protoreflect.MessageDescriptor + fd_MsgGuildUpdateJoinInfusionMinimum_creator protoreflect.FieldDescriptor + fd_MsgGuildUpdateJoinInfusionMinimum_guildId protoreflect.FieldDescriptor + fd_MsgGuildUpdateJoinInfusionMinimum_joinInfusionMinimum protoreflect.FieldDescriptor ) func init() { file_structs_structs_tx_proto_init() - md_MsgGuildMembershipInviteDeny = File_structs_structs_tx_proto.Messages().ByName("MsgGuildMembershipInviteDeny") - fd_MsgGuildMembershipInviteDeny_creator = md_MsgGuildMembershipInviteDeny.Fields().ByName("creator") - fd_MsgGuildMembershipInviteDeny_guildId = md_MsgGuildMembershipInviteDeny.Fields().ByName("guildId") - fd_MsgGuildMembershipInviteDeny_playerId = md_MsgGuildMembershipInviteDeny.Fields().ByName("playerId") + md_MsgGuildUpdateJoinInfusionMinimum = File_structs_structs_tx_proto.Messages().ByName("MsgGuildUpdateJoinInfusionMinimum") + fd_MsgGuildUpdateJoinInfusionMinimum_creator = md_MsgGuildUpdateJoinInfusionMinimum.Fields().ByName("creator") + fd_MsgGuildUpdateJoinInfusionMinimum_guildId = md_MsgGuildUpdateJoinInfusionMinimum.Fields().ByName("guildId") + fd_MsgGuildUpdateJoinInfusionMinimum_joinInfusionMinimum = md_MsgGuildUpdateJoinInfusionMinimum.Fields().ByName("joinInfusionMinimum") } -var _ protoreflect.Message = (*fastReflection_MsgGuildMembershipInviteDeny)(nil) +var _ protoreflect.Message = (*fastReflection_MsgGuildUpdateJoinInfusionMinimum)(nil) -type fastReflection_MsgGuildMembershipInviteDeny MsgGuildMembershipInviteDeny +type fastReflection_MsgGuildUpdateJoinInfusionMinimum MsgGuildUpdateJoinInfusionMinimum -func (x *MsgGuildMembershipInviteDeny) ProtoReflect() protoreflect.Message { - return (*fastReflection_MsgGuildMembershipInviteDeny)(x) +func (x *MsgGuildUpdateJoinInfusionMinimum) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgGuildUpdateJoinInfusionMinimum)(x) } -func (x *MsgGuildMembershipInviteDeny) slowProtoReflect() protoreflect.Message { +func (x *MsgGuildUpdateJoinInfusionMinimum) slowProtoReflect() protoreflect.Message { mi := &file_structs_structs_tx_proto_msgTypes[27] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -13485,43 +12925,43 @@ func (x *MsgGuildMembershipInviteDeny) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_MsgGuildMembershipInviteDeny_messageType fastReflection_MsgGuildMembershipInviteDeny_messageType -var _ protoreflect.MessageType = fastReflection_MsgGuildMembershipInviteDeny_messageType{} +var _fastReflection_MsgGuildUpdateJoinInfusionMinimum_messageType fastReflection_MsgGuildUpdateJoinInfusionMinimum_messageType +var _ protoreflect.MessageType = fastReflection_MsgGuildUpdateJoinInfusionMinimum_messageType{} -type fastReflection_MsgGuildMembershipInviteDeny_messageType struct{} +type fastReflection_MsgGuildUpdateJoinInfusionMinimum_messageType struct{} -func (x fastReflection_MsgGuildMembershipInviteDeny_messageType) Zero() protoreflect.Message { - return (*fastReflection_MsgGuildMembershipInviteDeny)(nil) +func (x fastReflection_MsgGuildUpdateJoinInfusionMinimum_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgGuildUpdateJoinInfusionMinimum)(nil) } -func (x fastReflection_MsgGuildMembershipInviteDeny_messageType) New() protoreflect.Message { - return new(fastReflection_MsgGuildMembershipInviteDeny) +func (x fastReflection_MsgGuildUpdateJoinInfusionMinimum_messageType) New() protoreflect.Message { + return new(fastReflection_MsgGuildUpdateJoinInfusionMinimum) } -func (x fastReflection_MsgGuildMembershipInviteDeny_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_MsgGuildMembershipInviteDeny +func (x fastReflection_MsgGuildUpdateJoinInfusionMinimum_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgGuildUpdateJoinInfusionMinimum } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_MsgGuildMembershipInviteDeny) Descriptor() protoreflect.MessageDescriptor { - return md_MsgGuildMembershipInviteDeny +func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimum) Descriptor() protoreflect.MessageDescriptor { + return md_MsgGuildUpdateJoinInfusionMinimum } // 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_MsgGuildMembershipInviteDeny) Type() protoreflect.MessageType { - return _fastReflection_MsgGuildMembershipInviteDeny_messageType +func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimum) Type() protoreflect.MessageType { + return _fastReflection_MsgGuildUpdateJoinInfusionMinimum_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_MsgGuildMembershipInviteDeny) New() protoreflect.Message { - return new(fastReflection_MsgGuildMembershipInviteDeny) +func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimum) New() protoreflect.Message { + return new(fastReflection_MsgGuildUpdateJoinInfusionMinimum) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_MsgGuildMembershipInviteDeny) Interface() protoreflect.ProtoMessage { - return (*MsgGuildMembershipInviteDeny)(x) +func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimum) Interface() protoreflect.ProtoMessage { + return (*MsgGuildUpdateJoinInfusionMinimum)(x) } // Range iterates over every populated field in an undefined order, @@ -13529,22 +12969,22 @@ func (x *fastReflection_MsgGuildMembershipInviteDeny) Interface() protoreflect.P // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_MsgGuildMembershipInviteDeny) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimum) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { if x.Creator != "" { value := protoreflect.ValueOfString(x.Creator) - if !f(fd_MsgGuildMembershipInviteDeny_creator, value) { + if !f(fd_MsgGuildUpdateJoinInfusionMinimum_creator, value) { return } } if x.GuildId != "" { value := protoreflect.ValueOfString(x.GuildId) - if !f(fd_MsgGuildMembershipInviteDeny_guildId, value) { + if !f(fd_MsgGuildUpdateJoinInfusionMinimum_guildId, value) { return } } - if x.PlayerId != "" { - value := protoreflect.ValueOfString(x.PlayerId) - if !f(fd_MsgGuildMembershipInviteDeny_playerId, value) { + if x.JoinInfusionMinimum != uint64(0) { + value := protoreflect.ValueOfUint64(x.JoinInfusionMinimum) + if !f(fd_MsgGuildUpdateJoinInfusionMinimum_joinInfusionMinimum, value) { return } } @@ -13561,19 +13001,19 @@ func (x *fastReflection_MsgGuildMembershipInviteDeny) Range(f func(protoreflect. // 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_MsgGuildMembershipInviteDeny) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimum) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.MsgGuildMembershipInviteDeny.creator": + case "structs.structs.MsgGuildUpdateJoinInfusionMinimum.creator": return x.Creator != "" - case "structs.structs.MsgGuildMembershipInviteDeny.guildId": + case "structs.structs.MsgGuildUpdateJoinInfusionMinimum.guildId": return x.GuildId != "" - case "structs.structs.MsgGuildMembershipInviteDeny.playerId": - return x.PlayerId != "" + case "structs.structs.MsgGuildUpdateJoinInfusionMinimum.joinInfusionMinimum": + return x.JoinInfusionMinimum != uint64(0) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipInviteDeny")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildUpdateJoinInfusionMinimum")) } - panic(fmt.Errorf("message structs.structs.MsgGuildMembershipInviteDeny does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildUpdateJoinInfusionMinimum does not contain field %s", fd.FullName())) } } @@ -13583,19 +13023,19 @@ func (x *fastReflection_MsgGuildMembershipInviteDeny) Has(fd protoreflect.FieldD // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgGuildMembershipInviteDeny) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimum) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.MsgGuildMembershipInviteDeny.creator": + case "structs.structs.MsgGuildUpdateJoinInfusionMinimum.creator": x.Creator = "" - case "structs.structs.MsgGuildMembershipInviteDeny.guildId": + case "structs.structs.MsgGuildUpdateJoinInfusionMinimum.guildId": x.GuildId = "" - case "structs.structs.MsgGuildMembershipInviteDeny.playerId": - x.PlayerId = "" + case "structs.structs.MsgGuildUpdateJoinInfusionMinimum.joinInfusionMinimum": + x.JoinInfusionMinimum = uint64(0) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipInviteDeny")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildUpdateJoinInfusionMinimum")) } - panic(fmt.Errorf("message structs.structs.MsgGuildMembershipInviteDeny does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildUpdateJoinInfusionMinimum does not contain field %s", fd.FullName())) } } @@ -13605,22 +13045,22 @@ func (x *fastReflection_MsgGuildMembershipInviteDeny) Clear(fd protoreflect.Fiel // 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_MsgGuildMembershipInviteDeny) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimum) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.MsgGuildMembershipInviteDeny.creator": + case "structs.structs.MsgGuildUpdateJoinInfusionMinimum.creator": value := x.Creator return protoreflect.ValueOfString(value) - case "structs.structs.MsgGuildMembershipInviteDeny.guildId": + case "structs.structs.MsgGuildUpdateJoinInfusionMinimum.guildId": value := x.GuildId return protoreflect.ValueOfString(value) - case "structs.structs.MsgGuildMembershipInviteDeny.playerId": - value := x.PlayerId - return protoreflect.ValueOfString(value) + case "structs.structs.MsgGuildUpdateJoinInfusionMinimum.joinInfusionMinimum": + value := x.JoinInfusionMinimum + return protoreflect.ValueOfUint64(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipInviteDeny")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildUpdateJoinInfusionMinimum")) } - panic(fmt.Errorf("message structs.structs.MsgGuildMembershipInviteDeny does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildUpdateJoinInfusionMinimum does not contain field %s", descriptor.FullName())) } } @@ -13634,19 +13074,19 @@ func (x *fastReflection_MsgGuildMembershipInviteDeny) Get(descriptor protoreflec // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgGuildMembershipInviteDeny) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimum) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.MsgGuildMembershipInviteDeny.creator": + case "structs.structs.MsgGuildUpdateJoinInfusionMinimum.creator": x.Creator = value.Interface().(string) - case "structs.structs.MsgGuildMembershipInviteDeny.guildId": + case "structs.structs.MsgGuildUpdateJoinInfusionMinimum.guildId": x.GuildId = value.Interface().(string) - case "structs.structs.MsgGuildMembershipInviteDeny.playerId": - x.PlayerId = value.Interface().(string) + case "structs.structs.MsgGuildUpdateJoinInfusionMinimum.joinInfusionMinimum": + x.JoinInfusionMinimum = value.Uint() default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipInviteDeny")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildUpdateJoinInfusionMinimum")) } - panic(fmt.Errorf("message structs.structs.MsgGuildMembershipInviteDeny does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildUpdateJoinInfusionMinimum does not contain field %s", fd.FullName())) } } @@ -13660,48 +13100,48 @@ func (x *fastReflection_MsgGuildMembershipInviteDeny) Set(fd protoreflect.FieldD // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgGuildMembershipInviteDeny) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimum) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.MsgGuildMembershipInviteDeny.creator": - panic(fmt.Errorf("field creator of message structs.structs.MsgGuildMembershipInviteDeny is not mutable")) - case "structs.structs.MsgGuildMembershipInviteDeny.guildId": - panic(fmt.Errorf("field guildId of message structs.structs.MsgGuildMembershipInviteDeny is not mutable")) - case "structs.structs.MsgGuildMembershipInviteDeny.playerId": - panic(fmt.Errorf("field playerId of message structs.structs.MsgGuildMembershipInviteDeny is not mutable")) + case "structs.structs.MsgGuildUpdateJoinInfusionMinimum.creator": + panic(fmt.Errorf("field creator of message structs.structs.MsgGuildUpdateJoinInfusionMinimum is not mutable")) + case "structs.structs.MsgGuildUpdateJoinInfusionMinimum.guildId": + panic(fmt.Errorf("field guildId of message structs.structs.MsgGuildUpdateJoinInfusionMinimum is not mutable")) + case "structs.structs.MsgGuildUpdateJoinInfusionMinimum.joinInfusionMinimum": + panic(fmt.Errorf("field joinInfusionMinimum of message structs.structs.MsgGuildUpdateJoinInfusionMinimum is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipInviteDeny")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildUpdateJoinInfusionMinimum")) } - panic(fmt.Errorf("message structs.structs.MsgGuildMembershipInviteDeny does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildUpdateJoinInfusionMinimum 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_MsgGuildMembershipInviteDeny) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimum) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.MsgGuildMembershipInviteDeny.creator": - return protoreflect.ValueOfString("") - case "structs.structs.MsgGuildMembershipInviteDeny.guildId": + case "structs.structs.MsgGuildUpdateJoinInfusionMinimum.creator": return protoreflect.ValueOfString("") - case "structs.structs.MsgGuildMembershipInviteDeny.playerId": + case "structs.structs.MsgGuildUpdateJoinInfusionMinimum.guildId": return protoreflect.ValueOfString("") + case "structs.structs.MsgGuildUpdateJoinInfusionMinimum.joinInfusionMinimum": + return protoreflect.ValueOfUint64(uint64(0)) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipInviteDeny")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildUpdateJoinInfusionMinimum")) } - panic(fmt.Errorf("message structs.structs.MsgGuildMembershipInviteDeny does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildUpdateJoinInfusionMinimum 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_MsgGuildMembershipInviteDeny) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimum) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgGuildMembershipInviteDeny", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgGuildUpdateJoinInfusionMinimum", d.FullName())) } panic("unreachable") } @@ -13709,7 +13149,7 @@ func (x *fastReflection_MsgGuildMembershipInviteDeny) WhichOneof(d protoreflect. // 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_MsgGuildMembershipInviteDeny) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimum) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -13720,7 +13160,7 @@ func (x *fastReflection_MsgGuildMembershipInviteDeny) GetUnknown() protoreflect. // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgGuildMembershipInviteDeny) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimum) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -13732,7 +13172,7 @@ func (x *fastReflection_MsgGuildMembershipInviteDeny) SetUnknown(fields protoref // 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_MsgGuildMembershipInviteDeny) IsValid() bool { +func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimum) IsValid() bool { return x != nil } @@ -13742,9 +13182,9 @@ func (x *fastReflection_MsgGuildMembershipInviteDeny) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_MsgGuildMembershipInviteDeny) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimum) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*MsgGuildMembershipInviteDeny) + x := input.Message.Interface().(*MsgGuildUpdateJoinInfusionMinimum) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -13764,9 +13204,8 @@ func (x *fastReflection_MsgGuildMembershipInviteDeny) ProtoMethods() *protoiface if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } - l = len(x.PlayerId) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) + if x.JoinInfusionMinimum != 0 { + n += 1 + runtime.Sov(uint64(x.JoinInfusionMinimum)) } if x.unknownFields != nil { n += len(x.unknownFields) @@ -13778,7 +13217,7 @@ func (x *fastReflection_MsgGuildMembershipInviteDeny) ProtoMethods() *protoiface } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*MsgGuildMembershipInviteDeny) + x := input.Message.Interface().(*MsgGuildUpdateJoinInfusionMinimum) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -13797,12 +13236,10 @@ func (x *fastReflection_MsgGuildMembershipInviteDeny) ProtoMethods() *protoiface i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if len(x.PlayerId) > 0 { - i -= len(x.PlayerId) - copy(dAtA[i:], x.PlayerId) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.PlayerId))) + if x.JoinInfusionMinimum != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.JoinInfusionMinimum)) i-- - dAtA[i] = 0x1a + dAtA[i] = 0x18 } if len(x.GuildId) > 0 { i -= len(x.GuildId) @@ -13829,7 +13266,7 @@ func (x *fastReflection_MsgGuildMembershipInviteDeny) ProtoMethods() *protoiface }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*MsgGuildMembershipInviteDeny) + x := input.Message.Interface().(*MsgGuildUpdateJoinInfusionMinimum) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -13861,10 +13298,10 @@ func (x *fastReflection_MsgGuildMembershipInviteDeny) ProtoMethods() *protoiface fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgGuildMembershipInviteDeny: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgGuildUpdateJoinInfusionMinimum: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgGuildMembershipInviteDeny: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgGuildUpdateJoinInfusionMinimum: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -13932,10 +13369,10 @@ func (x *fastReflection_MsgGuildMembershipInviteDeny) ProtoMethods() *protoiface x.GuildId = 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 PlayerId", wireType) + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field JoinInfusionMinimum", wireType) } - var stringLen uint64 + x.JoinInfusionMinimum = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -13945,24 +13382,11 @@ func (x *fastReflection_MsgGuildMembershipInviteDeny) ProtoMethods() *protoiface } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + x.JoinInfusionMinimum |= 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.PlayerId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex default: iNdEx = preIndex skippy, err := runtime.Skip(dAtA[iNdEx:]) @@ -13999,29 +13423,29 @@ func (x *fastReflection_MsgGuildMembershipInviteDeny) ProtoMethods() *protoiface } var ( - md_MsgGuildMembershipInviteRevoke protoreflect.MessageDescriptor - fd_MsgGuildMembershipInviteRevoke_creator protoreflect.FieldDescriptor - fd_MsgGuildMembershipInviteRevoke_guildId protoreflect.FieldDescriptor - fd_MsgGuildMembershipInviteRevoke_playerId protoreflect.FieldDescriptor + md_MsgGuildUpdateJoinInfusionMinimumBypassByRequest protoreflect.MessageDescriptor + fd_MsgGuildUpdateJoinInfusionMinimumBypassByRequest_creator protoreflect.FieldDescriptor + fd_MsgGuildUpdateJoinInfusionMinimumBypassByRequest_guildId protoreflect.FieldDescriptor + fd_MsgGuildUpdateJoinInfusionMinimumBypassByRequest_guildJoinBypassLevel protoreflect.FieldDescriptor ) func init() { file_structs_structs_tx_proto_init() - md_MsgGuildMembershipInviteRevoke = File_structs_structs_tx_proto.Messages().ByName("MsgGuildMembershipInviteRevoke") - fd_MsgGuildMembershipInviteRevoke_creator = md_MsgGuildMembershipInviteRevoke.Fields().ByName("creator") - fd_MsgGuildMembershipInviteRevoke_guildId = md_MsgGuildMembershipInviteRevoke.Fields().ByName("guildId") - fd_MsgGuildMembershipInviteRevoke_playerId = md_MsgGuildMembershipInviteRevoke.Fields().ByName("playerId") + md_MsgGuildUpdateJoinInfusionMinimumBypassByRequest = File_structs_structs_tx_proto.Messages().ByName("MsgGuildUpdateJoinInfusionMinimumBypassByRequest") + fd_MsgGuildUpdateJoinInfusionMinimumBypassByRequest_creator = md_MsgGuildUpdateJoinInfusionMinimumBypassByRequest.Fields().ByName("creator") + fd_MsgGuildUpdateJoinInfusionMinimumBypassByRequest_guildId = md_MsgGuildUpdateJoinInfusionMinimumBypassByRequest.Fields().ByName("guildId") + fd_MsgGuildUpdateJoinInfusionMinimumBypassByRequest_guildJoinBypassLevel = md_MsgGuildUpdateJoinInfusionMinimumBypassByRequest.Fields().ByName("guildJoinBypassLevel") } -var _ protoreflect.Message = (*fastReflection_MsgGuildMembershipInviteRevoke)(nil) +var _ protoreflect.Message = (*fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByRequest)(nil) -type fastReflection_MsgGuildMembershipInviteRevoke MsgGuildMembershipInviteRevoke +type fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByRequest MsgGuildUpdateJoinInfusionMinimumBypassByRequest -func (x *MsgGuildMembershipInviteRevoke) ProtoReflect() protoreflect.Message { - return (*fastReflection_MsgGuildMembershipInviteRevoke)(x) +func (x *MsgGuildUpdateJoinInfusionMinimumBypassByRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByRequest)(x) } -func (x *MsgGuildMembershipInviteRevoke) slowProtoReflect() protoreflect.Message { +func (x *MsgGuildUpdateJoinInfusionMinimumBypassByRequest) slowProtoReflect() protoreflect.Message { mi := &file_structs_structs_tx_proto_msgTypes[28] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -14033,43 +13457,43 @@ func (x *MsgGuildMembershipInviteRevoke) slowProtoReflect() protoreflect.Message return mi.MessageOf(x) } -var _fastReflection_MsgGuildMembershipInviteRevoke_messageType fastReflection_MsgGuildMembershipInviteRevoke_messageType -var _ protoreflect.MessageType = fastReflection_MsgGuildMembershipInviteRevoke_messageType{} +var _fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByRequest_messageType fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByRequest_messageType +var _ protoreflect.MessageType = fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByRequest_messageType{} -type fastReflection_MsgGuildMembershipInviteRevoke_messageType struct{} +type fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByRequest_messageType struct{} -func (x fastReflection_MsgGuildMembershipInviteRevoke_messageType) Zero() protoreflect.Message { - return (*fastReflection_MsgGuildMembershipInviteRevoke)(nil) +func (x fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByRequest)(nil) } -func (x fastReflection_MsgGuildMembershipInviteRevoke_messageType) New() protoreflect.Message { - return new(fastReflection_MsgGuildMembershipInviteRevoke) +func (x fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByRequest_messageType) New() protoreflect.Message { + return new(fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByRequest) } -func (x fastReflection_MsgGuildMembershipInviteRevoke_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_MsgGuildMembershipInviteRevoke +func (x fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgGuildUpdateJoinInfusionMinimumBypassByRequest } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_MsgGuildMembershipInviteRevoke) Descriptor() protoreflect.MessageDescriptor { - return md_MsgGuildMembershipInviteRevoke +func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByRequest) Descriptor() protoreflect.MessageDescriptor { + return md_MsgGuildUpdateJoinInfusionMinimumBypassByRequest } // 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_MsgGuildMembershipInviteRevoke) Type() protoreflect.MessageType { - return _fastReflection_MsgGuildMembershipInviteRevoke_messageType +func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByRequest) Type() protoreflect.MessageType { + return _fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByRequest_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_MsgGuildMembershipInviteRevoke) New() protoreflect.Message { - return new(fastReflection_MsgGuildMembershipInviteRevoke) +func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByRequest) New() protoreflect.Message { + return new(fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByRequest) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_MsgGuildMembershipInviteRevoke) Interface() protoreflect.ProtoMessage { - return (*MsgGuildMembershipInviteRevoke)(x) +func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByRequest) Interface() protoreflect.ProtoMessage { + return (*MsgGuildUpdateJoinInfusionMinimumBypassByRequest)(x) } // Range iterates over every populated field in an undefined order, @@ -14077,22 +13501,22 @@ func (x *fastReflection_MsgGuildMembershipInviteRevoke) Interface() protoreflect // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_MsgGuildMembershipInviteRevoke) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { if x.Creator != "" { value := protoreflect.ValueOfString(x.Creator) - if !f(fd_MsgGuildMembershipInviteRevoke_creator, value) { + if !f(fd_MsgGuildUpdateJoinInfusionMinimumBypassByRequest_creator, value) { return } } if x.GuildId != "" { value := protoreflect.ValueOfString(x.GuildId) - if !f(fd_MsgGuildMembershipInviteRevoke_guildId, value) { + if !f(fd_MsgGuildUpdateJoinInfusionMinimumBypassByRequest_guildId, value) { return } } - if x.PlayerId != "" { - value := protoreflect.ValueOfString(x.PlayerId) - if !f(fd_MsgGuildMembershipInviteRevoke_playerId, value) { + if x.GuildJoinBypassLevel != 0 { + value := protoreflect.ValueOfEnum((protoreflect.EnumNumber)(x.GuildJoinBypassLevel)) + if !f(fd_MsgGuildUpdateJoinInfusionMinimumBypassByRequest_guildJoinBypassLevel, value) { return } } @@ -14109,19 +13533,19 @@ func (x *fastReflection_MsgGuildMembershipInviteRevoke) Range(f func(protoreflec // 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_MsgGuildMembershipInviteRevoke) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByRequest) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.MsgGuildMembershipInviteRevoke.creator": + case "structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByRequest.creator": return x.Creator != "" - case "structs.structs.MsgGuildMembershipInviteRevoke.guildId": + case "structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByRequest.guildId": return x.GuildId != "" - case "structs.structs.MsgGuildMembershipInviteRevoke.playerId": - return x.PlayerId != "" + case "structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByRequest.guildJoinBypassLevel": + return x.GuildJoinBypassLevel != 0 default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipInviteRevoke")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByRequest")) } - panic(fmt.Errorf("message structs.structs.MsgGuildMembershipInviteRevoke does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByRequest does not contain field %s", fd.FullName())) } } @@ -14131,19 +13555,19 @@ func (x *fastReflection_MsgGuildMembershipInviteRevoke) Has(fd protoreflect.Fiel // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgGuildMembershipInviteRevoke) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByRequest) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.MsgGuildMembershipInviteRevoke.creator": + case "structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByRequest.creator": x.Creator = "" - case "structs.structs.MsgGuildMembershipInviteRevoke.guildId": + case "structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByRequest.guildId": x.GuildId = "" - case "structs.structs.MsgGuildMembershipInviteRevoke.playerId": - x.PlayerId = "" + case "structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByRequest.guildJoinBypassLevel": + x.GuildJoinBypassLevel = 0 default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipInviteRevoke")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByRequest")) } - panic(fmt.Errorf("message structs.structs.MsgGuildMembershipInviteRevoke does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByRequest does not contain field %s", fd.FullName())) } } @@ -14153,22 +13577,22 @@ func (x *fastReflection_MsgGuildMembershipInviteRevoke) Clear(fd protoreflect.Fi // 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_MsgGuildMembershipInviteRevoke) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.MsgGuildMembershipInviteRevoke.creator": + case "structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByRequest.creator": value := x.Creator return protoreflect.ValueOfString(value) - case "structs.structs.MsgGuildMembershipInviteRevoke.guildId": + case "structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByRequest.guildId": value := x.GuildId return protoreflect.ValueOfString(value) - case "structs.structs.MsgGuildMembershipInviteRevoke.playerId": - value := x.PlayerId - return protoreflect.ValueOfString(value) + case "structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByRequest.guildJoinBypassLevel": + value := x.GuildJoinBypassLevel + return protoreflect.ValueOfEnum((protoreflect.EnumNumber)(value)) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipInviteRevoke")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByRequest")) } - panic(fmt.Errorf("message structs.structs.MsgGuildMembershipInviteRevoke does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByRequest does not contain field %s", descriptor.FullName())) } } @@ -14182,19 +13606,19 @@ func (x *fastReflection_MsgGuildMembershipInviteRevoke) Get(descriptor protorefl // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgGuildMembershipInviteRevoke) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.MsgGuildMembershipInviteRevoke.creator": + case "structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByRequest.creator": x.Creator = value.Interface().(string) - case "structs.structs.MsgGuildMembershipInviteRevoke.guildId": + case "structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByRequest.guildId": x.GuildId = value.Interface().(string) - case "structs.structs.MsgGuildMembershipInviteRevoke.playerId": - x.PlayerId = value.Interface().(string) + case "structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByRequest.guildJoinBypassLevel": + x.GuildJoinBypassLevel = (GuildJoinBypassLevel)(value.Enum()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipInviteRevoke")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByRequest")) } - panic(fmt.Errorf("message structs.structs.MsgGuildMembershipInviteRevoke does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByRequest does not contain field %s", fd.FullName())) } } @@ -14208,48 +13632,48 @@ func (x *fastReflection_MsgGuildMembershipInviteRevoke) Set(fd protoreflect.Fiel // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgGuildMembershipInviteRevoke) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.MsgGuildMembershipInviteRevoke.creator": - panic(fmt.Errorf("field creator of message structs.structs.MsgGuildMembershipInviteRevoke is not mutable")) - case "structs.structs.MsgGuildMembershipInviteRevoke.guildId": - panic(fmt.Errorf("field guildId of message structs.structs.MsgGuildMembershipInviteRevoke is not mutable")) - case "structs.structs.MsgGuildMembershipInviteRevoke.playerId": - panic(fmt.Errorf("field playerId of message structs.structs.MsgGuildMembershipInviteRevoke is not mutable")) + case "structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByRequest.creator": + panic(fmt.Errorf("field creator of message structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByRequest is not mutable")) + case "structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByRequest.guildId": + panic(fmt.Errorf("field guildId of message structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByRequest is not mutable")) + case "structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByRequest.guildJoinBypassLevel": + panic(fmt.Errorf("field guildJoinBypassLevel of message structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByRequest is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipInviteRevoke")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByRequest")) } - panic(fmt.Errorf("message structs.structs.MsgGuildMembershipInviteRevoke does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByRequest 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_MsgGuildMembershipInviteRevoke) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.MsgGuildMembershipInviteRevoke.creator": - return protoreflect.ValueOfString("") - case "structs.structs.MsgGuildMembershipInviteRevoke.guildId": + case "structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByRequest.creator": return protoreflect.ValueOfString("") - case "structs.structs.MsgGuildMembershipInviteRevoke.playerId": + case "structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByRequest.guildId": return protoreflect.ValueOfString("") + case "structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByRequest.guildJoinBypassLevel": + return protoreflect.ValueOfEnum(0) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipInviteRevoke")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByRequest")) } - panic(fmt.Errorf("message structs.structs.MsgGuildMembershipInviteRevoke does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByRequest 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_MsgGuildMembershipInviteRevoke) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgGuildMembershipInviteRevoke", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByRequest", d.FullName())) } panic("unreachable") } @@ -14257,7 +13681,7 @@ func (x *fastReflection_MsgGuildMembershipInviteRevoke) WhichOneof(d protoreflec // 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_MsgGuildMembershipInviteRevoke) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByRequest) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -14268,7 +13692,7 @@ func (x *fastReflection_MsgGuildMembershipInviteRevoke) GetUnknown() protoreflec // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgGuildMembershipInviteRevoke) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByRequest) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -14280,7 +13704,7 @@ func (x *fastReflection_MsgGuildMembershipInviteRevoke) SetUnknown(fields protor // 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_MsgGuildMembershipInviteRevoke) IsValid() bool { +func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByRequest) IsValid() bool { return x != nil } @@ -14290,9 +13714,9 @@ func (x *fastReflection_MsgGuildMembershipInviteRevoke) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_MsgGuildMembershipInviteRevoke) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByRequest) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*MsgGuildMembershipInviteRevoke) + x := input.Message.Interface().(*MsgGuildUpdateJoinInfusionMinimumBypassByRequest) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -14312,9 +13736,8 @@ func (x *fastReflection_MsgGuildMembershipInviteRevoke) ProtoMethods() *protoifa if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } - l = len(x.PlayerId) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) + if x.GuildJoinBypassLevel != 0 { + n += 1 + runtime.Sov(uint64(x.GuildJoinBypassLevel)) } if x.unknownFields != nil { n += len(x.unknownFields) @@ -14326,7 +13749,7 @@ func (x *fastReflection_MsgGuildMembershipInviteRevoke) ProtoMethods() *protoifa } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*MsgGuildMembershipInviteRevoke) + x := input.Message.Interface().(*MsgGuildUpdateJoinInfusionMinimumBypassByRequest) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -14345,12 +13768,10 @@ func (x *fastReflection_MsgGuildMembershipInviteRevoke) ProtoMethods() *protoifa i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if len(x.PlayerId) > 0 { - i -= len(x.PlayerId) - copy(dAtA[i:], x.PlayerId) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.PlayerId))) + if x.GuildJoinBypassLevel != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.GuildJoinBypassLevel)) i-- - dAtA[i] = 0x1a + dAtA[i] = 0x18 } if len(x.GuildId) > 0 { i -= len(x.GuildId) @@ -14377,7 +13798,7 @@ func (x *fastReflection_MsgGuildMembershipInviteRevoke) ProtoMethods() *protoifa }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*MsgGuildMembershipInviteRevoke) + x := input.Message.Interface().(*MsgGuildUpdateJoinInfusionMinimumBypassByRequest) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -14409,10 +13830,10 @@ func (x *fastReflection_MsgGuildMembershipInviteRevoke) ProtoMethods() *protoifa fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgGuildMembershipInviteRevoke: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgGuildUpdateJoinInfusionMinimumBypassByRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgGuildMembershipInviteRevoke: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgGuildUpdateJoinInfusionMinimumBypassByRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -14480,10 +13901,10 @@ func (x *fastReflection_MsgGuildMembershipInviteRevoke) ProtoMethods() *protoifa x.GuildId = 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 PlayerId", wireType) + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field GuildJoinBypassLevel", wireType) } - var stringLen uint64 + x.GuildJoinBypassLevel = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -14493,24 +13914,11 @@ func (x *fastReflection_MsgGuildMembershipInviteRevoke) ProtoMethods() *protoifa } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + x.GuildJoinBypassLevel |= GuildJoinBypassLevel(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.PlayerId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex default: iNdEx = preIndex skippy, err := runtime.Skip(dAtA[iNdEx:]) @@ -14546,80 +13954,30 @@ func (x *fastReflection_MsgGuildMembershipInviteRevoke) ProtoMethods() *protoifa } } -var _ protoreflect.List = (*_MsgGuildMembershipJoin_5_list)(nil) - -type _MsgGuildMembershipJoin_5_list struct { - list *[]string -} - -func (x *_MsgGuildMembershipJoin_5_list) Len() int { - if x.list == nil { - return 0 - } - return len(*x.list) -} - -func (x *_MsgGuildMembershipJoin_5_list) Get(i int) protoreflect.Value { - return protoreflect.ValueOfString((*x.list)[i]) -} - -func (x *_MsgGuildMembershipJoin_5_list) Set(i int, value protoreflect.Value) { - valueUnwrapped := value.String() - concreteValue := valueUnwrapped - (*x.list)[i] = concreteValue -} - -func (x *_MsgGuildMembershipJoin_5_list) Append(value protoreflect.Value) { - valueUnwrapped := value.String() - concreteValue := valueUnwrapped - *x.list = append(*x.list, concreteValue) -} - -func (x *_MsgGuildMembershipJoin_5_list) AppendMutable() protoreflect.Value { - panic(fmt.Errorf("AppendMutable can not be called on message MsgGuildMembershipJoin at list field InfusionId as it is not of Message kind")) -} - -func (x *_MsgGuildMembershipJoin_5_list) Truncate(n int) { - *x.list = (*x.list)[:n] -} - -func (x *_MsgGuildMembershipJoin_5_list) NewElement() protoreflect.Value { - v := "" - return protoreflect.ValueOfString(v) -} - -func (x *_MsgGuildMembershipJoin_5_list) IsValid() bool { - return x.list != nil -} - var ( - md_MsgGuildMembershipJoin protoreflect.MessageDescriptor - fd_MsgGuildMembershipJoin_creator protoreflect.FieldDescriptor - fd_MsgGuildMembershipJoin_guildId protoreflect.FieldDescriptor - fd_MsgGuildMembershipJoin_playerId protoreflect.FieldDescriptor - fd_MsgGuildMembershipJoin_substationId protoreflect.FieldDescriptor - fd_MsgGuildMembershipJoin_infusionId protoreflect.FieldDescriptor + md_MsgGuildUpdateJoinInfusionMinimumBypassByInvite protoreflect.MessageDescriptor + fd_MsgGuildUpdateJoinInfusionMinimumBypassByInvite_creator protoreflect.FieldDescriptor + fd_MsgGuildUpdateJoinInfusionMinimumBypassByInvite_guildId protoreflect.FieldDescriptor + fd_MsgGuildUpdateJoinInfusionMinimumBypassByInvite_guildJoinBypassLevel protoreflect.FieldDescriptor ) func init() { file_structs_structs_tx_proto_init() - md_MsgGuildMembershipJoin = File_structs_structs_tx_proto.Messages().ByName("MsgGuildMembershipJoin") - fd_MsgGuildMembershipJoin_creator = md_MsgGuildMembershipJoin.Fields().ByName("creator") - fd_MsgGuildMembershipJoin_guildId = md_MsgGuildMembershipJoin.Fields().ByName("guildId") - fd_MsgGuildMembershipJoin_playerId = md_MsgGuildMembershipJoin.Fields().ByName("playerId") - fd_MsgGuildMembershipJoin_substationId = md_MsgGuildMembershipJoin.Fields().ByName("substationId") - fd_MsgGuildMembershipJoin_infusionId = md_MsgGuildMembershipJoin.Fields().ByName("infusionId") + md_MsgGuildUpdateJoinInfusionMinimumBypassByInvite = File_structs_structs_tx_proto.Messages().ByName("MsgGuildUpdateJoinInfusionMinimumBypassByInvite") + fd_MsgGuildUpdateJoinInfusionMinimumBypassByInvite_creator = md_MsgGuildUpdateJoinInfusionMinimumBypassByInvite.Fields().ByName("creator") + fd_MsgGuildUpdateJoinInfusionMinimumBypassByInvite_guildId = md_MsgGuildUpdateJoinInfusionMinimumBypassByInvite.Fields().ByName("guildId") + fd_MsgGuildUpdateJoinInfusionMinimumBypassByInvite_guildJoinBypassLevel = md_MsgGuildUpdateJoinInfusionMinimumBypassByInvite.Fields().ByName("guildJoinBypassLevel") } -var _ protoreflect.Message = (*fastReflection_MsgGuildMembershipJoin)(nil) +var _ protoreflect.Message = (*fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByInvite)(nil) -type fastReflection_MsgGuildMembershipJoin MsgGuildMembershipJoin +type fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByInvite MsgGuildUpdateJoinInfusionMinimumBypassByInvite -func (x *MsgGuildMembershipJoin) ProtoReflect() protoreflect.Message { - return (*fastReflection_MsgGuildMembershipJoin)(x) +func (x *MsgGuildUpdateJoinInfusionMinimumBypassByInvite) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByInvite)(x) } -func (x *MsgGuildMembershipJoin) slowProtoReflect() protoreflect.Message { +func (x *MsgGuildUpdateJoinInfusionMinimumBypassByInvite) slowProtoReflect() protoreflect.Message { mi := &file_structs_structs_tx_proto_msgTypes[29] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -14631,43 +13989,43 @@ func (x *MsgGuildMembershipJoin) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_MsgGuildMembershipJoin_messageType fastReflection_MsgGuildMembershipJoin_messageType -var _ protoreflect.MessageType = fastReflection_MsgGuildMembershipJoin_messageType{} +var _fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByInvite_messageType fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByInvite_messageType +var _ protoreflect.MessageType = fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByInvite_messageType{} -type fastReflection_MsgGuildMembershipJoin_messageType struct{} +type fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByInvite_messageType struct{} -func (x fastReflection_MsgGuildMembershipJoin_messageType) Zero() protoreflect.Message { - return (*fastReflection_MsgGuildMembershipJoin)(nil) +func (x fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByInvite_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByInvite)(nil) } -func (x fastReflection_MsgGuildMembershipJoin_messageType) New() protoreflect.Message { - return new(fastReflection_MsgGuildMembershipJoin) +func (x fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByInvite_messageType) New() protoreflect.Message { + return new(fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByInvite) } -func (x fastReflection_MsgGuildMembershipJoin_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_MsgGuildMembershipJoin +func (x fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByInvite_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgGuildUpdateJoinInfusionMinimumBypassByInvite } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_MsgGuildMembershipJoin) Descriptor() protoreflect.MessageDescriptor { - return md_MsgGuildMembershipJoin +func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByInvite) Descriptor() protoreflect.MessageDescriptor { + return md_MsgGuildUpdateJoinInfusionMinimumBypassByInvite } // 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_MsgGuildMembershipJoin) Type() protoreflect.MessageType { - return _fastReflection_MsgGuildMembershipJoin_messageType +func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByInvite) Type() protoreflect.MessageType { + return _fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByInvite_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_MsgGuildMembershipJoin) New() protoreflect.Message { - return new(fastReflection_MsgGuildMembershipJoin) +func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByInvite) New() protoreflect.Message { + return new(fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByInvite) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_MsgGuildMembershipJoin) Interface() protoreflect.ProtoMessage { - return (*MsgGuildMembershipJoin)(x) +func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByInvite) Interface() protoreflect.ProtoMessage { + return (*MsgGuildUpdateJoinInfusionMinimumBypassByInvite)(x) } // Range iterates over every populated field in an undefined order, @@ -14675,34 +14033,22 @@ func (x *fastReflection_MsgGuildMembershipJoin) Interface() protoreflect.ProtoMe // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_MsgGuildMembershipJoin) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByInvite) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { if x.Creator != "" { value := protoreflect.ValueOfString(x.Creator) - if !f(fd_MsgGuildMembershipJoin_creator, value) { + if !f(fd_MsgGuildUpdateJoinInfusionMinimumBypassByInvite_creator, value) { return } } if x.GuildId != "" { value := protoreflect.ValueOfString(x.GuildId) - if !f(fd_MsgGuildMembershipJoin_guildId, value) { - return - } - } - if x.PlayerId != "" { - value := protoreflect.ValueOfString(x.PlayerId) - if !f(fd_MsgGuildMembershipJoin_playerId, value) { - return - } - } - if x.SubstationId != "" { - value := protoreflect.ValueOfString(x.SubstationId) - if !f(fd_MsgGuildMembershipJoin_substationId, value) { + if !f(fd_MsgGuildUpdateJoinInfusionMinimumBypassByInvite_guildId, value) { return } } - if len(x.InfusionId) != 0 { - value := protoreflect.ValueOfList(&_MsgGuildMembershipJoin_5_list{list: &x.InfusionId}) - if !f(fd_MsgGuildMembershipJoin_infusionId, value) { + if x.GuildJoinBypassLevel != 0 { + value := protoreflect.ValueOfEnum((protoreflect.EnumNumber)(x.GuildJoinBypassLevel)) + if !f(fd_MsgGuildUpdateJoinInfusionMinimumBypassByInvite_guildJoinBypassLevel, value) { return } } @@ -14719,23 +14065,19 @@ func (x *fastReflection_MsgGuildMembershipJoin) Range(f func(protoreflect.FieldD // 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_MsgGuildMembershipJoin) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByInvite) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.MsgGuildMembershipJoin.creator": + case "structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByInvite.creator": return x.Creator != "" - case "structs.structs.MsgGuildMembershipJoin.guildId": + case "structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByInvite.guildId": return x.GuildId != "" - case "structs.structs.MsgGuildMembershipJoin.playerId": - return x.PlayerId != "" - case "structs.structs.MsgGuildMembershipJoin.substationId": - return x.SubstationId != "" - case "structs.structs.MsgGuildMembershipJoin.infusionId": - return len(x.InfusionId) != 0 + case "structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByInvite.guildJoinBypassLevel": + return x.GuildJoinBypassLevel != 0 default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipJoin")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByInvite")) } - panic(fmt.Errorf("message structs.structs.MsgGuildMembershipJoin does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByInvite does not contain field %s", fd.FullName())) } } @@ -14745,23 +14087,19 @@ func (x *fastReflection_MsgGuildMembershipJoin) Has(fd protoreflect.FieldDescrip // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgGuildMembershipJoin) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByInvite) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.MsgGuildMembershipJoin.creator": + case "structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByInvite.creator": x.Creator = "" - case "structs.structs.MsgGuildMembershipJoin.guildId": + case "structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByInvite.guildId": x.GuildId = "" - case "structs.structs.MsgGuildMembershipJoin.playerId": - x.PlayerId = "" - case "structs.structs.MsgGuildMembershipJoin.substationId": - x.SubstationId = "" - case "structs.structs.MsgGuildMembershipJoin.infusionId": - x.InfusionId = nil + case "structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByInvite.guildJoinBypassLevel": + x.GuildJoinBypassLevel = 0 default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipJoin")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByInvite")) } - panic(fmt.Errorf("message structs.structs.MsgGuildMembershipJoin does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByInvite does not contain field %s", fd.FullName())) } } @@ -14771,31 +14109,22 @@ func (x *fastReflection_MsgGuildMembershipJoin) Clear(fd protoreflect.FieldDescr // 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_MsgGuildMembershipJoin) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByInvite) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.MsgGuildMembershipJoin.creator": + case "structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByInvite.creator": value := x.Creator return protoreflect.ValueOfString(value) - case "structs.structs.MsgGuildMembershipJoin.guildId": + case "structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByInvite.guildId": value := x.GuildId return protoreflect.ValueOfString(value) - case "structs.structs.MsgGuildMembershipJoin.playerId": - value := x.PlayerId - return protoreflect.ValueOfString(value) - case "structs.structs.MsgGuildMembershipJoin.substationId": - value := x.SubstationId - return protoreflect.ValueOfString(value) - case "structs.structs.MsgGuildMembershipJoin.infusionId": - if len(x.InfusionId) == 0 { - return protoreflect.ValueOfList(&_MsgGuildMembershipJoin_5_list{}) - } - listValue := &_MsgGuildMembershipJoin_5_list{list: &x.InfusionId} - return protoreflect.ValueOfList(listValue) + case "structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByInvite.guildJoinBypassLevel": + value := x.GuildJoinBypassLevel + return protoreflect.ValueOfEnum((protoreflect.EnumNumber)(value)) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipJoin")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByInvite")) } - panic(fmt.Errorf("message structs.structs.MsgGuildMembershipJoin does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByInvite does not contain field %s", descriptor.FullName())) } } @@ -14809,25 +14138,19 @@ func (x *fastReflection_MsgGuildMembershipJoin) Get(descriptor protoreflect.Fiel // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgGuildMembershipJoin) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByInvite) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.MsgGuildMembershipJoin.creator": + case "structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByInvite.creator": x.Creator = value.Interface().(string) - case "structs.structs.MsgGuildMembershipJoin.guildId": + case "structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByInvite.guildId": x.GuildId = value.Interface().(string) - case "structs.structs.MsgGuildMembershipJoin.playerId": - x.PlayerId = value.Interface().(string) - case "structs.structs.MsgGuildMembershipJoin.substationId": - x.SubstationId = value.Interface().(string) - case "structs.structs.MsgGuildMembershipJoin.infusionId": - lv := value.List() - clv := lv.(*_MsgGuildMembershipJoin_5_list) - x.InfusionId = *clv.list + case "structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByInvite.guildJoinBypassLevel": + x.GuildJoinBypassLevel = (GuildJoinBypassLevel)(value.Enum()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipJoin")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByInvite")) } - panic(fmt.Errorf("message structs.structs.MsgGuildMembershipJoin does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByInvite does not contain field %s", fd.FullName())) } } @@ -14841,61 +14164,48 @@ func (x *fastReflection_MsgGuildMembershipJoin) Set(fd protoreflect.FieldDescrip // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgGuildMembershipJoin) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByInvite) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.MsgGuildMembershipJoin.infusionId": - if x.InfusionId == nil { - x.InfusionId = []string{} - } - value := &_MsgGuildMembershipJoin_5_list{list: &x.InfusionId} - return protoreflect.ValueOfList(value) - case "structs.structs.MsgGuildMembershipJoin.creator": - panic(fmt.Errorf("field creator of message structs.structs.MsgGuildMembershipJoin is not mutable")) - case "structs.structs.MsgGuildMembershipJoin.guildId": - panic(fmt.Errorf("field guildId of message structs.structs.MsgGuildMembershipJoin is not mutable")) - case "structs.structs.MsgGuildMembershipJoin.playerId": - panic(fmt.Errorf("field playerId of message structs.structs.MsgGuildMembershipJoin is not mutable")) - case "structs.structs.MsgGuildMembershipJoin.substationId": - panic(fmt.Errorf("field substationId of message structs.structs.MsgGuildMembershipJoin is not mutable")) + case "structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByInvite.creator": + panic(fmt.Errorf("field creator of message structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByInvite is not mutable")) + case "structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByInvite.guildId": + panic(fmt.Errorf("field guildId of message structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByInvite is not mutable")) + case "structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByInvite.guildJoinBypassLevel": + panic(fmt.Errorf("field guildJoinBypassLevel of message structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByInvite is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipJoin")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByInvite")) } - panic(fmt.Errorf("message structs.structs.MsgGuildMembershipJoin does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByInvite 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_MsgGuildMembershipJoin) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByInvite) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.MsgGuildMembershipJoin.creator": - return protoreflect.ValueOfString("") - case "structs.structs.MsgGuildMembershipJoin.guildId": - return protoreflect.ValueOfString("") - case "structs.structs.MsgGuildMembershipJoin.playerId": + case "structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByInvite.creator": return protoreflect.ValueOfString("") - case "structs.structs.MsgGuildMembershipJoin.substationId": + case "structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByInvite.guildId": return protoreflect.ValueOfString("") - case "structs.structs.MsgGuildMembershipJoin.infusionId": - list := []string{} - return protoreflect.ValueOfList(&_MsgGuildMembershipJoin_5_list{list: &list}) + case "structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByInvite.guildJoinBypassLevel": + return protoreflect.ValueOfEnum(0) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipJoin")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByInvite")) } - panic(fmt.Errorf("message structs.structs.MsgGuildMembershipJoin does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByInvite 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_MsgGuildMembershipJoin) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByInvite) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgGuildMembershipJoin", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByInvite", d.FullName())) } panic("unreachable") } @@ -14903,7 +14213,7 @@ func (x *fastReflection_MsgGuildMembershipJoin) WhichOneof(d protoreflect.OneofD // 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_MsgGuildMembershipJoin) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByInvite) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -14914,7 +14224,7 @@ func (x *fastReflection_MsgGuildMembershipJoin) GetUnknown() protoreflect.RawFie // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgGuildMembershipJoin) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByInvite) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -14926,7 +14236,7 @@ func (x *fastReflection_MsgGuildMembershipJoin) SetUnknown(fields protoreflect.R // 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_MsgGuildMembershipJoin) IsValid() bool { +func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByInvite) IsValid() bool { return x != nil } @@ -14936,9 +14246,9 @@ func (x *fastReflection_MsgGuildMembershipJoin) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_MsgGuildMembershipJoin) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_MsgGuildUpdateJoinInfusionMinimumBypassByInvite) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*MsgGuildMembershipJoin) + x := input.Message.Interface().(*MsgGuildUpdateJoinInfusionMinimumBypassByInvite) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -14958,19 +14268,8 @@ func (x *fastReflection_MsgGuildMembershipJoin) ProtoMethods() *protoiface.Metho if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } - l = len(x.PlayerId) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } - l = len(x.SubstationId) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } - if len(x.InfusionId) > 0 { - for _, s := range x.InfusionId { - l = len(s) - n += 1 + l + runtime.Sov(uint64(l)) - } + if x.GuildJoinBypassLevel != 0 { + n += 1 + runtime.Sov(uint64(x.GuildJoinBypassLevel)) } if x.unknownFields != nil { n += len(x.unknownFields) @@ -14982,7 +14281,7 @@ func (x *fastReflection_MsgGuildMembershipJoin) ProtoMethods() *protoiface.Metho } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*MsgGuildMembershipJoin) + x := input.Message.Interface().(*MsgGuildUpdateJoinInfusionMinimumBypassByInvite) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -15001,28 +14300,10 @@ func (x *fastReflection_MsgGuildMembershipJoin) ProtoMethods() *protoiface.Metho i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if len(x.InfusionId) > 0 { - for iNdEx := len(x.InfusionId) - 1; iNdEx >= 0; iNdEx-- { - i -= len(x.InfusionId[iNdEx]) - copy(dAtA[i:], x.InfusionId[iNdEx]) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.InfusionId[iNdEx]))) - i-- - dAtA[i] = 0x2a - } - } - if len(x.SubstationId) > 0 { - i -= len(x.SubstationId) - copy(dAtA[i:], x.SubstationId) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.SubstationId))) - i-- - dAtA[i] = 0x22 - } - if len(x.PlayerId) > 0 { - i -= len(x.PlayerId) - copy(dAtA[i:], x.PlayerId) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.PlayerId))) + if x.GuildJoinBypassLevel != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.GuildJoinBypassLevel)) i-- - dAtA[i] = 0x1a + dAtA[i] = 0x18 } if len(x.GuildId) > 0 { i -= len(x.GuildId) @@ -15049,7 +14330,7 @@ func (x *fastReflection_MsgGuildMembershipJoin) ProtoMethods() *protoiface.Metho }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*MsgGuildMembershipJoin) + x := input.Message.Interface().(*MsgGuildUpdateJoinInfusionMinimumBypassByInvite) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -15081,10 +14362,10 @@ func (x *fastReflection_MsgGuildMembershipJoin) ProtoMethods() *protoiface.Metho fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgGuildMembershipJoin: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgGuildUpdateJoinInfusionMinimumBypassByInvite: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgGuildMembershipJoin: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgGuildUpdateJoinInfusionMinimumBypassByInvite: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -15152,74 +14433,10 @@ func (x *fastReflection_MsgGuildMembershipJoin) ProtoMethods() *protoiface.Metho x.GuildId = 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 PlayerId", 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.PlayerId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field SubstationId", 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.SubstationId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 5: - if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field InfusionId", wireType) + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field GuildJoinBypassLevel", wireType) } - var stringLen uint64 + x.GuildJoinBypassLevel = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -15229,24 +14446,11 @@ func (x *fastReflection_MsgGuildMembershipJoin) ProtoMethods() *protoiface.Metho } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + x.GuildJoinBypassLevel |= GuildJoinBypassLevel(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.InfusionId = append(x.InfusionId, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex default: iNdEx = preIndex skippy, err := runtime.Skip(dAtA[iNdEx:]) @@ -15283,33 +14487,23 @@ func (x *fastReflection_MsgGuildMembershipJoin) ProtoMethods() *protoiface.Metho } var ( - md_MsgGuildMembershipJoinProxy protoreflect.MessageDescriptor - fd_MsgGuildMembershipJoinProxy_creator protoreflect.FieldDescriptor - fd_MsgGuildMembershipJoinProxy_address protoreflect.FieldDescriptor - fd_MsgGuildMembershipJoinProxy_substationId protoreflect.FieldDescriptor - fd_MsgGuildMembershipJoinProxy_proofPubKey protoreflect.FieldDescriptor - fd_MsgGuildMembershipJoinProxy_proofSignature protoreflect.FieldDescriptor + md_MsgGuildUpdateResponse protoreflect.MessageDescriptor ) func init() { file_structs_structs_tx_proto_init() - md_MsgGuildMembershipJoinProxy = File_structs_structs_tx_proto.Messages().ByName("MsgGuildMembershipJoinProxy") - fd_MsgGuildMembershipJoinProxy_creator = md_MsgGuildMembershipJoinProxy.Fields().ByName("creator") - fd_MsgGuildMembershipJoinProxy_address = md_MsgGuildMembershipJoinProxy.Fields().ByName("address") - fd_MsgGuildMembershipJoinProxy_substationId = md_MsgGuildMembershipJoinProxy.Fields().ByName("substationId") - fd_MsgGuildMembershipJoinProxy_proofPubKey = md_MsgGuildMembershipJoinProxy.Fields().ByName("proofPubKey") - fd_MsgGuildMembershipJoinProxy_proofSignature = md_MsgGuildMembershipJoinProxy.Fields().ByName("proofSignature") + md_MsgGuildUpdateResponse = File_structs_structs_tx_proto.Messages().ByName("MsgGuildUpdateResponse") } -var _ protoreflect.Message = (*fastReflection_MsgGuildMembershipJoinProxy)(nil) +var _ protoreflect.Message = (*fastReflection_MsgGuildUpdateResponse)(nil) -type fastReflection_MsgGuildMembershipJoinProxy MsgGuildMembershipJoinProxy +type fastReflection_MsgGuildUpdateResponse MsgGuildUpdateResponse -func (x *MsgGuildMembershipJoinProxy) ProtoReflect() protoreflect.Message { - return (*fastReflection_MsgGuildMembershipJoinProxy)(x) +func (x *MsgGuildUpdateResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgGuildUpdateResponse)(x) } -func (x *MsgGuildMembershipJoinProxy) slowProtoReflect() protoreflect.Message { +func (x *MsgGuildUpdateResponse) slowProtoReflect() protoreflect.Message { mi := &file_structs_structs_tx_proto_msgTypes[30] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -15321,43 +14515,43 @@ func (x *MsgGuildMembershipJoinProxy) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_MsgGuildMembershipJoinProxy_messageType fastReflection_MsgGuildMembershipJoinProxy_messageType -var _ protoreflect.MessageType = fastReflection_MsgGuildMembershipJoinProxy_messageType{} +var _fastReflection_MsgGuildUpdateResponse_messageType fastReflection_MsgGuildUpdateResponse_messageType +var _ protoreflect.MessageType = fastReflection_MsgGuildUpdateResponse_messageType{} -type fastReflection_MsgGuildMembershipJoinProxy_messageType struct{} +type fastReflection_MsgGuildUpdateResponse_messageType struct{} -func (x fastReflection_MsgGuildMembershipJoinProxy_messageType) Zero() protoreflect.Message { - return (*fastReflection_MsgGuildMembershipJoinProxy)(nil) +func (x fastReflection_MsgGuildUpdateResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgGuildUpdateResponse)(nil) } -func (x fastReflection_MsgGuildMembershipJoinProxy_messageType) New() protoreflect.Message { - return new(fastReflection_MsgGuildMembershipJoinProxy) +func (x fastReflection_MsgGuildUpdateResponse_messageType) New() protoreflect.Message { + return new(fastReflection_MsgGuildUpdateResponse) } -func (x fastReflection_MsgGuildMembershipJoinProxy_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_MsgGuildMembershipJoinProxy +func (x fastReflection_MsgGuildUpdateResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgGuildUpdateResponse } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_MsgGuildMembershipJoinProxy) Descriptor() protoreflect.MessageDescriptor { - return md_MsgGuildMembershipJoinProxy +func (x *fastReflection_MsgGuildUpdateResponse) Descriptor() protoreflect.MessageDescriptor { + return md_MsgGuildUpdateResponse } // 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_MsgGuildMembershipJoinProxy) Type() protoreflect.MessageType { - return _fastReflection_MsgGuildMembershipJoinProxy_messageType +func (x *fastReflection_MsgGuildUpdateResponse) Type() protoreflect.MessageType { + return _fastReflection_MsgGuildUpdateResponse_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_MsgGuildMembershipJoinProxy) New() protoreflect.Message { - return new(fastReflection_MsgGuildMembershipJoinProxy) +func (x *fastReflection_MsgGuildUpdateResponse) New() protoreflect.Message { + return new(fastReflection_MsgGuildUpdateResponse) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_MsgGuildMembershipJoinProxy) Interface() protoreflect.ProtoMessage { - return (*MsgGuildMembershipJoinProxy)(x) +func (x *fastReflection_MsgGuildUpdateResponse) Interface() protoreflect.ProtoMessage { + return (*MsgGuildUpdateResponse)(x) } // Range iterates over every populated field in an undefined order, @@ -15365,37 +14559,7 @@ func (x *fastReflection_MsgGuildMembershipJoinProxy) Interface() protoreflect.Pr // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_MsgGuildMembershipJoinProxy) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.Creator != "" { - value := protoreflect.ValueOfString(x.Creator) - if !f(fd_MsgGuildMembershipJoinProxy_creator, value) { - return - } - } - if x.Address != "" { - value := protoreflect.ValueOfString(x.Address) - if !f(fd_MsgGuildMembershipJoinProxy_address, value) { - return - } - } - if x.SubstationId != "" { - value := protoreflect.ValueOfString(x.SubstationId) - if !f(fd_MsgGuildMembershipJoinProxy_substationId, value) { - return - } - } - if x.ProofPubKey != "" { - value := protoreflect.ValueOfString(x.ProofPubKey) - if !f(fd_MsgGuildMembershipJoinProxy_proofPubKey, value) { - return - } - } - if x.ProofSignature != "" { - value := protoreflect.ValueOfString(x.ProofSignature) - if !f(fd_MsgGuildMembershipJoinProxy_proofSignature, value) { - return - } - } +func (x *fastReflection_MsgGuildUpdateResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { } // Has reports whether a field is populated. @@ -15409,23 +14573,13 @@ func (x *fastReflection_MsgGuildMembershipJoinProxy) Range(f func(protoreflect.F // 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_MsgGuildMembershipJoinProxy) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_MsgGuildUpdateResponse) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.MsgGuildMembershipJoinProxy.creator": - return x.Creator != "" - case "structs.structs.MsgGuildMembershipJoinProxy.address": - return x.Address != "" - case "structs.structs.MsgGuildMembershipJoinProxy.substationId": - return x.SubstationId != "" - case "structs.structs.MsgGuildMembershipJoinProxy.proofPubKey": - return x.ProofPubKey != "" - case "structs.structs.MsgGuildMembershipJoinProxy.proofSignature": - return x.ProofSignature != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipJoinProxy")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildUpdateResponse")) } - panic(fmt.Errorf("message structs.structs.MsgGuildMembershipJoinProxy does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildUpdateResponse does not contain field %s", fd.FullName())) } } @@ -15435,23 +14589,13 @@ func (x *fastReflection_MsgGuildMembershipJoinProxy) Has(fd protoreflect.FieldDe // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgGuildMembershipJoinProxy) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_MsgGuildUpdateResponse) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.MsgGuildMembershipJoinProxy.creator": - x.Creator = "" - case "structs.structs.MsgGuildMembershipJoinProxy.address": - x.Address = "" - case "structs.structs.MsgGuildMembershipJoinProxy.substationId": - x.SubstationId = "" - case "structs.structs.MsgGuildMembershipJoinProxy.proofPubKey": - x.ProofPubKey = "" - case "structs.structs.MsgGuildMembershipJoinProxy.proofSignature": - x.ProofSignature = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipJoinProxy")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildUpdateResponse")) } - panic(fmt.Errorf("message structs.structs.MsgGuildMembershipJoinProxy does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildUpdateResponse does not contain field %s", fd.FullName())) } } @@ -15461,28 +14605,13 @@ func (x *fastReflection_MsgGuildMembershipJoinProxy) Clear(fd protoreflect.Field // 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_MsgGuildMembershipJoinProxy) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgGuildUpdateResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.MsgGuildMembershipJoinProxy.creator": - value := x.Creator - return protoreflect.ValueOfString(value) - case "structs.structs.MsgGuildMembershipJoinProxy.address": - value := x.Address - return protoreflect.ValueOfString(value) - case "structs.structs.MsgGuildMembershipJoinProxy.substationId": - value := x.SubstationId - return protoreflect.ValueOfString(value) - case "structs.structs.MsgGuildMembershipJoinProxy.proofPubKey": - value := x.ProofPubKey - return protoreflect.ValueOfString(value) - case "structs.structs.MsgGuildMembershipJoinProxy.proofSignature": - value := x.ProofSignature - return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipJoinProxy")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildUpdateResponse")) } - panic(fmt.Errorf("message structs.structs.MsgGuildMembershipJoinProxy does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildUpdateResponse does not contain field %s", descriptor.FullName())) } } @@ -15496,23 +14625,13 @@ func (x *fastReflection_MsgGuildMembershipJoinProxy) Get(descriptor protoreflect // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgGuildMembershipJoinProxy) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_MsgGuildUpdateResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.MsgGuildMembershipJoinProxy.creator": - x.Creator = value.Interface().(string) - case "structs.structs.MsgGuildMembershipJoinProxy.address": - x.Address = value.Interface().(string) - case "structs.structs.MsgGuildMembershipJoinProxy.substationId": - x.SubstationId = value.Interface().(string) - case "structs.structs.MsgGuildMembershipJoinProxy.proofPubKey": - x.ProofPubKey = value.Interface().(string) - case "structs.structs.MsgGuildMembershipJoinProxy.proofSignature": - x.ProofSignature = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipJoinProxy")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildUpdateResponse")) } - panic(fmt.Errorf("message structs.structs.MsgGuildMembershipJoinProxy does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildUpdateResponse does not contain field %s", fd.FullName())) } } @@ -15526,56 +14645,36 @@ func (x *fastReflection_MsgGuildMembershipJoinProxy) Set(fd protoreflect.FieldDe // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgGuildMembershipJoinProxy) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgGuildUpdateResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.MsgGuildMembershipJoinProxy.creator": - panic(fmt.Errorf("field creator of message structs.structs.MsgGuildMembershipJoinProxy is not mutable")) - case "structs.structs.MsgGuildMembershipJoinProxy.address": - panic(fmt.Errorf("field address of message structs.structs.MsgGuildMembershipJoinProxy is not mutable")) - case "structs.structs.MsgGuildMembershipJoinProxy.substationId": - panic(fmt.Errorf("field substationId of message structs.structs.MsgGuildMembershipJoinProxy is not mutable")) - case "structs.structs.MsgGuildMembershipJoinProxy.proofPubKey": - panic(fmt.Errorf("field proofPubKey of message structs.structs.MsgGuildMembershipJoinProxy is not mutable")) - case "structs.structs.MsgGuildMembershipJoinProxy.proofSignature": - panic(fmt.Errorf("field proofSignature of message structs.structs.MsgGuildMembershipJoinProxy is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipJoinProxy")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildUpdateResponse")) } - panic(fmt.Errorf("message structs.structs.MsgGuildMembershipJoinProxy does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildUpdateResponse 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_MsgGuildMembershipJoinProxy) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgGuildUpdateResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.MsgGuildMembershipJoinProxy.creator": - return protoreflect.ValueOfString("") - case "structs.structs.MsgGuildMembershipJoinProxy.address": - return protoreflect.ValueOfString("") - case "structs.structs.MsgGuildMembershipJoinProxy.substationId": - return protoreflect.ValueOfString("") - case "structs.structs.MsgGuildMembershipJoinProxy.proofPubKey": - return protoreflect.ValueOfString("") - case "structs.structs.MsgGuildMembershipJoinProxy.proofSignature": - return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipJoinProxy")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildUpdateResponse")) } - panic(fmt.Errorf("message structs.structs.MsgGuildMembershipJoinProxy does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildUpdateResponse 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_MsgGuildMembershipJoinProxy) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_MsgGuildUpdateResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgGuildMembershipJoinProxy", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgGuildUpdateResponse", d.FullName())) } panic("unreachable") } @@ -15583,7 +14682,7 @@ func (x *fastReflection_MsgGuildMembershipJoinProxy) WhichOneof(d protoreflect.O // 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_MsgGuildMembershipJoinProxy) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_MsgGuildUpdateResponse) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -15594,7 +14693,7 @@ func (x *fastReflection_MsgGuildMembershipJoinProxy) GetUnknown() protoreflect.R // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgGuildMembershipJoinProxy) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_MsgGuildUpdateResponse) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -15606,7 +14705,7 @@ func (x *fastReflection_MsgGuildMembershipJoinProxy) SetUnknown(fields protorefl // 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_MsgGuildMembershipJoinProxy) IsValid() bool { +func (x *fastReflection_MsgGuildUpdateResponse) IsValid() bool { return x != nil } @@ -15616,9 +14715,9 @@ func (x *fastReflection_MsgGuildMembershipJoinProxy) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_MsgGuildMembershipJoinProxy) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_MsgGuildUpdateResponse) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*MsgGuildMembershipJoinProxy) + x := input.Message.Interface().(*MsgGuildUpdateResponse) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -15630,26 +14729,6 @@ func (x *fastReflection_MsgGuildMembershipJoinProxy) ProtoMethods() *protoiface. var n int var l int _ = l - l = len(x.Creator) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } - l = len(x.Address) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } - l = len(x.SubstationId) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } - l = len(x.ProofPubKey) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } - l = len(x.ProofSignature) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } if x.unknownFields != nil { n += len(x.unknownFields) } @@ -15660,7 +14739,7 @@ func (x *fastReflection_MsgGuildMembershipJoinProxy) ProtoMethods() *protoiface. } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*MsgGuildMembershipJoinProxy) + x := input.Message.Interface().(*MsgGuildUpdateResponse) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -15679,41 +14758,6 @@ func (x *fastReflection_MsgGuildMembershipJoinProxy) ProtoMethods() *protoiface. i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if len(x.ProofSignature) > 0 { - i -= len(x.ProofSignature) - copy(dAtA[i:], x.ProofSignature) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.ProofSignature))) - i-- - dAtA[i] = 0x2a - } - if len(x.ProofPubKey) > 0 { - i -= len(x.ProofPubKey) - copy(dAtA[i:], x.ProofPubKey) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.ProofPubKey))) - i-- - dAtA[i] = 0x22 - } - if len(x.SubstationId) > 0 { - i -= len(x.SubstationId) - copy(dAtA[i:], x.SubstationId) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.SubstationId))) - i-- - dAtA[i] = 0x1a - } - if len(x.Address) > 0 { - i -= len(x.Address) - copy(dAtA[i:], x.Address) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Address))) - i-- - dAtA[i] = 0x12 - } - if len(x.Creator) > 0 { - i -= len(x.Creator) - copy(dAtA[i:], x.Creator) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Creator))) - i-- - dAtA[i] = 0xa - } if input.Buf != nil { input.Buf = append(input.Buf, dAtA...) } else { @@ -15725,7 +14769,7 @@ func (x *fastReflection_MsgGuildMembershipJoinProxy) ProtoMethods() *protoiface. }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*MsgGuildMembershipJoinProxy) + x := input.Message.Interface().(*MsgGuildUpdateResponse) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -15757,186 +14801,26 @@ func (x *fastReflection_MsgGuildMembershipJoinProxy) ProtoMethods() *protoiface. fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgGuildMembershipJoinProxy: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgGuildUpdateResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgGuildMembershipJoinProxy: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgGuildUpdateResponse: 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 Creator", 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.Creator = 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 Address", 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.Address = 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 SubstationId", 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 + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err } - postIndex := iNdEx + intStringLen - if postIndex < 0 { + if (skippy < 0) || (iNdEx+skippy) < 0 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength } - if postIndex > l { + if (iNdEx + skippy) > l { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - x.SubstationId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ProofPubKey", 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.ProofPubKey = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 5: - if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ProofSignature", 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.ProofSignature = 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]...) + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) } iNdEx += skippy } @@ -15959,29 +14843,31 @@ func (x *fastReflection_MsgGuildMembershipJoinProxy) ProtoMethods() *protoiface. } var ( - md_MsgGuildMembershipKick protoreflect.MessageDescriptor - fd_MsgGuildMembershipKick_creator protoreflect.FieldDescriptor - fd_MsgGuildMembershipKick_guildId protoreflect.FieldDescriptor - fd_MsgGuildMembershipKick_playerId protoreflect.FieldDescriptor + md_MsgGuildMembershipInvite protoreflect.MessageDescriptor + fd_MsgGuildMembershipInvite_creator protoreflect.FieldDescriptor + fd_MsgGuildMembershipInvite_guildId protoreflect.FieldDescriptor + fd_MsgGuildMembershipInvite_playerId protoreflect.FieldDescriptor + fd_MsgGuildMembershipInvite_substationId protoreflect.FieldDescriptor ) func init() { file_structs_structs_tx_proto_init() - md_MsgGuildMembershipKick = File_structs_structs_tx_proto.Messages().ByName("MsgGuildMembershipKick") - fd_MsgGuildMembershipKick_creator = md_MsgGuildMembershipKick.Fields().ByName("creator") - fd_MsgGuildMembershipKick_guildId = md_MsgGuildMembershipKick.Fields().ByName("guildId") - fd_MsgGuildMembershipKick_playerId = md_MsgGuildMembershipKick.Fields().ByName("playerId") + md_MsgGuildMembershipInvite = File_structs_structs_tx_proto.Messages().ByName("MsgGuildMembershipInvite") + fd_MsgGuildMembershipInvite_creator = md_MsgGuildMembershipInvite.Fields().ByName("creator") + fd_MsgGuildMembershipInvite_guildId = md_MsgGuildMembershipInvite.Fields().ByName("guildId") + fd_MsgGuildMembershipInvite_playerId = md_MsgGuildMembershipInvite.Fields().ByName("playerId") + fd_MsgGuildMembershipInvite_substationId = md_MsgGuildMembershipInvite.Fields().ByName("substationId") } -var _ protoreflect.Message = (*fastReflection_MsgGuildMembershipKick)(nil) +var _ protoreflect.Message = (*fastReflection_MsgGuildMembershipInvite)(nil) -type fastReflection_MsgGuildMembershipKick MsgGuildMembershipKick +type fastReflection_MsgGuildMembershipInvite MsgGuildMembershipInvite -func (x *MsgGuildMembershipKick) ProtoReflect() protoreflect.Message { - return (*fastReflection_MsgGuildMembershipKick)(x) +func (x *MsgGuildMembershipInvite) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgGuildMembershipInvite)(x) } -func (x *MsgGuildMembershipKick) slowProtoReflect() protoreflect.Message { +func (x *MsgGuildMembershipInvite) slowProtoReflect() protoreflect.Message { mi := &file_structs_structs_tx_proto_msgTypes[31] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -15993,43 +14879,43 @@ func (x *MsgGuildMembershipKick) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_MsgGuildMembershipKick_messageType fastReflection_MsgGuildMembershipKick_messageType -var _ protoreflect.MessageType = fastReflection_MsgGuildMembershipKick_messageType{} +var _fastReflection_MsgGuildMembershipInvite_messageType fastReflection_MsgGuildMembershipInvite_messageType +var _ protoreflect.MessageType = fastReflection_MsgGuildMembershipInvite_messageType{} -type fastReflection_MsgGuildMembershipKick_messageType struct{} +type fastReflection_MsgGuildMembershipInvite_messageType struct{} -func (x fastReflection_MsgGuildMembershipKick_messageType) Zero() protoreflect.Message { - return (*fastReflection_MsgGuildMembershipKick)(nil) +func (x fastReflection_MsgGuildMembershipInvite_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgGuildMembershipInvite)(nil) } -func (x fastReflection_MsgGuildMembershipKick_messageType) New() protoreflect.Message { - return new(fastReflection_MsgGuildMembershipKick) +func (x fastReflection_MsgGuildMembershipInvite_messageType) New() protoreflect.Message { + return new(fastReflection_MsgGuildMembershipInvite) } -func (x fastReflection_MsgGuildMembershipKick_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_MsgGuildMembershipKick +func (x fastReflection_MsgGuildMembershipInvite_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgGuildMembershipInvite } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_MsgGuildMembershipKick) Descriptor() protoreflect.MessageDescriptor { - return md_MsgGuildMembershipKick +func (x *fastReflection_MsgGuildMembershipInvite) Descriptor() protoreflect.MessageDescriptor { + return md_MsgGuildMembershipInvite } // 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_MsgGuildMembershipKick) Type() protoreflect.MessageType { - return _fastReflection_MsgGuildMembershipKick_messageType +func (x *fastReflection_MsgGuildMembershipInvite) Type() protoreflect.MessageType { + return _fastReflection_MsgGuildMembershipInvite_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_MsgGuildMembershipKick) New() protoreflect.Message { - return new(fastReflection_MsgGuildMembershipKick) +func (x *fastReflection_MsgGuildMembershipInvite) New() protoreflect.Message { + return new(fastReflection_MsgGuildMembershipInvite) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_MsgGuildMembershipKick) Interface() protoreflect.ProtoMessage { - return (*MsgGuildMembershipKick)(x) +func (x *fastReflection_MsgGuildMembershipInvite) Interface() protoreflect.ProtoMessage { + return (*MsgGuildMembershipInvite)(x) } // Range iterates over every populated field in an undefined order, @@ -16037,22 +14923,28 @@ func (x *fastReflection_MsgGuildMembershipKick) Interface() protoreflect.ProtoMe // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_MsgGuildMembershipKick) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +func (x *fastReflection_MsgGuildMembershipInvite) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { if x.Creator != "" { value := protoreflect.ValueOfString(x.Creator) - if !f(fd_MsgGuildMembershipKick_creator, value) { + if !f(fd_MsgGuildMembershipInvite_creator, value) { return } } if x.GuildId != "" { value := protoreflect.ValueOfString(x.GuildId) - if !f(fd_MsgGuildMembershipKick_guildId, value) { + if !f(fd_MsgGuildMembershipInvite_guildId, value) { return } } if x.PlayerId != "" { value := protoreflect.ValueOfString(x.PlayerId) - if !f(fd_MsgGuildMembershipKick_playerId, value) { + if !f(fd_MsgGuildMembershipInvite_playerId, value) { + return + } + } + if x.SubstationId != "" { + value := protoreflect.ValueOfString(x.SubstationId) + if !f(fd_MsgGuildMembershipInvite_substationId, value) { return } } @@ -16069,19 +14961,21 @@ func (x *fastReflection_MsgGuildMembershipKick) Range(f func(protoreflect.FieldD // 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_MsgGuildMembershipKick) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_MsgGuildMembershipInvite) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.MsgGuildMembershipKick.creator": + case "structs.structs.MsgGuildMembershipInvite.creator": return x.Creator != "" - case "structs.structs.MsgGuildMembershipKick.guildId": + case "structs.structs.MsgGuildMembershipInvite.guildId": return x.GuildId != "" - case "structs.structs.MsgGuildMembershipKick.playerId": + case "structs.structs.MsgGuildMembershipInvite.playerId": return x.PlayerId != "" + case "structs.structs.MsgGuildMembershipInvite.substationId": + return x.SubstationId != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipKick")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipInvite")) } - panic(fmt.Errorf("message structs.structs.MsgGuildMembershipKick does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildMembershipInvite does not contain field %s", fd.FullName())) } } @@ -16091,19 +14985,21 @@ func (x *fastReflection_MsgGuildMembershipKick) Has(fd protoreflect.FieldDescrip // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgGuildMembershipKick) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_MsgGuildMembershipInvite) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.MsgGuildMembershipKick.creator": + case "structs.structs.MsgGuildMembershipInvite.creator": x.Creator = "" - case "structs.structs.MsgGuildMembershipKick.guildId": + case "structs.structs.MsgGuildMembershipInvite.guildId": x.GuildId = "" - case "structs.structs.MsgGuildMembershipKick.playerId": + case "structs.structs.MsgGuildMembershipInvite.playerId": x.PlayerId = "" + case "structs.structs.MsgGuildMembershipInvite.substationId": + x.SubstationId = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipKick")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipInvite")) } - panic(fmt.Errorf("message structs.structs.MsgGuildMembershipKick does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildMembershipInvite does not contain field %s", fd.FullName())) } } @@ -16113,22 +15009,25 @@ func (x *fastReflection_MsgGuildMembershipKick) Clear(fd protoreflect.FieldDescr // 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_MsgGuildMembershipKick) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgGuildMembershipInvite) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.MsgGuildMembershipKick.creator": + case "structs.structs.MsgGuildMembershipInvite.creator": value := x.Creator return protoreflect.ValueOfString(value) - case "structs.structs.MsgGuildMembershipKick.guildId": + case "structs.structs.MsgGuildMembershipInvite.guildId": value := x.GuildId return protoreflect.ValueOfString(value) - case "structs.structs.MsgGuildMembershipKick.playerId": + case "structs.structs.MsgGuildMembershipInvite.playerId": value := x.PlayerId return protoreflect.ValueOfString(value) + case "structs.structs.MsgGuildMembershipInvite.substationId": + value := x.SubstationId + return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipKick")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipInvite")) } - panic(fmt.Errorf("message structs.structs.MsgGuildMembershipKick does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildMembershipInvite does not contain field %s", descriptor.FullName())) } } @@ -16142,19 +15041,21 @@ func (x *fastReflection_MsgGuildMembershipKick) Get(descriptor protoreflect.Fiel // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgGuildMembershipKick) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_MsgGuildMembershipInvite) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.MsgGuildMembershipKick.creator": + case "structs.structs.MsgGuildMembershipInvite.creator": x.Creator = value.Interface().(string) - case "structs.structs.MsgGuildMembershipKick.guildId": + case "structs.structs.MsgGuildMembershipInvite.guildId": x.GuildId = value.Interface().(string) - case "structs.structs.MsgGuildMembershipKick.playerId": + case "structs.structs.MsgGuildMembershipInvite.playerId": x.PlayerId = value.Interface().(string) + case "structs.structs.MsgGuildMembershipInvite.substationId": + x.SubstationId = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipKick")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipInvite")) } - panic(fmt.Errorf("message structs.structs.MsgGuildMembershipKick does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildMembershipInvite does not contain field %s", fd.FullName())) } } @@ -16168,48 +15069,52 @@ func (x *fastReflection_MsgGuildMembershipKick) Set(fd protoreflect.FieldDescrip // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgGuildMembershipKick) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgGuildMembershipInvite) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.MsgGuildMembershipKick.creator": - panic(fmt.Errorf("field creator of message structs.structs.MsgGuildMembershipKick is not mutable")) - case "structs.structs.MsgGuildMembershipKick.guildId": - panic(fmt.Errorf("field guildId of message structs.structs.MsgGuildMembershipKick is not mutable")) - case "structs.structs.MsgGuildMembershipKick.playerId": - panic(fmt.Errorf("field playerId of message structs.structs.MsgGuildMembershipKick is not mutable")) + case "structs.structs.MsgGuildMembershipInvite.creator": + panic(fmt.Errorf("field creator of message structs.structs.MsgGuildMembershipInvite is not mutable")) + case "structs.structs.MsgGuildMembershipInvite.guildId": + panic(fmt.Errorf("field guildId of message structs.structs.MsgGuildMembershipInvite is not mutable")) + case "structs.structs.MsgGuildMembershipInvite.playerId": + panic(fmt.Errorf("field playerId of message structs.structs.MsgGuildMembershipInvite is not mutable")) + case "structs.structs.MsgGuildMembershipInvite.substationId": + panic(fmt.Errorf("field substationId of message structs.structs.MsgGuildMembershipInvite is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipKick")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipInvite")) } - panic(fmt.Errorf("message structs.structs.MsgGuildMembershipKick does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildMembershipInvite 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_MsgGuildMembershipKick) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgGuildMembershipInvite) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.MsgGuildMembershipKick.creator": + case "structs.structs.MsgGuildMembershipInvite.creator": return protoreflect.ValueOfString("") - case "structs.structs.MsgGuildMembershipKick.guildId": + case "structs.structs.MsgGuildMembershipInvite.guildId": return protoreflect.ValueOfString("") - case "structs.structs.MsgGuildMembershipKick.playerId": + case "structs.structs.MsgGuildMembershipInvite.playerId": + return protoreflect.ValueOfString("") + case "structs.structs.MsgGuildMembershipInvite.substationId": return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipKick")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipInvite")) } - panic(fmt.Errorf("message structs.structs.MsgGuildMembershipKick does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildMembershipInvite 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_MsgGuildMembershipKick) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_MsgGuildMembershipInvite) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgGuildMembershipKick", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgGuildMembershipInvite", d.FullName())) } panic("unreachable") } @@ -16217,7 +15122,7 @@ func (x *fastReflection_MsgGuildMembershipKick) WhichOneof(d protoreflect.OneofD // 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_MsgGuildMembershipKick) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_MsgGuildMembershipInvite) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -16228,7 +15133,7 @@ func (x *fastReflection_MsgGuildMembershipKick) GetUnknown() protoreflect.RawFie // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgGuildMembershipKick) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_MsgGuildMembershipInvite) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -16240,7 +15145,7 @@ func (x *fastReflection_MsgGuildMembershipKick) SetUnknown(fields protoreflect.R // 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_MsgGuildMembershipKick) IsValid() bool { +func (x *fastReflection_MsgGuildMembershipInvite) IsValid() bool { return x != nil } @@ -16250,9 +15155,9 @@ func (x *fastReflection_MsgGuildMembershipKick) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_MsgGuildMembershipKick) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_MsgGuildMembershipInvite) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*MsgGuildMembershipKick) + x := input.Message.Interface().(*MsgGuildMembershipInvite) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -16276,6 +15181,10 @@ func (x *fastReflection_MsgGuildMembershipKick) ProtoMethods() *protoiface.Metho if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } + l = len(x.SubstationId) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } if x.unknownFields != nil { n += len(x.unknownFields) } @@ -16286,7 +15195,7 @@ func (x *fastReflection_MsgGuildMembershipKick) ProtoMethods() *protoiface.Metho } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*MsgGuildMembershipKick) + x := input.Message.Interface().(*MsgGuildMembershipInvite) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -16305,6 +15214,13 @@ func (x *fastReflection_MsgGuildMembershipKick) ProtoMethods() *protoiface.Metho i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } + if len(x.SubstationId) > 0 { + i -= len(x.SubstationId) + copy(dAtA[i:], x.SubstationId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.SubstationId))) + i-- + dAtA[i] = 0x22 + } if len(x.PlayerId) > 0 { i -= len(x.PlayerId) copy(dAtA[i:], x.PlayerId) @@ -16337,7 +15253,7 @@ func (x *fastReflection_MsgGuildMembershipKick) ProtoMethods() *protoiface.Metho }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*MsgGuildMembershipKick) + x := input.Message.Interface().(*MsgGuildMembershipInvite) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -16369,10 +15285,10 @@ func (x *fastReflection_MsgGuildMembershipKick) ProtoMethods() *protoiface.Metho fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgGuildMembershipKick: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgGuildMembershipInvite: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgGuildMembershipKick: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgGuildMembershipInvite: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -16471,6 +15387,38 @@ func (x *fastReflection_MsgGuildMembershipKick) ProtoMethods() *protoiface.Metho } x.PlayerId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex + case 4: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field SubstationId", 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.SubstationId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := runtime.Skip(dAtA[iNdEx:]) @@ -16507,31 +15455,31 @@ func (x *fastReflection_MsgGuildMembershipKick) ProtoMethods() *protoiface.Metho } var ( - md_MsgGuildMembershipRequest protoreflect.MessageDescriptor - fd_MsgGuildMembershipRequest_creator protoreflect.FieldDescriptor - fd_MsgGuildMembershipRequest_guildId protoreflect.FieldDescriptor - fd_MsgGuildMembershipRequest_playerId protoreflect.FieldDescriptor - fd_MsgGuildMembershipRequest_substationId protoreflect.FieldDescriptor + md_MsgGuildMembershipInviteApprove protoreflect.MessageDescriptor + fd_MsgGuildMembershipInviteApprove_creator protoreflect.FieldDescriptor + fd_MsgGuildMembershipInviteApprove_guildId protoreflect.FieldDescriptor + fd_MsgGuildMembershipInviteApprove_playerId protoreflect.FieldDescriptor + fd_MsgGuildMembershipInviteApprove_substationId protoreflect.FieldDescriptor ) func init() { file_structs_structs_tx_proto_init() - md_MsgGuildMembershipRequest = File_structs_structs_tx_proto.Messages().ByName("MsgGuildMembershipRequest") - fd_MsgGuildMembershipRequest_creator = md_MsgGuildMembershipRequest.Fields().ByName("creator") - fd_MsgGuildMembershipRequest_guildId = md_MsgGuildMembershipRequest.Fields().ByName("guildId") - fd_MsgGuildMembershipRequest_playerId = md_MsgGuildMembershipRequest.Fields().ByName("playerId") - fd_MsgGuildMembershipRequest_substationId = md_MsgGuildMembershipRequest.Fields().ByName("substationId") + md_MsgGuildMembershipInviteApprove = File_structs_structs_tx_proto.Messages().ByName("MsgGuildMembershipInviteApprove") + fd_MsgGuildMembershipInviteApprove_creator = md_MsgGuildMembershipInviteApprove.Fields().ByName("creator") + fd_MsgGuildMembershipInviteApprove_guildId = md_MsgGuildMembershipInviteApprove.Fields().ByName("guildId") + fd_MsgGuildMembershipInviteApprove_playerId = md_MsgGuildMembershipInviteApprove.Fields().ByName("playerId") + fd_MsgGuildMembershipInviteApprove_substationId = md_MsgGuildMembershipInviteApprove.Fields().ByName("substationId") } -var _ protoreflect.Message = (*fastReflection_MsgGuildMembershipRequest)(nil) +var _ protoreflect.Message = (*fastReflection_MsgGuildMembershipInviteApprove)(nil) -type fastReflection_MsgGuildMembershipRequest MsgGuildMembershipRequest +type fastReflection_MsgGuildMembershipInviteApprove MsgGuildMembershipInviteApprove -func (x *MsgGuildMembershipRequest) ProtoReflect() protoreflect.Message { - return (*fastReflection_MsgGuildMembershipRequest)(x) +func (x *MsgGuildMembershipInviteApprove) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgGuildMembershipInviteApprove)(x) } -func (x *MsgGuildMembershipRequest) slowProtoReflect() protoreflect.Message { +func (x *MsgGuildMembershipInviteApprove) slowProtoReflect() protoreflect.Message { mi := &file_structs_structs_tx_proto_msgTypes[32] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -16543,43 +15491,43 @@ func (x *MsgGuildMembershipRequest) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_MsgGuildMembershipRequest_messageType fastReflection_MsgGuildMembershipRequest_messageType -var _ protoreflect.MessageType = fastReflection_MsgGuildMembershipRequest_messageType{} +var _fastReflection_MsgGuildMembershipInviteApprove_messageType fastReflection_MsgGuildMembershipInviteApprove_messageType +var _ protoreflect.MessageType = fastReflection_MsgGuildMembershipInviteApprove_messageType{} -type fastReflection_MsgGuildMembershipRequest_messageType struct{} +type fastReflection_MsgGuildMembershipInviteApprove_messageType struct{} -func (x fastReflection_MsgGuildMembershipRequest_messageType) Zero() protoreflect.Message { - return (*fastReflection_MsgGuildMembershipRequest)(nil) +func (x fastReflection_MsgGuildMembershipInviteApprove_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgGuildMembershipInviteApprove)(nil) } -func (x fastReflection_MsgGuildMembershipRequest_messageType) New() protoreflect.Message { - return new(fastReflection_MsgGuildMembershipRequest) +func (x fastReflection_MsgGuildMembershipInviteApprove_messageType) New() protoreflect.Message { + return new(fastReflection_MsgGuildMembershipInviteApprove) } -func (x fastReflection_MsgGuildMembershipRequest_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_MsgGuildMembershipRequest +func (x fastReflection_MsgGuildMembershipInviteApprove_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgGuildMembershipInviteApprove } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_MsgGuildMembershipRequest) Descriptor() protoreflect.MessageDescriptor { - return md_MsgGuildMembershipRequest +func (x *fastReflection_MsgGuildMembershipInviteApprove) Descriptor() protoreflect.MessageDescriptor { + return md_MsgGuildMembershipInviteApprove } // 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_MsgGuildMembershipRequest) Type() protoreflect.MessageType { - return _fastReflection_MsgGuildMembershipRequest_messageType +func (x *fastReflection_MsgGuildMembershipInviteApprove) Type() protoreflect.MessageType { + return _fastReflection_MsgGuildMembershipInviteApprove_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_MsgGuildMembershipRequest) New() protoreflect.Message { - return new(fastReflection_MsgGuildMembershipRequest) +func (x *fastReflection_MsgGuildMembershipInviteApprove) New() protoreflect.Message { + return new(fastReflection_MsgGuildMembershipInviteApprove) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_MsgGuildMembershipRequest) Interface() protoreflect.ProtoMessage { - return (*MsgGuildMembershipRequest)(x) +func (x *fastReflection_MsgGuildMembershipInviteApprove) Interface() protoreflect.ProtoMessage { + return (*MsgGuildMembershipInviteApprove)(x) } // Range iterates over every populated field in an undefined order, @@ -16587,28 +15535,28 @@ func (x *fastReflection_MsgGuildMembershipRequest) Interface() protoreflect.Prot // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_MsgGuildMembershipRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +func (x *fastReflection_MsgGuildMembershipInviteApprove) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { if x.Creator != "" { value := protoreflect.ValueOfString(x.Creator) - if !f(fd_MsgGuildMembershipRequest_creator, value) { + if !f(fd_MsgGuildMembershipInviteApprove_creator, value) { return } } if x.GuildId != "" { value := protoreflect.ValueOfString(x.GuildId) - if !f(fd_MsgGuildMembershipRequest_guildId, value) { + if !f(fd_MsgGuildMembershipInviteApprove_guildId, value) { return } } if x.PlayerId != "" { value := protoreflect.ValueOfString(x.PlayerId) - if !f(fd_MsgGuildMembershipRequest_playerId, value) { + if !f(fd_MsgGuildMembershipInviteApprove_playerId, value) { return } } if x.SubstationId != "" { value := protoreflect.ValueOfString(x.SubstationId) - if !f(fd_MsgGuildMembershipRequest_substationId, value) { + if !f(fd_MsgGuildMembershipInviteApprove_substationId, value) { return } } @@ -16625,21 +15573,21 @@ func (x *fastReflection_MsgGuildMembershipRequest) Range(f func(protoreflect.Fie // 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_MsgGuildMembershipRequest) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_MsgGuildMembershipInviteApprove) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.MsgGuildMembershipRequest.creator": + case "structs.structs.MsgGuildMembershipInviteApprove.creator": return x.Creator != "" - case "structs.structs.MsgGuildMembershipRequest.guildId": + case "structs.structs.MsgGuildMembershipInviteApprove.guildId": return x.GuildId != "" - case "structs.structs.MsgGuildMembershipRequest.playerId": + case "structs.structs.MsgGuildMembershipInviteApprove.playerId": return x.PlayerId != "" - case "structs.structs.MsgGuildMembershipRequest.substationId": + case "structs.structs.MsgGuildMembershipInviteApprove.substationId": return x.SubstationId != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipInviteApprove")) } - panic(fmt.Errorf("message structs.structs.MsgGuildMembershipRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildMembershipInviteApprove does not contain field %s", fd.FullName())) } } @@ -16649,21 +15597,21 @@ func (x *fastReflection_MsgGuildMembershipRequest) Has(fd protoreflect.FieldDesc // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgGuildMembershipRequest) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_MsgGuildMembershipInviteApprove) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.MsgGuildMembershipRequest.creator": + case "structs.structs.MsgGuildMembershipInviteApprove.creator": x.Creator = "" - case "structs.structs.MsgGuildMembershipRequest.guildId": + case "structs.structs.MsgGuildMembershipInviteApprove.guildId": x.GuildId = "" - case "structs.structs.MsgGuildMembershipRequest.playerId": + case "structs.structs.MsgGuildMembershipInviteApprove.playerId": x.PlayerId = "" - case "structs.structs.MsgGuildMembershipRequest.substationId": + case "structs.structs.MsgGuildMembershipInviteApprove.substationId": x.SubstationId = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipInviteApprove")) } - panic(fmt.Errorf("message structs.structs.MsgGuildMembershipRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildMembershipInviteApprove does not contain field %s", fd.FullName())) } } @@ -16673,25 +15621,25 @@ func (x *fastReflection_MsgGuildMembershipRequest) Clear(fd protoreflect.FieldDe // 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_MsgGuildMembershipRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgGuildMembershipInviteApprove) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.MsgGuildMembershipRequest.creator": + case "structs.structs.MsgGuildMembershipInviteApprove.creator": value := x.Creator return protoreflect.ValueOfString(value) - case "structs.structs.MsgGuildMembershipRequest.guildId": + case "structs.structs.MsgGuildMembershipInviteApprove.guildId": value := x.GuildId return protoreflect.ValueOfString(value) - case "structs.structs.MsgGuildMembershipRequest.playerId": + case "structs.structs.MsgGuildMembershipInviteApprove.playerId": value := x.PlayerId return protoreflect.ValueOfString(value) - case "structs.structs.MsgGuildMembershipRequest.substationId": + case "structs.structs.MsgGuildMembershipInviteApprove.substationId": value := x.SubstationId return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipInviteApprove")) } - panic(fmt.Errorf("message structs.structs.MsgGuildMembershipRequest does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildMembershipInviteApprove does not contain field %s", descriptor.FullName())) } } @@ -16705,21 +15653,21 @@ func (x *fastReflection_MsgGuildMembershipRequest) Get(descriptor protoreflect.F // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgGuildMembershipRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_MsgGuildMembershipInviteApprove) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.MsgGuildMembershipRequest.creator": + case "structs.structs.MsgGuildMembershipInviteApprove.creator": x.Creator = value.Interface().(string) - case "structs.structs.MsgGuildMembershipRequest.guildId": + case "structs.structs.MsgGuildMembershipInviteApprove.guildId": x.GuildId = value.Interface().(string) - case "structs.structs.MsgGuildMembershipRequest.playerId": + case "structs.structs.MsgGuildMembershipInviteApprove.playerId": x.PlayerId = value.Interface().(string) - case "structs.structs.MsgGuildMembershipRequest.substationId": + case "structs.structs.MsgGuildMembershipInviteApprove.substationId": x.SubstationId = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipInviteApprove")) } - panic(fmt.Errorf("message structs.structs.MsgGuildMembershipRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildMembershipInviteApprove does not contain field %s", fd.FullName())) } } @@ -16733,52 +15681,52 @@ func (x *fastReflection_MsgGuildMembershipRequest) Set(fd protoreflect.FieldDesc // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgGuildMembershipRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgGuildMembershipInviteApprove) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.MsgGuildMembershipRequest.creator": - panic(fmt.Errorf("field creator of message structs.structs.MsgGuildMembershipRequest is not mutable")) - case "structs.structs.MsgGuildMembershipRequest.guildId": - panic(fmt.Errorf("field guildId of message structs.structs.MsgGuildMembershipRequest is not mutable")) - case "structs.structs.MsgGuildMembershipRequest.playerId": - panic(fmt.Errorf("field playerId of message structs.structs.MsgGuildMembershipRequest is not mutable")) - case "structs.structs.MsgGuildMembershipRequest.substationId": - panic(fmt.Errorf("field substationId of message structs.structs.MsgGuildMembershipRequest is not mutable")) + case "structs.structs.MsgGuildMembershipInviteApprove.creator": + panic(fmt.Errorf("field creator of message structs.structs.MsgGuildMembershipInviteApprove is not mutable")) + case "structs.structs.MsgGuildMembershipInviteApprove.guildId": + panic(fmt.Errorf("field guildId of message structs.structs.MsgGuildMembershipInviteApprove is not mutable")) + case "structs.structs.MsgGuildMembershipInviteApprove.playerId": + panic(fmt.Errorf("field playerId of message structs.structs.MsgGuildMembershipInviteApprove is not mutable")) + case "structs.structs.MsgGuildMembershipInviteApprove.substationId": + panic(fmt.Errorf("field substationId of message structs.structs.MsgGuildMembershipInviteApprove is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipInviteApprove")) } - panic(fmt.Errorf("message structs.structs.MsgGuildMembershipRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildMembershipInviteApprove 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_MsgGuildMembershipRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgGuildMembershipInviteApprove) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.MsgGuildMembershipRequest.creator": + case "structs.structs.MsgGuildMembershipInviteApprove.creator": return protoreflect.ValueOfString("") - case "structs.structs.MsgGuildMembershipRequest.guildId": + case "structs.structs.MsgGuildMembershipInviteApprove.guildId": return protoreflect.ValueOfString("") - case "structs.structs.MsgGuildMembershipRequest.playerId": + case "structs.structs.MsgGuildMembershipInviteApprove.playerId": return protoreflect.ValueOfString("") - case "structs.structs.MsgGuildMembershipRequest.substationId": + case "structs.structs.MsgGuildMembershipInviteApprove.substationId": return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipInviteApprove")) } - panic(fmt.Errorf("message structs.structs.MsgGuildMembershipRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildMembershipInviteApprove 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_MsgGuildMembershipRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_MsgGuildMembershipInviteApprove) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgGuildMembershipRequest", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgGuildMembershipInviteApprove", d.FullName())) } panic("unreachable") } @@ -16786,7 +15734,7 @@ func (x *fastReflection_MsgGuildMembershipRequest) WhichOneof(d protoreflect.One // 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_MsgGuildMembershipRequest) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_MsgGuildMembershipInviteApprove) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -16797,7 +15745,7 @@ func (x *fastReflection_MsgGuildMembershipRequest) GetUnknown() protoreflect.Raw // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgGuildMembershipRequest) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_MsgGuildMembershipInviteApprove) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -16809,7 +15757,7 @@ func (x *fastReflection_MsgGuildMembershipRequest) SetUnknown(fields protoreflec // 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_MsgGuildMembershipRequest) IsValid() bool { +func (x *fastReflection_MsgGuildMembershipInviteApprove) IsValid() bool { return x != nil } @@ -16819,9 +15767,9 @@ func (x *fastReflection_MsgGuildMembershipRequest) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_MsgGuildMembershipRequest) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_MsgGuildMembershipInviteApprove) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*MsgGuildMembershipRequest) + x := input.Message.Interface().(*MsgGuildMembershipInviteApprove) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -16859,7 +15807,7 @@ func (x *fastReflection_MsgGuildMembershipRequest) ProtoMethods() *protoiface.Me } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*MsgGuildMembershipRequest) + x := input.Message.Interface().(*MsgGuildMembershipInviteApprove) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -16917,7 +15865,7 @@ func (x *fastReflection_MsgGuildMembershipRequest) ProtoMethods() *protoiface.Me }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*MsgGuildMembershipRequest) + x := input.Message.Interface().(*MsgGuildMembershipInviteApprove) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -16949,10 +15897,10 @@ func (x *fastReflection_MsgGuildMembershipRequest) ProtoMethods() *protoiface.Me fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgGuildMembershipRequest: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgGuildMembershipInviteApprove: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgGuildMembershipRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgGuildMembershipInviteApprove: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -17119,31 +16067,29 @@ func (x *fastReflection_MsgGuildMembershipRequest) ProtoMethods() *protoiface.Me } var ( - md_MsgGuildMembershipRequestApprove protoreflect.MessageDescriptor - fd_MsgGuildMembershipRequestApprove_creator protoreflect.FieldDescriptor - fd_MsgGuildMembershipRequestApprove_guildId protoreflect.FieldDescriptor - fd_MsgGuildMembershipRequestApprove_playerId protoreflect.FieldDescriptor - fd_MsgGuildMembershipRequestApprove_substationId protoreflect.FieldDescriptor + md_MsgGuildMembershipInviteDeny protoreflect.MessageDescriptor + fd_MsgGuildMembershipInviteDeny_creator protoreflect.FieldDescriptor + fd_MsgGuildMembershipInviteDeny_guildId protoreflect.FieldDescriptor + fd_MsgGuildMembershipInviteDeny_playerId protoreflect.FieldDescriptor ) func init() { file_structs_structs_tx_proto_init() - md_MsgGuildMembershipRequestApprove = File_structs_structs_tx_proto.Messages().ByName("MsgGuildMembershipRequestApprove") - fd_MsgGuildMembershipRequestApprove_creator = md_MsgGuildMembershipRequestApprove.Fields().ByName("creator") - fd_MsgGuildMembershipRequestApprove_guildId = md_MsgGuildMembershipRequestApprove.Fields().ByName("guildId") - fd_MsgGuildMembershipRequestApprove_playerId = md_MsgGuildMembershipRequestApprove.Fields().ByName("playerId") - fd_MsgGuildMembershipRequestApprove_substationId = md_MsgGuildMembershipRequestApprove.Fields().ByName("substationId") + md_MsgGuildMembershipInviteDeny = File_structs_structs_tx_proto.Messages().ByName("MsgGuildMembershipInviteDeny") + fd_MsgGuildMembershipInviteDeny_creator = md_MsgGuildMembershipInviteDeny.Fields().ByName("creator") + fd_MsgGuildMembershipInviteDeny_guildId = md_MsgGuildMembershipInviteDeny.Fields().ByName("guildId") + fd_MsgGuildMembershipInviteDeny_playerId = md_MsgGuildMembershipInviteDeny.Fields().ByName("playerId") } -var _ protoreflect.Message = (*fastReflection_MsgGuildMembershipRequestApprove)(nil) +var _ protoreflect.Message = (*fastReflection_MsgGuildMembershipInviteDeny)(nil) -type fastReflection_MsgGuildMembershipRequestApprove MsgGuildMembershipRequestApprove +type fastReflection_MsgGuildMembershipInviteDeny MsgGuildMembershipInviteDeny -func (x *MsgGuildMembershipRequestApprove) ProtoReflect() protoreflect.Message { - return (*fastReflection_MsgGuildMembershipRequestApprove)(x) +func (x *MsgGuildMembershipInviteDeny) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgGuildMembershipInviteDeny)(x) } -func (x *MsgGuildMembershipRequestApprove) slowProtoReflect() protoreflect.Message { +func (x *MsgGuildMembershipInviteDeny) slowProtoReflect() protoreflect.Message { mi := &file_structs_structs_tx_proto_msgTypes[33] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -17155,43 +16101,43 @@ func (x *MsgGuildMembershipRequestApprove) slowProtoReflect() protoreflect.Messa return mi.MessageOf(x) } -var _fastReflection_MsgGuildMembershipRequestApprove_messageType fastReflection_MsgGuildMembershipRequestApprove_messageType -var _ protoreflect.MessageType = fastReflection_MsgGuildMembershipRequestApprove_messageType{} +var _fastReflection_MsgGuildMembershipInviteDeny_messageType fastReflection_MsgGuildMembershipInviteDeny_messageType +var _ protoreflect.MessageType = fastReflection_MsgGuildMembershipInviteDeny_messageType{} -type fastReflection_MsgGuildMembershipRequestApprove_messageType struct{} +type fastReflection_MsgGuildMembershipInviteDeny_messageType struct{} -func (x fastReflection_MsgGuildMembershipRequestApprove_messageType) Zero() protoreflect.Message { - return (*fastReflection_MsgGuildMembershipRequestApprove)(nil) +func (x fastReflection_MsgGuildMembershipInviteDeny_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgGuildMembershipInviteDeny)(nil) } -func (x fastReflection_MsgGuildMembershipRequestApprove_messageType) New() protoreflect.Message { - return new(fastReflection_MsgGuildMembershipRequestApprove) +func (x fastReflection_MsgGuildMembershipInviteDeny_messageType) New() protoreflect.Message { + return new(fastReflection_MsgGuildMembershipInviteDeny) } -func (x fastReflection_MsgGuildMembershipRequestApprove_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_MsgGuildMembershipRequestApprove +func (x fastReflection_MsgGuildMembershipInviteDeny_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgGuildMembershipInviteDeny } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_MsgGuildMembershipRequestApprove) Descriptor() protoreflect.MessageDescriptor { - return md_MsgGuildMembershipRequestApprove +func (x *fastReflection_MsgGuildMembershipInviteDeny) Descriptor() protoreflect.MessageDescriptor { + return md_MsgGuildMembershipInviteDeny } // 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_MsgGuildMembershipRequestApprove) Type() protoreflect.MessageType { - return _fastReflection_MsgGuildMembershipRequestApprove_messageType +func (x *fastReflection_MsgGuildMembershipInviteDeny) Type() protoreflect.MessageType { + return _fastReflection_MsgGuildMembershipInviteDeny_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_MsgGuildMembershipRequestApprove) New() protoreflect.Message { - return new(fastReflection_MsgGuildMembershipRequestApprove) +func (x *fastReflection_MsgGuildMembershipInviteDeny) New() protoreflect.Message { + return new(fastReflection_MsgGuildMembershipInviteDeny) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_MsgGuildMembershipRequestApprove) Interface() protoreflect.ProtoMessage { - return (*MsgGuildMembershipRequestApprove)(x) +func (x *fastReflection_MsgGuildMembershipInviteDeny) Interface() protoreflect.ProtoMessage { + return (*MsgGuildMembershipInviteDeny)(x) } // Range iterates over every populated field in an undefined order, @@ -17199,28 +16145,22 @@ func (x *fastReflection_MsgGuildMembershipRequestApprove) Interface() protorefle // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_MsgGuildMembershipRequestApprove) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +func (x *fastReflection_MsgGuildMembershipInviteDeny) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { if x.Creator != "" { value := protoreflect.ValueOfString(x.Creator) - if !f(fd_MsgGuildMembershipRequestApprove_creator, value) { + if !f(fd_MsgGuildMembershipInviteDeny_creator, value) { return } } if x.GuildId != "" { value := protoreflect.ValueOfString(x.GuildId) - if !f(fd_MsgGuildMembershipRequestApprove_guildId, value) { + if !f(fd_MsgGuildMembershipInviteDeny_guildId, value) { return } } if x.PlayerId != "" { value := protoreflect.ValueOfString(x.PlayerId) - if !f(fd_MsgGuildMembershipRequestApprove_playerId, value) { - return - } - } - if x.SubstationId != "" { - value := protoreflect.ValueOfString(x.SubstationId) - if !f(fd_MsgGuildMembershipRequestApprove_substationId, value) { + if !f(fd_MsgGuildMembershipInviteDeny_playerId, value) { return } } @@ -17237,21 +16177,19 @@ func (x *fastReflection_MsgGuildMembershipRequestApprove) Range(f func(protorefl // 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_MsgGuildMembershipRequestApprove) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_MsgGuildMembershipInviteDeny) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.MsgGuildMembershipRequestApprove.creator": + case "structs.structs.MsgGuildMembershipInviteDeny.creator": return x.Creator != "" - case "structs.structs.MsgGuildMembershipRequestApprove.guildId": + case "structs.structs.MsgGuildMembershipInviteDeny.guildId": return x.GuildId != "" - case "structs.structs.MsgGuildMembershipRequestApprove.playerId": + case "structs.structs.MsgGuildMembershipInviteDeny.playerId": return x.PlayerId != "" - case "structs.structs.MsgGuildMembershipRequestApprove.substationId": - return x.SubstationId != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipRequestApprove")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipInviteDeny")) } - panic(fmt.Errorf("message structs.structs.MsgGuildMembershipRequestApprove does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildMembershipInviteDeny does not contain field %s", fd.FullName())) } } @@ -17261,21 +16199,19 @@ func (x *fastReflection_MsgGuildMembershipRequestApprove) Has(fd protoreflect.Fi // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgGuildMembershipRequestApprove) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_MsgGuildMembershipInviteDeny) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.MsgGuildMembershipRequestApprove.creator": + case "structs.structs.MsgGuildMembershipInviteDeny.creator": x.Creator = "" - case "structs.structs.MsgGuildMembershipRequestApprove.guildId": + case "structs.structs.MsgGuildMembershipInviteDeny.guildId": x.GuildId = "" - case "structs.structs.MsgGuildMembershipRequestApprove.playerId": + case "structs.structs.MsgGuildMembershipInviteDeny.playerId": x.PlayerId = "" - case "structs.structs.MsgGuildMembershipRequestApprove.substationId": - x.SubstationId = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipRequestApprove")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipInviteDeny")) } - panic(fmt.Errorf("message structs.structs.MsgGuildMembershipRequestApprove does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildMembershipInviteDeny does not contain field %s", fd.FullName())) } } @@ -17285,25 +16221,22 @@ func (x *fastReflection_MsgGuildMembershipRequestApprove) Clear(fd protoreflect. // 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_MsgGuildMembershipRequestApprove) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgGuildMembershipInviteDeny) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.MsgGuildMembershipRequestApprove.creator": + case "structs.structs.MsgGuildMembershipInviteDeny.creator": value := x.Creator return protoreflect.ValueOfString(value) - case "structs.structs.MsgGuildMembershipRequestApprove.guildId": + case "structs.structs.MsgGuildMembershipInviteDeny.guildId": value := x.GuildId return protoreflect.ValueOfString(value) - case "structs.structs.MsgGuildMembershipRequestApprove.playerId": + case "structs.structs.MsgGuildMembershipInviteDeny.playerId": value := x.PlayerId return protoreflect.ValueOfString(value) - case "structs.structs.MsgGuildMembershipRequestApprove.substationId": - value := x.SubstationId - return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipRequestApprove")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipInviteDeny")) } - panic(fmt.Errorf("message structs.structs.MsgGuildMembershipRequestApprove does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildMembershipInviteDeny does not contain field %s", descriptor.FullName())) } } @@ -17317,21 +16250,19 @@ func (x *fastReflection_MsgGuildMembershipRequestApprove) Get(descriptor protore // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgGuildMembershipRequestApprove) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_MsgGuildMembershipInviteDeny) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.MsgGuildMembershipRequestApprove.creator": + case "structs.structs.MsgGuildMembershipInviteDeny.creator": x.Creator = value.Interface().(string) - case "structs.structs.MsgGuildMembershipRequestApprove.guildId": + case "structs.structs.MsgGuildMembershipInviteDeny.guildId": x.GuildId = value.Interface().(string) - case "structs.structs.MsgGuildMembershipRequestApprove.playerId": + case "structs.structs.MsgGuildMembershipInviteDeny.playerId": x.PlayerId = value.Interface().(string) - case "structs.structs.MsgGuildMembershipRequestApprove.substationId": - x.SubstationId = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipRequestApprove")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipInviteDeny")) } - panic(fmt.Errorf("message structs.structs.MsgGuildMembershipRequestApprove does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildMembershipInviteDeny does not contain field %s", fd.FullName())) } } @@ -17345,52 +16276,48 @@ func (x *fastReflection_MsgGuildMembershipRequestApprove) Set(fd protoreflect.Fi // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgGuildMembershipRequestApprove) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgGuildMembershipInviteDeny) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.MsgGuildMembershipRequestApprove.creator": - panic(fmt.Errorf("field creator of message structs.structs.MsgGuildMembershipRequestApprove is not mutable")) - case "structs.structs.MsgGuildMembershipRequestApprove.guildId": - panic(fmt.Errorf("field guildId of message structs.structs.MsgGuildMembershipRequestApprove is not mutable")) - case "structs.structs.MsgGuildMembershipRequestApprove.playerId": - panic(fmt.Errorf("field playerId of message structs.structs.MsgGuildMembershipRequestApprove is not mutable")) - case "structs.structs.MsgGuildMembershipRequestApprove.substationId": - panic(fmt.Errorf("field substationId of message structs.structs.MsgGuildMembershipRequestApprove is not mutable")) + case "structs.structs.MsgGuildMembershipInviteDeny.creator": + panic(fmt.Errorf("field creator of message structs.structs.MsgGuildMembershipInviteDeny is not mutable")) + case "structs.structs.MsgGuildMembershipInviteDeny.guildId": + panic(fmt.Errorf("field guildId of message structs.structs.MsgGuildMembershipInviteDeny is not mutable")) + case "structs.structs.MsgGuildMembershipInviteDeny.playerId": + panic(fmt.Errorf("field playerId of message structs.structs.MsgGuildMembershipInviteDeny is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipRequestApprove")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipInviteDeny")) } - panic(fmt.Errorf("message structs.structs.MsgGuildMembershipRequestApprove does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildMembershipInviteDeny 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_MsgGuildMembershipRequestApprove) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgGuildMembershipInviteDeny) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.MsgGuildMembershipRequestApprove.creator": - return protoreflect.ValueOfString("") - case "structs.structs.MsgGuildMembershipRequestApprove.guildId": + case "structs.structs.MsgGuildMembershipInviteDeny.creator": return protoreflect.ValueOfString("") - case "structs.structs.MsgGuildMembershipRequestApprove.playerId": + case "structs.structs.MsgGuildMembershipInviteDeny.guildId": return protoreflect.ValueOfString("") - case "structs.structs.MsgGuildMembershipRequestApprove.substationId": + case "structs.structs.MsgGuildMembershipInviteDeny.playerId": return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipRequestApprove")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipInviteDeny")) } - panic(fmt.Errorf("message structs.structs.MsgGuildMembershipRequestApprove does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildMembershipInviteDeny 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_MsgGuildMembershipRequestApprove) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_MsgGuildMembershipInviteDeny) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgGuildMembershipRequestApprove", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgGuildMembershipInviteDeny", d.FullName())) } panic("unreachable") } @@ -17398,7 +16325,7 @@ func (x *fastReflection_MsgGuildMembershipRequestApprove) WhichOneof(d protorefl // 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_MsgGuildMembershipRequestApprove) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_MsgGuildMembershipInviteDeny) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -17409,7 +16336,7 @@ func (x *fastReflection_MsgGuildMembershipRequestApprove) GetUnknown() protorefl // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgGuildMembershipRequestApprove) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_MsgGuildMembershipInviteDeny) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -17421,7 +16348,7 @@ func (x *fastReflection_MsgGuildMembershipRequestApprove) SetUnknown(fields prot // 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_MsgGuildMembershipRequestApprove) IsValid() bool { +func (x *fastReflection_MsgGuildMembershipInviteDeny) IsValid() bool { return x != nil } @@ -17431,9 +16358,9 @@ func (x *fastReflection_MsgGuildMembershipRequestApprove) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_MsgGuildMembershipRequestApprove) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_MsgGuildMembershipInviteDeny) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*MsgGuildMembershipRequestApprove) + x := input.Message.Interface().(*MsgGuildMembershipInviteDeny) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -17457,10 +16384,6 @@ func (x *fastReflection_MsgGuildMembershipRequestApprove) ProtoMethods() *protoi if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } - l = len(x.SubstationId) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } if x.unknownFields != nil { n += len(x.unknownFields) } @@ -17471,7 +16394,7 @@ func (x *fastReflection_MsgGuildMembershipRequestApprove) ProtoMethods() *protoi } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*MsgGuildMembershipRequestApprove) + x := input.Message.Interface().(*MsgGuildMembershipInviteDeny) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -17490,13 +16413,6 @@ func (x *fastReflection_MsgGuildMembershipRequestApprove) ProtoMethods() *protoi i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if len(x.SubstationId) > 0 { - i -= len(x.SubstationId) - copy(dAtA[i:], x.SubstationId) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.SubstationId))) - i-- - dAtA[i] = 0x22 - } if len(x.PlayerId) > 0 { i -= len(x.PlayerId) copy(dAtA[i:], x.PlayerId) @@ -17529,7 +16445,7 @@ func (x *fastReflection_MsgGuildMembershipRequestApprove) ProtoMethods() *protoi }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*MsgGuildMembershipRequestApprove) + x := input.Message.Interface().(*MsgGuildMembershipInviteDeny) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -17561,10 +16477,10 @@ func (x *fastReflection_MsgGuildMembershipRequestApprove) ProtoMethods() *protoi fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgGuildMembershipRequestApprove: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgGuildMembershipInviteDeny: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgGuildMembershipRequestApprove: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgGuildMembershipInviteDeny: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -17663,38 +16579,6 @@ func (x *fastReflection_MsgGuildMembershipRequestApprove) ProtoMethods() *protoi } x.PlayerId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 4: - if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field SubstationId", 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.SubstationId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex default: iNdEx = preIndex skippy, err := runtime.Skip(dAtA[iNdEx:]) @@ -17731,29 +16615,29 @@ func (x *fastReflection_MsgGuildMembershipRequestApprove) ProtoMethods() *protoi } var ( - md_MsgGuildMembershipRequestDeny protoreflect.MessageDescriptor - fd_MsgGuildMembershipRequestDeny_creator protoreflect.FieldDescriptor - fd_MsgGuildMembershipRequestDeny_guildId protoreflect.FieldDescriptor - fd_MsgGuildMembershipRequestDeny_playerId protoreflect.FieldDescriptor + md_MsgGuildMembershipInviteRevoke protoreflect.MessageDescriptor + fd_MsgGuildMembershipInviteRevoke_creator protoreflect.FieldDescriptor + fd_MsgGuildMembershipInviteRevoke_guildId protoreflect.FieldDescriptor + fd_MsgGuildMembershipInviteRevoke_playerId protoreflect.FieldDescriptor ) func init() { file_structs_structs_tx_proto_init() - md_MsgGuildMembershipRequestDeny = File_structs_structs_tx_proto.Messages().ByName("MsgGuildMembershipRequestDeny") - fd_MsgGuildMembershipRequestDeny_creator = md_MsgGuildMembershipRequestDeny.Fields().ByName("creator") - fd_MsgGuildMembershipRequestDeny_guildId = md_MsgGuildMembershipRequestDeny.Fields().ByName("guildId") - fd_MsgGuildMembershipRequestDeny_playerId = md_MsgGuildMembershipRequestDeny.Fields().ByName("playerId") + md_MsgGuildMembershipInviteRevoke = File_structs_structs_tx_proto.Messages().ByName("MsgGuildMembershipInviteRevoke") + fd_MsgGuildMembershipInviteRevoke_creator = md_MsgGuildMembershipInviteRevoke.Fields().ByName("creator") + fd_MsgGuildMembershipInviteRevoke_guildId = md_MsgGuildMembershipInviteRevoke.Fields().ByName("guildId") + fd_MsgGuildMembershipInviteRevoke_playerId = md_MsgGuildMembershipInviteRevoke.Fields().ByName("playerId") } -var _ protoreflect.Message = (*fastReflection_MsgGuildMembershipRequestDeny)(nil) +var _ protoreflect.Message = (*fastReflection_MsgGuildMembershipInviteRevoke)(nil) -type fastReflection_MsgGuildMembershipRequestDeny MsgGuildMembershipRequestDeny +type fastReflection_MsgGuildMembershipInviteRevoke MsgGuildMembershipInviteRevoke -func (x *MsgGuildMembershipRequestDeny) ProtoReflect() protoreflect.Message { - return (*fastReflection_MsgGuildMembershipRequestDeny)(x) +func (x *MsgGuildMembershipInviteRevoke) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgGuildMembershipInviteRevoke)(x) } -func (x *MsgGuildMembershipRequestDeny) slowProtoReflect() protoreflect.Message { +func (x *MsgGuildMembershipInviteRevoke) slowProtoReflect() protoreflect.Message { mi := &file_structs_structs_tx_proto_msgTypes[34] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -17765,43 +16649,43 @@ func (x *MsgGuildMembershipRequestDeny) slowProtoReflect() protoreflect.Message return mi.MessageOf(x) } -var _fastReflection_MsgGuildMembershipRequestDeny_messageType fastReflection_MsgGuildMembershipRequestDeny_messageType -var _ protoreflect.MessageType = fastReflection_MsgGuildMembershipRequestDeny_messageType{} +var _fastReflection_MsgGuildMembershipInviteRevoke_messageType fastReflection_MsgGuildMembershipInviteRevoke_messageType +var _ protoreflect.MessageType = fastReflection_MsgGuildMembershipInviteRevoke_messageType{} -type fastReflection_MsgGuildMembershipRequestDeny_messageType struct{} +type fastReflection_MsgGuildMembershipInviteRevoke_messageType struct{} -func (x fastReflection_MsgGuildMembershipRequestDeny_messageType) Zero() protoreflect.Message { - return (*fastReflection_MsgGuildMembershipRequestDeny)(nil) +func (x fastReflection_MsgGuildMembershipInviteRevoke_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgGuildMembershipInviteRevoke)(nil) } -func (x fastReflection_MsgGuildMembershipRequestDeny_messageType) New() protoreflect.Message { - return new(fastReflection_MsgGuildMembershipRequestDeny) +func (x fastReflection_MsgGuildMembershipInviteRevoke_messageType) New() protoreflect.Message { + return new(fastReflection_MsgGuildMembershipInviteRevoke) } -func (x fastReflection_MsgGuildMembershipRequestDeny_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_MsgGuildMembershipRequestDeny +func (x fastReflection_MsgGuildMembershipInviteRevoke_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgGuildMembershipInviteRevoke } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_MsgGuildMembershipRequestDeny) Descriptor() protoreflect.MessageDescriptor { - return md_MsgGuildMembershipRequestDeny +func (x *fastReflection_MsgGuildMembershipInviteRevoke) Descriptor() protoreflect.MessageDescriptor { + return md_MsgGuildMembershipInviteRevoke } // 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_MsgGuildMembershipRequestDeny) Type() protoreflect.MessageType { - return _fastReflection_MsgGuildMembershipRequestDeny_messageType +func (x *fastReflection_MsgGuildMembershipInviteRevoke) Type() protoreflect.MessageType { + return _fastReflection_MsgGuildMembershipInviteRevoke_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_MsgGuildMembershipRequestDeny) New() protoreflect.Message { - return new(fastReflection_MsgGuildMembershipRequestDeny) +func (x *fastReflection_MsgGuildMembershipInviteRevoke) New() protoreflect.Message { + return new(fastReflection_MsgGuildMembershipInviteRevoke) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_MsgGuildMembershipRequestDeny) Interface() protoreflect.ProtoMessage { - return (*MsgGuildMembershipRequestDeny)(x) +func (x *fastReflection_MsgGuildMembershipInviteRevoke) Interface() protoreflect.ProtoMessage { + return (*MsgGuildMembershipInviteRevoke)(x) } // Range iterates over every populated field in an undefined order, @@ -17809,22 +16693,22 @@ func (x *fastReflection_MsgGuildMembershipRequestDeny) Interface() protoreflect. // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_MsgGuildMembershipRequestDeny) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +func (x *fastReflection_MsgGuildMembershipInviteRevoke) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { if x.Creator != "" { value := protoreflect.ValueOfString(x.Creator) - if !f(fd_MsgGuildMembershipRequestDeny_creator, value) { + if !f(fd_MsgGuildMembershipInviteRevoke_creator, value) { return } } if x.GuildId != "" { value := protoreflect.ValueOfString(x.GuildId) - if !f(fd_MsgGuildMembershipRequestDeny_guildId, value) { + if !f(fd_MsgGuildMembershipInviteRevoke_guildId, value) { return } } if x.PlayerId != "" { value := protoreflect.ValueOfString(x.PlayerId) - if !f(fd_MsgGuildMembershipRequestDeny_playerId, value) { + if !f(fd_MsgGuildMembershipInviteRevoke_playerId, value) { return } } @@ -17841,19 +16725,19 @@ func (x *fastReflection_MsgGuildMembershipRequestDeny) Range(f func(protoreflect // 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_MsgGuildMembershipRequestDeny) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_MsgGuildMembershipInviteRevoke) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.MsgGuildMembershipRequestDeny.creator": + case "structs.structs.MsgGuildMembershipInviteRevoke.creator": return x.Creator != "" - case "structs.structs.MsgGuildMembershipRequestDeny.guildId": + case "structs.structs.MsgGuildMembershipInviteRevoke.guildId": return x.GuildId != "" - case "structs.structs.MsgGuildMembershipRequestDeny.playerId": + case "structs.structs.MsgGuildMembershipInviteRevoke.playerId": return x.PlayerId != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipRequestDeny")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipInviteRevoke")) } - panic(fmt.Errorf("message structs.structs.MsgGuildMembershipRequestDeny does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildMembershipInviteRevoke does not contain field %s", fd.FullName())) } } @@ -17863,19 +16747,19 @@ func (x *fastReflection_MsgGuildMembershipRequestDeny) Has(fd protoreflect.Field // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgGuildMembershipRequestDeny) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_MsgGuildMembershipInviteRevoke) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.MsgGuildMembershipRequestDeny.creator": + case "structs.structs.MsgGuildMembershipInviteRevoke.creator": x.Creator = "" - case "structs.structs.MsgGuildMembershipRequestDeny.guildId": + case "structs.structs.MsgGuildMembershipInviteRevoke.guildId": x.GuildId = "" - case "structs.structs.MsgGuildMembershipRequestDeny.playerId": + case "structs.structs.MsgGuildMembershipInviteRevoke.playerId": x.PlayerId = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipRequestDeny")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipInviteRevoke")) } - panic(fmt.Errorf("message structs.structs.MsgGuildMembershipRequestDeny does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildMembershipInviteRevoke does not contain field %s", fd.FullName())) } } @@ -17885,22 +16769,22 @@ func (x *fastReflection_MsgGuildMembershipRequestDeny) Clear(fd protoreflect.Fie // 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_MsgGuildMembershipRequestDeny) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgGuildMembershipInviteRevoke) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.MsgGuildMembershipRequestDeny.creator": + case "structs.structs.MsgGuildMembershipInviteRevoke.creator": value := x.Creator return protoreflect.ValueOfString(value) - case "structs.structs.MsgGuildMembershipRequestDeny.guildId": + case "structs.structs.MsgGuildMembershipInviteRevoke.guildId": value := x.GuildId return protoreflect.ValueOfString(value) - case "structs.structs.MsgGuildMembershipRequestDeny.playerId": + case "structs.structs.MsgGuildMembershipInviteRevoke.playerId": value := x.PlayerId return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipRequestDeny")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipInviteRevoke")) } - panic(fmt.Errorf("message structs.structs.MsgGuildMembershipRequestDeny does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildMembershipInviteRevoke does not contain field %s", descriptor.FullName())) } } @@ -17914,19 +16798,19 @@ func (x *fastReflection_MsgGuildMembershipRequestDeny) Get(descriptor protorefle // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgGuildMembershipRequestDeny) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_MsgGuildMembershipInviteRevoke) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.MsgGuildMembershipRequestDeny.creator": + case "structs.structs.MsgGuildMembershipInviteRevoke.creator": x.Creator = value.Interface().(string) - case "structs.structs.MsgGuildMembershipRequestDeny.guildId": + case "structs.structs.MsgGuildMembershipInviteRevoke.guildId": x.GuildId = value.Interface().(string) - case "structs.structs.MsgGuildMembershipRequestDeny.playerId": + case "structs.structs.MsgGuildMembershipInviteRevoke.playerId": x.PlayerId = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipRequestDeny")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipInviteRevoke")) } - panic(fmt.Errorf("message structs.structs.MsgGuildMembershipRequestDeny does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildMembershipInviteRevoke does not contain field %s", fd.FullName())) } } @@ -17940,48 +16824,48 @@ func (x *fastReflection_MsgGuildMembershipRequestDeny) Set(fd protoreflect.Field // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgGuildMembershipRequestDeny) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgGuildMembershipInviteRevoke) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.MsgGuildMembershipRequestDeny.creator": - panic(fmt.Errorf("field creator of message structs.structs.MsgGuildMembershipRequestDeny is not mutable")) - case "structs.structs.MsgGuildMembershipRequestDeny.guildId": - panic(fmt.Errorf("field guildId of message structs.structs.MsgGuildMembershipRequestDeny is not mutable")) - case "structs.structs.MsgGuildMembershipRequestDeny.playerId": - panic(fmt.Errorf("field playerId of message structs.structs.MsgGuildMembershipRequestDeny is not mutable")) + case "structs.structs.MsgGuildMembershipInviteRevoke.creator": + panic(fmt.Errorf("field creator of message structs.structs.MsgGuildMembershipInviteRevoke is not mutable")) + case "structs.structs.MsgGuildMembershipInviteRevoke.guildId": + panic(fmt.Errorf("field guildId of message structs.structs.MsgGuildMembershipInviteRevoke is not mutable")) + case "structs.structs.MsgGuildMembershipInviteRevoke.playerId": + panic(fmt.Errorf("field playerId of message structs.structs.MsgGuildMembershipInviteRevoke is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipRequestDeny")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipInviteRevoke")) } - panic(fmt.Errorf("message structs.structs.MsgGuildMembershipRequestDeny does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildMembershipInviteRevoke 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_MsgGuildMembershipRequestDeny) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgGuildMembershipInviteRevoke) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.MsgGuildMembershipRequestDeny.creator": + case "structs.structs.MsgGuildMembershipInviteRevoke.creator": return protoreflect.ValueOfString("") - case "structs.structs.MsgGuildMembershipRequestDeny.guildId": + case "structs.structs.MsgGuildMembershipInviteRevoke.guildId": return protoreflect.ValueOfString("") - case "structs.structs.MsgGuildMembershipRequestDeny.playerId": + case "structs.structs.MsgGuildMembershipInviteRevoke.playerId": return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipRequestDeny")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipInviteRevoke")) } - panic(fmt.Errorf("message structs.structs.MsgGuildMembershipRequestDeny does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildMembershipInviteRevoke 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_MsgGuildMembershipRequestDeny) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_MsgGuildMembershipInviteRevoke) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgGuildMembershipRequestDeny", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgGuildMembershipInviteRevoke", d.FullName())) } panic("unreachable") } @@ -17989,7 +16873,7 @@ func (x *fastReflection_MsgGuildMembershipRequestDeny) WhichOneof(d protoreflect // 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_MsgGuildMembershipRequestDeny) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_MsgGuildMembershipInviteRevoke) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -18000,7 +16884,7 @@ func (x *fastReflection_MsgGuildMembershipRequestDeny) GetUnknown() protoreflect // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgGuildMembershipRequestDeny) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_MsgGuildMembershipInviteRevoke) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -18012,7 +16896,7 @@ func (x *fastReflection_MsgGuildMembershipRequestDeny) SetUnknown(fields protore // 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_MsgGuildMembershipRequestDeny) IsValid() bool { +func (x *fastReflection_MsgGuildMembershipInviteRevoke) IsValid() bool { return x != nil } @@ -18022,9 +16906,9 @@ func (x *fastReflection_MsgGuildMembershipRequestDeny) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_MsgGuildMembershipRequestDeny) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_MsgGuildMembershipInviteRevoke) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*MsgGuildMembershipRequestDeny) + x := input.Message.Interface().(*MsgGuildMembershipInviteRevoke) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -18058,7 +16942,7 @@ func (x *fastReflection_MsgGuildMembershipRequestDeny) ProtoMethods() *protoifac } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*MsgGuildMembershipRequestDeny) + x := input.Message.Interface().(*MsgGuildMembershipInviteRevoke) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -18109,7 +16993,7 @@ func (x *fastReflection_MsgGuildMembershipRequestDeny) ProtoMethods() *protoifac }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*MsgGuildMembershipRequestDeny) + x := input.Message.Interface().(*MsgGuildMembershipInviteRevoke) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -18141,10 +17025,10 @@ func (x *fastReflection_MsgGuildMembershipRequestDeny) ProtoMethods() *protoifac fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgGuildMembershipRequestDeny: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgGuildMembershipInviteRevoke: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgGuildMembershipRequestDeny: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgGuildMembershipInviteRevoke: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -18278,30 +17162,80 @@ func (x *fastReflection_MsgGuildMembershipRequestDeny) ProtoMethods() *protoifac } } +var _ protoreflect.List = (*_MsgGuildMembershipJoin_5_list)(nil) + +type _MsgGuildMembershipJoin_5_list struct { + list *[]string +} + +func (x *_MsgGuildMembershipJoin_5_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_MsgGuildMembershipJoin_5_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfString((*x.list)[i]) +} + +func (x *_MsgGuildMembershipJoin_5_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_MsgGuildMembershipJoin_5_list) Append(value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_MsgGuildMembershipJoin_5_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message MsgGuildMembershipJoin at list field InfusionId as it is not of Message kind")) +} + +func (x *_MsgGuildMembershipJoin_5_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_MsgGuildMembershipJoin_5_list) NewElement() protoreflect.Value { + v := "" + return protoreflect.ValueOfString(v) +} + +func (x *_MsgGuildMembershipJoin_5_list) IsValid() bool { + return x.list != nil +} + var ( - md_MsgGuildMembershipRequestRevoke protoreflect.MessageDescriptor - fd_MsgGuildMembershipRequestRevoke_creator protoreflect.FieldDescriptor - fd_MsgGuildMembershipRequestRevoke_guildId protoreflect.FieldDescriptor - fd_MsgGuildMembershipRequestRevoke_playerId protoreflect.FieldDescriptor + md_MsgGuildMembershipJoin protoreflect.MessageDescriptor + fd_MsgGuildMembershipJoin_creator protoreflect.FieldDescriptor + fd_MsgGuildMembershipJoin_guildId protoreflect.FieldDescriptor + fd_MsgGuildMembershipJoin_playerId protoreflect.FieldDescriptor + fd_MsgGuildMembershipJoin_substationId protoreflect.FieldDescriptor + fd_MsgGuildMembershipJoin_infusionId protoreflect.FieldDescriptor ) func init() { file_structs_structs_tx_proto_init() - md_MsgGuildMembershipRequestRevoke = File_structs_structs_tx_proto.Messages().ByName("MsgGuildMembershipRequestRevoke") - fd_MsgGuildMembershipRequestRevoke_creator = md_MsgGuildMembershipRequestRevoke.Fields().ByName("creator") - fd_MsgGuildMembershipRequestRevoke_guildId = md_MsgGuildMembershipRequestRevoke.Fields().ByName("guildId") - fd_MsgGuildMembershipRequestRevoke_playerId = md_MsgGuildMembershipRequestRevoke.Fields().ByName("playerId") + md_MsgGuildMembershipJoin = File_structs_structs_tx_proto.Messages().ByName("MsgGuildMembershipJoin") + fd_MsgGuildMembershipJoin_creator = md_MsgGuildMembershipJoin.Fields().ByName("creator") + fd_MsgGuildMembershipJoin_guildId = md_MsgGuildMembershipJoin.Fields().ByName("guildId") + fd_MsgGuildMembershipJoin_playerId = md_MsgGuildMembershipJoin.Fields().ByName("playerId") + fd_MsgGuildMembershipJoin_substationId = md_MsgGuildMembershipJoin.Fields().ByName("substationId") + fd_MsgGuildMembershipJoin_infusionId = md_MsgGuildMembershipJoin.Fields().ByName("infusionId") } -var _ protoreflect.Message = (*fastReflection_MsgGuildMembershipRequestRevoke)(nil) +var _ protoreflect.Message = (*fastReflection_MsgGuildMembershipJoin)(nil) -type fastReflection_MsgGuildMembershipRequestRevoke MsgGuildMembershipRequestRevoke +type fastReflection_MsgGuildMembershipJoin MsgGuildMembershipJoin -func (x *MsgGuildMembershipRequestRevoke) ProtoReflect() protoreflect.Message { - return (*fastReflection_MsgGuildMembershipRequestRevoke)(x) +func (x *MsgGuildMembershipJoin) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgGuildMembershipJoin)(x) } -func (x *MsgGuildMembershipRequestRevoke) slowProtoReflect() protoreflect.Message { +func (x *MsgGuildMembershipJoin) slowProtoReflect() protoreflect.Message { mi := &file_structs_structs_tx_proto_msgTypes[35] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -18313,43 +17247,43 @@ func (x *MsgGuildMembershipRequestRevoke) slowProtoReflect() protoreflect.Messag return mi.MessageOf(x) } -var _fastReflection_MsgGuildMembershipRequestRevoke_messageType fastReflection_MsgGuildMembershipRequestRevoke_messageType -var _ protoreflect.MessageType = fastReflection_MsgGuildMembershipRequestRevoke_messageType{} +var _fastReflection_MsgGuildMembershipJoin_messageType fastReflection_MsgGuildMembershipJoin_messageType +var _ protoreflect.MessageType = fastReflection_MsgGuildMembershipJoin_messageType{} -type fastReflection_MsgGuildMembershipRequestRevoke_messageType struct{} +type fastReflection_MsgGuildMembershipJoin_messageType struct{} -func (x fastReflection_MsgGuildMembershipRequestRevoke_messageType) Zero() protoreflect.Message { - return (*fastReflection_MsgGuildMembershipRequestRevoke)(nil) +func (x fastReflection_MsgGuildMembershipJoin_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgGuildMembershipJoin)(nil) } -func (x fastReflection_MsgGuildMembershipRequestRevoke_messageType) New() protoreflect.Message { - return new(fastReflection_MsgGuildMembershipRequestRevoke) +func (x fastReflection_MsgGuildMembershipJoin_messageType) New() protoreflect.Message { + return new(fastReflection_MsgGuildMembershipJoin) } -func (x fastReflection_MsgGuildMembershipRequestRevoke_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_MsgGuildMembershipRequestRevoke +func (x fastReflection_MsgGuildMembershipJoin_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgGuildMembershipJoin } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_MsgGuildMembershipRequestRevoke) Descriptor() protoreflect.MessageDescriptor { - return md_MsgGuildMembershipRequestRevoke +func (x *fastReflection_MsgGuildMembershipJoin) Descriptor() protoreflect.MessageDescriptor { + return md_MsgGuildMembershipJoin } // 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_MsgGuildMembershipRequestRevoke) Type() protoreflect.MessageType { - return _fastReflection_MsgGuildMembershipRequestRevoke_messageType +func (x *fastReflection_MsgGuildMembershipJoin) Type() protoreflect.MessageType { + return _fastReflection_MsgGuildMembershipJoin_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_MsgGuildMembershipRequestRevoke) New() protoreflect.Message { - return new(fastReflection_MsgGuildMembershipRequestRevoke) +func (x *fastReflection_MsgGuildMembershipJoin) New() protoreflect.Message { + return new(fastReflection_MsgGuildMembershipJoin) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_MsgGuildMembershipRequestRevoke) Interface() protoreflect.ProtoMessage { - return (*MsgGuildMembershipRequestRevoke)(x) +func (x *fastReflection_MsgGuildMembershipJoin) Interface() protoreflect.ProtoMessage { + return (*MsgGuildMembershipJoin)(x) } // Range iterates over every populated field in an undefined order, @@ -18357,22 +17291,34 @@ func (x *fastReflection_MsgGuildMembershipRequestRevoke) Interface() protoreflec // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_MsgGuildMembershipRequestRevoke) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +func (x *fastReflection_MsgGuildMembershipJoin) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { if x.Creator != "" { value := protoreflect.ValueOfString(x.Creator) - if !f(fd_MsgGuildMembershipRequestRevoke_creator, value) { + if !f(fd_MsgGuildMembershipJoin_creator, value) { return } } if x.GuildId != "" { value := protoreflect.ValueOfString(x.GuildId) - if !f(fd_MsgGuildMembershipRequestRevoke_guildId, value) { + if !f(fd_MsgGuildMembershipJoin_guildId, value) { return } } if x.PlayerId != "" { value := protoreflect.ValueOfString(x.PlayerId) - if !f(fd_MsgGuildMembershipRequestRevoke_playerId, value) { + if !f(fd_MsgGuildMembershipJoin_playerId, value) { + return + } + } + if x.SubstationId != "" { + value := protoreflect.ValueOfString(x.SubstationId) + if !f(fd_MsgGuildMembershipJoin_substationId, value) { + return + } + } + if len(x.InfusionId) != 0 { + value := protoreflect.ValueOfList(&_MsgGuildMembershipJoin_5_list{list: &x.InfusionId}) + if !f(fd_MsgGuildMembershipJoin_infusionId, value) { return } } @@ -18389,19 +17335,23 @@ func (x *fastReflection_MsgGuildMembershipRequestRevoke) Range(f func(protorefle // 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_MsgGuildMembershipRequestRevoke) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_MsgGuildMembershipJoin) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.MsgGuildMembershipRequestRevoke.creator": + case "structs.structs.MsgGuildMembershipJoin.creator": return x.Creator != "" - case "structs.structs.MsgGuildMembershipRequestRevoke.guildId": + case "structs.structs.MsgGuildMembershipJoin.guildId": return x.GuildId != "" - case "structs.structs.MsgGuildMembershipRequestRevoke.playerId": + case "structs.structs.MsgGuildMembershipJoin.playerId": return x.PlayerId != "" + case "structs.structs.MsgGuildMembershipJoin.substationId": + return x.SubstationId != "" + case "structs.structs.MsgGuildMembershipJoin.infusionId": + return len(x.InfusionId) != 0 default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipRequestRevoke")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipJoin")) } - panic(fmt.Errorf("message structs.structs.MsgGuildMembershipRequestRevoke does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildMembershipJoin does not contain field %s", fd.FullName())) } } @@ -18411,19 +17361,23 @@ func (x *fastReflection_MsgGuildMembershipRequestRevoke) Has(fd protoreflect.Fie // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgGuildMembershipRequestRevoke) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_MsgGuildMembershipJoin) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.MsgGuildMembershipRequestRevoke.creator": + case "structs.structs.MsgGuildMembershipJoin.creator": x.Creator = "" - case "structs.structs.MsgGuildMembershipRequestRevoke.guildId": + case "structs.structs.MsgGuildMembershipJoin.guildId": x.GuildId = "" - case "structs.structs.MsgGuildMembershipRequestRevoke.playerId": + case "structs.structs.MsgGuildMembershipJoin.playerId": x.PlayerId = "" + case "structs.structs.MsgGuildMembershipJoin.substationId": + x.SubstationId = "" + case "structs.structs.MsgGuildMembershipJoin.infusionId": + x.InfusionId = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipRequestRevoke")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipJoin")) } - panic(fmt.Errorf("message structs.structs.MsgGuildMembershipRequestRevoke does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildMembershipJoin does not contain field %s", fd.FullName())) } } @@ -18433,22 +17387,31 @@ func (x *fastReflection_MsgGuildMembershipRequestRevoke) Clear(fd protoreflect.F // 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_MsgGuildMembershipRequestRevoke) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgGuildMembershipJoin) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.MsgGuildMembershipRequestRevoke.creator": + case "structs.structs.MsgGuildMembershipJoin.creator": value := x.Creator return protoreflect.ValueOfString(value) - case "structs.structs.MsgGuildMembershipRequestRevoke.guildId": + case "structs.structs.MsgGuildMembershipJoin.guildId": value := x.GuildId return protoreflect.ValueOfString(value) - case "structs.structs.MsgGuildMembershipRequestRevoke.playerId": + case "structs.structs.MsgGuildMembershipJoin.playerId": value := x.PlayerId return protoreflect.ValueOfString(value) + case "structs.structs.MsgGuildMembershipJoin.substationId": + value := x.SubstationId + return protoreflect.ValueOfString(value) + case "structs.structs.MsgGuildMembershipJoin.infusionId": + if len(x.InfusionId) == 0 { + return protoreflect.ValueOfList(&_MsgGuildMembershipJoin_5_list{}) + } + listValue := &_MsgGuildMembershipJoin_5_list{list: &x.InfusionId} + return protoreflect.ValueOfList(listValue) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipRequestRevoke")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipJoin")) } - panic(fmt.Errorf("message structs.structs.MsgGuildMembershipRequestRevoke does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildMembershipJoin does not contain field %s", descriptor.FullName())) } } @@ -18462,19 +17425,25 @@ func (x *fastReflection_MsgGuildMembershipRequestRevoke) Get(descriptor protoref // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgGuildMembershipRequestRevoke) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_MsgGuildMembershipJoin) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.MsgGuildMembershipRequestRevoke.creator": + case "structs.structs.MsgGuildMembershipJoin.creator": x.Creator = value.Interface().(string) - case "structs.structs.MsgGuildMembershipRequestRevoke.guildId": + case "structs.structs.MsgGuildMembershipJoin.guildId": x.GuildId = value.Interface().(string) - case "structs.structs.MsgGuildMembershipRequestRevoke.playerId": + case "structs.structs.MsgGuildMembershipJoin.playerId": x.PlayerId = value.Interface().(string) + case "structs.structs.MsgGuildMembershipJoin.substationId": + x.SubstationId = value.Interface().(string) + case "structs.structs.MsgGuildMembershipJoin.infusionId": + lv := value.List() + clv := lv.(*_MsgGuildMembershipJoin_5_list) + x.InfusionId = *clv.list default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipRequestRevoke")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipJoin")) } - panic(fmt.Errorf("message structs.structs.MsgGuildMembershipRequestRevoke does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildMembershipJoin does not contain field %s", fd.FullName())) } } @@ -18488,48 +17457,61 @@ func (x *fastReflection_MsgGuildMembershipRequestRevoke) Set(fd protoreflect.Fie // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgGuildMembershipRequestRevoke) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgGuildMembershipJoin) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.MsgGuildMembershipRequestRevoke.creator": - panic(fmt.Errorf("field creator of message structs.structs.MsgGuildMembershipRequestRevoke is not mutable")) - case "structs.structs.MsgGuildMembershipRequestRevoke.guildId": - panic(fmt.Errorf("field guildId of message structs.structs.MsgGuildMembershipRequestRevoke is not mutable")) - case "structs.structs.MsgGuildMembershipRequestRevoke.playerId": - panic(fmt.Errorf("field playerId of message structs.structs.MsgGuildMembershipRequestRevoke is not mutable")) + case "structs.structs.MsgGuildMembershipJoin.infusionId": + if x.InfusionId == nil { + x.InfusionId = []string{} + } + value := &_MsgGuildMembershipJoin_5_list{list: &x.InfusionId} + return protoreflect.ValueOfList(value) + case "structs.structs.MsgGuildMembershipJoin.creator": + panic(fmt.Errorf("field creator of message structs.structs.MsgGuildMembershipJoin is not mutable")) + case "structs.structs.MsgGuildMembershipJoin.guildId": + panic(fmt.Errorf("field guildId of message structs.structs.MsgGuildMembershipJoin is not mutable")) + case "structs.structs.MsgGuildMembershipJoin.playerId": + panic(fmt.Errorf("field playerId of message structs.structs.MsgGuildMembershipJoin is not mutable")) + case "structs.structs.MsgGuildMembershipJoin.substationId": + panic(fmt.Errorf("field substationId of message structs.structs.MsgGuildMembershipJoin is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipRequestRevoke")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipJoin")) } - panic(fmt.Errorf("message structs.structs.MsgGuildMembershipRequestRevoke does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildMembershipJoin 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_MsgGuildMembershipRequestRevoke) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgGuildMembershipJoin) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.MsgGuildMembershipRequestRevoke.creator": + case "structs.structs.MsgGuildMembershipJoin.creator": return protoreflect.ValueOfString("") - case "structs.structs.MsgGuildMembershipRequestRevoke.guildId": + case "structs.structs.MsgGuildMembershipJoin.guildId": return protoreflect.ValueOfString("") - case "structs.structs.MsgGuildMembershipRequestRevoke.playerId": + case "structs.structs.MsgGuildMembershipJoin.playerId": + return protoreflect.ValueOfString("") + case "structs.structs.MsgGuildMembershipJoin.substationId": return protoreflect.ValueOfString("") + case "structs.structs.MsgGuildMembershipJoin.infusionId": + list := []string{} + return protoreflect.ValueOfList(&_MsgGuildMembershipJoin_5_list{list: &list}) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipRequestRevoke")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipJoin")) } - panic(fmt.Errorf("message structs.structs.MsgGuildMembershipRequestRevoke does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildMembershipJoin 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_MsgGuildMembershipRequestRevoke) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_MsgGuildMembershipJoin) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgGuildMembershipRequestRevoke", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgGuildMembershipJoin", d.FullName())) } panic("unreachable") } @@ -18537,7 +17519,7 @@ func (x *fastReflection_MsgGuildMembershipRequestRevoke) WhichOneof(d protorefle // 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_MsgGuildMembershipRequestRevoke) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_MsgGuildMembershipJoin) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -18548,7 +17530,7 @@ func (x *fastReflection_MsgGuildMembershipRequestRevoke) GetUnknown() protorefle // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgGuildMembershipRequestRevoke) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_MsgGuildMembershipJoin) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -18560,7 +17542,7 @@ func (x *fastReflection_MsgGuildMembershipRequestRevoke) SetUnknown(fields proto // 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_MsgGuildMembershipRequestRevoke) IsValid() bool { +func (x *fastReflection_MsgGuildMembershipJoin) IsValid() bool { return x != nil } @@ -18570,9 +17552,9 @@ func (x *fastReflection_MsgGuildMembershipRequestRevoke) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_MsgGuildMembershipRequestRevoke) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_MsgGuildMembershipJoin) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*MsgGuildMembershipRequestRevoke) + x := input.Message.Interface().(*MsgGuildMembershipJoin) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -18596,6 +17578,16 @@ func (x *fastReflection_MsgGuildMembershipRequestRevoke) ProtoMethods() *protoif if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } + l = len(x.SubstationId) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if len(x.InfusionId) > 0 { + for _, s := range x.InfusionId { + l = len(s) + n += 1 + l + runtime.Sov(uint64(l)) + } + } if x.unknownFields != nil { n += len(x.unknownFields) } @@ -18606,7 +17598,7 @@ func (x *fastReflection_MsgGuildMembershipRequestRevoke) ProtoMethods() *protoif } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*MsgGuildMembershipRequestRevoke) + x := input.Message.Interface().(*MsgGuildMembershipJoin) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -18625,6 +17617,22 @@ func (x *fastReflection_MsgGuildMembershipRequestRevoke) ProtoMethods() *protoif i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } + if len(x.InfusionId) > 0 { + for iNdEx := len(x.InfusionId) - 1; iNdEx >= 0; iNdEx-- { + i -= len(x.InfusionId[iNdEx]) + copy(dAtA[i:], x.InfusionId[iNdEx]) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.InfusionId[iNdEx]))) + i-- + dAtA[i] = 0x2a + } + } + if len(x.SubstationId) > 0 { + i -= len(x.SubstationId) + copy(dAtA[i:], x.SubstationId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.SubstationId))) + i-- + dAtA[i] = 0x22 + } if len(x.PlayerId) > 0 { i -= len(x.PlayerId) copy(dAtA[i:], x.PlayerId) @@ -18657,7 +17665,7 @@ func (x *fastReflection_MsgGuildMembershipRequestRevoke) ProtoMethods() *protoif }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*MsgGuildMembershipRequestRevoke) + x := input.Message.Interface().(*MsgGuildMembershipJoin) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -18689,10 +17697,10 @@ func (x *fastReflection_MsgGuildMembershipRequestRevoke) ProtoMethods() *protoif fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgGuildMembershipRequestRevoke: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgGuildMembershipJoin: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgGuildMembershipRequestRevoke: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgGuildMembershipJoin: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -18791,6 +17799,70 @@ func (x *fastReflection_MsgGuildMembershipRequestRevoke) ProtoMethods() *protoif } x.PlayerId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex + case 4: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field SubstationId", 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.SubstationId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 5: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field InfusionId", 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.InfusionId = append(x.InfusionId, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := runtime.Skip(dAtA[iNdEx:]) @@ -18827,25 +17899,33 @@ func (x *fastReflection_MsgGuildMembershipRequestRevoke) ProtoMethods() *protoif } var ( - md_MsgGuildMembershipResponse protoreflect.MessageDescriptor - fd_MsgGuildMembershipResponse_guildMembershipApplication protoreflect.FieldDescriptor + md_MsgGuildMembershipJoinProxy protoreflect.MessageDescriptor + fd_MsgGuildMembershipJoinProxy_creator protoreflect.FieldDescriptor + fd_MsgGuildMembershipJoinProxy_address protoreflect.FieldDescriptor + fd_MsgGuildMembershipJoinProxy_substationId protoreflect.FieldDescriptor + fd_MsgGuildMembershipJoinProxy_proofPubKey protoreflect.FieldDescriptor + fd_MsgGuildMembershipJoinProxy_proofSignature protoreflect.FieldDescriptor ) func init() { file_structs_structs_tx_proto_init() - md_MsgGuildMembershipResponse = File_structs_structs_tx_proto.Messages().ByName("MsgGuildMembershipResponse") - fd_MsgGuildMembershipResponse_guildMembershipApplication = md_MsgGuildMembershipResponse.Fields().ByName("guildMembershipApplication") + md_MsgGuildMembershipJoinProxy = File_structs_structs_tx_proto.Messages().ByName("MsgGuildMembershipJoinProxy") + fd_MsgGuildMembershipJoinProxy_creator = md_MsgGuildMembershipJoinProxy.Fields().ByName("creator") + fd_MsgGuildMembershipJoinProxy_address = md_MsgGuildMembershipJoinProxy.Fields().ByName("address") + fd_MsgGuildMembershipJoinProxy_substationId = md_MsgGuildMembershipJoinProxy.Fields().ByName("substationId") + fd_MsgGuildMembershipJoinProxy_proofPubKey = md_MsgGuildMembershipJoinProxy.Fields().ByName("proofPubKey") + fd_MsgGuildMembershipJoinProxy_proofSignature = md_MsgGuildMembershipJoinProxy.Fields().ByName("proofSignature") } -var _ protoreflect.Message = (*fastReflection_MsgGuildMembershipResponse)(nil) +var _ protoreflect.Message = (*fastReflection_MsgGuildMembershipJoinProxy)(nil) -type fastReflection_MsgGuildMembershipResponse MsgGuildMembershipResponse +type fastReflection_MsgGuildMembershipJoinProxy MsgGuildMembershipJoinProxy -func (x *MsgGuildMembershipResponse) ProtoReflect() protoreflect.Message { - return (*fastReflection_MsgGuildMembershipResponse)(x) +func (x *MsgGuildMembershipJoinProxy) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgGuildMembershipJoinProxy)(x) } -func (x *MsgGuildMembershipResponse) slowProtoReflect() protoreflect.Message { +func (x *MsgGuildMembershipJoinProxy) slowProtoReflect() protoreflect.Message { mi := &file_structs_structs_tx_proto_msgTypes[36] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -18857,43 +17937,43 @@ func (x *MsgGuildMembershipResponse) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_MsgGuildMembershipResponse_messageType fastReflection_MsgGuildMembershipResponse_messageType -var _ protoreflect.MessageType = fastReflection_MsgGuildMembershipResponse_messageType{} +var _fastReflection_MsgGuildMembershipJoinProxy_messageType fastReflection_MsgGuildMembershipJoinProxy_messageType +var _ protoreflect.MessageType = fastReflection_MsgGuildMembershipJoinProxy_messageType{} -type fastReflection_MsgGuildMembershipResponse_messageType struct{} +type fastReflection_MsgGuildMembershipJoinProxy_messageType struct{} -func (x fastReflection_MsgGuildMembershipResponse_messageType) Zero() protoreflect.Message { - return (*fastReflection_MsgGuildMembershipResponse)(nil) +func (x fastReflection_MsgGuildMembershipJoinProxy_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgGuildMembershipJoinProxy)(nil) } -func (x fastReflection_MsgGuildMembershipResponse_messageType) New() protoreflect.Message { - return new(fastReflection_MsgGuildMembershipResponse) +func (x fastReflection_MsgGuildMembershipJoinProxy_messageType) New() protoreflect.Message { + return new(fastReflection_MsgGuildMembershipJoinProxy) } -func (x fastReflection_MsgGuildMembershipResponse_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_MsgGuildMembershipResponse +func (x fastReflection_MsgGuildMembershipJoinProxy_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgGuildMembershipJoinProxy } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_MsgGuildMembershipResponse) Descriptor() protoreflect.MessageDescriptor { - return md_MsgGuildMembershipResponse +func (x *fastReflection_MsgGuildMembershipJoinProxy) Descriptor() protoreflect.MessageDescriptor { + return md_MsgGuildMembershipJoinProxy } // 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_MsgGuildMembershipResponse) Type() protoreflect.MessageType { - return _fastReflection_MsgGuildMembershipResponse_messageType +func (x *fastReflection_MsgGuildMembershipJoinProxy) Type() protoreflect.MessageType { + return _fastReflection_MsgGuildMembershipJoinProxy_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_MsgGuildMembershipResponse) New() protoreflect.Message { - return new(fastReflection_MsgGuildMembershipResponse) +func (x *fastReflection_MsgGuildMembershipJoinProxy) New() protoreflect.Message { + return new(fastReflection_MsgGuildMembershipJoinProxy) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_MsgGuildMembershipResponse) Interface() protoreflect.ProtoMessage { - return (*MsgGuildMembershipResponse)(x) +func (x *fastReflection_MsgGuildMembershipJoinProxy) Interface() protoreflect.ProtoMessage { + return (*MsgGuildMembershipJoinProxy)(x) } // Range iterates over every populated field in an undefined order, @@ -18901,10 +17981,34 @@ func (x *fastReflection_MsgGuildMembershipResponse) Interface() protoreflect.Pro // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_MsgGuildMembershipResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.GuildMembershipApplication != nil { - value := protoreflect.ValueOfMessage(x.GuildMembershipApplication.ProtoReflect()) - if !f(fd_MsgGuildMembershipResponse_guildMembershipApplication, value) { +func (x *fastReflection_MsgGuildMembershipJoinProxy) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Creator != "" { + value := protoreflect.ValueOfString(x.Creator) + if !f(fd_MsgGuildMembershipJoinProxy_creator, value) { + return + } + } + if x.Address != "" { + value := protoreflect.ValueOfString(x.Address) + if !f(fd_MsgGuildMembershipJoinProxy_address, value) { + return + } + } + if x.SubstationId != "" { + value := protoreflect.ValueOfString(x.SubstationId) + if !f(fd_MsgGuildMembershipJoinProxy_substationId, value) { + return + } + } + if x.ProofPubKey != "" { + value := protoreflect.ValueOfString(x.ProofPubKey) + if !f(fd_MsgGuildMembershipJoinProxy_proofPubKey, value) { + return + } + } + if x.ProofSignature != "" { + value := protoreflect.ValueOfString(x.ProofSignature) + if !f(fd_MsgGuildMembershipJoinProxy_proofSignature, value) { return } } @@ -18921,15 +18025,23 @@ func (x *fastReflection_MsgGuildMembershipResponse) Range(f func(protoreflect.Fi // 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_MsgGuildMembershipResponse) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_MsgGuildMembershipJoinProxy) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.MsgGuildMembershipResponse.guildMembershipApplication": - return x.GuildMembershipApplication != nil + case "structs.structs.MsgGuildMembershipJoinProxy.creator": + return x.Creator != "" + case "structs.structs.MsgGuildMembershipJoinProxy.address": + return x.Address != "" + case "structs.structs.MsgGuildMembershipJoinProxy.substationId": + return x.SubstationId != "" + case "structs.structs.MsgGuildMembershipJoinProxy.proofPubKey": + return x.ProofPubKey != "" + case "structs.structs.MsgGuildMembershipJoinProxy.proofSignature": + return x.ProofSignature != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipJoinProxy")) } - panic(fmt.Errorf("message structs.structs.MsgGuildMembershipResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildMembershipJoinProxy does not contain field %s", fd.FullName())) } } @@ -18939,15 +18051,23 @@ func (x *fastReflection_MsgGuildMembershipResponse) Has(fd protoreflect.FieldDes // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgGuildMembershipResponse) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_MsgGuildMembershipJoinProxy) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.MsgGuildMembershipResponse.guildMembershipApplication": - x.GuildMembershipApplication = nil + case "structs.structs.MsgGuildMembershipJoinProxy.creator": + x.Creator = "" + case "structs.structs.MsgGuildMembershipJoinProxy.address": + x.Address = "" + case "structs.structs.MsgGuildMembershipJoinProxy.substationId": + x.SubstationId = "" + case "structs.structs.MsgGuildMembershipJoinProxy.proofPubKey": + x.ProofPubKey = "" + case "structs.structs.MsgGuildMembershipJoinProxy.proofSignature": + x.ProofSignature = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipJoinProxy")) } - panic(fmt.Errorf("message structs.structs.MsgGuildMembershipResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildMembershipJoinProxy does not contain field %s", fd.FullName())) } } @@ -18957,16 +18077,28 @@ func (x *fastReflection_MsgGuildMembershipResponse) Clear(fd protoreflect.FieldD // 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_MsgGuildMembershipResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgGuildMembershipJoinProxy) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.MsgGuildMembershipResponse.guildMembershipApplication": - value := x.GuildMembershipApplication - return protoreflect.ValueOfMessage(value.ProtoReflect()) + case "structs.structs.MsgGuildMembershipJoinProxy.creator": + value := x.Creator + return protoreflect.ValueOfString(value) + case "structs.structs.MsgGuildMembershipJoinProxy.address": + value := x.Address + return protoreflect.ValueOfString(value) + case "structs.structs.MsgGuildMembershipJoinProxy.substationId": + value := x.SubstationId + return protoreflect.ValueOfString(value) + case "structs.structs.MsgGuildMembershipJoinProxy.proofPubKey": + value := x.ProofPubKey + return protoreflect.ValueOfString(value) + case "structs.structs.MsgGuildMembershipJoinProxy.proofSignature": + value := x.ProofSignature + return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipJoinProxy")) } - panic(fmt.Errorf("message structs.structs.MsgGuildMembershipResponse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildMembershipJoinProxy does not contain field %s", descriptor.FullName())) } } @@ -18980,15 +18112,23 @@ func (x *fastReflection_MsgGuildMembershipResponse) Get(descriptor protoreflect. // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgGuildMembershipResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_MsgGuildMembershipJoinProxy) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.MsgGuildMembershipResponse.guildMembershipApplication": - x.GuildMembershipApplication = value.Message().Interface().(*GuildMembershipApplication) + case "structs.structs.MsgGuildMembershipJoinProxy.creator": + x.Creator = value.Interface().(string) + case "structs.structs.MsgGuildMembershipJoinProxy.address": + x.Address = value.Interface().(string) + case "structs.structs.MsgGuildMembershipJoinProxy.substationId": + x.SubstationId = value.Interface().(string) + case "structs.structs.MsgGuildMembershipJoinProxy.proofPubKey": + x.ProofPubKey = value.Interface().(string) + case "structs.structs.MsgGuildMembershipJoinProxy.proofSignature": + x.ProofSignature = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipJoinProxy")) } - panic(fmt.Errorf("message structs.structs.MsgGuildMembershipResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildMembershipJoinProxy does not contain field %s", fd.FullName())) } } @@ -19002,44 +18142,56 @@ func (x *fastReflection_MsgGuildMembershipResponse) Set(fd protoreflect.FieldDes // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgGuildMembershipResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgGuildMembershipJoinProxy) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.MsgGuildMembershipResponse.guildMembershipApplication": - if x.GuildMembershipApplication == nil { - x.GuildMembershipApplication = new(GuildMembershipApplication) - } - return protoreflect.ValueOfMessage(x.GuildMembershipApplication.ProtoReflect()) + case "structs.structs.MsgGuildMembershipJoinProxy.creator": + panic(fmt.Errorf("field creator of message structs.structs.MsgGuildMembershipJoinProxy is not mutable")) + case "structs.structs.MsgGuildMembershipJoinProxy.address": + panic(fmt.Errorf("field address of message structs.structs.MsgGuildMembershipJoinProxy is not mutable")) + case "structs.structs.MsgGuildMembershipJoinProxy.substationId": + panic(fmt.Errorf("field substationId of message structs.structs.MsgGuildMembershipJoinProxy is not mutable")) + case "structs.structs.MsgGuildMembershipJoinProxy.proofPubKey": + panic(fmt.Errorf("field proofPubKey of message structs.structs.MsgGuildMembershipJoinProxy is not mutable")) + case "structs.structs.MsgGuildMembershipJoinProxy.proofSignature": + panic(fmt.Errorf("field proofSignature of message structs.structs.MsgGuildMembershipJoinProxy is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipJoinProxy")) } - panic(fmt.Errorf("message structs.structs.MsgGuildMembershipResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildMembershipJoinProxy 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_MsgGuildMembershipResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgGuildMembershipJoinProxy) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.MsgGuildMembershipResponse.guildMembershipApplication": - m := new(GuildMembershipApplication) - return protoreflect.ValueOfMessage(m.ProtoReflect()) + case "structs.structs.MsgGuildMembershipJoinProxy.creator": + return protoreflect.ValueOfString("") + case "structs.structs.MsgGuildMembershipJoinProxy.address": + return protoreflect.ValueOfString("") + case "structs.structs.MsgGuildMembershipJoinProxy.substationId": + return protoreflect.ValueOfString("") + case "structs.structs.MsgGuildMembershipJoinProxy.proofPubKey": + return protoreflect.ValueOfString("") + case "structs.structs.MsgGuildMembershipJoinProxy.proofSignature": + return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipJoinProxy")) } - panic(fmt.Errorf("message structs.structs.MsgGuildMembershipResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildMembershipJoinProxy 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_MsgGuildMembershipResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_MsgGuildMembershipJoinProxy) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgGuildMembershipResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgGuildMembershipJoinProxy", d.FullName())) } panic("unreachable") } @@ -19047,7 +18199,7 @@ func (x *fastReflection_MsgGuildMembershipResponse) WhichOneof(d protoreflect.On // 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_MsgGuildMembershipResponse) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_MsgGuildMembershipJoinProxy) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -19058,7 +18210,7 @@ func (x *fastReflection_MsgGuildMembershipResponse) GetUnknown() protoreflect.Ra // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgGuildMembershipResponse) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_MsgGuildMembershipJoinProxy) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -19070,7 +18222,7 @@ func (x *fastReflection_MsgGuildMembershipResponse) SetUnknown(fields protorefle // 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_MsgGuildMembershipResponse) IsValid() bool { +func (x *fastReflection_MsgGuildMembershipJoinProxy) IsValid() bool { return x != nil } @@ -19080,9 +18232,9 @@ func (x *fastReflection_MsgGuildMembershipResponse) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_MsgGuildMembershipResponse) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_MsgGuildMembershipJoinProxy) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*MsgGuildMembershipResponse) + x := input.Message.Interface().(*MsgGuildMembershipJoinProxy) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -19094,8 +18246,24 @@ func (x *fastReflection_MsgGuildMembershipResponse) ProtoMethods() *protoiface.M var n int var l int _ = l - if x.GuildMembershipApplication != nil { - l = options.Size(x.GuildMembershipApplication) + l = len(x.Creator) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.Address) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.SubstationId) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.ProofPubKey) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.ProofSignature) + if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } if x.unknownFields != nil { @@ -19108,7 +18276,7 @@ func (x *fastReflection_MsgGuildMembershipResponse) ProtoMethods() *protoiface.M } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*MsgGuildMembershipResponse) + x := input.Message.Interface().(*MsgGuildMembershipJoinProxy) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -19127,17 +18295,38 @@ func (x *fastReflection_MsgGuildMembershipResponse) ProtoMethods() *protoiface.M i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if x.GuildMembershipApplication != nil { - encoded, err := options.Marshal(x.GuildMembershipApplication) - 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))) + if len(x.ProofSignature) > 0 { + i -= len(x.ProofSignature) + copy(dAtA[i:], x.ProofSignature) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.ProofSignature))) + i-- + dAtA[i] = 0x2a + } + if len(x.ProofPubKey) > 0 { + i -= len(x.ProofPubKey) + copy(dAtA[i:], x.ProofPubKey) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.ProofPubKey))) + i-- + dAtA[i] = 0x22 + } + if len(x.SubstationId) > 0 { + i -= len(x.SubstationId) + copy(dAtA[i:], x.SubstationId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.SubstationId))) + i-- + dAtA[i] = 0x1a + } + if len(x.Address) > 0 { + i -= len(x.Address) + copy(dAtA[i:], x.Address) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Address))) + i-- + dAtA[i] = 0x12 + } + if len(x.Creator) > 0 { + i -= len(x.Creator) + copy(dAtA[i:], x.Creator) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Creator))) i-- dAtA[i] = 0xa } @@ -19152,7 +18341,7 @@ func (x *fastReflection_MsgGuildMembershipResponse) ProtoMethods() *protoiface.M }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*MsgGuildMembershipResponse) + x := input.Message.Interface().(*MsgGuildMembershipJoinProxy) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -19184,17 +18373,17 @@ func (x *fastReflection_MsgGuildMembershipResponse) ProtoMethods() *protoiface.M fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgGuildMembershipResponse: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgGuildMembershipJoinProxy: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgGuildMembershipResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgGuildMembershipJoinProxy: 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 GuildMembershipApplication", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -19204,89 +18393,211 @@ func (x *fastReflection_MsgGuildMembershipResponse) ProtoMethods() *protoiface.M } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength } - postIndex := iNdEx + msglen + 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 } - if x.GuildMembershipApplication == nil { - x.GuildMembershipApplication = &GuildMembershipApplication{} + x.Creator = 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 Address", wireType) } - if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.GuildMembershipApplication); err != nil { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + 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.Address = 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 + case 3: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field SubstationId", wireType) } - if (skippy < 0) || (iNdEx+skippy) < 0 { + 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 } - if (iNdEx + skippy) > l { + 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 } - if !options.DiscardUnknown { - x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + x.SubstationId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ProofPubKey", wireType) } - 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_MsgPermissionGrantOnObject protoreflect.MessageDescriptor - fd_MsgPermissionGrantOnObject_creator protoreflect.FieldDescriptor - fd_MsgPermissionGrantOnObject_objectId protoreflect.FieldDescriptor - fd_MsgPermissionGrantOnObject_playerId protoreflect.FieldDescriptor - fd_MsgPermissionGrantOnObject_permissions protoreflect.FieldDescriptor -) - -func init() { - file_structs_structs_tx_proto_init() - md_MsgPermissionGrantOnObject = File_structs_structs_tx_proto.Messages().ByName("MsgPermissionGrantOnObject") - fd_MsgPermissionGrantOnObject_creator = md_MsgPermissionGrantOnObject.Fields().ByName("creator") - fd_MsgPermissionGrantOnObject_objectId = md_MsgPermissionGrantOnObject.Fields().ByName("objectId") - fd_MsgPermissionGrantOnObject_playerId = md_MsgPermissionGrantOnObject.Fields().ByName("playerId") - fd_MsgPermissionGrantOnObject_permissions = md_MsgPermissionGrantOnObject.Fields().ByName("permissions") + 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.ProofPubKey = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 5: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ProofSignature", 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.ProofSignature = 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 _ protoreflect.Message = (*fastReflection_MsgPermissionGrantOnObject)(nil) +var ( + md_MsgGuildMembershipKick protoreflect.MessageDescriptor + fd_MsgGuildMembershipKick_creator protoreflect.FieldDescriptor + fd_MsgGuildMembershipKick_guildId protoreflect.FieldDescriptor + fd_MsgGuildMembershipKick_playerId protoreflect.FieldDescriptor +) -type fastReflection_MsgPermissionGrantOnObject MsgPermissionGrantOnObject +func init() { + file_structs_structs_tx_proto_init() + md_MsgGuildMembershipKick = File_structs_structs_tx_proto.Messages().ByName("MsgGuildMembershipKick") + fd_MsgGuildMembershipKick_creator = md_MsgGuildMembershipKick.Fields().ByName("creator") + fd_MsgGuildMembershipKick_guildId = md_MsgGuildMembershipKick.Fields().ByName("guildId") + fd_MsgGuildMembershipKick_playerId = md_MsgGuildMembershipKick.Fields().ByName("playerId") +} -func (x *MsgPermissionGrantOnObject) ProtoReflect() protoreflect.Message { - return (*fastReflection_MsgPermissionGrantOnObject)(x) +var _ protoreflect.Message = (*fastReflection_MsgGuildMembershipKick)(nil) + +type fastReflection_MsgGuildMembershipKick MsgGuildMembershipKick + +func (x *MsgGuildMembershipKick) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgGuildMembershipKick)(x) } -func (x *MsgPermissionGrantOnObject) slowProtoReflect() protoreflect.Message { +func (x *MsgGuildMembershipKick) slowProtoReflect() protoreflect.Message { mi := &file_structs_structs_tx_proto_msgTypes[37] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -19298,43 +18609,43 @@ func (x *MsgPermissionGrantOnObject) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_MsgPermissionGrantOnObject_messageType fastReflection_MsgPermissionGrantOnObject_messageType -var _ protoreflect.MessageType = fastReflection_MsgPermissionGrantOnObject_messageType{} +var _fastReflection_MsgGuildMembershipKick_messageType fastReflection_MsgGuildMembershipKick_messageType +var _ protoreflect.MessageType = fastReflection_MsgGuildMembershipKick_messageType{} -type fastReflection_MsgPermissionGrantOnObject_messageType struct{} +type fastReflection_MsgGuildMembershipKick_messageType struct{} -func (x fastReflection_MsgPermissionGrantOnObject_messageType) Zero() protoreflect.Message { - return (*fastReflection_MsgPermissionGrantOnObject)(nil) +func (x fastReflection_MsgGuildMembershipKick_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgGuildMembershipKick)(nil) } -func (x fastReflection_MsgPermissionGrantOnObject_messageType) New() protoreflect.Message { - return new(fastReflection_MsgPermissionGrantOnObject) +func (x fastReflection_MsgGuildMembershipKick_messageType) New() protoreflect.Message { + return new(fastReflection_MsgGuildMembershipKick) } -func (x fastReflection_MsgPermissionGrantOnObject_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_MsgPermissionGrantOnObject +func (x fastReflection_MsgGuildMembershipKick_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgGuildMembershipKick } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_MsgPermissionGrantOnObject) Descriptor() protoreflect.MessageDescriptor { - return md_MsgPermissionGrantOnObject +func (x *fastReflection_MsgGuildMembershipKick) Descriptor() protoreflect.MessageDescriptor { + return md_MsgGuildMembershipKick } // 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_MsgPermissionGrantOnObject) Type() protoreflect.MessageType { - return _fastReflection_MsgPermissionGrantOnObject_messageType +func (x *fastReflection_MsgGuildMembershipKick) Type() protoreflect.MessageType { + return _fastReflection_MsgGuildMembershipKick_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_MsgPermissionGrantOnObject) New() protoreflect.Message { - return new(fastReflection_MsgPermissionGrantOnObject) +func (x *fastReflection_MsgGuildMembershipKick) New() protoreflect.Message { + return new(fastReflection_MsgGuildMembershipKick) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_MsgPermissionGrantOnObject) Interface() protoreflect.ProtoMessage { - return (*MsgPermissionGrantOnObject)(x) +func (x *fastReflection_MsgGuildMembershipKick) Interface() protoreflect.ProtoMessage { + return (*MsgGuildMembershipKick)(x) } // Range iterates over every populated field in an undefined order, @@ -19342,28 +18653,22 @@ func (x *fastReflection_MsgPermissionGrantOnObject) Interface() protoreflect.Pro // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_MsgPermissionGrantOnObject) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +func (x *fastReflection_MsgGuildMembershipKick) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { if x.Creator != "" { value := protoreflect.ValueOfString(x.Creator) - if !f(fd_MsgPermissionGrantOnObject_creator, value) { + if !f(fd_MsgGuildMembershipKick_creator, value) { return } } - if x.ObjectId != "" { - value := protoreflect.ValueOfString(x.ObjectId) - if !f(fd_MsgPermissionGrantOnObject_objectId, value) { + if x.GuildId != "" { + value := protoreflect.ValueOfString(x.GuildId) + if !f(fd_MsgGuildMembershipKick_guildId, value) { return } } if x.PlayerId != "" { value := protoreflect.ValueOfString(x.PlayerId) - if !f(fd_MsgPermissionGrantOnObject_playerId, value) { - return - } - } - if x.Permissions != uint64(0) { - value := protoreflect.ValueOfUint64(x.Permissions) - if !f(fd_MsgPermissionGrantOnObject_permissions, value) { + if !f(fd_MsgGuildMembershipKick_playerId, value) { return } } @@ -19380,21 +18685,19 @@ func (x *fastReflection_MsgPermissionGrantOnObject) Range(f func(protoreflect.Fi // 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_MsgPermissionGrantOnObject) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_MsgGuildMembershipKick) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.MsgPermissionGrantOnObject.creator": + case "structs.structs.MsgGuildMembershipKick.creator": return x.Creator != "" - case "structs.structs.MsgPermissionGrantOnObject.objectId": - return x.ObjectId != "" - case "structs.structs.MsgPermissionGrantOnObject.playerId": + case "structs.structs.MsgGuildMembershipKick.guildId": + return x.GuildId != "" + case "structs.structs.MsgGuildMembershipKick.playerId": return x.PlayerId != "" - case "structs.structs.MsgPermissionGrantOnObject.permissions": - return x.Permissions != uint64(0) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPermissionGrantOnObject")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipKick")) } - panic(fmt.Errorf("message structs.structs.MsgPermissionGrantOnObject does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildMembershipKick does not contain field %s", fd.FullName())) } } @@ -19404,21 +18707,19 @@ func (x *fastReflection_MsgPermissionGrantOnObject) Has(fd protoreflect.FieldDes // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgPermissionGrantOnObject) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_MsgGuildMembershipKick) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.MsgPermissionGrantOnObject.creator": + case "structs.structs.MsgGuildMembershipKick.creator": x.Creator = "" - case "structs.structs.MsgPermissionGrantOnObject.objectId": - x.ObjectId = "" - case "structs.structs.MsgPermissionGrantOnObject.playerId": + case "structs.structs.MsgGuildMembershipKick.guildId": + x.GuildId = "" + case "structs.structs.MsgGuildMembershipKick.playerId": x.PlayerId = "" - case "structs.structs.MsgPermissionGrantOnObject.permissions": - x.Permissions = uint64(0) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPermissionGrantOnObject")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipKick")) } - panic(fmt.Errorf("message structs.structs.MsgPermissionGrantOnObject does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildMembershipKick does not contain field %s", fd.FullName())) } } @@ -19428,25 +18729,22 @@ func (x *fastReflection_MsgPermissionGrantOnObject) Clear(fd protoreflect.FieldD // 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_MsgPermissionGrantOnObject) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgGuildMembershipKick) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.MsgPermissionGrantOnObject.creator": + case "structs.structs.MsgGuildMembershipKick.creator": value := x.Creator return protoreflect.ValueOfString(value) - case "structs.structs.MsgPermissionGrantOnObject.objectId": - value := x.ObjectId + case "structs.structs.MsgGuildMembershipKick.guildId": + value := x.GuildId return protoreflect.ValueOfString(value) - case "structs.structs.MsgPermissionGrantOnObject.playerId": + case "structs.structs.MsgGuildMembershipKick.playerId": value := x.PlayerId return protoreflect.ValueOfString(value) - case "structs.structs.MsgPermissionGrantOnObject.permissions": - value := x.Permissions - return protoreflect.ValueOfUint64(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPermissionGrantOnObject")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipKick")) } - panic(fmt.Errorf("message structs.structs.MsgPermissionGrantOnObject does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildMembershipKick does not contain field %s", descriptor.FullName())) } } @@ -19460,21 +18758,19 @@ func (x *fastReflection_MsgPermissionGrantOnObject) Get(descriptor protoreflect. // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgPermissionGrantOnObject) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_MsgGuildMembershipKick) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.MsgPermissionGrantOnObject.creator": + case "structs.structs.MsgGuildMembershipKick.creator": x.Creator = value.Interface().(string) - case "structs.structs.MsgPermissionGrantOnObject.objectId": - x.ObjectId = value.Interface().(string) - case "structs.structs.MsgPermissionGrantOnObject.playerId": + case "structs.structs.MsgGuildMembershipKick.guildId": + x.GuildId = value.Interface().(string) + case "structs.structs.MsgGuildMembershipKick.playerId": x.PlayerId = value.Interface().(string) - case "structs.structs.MsgPermissionGrantOnObject.permissions": - x.Permissions = value.Uint() default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPermissionGrantOnObject")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipKick")) } - panic(fmt.Errorf("message structs.structs.MsgPermissionGrantOnObject does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildMembershipKick does not contain field %s", fd.FullName())) } } @@ -19488,52 +18784,48 @@ func (x *fastReflection_MsgPermissionGrantOnObject) Set(fd protoreflect.FieldDes // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgPermissionGrantOnObject) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgGuildMembershipKick) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.MsgPermissionGrantOnObject.creator": - panic(fmt.Errorf("field creator of message structs.structs.MsgPermissionGrantOnObject is not mutable")) - case "structs.structs.MsgPermissionGrantOnObject.objectId": - panic(fmt.Errorf("field objectId of message structs.structs.MsgPermissionGrantOnObject is not mutable")) - case "structs.structs.MsgPermissionGrantOnObject.playerId": - panic(fmt.Errorf("field playerId of message structs.structs.MsgPermissionGrantOnObject is not mutable")) - case "structs.structs.MsgPermissionGrantOnObject.permissions": - panic(fmt.Errorf("field permissions of message structs.structs.MsgPermissionGrantOnObject is not mutable")) + case "structs.structs.MsgGuildMembershipKick.creator": + panic(fmt.Errorf("field creator of message structs.structs.MsgGuildMembershipKick is not mutable")) + case "structs.structs.MsgGuildMembershipKick.guildId": + panic(fmt.Errorf("field guildId of message structs.structs.MsgGuildMembershipKick is not mutable")) + case "structs.structs.MsgGuildMembershipKick.playerId": + panic(fmt.Errorf("field playerId of message structs.structs.MsgGuildMembershipKick is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPermissionGrantOnObject")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipKick")) } - panic(fmt.Errorf("message structs.structs.MsgPermissionGrantOnObject does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildMembershipKick 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_MsgPermissionGrantOnObject) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgGuildMembershipKick) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.MsgPermissionGrantOnObject.creator": + case "structs.structs.MsgGuildMembershipKick.creator": return protoreflect.ValueOfString("") - case "structs.structs.MsgPermissionGrantOnObject.objectId": + case "structs.structs.MsgGuildMembershipKick.guildId": return protoreflect.ValueOfString("") - case "structs.structs.MsgPermissionGrantOnObject.playerId": + case "structs.structs.MsgGuildMembershipKick.playerId": return protoreflect.ValueOfString("") - case "structs.structs.MsgPermissionGrantOnObject.permissions": - return protoreflect.ValueOfUint64(uint64(0)) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPermissionGrantOnObject")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipKick")) } - panic(fmt.Errorf("message structs.structs.MsgPermissionGrantOnObject does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildMembershipKick 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_MsgPermissionGrantOnObject) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_MsgGuildMembershipKick) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgPermissionGrantOnObject", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgGuildMembershipKick", d.FullName())) } panic("unreachable") } @@ -19541,7 +18833,7 @@ func (x *fastReflection_MsgPermissionGrantOnObject) WhichOneof(d protoreflect.On // 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_MsgPermissionGrantOnObject) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_MsgGuildMembershipKick) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -19552,7 +18844,7 @@ func (x *fastReflection_MsgPermissionGrantOnObject) GetUnknown() protoreflect.Ra // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgPermissionGrantOnObject) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_MsgGuildMembershipKick) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -19564,7 +18856,7 @@ func (x *fastReflection_MsgPermissionGrantOnObject) SetUnknown(fields protorefle // 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_MsgPermissionGrantOnObject) IsValid() bool { +func (x *fastReflection_MsgGuildMembershipKick) IsValid() bool { return x != nil } @@ -19574,9 +18866,9 @@ func (x *fastReflection_MsgPermissionGrantOnObject) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_MsgPermissionGrantOnObject) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_MsgGuildMembershipKick) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*MsgPermissionGrantOnObject) + x := input.Message.Interface().(*MsgGuildMembershipKick) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -19592,7 +18884,7 @@ func (x *fastReflection_MsgPermissionGrantOnObject) ProtoMethods() *protoiface.M if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } - l = len(x.ObjectId) + l = len(x.GuildId) if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } @@ -19600,9 +18892,6 @@ func (x *fastReflection_MsgPermissionGrantOnObject) ProtoMethods() *protoiface.M if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } - if x.Permissions != 0 { - n += 1 + runtime.Sov(uint64(x.Permissions)) - } if x.unknownFields != nil { n += len(x.unknownFields) } @@ -19613,7 +18902,7 @@ func (x *fastReflection_MsgPermissionGrantOnObject) ProtoMethods() *protoiface.M } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*MsgPermissionGrantOnObject) + x := input.Message.Interface().(*MsgGuildMembershipKick) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -19632,11 +18921,6 @@ func (x *fastReflection_MsgPermissionGrantOnObject) ProtoMethods() *protoiface.M i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if x.Permissions != 0 { - i = runtime.EncodeVarint(dAtA, i, uint64(x.Permissions)) - i-- - dAtA[i] = 0x20 - } if len(x.PlayerId) > 0 { i -= len(x.PlayerId) copy(dAtA[i:], x.PlayerId) @@ -19644,10 +18928,10 @@ func (x *fastReflection_MsgPermissionGrantOnObject) ProtoMethods() *protoiface.M i-- dAtA[i] = 0x1a } - if len(x.ObjectId) > 0 { - i -= len(x.ObjectId) - copy(dAtA[i:], x.ObjectId) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.ObjectId))) + if len(x.GuildId) > 0 { + i -= len(x.GuildId) + copy(dAtA[i:], x.GuildId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.GuildId))) i-- dAtA[i] = 0x12 } @@ -19669,7 +18953,7 @@ func (x *fastReflection_MsgPermissionGrantOnObject) ProtoMethods() *protoiface.M }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*MsgPermissionGrantOnObject) + x := input.Message.Interface().(*MsgGuildMembershipKick) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -19701,10 +18985,10 @@ func (x *fastReflection_MsgPermissionGrantOnObject) ProtoMethods() *protoiface.M fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgPermissionGrantOnObject: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgGuildMembershipKick: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgPermissionGrantOnObject: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgGuildMembershipKick: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -19741,7 +19025,7 @@ func (x *fastReflection_MsgPermissionGrantOnObject) ProtoMethods() *protoiface.M iNdEx = postIndex case 2: if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ObjectId", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field GuildId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -19769,7 +19053,7 @@ func (x *fastReflection_MsgPermissionGrantOnObject) ProtoMethods() *protoiface.M if postIndex > l { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - x.ObjectId = string(dAtA[iNdEx:postIndex]) + x.GuildId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 3: if wireType != 2 { @@ -19803,25 +19087,6 @@ func (x *fastReflection_MsgPermissionGrantOnObject) ProtoMethods() *protoiface.M } x.PlayerId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 4: - if wireType != 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Permissions", wireType) - } - x.Permissions = 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.Permissions |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } default: iNdEx = preIndex skippy, err := runtime.Skip(dAtA[iNdEx:]) @@ -19858,29 +19123,31 @@ func (x *fastReflection_MsgPermissionGrantOnObject) ProtoMethods() *protoiface.M } var ( - md_MsgPermissionGrantOnAddress protoreflect.MessageDescriptor - fd_MsgPermissionGrantOnAddress_creator protoreflect.FieldDescriptor - fd_MsgPermissionGrantOnAddress_address protoreflect.FieldDescriptor - fd_MsgPermissionGrantOnAddress_permissions protoreflect.FieldDescriptor + md_MsgGuildMembershipRequest protoreflect.MessageDescriptor + fd_MsgGuildMembershipRequest_creator protoreflect.FieldDescriptor + fd_MsgGuildMembershipRequest_guildId protoreflect.FieldDescriptor + fd_MsgGuildMembershipRequest_playerId protoreflect.FieldDescriptor + fd_MsgGuildMembershipRequest_substationId protoreflect.FieldDescriptor ) func init() { file_structs_structs_tx_proto_init() - md_MsgPermissionGrantOnAddress = File_structs_structs_tx_proto.Messages().ByName("MsgPermissionGrantOnAddress") - fd_MsgPermissionGrantOnAddress_creator = md_MsgPermissionGrantOnAddress.Fields().ByName("creator") - fd_MsgPermissionGrantOnAddress_address = md_MsgPermissionGrantOnAddress.Fields().ByName("address") - fd_MsgPermissionGrantOnAddress_permissions = md_MsgPermissionGrantOnAddress.Fields().ByName("permissions") + md_MsgGuildMembershipRequest = File_structs_structs_tx_proto.Messages().ByName("MsgGuildMembershipRequest") + fd_MsgGuildMembershipRequest_creator = md_MsgGuildMembershipRequest.Fields().ByName("creator") + fd_MsgGuildMembershipRequest_guildId = md_MsgGuildMembershipRequest.Fields().ByName("guildId") + fd_MsgGuildMembershipRequest_playerId = md_MsgGuildMembershipRequest.Fields().ByName("playerId") + fd_MsgGuildMembershipRequest_substationId = md_MsgGuildMembershipRequest.Fields().ByName("substationId") } -var _ protoreflect.Message = (*fastReflection_MsgPermissionGrantOnAddress)(nil) +var _ protoreflect.Message = (*fastReflection_MsgGuildMembershipRequest)(nil) -type fastReflection_MsgPermissionGrantOnAddress MsgPermissionGrantOnAddress +type fastReflection_MsgGuildMembershipRequest MsgGuildMembershipRequest -func (x *MsgPermissionGrantOnAddress) ProtoReflect() protoreflect.Message { - return (*fastReflection_MsgPermissionGrantOnAddress)(x) +func (x *MsgGuildMembershipRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgGuildMembershipRequest)(x) } -func (x *MsgPermissionGrantOnAddress) slowProtoReflect() protoreflect.Message { +func (x *MsgGuildMembershipRequest) slowProtoReflect() protoreflect.Message { mi := &file_structs_structs_tx_proto_msgTypes[38] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -19892,43 +19159,43 @@ func (x *MsgPermissionGrantOnAddress) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_MsgPermissionGrantOnAddress_messageType fastReflection_MsgPermissionGrantOnAddress_messageType -var _ protoreflect.MessageType = fastReflection_MsgPermissionGrantOnAddress_messageType{} +var _fastReflection_MsgGuildMembershipRequest_messageType fastReflection_MsgGuildMembershipRequest_messageType +var _ protoreflect.MessageType = fastReflection_MsgGuildMembershipRequest_messageType{} -type fastReflection_MsgPermissionGrantOnAddress_messageType struct{} +type fastReflection_MsgGuildMembershipRequest_messageType struct{} -func (x fastReflection_MsgPermissionGrantOnAddress_messageType) Zero() protoreflect.Message { - return (*fastReflection_MsgPermissionGrantOnAddress)(nil) +func (x fastReflection_MsgGuildMembershipRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgGuildMembershipRequest)(nil) } -func (x fastReflection_MsgPermissionGrantOnAddress_messageType) New() protoreflect.Message { - return new(fastReflection_MsgPermissionGrantOnAddress) +func (x fastReflection_MsgGuildMembershipRequest_messageType) New() protoreflect.Message { + return new(fastReflection_MsgGuildMembershipRequest) } -func (x fastReflection_MsgPermissionGrantOnAddress_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_MsgPermissionGrantOnAddress +func (x fastReflection_MsgGuildMembershipRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgGuildMembershipRequest } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_MsgPermissionGrantOnAddress) Descriptor() protoreflect.MessageDescriptor { - return md_MsgPermissionGrantOnAddress +func (x *fastReflection_MsgGuildMembershipRequest) Descriptor() protoreflect.MessageDescriptor { + return md_MsgGuildMembershipRequest } // 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_MsgPermissionGrantOnAddress) Type() protoreflect.MessageType { - return _fastReflection_MsgPermissionGrantOnAddress_messageType +func (x *fastReflection_MsgGuildMembershipRequest) Type() protoreflect.MessageType { + return _fastReflection_MsgGuildMembershipRequest_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_MsgPermissionGrantOnAddress) New() protoreflect.Message { - return new(fastReflection_MsgPermissionGrantOnAddress) +func (x *fastReflection_MsgGuildMembershipRequest) New() protoreflect.Message { + return new(fastReflection_MsgGuildMembershipRequest) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_MsgPermissionGrantOnAddress) Interface() protoreflect.ProtoMessage { - return (*MsgPermissionGrantOnAddress)(x) +func (x *fastReflection_MsgGuildMembershipRequest) Interface() protoreflect.ProtoMessage { + return (*MsgGuildMembershipRequest)(x) } // Range iterates over every populated field in an undefined order, @@ -19936,22 +19203,28 @@ func (x *fastReflection_MsgPermissionGrantOnAddress) Interface() protoreflect.Pr // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_MsgPermissionGrantOnAddress) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +func (x *fastReflection_MsgGuildMembershipRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { if x.Creator != "" { value := protoreflect.ValueOfString(x.Creator) - if !f(fd_MsgPermissionGrantOnAddress_creator, value) { + if !f(fd_MsgGuildMembershipRequest_creator, value) { return } } - if x.Address != "" { - value := protoreflect.ValueOfString(x.Address) - if !f(fd_MsgPermissionGrantOnAddress_address, value) { + if x.GuildId != "" { + value := protoreflect.ValueOfString(x.GuildId) + if !f(fd_MsgGuildMembershipRequest_guildId, value) { return } } - if x.Permissions != uint64(0) { - value := protoreflect.ValueOfUint64(x.Permissions) - if !f(fd_MsgPermissionGrantOnAddress_permissions, value) { + if x.PlayerId != "" { + value := protoreflect.ValueOfString(x.PlayerId) + if !f(fd_MsgGuildMembershipRequest_playerId, value) { + return + } + } + if x.SubstationId != "" { + value := protoreflect.ValueOfString(x.SubstationId) + if !f(fd_MsgGuildMembershipRequest_substationId, value) { return } } @@ -19968,19 +19241,21 @@ func (x *fastReflection_MsgPermissionGrantOnAddress) Range(f func(protoreflect.F // 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_MsgPermissionGrantOnAddress) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_MsgGuildMembershipRequest) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.MsgPermissionGrantOnAddress.creator": + case "structs.structs.MsgGuildMembershipRequest.creator": return x.Creator != "" - case "structs.structs.MsgPermissionGrantOnAddress.address": - return x.Address != "" - case "structs.structs.MsgPermissionGrantOnAddress.permissions": - return x.Permissions != uint64(0) + case "structs.structs.MsgGuildMembershipRequest.guildId": + return x.GuildId != "" + case "structs.structs.MsgGuildMembershipRequest.playerId": + return x.PlayerId != "" + case "structs.structs.MsgGuildMembershipRequest.substationId": + return x.SubstationId != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPermissionGrantOnAddress")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipRequest")) } - panic(fmt.Errorf("message structs.structs.MsgPermissionGrantOnAddress does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildMembershipRequest does not contain field %s", fd.FullName())) } } @@ -19990,19 +19265,21 @@ func (x *fastReflection_MsgPermissionGrantOnAddress) Has(fd protoreflect.FieldDe // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgPermissionGrantOnAddress) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_MsgGuildMembershipRequest) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.MsgPermissionGrantOnAddress.creator": + case "structs.structs.MsgGuildMembershipRequest.creator": x.Creator = "" - case "structs.structs.MsgPermissionGrantOnAddress.address": - x.Address = "" - case "structs.structs.MsgPermissionGrantOnAddress.permissions": - x.Permissions = uint64(0) + case "structs.structs.MsgGuildMembershipRequest.guildId": + x.GuildId = "" + case "structs.structs.MsgGuildMembershipRequest.playerId": + x.PlayerId = "" + case "structs.structs.MsgGuildMembershipRequest.substationId": + x.SubstationId = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPermissionGrantOnAddress")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipRequest")) } - panic(fmt.Errorf("message structs.structs.MsgPermissionGrantOnAddress does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildMembershipRequest does not contain field %s", fd.FullName())) } } @@ -20012,22 +19289,25 @@ func (x *fastReflection_MsgPermissionGrantOnAddress) Clear(fd protoreflect.Field // 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_MsgPermissionGrantOnAddress) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgGuildMembershipRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.MsgPermissionGrantOnAddress.creator": + case "structs.structs.MsgGuildMembershipRequest.creator": value := x.Creator return protoreflect.ValueOfString(value) - case "structs.structs.MsgPermissionGrantOnAddress.address": - value := x.Address + case "structs.structs.MsgGuildMembershipRequest.guildId": + value := x.GuildId + return protoreflect.ValueOfString(value) + case "structs.structs.MsgGuildMembershipRequest.playerId": + value := x.PlayerId + return protoreflect.ValueOfString(value) + case "structs.structs.MsgGuildMembershipRequest.substationId": + value := x.SubstationId return protoreflect.ValueOfString(value) - case "structs.structs.MsgPermissionGrantOnAddress.permissions": - value := x.Permissions - return protoreflect.ValueOfUint64(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPermissionGrantOnAddress")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipRequest")) } - panic(fmt.Errorf("message structs.structs.MsgPermissionGrantOnAddress does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildMembershipRequest does not contain field %s", descriptor.FullName())) } } @@ -20041,19 +19321,21 @@ func (x *fastReflection_MsgPermissionGrantOnAddress) Get(descriptor protoreflect // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgPermissionGrantOnAddress) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_MsgGuildMembershipRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.MsgPermissionGrantOnAddress.creator": + case "structs.structs.MsgGuildMembershipRequest.creator": x.Creator = value.Interface().(string) - case "structs.structs.MsgPermissionGrantOnAddress.address": - x.Address = value.Interface().(string) - case "structs.structs.MsgPermissionGrantOnAddress.permissions": - x.Permissions = value.Uint() + case "structs.structs.MsgGuildMembershipRequest.guildId": + x.GuildId = value.Interface().(string) + case "structs.structs.MsgGuildMembershipRequest.playerId": + x.PlayerId = value.Interface().(string) + case "structs.structs.MsgGuildMembershipRequest.substationId": + x.SubstationId = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPermissionGrantOnAddress")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipRequest")) } - panic(fmt.Errorf("message structs.structs.MsgPermissionGrantOnAddress does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildMembershipRequest does not contain field %s", fd.FullName())) } } @@ -20067,48 +19349,52 @@ func (x *fastReflection_MsgPermissionGrantOnAddress) Set(fd protoreflect.FieldDe // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgPermissionGrantOnAddress) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgGuildMembershipRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.MsgPermissionGrantOnAddress.creator": - panic(fmt.Errorf("field creator of message structs.structs.MsgPermissionGrantOnAddress is not mutable")) - case "structs.structs.MsgPermissionGrantOnAddress.address": - panic(fmt.Errorf("field address of message structs.structs.MsgPermissionGrantOnAddress is not mutable")) - case "structs.structs.MsgPermissionGrantOnAddress.permissions": - panic(fmt.Errorf("field permissions of message structs.structs.MsgPermissionGrantOnAddress is not mutable")) + case "structs.structs.MsgGuildMembershipRequest.creator": + panic(fmt.Errorf("field creator of message structs.structs.MsgGuildMembershipRequest is not mutable")) + case "structs.structs.MsgGuildMembershipRequest.guildId": + panic(fmt.Errorf("field guildId of message structs.structs.MsgGuildMembershipRequest is not mutable")) + case "structs.structs.MsgGuildMembershipRequest.playerId": + panic(fmt.Errorf("field playerId of message structs.structs.MsgGuildMembershipRequest is not mutable")) + case "structs.structs.MsgGuildMembershipRequest.substationId": + panic(fmt.Errorf("field substationId of message structs.structs.MsgGuildMembershipRequest is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPermissionGrantOnAddress")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipRequest")) } - panic(fmt.Errorf("message structs.structs.MsgPermissionGrantOnAddress does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildMembershipRequest 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_MsgPermissionGrantOnAddress) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgGuildMembershipRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.MsgPermissionGrantOnAddress.creator": + case "structs.structs.MsgGuildMembershipRequest.creator": return protoreflect.ValueOfString("") - case "structs.structs.MsgPermissionGrantOnAddress.address": + case "structs.structs.MsgGuildMembershipRequest.guildId": + return protoreflect.ValueOfString("") + case "structs.structs.MsgGuildMembershipRequest.playerId": + return protoreflect.ValueOfString("") + case "structs.structs.MsgGuildMembershipRequest.substationId": return protoreflect.ValueOfString("") - case "structs.structs.MsgPermissionGrantOnAddress.permissions": - return protoreflect.ValueOfUint64(uint64(0)) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPermissionGrantOnAddress")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipRequest")) } - panic(fmt.Errorf("message structs.structs.MsgPermissionGrantOnAddress does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildMembershipRequest 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_MsgPermissionGrantOnAddress) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_MsgGuildMembershipRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgPermissionGrantOnAddress", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgGuildMembershipRequest", d.FullName())) } panic("unreachable") } @@ -20116,7 +19402,7 @@ func (x *fastReflection_MsgPermissionGrantOnAddress) WhichOneof(d protoreflect.O // 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_MsgPermissionGrantOnAddress) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_MsgGuildMembershipRequest) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -20127,7 +19413,7 @@ func (x *fastReflection_MsgPermissionGrantOnAddress) GetUnknown() protoreflect.R // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgPermissionGrantOnAddress) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_MsgGuildMembershipRequest) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -20139,7 +19425,7 @@ func (x *fastReflection_MsgPermissionGrantOnAddress) SetUnknown(fields protorefl // 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_MsgPermissionGrantOnAddress) IsValid() bool { +func (x *fastReflection_MsgGuildMembershipRequest) IsValid() bool { return x != nil } @@ -20149,9 +19435,9 @@ func (x *fastReflection_MsgPermissionGrantOnAddress) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_MsgPermissionGrantOnAddress) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_MsgGuildMembershipRequest) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*MsgPermissionGrantOnAddress) + x := input.Message.Interface().(*MsgGuildMembershipRequest) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -20167,12 +19453,17 @@ func (x *fastReflection_MsgPermissionGrantOnAddress) ProtoMethods() *protoiface. if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } - l = len(x.Address) + l = len(x.GuildId) if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } - if x.Permissions != 0 { - n += 1 + runtime.Sov(uint64(x.Permissions)) + l = len(x.PlayerId) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.SubstationId) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) } if x.unknownFields != nil { n += len(x.unknownFields) @@ -20184,7 +19475,7 @@ func (x *fastReflection_MsgPermissionGrantOnAddress) ProtoMethods() *protoiface. } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*MsgPermissionGrantOnAddress) + x := input.Message.Interface().(*MsgGuildMembershipRequest) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -20203,15 +19494,24 @@ func (x *fastReflection_MsgPermissionGrantOnAddress) ProtoMethods() *protoiface. i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if x.Permissions != 0 { - i = runtime.EncodeVarint(dAtA, i, uint64(x.Permissions)) + if len(x.SubstationId) > 0 { + i -= len(x.SubstationId) + copy(dAtA[i:], x.SubstationId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.SubstationId))) i-- - dAtA[i] = 0x18 + dAtA[i] = 0x22 } - if len(x.Address) > 0 { - i -= len(x.Address) - copy(dAtA[i:], x.Address) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Address))) + if len(x.PlayerId) > 0 { + i -= len(x.PlayerId) + copy(dAtA[i:], x.PlayerId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.PlayerId))) + i-- + dAtA[i] = 0x1a + } + if len(x.GuildId) > 0 { + i -= len(x.GuildId) + copy(dAtA[i:], x.GuildId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.GuildId))) i-- dAtA[i] = 0x12 } @@ -20233,7 +19533,7 @@ func (x *fastReflection_MsgPermissionGrantOnAddress) ProtoMethods() *protoiface. }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*MsgPermissionGrantOnAddress) + x := input.Message.Interface().(*MsgGuildMembershipRequest) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -20265,10 +19565,10 @@ func (x *fastReflection_MsgPermissionGrantOnAddress) ProtoMethods() *protoiface. fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgPermissionGrantOnAddress: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgGuildMembershipRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgPermissionGrantOnAddress: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgGuildMembershipRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -20305,7 +19605,7 @@ func (x *fastReflection_MsgPermissionGrantOnAddress) ProtoMethods() *protoiface. iNdEx = postIndex case 2: if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field GuildId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -20333,13 +19633,13 @@ func (x *fastReflection_MsgPermissionGrantOnAddress) ProtoMethods() *protoiface. if postIndex > l { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - x.Address = string(dAtA[iNdEx:postIndex]) + x.GuildId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 3: - if wireType != 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Permissions", wireType) + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field PlayerId", wireType) } - x.Permissions = 0 + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -20349,11 +19649,56 @@ func (x *fastReflection_MsgPermissionGrantOnAddress) ProtoMethods() *protoiface. } b := dAtA[iNdEx] iNdEx++ - x.Permissions |= uint64(b&0x7F) << shift + 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.PlayerId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field SubstationId", 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.SubstationId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := runtime.Skip(dAtA[iNdEx:]) @@ -20390,31 +19735,31 @@ func (x *fastReflection_MsgPermissionGrantOnAddress) ProtoMethods() *protoiface. } var ( - md_MsgPermissionRevokeOnObject protoreflect.MessageDescriptor - fd_MsgPermissionRevokeOnObject_creator protoreflect.FieldDescriptor - fd_MsgPermissionRevokeOnObject_objectId protoreflect.FieldDescriptor - fd_MsgPermissionRevokeOnObject_playerId protoreflect.FieldDescriptor - fd_MsgPermissionRevokeOnObject_permissions protoreflect.FieldDescriptor + md_MsgGuildMembershipRequestApprove protoreflect.MessageDescriptor + fd_MsgGuildMembershipRequestApprove_creator protoreflect.FieldDescriptor + fd_MsgGuildMembershipRequestApprove_guildId protoreflect.FieldDescriptor + fd_MsgGuildMembershipRequestApprove_playerId protoreflect.FieldDescriptor + fd_MsgGuildMembershipRequestApprove_substationId protoreflect.FieldDescriptor ) func init() { file_structs_structs_tx_proto_init() - md_MsgPermissionRevokeOnObject = File_structs_structs_tx_proto.Messages().ByName("MsgPermissionRevokeOnObject") - fd_MsgPermissionRevokeOnObject_creator = md_MsgPermissionRevokeOnObject.Fields().ByName("creator") - fd_MsgPermissionRevokeOnObject_objectId = md_MsgPermissionRevokeOnObject.Fields().ByName("objectId") - fd_MsgPermissionRevokeOnObject_playerId = md_MsgPermissionRevokeOnObject.Fields().ByName("playerId") - fd_MsgPermissionRevokeOnObject_permissions = md_MsgPermissionRevokeOnObject.Fields().ByName("permissions") + md_MsgGuildMembershipRequestApprove = File_structs_structs_tx_proto.Messages().ByName("MsgGuildMembershipRequestApprove") + fd_MsgGuildMembershipRequestApprove_creator = md_MsgGuildMembershipRequestApprove.Fields().ByName("creator") + fd_MsgGuildMembershipRequestApprove_guildId = md_MsgGuildMembershipRequestApprove.Fields().ByName("guildId") + fd_MsgGuildMembershipRequestApprove_playerId = md_MsgGuildMembershipRequestApprove.Fields().ByName("playerId") + fd_MsgGuildMembershipRequestApprove_substationId = md_MsgGuildMembershipRequestApprove.Fields().ByName("substationId") } -var _ protoreflect.Message = (*fastReflection_MsgPermissionRevokeOnObject)(nil) +var _ protoreflect.Message = (*fastReflection_MsgGuildMembershipRequestApprove)(nil) -type fastReflection_MsgPermissionRevokeOnObject MsgPermissionRevokeOnObject +type fastReflection_MsgGuildMembershipRequestApprove MsgGuildMembershipRequestApprove -func (x *MsgPermissionRevokeOnObject) ProtoReflect() protoreflect.Message { - return (*fastReflection_MsgPermissionRevokeOnObject)(x) +func (x *MsgGuildMembershipRequestApprove) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgGuildMembershipRequestApprove)(x) } -func (x *MsgPermissionRevokeOnObject) slowProtoReflect() protoreflect.Message { +func (x *MsgGuildMembershipRequestApprove) slowProtoReflect() protoreflect.Message { mi := &file_structs_structs_tx_proto_msgTypes[39] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -20426,43 +19771,43 @@ func (x *MsgPermissionRevokeOnObject) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_MsgPermissionRevokeOnObject_messageType fastReflection_MsgPermissionRevokeOnObject_messageType -var _ protoreflect.MessageType = fastReflection_MsgPermissionRevokeOnObject_messageType{} +var _fastReflection_MsgGuildMembershipRequestApprove_messageType fastReflection_MsgGuildMembershipRequestApprove_messageType +var _ protoreflect.MessageType = fastReflection_MsgGuildMembershipRequestApprove_messageType{} -type fastReflection_MsgPermissionRevokeOnObject_messageType struct{} +type fastReflection_MsgGuildMembershipRequestApprove_messageType struct{} -func (x fastReflection_MsgPermissionRevokeOnObject_messageType) Zero() protoreflect.Message { - return (*fastReflection_MsgPermissionRevokeOnObject)(nil) +func (x fastReflection_MsgGuildMembershipRequestApprove_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgGuildMembershipRequestApprove)(nil) } -func (x fastReflection_MsgPermissionRevokeOnObject_messageType) New() protoreflect.Message { - return new(fastReflection_MsgPermissionRevokeOnObject) +func (x fastReflection_MsgGuildMembershipRequestApprove_messageType) New() protoreflect.Message { + return new(fastReflection_MsgGuildMembershipRequestApprove) } -func (x fastReflection_MsgPermissionRevokeOnObject_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_MsgPermissionRevokeOnObject +func (x fastReflection_MsgGuildMembershipRequestApprove_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgGuildMembershipRequestApprove } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_MsgPermissionRevokeOnObject) Descriptor() protoreflect.MessageDescriptor { - return md_MsgPermissionRevokeOnObject +func (x *fastReflection_MsgGuildMembershipRequestApprove) Descriptor() protoreflect.MessageDescriptor { + return md_MsgGuildMembershipRequestApprove } // 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_MsgPermissionRevokeOnObject) Type() protoreflect.MessageType { - return _fastReflection_MsgPermissionRevokeOnObject_messageType +func (x *fastReflection_MsgGuildMembershipRequestApprove) Type() protoreflect.MessageType { + return _fastReflection_MsgGuildMembershipRequestApprove_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_MsgPermissionRevokeOnObject) New() protoreflect.Message { - return new(fastReflection_MsgPermissionRevokeOnObject) +func (x *fastReflection_MsgGuildMembershipRequestApprove) New() protoreflect.Message { + return new(fastReflection_MsgGuildMembershipRequestApprove) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_MsgPermissionRevokeOnObject) Interface() protoreflect.ProtoMessage { - return (*MsgPermissionRevokeOnObject)(x) +func (x *fastReflection_MsgGuildMembershipRequestApprove) Interface() protoreflect.ProtoMessage { + return (*MsgGuildMembershipRequestApprove)(x) } // Range iterates over every populated field in an undefined order, @@ -20470,28 +19815,28 @@ func (x *fastReflection_MsgPermissionRevokeOnObject) Interface() protoreflect.Pr // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_MsgPermissionRevokeOnObject) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +func (x *fastReflection_MsgGuildMembershipRequestApprove) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { if x.Creator != "" { value := protoreflect.ValueOfString(x.Creator) - if !f(fd_MsgPermissionRevokeOnObject_creator, value) { + if !f(fd_MsgGuildMembershipRequestApprove_creator, value) { return } } - if x.ObjectId != "" { - value := protoreflect.ValueOfString(x.ObjectId) - if !f(fd_MsgPermissionRevokeOnObject_objectId, value) { + if x.GuildId != "" { + value := protoreflect.ValueOfString(x.GuildId) + if !f(fd_MsgGuildMembershipRequestApprove_guildId, value) { return } } if x.PlayerId != "" { value := protoreflect.ValueOfString(x.PlayerId) - if !f(fd_MsgPermissionRevokeOnObject_playerId, value) { + if !f(fd_MsgGuildMembershipRequestApprove_playerId, value) { return } } - if x.Permissions != uint64(0) { - value := protoreflect.ValueOfUint64(x.Permissions) - if !f(fd_MsgPermissionRevokeOnObject_permissions, value) { + if x.SubstationId != "" { + value := protoreflect.ValueOfString(x.SubstationId) + if !f(fd_MsgGuildMembershipRequestApprove_substationId, value) { return } } @@ -20508,21 +19853,21 @@ func (x *fastReflection_MsgPermissionRevokeOnObject) Range(f func(protoreflect.F // 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_MsgPermissionRevokeOnObject) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_MsgGuildMembershipRequestApprove) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.MsgPermissionRevokeOnObject.creator": + case "structs.structs.MsgGuildMembershipRequestApprove.creator": return x.Creator != "" - case "structs.structs.MsgPermissionRevokeOnObject.objectId": - return x.ObjectId != "" - case "structs.structs.MsgPermissionRevokeOnObject.playerId": + case "structs.structs.MsgGuildMembershipRequestApprove.guildId": + return x.GuildId != "" + case "structs.structs.MsgGuildMembershipRequestApprove.playerId": return x.PlayerId != "" - case "structs.structs.MsgPermissionRevokeOnObject.permissions": - return x.Permissions != uint64(0) + case "structs.structs.MsgGuildMembershipRequestApprove.substationId": + return x.SubstationId != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPermissionRevokeOnObject")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipRequestApprove")) } - panic(fmt.Errorf("message structs.structs.MsgPermissionRevokeOnObject does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildMembershipRequestApprove does not contain field %s", fd.FullName())) } } @@ -20532,21 +19877,21 @@ func (x *fastReflection_MsgPermissionRevokeOnObject) Has(fd protoreflect.FieldDe // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgPermissionRevokeOnObject) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_MsgGuildMembershipRequestApprove) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.MsgPermissionRevokeOnObject.creator": + case "structs.structs.MsgGuildMembershipRequestApprove.creator": x.Creator = "" - case "structs.structs.MsgPermissionRevokeOnObject.objectId": - x.ObjectId = "" - case "structs.structs.MsgPermissionRevokeOnObject.playerId": + case "structs.structs.MsgGuildMembershipRequestApprove.guildId": + x.GuildId = "" + case "structs.structs.MsgGuildMembershipRequestApprove.playerId": x.PlayerId = "" - case "structs.structs.MsgPermissionRevokeOnObject.permissions": - x.Permissions = uint64(0) + case "structs.structs.MsgGuildMembershipRequestApprove.substationId": + x.SubstationId = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPermissionRevokeOnObject")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipRequestApprove")) } - panic(fmt.Errorf("message structs.structs.MsgPermissionRevokeOnObject does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildMembershipRequestApprove does not contain field %s", fd.FullName())) } } @@ -20556,25 +19901,25 @@ func (x *fastReflection_MsgPermissionRevokeOnObject) Clear(fd protoreflect.Field // 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_MsgPermissionRevokeOnObject) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgGuildMembershipRequestApprove) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.MsgPermissionRevokeOnObject.creator": + case "structs.structs.MsgGuildMembershipRequestApprove.creator": value := x.Creator return protoreflect.ValueOfString(value) - case "structs.structs.MsgPermissionRevokeOnObject.objectId": - value := x.ObjectId + case "structs.structs.MsgGuildMembershipRequestApprove.guildId": + value := x.GuildId return protoreflect.ValueOfString(value) - case "structs.structs.MsgPermissionRevokeOnObject.playerId": + case "structs.structs.MsgGuildMembershipRequestApprove.playerId": value := x.PlayerId return protoreflect.ValueOfString(value) - case "structs.structs.MsgPermissionRevokeOnObject.permissions": - value := x.Permissions - return protoreflect.ValueOfUint64(value) + case "structs.structs.MsgGuildMembershipRequestApprove.substationId": + value := x.SubstationId + return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPermissionRevokeOnObject")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipRequestApprove")) } - panic(fmt.Errorf("message structs.structs.MsgPermissionRevokeOnObject does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildMembershipRequestApprove does not contain field %s", descriptor.FullName())) } } @@ -20588,21 +19933,21 @@ func (x *fastReflection_MsgPermissionRevokeOnObject) Get(descriptor protoreflect // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgPermissionRevokeOnObject) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_MsgGuildMembershipRequestApprove) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.MsgPermissionRevokeOnObject.creator": + case "structs.structs.MsgGuildMembershipRequestApprove.creator": x.Creator = value.Interface().(string) - case "structs.structs.MsgPermissionRevokeOnObject.objectId": - x.ObjectId = value.Interface().(string) - case "structs.structs.MsgPermissionRevokeOnObject.playerId": + case "structs.structs.MsgGuildMembershipRequestApprove.guildId": + x.GuildId = value.Interface().(string) + case "structs.structs.MsgGuildMembershipRequestApprove.playerId": x.PlayerId = value.Interface().(string) - case "structs.structs.MsgPermissionRevokeOnObject.permissions": - x.Permissions = value.Uint() + case "structs.structs.MsgGuildMembershipRequestApprove.substationId": + x.SubstationId = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPermissionRevokeOnObject")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipRequestApprove")) } - panic(fmt.Errorf("message structs.structs.MsgPermissionRevokeOnObject does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildMembershipRequestApprove does not contain field %s", fd.FullName())) } } @@ -20616,52 +19961,52 @@ func (x *fastReflection_MsgPermissionRevokeOnObject) Set(fd protoreflect.FieldDe // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgPermissionRevokeOnObject) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgGuildMembershipRequestApprove) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.MsgPermissionRevokeOnObject.creator": - panic(fmt.Errorf("field creator of message structs.structs.MsgPermissionRevokeOnObject is not mutable")) - case "structs.structs.MsgPermissionRevokeOnObject.objectId": - panic(fmt.Errorf("field objectId of message structs.structs.MsgPermissionRevokeOnObject is not mutable")) - case "structs.structs.MsgPermissionRevokeOnObject.playerId": - panic(fmt.Errorf("field playerId of message structs.structs.MsgPermissionRevokeOnObject is not mutable")) - case "structs.structs.MsgPermissionRevokeOnObject.permissions": - panic(fmt.Errorf("field permissions of message structs.structs.MsgPermissionRevokeOnObject is not mutable")) + case "structs.structs.MsgGuildMembershipRequestApprove.creator": + panic(fmt.Errorf("field creator of message structs.structs.MsgGuildMembershipRequestApprove is not mutable")) + case "structs.structs.MsgGuildMembershipRequestApprove.guildId": + panic(fmt.Errorf("field guildId of message structs.structs.MsgGuildMembershipRequestApprove is not mutable")) + case "structs.structs.MsgGuildMembershipRequestApprove.playerId": + panic(fmt.Errorf("field playerId of message structs.structs.MsgGuildMembershipRequestApprove is not mutable")) + case "structs.structs.MsgGuildMembershipRequestApprove.substationId": + panic(fmt.Errorf("field substationId of message structs.structs.MsgGuildMembershipRequestApprove is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPermissionRevokeOnObject")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipRequestApprove")) } - panic(fmt.Errorf("message structs.structs.MsgPermissionRevokeOnObject does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildMembershipRequestApprove 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_MsgPermissionRevokeOnObject) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgGuildMembershipRequestApprove) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.MsgPermissionRevokeOnObject.creator": + case "structs.structs.MsgGuildMembershipRequestApprove.creator": return protoreflect.ValueOfString("") - case "structs.structs.MsgPermissionRevokeOnObject.objectId": + case "structs.structs.MsgGuildMembershipRequestApprove.guildId": return protoreflect.ValueOfString("") - case "structs.structs.MsgPermissionRevokeOnObject.playerId": + case "structs.structs.MsgGuildMembershipRequestApprove.playerId": + return protoreflect.ValueOfString("") + case "structs.structs.MsgGuildMembershipRequestApprove.substationId": return protoreflect.ValueOfString("") - case "structs.structs.MsgPermissionRevokeOnObject.permissions": - return protoreflect.ValueOfUint64(uint64(0)) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPermissionRevokeOnObject")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipRequestApprove")) } - panic(fmt.Errorf("message structs.structs.MsgPermissionRevokeOnObject does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildMembershipRequestApprove 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_MsgPermissionRevokeOnObject) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_MsgGuildMembershipRequestApprove) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgPermissionRevokeOnObject", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgGuildMembershipRequestApprove", d.FullName())) } panic("unreachable") } @@ -20669,7 +20014,7 @@ func (x *fastReflection_MsgPermissionRevokeOnObject) WhichOneof(d protoreflect.O // 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_MsgPermissionRevokeOnObject) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_MsgGuildMembershipRequestApprove) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -20680,7 +20025,7 @@ func (x *fastReflection_MsgPermissionRevokeOnObject) GetUnknown() protoreflect.R // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgPermissionRevokeOnObject) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_MsgGuildMembershipRequestApprove) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -20692,7 +20037,7 @@ func (x *fastReflection_MsgPermissionRevokeOnObject) SetUnknown(fields protorefl // 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_MsgPermissionRevokeOnObject) IsValid() bool { +func (x *fastReflection_MsgGuildMembershipRequestApprove) IsValid() bool { return x != nil } @@ -20702,9 +20047,9 @@ func (x *fastReflection_MsgPermissionRevokeOnObject) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_MsgPermissionRevokeOnObject) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_MsgGuildMembershipRequestApprove) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*MsgPermissionRevokeOnObject) + x := input.Message.Interface().(*MsgGuildMembershipRequestApprove) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -20720,7 +20065,7 @@ func (x *fastReflection_MsgPermissionRevokeOnObject) ProtoMethods() *protoiface. if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } - l = len(x.ObjectId) + l = len(x.GuildId) if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } @@ -20728,8 +20073,9 @@ func (x *fastReflection_MsgPermissionRevokeOnObject) ProtoMethods() *protoiface. if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } - if x.Permissions != 0 { - n += 1 + runtime.Sov(uint64(x.Permissions)) + l = len(x.SubstationId) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) } if x.unknownFields != nil { n += len(x.unknownFields) @@ -20741,7 +20087,7 @@ func (x *fastReflection_MsgPermissionRevokeOnObject) ProtoMethods() *protoiface. } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*MsgPermissionRevokeOnObject) + x := input.Message.Interface().(*MsgGuildMembershipRequestApprove) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -20760,10 +20106,12 @@ func (x *fastReflection_MsgPermissionRevokeOnObject) ProtoMethods() *protoiface. i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if x.Permissions != 0 { - i = runtime.EncodeVarint(dAtA, i, uint64(x.Permissions)) + if len(x.SubstationId) > 0 { + i -= len(x.SubstationId) + copy(dAtA[i:], x.SubstationId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.SubstationId))) i-- - dAtA[i] = 0x20 + dAtA[i] = 0x22 } if len(x.PlayerId) > 0 { i -= len(x.PlayerId) @@ -20772,10 +20120,10 @@ func (x *fastReflection_MsgPermissionRevokeOnObject) ProtoMethods() *protoiface. i-- dAtA[i] = 0x1a } - if len(x.ObjectId) > 0 { - i -= len(x.ObjectId) - copy(dAtA[i:], x.ObjectId) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.ObjectId))) + if len(x.GuildId) > 0 { + i -= len(x.GuildId) + copy(dAtA[i:], x.GuildId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.GuildId))) i-- dAtA[i] = 0x12 } @@ -20797,7 +20145,7 @@ func (x *fastReflection_MsgPermissionRevokeOnObject) ProtoMethods() *protoiface. }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*MsgPermissionRevokeOnObject) + x := input.Message.Interface().(*MsgGuildMembershipRequestApprove) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -20829,10 +20177,10 @@ func (x *fastReflection_MsgPermissionRevokeOnObject) ProtoMethods() *protoiface. fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgPermissionRevokeOnObject: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgGuildMembershipRequestApprove: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgPermissionRevokeOnObject: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgGuildMembershipRequestApprove: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -20869,7 +20217,7 @@ func (x *fastReflection_MsgPermissionRevokeOnObject) ProtoMethods() *protoiface. iNdEx = postIndex case 2: if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ObjectId", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field GuildId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -20897,7 +20245,7 @@ func (x *fastReflection_MsgPermissionRevokeOnObject) ProtoMethods() *protoiface. if postIndex > l { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - x.ObjectId = string(dAtA[iNdEx:postIndex]) + x.GuildId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 3: if wireType != 2 { @@ -20932,10 +20280,10 @@ func (x *fastReflection_MsgPermissionRevokeOnObject) ProtoMethods() *protoiface. x.PlayerId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 4: - if wireType != 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Permissions", wireType) + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field SubstationId", wireType) } - x.Permissions = 0 + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -20945,11 +20293,24 @@ func (x *fastReflection_MsgPermissionRevokeOnObject) ProtoMethods() *protoiface. } b := dAtA[iNdEx] iNdEx++ - x.Permissions |= uint64(b&0x7F) << shift + 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.SubstationId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := runtime.Skip(dAtA[iNdEx:]) @@ -20986,29 +20347,29 @@ func (x *fastReflection_MsgPermissionRevokeOnObject) ProtoMethods() *protoiface. } var ( - md_MsgPermissionRevokeOnAddress protoreflect.MessageDescriptor - fd_MsgPermissionRevokeOnAddress_creator protoreflect.FieldDescriptor - fd_MsgPermissionRevokeOnAddress_address protoreflect.FieldDescriptor - fd_MsgPermissionRevokeOnAddress_permissions protoreflect.FieldDescriptor + md_MsgGuildMembershipRequestDeny protoreflect.MessageDescriptor + fd_MsgGuildMembershipRequestDeny_creator protoreflect.FieldDescriptor + fd_MsgGuildMembershipRequestDeny_guildId protoreflect.FieldDescriptor + fd_MsgGuildMembershipRequestDeny_playerId protoreflect.FieldDescriptor ) func init() { file_structs_structs_tx_proto_init() - md_MsgPermissionRevokeOnAddress = File_structs_structs_tx_proto.Messages().ByName("MsgPermissionRevokeOnAddress") - fd_MsgPermissionRevokeOnAddress_creator = md_MsgPermissionRevokeOnAddress.Fields().ByName("creator") - fd_MsgPermissionRevokeOnAddress_address = md_MsgPermissionRevokeOnAddress.Fields().ByName("address") - fd_MsgPermissionRevokeOnAddress_permissions = md_MsgPermissionRevokeOnAddress.Fields().ByName("permissions") + md_MsgGuildMembershipRequestDeny = File_structs_structs_tx_proto.Messages().ByName("MsgGuildMembershipRequestDeny") + fd_MsgGuildMembershipRequestDeny_creator = md_MsgGuildMembershipRequestDeny.Fields().ByName("creator") + fd_MsgGuildMembershipRequestDeny_guildId = md_MsgGuildMembershipRequestDeny.Fields().ByName("guildId") + fd_MsgGuildMembershipRequestDeny_playerId = md_MsgGuildMembershipRequestDeny.Fields().ByName("playerId") } -var _ protoreflect.Message = (*fastReflection_MsgPermissionRevokeOnAddress)(nil) +var _ protoreflect.Message = (*fastReflection_MsgGuildMembershipRequestDeny)(nil) -type fastReflection_MsgPermissionRevokeOnAddress MsgPermissionRevokeOnAddress +type fastReflection_MsgGuildMembershipRequestDeny MsgGuildMembershipRequestDeny -func (x *MsgPermissionRevokeOnAddress) ProtoReflect() protoreflect.Message { - return (*fastReflection_MsgPermissionRevokeOnAddress)(x) +func (x *MsgGuildMembershipRequestDeny) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgGuildMembershipRequestDeny)(x) } -func (x *MsgPermissionRevokeOnAddress) slowProtoReflect() protoreflect.Message { +func (x *MsgGuildMembershipRequestDeny) slowProtoReflect() protoreflect.Message { mi := &file_structs_structs_tx_proto_msgTypes[40] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -21020,43 +20381,43 @@ func (x *MsgPermissionRevokeOnAddress) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_MsgPermissionRevokeOnAddress_messageType fastReflection_MsgPermissionRevokeOnAddress_messageType -var _ protoreflect.MessageType = fastReflection_MsgPermissionRevokeOnAddress_messageType{} +var _fastReflection_MsgGuildMembershipRequestDeny_messageType fastReflection_MsgGuildMembershipRequestDeny_messageType +var _ protoreflect.MessageType = fastReflection_MsgGuildMembershipRequestDeny_messageType{} -type fastReflection_MsgPermissionRevokeOnAddress_messageType struct{} +type fastReflection_MsgGuildMembershipRequestDeny_messageType struct{} -func (x fastReflection_MsgPermissionRevokeOnAddress_messageType) Zero() protoreflect.Message { - return (*fastReflection_MsgPermissionRevokeOnAddress)(nil) +func (x fastReflection_MsgGuildMembershipRequestDeny_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgGuildMembershipRequestDeny)(nil) } -func (x fastReflection_MsgPermissionRevokeOnAddress_messageType) New() protoreflect.Message { - return new(fastReflection_MsgPermissionRevokeOnAddress) +func (x fastReflection_MsgGuildMembershipRequestDeny_messageType) New() protoreflect.Message { + return new(fastReflection_MsgGuildMembershipRequestDeny) } -func (x fastReflection_MsgPermissionRevokeOnAddress_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_MsgPermissionRevokeOnAddress +func (x fastReflection_MsgGuildMembershipRequestDeny_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgGuildMembershipRequestDeny } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_MsgPermissionRevokeOnAddress) Descriptor() protoreflect.MessageDescriptor { - return md_MsgPermissionRevokeOnAddress +func (x *fastReflection_MsgGuildMembershipRequestDeny) Descriptor() protoreflect.MessageDescriptor { + return md_MsgGuildMembershipRequestDeny } // 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_MsgPermissionRevokeOnAddress) Type() protoreflect.MessageType { - return _fastReflection_MsgPermissionRevokeOnAddress_messageType +func (x *fastReflection_MsgGuildMembershipRequestDeny) Type() protoreflect.MessageType { + return _fastReflection_MsgGuildMembershipRequestDeny_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_MsgPermissionRevokeOnAddress) New() protoreflect.Message { - return new(fastReflection_MsgPermissionRevokeOnAddress) +func (x *fastReflection_MsgGuildMembershipRequestDeny) New() protoreflect.Message { + return new(fastReflection_MsgGuildMembershipRequestDeny) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_MsgPermissionRevokeOnAddress) Interface() protoreflect.ProtoMessage { - return (*MsgPermissionRevokeOnAddress)(x) +func (x *fastReflection_MsgGuildMembershipRequestDeny) Interface() protoreflect.ProtoMessage { + return (*MsgGuildMembershipRequestDeny)(x) } // Range iterates over every populated field in an undefined order, @@ -21064,22 +20425,22 @@ func (x *fastReflection_MsgPermissionRevokeOnAddress) Interface() protoreflect.P // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_MsgPermissionRevokeOnAddress) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +func (x *fastReflection_MsgGuildMembershipRequestDeny) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { if x.Creator != "" { value := protoreflect.ValueOfString(x.Creator) - if !f(fd_MsgPermissionRevokeOnAddress_creator, value) { + if !f(fd_MsgGuildMembershipRequestDeny_creator, value) { return } } - if x.Address != "" { - value := protoreflect.ValueOfString(x.Address) - if !f(fd_MsgPermissionRevokeOnAddress_address, value) { + if x.GuildId != "" { + value := protoreflect.ValueOfString(x.GuildId) + if !f(fd_MsgGuildMembershipRequestDeny_guildId, value) { return } } - if x.Permissions != uint64(0) { - value := protoreflect.ValueOfUint64(x.Permissions) - if !f(fd_MsgPermissionRevokeOnAddress_permissions, value) { + if x.PlayerId != "" { + value := protoreflect.ValueOfString(x.PlayerId) + if !f(fd_MsgGuildMembershipRequestDeny_playerId, value) { return } } @@ -21096,19 +20457,19 @@ func (x *fastReflection_MsgPermissionRevokeOnAddress) Range(f func(protoreflect. // 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_MsgPermissionRevokeOnAddress) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_MsgGuildMembershipRequestDeny) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.MsgPermissionRevokeOnAddress.creator": + case "structs.structs.MsgGuildMembershipRequestDeny.creator": return x.Creator != "" - case "structs.structs.MsgPermissionRevokeOnAddress.address": - return x.Address != "" - case "structs.structs.MsgPermissionRevokeOnAddress.permissions": - return x.Permissions != uint64(0) + case "structs.structs.MsgGuildMembershipRequestDeny.guildId": + return x.GuildId != "" + case "structs.structs.MsgGuildMembershipRequestDeny.playerId": + return x.PlayerId != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPermissionRevokeOnAddress")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipRequestDeny")) } - panic(fmt.Errorf("message structs.structs.MsgPermissionRevokeOnAddress does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildMembershipRequestDeny does not contain field %s", fd.FullName())) } } @@ -21118,19 +20479,19 @@ func (x *fastReflection_MsgPermissionRevokeOnAddress) Has(fd protoreflect.FieldD // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgPermissionRevokeOnAddress) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_MsgGuildMembershipRequestDeny) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.MsgPermissionRevokeOnAddress.creator": + case "structs.structs.MsgGuildMembershipRequestDeny.creator": x.Creator = "" - case "structs.structs.MsgPermissionRevokeOnAddress.address": - x.Address = "" - case "structs.structs.MsgPermissionRevokeOnAddress.permissions": - x.Permissions = uint64(0) + case "structs.structs.MsgGuildMembershipRequestDeny.guildId": + x.GuildId = "" + case "structs.structs.MsgGuildMembershipRequestDeny.playerId": + x.PlayerId = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPermissionRevokeOnAddress")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipRequestDeny")) } - panic(fmt.Errorf("message structs.structs.MsgPermissionRevokeOnAddress does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildMembershipRequestDeny does not contain field %s", fd.FullName())) } } @@ -21140,22 +20501,22 @@ func (x *fastReflection_MsgPermissionRevokeOnAddress) Clear(fd protoreflect.Fiel // 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_MsgPermissionRevokeOnAddress) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgGuildMembershipRequestDeny) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.MsgPermissionRevokeOnAddress.creator": + case "structs.structs.MsgGuildMembershipRequestDeny.creator": value := x.Creator return protoreflect.ValueOfString(value) - case "structs.structs.MsgPermissionRevokeOnAddress.address": - value := x.Address + case "structs.structs.MsgGuildMembershipRequestDeny.guildId": + value := x.GuildId + return protoreflect.ValueOfString(value) + case "structs.structs.MsgGuildMembershipRequestDeny.playerId": + value := x.PlayerId return protoreflect.ValueOfString(value) - case "structs.structs.MsgPermissionRevokeOnAddress.permissions": - value := x.Permissions - return protoreflect.ValueOfUint64(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPermissionRevokeOnAddress")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipRequestDeny")) } - panic(fmt.Errorf("message structs.structs.MsgPermissionRevokeOnAddress does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildMembershipRequestDeny does not contain field %s", descriptor.FullName())) } } @@ -21169,19 +20530,19 @@ func (x *fastReflection_MsgPermissionRevokeOnAddress) Get(descriptor protoreflec // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgPermissionRevokeOnAddress) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_MsgGuildMembershipRequestDeny) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.MsgPermissionRevokeOnAddress.creator": + case "structs.structs.MsgGuildMembershipRequestDeny.creator": x.Creator = value.Interface().(string) - case "structs.structs.MsgPermissionRevokeOnAddress.address": - x.Address = value.Interface().(string) - case "structs.structs.MsgPermissionRevokeOnAddress.permissions": - x.Permissions = value.Uint() + case "structs.structs.MsgGuildMembershipRequestDeny.guildId": + x.GuildId = value.Interface().(string) + case "structs.structs.MsgGuildMembershipRequestDeny.playerId": + x.PlayerId = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPermissionRevokeOnAddress")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipRequestDeny")) } - panic(fmt.Errorf("message structs.structs.MsgPermissionRevokeOnAddress does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildMembershipRequestDeny does not contain field %s", fd.FullName())) } } @@ -21195,48 +20556,48 @@ func (x *fastReflection_MsgPermissionRevokeOnAddress) Set(fd protoreflect.FieldD // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgPermissionRevokeOnAddress) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgGuildMembershipRequestDeny) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.MsgPermissionRevokeOnAddress.creator": - panic(fmt.Errorf("field creator of message structs.structs.MsgPermissionRevokeOnAddress is not mutable")) - case "structs.structs.MsgPermissionRevokeOnAddress.address": - panic(fmt.Errorf("field address of message structs.structs.MsgPermissionRevokeOnAddress is not mutable")) - case "structs.structs.MsgPermissionRevokeOnAddress.permissions": - panic(fmt.Errorf("field permissions of message structs.structs.MsgPermissionRevokeOnAddress is not mutable")) + case "structs.structs.MsgGuildMembershipRequestDeny.creator": + panic(fmt.Errorf("field creator of message structs.structs.MsgGuildMembershipRequestDeny is not mutable")) + case "structs.structs.MsgGuildMembershipRequestDeny.guildId": + panic(fmt.Errorf("field guildId of message structs.structs.MsgGuildMembershipRequestDeny is not mutable")) + case "structs.structs.MsgGuildMembershipRequestDeny.playerId": + panic(fmt.Errorf("field playerId of message structs.structs.MsgGuildMembershipRequestDeny is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPermissionRevokeOnAddress")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipRequestDeny")) } - panic(fmt.Errorf("message structs.structs.MsgPermissionRevokeOnAddress does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildMembershipRequestDeny 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_MsgPermissionRevokeOnAddress) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgGuildMembershipRequestDeny) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.MsgPermissionRevokeOnAddress.creator": + case "structs.structs.MsgGuildMembershipRequestDeny.creator": return protoreflect.ValueOfString("") - case "structs.structs.MsgPermissionRevokeOnAddress.address": + case "structs.structs.MsgGuildMembershipRequestDeny.guildId": + return protoreflect.ValueOfString("") + case "structs.structs.MsgGuildMembershipRequestDeny.playerId": return protoreflect.ValueOfString("") - case "structs.structs.MsgPermissionRevokeOnAddress.permissions": - return protoreflect.ValueOfUint64(uint64(0)) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPermissionRevokeOnAddress")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipRequestDeny")) } - panic(fmt.Errorf("message structs.structs.MsgPermissionRevokeOnAddress does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildMembershipRequestDeny 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_MsgPermissionRevokeOnAddress) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_MsgGuildMembershipRequestDeny) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgPermissionRevokeOnAddress", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgGuildMembershipRequestDeny", d.FullName())) } panic("unreachable") } @@ -21244,7 +20605,7 @@ func (x *fastReflection_MsgPermissionRevokeOnAddress) WhichOneof(d protoreflect. // 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_MsgPermissionRevokeOnAddress) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_MsgGuildMembershipRequestDeny) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -21255,7 +20616,7 @@ func (x *fastReflection_MsgPermissionRevokeOnAddress) GetUnknown() protoreflect. // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgPermissionRevokeOnAddress) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_MsgGuildMembershipRequestDeny) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -21267,7 +20628,7 @@ func (x *fastReflection_MsgPermissionRevokeOnAddress) SetUnknown(fields protoref // 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_MsgPermissionRevokeOnAddress) IsValid() bool { +func (x *fastReflection_MsgGuildMembershipRequestDeny) IsValid() bool { return x != nil } @@ -21277,9 +20638,9 @@ func (x *fastReflection_MsgPermissionRevokeOnAddress) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_MsgPermissionRevokeOnAddress) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_MsgGuildMembershipRequestDeny) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*MsgPermissionRevokeOnAddress) + x := input.Message.Interface().(*MsgGuildMembershipRequestDeny) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -21295,12 +20656,13 @@ func (x *fastReflection_MsgPermissionRevokeOnAddress) ProtoMethods() *protoiface if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } - l = len(x.Address) + l = len(x.GuildId) if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } - if x.Permissions != 0 { - n += 1 + runtime.Sov(uint64(x.Permissions)) + l = len(x.PlayerId) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) } if x.unknownFields != nil { n += len(x.unknownFields) @@ -21312,7 +20674,7 @@ func (x *fastReflection_MsgPermissionRevokeOnAddress) ProtoMethods() *protoiface } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*MsgPermissionRevokeOnAddress) + x := input.Message.Interface().(*MsgGuildMembershipRequestDeny) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -21331,15 +20693,17 @@ func (x *fastReflection_MsgPermissionRevokeOnAddress) ProtoMethods() *protoiface i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if x.Permissions != 0 { - i = runtime.EncodeVarint(dAtA, i, uint64(x.Permissions)) + if len(x.PlayerId) > 0 { + i -= len(x.PlayerId) + copy(dAtA[i:], x.PlayerId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.PlayerId))) i-- - dAtA[i] = 0x18 + dAtA[i] = 0x1a } - if len(x.Address) > 0 { - i -= len(x.Address) - copy(dAtA[i:], x.Address) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Address))) + if len(x.GuildId) > 0 { + i -= len(x.GuildId) + copy(dAtA[i:], x.GuildId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.GuildId))) i-- dAtA[i] = 0x12 } @@ -21361,7 +20725,7 @@ func (x *fastReflection_MsgPermissionRevokeOnAddress) ProtoMethods() *protoiface }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*MsgPermissionRevokeOnAddress) + x := input.Message.Interface().(*MsgGuildMembershipRequestDeny) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -21393,10 +20757,10 @@ func (x *fastReflection_MsgPermissionRevokeOnAddress) ProtoMethods() *protoiface fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgPermissionRevokeOnAddress: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgGuildMembershipRequestDeny: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgPermissionRevokeOnAddress: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgGuildMembershipRequestDeny: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -21433,7 +20797,7 @@ func (x *fastReflection_MsgPermissionRevokeOnAddress) ProtoMethods() *protoiface iNdEx = postIndex case 2: if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field GuildId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -21461,13 +20825,13 @@ func (x *fastReflection_MsgPermissionRevokeOnAddress) ProtoMethods() *protoiface if postIndex > l { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - x.Address = string(dAtA[iNdEx:postIndex]) + x.GuildId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 3: - if wireType != 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Permissions", wireType) + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field PlayerId", wireType) } - x.Permissions = 0 + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -21477,11 +20841,24 @@ func (x *fastReflection_MsgPermissionRevokeOnAddress) ProtoMethods() *protoiface } b := dAtA[iNdEx] iNdEx++ - x.Permissions |= uint64(b&0x7F) << shift + 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.PlayerId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := runtime.Skip(dAtA[iNdEx:]) @@ -21518,31 +20895,29 @@ func (x *fastReflection_MsgPermissionRevokeOnAddress) ProtoMethods() *protoiface } var ( - md_MsgPermissionSetOnObject protoreflect.MessageDescriptor - fd_MsgPermissionSetOnObject_creator protoreflect.FieldDescriptor - fd_MsgPermissionSetOnObject_objectId protoreflect.FieldDescriptor - fd_MsgPermissionSetOnObject_playerId protoreflect.FieldDescriptor - fd_MsgPermissionSetOnObject_permissions protoreflect.FieldDescriptor + md_MsgGuildMembershipRequestRevoke protoreflect.MessageDescriptor + fd_MsgGuildMembershipRequestRevoke_creator protoreflect.FieldDescriptor + fd_MsgGuildMembershipRequestRevoke_guildId protoreflect.FieldDescriptor + fd_MsgGuildMembershipRequestRevoke_playerId protoreflect.FieldDescriptor ) func init() { file_structs_structs_tx_proto_init() - md_MsgPermissionSetOnObject = File_structs_structs_tx_proto.Messages().ByName("MsgPermissionSetOnObject") - fd_MsgPermissionSetOnObject_creator = md_MsgPermissionSetOnObject.Fields().ByName("creator") - fd_MsgPermissionSetOnObject_objectId = md_MsgPermissionSetOnObject.Fields().ByName("objectId") - fd_MsgPermissionSetOnObject_playerId = md_MsgPermissionSetOnObject.Fields().ByName("playerId") - fd_MsgPermissionSetOnObject_permissions = md_MsgPermissionSetOnObject.Fields().ByName("permissions") + md_MsgGuildMembershipRequestRevoke = File_structs_structs_tx_proto.Messages().ByName("MsgGuildMembershipRequestRevoke") + fd_MsgGuildMembershipRequestRevoke_creator = md_MsgGuildMembershipRequestRevoke.Fields().ByName("creator") + fd_MsgGuildMembershipRequestRevoke_guildId = md_MsgGuildMembershipRequestRevoke.Fields().ByName("guildId") + fd_MsgGuildMembershipRequestRevoke_playerId = md_MsgGuildMembershipRequestRevoke.Fields().ByName("playerId") } -var _ protoreflect.Message = (*fastReflection_MsgPermissionSetOnObject)(nil) +var _ protoreflect.Message = (*fastReflection_MsgGuildMembershipRequestRevoke)(nil) -type fastReflection_MsgPermissionSetOnObject MsgPermissionSetOnObject +type fastReflection_MsgGuildMembershipRequestRevoke MsgGuildMembershipRequestRevoke -func (x *MsgPermissionSetOnObject) ProtoReflect() protoreflect.Message { - return (*fastReflection_MsgPermissionSetOnObject)(x) +func (x *MsgGuildMembershipRequestRevoke) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgGuildMembershipRequestRevoke)(x) } -func (x *MsgPermissionSetOnObject) slowProtoReflect() protoreflect.Message { +func (x *MsgGuildMembershipRequestRevoke) slowProtoReflect() protoreflect.Message { mi := &file_structs_structs_tx_proto_msgTypes[41] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -21554,43 +20929,43 @@ func (x *MsgPermissionSetOnObject) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_MsgPermissionSetOnObject_messageType fastReflection_MsgPermissionSetOnObject_messageType -var _ protoreflect.MessageType = fastReflection_MsgPermissionSetOnObject_messageType{} +var _fastReflection_MsgGuildMembershipRequestRevoke_messageType fastReflection_MsgGuildMembershipRequestRevoke_messageType +var _ protoreflect.MessageType = fastReflection_MsgGuildMembershipRequestRevoke_messageType{} -type fastReflection_MsgPermissionSetOnObject_messageType struct{} +type fastReflection_MsgGuildMembershipRequestRevoke_messageType struct{} -func (x fastReflection_MsgPermissionSetOnObject_messageType) Zero() protoreflect.Message { - return (*fastReflection_MsgPermissionSetOnObject)(nil) +func (x fastReflection_MsgGuildMembershipRequestRevoke_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgGuildMembershipRequestRevoke)(nil) } -func (x fastReflection_MsgPermissionSetOnObject_messageType) New() protoreflect.Message { - return new(fastReflection_MsgPermissionSetOnObject) +func (x fastReflection_MsgGuildMembershipRequestRevoke_messageType) New() protoreflect.Message { + return new(fastReflection_MsgGuildMembershipRequestRevoke) } -func (x fastReflection_MsgPermissionSetOnObject_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_MsgPermissionSetOnObject +func (x fastReflection_MsgGuildMembershipRequestRevoke_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgGuildMembershipRequestRevoke } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_MsgPermissionSetOnObject) Descriptor() protoreflect.MessageDescriptor { - return md_MsgPermissionSetOnObject +func (x *fastReflection_MsgGuildMembershipRequestRevoke) Descriptor() protoreflect.MessageDescriptor { + return md_MsgGuildMembershipRequestRevoke } // 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_MsgPermissionSetOnObject) Type() protoreflect.MessageType { - return _fastReflection_MsgPermissionSetOnObject_messageType +func (x *fastReflection_MsgGuildMembershipRequestRevoke) Type() protoreflect.MessageType { + return _fastReflection_MsgGuildMembershipRequestRevoke_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_MsgPermissionSetOnObject) New() protoreflect.Message { - return new(fastReflection_MsgPermissionSetOnObject) +func (x *fastReflection_MsgGuildMembershipRequestRevoke) New() protoreflect.Message { + return new(fastReflection_MsgGuildMembershipRequestRevoke) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_MsgPermissionSetOnObject) Interface() protoreflect.ProtoMessage { - return (*MsgPermissionSetOnObject)(x) +func (x *fastReflection_MsgGuildMembershipRequestRevoke) Interface() protoreflect.ProtoMessage { + return (*MsgGuildMembershipRequestRevoke)(x) } // Range iterates over every populated field in an undefined order, @@ -21598,28 +20973,22 @@ func (x *fastReflection_MsgPermissionSetOnObject) Interface() protoreflect.Proto // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_MsgPermissionSetOnObject) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +func (x *fastReflection_MsgGuildMembershipRequestRevoke) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { if x.Creator != "" { value := protoreflect.ValueOfString(x.Creator) - if !f(fd_MsgPermissionSetOnObject_creator, value) { + if !f(fd_MsgGuildMembershipRequestRevoke_creator, value) { return } } - if x.ObjectId != "" { - value := protoreflect.ValueOfString(x.ObjectId) - if !f(fd_MsgPermissionSetOnObject_objectId, value) { + if x.GuildId != "" { + value := protoreflect.ValueOfString(x.GuildId) + if !f(fd_MsgGuildMembershipRequestRevoke_guildId, value) { return } } if x.PlayerId != "" { value := protoreflect.ValueOfString(x.PlayerId) - if !f(fd_MsgPermissionSetOnObject_playerId, value) { - return - } - } - if x.Permissions != uint64(0) { - value := protoreflect.ValueOfUint64(x.Permissions) - if !f(fd_MsgPermissionSetOnObject_permissions, value) { + if !f(fd_MsgGuildMembershipRequestRevoke_playerId, value) { return } } @@ -21636,21 +21005,19 @@ func (x *fastReflection_MsgPermissionSetOnObject) Range(f func(protoreflect.Fiel // 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_MsgPermissionSetOnObject) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_MsgGuildMembershipRequestRevoke) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.MsgPermissionSetOnObject.creator": + case "structs.structs.MsgGuildMembershipRequestRevoke.creator": return x.Creator != "" - case "structs.structs.MsgPermissionSetOnObject.objectId": - return x.ObjectId != "" - case "structs.structs.MsgPermissionSetOnObject.playerId": + case "structs.structs.MsgGuildMembershipRequestRevoke.guildId": + return x.GuildId != "" + case "structs.structs.MsgGuildMembershipRequestRevoke.playerId": return x.PlayerId != "" - case "structs.structs.MsgPermissionSetOnObject.permissions": - return x.Permissions != uint64(0) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPermissionSetOnObject")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipRequestRevoke")) } - panic(fmt.Errorf("message structs.structs.MsgPermissionSetOnObject does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildMembershipRequestRevoke does not contain field %s", fd.FullName())) } } @@ -21660,21 +21027,19 @@ func (x *fastReflection_MsgPermissionSetOnObject) Has(fd protoreflect.FieldDescr // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgPermissionSetOnObject) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_MsgGuildMembershipRequestRevoke) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.MsgPermissionSetOnObject.creator": + case "structs.structs.MsgGuildMembershipRequestRevoke.creator": x.Creator = "" - case "structs.structs.MsgPermissionSetOnObject.objectId": - x.ObjectId = "" - case "structs.structs.MsgPermissionSetOnObject.playerId": + case "structs.structs.MsgGuildMembershipRequestRevoke.guildId": + x.GuildId = "" + case "structs.structs.MsgGuildMembershipRequestRevoke.playerId": x.PlayerId = "" - case "structs.structs.MsgPermissionSetOnObject.permissions": - x.Permissions = uint64(0) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPermissionSetOnObject")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipRequestRevoke")) } - panic(fmt.Errorf("message structs.structs.MsgPermissionSetOnObject does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildMembershipRequestRevoke does not contain field %s", fd.FullName())) } } @@ -21684,25 +21049,22 @@ func (x *fastReflection_MsgPermissionSetOnObject) Clear(fd protoreflect.FieldDes // 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_MsgPermissionSetOnObject) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgGuildMembershipRequestRevoke) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.MsgPermissionSetOnObject.creator": + case "structs.structs.MsgGuildMembershipRequestRevoke.creator": value := x.Creator return protoreflect.ValueOfString(value) - case "structs.structs.MsgPermissionSetOnObject.objectId": - value := x.ObjectId + case "structs.structs.MsgGuildMembershipRequestRevoke.guildId": + value := x.GuildId return protoreflect.ValueOfString(value) - case "structs.structs.MsgPermissionSetOnObject.playerId": + case "structs.structs.MsgGuildMembershipRequestRevoke.playerId": value := x.PlayerId return protoreflect.ValueOfString(value) - case "structs.structs.MsgPermissionSetOnObject.permissions": - value := x.Permissions - return protoreflect.ValueOfUint64(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPermissionSetOnObject")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipRequestRevoke")) } - panic(fmt.Errorf("message structs.structs.MsgPermissionSetOnObject does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildMembershipRequestRevoke does not contain field %s", descriptor.FullName())) } } @@ -21716,21 +21078,19 @@ func (x *fastReflection_MsgPermissionSetOnObject) Get(descriptor protoreflect.Fi // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgPermissionSetOnObject) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_MsgGuildMembershipRequestRevoke) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.MsgPermissionSetOnObject.creator": + case "structs.structs.MsgGuildMembershipRequestRevoke.creator": x.Creator = value.Interface().(string) - case "structs.structs.MsgPermissionSetOnObject.objectId": - x.ObjectId = value.Interface().(string) - case "structs.structs.MsgPermissionSetOnObject.playerId": + case "structs.structs.MsgGuildMembershipRequestRevoke.guildId": + x.GuildId = value.Interface().(string) + case "structs.structs.MsgGuildMembershipRequestRevoke.playerId": x.PlayerId = value.Interface().(string) - case "structs.structs.MsgPermissionSetOnObject.permissions": - x.Permissions = value.Uint() default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPermissionSetOnObject")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipRequestRevoke")) } - panic(fmt.Errorf("message structs.structs.MsgPermissionSetOnObject does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildMembershipRequestRevoke does not contain field %s", fd.FullName())) } } @@ -21744,52 +21104,48 @@ func (x *fastReflection_MsgPermissionSetOnObject) Set(fd protoreflect.FieldDescr // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgPermissionSetOnObject) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgGuildMembershipRequestRevoke) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.MsgPermissionSetOnObject.creator": - panic(fmt.Errorf("field creator of message structs.structs.MsgPermissionSetOnObject is not mutable")) - case "structs.structs.MsgPermissionSetOnObject.objectId": - panic(fmt.Errorf("field objectId of message structs.structs.MsgPermissionSetOnObject is not mutable")) - case "structs.structs.MsgPermissionSetOnObject.playerId": - panic(fmt.Errorf("field playerId of message structs.structs.MsgPermissionSetOnObject is not mutable")) - case "structs.structs.MsgPermissionSetOnObject.permissions": - panic(fmt.Errorf("field permissions of message structs.structs.MsgPermissionSetOnObject is not mutable")) + case "structs.structs.MsgGuildMembershipRequestRevoke.creator": + panic(fmt.Errorf("field creator of message structs.structs.MsgGuildMembershipRequestRevoke is not mutable")) + case "structs.structs.MsgGuildMembershipRequestRevoke.guildId": + panic(fmt.Errorf("field guildId of message structs.structs.MsgGuildMembershipRequestRevoke is not mutable")) + case "structs.structs.MsgGuildMembershipRequestRevoke.playerId": + panic(fmt.Errorf("field playerId of message structs.structs.MsgGuildMembershipRequestRevoke is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPermissionSetOnObject")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipRequestRevoke")) } - panic(fmt.Errorf("message structs.structs.MsgPermissionSetOnObject does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildMembershipRequestRevoke 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_MsgPermissionSetOnObject) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgGuildMembershipRequestRevoke) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.MsgPermissionSetOnObject.creator": + case "structs.structs.MsgGuildMembershipRequestRevoke.creator": return protoreflect.ValueOfString("") - case "structs.structs.MsgPermissionSetOnObject.objectId": + case "structs.structs.MsgGuildMembershipRequestRevoke.guildId": return protoreflect.ValueOfString("") - case "structs.structs.MsgPermissionSetOnObject.playerId": + case "structs.structs.MsgGuildMembershipRequestRevoke.playerId": return protoreflect.ValueOfString("") - case "structs.structs.MsgPermissionSetOnObject.permissions": - return protoreflect.ValueOfUint64(uint64(0)) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPermissionSetOnObject")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipRequestRevoke")) } - panic(fmt.Errorf("message structs.structs.MsgPermissionSetOnObject does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildMembershipRequestRevoke 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_MsgPermissionSetOnObject) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_MsgGuildMembershipRequestRevoke) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgPermissionSetOnObject", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgGuildMembershipRequestRevoke", d.FullName())) } panic("unreachable") } @@ -21797,7 +21153,7 @@ func (x *fastReflection_MsgPermissionSetOnObject) WhichOneof(d protoreflect.Oneo // 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_MsgPermissionSetOnObject) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_MsgGuildMembershipRequestRevoke) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -21808,7 +21164,7 @@ func (x *fastReflection_MsgPermissionSetOnObject) GetUnknown() protoreflect.RawF // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgPermissionSetOnObject) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_MsgGuildMembershipRequestRevoke) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -21820,7 +21176,7 @@ func (x *fastReflection_MsgPermissionSetOnObject) SetUnknown(fields protoreflect // 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_MsgPermissionSetOnObject) IsValid() bool { +func (x *fastReflection_MsgGuildMembershipRequestRevoke) IsValid() bool { return x != nil } @@ -21830,9 +21186,9 @@ func (x *fastReflection_MsgPermissionSetOnObject) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_MsgPermissionSetOnObject) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_MsgGuildMembershipRequestRevoke) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*MsgPermissionSetOnObject) + x := input.Message.Interface().(*MsgGuildMembershipRequestRevoke) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -21848,7 +21204,7 @@ func (x *fastReflection_MsgPermissionSetOnObject) ProtoMethods() *protoiface.Met if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } - l = len(x.ObjectId) + l = len(x.GuildId) if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } @@ -21856,9 +21212,6 @@ func (x *fastReflection_MsgPermissionSetOnObject) ProtoMethods() *protoiface.Met if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } - if x.Permissions != 0 { - n += 1 + runtime.Sov(uint64(x.Permissions)) - } if x.unknownFields != nil { n += len(x.unknownFields) } @@ -21869,7 +21222,7 @@ func (x *fastReflection_MsgPermissionSetOnObject) ProtoMethods() *protoiface.Met } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*MsgPermissionSetOnObject) + x := input.Message.Interface().(*MsgGuildMembershipRequestRevoke) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -21888,11 +21241,6 @@ func (x *fastReflection_MsgPermissionSetOnObject) ProtoMethods() *protoiface.Met i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if x.Permissions != 0 { - i = runtime.EncodeVarint(dAtA, i, uint64(x.Permissions)) - i-- - dAtA[i] = 0x20 - } if len(x.PlayerId) > 0 { i -= len(x.PlayerId) copy(dAtA[i:], x.PlayerId) @@ -21900,10 +21248,10 @@ func (x *fastReflection_MsgPermissionSetOnObject) ProtoMethods() *protoiface.Met i-- dAtA[i] = 0x1a } - if len(x.ObjectId) > 0 { - i -= len(x.ObjectId) - copy(dAtA[i:], x.ObjectId) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.ObjectId))) + if len(x.GuildId) > 0 { + i -= len(x.GuildId) + copy(dAtA[i:], x.GuildId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.GuildId))) i-- dAtA[i] = 0x12 } @@ -21925,7 +21273,7 @@ func (x *fastReflection_MsgPermissionSetOnObject) ProtoMethods() *protoiface.Met }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*MsgPermissionSetOnObject) + x := input.Message.Interface().(*MsgGuildMembershipRequestRevoke) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -21957,10 +21305,10 @@ func (x *fastReflection_MsgPermissionSetOnObject) ProtoMethods() *protoiface.Met fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgPermissionSetOnObject: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgGuildMembershipRequestRevoke: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgPermissionSetOnObject: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgGuildMembershipRequestRevoke: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -21997,7 +21345,7 @@ func (x *fastReflection_MsgPermissionSetOnObject) ProtoMethods() *protoiface.Met iNdEx = postIndex case 2: if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ObjectId", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field GuildId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -22025,7 +21373,7 @@ func (x *fastReflection_MsgPermissionSetOnObject) ProtoMethods() *protoiface.Met if postIndex > l { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - x.ObjectId = string(dAtA[iNdEx:postIndex]) + x.GuildId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 3: if wireType != 2 { @@ -22059,25 +21407,6 @@ func (x *fastReflection_MsgPermissionSetOnObject) ProtoMethods() *protoiface.Met } x.PlayerId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 4: - if wireType != 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Permissions", wireType) - } - x.Permissions = 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.Permissions |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } default: iNdEx = preIndex skippy, err := runtime.Skip(dAtA[iNdEx:]) @@ -22114,29 +21443,25 @@ func (x *fastReflection_MsgPermissionSetOnObject) ProtoMethods() *protoiface.Met } var ( - md_MsgPermissionSetOnAddress protoreflect.MessageDescriptor - fd_MsgPermissionSetOnAddress_creator protoreflect.FieldDescriptor - fd_MsgPermissionSetOnAddress_address protoreflect.FieldDescriptor - fd_MsgPermissionSetOnAddress_permissions protoreflect.FieldDescriptor + md_MsgGuildMembershipResponse protoreflect.MessageDescriptor + fd_MsgGuildMembershipResponse_guildMembershipApplication protoreflect.FieldDescriptor ) func init() { file_structs_structs_tx_proto_init() - md_MsgPermissionSetOnAddress = File_structs_structs_tx_proto.Messages().ByName("MsgPermissionSetOnAddress") - fd_MsgPermissionSetOnAddress_creator = md_MsgPermissionSetOnAddress.Fields().ByName("creator") - fd_MsgPermissionSetOnAddress_address = md_MsgPermissionSetOnAddress.Fields().ByName("address") - fd_MsgPermissionSetOnAddress_permissions = md_MsgPermissionSetOnAddress.Fields().ByName("permissions") + md_MsgGuildMembershipResponse = File_structs_structs_tx_proto.Messages().ByName("MsgGuildMembershipResponse") + fd_MsgGuildMembershipResponse_guildMembershipApplication = md_MsgGuildMembershipResponse.Fields().ByName("guildMembershipApplication") } -var _ protoreflect.Message = (*fastReflection_MsgPermissionSetOnAddress)(nil) +var _ protoreflect.Message = (*fastReflection_MsgGuildMembershipResponse)(nil) -type fastReflection_MsgPermissionSetOnAddress MsgPermissionSetOnAddress +type fastReflection_MsgGuildMembershipResponse MsgGuildMembershipResponse -func (x *MsgPermissionSetOnAddress) ProtoReflect() protoreflect.Message { - return (*fastReflection_MsgPermissionSetOnAddress)(x) +func (x *MsgGuildMembershipResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgGuildMembershipResponse)(x) } -func (x *MsgPermissionSetOnAddress) slowProtoReflect() protoreflect.Message { +func (x *MsgGuildMembershipResponse) slowProtoReflect() protoreflect.Message { mi := &file_structs_structs_tx_proto_msgTypes[42] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -22148,43 +21473,43 @@ func (x *MsgPermissionSetOnAddress) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_MsgPermissionSetOnAddress_messageType fastReflection_MsgPermissionSetOnAddress_messageType -var _ protoreflect.MessageType = fastReflection_MsgPermissionSetOnAddress_messageType{} +var _fastReflection_MsgGuildMembershipResponse_messageType fastReflection_MsgGuildMembershipResponse_messageType +var _ protoreflect.MessageType = fastReflection_MsgGuildMembershipResponse_messageType{} -type fastReflection_MsgPermissionSetOnAddress_messageType struct{} +type fastReflection_MsgGuildMembershipResponse_messageType struct{} -func (x fastReflection_MsgPermissionSetOnAddress_messageType) Zero() protoreflect.Message { - return (*fastReflection_MsgPermissionSetOnAddress)(nil) +func (x fastReflection_MsgGuildMembershipResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgGuildMembershipResponse)(nil) } -func (x fastReflection_MsgPermissionSetOnAddress_messageType) New() protoreflect.Message { - return new(fastReflection_MsgPermissionSetOnAddress) +func (x fastReflection_MsgGuildMembershipResponse_messageType) New() protoreflect.Message { + return new(fastReflection_MsgGuildMembershipResponse) } -func (x fastReflection_MsgPermissionSetOnAddress_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_MsgPermissionSetOnAddress +func (x fastReflection_MsgGuildMembershipResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgGuildMembershipResponse } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_MsgPermissionSetOnAddress) Descriptor() protoreflect.MessageDescriptor { - return md_MsgPermissionSetOnAddress +func (x *fastReflection_MsgGuildMembershipResponse) Descriptor() protoreflect.MessageDescriptor { + return md_MsgGuildMembershipResponse } // 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_MsgPermissionSetOnAddress) Type() protoreflect.MessageType { - return _fastReflection_MsgPermissionSetOnAddress_messageType +func (x *fastReflection_MsgGuildMembershipResponse) Type() protoreflect.MessageType { + return _fastReflection_MsgGuildMembershipResponse_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_MsgPermissionSetOnAddress) New() protoreflect.Message { - return new(fastReflection_MsgPermissionSetOnAddress) +func (x *fastReflection_MsgGuildMembershipResponse) New() protoreflect.Message { + return new(fastReflection_MsgGuildMembershipResponse) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_MsgPermissionSetOnAddress) Interface() protoreflect.ProtoMessage { - return (*MsgPermissionSetOnAddress)(x) +func (x *fastReflection_MsgGuildMembershipResponse) Interface() protoreflect.ProtoMessage { + return (*MsgGuildMembershipResponse)(x) } // Range iterates over every populated field in an undefined order, @@ -22192,22 +21517,10 @@ func (x *fastReflection_MsgPermissionSetOnAddress) Interface() protoreflect.Prot // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_MsgPermissionSetOnAddress) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.Creator != "" { - value := protoreflect.ValueOfString(x.Creator) - if !f(fd_MsgPermissionSetOnAddress_creator, value) { - return - } - } - if x.Address != "" { - value := protoreflect.ValueOfString(x.Address) - if !f(fd_MsgPermissionSetOnAddress_address, value) { - return - } - } - if x.Permissions != uint64(0) { - value := protoreflect.ValueOfUint64(x.Permissions) - if !f(fd_MsgPermissionSetOnAddress_permissions, value) { +func (x *fastReflection_MsgGuildMembershipResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.GuildMembershipApplication != nil { + value := protoreflect.ValueOfMessage(x.GuildMembershipApplication.ProtoReflect()) + if !f(fd_MsgGuildMembershipResponse_guildMembershipApplication, value) { return } } @@ -22224,19 +21537,15 @@ func (x *fastReflection_MsgPermissionSetOnAddress) Range(f func(protoreflect.Fie // 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_MsgPermissionSetOnAddress) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_MsgGuildMembershipResponse) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.MsgPermissionSetOnAddress.creator": - return x.Creator != "" - case "structs.structs.MsgPermissionSetOnAddress.address": - return x.Address != "" - case "structs.structs.MsgPermissionSetOnAddress.permissions": - return x.Permissions != uint64(0) + case "structs.structs.MsgGuildMembershipResponse.guildMembershipApplication": + return x.GuildMembershipApplication != nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPermissionSetOnAddress")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipResponse")) } - panic(fmt.Errorf("message structs.structs.MsgPermissionSetOnAddress does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildMembershipResponse does not contain field %s", fd.FullName())) } } @@ -22246,19 +21555,15 @@ func (x *fastReflection_MsgPermissionSetOnAddress) Has(fd protoreflect.FieldDesc // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgPermissionSetOnAddress) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_MsgGuildMembershipResponse) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.MsgPermissionSetOnAddress.creator": - x.Creator = "" - case "structs.structs.MsgPermissionSetOnAddress.address": - x.Address = "" - case "structs.structs.MsgPermissionSetOnAddress.permissions": - x.Permissions = uint64(0) + case "structs.structs.MsgGuildMembershipResponse.guildMembershipApplication": + x.GuildMembershipApplication = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPermissionSetOnAddress")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipResponse")) } - panic(fmt.Errorf("message structs.structs.MsgPermissionSetOnAddress does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildMembershipResponse does not contain field %s", fd.FullName())) } } @@ -22268,22 +21573,16 @@ func (x *fastReflection_MsgPermissionSetOnAddress) Clear(fd protoreflect.FieldDe // 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_MsgPermissionSetOnAddress) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgGuildMembershipResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.MsgPermissionSetOnAddress.creator": - value := x.Creator - return protoreflect.ValueOfString(value) - case "structs.structs.MsgPermissionSetOnAddress.address": - value := x.Address - return protoreflect.ValueOfString(value) - case "structs.structs.MsgPermissionSetOnAddress.permissions": - value := x.Permissions - return protoreflect.ValueOfUint64(value) + case "structs.structs.MsgGuildMembershipResponse.guildMembershipApplication": + value := x.GuildMembershipApplication + return protoreflect.ValueOfMessage(value.ProtoReflect()) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPermissionSetOnAddress")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipResponse")) } - panic(fmt.Errorf("message structs.structs.MsgPermissionSetOnAddress does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildMembershipResponse does not contain field %s", descriptor.FullName())) } } @@ -22297,19 +21596,15 @@ func (x *fastReflection_MsgPermissionSetOnAddress) Get(descriptor protoreflect.F // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgPermissionSetOnAddress) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_MsgGuildMembershipResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.MsgPermissionSetOnAddress.creator": - x.Creator = value.Interface().(string) - case "structs.structs.MsgPermissionSetOnAddress.address": - x.Address = value.Interface().(string) - case "structs.structs.MsgPermissionSetOnAddress.permissions": - x.Permissions = value.Uint() + case "structs.structs.MsgGuildMembershipResponse.guildMembershipApplication": + x.GuildMembershipApplication = value.Message().Interface().(*GuildMembershipApplication) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPermissionSetOnAddress")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipResponse")) } - panic(fmt.Errorf("message structs.structs.MsgPermissionSetOnAddress does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildMembershipResponse does not contain field %s", fd.FullName())) } } @@ -22323,48 +21618,44 @@ func (x *fastReflection_MsgPermissionSetOnAddress) Set(fd protoreflect.FieldDesc // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgPermissionSetOnAddress) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgGuildMembershipResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.MsgPermissionSetOnAddress.creator": - panic(fmt.Errorf("field creator of message structs.structs.MsgPermissionSetOnAddress is not mutable")) - case "structs.structs.MsgPermissionSetOnAddress.address": - panic(fmt.Errorf("field address of message structs.structs.MsgPermissionSetOnAddress is not mutable")) - case "structs.structs.MsgPermissionSetOnAddress.permissions": - panic(fmt.Errorf("field permissions of message structs.structs.MsgPermissionSetOnAddress is not mutable")) + case "structs.structs.MsgGuildMembershipResponse.guildMembershipApplication": + if x.GuildMembershipApplication == nil { + x.GuildMembershipApplication = new(GuildMembershipApplication) + } + return protoreflect.ValueOfMessage(x.GuildMembershipApplication.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPermissionSetOnAddress")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipResponse")) } - panic(fmt.Errorf("message structs.structs.MsgPermissionSetOnAddress does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildMembershipResponse 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_MsgPermissionSetOnAddress) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgGuildMembershipResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.MsgPermissionSetOnAddress.creator": - return protoreflect.ValueOfString("") - case "structs.structs.MsgPermissionSetOnAddress.address": - return protoreflect.ValueOfString("") - case "structs.structs.MsgPermissionSetOnAddress.permissions": - return protoreflect.ValueOfUint64(uint64(0)) + case "structs.structs.MsgGuildMembershipResponse.guildMembershipApplication": + m := new(GuildMembershipApplication) + return protoreflect.ValueOfMessage(m.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPermissionSetOnAddress")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgGuildMembershipResponse")) } - panic(fmt.Errorf("message structs.structs.MsgPermissionSetOnAddress does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgGuildMembershipResponse 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_MsgPermissionSetOnAddress) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_MsgGuildMembershipResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgPermissionSetOnAddress", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgGuildMembershipResponse", d.FullName())) } panic("unreachable") } @@ -22372,7 +21663,7 @@ func (x *fastReflection_MsgPermissionSetOnAddress) WhichOneof(d protoreflect.One // 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_MsgPermissionSetOnAddress) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_MsgGuildMembershipResponse) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -22383,7 +21674,7 @@ func (x *fastReflection_MsgPermissionSetOnAddress) GetUnknown() protoreflect.Raw // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgPermissionSetOnAddress) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_MsgGuildMembershipResponse) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -22395,7 +21686,7 @@ func (x *fastReflection_MsgPermissionSetOnAddress) SetUnknown(fields protoreflec // 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_MsgPermissionSetOnAddress) IsValid() bool { +func (x *fastReflection_MsgGuildMembershipResponse) IsValid() bool { return x != nil } @@ -22405,9 +21696,9 @@ func (x *fastReflection_MsgPermissionSetOnAddress) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_MsgPermissionSetOnAddress) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_MsgGuildMembershipResponse) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*MsgPermissionSetOnAddress) + x := input.Message.Interface().(*MsgGuildMembershipResponse) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -22419,17 +21710,10 @@ func (x *fastReflection_MsgPermissionSetOnAddress) ProtoMethods() *protoiface.Me var n int var l int _ = l - l = len(x.Creator) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } - l = len(x.Address) - if l > 0 { + if x.GuildMembershipApplication != nil { + l = options.Size(x.GuildMembershipApplication) n += 1 + l + runtime.Sov(uint64(l)) } - if x.Permissions != 0 { - n += 1 + runtime.Sov(uint64(x.Permissions)) - } if x.unknownFields != nil { n += len(x.unknownFields) } @@ -22440,7 +21724,7 @@ func (x *fastReflection_MsgPermissionSetOnAddress) ProtoMethods() *protoiface.Me } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*MsgPermissionSetOnAddress) + x := input.Message.Interface().(*MsgGuildMembershipResponse) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -22459,22 +21743,17 @@ func (x *fastReflection_MsgPermissionSetOnAddress) ProtoMethods() *protoiface.Me i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if x.Permissions != 0 { - i = runtime.EncodeVarint(dAtA, i, uint64(x.Permissions)) - i-- - dAtA[i] = 0x18 - } - if len(x.Address) > 0 { - i -= len(x.Address) - copy(dAtA[i:], x.Address) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Address))) - i-- - dAtA[i] = 0x12 - } - if len(x.Creator) > 0 { - i -= len(x.Creator) - copy(dAtA[i:], x.Creator) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Creator))) + if x.GuildMembershipApplication != nil { + encoded, err := options.Marshal(x.GuildMembershipApplication) + 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 } @@ -22489,7 +21768,7 @@ func (x *fastReflection_MsgPermissionSetOnAddress) ProtoMethods() *protoiface.Me }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*MsgPermissionSetOnAddress) + x := input.Message.Interface().(*MsgGuildMembershipResponse) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -22521,17 +21800,17 @@ func (x *fastReflection_MsgPermissionSetOnAddress) ProtoMethods() *protoiface.Me fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgPermissionSetOnAddress: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgGuildMembershipResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgPermissionSetOnAddress: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgGuildMembershipResponse: 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 Creator", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field GuildMembershipApplication", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -22541,83 +21820,36 @@ func (x *fastReflection_MsgPermissionSetOnAddress) ProtoMethods() *protoiface.Me } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength } - postIndex := iNdEx + intStringLen + 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 } - x.Creator = string(dAtA[iNdEx:postIndex]) + if x.GuildMembershipApplication == nil { + x.GuildMembershipApplication = &GuildMembershipApplication{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.GuildMembershipApplication); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } iNdEx = postIndex - case 2: - if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err } - 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.Address = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Permissions", wireType) - } - x.Permissions = 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.Permissions |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - 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 (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 @@ -22646,23 +21878,31 @@ func (x *fastReflection_MsgPermissionSetOnAddress) ProtoMethods() *protoiface.Me } var ( - md_MsgPermissionResponse protoreflect.MessageDescriptor + md_MsgPermissionGrantOnObject protoreflect.MessageDescriptor + fd_MsgPermissionGrantOnObject_creator protoreflect.FieldDescriptor + fd_MsgPermissionGrantOnObject_objectId protoreflect.FieldDescriptor + fd_MsgPermissionGrantOnObject_playerId protoreflect.FieldDescriptor + fd_MsgPermissionGrantOnObject_permissions protoreflect.FieldDescriptor ) func init() { file_structs_structs_tx_proto_init() - md_MsgPermissionResponse = File_structs_structs_tx_proto.Messages().ByName("MsgPermissionResponse") + md_MsgPermissionGrantOnObject = File_structs_structs_tx_proto.Messages().ByName("MsgPermissionGrantOnObject") + fd_MsgPermissionGrantOnObject_creator = md_MsgPermissionGrantOnObject.Fields().ByName("creator") + fd_MsgPermissionGrantOnObject_objectId = md_MsgPermissionGrantOnObject.Fields().ByName("objectId") + fd_MsgPermissionGrantOnObject_playerId = md_MsgPermissionGrantOnObject.Fields().ByName("playerId") + fd_MsgPermissionGrantOnObject_permissions = md_MsgPermissionGrantOnObject.Fields().ByName("permissions") } -var _ protoreflect.Message = (*fastReflection_MsgPermissionResponse)(nil) +var _ protoreflect.Message = (*fastReflection_MsgPermissionGrantOnObject)(nil) -type fastReflection_MsgPermissionResponse MsgPermissionResponse +type fastReflection_MsgPermissionGrantOnObject MsgPermissionGrantOnObject -func (x *MsgPermissionResponse) ProtoReflect() protoreflect.Message { - return (*fastReflection_MsgPermissionResponse)(x) +func (x *MsgPermissionGrantOnObject) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgPermissionGrantOnObject)(x) } -func (x *MsgPermissionResponse) slowProtoReflect() protoreflect.Message { +func (x *MsgPermissionGrantOnObject) slowProtoReflect() protoreflect.Message { mi := &file_structs_structs_tx_proto_msgTypes[43] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -22674,43 +21914,43 @@ func (x *MsgPermissionResponse) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_MsgPermissionResponse_messageType fastReflection_MsgPermissionResponse_messageType -var _ protoreflect.MessageType = fastReflection_MsgPermissionResponse_messageType{} +var _fastReflection_MsgPermissionGrantOnObject_messageType fastReflection_MsgPermissionGrantOnObject_messageType +var _ protoreflect.MessageType = fastReflection_MsgPermissionGrantOnObject_messageType{} -type fastReflection_MsgPermissionResponse_messageType struct{} +type fastReflection_MsgPermissionGrantOnObject_messageType struct{} -func (x fastReflection_MsgPermissionResponse_messageType) Zero() protoreflect.Message { - return (*fastReflection_MsgPermissionResponse)(nil) +func (x fastReflection_MsgPermissionGrantOnObject_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgPermissionGrantOnObject)(nil) } -func (x fastReflection_MsgPermissionResponse_messageType) New() protoreflect.Message { - return new(fastReflection_MsgPermissionResponse) +func (x fastReflection_MsgPermissionGrantOnObject_messageType) New() protoreflect.Message { + return new(fastReflection_MsgPermissionGrantOnObject) } -func (x fastReflection_MsgPermissionResponse_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_MsgPermissionResponse +func (x fastReflection_MsgPermissionGrantOnObject_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgPermissionGrantOnObject } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_MsgPermissionResponse) Descriptor() protoreflect.MessageDescriptor { - return md_MsgPermissionResponse +func (x *fastReflection_MsgPermissionGrantOnObject) Descriptor() protoreflect.MessageDescriptor { + return md_MsgPermissionGrantOnObject } // 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_MsgPermissionResponse) Type() protoreflect.MessageType { - return _fastReflection_MsgPermissionResponse_messageType +func (x *fastReflection_MsgPermissionGrantOnObject) Type() protoreflect.MessageType { + return _fastReflection_MsgPermissionGrantOnObject_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_MsgPermissionResponse) New() protoreflect.Message { - return new(fastReflection_MsgPermissionResponse) +func (x *fastReflection_MsgPermissionGrantOnObject) New() protoreflect.Message { + return new(fastReflection_MsgPermissionGrantOnObject) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_MsgPermissionResponse) Interface() protoreflect.ProtoMessage { - return (*MsgPermissionResponse)(x) +func (x *fastReflection_MsgPermissionGrantOnObject) Interface() protoreflect.ProtoMessage { + return (*MsgPermissionGrantOnObject)(x) } // Range iterates over every populated field in an undefined order, @@ -22718,7 +21958,31 @@ func (x *fastReflection_MsgPermissionResponse) Interface() protoreflect.ProtoMes // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_MsgPermissionResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +func (x *fastReflection_MsgPermissionGrantOnObject) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Creator != "" { + value := protoreflect.ValueOfString(x.Creator) + if !f(fd_MsgPermissionGrantOnObject_creator, value) { + return + } + } + if x.ObjectId != "" { + value := protoreflect.ValueOfString(x.ObjectId) + if !f(fd_MsgPermissionGrantOnObject_objectId, value) { + return + } + } + if x.PlayerId != "" { + value := protoreflect.ValueOfString(x.PlayerId) + if !f(fd_MsgPermissionGrantOnObject_playerId, value) { + return + } + } + if x.Permissions != uint64(0) { + value := protoreflect.ValueOfUint64(x.Permissions) + if !f(fd_MsgPermissionGrantOnObject_permissions, value) { + return + } + } } // Has reports whether a field is populated. @@ -22732,13 +21996,21 @@ func (x *fastReflection_MsgPermissionResponse) Range(f func(protoreflect.FieldDe // 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_MsgPermissionResponse) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_MsgPermissionGrantOnObject) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { + case "structs.structs.MsgPermissionGrantOnObject.creator": + return x.Creator != "" + case "structs.structs.MsgPermissionGrantOnObject.objectId": + return x.ObjectId != "" + case "structs.structs.MsgPermissionGrantOnObject.playerId": + return x.PlayerId != "" + case "structs.structs.MsgPermissionGrantOnObject.permissions": + return x.Permissions != uint64(0) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPermissionResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPermissionGrantOnObject")) } - panic(fmt.Errorf("message structs.structs.MsgPermissionResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgPermissionGrantOnObject does not contain field %s", fd.FullName())) } } @@ -22748,13 +22020,21 @@ func (x *fastReflection_MsgPermissionResponse) Has(fd protoreflect.FieldDescript // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgPermissionResponse) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_MsgPermissionGrantOnObject) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { + case "structs.structs.MsgPermissionGrantOnObject.creator": + x.Creator = "" + case "structs.structs.MsgPermissionGrantOnObject.objectId": + x.ObjectId = "" + case "structs.structs.MsgPermissionGrantOnObject.playerId": + x.PlayerId = "" + case "structs.structs.MsgPermissionGrantOnObject.permissions": + x.Permissions = uint64(0) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPermissionResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPermissionGrantOnObject")) } - panic(fmt.Errorf("message structs.structs.MsgPermissionResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgPermissionGrantOnObject does not contain field %s", fd.FullName())) } } @@ -22764,13 +22044,25 @@ func (x *fastReflection_MsgPermissionResponse) Clear(fd protoreflect.FieldDescri // 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_MsgPermissionResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgPermissionGrantOnObject) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { + case "structs.structs.MsgPermissionGrantOnObject.creator": + value := x.Creator + return protoreflect.ValueOfString(value) + case "structs.structs.MsgPermissionGrantOnObject.objectId": + value := x.ObjectId + return protoreflect.ValueOfString(value) + case "structs.structs.MsgPermissionGrantOnObject.playerId": + value := x.PlayerId + return protoreflect.ValueOfString(value) + case "structs.structs.MsgPermissionGrantOnObject.permissions": + value := x.Permissions + return protoreflect.ValueOfUint64(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPermissionResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPermissionGrantOnObject")) } - panic(fmt.Errorf("message structs.structs.MsgPermissionResponse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.MsgPermissionGrantOnObject does not contain field %s", descriptor.FullName())) } } @@ -22784,13 +22076,21 @@ func (x *fastReflection_MsgPermissionResponse) Get(descriptor protoreflect.Field // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgPermissionResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_MsgPermissionGrantOnObject) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { + case "structs.structs.MsgPermissionGrantOnObject.creator": + x.Creator = value.Interface().(string) + case "structs.structs.MsgPermissionGrantOnObject.objectId": + x.ObjectId = value.Interface().(string) + case "structs.structs.MsgPermissionGrantOnObject.playerId": + x.PlayerId = value.Interface().(string) + case "structs.structs.MsgPermissionGrantOnObject.permissions": + x.Permissions = value.Uint() default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPermissionResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPermissionGrantOnObject")) } - panic(fmt.Errorf("message structs.structs.MsgPermissionResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgPermissionGrantOnObject does not contain field %s", fd.FullName())) } } @@ -22804,36 +22104,52 @@ func (x *fastReflection_MsgPermissionResponse) Set(fd protoreflect.FieldDescript // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgPermissionResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgPermissionGrantOnObject) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { + case "structs.structs.MsgPermissionGrantOnObject.creator": + panic(fmt.Errorf("field creator of message structs.structs.MsgPermissionGrantOnObject is not mutable")) + case "structs.structs.MsgPermissionGrantOnObject.objectId": + panic(fmt.Errorf("field objectId of message structs.structs.MsgPermissionGrantOnObject is not mutable")) + case "structs.structs.MsgPermissionGrantOnObject.playerId": + panic(fmt.Errorf("field playerId of message structs.structs.MsgPermissionGrantOnObject is not mutable")) + case "structs.structs.MsgPermissionGrantOnObject.permissions": + panic(fmt.Errorf("field permissions of message structs.structs.MsgPermissionGrantOnObject is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPermissionResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPermissionGrantOnObject")) } - panic(fmt.Errorf("message structs.structs.MsgPermissionResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgPermissionGrantOnObject 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_MsgPermissionResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgPermissionGrantOnObject) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { + case "structs.structs.MsgPermissionGrantOnObject.creator": + return protoreflect.ValueOfString("") + case "structs.structs.MsgPermissionGrantOnObject.objectId": + return protoreflect.ValueOfString("") + case "structs.structs.MsgPermissionGrantOnObject.playerId": + return protoreflect.ValueOfString("") + case "structs.structs.MsgPermissionGrantOnObject.permissions": + return protoreflect.ValueOfUint64(uint64(0)) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPermissionResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPermissionGrantOnObject")) } - panic(fmt.Errorf("message structs.structs.MsgPermissionResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgPermissionGrantOnObject 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_MsgPermissionResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_MsgPermissionGrantOnObject) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgPermissionResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgPermissionGrantOnObject", d.FullName())) } panic("unreachable") } @@ -22841,7 +22157,7 @@ func (x *fastReflection_MsgPermissionResponse) WhichOneof(d protoreflect.OneofDe // 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_MsgPermissionResponse) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_MsgPermissionGrantOnObject) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -22852,7 +22168,7 @@ func (x *fastReflection_MsgPermissionResponse) GetUnknown() protoreflect.RawFiel // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgPermissionResponse) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_MsgPermissionGrantOnObject) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -22864,7 +22180,7 @@ func (x *fastReflection_MsgPermissionResponse) SetUnknown(fields protoreflect.Ra // 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_MsgPermissionResponse) IsValid() bool { +func (x *fastReflection_MsgPermissionGrantOnObject) IsValid() bool { return x != nil } @@ -22874,9 +22190,9 @@ func (x *fastReflection_MsgPermissionResponse) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_MsgPermissionResponse) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_MsgPermissionGrantOnObject) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*MsgPermissionResponse) + x := input.Message.Interface().(*MsgPermissionGrantOnObject) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -22888,6 +22204,21 @@ func (x *fastReflection_MsgPermissionResponse) ProtoMethods() *protoiface.Method var n int var l int _ = l + l = len(x.Creator) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.ObjectId) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.PlayerId) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.Permissions != 0 { + n += 1 + runtime.Sov(uint64(x.Permissions)) + } if x.unknownFields != nil { n += len(x.unknownFields) } @@ -22898,7 +22229,7 @@ func (x *fastReflection_MsgPermissionResponse) ProtoMethods() *protoiface.Method } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*MsgPermissionResponse) + x := input.Message.Interface().(*MsgPermissionGrantOnObject) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -22917,6 +22248,32 @@ func (x *fastReflection_MsgPermissionResponse) ProtoMethods() *protoiface.Method i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } + if x.Permissions != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.Permissions)) + i-- + dAtA[i] = 0x20 + } + if len(x.PlayerId) > 0 { + i -= len(x.PlayerId) + copy(dAtA[i:], x.PlayerId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.PlayerId))) + i-- + dAtA[i] = 0x1a + } + if len(x.ObjectId) > 0 { + i -= len(x.ObjectId) + copy(dAtA[i:], x.ObjectId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.ObjectId))) + i-- + dAtA[i] = 0x12 + } + if len(x.Creator) > 0 { + i -= len(x.Creator) + copy(dAtA[i:], x.Creator) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Creator))) + i-- + dAtA[i] = 0xa + } if input.Buf != nil { input.Buf = append(input.Buf, dAtA...) } else { @@ -22928,7 +22285,7 @@ func (x *fastReflection_MsgPermissionResponse) ProtoMethods() *protoiface.Method }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*MsgPermissionResponse) + x := input.Message.Interface().(*MsgPermissionGrantOnObject) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -22960,12 +22317,127 @@ func (x *fastReflection_MsgPermissionResponse) ProtoMethods() *protoiface.Method fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgPermissionResponse: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgPermissionGrantOnObject: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgPermissionResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgPermissionGrantOnObject: 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 Creator", 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.Creator = 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 ObjectId", 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.ObjectId = 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 PlayerId", 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.PlayerId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Permissions", wireType) + } + x.Permissions = 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.Permissions |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } default: iNdEx = preIndex skippy, err := runtime.Skip(dAtA[iNdEx:]) @@ -23002,25 +22474,29 @@ func (x *fastReflection_MsgPermissionResponse) ProtoMethods() *protoiface.Method } var ( - md_MsgPlanetExplore protoreflect.MessageDescriptor - fd_MsgPlanetExplore_creator protoreflect.FieldDescriptor + md_MsgPermissionGrantOnAddress protoreflect.MessageDescriptor + fd_MsgPermissionGrantOnAddress_creator protoreflect.FieldDescriptor + fd_MsgPermissionGrantOnAddress_address protoreflect.FieldDescriptor + fd_MsgPermissionGrantOnAddress_permissions protoreflect.FieldDescriptor ) func init() { file_structs_structs_tx_proto_init() - md_MsgPlanetExplore = File_structs_structs_tx_proto.Messages().ByName("MsgPlanetExplore") - fd_MsgPlanetExplore_creator = md_MsgPlanetExplore.Fields().ByName("creator") + md_MsgPermissionGrantOnAddress = File_structs_structs_tx_proto.Messages().ByName("MsgPermissionGrantOnAddress") + fd_MsgPermissionGrantOnAddress_creator = md_MsgPermissionGrantOnAddress.Fields().ByName("creator") + fd_MsgPermissionGrantOnAddress_address = md_MsgPermissionGrantOnAddress.Fields().ByName("address") + fd_MsgPermissionGrantOnAddress_permissions = md_MsgPermissionGrantOnAddress.Fields().ByName("permissions") } -var _ protoreflect.Message = (*fastReflection_MsgPlanetExplore)(nil) +var _ protoreflect.Message = (*fastReflection_MsgPermissionGrantOnAddress)(nil) -type fastReflection_MsgPlanetExplore MsgPlanetExplore +type fastReflection_MsgPermissionGrantOnAddress MsgPermissionGrantOnAddress -func (x *MsgPlanetExplore) ProtoReflect() protoreflect.Message { - return (*fastReflection_MsgPlanetExplore)(x) +func (x *MsgPermissionGrantOnAddress) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgPermissionGrantOnAddress)(x) } -func (x *MsgPlanetExplore) slowProtoReflect() protoreflect.Message { +func (x *MsgPermissionGrantOnAddress) slowProtoReflect() protoreflect.Message { mi := &file_structs_structs_tx_proto_msgTypes[44] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -23032,43 +22508,43 @@ func (x *MsgPlanetExplore) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_MsgPlanetExplore_messageType fastReflection_MsgPlanetExplore_messageType -var _ protoreflect.MessageType = fastReflection_MsgPlanetExplore_messageType{} +var _fastReflection_MsgPermissionGrantOnAddress_messageType fastReflection_MsgPermissionGrantOnAddress_messageType +var _ protoreflect.MessageType = fastReflection_MsgPermissionGrantOnAddress_messageType{} -type fastReflection_MsgPlanetExplore_messageType struct{} +type fastReflection_MsgPermissionGrantOnAddress_messageType struct{} -func (x fastReflection_MsgPlanetExplore_messageType) Zero() protoreflect.Message { - return (*fastReflection_MsgPlanetExplore)(nil) +func (x fastReflection_MsgPermissionGrantOnAddress_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgPermissionGrantOnAddress)(nil) } -func (x fastReflection_MsgPlanetExplore_messageType) New() protoreflect.Message { - return new(fastReflection_MsgPlanetExplore) +func (x fastReflection_MsgPermissionGrantOnAddress_messageType) New() protoreflect.Message { + return new(fastReflection_MsgPermissionGrantOnAddress) } -func (x fastReflection_MsgPlanetExplore_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_MsgPlanetExplore +func (x fastReflection_MsgPermissionGrantOnAddress_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgPermissionGrantOnAddress } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_MsgPlanetExplore) Descriptor() protoreflect.MessageDescriptor { - return md_MsgPlanetExplore +func (x *fastReflection_MsgPermissionGrantOnAddress) Descriptor() protoreflect.MessageDescriptor { + return md_MsgPermissionGrantOnAddress } // 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_MsgPlanetExplore) Type() protoreflect.MessageType { - return _fastReflection_MsgPlanetExplore_messageType +func (x *fastReflection_MsgPermissionGrantOnAddress) Type() protoreflect.MessageType { + return _fastReflection_MsgPermissionGrantOnAddress_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_MsgPlanetExplore) New() protoreflect.Message { - return new(fastReflection_MsgPlanetExplore) +func (x *fastReflection_MsgPermissionGrantOnAddress) New() protoreflect.Message { + return new(fastReflection_MsgPermissionGrantOnAddress) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_MsgPlanetExplore) Interface() protoreflect.ProtoMessage { - return (*MsgPlanetExplore)(x) +func (x *fastReflection_MsgPermissionGrantOnAddress) Interface() protoreflect.ProtoMessage { + return (*MsgPermissionGrantOnAddress)(x) } // Range iterates over every populated field in an undefined order, @@ -23076,10 +22552,22 @@ func (x *fastReflection_MsgPlanetExplore) Interface() protoreflect.ProtoMessage // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_MsgPlanetExplore) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +func (x *fastReflection_MsgPermissionGrantOnAddress) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { if x.Creator != "" { value := protoreflect.ValueOfString(x.Creator) - if !f(fd_MsgPlanetExplore_creator, value) { + if !f(fd_MsgPermissionGrantOnAddress_creator, value) { + return + } + } + if x.Address != "" { + value := protoreflect.ValueOfString(x.Address) + if !f(fd_MsgPermissionGrantOnAddress_address, value) { + return + } + } + if x.Permissions != uint64(0) { + value := protoreflect.ValueOfUint64(x.Permissions) + if !f(fd_MsgPermissionGrantOnAddress_permissions, value) { return } } @@ -23096,15 +22584,19 @@ func (x *fastReflection_MsgPlanetExplore) Range(f func(protoreflect.FieldDescrip // 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_MsgPlanetExplore) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_MsgPermissionGrantOnAddress) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.MsgPlanetExplore.creator": + case "structs.structs.MsgPermissionGrantOnAddress.creator": return x.Creator != "" + case "structs.structs.MsgPermissionGrantOnAddress.address": + return x.Address != "" + case "structs.structs.MsgPermissionGrantOnAddress.permissions": + return x.Permissions != uint64(0) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPlanetExplore")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPermissionGrantOnAddress")) } - panic(fmt.Errorf("message structs.structs.MsgPlanetExplore does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgPermissionGrantOnAddress does not contain field %s", fd.FullName())) } } @@ -23114,15 +22606,19 @@ func (x *fastReflection_MsgPlanetExplore) Has(fd protoreflect.FieldDescriptor) b // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgPlanetExplore) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_MsgPermissionGrantOnAddress) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.MsgPlanetExplore.creator": + case "structs.structs.MsgPermissionGrantOnAddress.creator": x.Creator = "" + case "structs.structs.MsgPermissionGrantOnAddress.address": + x.Address = "" + case "structs.structs.MsgPermissionGrantOnAddress.permissions": + x.Permissions = uint64(0) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPlanetExplore")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPermissionGrantOnAddress")) } - panic(fmt.Errorf("message structs.structs.MsgPlanetExplore does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgPermissionGrantOnAddress does not contain field %s", fd.FullName())) } } @@ -23132,16 +22628,22 @@ func (x *fastReflection_MsgPlanetExplore) Clear(fd protoreflect.FieldDescriptor) // 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_MsgPlanetExplore) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgPermissionGrantOnAddress) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.MsgPlanetExplore.creator": + case "structs.structs.MsgPermissionGrantOnAddress.creator": value := x.Creator return protoreflect.ValueOfString(value) + case "structs.structs.MsgPermissionGrantOnAddress.address": + value := x.Address + return protoreflect.ValueOfString(value) + case "structs.structs.MsgPermissionGrantOnAddress.permissions": + value := x.Permissions + return protoreflect.ValueOfUint64(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPlanetExplore")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPermissionGrantOnAddress")) } - panic(fmt.Errorf("message structs.structs.MsgPlanetExplore does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.MsgPermissionGrantOnAddress does not contain field %s", descriptor.FullName())) } } @@ -23155,15 +22657,19 @@ func (x *fastReflection_MsgPlanetExplore) Get(descriptor protoreflect.FieldDescr // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgPlanetExplore) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_MsgPermissionGrantOnAddress) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.MsgPlanetExplore.creator": + case "structs.structs.MsgPermissionGrantOnAddress.creator": x.Creator = value.Interface().(string) + case "structs.structs.MsgPermissionGrantOnAddress.address": + x.Address = value.Interface().(string) + case "structs.structs.MsgPermissionGrantOnAddress.permissions": + x.Permissions = value.Uint() default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPlanetExplore")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPermissionGrantOnAddress")) } - panic(fmt.Errorf("message structs.structs.MsgPlanetExplore does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgPermissionGrantOnAddress does not contain field %s", fd.FullName())) } } @@ -23177,40 +22683,48 @@ func (x *fastReflection_MsgPlanetExplore) Set(fd protoreflect.FieldDescriptor, v // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgPlanetExplore) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgPermissionGrantOnAddress) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.MsgPlanetExplore.creator": - panic(fmt.Errorf("field creator of message structs.structs.MsgPlanetExplore is not mutable")) + case "structs.structs.MsgPermissionGrantOnAddress.creator": + panic(fmt.Errorf("field creator of message structs.structs.MsgPermissionGrantOnAddress is not mutable")) + case "structs.structs.MsgPermissionGrantOnAddress.address": + panic(fmt.Errorf("field address of message structs.structs.MsgPermissionGrantOnAddress is not mutable")) + case "structs.structs.MsgPermissionGrantOnAddress.permissions": + panic(fmt.Errorf("field permissions of message structs.structs.MsgPermissionGrantOnAddress is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPlanetExplore")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPermissionGrantOnAddress")) } - panic(fmt.Errorf("message structs.structs.MsgPlanetExplore does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgPermissionGrantOnAddress 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_MsgPlanetExplore) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgPermissionGrantOnAddress) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.MsgPlanetExplore.creator": + case "structs.structs.MsgPermissionGrantOnAddress.creator": + return protoreflect.ValueOfString("") + case "structs.structs.MsgPermissionGrantOnAddress.address": return protoreflect.ValueOfString("") + case "structs.structs.MsgPermissionGrantOnAddress.permissions": + return protoreflect.ValueOfUint64(uint64(0)) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPlanetExplore")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPermissionGrantOnAddress")) } - panic(fmt.Errorf("message structs.structs.MsgPlanetExplore does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgPermissionGrantOnAddress 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_MsgPlanetExplore) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_MsgPermissionGrantOnAddress) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgPlanetExplore", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgPermissionGrantOnAddress", d.FullName())) } panic("unreachable") } @@ -23218,7 +22732,7 @@ func (x *fastReflection_MsgPlanetExplore) WhichOneof(d protoreflect.OneofDescrip // 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_MsgPlanetExplore) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_MsgPermissionGrantOnAddress) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -23229,7 +22743,7 @@ func (x *fastReflection_MsgPlanetExplore) GetUnknown() protoreflect.RawFields { // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgPlanetExplore) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_MsgPermissionGrantOnAddress) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -23241,7 +22755,7 @@ func (x *fastReflection_MsgPlanetExplore) SetUnknown(fields protoreflect.RawFiel // 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_MsgPlanetExplore) IsValid() bool { +func (x *fastReflection_MsgPermissionGrantOnAddress) IsValid() bool { return x != nil } @@ -23251,9 +22765,9 @@ func (x *fastReflection_MsgPlanetExplore) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_MsgPlanetExplore) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_MsgPermissionGrantOnAddress) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*MsgPlanetExplore) + x := input.Message.Interface().(*MsgPermissionGrantOnAddress) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -23269,6 +22783,13 @@ func (x *fastReflection_MsgPlanetExplore) ProtoMethods() *protoiface.Methods { if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } + l = len(x.Address) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.Permissions != 0 { + n += 1 + runtime.Sov(uint64(x.Permissions)) + } if x.unknownFields != nil { n += len(x.unknownFields) } @@ -23279,7 +22800,7 @@ func (x *fastReflection_MsgPlanetExplore) ProtoMethods() *protoiface.Methods { } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*MsgPlanetExplore) + x := input.Message.Interface().(*MsgPermissionGrantOnAddress) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -23298,6 +22819,18 @@ func (x *fastReflection_MsgPlanetExplore) ProtoMethods() *protoiface.Methods { i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } + if x.Permissions != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.Permissions)) + i-- + dAtA[i] = 0x18 + } + if len(x.Address) > 0 { + i -= len(x.Address) + copy(dAtA[i:], x.Address) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Address))) + i-- + dAtA[i] = 0x12 + } if len(x.Creator) > 0 { i -= len(x.Creator) copy(dAtA[i:], x.Creator) @@ -23316,7 +22849,7 @@ func (x *fastReflection_MsgPlanetExplore) ProtoMethods() *protoiface.Methods { }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*MsgPlanetExplore) + x := input.Message.Interface().(*MsgPermissionGrantOnAddress) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -23348,10 +22881,10 @@ func (x *fastReflection_MsgPlanetExplore) ProtoMethods() *protoiface.Methods { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgPlanetExplore: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgPermissionGrantOnAddress: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgPlanetExplore: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgPermissionGrantOnAddress: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -23386,6 +22919,57 @@ func (x *fastReflection_MsgPlanetExplore) ProtoMethods() *protoiface.Methods { } x.Creator = 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 Address", 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.Address = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Permissions", wireType) + } + x.Permissions = 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.Permissions |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } default: iNdEx = preIndex skippy, err := runtime.Skip(dAtA[iNdEx:]) @@ -23422,25 +23006,31 @@ func (x *fastReflection_MsgPlanetExplore) ProtoMethods() *protoiface.Methods { } var ( - md_MsgPlanetExploreResponse protoreflect.MessageDescriptor - fd_MsgPlanetExploreResponse_planet protoreflect.FieldDescriptor + md_MsgPermissionRevokeOnObject protoreflect.MessageDescriptor + fd_MsgPermissionRevokeOnObject_creator protoreflect.FieldDescriptor + fd_MsgPermissionRevokeOnObject_objectId protoreflect.FieldDescriptor + fd_MsgPermissionRevokeOnObject_playerId protoreflect.FieldDescriptor + fd_MsgPermissionRevokeOnObject_permissions protoreflect.FieldDescriptor ) func init() { file_structs_structs_tx_proto_init() - md_MsgPlanetExploreResponse = File_structs_structs_tx_proto.Messages().ByName("MsgPlanetExploreResponse") - fd_MsgPlanetExploreResponse_planet = md_MsgPlanetExploreResponse.Fields().ByName("planet") + md_MsgPermissionRevokeOnObject = File_structs_structs_tx_proto.Messages().ByName("MsgPermissionRevokeOnObject") + fd_MsgPermissionRevokeOnObject_creator = md_MsgPermissionRevokeOnObject.Fields().ByName("creator") + fd_MsgPermissionRevokeOnObject_objectId = md_MsgPermissionRevokeOnObject.Fields().ByName("objectId") + fd_MsgPermissionRevokeOnObject_playerId = md_MsgPermissionRevokeOnObject.Fields().ByName("playerId") + fd_MsgPermissionRevokeOnObject_permissions = md_MsgPermissionRevokeOnObject.Fields().ByName("permissions") } -var _ protoreflect.Message = (*fastReflection_MsgPlanetExploreResponse)(nil) +var _ protoreflect.Message = (*fastReflection_MsgPermissionRevokeOnObject)(nil) -type fastReflection_MsgPlanetExploreResponse MsgPlanetExploreResponse +type fastReflection_MsgPermissionRevokeOnObject MsgPermissionRevokeOnObject -func (x *MsgPlanetExploreResponse) ProtoReflect() protoreflect.Message { - return (*fastReflection_MsgPlanetExploreResponse)(x) +func (x *MsgPermissionRevokeOnObject) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgPermissionRevokeOnObject)(x) } -func (x *MsgPlanetExploreResponse) slowProtoReflect() protoreflect.Message { +func (x *MsgPermissionRevokeOnObject) slowProtoReflect() protoreflect.Message { mi := &file_structs_structs_tx_proto_msgTypes[45] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -23452,43 +23042,43 @@ func (x *MsgPlanetExploreResponse) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_MsgPlanetExploreResponse_messageType fastReflection_MsgPlanetExploreResponse_messageType -var _ protoreflect.MessageType = fastReflection_MsgPlanetExploreResponse_messageType{} +var _fastReflection_MsgPermissionRevokeOnObject_messageType fastReflection_MsgPermissionRevokeOnObject_messageType +var _ protoreflect.MessageType = fastReflection_MsgPermissionRevokeOnObject_messageType{} -type fastReflection_MsgPlanetExploreResponse_messageType struct{} +type fastReflection_MsgPermissionRevokeOnObject_messageType struct{} -func (x fastReflection_MsgPlanetExploreResponse_messageType) Zero() protoreflect.Message { - return (*fastReflection_MsgPlanetExploreResponse)(nil) +func (x fastReflection_MsgPermissionRevokeOnObject_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgPermissionRevokeOnObject)(nil) } -func (x fastReflection_MsgPlanetExploreResponse_messageType) New() protoreflect.Message { - return new(fastReflection_MsgPlanetExploreResponse) +func (x fastReflection_MsgPermissionRevokeOnObject_messageType) New() protoreflect.Message { + return new(fastReflection_MsgPermissionRevokeOnObject) } -func (x fastReflection_MsgPlanetExploreResponse_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_MsgPlanetExploreResponse +func (x fastReflection_MsgPermissionRevokeOnObject_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgPermissionRevokeOnObject } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_MsgPlanetExploreResponse) Descriptor() protoreflect.MessageDescriptor { - return md_MsgPlanetExploreResponse +func (x *fastReflection_MsgPermissionRevokeOnObject) Descriptor() protoreflect.MessageDescriptor { + return md_MsgPermissionRevokeOnObject } // 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_MsgPlanetExploreResponse) Type() protoreflect.MessageType { - return _fastReflection_MsgPlanetExploreResponse_messageType +func (x *fastReflection_MsgPermissionRevokeOnObject) Type() protoreflect.MessageType { + return _fastReflection_MsgPermissionRevokeOnObject_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_MsgPlanetExploreResponse) New() protoreflect.Message { - return new(fastReflection_MsgPlanetExploreResponse) +func (x *fastReflection_MsgPermissionRevokeOnObject) New() protoreflect.Message { + return new(fastReflection_MsgPermissionRevokeOnObject) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_MsgPlanetExploreResponse) Interface() protoreflect.ProtoMessage { - return (*MsgPlanetExploreResponse)(x) +func (x *fastReflection_MsgPermissionRevokeOnObject) Interface() protoreflect.ProtoMessage { + return (*MsgPermissionRevokeOnObject)(x) } // Range iterates over every populated field in an undefined order, @@ -23496,10 +23086,28 @@ func (x *fastReflection_MsgPlanetExploreResponse) Interface() protoreflect.Proto // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_MsgPlanetExploreResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.Planet != nil { - value := protoreflect.ValueOfMessage(x.Planet.ProtoReflect()) - if !f(fd_MsgPlanetExploreResponse_planet, value) { +func (x *fastReflection_MsgPermissionRevokeOnObject) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Creator != "" { + value := protoreflect.ValueOfString(x.Creator) + if !f(fd_MsgPermissionRevokeOnObject_creator, value) { + return + } + } + if x.ObjectId != "" { + value := protoreflect.ValueOfString(x.ObjectId) + if !f(fd_MsgPermissionRevokeOnObject_objectId, value) { + return + } + } + if x.PlayerId != "" { + value := protoreflect.ValueOfString(x.PlayerId) + if !f(fd_MsgPermissionRevokeOnObject_playerId, value) { + return + } + } + if x.Permissions != uint64(0) { + value := protoreflect.ValueOfUint64(x.Permissions) + if !f(fd_MsgPermissionRevokeOnObject_permissions, value) { return } } @@ -23516,15 +23124,21 @@ func (x *fastReflection_MsgPlanetExploreResponse) Range(f func(protoreflect.Fiel // 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_MsgPlanetExploreResponse) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_MsgPermissionRevokeOnObject) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.MsgPlanetExploreResponse.planet": - return x.Planet != nil + case "structs.structs.MsgPermissionRevokeOnObject.creator": + return x.Creator != "" + case "structs.structs.MsgPermissionRevokeOnObject.objectId": + return x.ObjectId != "" + case "structs.structs.MsgPermissionRevokeOnObject.playerId": + return x.PlayerId != "" + case "structs.structs.MsgPermissionRevokeOnObject.permissions": + return x.Permissions != uint64(0) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPlanetExploreResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPermissionRevokeOnObject")) } - panic(fmt.Errorf("message structs.structs.MsgPlanetExploreResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgPermissionRevokeOnObject does not contain field %s", fd.FullName())) } } @@ -23534,15 +23148,21 @@ func (x *fastReflection_MsgPlanetExploreResponse) Has(fd protoreflect.FieldDescr // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgPlanetExploreResponse) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_MsgPermissionRevokeOnObject) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.MsgPlanetExploreResponse.planet": - x.Planet = nil + case "structs.structs.MsgPermissionRevokeOnObject.creator": + x.Creator = "" + case "structs.structs.MsgPermissionRevokeOnObject.objectId": + x.ObjectId = "" + case "structs.structs.MsgPermissionRevokeOnObject.playerId": + x.PlayerId = "" + case "structs.structs.MsgPermissionRevokeOnObject.permissions": + x.Permissions = uint64(0) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPlanetExploreResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPermissionRevokeOnObject")) } - panic(fmt.Errorf("message structs.structs.MsgPlanetExploreResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgPermissionRevokeOnObject does not contain field %s", fd.FullName())) } } @@ -23552,16 +23172,25 @@ func (x *fastReflection_MsgPlanetExploreResponse) Clear(fd protoreflect.FieldDes // 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_MsgPlanetExploreResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgPermissionRevokeOnObject) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.MsgPlanetExploreResponse.planet": - value := x.Planet - return protoreflect.ValueOfMessage(value.ProtoReflect()) + case "structs.structs.MsgPermissionRevokeOnObject.creator": + value := x.Creator + return protoreflect.ValueOfString(value) + case "structs.structs.MsgPermissionRevokeOnObject.objectId": + value := x.ObjectId + return protoreflect.ValueOfString(value) + case "structs.structs.MsgPermissionRevokeOnObject.playerId": + value := x.PlayerId + return protoreflect.ValueOfString(value) + case "structs.structs.MsgPermissionRevokeOnObject.permissions": + value := x.Permissions + return protoreflect.ValueOfUint64(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPlanetExploreResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPermissionRevokeOnObject")) } - panic(fmt.Errorf("message structs.structs.MsgPlanetExploreResponse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.MsgPermissionRevokeOnObject does not contain field %s", descriptor.FullName())) } } @@ -23575,15 +23204,21 @@ func (x *fastReflection_MsgPlanetExploreResponse) Get(descriptor protoreflect.Fi // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgPlanetExploreResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_MsgPermissionRevokeOnObject) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.MsgPlanetExploreResponse.planet": - x.Planet = value.Message().Interface().(*Planet) + case "structs.structs.MsgPermissionRevokeOnObject.creator": + x.Creator = value.Interface().(string) + case "structs.structs.MsgPermissionRevokeOnObject.objectId": + x.ObjectId = value.Interface().(string) + case "structs.structs.MsgPermissionRevokeOnObject.playerId": + x.PlayerId = value.Interface().(string) + case "structs.structs.MsgPermissionRevokeOnObject.permissions": + x.Permissions = value.Uint() default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPlanetExploreResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPermissionRevokeOnObject")) } - panic(fmt.Errorf("message structs.structs.MsgPlanetExploreResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgPermissionRevokeOnObject does not contain field %s", fd.FullName())) } } @@ -23597,44 +23232,52 @@ func (x *fastReflection_MsgPlanetExploreResponse) Set(fd protoreflect.FieldDescr // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgPlanetExploreResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgPermissionRevokeOnObject) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.MsgPlanetExploreResponse.planet": - if x.Planet == nil { - x.Planet = new(Planet) - } - return protoreflect.ValueOfMessage(x.Planet.ProtoReflect()) + case "structs.structs.MsgPermissionRevokeOnObject.creator": + panic(fmt.Errorf("field creator of message structs.structs.MsgPermissionRevokeOnObject is not mutable")) + case "structs.structs.MsgPermissionRevokeOnObject.objectId": + panic(fmt.Errorf("field objectId of message structs.structs.MsgPermissionRevokeOnObject is not mutable")) + case "structs.structs.MsgPermissionRevokeOnObject.playerId": + panic(fmt.Errorf("field playerId of message structs.structs.MsgPermissionRevokeOnObject is not mutable")) + case "structs.structs.MsgPermissionRevokeOnObject.permissions": + panic(fmt.Errorf("field permissions of message structs.structs.MsgPermissionRevokeOnObject is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPlanetExploreResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPermissionRevokeOnObject")) } - panic(fmt.Errorf("message structs.structs.MsgPlanetExploreResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgPermissionRevokeOnObject 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_MsgPlanetExploreResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgPermissionRevokeOnObject) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.MsgPlanetExploreResponse.planet": - m := new(Planet) - return protoreflect.ValueOfMessage(m.ProtoReflect()) + case "structs.structs.MsgPermissionRevokeOnObject.creator": + return protoreflect.ValueOfString("") + case "structs.structs.MsgPermissionRevokeOnObject.objectId": + return protoreflect.ValueOfString("") + case "structs.structs.MsgPermissionRevokeOnObject.playerId": + return protoreflect.ValueOfString("") + case "structs.structs.MsgPermissionRevokeOnObject.permissions": + return protoreflect.ValueOfUint64(uint64(0)) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPlanetExploreResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPermissionRevokeOnObject")) } - panic(fmt.Errorf("message structs.structs.MsgPlanetExploreResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgPermissionRevokeOnObject 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_MsgPlanetExploreResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_MsgPermissionRevokeOnObject) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgPlanetExploreResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgPermissionRevokeOnObject", d.FullName())) } panic("unreachable") } @@ -23642,7 +23285,7 @@ func (x *fastReflection_MsgPlanetExploreResponse) WhichOneof(d protoreflect.Oneo // 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_MsgPlanetExploreResponse) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_MsgPermissionRevokeOnObject) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -23653,7 +23296,7 @@ func (x *fastReflection_MsgPlanetExploreResponse) GetUnknown() protoreflect.RawF // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgPlanetExploreResponse) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_MsgPermissionRevokeOnObject) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -23665,7 +23308,7 @@ func (x *fastReflection_MsgPlanetExploreResponse) SetUnknown(fields protoreflect // 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_MsgPlanetExploreResponse) IsValid() bool { +func (x *fastReflection_MsgPermissionRevokeOnObject) IsValid() bool { return x != nil } @@ -23675,9 +23318,9 @@ func (x *fastReflection_MsgPlanetExploreResponse) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_MsgPlanetExploreResponse) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_MsgPermissionRevokeOnObject) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*MsgPlanetExploreResponse) + x := input.Message.Interface().(*MsgPermissionRevokeOnObject) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -23689,10 +23332,21 @@ func (x *fastReflection_MsgPlanetExploreResponse) ProtoMethods() *protoiface.Met var n int var l int _ = l - if x.Planet != nil { - l = options.Size(x.Planet) + l = len(x.Creator) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.ObjectId) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.PlayerId) + if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } + if x.Permissions != 0 { + n += 1 + runtime.Sov(uint64(x.Permissions)) + } if x.unknownFields != nil { n += len(x.unknownFields) } @@ -23703,7 +23357,7 @@ func (x *fastReflection_MsgPlanetExploreResponse) ProtoMethods() *protoiface.Met } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*MsgPlanetExploreResponse) + x := input.Message.Interface().(*MsgPermissionRevokeOnObject) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -23722,17 +23376,29 @@ func (x *fastReflection_MsgPlanetExploreResponse) ProtoMethods() *protoiface.Met i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if x.Planet != nil { - encoded, err := options.Marshal(x.Planet) - 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))) + if x.Permissions != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.Permissions)) + i-- + dAtA[i] = 0x20 + } + if len(x.PlayerId) > 0 { + i -= len(x.PlayerId) + copy(dAtA[i:], x.PlayerId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.PlayerId))) + i-- + dAtA[i] = 0x1a + } + if len(x.ObjectId) > 0 { + i -= len(x.ObjectId) + copy(dAtA[i:], x.ObjectId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.ObjectId))) + i-- + dAtA[i] = 0x12 + } + if len(x.Creator) > 0 { + i -= len(x.Creator) + copy(dAtA[i:], x.Creator) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Creator))) i-- dAtA[i] = 0xa } @@ -23747,7 +23413,7 @@ func (x *fastReflection_MsgPlanetExploreResponse) ProtoMethods() *protoiface.Met }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*MsgPlanetExploreResponse) + x := input.Message.Interface().(*MsgPermissionRevokeOnObject) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -23779,17 +23445,17 @@ func (x *fastReflection_MsgPlanetExploreResponse) ProtoMethods() *protoiface.Met fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgPlanetExploreResponse: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgPermissionRevokeOnObject: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgPlanetExploreResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgPermissionRevokeOnObject: 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 Planet", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -23799,28 +23465,107 @@ func (x *fastReflection_MsgPlanetExploreResponse) ProtoMethods() *protoiface.Met } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength } - postIndex := iNdEx + msglen + 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 } - if x.Planet == nil { - x.Planet = &Planet{} + x.Creator = 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 ObjectId", wireType) } - if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Planet); err != nil { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + 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.ObjectId = 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 PlayerId", 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.PlayerId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex + case 4: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Permissions", wireType) + } + x.Permissions = 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.Permissions |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } default: iNdEx = preIndex skippy, err := runtime.Skip(dAtA[iNdEx:]) @@ -23857,31 +23602,29 @@ func (x *fastReflection_MsgPlanetExploreResponse) ProtoMethods() *protoiface.Met } var ( - md_MsgPlanetRaidComplete protoreflect.MessageDescriptor - fd_MsgPlanetRaidComplete_creator protoreflect.FieldDescriptor - fd_MsgPlanetRaidComplete_fleetId protoreflect.FieldDescriptor - fd_MsgPlanetRaidComplete_proof protoreflect.FieldDescriptor - fd_MsgPlanetRaidComplete_nonce protoreflect.FieldDescriptor + md_MsgPermissionRevokeOnAddress protoreflect.MessageDescriptor + fd_MsgPermissionRevokeOnAddress_creator protoreflect.FieldDescriptor + fd_MsgPermissionRevokeOnAddress_address protoreflect.FieldDescriptor + fd_MsgPermissionRevokeOnAddress_permissions protoreflect.FieldDescriptor ) func init() { file_structs_structs_tx_proto_init() - md_MsgPlanetRaidComplete = File_structs_structs_tx_proto.Messages().ByName("MsgPlanetRaidComplete") - fd_MsgPlanetRaidComplete_creator = md_MsgPlanetRaidComplete.Fields().ByName("creator") - fd_MsgPlanetRaidComplete_fleetId = md_MsgPlanetRaidComplete.Fields().ByName("fleetId") - fd_MsgPlanetRaidComplete_proof = md_MsgPlanetRaidComplete.Fields().ByName("proof") - fd_MsgPlanetRaidComplete_nonce = md_MsgPlanetRaidComplete.Fields().ByName("nonce") + md_MsgPermissionRevokeOnAddress = File_structs_structs_tx_proto.Messages().ByName("MsgPermissionRevokeOnAddress") + fd_MsgPermissionRevokeOnAddress_creator = md_MsgPermissionRevokeOnAddress.Fields().ByName("creator") + fd_MsgPermissionRevokeOnAddress_address = md_MsgPermissionRevokeOnAddress.Fields().ByName("address") + fd_MsgPermissionRevokeOnAddress_permissions = md_MsgPermissionRevokeOnAddress.Fields().ByName("permissions") } -var _ protoreflect.Message = (*fastReflection_MsgPlanetRaidComplete)(nil) +var _ protoreflect.Message = (*fastReflection_MsgPermissionRevokeOnAddress)(nil) -type fastReflection_MsgPlanetRaidComplete MsgPlanetRaidComplete +type fastReflection_MsgPermissionRevokeOnAddress MsgPermissionRevokeOnAddress -func (x *MsgPlanetRaidComplete) ProtoReflect() protoreflect.Message { - return (*fastReflection_MsgPlanetRaidComplete)(x) +func (x *MsgPermissionRevokeOnAddress) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgPermissionRevokeOnAddress)(x) } -func (x *MsgPlanetRaidComplete) slowProtoReflect() protoreflect.Message { +func (x *MsgPermissionRevokeOnAddress) slowProtoReflect() protoreflect.Message { mi := &file_structs_structs_tx_proto_msgTypes[46] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -23893,43 +23636,43 @@ func (x *MsgPlanetRaidComplete) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_MsgPlanetRaidComplete_messageType fastReflection_MsgPlanetRaidComplete_messageType -var _ protoreflect.MessageType = fastReflection_MsgPlanetRaidComplete_messageType{} +var _fastReflection_MsgPermissionRevokeOnAddress_messageType fastReflection_MsgPermissionRevokeOnAddress_messageType +var _ protoreflect.MessageType = fastReflection_MsgPermissionRevokeOnAddress_messageType{} -type fastReflection_MsgPlanetRaidComplete_messageType struct{} +type fastReflection_MsgPermissionRevokeOnAddress_messageType struct{} -func (x fastReflection_MsgPlanetRaidComplete_messageType) Zero() protoreflect.Message { - return (*fastReflection_MsgPlanetRaidComplete)(nil) +func (x fastReflection_MsgPermissionRevokeOnAddress_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgPermissionRevokeOnAddress)(nil) } -func (x fastReflection_MsgPlanetRaidComplete_messageType) New() protoreflect.Message { - return new(fastReflection_MsgPlanetRaidComplete) +func (x fastReflection_MsgPermissionRevokeOnAddress_messageType) New() protoreflect.Message { + return new(fastReflection_MsgPermissionRevokeOnAddress) } -func (x fastReflection_MsgPlanetRaidComplete_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_MsgPlanetRaidComplete +func (x fastReflection_MsgPermissionRevokeOnAddress_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgPermissionRevokeOnAddress } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_MsgPlanetRaidComplete) Descriptor() protoreflect.MessageDescriptor { - return md_MsgPlanetRaidComplete +func (x *fastReflection_MsgPermissionRevokeOnAddress) Descriptor() protoreflect.MessageDescriptor { + return md_MsgPermissionRevokeOnAddress } // 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_MsgPlanetRaidComplete) Type() protoreflect.MessageType { - return _fastReflection_MsgPlanetRaidComplete_messageType +func (x *fastReflection_MsgPermissionRevokeOnAddress) Type() protoreflect.MessageType { + return _fastReflection_MsgPermissionRevokeOnAddress_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_MsgPlanetRaidComplete) New() protoreflect.Message { - return new(fastReflection_MsgPlanetRaidComplete) +func (x *fastReflection_MsgPermissionRevokeOnAddress) New() protoreflect.Message { + return new(fastReflection_MsgPermissionRevokeOnAddress) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_MsgPlanetRaidComplete) Interface() protoreflect.ProtoMessage { - return (*MsgPlanetRaidComplete)(x) +func (x *fastReflection_MsgPermissionRevokeOnAddress) Interface() protoreflect.ProtoMessage { + return (*MsgPermissionRevokeOnAddress)(x) } // Range iterates over every populated field in an undefined order, @@ -23937,28 +23680,22 @@ func (x *fastReflection_MsgPlanetRaidComplete) Interface() protoreflect.ProtoMes // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_MsgPlanetRaidComplete) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +func (x *fastReflection_MsgPermissionRevokeOnAddress) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { if x.Creator != "" { value := protoreflect.ValueOfString(x.Creator) - if !f(fd_MsgPlanetRaidComplete_creator, value) { - return - } - } - if x.FleetId != "" { - value := protoreflect.ValueOfString(x.FleetId) - if !f(fd_MsgPlanetRaidComplete_fleetId, value) { + if !f(fd_MsgPermissionRevokeOnAddress_creator, value) { return } } - if x.Proof != "" { - value := protoreflect.ValueOfString(x.Proof) - if !f(fd_MsgPlanetRaidComplete_proof, value) { + if x.Address != "" { + value := protoreflect.ValueOfString(x.Address) + if !f(fd_MsgPermissionRevokeOnAddress_address, value) { return } } - if x.Nonce != "" { - value := protoreflect.ValueOfString(x.Nonce) - if !f(fd_MsgPlanetRaidComplete_nonce, value) { + if x.Permissions != uint64(0) { + value := protoreflect.ValueOfUint64(x.Permissions) + if !f(fd_MsgPermissionRevokeOnAddress_permissions, value) { return } } @@ -23975,21 +23712,19 @@ func (x *fastReflection_MsgPlanetRaidComplete) Range(f func(protoreflect.FieldDe // 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_MsgPlanetRaidComplete) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_MsgPermissionRevokeOnAddress) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.MsgPlanetRaidComplete.creator": + case "structs.structs.MsgPermissionRevokeOnAddress.creator": return x.Creator != "" - case "structs.structs.MsgPlanetRaidComplete.fleetId": - return x.FleetId != "" - case "structs.structs.MsgPlanetRaidComplete.proof": - return x.Proof != "" - case "structs.structs.MsgPlanetRaidComplete.nonce": - return x.Nonce != "" + case "structs.structs.MsgPermissionRevokeOnAddress.address": + return x.Address != "" + case "structs.structs.MsgPermissionRevokeOnAddress.permissions": + return x.Permissions != uint64(0) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPlanetRaidComplete")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPermissionRevokeOnAddress")) } - panic(fmt.Errorf("message structs.structs.MsgPlanetRaidComplete does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgPermissionRevokeOnAddress does not contain field %s", fd.FullName())) } } @@ -23999,21 +23734,19 @@ func (x *fastReflection_MsgPlanetRaidComplete) Has(fd protoreflect.FieldDescript // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgPlanetRaidComplete) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_MsgPermissionRevokeOnAddress) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.MsgPlanetRaidComplete.creator": + case "structs.structs.MsgPermissionRevokeOnAddress.creator": x.Creator = "" - case "structs.structs.MsgPlanetRaidComplete.fleetId": - x.FleetId = "" - case "structs.structs.MsgPlanetRaidComplete.proof": - x.Proof = "" - case "structs.structs.MsgPlanetRaidComplete.nonce": - x.Nonce = "" + case "structs.structs.MsgPermissionRevokeOnAddress.address": + x.Address = "" + case "structs.structs.MsgPermissionRevokeOnAddress.permissions": + x.Permissions = uint64(0) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPlanetRaidComplete")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPermissionRevokeOnAddress")) } - panic(fmt.Errorf("message structs.structs.MsgPlanetRaidComplete does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgPermissionRevokeOnAddress does not contain field %s", fd.FullName())) } } @@ -24023,25 +23756,22 @@ func (x *fastReflection_MsgPlanetRaidComplete) Clear(fd protoreflect.FieldDescri // 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_MsgPlanetRaidComplete) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgPermissionRevokeOnAddress) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.MsgPlanetRaidComplete.creator": + case "structs.structs.MsgPermissionRevokeOnAddress.creator": value := x.Creator return protoreflect.ValueOfString(value) - case "structs.structs.MsgPlanetRaidComplete.fleetId": - value := x.FleetId - return protoreflect.ValueOfString(value) - case "structs.structs.MsgPlanetRaidComplete.proof": - value := x.Proof - return protoreflect.ValueOfString(value) - case "structs.structs.MsgPlanetRaidComplete.nonce": - value := x.Nonce + case "structs.structs.MsgPermissionRevokeOnAddress.address": + value := x.Address return protoreflect.ValueOfString(value) + case "structs.structs.MsgPermissionRevokeOnAddress.permissions": + value := x.Permissions + return protoreflect.ValueOfUint64(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPlanetRaidComplete")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPermissionRevokeOnAddress")) } - panic(fmt.Errorf("message structs.structs.MsgPlanetRaidComplete does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.MsgPermissionRevokeOnAddress does not contain field %s", descriptor.FullName())) } } @@ -24055,21 +23785,19 @@ func (x *fastReflection_MsgPlanetRaidComplete) Get(descriptor protoreflect.Field // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgPlanetRaidComplete) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_MsgPermissionRevokeOnAddress) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.MsgPlanetRaidComplete.creator": + case "structs.structs.MsgPermissionRevokeOnAddress.creator": x.Creator = value.Interface().(string) - case "structs.structs.MsgPlanetRaidComplete.fleetId": - x.FleetId = value.Interface().(string) - case "structs.structs.MsgPlanetRaidComplete.proof": - x.Proof = value.Interface().(string) - case "structs.structs.MsgPlanetRaidComplete.nonce": - x.Nonce = value.Interface().(string) + case "structs.structs.MsgPermissionRevokeOnAddress.address": + x.Address = value.Interface().(string) + case "structs.structs.MsgPermissionRevokeOnAddress.permissions": + x.Permissions = value.Uint() default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPlanetRaidComplete")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPermissionRevokeOnAddress")) } - panic(fmt.Errorf("message structs.structs.MsgPlanetRaidComplete does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgPermissionRevokeOnAddress does not contain field %s", fd.FullName())) } } @@ -24083,52 +23811,48 @@ func (x *fastReflection_MsgPlanetRaidComplete) Set(fd protoreflect.FieldDescript // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgPlanetRaidComplete) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgPermissionRevokeOnAddress) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.MsgPlanetRaidComplete.creator": - panic(fmt.Errorf("field creator of message structs.structs.MsgPlanetRaidComplete is not mutable")) - case "structs.structs.MsgPlanetRaidComplete.fleetId": - panic(fmt.Errorf("field fleetId of message structs.structs.MsgPlanetRaidComplete is not mutable")) - case "structs.structs.MsgPlanetRaidComplete.proof": - panic(fmt.Errorf("field proof of message structs.structs.MsgPlanetRaidComplete is not mutable")) - case "structs.structs.MsgPlanetRaidComplete.nonce": - panic(fmt.Errorf("field nonce of message structs.structs.MsgPlanetRaidComplete is not mutable")) + case "structs.structs.MsgPermissionRevokeOnAddress.creator": + panic(fmt.Errorf("field creator of message structs.structs.MsgPermissionRevokeOnAddress is not mutable")) + case "structs.structs.MsgPermissionRevokeOnAddress.address": + panic(fmt.Errorf("field address of message structs.structs.MsgPermissionRevokeOnAddress is not mutable")) + case "structs.structs.MsgPermissionRevokeOnAddress.permissions": + panic(fmt.Errorf("field permissions of message structs.structs.MsgPermissionRevokeOnAddress is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPlanetRaidComplete")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPermissionRevokeOnAddress")) } - panic(fmt.Errorf("message structs.structs.MsgPlanetRaidComplete does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgPermissionRevokeOnAddress 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_MsgPlanetRaidComplete) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgPermissionRevokeOnAddress) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.MsgPlanetRaidComplete.creator": - return protoreflect.ValueOfString("") - case "structs.structs.MsgPlanetRaidComplete.fleetId": - return protoreflect.ValueOfString("") - case "structs.structs.MsgPlanetRaidComplete.proof": + case "structs.structs.MsgPermissionRevokeOnAddress.creator": return protoreflect.ValueOfString("") - case "structs.structs.MsgPlanetRaidComplete.nonce": + case "structs.structs.MsgPermissionRevokeOnAddress.address": return protoreflect.ValueOfString("") + case "structs.structs.MsgPermissionRevokeOnAddress.permissions": + return protoreflect.ValueOfUint64(uint64(0)) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPlanetRaidComplete")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPermissionRevokeOnAddress")) } - panic(fmt.Errorf("message structs.structs.MsgPlanetRaidComplete does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgPermissionRevokeOnAddress 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_MsgPlanetRaidComplete) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_MsgPermissionRevokeOnAddress) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgPlanetRaidComplete", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgPermissionRevokeOnAddress", d.FullName())) } panic("unreachable") } @@ -24136,7 +23860,7 @@ func (x *fastReflection_MsgPlanetRaidComplete) WhichOneof(d protoreflect.OneofDe // 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_MsgPlanetRaidComplete) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_MsgPermissionRevokeOnAddress) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -24147,7 +23871,7 @@ func (x *fastReflection_MsgPlanetRaidComplete) GetUnknown() protoreflect.RawFiel // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgPlanetRaidComplete) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_MsgPermissionRevokeOnAddress) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -24159,7 +23883,7 @@ func (x *fastReflection_MsgPlanetRaidComplete) SetUnknown(fields protoreflect.Ra // 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_MsgPlanetRaidComplete) IsValid() bool { +func (x *fastReflection_MsgPermissionRevokeOnAddress) IsValid() bool { return x != nil } @@ -24169,9 +23893,9 @@ func (x *fastReflection_MsgPlanetRaidComplete) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_MsgPlanetRaidComplete) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_MsgPermissionRevokeOnAddress) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*MsgPlanetRaidComplete) + x := input.Message.Interface().(*MsgPermissionRevokeOnAddress) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -24187,17 +23911,12 @@ func (x *fastReflection_MsgPlanetRaidComplete) ProtoMethods() *protoiface.Method if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } - l = len(x.FleetId) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } - l = len(x.Proof) + l = len(x.Address) if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } - l = len(x.Nonce) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) + if x.Permissions != 0 { + n += 1 + runtime.Sov(uint64(x.Permissions)) } if x.unknownFields != nil { n += len(x.unknownFields) @@ -24209,7 +23928,7 @@ func (x *fastReflection_MsgPlanetRaidComplete) ProtoMethods() *protoiface.Method } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*MsgPlanetRaidComplete) + x := input.Message.Interface().(*MsgPermissionRevokeOnAddress) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -24228,24 +23947,15 @@ func (x *fastReflection_MsgPlanetRaidComplete) ProtoMethods() *protoiface.Method i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if len(x.Nonce) > 0 { - i -= len(x.Nonce) - copy(dAtA[i:], x.Nonce) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Nonce))) - i-- - dAtA[i] = 0x22 - } - if len(x.Proof) > 0 { - i -= len(x.Proof) - copy(dAtA[i:], x.Proof) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Proof))) + if x.Permissions != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.Permissions)) i-- - dAtA[i] = 0x1a + dAtA[i] = 0x18 } - if len(x.FleetId) > 0 { - i -= len(x.FleetId) - copy(dAtA[i:], x.FleetId) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.FleetId))) + if len(x.Address) > 0 { + i -= len(x.Address) + copy(dAtA[i:], x.Address) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Address))) i-- dAtA[i] = 0x12 } @@ -24267,7 +23977,7 @@ func (x *fastReflection_MsgPlanetRaidComplete) ProtoMethods() *protoiface.Method }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*MsgPlanetRaidComplete) + x := input.Message.Interface().(*MsgPermissionRevokeOnAddress) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -24299,10 +24009,10 @@ func (x *fastReflection_MsgPlanetRaidComplete) ProtoMethods() *protoiface.Method fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgPlanetRaidComplete: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgPermissionRevokeOnAddress: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgPlanetRaidComplete: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgPermissionRevokeOnAddress: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -24339,7 +24049,7 @@ func (x *fastReflection_MsgPlanetRaidComplete) ProtoMethods() *protoiface.Method iNdEx = postIndex case 2: if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field FleetId", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -24367,45 +24077,13 @@ func (x *fastReflection_MsgPlanetRaidComplete) ProtoMethods() *protoiface.Method if postIndex > l { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - x.FleetId = string(dAtA[iNdEx:postIndex]) + x.Address = 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 Proof", 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.Proof = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Nonce", wireType) + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Permissions", wireType) } - var stringLen uint64 + x.Permissions = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -24415,24 +24093,11 @@ func (x *fastReflection_MsgPlanetRaidComplete) ProtoMethods() *protoiface.Method } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + x.Permissions |= 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.Nonce = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex default: iNdEx = preIndex skippy, err := runtime.Skip(dAtA[iNdEx:]) @@ -24469,29 +24134,31 @@ func (x *fastReflection_MsgPlanetRaidComplete) ProtoMethods() *protoiface.Method } var ( - md_MsgPlanetRaidCompleteResponse protoreflect.MessageDescriptor - fd_MsgPlanetRaidCompleteResponse_fleet protoreflect.FieldDescriptor - fd_MsgPlanetRaidCompleteResponse_planet protoreflect.FieldDescriptor - fd_MsgPlanetRaidCompleteResponse_oreStolen protoreflect.FieldDescriptor + md_MsgPermissionSetOnObject protoreflect.MessageDescriptor + fd_MsgPermissionSetOnObject_creator protoreflect.FieldDescriptor + fd_MsgPermissionSetOnObject_objectId protoreflect.FieldDescriptor + fd_MsgPermissionSetOnObject_playerId protoreflect.FieldDescriptor + fd_MsgPermissionSetOnObject_permissions protoreflect.FieldDescriptor ) func init() { file_structs_structs_tx_proto_init() - md_MsgPlanetRaidCompleteResponse = File_structs_structs_tx_proto.Messages().ByName("MsgPlanetRaidCompleteResponse") - fd_MsgPlanetRaidCompleteResponse_fleet = md_MsgPlanetRaidCompleteResponse.Fields().ByName("fleet") - fd_MsgPlanetRaidCompleteResponse_planet = md_MsgPlanetRaidCompleteResponse.Fields().ByName("planet") - fd_MsgPlanetRaidCompleteResponse_oreStolen = md_MsgPlanetRaidCompleteResponse.Fields().ByName("oreStolen") + md_MsgPermissionSetOnObject = File_structs_structs_tx_proto.Messages().ByName("MsgPermissionSetOnObject") + fd_MsgPermissionSetOnObject_creator = md_MsgPermissionSetOnObject.Fields().ByName("creator") + fd_MsgPermissionSetOnObject_objectId = md_MsgPermissionSetOnObject.Fields().ByName("objectId") + fd_MsgPermissionSetOnObject_playerId = md_MsgPermissionSetOnObject.Fields().ByName("playerId") + fd_MsgPermissionSetOnObject_permissions = md_MsgPermissionSetOnObject.Fields().ByName("permissions") } -var _ protoreflect.Message = (*fastReflection_MsgPlanetRaidCompleteResponse)(nil) +var _ protoreflect.Message = (*fastReflection_MsgPermissionSetOnObject)(nil) -type fastReflection_MsgPlanetRaidCompleteResponse MsgPlanetRaidCompleteResponse +type fastReflection_MsgPermissionSetOnObject MsgPermissionSetOnObject -func (x *MsgPlanetRaidCompleteResponse) ProtoReflect() protoreflect.Message { - return (*fastReflection_MsgPlanetRaidCompleteResponse)(x) +func (x *MsgPermissionSetOnObject) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgPermissionSetOnObject)(x) } -func (x *MsgPlanetRaidCompleteResponse) slowProtoReflect() protoreflect.Message { +func (x *MsgPermissionSetOnObject) slowProtoReflect() protoreflect.Message { mi := &file_structs_structs_tx_proto_msgTypes[47] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -24503,43 +24170,43 @@ func (x *MsgPlanetRaidCompleteResponse) slowProtoReflect() protoreflect.Message return mi.MessageOf(x) } -var _fastReflection_MsgPlanetRaidCompleteResponse_messageType fastReflection_MsgPlanetRaidCompleteResponse_messageType -var _ protoreflect.MessageType = fastReflection_MsgPlanetRaidCompleteResponse_messageType{} +var _fastReflection_MsgPermissionSetOnObject_messageType fastReflection_MsgPermissionSetOnObject_messageType +var _ protoreflect.MessageType = fastReflection_MsgPermissionSetOnObject_messageType{} -type fastReflection_MsgPlanetRaidCompleteResponse_messageType struct{} +type fastReflection_MsgPermissionSetOnObject_messageType struct{} -func (x fastReflection_MsgPlanetRaidCompleteResponse_messageType) Zero() protoreflect.Message { - return (*fastReflection_MsgPlanetRaidCompleteResponse)(nil) +func (x fastReflection_MsgPermissionSetOnObject_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgPermissionSetOnObject)(nil) } -func (x fastReflection_MsgPlanetRaidCompleteResponse_messageType) New() protoreflect.Message { - return new(fastReflection_MsgPlanetRaidCompleteResponse) +func (x fastReflection_MsgPermissionSetOnObject_messageType) New() protoreflect.Message { + return new(fastReflection_MsgPermissionSetOnObject) } -func (x fastReflection_MsgPlanetRaidCompleteResponse_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_MsgPlanetRaidCompleteResponse +func (x fastReflection_MsgPermissionSetOnObject_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgPermissionSetOnObject } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_MsgPlanetRaidCompleteResponse) Descriptor() protoreflect.MessageDescriptor { - return md_MsgPlanetRaidCompleteResponse +func (x *fastReflection_MsgPermissionSetOnObject) Descriptor() protoreflect.MessageDescriptor { + return md_MsgPermissionSetOnObject } // 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_MsgPlanetRaidCompleteResponse) Type() protoreflect.MessageType { - return _fastReflection_MsgPlanetRaidCompleteResponse_messageType +func (x *fastReflection_MsgPermissionSetOnObject) Type() protoreflect.MessageType { + return _fastReflection_MsgPermissionSetOnObject_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_MsgPlanetRaidCompleteResponse) New() protoreflect.Message { - return new(fastReflection_MsgPlanetRaidCompleteResponse) +func (x *fastReflection_MsgPermissionSetOnObject) New() protoreflect.Message { + return new(fastReflection_MsgPermissionSetOnObject) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_MsgPlanetRaidCompleteResponse) Interface() protoreflect.ProtoMessage { - return (*MsgPlanetRaidCompleteResponse)(x) +func (x *fastReflection_MsgPermissionSetOnObject) Interface() protoreflect.ProtoMessage { + return (*MsgPermissionSetOnObject)(x) } // Range iterates over every populated field in an undefined order, @@ -24547,22 +24214,28 @@ func (x *fastReflection_MsgPlanetRaidCompleteResponse) Interface() protoreflect. // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_MsgPlanetRaidCompleteResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.Fleet != nil { - value := protoreflect.ValueOfMessage(x.Fleet.ProtoReflect()) - if !f(fd_MsgPlanetRaidCompleteResponse_fleet, value) { +func (x *fastReflection_MsgPermissionSetOnObject) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Creator != "" { + value := protoreflect.ValueOfString(x.Creator) + if !f(fd_MsgPermissionSetOnObject_creator, value) { return } } - if x.Planet != nil { - value := protoreflect.ValueOfMessage(x.Planet.ProtoReflect()) - if !f(fd_MsgPlanetRaidCompleteResponse_planet, value) { + if x.ObjectId != "" { + value := protoreflect.ValueOfString(x.ObjectId) + if !f(fd_MsgPermissionSetOnObject_objectId, value) { return } } - if x.OreStolen != uint64(0) { - value := protoreflect.ValueOfUint64(x.OreStolen) - if !f(fd_MsgPlanetRaidCompleteResponse_oreStolen, value) { + if x.PlayerId != "" { + value := protoreflect.ValueOfString(x.PlayerId) + if !f(fd_MsgPermissionSetOnObject_playerId, value) { + return + } + } + if x.Permissions != uint64(0) { + value := protoreflect.ValueOfUint64(x.Permissions) + if !f(fd_MsgPermissionSetOnObject_permissions, value) { return } } @@ -24579,19 +24252,21 @@ func (x *fastReflection_MsgPlanetRaidCompleteResponse) Range(f func(protoreflect // 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_MsgPlanetRaidCompleteResponse) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_MsgPermissionSetOnObject) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.MsgPlanetRaidCompleteResponse.fleet": - return x.Fleet != nil - case "structs.structs.MsgPlanetRaidCompleteResponse.planet": - return x.Planet != nil - case "structs.structs.MsgPlanetRaidCompleteResponse.oreStolen": - return x.OreStolen != uint64(0) + case "structs.structs.MsgPermissionSetOnObject.creator": + return x.Creator != "" + case "structs.structs.MsgPermissionSetOnObject.objectId": + return x.ObjectId != "" + case "structs.structs.MsgPermissionSetOnObject.playerId": + return x.PlayerId != "" + case "structs.structs.MsgPermissionSetOnObject.permissions": + return x.Permissions != uint64(0) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPlanetRaidCompleteResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPermissionSetOnObject")) } - panic(fmt.Errorf("message structs.structs.MsgPlanetRaidCompleteResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgPermissionSetOnObject does not contain field %s", fd.FullName())) } } @@ -24601,19 +24276,21 @@ func (x *fastReflection_MsgPlanetRaidCompleteResponse) Has(fd protoreflect.Field // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgPlanetRaidCompleteResponse) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_MsgPermissionSetOnObject) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.MsgPlanetRaidCompleteResponse.fleet": - x.Fleet = nil - case "structs.structs.MsgPlanetRaidCompleteResponse.planet": - x.Planet = nil - case "structs.structs.MsgPlanetRaidCompleteResponse.oreStolen": - x.OreStolen = uint64(0) + case "structs.structs.MsgPermissionSetOnObject.creator": + x.Creator = "" + case "structs.structs.MsgPermissionSetOnObject.objectId": + x.ObjectId = "" + case "structs.structs.MsgPermissionSetOnObject.playerId": + x.PlayerId = "" + case "structs.structs.MsgPermissionSetOnObject.permissions": + x.Permissions = uint64(0) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPlanetRaidCompleteResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPermissionSetOnObject")) } - panic(fmt.Errorf("message structs.structs.MsgPlanetRaidCompleteResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgPermissionSetOnObject does not contain field %s", fd.FullName())) } } @@ -24623,22 +24300,25 @@ func (x *fastReflection_MsgPlanetRaidCompleteResponse) Clear(fd protoreflect.Fie // 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_MsgPlanetRaidCompleteResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgPermissionSetOnObject) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.MsgPlanetRaidCompleteResponse.fleet": - value := x.Fleet - return protoreflect.ValueOfMessage(value.ProtoReflect()) - case "structs.structs.MsgPlanetRaidCompleteResponse.planet": - value := x.Planet - return protoreflect.ValueOfMessage(value.ProtoReflect()) - case "structs.structs.MsgPlanetRaidCompleteResponse.oreStolen": - value := x.OreStolen + case "structs.structs.MsgPermissionSetOnObject.creator": + value := x.Creator + return protoreflect.ValueOfString(value) + case "structs.structs.MsgPermissionSetOnObject.objectId": + value := x.ObjectId + return protoreflect.ValueOfString(value) + case "structs.structs.MsgPermissionSetOnObject.playerId": + value := x.PlayerId + return protoreflect.ValueOfString(value) + case "structs.structs.MsgPermissionSetOnObject.permissions": + value := x.Permissions return protoreflect.ValueOfUint64(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPlanetRaidCompleteResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPermissionSetOnObject")) } - panic(fmt.Errorf("message structs.structs.MsgPlanetRaidCompleteResponse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.MsgPermissionSetOnObject does not contain field %s", descriptor.FullName())) } } @@ -24652,19 +24332,21 @@ func (x *fastReflection_MsgPlanetRaidCompleteResponse) Get(descriptor protorefle // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgPlanetRaidCompleteResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_MsgPermissionSetOnObject) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.MsgPlanetRaidCompleteResponse.fleet": - x.Fleet = value.Message().Interface().(*Fleet) - case "structs.structs.MsgPlanetRaidCompleteResponse.planet": - x.Planet = value.Message().Interface().(*Planet) - case "structs.structs.MsgPlanetRaidCompleteResponse.oreStolen": - x.OreStolen = value.Uint() + case "structs.structs.MsgPermissionSetOnObject.creator": + x.Creator = value.Interface().(string) + case "structs.structs.MsgPermissionSetOnObject.objectId": + x.ObjectId = value.Interface().(string) + case "structs.structs.MsgPermissionSetOnObject.playerId": + x.PlayerId = value.Interface().(string) + case "structs.structs.MsgPermissionSetOnObject.permissions": + x.Permissions = value.Uint() default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPlanetRaidCompleteResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPermissionSetOnObject")) } - panic(fmt.Errorf("message structs.structs.MsgPlanetRaidCompleteResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgPermissionSetOnObject does not contain field %s", fd.FullName())) } } @@ -24678,56 +24360,52 @@ func (x *fastReflection_MsgPlanetRaidCompleteResponse) Set(fd protoreflect.Field // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgPlanetRaidCompleteResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgPermissionSetOnObject) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.MsgPlanetRaidCompleteResponse.fleet": - if x.Fleet == nil { - x.Fleet = new(Fleet) - } - return protoreflect.ValueOfMessage(x.Fleet.ProtoReflect()) - case "structs.structs.MsgPlanetRaidCompleteResponse.planet": - if x.Planet == nil { - x.Planet = new(Planet) - } - return protoreflect.ValueOfMessage(x.Planet.ProtoReflect()) - case "structs.structs.MsgPlanetRaidCompleteResponse.oreStolen": - panic(fmt.Errorf("field oreStolen of message structs.structs.MsgPlanetRaidCompleteResponse is not mutable")) + case "structs.structs.MsgPermissionSetOnObject.creator": + panic(fmt.Errorf("field creator of message structs.structs.MsgPermissionSetOnObject is not mutable")) + case "structs.structs.MsgPermissionSetOnObject.objectId": + panic(fmt.Errorf("field objectId of message structs.structs.MsgPermissionSetOnObject is not mutable")) + case "structs.structs.MsgPermissionSetOnObject.playerId": + panic(fmt.Errorf("field playerId of message structs.structs.MsgPermissionSetOnObject is not mutable")) + case "structs.structs.MsgPermissionSetOnObject.permissions": + panic(fmt.Errorf("field permissions of message structs.structs.MsgPermissionSetOnObject is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPlanetRaidCompleteResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPermissionSetOnObject")) } - panic(fmt.Errorf("message structs.structs.MsgPlanetRaidCompleteResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgPermissionSetOnObject 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_MsgPlanetRaidCompleteResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgPermissionSetOnObject) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.MsgPlanetRaidCompleteResponse.fleet": - m := new(Fleet) - return protoreflect.ValueOfMessage(m.ProtoReflect()) - case "structs.structs.MsgPlanetRaidCompleteResponse.planet": - m := new(Planet) - return protoreflect.ValueOfMessage(m.ProtoReflect()) - case "structs.structs.MsgPlanetRaidCompleteResponse.oreStolen": + case "structs.structs.MsgPermissionSetOnObject.creator": + return protoreflect.ValueOfString("") + case "structs.structs.MsgPermissionSetOnObject.objectId": + return protoreflect.ValueOfString("") + case "structs.structs.MsgPermissionSetOnObject.playerId": + return protoreflect.ValueOfString("") + case "structs.structs.MsgPermissionSetOnObject.permissions": return protoreflect.ValueOfUint64(uint64(0)) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPlanetRaidCompleteResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPermissionSetOnObject")) } - panic(fmt.Errorf("message structs.structs.MsgPlanetRaidCompleteResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgPermissionSetOnObject 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_MsgPlanetRaidCompleteResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_MsgPermissionSetOnObject) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgPlanetRaidCompleteResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgPermissionSetOnObject", d.FullName())) } panic("unreachable") } @@ -24735,7 +24413,7 @@ func (x *fastReflection_MsgPlanetRaidCompleteResponse) WhichOneof(d protoreflect // 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_MsgPlanetRaidCompleteResponse) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_MsgPermissionSetOnObject) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -24746,7 +24424,7 @@ func (x *fastReflection_MsgPlanetRaidCompleteResponse) GetUnknown() protoreflect // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgPlanetRaidCompleteResponse) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_MsgPermissionSetOnObject) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -24758,7 +24436,7 @@ func (x *fastReflection_MsgPlanetRaidCompleteResponse) SetUnknown(fields protore // 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_MsgPlanetRaidCompleteResponse) IsValid() bool { +func (x *fastReflection_MsgPermissionSetOnObject) IsValid() bool { return x != nil } @@ -24768,9 +24446,9 @@ func (x *fastReflection_MsgPlanetRaidCompleteResponse) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_MsgPlanetRaidCompleteResponse) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_MsgPermissionSetOnObject) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*MsgPlanetRaidCompleteResponse) + x := input.Message.Interface().(*MsgPermissionSetOnObject) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -24782,17 +24460,21 @@ func (x *fastReflection_MsgPlanetRaidCompleteResponse) ProtoMethods() *protoifac var n int var l int _ = l - if x.Fleet != nil { - l = options.Size(x.Fleet) + l = len(x.Creator) + if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } - if x.Planet != nil { - l = options.Size(x.Planet) + l = len(x.ObjectId) + if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } - if x.OreStolen != 0 { - n += 1 + runtime.Sov(uint64(x.OreStolen)) - } + l = len(x.PlayerId) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.Permissions != 0 { + n += 1 + runtime.Sov(uint64(x.Permissions)) + } if x.unknownFields != nil { n += len(x.unknownFields) } @@ -24803,7 +24485,7 @@ func (x *fastReflection_MsgPlanetRaidCompleteResponse) ProtoMethods() *protoifac } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*MsgPlanetRaidCompleteResponse) + x := input.Message.Interface().(*MsgPermissionSetOnObject) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -24822,36 +24504,29 @@ func (x *fastReflection_MsgPlanetRaidCompleteResponse) ProtoMethods() *protoifac i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if x.OreStolen != 0 { - i = runtime.EncodeVarint(dAtA, i, uint64(x.OreStolen)) + if x.Permissions != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.Permissions)) i-- - dAtA[i] = 0x18 + dAtA[i] = 0x20 } - if x.Planet != nil { - encoded, err := options.Marshal(x.Planet) - 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))) + if len(x.PlayerId) > 0 { + i -= len(x.PlayerId) + copy(dAtA[i:], x.PlayerId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.PlayerId))) + i-- + dAtA[i] = 0x1a + } + if len(x.ObjectId) > 0 { + i -= len(x.ObjectId) + copy(dAtA[i:], x.ObjectId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.ObjectId))) i-- dAtA[i] = 0x12 } - if x.Fleet != nil { - encoded, err := options.Marshal(x.Fleet) - 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))) + if len(x.Creator) > 0 { + i -= len(x.Creator) + copy(dAtA[i:], x.Creator) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Creator))) i-- dAtA[i] = 0xa } @@ -24866,7 +24541,7 @@ func (x *fastReflection_MsgPlanetRaidCompleteResponse) ProtoMethods() *protoifac }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*MsgPlanetRaidCompleteResponse) + x := input.Message.Interface().(*MsgPermissionSetOnObject) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -24898,17 +24573,17 @@ func (x *fastReflection_MsgPlanetRaidCompleteResponse) ProtoMethods() *protoifac fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgPlanetRaidCompleteResponse: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgPermissionSetOnObject: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgPlanetRaidCompleteResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgPermissionSetOnObject: 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 Fleet", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -24918,33 +24593,29 @@ func (x *fastReflection_MsgPlanetRaidCompleteResponse) ProtoMethods() *protoifac } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength } - postIndex := iNdEx + msglen + 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 } - if x.Fleet == nil { - x.Fleet = &Fleet{} - } - if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Fleet); err != nil { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err - } + x.Creator = 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 Planet", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ObjectId", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -24954,33 +24625,61 @@ func (x *fastReflection_MsgPlanetRaidCompleteResponse) ProtoMethods() *protoifac } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength } - postIndex := iNdEx + msglen + 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 } - if x.Planet == nil { - x.Planet = &Planet{} + x.ObjectId = 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 PlayerId", wireType) } - if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Planet); err != nil { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + 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.PlayerId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 3: + case 4: if wireType != 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field OreStolen", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Permissions", wireType) } - x.OreStolen = 0 + x.Permissions = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -24990,7 +24689,7 @@ func (x *fastReflection_MsgPlanetRaidCompleteResponse) ProtoMethods() *protoifac } b := dAtA[iNdEx] iNdEx++ - x.OreStolen |= uint64(b&0x7F) << shift + x.Permissions |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -25031,29 +24730,29 @@ func (x *fastReflection_MsgPlanetRaidCompleteResponse) ProtoMethods() *protoifac } var ( - md_MsgPlayerUpdatePrimaryAddress protoreflect.MessageDescriptor - fd_MsgPlayerUpdatePrimaryAddress_creator protoreflect.FieldDescriptor - fd_MsgPlayerUpdatePrimaryAddress_playerId protoreflect.FieldDescriptor - fd_MsgPlayerUpdatePrimaryAddress_primaryAddress protoreflect.FieldDescriptor + md_MsgPermissionSetOnAddress protoreflect.MessageDescriptor + fd_MsgPermissionSetOnAddress_creator protoreflect.FieldDescriptor + fd_MsgPermissionSetOnAddress_address protoreflect.FieldDescriptor + fd_MsgPermissionSetOnAddress_permissions protoreflect.FieldDescriptor ) func init() { file_structs_structs_tx_proto_init() - md_MsgPlayerUpdatePrimaryAddress = File_structs_structs_tx_proto.Messages().ByName("MsgPlayerUpdatePrimaryAddress") - fd_MsgPlayerUpdatePrimaryAddress_creator = md_MsgPlayerUpdatePrimaryAddress.Fields().ByName("creator") - fd_MsgPlayerUpdatePrimaryAddress_playerId = md_MsgPlayerUpdatePrimaryAddress.Fields().ByName("playerId") - fd_MsgPlayerUpdatePrimaryAddress_primaryAddress = md_MsgPlayerUpdatePrimaryAddress.Fields().ByName("primaryAddress") + md_MsgPermissionSetOnAddress = File_structs_structs_tx_proto.Messages().ByName("MsgPermissionSetOnAddress") + fd_MsgPermissionSetOnAddress_creator = md_MsgPermissionSetOnAddress.Fields().ByName("creator") + fd_MsgPermissionSetOnAddress_address = md_MsgPermissionSetOnAddress.Fields().ByName("address") + fd_MsgPermissionSetOnAddress_permissions = md_MsgPermissionSetOnAddress.Fields().ByName("permissions") } -var _ protoreflect.Message = (*fastReflection_MsgPlayerUpdatePrimaryAddress)(nil) +var _ protoreflect.Message = (*fastReflection_MsgPermissionSetOnAddress)(nil) -type fastReflection_MsgPlayerUpdatePrimaryAddress MsgPlayerUpdatePrimaryAddress +type fastReflection_MsgPermissionSetOnAddress MsgPermissionSetOnAddress -func (x *MsgPlayerUpdatePrimaryAddress) ProtoReflect() protoreflect.Message { - return (*fastReflection_MsgPlayerUpdatePrimaryAddress)(x) +func (x *MsgPermissionSetOnAddress) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgPermissionSetOnAddress)(x) } -func (x *MsgPlayerUpdatePrimaryAddress) slowProtoReflect() protoreflect.Message { +func (x *MsgPermissionSetOnAddress) slowProtoReflect() protoreflect.Message { mi := &file_structs_structs_tx_proto_msgTypes[48] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -25065,43 +24764,43 @@ func (x *MsgPlayerUpdatePrimaryAddress) slowProtoReflect() protoreflect.Message return mi.MessageOf(x) } -var _fastReflection_MsgPlayerUpdatePrimaryAddress_messageType fastReflection_MsgPlayerUpdatePrimaryAddress_messageType -var _ protoreflect.MessageType = fastReflection_MsgPlayerUpdatePrimaryAddress_messageType{} +var _fastReflection_MsgPermissionSetOnAddress_messageType fastReflection_MsgPermissionSetOnAddress_messageType +var _ protoreflect.MessageType = fastReflection_MsgPermissionSetOnAddress_messageType{} -type fastReflection_MsgPlayerUpdatePrimaryAddress_messageType struct{} +type fastReflection_MsgPermissionSetOnAddress_messageType struct{} -func (x fastReflection_MsgPlayerUpdatePrimaryAddress_messageType) Zero() protoreflect.Message { - return (*fastReflection_MsgPlayerUpdatePrimaryAddress)(nil) +func (x fastReflection_MsgPermissionSetOnAddress_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgPermissionSetOnAddress)(nil) } -func (x fastReflection_MsgPlayerUpdatePrimaryAddress_messageType) New() protoreflect.Message { - return new(fastReflection_MsgPlayerUpdatePrimaryAddress) +func (x fastReflection_MsgPermissionSetOnAddress_messageType) New() protoreflect.Message { + return new(fastReflection_MsgPermissionSetOnAddress) } -func (x fastReflection_MsgPlayerUpdatePrimaryAddress_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_MsgPlayerUpdatePrimaryAddress +func (x fastReflection_MsgPermissionSetOnAddress_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgPermissionSetOnAddress } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_MsgPlayerUpdatePrimaryAddress) Descriptor() protoreflect.MessageDescriptor { - return md_MsgPlayerUpdatePrimaryAddress +func (x *fastReflection_MsgPermissionSetOnAddress) Descriptor() protoreflect.MessageDescriptor { + return md_MsgPermissionSetOnAddress } // 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_MsgPlayerUpdatePrimaryAddress) Type() protoreflect.MessageType { - return _fastReflection_MsgPlayerUpdatePrimaryAddress_messageType +func (x *fastReflection_MsgPermissionSetOnAddress) Type() protoreflect.MessageType { + return _fastReflection_MsgPermissionSetOnAddress_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_MsgPlayerUpdatePrimaryAddress) New() protoreflect.Message { - return new(fastReflection_MsgPlayerUpdatePrimaryAddress) +func (x *fastReflection_MsgPermissionSetOnAddress) New() protoreflect.Message { + return new(fastReflection_MsgPermissionSetOnAddress) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_MsgPlayerUpdatePrimaryAddress) Interface() protoreflect.ProtoMessage { - return (*MsgPlayerUpdatePrimaryAddress)(x) +func (x *fastReflection_MsgPermissionSetOnAddress) Interface() protoreflect.ProtoMessage { + return (*MsgPermissionSetOnAddress)(x) } // Range iterates over every populated field in an undefined order, @@ -25109,22 +24808,22 @@ func (x *fastReflection_MsgPlayerUpdatePrimaryAddress) Interface() protoreflect. // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_MsgPlayerUpdatePrimaryAddress) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +func (x *fastReflection_MsgPermissionSetOnAddress) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { if x.Creator != "" { value := protoreflect.ValueOfString(x.Creator) - if !f(fd_MsgPlayerUpdatePrimaryAddress_creator, value) { + if !f(fd_MsgPermissionSetOnAddress_creator, value) { return } } - if x.PlayerId != "" { - value := protoreflect.ValueOfString(x.PlayerId) - if !f(fd_MsgPlayerUpdatePrimaryAddress_playerId, value) { + if x.Address != "" { + value := protoreflect.ValueOfString(x.Address) + if !f(fd_MsgPermissionSetOnAddress_address, value) { return } } - if x.PrimaryAddress != "" { - value := protoreflect.ValueOfString(x.PrimaryAddress) - if !f(fd_MsgPlayerUpdatePrimaryAddress_primaryAddress, value) { + if x.Permissions != uint64(0) { + value := protoreflect.ValueOfUint64(x.Permissions) + if !f(fd_MsgPermissionSetOnAddress_permissions, value) { return } } @@ -25141,19 +24840,19 @@ func (x *fastReflection_MsgPlayerUpdatePrimaryAddress) Range(f func(protoreflect // 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_MsgPlayerUpdatePrimaryAddress) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_MsgPermissionSetOnAddress) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.MsgPlayerUpdatePrimaryAddress.creator": + case "structs.structs.MsgPermissionSetOnAddress.creator": return x.Creator != "" - case "structs.structs.MsgPlayerUpdatePrimaryAddress.playerId": - return x.PlayerId != "" - case "structs.structs.MsgPlayerUpdatePrimaryAddress.primaryAddress": - return x.PrimaryAddress != "" + case "structs.structs.MsgPermissionSetOnAddress.address": + return x.Address != "" + case "structs.structs.MsgPermissionSetOnAddress.permissions": + return x.Permissions != uint64(0) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPlayerUpdatePrimaryAddress")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPermissionSetOnAddress")) } - panic(fmt.Errorf("message structs.structs.MsgPlayerUpdatePrimaryAddress does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgPermissionSetOnAddress does not contain field %s", fd.FullName())) } } @@ -25163,19 +24862,19 @@ func (x *fastReflection_MsgPlayerUpdatePrimaryAddress) Has(fd protoreflect.Field // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgPlayerUpdatePrimaryAddress) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_MsgPermissionSetOnAddress) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.MsgPlayerUpdatePrimaryAddress.creator": + case "structs.structs.MsgPermissionSetOnAddress.creator": x.Creator = "" - case "structs.structs.MsgPlayerUpdatePrimaryAddress.playerId": - x.PlayerId = "" - case "structs.structs.MsgPlayerUpdatePrimaryAddress.primaryAddress": - x.PrimaryAddress = "" + case "structs.structs.MsgPermissionSetOnAddress.address": + x.Address = "" + case "structs.structs.MsgPermissionSetOnAddress.permissions": + x.Permissions = uint64(0) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPlayerUpdatePrimaryAddress")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPermissionSetOnAddress")) } - panic(fmt.Errorf("message structs.structs.MsgPlayerUpdatePrimaryAddress does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgPermissionSetOnAddress does not contain field %s", fd.FullName())) } } @@ -25185,22 +24884,22 @@ func (x *fastReflection_MsgPlayerUpdatePrimaryAddress) Clear(fd protoreflect.Fie // 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_MsgPlayerUpdatePrimaryAddress) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgPermissionSetOnAddress) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.MsgPlayerUpdatePrimaryAddress.creator": + case "structs.structs.MsgPermissionSetOnAddress.creator": value := x.Creator return protoreflect.ValueOfString(value) - case "structs.structs.MsgPlayerUpdatePrimaryAddress.playerId": - value := x.PlayerId - return protoreflect.ValueOfString(value) - case "structs.structs.MsgPlayerUpdatePrimaryAddress.primaryAddress": - value := x.PrimaryAddress + case "structs.structs.MsgPermissionSetOnAddress.address": + value := x.Address return protoreflect.ValueOfString(value) + case "structs.structs.MsgPermissionSetOnAddress.permissions": + value := x.Permissions + return protoreflect.ValueOfUint64(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPlayerUpdatePrimaryAddress")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPermissionSetOnAddress")) } - panic(fmt.Errorf("message structs.structs.MsgPlayerUpdatePrimaryAddress does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.MsgPermissionSetOnAddress does not contain field %s", descriptor.FullName())) } } @@ -25214,19 +24913,19 @@ func (x *fastReflection_MsgPlayerUpdatePrimaryAddress) Get(descriptor protorefle // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgPlayerUpdatePrimaryAddress) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_MsgPermissionSetOnAddress) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.MsgPlayerUpdatePrimaryAddress.creator": + case "structs.structs.MsgPermissionSetOnAddress.creator": x.Creator = value.Interface().(string) - case "structs.structs.MsgPlayerUpdatePrimaryAddress.playerId": - x.PlayerId = value.Interface().(string) - case "structs.structs.MsgPlayerUpdatePrimaryAddress.primaryAddress": - x.PrimaryAddress = value.Interface().(string) + case "structs.structs.MsgPermissionSetOnAddress.address": + x.Address = value.Interface().(string) + case "structs.structs.MsgPermissionSetOnAddress.permissions": + x.Permissions = value.Uint() default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPlayerUpdatePrimaryAddress")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPermissionSetOnAddress")) } - panic(fmt.Errorf("message structs.structs.MsgPlayerUpdatePrimaryAddress does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgPermissionSetOnAddress does not contain field %s", fd.FullName())) } } @@ -25240,48 +24939,48 @@ func (x *fastReflection_MsgPlayerUpdatePrimaryAddress) Set(fd protoreflect.Field // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgPlayerUpdatePrimaryAddress) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgPermissionSetOnAddress) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.MsgPlayerUpdatePrimaryAddress.creator": - panic(fmt.Errorf("field creator of message structs.structs.MsgPlayerUpdatePrimaryAddress is not mutable")) - case "structs.structs.MsgPlayerUpdatePrimaryAddress.playerId": - panic(fmt.Errorf("field playerId of message structs.structs.MsgPlayerUpdatePrimaryAddress is not mutable")) - case "structs.structs.MsgPlayerUpdatePrimaryAddress.primaryAddress": - panic(fmt.Errorf("field primaryAddress of message structs.structs.MsgPlayerUpdatePrimaryAddress is not mutable")) + case "structs.structs.MsgPermissionSetOnAddress.creator": + panic(fmt.Errorf("field creator of message structs.structs.MsgPermissionSetOnAddress is not mutable")) + case "structs.structs.MsgPermissionSetOnAddress.address": + panic(fmt.Errorf("field address of message structs.structs.MsgPermissionSetOnAddress is not mutable")) + case "structs.structs.MsgPermissionSetOnAddress.permissions": + panic(fmt.Errorf("field permissions of message structs.structs.MsgPermissionSetOnAddress is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPlayerUpdatePrimaryAddress")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPermissionSetOnAddress")) } - panic(fmt.Errorf("message structs.structs.MsgPlayerUpdatePrimaryAddress does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgPermissionSetOnAddress 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_MsgPlayerUpdatePrimaryAddress) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgPermissionSetOnAddress) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.MsgPlayerUpdatePrimaryAddress.creator": - return protoreflect.ValueOfString("") - case "structs.structs.MsgPlayerUpdatePrimaryAddress.playerId": + case "structs.structs.MsgPermissionSetOnAddress.creator": return protoreflect.ValueOfString("") - case "structs.structs.MsgPlayerUpdatePrimaryAddress.primaryAddress": + case "structs.structs.MsgPermissionSetOnAddress.address": return protoreflect.ValueOfString("") + case "structs.structs.MsgPermissionSetOnAddress.permissions": + return protoreflect.ValueOfUint64(uint64(0)) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPlayerUpdatePrimaryAddress")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPermissionSetOnAddress")) } - panic(fmt.Errorf("message structs.structs.MsgPlayerUpdatePrimaryAddress does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgPermissionSetOnAddress 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_MsgPlayerUpdatePrimaryAddress) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_MsgPermissionSetOnAddress) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgPlayerUpdatePrimaryAddress", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgPermissionSetOnAddress", d.FullName())) } panic("unreachable") } @@ -25289,7 +24988,7 @@ func (x *fastReflection_MsgPlayerUpdatePrimaryAddress) WhichOneof(d protoreflect // 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_MsgPlayerUpdatePrimaryAddress) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_MsgPermissionSetOnAddress) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -25300,7 +24999,7 @@ func (x *fastReflection_MsgPlayerUpdatePrimaryAddress) GetUnknown() protoreflect // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgPlayerUpdatePrimaryAddress) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_MsgPermissionSetOnAddress) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -25312,7 +25011,7 @@ func (x *fastReflection_MsgPlayerUpdatePrimaryAddress) SetUnknown(fields protore // 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_MsgPlayerUpdatePrimaryAddress) IsValid() bool { +func (x *fastReflection_MsgPermissionSetOnAddress) IsValid() bool { return x != nil } @@ -25322,9 +25021,9 @@ func (x *fastReflection_MsgPlayerUpdatePrimaryAddress) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_MsgPlayerUpdatePrimaryAddress) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_MsgPermissionSetOnAddress) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*MsgPlayerUpdatePrimaryAddress) + x := input.Message.Interface().(*MsgPermissionSetOnAddress) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -25340,13 +25039,12 @@ func (x *fastReflection_MsgPlayerUpdatePrimaryAddress) ProtoMethods() *protoifac if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } - l = len(x.PlayerId) + l = len(x.Address) if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } - l = len(x.PrimaryAddress) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) + if x.Permissions != 0 { + n += 1 + runtime.Sov(uint64(x.Permissions)) } if x.unknownFields != nil { n += len(x.unknownFields) @@ -25358,7 +25056,7 @@ func (x *fastReflection_MsgPlayerUpdatePrimaryAddress) ProtoMethods() *protoifac } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*MsgPlayerUpdatePrimaryAddress) + x := input.Message.Interface().(*MsgPermissionSetOnAddress) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -25377,17 +25075,15 @@ func (x *fastReflection_MsgPlayerUpdatePrimaryAddress) ProtoMethods() *protoifac i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if len(x.PrimaryAddress) > 0 { - i -= len(x.PrimaryAddress) - copy(dAtA[i:], x.PrimaryAddress) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.PrimaryAddress))) + if x.Permissions != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.Permissions)) i-- - dAtA[i] = 0x1a + dAtA[i] = 0x18 } - if len(x.PlayerId) > 0 { - i -= len(x.PlayerId) - copy(dAtA[i:], x.PlayerId) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.PlayerId))) + if len(x.Address) > 0 { + i -= len(x.Address) + copy(dAtA[i:], x.Address) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Address))) i-- dAtA[i] = 0x12 } @@ -25409,7 +25105,7 @@ func (x *fastReflection_MsgPlayerUpdatePrimaryAddress) ProtoMethods() *protoifac }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*MsgPlayerUpdatePrimaryAddress) + x := input.Message.Interface().(*MsgPermissionSetOnAddress) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -25441,10 +25137,10 @@ func (x *fastReflection_MsgPlayerUpdatePrimaryAddress) ProtoMethods() *protoifac fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgPlayerUpdatePrimaryAddress: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgPermissionSetOnAddress: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgPlayerUpdatePrimaryAddress: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgPermissionSetOnAddress: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -25481,7 +25177,7 @@ func (x *fastReflection_MsgPlayerUpdatePrimaryAddress) ProtoMethods() *protoifac iNdEx = postIndex case 2: if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field PlayerId", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -25509,13 +25205,13 @@ func (x *fastReflection_MsgPlayerUpdatePrimaryAddress) ProtoMethods() *protoifac if postIndex > l { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - x.PlayerId = string(dAtA[iNdEx:postIndex]) + x.Address = 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 PrimaryAddress", wireType) + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Permissions", wireType) } - var stringLen uint64 + x.Permissions = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -25525,24 +25221,11 @@ func (x *fastReflection_MsgPlayerUpdatePrimaryAddress) ProtoMethods() *protoifac } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + x.Permissions |= 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.PrimaryAddress = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex default: iNdEx = preIndex skippy, err := runtime.Skip(dAtA[iNdEx:]) @@ -25579,23 +25262,23 @@ func (x *fastReflection_MsgPlayerUpdatePrimaryAddress) ProtoMethods() *protoifac } var ( - md_MsgPlayerUpdatePrimaryAddressResponse protoreflect.MessageDescriptor + md_MsgPermissionResponse protoreflect.MessageDescriptor ) func init() { file_structs_structs_tx_proto_init() - md_MsgPlayerUpdatePrimaryAddressResponse = File_structs_structs_tx_proto.Messages().ByName("MsgPlayerUpdatePrimaryAddressResponse") + md_MsgPermissionResponse = File_structs_structs_tx_proto.Messages().ByName("MsgPermissionResponse") } -var _ protoreflect.Message = (*fastReflection_MsgPlayerUpdatePrimaryAddressResponse)(nil) +var _ protoreflect.Message = (*fastReflection_MsgPermissionResponse)(nil) -type fastReflection_MsgPlayerUpdatePrimaryAddressResponse MsgPlayerUpdatePrimaryAddressResponse +type fastReflection_MsgPermissionResponse MsgPermissionResponse -func (x *MsgPlayerUpdatePrimaryAddressResponse) ProtoReflect() protoreflect.Message { - return (*fastReflection_MsgPlayerUpdatePrimaryAddressResponse)(x) +func (x *MsgPermissionResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgPermissionResponse)(x) } -func (x *MsgPlayerUpdatePrimaryAddressResponse) slowProtoReflect() protoreflect.Message { +func (x *MsgPermissionResponse) slowProtoReflect() protoreflect.Message { mi := &file_structs_structs_tx_proto_msgTypes[49] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -25607,43 +25290,43 @@ func (x *MsgPlayerUpdatePrimaryAddressResponse) slowProtoReflect() protoreflect. return mi.MessageOf(x) } -var _fastReflection_MsgPlayerUpdatePrimaryAddressResponse_messageType fastReflection_MsgPlayerUpdatePrimaryAddressResponse_messageType -var _ protoreflect.MessageType = fastReflection_MsgPlayerUpdatePrimaryAddressResponse_messageType{} +var _fastReflection_MsgPermissionResponse_messageType fastReflection_MsgPermissionResponse_messageType +var _ protoreflect.MessageType = fastReflection_MsgPermissionResponse_messageType{} -type fastReflection_MsgPlayerUpdatePrimaryAddressResponse_messageType struct{} +type fastReflection_MsgPermissionResponse_messageType struct{} -func (x fastReflection_MsgPlayerUpdatePrimaryAddressResponse_messageType) Zero() protoreflect.Message { - return (*fastReflection_MsgPlayerUpdatePrimaryAddressResponse)(nil) +func (x fastReflection_MsgPermissionResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgPermissionResponse)(nil) } -func (x fastReflection_MsgPlayerUpdatePrimaryAddressResponse_messageType) New() protoreflect.Message { - return new(fastReflection_MsgPlayerUpdatePrimaryAddressResponse) +func (x fastReflection_MsgPermissionResponse_messageType) New() protoreflect.Message { + return new(fastReflection_MsgPermissionResponse) } -func (x fastReflection_MsgPlayerUpdatePrimaryAddressResponse_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_MsgPlayerUpdatePrimaryAddressResponse +func (x fastReflection_MsgPermissionResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgPermissionResponse } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_MsgPlayerUpdatePrimaryAddressResponse) Descriptor() protoreflect.MessageDescriptor { - return md_MsgPlayerUpdatePrimaryAddressResponse +func (x *fastReflection_MsgPermissionResponse) Descriptor() protoreflect.MessageDescriptor { + return md_MsgPermissionResponse } // 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_MsgPlayerUpdatePrimaryAddressResponse) Type() protoreflect.MessageType { - return _fastReflection_MsgPlayerUpdatePrimaryAddressResponse_messageType +func (x *fastReflection_MsgPermissionResponse) Type() protoreflect.MessageType { + return _fastReflection_MsgPermissionResponse_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_MsgPlayerUpdatePrimaryAddressResponse) New() protoreflect.Message { - return new(fastReflection_MsgPlayerUpdatePrimaryAddressResponse) +func (x *fastReflection_MsgPermissionResponse) New() protoreflect.Message { + return new(fastReflection_MsgPermissionResponse) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_MsgPlayerUpdatePrimaryAddressResponse) Interface() protoreflect.ProtoMessage { - return (*MsgPlayerUpdatePrimaryAddressResponse)(x) +func (x *fastReflection_MsgPermissionResponse) Interface() protoreflect.ProtoMessage { + return (*MsgPermissionResponse)(x) } // Range iterates over every populated field in an undefined order, @@ -25651,7 +25334,7 @@ func (x *fastReflection_MsgPlayerUpdatePrimaryAddressResponse) Interface() proto // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_MsgPlayerUpdatePrimaryAddressResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +func (x *fastReflection_MsgPermissionResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { } // Has reports whether a field is populated. @@ -25665,13 +25348,13 @@ func (x *fastReflection_MsgPlayerUpdatePrimaryAddressResponse) Range(f func(prot // 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_MsgPlayerUpdatePrimaryAddressResponse) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_MsgPermissionResponse) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPlayerUpdatePrimaryAddressResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPermissionResponse")) } - panic(fmt.Errorf("message structs.structs.MsgPlayerUpdatePrimaryAddressResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgPermissionResponse does not contain field %s", fd.FullName())) } } @@ -25681,13 +25364,13 @@ func (x *fastReflection_MsgPlayerUpdatePrimaryAddressResponse) Has(fd protorefle // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgPlayerUpdatePrimaryAddressResponse) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_MsgPermissionResponse) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPlayerUpdatePrimaryAddressResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPermissionResponse")) } - panic(fmt.Errorf("message structs.structs.MsgPlayerUpdatePrimaryAddressResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgPermissionResponse does not contain field %s", fd.FullName())) } } @@ -25697,13 +25380,13 @@ func (x *fastReflection_MsgPlayerUpdatePrimaryAddressResponse) Clear(fd protoref // 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_MsgPlayerUpdatePrimaryAddressResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgPermissionResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPlayerUpdatePrimaryAddressResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPermissionResponse")) } - panic(fmt.Errorf("message structs.structs.MsgPlayerUpdatePrimaryAddressResponse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.MsgPermissionResponse does not contain field %s", descriptor.FullName())) } } @@ -25717,13 +25400,13 @@ func (x *fastReflection_MsgPlayerUpdatePrimaryAddressResponse) Get(descriptor pr // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgPlayerUpdatePrimaryAddressResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_MsgPermissionResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPlayerUpdatePrimaryAddressResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPermissionResponse")) } - panic(fmt.Errorf("message structs.structs.MsgPlayerUpdatePrimaryAddressResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgPermissionResponse does not contain field %s", fd.FullName())) } } @@ -25737,36 +25420,36 @@ func (x *fastReflection_MsgPlayerUpdatePrimaryAddressResponse) Set(fd protorefle // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgPlayerUpdatePrimaryAddressResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgPermissionResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPlayerUpdatePrimaryAddressResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPermissionResponse")) } - panic(fmt.Errorf("message structs.structs.MsgPlayerUpdatePrimaryAddressResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgPermissionResponse 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_MsgPlayerUpdatePrimaryAddressResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgPermissionResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPlayerUpdatePrimaryAddressResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPermissionResponse")) } - panic(fmt.Errorf("message structs.structs.MsgPlayerUpdatePrimaryAddressResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgPermissionResponse 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_MsgPlayerUpdatePrimaryAddressResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_MsgPermissionResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgPlayerUpdatePrimaryAddressResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgPermissionResponse", d.FullName())) } panic("unreachable") } @@ -25774,7 +25457,7 @@ func (x *fastReflection_MsgPlayerUpdatePrimaryAddressResponse) WhichOneof(d prot // 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_MsgPlayerUpdatePrimaryAddressResponse) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_MsgPermissionResponse) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -25785,7 +25468,7 @@ func (x *fastReflection_MsgPlayerUpdatePrimaryAddressResponse) GetUnknown() prot // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgPlayerUpdatePrimaryAddressResponse) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_MsgPermissionResponse) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -25797,7 +25480,7 @@ func (x *fastReflection_MsgPlayerUpdatePrimaryAddressResponse) SetUnknown(fields // 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_MsgPlayerUpdatePrimaryAddressResponse) IsValid() bool { +func (x *fastReflection_MsgPermissionResponse) IsValid() bool { return x != nil } @@ -25807,9 +25490,9 @@ func (x *fastReflection_MsgPlayerUpdatePrimaryAddressResponse) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_MsgPlayerUpdatePrimaryAddressResponse) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_MsgPermissionResponse) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*MsgPlayerUpdatePrimaryAddressResponse) + x := input.Message.Interface().(*MsgPermissionResponse) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -25831,7 +25514,7 @@ func (x *fastReflection_MsgPlayerUpdatePrimaryAddressResponse) ProtoMethods() *p } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*MsgPlayerUpdatePrimaryAddressResponse) + x := input.Message.Interface().(*MsgPermissionResponse) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -25861,7 +25544,7 @@ func (x *fastReflection_MsgPlayerUpdatePrimaryAddressResponse) ProtoMethods() *p }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*MsgPlayerUpdatePrimaryAddressResponse) + x := input.Message.Interface().(*MsgPermissionResponse) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -25893,10 +25576,10 @@ func (x *fastReflection_MsgPlayerUpdatePrimaryAddressResponse) ProtoMethods() *p fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgPlayerUpdatePrimaryAddressResponse: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgPermissionResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgPlayerUpdatePrimaryAddressResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgPermissionResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: @@ -25935,25 +25618,27 @@ func (x *fastReflection_MsgPlayerUpdatePrimaryAddressResponse) ProtoMethods() *p } var ( - md_MsgStructStatusResponse protoreflect.MessageDescriptor - fd_MsgStructStatusResponse_struct protoreflect.FieldDescriptor + md_MsgPlanetExplore protoreflect.MessageDescriptor + fd_MsgPlanetExplore_creator protoreflect.FieldDescriptor + fd_MsgPlanetExplore_playerId protoreflect.FieldDescriptor ) func init() { file_structs_structs_tx_proto_init() - md_MsgStructStatusResponse = File_structs_structs_tx_proto.Messages().ByName("MsgStructStatusResponse") - fd_MsgStructStatusResponse_struct = md_MsgStructStatusResponse.Fields().ByName("struct") + md_MsgPlanetExplore = File_structs_structs_tx_proto.Messages().ByName("MsgPlanetExplore") + fd_MsgPlanetExplore_creator = md_MsgPlanetExplore.Fields().ByName("creator") + fd_MsgPlanetExplore_playerId = md_MsgPlanetExplore.Fields().ByName("playerId") } -var _ protoreflect.Message = (*fastReflection_MsgStructStatusResponse)(nil) +var _ protoreflect.Message = (*fastReflection_MsgPlanetExplore)(nil) -type fastReflection_MsgStructStatusResponse MsgStructStatusResponse +type fastReflection_MsgPlanetExplore MsgPlanetExplore -func (x *MsgStructStatusResponse) ProtoReflect() protoreflect.Message { - return (*fastReflection_MsgStructStatusResponse)(x) +func (x *MsgPlanetExplore) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgPlanetExplore)(x) } -func (x *MsgStructStatusResponse) slowProtoReflect() protoreflect.Message { +func (x *MsgPlanetExplore) slowProtoReflect() protoreflect.Message { mi := &file_structs_structs_tx_proto_msgTypes[50] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -25965,43 +25650,43 @@ func (x *MsgStructStatusResponse) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_MsgStructStatusResponse_messageType fastReflection_MsgStructStatusResponse_messageType -var _ protoreflect.MessageType = fastReflection_MsgStructStatusResponse_messageType{} +var _fastReflection_MsgPlanetExplore_messageType fastReflection_MsgPlanetExplore_messageType +var _ protoreflect.MessageType = fastReflection_MsgPlanetExplore_messageType{} -type fastReflection_MsgStructStatusResponse_messageType struct{} +type fastReflection_MsgPlanetExplore_messageType struct{} -func (x fastReflection_MsgStructStatusResponse_messageType) Zero() protoreflect.Message { - return (*fastReflection_MsgStructStatusResponse)(nil) +func (x fastReflection_MsgPlanetExplore_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgPlanetExplore)(nil) } -func (x fastReflection_MsgStructStatusResponse_messageType) New() protoreflect.Message { - return new(fastReflection_MsgStructStatusResponse) +func (x fastReflection_MsgPlanetExplore_messageType) New() protoreflect.Message { + return new(fastReflection_MsgPlanetExplore) } -func (x fastReflection_MsgStructStatusResponse_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_MsgStructStatusResponse +func (x fastReflection_MsgPlanetExplore_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgPlanetExplore } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_MsgStructStatusResponse) Descriptor() protoreflect.MessageDescriptor { - return md_MsgStructStatusResponse +func (x *fastReflection_MsgPlanetExplore) Descriptor() protoreflect.MessageDescriptor { + return md_MsgPlanetExplore } // 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_MsgStructStatusResponse) Type() protoreflect.MessageType { - return _fastReflection_MsgStructStatusResponse_messageType +func (x *fastReflection_MsgPlanetExplore) Type() protoreflect.MessageType { + return _fastReflection_MsgPlanetExplore_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_MsgStructStatusResponse) New() protoreflect.Message { - return new(fastReflection_MsgStructStatusResponse) +func (x *fastReflection_MsgPlanetExplore) New() protoreflect.Message { + return new(fastReflection_MsgPlanetExplore) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_MsgStructStatusResponse) Interface() protoreflect.ProtoMessage { - return (*MsgStructStatusResponse)(x) +func (x *fastReflection_MsgPlanetExplore) Interface() protoreflect.ProtoMessage { + return (*MsgPlanetExplore)(x) } // Range iterates over every populated field in an undefined order, @@ -26009,10 +25694,16 @@ func (x *fastReflection_MsgStructStatusResponse) Interface() protoreflect.ProtoM // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_MsgStructStatusResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.Struct != nil { - value := protoreflect.ValueOfMessage(x.Struct.ProtoReflect()) - if !f(fd_MsgStructStatusResponse_struct, value) { +func (x *fastReflection_MsgPlanetExplore) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Creator != "" { + value := protoreflect.ValueOfString(x.Creator) + if !f(fd_MsgPlanetExplore_creator, value) { + return + } + } + if x.PlayerId != "" { + value := protoreflect.ValueOfString(x.PlayerId) + if !f(fd_MsgPlanetExplore_playerId, value) { return } } @@ -26029,15 +25720,17 @@ func (x *fastReflection_MsgStructStatusResponse) Range(f func(protoreflect.Field // 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_MsgStructStatusResponse) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_MsgPlanetExplore) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.MsgStructStatusResponse.struct": - return x.Struct != nil + case "structs.structs.MsgPlanetExplore.creator": + return x.Creator != "" + case "structs.structs.MsgPlanetExplore.playerId": + return x.PlayerId != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructStatusResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPlanetExplore")) } - panic(fmt.Errorf("message structs.structs.MsgStructStatusResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgPlanetExplore does not contain field %s", fd.FullName())) } } @@ -26047,15 +25740,17 @@ func (x *fastReflection_MsgStructStatusResponse) Has(fd protoreflect.FieldDescri // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgStructStatusResponse) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_MsgPlanetExplore) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.MsgStructStatusResponse.struct": - x.Struct = nil + case "structs.structs.MsgPlanetExplore.creator": + x.Creator = "" + case "structs.structs.MsgPlanetExplore.playerId": + x.PlayerId = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructStatusResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPlanetExplore")) } - panic(fmt.Errorf("message structs.structs.MsgStructStatusResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgPlanetExplore does not contain field %s", fd.FullName())) } } @@ -26065,16 +25760,19 @@ func (x *fastReflection_MsgStructStatusResponse) Clear(fd protoreflect.FieldDesc // 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_MsgStructStatusResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgPlanetExplore) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.MsgStructStatusResponse.struct": - value := x.Struct - return protoreflect.ValueOfMessage(value.ProtoReflect()) + case "structs.structs.MsgPlanetExplore.creator": + value := x.Creator + return protoreflect.ValueOfString(value) + case "structs.structs.MsgPlanetExplore.playerId": + value := x.PlayerId + return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructStatusResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPlanetExplore")) } - panic(fmt.Errorf("message structs.structs.MsgStructStatusResponse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.MsgPlanetExplore does not contain field %s", descriptor.FullName())) } } @@ -26088,15 +25786,17 @@ func (x *fastReflection_MsgStructStatusResponse) Get(descriptor protoreflect.Fie // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgStructStatusResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_MsgPlanetExplore) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.MsgStructStatusResponse.struct": - x.Struct = value.Message().Interface().(*Struct) + case "structs.structs.MsgPlanetExplore.creator": + x.Creator = value.Interface().(string) + case "structs.structs.MsgPlanetExplore.playerId": + x.PlayerId = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructStatusResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPlanetExplore")) } - panic(fmt.Errorf("message structs.structs.MsgStructStatusResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgPlanetExplore does not contain field %s", fd.FullName())) } } @@ -26110,44 +25810,44 @@ func (x *fastReflection_MsgStructStatusResponse) Set(fd protoreflect.FieldDescri // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgStructStatusResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgPlanetExplore) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.MsgStructStatusResponse.struct": - if x.Struct == nil { - x.Struct = new(Struct) - } - return protoreflect.ValueOfMessage(x.Struct.ProtoReflect()) + case "structs.structs.MsgPlanetExplore.creator": + panic(fmt.Errorf("field creator of message structs.structs.MsgPlanetExplore is not mutable")) + case "structs.structs.MsgPlanetExplore.playerId": + panic(fmt.Errorf("field playerId of message structs.structs.MsgPlanetExplore is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructStatusResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPlanetExplore")) } - panic(fmt.Errorf("message structs.structs.MsgStructStatusResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgPlanetExplore 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_MsgStructStatusResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgPlanetExplore) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.MsgStructStatusResponse.struct": - m := new(Struct) - return protoreflect.ValueOfMessage(m.ProtoReflect()) + case "structs.structs.MsgPlanetExplore.creator": + return protoreflect.ValueOfString("") + case "structs.structs.MsgPlanetExplore.playerId": + return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructStatusResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPlanetExplore")) } - panic(fmt.Errorf("message structs.structs.MsgStructStatusResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgPlanetExplore 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_MsgStructStatusResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_MsgPlanetExplore) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgStructStatusResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgPlanetExplore", d.FullName())) } panic("unreachable") } @@ -26155,7 +25855,7 @@ func (x *fastReflection_MsgStructStatusResponse) WhichOneof(d protoreflect.Oneof // 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_MsgStructStatusResponse) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_MsgPlanetExplore) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -26166,7 +25866,7 @@ func (x *fastReflection_MsgStructStatusResponse) GetUnknown() protoreflect.RawFi // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgStructStatusResponse) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_MsgPlanetExplore) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -26178,7 +25878,7 @@ func (x *fastReflection_MsgStructStatusResponse) SetUnknown(fields protoreflect. // 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_MsgStructStatusResponse) IsValid() bool { +func (x *fastReflection_MsgPlanetExplore) IsValid() bool { return x != nil } @@ -26188,9 +25888,9 @@ func (x *fastReflection_MsgStructStatusResponse) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_MsgStructStatusResponse) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_MsgPlanetExplore) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*MsgStructStatusResponse) + x := input.Message.Interface().(*MsgPlanetExplore) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -26202,8 +25902,12 @@ func (x *fastReflection_MsgStructStatusResponse) ProtoMethods() *protoiface.Meth var n int var l int _ = l - if x.Struct != nil { - l = options.Size(x.Struct) + l = len(x.Creator) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.PlayerId) + if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } if x.unknownFields != nil { @@ -26216,7 +25920,7 @@ func (x *fastReflection_MsgStructStatusResponse) ProtoMethods() *protoiface.Meth } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*MsgStructStatusResponse) + x := input.Message.Interface().(*MsgPlanetExplore) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -26235,17 +25939,17 @@ func (x *fastReflection_MsgStructStatusResponse) ProtoMethods() *protoiface.Meth i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if x.Struct != nil { - encoded, err := options.Marshal(x.Struct) - 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))) + if len(x.PlayerId) > 0 { + i -= len(x.PlayerId) + copy(dAtA[i:], x.PlayerId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.PlayerId))) + i-- + dAtA[i] = 0x12 + } + if len(x.Creator) > 0 { + i -= len(x.Creator) + copy(dAtA[i:], x.Creator) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Creator))) i-- dAtA[i] = 0xa } @@ -26260,7 +25964,7 @@ func (x *fastReflection_MsgStructStatusResponse) ProtoMethods() *protoiface.Meth }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*MsgStructStatusResponse) + x := input.Message.Interface().(*MsgPlanetExplore) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -26292,17 +25996,17 @@ func (x *fastReflection_MsgStructStatusResponse) ProtoMethods() *protoiface.Meth fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgStructStatusResponse: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgPlanetExplore: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgStructStatusResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgPlanetExplore: 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 Struct", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -26312,27 +26016,55 @@ func (x *fastReflection_MsgStructStatusResponse) ProtoMethods() *protoiface.Meth } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength } - postIndex := iNdEx + msglen + 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 } - if x.Struct == nil { - x.Struct = &Struct{} + x.Creator = 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 PlayerId", wireType) } - if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Struct); err != nil { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + 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.PlayerId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -26370,27 +26102,25 @@ func (x *fastReflection_MsgStructStatusResponse) ProtoMethods() *protoiface.Meth } var ( - md_MsgStructActivate protoreflect.MessageDescriptor - fd_MsgStructActivate_creator protoreflect.FieldDescriptor - fd_MsgStructActivate_structId protoreflect.FieldDescriptor + md_MsgPlanetExploreResponse protoreflect.MessageDescriptor + fd_MsgPlanetExploreResponse_planet protoreflect.FieldDescriptor ) func init() { file_structs_structs_tx_proto_init() - md_MsgStructActivate = File_structs_structs_tx_proto.Messages().ByName("MsgStructActivate") - fd_MsgStructActivate_creator = md_MsgStructActivate.Fields().ByName("creator") - fd_MsgStructActivate_structId = md_MsgStructActivate.Fields().ByName("structId") + md_MsgPlanetExploreResponse = File_structs_structs_tx_proto.Messages().ByName("MsgPlanetExploreResponse") + fd_MsgPlanetExploreResponse_planet = md_MsgPlanetExploreResponse.Fields().ByName("planet") } -var _ protoreflect.Message = (*fastReflection_MsgStructActivate)(nil) +var _ protoreflect.Message = (*fastReflection_MsgPlanetExploreResponse)(nil) -type fastReflection_MsgStructActivate MsgStructActivate +type fastReflection_MsgPlanetExploreResponse MsgPlanetExploreResponse -func (x *MsgStructActivate) ProtoReflect() protoreflect.Message { - return (*fastReflection_MsgStructActivate)(x) +func (x *MsgPlanetExploreResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgPlanetExploreResponse)(x) } -func (x *MsgStructActivate) slowProtoReflect() protoreflect.Message { +func (x *MsgPlanetExploreResponse) slowProtoReflect() protoreflect.Message { mi := &file_structs_structs_tx_proto_msgTypes[51] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -26402,43 +26132,43 @@ func (x *MsgStructActivate) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_MsgStructActivate_messageType fastReflection_MsgStructActivate_messageType -var _ protoreflect.MessageType = fastReflection_MsgStructActivate_messageType{} +var _fastReflection_MsgPlanetExploreResponse_messageType fastReflection_MsgPlanetExploreResponse_messageType +var _ protoreflect.MessageType = fastReflection_MsgPlanetExploreResponse_messageType{} -type fastReflection_MsgStructActivate_messageType struct{} +type fastReflection_MsgPlanetExploreResponse_messageType struct{} -func (x fastReflection_MsgStructActivate_messageType) Zero() protoreflect.Message { - return (*fastReflection_MsgStructActivate)(nil) +func (x fastReflection_MsgPlanetExploreResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgPlanetExploreResponse)(nil) } -func (x fastReflection_MsgStructActivate_messageType) New() protoreflect.Message { - return new(fastReflection_MsgStructActivate) +func (x fastReflection_MsgPlanetExploreResponse_messageType) New() protoreflect.Message { + return new(fastReflection_MsgPlanetExploreResponse) } -func (x fastReflection_MsgStructActivate_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_MsgStructActivate +func (x fastReflection_MsgPlanetExploreResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgPlanetExploreResponse } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_MsgStructActivate) Descriptor() protoreflect.MessageDescriptor { - return md_MsgStructActivate +func (x *fastReflection_MsgPlanetExploreResponse) Descriptor() protoreflect.MessageDescriptor { + return md_MsgPlanetExploreResponse } // 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_MsgStructActivate) Type() protoreflect.MessageType { - return _fastReflection_MsgStructActivate_messageType +func (x *fastReflection_MsgPlanetExploreResponse) Type() protoreflect.MessageType { + return _fastReflection_MsgPlanetExploreResponse_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_MsgStructActivate) New() protoreflect.Message { - return new(fastReflection_MsgStructActivate) +func (x *fastReflection_MsgPlanetExploreResponse) New() protoreflect.Message { + return new(fastReflection_MsgPlanetExploreResponse) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_MsgStructActivate) Interface() protoreflect.ProtoMessage { - return (*MsgStructActivate)(x) +func (x *fastReflection_MsgPlanetExploreResponse) Interface() protoreflect.ProtoMessage { + return (*MsgPlanetExploreResponse)(x) } // Range iterates over every populated field in an undefined order, @@ -26446,16 +26176,10 @@ func (x *fastReflection_MsgStructActivate) Interface() protoreflect.ProtoMessage // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_MsgStructActivate) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.Creator != "" { - value := protoreflect.ValueOfString(x.Creator) - if !f(fd_MsgStructActivate_creator, value) { - return - } - } - if x.StructId != "" { - value := protoreflect.ValueOfString(x.StructId) - if !f(fd_MsgStructActivate_structId, value) { +func (x *fastReflection_MsgPlanetExploreResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Planet != nil { + value := protoreflect.ValueOfMessage(x.Planet.ProtoReflect()) + if !f(fd_MsgPlanetExploreResponse_planet, value) { return } } @@ -26472,17 +26196,15 @@ func (x *fastReflection_MsgStructActivate) Range(f func(protoreflect.FieldDescri // 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_MsgStructActivate) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_MsgPlanetExploreResponse) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.MsgStructActivate.creator": - return x.Creator != "" - case "structs.structs.MsgStructActivate.structId": - return x.StructId != "" + case "structs.structs.MsgPlanetExploreResponse.planet": + return x.Planet != nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructActivate")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPlanetExploreResponse")) } - panic(fmt.Errorf("message structs.structs.MsgStructActivate does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgPlanetExploreResponse does not contain field %s", fd.FullName())) } } @@ -26492,17 +26214,15 @@ func (x *fastReflection_MsgStructActivate) Has(fd protoreflect.FieldDescriptor) // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgStructActivate) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_MsgPlanetExploreResponse) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.MsgStructActivate.creator": - x.Creator = "" - case "structs.structs.MsgStructActivate.structId": - x.StructId = "" + case "structs.structs.MsgPlanetExploreResponse.planet": + x.Planet = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructActivate")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPlanetExploreResponse")) } - panic(fmt.Errorf("message structs.structs.MsgStructActivate does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgPlanetExploreResponse does not contain field %s", fd.FullName())) } } @@ -26512,19 +26232,16 @@ func (x *fastReflection_MsgStructActivate) Clear(fd protoreflect.FieldDescriptor // 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_MsgStructActivate) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgPlanetExploreResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.MsgStructActivate.creator": - value := x.Creator - return protoreflect.ValueOfString(value) - case "structs.structs.MsgStructActivate.structId": - value := x.StructId - return protoreflect.ValueOfString(value) + case "structs.structs.MsgPlanetExploreResponse.planet": + value := x.Planet + return protoreflect.ValueOfMessage(value.ProtoReflect()) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructActivate")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPlanetExploreResponse")) } - panic(fmt.Errorf("message structs.structs.MsgStructActivate does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.MsgPlanetExploreResponse does not contain field %s", descriptor.FullName())) } } @@ -26538,17 +26255,15 @@ func (x *fastReflection_MsgStructActivate) Get(descriptor protoreflect.FieldDesc // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgStructActivate) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_MsgPlanetExploreResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.MsgStructActivate.creator": - x.Creator = value.Interface().(string) - case "structs.structs.MsgStructActivate.structId": - x.StructId = value.Interface().(string) + case "structs.structs.MsgPlanetExploreResponse.planet": + x.Planet = value.Message().Interface().(*Planet) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructActivate")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPlanetExploreResponse")) } - panic(fmt.Errorf("message structs.structs.MsgStructActivate does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgPlanetExploreResponse does not contain field %s", fd.FullName())) } } @@ -26562,44 +26277,44 @@ func (x *fastReflection_MsgStructActivate) Set(fd protoreflect.FieldDescriptor, // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgStructActivate) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgPlanetExploreResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.MsgStructActivate.creator": - panic(fmt.Errorf("field creator of message structs.structs.MsgStructActivate is not mutable")) - case "structs.structs.MsgStructActivate.structId": - panic(fmt.Errorf("field structId of message structs.structs.MsgStructActivate is not mutable")) + case "structs.structs.MsgPlanetExploreResponse.planet": + if x.Planet == nil { + x.Planet = new(Planet) + } + return protoreflect.ValueOfMessage(x.Planet.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructActivate")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPlanetExploreResponse")) } - panic(fmt.Errorf("message structs.structs.MsgStructActivate does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgPlanetExploreResponse 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_MsgStructActivate) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgPlanetExploreResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.MsgStructActivate.creator": - return protoreflect.ValueOfString("") - case "structs.structs.MsgStructActivate.structId": - return protoreflect.ValueOfString("") + case "structs.structs.MsgPlanetExploreResponse.planet": + m := new(Planet) + return protoreflect.ValueOfMessage(m.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructActivate")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPlanetExploreResponse")) } - panic(fmt.Errorf("message structs.structs.MsgStructActivate does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgPlanetExploreResponse 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_MsgStructActivate) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_MsgPlanetExploreResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgStructActivate", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgPlanetExploreResponse", d.FullName())) } panic("unreachable") } @@ -26607,7 +26322,7 @@ func (x *fastReflection_MsgStructActivate) WhichOneof(d protoreflect.OneofDescri // 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_MsgStructActivate) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_MsgPlanetExploreResponse) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -26618,7 +26333,7 @@ func (x *fastReflection_MsgStructActivate) GetUnknown() protoreflect.RawFields { // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgStructActivate) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_MsgPlanetExploreResponse) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -26630,7 +26345,7 @@ func (x *fastReflection_MsgStructActivate) SetUnknown(fields protoreflect.RawFie // 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_MsgStructActivate) IsValid() bool { +func (x *fastReflection_MsgPlanetExploreResponse) IsValid() bool { return x != nil } @@ -26640,9 +26355,9 @@ func (x *fastReflection_MsgStructActivate) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_MsgStructActivate) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_MsgPlanetExploreResponse) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*MsgStructActivate) + x := input.Message.Interface().(*MsgPlanetExploreResponse) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -26654,12 +26369,8 @@ func (x *fastReflection_MsgStructActivate) ProtoMethods() *protoiface.Methods { var n int var l int _ = l - l = len(x.Creator) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } - l = len(x.StructId) - if l > 0 { + if x.Planet != nil { + l = options.Size(x.Planet) n += 1 + l + runtime.Sov(uint64(l)) } if x.unknownFields != nil { @@ -26672,7 +26383,7 @@ func (x *fastReflection_MsgStructActivate) ProtoMethods() *protoiface.Methods { } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*MsgStructActivate) + x := input.Message.Interface().(*MsgPlanetExploreResponse) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -26691,17 +26402,17 @@ func (x *fastReflection_MsgStructActivate) ProtoMethods() *protoiface.Methods { i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if len(x.StructId) > 0 { - i -= len(x.StructId) - copy(dAtA[i:], x.StructId) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.StructId))) - i-- - dAtA[i] = 0x12 - } - if len(x.Creator) > 0 { - i -= len(x.Creator) - copy(dAtA[i:], x.Creator) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Creator))) + if x.Planet != nil { + encoded, err := options.Marshal(x.Planet) + 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 } @@ -26716,7 +26427,7 @@ func (x *fastReflection_MsgStructActivate) ProtoMethods() *protoiface.Methods { }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*MsgStructActivate) + x := input.Message.Interface().(*MsgPlanetExploreResponse) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -26748,17 +26459,17 @@ func (x *fastReflection_MsgStructActivate) ProtoMethods() *protoiface.Methods { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgStructActivate: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgPlanetExploreResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgStructActivate: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgPlanetExploreResponse: 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 Creator", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Planet", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -26768,55 +26479,27 @@ func (x *fastReflection_MsgStructActivate) ProtoMethods() *protoiface.Methods { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength } - postIndex := iNdEx + intStringLen + 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 } - x.Creator = 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 StructId", 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 x.Planet == nil { + x.Planet = &Planet{} } - if postIndex > l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Planet); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err } - x.StructId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -26854,27 +26537,31 @@ func (x *fastReflection_MsgStructActivate) ProtoMethods() *protoiface.Methods { } var ( - md_MsgStructDeactivate protoreflect.MessageDescriptor - fd_MsgStructDeactivate_creator protoreflect.FieldDescriptor - fd_MsgStructDeactivate_structId protoreflect.FieldDescriptor + md_MsgPlanetRaidComplete protoreflect.MessageDescriptor + fd_MsgPlanetRaidComplete_creator protoreflect.FieldDescriptor + fd_MsgPlanetRaidComplete_fleetId protoreflect.FieldDescriptor + fd_MsgPlanetRaidComplete_proof protoreflect.FieldDescriptor + fd_MsgPlanetRaidComplete_nonce protoreflect.FieldDescriptor ) func init() { file_structs_structs_tx_proto_init() - md_MsgStructDeactivate = File_structs_structs_tx_proto.Messages().ByName("MsgStructDeactivate") - fd_MsgStructDeactivate_creator = md_MsgStructDeactivate.Fields().ByName("creator") - fd_MsgStructDeactivate_structId = md_MsgStructDeactivate.Fields().ByName("structId") + md_MsgPlanetRaidComplete = File_structs_structs_tx_proto.Messages().ByName("MsgPlanetRaidComplete") + fd_MsgPlanetRaidComplete_creator = md_MsgPlanetRaidComplete.Fields().ByName("creator") + fd_MsgPlanetRaidComplete_fleetId = md_MsgPlanetRaidComplete.Fields().ByName("fleetId") + fd_MsgPlanetRaidComplete_proof = md_MsgPlanetRaidComplete.Fields().ByName("proof") + fd_MsgPlanetRaidComplete_nonce = md_MsgPlanetRaidComplete.Fields().ByName("nonce") } -var _ protoreflect.Message = (*fastReflection_MsgStructDeactivate)(nil) +var _ protoreflect.Message = (*fastReflection_MsgPlanetRaidComplete)(nil) -type fastReflection_MsgStructDeactivate MsgStructDeactivate +type fastReflection_MsgPlanetRaidComplete MsgPlanetRaidComplete -func (x *MsgStructDeactivate) ProtoReflect() protoreflect.Message { - return (*fastReflection_MsgStructDeactivate)(x) +func (x *MsgPlanetRaidComplete) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgPlanetRaidComplete)(x) } -func (x *MsgStructDeactivate) slowProtoReflect() protoreflect.Message { +func (x *MsgPlanetRaidComplete) slowProtoReflect() protoreflect.Message { mi := &file_structs_structs_tx_proto_msgTypes[52] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -26886,43 +26573,43 @@ func (x *MsgStructDeactivate) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_MsgStructDeactivate_messageType fastReflection_MsgStructDeactivate_messageType -var _ protoreflect.MessageType = fastReflection_MsgStructDeactivate_messageType{} +var _fastReflection_MsgPlanetRaidComplete_messageType fastReflection_MsgPlanetRaidComplete_messageType +var _ protoreflect.MessageType = fastReflection_MsgPlanetRaidComplete_messageType{} -type fastReflection_MsgStructDeactivate_messageType struct{} +type fastReflection_MsgPlanetRaidComplete_messageType struct{} -func (x fastReflection_MsgStructDeactivate_messageType) Zero() protoreflect.Message { - return (*fastReflection_MsgStructDeactivate)(nil) +func (x fastReflection_MsgPlanetRaidComplete_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgPlanetRaidComplete)(nil) } -func (x fastReflection_MsgStructDeactivate_messageType) New() protoreflect.Message { - return new(fastReflection_MsgStructDeactivate) +func (x fastReflection_MsgPlanetRaidComplete_messageType) New() protoreflect.Message { + return new(fastReflection_MsgPlanetRaidComplete) } -func (x fastReflection_MsgStructDeactivate_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_MsgStructDeactivate +func (x fastReflection_MsgPlanetRaidComplete_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgPlanetRaidComplete } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_MsgStructDeactivate) Descriptor() protoreflect.MessageDescriptor { - return md_MsgStructDeactivate +func (x *fastReflection_MsgPlanetRaidComplete) Descriptor() protoreflect.MessageDescriptor { + return md_MsgPlanetRaidComplete } // 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_MsgStructDeactivate) Type() protoreflect.MessageType { - return _fastReflection_MsgStructDeactivate_messageType +func (x *fastReflection_MsgPlanetRaidComplete) Type() protoreflect.MessageType { + return _fastReflection_MsgPlanetRaidComplete_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_MsgStructDeactivate) New() protoreflect.Message { - return new(fastReflection_MsgStructDeactivate) +func (x *fastReflection_MsgPlanetRaidComplete) New() protoreflect.Message { + return new(fastReflection_MsgPlanetRaidComplete) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_MsgStructDeactivate) Interface() protoreflect.ProtoMessage { - return (*MsgStructDeactivate)(x) +func (x *fastReflection_MsgPlanetRaidComplete) Interface() protoreflect.ProtoMessage { + return (*MsgPlanetRaidComplete)(x) } // Range iterates over every populated field in an undefined order, @@ -26930,16 +26617,28 @@ func (x *fastReflection_MsgStructDeactivate) Interface() protoreflect.ProtoMessa // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_MsgStructDeactivate) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +func (x *fastReflection_MsgPlanetRaidComplete) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { if x.Creator != "" { value := protoreflect.ValueOfString(x.Creator) - if !f(fd_MsgStructDeactivate_creator, value) { + if !f(fd_MsgPlanetRaidComplete_creator, value) { return } } - if x.StructId != "" { - value := protoreflect.ValueOfString(x.StructId) - if !f(fd_MsgStructDeactivate_structId, value) { + if x.FleetId != "" { + value := protoreflect.ValueOfString(x.FleetId) + if !f(fd_MsgPlanetRaidComplete_fleetId, value) { + return + } + } + if x.Proof != "" { + value := protoreflect.ValueOfString(x.Proof) + if !f(fd_MsgPlanetRaidComplete_proof, value) { + return + } + } + if x.Nonce != "" { + value := protoreflect.ValueOfString(x.Nonce) + if !f(fd_MsgPlanetRaidComplete_nonce, value) { return } } @@ -26956,17 +26655,21 @@ func (x *fastReflection_MsgStructDeactivate) Range(f func(protoreflect.FieldDesc // 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_MsgStructDeactivate) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_MsgPlanetRaidComplete) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.MsgStructDeactivate.creator": + case "structs.structs.MsgPlanetRaidComplete.creator": return x.Creator != "" - case "structs.structs.MsgStructDeactivate.structId": - return x.StructId != "" + case "structs.structs.MsgPlanetRaidComplete.fleetId": + return x.FleetId != "" + case "structs.structs.MsgPlanetRaidComplete.proof": + return x.Proof != "" + case "structs.structs.MsgPlanetRaidComplete.nonce": + return x.Nonce != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructDeactivate")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPlanetRaidComplete")) } - panic(fmt.Errorf("message structs.structs.MsgStructDeactivate does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgPlanetRaidComplete does not contain field %s", fd.FullName())) } } @@ -26976,17 +26679,21 @@ func (x *fastReflection_MsgStructDeactivate) Has(fd protoreflect.FieldDescriptor // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgStructDeactivate) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_MsgPlanetRaidComplete) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.MsgStructDeactivate.creator": + case "structs.structs.MsgPlanetRaidComplete.creator": x.Creator = "" - case "structs.structs.MsgStructDeactivate.structId": - x.StructId = "" + case "structs.structs.MsgPlanetRaidComplete.fleetId": + x.FleetId = "" + case "structs.structs.MsgPlanetRaidComplete.proof": + x.Proof = "" + case "structs.structs.MsgPlanetRaidComplete.nonce": + x.Nonce = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructDeactivate")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPlanetRaidComplete")) } - panic(fmt.Errorf("message structs.structs.MsgStructDeactivate does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgPlanetRaidComplete does not contain field %s", fd.FullName())) } } @@ -26996,19 +26703,25 @@ func (x *fastReflection_MsgStructDeactivate) Clear(fd protoreflect.FieldDescript // 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_MsgStructDeactivate) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgPlanetRaidComplete) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.MsgStructDeactivate.creator": + case "structs.structs.MsgPlanetRaidComplete.creator": value := x.Creator return protoreflect.ValueOfString(value) - case "structs.structs.MsgStructDeactivate.structId": - value := x.StructId + case "structs.structs.MsgPlanetRaidComplete.fleetId": + value := x.FleetId + return protoreflect.ValueOfString(value) + case "structs.structs.MsgPlanetRaidComplete.proof": + value := x.Proof + return protoreflect.ValueOfString(value) + case "structs.structs.MsgPlanetRaidComplete.nonce": + value := x.Nonce return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructDeactivate")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPlanetRaidComplete")) } - panic(fmt.Errorf("message structs.structs.MsgStructDeactivate does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.MsgPlanetRaidComplete does not contain field %s", descriptor.FullName())) } } @@ -27022,17 +26735,21 @@ func (x *fastReflection_MsgStructDeactivate) Get(descriptor protoreflect.FieldDe // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgStructDeactivate) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_MsgPlanetRaidComplete) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.MsgStructDeactivate.creator": + case "structs.structs.MsgPlanetRaidComplete.creator": x.Creator = value.Interface().(string) - case "structs.structs.MsgStructDeactivate.structId": - x.StructId = value.Interface().(string) + case "structs.structs.MsgPlanetRaidComplete.fleetId": + x.FleetId = value.Interface().(string) + case "structs.structs.MsgPlanetRaidComplete.proof": + x.Proof = value.Interface().(string) + case "structs.structs.MsgPlanetRaidComplete.nonce": + x.Nonce = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructDeactivate")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPlanetRaidComplete")) } - panic(fmt.Errorf("message structs.structs.MsgStructDeactivate does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgPlanetRaidComplete does not contain field %s", fd.FullName())) } } @@ -27046,44 +26763,52 @@ func (x *fastReflection_MsgStructDeactivate) Set(fd protoreflect.FieldDescriptor // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgStructDeactivate) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgPlanetRaidComplete) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.MsgStructDeactivate.creator": - panic(fmt.Errorf("field creator of message structs.structs.MsgStructDeactivate is not mutable")) - case "structs.structs.MsgStructDeactivate.structId": - panic(fmt.Errorf("field structId of message structs.structs.MsgStructDeactivate is not mutable")) + case "structs.structs.MsgPlanetRaidComplete.creator": + panic(fmt.Errorf("field creator of message structs.structs.MsgPlanetRaidComplete is not mutable")) + case "structs.structs.MsgPlanetRaidComplete.fleetId": + panic(fmt.Errorf("field fleetId of message structs.structs.MsgPlanetRaidComplete is not mutable")) + case "structs.structs.MsgPlanetRaidComplete.proof": + panic(fmt.Errorf("field proof of message structs.structs.MsgPlanetRaidComplete is not mutable")) + case "structs.structs.MsgPlanetRaidComplete.nonce": + panic(fmt.Errorf("field nonce of message structs.structs.MsgPlanetRaidComplete is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructDeactivate")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPlanetRaidComplete")) } - panic(fmt.Errorf("message structs.structs.MsgStructDeactivate does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgPlanetRaidComplete 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_MsgStructDeactivate) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgPlanetRaidComplete) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.MsgStructDeactivate.creator": + case "structs.structs.MsgPlanetRaidComplete.creator": return protoreflect.ValueOfString("") - case "structs.structs.MsgStructDeactivate.structId": + case "structs.structs.MsgPlanetRaidComplete.fleetId": + return protoreflect.ValueOfString("") + case "structs.structs.MsgPlanetRaidComplete.proof": + return protoreflect.ValueOfString("") + case "structs.structs.MsgPlanetRaidComplete.nonce": return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructDeactivate")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPlanetRaidComplete")) } - panic(fmt.Errorf("message structs.structs.MsgStructDeactivate does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgPlanetRaidComplete 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_MsgStructDeactivate) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_MsgPlanetRaidComplete) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgStructDeactivate", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgPlanetRaidComplete", d.FullName())) } panic("unreachable") } @@ -27091,7 +26816,7 @@ func (x *fastReflection_MsgStructDeactivate) WhichOneof(d protoreflect.OneofDesc // 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_MsgStructDeactivate) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_MsgPlanetRaidComplete) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -27102,7 +26827,7 @@ func (x *fastReflection_MsgStructDeactivate) GetUnknown() protoreflect.RawFields // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgStructDeactivate) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_MsgPlanetRaidComplete) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -27114,7 +26839,7 @@ func (x *fastReflection_MsgStructDeactivate) SetUnknown(fields protoreflect.RawF // 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_MsgStructDeactivate) IsValid() bool { +func (x *fastReflection_MsgPlanetRaidComplete) IsValid() bool { return x != nil } @@ -27124,9 +26849,9 @@ func (x *fastReflection_MsgStructDeactivate) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_MsgStructDeactivate) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_MsgPlanetRaidComplete) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*MsgStructDeactivate) + x := input.Message.Interface().(*MsgPlanetRaidComplete) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -27142,7 +26867,15 @@ func (x *fastReflection_MsgStructDeactivate) ProtoMethods() *protoiface.Methods if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } - l = len(x.StructId) + l = len(x.FleetId) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.Proof) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.Nonce) if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } @@ -27156,7 +26889,7 @@ func (x *fastReflection_MsgStructDeactivate) ProtoMethods() *protoiface.Methods } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*MsgStructDeactivate) + x := input.Message.Interface().(*MsgPlanetRaidComplete) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -27175,14 +26908,28 @@ func (x *fastReflection_MsgStructDeactivate) ProtoMethods() *protoiface.Methods i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if len(x.StructId) > 0 { - i -= len(x.StructId) - copy(dAtA[i:], x.StructId) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.StructId))) + if len(x.Nonce) > 0 { + i -= len(x.Nonce) + copy(dAtA[i:], x.Nonce) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Nonce))) i-- - dAtA[i] = 0x12 + dAtA[i] = 0x22 } - if len(x.Creator) > 0 { + if len(x.Proof) > 0 { + i -= len(x.Proof) + copy(dAtA[i:], x.Proof) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Proof))) + i-- + dAtA[i] = 0x1a + } + if len(x.FleetId) > 0 { + i -= len(x.FleetId) + copy(dAtA[i:], x.FleetId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.FleetId))) + i-- + dAtA[i] = 0x12 + } + if len(x.Creator) > 0 { i -= len(x.Creator) copy(dAtA[i:], x.Creator) i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Creator))) @@ -27200,7 +26947,7 @@ func (x *fastReflection_MsgStructDeactivate) ProtoMethods() *protoiface.Methods }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*MsgStructDeactivate) + x := input.Message.Interface().(*MsgPlanetRaidComplete) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -27232,10 +26979,10 @@ func (x *fastReflection_MsgStructDeactivate) ProtoMethods() *protoiface.Methods fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgStructDeactivate: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgPlanetRaidComplete: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgStructDeactivate: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgPlanetRaidComplete: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -27272,7 +27019,7 @@ func (x *fastReflection_MsgStructDeactivate) ProtoMethods() *protoiface.Methods iNdEx = postIndex case 2: if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field StructId", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field FleetId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -27300,7 +27047,71 @@ func (x *fastReflection_MsgStructDeactivate) ProtoMethods() *protoiface.Methods if postIndex > l { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - x.StructId = string(dAtA[iNdEx:postIndex]) + x.FleetId = 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 Proof", 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.Proof = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Nonce", 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.Nonce = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -27338,35 +27149,29 @@ func (x *fastReflection_MsgStructDeactivate) ProtoMethods() *protoiface.Methods } var ( - md_MsgStructBuildInitiate protoreflect.MessageDescriptor - fd_MsgStructBuildInitiate_creator protoreflect.FieldDescriptor - fd_MsgStructBuildInitiate_playerId protoreflect.FieldDescriptor - fd_MsgStructBuildInitiate_structTypeId protoreflect.FieldDescriptor - fd_MsgStructBuildInitiate_locationType protoreflect.FieldDescriptor - fd_MsgStructBuildInitiate_operatingAmbit protoreflect.FieldDescriptor - fd_MsgStructBuildInitiate_slot protoreflect.FieldDescriptor + md_MsgPlanetRaidCompleteResponse protoreflect.MessageDescriptor + fd_MsgPlanetRaidCompleteResponse_fleet protoreflect.FieldDescriptor + fd_MsgPlanetRaidCompleteResponse_planet protoreflect.FieldDescriptor + fd_MsgPlanetRaidCompleteResponse_oreStolen protoreflect.FieldDescriptor ) func init() { file_structs_structs_tx_proto_init() - md_MsgStructBuildInitiate = File_structs_structs_tx_proto.Messages().ByName("MsgStructBuildInitiate") - fd_MsgStructBuildInitiate_creator = md_MsgStructBuildInitiate.Fields().ByName("creator") - fd_MsgStructBuildInitiate_playerId = md_MsgStructBuildInitiate.Fields().ByName("playerId") - fd_MsgStructBuildInitiate_structTypeId = md_MsgStructBuildInitiate.Fields().ByName("structTypeId") - fd_MsgStructBuildInitiate_locationType = md_MsgStructBuildInitiate.Fields().ByName("locationType") - fd_MsgStructBuildInitiate_operatingAmbit = md_MsgStructBuildInitiate.Fields().ByName("operatingAmbit") - fd_MsgStructBuildInitiate_slot = md_MsgStructBuildInitiate.Fields().ByName("slot") + md_MsgPlanetRaidCompleteResponse = File_structs_structs_tx_proto.Messages().ByName("MsgPlanetRaidCompleteResponse") + fd_MsgPlanetRaidCompleteResponse_fleet = md_MsgPlanetRaidCompleteResponse.Fields().ByName("fleet") + fd_MsgPlanetRaidCompleteResponse_planet = md_MsgPlanetRaidCompleteResponse.Fields().ByName("planet") + fd_MsgPlanetRaidCompleteResponse_oreStolen = md_MsgPlanetRaidCompleteResponse.Fields().ByName("oreStolen") } -var _ protoreflect.Message = (*fastReflection_MsgStructBuildInitiate)(nil) +var _ protoreflect.Message = (*fastReflection_MsgPlanetRaidCompleteResponse)(nil) -type fastReflection_MsgStructBuildInitiate MsgStructBuildInitiate +type fastReflection_MsgPlanetRaidCompleteResponse MsgPlanetRaidCompleteResponse -func (x *MsgStructBuildInitiate) ProtoReflect() protoreflect.Message { - return (*fastReflection_MsgStructBuildInitiate)(x) +func (x *MsgPlanetRaidCompleteResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgPlanetRaidCompleteResponse)(x) } -func (x *MsgStructBuildInitiate) slowProtoReflect() protoreflect.Message { +func (x *MsgPlanetRaidCompleteResponse) slowProtoReflect() protoreflect.Message { mi := &file_structs_structs_tx_proto_msgTypes[53] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -27378,43 +27183,43 @@ func (x *MsgStructBuildInitiate) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_MsgStructBuildInitiate_messageType fastReflection_MsgStructBuildInitiate_messageType -var _ protoreflect.MessageType = fastReflection_MsgStructBuildInitiate_messageType{} +var _fastReflection_MsgPlanetRaidCompleteResponse_messageType fastReflection_MsgPlanetRaidCompleteResponse_messageType +var _ protoreflect.MessageType = fastReflection_MsgPlanetRaidCompleteResponse_messageType{} -type fastReflection_MsgStructBuildInitiate_messageType struct{} +type fastReflection_MsgPlanetRaidCompleteResponse_messageType struct{} -func (x fastReflection_MsgStructBuildInitiate_messageType) Zero() protoreflect.Message { - return (*fastReflection_MsgStructBuildInitiate)(nil) +func (x fastReflection_MsgPlanetRaidCompleteResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgPlanetRaidCompleteResponse)(nil) } -func (x fastReflection_MsgStructBuildInitiate_messageType) New() protoreflect.Message { - return new(fastReflection_MsgStructBuildInitiate) +func (x fastReflection_MsgPlanetRaidCompleteResponse_messageType) New() protoreflect.Message { + return new(fastReflection_MsgPlanetRaidCompleteResponse) } -func (x fastReflection_MsgStructBuildInitiate_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_MsgStructBuildInitiate +func (x fastReflection_MsgPlanetRaidCompleteResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgPlanetRaidCompleteResponse } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_MsgStructBuildInitiate) Descriptor() protoreflect.MessageDescriptor { - return md_MsgStructBuildInitiate +func (x *fastReflection_MsgPlanetRaidCompleteResponse) Descriptor() protoreflect.MessageDescriptor { + return md_MsgPlanetRaidCompleteResponse } // 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_MsgStructBuildInitiate) Type() protoreflect.MessageType { - return _fastReflection_MsgStructBuildInitiate_messageType +func (x *fastReflection_MsgPlanetRaidCompleteResponse) Type() protoreflect.MessageType { + return _fastReflection_MsgPlanetRaidCompleteResponse_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_MsgStructBuildInitiate) New() protoreflect.Message { - return new(fastReflection_MsgStructBuildInitiate) +func (x *fastReflection_MsgPlanetRaidCompleteResponse) New() protoreflect.Message { + return new(fastReflection_MsgPlanetRaidCompleteResponse) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_MsgStructBuildInitiate) Interface() protoreflect.ProtoMessage { - return (*MsgStructBuildInitiate)(x) +func (x *fastReflection_MsgPlanetRaidCompleteResponse) Interface() protoreflect.ProtoMessage { + return (*MsgPlanetRaidCompleteResponse)(x) } // Range iterates over every populated field in an undefined order, @@ -27422,40 +27227,22 @@ func (x *fastReflection_MsgStructBuildInitiate) Interface() protoreflect.ProtoMe // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_MsgStructBuildInitiate) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.Creator != "" { - value := protoreflect.ValueOfString(x.Creator) - if !f(fd_MsgStructBuildInitiate_creator, value) { - return - } - } - if x.PlayerId != "" { - value := protoreflect.ValueOfString(x.PlayerId) - if !f(fd_MsgStructBuildInitiate_playerId, value) { - return - } - } - if x.StructTypeId != uint64(0) { - value := protoreflect.ValueOfUint64(x.StructTypeId) - if !f(fd_MsgStructBuildInitiate_structTypeId, value) { - return - } - } - if x.LocationType != 0 { - value := protoreflect.ValueOfEnum((protoreflect.EnumNumber)(x.LocationType)) - if !f(fd_MsgStructBuildInitiate_locationType, value) { +func (x *fastReflection_MsgPlanetRaidCompleteResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Fleet != nil { + value := protoreflect.ValueOfMessage(x.Fleet.ProtoReflect()) + if !f(fd_MsgPlanetRaidCompleteResponse_fleet, value) { return } } - if x.OperatingAmbit != 0 { - value := protoreflect.ValueOfEnum((protoreflect.EnumNumber)(x.OperatingAmbit)) - if !f(fd_MsgStructBuildInitiate_operatingAmbit, value) { + if x.Planet != nil { + value := protoreflect.ValueOfMessage(x.Planet.ProtoReflect()) + if !f(fd_MsgPlanetRaidCompleteResponse_planet, value) { return } } - if x.Slot != uint64(0) { - value := protoreflect.ValueOfUint64(x.Slot) - if !f(fd_MsgStructBuildInitiate_slot, value) { + if x.OreStolen != uint64(0) { + value := protoreflect.ValueOfUint64(x.OreStolen) + if !f(fd_MsgPlanetRaidCompleteResponse_oreStolen, value) { return } } @@ -27472,25 +27259,19 @@ func (x *fastReflection_MsgStructBuildInitiate) Range(f func(protoreflect.FieldD // 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_MsgStructBuildInitiate) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_MsgPlanetRaidCompleteResponse) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.MsgStructBuildInitiate.creator": - return x.Creator != "" - case "structs.structs.MsgStructBuildInitiate.playerId": - return x.PlayerId != "" - case "structs.structs.MsgStructBuildInitiate.structTypeId": - return x.StructTypeId != uint64(0) - case "structs.structs.MsgStructBuildInitiate.locationType": - return x.LocationType != 0 - case "structs.structs.MsgStructBuildInitiate.operatingAmbit": - return x.OperatingAmbit != 0 - case "structs.structs.MsgStructBuildInitiate.slot": - return x.Slot != uint64(0) + case "structs.structs.MsgPlanetRaidCompleteResponse.fleet": + return x.Fleet != nil + case "structs.structs.MsgPlanetRaidCompleteResponse.planet": + return x.Planet != nil + case "structs.structs.MsgPlanetRaidCompleteResponse.oreStolen": + return x.OreStolen != uint64(0) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructBuildInitiate")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPlanetRaidCompleteResponse")) } - panic(fmt.Errorf("message structs.structs.MsgStructBuildInitiate does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgPlanetRaidCompleteResponse does not contain field %s", fd.FullName())) } } @@ -27500,25 +27281,19 @@ func (x *fastReflection_MsgStructBuildInitiate) Has(fd protoreflect.FieldDescrip // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgStructBuildInitiate) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_MsgPlanetRaidCompleteResponse) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.MsgStructBuildInitiate.creator": - x.Creator = "" - case "structs.structs.MsgStructBuildInitiate.playerId": - x.PlayerId = "" - case "structs.structs.MsgStructBuildInitiate.structTypeId": - x.StructTypeId = uint64(0) - case "structs.structs.MsgStructBuildInitiate.locationType": - x.LocationType = 0 - case "structs.structs.MsgStructBuildInitiate.operatingAmbit": - x.OperatingAmbit = 0 - case "structs.structs.MsgStructBuildInitiate.slot": - x.Slot = uint64(0) + case "structs.structs.MsgPlanetRaidCompleteResponse.fleet": + x.Fleet = nil + case "structs.structs.MsgPlanetRaidCompleteResponse.planet": + x.Planet = nil + case "structs.structs.MsgPlanetRaidCompleteResponse.oreStolen": + x.OreStolen = uint64(0) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructBuildInitiate")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPlanetRaidCompleteResponse")) } - panic(fmt.Errorf("message structs.structs.MsgStructBuildInitiate does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgPlanetRaidCompleteResponse does not contain field %s", fd.FullName())) } } @@ -27528,31 +27303,22 @@ func (x *fastReflection_MsgStructBuildInitiate) Clear(fd protoreflect.FieldDescr // 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_MsgStructBuildInitiate) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgPlanetRaidCompleteResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.MsgStructBuildInitiate.creator": - value := x.Creator - return protoreflect.ValueOfString(value) - case "structs.structs.MsgStructBuildInitiate.playerId": - value := x.PlayerId - return protoreflect.ValueOfString(value) - case "structs.structs.MsgStructBuildInitiate.structTypeId": - value := x.StructTypeId - return protoreflect.ValueOfUint64(value) - case "structs.structs.MsgStructBuildInitiate.locationType": - value := x.LocationType - return protoreflect.ValueOfEnum((protoreflect.EnumNumber)(value)) - case "structs.structs.MsgStructBuildInitiate.operatingAmbit": - value := x.OperatingAmbit - return protoreflect.ValueOfEnum((protoreflect.EnumNumber)(value)) - case "structs.structs.MsgStructBuildInitiate.slot": - value := x.Slot + case "structs.structs.MsgPlanetRaidCompleteResponse.fleet": + value := x.Fleet + return protoreflect.ValueOfMessage(value.ProtoReflect()) + case "structs.structs.MsgPlanetRaidCompleteResponse.planet": + value := x.Planet + return protoreflect.ValueOfMessage(value.ProtoReflect()) + case "structs.structs.MsgPlanetRaidCompleteResponse.oreStolen": + value := x.OreStolen return protoreflect.ValueOfUint64(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructBuildInitiate")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPlanetRaidCompleteResponse")) } - panic(fmt.Errorf("message structs.structs.MsgStructBuildInitiate does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.MsgPlanetRaidCompleteResponse does not contain field %s", descriptor.FullName())) } } @@ -27566,25 +27332,19 @@ func (x *fastReflection_MsgStructBuildInitiate) Get(descriptor protoreflect.Fiel // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgStructBuildInitiate) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_MsgPlanetRaidCompleteResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.MsgStructBuildInitiate.creator": - x.Creator = value.Interface().(string) - case "structs.structs.MsgStructBuildInitiate.playerId": - x.PlayerId = value.Interface().(string) - case "structs.structs.MsgStructBuildInitiate.structTypeId": - x.StructTypeId = value.Uint() - case "structs.structs.MsgStructBuildInitiate.locationType": - x.LocationType = (ObjectType)(value.Enum()) - case "structs.structs.MsgStructBuildInitiate.operatingAmbit": - x.OperatingAmbit = (Ambit)(value.Enum()) - case "structs.structs.MsgStructBuildInitiate.slot": - x.Slot = value.Uint() + case "structs.structs.MsgPlanetRaidCompleteResponse.fleet": + x.Fleet = value.Message().Interface().(*Fleet) + case "structs.structs.MsgPlanetRaidCompleteResponse.planet": + x.Planet = value.Message().Interface().(*Planet) + case "structs.structs.MsgPlanetRaidCompleteResponse.oreStolen": + x.OreStolen = value.Uint() default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructBuildInitiate")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPlanetRaidCompleteResponse")) } - panic(fmt.Errorf("message structs.structs.MsgStructBuildInitiate does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgPlanetRaidCompleteResponse does not contain field %s", fd.FullName())) } } @@ -27598,60 +27358,56 @@ func (x *fastReflection_MsgStructBuildInitiate) Set(fd protoreflect.FieldDescrip // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgStructBuildInitiate) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgPlanetRaidCompleteResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.MsgStructBuildInitiate.creator": - panic(fmt.Errorf("field creator of message structs.structs.MsgStructBuildInitiate is not mutable")) - case "structs.structs.MsgStructBuildInitiate.playerId": - panic(fmt.Errorf("field playerId of message structs.structs.MsgStructBuildInitiate is not mutable")) - case "structs.structs.MsgStructBuildInitiate.structTypeId": - panic(fmt.Errorf("field structTypeId of message structs.structs.MsgStructBuildInitiate is not mutable")) - case "structs.structs.MsgStructBuildInitiate.locationType": - panic(fmt.Errorf("field locationType of message structs.structs.MsgStructBuildInitiate is not mutable")) - case "structs.structs.MsgStructBuildInitiate.operatingAmbit": - panic(fmt.Errorf("field operatingAmbit of message structs.structs.MsgStructBuildInitiate is not mutable")) - case "structs.structs.MsgStructBuildInitiate.slot": - panic(fmt.Errorf("field slot of message structs.structs.MsgStructBuildInitiate is not mutable")) + case "structs.structs.MsgPlanetRaidCompleteResponse.fleet": + if x.Fleet == nil { + x.Fleet = new(Fleet) + } + return protoreflect.ValueOfMessage(x.Fleet.ProtoReflect()) + case "structs.structs.MsgPlanetRaidCompleteResponse.planet": + if x.Planet == nil { + x.Planet = new(Planet) + } + return protoreflect.ValueOfMessage(x.Planet.ProtoReflect()) + case "structs.structs.MsgPlanetRaidCompleteResponse.oreStolen": + panic(fmt.Errorf("field oreStolen of message structs.structs.MsgPlanetRaidCompleteResponse is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructBuildInitiate")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPlanetRaidCompleteResponse")) } - panic(fmt.Errorf("message structs.structs.MsgStructBuildInitiate does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgPlanetRaidCompleteResponse 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_MsgStructBuildInitiate) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgPlanetRaidCompleteResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.MsgStructBuildInitiate.creator": - return protoreflect.ValueOfString("") - case "structs.structs.MsgStructBuildInitiate.playerId": - return protoreflect.ValueOfString("") - case "structs.structs.MsgStructBuildInitiate.structTypeId": - return protoreflect.ValueOfUint64(uint64(0)) - case "structs.structs.MsgStructBuildInitiate.locationType": - return protoreflect.ValueOfEnum(0) - case "structs.structs.MsgStructBuildInitiate.operatingAmbit": - return protoreflect.ValueOfEnum(0) - case "structs.structs.MsgStructBuildInitiate.slot": + case "structs.structs.MsgPlanetRaidCompleteResponse.fleet": + m := new(Fleet) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + case "structs.structs.MsgPlanetRaidCompleteResponse.planet": + m := new(Planet) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + case "structs.structs.MsgPlanetRaidCompleteResponse.oreStolen": return protoreflect.ValueOfUint64(uint64(0)) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructBuildInitiate")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPlanetRaidCompleteResponse")) } - panic(fmt.Errorf("message structs.structs.MsgStructBuildInitiate does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgPlanetRaidCompleteResponse 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_MsgStructBuildInitiate) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_MsgPlanetRaidCompleteResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgStructBuildInitiate", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgPlanetRaidCompleteResponse", d.FullName())) } panic("unreachable") } @@ -27659,7 +27415,7 @@ func (x *fastReflection_MsgStructBuildInitiate) WhichOneof(d protoreflect.OneofD // 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_MsgStructBuildInitiate) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_MsgPlanetRaidCompleteResponse) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -27670,7 +27426,7 @@ func (x *fastReflection_MsgStructBuildInitiate) GetUnknown() protoreflect.RawFie // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgStructBuildInitiate) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_MsgPlanetRaidCompleteResponse) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -27682,7 +27438,7 @@ func (x *fastReflection_MsgStructBuildInitiate) SetUnknown(fields protoreflect.R // 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_MsgStructBuildInitiate) IsValid() bool { +func (x *fastReflection_MsgPlanetRaidCompleteResponse) IsValid() bool { return x != nil } @@ -27692,9 +27448,9 @@ func (x *fastReflection_MsgStructBuildInitiate) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_MsgStructBuildInitiate) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_MsgPlanetRaidCompleteResponse) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*MsgStructBuildInitiate) + x := input.Message.Interface().(*MsgPlanetRaidCompleteResponse) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -27706,25 +27462,16 @@ func (x *fastReflection_MsgStructBuildInitiate) ProtoMethods() *protoiface.Metho var n int var l int _ = l - l = len(x.Creator) - if l > 0 { + if x.Fleet != nil { + l = options.Size(x.Fleet) n += 1 + l + runtime.Sov(uint64(l)) } - l = len(x.PlayerId) - if l > 0 { + if x.Planet != nil { + l = options.Size(x.Planet) n += 1 + l + runtime.Sov(uint64(l)) } - if x.StructTypeId != 0 { - n += 1 + runtime.Sov(uint64(x.StructTypeId)) - } - if x.LocationType != 0 { - n += 1 + runtime.Sov(uint64(x.LocationType)) - } - if x.OperatingAmbit != 0 { - n += 1 + runtime.Sov(uint64(x.OperatingAmbit)) - } - if x.Slot != 0 { - n += 1 + runtime.Sov(uint64(x.Slot)) + if x.OreStolen != 0 { + n += 1 + runtime.Sov(uint64(x.OreStolen)) } if x.unknownFields != nil { n += len(x.unknownFields) @@ -27736,7 +27483,7 @@ func (x *fastReflection_MsgStructBuildInitiate) ProtoMethods() *protoiface.Metho } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*MsgStructBuildInitiate) + x := input.Message.Interface().(*MsgPlanetRaidCompleteResponse) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -27755,37 +27502,36 @@ func (x *fastReflection_MsgStructBuildInitiate) ProtoMethods() *protoiface.Metho i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if x.Slot != 0 { - i = runtime.EncodeVarint(dAtA, i, uint64(x.Slot)) - i-- - dAtA[i] = 0x30 - } - if x.OperatingAmbit != 0 { - i = runtime.EncodeVarint(dAtA, i, uint64(x.OperatingAmbit)) - i-- - dAtA[i] = 0x28 - } - if x.LocationType != 0 { - i = runtime.EncodeVarint(dAtA, i, uint64(x.LocationType)) - i-- - dAtA[i] = 0x20 - } - if x.StructTypeId != 0 { - i = runtime.EncodeVarint(dAtA, i, uint64(x.StructTypeId)) + if x.OreStolen != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.OreStolen)) i-- dAtA[i] = 0x18 } - if len(x.PlayerId) > 0 { - i -= len(x.PlayerId) - copy(dAtA[i:], x.PlayerId) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.PlayerId))) + if x.Planet != nil { + encoded, err := options.Marshal(x.Planet) + 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.Creator) > 0 { - i -= len(x.Creator) - copy(dAtA[i:], x.Creator) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Creator))) + if x.Fleet != nil { + encoded, err := options.Marshal(x.Fleet) + 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 } @@ -27800,7 +27546,7 @@ func (x *fastReflection_MsgStructBuildInitiate) ProtoMethods() *protoiface.Metho }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*MsgStructBuildInitiate) + x := input.Message.Interface().(*MsgPlanetRaidCompleteResponse) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -27832,17 +27578,17 @@ func (x *fastReflection_MsgStructBuildInitiate) ProtoMethods() *protoiface.Metho fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgStructBuildInitiate: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgPlanetRaidCompleteResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgStructBuildInitiate: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgPlanetRaidCompleteResponse: 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 Creator", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Fleet", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -27852,29 +27598,33 @@ func (x *fastReflection_MsgStructBuildInitiate) ProtoMethods() *protoiface.Metho } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength } - postIndex := iNdEx + intStringLen + 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 } - x.Creator = string(dAtA[iNdEx:postIndex]) + if x.Fleet == nil { + x.Fleet = &Fleet{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Fleet); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } iNdEx = postIndex case 2: if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field PlayerId", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Planet", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -27884,29 +27634,33 @@ func (x *fastReflection_MsgStructBuildInitiate) ProtoMethods() *protoiface.Metho } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength } - postIndex := iNdEx + intStringLen + 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 } - x.PlayerId = string(dAtA[iNdEx:postIndex]) + if x.Planet == nil { + x.Planet = &Planet{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Planet); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } iNdEx = postIndex case 3: if wireType != 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field StructTypeId", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field OreStolen", wireType) } - x.StructTypeId = 0 + x.OreStolen = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -27916,79 +27670,22 @@ func (x *fastReflection_MsgStructBuildInitiate) ProtoMethods() *protoiface.Metho } b := dAtA[iNdEx] iNdEx++ - x.StructTypeId |= uint64(b&0x7F) << shift + x.OreStolen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - case 4: - if wireType != 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field LocationType", wireType) + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err } - x.LocationType = 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.LocationType |= ObjectType(b&0x7F) << shift - if b < 0x80 { - break - } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength } - case 5: - if wireType != 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field OperatingAmbit", wireType) - } - x.OperatingAmbit = 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.OperatingAmbit |= Ambit(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 6: - if wireType != 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Slot", wireType) - } - x.Slot = 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.Slot |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - 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 (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]...) @@ -28014,31 +27711,29 @@ func (x *fastReflection_MsgStructBuildInitiate) ProtoMethods() *protoiface.Metho } var ( - md_MsgStructBuildComplete protoreflect.MessageDescriptor - fd_MsgStructBuildComplete_creator protoreflect.FieldDescriptor - fd_MsgStructBuildComplete_structId protoreflect.FieldDescriptor - fd_MsgStructBuildComplete_proof protoreflect.FieldDescriptor - fd_MsgStructBuildComplete_nonce protoreflect.FieldDescriptor + md_MsgPlayerUpdatePrimaryAddress protoreflect.MessageDescriptor + fd_MsgPlayerUpdatePrimaryAddress_creator protoreflect.FieldDescriptor + fd_MsgPlayerUpdatePrimaryAddress_playerId protoreflect.FieldDescriptor + fd_MsgPlayerUpdatePrimaryAddress_primaryAddress protoreflect.FieldDescriptor ) func init() { file_structs_structs_tx_proto_init() - md_MsgStructBuildComplete = File_structs_structs_tx_proto.Messages().ByName("MsgStructBuildComplete") - fd_MsgStructBuildComplete_creator = md_MsgStructBuildComplete.Fields().ByName("creator") - fd_MsgStructBuildComplete_structId = md_MsgStructBuildComplete.Fields().ByName("structId") - fd_MsgStructBuildComplete_proof = md_MsgStructBuildComplete.Fields().ByName("proof") - fd_MsgStructBuildComplete_nonce = md_MsgStructBuildComplete.Fields().ByName("nonce") + md_MsgPlayerUpdatePrimaryAddress = File_structs_structs_tx_proto.Messages().ByName("MsgPlayerUpdatePrimaryAddress") + fd_MsgPlayerUpdatePrimaryAddress_creator = md_MsgPlayerUpdatePrimaryAddress.Fields().ByName("creator") + fd_MsgPlayerUpdatePrimaryAddress_playerId = md_MsgPlayerUpdatePrimaryAddress.Fields().ByName("playerId") + fd_MsgPlayerUpdatePrimaryAddress_primaryAddress = md_MsgPlayerUpdatePrimaryAddress.Fields().ByName("primaryAddress") } -var _ protoreflect.Message = (*fastReflection_MsgStructBuildComplete)(nil) +var _ protoreflect.Message = (*fastReflection_MsgPlayerUpdatePrimaryAddress)(nil) -type fastReflection_MsgStructBuildComplete MsgStructBuildComplete +type fastReflection_MsgPlayerUpdatePrimaryAddress MsgPlayerUpdatePrimaryAddress -func (x *MsgStructBuildComplete) ProtoReflect() protoreflect.Message { - return (*fastReflection_MsgStructBuildComplete)(x) +func (x *MsgPlayerUpdatePrimaryAddress) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgPlayerUpdatePrimaryAddress)(x) } -func (x *MsgStructBuildComplete) slowProtoReflect() protoreflect.Message { +func (x *MsgPlayerUpdatePrimaryAddress) slowProtoReflect() protoreflect.Message { mi := &file_structs_structs_tx_proto_msgTypes[54] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -28050,43 +27745,43 @@ func (x *MsgStructBuildComplete) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_MsgStructBuildComplete_messageType fastReflection_MsgStructBuildComplete_messageType -var _ protoreflect.MessageType = fastReflection_MsgStructBuildComplete_messageType{} +var _fastReflection_MsgPlayerUpdatePrimaryAddress_messageType fastReflection_MsgPlayerUpdatePrimaryAddress_messageType +var _ protoreflect.MessageType = fastReflection_MsgPlayerUpdatePrimaryAddress_messageType{} -type fastReflection_MsgStructBuildComplete_messageType struct{} +type fastReflection_MsgPlayerUpdatePrimaryAddress_messageType struct{} -func (x fastReflection_MsgStructBuildComplete_messageType) Zero() protoreflect.Message { - return (*fastReflection_MsgStructBuildComplete)(nil) +func (x fastReflection_MsgPlayerUpdatePrimaryAddress_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgPlayerUpdatePrimaryAddress)(nil) } -func (x fastReflection_MsgStructBuildComplete_messageType) New() protoreflect.Message { - return new(fastReflection_MsgStructBuildComplete) +func (x fastReflection_MsgPlayerUpdatePrimaryAddress_messageType) New() protoreflect.Message { + return new(fastReflection_MsgPlayerUpdatePrimaryAddress) } -func (x fastReflection_MsgStructBuildComplete_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_MsgStructBuildComplete +func (x fastReflection_MsgPlayerUpdatePrimaryAddress_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgPlayerUpdatePrimaryAddress } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_MsgStructBuildComplete) Descriptor() protoreflect.MessageDescriptor { - return md_MsgStructBuildComplete +func (x *fastReflection_MsgPlayerUpdatePrimaryAddress) Descriptor() protoreflect.MessageDescriptor { + return md_MsgPlayerUpdatePrimaryAddress } // 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_MsgStructBuildComplete) Type() protoreflect.MessageType { - return _fastReflection_MsgStructBuildComplete_messageType +func (x *fastReflection_MsgPlayerUpdatePrimaryAddress) Type() protoreflect.MessageType { + return _fastReflection_MsgPlayerUpdatePrimaryAddress_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_MsgStructBuildComplete) New() protoreflect.Message { - return new(fastReflection_MsgStructBuildComplete) +func (x *fastReflection_MsgPlayerUpdatePrimaryAddress) New() protoreflect.Message { + return new(fastReflection_MsgPlayerUpdatePrimaryAddress) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_MsgStructBuildComplete) Interface() protoreflect.ProtoMessage { - return (*MsgStructBuildComplete)(x) +func (x *fastReflection_MsgPlayerUpdatePrimaryAddress) Interface() protoreflect.ProtoMessage { + return (*MsgPlayerUpdatePrimaryAddress)(x) } // Range iterates over every populated field in an undefined order, @@ -28094,28 +27789,22 @@ func (x *fastReflection_MsgStructBuildComplete) Interface() protoreflect.ProtoMe // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_MsgStructBuildComplete) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +func (x *fastReflection_MsgPlayerUpdatePrimaryAddress) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { if x.Creator != "" { value := protoreflect.ValueOfString(x.Creator) - if !f(fd_MsgStructBuildComplete_creator, value) { - return - } - } - if x.StructId != "" { - value := protoreflect.ValueOfString(x.StructId) - if !f(fd_MsgStructBuildComplete_structId, value) { + if !f(fd_MsgPlayerUpdatePrimaryAddress_creator, value) { return } } - if x.Proof != "" { - value := protoreflect.ValueOfString(x.Proof) - if !f(fd_MsgStructBuildComplete_proof, value) { + if x.PlayerId != "" { + value := protoreflect.ValueOfString(x.PlayerId) + if !f(fd_MsgPlayerUpdatePrimaryAddress_playerId, value) { return } } - if x.Nonce != "" { - value := protoreflect.ValueOfString(x.Nonce) - if !f(fd_MsgStructBuildComplete_nonce, value) { + if x.PrimaryAddress != "" { + value := protoreflect.ValueOfString(x.PrimaryAddress) + if !f(fd_MsgPlayerUpdatePrimaryAddress_primaryAddress, value) { return } } @@ -28132,21 +27821,19 @@ func (x *fastReflection_MsgStructBuildComplete) Range(f func(protoreflect.FieldD // 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_MsgStructBuildComplete) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_MsgPlayerUpdatePrimaryAddress) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.MsgStructBuildComplete.creator": + case "structs.structs.MsgPlayerUpdatePrimaryAddress.creator": return x.Creator != "" - case "structs.structs.MsgStructBuildComplete.structId": - return x.StructId != "" - case "structs.structs.MsgStructBuildComplete.proof": - return x.Proof != "" - case "structs.structs.MsgStructBuildComplete.nonce": - return x.Nonce != "" + case "structs.structs.MsgPlayerUpdatePrimaryAddress.playerId": + return x.PlayerId != "" + case "structs.structs.MsgPlayerUpdatePrimaryAddress.primaryAddress": + return x.PrimaryAddress != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructBuildComplete")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPlayerUpdatePrimaryAddress")) } - panic(fmt.Errorf("message structs.structs.MsgStructBuildComplete does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgPlayerUpdatePrimaryAddress does not contain field %s", fd.FullName())) } } @@ -28156,21 +27843,19 @@ func (x *fastReflection_MsgStructBuildComplete) Has(fd protoreflect.FieldDescrip // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgStructBuildComplete) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_MsgPlayerUpdatePrimaryAddress) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.MsgStructBuildComplete.creator": + case "structs.structs.MsgPlayerUpdatePrimaryAddress.creator": x.Creator = "" - case "structs.structs.MsgStructBuildComplete.structId": - x.StructId = "" - case "structs.structs.MsgStructBuildComplete.proof": - x.Proof = "" - case "structs.structs.MsgStructBuildComplete.nonce": - x.Nonce = "" + case "structs.structs.MsgPlayerUpdatePrimaryAddress.playerId": + x.PlayerId = "" + case "structs.structs.MsgPlayerUpdatePrimaryAddress.primaryAddress": + x.PrimaryAddress = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructBuildComplete")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPlayerUpdatePrimaryAddress")) } - panic(fmt.Errorf("message structs.structs.MsgStructBuildComplete does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgPlayerUpdatePrimaryAddress does not contain field %s", fd.FullName())) } } @@ -28180,25 +27865,22 @@ func (x *fastReflection_MsgStructBuildComplete) Clear(fd protoreflect.FieldDescr // 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_MsgStructBuildComplete) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgPlayerUpdatePrimaryAddress) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.MsgStructBuildComplete.creator": + case "structs.structs.MsgPlayerUpdatePrimaryAddress.creator": value := x.Creator return protoreflect.ValueOfString(value) - case "structs.structs.MsgStructBuildComplete.structId": - value := x.StructId - return protoreflect.ValueOfString(value) - case "structs.structs.MsgStructBuildComplete.proof": - value := x.Proof + case "structs.structs.MsgPlayerUpdatePrimaryAddress.playerId": + value := x.PlayerId return protoreflect.ValueOfString(value) - case "structs.structs.MsgStructBuildComplete.nonce": - value := x.Nonce + case "structs.structs.MsgPlayerUpdatePrimaryAddress.primaryAddress": + value := x.PrimaryAddress return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructBuildComplete")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPlayerUpdatePrimaryAddress")) } - panic(fmt.Errorf("message structs.structs.MsgStructBuildComplete does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.MsgPlayerUpdatePrimaryAddress does not contain field %s", descriptor.FullName())) } } @@ -28212,21 +27894,19 @@ func (x *fastReflection_MsgStructBuildComplete) Get(descriptor protoreflect.Fiel // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgStructBuildComplete) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_MsgPlayerUpdatePrimaryAddress) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.MsgStructBuildComplete.creator": + case "structs.structs.MsgPlayerUpdatePrimaryAddress.creator": x.Creator = value.Interface().(string) - case "structs.structs.MsgStructBuildComplete.structId": - x.StructId = value.Interface().(string) - case "structs.structs.MsgStructBuildComplete.proof": - x.Proof = value.Interface().(string) - case "structs.structs.MsgStructBuildComplete.nonce": - x.Nonce = value.Interface().(string) + case "structs.structs.MsgPlayerUpdatePrimaryAddress.playerId": + x.PlayerId = value.Interface().(string) + case "structs.structs.MsgPlayerUpdatePrimaryAddress.primaryAddress": + x.PrimaryAddress = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructBuildComplete")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPlayerUpdatePrimaryAddress")) } - panic(fmt.Errorf("message structs.structs.MsgStructBuildComplete does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgPlayerUpdatePrimaryAddress does not contain field %s", fd.FullName())) } } @@ -28240,52 +27920,48 @@ func (x *fastReflection_MsgStructBuildComplete) Set(fd protoreflect.FieldDescrip // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgStructBuildComplete) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgPlayerUpdatePrimaryAddress) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.MsgStructBuildComplete.creator": - panic(fmt.Errorf("field creator of message structs.structs.MsgStructBuildComplete is not mutable")) - case "structs.structs.MsgStructBuildComplete.structId": - panic(fmt.Errorf("field structId of message structs.structs.MsgStructBuildComplete is not mutable")) - case "structs.structs.MsgStructBuildComplete.proof": - panic(fmt.Errorf("field proof of message structs.structs.MsgStructBuildComplete is not mutable")) - case "structs.structs.MsgStructBuildComplete.nonce": - panic(fmt.Errorf("field nonce of message structs.structs.MsgStructBuildComplete is not mutable")) + case "structs.structs.MsgPlayerUpdatePrimaryAddress.creator": + panic(fmt.Errorf("field creator of message structs.structs.MsgPlayerUpdatePrimaryAddress is not mutable")) + case "structs.structs.MsgPlayerUpdatePrimaryAddress.playerId": + panic(fmt.Errorf("field playerId of message structs.structs.MsgPlayerUpdatePrimaryAddress is not mutable")) + case "structs.structs.MsgPlayerUpdatePrimaryAddress.primaryAddress": + panic(fmt.Errorf("field primaryAddress of message structs.structs.MsgPlayerUpdatePrimaryAddress is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructBuildComplete")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPlayerUpdatePrimaryAddress")) } - panic(fmt.Errorf("message structs.structs.MsgStructBuildComplete does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgPlayerUpdatePrimaryAddress 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_MsgStructBuildComplete) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgPlayerUpdatePrimaryAddress) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.MsgStructBuildComplete.creator": - return protoreflect.ValueOfString("") - case "structs.structs.MsgStructBuildComplete.structId": + case "structs.structs.MsgPlayerUpdatePrimaryAddress.creator": return protoreflect.ValueOfString("") - case "structs.structs.MsgStructBuildComplete.proof": + case "structs.structs.MsgPlayerUpdatePrimaryAddress.playerId": return protoreflect.ValueOfString("") - case "structs.structs.MsgStructBuildComplete.nonce": + case "structs.structs.MsgPlayerUpdatePrimaryAddress.primaryAddress": return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructBuildComplete")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPlayerUpdatePrimaryAddress")) } - panic(fmt.Errorf("message structs.structs.MsgStructBuildComplete does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgPlayerUpdatePrimaryAddress 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_MsgStructBuildComplete) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_MsgPlayerUpdatePrimaryAddress) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgStructBuildComplete", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgPlayerUpdatePrimaryAddress", d.FullName())) } panic("unreachable") } @@ -28293,7 +27969,7 @@ func (x *fastReflection_MsgStructBuildComplete) WhichOneof(d protoreflect.OneofD // 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_MsgStructBuildComplete) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_MsgPlayerUpdatePrimaryAddress) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -28304,7 +27980,7 @@ func (x *fastReflection_MsgStructBuildComplete) GetUnknown() protoreflect.RawFie // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgStructBuildComplete) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_MsgPlayerUpdatePrimaryAddress) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -28316,7 +27992,7 @@ func (x *fastReflection_MsgStructBuildComplete) SetUnknown(fields protoreflect.R // 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_MsgStructBuildComplete) IsValid() bool { +func (x *fastReflection_MsgPlayerUpdatePrimaryAddress) IsValid() bool { return x != nil } @@ -28326,9 +28002,9 @@ func (x *fastReflection_MsgStructBuildComplete) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_MsgStructBuildComplete) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_MsgPlayerUpdatePrimaryAddress) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*MsgStructBuildComplete) + x := input.Message.Interface().(*MsgPlayerUpdatePrimaryAddress) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -28344,15 +28020,11 @@ func (x *fastReflection_MsgStructBuildComplete) ProtoMethods() *protoiface.Metho if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } - l = len(x.StructId) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } - l = len(x.Proof) + l = len(x.PlayerId) if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } - l = len(x.Nonce) + l = len(x.PrimaryAddress) if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } @@ -28366,7 +28038,7 @@ func (x *fastReflection_MsgStructBuildComplete) ProtoMethods() *protoiface.Metho } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*MsgStructBuildComplete) + x := input.Message.Interface().(*MsgPlayerUpdatePrimaryAddress) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -28385,24 +28057,17 @@ func (x *fastReflection_MsgStructBuildComplete) ProtoMethods() *protoiface.Metho i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if len(x.Nonce) > 0 { - i -= len(x.Nonce) - copy(dAtA[i:], x.Nonce) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Nonce))) - i-- - dAtA[i] = 0x22 - } - if len(x.Proof) > 0 { - i -= len(x.Proof) - copy(dAtA[i:], x.Proof) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Proof))) + if len(x.PrimaryAddress) > 0 { + i -= len(x.PrimaryAddress) + copy(dAtA[i:], x.PrimaryAddress) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.PrimaryAddress))) i-- dAtA[i] = 0x1a } - if len(x.StructId) > 0 { - i -= len(x.StructId) - copy(dAtA[i:], x.StructId) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.StructId))) + if len(x.PlayerId) > 0 { + i -= len(x.PlayerId) + copy(dAtA[i:], x.PlayerId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.PlayerId))) i-- dAtA[i] = 0x12 } @@ -28424,7 +28089,7 @@ func (x *fastReflection_MsgStructBuildComplete) ProtoMethods() *protoiface.Metho }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*MsgStructBuildComplete) + x := input.Message.Interface().(*MsgPlayerUpdatePrimaryAddress) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -28456,10 +28121,10 @@ func (x *fastReflection_MsgStructBuildComplete) ProtoMethods() *protoiface.Metho fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgStructBuildComplete: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgPlayerUpdatePrimaryAddress: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgStructBuildComplete: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgPlayerUpdatePrimaryAddress: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -28496,7 +28161,7 @@ func (x *fastReflection_MsgStructBuildComplete) ProtoMethods() *protoiface.Metho iNdEx = postIndex case 2: if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field StructId", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field PlayerId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -28524,43 +28189,11 @@ func (x *fastReflection_MsgStructBuildComplete) ProtoMethods() *protoiface.Metho if postIndex > l { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - x.StructId = string(dAtA[iNdEx:postIndex]) + x.PlayerId = 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 Proof", 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.Proof = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Nonce", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field PrimaryAddress", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -28588,7 +28221,7 @@ func (x *fastReflection_MsgStructBuildComplete) ProtoMethods() *protoiface.Metho if postIndex > l { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - x.Nonce = string(dAtA[iNdEx:postIndex]) + x.PrimaryAddress = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -28626,37 +28259,23 @@ func (x *fastReflection_MsgStructBuildComplete) ProtoMethods() *protoiface.Metho } var ( - md_MsgStructBuildCompleteAndStash protoreflect.MessageDescriptor - fd_MsgStructBuildCompleteAndStash_creator protoreflect.FieldDescriptor - fd_MsgStructBuildCompleteAndStash_structId protoreflect.FieldDescriptor - fd_MsgStructBuildCompleteAndStash_proof protoreflect.FieldDescriptor - fd_MsgStructBuildCompleteAndStash_nonce protoreflect.FieldDescriptor - fd_MsgStructBuildCompleteAndStash_storageDestinationId protoreflect.FieldDescriptor - fd_MsgStructBuildCompleteAndStash_storageAmbit protoreflect.FieldDescriptor - fd_MsgStructBuildCompleteAndStash_storageSlot protoreflect.FieldDescriptor + md_MsgPlayerUpdatePrimaryAddressResponse protoreflect.MessageDescriptor ) func init() { file_structs_structs_tx_proto_init() - md_MsgStructBuildCompleteAndStash = File_structs_structs_tx_proto.Messages().ByName("MsgStructBuildCompleteAndStash") - fd_MsgStructBuildCompleteAndStash_creator = md_MsgStructBuildCompleteAndStash.Fields().ByName("creator") - fd_MsgStructBuildCompleteAndStash_structId = md_MsgStructBuildCompleteAndStash.Fields().ByName("structId") - fd_MsgStructBuildCompleteAndStash_proof = md_MsgStructBuildCompleteAndStash.Fields().ByName("proof") - fd_MsgStructBuildCompleteAndStash_nonce = md_MsgStructBuildCompleteAndStash.Fields().ByName("nonce") - fd_MsgStructBuildCompleteAndStash_storageDestinationId = md_MsgStructBuildCompleteAndStash.Fields().ByName("storageDestinationId") - fd_MsgStructBuildCompleteAndStash_storageAmbit = md_MsgStructBuildCompleteAndStash.Fields().ByName("storageAmbit") - fd_MsgStructBuildCompleteAndStash_storageSlot = md_MsgStructBuildCompleteAndStash.Fields().ByName("storageSlot") + md_MsgPlayerUpdatePrimaryAddressResponse = File_structs_structs_tx_proto.Messages().ByName("MsgPlayerUpdatePrimaryAddressResponse") } -var _ protoreflect.Message = (*fastReflection_MsgStructBuildCompleteAndStash)(nil) +var _ protoreflect.Message = (*fastReflection_MsgPlayerUpdatePrimaryAddressResponse)(nil) -type fastReflection_MsgStructBuildCompleteAndStash MsgStructBuildCompleteAndStash +type fastReflection_MsgPlayerUpdatePrimaryAddressResponse MsgPlayerUpdatePrimaryAddressResponse -func (x *MsgStructBuildCompleteAndStash) ProtoReflect() protoreflect.Message { - return (*fastReflection_MsgStructBuildCompleteAndStash)(x) +func (x *MsgPlayerUpdatePrimaryAddressResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgPlayerUpdatePrimaryAddressResponse)(x) } -func (x *MsgStructBuildCompleteAndStash) slowProtoReflect() protoreflect.Message { +func (x *MsgPlayerUpdatePrimaryAddressResponse) slowProtoReflect() protoreflect.Message { mi := &file_structs_structs_tx_proto_msgTypes[55] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -28668,43 +28287,43 @@ func (x *MsgStructBuildCompleteAndStash) slowProtoReflect() protoreflect.Message return mi.MessageOf(x) } -var _fastReflection_MsgStructBuildCompleteAndStash_messageType fastReflection_MsgStructBuildCompleteAndStash_messageType -var _ protoreflect.MessageType = fastReflection_MsgStructBuildCompleteAndStash_messageType{} +var _fastReflection_MsgPlayerUpdatePrimaryAddressResponse_messageType fastReflection_MsgPlayerUpdatePrimaryAddressResponse_messageType +var _ protoreflect.MessageType = fastReflection_MsgPlayerUpdatePrimaryAddressResponse_messageType{} -type fastReflection_MsgStructBuildCompleteAndStash_messageType struct{} +type fastReflection_MsgPlayerUpdatePrimaryAddressResponse_messageType struct{} -func (x fastReflection_MsgStructBuildCompleteAndStash_messageType) Zero() protoreflect.Message { - return (*fastReflection_MsgStructBuildCompleteAndStash)(nil) +func (x fastReflection_MsgPlayerUpdatePrimaryAddressResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgPlayerUpdatePrimaryAddressResponse)(nil) } -func (x fastReflection_MsgStructBuildCompleteAndStash_messageType) New() protoreflect.Message { - return new(fastReflection_MsgStructBuildCompleteAndStash) +func (x fastReflection_MsgPlayerUpdatePrimaryAddressResponse_messageType) New() protoreflect.Message { + return new(fastReflection_MsgPlayerUpdatePrimaryAddressResponse) } -func (x fastReflection_MsgStructBuildCompleteAndStash_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_MsgStructBuildCompleteAndStash +func (x fastReflection_MsgPlayerUpdatePrimaryAddressResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgPlayerUpdatePrimaryAddressResponse } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_MsgStructBuildCompleteAndStash) Descriptor() protoreflect.MessageDescriptor { - return md_MsgStructBuildCompleteAndStash +func (x *fastReflection_MsgPlayerUpdatePrimaryAddressResponse) Descriptor() protoreflect.MessageDescriptor { + return md_MsgPlayerUpdatePrimaryAddressResponse } // 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_MsgStructBuildCompleteAndStash) Type() protoreflect.MessageType { - return _fastReflection_MsgStructBuildCompleteAndStash_messageType +func (x *fastReflection_MsgPlayerUpdatePrimaryAddressResponse) Type() protoreflect.MessageType { + return _fastReflection_MsgPlayerUpdatePrimaryAddressResponse_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_MsgStructBuildCompleteAndStash) New() protoreflect.Message { - return new(fastReflection_MsgStructBuildCompleteAndStash) +func (x *fastReflection_MsgPlayerUpdatePrimaryAddressResponse) New() protoreflect.Message { + return new(fastReflection_MsgPlayerUpdatePrimaryAddressResponse) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_MsgStructBuildCompleteAndStash) Interface() protoreflect.ProtoMessage { - return (*MsgStructBuildCompleteAndStash)(x) +func (x *fastReflection_MsgPlayerUpdatePrimaryAddressResponse) Interface() protoreflect.ProtoMessage { + return (*MsgPlayerUpdatePrimaryAddressResponse)(x) } // Range iterates over every populated field in an undefined order, @@ -28712,49 +28331,7 @@ func (x *fastReflection_MsgStructBuildCompleteAndStash) Interface() protoreflect // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_MsgStructBuildCompleteAndStash) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.Creator != "" { - value := protoreflect.ValueOfString(x.Creator) - if !f(fd_MsgStructBuildCompleteAndStash_creator, value) { - return - } - } - if x.StructId != "" { - value := protoreflect.ValueOfString(x.StructId) - if !f(fd_MsgStructBuildCompleteAndStash_structId, value) { - return - } - } - if x.Proof != "" { - value := protoreflect.ValueOfString(x.Proof) - if !f(fd_MsgStructBuildCompleteAndStash_proof, value) { - return - } - } - if x.Nonce != "" { - value := protoreflect.ValueOfString(x.Nonce) - if !f(fd_MsgStructBuildCompleteAndStash_nonce, value) { - return - } - } - if x.StorageDestinationId != "" { - value := protoreflect.ValueOfString(x.StorageDestinationId) - if !f(fd_MsgStructBuildCompleteAndStash_storageDestinationId, value) { - return - } - } - if x.StorageAmbit != 0 { - value := protoreflect.ValueOfEnum((protoreflect.EnumNumber)(x.StorageAmbit)) - if !f(fd_MsgStructBuildCompleteAndStash_storageAmbit, value) { - return - } - } - if x.StorageSlot != uint64(0) { - value := protoreflect.ValueOfUint64(x.StorageSlot) - if !f(fd_MsgStructBuildCompleteAndStash_storageSlot, value) { - return - } - } +func (x *fastReflection_MsgPlayerUpdatePrimaryAddressResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { } // Has reports whether a field is populated. @@ -28768,27 +28345,13 @@ func (x *fastReflection_MsgStructBuildCompleteAndStash) Range(f func(protoreflec // 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_MsgStructBuildCompleteAndStash) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_MsgPlayerUpdatePrimaryAddressResponse) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.MsgStructBuildCompleteAndStash.creator": - return x.Creator != "" - case "structs.structs.MsgStructBuildCompleteAndStash.structId": - return x.StructId != "" - case "structs.structs.MsgStructBuildCompleteAndStash.proof": - return x.Proof != "" - case "structs.structs.MsgStructBuildCompleteAndStash.nonce": - return x.Nonce != "" - case "structs.structs.MsgStructBuildCompleteAndStash.storageDestinationId": - return x.StorageDestinationId != "" - case "structs.structs.MsgStructBuildCompleteAndStash.storageAmbit": - return x.StorageAmbit != 0 - case "structs.structs.MsgStructBuildCompleteAndStash.storageSlot": - return x.StorageSlot != uint64(0) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructBuildCompleteAndStash")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPlayerUpdatePrimaryAddressResponse")) } - panic(fmt.Errorf("message structs.structs.MsgStructBuildCompleteAndStash does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgPlayerUpdatePrimaryAddressResponse does not contain field %s", fd.FullName())) } } @@ -28798,27 +28361,13 @@ func (x *fastReflection_MsgStructBuildCompleteAndStash) Has(fd protoreflect.Fiel // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgStructBuildCompleteAndStash) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_MsgPlayerUpdatePrimaryAddressResponse) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.MsgStructBuildCompleteAndStash.creator": - x.Creator = "" - case "structs.structs.MsgStructBuildCompleteAndStash.structId": - x.StructId = "" - case "structs.structs.MsgStructBuildCompleteAndStash.proof": - x.Proof = "" - case "structs.structs.MsgStructBuildCompleteAndStash.nonce": - x.Nonce = "" - case "structs.structs.MsgStructBuildCompleteAndStash.storageDestinationId": - x.StorageDestinationId = "" - case "structs.structs.MsgStructBuildCompleteAndStash.storageAmbit": - x.StorageAmbit = 0 - case "structs.structs.MsgStructBuildCompleteAndStash.storageSlot": - x.StorageSlot = uint64(0) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructBuildCompleteAndStash")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPlayerUpdatePrimaryAddressResponse")) } - panic(fmt.Errorf("message structs.structs.MsgStructBuildCompleteAndStash does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgPlayerUpdatePrimaryAddressResponse does not contain field %s", fd.FullName())) } } @@ -28828,34 +28377,13 @@ func (x *fastReflection_MsgStructBuildCompleteAndStash) Clear(fd protoreflect.Fi // 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_MsgStructBuildCompleteAndStash) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgPlayerUpdatePrimaryAddressResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.MsgStructBuildCompleteAndStash.creator": - value := x.Creator - return protoreflect.ValueOfString(value) - case "structs.structs.MsgStructBuildCompleteAndStash.structId": - value := x.StructId - return protoreflect.ValueOfString(value) - case "structs.structs.MsgStructBuildCompleteAndStash.proof": - value := x.Proof - return protoreflect.ValueOfString(value) - case "structs.structs.MsgStructBuildCompleteAndStash.nonce": - value := x.Nonce - return protoreflect.ValueOfString(value) - case "structs.structs.MsgStructBuildCompleteAndStash.storageDestinationId": - value := x.StorageDestinationId - return protoreflect.ValueOfString(value) - case "structs.structs.MsgStructBuildCompleteAndStash.storageAmbit": - value := x.StorageAmbit - return protoreflect.ValueOfEnum((protoreflect.EnumNumber)(value)) - case "structs.structs.MsgStructBuildCompleteAndStash.storageSlot": - value := x.StorageSlot - return protoreflect.ValueOfUint64(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructBuildCompleteAndStash")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPlayerUpdatePrimaryAddressResponse")) } - panic(fmt.Errorf("message structs.structs.MsgStructBuildCompleteAndStash does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.MsgPlayerUpdatePrimaryAddressResponse does not contain field %s", descriptor.FullName())) } } @@ -28869,27 +28397,13 @@ func (x *fastReflection_MsgStructBuildCompleteAndStash) Get(descriptor protorefl // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgStructBuildCompleteAndStash) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_MsgPlayerUpdatePrimaryAddressResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.MsgStructBuildCompleteAndStash.creator": - x.Creator = value.Interface().(string) - case "structs.structs.MsgStructBuildCompleteAndStash.structId": - x.StructId = value.Interface().(string) - case "structs.structs.MsgStructBuildCompleteAndStash.proof": - x.Proof = value.Interface().(string) - case "structs.structs.MsgStructBuildCompleteAndStash.nonce": - x.Nonce = value.Interface().(string) - case "structs.structs.MsgStructBuildCompleteAndStash.storageDestinationId": - x.StorageDestinationId = value.Interface().(string) - case "structs.structs.MsgStructBuildCompleteAndStash.storageAmbit": - x.StorageAmbit = (Ambit)(value.Enum()) - case "structs.structs.MsgStructBuildCompleteAndStash.storageSlot": - x.StorageSlot = value.Uint() default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructBuildCompleteAndStash")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPlayerUpdatePrimaryAddressResponse")) } - panic(fmt.Errorf("message structs.structs.MsgStructBuildCompleteAndStash does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgPlayerUpdatePrimaryAddressResponse does not contain field %s", fd.FullName())) } } @@ -28903,64 +28417,36 @@ func (x *fastReflection_MsgStructBuildCompleteAndStash) Set(fd protoreflect.Fiel // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgStructBuildCompleteAndStash) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgPlayerUpdatePrimaryAddressResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.MsgStructBuildCompleteAndStash.creator": - panic(fmt.Errorf("field creator of message structs.structs.MsgStructBuildCompleteAndStash is not mutable")) - case "structs.structs.MsgStructBuildCompleteAndStash.structId": - panic(fmt.Errorf("field structId of message structs.structs.MsgStructBuildCompleteAndStash is not mutable")) - case "structs.structs.MsgStructBuildCompleteAndStash.proof": - panic(fmt.Errorf("field proof of message structs.structs.MsgStructBuildCompleteAndStash is not mutable")) - case "structs.structs.MsgStructBuildCompleteAndStash.nonce": - panic(fmt.Errorf("field nonce of message structs.structs.MsgStructBuildCompleteAndStash is not mutable")) - case "structs.structs.MsgStructBuildCompleteAndStash.storageDestinationId": - panic(fmt.Errorf("field storageDestinationId of message structs.structs.MsgStructBuildCompleteAndStash is not mutable")) - case "structs.structs.MsgStructBuildCompleteAndStash.storageAmbit": - panic(fmt.Errorf("field storageAmbit of message structs.structs.MsgStructBuildCompleteAndStash is not mutable")) - case "structs.structs.MsgStructBuildCompleteAndStash.storageSlot": - panic(fmt.Errorf("field storageSlot of message structs.structs.MsgStructBuildCompleteAndStash is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructBuildCompleteAndStash")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPlayerUpdatePrimaryAddressResponse")) } - panic(fmt.Errorf("message structs.structs.MsgStructBuildCompleteAndStash does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgPlayerUpdatePrimaryAddressResponse 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_MsgStructBuildCompleteAndStash) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgPlayerUpdatePrimaryAddressResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.MsgStructBuildCompleteAndStash.creator": - return protoreflect.ValueOfString("") - case "structs.structs.MsgStructBuildCompleteAndStash.structId": - return protoreflect.ValueOfString("") - case "structs.structs.MsgStructBuildCompleteAndStash.proof": - return protoreflect.ValueOfString("") - case "structs.structs.MsgStructBuildCompleteAndStash.nonce": - return protoreflect.ValueOfString("") - case "structs.structs.MsgStructBuildCompleteAndStash.storageDestinationId": - return protoreflect.ValueOfString("") - case "structs.structs.MsgStructBuildCompleteAndStash.storageAmbit": - return protoreflect.ValueOfEnum(0) - case "structs.structs.MsgStructBuildCompleteAndStash.storageSlot": - return protoreflect.ValueOfUint64(uint64(0)) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructBuildCompleteAndStash")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPlayerUpdatePrimaryAddressResponse")) } - panic(fmt.Errorf("message structs.structs.MsgStructBuildCompleteAndStash does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgPlayerUpdatePrimaryAddressResponse 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_MsgStructBuildCompleteAndStash) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_MsgPlayerUpdatePrimaryAddressResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgStructBuildCompleteAndStash", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgPlayerUpdatePrimaryAddressResponse", d.FullName())) } panic("unreachable") } @@ -28968,7 +28454,7 @@ func (x *fastReflection_MsgStructBuildCompleteAndStash) WhichOneof(d protoreflec // 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_MsgStructBuildCompleteAndStash) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_MsgPlayerUpdatePrimaryAddressResponse) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -28979,7 +28465,7 @@ func (x *fastReflection_MsgStructBuildCompleteAndStash) GetUnknown() protoreflec // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgStructBuildCompleteAndStash) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_MsgPlayerUpdatePrimaryAddressResponse) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -28991,7 +28477,7 @@ func (x *fastReflection_MsgStructBuildCompleteAndStash) SetUnknown(fields protor // 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_MsgStructBuildCompleteAndStash) IsValid() bool { +func (x *fastReflection_MsgPlayerUpdatePrimaryAddressResponse) IsValid() bool { return x != nil } @@ -29001,9 +28487,9 @@ func (x *fastReflection_MsgStructBuildCompleteAndStash) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_MsgStructBuildCompleteAndStash) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_MsgPlayerUpdatePrimaryAddressResponse) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*MsgStructBuildCompleteAndStash) + x := input.Message.Interface().(*MsgPlayerUpdatePrimaryAddressResponse) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -29015,32 +28501,6 @@ func (x *fastReflection_MsgStructBuildCompleteAndStash) ProtoMethods() *protoifa var n int var l int _ = l - l = len(x.Creator) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } - l = len(x.StructId) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } - l = len(x.Proof) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } - l = len(x.Nonce) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } - l = len(x.StorageDestinationId) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } - if x.StorageAmbit != 0 { - n += 1 + runtime.Sov(uint64(x.StorageAmbit)) - } - if x.StorageSlot != 0 { - n += 1 + runtime.Sov(uint64(x.StorageSlot)) - } if x.unknownFields != nil { n += len(x.unknownFields) } @@ -29051,7 +28511,7 @@ func (x *fastReflection_MsgStructBuildCompleteAndStash) ProtoMethods() *protoifa } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*MsgStructBuildCompleteAndStash) + x := input.Message.Interface().(*MsgPlayerUpdatePrimaryAddressResponse) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -29070,51 +28530,6 @@ func (x *fastReflection_MsgStructBuildCompleteAndStash) ProtoMethods() *protoifa i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if x.StorageSlot != 0 { - i = runtime.EncodeVarint(dAtA, i, uint64(x.StorageSlot)) - i-- - dAtA[i] = 0x38 - } - if x.StorageAmbit != 0 { - i = runtime.EncodeVarint(dAtA, i, uint64(x.StorageAmbit)) - i-- - dAtA[i] = 0x30 - } - if len(x.StorageDestinationId) > 0 { - i -= len(x.StorageDestinationId) - copy(dAtA[i:], x.StorageDestinationId) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.StorageDestinationId))) - i-- - dAtA[i] = 0x2a - } - if len(x.Nonce) > 0 { - i -= len(x.Nonce) - copy(dAtA[i:], x.Nonce) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Nonce))) - i-- - dAtA[i] = 0x22 - } - if len(x.Proof) > 0 { - i -= len(x.Proof) - copy(dAtA[i:], x.Proof) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Proof))) - i-- - dAtA[i] = 0x1a - } - if len(x.StructId) > 0 { - i -= len(x.StructId) - copy(dAtA[i:], x.StructId) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.StructId))) - i-- - dAtA[i] = 0x12 - } - if len(x.Creator) > 0 { - i -= len(x.Creator) - copy(dAtA[i:], x.Creator) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Creator))) - i-- - dAtA[i] = 0xa - } if input.Buf != nil { input.Buf = append(input.Buf, dAtA...) } else { @@ -29126,7 +28541,7 @@ func (x *fastReflection_MsgStructBuildCompleteAndStash) ProtoMethods() *protoifa }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*MsgStructBuildCompleteAndStash) + x := input.Message.Interface().(*MsgPlayerUpdatePrimaryAddressResponse) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -29158,210 +28573,12 @@ func (x *fastReflection_MsgStructBuildCompleteAndStash) ProtoMethods() *protoifa fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgStructBuildCompleteAndStash: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgPlayerUpdatePrimaryAddressResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgStructBuildCompleteAndStash: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgPlayerUpdatePrimaryAddressResponse: 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 Creator", 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.Creator = 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 StructId", 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.StructId = 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 Proof", 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.Proof = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Nonce", 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.Nonce = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 5: - if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field StorageDestinationId", 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.StorageDestinationId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 6: - if wireType != 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field StorageAmbit", wireType) - } - x.StorageAmbit = 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.StorageAmbit |= Ambit(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 7: - if wireType != 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field StorageSlot", wireType) - } - x.StorageSlot = 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.StorageSlot |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } default: iNdEx = preIndex skippy, err := runtime.Skip(dAtA[iNdEx:]) @@ -29398,29 +28615,27 @@ func (x *fastReflection_MsgStructBuildCompleteAndStash) ProtoMethods() *protoifa } var ( - md_MsgStructDefenseSet protoreflect.MessageDescriptor - fd_MsgStructDefenseSet_creator protoreflect.FieldDescriptor - fd_MsgStructDefenseSet_defenderStructId protoreflect.FieldDescriptor - fd_MsgStructDefenseSet_protectedStructId protoreflect.FieldDescriptor + md_MsgPlayerResume protoreflect.MessageDescriptor + fd_MsgPlayerResume_creator protoreflect.FieldDescriptor + fd_MsgPlayerResume_playerId protoreflect.FieldDescriptor ) func init() { file_structs_structs_tx_proto_init() - md_MsgStructDefenseSet = File_structs_structs_tx_proto.Messages().ByName("MsgStructDefenseSet") - fd_MsgStructDefenseSet_creator = md_MsgStructDefenseSet.Fields().ByName("creator") - fd_MsgStructDefenseSet_defenderStructId = md_MsgStructDefenseSet.Fields().ByName("defenderStructId") - fd_MsgStructDefenseSet_protectedStructId = md_MsgStructDefenseSet.Fields().ByName("protectedStructId") + md_MsgPlayerResume = File_structs_structs_tx_proto.Messages().ByName("MsgPlayerResume") + fd_MsgPlayerResume_creator = md_MsgPlayerResume.Fields().ByName("creator") + fd_MsgPlayerResume_playerId = md_MsgPlayerResume.Fields().ByName("playerId") } -var _ protoreflect.Message = (*fastReflection_MsgStructDefenseSet)(nil) +var _ protoreflect.Message = (*fastReflection_MsgPlayerResume)(nil) -type fastReflection_MsgStructDefenseSet MsgStructDefenseSet +type fastReflection_MsgPlayerResume MsgPlayerResume -func (x *MsgStructDefenseSet) ProtoReflect() protoreflect.Message { - return (*fastReflection_MsgStructDefenseSet)(x) +func (x *MsgPlayerResume) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgPlayerResume)(x) } -func (x *MsgStructDefenseSet) slowProtoReflect() protoreflect.Message { +func (x *MsgPlayerResume) slowProtoReflect() protoreflect.Message { mi := &file_structs_structs_tx_proto_msgTypes[56] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -29432,43 +28647,43 @@ func (x *MsgStructDefenseSet) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_MsgStructDefenseSet_messageType fastReflection_MsgStructDefenseSet_messageType -var _ protoreflect.MessageType = fastReflection_MsgStructDefenseSet_messageType{} +var _fastReflection_MsgPlayerResume_messageType fastReflection_MsgPlayerResume_messageType +var _ protoreflect.MessageType = fastReflection_MsgPlayerResume_messageType{} -type fastReflection_MsgStructDefenseSet_messageType struct{} +type fastReflection_MsgPlayerResume_messageType struct{} -func (x fastReflection_MsgStructDefenseSet_messageType) Zero() protoreflect.Message { - return (*fastReflection_MsgStructDefenseSet)(nil) +func (x fastReflection_MsgPlayerResume_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgPlayerResume)(nil) } -func (x fastReflection_MsgStructDefenseSet_messageType) New() protoreflect.Message { - return new(fastReflection_MsgStructDefenseSet) +func (x fastReflection_MsgPlayerResume_messageType) New() protoreflect.Message { + return new(fastReflection_MsgPlayerResume) } -func (x fastReflection_MsgStructDefenseSet_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_MsgStructDefenseSet +func (x fastReflection_MsgPlayerResume_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgPlayerResume } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_MsgStructDefenseSet) Descriptor() protoreflect.MessageDescriptor { - return md_MsgStructDefenseSet +func (x *fastReflection_MsgPlayerResume) Descriptor() protoreflect.MessageDescriptor { + return md_MsgPlayerResume } // 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_MsgStructDefenseSet) Type() protoreflect.MessageType { - return _fastReflection_MsgStructDefenseSet_messageType +func (x *fastReflection_MsgPlayerResume) Type() protoreflect.MessageType { + return _fastReflection_MsgPlayerResume_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_MsgStructDefenseSet) New() protoreflect.Message { - return new(fastReflection_MsgStructDefenseSet) +func (x *fastReflection_MsgPlayerResume) New() protoreflect.Message { + return new(fastReflection_MsgPlayerResume) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_MsgStructDefenseSet) Interface() protoreflect.ProtoMessage { - return (*MsgStructDefenseSet)(x) +func (x *fastReflection_MsgPlayerResume) Interface() protoreflect.ProtoMessage { + return (*MsgPlayerResume)(x) } // Range iterates over every populated field in an undefined order, @@ -29476,22 +28691,16 @@ func (x *fastReflection_MsgStructDefenseSet) Interface() protoreflect.ProtoMessa // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_MsgStructDefenseSet) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +func (x *fastReflection_MsgPlayerResume) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { if x.Creator != "" { value := protoreflect.ValueOfString(x.Creator) - if !f(fd_MsgStructDefenseSet_creator, value) { - return - } - } - if x.DefenderStructId != "" { - value := protoreflect.ValueOfString(x.DefenderStructId) - if !f(fd_MsgStructDefenseSet_defenderStructId, value) { + if !f(fd_MsgPlayerResume_creator, value) { return } } - if x.ProtectedStructId != "" { - value := protoreflect.ValueOfString(x.ProtectedStructId) - if !f(fd_MsgStructDefenseSet_protectedStructId, value) { + if x.PlayerId != "" { + value := protoreflect.ValueOfString(x.PlayerId) + if !f(fd_MsgPlayerResume_playerId, value) { return } } @@ -29508,19 +28717,17 @@ func (x *fastReflection_MsgStructDefenseSet) Range(f func(protoreflect.FieldDesc // 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_MsgStructDefenseSet) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_MsgPlayerResume) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.MsgStructDefenseSet.creator": + case "structs.structs.MsgPlayerResume.creator": return x.Creator != "" - case "structs.structs.MsgStructDefenseSet.defenderStructId": - return x.DefenderStructId != "" - case "structs.structs.MsgStructDefenseSet.protectedStructId": - return x.ProtectedStructId != "" + case "structs.structs.MsgPlayerResume.playerId": + return x.PlayerId != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructDefenseSet")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPlayerResume")) } - panic(fmt.Errorf("message structs.structs.MsgStructDefenseSet does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgPlayerResume does not contain field %s", fd.FullName())) } } @@ -29530,19 +28737,17 @@ func (x *fastReflection_MsgStructDefenseSet) Has(fd protoreflect.FieldDescriptor // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgStructDefenseSet) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_MsgPlayerResume) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.MsgStructDefenseSet.creator": + case "structs.structs.MsgPlayerResume.creator": x.Creator = "" - case "structs.structs.MsgStructDefenseSet.defenderStructId": - x.DefenderStructId = "" - case "structs.structs.MsgStructDefenseSet.protectedStructId": - x.ProtectedStructId = "" + case "structs.structs.MsgPlayerResume.playerId": + x.PlayerId = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructDefenseSet")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPlayerResume")) } - panic(fmt.Errorf("message structs.structs.MsgStructDefenseSet does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgPlayerResume does not contain field %s", fd.FullName())) } } @@ -29552,22 +28757,19 @@ func (x *fastReflection_MsgStructDefenseSet) Clear(fd protoreflect.FieldDescript // 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_MsgStructDefenseSet) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgPlayerResume) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.MsgStructDefenseSet.creator": + case "structs.structs.MsgPlayerResume.creator": value := x.Creator return protoreflect.ValueOfString(value) - case "structs.structs.MsgStructDefenseSet.defenderStructId": - value := x.DefenderStructId - return protoreflect.ValueOfString(value) - case "structs.structs.MsgStructDefenseSet.protectedStructId": - value := x.ProtectedStructId + case "structs.structs.MsgPlayerResume.playerId": + value := x.PlayerId return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructDefenseSet")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPlayerResume")) } - panic(fmt.Errorf("message structs.structs.MsgStructDefenseSet does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.MsgPlayerResume does not contain field %s", descriptor.FullName())) } } @@ -29581,19 +28783,17 @@ func (x *fastReflection_MsgStructDefenseSet) Get(descriptor protoreflect.FieldDe // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgStructDefenseSet) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_MsgPlayerResume) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.MsgStructDefenseSet.creator": + case "structs.structs.MsgPlayerResume.creator": x.Creator = value.Interface().(string) - case "structs.structs.MsgStructDefenseSet.defenderStructId": - x.DefenderStructId = value.Interface().(string) - case "structs.structs.MsgStructDefenseSet.protectedStructId": - x.ProtectedStructId = value.Interface().(string) + case "structs.structs.MsgPlayerResume.playerId": + x.PlayerId = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructDefenseSet")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPlayerResume")) } - panic(fmt.Errorf("message structs.structs.MsgStructDefenseSet does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgPlayerResume does not contain field %s", fd.FullName())) } } @@ -29607,48 +28807,44 @@ func (x *fastReflection_MsgStructDefenseSet) Set(fd protoreflect.FieldDescriptor // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgStructDefenseSet) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgPlayerResume) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.MsgStructDefenseSet.creator": - panic(fmt.Errorf("field creator of message structs.structs.MsgStructDefenseSet is not mutable")) - case "structs.structs.MsgStructDefenseSet.defenderStructId": - panic(fmt.Errorf("field defenderStructId of message structs.structs.MsgStructDefenseSet is not mutable")) - case "structs.structs.MsgStructDefenseSet.protectedStructId": - panic(fmt.Errorf("field protectedStructId of message structs.structs.MsgStructDefenseSet is not mutable")) + case "structs.structs.MsgPlayerResume.creator": + panic(fmt.Errorf("field creator of message structs.structs.MsgPlayerResume is not mutable")) + case "structs.structs.MsgPlayerResume.playerId": + panic(fmt.Errorf("field playerId of message structs.structs.MsgPlayerResume is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructDefenseSet")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPlayerResume")) } - panic(fmt.Errorf("message structs.structs.MsgStructDefenseSet does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgPlayerResume 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_MsgStructDefenseSet) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgPlayerResume) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.MsgStructDefenseSet.creator": + case "structs.structs.MsgPlayerResume.creator": return protoreflect.ValueOfString("") - case "structs.structs.MsgStructDefenseSet.defenderStructId": - return protoreflect.ValueOfString("") - case "structs.structs.MsgStructDefenseSet.protectedStructId": + case "structs.structs.MsgPlayerResume.playerId": return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructDefenseSet")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPlayerResume")) } - panic(fmt.Errorf("message structs.structs.MsgStructDefenseSet does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgPlayerResume 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_MsgStructDefenseSet) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_MsgPlayerResume) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgStructDefenseSet", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgPlayerResume", d.FullName())) } panic("unreachable") } @@ -29656,7 +28852,7 @@ func (x *fastReflection_MsgStructDefenseSet) WhichOneof(d protoreflect.OneofDesc // 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_MsgStructDefenseSet) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_MsgPlayerResume) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -29667,7 +28863,7 @@ func (x *fastReflection_MsgStructDefenseSet) GetUnknown() protoreflect.RawFields // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgStructDefenseSet) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_MsgPlayerResume) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -29679,7 +28875,7 @@ func (x *fastReflection_MsgStructDefenseSet) SetUnknown(fields protoreflect.RawF // 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_MsgStructDefenseSet) IsValid() bool { +func (x *fastReflection_MsgPlayerResume) IsValid() bool { return x != nil } @@ -29689,9 +28885,9 @@ func (x *fastReflection_MsgStructDefenseSet) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_MsgStructDefenseSet) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_MsgPlayerResume) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*MsgStructDefenseSet) + x := input.Message.Interface().(*MsgPlayerResume) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -29707,11 +28903,7 @@ func (x *fastReflection_MsgStructDefenseSet) ProtoMethods() *protoiface.Methods if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } - l = len(x.DefenderStructId) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } - l = len(x.ProtectedStructId) + l = len(x.PlayerId) if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } @@ -29725,7 +28917,7 @@ func (x *fastReflection_MsgStructDefenseSet) ProtoMethods() *protoiface.Methods } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*MsgStructDefenseSet) + x := input.Message.Interface().(*MsgPlayerResume) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -29744,17 +28936,10 @@ func (x *fastReflection_MsgStructDefenseSet) ProtoMethods() *protoiface.Methods i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if len(x.ProtectedStructId) > 0 { - i -= len(x.ProtectedStructId) - copy(dAtA[i:], x.ProtectedStructId) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.ProtectedStructId))) - i-- - dAtA[i] = 0x1a - } - if len(x.DefenderStructId) > 0 { - i -= len(x.DefenderStructId) - copy(dAtA[i:], x.DefenderStructId) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.DefenderStructId))) + if len(x.PlayerId) > 0 { + i -= len(x.PlayerId) + copy(dAtA[i:], x.PlayerId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.PlayerId))) i-- dAtA[i] = 0x12 } @@ -29776,7 +28961,7 @@ func (x *fastReflection_MsgStructDefenseSet) ProtoMethods() *protoiface.Methods }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*MsgStructDefenseSet) + x := input.Message.Interface().(*MsgPlayerResume) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -29808,10 +28993,10 @@ func (x *fastReflection_MsgStructDefenseSet) ProtoMethods() *protoiface.Methods fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgStructDefenseSet: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgPlayerResume: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgStructDefenseSet: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgPlayerResume: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -29848,39 +29033,7 @@ func (x *fastReflection_MsgStructDefenseSet) ProtoMethods() *protoiface.Methods iNdEx = postIndex case 2: if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field DefenderStructId", 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.DefenderStructId = 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 ProtectedStructId", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field PlayerId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -29908,7 +29061,7 @@ func (x *fastReflection_MsgStructDefenseSet) ProtoMethods() *protoiface.Methods if postIndex > l { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - x.ProtectedStructId = string(dAtA[iNdEx:postIndex]) + x.PlayerId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -29946,27 +29099,23 @@ func (x *fastReflection_MsgStructDefenseSet) ProtoMethods() *protoiface.Methods } var ( - md_MsgStructDefenseClear protoreflect.MessageDescriptor - fd_MsgStructDefenseClear_creator protoreflect.FieldDescriptor - fd_MsgStructDefenseClear_defenderStructId protoreflect.FieldDescriptor + md_MsgPlayerResumeResponse protoreflect.MessageDescriptor ) func init() { file_structs_structs_tx_proto_init() - md_MsgStructDefenseClear = File_structs_structs_tx_proto.Messages().ByName("MsgStructDefenseClear") - fd_MsgStructDefenseClear_creator = md_MsgStructDefenseClear.Fields().ByName("creator") - fd_MsgStructDefenseClear_defenderStructId = md_MsgStructDefenseClear.Fields().ByName("defenderStructId") + md_MsgPlayerResumeResponse = File_structs_structs_tx_proto.Messages().ByName("MsgPlayerResumeResponse") } -var _ protoreflect.Message = (*fastReflection_MsgStructDefenseClear)(nil) +var _ protoreflect.Message = (*fastReflection_MsgPlayerResumeResponse)(nil) -type fastReflection_MsgStructDefenseClear MsgStructDefenseClear +type fastReflection_MsgPlayerResumeResponse MsgPlayerResumeResponse -func (x *MsgStructDefenseClear) ProtoReflect() protoreflect.Message { - return (*fastReflection_MsgStructDefenseClear)(x) +func (x *MsgPlayerResumeResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgPlayerResumeResponse)(x) } -func (x *MsgStructDefenseClear) slowProtoReflect() protoreflect.Message { +func (x *MsgPlayerResumeResponse) slowProtoReflect() protoreflect.Message { mi := &file_structs_structs_tx_proto_msgTypes[57] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -29978,43 +29127,43 @@ func (x *MsgStructDefenseClear) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_MsgStructDefenseClear_messageType fastReflection_MsgStructDefenseClear_messageType -var _ protoreflect.MessageType = fastReflection_MsgStructDefenseClear_messageType{} +var _fastReflection_MsgPlayerResumeResponse_messageType fastReflection_MsgPlayerResumeResponse_messageType +var _ protoreflect.MessageType = fastReflection_MsgPlayerResumeResponse_messageType{} -type fastReflection_MsgStructDefenseClear_messageType struct{} +type fastReflection_MsgPlayerResumeResponse_messageType struct{} -func (x fastReflection_MsgStructDefenseClear_messageType) Zero() protoreflect.Message { - return (*fastReflection_MsgStructDefenseClear)(nil) +func (x fastReflection_MsgPlayerResumeResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgPlayerResumeResponse)(nil) } -func (x fastReflection_MsgStructDefenseClear_messageType) New() protoreflect.Message { - return new(fastReflection_MsgStructDefenseClear) +func (x fastReflection_MsgPlayerResumeResponse_messageType) New() protoreflect.Message { + return new(fastReflection_MsgPlayerResumeResponse) } -func (x fastReflection_MsgStructDefenseClear_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_MsgStructDefenseClear +func (x fastReflection_MsgPlayerResumeResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgPlayerResumeResponse } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_MsgStructDefenseClear) Descriptor() protoreflect.MessageDescriptor { - return md_MsgStructDefenseClear +func (x *fastReflection_MsgPlayerResumeResponse) Descriptor() protoreflect.MessageDescriptor { + return md_MsgPlayerResumeResponse } // 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_MsgStructDefenseClear) Type() protoreflect.MessageType { - return _fastReflection_MsgStructDefenseClear_messageType +func (x *fastReflection_MsgPlayerResumeResponse) Type() protoreflect.MessageType { + return _fastReflection_MsgPlayerResumeResponse_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_MsgStructDefenseClear) New() protoreflect.Message { - return new(fastReflection_MsgStructDefenseClear) +func (x *fastReflection_MsgPlayerResumeResponse) New() protoreflect.Message { + return new(fastReflection_MsgPlayerResumeResponse) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_MsgStructDefenseClear) Interface() protoreflect.ProtoMessage { - return (*MsgStructDefenseClear)(x) +func (x *fastReflection_MsgPlayerResumeResponse) Interface() protoreflect.ProtoMessage { + return (*MsgPlayerResumeResponse)(x) } // Range iterates over every populated field in an undefined order, @@ -30022,19 +29171,7 @@ func (x *fastReflection_MsgStructDefenseClear) Interface() protoreflect.ProtoMes // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_MsgStructDefenseClear) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.Creator != "" { - value := protoreflect.ValueOfString(x.Creator) - if !f(fd_MsgStructDefenseClear_creator, value) { - return - } - } - if x.DefenderStructId != "" { - value := protoreflect.ValueOfString(x.DefenderStructId) - if !f(fd_MsgStructDefenseClear_defenderStructId, value) { - return - } - } +func (x *fastReflection_MsgPlayerResumeResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { } // Has reports whether a field is populated. @@ -30048,17 +29185,13 @@ func (x *fastReflection_MsgStructDefenseClear) Range(f func(protoreflect.FieldDe // 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_MsgStructDefenseClear) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_MsgPlayerResumeResponse) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.MsgStructDefenseClear.creator": - return x.Creator != "" - case "structs.structs.MsgStructDefenseClear.defenderStructId": - return x.DefenderStructId != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructDefenseClear")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPlayerResumeResponse")) } - panic(fmt.Errorf("message structs.structs.MsgStructDefenseClear does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgPlayerResumeResponse does not contain field %s", fd.FullName())) } } @@ -30068,17 +29201,13 @@ func (x *fastReflection_MsgStructDefenseClear) Has(fd protoreflect.FieldDescript // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgStructDefenseClear) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_MsgPlayerResumeResponse) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.MsgStructDefenseClear.creator": - x.Creator = "" - case "structs.structs.MsgStructDefenseClear.defenderStructId": - x.DefenderStructId = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructDefenseClear")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPlayerResumeResponse")) } - panic(fmt.Errorf("message structs.structs.MsgStructDefenseClear does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgPlayerResumeResponse does not contain field %s", fd.FullName())) } } @@ -30088,19 +29217,13 @@ func (x *fastReflection_MsgStructDefenseClear) Clear(fd protoreflect.FieldDescri // 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_MsgStructDefenseClear) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgPlayerResumeResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.MsgStructDefenseClear.creator": - value := x.Creator - return protoreflect.ValueOfString(value) - case "structs.structs.MsgStructDefenseClear.defenderStructId": - value := x.DefenderStructId - return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructDefenseClear")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPlayerResumeResponse")) } - panic(fmt.Errorf("message structs.structs.MsgStructDefenseClear does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.MsgPlayerResumeResponse does not contain field %s", descriptor.FullName())) } } @@ -30114,17 +29237,13 @@ func (x *fastReflection_MsgStructDefenseClear) Get(descriptor protoreflect.Field // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgStructDefenseClear) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_MsgPlayerResumeResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.MsgStructDefenseClear.creator": - x.Creator = value.Interface().(string) - case "structs.structs.MsgStructDefenseClear.defenderStructId": - x.DefenderStructId = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructDefenseClear")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPlayerResumeResponse")) } - panic(fmt.Errorf("message structs.structs.MsgStructDefenseClear does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgPlayerResumeResponse does not contain field %s", fd.FullName())) } } @@ -30138,44 +29257,36 @@ func (x *fastReflection_MsgStructDefenseClear) Set(fd protoreflect.FieldDescript // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgStructDefenseClear) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgPlayerResumeResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.MsgStructDefenseClear.creator": - panic(fmt.Errorf("field creator of message structs.structs.MsgStructDefenseClear is not mutable")) - case "structs.structs.MsgStructDefenseClear.defenderStructId": - panic(fmt.Errorf("field defenderStructId of message structs.structs.MsgStructDefenseClear is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructDefenseClear")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPlayerResumeResponse")) } - panic(fmt.Errorf("message structs.structs.MsgStructDefenseClear does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgPlayerResumeResponse 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_MsgStructDefenseClear) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgPlayerResumeResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.MsgStructDefenseClear.creator": - return protoreflect.ValueOfString("") - case "structs.structs.MsgStructDefenseClear.defenderStructId": - return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructDefenseClear")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgPlayerResumeResponse")) } - panic(fmt.Errorf("message structs.structs.MsgStructDefenseClear does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgPlayerResumeResponse 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_MsgStructDefenseClear) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_MsgPlayerResumeResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgStructDefenseClear", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgPlayerResumeResponse", d.FullName())) } panic("unreachable") } @@ -30183,7 +29294,7 @@ func (x *fastReflection_MsgStructDefenseClear) WhichOneof(d protoreflect.OneofDe // 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_MsgStructDefenseClear) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_MsgPlayerResumeResponse) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -30194,7 +29305,7 @@ func (x *fastReflection_MsgStructDefenseClear) GetUnknown() protoreflect.RawFiel // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgStructDefenseClear) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_MsgPlayerResumeResponse) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -30206,7 +29317,7 @@ func (x *fastReflection_MsgStructDefenseClear) SetUnknown(fields protoreflect.Ra // 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_MsgStructDefenseClear) IsValid() bool { +func (x *fastReflection_MsgPlayerResumeResponse) IsValid() bool { return x != nil } @@ -30216,9 +29327,9 @@ func (x *fastReflection_MsgStructDefenseClear) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_MsgStructDefenseClear) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_MsgPlayerResumeResponse) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*MsgStructDefenseClear) + x := input.Message.Interface().(*MsgPlayerResumeResponse) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -30230,14 +29341,6 @@ func (x *fastReflection_MsgStructDefenseClear) ProtoMethods() *protoiface.Method var n int var l int _ = l - l = len(x.Creator) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } - l = len(x.DefenderStructId) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } if x.unknownFields != nil { n += len(x.unknownFields) } @@ -30248,7 +29351,7 @@ func (x *fastReflection_MsgStructDefenseClear) ProtoMethods() *protoiface.Method } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*MsgStructDefenseClear) + x := input.Message.Interface().(*MsgPlayerResumeResponse) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -30267,20 +29370,6 @@ func (x *fastReflection_MsgStructDefenseClear) ProtoMethods() *protoiface.Method i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if len(x.DefenderStructId) > 0 { - i -= len(x.DefenderStructId) - copy(dAtA[i:], x.DefenderStructId) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.DefenderStructId))) - i-- - dAtA[i] = 0x12 - } - if len(x.Creator) > 0 { - i -= len(x.Creator) - copy(dAtA[i:], x.Creator) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Creator))) - i-- - dAtA[i] = 0xa - } if input.Buf != nil { input.Buf = append(input.Buf, dAtA...) } else { @@ -30292,7 +29381,7 @@ func (x *fastReflection_MsgStructDefenseClear) ProtoMethods() *protoiface.Method }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*MsgStructDefenseClear) + x := input.Message.Interface().(*MsgPlayerResumeResponse) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -30324,76 +29413,12 @@ func (x *fastReflection_MsgStructDefenseClear) ProtoMethods() *protoiface.Method fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgStructDefenseClear: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgPlayerResumeResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgStructDefenseClear: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgPlayerResumeResponse: 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 Creator", 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.Creator = 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 DefenderStructId", 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.DefenderStructId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex default: iNdEx = preIndex skippy, err := runtime.Skip(dAtA[iNdEx:]) @@ -30430,33 +29455,25 @@ func (x *fastReflection_MsgStructDefenseClear) ProtoMethods() *protoiface.Method } var ( - md_MsgStructMove protoreflect.MessageDescriptor - fd_MsgStructMove_creator protoreflect.FieldDescriptor - fd_MsgStructMove_structId protoreflect.FieldDescriptor - fd_MsgStructMove_locationType protoreflect.FieldDescriptor - fd_MsgStructMove_ambit protoreflect.FieldDescriptor - fd_MsgStructMove_slot protoreflect.FieldDescriptor + md_MsgStructStatusResponse protoreflect.MessageDescriptor + fd_MsgStructStatusResponse_struct protoreflect.FieldDescriptor ) func init() { file_structs_structs_tx_proto_init() - md_MsgStructMove = File_structs_structs_tx_proto.Messages().ByName("MsgStructMove") - fd_MsgStructMove_creator = md_MsgStructMove.Fields().ByName("creator") - fd_MsgStructMove_structId = md_MsgStructMove.Fields().ByName("structId") - fd_MsgStructMove_locationType = md_MsgStructMove.Fields().ByName("locationType") - fd_MsgStructMove_ambit = md_MsgStructMove.Fields().ByName("ambit") - fd_MsgStructMove_slot = md_MsgStructMove.Fields().ByName("slot") + md_MsgStructStatusResponse = File_structs_structs_tx_proto.Messages().ByName("MsgStructStatusResponse") + fd_MsgStructStatusResponse_struct = md_MsgStructStatusResponse.Fields().ByName("struct") } -var _ protoreflect.Message = (*fastReflection_MsgStructMove)(nil) +var _ protoreflect.Message = (*fastReflection_MsgStructStatusResponse)(nil) -type fastReflection_MsgStructMove MsgStructMove +type fastReflection_MsgStructStatusResponse MsgStructStatusResponse -func (x *MsgStructMove) ProtoReflect() protoreflect.Message { - return (*fastReflection_MsgStructMove)(x) +func (x *MsgStructStatusResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgStructStatusResponse)(x) } -func (x *MsgStructMove) slowProtoReflect() protoreflect.Message { +func (x *MsgStructStatusResponse) slowProtoReflect() protoreflect.Message { mi := &file_structs_structs_tx_proto_msgTypes[58] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -30468,43 +29485,43 @@ func (x *MsgStructMove) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_MsgStructMove_messageType fastReflection_MsgStructMove_messageType -var _ protoreflect.MessageType = fastReflection_MsgStructMove_messageType{} +var _fastReflection_MsgStructStatusResponse_messageType fastReflection_MsgStructStatusResponse_messageType +var _ protoreflect.MessageType = fastReflection_MsgStructStatusResponse_messageType{} -type fastReflection_MsgStructMove_messageType struct{} +type fastReflection_MsgStructStatusResponse_messageType struct{} -func (x fastReflection_MsgStructMove_messageType) Zero() protoreflect.Message { - return (*fastReflection_MsgStructMove)(nil) +func (x fastReflection_MsgStructStatusResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgStructStatusResponse)(nil) } -func (x fastReflection_MsgStructMove_messageType) New() protoreflect.Message { - return new(fastReflection_MsgStructMove) +func (x fastReflection_MsgStructStatusResponse_messageType) New() protoreflect.Message { + return new(fastReflection_MsgStructStatusResponse) } -func (x fastReflection_MsgStructMove_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_MsgStructMove +func (x fastReflection_MsgStructStatusResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgStructStatusResponse } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_MsgStructMove) Descriptor() protoreflect.MessageDescriptor { - return md_MsgStructMove +func (x *fastReflection_MsgStructStatusResponse) Descriptor() protoreflect.MessageDescriptor { + return md_MsgStructStatusResponse } // 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_MsgStructMove) Type() protoreflect.MessageType { - return _fastReflection_MsgStructMove_messageType +func (x *fastReflection_MsgStructStatusResponse) Type() protoreflect.MessageType { + return _fastReflection_MsgStructStatusResponse_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_MsgStructMove) New() protoreflect.Message { - return new(fastReflection_MsgStructMove) +func (x *fastReflection_MsgStructStatusResponse) New() protoreflect.Message { + return new(fastReflection_MsgStructStatusResponse) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_MsgStructMove) Interface() protoreflect.ProtoMessage { - return (*MsgStructMove)(x) +func (x *fastReflection_MsgStructStatusResponse) Interface() protoreflect.ProtoMessage { + return (*MsgStructStatusResponse)(x) } // Range iterates over every populated field in an undefined order, @@ -30512,34 +29529,10 @@ func (x *fastReflection_MsgStructMove) Interface() protoreflect.ProtoMessage { // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_MsgStructMove) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.Creator != "" { - value := protoreflect.ValueOfString(x.Creator) - if !f(fd_MsgStructMove_creator, value) { - return - } - } - if x.StructId != "" { - value := protoreflect.ValueOfString(x.StructId) - if !f(fd_MsgStructMove_structId, value) { - return - } - } - if x.LocationType != 0 { - value := protoreflect.ValueOfEnum((protoreflect.EnumNumber)(x.LocationType)) - if !f(fd_MsgStructMove_locationType, value) { - return - } - } - if x.Ambit != 0 { - value := protoreflect.ValueOfEnum((protoreflect.EnumNumber)(x.Ambit)) - if !f(fd_MsgStructMove_ambit, value) { - return - } - } - if x.Slot != uint64(0) { - value := protoreflect.ValueOfUint64(x.Slot) - if !f(fd_MsgStructMove_slot, value) { +func (x *fastReflection_MsgStructStatusResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Struct != nil { + value := protoreflect.ValueOfMessage(x.Struct.ProtoReflect()) + if !f(fd_MsgStructStatusResponse_struct, value) { return } } @@ -30556,23 +29549,15 @@ func (x *fastReflection_MsgStructMove) Range(f func(protoreflect.FieldDescriptor // 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_MsgStructMove) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_MsgStructStatusResponse) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.MsgStructMove.creator": - return x.Creator != "" - case "structs.structs.MsgStructMove.structId": - return x.StructId != "" - case "structs.structs.MsgStructMove.locationType": - return x.LocationType != 0 - case "structs.structs.MsgStructMove.ambit": - return x.Ambit != 0 - case "structs.structs.MsgStructMove.slot": - return x.Slot != uint64(0) + case "structs.structs.MsgStructStatusResponse.struct": + return x.Struct != nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructMove")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructStatusResponse")) } - panic(fmt.Errorf("message structs.structs.MsgStructMove does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructStatusResponse does not contain field %s", fd.FullName())) } } @@ -30582,23 +29567,15 @@ func (x *fastReflection_MsgStructMove) Has(fd protoreflect.FieldDescriptor) bool // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgStructMove) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_MsgStructStatusResponse) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.MsgStructMove.creator": - x.Creator = "" - case "structs.structs.MsgStructMove.structId": - x.StructId = "" - case "structs.structs.MsgStructMove.locationType": - x.LocationType = 0 - case "structs.structs.MsgStructMove.ambit": - x.Ambit = 0 - case "structs.structs.MsgStructMove.slot": - x.Slot = uint64(0) + case "structs.structs.MsgStructStatusResponse.struct": + x.Struct = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructMove")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructStatusResponse")) } - panic(fmt.Errorf("message structs.structs.MsgStructMove does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructStatusResponse does not contain field %s", fd.FullName())) } } @@ -30608,28 +29585,16 @@ func (x *fastReflection_MsgStructMove) Clear(fd protoreflect.FieldDescriptor) { // 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_MsgStructMove) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgStructStatusResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.MsgStructMove.creator": - value := x.Creator - return protoreflect.ValueOfString(value) - case "structs.structs.MsgStructMove.structId": - value := x.StructId - return protoreflect.ValueOfString(value) - case "structs.structs.MsgStructMove.locationType": - value := x.LocationType - return protoreflect.ValueOfEnum((protoreflect.EnumNumber)(value)) - case "structs.structs.MsgStructMove.ambit": - value := x.Ambit - return protoreflect.ValueOfEnum((protoreflect.EnumNumber)(value)) - case "structs.structs.MsgStructMove.slot": - value := x.Slot - return protoreflect.ValueOfUint64(value) + case "structs.structs.MsgStructStatusResponse.struct": + value := x.Struct + return protoreflect.ValueOfMessage(value.ProtoReflect()) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructMove")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructStatusResponse")) } - panic(fmt.Errorf("message structs.structs.MsgStructMove does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructStatusResponse does not contain field %s", descriptor.FullName())) } } @@ -30643,23 +29608,15 @@ func (x *fastReflection_MsgStructMove) Get(descriptor protoreflect.FieldDescript // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgStructMove) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_MsgStructStatusResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.MsgStructMove.creator": - x.Creator = value.Interface().(string) - case "structs.structs.MsgStructMove.structId": - x.StructId = value.Interface().(string) - case "structs.structs.MsgStructMove.locationType": - x.LocationType = (ObjectType)(value.Enum()) - case "structs.structs.MsgStructMove.ambit": - x.Ambit = (Ambit)(value.Enum()) - case "structs.structs.MsgStructMove.slot": - x.Slot = value.Uint() + case "structs.structs.MsgStructStatusResponse.struct": + x.Struct = value.Message().Interface().(*Struct) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructMove")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructStatusResponse")) } - panic(fmt.Errorf("message structs.structs.MsgStructMove does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructStatusResponse does not contain field %s", fd.FullName())) } } @@ -30673,56 +29630,44 @@ func (x *fastReflection_MsgStructMove) Set(fd protoreflect.FieldDescriptor, valu // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgStructMove) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgStructStatusResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.MsgStructMove.creator": - panic(fmt.Errorf("field creator of message structs.structs.MsgStructMove is not mutable")) - case "structs.structs.MsgStructMove.structId": - panic(fmt.Errorf("field structId of message structs.structs.MsgStructMove is not mutable")) - case "structs.structs.MsgStructMove.locationType": - panic(fmt.Errorf("field locationType of message structs.structs.MsgStructMove is not mutable")) - case "structs.structs.MsgStructMove.ambit": - panic(fmt.Errorf("field ambit of message structs.structs.MsgStructMove is not mutable")) - case "structs.structs.MsgStructMove.slot": - panic(fmt.Errorf("field slot of message structs.structs.MsgStructMove is not mutable")) + case "structs.structs.MsgStructStatusResponse.struct": + if x.Struct == nil { + x.Struct = new(Struct) + } + return protoreflect.ValueOfMessage(x.Struct.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructMove")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructStatusResponse")) } - panic(fmt.Errorf("message structs.structs.MsgStructMove does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructStatusResponse 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_MsgStructMove) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgStructStatusResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.MsgStructMove.creator": - return protoreflect.ValueOfString("") - case "structs.structs.MsgStructMove.structId": - return protoreflect.ValueOfString("") - case "structs.structs.MsgStructMove.locationType": - return protoreflect.ValueOfEnum(0) - case "structs.structs.MsgStructMove.ambit": - return protoreflect.ValueOfEnum(0) - case "structs.structs.MsgStructMove.slot": - return protoreflect.ValueOfUint64(uint64(0)) + case "structs.structs.MsgStructStatusResponse.struct": + m := new(Struct) + return protoreflect.ValueOfMessage(m.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructMove")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructStatusResponse")) } - panic(fmt.Errorf("message structs.structs.MsgStructMove does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructStatusResponse 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_MsgStructMove) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_MsgStructStatusResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgStructMove", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgStructStatusResponse", d.FullName())) } panic("unreachable") } @@ -30730,7 +29675,7 @@ func (x *fastReflection_MsgStructMove) WhichOneof(d protoreflect.OneofDescriptor // 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_MsgStructMove) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_MsgStructStatusResponse) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -30741,7 +29686,7 @@ func (x *fastReflection_MsgStructMove) GetUnknown() protoreflect.RawFields { // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgStructMove) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_MsgStructStatusResponse) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -30753,7 +29698,7 @@ func (x *fastReflection_MsgStructMove) SetUnknown(fields protoreflect.RawFields) // 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_MsgStructMove) IsValid() bool { +func (x *fastReflection_MsgStructStatusResponse) IsValid() bool { return x != nil } @@ -30763,9 +29708,9 @@ func (x *fastReflection_MsgStructMove) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_MsgStructMove) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_MsgStructStatusResponse) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*MsgStructMove) + x := input.Message.Interface().(*MsgStructStatusResponse) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -30777,23 +29722,10 @@ func (x *fastReflection_MsgStructMove) ProtoMethods() *protoiface.Methods { var n int var l int _ = l - l = len(x.Creator) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } - l = len(x.StructId) - if l > 0 { + if x.Struct != nil { + l = options.Size(x.Struct) n += 1 + l + runtime.Sov(uint64(l)) } - if x.LocationType != 0 { - n += 1 + runtime.Sov(uint64(x.LocationType)) - } - if x.Ambit != 0 { - n += 1 + runtime.Sov(uint64(x.Ambit)) - } - if x.Slot != 0 { - n += 1 + runtime.Sov(uint64(x.Slot)) - } if x.unknownFields != nil { n += len(x.unknownFields) } @@ -30804,7 +29736,7 @@ func (x *fastReflection_MsgStructMove) ProtoMethods() *protoiface.Methods { } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*MsgStructMove) + x := input.Message.Interface().(*MsgStructStatusResponse) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -30823,32 +29755,17 @@ func (x *fastReflection_MsgStructMove) ProtoMethods() *protoiface.Methods { i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if x.Slot != 0 { - i = runtime.EncodeVarint(dAtA, i, uint64(x.Slot)) - i-- - dAtA[i] = 0x30 - } - if x.Ambit != 0 { - i = runtime.EncodeVarint(dAtA, i, uint64(x.Ambit)) - i-- - dAtA[i] = 0x28 - } - if x.LocationType != 0 { - i = runtime.EncodeVarint(dAtA, i, uint64(x.LocationType)) - i-- - dAtA[i] = 0x20 - } - if len(x.StructId) > 0 { - i -= len(x.StructId) - copy(dAtA[i:], x.StructId) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.StructId))) - i-- - dAtA[i] = 0x12 - } - if len(x.Creator) > 0 { - i -= len(x.Creator) - copy(dAtA[i:], x.Creator) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Creator))) + if x.Struct != nil { + encoded, err := options.Marshal(x.Struct) + 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 } @@ -30863,7 +29780,7 @@ func (x *fastReflection_MsgStructMove) ProtoMethods() *protoiface.Methods { }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*MsgStructMove) + x := input.Message.Interface().(*MsgStructStatusResponse) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -30895,17 +29812,17 @@ func (x *fastReflection_MsgStructMove) ProtoMethods() *protoiface.Methods { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgStructMove: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgStructStatusResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgStructMove: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgStructStatusResponse: 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 Creator", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Struct", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -30915,127 +29832,42 @@ func (x *fastReflection_MsgStructMove) ProtoMethods() *protoiface.Methods { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength } - postIndex := iNdEx + intStringLen + 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 } - x.Creator = 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 StructId", wireType) + if x.Struct == nil { + x.Struct = &Struct{} } - 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 - } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Struct); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err } - intStringLen := int(stringLen) - if intStringLen < 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err } - postIndex := iNdEx + intStringLen - if postIndex < 0 { + if (skippy < 0) || (iNdEx+skippy) < 0 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength } - if postIndex > l { + if (iNdEx + skippy) > l { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - x.StructId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field LocationType", wireType) - } - x.LocationType = 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.LocationType |= ObjectType(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 5: - if wireType != 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Ambit", wireType) - } - x.Ambit = 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.Ambit |= Ambit(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 6: - if wireType != 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Slot", wireType) - } - x.Slot = 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.Slot |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - 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]...) + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) } iNdEx += skippy } @@ -31057,78 +29889,28 @@ func (x *fastReflection_MsgStructMove) ProtoMethods() *protoiface.Methods { } } -var _ protoreflect.List = (*_MsgStructAttack_3_list)(nil) - -type _MsgStructAttack_3_list struct { - list *[]string -} - -func (x *_MsgStructAttack_3_list) Len() int { - if x.list == nil { - return 0 - } - return len(*x.list) -} - -func (x *_MsgStructAttack_3_list) Get(i int) protoreflect.Value { - return protoreflect.ValueOfString((*x.list)[i]) -} - -func (x *_MsgStructAttack_3_list) Set(i int, value protoreflect.Value) { - valueUnwrapped := value.String() - concreteValue := valueUnwrapped - (*x.list)[i] = concreteValue -} - -func (x *_MsgStructAttack_3_list) Append(value protoreflect.Value) { - valueUnwrapped := value.String() - concreteValue := valueUnwrapped - *x.list = append(*x.list, concreteValue) -} - -func (x *_MsgStructAttack_3_list) AppendMutable() protoreflect.Value { - panic(fmt.Errorf("AppendMutable can not be called on message MsgStructAttack at list field TargetStructId as it is not of Message kind")) -} - -func (x *_MsgStructAttack_3_list) Truncate(n int) { - *x.list = (*x.list)[:n] -} - -func (x *_MsgStructAttack_3_list) NewElement() protoreflect.Value { - v := "" - return protoreflect.ValueOfString(v) -} - -func (x *_MsgStructAttack_3_list) IsValid() bool { - return x.list != nil -} - var ( - md_MsgStructAttack protoreflect.MessageDescriptor - fd_MsgStructAttack_creator protoreflect.FieldDescriptor - fd_MsgStructAttack_operatingStructId protoreflect.FieldDescriptor - fd_MsgStructAttack_targetStructId protoreflect.FieldDescriptor - fd_MsgStructAttack_weaponSystem protoreflect.FieldDescriptor + md_MsgStructActivate protoreflect.MessageDescriptor + fd_MsgStructActivate_creator protoreflect.FieldDescriptor + fd_MsgStructActivate_structId protoreflect.FieldDescriptor ) func init() { file_structs_structs_tx_proto_init() - md_MsgStructAttack = File_structs_structs_tx_proto.Messages().ByName("MsgStructAttack") - fd_MsgStructAttack_creator = md_MsgStructAttack.Fields().ByName("creator") - fd_MsgStructAttack_operatingStructId = md_MsgStructAttack.Fields().ByName("operatingStructId") - fd_MsgStructAttack_targetStructId = md_MsgStructAttack.Fields().ByName("targetStructId") - fd_MsgStructAttack_weaponSystem = md_MsgStructAttack.Fields().ByName("weaponSystem") + md_MsgStructActivate = File_structs_structs_tx_proto.Messages().ByName("MsgStructActivate") + fd_MsgStructActivate_creator = md_MsgStructActivate.Fields().ByName("creator") + fd_MsgStructActivate_structId = md_MsgStructActivate.Fields().ByName("structId") } -var _ protoreflect.Message = (*fastReflection_MsgStructAttack)(nil) +var _ protoreflect.Message = (*fastReflection_MsgStructActivate)(nil) -type fastReflection_MsgStructAttack MsgStructAttack +type fastReflection_MsgStructActivate MsgStructActivate -func (x *MsgStructAttack) ProtoReflect() protoreflect.Message { - return (*fastReflection_MsgStructAttack)(x) +func (x *MsgStructActivate) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgStructActivate)(x) } -func (x *MsgStructAttack) slowProtoReflect() protoreflect.Message { +func (x *MsgStructActivate) slowProtoReflect() protoreflect.Message { mi := &file_structs_structs_tx_proto_msgTypes[59] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -31140,43 +29922,43 @@ func (x *MsgStructAttack) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_MsgStructAttack_messageType fastReflection_MsgStructAttack_messageType -var _ protoreflect.MessageType = fastReflection_MsgStructAttack_messageType{} +var _fastReflection_MsgStructActivate_messageType fastReflection_MsgStructActivate_messageType +var _ protoreflect.MessageType = fastReflection_MsgStructActivate_messageType{} -type fastReflection_MsgStructAttack_messageType struct{} +type fastReflection_MsgStructActivate_messageType struct{} -func (x fastReflection_MsgStructAttack_messageType) Zero() protoreflect.Message { - return (*fastReflection_MsgStructAttack)(nil) +func (x fastReflection_MsgStructActivate_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgStructActivate)(nil) } -func (x fastReflection_MsgStructAttack_messageType) New() protoreflect.Message { - return new(fastReflection_MsgStructAttack) +func (x fastReflection_MsgStructActivate_messageType) New() protoreflect.Message { + return new(fastReflection_MsgStructActivate) } -func (x fastReflection_MsgStructAttack_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_MsgStructAttack +func (x fastReflection_MsgStructActivate_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgStructActivate } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_MsgStructAttack) Descriptor() protoreflect.MessageDescriptor { - return md_MsgStructAttack +func (x *fastReflection_MsgStructActivate) Descriptor() protoreflect.MessageDescriptor { + return md_MsgStructActivate } // 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_MsgStructAttack) Type() protoreflect.MessageType { - return _fastReflection_MsgStructAttack_messageType +func (x *fastReflection_MsgStructActivate) Type() protoreflect.MessageType { + return _fastReflection_MsgStructActivate_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_MsgStructAttack) New() protoreflect.Message { - return new(fastReflection_MsgStructAttack) +func (x *fastReflection_MsgStructActivate) New() protoreflect.Message { + return new(fastReflection_MsgStructActivate) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_MsgStructAttack) Interface() protoreflect.ProtoMessage { - return (*MsgStructAttack)(x) +func (x *fastReflection_MsgStructActivate) Interface() protoreflect.ProtoMessage { + return (*MsgStructActivate)(x) } // Range iterates over every populated field in an undefined order, @@ -31184,28 +29966,16 @@ func (x *fastReflection_MsgStructAttack) Interface() protoreflect.ProtoMessage { // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_MsgStructAttack) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +func (x *fastReflection_MsgStructActivate) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { if x.Creator != "" { value := protoreflect.ValueOfString(x.Creator) - if !f(fd_MsgStructAttack_creator, value) { - return - } - } - if x.OperatingStructId != "" { - value := protoreflect.ValueOfString(x.OperatingStructId) - if !f(fd_MsgStructAttack_operatingStructId, value) { - return - } - } - if len(x.TargetStructId) != 0 { - value := protoreflect.ValueOfList(&_MsgStructAttack_3_list{list: &x.TargetStructId}) - if !f(fd_MsgStructAttack_targetStructId, value) { + if !f(fd_MsgStructActivate_creator, value) { return } } - if x.WeaponSystem != "" { - value := protoreflect.ValueOfString(x.WeaponSystem) - if !f(fd_MsgStructAttack_weaponSystem, value) { + if x.StructId != "" { + value := protoreflect.ValueOfString(x.StructId) + if !f(fd_MsgStructActivate_structId, value) { return } } @@ -31222,21 +29992,17 @@ func (x *fastReflection_MsgStructAttack) Range(f func(protoreflect.FieldDescript // 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_MsgStructAttack) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_MsgStructActivate) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.MsgStructAttack.creator": + case "structs.structs.MsgStructActivate.creator": return x.Creator != "" - case "structs.structs.MsgStructAttack.operatingStructId": - return x.OperatingStructId != "" - case "structs.structs.MsgStructAttack.targetStructId": - return len(x.TargetStructId) != 0 - case "structs.structs.MsgStructAttack.weaponSystem": - return x.WeaponSystem != "" + case "structs.structs.MsgStructActivate.structId": + return x.StructId != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructAttack")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructActivate")) } - panic(fmt.Errorf("message structs.structs.MsgStructAttack does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructActivate does not contain field %s", fd.FullName())) } } @@ -31246,21 +30012,17 @@ func (x *fastReflection_MsgStructAttack) Has(fd protoreflect.FieldDescriptor) bo // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgStructAttack) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_MsgStructActivate) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.MsgStructAttack.creator": + case "structs.structs.MsgStructActivate.creator": x.Creator = "" - case "structs.structs.MsgStructAttack.operatingStructId": - x.OperatingStructId = "" - case "structs.structs.MsgStructAttack.targetStructId": - x.TargetStructId = nil - case "structs.structs.MsgStructAttack.weaponSystem": - x.WeaponSystem = "" + case "structs.structs.MsgStructActivate.structId": + x.StructId = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructAttack")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructActivate")) } - panic(fmt.Errorf("message structs.structs.MsgStructAttack does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructActivate does not contain field %s", fd.FullName())) } } @@ -31270,28 +30032,19 @@ func (x *fastReflection_MsgStructAttack) Clear(fd protoreflect.FieldDescriptor) // 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_MsgStructAttack) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgStructActivate) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.MsgStructAttack.creator": + case "structs.structs.MsgStructActivate.creator": value := x.Creator return protoreflect.ValueOfString(value) - case "structs.structs.MsgStructAttack.operatingStructId": - value := x.OperatingStructId - return protoreflect.ValueOfString(value) - case "structs.structs.MsgStructAttack.targetStructId": - if len(x.TargetStructId) == 0 { - return protoreflect.ValueOfList(&_MsgStructAttack_3_list{}) - } - listValue := &_MsgStructAttack_3_list{list: &x.TargetStructId} - return protoreflect.ValueOfList(listValue) - case "structs.structs.MsgStructAttack.weaponSystem": - value := x.WeaponSystem + case "structs.structs.MsgStructActivate.structId": + value := x.StructId return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructAttack")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructActivate")) } - panic(fmt.Errorf("message structs.structs.MsgStructAttack does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructActivate does not contain field %s", descriptor.FullName())) } } @@ -31305,23 +30058,17 @@ func (x *fastReflection_MsgStructAttack) Get(descriptor protoreflect.FieldDescri // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgStructAttack) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_MsgStructActivate) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.MsgStructAttack.creator": + case "structs.structs.MsgStructActivate.creator": x.Creator = value.Interface().(string) - case "structs.structs.MsgStructAttack.operatingStructId": - x.OperatingStructId = value.Interface().(string) - case "structs.structs.MsgStructAttack.targetStructId": - lv := value.List() - clv := lv.(*_MsgStructAttack_3_list) - x.TargetStructId = *clv.list - case "structs.structs.MsgStructAttack.weaponSystem": - x.WeaponSystem = value.Interface().(string) + case "structs.structs.MsgStructActivate.structId": + x.StructId = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructAttack")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructActivate")) } - panic(fmt.Errorf("message structs.structs.MsgStructAttack does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructActivate does not contain field %s", fd.FullName())) } } @@ -31335,57 +30082,44 @@ func (x *fastReflection_MsgStructAttack) Set(fd protoreflect.FieldDescriptor, va // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgStructAttack) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgStructActivate) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.MsgStructAttack.targetStructId": - if x.TargetStructId == nil { - x.TargetStructId = []string{} - } - value := &_MsgStructAttack_3_list{list: &x.TargetStructId} - return protoreflect.ValueOfList(value) - case "structs.structs.MsgStructAttack.creator": - panic(fmt.Errorf("field creator of message structs.structs.MsgStructAttack is not mutable")) - case "structs.structs.MsgStructAttack.operatingStructId": - panic(fmt.Errorf("field operatingStructId of message structs.structs.MsgStructAttack is not mutable")) - case "structs.structs.MsgStructAttack.weaponSystem": - panic(fmt.Errorf("field weaponSystem of message structs.structs.MsgStructAttack is not mutable")) + case "structs.structs.MsgStructActivate.creator": + panic(fmt.Errorf("field creator of message structs.structs.MsgStructActivate is not mutable")) + case "structs.structs.MsgStructActivate.structId": + panic(fmt.Errorf("field structId of message structs.structs.MsgStructActivate is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructAttack")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructActivate")) } - panic(fmt.Errorf("message structs.structs.MsgStructAttack does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructActivate 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_MsgStructAttack) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgStructActivate) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.MsgStructAttack.creator": - return protoreflect.ValueOfString("") - case "structs.structs.MsgStructAttack.operatingStructId": + case "structs.structs.MsgStructActivate.creator": return protoreflect.ValueOfString("") - case "structs.structs.MsgStructAttack.targetStructId": - list := []string{} - return protoreflect.ValueOfList(&_MsgStructAttack_3_list{list: &list}) - case "structs.structs.MsgStructAttack.weaponSystem": + case "structs.structs.MsgStructActivate.structId": return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructAttack")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructActivate")) } - panic(fmt.Errorf("message structs.structs.MsgStructAttack does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructActivate 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_MsgStructAttack) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_MsgStructActivate) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgStructAttack", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgStructActivate", d.FullName())) } panic("unreachable") } @@ -31393,7 +30127,7 @@ func (x *fastReflection_MsgStructAttack) WhichOneof(d protoreflect.OneofDescript // 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_MsgStructAttack) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_MsgStructActivate) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -31404,7 +30138,7 @@ func (x *fastReflection_MsgStructAttack) GetUnknown() protoreflect.RawFields { // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgStructAttack) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_MsgStructActivate) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -31416,7 +30150,7 @@ func (x *fastReflection_MsgStructAttack) SetUnknown(fields protoreflect.RawField // 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_MsgStructAttack) IsValid() bool { +func (x *fastReflection_MsgStructActivate) IsValid() bool { return x != nil } @@ -31426,9 +30160,9 @@ func (x *fastReflection_MsgStructAttack) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_MsgStructAttack) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_MsgStructActivate) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*MsgStructAttack) + x := input.Message.Interface().(*MsgStructActivate) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -31444,17 +30178,7 @@ func (x *fastReflection_MsgStructAttack) ProtoMethods() *protoiface.Methods { if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } - l = len(x.OperatingStructId) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } - if len(x.TargetStructId) > 0 { - for _, s := range x.TargetStructId { - l = len(s) - n += 1 + l + runtime.Sov(uint64(l)) - } - } - l = len(x.WeaponSystem) + l = len(x.StructId) if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } @@ -31468,7 +30192,7 @@ func (x *fastReflection_MsgStructAttack) ProtoMethods() *protoiface.Methods { } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*MsgStructAttack) + x := input.Message.Interface().(*MsgStructActivate) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -31487,26 +30211,10 @@ func (x *fastReflection_MsgStructAttack) ProtoMethods() *protoiface.Methods { i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if len(x.WeaponSystem) > 0 { - i -= len(x.WeaponSystem) - copy(dAtA[i:], x.WeaponSystem) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.WeaponSystem))) - i-- - dAtA[i] = 0x22 - } - if len(x.TargetStructId) > 0 { - for iNdEx := len(x.TargetStructId) - 1; iNdEx >= 0; iNdEx-- { - i -= len(x.TargetStructId[iNdEx]) - copy(dAtA[i:], x.TargetStructId[iNdEx]) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.TargetStructId[iNdEx]))) - i-- - dAtA[i] = 0x1a - } - } - if len(x.OperatingStructId) > 0 { - i -= len(x.OperatingStructId) - copy(dAtA[i:], x.OperatingStructId) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.OperatingStructId))) + if len(x.StructId) > 0 { + i -= len(x.StructId) + copy(dAtA[i:], x.StructId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.StructId))) i-- dAtA[i] = 0x12 } @@ -31528,7 +30236,7 @@ func (x *fastReflection_MsgStructAttack) ProtoMethods() *protoiface.Methods { }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*MsgStructAttack) + x := input.Message.Interface().(*MsgStructActivate) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -31560,10 +30268,10 @@ func (x *fastReflection_MsgStructAttack) ProtoMethods() *protoiface.Methods { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgStructAttack: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgStructActivate: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgStructAttack: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgStructActivate: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -31600,71 +30308,7 @@ func (x *fastReflection_MsgStructAttack) ProtoMethods() *protoiface.Methods { iNdEx = postIndex case 2: if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field OperatingStructId", 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.OperatingStructId = 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 TargetStructId", 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.TargetStructId = append(x.TargetStructId, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - case 4: - if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field WeaponSystem", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field StructId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -31692,7 +30336,7 @@ func (x *fastReflection_MsgStructAttack) ProtoMethods() *protoiface.Methods { if postIndex > l { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - x.WeaponSystem = string(dAtA[iNdEx:postIndex]) + x.StructId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -31730,23 +30374,27 @@ func (x *fastReflection_MsgStructAttack) ProtoMethods() *protoiface.Methods { } var ( - md_MsgStructAttackResponse protoreflect.MessageDescriptor + md_MsgStructDeactivate protoreflect.MessageDescriptor + fd_MsgStructDeactivate_creator protoreflect.FieldDescriptor + fd_MsgStructDeactivate_structId protoreflect.FieldDescriptor ) func init() { file_structs_structs_tx_proto_init() - md_MsgStructAttackResponse = File_structs_structs_tx_proto.Messages().ByName("MsgStructAttackResponse") + md_MsgStructDeactivate = File_structs_structs_tx_proto.Messages().ByName("MsgStructDeactivate") + fd_MsgStructDeactivate_creator = md_MsgStructDeactivate.Fields().ByName("creator") + fd_MsgStructDeactivate_structId = md_MsgStructDeactivate.Fields().ByName("structId") } -var _ protoreflect.Message = (*fastReflection_MsgStructAttackResponse)(nil) +var _ protoreflect.Message = (*fastReflection_MsgStructDeactivate)(nil) -type fastReflection_MsgStructAttackResponse MsgStructAttackResponse +type fastReflection_MsgStructDeactivate MsgStructDeactivate -func (x *MsgStructAttackResponse) ProtoReflect() protoreflect.Message { - return (*fastReflection_MsgStructAttackResponse)(x) +func (x *MsgStructDeactivate) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgStructDeactivate)(x) } -func (x *MsgStructAttackResponse) slowProtoReflect() protoreflect.Message { +func (x *MsgStructDeactivate) slowProtoReflect() protoreflect.Message { mi := &file_structs_structs_tx_proto_msgTypes[60] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -31758,43 +30406,43 @@ func (x *MsgStructAttackResponse) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_MsgStructAttackResponse_messageType fastReflection_MsgStructAttackResponse_messageType -var _ protoreflect.MessageType = fastReflection_MsgStructAttackResponse_messageType{} +var _fastReflection_MsgStructDeactivate_messageType fastReflection_MsgStructDeactivate_messageType +var _ protoreflect.MessageType = fastReflection_MsgStructDeactivate_messageType{} -type fastReflection_MsgStructAttackResponse_messageType struct{} +type fastReflection_MsgStructDeactivate_messageType struct{} -func (x fastReflection_MsgStructAttackResponse_messageType) Zero() protoreflect.Message { - return (*fastReflection_MsgStructAttackResponse)(nil) +func (x fastReflection_MsgStructDeactivate_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgStructDeactivate)(nil) } -func (x fastReflection_MsgStructAttackResponse_messageType) New() protoreflect.Message { - return new(fastReflection_MsgStructAttackResponse) +func (x fastReflection_MsgStructDeactivate_messageType) New() protoreflect.Message { + return new(fastReflection_MsgStructDeactivate) } -func (x fastReflection_MsgStructAttackResponse_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_MsgStructAttackResponse +func (x fastReflection_MsgStructDeactivate_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgStructDeactivate } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_MsgStructAttackResponse) Descriptor() protoreflect.MessageDescriptor { - return md_MsgStructAttackResponse +func (x *fastReflection_MsgStructDeactivate) Descriptor() protoreflect.MessageDescriptor { + return md_MsgStructDeactivate } // 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_MsgStructAttackResponse) Type() protoreflect.MessageType { - return _fastReflection_MsgStructAttackResponse_messageType +func (x *fastReflection_MsgStructDeactivate) Type() protoreflect.MessageType { + return _fastReflection_MsgStructDeactivate_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_MsgStructAttackResponse) New() protoreflect.Message { - return new(fastReflection_MsgStructAttackResponse) +func (x *fastReflection_MsgStructDeactivate) New() protoreflect.Message { + return new(fastReflection_MsgStructDeactivate) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_MsgStructAttackResponse) Interface() protoreflect.ProtoMessage { - return (*MsgStructAttackResponse)(x) +func (x *fastReflection_MsgStructDeactivate) Interface() protoreflect.ProtoMessage { + return (*MsgStructDeactivate)(x) } // Range iterates over every populated field in an undefined order, @@ -31802,7 +30450,19 @@ func (x *fastReflection_MsgStructAttackResponse) Interface() protoreflect.ProtoM // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_MsgStructAttackResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +func (x *fastReflection_MsgStructDeactivate) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Creator != "" { + value := protoreflect.ValueOfString(x.Creator) + if !f(fd_MsgStructDeactivate_creator, value) { + return + } + } + if x.StructId != "" { + value := protoreflect.ValueOfString(x.StructId) + if !f(fd_MsgStructDeactivate_structId, value) { + return + } + } } // Has reports whether a field is populated. @@ -31816,13 +30476,17 @@ func (x *fastReflection_MsgStructAttackResponse) Range(f func(protoreflect.Field // 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_MsgStructAttackResponse) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_MsgStructDeactivate) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { + case "structs.structs.MsgStructDeactivate.creator": + return x.Creator != "" + case "structs.structs.MsgStructDeactivate.structId": + return x.StructId != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructAttackResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructDeactivate")) } - panic(fmt.Errorf("message structs.structs.MsgStructAttackResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructDeactivate does not contain field %s", fd.FullName())) } } @@ -31832,13 +30496,17 @@ func (x *fastReflection_MsgStructAttackResponse) Has(fd protoreflect.FieldDescri // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgStructAttackResponse) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_MsgStructDeactivate) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { + case "structs.structs.MsgStructDeactivate.creator": + x.Creator = "" + case "structs.structs.MsgStructDeactivate.structId": + x.StructId = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructAttackResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructDeactivate")) } - panic(fmt.Errorf("message structs.structs.MsgStructAttackResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructDeactivate does not contain field %s", fd.FullName())) } } @@ -31848,13 +30516,19 @@ func (x *fastReflection_MsgStructAttackResponse) Clear(fd protoreflect.FieldDesc // 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_MsgStructAttackResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgStructDeactivate) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { + case "structs.structs.MsgStructDeactivate.creator": + value := x.Creator + return protoreflect.ValueOfString(value) + case "structs.structs.MsgStructDeactivate.structId": + value := x.StructId + return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructAttackResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructDeactivate")) } - panic(fmt.Errorf("message structs.structs.MsgStructAttackResponse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructDeactivate does not contain field %s", descriptor.FullName())) } } @@ -31868,13 +30542,17 @@ func (x *fastReflection_MsgStructAttackResponse) Get(descriptor protoreflect.Fie // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgStructAttackResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_MsgStructDeactivate) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { + case "structs.structs.MsgStructDeactivate.creator": + x.Creator = value.Interface().(string) + case "structs.structs.MsgStructDeactivate.structId": + x.StructId = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructAttackResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructDeactivate")) } - panic(fmt.Errorf("message structs.structs.MsgStructAttackResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructDeactivate does not contain field %s", fd.FullName())) } } @@ -31888,36 +30566,44 @@ func (x *fastReflection_MsgStructAttackResponse) Set(fd protoreflect.FieldDescri // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgStructAttackResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgStructDeactivate) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { + case "structs.structs.MsgStructDeactivate.creator": + panic(fmt.Errorf("field creator of message structs.structs.MsgStructDeactivate is not mutable")) + case "structs.structs.MsgStructDeactivate.structId": + panic(fmt.Errorf("field structId of message structs.structs.MsgStructDeactivate is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructAttackResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructDeactivate")) } - panic(fmt.Errorf("message structs.structs.MsgStructAttackResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructDeactivate 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_MsgStructAttackResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgStructDeactivate) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { + case "structs.structs.MsgStructDeactivate.creator": + return protoreflect.ValueOfString("") + case "structs.structs.MsgStructDeactivate.structId": + return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructAttackResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructDeactivate")) } - panic(fmt.Errorf("message structs.structs.MsgStructAttackResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructDeactivate 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_MsgStructAttackResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_MsgStructDeactivate) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgStructAttackResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgStructDeactivate", d.FullName())) } panic("unreachable") } @@ -31925,7 +30611,7 @@ func (x *fastReflection_MsgStructAttackResponse) WhichOneof(d protoreflect.Oneof // 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_MsgStructAttackResponse) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_MsgStructDeactivate) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -31936,7 +30622,7 @@ func (x *fastReflection_MsgStructAttackResponse) GetUnknown() protoreflect.RawFi // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgStructAttackResponse) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_MsgStructDeactivate) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -31948,7 +30634,7 @@ func (x *fastReflection_MsgStructAttackResponse) SetUnknown(fields protoreflect. // 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_MsgStructAttackResponse) IsValid() bool { +func (x *fastReflection_MsgStructDeactivate) IsValid() bool { return x != nil } @@ -31958,9 +30644,9 @@ func (x *fastReflection_MsgStructAttackResponse) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_MsgStructAttackResponse) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_MsgStructDeactivate) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*MsgStructAttackResponse) + x := input.Message.Interface().(*MsgStructDeactivate) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -31972,6 +30658,14 @@ func (x *fastReflection_MsgStructAttackResponse) ProtoMethods() *protoiface.Meth var n int var l int _ = l + l = len(x.Creator) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.StructId) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } if x.unknownFields != nil { n += len(x.unknownFields) } @@ -31982,7 +30676,7 @@ func (x *fastReflection_MsgStructAttackResponse) ProtoMethods() *protoiface.Meth } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*MsgStructAttackResponse) + x := input.Message.Interface().(*MsgStructDeactivate) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -32001,6 +30695,20 @@ func (x *fastReflection_MsgStructAttackResponse) ProtoMethods() *protoiface.Meth i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } + if len(x.StructId) > 0 { + i -= len(x.StructId) + copy(dAtA[i:], x.StructId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.StructId))) + i-- + dAtA[i] = 0x12 + } + if len(x.Creator) > 0 { + i -= len(x.Creator) + copy(dAtA[i:], x.Creator) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Creator))) + i-- + dAtA[i] = 0xa + } if input.Buf != nil { input.Buf = append(input.Buf, dAtA...) } else { @@ -32012,7 +30720,7 @@ func (x *fastReflection_MsgStructAttackResponse) ProtoMethods() *protoiface.Meth }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*MsgStructAttackResponse) + x := input.Message.Interface().(*MsgStructDeactivate) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -32044,12 +30752,76 @@ func (x *fastReflection_MsgStructAttackResponse) ProtoMethods() *protoiface.Meth fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgStructAttackResponse: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgStructDeactivate: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgStructAttackResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgStructDeactivate: 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 Creator", 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.Creator = 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 StructId", 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.StructId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := runtime.Skip(dAtA[iNdEx:]) @@ -32086,27 +30858,33 @@ func (x *fastReflection_MsgStructAttackResponse) ProtoMethods() *protoiface.Meth } var ( - md_MsgStructStealthActivate protoreflect.MessageDescriptor - fd_MsgStructStealthActivate_creator protoreflect.FieldDescriptor - fd_MsgStructStealthActivate_structId protoreflect.FieldDescriptor + md_MsgStructBuildInitiate protoreflect.MessageDescriptor + fd_MsgStructBuildInitiate_creator protoreflect.FieldDescriptor + fd_MsgStructBuildInitiate_playerId protoreflect.FieldDescriptor + fd_MsgStructBuildInitiate_structTypeId protoreflect.FieldDescriptor + fd_MsgStructBuildInitiate_operatingAmbit protoreflect.FieldDescriptor + fd_MsgStructBuildInitiate_slot protoreflect.FieldDescriptor ) func init() { file_structs_structs_tx_proto_init() - md_MsgStructStealthActivate = File_structs_structs_tx_proto.Messages().ByName("MsgStructStealthActivate") - fd_MsgStructStealthActivate_creator = md_MsgStructStealthActivate.Fields().ByName("creator") - fd_MsgStructStealthActivate_structId = md_MsgStructStealthActivate.Fields().ByName("structId") + md_MsgStructBuildInitiate = File_structs_structs_tx_proto.Messages().ByName("MsgStructBuildInitiate") + fd_MsgStructBuildInitiate_creator = md_MsgStructBuildInitiate.Fields().ByName("creator") + fd_MsgStructBuildInitiate_playerId = md_MsgStructBuildInitiate.Fields().ByName("playerId") + fd_MsgStructBuildInitiate_structTypeId = md_MsgStructBuildInitiate.Fields().ByName("structTypeId") + fd_MsgStructBuildInitiate_operatingAmbit = md_MsgStructBuildInitiate.Fields().ByName("operatingAmbit") + fd_MsgStructBuildInitiate_slot = md_MsgStructBuildInitiate.Fields().ByName("slot") } -var _ protoreflect.Message = (*fastReflection_MsgStructStealthActivate)(nil) +var _ protoreflect.Message = (*fastReflection_MsgStructBuildInitiate)(nil) -type fastReflection_MsgStructStealthActivate MsgStructStealthActivate +type fastReflection_MsgStructBuildInitiate MsgStructBuildInitiate -func (x *MsgStructStealthActivate) ProtoReflect() protoreflect.Message { - return (*fastReflection_MsgStructStealthActivate)(x) +func (x *MsgStructBuildInitiate) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgStructBuildInitiate)(x) } -func (x *MsgStructStealthActivate) slowProtoReflect() protoreflect.Message { +func (x *MsgStructBuildInitiate) slowProtoReflect() protoreflect.Message { mi := &file_structs_structs_tx_proto_msgTypes[61] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -32118,43 +30896,43 @@ func (x *MsgStructStealthActivate) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_MsgStructStealthActivate_messageType fastReflection_MsgStructStealthActivate_messageType -var _ protoreflect.MessageType = fastReflection_MsgStructStealthActivate_messageType{} +var _fastReflection_MsgStructBuildInitiate_messageType fastReflection_MsgStructBuildInitiate_messageType +var _ protoreflect.MessageType = fastReflection_MsgStructBuildInitiate_messageType{} -type fastReflection_MsgStructStealthActivate_messageType struct{} +type fastReflection_MsgStructBuildInitiate_messageType struct{} -func (x fastReflection_MsgStructStealthActivate_messageType) Zero() protoreflect.Message { - return (*fastReflection_MsgStructStealthActivate)(nil) +func (x fastReflection_MsgStructBuildInitiate_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgStructBuildInitiate)(nil) } -func (x fastReflection_MsgStructStealthActivate_messageType) New() protoreflect.Message { - return new(fastReflection_MsgStructStealthActivate) +func (x fastReflection_MsgStructBuildInitiate_messageType) New() protoreflect.Message { + return new(fastReflection_MsgStructBuildInitiate) } -func (x fastReflection_MsgStructStealthActivate_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_MsgStructStealthActivate +func (x fastReflection_MsgStructBuildInitiate_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgStructBuildInitiate } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_MsgStructStealthActivate) Descriptor() protoreflect.MessageDescriptor { - return md_MsgStructStealthActivate +func (x *fastReflection_MsgStructBuildInitiate) Descriptor() protoreflect.MessageDescriptor { + return md_MsgStructBuildInitiate } // 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_MsgStructStealthActivate) Type() protoreflect.MessageType { - return _fastReflection_MsgStructStealthActivate_messageType +func (x *fastReflection_MsgStructBuildInitiate) Type() protoreflect.MessageType { + return _fastReflection_MsgStructBuildInitiate_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_MsgStructStealthActivate) New() protoreflect.Message { - return new(fastReflection_MsgStructStealthActivate) +func (x *fastReflection_MsgStructBuildInitiate) New() protoreflect.Message { + return new(fastReflection_MsgStructBuildInitiate) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_MsgStructStealthActivate) Interface() protoreflect.ProtoMessage { - return (*MsgStructStealthActivate)(x) +func (x *fastReflection_MsgStructBuildInitiate) Interface() protoreflect.ProtoMessage { + return (*MsgStructBuildInitiate)(x) } // Range iterates over every populated field in an undefined order, @@ -32162,16 +30940,34 @@ func (x *fastReflection_MsgStructStealthActivate) Interface() protoreflect.Proto // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_MsgStructStealthActivate) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +func (x *fastReflection_MsgStructBuildInitiate) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { if x.Creator != "" { value := protoreflect.ValueOfString(x.Creator) - if !f(fd_MsgStructStealthActivate_creator, value) { + if !f(fd_MsgStructBuildInitiate_creator, value) { return } } - if x.StructId != "" { - value := protoreflect.ValueOfString(x.StructId) - if !f(fd_MsgStructStealthActivate_structId, value) { + if x.PlayerId != "" { + value := protoreflect.ValueOfString(x.PlayerId) + if !f(fd_MsgStructBuildInitiate_playerId, value) { + return + } + } + if x.StructTypeId != uint64(0) { + value := protoreflect.ValueOfUint64(x.StructTypeId) + if !f(fd_MsgStructBuildInitiate_structTypeId, value) { + return + } + } + if x.OperatingAmbit != 0 { + value := protoreflect.ValueOfEnum((protoreflect.EnumNumber)(x.OperatingAmbit)) + if !f(fd_MsgStructBuildInitiate_operatingAmbit, value) { + return + } + } + if x.Slot != uint64(0) { + value := protoreflect.ValueOfUint64(x.Slot) + if !f(fd_MsgStructBuildInitiate_slot, value) { return } } @@ -32188,17 +30984,23 @@ func (x *fastReflection_MsgStructStealthActivate) Range(f func(protoreflect.Fiel // 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_MsgStructStealthActivate) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_MsgStructBuildInitiate) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.MsgStructStealthActivate.creator": + case "structs.structs.MsgStructBuildInitiate.creator": return x.Creator != "" - case "structs.structs.MsgStructStealthActivate.structId": - return x.StructId != "" + case "structs.structs.MsgStructBuildInitiate.playerId": + return x.PlayerId != "" + case "structs.structs.MsgStructBuildInitiate.structTypeId": + return x.StructTypeId != uint64(0) + case "structs.structs.MsgStructBuildInitiate.operatingAmbit": + return x.OperatingAmbit != 0 + case "structs.structs.MsgStructBuildInitiate.slot": + return x.Slot != uint64(0) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructStealthActivate")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructBuildInitiate")) } - panic(fmt.Errorf("message structs.structs.MsgStructStealthActivate does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructBuildInitiate does not contain field %s", fd.FullName())) } } @@ -32208,17 +31010,23 @@ func (x *fastReflection_MsgStructStealthActivate) Has(fd protoreflect.FieldDescr // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgStructStealthActivate) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_MsgStructBuildInitiate) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.MsgStructStealthActivate.creator": + case "structs.structs.MsgStructBuildInitiate.creator": x.Creator = "" - case "structs.structs.MsgStructStealthActivate.structId": - x.StructId = "" + case "structs.structs.MsgStructBuildInitiate.playerId": + x.PlayerId = "" + case "structs.structs.MsgStructBuildInitiate.structTypeId": + x.StructTypeId = uint64(0) + case "structs.structs.MsgStructBuildInitiate.operatingAmbit": + x.OperatingAmbit = 0 + case "structs.structs.MsgStructBuildInitiate.slot": + x.Slot = uint64(0) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructStealthActivate")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructBuildInitiate")) } - panic(fmt.Errorf("message structs.structs.MsgStructStealthActivate does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructBuildInitiate does not contain field %s", fd.FullName())) } } @@ -32228,19 +31036,28 @@ func (x *fastReflection_MsgStructStealthActivate) Clear(fd protoreflect.FieldDes // 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_MsgStructStealthActivate) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgStructBuildInitiate) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.MsgStructStealthActivate.creator": + case "structs.structs.MsgStructBuildInitiate.creator": value := x.Creator return protoreflect.ValueOfString(value) - case "structs.structs.MsgStructStealthActivate.structId": - value := x.StructId + case "structs.structs.MsgStructBuildInitiate.playerId": + value := x.PlayerId return protoreflect.ValueOfString(value) + case "structs.structs.MsgStructBuildInitiate.structTypeId": + value := x.StructTypeId + return protoreflect.ValueOfUint64(value) + case "structs.structs.MsgStructBuildInitiate.operatingAmbit": + value := x.OperatingAmbit + return protoreflect.ValueOfEnum((protoreflect.EnumNumber)(value)) + case "structs.structs.MsgStructBuildInitiate.slot": + value := x.Slot + return protoreflect.ValueOfUint64(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructStealthActivate")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructBuildInitiate")) } - panic(fmt.Errorf("message structs.structs.MsgStructStealthActivate does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructBuildInitiate does not contain field %s", descriptor.FullName())) } } @@ -32254,17 +31071,23 @@ func (x *fastReflection_MsgStructStealthActivate) Get(descriptor protoreflect.Fi // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgStructStealthActivate) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_MsgStructBuildInitiate) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.MsgStructStealthActivate.creator": + case "structs.structs.MsgStructBuildInitiate.creator": x.Creator = value.Interface().(string) - case "structs.structs.MsgStructStealthActivate.structId": - x.StructId = value.Interface().(string) + case "structs.structs.MsgStructBuildInitiate.playerId": + x.PlayerId = value.Interface().(string) + case "structs.structs.MsgStructBuildInitiate.structTypeId": + x.StructTypeId = value.Uint() + case "structs.structs.MsgStructBuildInitiate.operatingAmbit": + x.OperatingAmbit = (Ambit)(value.Enum()) + case "structs.structs.MsgStructBuildInitiate.slot": + x.Slot = value.Uint() default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructStealthActivate")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructBuildInitiate")) } - panic(fmt.Errorf("message structs.structs.MsgStructStealthActivate does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructBuildInitiate does not contain field %s", fd.FullName())) } } @@ -32278,44 +31101,56 @@ func (x *fastReflection_MsgStructStealthActivate) Set(fd protoreflect.FieldDescr // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgStructStealthActivate) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgStructBuildInitiate) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.MsgStructStealthActivate.creator": - panic(fmt.Errorf("field creator of message structs.structs.MsgStructStealthActivate is not mutable")) - case "structs.structs.MsgStructStealthActivate.structId": - panic(fmt.Errorf("field structId of message structs.structs.MsgStructStealthActivate is not mutable")) + case "structs.structs.MsgStructBuildInitiate.creator": + panic(fmt.Errorf("field creator of message structs.structs.MsgStructBuildInitiate is not mutable")) + case "structs.structs.MsgStructBuildInitiate.playerId": + panic(fmt.Errorf("field playerId of message structs.structs.MsgStructBuildInitiate is not mutable")) + case "structs.structs.MsgStructBuildInitiate.structTypeId": + panic(fmt.Errorf("field structTypeId of message structs.structs.MsgStructBuildInitiate is not mutable")) + case "structs.structs.MsgStructBuildInitiate.operatingAmbit": + panic(fmt.Errorf("field operatingAmbit of message structs.structs.MsgStructBuildInitiate is not mutable")) + case "structs.structs.MsgStructBuildInitiate.slot": + panic(fmt.Errorf("field slot of message structs.structs.MsgStructBuildInitiate is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructStealthActivate")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructBuildInitiate")) } - panic(fmt.Errorf("message structs.structs.MsgStructStealthActivate does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructBuildInitiate 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_MsgStructStealthActivate) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgStructBuildInitiate) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.MsgStructStealthActivate.creator": + case "structs.structs.MsgStructBuildInitiate.creator": return protoreflect.ValueOfString("") - case "structs.structs.MsgStructStealthActivate.structId": + case "structs.structs.MsgStructBuildInitiate.playerId": return protoreflect.ValueOfString("") + case "structs.structs.MsgStructBuildInitiate.structTypeId": + return protoreflect.ValueOfUint64(uint64(0)) + case "structs.structs.MsgStructBuildInitiate.operatingAmbit": + return protoreflect.ValueOfEnum(0) + case "structs.structs.MsgStructBuildInitiate.slot": + return protoreflect.ValueOfUint64(uint64(0)) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructStealthActivate")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructBuildInitiate")) } - panic(fmt.Errorf("message structs.structs.MsgStructStealthActivate does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructBuildInitiate 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_MsgStructStealthActivate) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_MsgStructBuildInitiate) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgStructStealthActivate", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgStructBuildInitiate", d.FullName())) } panic("unreachable") } @@ -32323,7 +31158,7 @@ func (x *fastReflection_MsgStructStealthActivate) WhichOneof(d protoreflect.Oneo // 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_MsgStructStealthActivate) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_MsgStructBuildInitiate) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -32334,7 +31169,7 @@ func (x *fastReflection_MsgStructStealthActivate) GetUnknown() protoreflect.RawF // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgStructStealthActivate) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_MsgStructBuildInitiate) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -32346,7 +31181,7 @@ func (x *fastReflection_MsgStructStealthActivate) SetUnknown(fields protoreflect // 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_MsgStructStealthActivate) IsValid() bool { +func (x *fastReflection_MsgStructBuildInitiate) IsValid() bool { return x != nil } @@ -32356,9 +31191,9 @@ func (x *fastReflection_MsgStructStealthActivate) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_MsgStructStealthActivate) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_MsgStructBuildInitiate) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*MsgStructStealthActivate) + x := input.Message.Interface().(*MsgStructBuildInitiate) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -32374,10 +31209,19 @@ func (x *fastReflection_MsgStructStealthActivate) ProtoMethods() *protoiface.Met if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } - l = len(x.StructId) + l = len(x.PlayerId) if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } + if x.StructTypeId != 0 { + n += 1 + runtime.Sov(uint64(x.StructTypeId)) + } + if x.OperatingAmbit != 0 { + n += 1 + runtime.Sov(uint64(x.OperatingAmbit)) + } + if x.Slot != 0 { + n += 1 + runtime.Sov(uint64(x.Slot)) + } if x.unknownFields != nil { n += len(x.unknownFields) } @@ -32388,7 +31232,7 @@ func (x *fastReflection_MsgStructStealthActivate) ProtoMethods() *protoiface.Met } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*MsgStructStealthActivate) + x := input.Message.Interface().(*MsgStructBuildInitiate) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -32407,10 +31251,25 @@ func (x *fastReflection_MsgStructStealthActivate) ProtoMethods() *protoiface.Met i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if len(x.StructId) > 0 { - i -= len(x.StructId) - copy(dAtA[i:], x.StructId) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.StructId))) + if x.Slot != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.Slot)) + i-- + dAtA[i] = 0x28 + } + if x.OperatingAmbit != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.OperatingAmbit)) + i-- + dAtA[i] = 0x20 + } + if x.StructTypeId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.StructTypeId)) + i-- + dAtA[i] = 0x18 + } + if len(x.PlayerId) > 0 { + i -= len(x.PlayerId) + copy(dAtA[i:], x.PlayerId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.PlayerId))) i-- dAtA[i] = 0x12 } @@ -32432,7 +31291,7 @@ func (x *fastReflection_MsgStructStealthActivate) ProtoMethods() *protoiface.Met }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*MsgStructStealthActivate) + x := input.Message.Interface().(*MsgStructBuildInitiate) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -32464,10 +31323,10 @@ func (x *fastReflection_MsgStructStealthActivate) ProtoMethods() *protoiface.Met fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgStructStealthActivate: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgStructBuildInitiate: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgStructStealthActivate: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgStructBuildInitiate: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -32504,7 +31363,7 @@ func (x *fastReflection_MsgStructStealthActivate) ProtoMethods() *protoiface.Met iNdEx = postIndex case 2: if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field StructId", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field PlayerId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -32532,8 +31391,65 @@ func (x *fastReflection_MsgStructStealthActivate) ProtoMethods() *protoiface.Met if postIndex > l { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - x.StructId = string(dAtA[iNdEx:postIndex]) + x.PlayerId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex + case 3: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field StructTypeId", wireType) + } + x.StructTypeId = 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.StructTypeId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 4: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field OperatingAmbit", wireType) + } + x.OperatingAmbit = 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.OperatingAmbit |= Ambit(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 5: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Slot", wireType) + } + x.Slot = 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.Slot |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } default: iNdEx = preIndex skippy, err := runtime.Skip(dAtA[iNdEx:]) @@ -32570,27 +31486,31 @@ func (x *fastReflection_MsgStructStealthActivate) ProtoMethods() *protoiface.Met } var ( - md_MsgStructStealthDeactivate protoreflect.MessageDescriptor - fd_MsgStructStealthDeactivate_creator protoreflect.FieldDescriptor - fd_MsgStructStealthDeactivate_structId protoreflect.FieldDescriptor + md_MsgStructBuildComplete protoreflect.MessageDescriptor + fd_MsgStructBuildComplete_creator protoreflect.FieldDescriptor + fd_MsgStructBuildComplete_structId protoreflect.FieldDescriptor + fd_MsgStructBuildComplete_proof protoreflect.FieldDescriptor + fd_MsgStructBuildComplete_nonce protoreflect.FieldDescriptor ) func init() { file_structs_structs_tx_proto_init() - md_MsgStructStealthDeactivate = File_structs_structs_tx_proto.Messages().ByName("MsgStructStealthDeactivate") - fd_MsgStructStealthDeactivate_creator = md_MsgStructStealthDeactivate.Fields().ByName("creator") - fd_MsgStructStealthDeactivate_structId = md_MsgStructStealthDeactivate.Fields().ByName("structId") + md_MsgStructBuildComplete = File_structs_structs_tx_proto.Messages().ByName("MsgStructBuildComplete") + fd_MsgStructBuildComplete_creator = md_MsgStructBuildComplete.Fields().ByName("creator") + fd_MsgStructBuildComplete_structId = md_MsgStructBuildComplete.Fields().ByName("structId") + fd_MsgStructBuildComplete_proof = md_MsgStructBuildComplete.Fields().ByName("proof") + fd_MsgStructBuildComplete_nonce = md_MsgStructBuildComplete.Fields().ByName("nonce") } -var _ protoreflect.Message = (*fastReflection_MsgStructStealthDeactivate)(nil) +var _ protoreflect.Message = (*fastReflection_MsgStructBuildComplete)(nil) -type fastReflection_MsgStructStealthDeactivate MsgStructStealthDeactivate +type fastReflection_MsgStructBuildComplete MsgStructBuildComplete -func (x *MsgStructStealthDeactivate) ProtoReflect() protoreflect.Message { - return (*fastReflection_MsgStructStealthDeactivate)(x) +func (x *MsgStructBuildComplete) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgStructBuildComplete)(x) } -func (x *MsgStructStealthDeactivate) slowProtoReflect() protoreflect.Message { +func (x *MsgStructBuildComplete) slowProtoReflect() protoreflect.Message { mi := &file_structs_structs_tx_proto_msgTypes[62] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -32602,43 +31522,43 @@ func (x *MsgStructStealthDeactivate) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_MsgStructStealthDeactivate_messageType fastReflection_MsgStructStealthDeactivate_messageType -var _ protoreflect.MessageType = fastReflection_MsgStructStealthDeactivate_messageType{} +var _fastReflection_MsgStructBuildComplete_messageType fastReflection_MsgStructBuildComplete_messageType +var _ protoreflect.MessageType = fastReflection_MsgStructBuildComplete_messageType{} -type fastReflection_MsgStructStealthDeactivate_messageType struct{} +type fastReflection_MsgStructBuildComplete_messageType struct{} -func (x fastReflection_MsgStructStealthDeactivate_messageType) Zero() protoreflect.Message { - return (*fastReflection_MsgStructStealthDeactivate)(nil) +func (x fastReflection_MsgStructBuildComplete_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgStructBuildComplete)(nil) } -func (x fastReflection_MsgStructStealthDeactivate_messageType) New() protoreflect.Message { - return new(fastReflection_MsgStructStealthDeactivate) +func (x fastReflection_MsgStructBuildComplete_messageType) New() protoreflect.Message { + return new(fastReflection_MsgStructBuildComplete) } -func (x fastReflection_MsgStructStealthDeactivate_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_MsgStructStealthDeactivate +func (x fastReflection_MsgStructBuildComplete_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgStructBuildComplete } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_MsgStructStealthDeactivate) Descriptor() protoreflect.MessageDescriptor { - return md_MsgStructStealthDeactivate +func (x *fastReflection_MsgStructBuildComplete) Descriptor() protoreflect.MessageDescriptor { + return md_MsgStructBuildComplete } // 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_MsgStructStealthDeactivate) Type() protoreflect.MessageType { - return _fastReflection_MsgStructStealthDeactivate_messageType +func (x *fastReflection_MsgStructBuildComplete) Type() protoreflect.MessageType { + return _fastReflection_MsgStructBuildComplete_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_MsgStructStealthDeactivate) New() protoreflect.Message { - return new(fastReflection_MsgStructStealthDeactivate) +func (x *fastReflection_MsgStructBuildComplete) New() protoreflect.Message { + return new(fastReflection_MsgStructBuildComplete) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_MsgStructStealthDeactivate) Interface() protoreflect.ProtoMessage { - return (*MsgStructStealthDeactivate)(x) +func (x *fastReflection_MsgStructBuildComplete) Interface() protoreflect.ProtoMessage { + return (*MsgStructBuildComplete)(x) } // Range iterates over every populated field in an undefined order, @@ -32646,16 +31566,28 @@ func (x *fastReflection_MsgStructStealthDeactivate) Interface() protoreflect.Pro // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_MsgStructStealthDeactivate) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +func (x *fastReflection_MsgStructBuildComplete) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { if x.Creator != "" { value := protoreflect.ValueOfString(x.Creator) - if !f(fd_MsgStructStealthDeactivate_creator, value) { + if !f(fd_MsgStructBuildComplete_creator, value) { return } } if x.StructId != "" { value := protoreflect.ValueOfString(x.StructId) - if !f(fd_MsgStructStealthDeactivate_structId, value) { + if !f(fd_MsgStructBuildComplete_structId, value) { + return + } + } + if x.Proof != "" { + value := protoreflect.ValueOfString(x.Proof) + if !f(fd_MsgStructBuildComplete_proof, value) { + return + } + } + if x.Nonce != "" { + value := protoreflect.ValueOfString(x.Nonce) + if !f(fd_MsgStructBuildComplete_nonce, value) { return } } @@ -32672,17 +31604,21 @@ func (x *fastReflection_MsgStructStealthDeactivate) Range(f func(protoreflect.Fi // 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_MsgStructStealthDeactivate) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_MsgStructBuildComplete) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.MsgStructStealthDeactivate.creator": + case "structs.structs.MsgStructBuildComplete.creator": return x.Creator != "" - case "structs.structs.MsgStructStealthDeactivate.structId": + case "structs.structs.MsgStructBuildComplete.structId": return x.StructId != "" + case "structs.structs.MsgStructBuildComplete.proof": + return x.Proof != "" + case "structs.structs.MsgStructBuildComplete.nonce": + return x.Nonce != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructStealthDeactivate")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructBuildComplete")) } - panic(fmt.Errorf("message structs.structs.MsgStructStealthDeactivate does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructBuildComplete does not contain field %s", fd.FullName())) } } @@ -32692,17 +31628,21 @@ func (x *fastReflection_MsgStructStealthDeactivate) Has(fd protoreflect.FieldDes // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgStructStealthDeactivate) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_MsgStructBuildComplete) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.MsgStructStealthDeactivate.creator": + case "structs.structs.MsgStructBuildComplete.creator": x.Creator = "" - case "structs.structs.MsgStructStealthDeactivate.structId": + case "structs.structs.MsgStructBuildComplete.structId": x.StructId = "" + case "structs.structs.MsgStructBuildComplete.proof": + x.Proof = "" + case "structs.structs.MsgStructBuildComplete.nonce": + x.Nonce = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructStealthDeactivate")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructBuildComplete")) } - panic(fmt.Errorf("message structs.structs.MsgStructStealthDeactivate does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructBuildComplete does not contain field %s", fd.FullName())) } } @@ -32712,19 +31652,25 @@ func (x *fastReflection_MsgStructStealthDeactivate) Clear(fd protoreflect.FieldD // 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_MsgStructStealthDeactivate) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgStructBuildComplete) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.MsgStructStealthDeactivate.creator": + case "structs.structs.MsgStructBuildComplete.creator": value := x.Creator return protoreflect.ValueOfString(value) - case "structs.structs.MsgStructStealthDeactivate.structId": + case "structs.structs.MsgStructBuildComplete.structId": value := x.StructId return protoreflect.ValueOfString(value) + case "structs.structs.MsgStructBuildComplete.proof": + value := x.Proof + return protoreflect.ValueOfString(value) + case "structs.structs.MsgStructBuildComplete.nonce": + value := x.Nonce + return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructStealthDeactivate")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructBuildComplete")) } - panic(fmt.Errorf("message structs.structs.MsgStructStealthDeactivate does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructBuildComplete does not contain field %s", descriptor.FullName())) } } @@ -32738,17 +31684,21 @@ func (x *fastReflection_MsgStructStealthDeactivate) Get(descriptor protoreflect. // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgStructStealthDeactivate) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_MsgStructBuildComplete) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.MsgStructStealthDeactivate.creator": + case "structs.structs.MsgStructBuildComplete.creator": x.Creator = value.Interface().(string) - case "structs.structs.MsgStructStealthDeactivate.structId": + case "structs.structs.MsgStructBuildComplete.structId": x.StructId = value.Interface().(string) + case "structs.structs.MsgStructBuildComplete.proof": + x.Proof = value.Interface().(string) + case "structs.structs.MsgStructBuildComplete.nonce": + x.Nonce = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructStealthDeactivate")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructBuildComplete")) } - panic(fmt.Errorf("message structs.structs.MsgStructStealthDeactivate does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructBuildComplete does not contain field %s", fd.FullName())) } } @@ -32762,44 +31712,52 @@ func (x *fastReflection_MsgStructStealthDeactivate) Set(fd protoreflect.FieldDes // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgStructStealthDeactivate) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgStructBuildComplete) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.MsgStructStealthDeactivate.creator": - panic(fmt.Errorf("field creator of message structs.structs.MsgStructStealthDeactivate is not mutable")) - case "structs.structs.MsgStructStealthDeactivate.structId": - panic(fmt.Errorf("field structId of message structs.structs.MsgStructStealthDeactivate is not mutable")) + case "structs.structs.MsgStructBuildComplete.creator": + panic(fmt.Errorf("field creator of message structs.structs.MsgStructBuildComplete is not mutable")) + case "structs.structs.MsgStructBuildComplete.structId": + panic(fmt.Errorf("field structId of message structs.structs.MsgStructBuildComplete is not mutable")) + case "structs.structs.MsgStructBuildComplete.proof": + panic(fmt.Errorf("field proof of message structs.structs.MsgStructBuildComplete is not mutable")) + case "structs.structs.MsgStructBuildComplete.nonce": + panic(fmt.Errorf("field nonce of message structs.structs.MsgStructBuildComplete is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructStealthDeactivate")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructBuildComplete")) } - panic(fmt.Errorf("message structs.structs.MsgStructStealthDeactivate does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructBuildComplete 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_MsgStructStealthDeactivate) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgStructBuildComplete) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.MsgStructStealthDeactivate.creator": + case "structs.structs.MsgStructBuildComplete.creator": return protoreflect.ValueOfString("") - case "structs.structs.MsgStructStealthDeactivate.structId": + case "structs.structs.MsgStructBuildComplete.structId": + return protoreflect.ValueOfString("") + case "structs.structs.MsgStructBuildComplete.proof": + return protoreflect.ValueOfString("") + case "structs.structs.MsgStructBuildComplete.nonce": return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructStealthDeactivate")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructBuildComplete")) } - panic(fmt.Errorf("message structs.structs.MsgStructStealthDeactivate does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructBuildComplete 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_MsgStructStealthDeactivate) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_MsgStructBuildComplete) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgStructStealthDeactivate", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgStructBuildComplete", d.FullName())) } panic("unreachable") } @@ -32807,7 +31765,7 @@ func (x *fastReflection_MsgStructStealthDeactivate) WhichOneof(d protoreflect.On // 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_MsgStructStealthDeactivate) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_MsgStructBuildComplete) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -32818,7 +31776,7 @@ func (x *fastReflection_MsgStructStealthDeactivate) GetUnknown() protoreflect.Ra // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgStructStealthDeactivate) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_MsgStructBuildComplete) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -32830,7 +31788,7 @@ func (x *fastReflection_MsgStructStealthDeactivate) SetUnknown(fields protorefle // 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_MsgStructStealthDeactivate) IsValid() bool { +func (x *fastReflection_MsgStructBuildComplete) IsValid() bool { return x != nil } @@ -32840,9 +31798,9 @@ func (x *fastReflection_MsgStructStealthDeactivate) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_MsgStructStealthDeactivate) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_MsgStructBuildComplete) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*MsgStructStealthDeactivate) + x := input.Message.Interface().(*MsgStructBuildComplete) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -32862,6 +31820,14 @@ func (x *fastReflection_MsgStructStealthDeactivate) ProtoMethods() *protoiface.M if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } + l = len(x.Proof) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.Nonce) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } if x.unknownFields != nil { n += len(x.unknownFields) } @@ -32872,7 +31838,7 @@ func (x *fastReflection_MsgStructStealthDeactivate) ProtoMethods() *protoiface.M } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*MsgStructStealthDeactivate) + x := input.Message.Interface().(*MsgStructBuildComplete) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -32891,6 +31857,20 @@ func (x *fastReflection_MsgStructStealthDeactivate) ProtoMethods() *protoiface.M i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } + if len(x.Nonce) > 0 { + i -= len(x.Nonce) + copy(dAtA[i:], x.Nonce) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Nonce))) + i-- + dAtA[i] = 0x22 + } + if len(x.Proof) > 0 { + i -= len(x.Proof) + copy(dAtA[i:], x.Proof) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Proof))) + i-- + dAtA[i] = 0x1a + } if len(x.StructId) > 0 { i -= len(x.StructId) copy(dAtA[i:], x.StructId) @@ -32916,7 +31896,7 @@ func (x *fastReflection_MsgStructStealthDeactivate) ProtoMethods() *protoiface.M }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*MsgStructStealthDeactivate) + x := input.Message.Interface().(*MsgStructBuildComplete) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -32948,10 +31928,10 @@ func (x *fastReflection_MsgStructStealthDeactivate) ProtoMethods() *protoiface.M fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgStructStealthDeactivate: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgStructBuildComplete: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgStructStealthDeactivate: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgStructBuildComplete: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -33018,6 +31998,70 @@ func (x *fastReflection_MsgStructStealthDeactivate) ProtoMethods() *protoiface.M } x.StructId = 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 Proof", 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.Proof = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Nonce", 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.Nonce = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := runtime.Skip(dAtA[iNdEx:]) @@ -33054,29 +32098,27 @@ func (x *fastReflection_MsgStructStealthDeactivate) ProtoMethods() *protoiface.M } var ( - md_MsgStructGeneratorInfuse protoreflect.MessageDescriptor - fd_MsgStructGeneratorInfuse_creator protoreflect.FieldDescriptor - fd_MsgStructGeneratorInfuse_structId protoreflect.FieldDescriptor - fd_MsgStructGeneratorInfuse_infuseAmount protoreflect.FieldDescriptor + md_MsgStructBuildCancel protoreflect.MessageDescriptor + fd_MsgStructBuildCancel_creator protoreflect.FieldDescriptor + fd_MsgStructBuildCancel_structId protoreflect.FieldDescriptor ) func init() { file_structs_structs_tx_proto_init() - md_MsgStructGeneratorInfuse = File_structs_structs_tx_proto.Messages().ByName("MsgStructGeneratorInfuse") - fd_MsgStructGeneratorInfuse_creator = md_MsgStructGeneratorInfuse.Fields().ByName("creator") - fd_MsgStructGeneratorInfuse_structId = md_MsgStructGeneratorInfuse.Fields().ByName("structId") - fd_MsgStructGeneratorInfuse_infuseAmount = md_MsgStructGeneratorInfuse.Fields().ByName("infuseAmount") + md_MsgStructBuildCancel = File_structs_structs_tx_proto.Messages().ByName("MsgStructBuildCancel") + fd_MsgStructBuildCancel_creator = md_MsgStructBuildCancel.Fields().ByName("creator") + fd_MsgStructBuildCancel_structId = md_MsgStructBuildCancel.Fields().ByName("structId") } -var _ protoreflect.Message = (*fastReflection_MsgStructGeneratorInfuse)(nil) +var _ protoreflect.Message = (*fastReflection_MsgStructBuildCancel)(nil) -type fastReflection_MsgStructGeneratorInfuse MsgStructGeneratorInfuse +type fastReflection_MsgStructBuildCancel MsgStructBuildCancel -func (x *MsgStructGeneratorInfuse) ProtoReflect() protoreflect.Message { - return (*fastReflection_MsgStructGeneratorInfuse)(x) +func (x *MsgStructBuildCancel) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgStructBuildCancel)(x) } -func (x *MsgStructGeneratorInfuse) slowProtoReflect() protoreflect.Message { +func (x *MsgStructBuildCancel) slowProtoReflect() protoreflect.Message { mi := &file_structs_structs_tx_proto_msgTypes[63] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -33088,43 +32130,43 @@ func (x *MsgStructGeneratorInfuse) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_MsgStructGeneratorInfuse_messageType fastReflection_MsgStructGeneratorInfuse_messageType -var _ protoreflect.MessageType = fastReflection_MsgStructGeneratorInfuse_messageType{} +var _fastReflection_MsgStructBuildCancel_messageType fastReflection_MsgStructBuildCancel_messageType +var _ protoreflect.MessageType = fastReflection_MsgStructBuildCancel_messageType{} -type fastReflection_MsgStructGeneratorInfuse_messageType struct{} +type fastReflection_MsgStructBuildCancel_messageType struct{} -func (x fastReflection_MsgStructGeneratorInfuse_messageType) Zero() protoreflect.Message { - return (*fastReflection_MsgStructGeneratorInfuse)(nil) +func (x fastReflection_MsgStructBuildCancel_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgStructBuildCancel)(nil) } -func (x fastReflection_MsgStructGeneratorInfuse_messageType) New() protoreflect.Message { - return new(fastReflection_MsgStructGeneratorInfuse) +func (x fastReflection_MsgStructBuildCancel_messageType) New() protoreflect.Message { + return new(fastReflection_MsgStructBuildCancel) } -func (x fastReflection_MsgStructGeneratorInfuse_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_MsgStructGeneratorInfuse +func (x fastReflection_MsgStructBuildCancel_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgStructBuildCancel } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_MsgStructGeneratorInfuse) Descriptor() protoreflect.MessageDescriptor { - return md_MsgStructGeneratorInfuse +func (x *fastReflection_MsgStructBuildCancel) Descriptor() protoreflect.MessageDescriptor { + return md_MsgStructBuildCancel } // 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_MsgStructGeneratorInfuse) Type() protoreflect.MessageType { - return _fastReflection_MsgStructGeneratorInfuse_messageType +func (x *fastReflection_MsgStructBuildCancel) Type() protoreflect.MessageType { + return _fastReflection_MsgStructBuildCancel_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_MsgStructGeneratorInfuse) New() protoreflect.Message { - return new(fastReflection_MsgStructGeneratorInfuse) +func (x *fastReflection_MsgStructBuildCancel) New() protoreflect.Message { + return new(fastReflection_MsgStructBuildCancel) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_MsgStructGeneratorInfuse) Interface() protoreflect.ProtoMessage { - return (*MsgStructGeneratorInfuse)(x) +func (x *fastReflection_MsgStructBuildCancel) Interface() protoreflect.ProtoMessage { + return (*MsgStructBuildCancel)(x) } // Range iterates over every populated field in an undefined order, @@ -33132,22 +32174,16 @@ func (x *fastReflection_MsgStructGeneratorInfuse) Interface() protoreflect.Proto // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_MsgStructGeneratorInfuse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +func (x *fastReflection_MsgStructBuildCancel) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { if x.Creator != "" { value := protoreflect.ValueOfString(x.Creator) - if !f(fd_MsgStructGeneratorInfuse_creator, value) { + if !f(fd_MsgStructBuildCancel_creator, value) { return } } if x.StructId != "" { value := protoreflect.ValueOfString(x.StructId) - if !f(fd_MsgStructGeneratorInfuse_structId, value) { - return - } - } - if x.InfuseAmount != "" { - value := protoreflect.ValueOfString(x.InfuseAmount) - if !f(fd_MsgStructGeneratorInfuse_infuseAmount, value) { + if !f(fd_MsgStructBuildCancel_structId, value) { return } } @@ -33164,19 +32200,17 @@ func (x *fastReflection_MsgStructGeneratorInfuse) Range(f func(protoreflect.Fiel // 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_MsgStructGeneratorInfuse) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_MsgStructBuildCancel) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.MsgStructGeneratorInfuse.creator": + case "structs.structs.MsgStructBuildCancel.creator": return x.Creator != "" - case "structs.structs.MsgStructGeneratorInfuse.structId": + case "structs.structs.MsgStructBuildCancel.structId": return x.StructId != "" - case "structs.structs.MsgStructGeneratorInfuse.infuseAmount": - return x.InfuseAmount != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructGeneratorInfuse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructBuildCancel")) } - panic(fmt.Errorf("message structs.structs.MsgStructGeneratorInfuse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructBuildCancel does not contain field %s", fd.FullName())) } } @@ -33186,19 +32220,17 @@ func (x *fastReflection_MsgStructGeneratorInfuse) Has(fd protoreflect.FieldDescr // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgStructGeneratorInfuse) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_MsgStructBuildCancel) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.MsgStructGeneratorInfuse.creator": + case "structs.structs.MsgStructBuildCancel.creator": x.Creator = "" - case "structs.structs.MsgStructGeneratorInfuse.structId": + case "structs.structs.MsgStructBuildCancel.structId": x.StructId = "" - case "structs.structs.MsgStructGeneratorInfuse.infuseAmount": - x.InfuseAmount = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructGeneratorInfuse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructBuildCancel")) } - panic(fmt.Errorf("message structs.structs.MsgStructGeneratorInfuse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructBuildCancel does not contain field %s", fd.FullName())) } } @@ -33208,22 +32240,19 @@ func (x *fastReflection_MsgStructGeneratorInfuse) Clear(fd protoreflect.FieldDes // 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_MsgStructGeneratorInfuse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgStructBuildCancel) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.MsgStructGeneratorInfuse.creator": + case "structs.structs.MsgStructBuildCancel.creator": value := x.Creator return protoreflect.ValueOfString(value) - case "structs.structs.MsgStructGeneratorInfuse.structId": + case "structs.structs.MsgStructBuildCancel.structId": value := x.StructId return protoreflect.ValueOfString(value) - case "structs.structs.MsgStructGeneratorInfuse.infuseAmount": - value := x.InfuseAmount - return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructGeneratorInfuse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructBuildCancel")) } - panic(fmt.Errorf("message structs.structs.MsgStructGeneratorInfuse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructBuildCancel does not contain field %s", descriptor.FullName())) } } @@ -33237,19 +32266,17 @@ func (x *fastReflection_MsgStructGeneratorInfuse) Get(descriptor protoreflect.Fi // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgStructGeneratorInfuse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_MsgStructBuildCancel) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.MsgStructGeneratorInfuse.creator": + case "structs.structs.MsgStructBuildCancel.creator": x.Creator = value.Interface().(string) - case "structs.structs.MsgStructGeneratorInfuse.structId": + case "structs.structs.MsgStructBuildCancel.structId": x.StructId = value.Interface().(string) - case "structs.structs.MsgStructGeneratorInfuse.infuseAmount": - x.InfuseAmount = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructGeneratorInfuse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructBuildCancel")) } - panic(fmt.Errorf("message structs.structs.MsgStructGeneratorInfuse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructBuildCancel does not contain field %s", fd.FullName())) } } @@ -33263,48 +32290,44 @@ func (x *fastReflection_MsgStructGeneratorInfuse) Set(fd protoreflect.FieldDescr // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgStructGeneratorInfuse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgStructBuildCancel) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.MsgStructGeneratorInfuse.creator": - panic(fmt.Errorf("field creator of message structs.structs.MsgStructGeneratorInfuse is not mutable")) - case "structs.structs.MsgStructGeneratorInfuse.structId": - panic(fmt.Errorf("field structId of message structs.structs.MsgStructGeneratorInfuse is not mutable")) - case "structs.structs.MsgStructGeneratorInfuse.infuseAmount": - panic(fmt.Errorf("field infuseAmount of message structs.structs.MsgStructGeneratorInfuse is not mutable")) + case "structs.structs.MsgStructBuildCancel.creator": + panic(fmt.Errorf("field creator of message structs.structs.MsgStructBuildCancel is not mutable")) + case "structs.structs.MsgStructBuildCancel.structId": + panic(fmt.Errorf("field structId of message structs.structs.MsgStructBuildCancel is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructGeneratorInfuse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructBuildCancel")) } - panic(fmt.Errorf("message structs.structs.MsgStructGeneratorInfuse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructBuildCancel 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_MsgStructGeneratorInfuse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgStructBuildCancel) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.MsgStructGeneratorInfuse.creator": + case "structs.structs.MsgStructBuildCancel.creator": return protoreflect.ValueOfString("") - case "structs.structs.MsgStructGeneratorInfuse.structId": - return protoreflect.ValueOfString("") - case "structs.structs.MsgStructGeneratorInfuse.infuseAmount": + case "structs.structs.MsgStructBuildCancel.structId": return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructGeneratorInfuse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructBuildCancel")) } - panic(fmt.Errorf("message structs.structs.MsgStructGeneratorInfuse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructBuildCancel 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_MsgStructGeneratorInfuse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_MsgStructBuildCancel) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgStructGeneratorInfuse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgStructBuildCancel", d.FullName())) } panic("unreachable") } @@ -33312,7 +32335,7 @@ func (x *fastReflection_MsgStructGeneratorInfuse) WhichOneof(d protoreflect.Oneo // 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_MsgStructGeneratorInfuse) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_MsgStructBuildCancel) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -33323,7 +32346,7 @@ func (x *fastReflection_MsgStructGeneratorInfuse) GetUnknown() protoreflect.RawF // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgStructGeneratorInfuse) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_MsgStructBuildCancel) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -33335,7 +32358,7 @@ func (x *fastReflection_MsgStructGeneratorInfuse) SetUnknown(fields protoreflect // 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_MsgStructGeneratorInfuse) IsValid() bool { +func (x *fastReflection_MsgStructBuildCancel) IsValid() bool { return x != nil } @@ -33345,9 +32368,9 @@ func (x *fastReflection_MsgStructGeneratorInfuse) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_MsgStructGeneratorInfuse) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_MsgStructBuildCancel) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*MsgStructGeneratorInfuse) + x := input.Message.Interface().(*MsgStructBuildCancel) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -33367,10 +32390,6 @@ func (x *fastReflection_MsgStructGeneratorInfuse) ProtoMethods() *protoiface.Met if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } - l = len(x.InfuseAmount) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } if x.unknownFields != nil { n += len(x.unknownFields) } @@ -33381,7 +32400,7 @@ func (x *fastReflection_MsgStructGeneratorInfuse) ProtoMethods() *protoiface.Met } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*MsgStructGeneratorInfuse) + x := input.Message.Interface().(*MsgStructBuildCancel) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -33400,13 +32419,6 @@ func (x *fastReflection_MsgStructGeneratorInfuse) ProtoMethods() *protoiface.Met i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if len(x.InfuseAmount) > 0 { - i -= len(x.InfuseAmount) - copy(dAtA[i:], x.InfuseAmount) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.InfuseAmount))) - i-- - dAtA[i] = 0x1a - } if len(x.StructId) > 0 { i -= len(x.StructId) copy(dAtA[i:], x.StructId) @@ -33432,7 +32444,7 @@ func (x *fastReflection_MsgStructGeneratorInfuse) ProtoMethods() *protoiface.Met }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*MsgStructGeneratorInfuse) + x := input.Message.Interface().(*MsgStructBuildCancel) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -33464,10 +32476,10 @@ func (x *fastReflection_MsgStructGeneratorInfuse) ProtoMethods() *protoiface.Met fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgStructGeneratorInfuse: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgStructBuildCancel: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgStructGeneratorInfuse: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgStructBuildCancel: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -33534,38 +32546,6 @@ func (x *fastReflection_MsgStructGeneratorInfuse) ProtoMethods() *protoiface.Met } x.StructId = 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 InfuseAmount", 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.InfuseAmount = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex default: iNdEx = preIndex skippy, err := runtime.Skip(dAtA[iNdEx:]) @@ -33602,23 +32582,37 @@ func (x *fastReflection_MsgStructGeneratorInfuse) ProtoMethods() *protoiface.Met } var ( - md_MsgStructGeneratorStatusResponse protoreflect.MessageDescriptor + md_MsgStructBuildCompleteAndStash protoreflect.MessageDescriptor + fd_MsgStructBuildCompleteAndStash_creator protoreflect.FieldDescriptor + fd_MsgStructBuildCompleteAndStash_structId protoreflect.FieldDescriptor + fd_MsgStructBuildCompleteAndStash_proof protoreflect.FieldDescriptor + fd_MsgStructBuildCompleteAndStash_nonce protoreflect.FieldDescriptor + fd_MsgStructBuildCompleteAndStash_storageDestinationId protoreflect.FieldDescriptor + fd_MsgStructBuildCompleteAndStash_storageAmbit protoreflect.FieldDescriptor + fd_MsgStructBuildCompleteAndStash_storageSlot protoreflect.FieldDescriptor ) func init() { file_structs_structs_tx_proto_init() - md_MsgStructGeneratorStatusResponse = File_structs_structs_tx_proto.Messages().ByName("MsgStructGeneratorStatusResponse") + md_MsgStructBuildCompleteAndStash = File_structs_structs_tx_proto.Messages().ByName("MsgStructBuildCompleteAndStash") + fd_MsgStructBuildCompleteAndStash_creator = md_MsgStructBuildCompleteAndStash.Fields().ByName("creator") + fd_MsgStructBuildCompleteAndStash_structId = md_MsgStructBuildCompleteAndStash.Fields().ByName("structId") + fd_MsgStructBuildCompleteAndStash_proof = md_MsgStructBuildCompleteAndStash.Fields().ByName("proof") + fd_MsgStructBuildCompleteAndStash_nonce = md_MsgStructBuildCompleteAndStash.Fields().ByName("nonce") + fd_MsgStructBuildCompleteAndStash_storageDestinationId = md_MsgStructBuildCompleteAndStash.Fields().ByName("storageDestinationId") + fd_MsgStructBuildCompleteAndStash_storageAmbit = md_MsgStructBuildCompleteAndStash.Fields().ByName("storageAmbit") + fd_MsgStructBuildCompleteAndStash_storageSlot = md_MsgStructBuildCompleteAndStash.Fields().ByName("storageSlot") } -var _ protoreflect.Message = (*fastReflection_MsgStructGeneratorStatusResponse)(nil) +var _ protoreflect.Message = (*fastReflection_MsgStructBuildCompleteAndStash)(nil) -type fastReflection_MsgStructGeneratorStatusResponse MsgStructGeneratorStatusResponse +type fastReflection_MsgStructBuildCompleteAndStash MsgStructBuildCompleteAndStash -func (x *MsgStructGeneratorStatusResponse) ProtoReflect() protoreflect.Message { - return (*fastReflection_MsgStructGeneratorStatusResponse)(x) +func (x *MsgStructBuildCompleteAndStash) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgStructBuildCompleteAndStash)(x) } -func (x *MsgStructGeneratorStatusResponse) slowProtoReflect() protoreflect.Message { +func (x *MsgStructBuildCompleteAndStash) slowProtoReflect() protoreflect.Message { mi := &file_structs_structs_tx_proto_msgTypes[64] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -33630,43 +32624,43 @@ func (x *MsgStructGeneratorStatusResponse) slowProtoReflect() protoreflect.Messa return mi.MessageOf(x) } -var _fastReflection_MsgStructGeneratorStatusResponse_messageType fastReflection_MsgStructGeneratorStatusResponse_messageType -var _ protoreflect.MessageType = fastReflection_MsgStructGeneratorStatusResponse_messageType{} +var _fastReflection_MsgStructBuildCompleteAndStash_messageType fastReflection_MsgStructBuildCompleteAndStash_messageType +var _ protoreflect.MessageType = fastReflection_MsgStructBuildCompleteAndStash_messageType{} -type fastReflection_MsgStructGeneratorStatusResponse_messageType struct{} +type fastReflection_MsgStructBuildCompleteAndStash_messageType struct{} -func (x fastReflection_MsgStructGeneratorStatusResponse_messageType) Zero() protoreflect.Message { - return (*fastReflection_MsgStructGeneratorStatusResponse)(nil) +func (x fastReflection_MsgStructBuildCompleteAndStash_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgStructBuildCompleteAndStash)(nil) } -func (x fastReflection_MsgStructGeneratorStatusResponse_messageType) New() protoreflect.Message { - return new(fastReflection_MsgStructGeneratorStatusResponse) +func (x fastReflection_MsgStructBuildCompleteAndStash_messageType) New() protoreflect.Message { + return new(fastReflection_MsgStructBuildCompleteAndStash) } -func (x fastReflection_MsgStructGeneratorStatusResponse_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_MsgStructGeneratorStatusResponse +func (x fastReflection_MsgStructBuildCompleteAndStash_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgStructBuildCompleteAndStash } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_MsgStructGeneratorStatusResponse) Descriptor() protoreflect.MessageDescriptor { - return md_MsgStructGeneratorStatusResponse +func (x *fastReflection_MsgStructBuildCompleteAndStash) Descriptor() protoreflect.MessageDescriptor { + return md_MsgStructBuildCompleteAndStash } // 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_MsgStructGeneratorStatusResponse) Type() protoreflect.MessageType { - return _fastReflection_MsgStructGeneratorStatusResponse_messageType +func (x *fastReflection_MsgStructBuildCompleteAndStash) Type() protoreflect.MessageType { + return _fastReflection_MsgStructBuildCompleteAndStash_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_MsgStructGeneratorStatusResponse) New() protoreflect.Message { - return new(fastReflection_MsgStructGeneratorStatusResponse) +func (x *fastReflection_MsgStructBuildCompleteAndStash) New() protoreflect.Message { + return new(fastReflection_MsgStructBuildCompleteAndStash) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_MsgStructGeneratorStatusResponse) Interface() protoreflect.ProtoMessage { - return (*MsgStructGeneratorStatusResponse)(x) +func (x *fastReflection_MsgStructBuildCompleteAndStash) Interface() protoreflect.ProtoMessage { + return (*MsgStructBuildCompleteAndStash)(x) } // Range iterates over every populated field in an undefined order, @@ -33674,7 +32668,49 @@ func (x *fastReflection_MsgStructGeneratorStatusResponse) Interface() protorefle // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_MsgStructGeneratorStatusResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +func (x *fastReflection_MsgStructBuildCompleteAndStash) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Creator != "" { + value := protoreflect.ValueOfString(x.Creator) + if !f(fd_MsgStructBuildCompleteAndStash_creator, value) { + return + } + } + if x.StructId != "" { + value := protoreflect.ValueOfString(x.StructId) + if !f(fd_MsgStructBuildCompleteAndStash_structId, value) { + return + } + } + if x.Proof != "" { + value := protoreflect.ValueOfString(x.Proof) + if !f(fd_MsgStructBuildCompleteAndStash_proof, value) { + return + } + } + if x.Nonce != "" { + value := protoreflect.ValueOfString(x.Nonce) + if !f(fd_MsgStructBuildCompleteAndStash_nonce, value) { + return + } + } + if x.StorageDestinationId != "" { + value := protoreflect.ValueOfString(x.StorageDestinationId) + if !f(fd_MsgStructBuildCompleteAndStash_storageDestinationId, value) { + return + } + } + if x.StorageAmbit != 0 { + value := protoreflect.ValueOfEnum((protoreflect.EnumNumber)(x.StorageAmbit)) + if !f(fd_MsgStructBuildCompleteAndStash_storageAmbit, value) { + return + } + } + if x.StorageSlot != uint64(0) { + value := protoreflect.ValueOfUint64(x.StorageSlot) + if !f(fd_MsgStructBuildCompleteAndStash_storageSlot, value) { + return + } + } } // Has reports whether a field is populated. @@ -33688,13 +32724,27 @@ func (x *fastReflection_MsgStructGeneratorStatusResponse) Range(f func(protorefl // 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_MsgStructGeneratorStatusResponse) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_MsgStructBuildCompleteAndStash) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { + case "structs.structs.MsgStructBuildCompleteAndStash.creator": + return x.Creator != "" + case "structs.structs.MsgStructBuildCompleteAndStash.structId": + return x.StructId != "" + case "structs.structs.MsgStructBuildCompleteAndStash.proof": + return x.Proof != "" + case "structs.structs.MsgStructBuildCompleteAndStash.nonce": + return x.Nonce != "" + case "structs.structs.MsgStructBuildCompleteAndStash.storageDestinationId": + return x.StorageDestinationId != "" + case "structs.structs.MsgStructBuildCompleteAndStash.storageAmbit": + return x.StorageAmbit != 0 + case "structs.structs.MsgStructBuildCompleteAndStash.storageSlot": + return x.StorageSlot != uint64(0) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructGeneratorStatusResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructBuildCompleteAndStash")) } - panic(fmt.Errorf("message structs.structs.MsgStructGeneratorStatusResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructBuildCompleteAndStash does not contain field %s", fd.FullName())) } } @@ -33704,13 +32754,27 @@ func (x *fastReflection_MsgStructGeneratorStatusResponse) Has(fd protoreflect.Fi // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgStructGeneratorStatusResponse) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_MsgStructBuildCompleteAndStash) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { + case "structs.structs.MsgStructBuildCompleteAndStash.creator": + x.Creator = "" + case "structs.structs.MsgStructBuildCompleteAndStash.structId": + x.StructId = "" + case "structs.structs.MsgStructBuildCompleteAndStash.proof": + x.Proof = "" + case "structs.structs.MsgStructBuildCompleteAndStash.nonce": + x.Nonce = "" + case "structs.structs.MsgStructBuildCompleteAndStash.storageDestinationId": + x.StorageDestinationId = "" + case "structs.structs.MsgStructBuildCompleteAndStash.storageAmbit": + x.StorageAmbit = 0 + case "structs.structs.MsgStructBuildCompleteAndStash.storageSlot": + x.StorageSlot = uint64(0) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructGeneratorStatusResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructBuildCompleteAndStash")) } - panic(fmt.Errorf("message structs.structs.MsgStructGeneratorStatusResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructBuildCompleteAndStash does not contain field %s", fd.FullName())) } } @@ -33720,13 +32784,34 @@ func (x *fastReflection_MsgStructGeneratorStatusResponse) Clear(fd protoreflect. // 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_MsgStructGeneratorStatusResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgStructBuildCompleteAndStash) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { + case "structs.structs.MsgStructBuildCompleteAndStash.creator": + value := x.Creator + return protoreflect.ValueOfString(value) + case "structs.structs.MsgStructBuildCompleteAndStash.structId": + value := x.StructId + return protoreflect.ValueOfString(value) + case "structs.structs.MsgStructBuildCompleteAndStash.proof": + value := x.Proof + return protoreflect.ValueOfString(value) + case "structs.structs.MsgStructBuildCompleteAndStash.nonce": + value := x.Nonce + return protoreflect.ValueOfString(value) + case "structs.structs.MsgStructBuildCompleteAndStash.storageDestinationId": + value := x.StorageDestinationId + return protoreflect.ValueOfString(value) + case "structs.structs.MsgStructBuildCompleteAndStash.storageAmbit": + value := x.StorageAmbit + return protoreflect.ValueOfEnum((protoreflect.EnumNumber)(value)) + case "structs.structs.MsgStructBuildCompleteAndStash.storageSlot": + value := x.StorageSlot + return protoreflect.ValueOfUint64(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructGeneratorStatusResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructBuildCompleteAndStash")) } - panic(fmt.Errorf("message structs.structs.MsgStructGeneratorStatusResponse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructBuildCompleteAndStash does not contain field %s", descriptor.FullName())) } } @@ -33740,13 +32825,27 @@ func (x *fastReflection_MsgStructGeneratorStatusResponse) Get(descriptor protore // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgStructGeneratorStatusResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_MsgStructBuildCompleteAndStash) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { + case "structs.structs.MsgStructBuildCompleteAndStash.creator": + x.Creator = value.Interface().(string) + case "structs.structs.MsgStructBuildCompleteAndStash.structId": + x.StructId = value.Interface().(string) + case "structs.structs.MsgStructBuildCompleteAndStash.proof": + x.Proof = value.Interface().(string) + case "structs.structs.MsgStructBuildCompleteAndStash.nonce": + x.Nonce = value.Interface().(string) + case "structs.structs.MsgStructBuildCompleteAndStash.storageDestinationId": + x.StorageDestinationId = value.Interface().(string) + case "structs.structs.MsgStructBuildCompleteAndStash.storageAmbit": + x.StorageAmbit = (Ambit)(value.Enum()) + case "structs.structs.MsgStructBuildCompleteAndStash.storageSlot": + x.StorageSlot = value.Uint() default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructGeneratorStatusResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructBuildCompleteAndStash")) } - panic(fmt.Errorf("message structs.structs.MsgStructGeneratorStatusResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructBuildCompleteAndStash does not contain field %s", fd.FullName())) } } @@ -33760,36 +32859,64 @@ func (x *fastReflection_MsgStructGeneratorStatusResponse) Set(fd protoreflect.Fi // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgStructGeneratorStatusResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgStructBuildCompleteAndStash) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { + case "structs.structs.MsgStructBuildCompleteAndStash.creator": + panic(fmt.Errorf("field creator of message structs.structs.MsgStructBuildCompleteAndStash is not mutable")) + case "structs.structs.MsgStructBuildCompleteAndStash.structId": + panic(fmt.Errorf("field structId of message structs.structs.MsgStructBuildCompleteAndStash is not mutable")) + case "structs.structs.MsgStructBuildCompleteAndStash.proof": + panic(fmt.Errorf("field proof of message structs.structs.MsgStructBuildCompleteAndStash is not mutable")) + case "structs.structs.MsgStructBuildCompleteAndStash.nonce": + panic(fmt.Errorf("field nonce of message structs.structs.MsgStructBuildCompleteAndStash is not mutable")) + case "structs.structs.MsgStructBuildCompleteAndStash.storageDestinationId": + panic(fmt.Errorf("field storageDestinationId of message structs.structs.MsgStructBuildCompleteAndStash is not mutable")) + case "structs.structs.MsgStructBuildCompleteAndStash.storageAmbit": + panic(fmt.Errorf("field storageAmbit of message structs.structs.MsgStructBuildCompleteAndStash is not mutable")) + case "structs.structs.MsgStructBuildCompleteAndStash.storageSlot": + panic(fmt.Errorf("field storageSlot of message structs.structs.MsgStructBuildCompleteAndStash is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructGeneratorStatusResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructBuildCompleteAndStash")) } - panic(fmt.Errorf("message structs.structs.MsgStructGeneratorStatusResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructBuildCompleteAndStash 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_MsgStructGeneratorStatusResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgStructBuildCompleteAndStash) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { + case "structs.structs.MsgStructBuildCompleteAndStash.creator": + return protoreflect.ValueOfString("") + case "structs.structs.MsgStructBuildCompleteAndStash.structId": + return protoreflect.ValueOfString("") + case "structs.structs.MsgStructBuildCompleteAndStash.proof": + return protoreflect.ValueOfString("") + case "structs.structs.MsgStructBuildCompleteAndStash.nonce": + return protoreflect.ValueOfString("") + case "structs.structs.MsgStructBuildCompleteAndStash.storageDestinationId": + return protoreflect.ValueOfString("") + case "structs.structs.MsgStructBuildCompleteAndStash.storageAmbit": + return protoreflect.ValueOfEnum(0) + case "structs.structs.MsgStructBuildCompleteAndStash.storageSlot": + return protoreflect.ValueOfUint64(uint64(0)) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructGeneratorStatusResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructBuildCompleteAndStash")) } - panic(fmt.Errorf("message structs.structs.MsgStructGeneratorStatusResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructBuildCompleteAndStash 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_MsgStructGeneratorStatusResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_MsgStructBuildCompleteAndStash) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgStructGeneratorStatusResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgStructBuildCompleteAndStash", d.FullName())) } panic("unreachable") } @@ -33797,7 +32924,7 @@ func (x *fastReflection_MsgStructGeneratorStatusResponse) WhichOneof(d protorefl // 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_MsgStructGeneratorStatusResponse) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_MsgStructBuildCompleteAndStash) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -33808,7 +32935,7 @@ func (x *fastReflection_MsgStructGeneratorStatusResponse) GetUnknown() protorefl // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgStructGeneratorStatusResponse) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_MsgStructBuildCompleteAndStash) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -33820,7 +32947,7 @@ func (x *fastReflection_MsgStructGeneratorStatusResponse) SetUnknown(fields prot // 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_MsgStructGeneratorStatusResponse) IsValid() bool { +func (x *fastReflection_MsgStructBuildCompleteAndStash) IsValid() bool { return x != nil } @@ -33830,9 +32957,9 @@ func (x *fastReflection_MsgStructGeneratorStatusResponse) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_MsgStructGeneratorStatusResponse) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_MsgStructBuildCompleteAndStash) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*MsgStructGeneratorStatusResponse) + x := input.Message.Interface().(*MsgStructBuildCompleteAndStash) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -33844,6 +32971,32 @@ func (x *fastReflection_MsgStructGeneratorStatusResponse) ProtoMethods() *protoi var n int var l int _ = l + l = len(x.Creator) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.StructId) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.Proof) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.Nonce) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.StorageDestinationId) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.StorageAmbit != 0 { + n += 1 + runtime.Sov(uint64(x.StorageAmbit)) + } + if x.StorageSlot != 0 { + n += 1 + runtime.Sov(uint64(x.StorageSlot)) + } if x.unknownFields != nil { n += len(x.unknownFields) } @@ -33854,7 +33007,7 @@ func (x *fastReflection_MsgStructGeneratorStatusResponse) ProtoMethods() *protoi } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*MsgStructGeneratorStatusResponse) + x := input.Message.Interface().(*MsgStructBuildCompleteAndStash) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -33873,6 +33026,51 @@ func (x *fastReflection_MsgStructGeneratorStatusResponse) ProtoMethods() *protoi i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } + if x.StorageSlot != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.StorageSlot)) + i-- + dAtA[i] = 0x38 + } + if x.StorageAmbit != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.StorageAmbit)) + i-- + dAtA[i] = 0x30 + } + if len(x.StorageDestinationId) > 0 { + i -= len(x.StorageDestinationId) + copy(dAtA[i:], x.StorageDestinationId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.StorageDestinationId))) + i-- + dAtA[i] = 0x2a + } + if len(x.Nonce) > 0 { + i -= len(x.Nonce) + copy(dAtA[i:], x.Nonce) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Nonce))) + i-- + dAtA[i] = 0x22 + } + if len(x.Proof) > 0 { + i -= len(x.Proof) + copy(dAtA[i:], x.Proof) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Proof))) + i-- + dAtA[i] = 0x1a + } + if len(x.StructId) > 0 { + i -= len(x.StructId) + copy(dAtA[i:], x.StructId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.StructId))) + i-- + dAtA[i] = 0x12 + } + if len(x.Creator) > 0 { + i -= len(x.Creator) + copy(dAtA[i:], x.Creator) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Creator))) + i-- + dAtA[i] = 0xa + } if input.Buf != nil { input.Buf = append(input.Buf, dAtA...) } else { @@ -33884,7 +33082,7 @@ func (x *fastReflection_MsgStructGeneratorStatusResponse) ProtoMethods() *protoi }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*MsgStructGeneratorStatusResponse) + x := input.Message.Interface().(*MsgStructBuildCompleteAndStash) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -33916,150 +33114,340 @@ func (x *fastReflection_MsgStructGeneratorStatusResponse) ProtoMethods() *protoi fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgStructGeneratorStatusResponse: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgStructBuildCompleteAndStash: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgStructGeneratorStatusResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgStructBuildCompleteAndStash: 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 + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType) } - if (skippy < 0) || (iNdEx+skippy) < 0 { + 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 } - if (iNdEx + skippy) > l { + 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 } - if !options.DiscardUnknown { - x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + x.Creator = 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 StructId", wireType) } - 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_MsgStructOreMinerComplete protoreflect.MessageDescriptor - fd_MsgStructOreMinerComplete_creator protoreflect.FieldDescriptor - fd_MsgStructOreMinerComplete_structId protoreflect.FieldDescriptor - fd_MsgStructOreMinerComplete_proof protoreflect.FieldDescriptor - fd_MsgStructOreMinerComplete_nonce protoreflect.FieldDescriptor -) - -func init() { - file_structs_structs_tx_proto_init() - md_MsgStructOreMinerComplete = File_structs_structs_tx_proto.Messages().ByName("MsgStructOreMinerComplete") - fd_MsgStructOreMinerComplete_creator = md_MsgStructOreMinerComplete.Fields().ByName("creator") - fd_MsgStructOreMinerComplete_structId = md_MsgStructOreMinerComplete.Fields().ByName("structId") - fd_MsgStructOreMinerComplete_proof = md_MsgStructOreMinerComplete.Fields().ByName("proof") - fd_MsgStructOreMinerComplete_nonce = md_MsgStructOreMinerComplete.Fields().ByName("nonce") -} - -var _ protoreflect.Message = (*fastReflection_MsgStructOreMinerComplete)(nil) - -type fastReflection_MsgStructOreMinerComplete MsgStructOreMinerComplete - -func (x *MsgStructOreMinerComplete) ProtoReflect() protoreflect.Message { - return (*fastReflection_MsgStructOreMinerComplete)(x) -} - -func (x *MsgStructOreMinerComplete) slowProtoReflect() protoreflect.Message { - mi := &file_structs_structs_tx_proto_msgTypes[65] - 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_MsgStructOreMinerComplete_messageType fastReflection_MsgStructOreMinerComplete_messageType -var _ protoreflect.MessageType = fastReflection_MsgStructOreMinerComplete_messageType{} - -type fastReflection_MsgStructOreMinerComplete_messageType struct{} - -func (x fastReflection_MsgStructOreMinerComplete_messageType) Zero() protoreflect.Message { - return (*fastReflection_MsgStructOreMinerComplete)(nil) -} -func (x fastReflection_MsgStructOreMinerComplete_messageType) New() protoreflect.Message { - return new(fastReflection_MsgStructOreMinerComplete) -} -func (x fastReflection_MsgStructOreMinerComplete_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_MsgStructOreMinerComplete -} - -// Descriptor returns message descriptor, which contains only the protobuf -// type information for the message. -func (x *fastReflection_MsgStructOreMinerComplete) Descriptor() protoreflect.MessageDescriptor { - return md_MsgStructOreMinerComplete -} - -// 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_MsgStructOreMinerComplete) Type() protoreflect.MessageType { - return _fastReflection_MsgStructOreMinerComplete_messageType -} - -// New returns a newly allocated and mutable empty message. -func (x *fastReflection_MsgStructOreMinerComplete) New() protoreflect.Message { - return new(fastReflection_MsgStructOreMinerComplete) -} - -// Interface unwraps the message reflection interface and -// returns the underlying ProtoMessage interface. -func (x *fastReflection_MsgStructOreMinerComplete) Interface() protoreflect.ProtoMessage { - return (*MsgStructOreMinerComplete)(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_MsgStructOreMinerComplete) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.Creator != "" { - value := protoreflect.ValueOfString(x.Creator) - if !f(fd_MsgStructOreMinerComplete_creator, value) { - return - } - } - if x.StructId != "" { - value := protoreflect.ValueOfString(x.StructId) - if !f(fd_MsgStructOreMinerComplete_structId, value) { - return + 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.StructId = 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 Proof", 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.Proof = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Nonce", 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.Nonce = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 5: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field StorageDestinationId", 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.StorageDestinationId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 6: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field StorageAmbit", wireType) + } + x.StorageAmbit = 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.StorageAmbit |= Ambit(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 7: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field StorageSlot", wireType) + } + x.StorageSlot = 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.StorageSlot |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + 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 } - if x.Proof != "" { - value := protoreflect.ValueOfString(x.Proof) - if !f(fd_MsgStructOreMinerComplete_proof, value) { + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_MsgStructDefenseSet protoreflect.MessageDescriptor + fd_MsgStructDefenseSet_creator protoreflect.FieldDescriptor + fd_MsgStructDefenseSet_defenderStructId protoreflect.FieldDescriptor + fd_MsgStructDefenseSet_protectedStructId protoreflect.FieldDescriptor +) + +func init() { + file_structs_structs_tx_proto_init() + md_MsgStructDefenseSet = File_structs_structs_tx_proto.Messages().ByName("MsgStructDefenseSet") + fd_MsgStructDefenseSet_creator = md_MsgStructDefenseSet.Fields().ByName("creator") + fd_MsgStructDefenseSet_defenderStructId = md_MsgStructDefenseSet.Fields().ByName("defenderStructId") + fd_MsgStructDefenseSet_protectedStructId = md_MsgStructDefenseSet.Fields().ByName("protectedStructId") +} + +var _ protoreflect.Message = (*fastReflection_MsgStructDefenseSet)(nil) + +type fastReflection_MsgStructDefenseSet MsgStructDefenseSet + +func (x *MsgStructDefenseSet) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgStructDefenseSet)(x) +} + +func (x *MsgStructDefenseSet) slowProtoReflect() protoreflect.Message { + mi := &file_structs_structs_tx_proto_msgTypes[65] + 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_MsgStructDefenseSet_messageType fastReflection_MsgStructDefenseSet_messageType +var _ protoreflect.MessageType = fastReflection_MsgStructDefenseSet_messageType{} + +type fastReflection_MsgStructDefenseSet_messageType struct{} + +func (x fastReflection_MsgStructDefenseSet_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgStructDefenseSet)(nil) +} +func (x fastReflection_MsgStructDefenseSet_messageType) New() protoreflect.Message { + return new(fastReflection_MsgStructDefenseSet) +} +func (x fastReflection_MsgStructDefenseSet_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgStructDefenseSet +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_MsgStructDefenseSet) Descriptor() protoreflect.MessageDescriptor { + return md_MsgStructDefenseSet +} + +// 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_MsgStructDefenseSet) Type() protoreflect.MessageType { + return _fastReflection_MsgStructDefenseSet_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_MsgStructDefenseSet) New() protoreflect.Message { + return new(fastReflection_MsgStructDefenseSet) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_MsgStructDefenseSet) Interface() protoreflect.ProtoMessage { + return (*MsgStructDefenseSet)(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_MsgStructDefenseSet) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Creator != "" { + value := protoreflect.ValueOfString(x.Creator) + if !f(fd_MsgStructDefenseSet_creator, value) { return } } - if x.Nonce != "" { - value := protoreflect.ValueOfString(x.Nonce) - if !f(fd_MsgStructOreMinerComplete_nonce, value) { + if x.DefenderStructId != "" { + value := protoreflect.ValueOfString(x.DefenderStructId) + if !f(fd_MsgStructDefenseSet_defenderStructId, value) { + return + } + } + if x.ProtectedStructId != "" { + value := protoreflect.ValueOfString(x.ProtectedStructId) + if !f(fd_MsgStructDefenseSet_protectedStructId, value) { return } } @@ -34076,21 +33464,19 @@ func (x *fastReflection_MsgStructOreMinerComplete) Range(f func(protoreflect.Fie // 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_MsgStructOreMinerComplete) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_MsgStructDefenseSet) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.MsgStructOreMinerComplete.creator": + case "structs.structs.MsgStructDefenseSet.creator": return x.Creator != "" - case "structs.structs.MsgStructOreMinerComplete.structId": - return x.StructId != "" - case "structs.structs.MsgStructOreMinerComplete.proof": - return x.Proof != "" - case "structs.structs.MsgStructOreMinerComplete.nonce": - return x.Nonce != "" + case "structs.structs.MsgStructDefenseSet.defenderStructId": + return x.DefenderStructId != "" + case "structs.structs.MsgStructDefenseSet.protectedStructId": + return x.ProtectedStructId != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructOreMinerComplete")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructDefenseSet")) } - panic(fmt.Errorf("message structs.structs.MsgStructOreMinerComplete does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructDefenseSet does not contain field %s", fd.FullName())) } } @@ -34100,21 +33486,19 @@ func (x *fastReflection_MsgStructOreMinerComplete) Has(fd protoreflect.FieldDesc // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgStructOreMinerComplete) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_MsgStructDefenseSet) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.MsgStructOreMinerComplete.creator": + case "structs.structs.MsgStructDefenseSet.creator": x.Creator = "" - case "structs.structs.MsgStructOreMinerComplete.structId": - x.StructId = "" - case "structs.structs.MsgStructOreMinerComplete.proof": - x.Proof = "" - case "structs.structs.MsgStructOreMinerComplete.nonce": - x.Nonce = "" + case "structs.structs.MsgStructDefenseSet.defenderStructId": + x.DefenderStructId = "" + case "structs.structs.MsgStructDefenseSet.protectedStructId": + x.ProtectedStructId = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructOreMinerComplete")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructDefenseSet")) } - panic(fmt.Errorf("message structs.structs.MsgStructOreMinerComplete does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructDefenseSet does not contain field %s", fd.FullName())) } } @@ -34124,25 +33508,22 @@ func (x *fastReflection_MsgStructOreMinerComplete) Clear(fd protoreflect.FieldDe // 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_MsgStructOreMinerComplete) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgStructDefenseSet) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.MsgStructOreMinerComplete.creator": + case "structs.structs.MsgStructDefenseSet.creator": value := x.Creator return protoreflect.ValueOfString(value) - case "structs.structs.MsgStructOreMinerComplete.structId": - value := x.StructId - return protoreflect.ValueOfString(value) - case "structs.structs.MsgStructOreMinerComplete.proof": - value := x.Proof + case "structs.structs.MsgStructDefenseSet.defenderStructId": + value := x.DefenderStructId return protoreflect.ValueOfString(value) - case "structs.structs.MsgStructOreMinerComplete.nonce": - value := x.Nonce + case "structs.structs.MsgStructDefenseSet.protectedStructId": + value := x.ProtectedStructId return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructOreMinerComplete")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructDefenseSet")) } - panic(fmt.Errorf("message structs.structs.MsgStructOreMinerComplete does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructDefenseSet does not contain field %s", descriptor.FullName())) } } @@ -34156,21 +33537,19 @@ func (x *fastReflection_MsgStructOreMinerComplete) Get(descriptor protoreflect.F // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgStructOreMinerComplete) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_MsgStructDefenseSet) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.MsgStructOreMinerComplete.creator": + case "structs.structs.MsgStructDefenseSet.creator": x.Creator = value.Interface().(string) - case "structs.structs.MsgStructOreMinerComplete.structId": - x.StructId = value.Interface().(string) - case "structs.structs.MsgStructOreMinerComplete.proof": - x.Proof = value.Interface().(string) - case "structs.structs.MsgStructOreMinerComplete.nonce": - x.Nonce = value.Interface().(string) + case "structs.structs.MsgStructDefenseSet.defenderStructId": + x.DefenderStructId = value.Interface().(string) + case "structs.structs.MsgStructDefenseSet.protectedStructId": + x.ProtectedStructId = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructOreMinerComplete")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructDefenseSet")) } - panic(fmt.Errorf("message structs.structs.MsgStructOreMinerComplete does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructDefenseSet does not contain field %s", fd.FullName())) } } @@ -34184,52 +33563,48 @@ func (x *fastReflection_MsgStructOreMinerComplete) Set(fd protoreflect.FieldDesc // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgStructOreMinerComplete) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgStructDefenseSet) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.MsgStructOreMinerComplete.creator": - panic(fmt.Errorf("field creator of message structs.structs.MsgStructOreMinerComplete is not mutable")) - case "structs.structs.MsgStructOreMinerComplete.structId": - panic(fmt.Errorf("field structId of message structs.structs.MsgStructOreMinerComplete is not mutable")) - case "structs.structs.MsgStructOreMinerComplete.proof": - panic(fmt.Errorf("field proof of message structs.structs.MsgStructOreMinerComplete is not mutable")) - case "structs.structs.MsgStructOreMinerComplete.nonce": - panic(fmt.Errorf("field nonce of message structs.structs.MsgStructOreMinerComplete is not mutable")) + case "structs.structs.MsgStructDefenseSet.creator": + panic(fmt.Errorf("field creator of message structs.structs.MsgStructDefenseSet is not mutable")) + case "structs.structs.MsgStructDefenseSet.defenderStructId": + panic(fmt.Errorf("field defenderStructId of message structs.structs.MsgStructDefenseSet is not mutable")) + case "structs.structs.MsgStructDefenseSet.protectedStructId": + panic(fmt.Errorf("field protectedStructId of message structs.structs.MsgStructDefenseSet is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructOreMinerComplete")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructDefenseSet")) } - panic(fmt.Errorf("message structs.structs.MsgStructOreMinerComplete does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructDefenseSet 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_MsgStructOreMinerComplete) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgStructDefenseSet) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.MsgStructOreMinerComplete.creator": - return protoreflect.ValueOfString("") - case "structs.structs.MsgStructOreMinerComplete.structId": + case "structs.structs.MsgStructDefenseSet.creator": return protoreflect.ValueOfString("") - case "structs.structs.MsgStructOreMinerComplete.proof": + case "structs.structs.MsgStructDefenseSet.defenderStructId": return protoreflect.ValueOfString("") - case "structs.structs.MsgStructOreMinerComplete.nonce": + case "structs.structs.MsgStructDefenseSet.protectedStructId": return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructOreMinerComplete")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructDefenseSet")) } - panic(fmt.Errorf("message structs.structs.MsgStructOreMinerComplete does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructDefenseSet 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_MsgStructOreMinerComplete) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_MsgStructDefenseSet) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgStructOreMinerComplete", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgStructDefenseSet", d.FullName())) } panic("unreachable") } @@ -34237,7 +33612,7 @@ func (x *fastReflection_MsgStructOreMinerComplete) WhichOneof(d protoreflect.One // 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_MsgStructOreMinerComplete) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_MsgStructDefenseSet) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -34248,7 +33623,7 @@ func (x *fastReflection_MsgStructOreMinerComplete) GetUnknown() protoreflect.Raw // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgStructOreMinerComplete) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_MsgStructDefenseSet) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -34260,7 +33635,7 @@ func (x *fastReflection_MsgStructOreMinerComplete) SetUnknown(fields protoreflec // 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_MsgStructOreMinerComplete) IsValid() bool { +func (x *fastReflection_MsgStructDefenseSet) IsValid() bool { return x != nil } @@ -34270,9 +33645,9 @@ func (x *fastReflection_MsgStructOreMinerComplete) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_MsgStructOreMinerComplete) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_MsgStructDefenseSet) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*MsgStructOreMinerComplete) + x := input.Message.Interface().(*MsgStructDefenseSet) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -34288,15 +33663,11 @@ func (x *fastReflection_MsgStructOreMinerComplete) ProtoMethods() *protoiface.Me if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } - l = len(x.StructId) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } - l = len(x.Proof) + l = len(x.DefenderStructId) if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } - l = len(x.Nonce) + l = len(x.ProtectedStructId) if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } @@ -34310,7 +33681,7 @@ func (x *fastReflection_MsgStructOreMinerComplete) ProtoMethods() *protoiface.Me } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*MsgStructOreMinerComplete) + x := input.Message.Interface().(*MsgStructDefenseSet) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -34329,24 +33700,17 @@ func (x *fastReflection_MsgStructOreMinerComplete) ProtoMethods() *protoiface.Me i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if len(x.Nonce) > 0 { - i -= len(x.Nonce) - copy(dAtA[i:], x.Nonce) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Nonce))) - i-- - dAtA[i] = 0x22 - } - if len(x.Proof) > 0 { - i -= len(x.Proof) - copy(dAtA[i:], x.Proof) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Proof))) + if len(x.ProtectedStructId) > 0 { + i -= len(x.ProtectedStructId) + copy(dAtA[i:], x.ProtectedStructId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.ProtectedStructId))) i-- dAtA[i] = 0x1a } - if len(x.StructId) > 0 { - i -= len(x.StructId) - copy(dAtA[i:], x.StructId) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.StructId))) + if len(x.DefenderStructId) > 0 { + i -= len(x.DefenderStructId) + copy(dAtA[i:], x.DefenderStructId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.DefenderStructId))) i-- dAtA[i] = 0x12 } @@ -34368,7 +33732,7 @@ func (x *fastReflection_MsgStructOreMinerComplete) ProtoMethods() *protoiface.Me }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*MsgStructOreMinerComplete) + x := input.Message.Interface().(*MsgStructDefenseSet) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -34400,10 +33764,10 @@ func (x *fastReflection_MsgStructOreMinerComplete) ProtoMethods() *protoiface.Me fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgStructOreMinerComplete: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgStructDefenseSet: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgStructOreMinerComplete: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgStructDefenseSet: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -34440,7 +33804,7 @@ func (x *fastReflection_MsgStructOreMinerComplete) ProtoMethods() *protoiface.Me iNdEx = postIndex case 2: if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field StructId", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field DefenderStructId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -34468,43 +33832,11 @@ func (x *fastReflection_MsgStructOreMinerComplete) ProtoMethods() *protoiface.Me if postIndex > l { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - x.StructId = string(dAtA[iNdEx:postIndex]) + x.DefenderStructId = 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 Proof", 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.Proof = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Nonce", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ProtectedStructId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -34532,7 +33864,7 @@ func (x *fastReflection_MsgStructOreMinerComplete) ProtoMethods() *protoiface.Me if postIndex > l { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - x.Nonce = string(dAtA[iNdEx:postIndex]) + x.ProtectedStructId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -34570,25 +33902,27 @@ func (x *fastReflection_MsgStructOreMinerComplete) ProtoMethods() *protoiface.Me } var ( - md_MsgStructOreMinerStatusResponse protoreflect.MessageDescriptor - fd_MsgStructOreMinerStatusResponse_struct protoreflect.FieldDescriptor + md_MsgStructDefenseClear protoreflect.MessageDescriptor + fd_MsgStructDefenseClear_creator protoreflect.FieldDescriptor + fd_MsgStructDefenseClear_defenderStructId protoreflect.FieldDescriptor ) func init() { file_structs_structs_tx_proto_init() - md_MsgStructOreMinerStatusResponse = File_structs_structs_tx_proto.Messages().ByName("MsgStructOreMinerStatusResponse") - fd_MsgStructOreMinerStatusResponse_struct = md_MsgStructOreMinerStatusResponse.Fields().ByName("struct") + md_MsgStructDefenseClear = File_structs_structs_tx_proto.Messages().ByName("MsgStructDefenseClear") + fd_MsgStructDefenseClear_creator = md_MsgStructDefenseClear.Fields().ByName("creator") + fd_MsgStructDefenseClear_defenderStructId = md_MsgStructDefenseClear.Fields().ByName("defenderStructId") } -var _ protoreflect.Message = (*fastReflection_MsgStructOreMinerStatusResponse)(nil) +var _ protoreflect.Message = (*fastReflection_MsgStructDefenseClear)(nil) -type fastReflection_MsgStructOreMinerStatusResponse MsgStructOreMinerStatusResponse +type fastReflection_MsgStructDefenseClear MsgStructDefenseClear -func (x *MsgStructOreMinerStatusResponse) ProtoReflect() protoreflect.Message { - return (*fastReflection_MsgStructOreMinerStatusResponse)(x) +func (x *MsgStructDefenseClear) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgStructDefenseClear)(x) } -func (x *MsgStructOreMinerStatusResponse) slowProtoReflect() protoreflect.Message { +func (x *MsgStructDefenseClear) slowProtoReflect() protoreflect.Message { mi := &file_structs_structs_tx_proto_msgTypes[66] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -34600,43 +33934,43 @@ func (x *MsgStructOreMinerStatusResponse) slowProtoReflect() protoreflect.Messag return mi.MessageOf(x) } -var _fastReflection_MsgStructOreMinerStatusResponse_messageType fastReflection_MsgStructOreMinerStatusResponse_messageType -var _ protoreflect.MessageType = fastReflection_MsgStructOreMinerStatusResponse_messageType{} +var _fastReflection_MsgStructDefenseClear_messageType fastReflection_MsgStructDefenseClear_messageType +var _ protoreflect.MessageType = fastReflection_MsgStructDefenseClear_messageType{} -type fastReflection_MsgStructOreMinerStatusResponse_messageType struct{} +type fastReflection_MsgStructDefenseClear_messageType struct{} -func (x fastReflection_MsgStructOreMinerStatusResponse_messageType) Zero() protoreflect.Message { - return (*fastReflection_MsgStructOreMinerStatusResponse)(nil) +func (x fastReflection_MsgStructDefenseClear_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgStructDefenseClear)(nil) } -func (x fastReflection_MsgStructOreMinerStatusResponse_messageType) New() protoreflect.Message { - return new(fastReflection_MsgStructOreMinerStatusResponse) +func (x fastReflection_MsgStructDefenseClear_messageType) New() protoreflect.Message { + return new(fastReflection_MsgStructDefenseClear) } -func (x fastReflection_MsgStructOreMinerStatusResponse_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_MsgStructOreMinerStatusResponse +func (x fastReflection_MsgStructDefenseClear_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgStructDefenseClear } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_MsgStructOreMinerStatusResponse) Descriptor() protoreflect.MessageDescriptor { - return md_MsgStructOreMinerStatusResponse +func (x *fastReflection_MsgStructDefenseClear) Descriptor() protoreflect.MessageDescriptor { + return md_MsgStructDefenseClear } // 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_MsgStructOreMinerStatusResponse) Type() protoreflect.MessageType { - return _fastReflection_MsgStructOreMinerStatusResponse_messageType +func (x *fastReflection_MsgStructDefenseClear) Type() protoreflect.MessageType { + return _fastReflection_MsgStructDefenseClear_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_MsgStructOreMinerStatusResponse) New() protoreflect.Message { - return new(fastReflection_MsgStructOreMinerStatusResponse) +func (x *fastReflection_MsgStructDefenseClear) New() protoreflect.Message { + return new(fastReflection_MsgStructDefenseClear) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_MsgStructOreMinerStatusResponse) Interface() protoreflect.ProtoMessage { - return (*MsgStructOreMinerStatusResponse)(x) +func (x *fastReflection_MsgStructDefenseClear) Interface() protoreflect.ProtoMessage { + return (*MsgStructDefenseClear)(x) } // Range iterates over every populated field in an undefined order, @@ -34644,10 +33978,16 @@ func (x *fastReflection_MsgStructOreMinerStatusResponse) Interface() protoreflec // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_MsgStructOreMinerStatusResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.Struct != nil { - value := protoreflect.ValueOfMessage(x.Struct.ProtoReflect()) - if !f(fd_MsgStructOreMinerStatusResponse_struct, value) { +func (x *fastReflection_MsgStructDefenseClear) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Creator != "" { + value := protoreflect.ValueOfString(x.Creator) + if !f(fd_MsgStructDefenseClear_creator, value) { + return + } + } + if x.DefenderStructId != "" { + value := protoreflect.ValueOfString(x.DefenderStructId) + if !f(fd_MsgStructDefenseClear_defenderStructId, value) { return } } @@ -34664,15 +34004,17 @@ func (x *fastReflection_MsgStructOreMinerStatusResponse) Range(f func(protorefle // 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_MsgStructOreMinerStatusResponse) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_MsgStructDefenseClear) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.MsgStructOreMinerStatusResponse.struct": - return x.Struct != nil + case "structs.structs.MsgStructDefenseClear.creator": + return x.Creator != "" + case "structs.structs.MsgStructDefenseClear.defenderStructId": + return x.DefenderStructId != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructOreMinerStatusResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructDefenseClear")) } - panic(fmt.Errorf("message structs.structs.MsgStructOreMinerStatusResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructDefenseClear does not contain field %s", fd.FullName())) } } @@ -34682,15 +34024,17 @@ func (x *fastReflection_MsgStructOreMinerStatusResponse) Has(fd protoreflect.Fie // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgStructOreMinerStatusResponse) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_MsgStructDefenseClear) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.MsgStructOreMinerStatusResponse.struct": - x.Struct = nil + case "structs.structs.MsgStructDefenseClear.creator": + x.Creator = "" + case "structs.structs.MsgStructDefenseClear.defenderStructId": + x.DefenderStructId = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructOreMinerStatusResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructDefenseClear")) } - panic(fmt.Errorf("message structs.structs.MsgStructOreMinerStatusResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructDefenseClear does not contain field %s", fd.FullName())) } } @@ -34700,16 +34044,19 @@ func (x *fastReflection_MsgStructOreMinerStatusResponse) Clear(fd protoreflect.F // 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_MsgStructOreMinerStatusResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgStructDefenseClear) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.MsgStructOreMinerStatusResponse.struct": - value := x.Struct - return protoreflect.ValueOfMessage(value.ProtoReflect()) + case "structs.structs.MsgStructDefenseClear.creator": + value := x.Creator + return protoreflect.ValueOfString(value) + case "structs.structs.MsgStructDefenseClear.defenderStructId": + value := x.DefenderStructId + return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructOreMinerStatusResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructDefenseClear")) } - panic(fmt.Errorf("message structs.structs.MsgStructOreMinerStatusResponse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructDefenseClear does not contain field %s", descriptor.FullName())) } } @@ -34723,15 +34070,17 @@ func (x *fastReflection_MsgStructOreMinerStatusResponse) Get(descriptor protoref // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgStructOreMinerStatusResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_MsgStructDefenseClear) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.MsgStructOreMinerStatusResponse.struct": - x.Struct = value.Message().Interface().(*Struct) + case "structs.structs.MsgStructDefenseClear.creator": + x.Creator = value.Interface().(string) + case "structs.structs.MsgStructDefenseClear.defenderStructId": + x.DefenderStructId = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructOreMinerStatusResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructDefenseClear")) } - panic(fmt.Errorf("message structs.structs.MsgStructOreMinerStatusResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructDefenseClear does not contain field %s", fd.FullName())) } } @@ -34745,44 +34094,44 @@ func (x *fastReflection_MsgStructOreMinerStatusResponse) Set(fd protoreflect.Fie // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgStructOreMinerStatusResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgStructDefenseClear) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.MsgStructOreMinerStatusResponse.struct": - if x.Struct == nil { - x.Struct = new(Struct) - } - return protoreflect.ValueOfMessage(x.Struct.ProtoReflect()) + case "structs.structs.MsgStructDefenseClear.creator": + panic(fmt.Errorf("field creator of message structs.structs.MsgStructDefenseClear is not mutable")) + case "structs.structs.MsgStructDefenseClear.defenderStructId": + panic(fmt.Errorf("field defenderStructId of message structs.structs.MsgStructDefenseClear is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructOreMinerStatusResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructDefenseClear")) } - panic(fmt.Errorf("message structs.structs.MsgStructOreMinerStatusResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructDefenseClear 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_MsgStructOreMinerStatusResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgStructDefenseClear) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.MsgStructOreMinerStatusResponse.struct": - m := new(Struct) - return protoreflect.ValueOfMessage(m.ProtoReflect()) + case "structs.structs.MsgStructDefenseClear.creator": + return protoreflect.ValueOfString("") + case "structs.structs.MsgStructDefenseClear.defenderStructId": + return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructOreMinerStatusResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructDefenseClear")) } - panic(fmt.Errorf("message structs.structs.MsgStructOreMinerStatusResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructDefenseClear 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_MsgStructOreMinerStatusResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_MsgStructDefenseClear) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgStructOreMinerStatusResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgStructDefenseClear", d.FullName())) } panic("unreachable") } @@ -34790,7 +34139,7 @@ func (x *fastReflection_MsgStructOreMinerStatusResponse) WhichOneof(d protorefle // 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_MsgStructOreMinerStatusResponse) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_MsgStructDefenseClear) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -34801,7 +34150,7 @@ func (x *fastReflection_MsgStructOreMinerStatusResponse) GetUnknown() protorefle // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgStructOreMinerStatusResponse) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_MsgStructDefenseClear) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -34813,7 +34162,7 @@ func (x *fastReflection_MsgStructOreMinerStatusResponse) SetUnknown(fields proto // 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_MsgStructOreMinerStatusResponse) IsValid() bool { +func (x *fastReflection_MsgStructDefenseClear) IsValid() bool { return x != nil } @@ -34823,9 +34172,9 @@ func (x *fastReflection_MsgStructOreMinerStatusResponse) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_MsgStructOreMinerStatusResponse) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_MsgStructDefenseClear) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*MsgStructOreMinerStatusResponse) + x := input.Message.Interface().(*MsgStructDefenseClear) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -34837,8 +34186,12 @@ func (x *fastReflection_MsgStructOreMinerStatusResponse) ProtoMethods() *protoif var n int var l int _ = l - if x.Struct != nil { - l = options.Size(x.Struct) + l = len(x.Creator) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.DefenderStructId) + if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } if x.unknownFields != nil { @@ -34851,7 +34204,7 @@ func (x *fastReflection_MsgStructOreMinerStatusResponse) ProtoMethods() *protoif } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*MsgStructOreMinerStatusResponse) + x := input.Message.Interface().(*MsgStructDefenseClear) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -34870,17 +34223,17 @@ func (x *fastReflection_MsgStructOreMinerStatusResponse) ProtoMethods() *protoif i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if x.Struct != nil { - encoded, err := options.Marshal(x.Struct) - 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))) + if len(x.DefenderStructId) > 0 { + i -= len(x.DefenderStructId) + copy(dAtA[i:], x.DefenderStructId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.DefenderStructId))) + i-- + dAtA[i] = 0x12 + } + if len(x.Creator) > 0 { + i -= len(x.Creator) + copy(dAtA[i:], x.Creator) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Creator))) i-- dAtA[i] = 0xa } @@ -34895,7 +34248,7 @@ func (x *fastReflection_MsgStructOreMinerStatusResponse) ProtoMethods() *protoif }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*MsgStructOreMinerStatusResponse) + x := input.Message.Interface().(*MsgStructDefenseClear) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -34927,17 +34280,17 @@ func (x *fastReflection_MsgStructOreMinerStatusResponse) ProtoMethods() *protoif fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgStructOreMinerStatusResponse: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgStructDefenseClear: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgStructOreMinerStatusResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgStructDefenseClear: 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 Struct", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -34947,27 +34300,55 @@ func (x *fastReflection_MsgStructOreMinerStatusResponse) ProtoMethods() *protoif } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength } - postIndex := iNdEx + msglen + 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 } - if x.Struct == nil { - x.Struct = &Struct{} + x.Creator = 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 DefenderStructId", wireType) } - if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Struct); err != nil { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + 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.DefenderStructId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -35005,31 +34386,33 @@ func (x *fastReflection_MsgStructOreMinerStatusResponse) ProtoMethods() *protoif } var ( - md_MsgStructOreRefineryComplete protoreflect.MessageDescriptor - fd_MsgStructOreRefineryComplete_creator protoreflect.FieldDescriptor - fd_MsgStructOreRefineryComplete_structId protoreflect.FieldDescriptor - fd_MsgStructOreRefineryComplete_proof protoreflect.FieldDescriptor - fd_MsgStructOreRefineryComplete_nonce protoreflect.FieldDescriptor + md_MsgStructMove protoreflect.MessageDescriptor + fd_MsgStructMove_creator protoreflect.FieldDescriptor + fd_MsgStructMove_structId protoreflect.FieldDescriptor + fd_MsgStructMove_locationType protoreflect.FieldDescriptor + fd_MsgStructMove_ambit protoreflect.FieldDescriptor + fd_MsgStructMove_slot protoreflect.FieldDescriptor ) func init() { file_structs_structs_tx_proto_init() - md_MsgStructOreRefineryComplete = File_structs_structs_tx_proto.Messages().ByName("MsgStructOreRefineryComplete") - fd_MsgStructOreRefineryComplete_creator = md_MsgStructOreRefineryComplete.Fields().ByName("creator") - fd_MsgStructOreRefineryComplete_structId = md_MsgStructOreRefineryComplete.Fields().ByName("structId") - fd_MsgStructOreRefineryComplete_proof = md_MsgStructOreRefineryComplete.Fields().ByName("proof") - fd_MsgStructOreRefineryComplete_nonce = md_MsgStructOreRefineryComplete.Fields().ByName("nonce") + md_MsgStructMove = File_structs_structs_tx_proto.Messages().ByName("MsgStructMove") + fd_MsgStructMove_creator = md_MsgStructMove.Fields().ByName("creator") + fd_MsgStructMove_structId = md_MsgStructMove.Fields().ByName("structId") + fd_MsgStructMove_locationType = md_MsgStructMove.Fields().ByName("locationType") + fd_MsgStructMove_ambit = md_MsgStructMove.Fields().ByName("ambit") + fd_MsgStructMove_slot = md_MsgStructMove.Fields().ByName("slot") } -var _ protoreflect.Message = (*fastReflection_MsgStructOreRefineryComplete)(nil) +var _ protoreflect.Message = (*fastReflection_MsgStructMove)(nil) -type fastReflection_MsgStructOreRefineryComplete MsgStructOreRefineryComplete +type fastReflection_MsgStructMove MsgStructMove -func (x *MsgStructOreRefineryComplete) ProtoReflect() protoreflect.Message { - return (*fastReflection_MsgStructOreRefineryComplete)(x) +func (x *MsgStructMove) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgStructMove)(x) } -func (x *MsgStructOreRefineryComplete) slowProtoReflect() protoreflect.Message { +func (x *MsgStructMove) slowProtoReflect() protoreflect.Message { mi := &file_structs_structs_tx_proto_msgTypes[67] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -35041,43 +34424,43 @@ func (x *MsgStructOreRefineryComplete) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_MsgStructOreRefineryComplete_messageType fastReflection_MsgStructOreRefineryComplete_messageType -var _ protoreflect.MessageType = fastReflection_MsgStructOreRefineryComplete_messageType{} +var _fastReflection_MsgStructMove_messageType fastReflection_MsgStructMove_messageType +var _ protoreflect.MessageType = fastReflection_MsgStructMove_messageType{} -type fastReflection_MsgStructOreRefineryComplete_messageType struct{} +type fastReflection_MsgStructMove_messageType struct{} -func (x fastReflection_MsgStructOreRefineryComplete_messageType) Zero() protoreflect.Message { - return (*fastReflection_MsgStructOreRefineryComplete)(nil) +func (x fastReflection_MsgStructMove_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgStructMove)(nil) } -func (x fastReflection_MsgStructOreRefineryComplete_messageType) New() protoreflect.Message { - return new(fastReflection_MsgStructOreRefineryComplete) +func (x fastReflection_MsgStructMove_messageType) New() protoreflect.Message { + return new(fastReflection_MsgStructMove) } -func (x fastReflection_MsgStructOreRefineryComplete_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_MsgStructOreRefineryComplete +func (x fastReflection_MsgStructMove_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgStructMove } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_MsgStructOreRefineryComplete) Descriptor() protoreflect.MessageDescriptor { - return md_MsgStructOreRefineryComplete +func (x *fastReflection_MsgStructMove) Descriptor() protoreflect.MessageDescriptor { + return md_MsgStructMove } // 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_MsgStructOreRefineryComplete) Type() protoreflect.MessageType { - return _fastReflection_MsgStructOreRefineryComplete_messageType +func (x *fastReflection_MsgStructMove) Type() protoreflect.MessageType { + return _fastReflection_MsgStructMove_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_MsgStructOreRefineryComplete) New() protoreflect.Message { - return new(fastReflection_MsgStructOreRefineryComplete) +func (x *fastReflection_MsgStructMove) New() protoreflect.Message { + return new(fastReflection_MsgStructMove) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_MsgStructOreRefineryComplete) Interface() protoreflect.ProtoMessage { - return (*MsgStructOreRefineryComplete)(x) +func (x *fastReflection_MsgStructMove) Interface() protoreflect.ProtoMessage { + return (*MsgStructMove)(x) } // Range iterates over every populated field in an undefined order, @@ -35085,28 +34468,34 @@ func (x *fastReflection_MsgStructOreRefineryComplete) Interface() protoreflect.P // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_MsgStructOreRefineryComplete) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +func (x *fastReflection_MsgStructMove) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { if x.Creator != "" { value := protoreflect.ValueOfString(x.Creator) - if !f(fd_MsgStructOreRefineryComplete_creator, value) { + if !f(fd_MsgStructMove_creator, value) { return } } if x.StructId != "" { value := protoreflect.ValueOfString(x.StructId) - if !f(fd_MsgStructOreRefineryComplete_structId, value) { + if !f(fd_MsgStructMove_structId, value) { return } } - if x.Proof != "" { - value := protoreflect.ValueOfString(x.Proof) - if !f(fd_MsgStructOreRefineryComplete_proof, value) { + if x.LocationType != 0 { + value := protoreflect.ValueOfEnum((protoreflect.EnumNumber)(x.LocationType)) + if !f(fd_MsgStructMove_locationType, value) { return } } - if x.Nonce != "" { - value := protoreflect.ValueOfString(x.Nonce) - if !f(fd_MsgStructOreRefineryComplete_nonce, value) { + if x.Ambit != 0 { + value := protoreflect.ValueOfEnum((protoreflect.EnumNumber)(x.Ambit)) + if !f(fd_MsgStructMove_ambit, value) { + return + } + } + if x.Slot != uint64(0) { + value := protoreflect.ValueOfUint64(x.Slot) + if !f(fd_MsgStructMove_slot, value) { return } } @@ -35123,21 +34512,23 @@ func (x *fastReflection_MsgStructOreRefineryComplete) Range(f func(protoreflect. // 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_MsgStructOreRefineryComplete) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_MsgStructMove) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.MsgStructOreRefineryComplete.creator": + case "structs.structs.MsgStructMove.creator": return x.Creator != "" - case "structs.structs.MsgStructOreRefineryComplete.structId": + case "structs.structs.MsgStructMove.structId": return x.StructId != "" - case "structs.structs.MsgStructOreRefineryComplete.proof": - return x.Proof != "" - case "structs.structs.MsgStructOreRefineryComplete.nonce": - return x.Nonce != "" + case "structs.structs.MsgStructMove.locationType": + return x.LocationType != 0 + case "structs.structs.MsgStructMove.ambit": + return x.Ambit != 0 + case "structs.structs.MsgStructMove.slot": + return x.Slot != uint64(0) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructOreRefineryComplete")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructMove")) } - panic(fmt.Errorf("message structs.structs.MsgStructOreRefineryComplete does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructMove does not contain field %s", fd.FullName())) } } @@ -35147,21 +34538,23 @@ func (x *fastReflection_MsgStructOreRefineryComplete) Has(fd protoreflect.FieldD // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgStructOreRefineryComplete) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_MsgStructMove) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.MsgStructOreRefineryComplete.creator": + case "structs.structs.MsgStructMove.creator": x.Creator = "" - case "structs.structs.MsgStructOreRefineryComplete.structId": + case "structs.structs.MsgStructMove.structId": x.StructId = "" - case "structs.structs.MsgStructOreRefineryComplete.proof": - x.Proof = "" - case "structs.structs.MsgStructOreRefineryComplete.nonce": - x.Nonce = "" + case "structs.structs.MsgStructMove.locationType": + x.LocationType = 0 + case "structs.structs.MsgStructMove.ambit": + x.Ambit = 0 + case "structs.structs.MsgStructMove.slot": + x.Slot = uint64(0) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructOreRefineryComplete")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructMove")) } - panic(fmt.Errorf("message structs.structs.MsgStructOreRefineryComplete does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructMove does not contain field %s", fd.FullName())) } } @@ -35171,25 +34564,28 @@ func (x *fastReflection_MsgStructOreRefineryComplete) Clear(fd protoreflect.Fiel // 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_MsgStructOreRefineryComplete) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgStructMove) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.MsgStructOreRefineryComplete.creator": + case "structs.structs.MsgStructMove.creator": value := x.Creator return protoreflect.ValueOfString(value) - case "structs.structs.MsgStructOreRefineryComplete.structId": + case "structs.structs.MsgStructMove.structId": value := x.StructId return protoreflect.ValueOfString(value) - case "structs.structs.MsgStructOreRefineryComplete.proof": - value := x.Proof - return protoreflect.ValueOfString(value) - case "structs.structs.MsgStructOreRefineryComplete.nonce": - value := x.Nonce - return protoreflect.ValueOfString(value) + case "structs.structs.MsgStructMove.locationType": + value := x.LocationType + return protoreflect.ValueOfEnum((protoreflect.EnumNumber)(value)) + case "structs.structs.MsgStructMove.ambit": + value := x.Ambit + return protoreflect.ValueOfEnum((protoreflect.EnumNumber)(value)) + case "structs.structs.MsgStructMove.slot": + value := x.Slot + return protoreflect.ValueOfUint64(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructOreRefineryComplete")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructMove")) } - panic(fmt.Errorf("message structs.structs.MsgStructOreRefineryComplete does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructMove does not contain field %s", descriptor.FullName())) } } @@ -35203,21 +34599,23 @@ func (x *fastReflection_MsgStructOreRefineryComplete) Get(descriptor protoreflec // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgStructOreRefineryComplete) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_MsgStructMove) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.MsgStructOreRefineryComplete.creator": + case "structs.structs.MsgStructMove.creator": x.Creator = value.Interface().(string) - case "structs.structs.MsgStructOreRefineryComplete.structId": + case "structs.structs.MsgStructMove.structId": x.StructId = value.Interface().(string) - case "structs.structs.MsgStructOreRefineryComplete.proof": - x.Proof = value.Interface().(string) - case "structs.structs.MsgStructOreRefineryComplete.nonce": - x.Nonce = value.Interface().(string) + case "structs.structs.MsgStructMove.locationType": + x.LocationType = (ObjectType)(value.Enum()) + case "structs.structs.MsgStructMove.ambit": + x.Ambit = (Ambit)(value.Enum()) + case "structs.structs.MsgStructMove.slot": + x.Slot = value.Uint() default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructOreRefineryComplete")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructMove")) } - panic(fmt.Errorf("message structs.structs.MsgStructOreRefineryComplete does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructMove does not contain field %s", fd.FullName())) } } @@ -35231,52 +34629,56 @@ func (x *fastReflection_MsgStructOreRefineryComplete) Set(fd protoreflect.FieldD // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgStructOreRefineryComplete) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgStructMove) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.MsgStructOreRefineryComplete.creator": - panic(fmt.Errorf("field creator of message structs.structs.MsgStructOreRefineryComplete is not mutable")) - case "structs.structs.MsgStructOreRefineryComplete.structId": - panic(fmt.Errorf("field structId of message structs.structs.MsgStructOreRefineryComplete is not mutable")) - case "structs.structs.MsgStructOreRefineryComplete.proof": - panic(fmt.Errorf("field proof of message structs.structs.MsgStructOreRefineryComplete is not mutable")) - case "structs.structs.MsgStructOreRefineryComplete.nonce": - panic(fmt.Errorf("field nonce of message structs.structs.MsgStructOreRefineryComplete is not mutable")) + case "structs.structs.MsgStructMove.creator": + panic(fmt.Errorf("field creator of message structs.structs.MsgStructMove is not mutable")) + case "structs.structs.MsgStructMove.structId": + panic(fmt.Errorf("field structId of message structs.structs.MsgStructMove is not mutable")) + case "structs.structs.MsgStructMove.locationType": + panic(fmt.Errorf("field locationType of message structs.structs.MsgStructMove is not mutable")) + case "structs.structs.MsgStructMove.ambit": + panic(fmt.Errorf("field ambit of message structs.structs.MsgStructMove is not mutable")) + case "structs.structs.MsgStructMove.slot": + panic(fmt.Errorf("field slot of message structs.structs.MsgStructMove is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructOreRefineryComplete")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructMove")) } - panic(fmt.Errorf("message structs.structs.MsgStructOreRefineryComplete does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructMove 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_MsgStructOreRefineryComplete) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgStructMove) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.MsgStructOreRefineryComplete.creator": - return protoreflect.ValueOfString("") - case "structs.structs.MsgStructOreRefineryComplete.structId": - return protoreflect.ValueOfString("") - case "structs.structs.MsgStructOreRefineryComplete.proof": + case "structs.structs.MsgStructMove.creator": return protoreflect.ValueOfString("") - case "structs.structs.MsgStructOreRefineryComplete.nonce": + case "structs.structs.MsgStructMove.structId": return protoreflect.ValueOfString("") + case "structs.structs.MsgStructMove.locationType": + return protoreflect.ValueOfEnum(0) + case "structs.structs.MsgStructMove.ambit": + return protoreflect.ValueOfEnum(0) + case "structs.structs.MsgStructMove.slot": + return protoreflect.ValueOfUint64(uint64(0)) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructOreRefineryComplete")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructMove")) } - panic(fmt.Errorf("message structs.structs.MsgStructOreRefineryComplete does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructMove 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_MsgStructOreRefineryComplete) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_MsgStructMove) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgStructOreRefineryComplete", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgStructMove", d.FullName())) } panic("unreachable") } @@ -35284,7 +34686,7 @@ func (x *fastReflection_MsgStructOreRefineryComplete) WhichOneof(d protoreflect. // 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_MsgStructOreRefineryComplete) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_MsgStructMove) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -35295,7 +34697,7 @@ func (x *fastReflection_MsgStructOreRefineryComplete) GetUnknown() protoreflect. // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgStructOreRefineryComplete) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_MsgStructMove) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -35307,7 +34709,7 @@ func (x *fastReflection_MsgStructOreRefineryComplete) SetUnknown(fields protoref // 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_MsgStructOreRefineryComplete) IsValid() bool { +func (x *fastReflection_MsgStructMove) IsValid() bool { return x != nil } @@ -35317,9 +34719,9 @@ func (x *fastReflection_MsgStructOreRefineryComplete) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_MsgStructOreRefineryComplete) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_MsgStructMove) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*MsgStructOreRefineryComplete) + x := input.Message.Interface().(*MsgStructMove) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -35339,13 +34741,14 @@ func (x *fastReflection_MsgStructOreRefineryComplete) ProtoMethods() *protoiface if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } - l = len(x.Proof) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) + if x.LocationType != 0 { + n += 1 + runtime.Sov(uint64(x.LocationType)) } - l = len(x.Nonce) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) + if x.Ambit != 0 { + n += 1 + runtime.Sov(uint64(x.Ambit)) + } + if x.Slot != 0 { + n += 1 + runtime.Sov(uint64(x.Slot)) } if x.unknownFields != nil { n += len(x.unknownFields) @@ -35357,7 +34760,7 @@ func (x *fastReflection_MsgStructOreRefineryComplete) ProtoMethods() *protoiface } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*MsgStructOreRefineryComplete) + x := input.Message.Interface().(*MsgStructMove) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -35376,19 +34779,20 @@ func (x *fastReflection_MsgStructOreRefineryComplete) ProtoMethods() *protoiface i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if len(x.Nonce) > 0 { - i -= len(x.Nonce) - copy(dAtA[i:], x.Nonce) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Nonce))) + if x.Slot != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.Slot)) i-- - dAtA[i] = 0x22 + dAtA[i] = 0x30 } - if len(x.Proof) > 0 { - i -= len(x.Proof) - copy(dAtA[i:], x.Proof) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Proof))) + if x.Ambit != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.Ambit)) i-- - dAtA[i] = 0x1a + dAtA[i] = 0x28 + } + if x.LocationType != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.LocationType)) + i-- + dAtA[i] = 0x20 } if len(x.StructId) > 0 { i -= len(x.StructId) @@ -35415,7 +34819,7 @@ func (x *fastReflection_MsgStructOreRefineryComplete) ProtoMethods() *protoiface }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*MsgStructOreRefineryComplete) + x := input.Message.Interface().(*MsgStructMove) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -35447,10 +34851,10 @@ func (x *fastReflection_MsgStructOreRefineryComplete) ProtoMethods() *protoiface fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgStructOreRefineryComplete: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgStructMove: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgStructOreRefineryComplete: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgStructMove: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -35517,11 +34921,11 @@ func (x *fastReflection_MsgStructOreRefineryComplete) ProtoMethods() *protoiface } x.StructId = 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 Proof", wireType) + case 4: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field LocationType", wireType) } - var stringLen uint64 + x.LocationType = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -35531,29 +34935,16 @@ func (x *fastReflection_MsgStructOreRefineryComplete) ProtoMethods() *protoiface } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + x.LocationType |= ObjectType(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.Proof = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Nonce", wireType) + case 5: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Ambit", wireType) } - var stringLen uint64 + x.Ambit = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -35563,24 +34954,30 @@ func (x *fastReflection_MsgStructOreRefineryComplete) ProtoMethods() *protoiface } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + x.Ambit |= Ambit(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 + case 6: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Slot", wireType) } - if postIndex > l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + x.Slot = 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.Slot |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } } - x.Nonce = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex default: iNdEx = preIndex skippy, err := runtime.Skip(dAtA[iNdEx:]) @@ -35616,26 +35013,78 @@ func (x *fastReflection_MsgStructOreRefineryComplete) ProtoMethods() *protoiface } } +var _ protoreflect.List = (*_MsgStructAttack_3_list)(nil) + +type _MsgStructAttack_3_list struct { + list *[]string +} + +func (x *_MsgStructAttack_3_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_MsgStructAttack_3_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfString((*x.list)[i]) +} + +func (x *_MsgStructAttack_3_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_MsgStructAttack_3_list) Append(value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_MsgStructAttack_3_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message MsgStructAttack at list field TargetStructId as it is not of Message kind")) +} + +func (x *_MsgStructAttack_3_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_MsgStructAttack_3_list) NewElement() protoreflect.Value { + v := "" + return protoreflect.ValueOfString(v) +} + +func (x *_MsgStructAttack_3_list) IsValid() bool { + return x.list != nil +} + var ( - md_MsgStructOreRefineryStatusResponse protoreflect.MessageDescriptor - fd_MsgStructOreRefineryStatusResponse_struct protoreflect.FieldDescriptor + md_MsgStructAttack protoreflect.MessageDescriptor + fd_MsgStructAttack_creator protoreflect.FieldDescriptor + fd_MsgStructAttack_operatingStructId protoreflect.FieldDescriptor + fd_MsgStructAttack_targetStructId protoreflect.FieldDescriptor + fd_MsgStructAttack_weaponSystem protoreflect.FieldDescriptor ) func init() { file_structs_structs_tx_proto_init() - md_MsgStructOreRefineryStatusResponse = File_structs_structs_tx_proto.Messages().ByName("MsgStructOreRefineryStatusResponse") - fd_MsgStructOreRefineryStatusResponse_struct = md_MsgStructOreRefineryStatusResponse.Fields().ByName("struct") + md_MsgStructAttack = File_structs_structs_tx_proto.Messages().ByName("MsgStructAttack") + fd_MsgStructAttack_creator = md_MsgStructAttack.Fields().ByName("creator") + fd_MsgStructAttack_operatingStructId = md_MsgStructAttack.Fields().ByName("operatingStructId") + fd_MsgStructAttack_targetStructId = md_MsgStructAttack.Fields().ByName("targetStructId") + fd_MsgStructAttack_weaponSystem = md_MsgStructAttack.Fields().ByName("weaponSystem") } -var _ protoreflect.Message = (*fastReflection_MsgStructOreRefineryStatusResponse)(nil) +var _ protoreflect.Message = (*fastReflection_MsgStructAttack)(nil) -type fastReflection_MsgStructOreRefineryStatusResponse MsgStructOreRefineryStatusResponse +type fastReflection_MsgStructAttack MsgStructAttack -func (x *MsgStructOreRefineryStatusResponse) ProtoReflect() protoreflect.Message { - return (*fastReflection_MsgStructOreRefineryStatusResponse)(x) +func (x *MsgStructAttack) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgStructAttack)(x) } -func (x *MsgStructOreRefineryStatusResponse) slowProtoReflect() protoreflect.Message { +func (x *MsgStructAttack) slowProtoReflect() protoreflect.Message { mi := &file_structs_structs_tx_proto_msgTypes[68] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -35647,43 +35096,43 @@ func (x *MsgStructOreRefineryStatusResponse) slowProtoReflect() protoreflect.Mes return mi.MessageOf(x) } -var _fastReflection_MsgStructOreRefineryStatusResponse_messageType fastReflection_MsgStructOreRefineryStatusResponse_messageType -var _ protoreflect.MessageType = fastReflection_MsgStructOreRefineryStatusResponse_messageType{} +var _fastReflection_MsgStructAttack_messageType fastReflection_MsgStructAttack_messageType +var _ protoreflect.MessageType = fastReflection_MsgStructAttack_messageType{} -type fastReflection_MsgStructOreRefineryStatusResponse_messageType struct{} +type fastReflection_MsgStructAttack_messageType struct{} -func (x fastReflection_MsgStructOreRefineryStatusResponse_messageType) Zero() protoreflect.Message { - return (*fastReflection_MsgStructOreRefineryStatusResponse)(nil) +func (x fastReflection_MsgStructAttack_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgStructAttack)(nil) } -func (x fastReflection_MsgStructOreRefineryStatusResponse_messageType) New() protoreflect.Message { - return new(fastReflection_MsgStructOreRefineryStatusResponse) +func (x fastReflection_MsgStructAttack_messageType) New() protoreflect.Message { + return new(fastReflection_MsgStructAttack) } -func (x fastReflection_MsgStructOreRefineryStatusResponse_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_MsgStructOreRefineryStatusResponse +func (x fastReflection_MsgStructAttack_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgStructAttack } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_MsgStructOreRefineryStatusResponse) Descriptor() protoreflect.MessageDescriptor { - return md_MsgStructOreRefineryStatusResponse +func (x *fastReflection_MsgStructAttack) Descriptor() protoreflect.MessageDescriptor { + return md_MsgStructAttack } // 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_MsgStructOreRefineryStatusResponse) Type() protoreflect.MessageType { - return _fastReflection_MsgStructOreRefineryStatusResponse_messageType +func (x *fastReflection_MsgStructAttack) Type() protoreflect.MessageType { + return _fastReflection_MsgStructAttack_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_MsgStructOreRefineryStatusResponse) New() protoreflect.Message { - return new(fastReflection_MsgStructOreRefineryStatusResponse) +func (x *fastReflection_MsgStructAttack) New() protoreflect.Message { + return new(fastReflection_MsgStructAttack) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_MsgStructOreRefineryStatusResponse) Interface() protoreflect.ProtoMessage { - return (*MsgStructOreRefineryStatusResponse)(x) +func (x *fastReflection_MsgStructAttack) Interface() protoreflect.ProtoMessage { + return (*MsgStructAttack)(x) } // Range iterates over every populated field in an undefined order, @@ -35691,10 +35140,28 @@ func (x *fastReflection_MsgStructOreRefineryStatusResponse) Interface() protoref // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_MsgStructOreRefineryStatusResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.Struct != nil { - value := protoreflect.ValueOfMessage(x.Struct.ProtoReflect()) - if !f(fd_MsgStructOreRefineryStatusResponse_struct, value) { +func (x *fastReflection_MsgStructAttack) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Creator != "" { + value := protoreflect.ValueOfString(x.Creator) + if !f(fd_MsgStructAttack_creator, value) { + return + } + } + if x.OperatingStructId != "" { + value := protoreflect.ValueOfString(x.OperatingStructId) + if !f(fd_MsgStructAttack_operatingStructId, value) { + return + } + } + if len(x.TargetStructId) != 0 { + value := protoreflect.ValueOfList(&_MsgStructAttack_3_list{list: &x.TargetStructId}) + if !f(fd_MsgStructAttack_targetStructId, value) { + return + } + } + if x.WeaponSystem != "" { + value := protoreflect.ValueOfString(x.WeaponSystem) + if !f(fd_MsgStructAttack_weaponSystem, value) { return } } @@ -35711,15 +35178,21 @@ func (x *fastReflection_MsgStructOreRefineryStatusResponse) Range(f func(protore // 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_MsgStructOreRefineryStatusResponse) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_MsgStructAttack) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.MsgStructOreRefineryStatusResponse.struct": - return x.Struct != nil + case "structs.structs.MsgStructAttack.creator": + return x.Creator != "" + case "structs.structs.MsgStructAttack.operatingStructId": + return x.OperatingStructId != "" + case "structs.structs.MsgStructAttack.targetStructId": + return len(x.TargetStructId) != 0 + case "structs.structs.MsgStructAttack.weaponSystem": + return x.WeaponSystem != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructOreRefineryStatusResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructAttack")) } - panic(fmt.Errorf("message structs.structs.MsgStructOreRefineryStatusResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructAttack does not contain field %s", fd.FullName())) } } @@ -35729,15 +35202,21 @@ func (x *fastReflection_MsgStructOreRefineryStatusResponse) Has(fd protoreflect. // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgStructOreRefineryStatusResponse) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_MsgStructAttack) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.MsgStructOreRefineryStatusResponse.struct": - x.Struct = nil + case "structs.structs.MsgStructAttack.creator": + x.Creator = "" + case "structs.structs.MsgStructAttack.operatingStructId": + x.OperatingStructId = "" + case "structs.structs.MsgStructAttack.targetStructId": + x.TargetStructId = nil + case "structs.structs.MsgStructAttack.weaponSystem": + x.WeaponSystem = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructOreRefineryStatusResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructAttack")) } - panic(fmt.Errorf("message structs.structs.MsgStructOreRefineryStatusResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructAttack does not contain field %s", fd.FullName())) } } @@ -35747,16 +35226,28 @@ func (x *fastReflection_MsgStructOreRefineryStatusResponse) Clear(fd protoreflec // 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_MsgStructOreRefineryStatusResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgStructAttack) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.MsgStructOreRefineryStatusResponse.struct": - value := x.Struct - return protoreflect.ValueOfMessage(value.ProtoReflect()) + case "structs.structs.MsgStructAttack.creator": + value := x.Creator + return protoreflect.ValueOfString(value) + case "structs.structs.MsgStructAttack.operatingStructId": + value := x.OperatingStructId + return protoreflect.ValueOfString(value) + case "structs.structs.MsgStructAttack.targetStructId": + if len(x.TargetStructId) == 0 { + return protoreflect.ValueOfList(&_MsgStructAttack_3_list{}) + } + listValue := &_MsgStructAttack_3_list{list: &x.TargetStructId} + return protoreflect.ValueOfList(listValue) + case "structs.structs.MsgStructAttack.weaponSystem": + value := x.WeaponSystem + return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructOreRefineryStatusResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructAttack")) } - panic(fmt.Errorf("message structs.structs.MsgStructOreRefineryStatusResponse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructAttack does not contain field %s", descriptor.FullName())) } } @@ -35770,15 +35261,23 @@ func (x *fastReflection_MsgStructOreRefineryStatusResponse) Get(descriptor proto // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgStructOreRefineryStatusResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_MsgStructAttack) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.MsgStructOreRefineryStatusResponse.struct": - x.Struct = value.Message().Interface().(*Struct) + case "structs.structs.MsgStructAttack.creator": + x.Creator = value.Interface().(string) + case "structs.structs.MsgStructAttack.operatingStructId": + x.OperatingStructId = value.Interface().(string) + case "structs.structs.MsgStructAttack.targetStructId": + lv := value.List() + clv := lv.(*_MsgStructAttack_3_list) + x.TargetStructId = *clv.list + case "structs.structs.MsgStructAttack.weaponSystem": + x.WeaponSystem = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructOreRefineryStatusResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructAttack")) } - panic(fmt.Errorf("message structs.structs.MsgStructOreRefineryStatusResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructAttack does not contain field %s", fd.FullName())) } } @@ -35792,44 +35291,57 @@ func (x *fastReflection_MsgStructOreRefineryStatusResponse) Set(fd protoreflect. // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgStructOreRefineryStatusResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgStructAttack) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.MsgStructOreRefineryStatusResponse.struct": - if x.Struct == nil { - x.Struct = new(Struct) + case "structs.structs.MsgStructAttack.targetStructId": + if x.TargetStructId == nil { + x.TargetStructId = []string{} } - return protoreflect.ValueOfMessage(x.Struct.ProtoReflect()) + value := &_MsgStructAttack_3_list{list: &x.TargetStructId} + return protoreflect.ValueOfList(value) + case "structs.structs.MsgStructAttack.creator": + panic(fmt.Errorf("field creator of message structs.structs.MsgStructAttack is not mutable")) + case "structs.structs.MsgStructAttack.operatingStructId": + panic(fmt.Errorf("field operatingStructId of message structs.structs.MsgStructAttack is not mutable")) + case "structs.structs.MsgStructAttack.weaponSystem": + panic(fmt.Errorf("field weaponSystem of message structs.structs.MsgStructAttack is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructOreRefineryStatusResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructAttack")) } - panic(fmt.Errorf("message structs.structs.MsgStructOreRefineryStatusResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructAttack 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_MsgStructOreRefineryStatusResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgStructAttack) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.MsgStructOreRefineryStatusResponse.struct": - m := new(Struct) - return protoreflect.ValueOfMessage(m.ProtoReflect()) + case "structs.structs.MsgStructAttack.creator": + return protoreflect.ValueOfString("") + case "structs.structs.MsgStructAttack.operatingStructId": + return protoreflect.ValueOfString("") + case "structs.structs.MsgStructAttack.targetStructId": + list := []string{} + return protoreflect.ValueOfList(&_MsgStructAttack_3_list{list: &list}) + case "structs.structs.MsgStructAttack.weaponSystem": + return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructOreRefineryStatusResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructAttack")) } - panic(fmt.Errorf("message structs.structs.MsgStructOreRefineryStatusResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructAttack 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_MsgStructOreRefineryStatusResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_MsgStructAttack) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgStructOreRefineryStatusResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgStructAttack", d.FullName())) } panic("unreachable") } @@ -35837,7 +35349,7 @@ func (x *fastReflection_MsgStructOreRefineryStatusResponse) WhichOneof(d protore // 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_MsgStructOreRefineryStatusResponse) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_MsgStructAttack) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -35848,7 +35360,7 @@ func (x *fastReflection_MsgStructOreRefineryStatusResponse) GetUnknown() protore // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgStructOreRefineryStatusResponse) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_MsgStructAttack) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -35860,7 +35372,7 @@ func (x *fastReflection_MsgStructOreRefineryStatusResponse) SetUnknown(fields pr // 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_MsgStructOreRefineryStatusResponse) IsValid() bool { +func (x *fastReflection_MsgStructAttack) IsValid() bool { return x != nil } @@ -35870,9 +35382,9 @@ func (x *fastReflection_MsgStructOreRefineryStatusResponse) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_MsgStructOreRefineryStatusResponse) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_MsgStructAttack) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*MsgStructOreRefineryStatusResponse) + x := input.Message.Interface().(*MsgStructAttack) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -35884,8 +35396,22 @@ func (x *fastReflection_MsgStructOreRefineryStatusResponse) ProtoMethods() *prot var n int var l int _ = l - if x.Struct != nil { - l = options.Size(x.Struct) + l = len(x.Creator) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.OperatingStructId) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if len(x.TargetStructId) > 0 { + for _, s := range x.TargetStructId { + l = len(s) + n += 1 + l + runtime.Sov(uint64(l)) + } + } + l = len(x.WeaponSystem) + if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } if x.unknownFields != nil { @@ -35898,7 +35424,7 @@ func (x *fastReflection_MsgStructOreRefineryStatusResponse) ProtoMethods() *prot } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*MsgStructOreRefineryStatusResponse) + x := input.Message.Interface().(*MsgStructAttack) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -35917,17 +35443,33 @@ func (x *fastReflection_MsgStructOreRefineryStatusResponse) ProtoMethods() *prot i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if x.Struct != nil { - encoded, err := options.Marshal(x.Struct) - if err != nil { - return protoiface.MarshalOutput{ - NoUnkeyedLiterals: input.NoUnkeyedLiterals, - Buf: input.Buf, - }, err + if len(x.WeaponSystem) > 0 { + i -= len(x.WeaponSystem) + copy(dAtA[i:], x.WeaponSystem) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.WeaponSystem))) + i-- + dAtA[i] = 0x22 + } + if len(x.TargetStructId) > 0 { + for iNdEx := len(x.TargetStructId) - 1; iNdEx >= 0; iNdEx-- { + i -= len(x.TargetStructId[iNdEx]) + copy(dAtA[i:], x.TargetStructId[iNdEx]) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.TargetStructId[iNdEx]))) + i-- + dAtA[i] = 0x1a } - i -= len(encoded) - copy(dAtA[i:], encoded) - i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + } + if len(x.OperatingStructId) > 0 { + i -= len(x.OperatingStructId) + copy(dAtA[i:], x.OperatingStructId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.OperatingStructId))) + i-- + dAtA[i] = 0x12 + } + if len(x.Creator) > 0 { + i -= len(x.Creator) + copy(dAtA[i:], x.Creator) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Creator))) i-- dAtA[i] = 0xa } @@ -35942,7 +35484,7 @@ func (x *fastReflection_MsgStructOreRefineryStatusResponse) ProtoMethods() *prot }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*MsgStructOreRefineryStatusResponse) + x := input.Message.Interface().(*MsgStructAttack) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -35974,17 +35516,17 @@ func (x *fastReflection_MsgStructOreRefineryStatusResponse) ProtoMethods() *prot fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgStructOreRefineryStatusResponse: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgStructAttack: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgStructOreRefineryStatusResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgStructAttack: 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 Struct", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -35994,27 +35536,119 @@ func (x *fastReflection_MsgStructOreRefineryStatusResponse) ProtoMethods() *prot } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength } - postIndex := iNdEx + msglen + 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 } - if x.Struct == nil { - x.Struct = &Struct{} + x.Creator = 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 OperatingStructId", wireType) } - if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Struct); err != nil { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + 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.OperatingStructId = 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 TargetStructId", 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.TargetStructId = append(x.TargetStructId, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 4: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field WeaponSystem", 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.WeaponSystem = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -36052,33 +35686,23 @@ func (x *fastReflection_MsgStructOreRefineryStatusResponse) ProtoMethods() *prot } var ( - md_MsgStructStorageStash protoreflect.MessageDescriptor - fd_MsgStructStorageStash_creator protoreflect.FieldDescriptor - fd_MsgStructStorageStash_structId protoreflect.FieldDescriptor - fd_MsgStructStorageStash_locationId protoreflect.FieldDescriptor - fd_MsgStructStorageStash_ambit protoreflect.FieldDescriptor - fd_MsgStructStorageStash_slot protoreflect.FieldDescriptor + md_MsgStructAttackResponse protoreflect.MessageDescriptor ) func init() { file_structs_structs_tx_proto_init() - md_MsgStructStorageStash = File_structs_structs_tx_proto.Messages().ByName("MsgStructStorageStash") - fd_MsgStructStorageStash_creator = md_MsgStructStorageStash.Fields().ByName("creator") - fd_MsgStructStorageStash_structId = md_MsgStructStorageStash.Fields().ByName("structId") - fd_MsgStructStorageStash_locationId = md_MsgStructStorageStash.Fields().ByName("locationId") - fd_MsgStructStorageStash_ambit = md_MsgStructStorageStash.Fields().ByName("ambit") - fd_MsgStructStorageStash_slot = md_MsgStructStorageStash.Fields().ByName("slot") + md_MsgStructAttackResponse = File_structs_structs_tx_proto.Messages().ByName("MsgStructAttackResponse") } -var _ protoreflect.Message = (*fastReflection_MsgStructStorageStash)(nil) +var _ protoreflect.Message = (*fastReflection_MsgStructAttackResponse)(nil) -type fastReflection_MsgStructStorageStash MsgStructStorageStash +type fastReflection_MsgStructAttackResponse MsgStructAttackResponse -func (x *MsgStructStorageStash) ProtoReflect() protoreflect.Message { - return (*fastReflection_MsgStructStorageStash)(x) +func (x *MsgStructAttackResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgStructAttackResponse)(x) } -func (x *MsgStructStorageStash) slowProtoReflect() protoreflect.Message { +func (x *MsgStructAttackResponse) slowProtoReflect() protoreflect.Message { mi := &file_structs_structs_tx_proto_msgTypes[69] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -36090,43 +35714,43 @@ func (x *MsgStructStorageStash) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_MsgStructStorageStash_messageType fastReflection_MsgStructStorageStash_messageType -var _ protoreflect.MessageType = fastReflection_MsgStructStorageStash_messageType{} +var _fastReflection_MsgStructAttackResponse_messageType fastReflection_MsgStructAttackResponse_messageType +var _ protoreflect.MessageType = fastReflection_MsgStructAttackResponse_messageType{} -type fastReflection_MsgStructStorageStash_messageType struct{} +type fastReflection_MsgStructAttackResponse_messageType struct{} -func (x fastReflection_MsgStructStorageStash_messageType) Zero() protoreflect.Message { - return (*fastReflection_MsgStructStorageStash)(nil) -} -func (x fastReflection_MsgStructStorageStash_messageType) New() protoreflect.Message { - return new(fastReflection_MsgStructStorageStash) +func (x fastReflection_MsgStructAttackResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgStructAttackResponse)(nil) } -func (x fastReflection_MsgStructStorageStash_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_MsgStructStorageStash +func (x fastReflection_MsgStructAttackResponse_messageType) New() protoreflect.Message { + return new(fastReflection_MsgStructAttackResponse) +} +func (x fastReflection_MsgStructAttackResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgStructAttackResponse } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_MsgStructStorageStash) Descriptor() protoreflect.MessageDescriptor { - return md_MsgStructStorageStash +func (x *fastReflection_MsgStructAttackResponse) Descriptor() protoreflect.MessageDescriptor { + return md_MsgStructAttackResponse } // 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_MsgStructStorageStash) Type() protoreflect.MessageType { - return _fastReflection_MsgStructStorageStash_messageType +func (x *fastReflection_MsgStructAttackResponse) Type() protoreflect.MessageType { + return _fastReflection_MsgStructAttackResponse_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_MsgStructStorageStash) New() protoreflect.Message { - return new(fastReflection_MsgStructStorageStash) +func (x *fastReflection_MsgStructAttackResponse) New() protoreflect.Message { + return new(fastReflection_MsgStructAttackResponse) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_MsgStructStorageStash) Interface() protoreflect.ProtoMessage { - return (*MsgStructStorageStash)(x) +func (x *fastReflection_MsgStructAttackResponse) Interface() protoreflect.ProtoMessage { + return (*MsgStructAttackResponse)(x) } // Range iterates over every populated field in an undefined order, @@ -36134,37 +35758,7 @@ func (x *fastReflection_MsgStructStorageStash) Interface() protoreflect.ProtoMes // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_MsgStructStorageStash) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.Creator != "" { - value := protoreflect.ValueOfString(x.Creator) - if !f(fd_MsgStructStorageStash_creator, value) { - return - } - } - if x.StructId != "" { - value := protoreflect.ValueOfString(x.StructId) - if !f(fd_MsgStructStorageStash_structId, value) { - return - } - } - if x.LocationId != "" { - value := protoreflect.ValueOfString(x.LocationId) - if !f(fd_MsgStructStorageStash_locationId, value) { - return - } - } - if x.Ambit != 0 { - value := protoreflect.ValueOfEnum((protoreflect.EnumNumber)(x.Ambit)) - if !f(fd_MsgStructStorageStash_ambit, value) { - return - } - } - if x.Slot != uint64(0) { - value := protoreflect.ValueOfUint64(x.Slot) - if !f(fd_MsgStructStorageStash_slot, value) { - return - } - } +func (x *fastReflection_MsgStructAttackResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { } // Has reports whether a field is populated. @@ -36178,23 +35772,13 @@ func (x *fastReflection_MsgStructStorageStash) Range(f func(protoreflect.FieldDe // 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_MsgStructStorageStash) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_MsgStructAttackResponse) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.MsgStructStorageStash.creator": - return x.Creator != "" - case "structs.structs.MsgStructStorageStash.structId": - return x.StructId != "" - case "structs.structs.MsgStructStorageStash.locationId": - return x.LocationId != "" - case "structs.structs.MsgStructStorageStash.ambit": - return x.Ambit != 0 - case "structs.structs.MsgStructStorageStash.slot": - return x.Slot != uint64(0) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructStorageStash")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructAttackResponse")) } - panic(fmt.Errorf("message structs.structs.MsgStructStorageStash does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructAttackResponse does not contain field %s", fd.FullName())) } } @@ -36204,23 +35788,13 @@ func (x *fastReflection_MsgStructStorageStash) Has(fd protoreflect.FieldDescript // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgStructStorageStash) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_MsgStructAttackResponse) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.MsgStructStorageStash.creator": - x.Creator = "" - case "structs.structs.MsgStructStorageStash.structId": - x.StructId = "" - case "structs.structs.MsgStructStorageStash.locationId": - x.LocationId = "" - case "structs.structs.MsgStructStorageStash.ambit": - x.Ambit = 0 - case "structs.structs.MsgStructStorageStash.slot": - x.Slot = uint64(0) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructStorageStash")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructAttackResponse")) } - panic(fmt.Errorf("message structs.structs.MsgStructStorageStash does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructAttackResponse does not contain field %s", fd.FullName())) } } @@ -36230,28 +35804,13 @@ func (x *fastReflection_MsgStructStorageStash) Clear(fd protoreflect.FieldDescri // 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_MsgStructStorageStash) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgStructAttackResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.MsgStructStorageStash.creator": - value := x.Creator - return protoreflect.ValueOfString(value) - case "structs.structs.MsgStructStorageStash.structId": - value := x.StructId - return protoreflect.ValueOfString(value) - case "structs.structs.MsgStructStorageStash.locationId": - value := x.LocationId - return protoreflect.ValueOfString(value) - case "structs.structs.MsgStructStorageStash.ambit": - value := x.Ambit - return protoreflect.ValueOfEnum((protoreflect.EnumNumber)(value)) - case "structs.structs.MsgStructStorageStash.slot": - value := x.Slot - return protoreflect.ValueOfUint64(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructStorageStash")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructAttackResponse")) } - panic(fmt.Errorf("message structs.structs.MsgStructStorageStash does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructAttackResponse does not contain field %s", descriptor.FullName())) } } @@ -36265,23 +35824,13 @@ func (x *fastReflection_MsgStructStorageStash) Get(descriptor protoreflect.Field // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgStructStorageStash) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_MsgStructAttackResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.MsgStructStorageStash.creator": - x.Creator = value.Interface().(string) - case "structs.structs.MsgStructStorageStash.structId": - x.StructId = value.Interface().(string) - case "structs.structs.MsgStructStorageStash.locationId": - x.LocationId = value.Interface().(string) - case "structs.structs.MsgStructStorageStash.ambit": - x.Ambit = (Ambit)(value.Enum()) - case "structs.structs.MsgStructStorageStash.slot": - x.Slot = value.Uint() default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructStorageStash")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructAttackResponse")) } - panic(fmt.Errorf("message structs.structs.MsgStructStorageStash does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructAttackResponse does not contain field %s", fd.FullName())) } } @@ -36295,56 +35844,36 @@ func (x *fastReflection_MsgStructStorageStash) Set(fd protoreflect.FieldDescript // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgStructStorageStash) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgStructAttackResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.MsgStructStorageStash.creator": - panic(fmt.Errorf("field creator of message structs.structs.MsgStructStorageStash is not mutable")) - case "structs.structs.MsgStructStorageStash.structId": - panic(fmt.Errorf("field structId of message structs.structs.MsgStructStorageStash is not mutable")) - case "structs.structs.MsgStructStorageStash.locationId": - panic(fmt.Errorf("field locationId of message structs.structs.MsgStructStorageStash is not mutable")) - case "structs.structs.MsgStructStorageStash.ambit": - panic(fmt.Errorf("field ambit of message structs.structs.MsgStructStorageStash is not mutable")) - case "structs.structs.MsgStructStorageStash.slot": - panic(fmt.Errorf("field slot of message structs.structs.MsgStructStorageStash is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructStorageStash")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructAttackResponse")) } - panic(fmt.Errorf("message structs.structs.MsgStructStorageStash does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructAttackResponse 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_MsgStructStorageStash) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgStructAttackResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.MsgStructStorageStash.creator": - return protoreflect.ValueOfString("") - case "structs.structs.MsgStructStorageStash.structId": - return protoreflect.ValueOfString("") - case "structs.structs.MsgStructStorageStash.locationId": - return protoreflect.ValueOfString("") - case "structs.structs.MsgStructStorageStash.ambit": - return protoreflect.ValueOfEnum(0) - case "structs.structs.MsgStructStorageStash.slot": - return protoreflect.ValueOfUint64(uint64(0)) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructStorageStash")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructAttackResponse")) } - panic(fmt.Errorf("message structs.structs.MsgStructStorageStash does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructAttackResponse 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_MsgStructStorageStash) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_MsgStructAttackResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgStructStorageStash", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgStructAttackResponse", d.FullName())) } panic("unreachable") } @@ -36352,7 +35881,7 @@ func (x *fastReflection_MsgStructStorageStash) WhichOneof(d protoreflect.OneofDe // 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_MsgStructStorageStash) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_MsgStructAttackResponse) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -36363,7 +35892,7 @@ func (x *fastReflection_MsgStructStorageStash) GetUnknown() protoreflect.RawFiel // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgStructStorageStash) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_MsgStructAttackResponse) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -36375,7 +35904,7 @@ func (x *fastReflection_MsgStructStorageStash) SetUnknown(fields protoreflect.Ra // 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_MsgStructStorageStash) IsValid() bool { +func (x *fastReflection_MsgStructAttackResponse) IsValid() bool { return x != nil } @@ -36385,9 +35914,9 @@ func (x *fastReflection_MsgStructStorageStash) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_MsgStructStorageStash) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_MsgStructAttackResponse) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*MsgStructStorageStash) + x := input.Message.Interface().(*MsgStructAttackResponse) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -36399,24 +35928,6 @@ func (x *fastReflection_MsgStructStorageStash) ProtoMethods() *protoiface.Method var n int var l int _ = l - l = len(x.Creator) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } - l = len(x.StructId) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } - l = len(x.LocationId) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } - if x.Ambit != 0 { - n += 1 + runtime.Sov(uint64(x.Ambit)) - } - if x.Slot != 0 { - n += 1 + runtime.Sov(uint64(x.Slot)) - } if x.unknownFields != nil { n += len(x.unknownFields) } @@ -36427,7 +35938,7 @@ func (x *fastReflection_MsgStructStorageStash) ProtoMethods() *protoiface.Method } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*MsgStructStorageStash) + x := input.Message.Interface().(*MsgStructAttackResponse) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -36446,37 +35957,6 @@ func (x *fastReflection_MsgStructStorageStash) ProtoMethods() *protoiface.Method i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if x.Slot != 0 { - i = runtime.EncodeVarint(dAtA, i, uint64(x.Slot)) - i-- - dAtA[i] = 0x28 - } - if x.Ambit != 0 { - i = runtime.EncodeVarint(dAtA, i, uint64(x.Ambit)) - i-- - dAtA[i] = 0x20 - } - if len(x.LocationId) > 0 { - i -= len(x.LocationId) - copy(dAtA[i:], x.LocationId) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.LocationId))) - i-- - dAtA[i] = 0x1a - } - if len(x.StructId) > 0 { - i -= len(x.StructId) - copy(dAtA[i:], x.StructId) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.StructId))) - i-- - dAtA[i] = 0x12 - } - if len(x.Creator) > 0 { - i -= len(x.Creator) - copy(dAtA[i:], x.Creator) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Creator))) - i-- - dAtA[i] = 0xa - } if input.Buf != nil { input.Buf = append(input.Buf, dAtA...) } else { @@ -36488,7 +35968,7 @@ func (x *fastReflection_MsgStructStorageStash) ProtoMethods() *protoiface.Method }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*MsgStructStorageStash) + x := input.Message.Interface().(*MsgStructAttackResponse) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -36520,146 +36000,12 @@ func (x *fastReflection_MsgStructStorageStash) ProtoMethods() *protoiface.Method fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgStructStorageStash: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgStructAttackResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgStructStorageStash: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgStructAttackResponse: 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 Creator", 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.Creator = 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 StructId", 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.StructId = 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 LocationId", 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.LocationId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Ambit", wireType) - } - x.Ambit = 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.Ambit |= Ambit(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 5: - if wireType != 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Slot", wireType) - } - x.Slot = 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.Slot |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } default: iNdEx = preIndex skippy, err := runtime.Skip(dAtA[iNdEx:]) @@ -36696,35 +36042,27 @@ func (x *fastReflection_MsgStructStorageStash) ProtoMethods() *protoiface.Method } var ( - md_MsgStructStorageRecall protoreflect.MessageDescriptor - fd_MsgStructStorageRecall_creator protoreflect.FieldDescriptor - fd_MsgStructStorageRecall_structId protoreflect.FieldDescriptor - fd_MsgStructStorageRecall_locationId protoreflect.FieldDescriptor - fd_MsgStructStorageRecall_ambit protoreflect.FieldDescriptor - fd_MsgStructStorageRecall_slot protoreflect.FieldDescriptor - fd_MsgStructStorageRecall_activate protoreflect.FieldDescriptor + md_MsgStructStealthActivate protoreflect.MessageDescriptor + fd_MsgStructStealthActivate_creator protoreflect.FieldDescriptor + fd_MsgStructStealthActivate_structId protoreflect.FieldDescriptor ) func init() { file_structs_structs_tx_proto_init() - md_MsgStructStorageRecall = File_structs_structs_tx_proto.Messages().ByName("MsgStructStorageRecall") - fd_MsgStructStorageRecall_creator = md_MsgStructStorageRecall.Fields().ByName("creator") - fd_MsgStructStorageRecall_structId = md_MsgStructStorageRecall.Fields().ByName("structId") - fd_MsgStructStorageRecall_locationId = md_MsgStructStorageRecall.Fields().ByName("locationId") - fd_MsgStructStorageRecall_ambit = md_MsgStructStorageRecall.Fields().ByName("ambit") - fd_MsgStructStorageRecall_slot = md_MsgStructStorageRecall.Fields().ByName("slot") - fd_MsgStructStorageRecall_activate = md_MsgStructStorageRecall.Fields().ByName("activate") + md_MsgStructStealthActivate = File_structs_structs_tx_proto.Messages().ByName("MsgStructStealthActivate") + fd_MsgStructStealthActivate_creator = md_MsgStructStealthActivate.Fields().ByName("creator") + fd_MsgStructStealthActivate_structId = md_MsgStructStealthActivate.Fields().ByName("structId") } -var _ protoreflect.Message = (*fastReflection_MsgStructStorageRecall)(nil) +var _ protoreflect.Message = (*fastReflection_MsgStructStealthActivate)(nil) -type fastReflection_MsgStructStorageRecall MsgStructStorageRecall +type fastReflection_MsgStructStealthActivate MsgStructStealthActivate -func (x *MsgStructStorageRecall) ProtoReflect() protoreflect.Message { - return (*fastReflection_MsgStructStorageRecall)(x) +func (x *MsgStructStealthActivate) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgStructStealthActivate)(x) } -func (x *MsgStructStorageRecall) slowProtoReflect() protoreflect.Message { +func (x *MsgStructStealthActivate) slowProtoReflect() protoreflect.Message { mi := &file_structs_structs_tx_proto_msgTypes[70] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -36736,43 +36074,43 @@ func (x *MsgStructStorageRecall) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_MsgStructStorageRecall_messageType fastReflection_MsgStructStorageRecall_messageType -var _ protoreflect.MessageType = fastReflection_MsgStructStorageRecall_messageType{} +var _fastReflection_MsgStructStealthActivate_messageType fastReflection_MsgStructStealthActivate_messageType +var _ protoreflect.MessageType = fastReflection_MsgStructStealthActivate_messageType{} -type fastReflection_MsgStructStorageRecall_messageType struct{} +type fastReflection_MsgStructStealthActivate_messageType struct{} -func (x fastReflection_MsgStructStorageRecall_messageType) Zero() protoreflect.Message { - return (*fastReflection_MsgStructStorageRecall)(nil) +func (x fastReflection_MsgStructStealthActivate_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgStructStealthActivate)(nil) } -func (x fastReflection_MsgStructStorageRecall_messageType) New() protoreflect.Message { - return new(fastReflection_MsgStructStorageRecall) +func (x fastReflection_MsgStructStealthActivate_messageType) New() protoreflect.Message { + return new(fastReflection_MsgStructStealthActivate) } -func (x fastReflection_MsgStructStorageRecall_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_MsgStructStorageRecall +func (x fastReflection_MsgStructStealthActivate_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgStructStealthActivate } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_MsgStructStorageRecall) Descriptor() protoreflect.MessageDescriptor { - return md_MsgStructStorageRecall +func (x *fastReflection_MsgStructStealthActivate) Descriptor() protoreflect.MessageDescriptor { + return md_MsgStructStealthActivate } // 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_MsgStructStorageRecall) Type() protoreflect.MessageType { - return _fastReflection_MsgStructStorageRecall_messageType +func (x *fastReflection_MsgStructStealthActivate) Type() protoreflect.MessageType { + return _fastReflection_MsgStructStealthActivate_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_MsgStructStorageRecall) New() protoreflect.Message { - return new(fastReflection_MsgStructStorageRecall) +func (x *fastReflection_MsgStructStealthActivate) New() protoreflect.Message { + return new(fastReflection_MsgStructStealthActivate) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_MsgStructStorageRecall) Interface() protoreflect.ProtoMessage { - return (*MsgStructStorageRecall)(x) +func (x *fastReflection_MsgStructStealthActivate) Interface() protoreflect.ProtoMessage { + return (*MsgStructStealthActivate)(x) } // Range iterates over every populated field in an undefined order, @@ -36780,40 +36118,16 @@ func (x *fastReflection_MsgStructStorageRecall) Interface() protoreflect.ProtoMe // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_MsgStructStorageRecall) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +func (x *fastReflection_MsgStructStealthActivate) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { if x.Creator != "" { value := protoreflect.ValueOfString(x.Creator) - if !f(fd_MsgStructStorageRecall_creator, value) { + if !f(fd_MsgStructStealthActivate_creator, value) { return } } if x.StructId != "" { value := protoreflect.ValueOfString(x.StructId) - if !f(fd_MsgStructStorageRecall_structId, value) { - return - } - } - if x.LocationId != "" { - value := protoreflect.ValueOfString(x.LocationId) - if !f(fd_MsgStructStorageRecall_locationId, value) { - return - } - } - if x.Ambit != 0 { - value := protoreflect.ValueOfEnum((protoreflect.EnumNumber)(x.Ambit)) - if !f(fd_MsgStructStorageRecall_ambit, value) { - return - } - } - if x.Slot != uint64(0) { - value := protoreflect.ValueOfUint64(x.Slot) - if !f(fd_MsgStructStorageRecall_slot, value) { - return - } - } - if x.Activate != false { - value := protoreflect.ValueOfBool(x.Activate) - if !f(fd_MsgStructStorageRecall_activate, value) { + if !f(fd_MsgStructStealthActivate_structId, value) { return } } @@ -36830,25 +36144,17 @@ func (x *fastReflection_MsgStructStorageRecall) Range(f func(protoreflect.FieldD // 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_MsgStructStorageRecall) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_MsgStructStealthActivate) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.MsgStructStorageRecall.creator": + case "structs.structs.MsgStructStealthActivate.creator": return x.Creator != "" - case "structs.structs.MsgStructStorageRecall.structId": + case "structs.structs.MsgStructStealthActivate.structId": return x.StructId != "" - case "structs.structs.MsgStructStorageRecall.locationId": - return x.LocationId != "" - case "structs.structs.MsgStructStorageRecall.ambit": - return x.Ambit != 0 - case "structs.structs.MsgStructStorageRecall.slot": - return x.Slot != uint64(0) - case "structs.structs.MsgStructStorageRecall.activate": - return x.Activate != false default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructStorageRecall")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructStealthActivate")) } - panic(fmt.Errorf("message structs.structs.MsgStructStorageRecall does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructStealthActivate does not contain field %s", fd.FullName())) } } @@ -36858,25 +36164,17 @@ func (x *fastReflection_MsgStructStorageRecall) Has(fd protoreflect.FieldDescrip // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgStructStorageRecall) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_MsgStructStealthActivate) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.MsgStructStorageRecall.creator": + case "structs.structs.MsgStructStealthActivate.creator": x.Creator = "" - case "structs.structs.MsgStructStorageRecall.structId": + case "structs.structs.MsgStructStealthActivate.structId": x.StructId = "" - case "structs.structs.MsgStructStorageRecall.locationId": - x.LocationId = "" - case "structs.structs.MsgStructStorageRecall.ambit": - x.Ambit = 0 - case "structs.structs.MsgStructStorageRecall.slot": - x.Slot = uint64(0) - case "structs.structs.MsgStructStorageRecall.activate": - x.Activate = false default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructStorageRecall")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructStealthActivate")) } - panic(fmt.Errorf("message structs.structs.MsgStructStorageRecall does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructStealthActivate does not contain field %s", fd.FullName())) } } @@ -36886,31 +36184,19 @@ func (x *fastReflection_MsgStructStorageRecall) Clear(fd protoreflect.FieldDescr // 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_MsgStructStorageRecall) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgStructStealthActivate) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.MsgStructStorageRecall.creator": + case "structs.structs.MsgStructStealthActivate.creator": value := x.Creator return protoreflect.ValueOfString(value) - case "structs.structs.MsgStructStorageRecall.structId": + case "structs.structs.MsgStructStealthActivate.structId": value := x.StructId return protoreflect.ValueOfString(value) - case "structs.structs.MsgStructStorageRecall.locationId": - value := x.LocationId - return protoreflect.ValueOfString(value) - case "structs.structs.MsgStructStorageRecall.ambit": - value := x.Ambit - return protoreflect.ValueOfEnum((protoreflect.EnumNumber)(value)) - case "structs.structs.MsgStructStorageRecall.slot": - value := x.Slot - return protoreflect.ValueOfUint64(value) - case "structs.structs.MsgStructStorageRecall.activate": - value := x.Activate - return protoreflect.ValueOfBool(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructStorageRecall")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructStealthActivate")) } - panic(fmt.Errorf("message structs.structs.MsgStructStorageRecall does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructStealthActivate does not contain field %s", descriptor.FullName())) } } @@ -36924,25 +36210,17 @@ func (x *fastReflection_MsgStructStorageRecall) Get(descriptor protoreflect.Fiel // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgStructStorageRecall) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_MsgStructStealthActivate) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.MsgStructStorageRecall.creator": + case "structs.structs.MsgStructStealthActivate.creator": x.Creator = value.Interface().(string) - case "structs.structs.MsgStructStorageRecall.structId": + case "structs.structs.MsgStructStealthActivate.structId": x.StructId = value.Interface().(string) - case "structs.structs.MsgStructStorageRecall.locationId": - x.LocationId = value.Interface().(string) - case "structs.structs.MsgStructStorageRecall.ambit": - x.Ambit = (Ambit)(value.Enum()) - case "structs.structs.MsgStructStorageRecall.slot": - x.Slot = value.Uint() - case "structs.structs.MsgStructStorageRecall.activate": - x.Activate = value.Bool() default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructStorageRecall")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructStealthActivate")) } - panic(fmt.Errorf("message structs.structs.MsgStructStorageRecall does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructStealthActivate does not contain field %s", fd.FullName())) } } @@ -36956,60 +36234,44 @@ func (x *fastReflection_MsgStructStorageRecall) Set(fd protoreflect.FieldDescrip // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgStructStorageRecall) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgStructStealthActivate) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.MsgStructStorageRecall.creator": - panic(fmt.Errorf("field creator of message structs.structs.MsgStructStorageRecall is not mutable")) - case "structs.structs.MsgStructStorageRecall.structId": - panic(fmt.Errorf("field structId of message structs.structs.MsgStructStorageRecall is not mutable")) - case "structs.structs.MsgStructStorageRecall.locationId": - panic(fmt.Errorf("field locationId of message structs.structs.MsgStructStorageRecall is not mutable")) - case "structs.structs.MsgStructStorageRecall.ambit": - panic(fmt.Errorf("field ambit of message structs.structs.MsgStructStorageRecall is not mutable")) - case "structs.structs.MsgStructStorageRecall.slot": - panic(fmt.Errorf("field slot of message structs.structs.MsgStructStorageRecall is not mutable")) - case "structs.structs.MsgStructStorageRecall.activate": - panic(fmt.Errorf("field activate of message structs.structs.MsgStructStorageRecall is not mutable")) + case "structs.structs.MsgStructStealthActivate.creator": + panic(fmt.Errorf("field creator of message structs.structs.MsgStructStealthActivate is not mutable")) + case "structs.structs.MsgStructStealthActivate.structId": + panic(fmt.Errorf("field structId of message structs.structs.MsgStructStealthActivate is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructStorageRecall")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructStealthActivate")) } - panic(fmt.Errorf("message structs.structs.MsgStructStorageRecall does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructStealthActivate 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_MsgStructStorageRecall) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgStructStealthActivate) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.MsgStructStorageRecall.creator": - return protoreflect.ValueOfString("") - case "structs.structs.MsgStructStorageRecall.structId": + case "structs.structs.MsgStructStealthActivate.creator": return protoreflect.ValueOfString("") - case "structs.structs.MsgStructStorageRecall.locationId": + case "structs.structs.MsgStructStealthActivate.structId": return protoreflect.ValueOfString("") - case "structs.structs.MsgStructStorageRecall.ambit": - return protoreflect.ValueOfEnum(0) - case "structs.structs.MsgStructStorageRecall.slot": - return protoreflect.ValueOfUint64(uint64(0)) - case "structs.structs.MsgStructStorageRecall.activate": - return protoreflect.ValueOfBool(false) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructStorageRecall")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructStealthActivate")) } - panic(fmt.Errorf("message structs.structs.MsgStructStorageRecall does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructStealthActivate 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_MsgStructStorageRecall) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_MsgStructStealthActivate) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgStructStorageRecall", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgStructStealthActivate", d.FullName())) } panic("unreachable") } @@ -37017,7 +36279,7 @@ func (x *fastReflection_MsgStructStorageRecall) WhichOneof(d protoreflect.OneofD // 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_MsgStructStorageRecall) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_MsgStructStealthActivate) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -37028,7 +36290,7 @@ func (x *fastReflection_MsgStructStorageRecall) GetUnknown() protoreflect.RawFie // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgStructStorageRecall) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_MsgStructStealthActivate) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -37040,7 +36302,7 @@ func (x *fastReflection_MsgStructStorageRecall) SetUnknown(fields protoreflect.R // 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_MsgStructStorageRecall) IsValid() bool { +func (x *fastReflection_MsgStructStealthActivate) IsValid() bool { return x != nil } @@ -37050,9 +36312,9 @@ func (x *fastReflection_MsgStructStorageRecall) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_MsgStructStorageRecall) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_MsgStructStealthActivate) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*MsgStructStorageRecall) + x := input.Message.Interface().(*MsgStructStealthActivate) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -37072,19 +36334,6 @@ func (x *fastReflection_MsgStructStorageRecall) ProtoMethods() *protoiface.Metho if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } - l = len(x.LocationId) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } - if x.Ambit != 0 { - n += 1 + runtime.Sov(uint64(x.Ambit)) - } - if x.Slot != 0 { - n += 1 + runtime.Sov(uint64(x.Slot)) - } - if x.Activate { - n += 2 - } if x.unknownFields != nil { n += len(x.unknownFields) } @@ -37095,7 +36344,7 @@ func (x *fastReflection_MsgStructStorageRecall) ProtoMethods() *protoiface.Metho } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*MsgStructStorageRecall) + x := input.Message.Interface().(*MsgStructStealthActivate) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -37114,33 +36363,6 @@ func (x *fastReflection_MsgStructStorageRecall) ProtoMethods() *protoiface.Metho i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if x.Activate { - i-- - if x.Activate { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x30 - } - if x.Slot != 0 { - i = runtime.EncodeVarint(dAtA, i, uint64(x.Slot)) - i-- - dAtA[i] = 0x28 - } - if x.Ambit != 0 { - i = runtime.EncodeVarint(dAtA, i, uint64(x.Ambit)) - i-- - dAtA[i] = 0x20 - } - if len(x.LocationId) > 0 { - i -= len(x.LocationId) - copy(dAtA[i:], x.LocationId) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.LocationId))) - i-- - dAtA[i] = 0x1a - } if len(x.StructId) > 0 { i -= len(x.StructId) copy(dAtA[i:], x.StructId) @@ -37166,7 +36388,7 @@ func (x *fastReflection_MsgStructStorageRecall) ProtoMethods() *protoiface.Metho }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*MsgStructStorageRecall) + x := input.Message.Interface().(*MsgStructStealthActivate) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -37198,10 +36420,10 @@ func (x *fastReflection_MsgStructStorageRecall) ProtoMethods() *protoiface.Metho fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgStructStorageRecall: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgStructStealthActivate: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgStructStorageRecall: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgStructStealthActivate: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -37268,96 +36490,6 @@ func (x *fastReflection_MsgStructStorageRecall) ProtoMethods() *protoiface.Metho } x.StructId = 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 LocationId", 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.LocationId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: - if wireType != 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Ambit", wireType) - } - x.Ambit = 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.Ambit |= Ambit(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 5: - if wireType != 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Slot", wireType) - } - x.Slot = 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.Slot |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 6: - if wireType != 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Activate", wireType) - } - var v 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++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - x.Activate = bool(v != 0) default: iNdEx = preIndex skippy, err := runtime.Skip(dAtA[iNdEx:]) @@ -37394,29 +36526,27 @@ func (x *fastReflection_MsgStructStorageRecall) ProtoMethods() *protoiface.Metho } var ( - md_MsgSubstationCreate protoreflect.MessageDescriptor - fd_MsgSubstationCreate_creator protoreflect.FieldDescriptor - fd_MsgSubstationCreate_owner protoreflect.FieldDescriptor - fd_MsgSubstationCreate_allocationId protoreflect.FieldDescriptor + md_MsgStructStealthDeactivate protoreflect.MessageDescriptor + fd_MsgStructStealthDeactivate_creator protoreflect.FieldDescriptor + fd_MsgStructStealthDeactivate_structId protoreflect.FieldDescriptor ) func init() { file_structs_structs_tx_proto_init() - md_MsgSubstationCreate = File_structs_structs_tx_proto.Messages().ByName("MsgSubstationCreate") - fd_MsgSubstationCreate_creator = md_MsgSubstationCreate.Fields().ByName("creator") - fd_MsgSubstationCreate_owner = md_MsgSubstationCreate.Fields().ByName("owner") - fd_MsgSubstationCreate_allocationId = md_MsgSubstationCreate.Fields().ByName("allocationId") + md_MsgStructStealthDeactivate = File_structs_structs_tx_proto.Messages().ByName("MsgStructStealthDeactivate") + fd_MsgStructStealthDeactivate_creator = md_MsgStructStealthDeactivate.Fields().ByName("creator") + fd_MsgStructStealthDeactivate_structId = md_MsgStructStealthDeactivate.Fields().ByName("structId") } -var _ protoreflect.Message = (*fastReflection_MsgSubstationCreate)(nil) +var _ protoreflect.Message = (*fastReflection_MsgStructStealthDeactivate)(nil) -type fastReflection_MsgSubstationCreate MsgSubstationCreate +type fastReflection_MsgStructStealthDeactivate MsgStructStealthDeactivate -func (x *MsgSubstationCreate) ProtoReflect() protoreflect.Message { - return (*fastReflection_MsgSubstationCreate)(x) +func (x *MsgStructStealthDeactivate) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgStructStealthDeactivate)(x) } -func (x *MsgSubstationCreate) slowProtoReflect() protoreflect.Message { +func (x *MsgStructStealthDeactivate) slowProtoReflect() protoreflect.Message { mi := &file_structs_structs_tx_proto_msgTypes[71] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -37428,43 +36558,43 @@ func (x *MsgSubstationCreate) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_MsgSubstationCreate_messageType fastReflection_MsgSubstationCreate_messageType -var _ protoreflect.MessageType = fastReflection_MsgSubstationCreate_messageType{} +var _fastReflection_MsgStructStealthDeactivate_messageType fastReflection_MsgStructStealthDeactivate_messageType +var _ protoreflect.MessageType = fastReflection_MsgStructStealthDeactivate_messageType{} -type fastReflection_MsgSubstationCreate_messageType struct{} +type fastReflection_MsgStructStealthDeactivate_messageType struct{} -func (x fastReflection_MsgSubstationCreate_messageType) Zero() protoreflect.Message { - return (*fastReflection_MsgSubstationCreate)(nil) +func (x fastReflection_MsgStructStealthDeactivate_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgStructStealthDeactivate)(nil) } -func (x fastReflection_MsgSubstationCreate_messageType) New() protoreflect.Message { - return new(fastReflection_MsgSubstationCreate) +func (x fastReflection_MsgStructStealthDeactivate_messageType) New() protoreflect.Message { + return new(fastReflection_MsgStructStealthDeactivate) } -func (x fastReflection_MsgSubstationCreate_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_MsgSubstationCreate +func (x fastReflection_MsgStructStealthDeactivate_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgStructStealthDeactivate } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_MsgSubstationCreate) Descriptor() protoreflect.MessageDescriptor { - return md_MsgSubstationCreate +func (x *fastReflection_MsgStructStealthDeactivate) Descriptor() protoreflect.MessageDescriptor { + return md_MsgStructStealthDeactivate } // 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_MsgSubstationCreate) Type() protoreflect.MessageType { - return _fastReflection_MsgSubstationCreate_messageType +func (x *fastReflection_MsgStructStealthDeactivate) Type() protoreflect.MessageType { + return _fastReflection_MsgStructStealthDeactivate_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_MsgSubstationCreate) New() protoreflect.Message { - return new(fastReflection_MsgSubstationCreate) +func (x *fastReflection_MsgStructStealthDeactivate) New() protoreflect.Message { + return new(fastReflection_MsgStructStealthDeactivate) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_MsgSubstationCreate) Interface() protoreflect.ProtoMessage { - return (*MsgSubstationCreate)(x) +func (x *fastReflection_MsgStructStealthDeactivate) Interface() protoreflect.ProtoMessage { + return (*MsgStructStealthDeactivate)(x) } // Range iterates over every populated field in an undefined order, @@ -37472,22 +36602,16 @@ func (x *fastReflection_MsgSubstationCreate) Interface() protoreflect.ProtoMessa // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_MsgSubstationCreate) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +func (x *fastReflection_MsgStructStealthDeactivate) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { if x.Creator != "" { value := protoreflect.ValueOfString(x.Creator) - if !f(fd_MsgSubstationCreate_creator, value) { - return - } - } - if x.Owner != "" { - value := protoreflect.ValueOfString(x.Owner) - if !f(fd_MsgSubstationCreate_owner, value) { + if !f(fd_MsgStructStealthDeactivate_creator, value) { return } } - if x.AllocationId != "" { - value := protoreflect.ValueOfString(x.AllocationId) - if !f(fd_MsgSubstationCreate_allocationId, value) { + if x.StructId != "" { + value := protoreflect.ValueOfString(x.StructId) + if !f(fd_MsgStructStealthDeactivate_structId, value) { return } } @@ -37504,19 +36628,17 @@ func (x *fastReflection_MsgSubstationCreate) Range(f func(protoreflect.FieldDesc // 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_MsgSubstationCreate) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_MsgStructStealthDeactivate) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.MsgSubstationCreate.creator": + case "structs.structs.MsgStructStealthDeactivate.creator": return x.Creator != "" - case "structs.structs.MsgSubstationCreate.owner": - return x.Owner != "" - case "structs.structs.MsgSubstationCreate.allocationId": - return x.AllocationId != "" + case "structs.structs.MsgStructStealthDeactivate.structId": + return x.StructId != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationCreate")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructStealthDeactivate")) } - panic(fmt.Errorf("message structs.structs.MsgSubstationCreate does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructStealthDeactivate does not contain field %s", fd.FullName())) } } @@ -37526,19 +36648,17 @@ func (x *fastReflection_MsgSubstationCreate) Has(fd protoreflect.FieldDescriptor // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgSubstationCreate) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_MsgStructStealthDeactivate) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.MsgSubstationCreate.creator": + case "structs.structs.MsgStructStealthDeactivate.creator": x.Creator = "" - case "structs.structs.MsgSubstationCreate.owner": - x.Owner = "" - case "structs.structs.MsgSubstationCreate.allocationId": - x.AllocationId = "" + case "structs.structs.MsgStructStealthDeactivate.structId": + x.StructId = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationCreate")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructStealthDeactivate")) } - panic(fmt.Errorf("message structs.structs.MsgSubstationCreate does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructStealthDeactivate does not contain field %s", fd.FullName())) } } @@ -37548,22 +36668,19 @@ func (x *fastReflection_MsgSubstationCreate) Clear(fd protoreflect.FieldDescript // 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_MsgSubstationCreate) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgStructStealthDeactivate) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.MsgSubstationCreate.creator": + case "structs.structs.MsgStructStealthDeactivate.creator": value := x.Creator return protoreflect.ValueOfString(value) - case "structs.structs.MsgSubstationCreate.owner": - value := x.Owner - return protoreflect.ValueOfString(value) - case "structs.structs.MsgSubstationCreate.allocationId": - value := x.AllocationId + case "structs.structs.MsgStructStealthDeactivate.structId": + value := x.StructId return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationCreate")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructStealthDeactivate")) } - panic(fmt.Errorf("message structs.structs.MsgSubstationCreate does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructStealthDeactivate does not contain field %s", descriptor.FullName())) } } @@ -37577,19 +36694,17 @@ func (x *fastReflection_MsgSubstationCreate) Get(descriptor protoreflect.FieldDe // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgSubstationCreate) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_MsgStructStealthDeactivate) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.MsgSubstationCreate.creator": + case "structs.structs.MsgStructStealthDeactivate.creator": x.Creator = value.Interface().(string) - case "structs.structs.MsgSubstationCreate.owner": - x.Owner = value.Interface().(string) - case "structs.structs.MsgSubstationCreate.allocationId": - x.AllocationId = value.Interface().(string) + case "structs.structs.MsgStructStealthDeactivate.structId": + x.StructId = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationCreate")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructStealthDeactivate")) } - panic(fmt.Errorf("message structs.structs.MsgSubstationCreate does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructStealthDeactivate does not contain field %s", fd.FullName())) } } @@ -37603,48 +36718,44 @@ func (x *fastReflection_MsgSubstationCreate) Set(fd protoreflect.FieldDescriptor // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgSubstationCreate) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgStructStealthDeactivate) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.MsgSubstationCreate.creator": - panic(fmt.Errorf("field creator of message structs.structs.MsgSubstationCreate is not mutable")) - case "structs.structs.MsgSubstationCreate.owner": - panic(fmt.Errorf("field owner of message structs.structs.MsgSubstationCreate is not mutable")) - case "structs.structs.MsgSubstationCreate.allocationId": - panic(fmt.Errorf("field allocationId of message structs.structs.MsgSubstationCreate is not mutable")) + case "structs.structs.MsgStructStealthDeactivate.creator": + panic(fmt.Errorf("field creator of message structs.structs.MsgStructStealthDeactivate is not mutable")) + case "structs.structs.MsgStructStealthDeactivate.structId": + panic(fmt.Errorf("field structId of message structs.structs.MsgStructStealthDeactivate is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationCreate")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructStealthDeactivate")) } - panic(fmt.Errorf("message structs.structs.MsgSubstationCreate does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructStealthDeactivate 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_MsgSubstationCreate) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgStructStealthDeactivate) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.MsgSubstationCreate.creator": - return protoreflect.ValueOfString("") - case "structs.structs.MsgSubstationCreate.owner": + case "structs.structs.MsgStructStealthDeactivate.creator": return protoreflect.ValueOfString("") - case "structs.structs.MsgSubstationCreate.allocationId": + case "structs.structs.MsgStructStealthDeactivate.structId": return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationCreate")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructStealthDeactivate")) } - panic(fmt.Errorf("message structs.structs.MsgSubstationCreate does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructStealthDeactivate 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_MsgSubstationCreate) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_MsgStructStealthDeactivate) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgSubstationCreate", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgStructStealthDeactivate", d.FullName())) } panic("unreachable") } @@ -37652,7 +36763,7 @@ func (x *fastReflection_MsgSubstationCreate) WhichOneof(d protoreflect.OneofDesc // 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_MsgSubstationCreate) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_MsgStructStealthDeactivate) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -37663,7 +36774,7 @@ func (x *fastReflection_MsgSubstationCreate) GetUnknown() protoreflect.RawFields // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgSubstationCreate) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_MsgStructStealthDeactivate) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -37675,7 +36786,7 @@ func (x *fastReflection_MsgSubstationCreate) SetUnknown(fields protoreflect.RawF // 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_MsgSubstationCreate) IsValid() bool { +func (x *fastReflection_MsgStructStealthDeactivate) IsValid() bool { return x != nil } @@ -37685,9 +36796,9 @@ func (x *fastReflection_MsgSubstationCreate) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_MsgSubstationCreate) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_MsgStructStealthDeactivate) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*MsgSubstationCreate) + x := input.Message.Interface().(*MsgStructStealthDeactivate) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -37703,11 +36814,7 @@ func (x *fastReflection_MsgSubstationCreate) ProtoMethods() *protoiface.Methods if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } - l = len(x.Owner) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } - l = len(x.AllocationId) + l = len(x.StructId) if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } @@ -37721,7 +36828,7 @@ func (x *fastReflection_MsgSubstationCreate) ProtoMethods() *protoiface.Methods } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*MsgSubstationCreate) + x := input.Message.Interface().(*MsgStructStealthDeactivate) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -37740,17 +36847,10 @@ func (x *fastReflection_MsgSubstationCreate) ProtoMethods() *protoiface.Methods i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if len(x.AllocationId) > 0 { - i -= len(x.AllocationId) - copy(dAtA[i:], x.AllocationId) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.AllocationId))) - i-- - dAtA[i] = 0x1a - } - if len(x.Owner) > 0 { - i -= len(x.Owner) - copy(dAtA[i:], x.Owner) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Owner))) + if len(x.StructId) > 0 { + i -= len(x.StructId) + copy(dAtA[i:], x.StructId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.StructId))) i-- dAtA[i] = 0x12 } @@ -37772,7 +36872,7 @@ func (x *fastReflection_MsgSubstationCreate) ProtoMethods() *protoiface.Methods }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*MsgSubstationCreate) + x := input.Message.Interface().(*MsgStructStealthDeactivate) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -37804,10 +36904,10 @@ func (x *fastReflection_MsgSubstationCreate) ProtoMethods() *protoiface.Methods fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgSubstationCreate: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgStructStealthDeactivate: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgSubstationCreate: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgStructStealthDeactivate: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -37844,39 +36944,7 @@ func (x *fastReflection_MsgSubstationCreate) ProtoMethods() *protoiface.Methods iNdEx = postIndex case 2: if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Owner", 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.Owner = 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 AllocationId", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field StructId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -37904,7 +36972,7 @@ func (x *fastReflection_MsgSubstationCreate) ProtoMethods() *protoiface.Methods if postIndex > l { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - x.AllocationId = string(dAtA[iNdEx:postIndex]) + x.StructId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -37942,25 +37010,29 @@ func (x *fastReflection_MsgSubstationCreate) ProtoMethods() *protoiface.Methods } var ( - md_MsgSubstationCreateResponse protoreflect.MessageDescriptor - fd_MsgSubstationCreateResponse_substationId protoreflect.FieldDescriptor + md_MsgStructGeneratorInfuse protoreflect.MessageDescriptor + fd_MsgStructGeneratorInfuse_creator protoreflect.FieldDescriptor + fd_MsgStructGeneratorInfuse_structId protoreflect.FieldDescriptor + fd_MsgStructGeneratorInfuse_infuseAmount protoreflect.FieldDescriptor ) func init() { file_structs_structs_tx_proto_init() - md_MsgSubstationCreateResponse = File_structs_structs_tx_proto.Messages().ByName("MsgSubstationCreateResponse") - fd_MsgSubstationCreateResponse_substationId = md_MsgSubstationCreateResponse.Fields().ByName("substationId") + md_MsgStructGeneratorInfuse = File_structs_structs_tx_proto.Messages().ByName("MsgStructGeneratorInfuse") + fd_MsgStructGeneratorInfuse_creator = md_MsgStructGeneratorInfuse.Fields().ByName("creator") + fd_MsgStructGeneratorInfuse_structId = md_MsgStructGeneratorInfuse.Fields().ByName("structId") + fd_MsgStructGeneratorInfuse_infuseAmount = md_MsgStructGeneratorInfuse.Fields().ByName("infuseAmount") } -var _ protoreflect.Message = (*fastReflection_MsgSubstationCreateResponse)(nil) +var _ protoreflect.Message = (*fastReflection_MsgStructGeneratorInfuse)(nil) -type fastReflection_MsgSubstationCreateResponse MsgSubstationCreateResponse +type fastReflection_MsgStructGeneratorInfuse MsgStructGeneratorInfuse -func (x *MsgSubstationCreateResponse) ProtoReflect() protoreflect.Message { - return (*fastReflection_MsgSubstationCreateResponse)(x) +func (x *MsgStructGeneratorInfuse) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgStructGeneratorInfuse)(x) } -func (x *MsgSubstationCreateResponse) slowProtoReflect() protoreflect.Message { +func (x *MsgStructGeneratorInfuse) slowProtoReflect() protoreflect.Message { mi := &file_structs_structs_tx_proto_msgTypes[72] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -37972,43 +37044,43 @@ func (x *MsgSubstationCreateResponse) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_MsgSubstationCreateResponse_messageType fastReflection_MsgSubstationCreateResponse_messageType -var _ protoreflect.MessageType = fastReflection_MsgSubstationCreateResponse_messageType{} +var _fastReflection_MsgStructGeneratorInfuse_messageType fastReflection_MsgStructGeneratorInfuse_messageType +var _ protoreflect.MessageType = fastReflection_MsgStructGeneratorInfuse_messageType{} -type fastReflection_MsgSubstationCreateResponse_messageType struct{} +type fastReflection_MsgStructGeneratorInfuse_messageType struct{} -func (x fastReflection_MsgSubstationCreateResponse_messageType) Zero() protoreflect.Message { - return (*fastReflection_MsgSubstationCreateResponse)(nil) +func (x fastReflection_MsgStructGeneratorInfuse_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgStructGeneratorInfuse)(nil) } -func (x fastReflection_MsgSubstationCreateResponse_messageType) New() protoreflect.Message { - return new(fastReflection_MsgSubstationCreateResponse) +func (x fastReflection_MsgStructGeneratorInfuse_messageType) New() protoreflect.Message { + return new(fastReflection_MsgStructGeneratorInfuse) } -func (x fastReflection_MsgSubstationCreateResponse_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_MsgSubstationCreateResponse +func (x fastReflection_MsgStructGeneratorInfuse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgStructGeneratorInfuse } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_MsgSubstationCreateResponse) Descriptor() protoreflect.MessageDescriptor { - return md_MsgSubstationCreateResponse +func (x *fastReflection_MsgStructGeneratorInfuse) Descriptor() protoreflect.MessageDescriptor { + return md_MsgStructGeneratorInfuse } // 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_MsgSubstationCreateResponse) Type() protoreflect.MessageType { - return _fastReflection_MsgSubstationCreateResponse_messageType +func (x *fastReflection_MsgStructGeneratorInfuse) Type() protoreflect.MessageType { + return _fastReflection_MsgStructGeneratorInfuse_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_MsgSubstationCreateResponse) New() protoreflect.Message { - return new(fastReflection_MsgSubstationCreateResponse) +func (x *fastReflection_MsgStructGeneratorInfuse) New() protoreflect.Message { + return new(fastReflection_MsgStructGeneratorInfuse) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_MsgSubstationCreateResponse) Interface() protoreflect.ProtoMessage { - return (*MsgSubstationCreateResponse)(x) +func (x *fastReflection_MsgStructGeneratorInfuse) Interface() protoreflect.ProtoMessage { + return (*MsgStructGeneratorInfuse)(x) } // Range iterates over every populated field in an undefined order, @@ -38016,10 +37088,22 @@ func (x *fastReflection_MsgSubstationCreateResponse) Interface() protoreflect.Pr // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_MsgSubstationCreateResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.SubstationId != "" { - value := protoreflect.ValueOfString(x.SubstationId) - if !f(fd_MsgSubstationCreateResponse_substationId, value) { +func (x *fastReflection_MsgStructGeneratorInfuse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Creator != "" { + value := protoreflect.ValueOfString(x.Creator) + if !f(fd_MsgStructGeneratorInfuse_creator, value) { + return + } + } + if x.StructId != "" { + value := protoreflect.ValueOfString(x.StructId) + if !f(fd_MsgStructGeneratorInfuse_structId, value) { + return + } + } + if x.InfuseAmount != "" { + value := protoreflect.ValueOfString(x.InfuseAmount) + if !f(fd_MsgStructGeneratorInfuse_infuseAmount, value) { return } } @@ -38036,15 +37120,19 @@ func (x *fastReflection_MsgSubstationCreateResponse) Range(f func(protoreflect.F // 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_MsgSubstationCreateResponse) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_MsgStructGeneratorInfuse) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.MsgSubstationCreateResponse.substationId": - return x.SubstationId != "" + case "structs.structs.MsgStructGeneratorInfuse.creator": + return x.Creator != "" + case "structs.structs.MsgStructGeneratorInfuse.structId": + return x.StructId != "" + case "structs.structs.MsgStructGeneratorInfuse.infuseAmount": + return x.InfuseAmount != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationCreateResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructGeneratorInfuse")) } - panic(fmt.Errorf("message structs.structs.MsgSubstationCreateResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructGeneratorInfuse does not contain field %s", fd.FullName())) } } @@ -38054,15 +37142,19 @@ func (x *fastReflection_MsgSubstationCreateResponse) Has(fd protoreflect.FieldDe // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgSubstationCreateResponse) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_MsgStructGeneratorInfuse) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.MsgSubstationCreateResponse.substationId": - x.SubstationId = "" + case "structs.structs.MsgStructGeneratorInfuse.creator": + x.Creator = "" + case "structs.structs.MsgStructGeneratorInfuse.structId": + x.StructId = "" + case "structs.structs.MsgStructGeneratorInfuse.infuseAmount": + x.InfuseAmount = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationCreateResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructGeneratorInfuse")) } - panic(fmt.Errorf("message structs.structs.MsgSubstationCreateResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructGeneratorInfuse does not contain field %s", fd.FullName())) } } @@ -38072,16 +37164,22 @@ func (x *fastReflection_MsgSubstationCreateResponse) Clear(fd protoreflect.Field // 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_MsgSubstationCreateResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgStructGeneratorInfuse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.MsgSubstationCreateResponse.substationId": - value := x.SubstationId + case "structs.structs.MsgStructGeneratorInfuse.creator": + value := x.Creator + return protoreflect.ValueOfString(value) + case "structs.structs.MsgStructGeneratorInfuse.structId": + value := x.StructId + return protoreflect.ValueOfString(value) + case "structs.structs.MsgStructGeneratorInfuse.infuseAmount": + value := x.InfuseAmount return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationCreateResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructGeneratorInfuse")) } - panic(fmt.Errorf("message structs.structs.MsgSubstationCreateResponse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructGeneratorInfuse does not contain field %s", descriptor.FullName())) } } @@ -38095,15 +37193,19 @@ func (x *fastReflection_MsgSubstationCreateResponse) Get(descriptor protoreflect // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgSubstationCreateResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_MsgStructGeneratorInfuse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.MsgSubstationCreateResponse.substationId": - x.SubstationId = value.Interface().(string) + case "structs.structs.MsgStructGeneratorInfuse.creator": + x.Creator = value.Interface().(string) + case "structs.structs.MsgStructGeneratorInfuse.structId": + x.StructId = value.Interface().(string) + case "structs.structs.MsgStructGeneratorInfuse.infuseAmount": + x.InfuseAmount = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationCreateResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructGeneratorInfuse")) } - panic(fmt.Errorf("message structs.structs.MsgSubstationCreateResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructGeneratorInfuse does not contain field %s", fd.FullName())) } } @@ -38117,40 +37219,48 @@ func (x *fastReflection_MsgSubstationCreateResponse) Set(fd protoreflect.FieldDe // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgSubstationCreateResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgStructGeneratorInfuse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.MsgSubstationCreateResponse.substationId": - panic(fmt.Errorf("field substationId of message structs.structs.MsgSubstationCreateResponse is not mutable")) + case "structs.structs.MsgStructGeneratorInfuse.creator": + panic(fmt.Errorf("field creator of message structs.structs.MsgStructGeneratorInfuse is not mutable")) + case "structs.structs.MsgStructGeneratorInfuse.structId": + panic(fmt.Errorf("field structId of message structs.structs.MsgStructGeneratorInfuse is not mutable")) + case "structs.structs.MsgStructGeneratorInfuse.infuseAmount": + panic(fmt.Errorf("field infuseAmount of message structs.structs.MsgStructGeneratorInfuse is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationCreateResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructGeneratorInfuse")) } - panic(fmt.Errorf("message structs.structs.MsgSubstationCreateResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructGeneratorInfuse 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_MsgSubstationCreateResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgStructGeneratorInfuse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.MsgSubstationCreateResponse.substationId": + case "structs.structs.MsgStructGeneratorInfuse.creator": + return protoreflect.ValueOfString("") + case "structs.structs.MsgStructGeneratorInfuse.structId": + return protoreflect.ValueOfString("") + case "structs.structs.MsgStructGeneratorInfuse.infuseAmount": return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationCreateResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructGeneratorInfuse")) } - panic(fmt.Errorf("message structs.structs.MsgSubstationCreateResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructGeneratorInfuse 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_MsgSubstationCreateResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_MsgStructGeneratorInfuse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgSubstationCreateResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgStructGeneratorInfuse", d.FullName())) } panic("unreachable") } @@ -38158,7 +37268,7 @@ func (x *fastReflection_MsgSubstationCreateResponse) WhichOneof(d protoreflect.O // 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_MsgSubstationCreateResponse) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_MsgStructGeneratorInfuse) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -38169,7 +37279,7 @@ func (x *fastReflection_MsgSubstationCreateResponse) GetUnknown() protoreflect.R // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgSubstationCreateResponse) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_MsgStructGeneratorInfuse) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -38181,7 +37291,7 @@ func (x *fastReflection_MsgSubstationCreateResponse) SetUnknown(fields protorefl // 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_MsgSubstationCreateResponse) IsValid() bool { +func (x *fastReflection_MsgStructGeneratorInfuse) IsValid() bool { return x != nil } @@ -38191,9 +37301,9 @@ func (x *fastReflection_MsgSubstationCreateResponse) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_MsgSubstationCreateResponse) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_MsgStructGeneratorInfuse) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*MsgSubstationCreateResponse) + x := input.Message.Interface().(*MsgStructGeneratorInfuse) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -38205,7 +37315,15 @@ func (x *fastReflection_MsgSubstationCreateResponse) ProtoMethods() *protoiface. var n int var l int _ = l - l = len(x.SubstationId) + l = len(x.Creator) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.StructId) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.InfuseAmount) if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } @@ -38219,7 +37337,7 @@ func (x *fastReflection_MsgSubstationCreateResponse) ProtoMethods() *protoiface. } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*MsgSubstationCreateResponse) + x := input.Message.Interface().(*MsgStructGeneratorInfuse) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -38238,10 +37356,24 @@ func (x *fastReflection_MsgSubstationCreateResponse) ProtoMethods() *protoiface. i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if len(x.SubstationId) > 0 { - i -= len(x.SubstationId) - copy(dAtA[i:], x.SubstationId) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.SubstationId))) + if len(x.InfuseAmount) > 0 { + i -= len(x.InfuseAmount) + copy(dAtA[i:], x.InfuseAmount) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.InfuseAmount))) + i-- + dAtA[i] = 0x1a + } + if len(x.StructId) > 0 { + i -= len(x.StructId) + copy(dAtA[i:], x.StructId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.StructId))) + i-- + dAtA[i] = 0x12 + } + if len(x.Creator) > 0 { + i -= len(x.Creator) + copy(dAtA[i:], x.Creator) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Creator))) i-- dAtA[i] = 0xa } @@ -38256,7 +37388,7 @@ func (x *fastReflection_MsgSubstationCreateResponse) ProtoMethods() *protoiface. }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*MsgSubstationCreateResponse) + x := input.Message.Interface().(*MsgStructGeneratorInfuse) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -38288,15 +37420,15 @@ func (x *fastReflection_MsgSubstationCreateResponse) ProtoMethods() *protoiface. fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgSubstationCreateResponse: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgStructGeneratorInfuse: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgSubstationCreateResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgStructGeneratorInfuse: 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 SubstationId", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -38324,7 +37456,71 @@ func (x *fastReflection_MsgSubstationCreateResponse) ProtoMethods() *protoiface. if postIndex > l { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - x.SubstationId = string(dAtA[iNdEx:postIndex]) + x.Creator = 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 StructId", 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.StructId = 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 InfuseAmount", 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.InfuseAmount = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -38362,29 +37558,23 @@ func (x *fastReflection_MsgSubstationCreateResponse) ProtoMethods() *protoiface. } var ( - md_MsgSubstationDelete protoreflect.MessageDescriptor - fd_MsgSubstationDelete_creator protoreflect.FieldDescriptor - fd_MsgSubstationDelete_substationId protoreflect.FieldDescriptor - fd_MsgSubstationDelete_migrationSubstationId protoreflect.FieldDescriptor + md_MsgStructGeneratorStatusResponse protoreflect.MessageDescriptor ) func init() { file_structs_structs_tx_proto_init() - md_MsgSubstationDelete = File_structs_structs_tx_proto.Messages().ByName("MsgSubstationDelete") - fd_MsgSubstationDelete_creator = md_MsgSubstationDelete.Fields().ByName("creator") - fd_MsgSubstationDelete_substationId = md_MsgSubstationDelete.Fields().ByName("substationId") - fd_MsgSubstationDelete_migrationSubstationId = md_MsgSubstationDelete.Fields().ByName("migrationSubstationId") + md_MsgStructGeneratorStatusResponse = File_structs_structs_tx_proto.Messages().ByName("MsgStructGeneratorStatusResponse") } -var _ protoreflect.Message = (*fastReflection_MsgSubstationDelete)(nil) +var _ protoreflect.Message = (*fastReflection_MsgStructGeneratorStatusResponse)(nil) -type fastReflection_MsgSubstationDelete MsgSubstationDelete +type fastReflection_MsgStructGeneratorStatusResponse MsgStructGeneratorStatusResponse -func (x *MsgSubstationDelete) ProtoReflect() protoreflect.Message { - return (*fastReflection_MsgSubstationDelete)(x) +func (x *MsgStructGeneratorStatusResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgStructGeneratorStatusResponse)(x) } -func (x *MsgSubstationDelete) slowProtoReflect() protoreflect.Message { +func (x *MsgStructGeneratorStatusResponse) slowProtoReflect() protoreflect.Message { mi := &file_structs_structs_tx_proto_msgTypes[73] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -38396,43 +37586,43 @@ func (x *MsgSubstationDelete) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_MsgSubstationDelete_messageType fastReflection_MsgSubstationDelete_messageType -var _ protoreflect.MessageType = fastReflection_MsgSubstationDelete_messageType{} +var _fastReflection_MsgStructGeneratorStatusResponse_messageType fastReflection_MsgStructGeneratorStatusResponse_messageType +var _ protoreflect.MessageType = fastReflection_MsgStructGeneratorStatusResponse_messageType{} -type fastReflection_MsgSubstationDelete_messageType struct{} +type fastReflection_MsgStructGeneratorStatusResponse_messageType struct{} -func (x fastReflection_MsgSubstationDelete_messageType) Zero() protoreflect.Message { - return (*fastReflection_MsgSubstationDelete)(nil) +func (x fastReflection_MsgStructGeneratorStatusResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgStructGeneratorStatusResponse)(nil) } -func (x fastReflection_MsgSubstationDelete_messageType) New() protoreflect.Message { - return new(fastReflection_MsgSubstationDelete) +func (x fastReflection_MsgStructGeneratorStatusResponse_messageType) New() protoreflect.Message { + return new(fastReflection_MsgStructGeneratorStatusResponse) } -func (x fastReflection_MsgSubstationDelete_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_MsgSubstationDelete +func (x fastReflection_MsgStructGeneratorStatusResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgStructGeneratorStatusResponse } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_MsgSubstationDelete) Descriptor() protoreflect.MessageDescriptor { - return md_MsgSubstationDelete +func (x *fastReflection_MsgStructGeneratorStatusResponse) Descriptor() protoreflect.MessageDescriptor { + return md_MsgStructGeneratorStatusResponse } // 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_MsgSubstationDelete) Type() protoreflect.MessageType { - return _fastReflection_MsgSubstationDelete_messageType +func (x *fastReflection_MsgStructGeneratorStatusResponse) Type() protoreflect.MessageType { + return _fastReflection_MsgStructGeneratorStatusResponse_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_MsgSubstationDelete) New() protoreflect.Message { - return new(fastReflection_MsgSubstationDelete) +func (x *fastReflection_MsgStructGeneratorStatusResponse) New() protoreflect.Message { + return new(fastReflection_MsgStructGeneratorStatusResponse) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_MsgSubstationDelete) Interface() protoreflect.ProtoMessage { - return (*MsgSubstationDelete)(x) +func (x *fastReflection_MsgStructGeneratorStatusResponse) Interface() protoreflect.ProtoMessage { + return (*MsgStructGeneratorStatusResponse)(x) } // Range iterates over every populated field in an undefined order, @@ -38440,25 +37630,7 @@ func (x *fastReflection_MsgSubstationDelete) Interface() protoreflect.ProtoMessa // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_MsgSubstationDelete) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.Creator != "" { - value := protoreflect.ValueOfString(x.Creator) - if !f(fd_MsgSubstationDelete_creator, value) { - return - } - } - if x.SubstationId != "" { - value := protoreflect.ValueOfString(x.SubstationId) - if !f(fd_MsgSubstationDelete_substationId, value) { - return - } - } - if x.MigrationSubstationId != "" { - value := protoreflect.ValueOfString(x.MigrationSubstationId) - if !f(fd_MsgSubstationDelete_migrationSubstationId, value) { - return - } - } +func (x *fastReflection_MsgStructGeneratorStatusResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { } // Has reports whether a field is populated. @@ -38472,19 +37644,13 @@ func (x *fastReflection_MsgSubstationDelete) Range(f func(protoreflect.FieldDesc // 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_MsgSubstationDelete) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_MsgStructGeneratorStatusResponse) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.MsgSubstationDelete.creator": - return x.Creator != "" - case "structs.structs.MsgSubstationDelete.substationId": - return x.SubstationId != "" - case "structs.structs.MsgSubstationDelete.migrationSubstationId": - return x.MigrationSubstationId != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationDelete")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructGeneratorStatusResponse")) } - panic(fmt.Errorf("message structs.structs.MsgSubstationDelete does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructGeneratorStatusResponse does not contain field %s", fd.FullName())) } } @@ -38494,19 +37660,13 @@ func (x *fastReflection_MsgSubstationDelete) Has(fd protoreflect.FieldDescriptor // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgSubstationDelete) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_MsgStructGeneratorStatusResponse) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.MsgSubstationDelete.creator": - x.Creator = "" - case "structs.structs.MsgSubstationDelete.substationId": - x.SubstationId = "" - case "structs.structs.MsgSubstationDelete.migrationSubstationId": - x.MigrationSubstationId = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationDelete")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructGeneratorStatusResponse")) } - panic(fmt.Errorf("message structs.structs.MsgSubstationDelete does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructGeneratorStatusResponse does not contain field %s", fd.FullName())) } } @@ -38516,22 +37676,13 @@ func (x *fastReflection_MsgSubstationDelete) Clear(fd protoreflect.FieldDescript // 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_MsgSubstationDelete) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgStructGeneratorStatusResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.MsgSubstationDelete.creator": - value := x.Creator - return protoreflect.ValueOfString(value) - case "structs.structs.MsgSubstationDelete.substationId": - value := x.SubstationId - return protoreflect.ValueOfString(value) - case "structs.structs.MsgSubstationDelete.migrationSubstationId": - value := x.MigrationSubstationId - return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationDelete")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructGeneratorStatusResponse")) } - panic(fmt.Errorf("message structs.structs.MsgSubstationDelete does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructGeneratorStatusResponse does not contain field %s", descriptor.FullName())) } } @@ -38545,19 +37696,13 @@ func (x *fastReflection_MsgSubstationDelete) Get(descriptor protoreflect.FieldDe // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgSubstationDelete) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_MsgStructGeneratorStatusResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.MsgSubstationDelete.creator": - x.Creator = value.Interface().(string) - case "structs.structs.MsgSubstationDelete.substationId": - x.SubstationId = value.Interface().(string) - case "structs.structs.MsgSubstationDelete.migrationSubstationId": - x.MigrationSubstationId = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationDelete")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructGeneratorStatusResponse")) } - panic(fmt.Errorf("message structs.structs.MsgSubstationDelete does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructGeneratorStatusResponse does not contain field %s", fd.FullName())) } } @@ -38571,48 +37716,36 @@ func (x *fastReflection_MsgSubstationDelete) Set(fd protoreflect.FieldDescriptor // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgSubstationDelete) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgStructGeneratorStatusResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.MsgSubstationDelete.creator": - panic(fmt.Errorf("field creator of message structs.structs.MsgSubstationDelete is not mutable")) - case "structs.structs.MsgSubstationDelete.substationId": - panic(fmt.Errorf("field substationId of message structs.structs.MsgSubstationDelete is not mutable")) - case "structs.structs.MsgSubstationDelete.migrationSubstationId": - panic(fmt.Errorf("field migrationSubstationId of message structs.structs.MsgSubstationDelete is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationDelete")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructGeneratorStatusResponse")) } - panic(fmt.Errorf("message structs.structs.MsgSubstationDelete does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructGeneratorStatusResponse 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_MsgSubstationDelete) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgStructGeneratorStatusResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.MsgSubstationDelete.creator": - return protoreflect.ValueOfString("") - case "structs.structs.MsgSubstationDelete.substationId": - return protoreflect.ValueOfString("") - case "structs.structs.MsgSubstationDelete.migrationSubstationId": - return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationDelete")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructGeneratorStatusResponse")) } - panic(fmt.Errorf("message structs.structs.MsgSubstationDelete does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructGeneratorStatusResponse 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_MsgSubstationDelete) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_MsgStructGeneratorStatusResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgSubstationDelete", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgStructGeneratorStatusResponse", d.FullName())) } panic("unreachable") } @@ -38620,7 +37753,7 @@ func (x *fastReflection_MsgSubstationDelete) WhichOneof(d protoreflect.OneofDesc // 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_MsgSubstationDelete) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_MsgStructGeneratorStatusResponse) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -38631,7 +37764,7 @@ func (x *fastReflection_MsgSubstationDelete) GetUnknown() protoreflect.RawFields // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgSubstationDelete) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_MsgStructGeneratorStatusResponse) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -38643,7 +37776,7 @@ func (x *fastReflection_MsgSubstationDelete) SetUnknown(fields protoreflect.RawF // 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_MsgSubstationDelete) IsValid() bool { +func (x *fastReflection_MsgStructGeneratorStatusResponse) IsValid() bool { return x != nil } @@ -38653,9 +37786,9 @@ func (x *fastReflection_MsgSubstationDelete) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_MsgSubstationDelete) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_MsgStructGeneratorStatusResponse) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*MsgSubstationDelete) + x := input.Message.Interface().(*MsgStructGeneratorStatusResponse) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -38667,18 +37800,6 @@ func (x *fastReflection_MsgSubstationDelete) ProtoMethods() *protoiface.Methods var n int var l int _ = l - l = len(x.Creator) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } - l = len(x.SubstationId) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } - l = len(x.MigrationSubstationId) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } if x.unknownFields != nil { n += len(x.unknownFields) } @@ -38689,7 +37810,7 @@ func (x *fastReflection_MsgSubstationDelete) ProtoMethods() *protoiface.Methods } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*MsgSubstationDelete) + x := input.Message.Interface().(*MsgStructGeneratorStatusResponse) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -38708,27 +37829,6 @@ func (x *fastReflection_MsgSubstationDelete) ProtoMethods() *protoiface.Methods i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if len(x.MigrationSubstationId) > 0 { - i -= len(x.MigrationSubstationId) - copy(dAtA[i:], x.MigrationSubstationId) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.MigrationSubstationId))) - i-- - dAtA[i] = 0x1a - } - if len(x.SubstationId) > 0 { - i -= len(x.SubstationId) - copy(dAtA[i:], x.SubstationId) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.SubstationId))) - i-- - dAtA[i] = 0x12 - } - if len(x.Creator) > 0 { - i -= len(x.Creator) - copy(dAtA[i:], x.Creator) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Creator))) - i-- - dAtA[i] = 0xa - } if input.Buf != nil { input.Buf = append(input.Buf, dAtA...) } else { @@ -38740,7 +37840,7 @@ func (x *fastReflection_MsgSubstationDelete) ProtoMethods() *protoiface.Methods }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*MsgSubstationDelete) + x := input.Message.Interface().(*MsgStructGeneratorStatusResponse) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -38772,122 +37872,26 @@ func (x *fastReflection_MsgSubstationDelete) ProtoMethods() *protoiface.Methods fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgSubstationDelete: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgStructGeneratorStatusResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgSubstationDelete: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgStructGeneratorStatusResponse: 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 Creator", 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.Creator = 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 SubstationId", 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 + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err } - postIndex := iNdEx + intStringLen - if postIndex < 0 { + if (skippy < 0) || (iNdEx+skippy) < 0 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength } - if postIndex > l { + if (iNdEx + skippy) > l { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - x.SubstationId = 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 MigrationSubstationId", 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.MigrationSubstationId = 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]...) + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) } iNdEx += skippy } @@ -38910,23 +37914,31 @@ func (x *fastReflection_MsgSubstationDelete) ProtoMethods() *protoiface.Methods } var ( - md_MsgSubstationDeleteResponse protoreflect.MessageDescriptor + md_MsgStructOreMinerComplete protoreflect.MessageDescriptor + fd_MsgStructOreMinerComplete_creator protoreflect.FieldDescriptor + fd_MsgStructOreMinerComplete_structId protoreflect.FieldDescriptor + fd_MsgStructOreMinerComplete_proof protoreflect.FieldDescriptor + fd_MsgStructOreMinerComplete_nonce protoreflect.FieldDescriptor ) func init() { file_structs_structs_tx_proto_init() - md_MsgSubstationDeleteResponse = File_structs_structs_tx_proto.Messages().ByName("MsgSubstationDeleteResponse") + md_MsgStructOreMinerComplete = File_structs_structs_tx_proto.Messages().ByName("MsgStructOreMinerComplete") + fd_MsgStructOreMinerComplete_creator = md_MsgStructOreMinerComplete.Fields().ByName("creator") + fd_MsgStructOreMinerComplete_structId = md_MsgStructOreMinerComplete.Fields().ByName("structId") + fd_MsgStructOreMinerComplete_proof = md_MsgStructOreMinerComplete.Fields().ByName("proof") + fd_MsgStructOreMinerComplete_nonce = md_MsgStructOreMinerComplete.Fields().ByName("nonce") } -var _ protoreflect.Message = (*fastReflection_MsgSubstationDeleteResponse)(nil) +var _ protoreflect.Message = (*fastReflection_MsgStructOreMinerComplete)(nil) -type fastReflection_MsgSubstationDeleteResponse MsgSubstationDeleteResponse +type fastReflection_MsgStructOreMinerComplete MsgStructOreMinerComplete -func (x *MsgSubstationDeleteResponse) ProtoReflect() protoreflect.Message { - return (*fastReflection_MsgSubstationDeleteResponse)(x) +func (x *MsgStructOreMinerComplete) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgStructOreMinerComplete)(x) } -func (x *MsgSubstationDeleteResponse) slowProtoReflect() protoreflect.Message { +func (x *MsgStructOreMinerComplete) slowProtoReflect() protoreflect.Message { mi := &file_structs_structs_tx_proto_msgTypes[74] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -38938,43 +37950,43 @@ func (x *MsgSubstationDeleteResponse) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_MsgSubstationDeleteResponse_messageType fastReflection_MsgSubstationDeleteResponse_messageType -var _ protoreflect.MessageType = fastReflection_MsgSubstationDeleteResponse_messageType{} +var _fastReflection_MsgStructOreMinerComplete_messageType fastReflection_MsgStructOreMinerComplete_messageType +var _ protoreflect.MessageType = fastReflection_MsgStructOreMinerComplete_messageType{} -type fastReflection_MsgSubstationDeleteResponse_messageType struct{} +type fastReflection_MsgStructOreMinerComplete_messageType struct{} -func (x fastReflection_MsgSubstationDeleteResponse_messageType) Zero() protoreflect.Message { - return (*fastReflection_MsgSubstationDeleteResponse)(nil) +func (x fastReflection_MsgStructOreMinerComplete_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgStructOreMinerComplete)(nil) } -func (x fastReflection_MsgSubstationDeleteResponse_messageType) New() protoreflect.Message { - return new(fastReflection_MsgSubstationDeleteResponse) +func (x fastReflection_MsgStructOreMinerComplete_messageType) New() protoreflect.Message { + return new(fastReflection_MsgStructOreMinerComplete) } -func (x fastReflection_MsgSubstationDeleteResponse_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_MsgSubstationDeleteResponse +func (x fastReflection_MsgStructOreMinerComplete_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgStructOreMinerComplete } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_MsgSubstationDeleteResponse) Descriptor() protoreflect.MessageDescriptor { - return md_MsgSubstationDeleteResponse +func (x *fastReflection_MsgStructOreMinerComplete) Descriptor() protoreflect.MessageDescriptor { + return md_MsgStructOreMinerComplete } // 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_MsgSubstationDeleteResponse) Type() protoreflect.MessageType { - return _fastReflection_MsgSubstationDeleteResponse_messageType +func (x *fastReflection_MsgStructOreMinerComplete) Type() protoreflect.MessageType { + return _fastReflection_MsgStructOreMinerComplete_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_MsgSubstationDeleteResponse) New() protoreflect.Message { - return new(fastReflection_MsgSubstationDeleteResponse) +func (x *fastReflection_MsgStructOreMinerComplete) New() protoreflect.Message { + return new(fastReflection_MsgStructOreMinerComplete) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_MsgSubstationDeleteResponse) Interface() protoreflect.ProtoMessage { - return (*MsgSubstationDeleteResponse)(x) +func (x *fastReflection_MsgStructOreMinerComplete) Interface() protoreflect.ProtoMessage { + return (*MsgStructOreMinerComplete)(x) } // Range iterates over every populated field in an undefined order, @@ -38982,7 +37994,31 @@ func (x *fastReflection_MsgSubstationDeleteResponse) Interface() protoreflect.Pr // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_MsgSubstationDeleteResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +func (x *fastReflection_MsgStructOreMinerComplete) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Creator != "" { + value := protoreflect.ValueOfString(x.Creator) + if !f(fd_MsgStructOreMinerComplete_creator, value) { + return + } + } + if x.StructId != "" { + value := protoreflect.ValueOfString(x.StructId) + if !f(fd_MsgStructOreMinerComplete_structId, value) { + return + } + } + if x.Proof != "" { + value := protoreflect.ValueOfString(x.Proof) + if !f(fd_MsgStructOreMinerComplete_proof, value) { + return + } + } + if x.Nonce != "" { + value := protoreflect.ValueOfString(x.Nonce) + if !f(fd_MsgStructOreMinerComplete_nonce, value) { + return + } + } } // Has reports whether a field is populated. @@ -38996,13 +38032,21 @@ func (x *fastReflection_MsgSubstationDeleteResponse) Range(f func(protoreflect.F // 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_MsgSubstationDeleteResponse) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_MsgStructOreMinerComplete) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { + case "structs.structs.MsgStructOreMinerComplete.creator": + return x.Creator != "" + case "structs.structs.MsgStructOreMinerComplete.structId": + return x.StructId != "" + case "structs.structs.MsgStructOreMinerComplete.proof": + return x.Proof != "" + case "structs.structs.MsgStructOreMinerComplete.nonce": + return x.Nonce != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationDeleteResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructOreMinerComplete")) } - panic(fmt.Errorf("message structs.structs.MsgSubstationDeleteResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructOreMinerComplete does not contain field %s", fd.FullName())) } } @@ -39012,13 +38056,21 @@ func (x *fastReflection_MsgSubstationDeleteResponse) Has(fd protoreflect.FieldDe // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgSubstationDeleteResponse) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_MsgStructOreMinerComplete) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { + case "structs.structs.MsgStructOreMinerComplete.creator": + x.Creator = "" + case "structs.structs.MsgStructOreMinerComplete.structId": + x.StructId = "" + case "structs.structs.MsgStructOreMinerComplete.proof": + x.Proof = "" + case "structs.structs.MsgStructOreMinerComplete.nonce": + x.Nonce = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationDeleteResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructOreMinerComplete")) } - panic(fmt.Errorf("message structs.structs.MsgSubstationDeleteResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructOreMinerComplete does not contain field %s", fd.FullName())) } } @@ -39028,13 +38080,25 @@ func (x *fastReflection_MsgSubstationDeleteResponse) Clear(fd protoreflect.Field // 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_MsgSubstationDeleteResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgStructOreMinerComplete) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { + case "structs.structs.MsgStructOreMinerComplete.creator": + value := x.Creator + return protoreflect.ValueOfString(value) + case "structs.structs.MsgStructOreMinerComplete.structId": + value := x.StructId + return protoreflect.ValueOfString(value) + case "structs.structs.MsgStructOreMinerComplete.proof": + value := x.Proof + return protoreflect.ValueOfString(value) + case "structs.structs.MsgStructOreMinerComplete.nonce": + value := x.Nonce + return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationDeleteResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructOreMinerComplete")) } - panic(fmt.Errorf("message structs.structs.MsgSubstationDeleteResponse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructOreMinerComplete does not contain field %s", descriptor.FullName())) } } @@ -39048,13 +38112,21 @@ func (x *fastReflection_MsgSubstationDeleteResponse) Get(descriptor protoreflect // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgSubstationDeleteResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_MsgStructOreMinerComplete) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { + case "structs.structs.MsgStructOreMinerComplete.creator": + x.Creator = value.Interface().(string) + case "structs.structs.MsgStructOreMinerComplete.structId": + x.StructId = value.Interface().(string) + case "structs.structs.MsgStructOreMinerComplete.proof": + x.Proof = value.Interface().(string) + case "structs.structs.MsgStructOreMinerComplete.nonce": + x.Nonce = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationDeleteResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructOreMinerComplete")) } - panic(fmt.Errorf("message structs.structs.MsgSubstationDeleteResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructOreMinerComplete does not contain field %s", fd.FullName())) } } @@ -39068,36 +38140,52 @@ func (x *fastReflection_MsgSubstationDeleteResponse) Set(fd protoreflect.FieldDe // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgSubstationDeleteResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgStructOreMinerComplete) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { + case "structs.structs.MsgStructOreMinerComplete.creator": + panic(fmt.Errorf("field creator of message structs.structs.MsgStructOreMinerComplete is not mutable")) + case "structs.structs.MsgStructOreMinerComplete.structId": + panic(fmt.Errorf("field structId of message structs.structs.MsgStructOreMinerComplete is not mutable")) + case "structs.structs.MsgStructOreMinerComplete.proof": + panic(fmt.Errorf("field proof of message structs.structs.MsgStructOreMinerComplete is not mutable")) + case "structs.structs.MsgStructOreMinerComplete.nonce": + panic(fmt.Errorf("field nonce of message structs.structs.MsgStructOreMinerComplete is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationDeleteResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructOreMinerComplete")) } - panic(fmt.Errorf("message structs.structs.MsgSubstationDeleteResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructOreMinerComplete 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_MsgSubstationDeleteResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgStructOreMinerComplete) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { + case "structs.structs.MsgStructOreMinerComplete.creator": + return protoreflect.ValueOfString("") + case "structs.structs.MsgStructOreMinerComplete.structId": + return protoreflect.ValueOfString("") + case "structs.structs.MsgStructOreMinerComplete.proof": + return protoreflect.ValueOfString("") + case "structs.structs.MsgStructOreMinerComplete.nonce": + return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationDeleteResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructOreMinerComplete")) } - panic(fmt.Errorf("message structs.structs.MsgSubstationDeleteResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructOreMinerComplete 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_MsgSubstationDeleteResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_MsgStructOreMinerComplete) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgSubstationDeleteResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgStructOreMinerComplete", d.FullName())) } panic("unreachable") } @@ -39105,7 +38193,7 @@ func (x *fastReflection_MsgSubstationDeleteResponse) WhichOneof(d protoreflect.O // 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_MsgSubstationDeleteResponse) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_MsgStructOreMinerComplete) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -39116,7 +38204,7 @@ func (x *fastReflection_MsgSubstationDeleteResponse) GetUnknown() protoreflect.R // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgSubstationDeleteResponse) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_MsgStructOreMinerComplete) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -39128,7 +38216,7 @@ func (x *fastReflection_MsgSubstationDeleteResponse) SetUnknown(fields protorefl // 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_MsgSubstationDeleteResponse) IsValid() bool { +func (x *fastReflection_MsgStructOreMinerComplete) IsValid() bool { return x != nil } @@ -39138,9 +38226,9 @@ func (x *fastReflection_MsgSubstationDeleteResponse) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_MsgSubstationDeleteResponse) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_MsgStructOreMinerComplete) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*MsgSubstationDeleteResponse) + x := input.Message.Interface().(*MsgStructOreMinerComplete) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -39152,6 +38240,22 @@ func (x *fastReflection_MsgSubstationDeleteResponse) ProtoMethods() *protoiface. var n int var l int _ = l + l = len(x.Creator) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.StructId) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.Proof) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.Nonce) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } if x.unknownFields != nil { n += len(x.unknownFields) } @@ -39162,7 +38266,7 @@ func (x *fastReflection_MsgSubstationDeleteResponse) ProtoMethods() *protoiface. } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*MsgSubstationDeleteResponse) + x := input.Message.Interface().(*MsgStructOreMinerComplete) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -39181,6 +38285,34 @@ func (x *fastReflection_MsgSubstationDeleteResponse) ProtoMethods() *protoiface. i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } + if len(x.Nonce) > 0 { + i -= len(x.Nonce) + copy(dAtA[i:], x.Nonce) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Nonce))) + i-- + dAtA[i] = 0x22 + } + if len(x.Proof) > 0 { + i -= len(x.Proof) + copy(dAtA[i:], x.Proof) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Proof))) + i-- + dAtA[i] = 0x1a + } + if len(x.StructId) > 0 { + i -= len(x.StructId) + copy(dAtA[i:], x.StructId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.StructId))) + i-- + dAtA[i] = 0x12 + } + if len(x.Creator) > 0 { + i -= len(x.Creator) + copy(dAtA[i:], x.Creator) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Creator))) + i-- + dAtA[i] = 0xa + } if input.Buf != nil { input.Buf = append(input.Buf, dAtA...) } else { @@ -39192,7 +38324,7 @@ func (x *fastReflection_MsgSubstationDeleteResponse) ProtoMethods() *protoiface. }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*MsgSubstationDeleteResponse) + x := input.Message.Interface().(*MsgStructOreMinerComplete) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -39224,12 +38356,140 @@ func (x *fastReflection_MsgSubstationDeleteResponse) ProtoMethods() *protoiface. fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgSubstationDeleteResponse: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgStructOreMinerComplete: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgSubstationDeleteResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgStructOreMinerComplete: 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 Creator", 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.Creator = 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 StructId", 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.StructId = 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 Proof", 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.Proof = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Nonce", 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.Nonce = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := runtime.Skip(dAtA[iNdEx:]) @@ -39266,29 +38526,25 @@ func (x *fastReflection_MsgSubstationDeleteResponse) ProtoMethods() *protoiface. } var ( - md_MsgSubstationAllocationConnect protoreflect.MessageDescriptor - fd_MsgSubstationAllocationConnect_creator protoreflect.FieldDescriptor - fd_MsgSubstationAllocationConnect_allocationId protoreflect.FieldDescriptor - fd_MsgSubstationAllocationConnect_destinationId protoreflect.FieldDescriptor + md_MsgStructOreMinerStatusResponse protoreflect.MessageDescriptor + fd_MsgStructOreMinerStatusResponse_struct protoreflect.FieldDescriptor ) func init() { file_structs_structs_tx_proto_init() - md_MsgSubstationAllocationConnect = File_structs_structs_tx_proto.Messages().ByName("MsgSubstationAllocationConnect") - fd_MsgSubstationAllocationConnect_creator = md_MsgSubstationAllocationConnect.Fields().ByName("creator") - fd_MsgSubstationAllocationConnect_allocationId = md_MsgSubstationAllocationConnect.Fields().ByName("allocationId") - fd_MsgSubstationAllocationConnect_destinationId = md_MsgSubstationAllocationConnect.Fields().ByName("destinationId") + md_MsgStructOreMinerStatusResponse = File_structs_structs_tx_proto.Messages().ByName("MsgStructOreMinerStatusResponse") + fd_MsgStructOreMinerStatusResponse_struct = md_MsgStructOreMinerStatusResponse.Fields().ByName("struct") } -var _ protoreflect.Message = (*fastReflection_MsgSubstationAllocationConnect)(nil) +var _ protoreflect.Message = (*fastReflection_MsgStructOreMinerStatusResponse)(nil) -type fastReflection_MsgSubstationAllocationConnect MsgSubstationAllocationConnect +type fastReflection_MsgStructOreMinerStatusResponse MsgStructOreMinerStatusResponse -func (x *MsgSubstationAllocationConnect) ProtoReflect() protoreflect.Message { - return (*fastReflection_MsgSubstationAllocationConnect)(x) +func (x *MsgStructOreMinerStatusResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgStructOreMinerStatusResponse)(x) } -func (x *MsgSubstationAllocationConnect) slowProtoReflect() protoreflect.Message { +func (x *MsgStructOreMinerStatusResponse) slowProtoReflect() protoreflect.Message { mi := &file_structs_structs_tx_proto_msgTypes[75] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -39300,43 +38556,43 @@ func (x *MsgSubstationAllocationConnect) slowProtoReflect() protoreflect.Message return mi.MessageOf(x) } -var _fastReflection_MsgSubstationAllocationConnect_messageType fastReflection_MsgSubstationAllocationConnect_messageType -var _ protoreflect.MessageType = fastReflection_MsgSubstationAllocationConnect_messageType{} +var _fastReflection_MsgStructOreMinerStatusResponse_messageType fastReflection_MsgStructOreMinerStatusResponse_messageType +var _ protoreflect.MessageType = fastReflection_MsgStructOreMinerStatusResponse_messageType{} -type fastReflection_MsgSubstationAllocationConnect_messageType struct{} +type fastReflection_MsgStructOreMinerStatusResponse_messageType struct{} -func (x fastReflection_MsgSubstationAllocationConnect_messageType) Zero() protoreflect.Message { - return (*fastReflection_MsgSubstationAllocationConnect)(nil) +func (x fastReflection_MsgStructOreMinerStatusResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgStructOreMinerStatusResponse)(nil) } -func (x fastReflection_MsgSubstationAllocationConnect_messageType) New() protoreflect.Message { - return new(fastReflection_MsgSubstationAllocationConnect) +func (x fastReflection_MsgStructOreMinerStatusResponse_messageType) New() protoreflect.Message { + return new(fastReflection_MsgStructOreMinerStatusResponse) } -func (x fastReflection_MsgSubstationAllocationConnect_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_MsgSubstationAllocationConnect +func (x fastReflection_MsgStructOreMinerStatusResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgStructOreMinerStatusResponse } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_MsgSubstationAllocationConnect) Descriptor() protoreflect.MessageDescriptor { - return md_MsgSubstationAllocationConnect +func (x *fastReflection_MsgStructOreMinerStatusResponse) Descriptor() protoreflect.MessageDescriptor { + return md_MsgStructOreMinerStatusResponse } // 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_MsgSubstationAllocationConnect) Type() protoreflect.MessageType { - return _fastReflection_MsgSubstationAllocationConnect_messageType +func (x *fastReflection_MsgStructOreMinerStatusResponse) Type() protoreflect.MessageType { + return _fastReflection_MsgStructOreMinerStatusResponse_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_MsgSubstationAllocationConnect) New() protoreflect.Message { - return new(fastReflection_MsgSubstationAllocationConnect) +func (x *fastReflection_MsgStructOreMinerStatusResponse) New() protoreflect.Message { + return new(fastReflection_MsgStructOreMinerStatusResponse) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_MsgSubstationAllocationConnect) Interface() protoreflect.ProtoMessage { - return (*MsgSubstationAllocationConnect)(x) +func (x *fastReflection_MsgStructOreMinerStatusResponse) Interface() protoreflect.ProtoMessage { + return (*MsgStructOreMinerStatusResponse)(x) } // Range iterates over every populated field in an undefined order, @@ -39344,22 +38600,10 @@ func (x *fastReflection_MsgSubstationAllocationConnect) Interface() protoreflect // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_MsgSubstationAllocationConnect) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.Creator != "" { - value := protoreflect.ValueOfString(x.Creator) - if !f(fd_MsgSubstationAllocationConnect_creator, value) { - return - } - } - if x.AllocationId != "" { - value := protoreflect.ValueOfString(x.AllocationId) - if !f(fd_MsgSubstationAllocationConnect_allocationId, value) { - return - } - } - if x.DestinationId != "" { - value := protoreflect.ValueOfString(x.DestinationId) - if !f(fd_MsgSubstationAllocationConnect_destinationId, value) { +func (x *fastReflection_MsgStructOreMinerStatusResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Struct != nil { + value := protoreflect.ValueOfMessage(x.Struct.ProtoReflect()) + if !f(fd_MsgStructOreMinerStatusResponse_struct, value) { return } } @@ -39376,19 +38620,15 @@ func (x *fastReflection_MsgSubstationAllocationConnect) Range(f func(protoreflec // 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_MsgSubstationAllocationConnect) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_MsgStructOreMinerStatusResponse) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.MsgSubstationAllocationConnect.creator": - return x.Creator != "" - case "structs.structs.MsgSubstationAllocationConnect.allocationId": - return x.AllocationId != "" - case "structs.structs.MsgSubstationAllocationConnect.destinationId": - return x.DestinationId != "" + case "structs.structs.MsgStructOreMinerStatusResponse.struct": + return x.Struct != nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationAllocationConnect")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructOreMinerStatusResponse")) } - panic(fmt.Errorf("message structs.structs.MsgSubstationAllocationConnect does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructOreMinerStatusResponse does not contain field %s", fd.FullName())) } } @@ -39398,19 +38638,15 @@ func (x *fastReflection_MsgSubstationAllocationConnect) Has(fd protoreflect.Fiel // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgSubstationAllocationConnect) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_MsgStructOreMinerStatusResponse) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.MsgSubstationAllocationConnect.creator": - x.Creator = "" - case "structs.structs.MsgSubstationAllocationConnect.allocationId": - x.AllocationId = "" - case "structs.structs.MsgSubstationAllocationConnect.destinationId": - x.DestinationId = "" + case "structs.structs.MsgStructOreMinerStatusResponse.struct": + x.Struct = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationAllocationConnect")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructOreMinerStatusResponse")) } - panic(fmt.Errorf("message structs.structs.MsgSubstationAllocationConnect does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructOreMinerStatusResponse does not contain field %s", fd.FullName())) } } @@ -39420,22 +38656,16 @@ func (x *fastReflection_MsgSubstationAllocationConnect) Clear(fd protoreflect.Fi // 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_MsgSubstationAllocationConnect) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgStructOreMinerStatusResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.MsgSubstationAllocationConnect.creator": - value := x.Creator - return protoreflect.ValueOfString(value) - case "structs.structs.MsgSubstationAllocationConnect.allocationId": - value := x.AllocationId - return protoreflect.ValueOfString(value) - case "structs.structs.MsgSubstationAllocationConnect.destinationId": - value := x.DestinationId - return protoreflect.ValueOfString(value) + case "structs.structs.MsgStructOreMinerStatusResponse.struct": + value := x.Struct + return protoreflect.ValueOfMessage(value.ProtoReflect()) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationAllocationConnect")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructOreMinerStatusResponse")) } - panic(fmt.Errorf("message structs.structs.MsgSubstationAllocationConnect does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructOreMinerStatusResponse does not contain field %s", descriptor.FullName())) } } @@ -39449,19 +38679,15 @@ func (x *fastReflection_MsgSubstationAllocationConnect) Get(descriptor protorefl // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgSubstationAllocationConnect) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_MsgStructOreMinerStatusResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.MsgSubstationAllocationConnect.creator": - x.Creator = value.Interface().(string) - case "structs.structs.MsgSubstationAllocationConnect.allocationId": - x.AllocationId = value.Interface().(string) - case "structs.structs.MsgSubstationAllocationConnect.destinationId": - x.DestinationId = value.Interface().(string) + case "structs.structs.MsgStructOreMinerStatusResponse.struct": + x.Struct = value.Message().Interface().(*Struct) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationAllocationConnect")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructOreMinerStatusResponse")) } - panic(fmt.Errorf("message structs.structs.MsgSubstationAllocationConnect does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructOreMinerStatusResponse does not contain field %s", fd.FullName())) } } @@ -39475,48 +38701,44 @@ func (x *fastReflection_MsgSubstationAllocationConnect) Set(fd protoreflect.Fiel // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgSubstationAllocationConnect) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgStructOreMinerStatusResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.MsgSubstationAllocationConnect.creator": - panic(fmt.Errorf("field creator of message structs.structs.MsgSubstationAllocationConnect is not mutable")) - case "structs.structs.MsgSubstationAllocationConnect.allocationId": - panic(fmt.Errorf("field allocationId of message structs.structs.MsgSubstationAllocationConnect is not mutable")) - case "structs.structs.MsgSubstationAllocationConnect.destinationId": - panic(fmt.Errorf("field destinationId of message structs.structs.MsgSubstationAllocationConnect is not mutable")) + case "structs.structs.MsgStructOreMinerStatusResponse.struct": + if x.Struct == nil { + x.Struct = new(Struct) + } + return protoreflect.ValueOfMessage(x.Struct.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationAllocationConnect")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructOreMinerStatusResponse")) } - panic(fmt.Errorf("message structs.structs.MsgSubstationAllocationConnect does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructOreMinerStatusResponse 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_MsgSubstationAllocationConnect) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgStructOreMinerStatusResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.MsgSubstationAllocationConnect.creator": - return protoreflect.ValueOfString("") - case "structs.structs.MsgSubstationAllocationConnect.allocationId": - return protoreflect.ValueOfString("") - case "structs.structs.MsgSubstationAllocationConnect.destinationId": - return protoreflect.ValueOfString("") + case "structs.structs.MsgStructOreMinerStatusResponse.struct": + m := new(Struct) + return protoreflect.ValueOfMessage(m.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationAllocationConnect")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructOreMinerStatusResponse")) } - panic(fmt.Errorf("message structs.structs.MsgSubstationAllocationConnect does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructOreMinerStatusResponse 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_MsgSubstationAllocationConnect) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_MsgStructOreMinerStatusResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgSubstationAllocationConnect", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgStructOreMinerStatusResponse", d.FullName())) } panic("unreachable") } @@ -39524,7 +38746,7 @@ func (x *fastReflection_MsgSubstationAllocationConnect) WhichOneof(d protoreflec // 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_MsgSubstationAllocationConnect) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_MsgStructOreMinerStatusResponse) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -39535,7 +38757,7 @@ func (x *fastReflection_MsgSubstationAllocationConnect) GetUnknown() protoreflec // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgSubstationAllocationConnect) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_MsgStructOreMinerStatusResponse) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -39547,7 +38769,7 @@ func (x *fastReflection_MsgSubstationAllocationConnect) SetUnknown(fields protor // 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_MsgSubstationAllocationConnect) IsValid() bool { +func (x *fastReflection_MsgStructOreMinerStatusResponse) IsValid() bool { return x != nil } @@ -39557,9 +38779,9 @@ func (x *fastReflection_MsgSubstationAllocationConnect) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_MsgSubstationAllocationConnect) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_MsgStructOreMinerStatusResponse) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*MsgSubstationAllocationConnect) + x := input.Message.Interface().(*MsgStructOreMinerStatusResponse) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -39571,16 +38793,8 @@ func (x *fastReflection_MsgSubstationAllocationConnect) ProtoMethods() *protoifa var n int var l int _ = l - l = len(x.Creator) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } - l = len(x.AllocationId) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } - l = len(x.DestinationId) - if l > 0 { + if x.Struct != nil { + l = options.Size(x.Struct) n += 1 + l + runtime.Sov(uint64(l)) } if x.unknownFields != nil { @@ -39593,7 +38807,7 @@ func (x *fastReflection_MsgSubstationAllocationConnect) ProtoMethods() *protoifa } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*MsgSubstationAllocationConnect) + x := input.Message.Interface().(*MsgStructOreMinerStatusResponse) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -39612,24 +38826,17 @@ func (x *fastReflection_MsgSubstationAllocationConnect) ProtoMethods() *protoifa i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if len(x.DestinationId) > 0 { - i -= len(x.DestinationId) - copy(dAtA[i:], x.DestinationId) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.DestinationId))) - i-- - dAtA[i] = 0x1a - } - if len(x.AllocationId) > 0 { - i -= len(x.AllocationId) - copy(dAtA[i:], x.AllocationId) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.AllocationId))) - i-- - dAtA[i] = 0x12 - } - if len(x.Creator) > 0 { - i -= len(x.Creator) - copy(dAtA[i:], x.Creator) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Creator))) + if x.Struct != nil { + encoded, err := options.Marshal(x.Struct) + 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 } @@ -39644,7 +38851,7 @@ func (x *fastReflection_MsgSubstationAllocationConnect) ProtoMethods() *protoifa }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*MsgSubstationAllocationConnect) + x := input.Message.Interface().(*MsgStructOreMinerStatusResponse) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -39676,49 +38883,17 @@ func (x *fastReflection_MsgSubstationAllocationConnect) ProtoMethods() *protoifa fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgSubstationAllocationConnect: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgStructOreMinerStatusResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgSubstationAllocationConnect: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgStructOreMinerStatusResponse: 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 Creator", 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.Creator = 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 AllocationId", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Struct", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -39728,55 +38903,27 @@ func (x *fastReflection_MsgSubstationAllocationConnect) ProtoMethods() *protoifa } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength } - postIndex := iNdEx + intStringLen + 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 } - x.AllocationId = 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 DestinationId", 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 x.Struct == nil { + x.Struct = &Struct{} } - if postIndex > l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Struct); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err } - x.DestinationId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -39814,23 +38961,31 @@ func (x *fastReflection_MsgSubstationAllocationConnect) ProtoMethods() *protoifa } var ( - md_MsgSubstationAllocationConnectResponse protoreflect.MessageDescriptor + md_MsgStructOreRefineryComplete protoreflect.MessageDescriptor + fd_MsgStructOreRefineryComplete_creator protoreflect.FieldDescriptor + fd_MsgStructOreRefineryComplete_structId protoreflect.FieldDescriptor + fd_MsgStructOreRefineryComplete_proof protoreflect.FieldDescriptor + fd_MsgStructOreRefineryComplete_nonce protoreflect.FieldDescriptor ) func init() { file_structs_structs_tx_proto_init() - md_MsgSubstationAllocationConnectResponse = File_structs_structs_tx_proto.Messages().ByName("MsgSubstationAllocationConnectResponse") + md_MsgStructOreRefineryComplete = File_structs_structs_tx_proto.Messages().ByName("MsgStructOreRefineryComplete") + fd_MsgStructOreRefineryComplete_creator = md_MsgStructOreRefineryComplete.Fields().ByName("creator") + fd_MsgStructOreRefineryComplete_structId = md_MsgStructOreRefineryComplete.Fields().ByName("structId") + fd_MsgStructOreRefineryComplete_proof = md_MsgStructOreRefineryComplete.Fields().ByName("proof") + fd_MsgStructOreRefineryComplete_nonce = md_MsgStructOreRefineryComplete.Fields().ByName("nonce") } -var _ protoreflect.Message = (*fastReflection_MsgSubstationAllocationConnectResponse)(nil) +var _ protoreflect.Message = (*fastReflection_MsgStructOreRefineryComplete)(nil) -type fastReflection_MsgSubstationAllocationConnectResponse MsgSubstationAllocationConnectResponse +type fastReflection_MsgStructOreRefineryComplete MsgStructOreRefineryComplete -func (x *MsgSubstationAllocationConnectResponse) ProtoReflect() protoreflect.Message { - return (*fastReflection_MsgSubstationAllocationConnectResponse)(x) +func (x *MsgStructOreRefineryComplete) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgStructOreRefineryComplete)(x) } -func (x *MsgSubstationAllocationConnectResponse) slowProtoReflect() protoreflect.Message { +func (x *MsgStructOreRefineryComplete) slowProtoReflect() protoreflect.Message { mi := &file_structs_structs_tx_proto_msgTypes[76] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -39842,43 +38997,43 @@ func (x *MsgSubstationAllocationConnectResponse) slowProtoReflect() protoreflect return mi.MessageOf(x) } -var _fastReflection_MsgSubstationAllocationConnectResponse_messageType fastReflection_MsgSubstationAllocationConnectResponse_messageType -var _ protoreflect.MessageType = fastReflection_MsgSubstationAllocationConnectResponse_messageType{} +var _fastReflection_MsgStructOreRefineryComplete_messageType fastReflection_MsgStructOreRefineryComplete_messageType +var _ protoreflect.MessageType = fastReflection_MsgStructOreRefineryComplete_messageType{} -type fastReflection_MsgSubstationAllocationConnectResponse_messageType struct{} +type fastReflection_MsgStructOreRefineryComplete_messageType struct{} -func (x fastReflection_MsgSubstationAllocationConnectResponse_messageType) Zero() protoreflect.Message { - return (*fastReflection_MsgSubstationAllocationConnectResponse)(nil) +func (x fastReflection_MsgStructOreRefineryComplete_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgStructOreRefineryComplete)(nil) } -func (x fastReflection_MsgSubstationAllocationConnectResponse_messageType) New() protoreflect.Message { - return new(fastReflection_MsgSubstationAllocationConnectResponse) +func (x fastReflection_MsgStructOreRefineryComplete_messageType) New() protoreflect.Message { + return new(fastReflection_MsgStructOreRefineryComplete) } -func (x fastReflection_MsgSubstationAllocationConnectResponse_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_MsgSubstationAllocationConnectResponse +func (x fastReflection_MsgStructOreRefineryComplete_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgStructOreRefineryComplete } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_MsgSubstationAllocationConnectResponse) Descriptor() protoreflect.MessageDescriptor { - return md_MsgSubstationAllocationConnectResponse +func (x *fastReflection_MsgStructOreRefineryComplete) Descriptor() protoreflect.MessageDescriptor { + return md_MsgStructOreRefineryComplete } // 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_MsgSubstationAllocationConnectResponse) Type() protoreflect.MessageType { - return _fastReflection_MsgSubstationAllocationConnectResponse_messageType +func (x *fastReflection_MsgStructOreRefineryComplete) Type() protoreflect.MessageType { + return _fastReflection_MsgStructOreRefineryComplete_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_MsgSubstationAllocationConnectResponse) New() protoreflect.Message { - return new(fastReflection_MsgSubstationAllocationConnectResponse) +func (x *fastReflection_MsgStructOreRefineryComplete) New() protoreflect.Message { + return new(fastReflection_MsgStructOreRefineryComplete) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_MsgSubstationAllocationConnectResponse) Interface() protoreflect.ProtoMessage { - return (*MsgSubstationAllocationConnectResponse)(x) +func (x *fastReflection_MsgStructOreRefineryComplete) Interface() protoreflect.ProtoMessage { + return (*MsgStructOreRefineryComplete)(x) } // Range iterates over every populated field in an undefined order, @@ -39886,7 +39041,31 @@ func (x *fastReflection_MsgSubstationAllocationConnectResponse) Interface() prot // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_MsgSubstationAllocationConnectResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +func (x *fastReflection_MsgStructOreRefineryComplete) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Creator != "" { + value := protoreflect.ValueOfString(x.Creator) + if !f(fd_MsgStructOreRefineryComplete_creator, value) { + return + } + } + if x.StructId != "" { + value := protoreflect.ValueOfString(x.StructId) + if !f(fd_MsgStructOreRefineryComplete_structId, value) { + return + } + } + if x.Proof != "" { + value := protoreflect.ValueOfString(x.Proof) + if !f(fd_MsgStructOreRefineryComplete_proof, value) { + return + } + } + if x.Nonce != "" { + value := protoreflect.ValueOfString(x.Nonce) + if !f(fd_MsgStructOreRefineryComplete_nonce, value) { + return + } + } } // Has reports whether a field is populated. @@ -39900,13 +39079,21 @@ func (x *fastReflection_MsgSubstationAllocationConnectResponse) Range(f func(pro // 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_MsgSubstationAllocationConnectResponse) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_MsgStructOreRefineryComplete) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { + case "structs.structs.MsgStructOreRefineryComplete.creator": + return x.Creator != "" + case "structs.structs.MsgStructOreRefineryComplete.structId": + return x.StructId != "" + case "structs.structs.MsgStructOreRefineryComplete.proof": + return x.Proof != "" + case "structs.structs.MsgStructOreRefineryComplete.nonce": + return x.Nonce != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationAllocationConnectResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructOreRefineryComplete")) } - panic(fmt.Errorf("message structs.structs.MsgSubstationAllocationConnectResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructOreRefineryComplete does not contain field %s", fd.FullName())) } } @@ -39916,13 +39103,21 @@ func (x *fastReflection_MsgSubstationAllocationConnectResponse) Has(fd protorefl // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgSubstationAllocationConnectResponse) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_MsgStructOreRefineryComplete) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { + case "structs.structs.MsgStructOreRefineryComplete.creator": + x.Creator = "" + case "structs.structs.MsgStructOreRefineryComplete.structId": + x.StructId = "" + case "structs.structs.MsgStructOreRefineryComplete.proof": + x.Proof = "" + case "structs.structs.MsgStructOreRefineryComplete.nonce": + x.Nonce = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationAllocationConnectResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructOreRefineryComplete")) } - panic(fmt.Errorf("message structs.structs.MsgSubstationAllocationConnectResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructOreRefineryComplete does not contain field %s", fd.FullName())) } } @@ -39932,13 +39127,25 @@ func (x *fastReflection_MsgSubstationAllocationConnectResponse) Clear(fd protore // 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_MsgSubstationAllocationConnectResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgStructOreRefineryComplete) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { + case "structs.structs.MsgStructOreRefineryComplete.creator": + value := x.Creator + return protoreflect.ValueOfString(value) + case "structs.structs.MsgStructOreRefineryComplete.structId": + value := x.StructId + return protoreflect.ValueOfString(value) + case "structs.structs.MsgStructOreRefineryComplete.proof": + value := x.Proof + return protoreflect.ValueOfString(value) + case "structs.structs.MsgStructOreRefineryComplete.nonce": + value := x.Nonce + return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationAllocationConnectResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructOreRefineryComplete")) } - panic(fmt.Errorf("message structs.structs.MsgSubstationAllocationConnectResponse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructOreRefineryComplete does not contain field %s", descriptor.FullName())) } } @@ -39952,13 +39159,21 @@ func (x *fastReflection_MsgSubstationAllocationConnectResponse) Get(descriptor p // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgSubstationAllocationConnectResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_MsgStructOreRefineryComplete) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { + case "structs.structs.MsgStructOreRefineryComplete.creator": + x.Creator = value.Interface().(string) + case "structs.structs.MsgStructOreRefineryComplete.structId": + x.StructId = value.Interface().(string) + case "structs.structs.MsgStructOreRefineryComplete.proof": + x.Proof = value.Interface().(string) + case "structs.structs.MsgStructOreRefineryComplete.nonce": + x.Nonce = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationAllocationConnectResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructOreRefineryComplete")) } - panic(fmt.Errorf("message structs.structs.MsgSubstationAllocationConnectResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructOreRefineryComplete does not contain field %s", fd.FullName())) } } @@ -39972,36 +39187,52 @@ func (x *fastReflection_MsgSubstationAllocationConnectResponse) Set(fd protorefl // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgSubstationAllocationConnectResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgStructOreRefineryComplete) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { + case "structs.structs.MsgStructOreRefineryComplete.creator": + panic(fmt.Errorf("field creator of message structs.structs.MsgStructOreRefineryComplete is not mutable")) + case "structs.structs.MsgStructOreRefineryComplete.structId": + panic(fmt.Errorf("field structId of message structs.structs.MsgStructOreRefineryComplete is not mutable")) + case "structs.structs.MsgStructOreRefineryComplete.proof": + panic(fmt.Errorf("field proof of message structs.structs.MsgStructOreRefineryComplete is not mutable")) + case "structs.structs.MsgStructOreRefineryComplete.nonce": + panic(fmt.Errorf("field nonce of message structs.structs.MsgStructOreRefineryComplete is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationAllocationConnectResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructOreRefineryComplete")) } - panic(fmt.Errorf("message structs.structs.MsgSubstationAllocationConnectResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructOreRefineryComplete 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_MsgSubstationAllocationConnectResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgStructOreRefineryComplete) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { + case "structs.structs.MsgStructOreRefineryComplete.creator": + return protoreflect.ValueOfString("") + case "structs.structs.MsgStructOreRefineryComplete.structId": + return protoreflect.ValueOfString("") + case "structs.structs.MsgStructOreRefineryComplete.proof": + return protoreflect.ValueOfString("") + case "structs.structs.MsgStructOreRefineryComplete.nonce": + return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationAllocationConnectResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructOreRefineryComplete")) } - panic(fmt.Errorf("message structs.structs.MsgSubstationAllocationConnectResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructOreRefineryComplete 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_MsgSubstationAllocationConnectResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_MsgStructOreRefineryComplete) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgSubstationAllocationConnectResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgStructOreRefineryComplete", d.FullName())) } panic("unreachable") } @@ -40009,7 +39240,7 @@ func (x *fastReflection_MsgSubstationAllocationConnectResponse) WhichOneof(d pro // 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_MsgSubstationAllocationConnectResponse) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_MsgStructOreRefineryComplete) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -40020,7 +39251,7 @@ func (x *fastReflection_MsgSubstationAllocationConnectResponse) GetUnknown() pro // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgSubstationAllocationConnectResponse) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_MsgStructOreRefineryComplete) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -40032,7 +39263,7 @@ func (x *fastReflection_MsgSubstationAllocationConnectResponse) SetUnknown(field // 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_MsgSubstationAllocationConnectResponse) IsValid() bool { +func (x *fastReflection_MsgStructOreRefineryComplete) IsValid() bool { return x != nil } @@ -40042,9 +39273,9 @@ func (x *fastReflection_MsgSubstationAllocationConnectResponse) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_MsgSubstationAllocationConnectResponse) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_MsgStructOreRefineryComplete) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*MsgSubstationAllocationConnectResponse) + x := input.Message.Interface().(*MsgStructOreRefineryComplete) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -40056,6 +39287,22 @@ func (x *fastReflection_MsgSubstationAllocationConnectResponse) ProtoMethods() * var n int var l int _ = l + l = len(x.Creator) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.StructId) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.Proof) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.Nonce) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } if x.unknownFields != nil { n += len(x.unknownFields) } @@ -40066,7 +39313,7 @@ func (x *fastReflection_MsgSubstationAllocationConnectResponse) ProtoMethods() * } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*MsgSubstationAllocationConnectResponse) + x := input.Message.Interface().(*MsgStructOreRefineryComplete) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -40085,6 +39332,34 @@ func (x *fastReflection_MsgSubstationAllocationConnectResponse) ProtoMethods() * i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } + if len(x.Nonce) > 0 { + i -= len(x.Nonce) + copy(dAtA[i:], x.Nonce) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Nonce))) + i-- + dAtA[i] = 0x22 + } + if len(x.Proof) > 0 { + i -= len(x.Proof) + copy(dAtA[i:], x.Proof) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Proof))) + i-- + dAtA[i] = 0x1a + } + if len(x.StructId) > 0 { + i -= len(x.StructId) + copy(dAtA[i:], x.StructId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.StructId))) + i-- + dAtA[i] = 0x12 + } + if len(x.Creator) > 0 { + i -= len(x.Creator) + copy(dAtA[i:], x.Creator) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Creator))) + i-- + dAtA[i] = 0xa + } if input.Buf != nil { input.Buf = append(input.Buf, dAtA...) } else { @@ -40096,7 +39371,7 @@ func (x *fastReflection_MsgSubstationAllocationConnectResponse) ProtoMethods() * }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*MsgSubstationAllocationConnectResponse) + x := input.Message.Interface().(*MsgStructOreRefineryComplete) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -40128,117 +39403,243 @@ func (x *fastReflection_MsgSubstationAllocationConnectResponse) ProtoMethods() * fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgSubstationAllocationConnectResponse: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgStructOreRefineryComplete: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgSubstationAllocationConnectResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgStructOreRefineryComplete: 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 + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType) } - if (skippy < 0) || (iNdEx+skippy) < 0 { + 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 } - if (iNdEx + skippy) > l { + 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 } - if !options.DiscardUnknown { - x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + x.Creator = 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 StructId", wireType) } - 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_MsgSubstationAllocationDisconnect protoreflect.MessageDescriptor - fd_MsgSubstationAllocationDisconnect_creator protoreflect.FieldDescriptor - fd_MsgSubstationAllocationDisconnect_allocationId protoreflect.FieldDescriptor -) - -func init() { - file_structs_structs_tx_proto_init() - md_MsgSubstationAllocationDisconnect = File_structs_structs_tx_proto.Messages().ByName("MsgSubstationAllocationDisconnect") - fd_MsgSubstationAllocationDisconnect_creator = md_MsgSubstationAllocationDisconnect.Fields().ByName("creator") - fd_MsgSubstationAllocationDisconnect_allocationId = md_MsgSubstationAllocationDisconnect.Fields().ByName("allocationId") -} - -var _ protoreflect.Message = (*fastReflection_MsgSubstationAllocationDisconnect)(nil) - -type fastReflection_MsgSubstationAllocationDisconnect MsgSubstationAllocationDisconnect - -func (x *MsgSubstationAllocationDisconnect) ProtoReflect() protoreflect.Message { - return (*fastReflection_MsgSubstationAllocationDisconnect)(x) -} - -func (x *MsgSubstationAllocationDisconnect) slowProtoReflect() protoreflect.Message { - mi := &file_structs_structs_tx_proto_msgTypes[77] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) + 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.StructId = 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 Proof", 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.Proof = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Nonce", 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.Nonce = 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_MsgStructOreRefineryStatusResponse protoreflect.MessageDescriptor + fd_MsgStructOreRefineryStatusResponse_struct protoreflect.FieldDescriptor +) + +func init() { + file_structs_structs_tx_proto_init() + md_MsgStructOreRefineryStatusResponse = File_structs_structs_tx_proto.Messages().ByName("MsgStructOreRefineryStatusResponse") + fd_MsgStructOreRefineryStatusResponse_struct = md_MsgStructOreRefineryStatusResponse.Fields().ByName("struct") +} + +var _ protoreflect.Message = (*fastReflection_MsgStructOreRefineryStatusResponse)(nil) + +type fastReflection_MsgStructOreRefineryStatusResponse MsgStructOreRefineryStatusResponse + +func (x *MsgStructOreRefineryStatusResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgStructOreRefineryStatusResponse)(x) +} + +func (x *MsgStructOreRefineryStatusResponse) slowProtoReflect() protoreflect.Message { + mi := &file_structs_structs_tx_proto_msgTypes[77] + 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_MsgSubstationAllocationDisconnect_messageType fastReflection_MsgSubstationAllocationDisconnect_messageType -var _ protoreflect.MessageType = fastReflection_MsgSubstationAllocationDisconnect_messageType{} +var _fastReflection_MsgStructOreRefineryStatusResponse_messageType fastReflection_MsgStructOreRefineryStatusResponse_messageType +var _ protoreflect.MessageType = fastReflection_MsgStructOreRefineryStatusResponse_messageType{} -type fastReflection_MsgSubstationAllocationDisconnect_messageType struct{} +type fastReflection_MsgStructOreRefineryStatusResponse_messageType struct{} -func (x fastReflection_MsgSubstationAllocationDisconnect_messageType) Zero() protoreflect.Message { - return (*fastReflection_MsgSubstationAllocationDisconnect)(nil) +func (x fastReflection_MsgStructOreRefineryStatusResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgStructOreRefineryStatusResponse)(nil) } -func (x fastReflection_MsgSubstationAllocationDisconnect_messageType) New() protoreflect.Message { - return new(fastReflection_MsgSubstationAllocationDisconnect) +func (x fastReflection_MsgStructOreRefineryStatusResponse_messageType) New() protoreflect.Message { + return new(fastReflection_MsgStructOreRefineryStatusResponse) } -func (x fastReflection_MsgSubstationAllocationDisconnect_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_MsgSubstationAllocationDisconnect +func (x fastReflection_MsgStructOreRefineryStatusResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgStructOreRefineryStatusResponse } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_MsgSubstationAllocationDisconnect) Descriptor() protoreflect.MessageDescriptor { - return md_MsgSubstationAllocationDisconnect +func (x *fastReflection_MsgStructOreRefineryStatusResponse) Descriptor() protoreflect.MessageDescriptor { + return md_MsgStructOreRefineryStatusResponse } // 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_MsgSubstationAllocationDisconnect) Type() protoreflect.MessageType { - return _fastReflection_MsgSubstationAllocationDisconnect_messageType +func (x *fastReflection_MsgStructOreRefineryStatusResponse) Type() protoreflect.MessageType { + return _fastReflection_MsgStructOreRefineryStatusResponse_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_MsgSubstationAllocationDisconnect) New() protoreflect.Message { - return new(fastReflection_MsgSubstationAllocationDisconnect) +func (x *fastReflection_MsgStructOreRefineryStatusResponse) New() protoreflect.Message { + return new(fastReflection_MsgStructOreRefineryStatusResponse) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_MsgSubstationAllocationDisconnect) Interface() protoreflect.ProtoMessage { - return (*MsgSubstationAllocationDisconnect)(x) +func (x *fastReflection_MsgStructOreRefineryStatusResponse) Interface() protoreflect.ProtoMessage { + return (*MsgStructOreRefineryStatusResponse)(x) } // Range iterates over every populated field in an undefined order, @@ -40246,16 +39647,10 @@ func (x *fastReflection_MsgSubstationAllocationDisconnect) Interface() protorefl // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_MsgSubstationAllocationDisconnect) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.Creator != "" { - value := protoreflect.ValueOfString(x.Creator) - if !f(fd_MsgSubstationAllocationDisconnect_creator, value) { - return - } - } - if x.AllocationId != "" { - value := protoreflect.ValueOfString(x.AllocationId) - if !f(fd_MsgSubstationAllocationDisconnect_allocationId, value) { +func (x *fastReflection_MsgStructOreRefineryStatusResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Struct != nil { + value := protoreflect.ValueOfMessage(x.Struct.ProtoReflect()) + if !f(fd_MsgStructOreRefineryStatusResponse_struct, value) { return } } @@ -40272,17 +39667,15 @@ func (x *fastReflection_MsgSubstationAllocationDisconnect) Range(f func(protoref // 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_MsgSubstationAllocationDisconnect) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_MsgStructOreRefineryStatusResponse) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.MsgSubstationAllocationDisconnect.creator": - return x.Creator != "" - case "structs.structs.MsgSubstationAllocationDisconnect.allocationId": - return x.AllocationId != "" + case "structs.structs.MsgStructOreRefineryStatusResponse.struct": + return x.Struct != nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationAllocationDisconnect")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructOreRefineryStatusResponse")) } - panic(fmt.Errorf("message structs.structs.MsgSubstationAllocationDisconnect does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructOreRefineryStatusResponse does not contain field %s", fd.FullName())) } } @@ -40292,17 +39685,15 @@ func (x *fastReflection_MsgSubstationAllocationDisconnect) Has(fd protoreflect.F // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgSubstationAllocationDisconnect) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_MsgStructOreRefineryStatusResponse) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.MsgSubstationAllocationDisconnect.creator": - x.Creator = "" - case "structs.structs.MsgSubstationAllocationDisconnect.allocationId": - x.AllocationId = "" + case "structs.structs.MsgStructOreRefineryStatusResponse.struct": + x.Struct = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationAllocationDisconnect")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructOreRefineryStatusResponse")) } - panic(fmt.Errorf("message structs.structs.MsgSubstationAllocationDisconnect does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructOreRefineryStatusResponse does not contain field %s", fd.FullName())) } } @@ -40312,19 +39703,16 @@ func (x *fastReflection_MsgSubstationAllocationDisconnect) Clear(fd protoreflect // 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_MsgSubstationAllocationDisconnect) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgStructOreRefineryStatusResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.MsgSubstationAllocationDisconnect.creator": - value := x.Creator - return protoreflect.ValueOfString(value) - case "structs.structs.MsgSubstationAllocationDisconnect.allocationId": - value := x.AllocationId - return protoreflect.ValueOfString(value) + case "structs.structs.MsgStructOreRefineryStatusResponse.struct": + value := x.Struct + return protoreflect.ValueOfMessage(value.ProtoReflect()) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationAllocationDisconnect")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructOreRefineryStatusResponse")) } - panic(fmt.Errorf("message structs.structs.MsgSubstationAllocationDisconnect does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructOreRefineryStatusResponse does not contain field %s", descriptor.FullName())) } } @@ -40338,17 +39726,15 @@ func (x *fastReflection_MsgSubstationAllocationDisconnect) Get(descriptor protor // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgSubstationAllocationDisconnect) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_MsgStructOreRefineryStatusResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.MsgSubstationAllocationDisconnect.creator": - x.Creator = value.Interface().(string) - case "structs.structs.MsgSubstationAllocationDisconnect.allocationId": - x.AllocationId = value.Interface().(string) + case "structs.structs.MsgStructOreRefineryStatusResponse.struct": + x.Struct = value.Message().Interface().(*Struct) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationAllocationDisconnect")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructOreRefineryStatusResponse")) } - panic(fmt.Errorf("message structs.structs.MsgSubstationAllocationDisconnect does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructOreRefineryStatusResponse does not contain field %s", fd.FullName())) } } @@ -40362,44 +39748,44 @@ func (x *fastReflection_MsgSubstationAllocationDisconnect) Set(fd protoreflect.F // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgSubstationAllocationDisconnect) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgStructOreRefineryStatusResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.MsgSubstationAllocationDisconnect.creator": - panic(fmt.Errorf("field creator of message structs.structs.MsgSubstationAllocationDisconnect is not mutable")) - case "structs.structs.MsgSubstationAllocationDisconnect.allocationId": - panic(fmt.Errorf("field allocationId of message structs.structs.MsgSubstationAllocationDisconnect is not mutable")) + case "structs.structs.MsgStructOreRefineryStatusResponse.struct": + if x.Struct == nil { + x.Struct = new(Struct) + } + return protoreflect.ValueOfMessage(x.Struct.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationAllocationDisconnect")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructOreRefineryStatusResponse")) } - panic(fmt.Errorf("message structs.structs.MsgSubstationAllocationDisconnect does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructOreRefineryStatusResponse 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_MsgSubstationAllocationDisconnect) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgStructOreRefineryStatusResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.MsgSubstationAllocationDisconnect.creator": - return protoreflect.ValueOfString("") - case "structs.structs.MsgSubstationAllocationDisconnect.allocationId": - return protoreflect.ValueOfString("") + case "structs.structs.MsgStructOreRefineryStatusResponse.struct": + m := new(Struct) + return protoreflect.ValueOfMessage(m.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationAllocationDisconnect")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructOreRefineryStatusResponse")) } - panic(fmt.Errorf("message structs.structs.MsgSubstationAllocationDisconnect does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructOreRefineryStatusResponse 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_MsgSubstationAllocationDisconnect) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_MsgStructOreRefineryStatusResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgSubstationAllocationDisconnect", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgStructOreRefineryStatusResponse", d.FullName())) } panic("unreachable") } @@ -40407,7 +39793,7 @@ func (x *fastReflection_MsgSubstationAllocationDisconnect) WhichOneof(d protoref // 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_MsgSubstationAllocationDisconnect) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_MsgStructOreRefineryStatusResponse) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -40418,7 +39804,7 @@ func (x *fastReflection_MsgSubstationAllocationDisconnect) GetUnknown() protoref // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgSubstationAllocationDisconnect) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_MsgStructOreRefineryStatusResponse) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -40430,7 +39816,7 @@ func (x *fastReflection_MsgSubstationAllocationDisconnect) SetUnknown(fields pro // 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_MsgSubstationAllocationDisconnect) IsValid() bool { +func (x *fastReflection_MsgStructOreRefineryStatusResponse) IsValid() bool { return x != nil } @@ -40440,9 +39826,9 @@ func (x *fastReflection_MsgSubstationAllocationDisconnect) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_MsgSubstationAllocationDisconnect) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_MsgStructOreRefineryStatusResponse) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*MsgSubstationAllocationDisconnect) + x := input.Message.Interface().(*MsgStructOreRefineryStatusResponse) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -40454,12 +39840,8 @@ func (x *fastReflection_MsgSubstationAllocationDisconnect) ProtoMethods() *proto var n int var l int _ = l - l = len(x.Creator) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } - l = len(x.AllocationId) - if l > 0 { + if x.Struct != nil { + l = options.Size(x.Struct) n += 1 + l + runtime.Sov(uint64(l)) } if x.unknownFields != nil { @@ -40472,7 +39854,7 @@ func (x *fastReflection_MsgSubstationAllocationDisconnect) ProtoMethods() *proto } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*MsgSubstationAllocationDisconnect) + x := input.Message.Interface().(*MsgStructOreRefineryStatusResponse) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -40491,17 +39873,17 @@ func (x *fastReflection_MsgSubstationAllocationDisconnect) ProtoMethods() *proto i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if len(x.AllocationId) > 0 { - i -= len(x.AllocationId) - copy(dAtA[i:], x.AllocationId) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.AllocationId))) - i-- - dAtA[i] = 0x12 - } - if len(x.Creator) > 0 { - i -= len(x.Creator) - copy(dAtA[i:], x.Creator) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Creator))) + if x.Struct != nil { + encoded, err := options.Marshal(x.Struct) + 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 } @@ -40516,7 +39898,7 @@ func (x *fastReflection_MsgSubstationAllocationDisconnect) ProtoMethods() *proto }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*MsgSubstationAllocationDisconnect) + x := input.Message.Interface().(*MsgStructOreRefineryStatusResponse) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -40548,17 +39930,17 @@ func (x *fastReflection_MsgSubstationAllocationDisconnect) ProtoMethods() *proto fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgSubstationAllocationDisconnect: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgStructOreRefineryStatusResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgSubstationAllocationDisconnect: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgStructOreRefineryStatusResponse: 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 Creator", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Struct", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow @@ -40568,55 +39950,27 @@ func (x *fastReflection_MsgSubstationAllocationDisconnect) ProtoMethods() *proto } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength } - postIndex := iNdEx + intStringLen + 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 } - x.Creator = 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 AllocationId", 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 x.Struct == nil { + x.Struct = &Struct{} } - if postIndex > l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Struct); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err } - x.AllocationId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -40654,23 +40008,33 @@ func (x *fastReflection_MsgSubstationAllocationDisconnect) ProtoMethods() *proto } var ( - md_MsgSubstationAllocationDisconnectResponse protoreflect.MessageDescriptor + md_MsgStructStorageStash protoreflect.MessageDescriptor + fd_MsgStructStorageStash_creator protoreflect.FieldDescriptor + fd_MsgStructStorageStash_structId protoreflect.FieldDescriptor + fd_MsgStructStorageStash_locationId protoreflect.FieldDescriptor + fd_MsgStructStorageStash_ambit protoreflect.FieldDescriptor + fd_MsgStructStorageStash_slot protoreflect.FieldDescriptor ) func init() { file_structs_structs_tx_proto_init() - md_MsgSubstationAllocationDisconnectResponse = File_structs_structs_tx_proto.Messages().ByName("MsgSubstationAllocationDisconnectResponse") + md_MsgStructStorageStash = File_structs_structs_tx_proto.Messages().ByName("MsgStructStorageStash") + fd_MsgStructStorageStash_creator = md_MsgStructStorageStash.Fields().ByName("creator") + fd_MsgStructStorageStash_structId = md_MsgStructStorageStash.Fields().ByName("structId") + fd_MsgStructStorageStash_locationId = md_MsgStructStorageStash.Fields().ByName("locationId") + fd_MsgStructStorageStash_ambit = md_MsgStructStorageStash.Fields().ByName("ambit") + fd_MsgStructStorageStash_slot = md_MsgStructStorageStash.Fields().ByName("slot") } -var _ protoreflect.Message = (*fastReflection_MsgSubstationAllocationDisconnectResponse)(nil) +var _ protoreflect.Message = (*fastReflection_MsgStructStorageStash)(nil) -type fastReflection_MsgSubstationAllocationDisconnectResponse MsgSubstationAllocationDisconnectResponse +type fastReflection_MsgStructStorageStash MsgStructStorageStash -func (x *MsgSubstationAllocationDisconnectResponse) ProtoReflect() protoreflect.Message { - return (*fastReflection_MsgSubstationAllocationDisconnectResponse)(x) +func (x *MsgStructStorageStash) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgStructStorageStash)(x) } -func (x *MsgSubstationAllocationDisconnectResponse) slowProtoReflect() protoreflect.Message { +func (x *MsgStructStorageStash) slowProtoReflect() protoreflect.Message { mi := &file_structs_structs_tx_proto_msgTypes[78] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -40682,43 +40046,43 @@ func (x *MsgSubstationAllocationDisconnectResponse) slowProtoReflect() protorefl return mi.MessageOf(x) } -var _fastReflection_MsgSubstationAllocationDisconnectResponse_messageType fastReflection_MsgSubstationAllocationDisconnectResponse_messageType -var _ protoreflect.MessageType = fastReflection_MsgSubstationAllocationDisconnectResponse_messageType{} +var _fastReflection_MsgStructStorageStash_messageType fastReflection_MsgStructStorageStash_messageType +var _ protoreflect.MessageType = fastReflection_MsgStructStorageStash_messageType{} -type fastReflection_MsgSubstationAllocationDisconnectResponse_messageType struct{} +type fastReflection_MsgStructStorageStash_messageType struct{} -func (x fastReflection_MsgSubstationAllocationDisconnectResponse_messageType) Zero() protoreflect.Message { - return (*fastReflection_MsgSubstationAllocationDisconnectResponse)(nil) +func (x fastReflection_MsgStructStorageStash_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgStructStorageStash)(nil) } -func (x fastReflection_MsgSubstationAllocationDisconnectResponse_messageType) New() protoreflect.Message { - return new(fastReflection_MsgSubstationAllocationDisconnectResponse) +func (x fastReflection_MsgStructStorageStash_messageType) New() protoreflect.Message { + return new(fastReflection_MsgStructStorageStash) } -func (x fastReflection_MsgSubstationAllocationDisconnectResponse_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_MsgSubstationAllocationDisconnectResponse +func (x fastReflection_MsgStructStorageStash_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgStructStorageStash } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_MsgSubstationAllocationDisconnectResponse) Descriptor() protoreflect.MessageDescriptor { - return md_MsgSubstationAllocationDisconnectResponse +func (x *fastReflection_MsgStructStorageStash) Descriptor() protoreflect.MessageDescriptor { + return md_MsgStructStorageStash } // 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_MsgSubstationAllocationDisconnectResponse) Type() protoreflect.MessageType { - return _fastReflection_MsgSubstationAllocationDisconnectResponse_messageType +func (x *fastReflection_MsgStructStorageStash) Type() protoreflect.MessageType { + return _fastReflection_MsgStructStorageStash_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_MsgSubstationAllocationDisconnectResponse) New() protoreflect.Message { - return new(fastReflection_MsgSubstationAllocationDisconnectResponse) +func (x *fastReflection_MsgStructStorageStash) New() protoreflect.Message { + return new(fastReflection_MsgStructStorageStash) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_MsgSubstationAllocationDisconnectResponse) Interface() protoreflect.ProtoMessage { - return (*MsgSubstationAllocationDisconnectResponse)(x) +func (x *fastReflection_MsgStructStorageStash) Interface() protoreflect.ProtoMessage { + return (*MsgStructStorageStash)(x) } // Range iterates over every populated field in an undefined order, @@ -40726,7 +40090,37 @@ func (x *fastReflection_MsgSubstationAllocationDisconnectResponse) Interface() p // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_MsgSubstationAllocationDisconnectResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +func (x *fastReflection_MsgStructStorageStash) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Creator != "" { + value := protoreflect.ValueOfString(x.Creator) + if !f(fd_MsgStructStorageStash_creator, value) { + return + } + } + if x.StructId != "" { + value := protoreflect.ValueOfString(x.StructId) + if !f(fd_MsgStructStorageStash_structId, value) { + return + } + } + if x.LocationId != "" { + value := protoreflect.ValueOfString(x.LocationId) + if !f(fd_MsgStructStorageStash_locationId, value) { + return + } + } + if x.Ambit != 0 { + value := protoreflect.ValueOfEnum((protoreflect.EnumNumber)(x.Ambit)) + if !f(fd_MsgStructStorageStash_ambit, value) { + return + } + } + if x.Slot != uint64(0) { + value := protoreflect.ValueOfUint64(x.Slot) + if !f(fd_MsgStructStorageStash_slot, value) { + return + } + } } // Has reports whether a field is populated. @@ -40740,13 +40134,23 @@ func (x *fastReflection_MsgSubstationAllocationDisconnectResponse) Range(f func( // 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_MsgSubstationAllocationDisconnectResponse) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_MsgStructStorageStash) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { + case "structs.structs.MsgStructStorageStash.creator": + return x.Creator != "" + case "structs.structs.MsgStructStorageStash.structId": + return x.StructId != "" + case "structs.structs.MsgStructStorageStash.locationId": + return x.LocationId != "" + case "structs.structs.MsgStructStorageStash.ambit": + return x.Ambit != 0 + case "structs.structs.MsgStructStorageStash.slot": + return x.Slot != uint64(0) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationAllocationDisconnectResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructStorageStash")) } - panic(fmt.Errorf("message structs.structs.MsgSubstationAllocationDisconnectResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructStorageStash does not contain field %s", fd.FullName())) } } @@ -40756,13 +40160,23 @@ func (x *fastReflection_MsgSubstationAllocationDisconnectResponse) Has(fd protor // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgSubstationAllocationDisconnectResponse) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_MsgStructStorageStash) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { + case "structs.structs.MsgStructStorageStash.creator": + x.Creator = "" + case "structs.structs.MsgStructStorageStash.structId": + x.StructId = "" + case "structs.structs.MsgStructStorageStash.locationId": + x.LocationId = "" + case "structs.structs.MsgStructStorageStash.ambit": + x.Ambit = 0 + case "structs.structs.MsgStructStorageStash.slot": + x.Slot = uint64(0) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationAllocationDisconnectResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructStorageStash")) } - panic(fmt.Errorf("message structs.structs.MsgSubstationAllocationDisconnectResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructStorageStash does not contain field %s", fd.FullName())) } } @@ -40772,19 +40186,34 @@ func (x *fastReflection_MsgSubstationAllocationDisconnectResponse) Clear(fd prot // 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_MsgSubstationAllocationDisconnectResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgStructStorageStash) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - default: - if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationAllocationDisconnectResponse")) - } - panic(fmt.Errorf("message structs.structs.MsgSubstationAllocationDisconnectResponse 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 + case "structs.structs.MsgStructStorageStash.creator": + value := x.Creator + return protoreflect.ValueOfString(value) + case "structs.structs.MsgStructStorageStash.structId": + value := x.StructId + return protoreflect.ValueOfString(value) + case "structs.structs.MsgStructStorageStash.locationId": + value := x.LocationId + return protoreflect.ValueOfString(value) + case "structs.structs.MsgStructStorageStash.ambit": + value := x.Ambit + return protoreflect.ValueOfEnum((protoreflect.EnumNumber)(value)) + case "structs.structs.MsgStructStorageStash.slot": + value := x.Slot + return protoreflect.ValueOfUint64(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructStorageStash")) + } + panic(fmt.Errorf("message structs.structs.MsgStructStorageStash 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 @@ -40792,13 +40221,23 @@ func (x *fastReflection_MsgSubstationAllocationDisconnectResponse) Get(descripto // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgSubstationAllocationDisconnectResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_MsgStructStorageStash) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { + case "structs.structs.MsgStructStorageStash.creator": + x.Creator = value.Interface().(string) + case "structs.structs.MsgStructStorageStash.structId": + x.StructId = value.Interface().(string) + case "structs.structs.MsgStructStorageStash.locationId": + x.LocationId = value.Interface().(string) + case "structs.structs.MsgStructStorageStash.ambit": + x.Ambit = (Ambit)(value.Enum()) + case "structs.structs.MsgStructStorageStash.slot": + x.Slot = value.Uint() default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationAllocationDisconnectResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructStorageStash")) } - panic(fmt.Errorf("message structs.structs.MsgSubstationAllocationDisconnectResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructStorageStash does not contain field %s", fd.FullName())) } } @@ -40812,36 +40251,56 @@ func (x *fastReflection_MsgSubstationAllocationDisconnectResponse) Set(fd protor // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgSubstationAllocationDisconnectResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgStructStorageStash) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { + case "structs.structs.MsgStructStorageStash.creator": + panic(fmt.Errorf("field creator of message structs.structs.MsgStructStorageStash is not mutable")) + case "structs.structs.MsgStructStorageStash.structId": + panic(fmt.Errorf("field structId of message structs.structs.MsgStructStorageStash is not mutable")) + case "structs.structs.MsgStructStorageStash.locationId": + panic(fmt.Errorf("field locationId of message structs.structs.MsgStructStorageStash is not mutable")) + case "structs.structs.MsgStructStorageStash.ambit": + panic(fmt.Errorf("field ambit of message structs.structs.MsgStructStorageStash is not mutable")) + case "structs.structs.MsgStructStorageStash.slot": + panic(fmt.Errorf("field slot of message structs.structs.MsgStructStorageStash is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationAllocationDisconnectResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructStorageStash")) } - panic(fmt.Errorf("message structs.structs.MsgSubstationAllocationDisconnectResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructStorageStash 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_MsgSubstationAllocationDisconnectResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgStructStorageStash) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { + case "structs.structs.MsgStructStorageStash.creator": + return protoreflect.ValueOfString("") + case "structs.structs.MsgStructStorageStash.structId": + return protoreflect.ValueOfString("") + case "structs.structs.MsgStructStorageStash.locationId": + return protoreflect.ValueOfString("") + case "structs.structs.MsgStructStorageStash.ambit": + return protoreflect.ValueOfEnum(0) + case "structs.structs.MsgStructStorageStash.slot": + return protoreflect.ValueOfUint64(uint64(0)) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationAllocationDisconnectResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructStorageStash")) } - panic(fmt.Errorf("message structs.structs.MsgSubstationAllocationDisconnectResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructStorageStash 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_MsgSubstationAllocationDisconnectResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_MsgStructStorageStash) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgSubstationAllocationDisconnectResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgStructStorageStash", d.FullName())) } panic("unreachable") } @@ -40849,7 +40308,7 @@ func (x *fastReflection_MsgSubstationAllocationDisconnectResponse) WhichOneof(d // 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_MsgSubstationAllocationDisconnectResponse) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_MsgStructStorageStash) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -40860,7 +40319,7 @@ func (x *fastReflection_MsgSubstationAllocationDisconnectResponse) GetUnknown() // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgSubstationAllocationDisconnectResponse) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_MsgStructStorageStash) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -40872,7 +40331,7 @@ func (x *fastReflection_MsgSubstationAllocationDisconnectResponse) SetUnknown(fi // 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_MsgSubstationAllocationDisconnectResponse) IsValid() bool { +func (x *fastReflection_MsgStructStorageStash) IsValid() bool { return x != nil } @@ -40882,9 +40341,9 @@ func (x *fastReflection_MsgSubstationAllocationDisconnectResponse) IsValid() boo // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_MsgSubstationAllocationDisconnectResponse) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_MsgStructStorageStash) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*MsgSubstationAllocationDisconnectResponse) + x := input.Message.Interface().(*MsgStructStorageStash) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -40896,6 +40355,24 @@ func (x *fastReflection_MsgSubstationAllocationDisconnectResponse) ProtoMethods( var n int var l int _ = l + l = len(x.Creator) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.StructId) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.LocationId) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.Ambit != 0 { + n += 1 + runtime.Sov(uint64(x.Ambit)) + } + if x.Slot != 0 { + n += 1 + runtime.Sov(uint64(x.Slot)) + } if x.unknownFields != nil { n += len(x.unknownFields) } @@ -40906,7 +40383,7 @@ func (x *fastReflection_MsgSubstationAllocationDisconnectResponse) ProtoMethods( } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*MsgSubstationAllocationDisconnectResponse) + x := input.Message.Interface().(*MsgStructStorageStash) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -40925,6 +40402,37 @@ func (x *fastReflection_MsgSubstationAllocationDisconnectResponse) ProtoMethods( i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } + if x.Slot != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.Slot)) + i-- + dAtA[i] = 0x28 + } + if x.Ambit != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.Ambit)) + i-- + dAtA[i] = 0x20 + } + if len(x.LocationId) > 0 { + i -= len(x.LocationId) + copy(dAtA[i:], x.LocationId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.LocationId))) + i-- + dAtA[i] = 0x1a + } + if len(x.StructId) > 0 { + i -= len(x.StructId) + copy(dAtA[i:], x.StructId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.StructId))) + i-- + dAtA[i] = 0x12 + } + if len(x.Creator) > 0 { + i -= len(x.Creator) + copy(dAtA[i:], x.Creator) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Creator))) + i-- + dAtA[i] = 0xa + } if input.Buf != nil { input.Buf = append(input.Buf, dAtA...) } else { @@ -40936,7 +40444,7 @@ func (x *fastReflection_MsgSubstationAllocationDisconnectResponse) ProtoMethods( }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*MsgSubstationAllocationDisconnectResponse) + x := input.Message.Interface().(*MsgStructStorageStash) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -40968,12 +40476,146 @@ func (x *fastReflection_MsgSubstationAllocationDisconnectResponse) ProtoMethods( fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgSubstationAllocationDisconnectResponse: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgStructStorageStash: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgSubstationAllocationDisconnectResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgStructStorageStash: 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 Creator", 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.Creator = 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 StructId", 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.StructId = 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 LocationId", 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.LocationId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Ambit", wireType) + } + x.Ambit = 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.Ambit |= Ambit(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 5: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Slot", wireType) + } + x.Slot = 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.Slot |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } default: iNdEx = preIndex skippy, err := runtime.Skip(dAtA[iNdEx:]) @@ -41010,29 +40652,35 @@ func (x *fastReflection_MsgSubstationAllocationDisconnectResponse) ProtoMethods( } var ( - md_MsgSubstationPlayerConnect protoreflect.MessageDescriptor - fd_MsgSubstationPlayerConnect_creator protoreflect.FieldDescriptor - fd_MsgSubstationPlayerConnect_substationId protoreflect.FieldDescriptor - fd_MsgSubstationPlayerConnect_playerId protoreflect.FieldDescriptor + md_MsgStructStorageRecall protoreflect.MessageDescriptor + fd_MsgStructStorageRecall_creator protoreflect.FieldDescriptor + fd_MsgStructStorageRecall_structId protoreflect.FieldDescriptor + fd_MsgStructStorageRecall_locationId protoreflect.FieldDescriptor + fd_MsgStructStorageRecall_ambit protoreflect.FieldDescriptor + fd_MsgStructStorageRecall_slot protoreflect.FieldDescriptor + fd_MsgStructStorageRecall_activate protoreflect.FieldDescriptor ) func init() { file_structs_structs_tx_proto_init() - md_MsgSubstationPlayerConnect = File_structs_structs_tx_proto.Messages().ByName("MsgSubstationPlayerConnect") - fd_MsgSubstationPlayerConnect_creator = md_MsgSubstationPlayerConnect.Fields().ByName("creator") - fd_MsgSubstationPlayerConnect_substationId = md_MsgSubstationPlayerConnect.Fields().ByName("substationId") - fd_MsgSubstationPlayerConnect_playerId = md_MsgSubstationPlayerConnect.Fields().ByName("playerId") + md_MsgStructStorageRecall = File_structs_structs_tx_proto.Messages().ByName("MsgStructStorageRecall") + fd_MsgStructStorageRecall_creator = md_MsgStructStorageRecall.Fields().ByName("creator") + fd_MsgStructStorageRecall_structId = md_MsgStructStorageRecall.Fields().ByName("structId") + fd_MsgStructStorageRecall_locationId = md_MsgStructStorageRecall.Fields().ByName("locationId") + fd_MsgStructStorageRecall_ambit = md_MsgStructStorageRecall.Fields().ByName("ambit") + fd_MsgStructStorageRecall_slot = md_MsgStructStorageRecall.Fields().ByName("slot") + fd_MsgStructStorageRecall_activate = md_MsgStructStorageRecall.Fields().ByName("activate") } -var _ protoreflect.Message = (*fastReflection_MsgSubstationPlayerConnect)(nil) +var _ protoreflect.Message = (*fastReflection_MsgStructStorageRecall)(nil) -type fastReflection_MsgSubstationPlayerConnect MsgSubstationPlayerConnect +type fastReflection_MsgStructStorageRecall MsgStructStorageRecall -func (x *MsgSubstationPlayerConnect) ProtoReflect() protoreflect.Message { - return (*fastReflection_MsgSubstationPlayerConnect)(x) +func (x *MsgStructStorageRecall) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgStructStorageRecall)(x) } -func (x *MsgSubstationPlayerConnect) slowProtoReflect() protoreflect.Message { +func (x *MsgStructStorageRecall) slowProtoReflect() protoreflect.Message { mi := &file_structs_structs_tx_proto_msgTypes[79] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -41044,43 +40692,43 @@ func (x *MsgSubstationPlayerConnect) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_MsgSubstationPlayerConnect_messageType fastReflection_MsgSubstationPlayerConnect_messageType -var _ protoreflect.MessageType = fastReflection_MsgSubstationPlayerConnect_messageType{} +var _fastReflection_MsgStructStorageRecall_messageType fastReflection_MsgStructStorageRecall_messageType +var _ protoreflect.MessageType = fastReflection_MsgStructStorageRecall_messageType{} -type fastReflection_MsgSubstationPlayerConnect_messageType struct{} +type fastReflection_MsgStructStorageRecall_messageType struct{} -func (x fastReflection_MsgSubstationPlayerConnect_messageType) Zero() protoreflect.Message { - return (*fastReflection_MsgSubstationPlayerConnect)(nil) +func (x fastReflection_MsgStructStorageRecall_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgStructStorageRecall)(nil) } -func (x fastReflection_MsgSubstationPlayerConnect_messageType) New() protoreflect.Message { - return new(fastReflection_MsgSubstationPlayerConnect) +func (x fastReflection_MsgStructStorageRecall_messageType) New() protoreflect.Message { + return new(fastReflection_MsgStructStorageRecall) } -func (x fastReflection_MsgSubstationPlayerConnect_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_MsgSubstationPlayerConnect +func (x fastReflection_MsgStructStorageRecall_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgStructStorageRecall } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_MsgSubstationPlayerConnect) Descriptor() protoreflect.MessageDescriptor { - return md_MsgSubstationPlayerConnect +func (x *fastReflection_MsgStructStorageRecall) Descriptor() protoreflect.MessageDescriptor { + return md_MsgStructStorageRecall } // 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_MsgSubstationPlayerConnect) Type() protoreflect.MessageType { - return _fastReflection_MsgSubstationPlayerConnect_messageType +func (x *fastReflection_MsgStructStorageRecall) Type() protoreflect.MessageType { + return _fastReflection_MsgStructStorageRecall_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_MsgSubstationPlayerConnect) New() protoreflect.Message { - return new(fastReflection_MsgSubstationPlayerConnect) +func (x *fastReflection_MsgStructStorageRecall) New() protoreflect.Message { + return new(fastReflection_MsgStructStorageRecall) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_MsgSubstationPlayerConnect) Interface() protoreflect.ProtoMessage { - return (*MsgSubstationPlayerConnect)(x) +func (x *fastReflection_MsgStructStorageRecall) Interface() protoreflect.ProtoMessage { + return (*MsgStructStorageRecall)(x) } // Range iterates over every populated field in an undefined order, @@ -41088,22 +40736,40 @@ func (x *fastReflection_MsgSubstationPlayerConnect) Interface() protoreflect.Pro // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_MsgSubstationPlayerConnect) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +func (x *fastReflection_MsgStructStorageRecall) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { if x.Creator != "" { value := protoreflect.ValueOfString(x.Creator) - if !f(fd_MsgSubstationPlayerConnect_creator, value) { + if !f(fd_MsgStructStorageRecall_creator, value) { return } } - if x.SubstationId != "" { - value := protoreflect.ValueOfString(x.SubstationId) - if !f(fd_MsgSubstationPlayerConnect_substationId, value) { + if x.StructId != "" { + value := protoreflect.ValueOfString(x.StructId) + if !f(fd_MsgStructStorageRecall_structId, value) { return } } - if x.PlayerId != "" { - value := protoreflect.ValueOfString(x.PlayerId) - if !f(fd_MsgSubstationPlayerConnect_playerId, value) { + if x.LocationId != "" { + value := protoreflect.ValueOfString(x.LocationId) + if !f(fd_MsgStructStorageRecall_locationId, value) { + return + } + } + if x.Ambit != 0 { + value := protoreflect.ValueOfEnum((protoreflect.EnumNumber)(x.Ambit)) + if !f(fd_MsgStructStorageRecall_ambit, value) { + return + } + } + if x.Slot != uint64(0) { + value := protoreflect.ValueOfUint64(x.Slot) + if !f(fd_MsgStructStorageRecall_slot, value) { + return + } + } + if x.Activate != false { + value := protoreflect.ValueOfBool(x.Activate) + if !f(fd_MsgStructStorageRecall_activate, value) { return } } @@ -41120,19 +40786,25 @@ func (x *fastReflection_MsgSubstationPlayerConnect) Range(f func(protoreflect.Fi // 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_MsgSubstationPlayerConnect) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_MsgStructStorageRecall) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.MsgSubstationPlayerConnect.creator": + case "structs.structs.MsgStructStorageRecall.creator": return x.Creator != "" - case "structs.structs.MsgSubstationPlayerConnect.substationId": - return x.SubstationId != "" - case "structs.structs.MsgSubstationPlayerConnect.playerId": - return x.PlayerId != "" + case "structs.structs.MsgStructStorageRecall.structId": + return x.StructId != "" + case "structs.structs.MsgStructStorageRecall.locationId": + return x.LocationId != "" + case "structs.structs.MsgStructStorageRecall.ambit": + return x.Ambit != 0 + case "structs.structs.MsgStructStorageRecall.slot": + return x.Slot != uint64(0) + case "structs.structs.MsgStructStorageRecall.activate": + return x.Activate != false default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationPlayerConnect")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructStorageRecall")) } - panic(fmt.Errorf("message structs.structs.MsgSubstationPlayerConnect does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructStorageRecall does not contain field %s", fd.FullName())) } } @@ -41142,19 +40814,25 @@ func (x *fastReflection_MsgSubstationPlayerConnect) Has(fd protoreflect.FieldDes // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgSubstationPlayerConnect) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_MsgStructStorageRecall) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.MsgSubstationPlayerConnect.creator": + case "structs.structs.MsgStructStorageRecall.creator": x.Creator = "" - case "structs.structs.MsgSubstationPlayerConnect.substationId": - x.SubstationId = "" - case "structs.structs.MsgSubstationPlayerConnect.playerId": - x.PlayerId = "" + case "structs.structs.MsgStructStorageRecall.structId": + x.StructId = "" + case "structs.structs.MsgStructStorageRecall.locationId": + x.LocationId = "" + case "structs.structs.MsgStructStorageRecall.ambit": + x.Ambit = 0 + case "structs.structs.MsgStructStorageRecall.slot": + x.Slot = uint64(0) + case "structs.structs.MsgStructStorageRecall.activate": + x.Activate = false default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationPlayerConnect")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructStorageRecall")) } - panic(fmt.Errorf("message structs.structs.MsgSubstationPlayerConnect does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructStorageRecall does not contain field %s", fd.FullName())) } } @@ -41164,22 +40842,31 @@ func (x *fastReflection_MsgSubstationPlayerConnect) Clear(fd protoreflect.FieldD // 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_MsgSubstationPlayerConnect) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgStructStorageRecall) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.MsgSubstationPlayerConnect.creator": + case "structs.structs.MsgStructStorageRecall.creator": value := x.Creator return protoreflect.ValueOfString(value) - case "structs.structs.MsgSubstationPlayerConnect.substationId": - value := x.SubstationId + case "structs.structs.MsgStructStorageRecall.structId": + value := x.StructId return protoreflect.ValueOfString(value) - case "structs.structs.MsgSubstationPlayerConnect.playerId": - value := x.PlayerId + case "structs.structs.MsgStructStorageRecall.locationId": + value := x.LocationId return protoreflect.ValueOfString(value) + case "structs.structs.MsgStructStorageRecall.ambit": + value := x.Ambit + return protoreflect.ValueOfEnum((protoreflect.EnumNumber)(value)) + case "structs.structs.MsgStructStorageRecall.slot": + value := x.Slot + return protoreflect.ValueOfUint64(value) + case "structs.structs.MsgStructStorageRecall.activate": + value := x.Activate + return protoreflect.ValueOfBool(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationPlayerConnect")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructStorageRecall")) } - panic(fmt.Errorf("message structs.structs.MsgSubstationPlayerConnect does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructStorageRecall does not contain field %s", descriptor.FullName())) } } @@ -41193,19 +40880,25 @@ func (x *fastReflection_MsgSubstationPlayerConnect) Get(descriptor protoreflect. // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgSubstationPlayerConnect) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_MsgStructStorageRecall) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.MsgSubstationPlayerConnect.creator": + case "structs.structs.MsgStructStorageRecall.creator": x.Creator = value.Interface().(string) - case "structs.structs.MsgSubstationPlayerConnect.substationId": - x.SubstationId = value.Interface().(string) - case "structs.structs.MsgSubstationPlayerConnect.playerId": - x.PlayerId = value.Interface().(string) + case "structs.structs.MsgStructStorageRecall.structId": + x.StructId = value.Interface().(string) + case "structs.structs.MsgStructStorageRecall.locationId": + x.LocationId = value.Interface().(string) + case "structs.structs.MsgStructStorageRecall.ambit": + x.Ambit = (Ambit)(value.Enum()) + case "structs.structs.MsgStructStorageRecall.slot": + x.Slot = value.Uint() + case "structs.structs.MsgStructStorageRecall.activate": + x.Activate = value.Bool() default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationPlayerConnect")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructStorageRecall")) } - panic(fmt.Errorf("message structs.structs.MsgSubstationPlayerConnect does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructStorageRecall does not contain field %s", fd.FullName())) } } @@ -41219,48 +40912,60 @@ func (x *fastReflection_MsgSubstationPlayerConnect) Set(fd protoreflect.FieldDes // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgSubstationPlayerConnect) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgStructStorageRecall) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.MsgSubstationPlayerConnect.creator": - panic(fmt.Errorf("field creator of message structs.structs.MsgSubstationPlayerConnect is not mutable")) - case "structs.structs.MsgSubstationPlayerConnect.substationId": - panic(fmt.Errorf("field substationId of message structs.structs.MsgSubstationPlayerConnect is not mutable")) - case "structs.structs.MsgSubstationPlayerConnect.playerId": - panic(fmt.Errorf("field playerId of message structs.structs.MsgSubstationPlayerConnect is not mutable")) + case "structs.structs.MsgStructStorageRecall.creator": + panic(fmt.Errorf("field creator of message structs.structs.MsgStructStorageRecall is not mutable")) + case "structs.structs.MsgStructStorageRecall.structId": + panic(fmt.Errorf("field structId of message structs.structs.MsgStructStorageRecall is not mutable")) + case "structs.structs.MsgStructStorageRecall.locationId": + panic(fmt.Errorf("field locationId of message structs.structs.MsgStructStorageRecall is not mutable")) + case "structs.structs.MsgStructStorageRecall.ambit": + panic(fmt.Errorf("field ambit of message structs.structs.MsgStructStorageRecall is not mutable")) + case "structs.structs.MsgStructStorageRecall.slot": + panic(fmt.Errorf("field slot of message structs.structs.MsgStructStorageRecall is not mutable")) + case "structs.structs.MsgStructStorageRecall.activate": + panic(fmt.Errorf("field activate of message structs.structs.MsgStructStorageRecall is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationPlayerConnect")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructStorageRecall")) } - panic(fmt.Errorf("message structs.structs.MsgSubstationPlayerConnect does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructStorageRecall 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_MsgSubstationPlayerConnect) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgStructStorageRecall) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.MsgSubstationPlayerConnect.creator": + case "structs.structs.MsgStructStorageRecall.creator": return protoreflect.ValueOfString("") - case "structs.structs.MsgSubstationPlayerConnect.substationId": + case "structs.structs.MsgStructStorageRecall.structId": return protoreflect.ValueOfString("") - case "structs.structs.MsgSubstationPlayerConnect.playerId": + case "structs.structs.MsgStructStorageRecall.locationId": return protoreflect.ValueOfString("") + case "structs.structs.MsgStructStorageRecall.ambit": + return protoreflect.ValueOfEnum(0) + case "structs.structs.MsgStructStorageRecall.slot": + return protoreflect.ValueOfUint64(uint64(0)) + case "structs.structs.MsgStructStorageRecall.activate": + return protoreflect.ValueOfBool(false) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationPlayerConnect")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgStructStorageRecall")) } - panic(fmt.Errorf("message structs.structs.MsgSubstationPlayerConnect does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgStructStorageRecall 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_MsgSubstationPlayerConnect) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_MsgStructStorageRecall) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgSubstationPlayerConnect", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgStructStorageRecall", d.FullName())) } panic("unreachable") } @@ -41268,7 +40973,7 @@ func (x *fastReflection_MsgSubstationPlayerConnect) WhichOneof(d protoreflect.On // 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_MsgSubstationPlayerConnect) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_MsgStructStorageRecall) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -41279,7 +40984,7 @@ func (x *fastReflection_MsgSubstationPlayerConnect) GetUnknown() protoreflect.Ra // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgSubstationPlayerConnect) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_MsgStructStorageRecall) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -41291,7 +40996,7 @@ func (x *fastReflection_MsgSubstationPlayerConnect) SetUnknown(fields protorefle // 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_MsgSubstationPlayerConnect) IsValid() bool { +func (x *fastReflection_MsgStructStorageRecall) IsValid() bool { return x != nil } @@ -41301,9 +41006,9 @@ func (x *fastReflection_MsgSubstationPlayerConnect) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_MsgSubstationPlayerConnect) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_MsgStructStorageRecall) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*MsgSubstationPlayerConnect) + x := input.Message.Interface().(*MsgStructStorageRecall) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -41319,14 +41024,23 @@ func (x *fastReflection_MsgSubstationPlayerConnect) ProtoMethods() *protoiface.M if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } - l = len(x.SubstationId) + l = len(x.StructId) if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } - l = len(x.PlayerId) + l = len(x.LocationId) if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } + if x.Ambit != 0 { + n += 1 + runtime.Sov(uint64(x.Ambit)) + } + if x.Slot != 0 { + n += 1 + runtime.Sov(uint64(x.Slot)) + } + if x.Activate { + n += 2 + } if x.unknownFields != nil { n += len(x.unknownFields) } @@ -41337,7 +41051,7 @@ func (x *fastReflection_MsgSubstationPlayerConnect) ProtoMethods() *protoiface.M } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*MsgSubstationPlayerConnect) + x := input.Message.Interface().(*MsgStructStorageRecall) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -41356,17 +41070,37 @@ func (x *fastReflection_MsgSubstationPlayerConnect) ProtoMethods() *protoiface.M i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if len(x.PlayerId) > 0 { - i -= len(x.PlayerId) - copy(dAtA[i:], x.PlayerId) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.PlayerId))) + if x.Activate { + i-- + if x.Activate { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x30 + } + if x.Slot != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.Slot)) + i-- + dAtA[i] = 0x28 + } + if x.Ambit != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.Ambit)) + i-- + dAtA[i] = 0x20 + } + if len(x.LocationId) > 0 { + i -= len(x.LocationId) + copy(dAtA[i:], x.LocationId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.LocationId))) i-- dAtA[i] = 0x1a } - if len(x.SubstationId) > 0 { - i -= len(x.SubstationId) - copy(dAtA[i:], x.SubstationId) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.SubstationId))) + if len(x.StructId) > 0 { + i -= len(x.StructId) + copy(dAtA[i:], x.StructId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.StructId))) i-- dAtA[i] = 0x12 } @@ -41388,7 +41122,7 @@ func (x *fastReflection_MsgSubstationPlayerConnect) ProtoMethods() *protoiface.M }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*MsgSubstationPlayerConnect) + x := input.Message.Interface().(*MsgStructStorageRecall) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -41420,10 +41154,10 @@ func (x *fastReflection_MsgSubstationPlayerConnect) ProtoMethods() *protoiface.M fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgSubstationPlayerConnect: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgStructStorageRecall: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgSubstationPlayerConnect: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgStructStorageRecall: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -41460,7 +41194,7 @@ func (x *fastReflection_MsgSubstationPlayerConnect) ProtoMethods() *protoiface.M iNdEx = postIndex case 2: if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field SubstationId", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field StructId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -41488,11 +41222,11 @@ func (x *fastReflection_MsgSubstationPlayerConnect) ProtoMethods() *protoiface.M if postIndex > l { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - x.SubstationId = string(dAtA[iNdEx:postIndex]) + x.StructId = 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 PlayerId", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field LocationId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -41520,8 +41254,66 @@ func (x *fastReflection_MsgSubstationPlayerConnect) ProtoMethods() *protoiface.M if postIndex > l { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - x.PlayerId = string(dAtA[iNdEx:postIndex]) + x.LocationId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex + case 4: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Ambit", wireType) + } + x.Ambit = 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.Ambit |= Ambit(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 5: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Slot", wireType) + } + x.Slot = 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.Slot |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 6: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Activate", wireType) + } + var v 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++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.Activate = bool(v != 0) default: iNdEx = preIndex skippy, err := runtime.Skip(dAtA[iNdEx:]) @@ -41558,23 +41350,29 @@ func (x *fastReflection_MsgSubstationPlayerConnect) ProtoMethods() *protoiface.M } var ( - md_MsgSubstationPlayerConnectResponse protoreflect.MessageDescriptor + md_MsgSubstationCreate protoreflect.MessageDescriptor + fd_MsgSubstationCreate_creator protoreflect.FieldDescriptor + fd_MsgSubstationCreate_owner protoreflect.FieldDescriptor + fd_MsgSubstationCreate_allocationId protoreflect.FieldDescriptor ) func init() { file_structs_structs_tx_proto_init() - md_MsgSubstationPlayerConnectResponse = File_structs_structs_tx_proto.Messages().ByName("MsgSubstationPlayerConnectResponse") + md_MsgSubstationCreate = File_structs_structs_tx_proto.Messages().ByName("MsgSubstationCreate") + fd_MsgSubstationCreate_creator = md_MsgSubstationCreate.Fields().ByName("creator") + fd_MsgSubstationCreate_owner = md_MsgSubstationCreate.Fields().ByName("owner") + fd_MsgSubstationCreate_allocationId = md_MsgSubstationCreate.Fields().ByName("allocationId") } -var _ protoreflect.Message = (*fastReflection_MsgSubstationPlayerConnectResponse)(nil) +var _ protoreflect.Message = (*fastReflection_MsgSubstationCreate)(nil) -type fastReflection_MsgSubstationPlayerConnectResponse MsgSubstationPlayerConnectResponse +type fastReflection_MsgSubstationCreate MsgSubstationCreate -func (x *MsgSubstationPlayerConnectResponse) ProtoReflect() protoreflect.Message { - return (*fastReflection_MsgSubstationPlayerConnectResponse)(x) +func (x *MsgSubstationCreate) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgSubstationCreate)(x) } -func (x *MsgSubstationPlayerConnectResponse) slowProtoReflect() protoreflect.Message { +func (x *MsgSubstationCreate) slowProtoReflect() protoreflect.Message { mi := &file_structs_structs_tx_proto_msgTypes[80] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -41586,43 +41384,43 @@ func (x *MsgSubstationPlayerConnectResponse) slowProtoReflect() protoreflect.Mes return mi.MessageOf(x) } -var _fastReflection_MsgSubstationPlayerConnectResponse_messageType fastReflection_MsgSubstationPlayerConnectResponse_messageType -var _ protoreflect.MessageType = fastReflection_MsgSubstationPlayerConnectResponse_messageType{} +var _fastReflection_MsgSubstationCreate_messageType fastReflection_MsgSubstationCreate_messageType +var _ protoreflect.MessageType = fastReflection_MsgSubstationCreate_messageType{} -type fastReflection_MsgSubstationPlayerConnectResponse_messageType struct{} +type fastReflection_MsgSubstationCreate_messageType struct{} -func (x fastReflection_MsgSubstationPlayerConnectResponse_messageType) Zero() protoreflect.Message { - return (*fastReflection_MsgSubstationPlayerConnectResponse)(nil) +func (x fastReflection_MsgSubstationCreate_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgSubstationCreate)(nil) } -func (x fastReflection_MsgSubstationPlayerConnectResponse_messageType) New() protoreflect.Message { - return new(fastReflection_MsgSubstationPlayerConnectResponse) +func (x fastReflection_MsgSubstationCreate_messageType) New() protoreflect.Message { + return new(fastReflection_MsgSubstationCreate) } -func (x fastReflection_MsgSubstationPlayerConnectResponse_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_MsgSubstationPlayerConnectResponse +func (x fastReflection_MsgSubstationCreate_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgSubstationCreate } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_MsgSubstationPlayerConnectResponse) Descriptor() protoreflect.MessageDescriptor { - return md_MsgSubstationPlayerConnectResponse +func (x *fastReflection_MsgSubstationCreate) Descriptor() protoreflect.MessageDescriptor { + return md_MsgSubstationCreate } // 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_MsgSubstationPlayerConnectResponse) Type() protoreflect.MessageType { - return _fastReflection_MsgSubstationPlayerConnectResponse_messageType +func (x *fastReflection_MsgSubstationCreate) Type() protoreflect.MessageType { + return _fastReflection_MsgSubstationCreate_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_MsgSubstationPlayerConnectResponse) New() protoreflect.Message { - return new(fastReflection_MsgSubstationPlayerConnectResponse) +func (x *fastReflection_MsgSubstationCreate) New() protoreflect.Message { + return new(fastReflection_MsgSubstationCreate) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_MsgSubstationPlayerConnectResponse) Interface() protoreflect.ProtoMessage { - return (*MsgSubstationPlayerConnectResponse)(x) +func (x *fastReflection_MsgSubstationCreate) Interface() protoreflect.ProtoMessage { + return (*MsgSubstationCreate)(x) } // Range iterates over every populated field in an undefined order, @@ -41630,7 +41428,25 @@ func (x *fastReflection_MsgSubstationPlayerConnectResponse) Interface() protoref // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_MsgSubstationPlayerConnectResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +func (x *fastReflection_MsgSubstationCreate) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Creator != "" { + value := protoreflect.ValueOfString(x.Creator) + if !f(fd_MsgSubstationCreate_creator, value) { + return + } + } + if x.Owner != "" { + value := protoreflect.ValueOfString(x.Owner) + if !f(fd_MsgSubstationCreate_owner, value) { + return + } + } + if x.AllocationId != "" { + value := protoreflect.ValueOfString(x.AllocationId) + if !f(fd_MsgSubstationCreate_allocationId, value) { + return + } + } } // Has reports whether a field is populated. @@ -41644,13 +41460,19 @@ func (x *fastReflection_MsgSubstationPlayerConnectResponse) Range(f func(protore // 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_MsgSubstationPlayerConnectResponse) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_MsgSubstationCreate) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { + case "structs.structs.MsgSubstationCreate.creator": + return x.Creator != "" + case "structs.structs.MsgSubstationCreate.owner": + return x.Owner != "" + case "structs.structs.MsgSubstationCreate.allocationId": + return x.AllocationId != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationPlayerConnectResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationCreate")) } - panic(fmt.Errorf("message structs.structs.MsgSubstationPlayerConnectResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgSubstationCreate does not contain field %s", fd.FullName())) } } @@ -41660,13 +41482,19 @@ func (x *fastReflection_MsgSubstationPlayerConnectResponse) Has(fd protoreflect. // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgSubstationPlayerConnectResponse) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_MsgSubstationCreate) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { + case "structs.structs.MsgSubstationCreate.creator": + x.Creator = "" + case "structs.structs.MsgSubstationCreate.owner": + x.Owner = "" + case "structs.structs.MsgSubstationCreate.allocationId": + x.AllocationId = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationPlayerConnectResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationCreate")) } - panic(fmt.Errorf("message structs.structs.MsgSubstationPlayerConnectResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgSubstationCreate does not contain field %s", fd.FullName())) } } @@ -41676,13 +41504,22 @@ func (x *fastReflection_MsgSubstationPlayerConnectResponse) Clear(fd protoreflec // 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_MsgSubstationPlayerConnectResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgSubstationCreate) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { + case "structs.structs.MsgSubstationCreate.creator": + value := x.Creator + return protoreflect.ValueOfString(value) + case "structs.structs.MsgSubstationCreate.owner": + value := x.Owner + return protoreflect.ValueOfString(value) + case "structs.structs.MsgSubstationCreate.allocationId": + value := x.AllocationId + return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationPlayerConnectResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationCreate")) } - panic(fmt.Errorf("message structs.structs.MsgSubstationPlayerConnectResponse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.MsgSubstationCreate does not contain field %s", descriptor.FullName())) } } @@ -41696,13 +41533,19 @@ func (x *fastReflection_MsgSubstationPlayerConnectResponse) Get(descriptor proto // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgSubstationPlayerConnectResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_MsgSubstationCreate) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { + case "structs.structs.MsgSubstationCreate.creator": + x.Creator = value.Interface().(string) + case "structs.structs.MsgSubstationCreate.owner": + x.Owner = value.Interface().(string) + case "structs.structs.MsgSubstationCreate.allocationId": + x.AllocationId = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationPlayerConnectResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationCreate")) } - panic(fmt.Errorf("message structs.structs.MsgSubstationPlayerConnectResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgSubstationCreate does not contain field %s", fd.FullName())) } } @@ -41716,36 +41559,48 @@ func (x *fastReflection_MsgSubstationPlayerConnectResponse) Set(fd protoreflect. // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgSubstationPlayerConnectResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgSubstationCreate) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { + case "structs.structs.MsgSubstationCreate.creator": + panic(fmt.Errorf("field creator of message structs.structs.MsgSubstationCreate is not mutable")) + case "structs.structs.MsgSubstationCreate.owner": + panic(fmt.Errorf("field owner of message structs.structs.MsgSubstationCreate is not mutable")) + case "structs.structs.MsgSubstationCreate.allocationId": + panic(fmt.Errorf("field allocationId of message structs.structs.MsgSubstationCreate is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationPlayerConnectResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationCreate")) } - panic(fmt.Errorf("message structs.structs.MsgSubstationPlayerConnectResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgSubstationCreate 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_MsgSubstationPlayerConnectResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgSubstationCreate) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { + case "structs.structs.MsgSubstationCreate.creator": + return protoreflect.ValueOfString("") + case "structs.structs.MsgSubstationCreate.owner": + return protoreflect.ValueOfString("") + case "structs.structs.MsgSubstationCreate.allocationId": + return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationPlayerConnectResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationCreate")) } - panic(fmt.Errorf("message structs.structs.MsgSubstationPlayerConnectResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgSubstationCreate 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_MsgSubstationPlayerConnectResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_MsgSubstationCreate) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgSubstationPlayerConnectResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgSubstationCreate", d.FullName())) } panic("unreachable") } @@ -41753,7 +41608,7 @@ func (x *fastReflection_MsgSubstationPlayerConnectResponse) WhichOneof(d protore // 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_MsgSubstationPlayerConnectResponse) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_MsgSubstationCreate) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -41764,7 +41619,7 @@ func (x *fastReflection_MsgSubstationPlayerConnectResponse) GetUnknown() protore // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgSubstationPlayerConnectResponse) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_MsgSubstationCreate) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -41776,7 +41631,7 @@ func (x *fastReflection_MsgSubstationPlayerConnectResponse) SetUnknown(fields pr // 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_MsgSubstationPlayerConnectResponse) IsValid() bool { +func (x *fastReflection_MsgSubstationCreate) IsValid() bool { return x != nil } @@ -41786,9 +41641,9 @@ func (x *fastReflection_MsgSubstationPlayerConnectResponse) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_MsgSubstationPlayerConnectResponse) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_MsgSubstationCreate) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*MsgSubstationPlayerConnectResponse) + x := input.Message.Interface().(*MsgSubstationCreate) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -41800,6 +41655,18 @@ func (x *fastReflection_MsgSubstationPlayerConnectResponse) ProtoMethods() *prot var n int var l int _ = l + l = len(x.Creator) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.Owner) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.AllocationId) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } if x.unknownFields != nil { n += len(x.unknownFields) } @@ -41810,7 +41677,7 @@ func (x *fastReflection_MsgSubstationPlayerConnectResponse) ProtoMethods() *prot } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*MsgSubstationPlayerConnectResponse) + x := input.Message.Interface().(*MsgSubstationCreate) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -41829,6 +41696,27 @@ func (x *fastReflection_MsgSubstationPlayerConnectResponse) ProtoMethods() *prot i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } + if len(x.AllocationId) > 0 { + i -= len(x.AllocationId) + copy(dAtA[i:], x.AllocationId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.AllocationId))) + i-- + dAtA[i] = 0x1a + } + if len(x.Owner) > 0 { + i -= len(x.Owner) + copy(dAtA[i:], x.Owner) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Owner))) + i-- + dAtA[i] = 0x12 + } + if len(x.Creator) > 0 { + i -= len(x.Creator) + copy(dAtA[i:], x.Creator) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Creator))) + i-- + dAtA[i] = 0xa + } if input.Buf != nil { input.Buf = append(input.Buf, dAtA...) } else { @@ -41840,7 +41728,7 @@ func (x *fastReflection_MsgSubstationPlayerConnectResponse) ProtoMethods() *prot }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*MsgSubstationPlayerConnectResponse) + x := input.Message.Interface().(*MsgSubstationCreate) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -41872,12 +41760,108 @@ func (x *fastReflection_MsgSubstationPlayerConnectResponse) ProtoMethods() *prot fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgSubstationPlayerConnectResponse: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgSubstationCreate: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgSubstationPlayerConnectResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgSubstationCreate: 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 Creator", 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.Creator = 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 Owner", 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.Owner = 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 AllocationId", 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.AllocationId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := runtime.Skip(dAtA[iNdEx:]) @@ -41914,27 +41898,25 @@ func (x *fastReflection_MsgSubstationPlayerConnectResponse) ProtoMethods() *prot } var ( - md_MsgSubstationPlayerDisconnect protoreflect.MessageDescriptor - fd_MsgSubstationPlayerDisconnect_creator protoreflect.FieldDescriptor - fd_MsgSubstationPlayerDisconnect_playerId protoreflect.FieldDescriptor + md_MsgSubstationCreateResponse protoreflect.MessageDescriptor + fd_MsgSubstationCreateResponse_substationId protoreflect.FieldDescriptor ) func init() { file_structs_structs_tx_proto_init() - md_MsgSubstationPlayerDisconnect = File_structs_structs_tx_proto.Messages().ByName("MsgSubstationPlayerDisconnect") - fd_MsgSubstationPlayerDisconnect_creator = md_MsgSubstationPlayerDisconnect.Fields().ByName("creator") - fd_MsgSubstationPlayerDisconnect_playerId = md_MsgSubstationPlayerDisconnect.Fields().ByName("playerId") + md_MsgSubstationCreateResponse = File_structs_structs_tx_proto.Messages().ByName("MsgSubstationCreateResponse") + fd_MsgSubstationCreateResponse_substationId = md_MsgSubstationCreateResponse.Fields().ByName("substationId") } -var _ protoreflect.Message = (*fastReflection_MsgSubstationPlayerDisconnect)(nil) +var _ protoreflect.Message = (*fastReflection_MsgSubstationCreateResponse)(nil) -type fastReflection_MsgSubstationPlayerDisconnect MsgSubstationPlayerDisconnect +type fastReflection_MsgSubstationCreateResponse MsgSubstationCreateResponse -func (x *MsgSubstationPlayerDisconnect) ProtoReflect() protoreflect.Message { - return (*fastReflection_MsgSubstationPlayerDisconnect)(x) +func (x *MsgSubstationCreateResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgSubstationCreateResponse)(x) } -func (x *MsgSubstationPlayerDisconnect) slowProtoReflect() protoreflect.Message { +func (x *MsgSubstationCreateResponse) slowProtoReflect() protoreflect.Message { mi := &file_structs_structs_tx_proto_msgTypes[81] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -41946,43 +41928,43 @@ func (x *MsgSubstationPlayerDisconnect) slowProtoReflect() protoreflect.Message return mi.MessageOf(x) } -var _fastReflection_MsgSubstationPlayerDisconnect_messageType fastReflection_MsgSubstationPlayerDisconnect_messageType -var _ protoreflect.MessageType = fastReflection_MsgSubstationPlayerDisconnect_messageType{} +var _fastReflection_MsgSubstationCreateResponse_messageType fastReflection_MsgSubstationCreateResponse_messageType +var _ protoreflect.MessageType = fastReflection_MsgSubstationCreateResponse_messageType{} -type fastReflection_MsgSubstationPlayerDisconnect_messageType struct{} +type fastReflection_MsgSubstationCreateResponse_messageType struct{} -func (x fastReflection_MsgSubstationPlayerDisconnect_messageType) Zero() protoreflect.Message { - return (*fastReflection_MsgSubstationPlayerDisconnect)(nil) +func (x fastReflection_MsgSubstationCreateResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgSubstationCreateResponse)(nil) } -func (x fastReflection_MsgSubstationPlayerDisconnect_messageType) New() protoreflect.Message { - return new(fastReflection_MsgSubstationPlayerDisconnect) +func (x fastReflection_MsgSubstationCreateResponse_messageType) New() protoreflect.Message { + return new(fastReflection_MsgSubstationCreateResponse) } -func (x fastReflection_MsgSubstationPlayerDisconnect_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_MsgSubstationPlayerDisconnect +func (x fastReflection_MsgSubstationCreateResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgSubstationCreateResponse } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_MsgSubstationPlayerDisconnect) Descriptor() protoreflect.MessageDescriptor { - return md_MsgSubstationPlayerDisconnect +func (x *fastReflection_MsgSubstationCreateResponse) Descriptor() protoreflect.MessageDescriptor { + return md_MsgSubstationCreateResponse } // 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_MsgSubstationPlayerDisconnect) Type() protoreflect.MessageType { - return _fastReflection_MsgSubstationPlayerDisconnect_messageType +func (x *fastReflection_MsgSubstationCreateResponse) Type() protoreflect.MessageType { + return _fastReflection_MsgSubstationCreateResponse_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_MsgSubstationPlayerDisconnect) New() protoreflect.Message { - return new(fastReflection_MsgSubstationPlayerDisconnect) +func (x *fastReflection_MsgSubstationCreateResponse) New() protoreflect.Message { + return new(fastReflection_MsgSubstationCreateResponse) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_MsgSubstationPlayerDisconnect) Interface() protoreflect.ProtoMessage { - return (*MsgSubstationPlayerDisconnect)(x) +func (x *fastReflection_MsgSubstationCreateResponse) Interface() protoreflect.ProtoMessage { + return (*MsgSubstationCreateResponse)(x) } // Range iterates over every populated field in an undefined order, @@ -41990,16 +41972,10 @@ func (x *fastReflection_MsgSubstationPlayerDisconnect) Interface() protoreflect. // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_MsgSubstationPlayerDisconnect) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.Creator != "" { - value := protoreflect.ValueOfString(x.Creator) - if !f(fd_MsgSubstationPlayerDisconnect_creator, value) { - return - } - } - if x.PlayerId != "" { - value := protoreflect.ValueOfString(x.PlayerId) - if !f(fd_MsgSubstationPlayerDisconnect_playerId, value) { +func (x *fastReflection_MsgSubstationCreateResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.SubstationId != "" { + value := protoreflect.ValueOfString(x.SubstationId) + if !f(fd_MsgSubstationCreateResponse_substationId, value) { return } } @@ -42016,17 +41992,15 @@ func (x *fastReflection_MsgSubstationPlayerDisconnect) Range(f func(protoreflect // 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_MsgSubstationPlayerDisconnect) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_MsgSubstationCreateResponse) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.MsgSubstationPlayerDisconnect.creator": - return x.Creator != "" - case "structs.structs.MsgSubstationPlayerDisconnect.playerId": - return x.PlayerId != "" - default: + case "structs.structs.MsgSubstationCreateResponse.substationId": + return x.SubstationId != "" + default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationPlayerDisconnect")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationCreateResponse")) } - panic(fmt.Errorf("message structs.structs.MsgSubstationPlayerDisconnect does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgSubstationCreateResponse does not contain field %s", fd.FullName())) } } @@ -42036,17 +42010,15 @@ func (x *fastReflection_MsgSubstationPlayerDisconnect) Has(fd protoreflect.Field // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgSubstationPlayerDisconnect) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_MsgSubstationCreateResponse) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.MsgSubstationPlayerDisconnect.creator": - x.Creator = "" - case "structs.structs.MsgSubstationPlayerDisconnect.playerId": - x.PlayerId = "" + case "structs.structs.MsgSubstationCreateResponse.substationId": + x.SubstationId = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationPlayerDisconnect")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationCreateResponse")) } - panic(fmt.Errorf("message structs.structs.MsgSubstationPlayerDisconnect does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgSubstationCreateResponse does not contain field %s", fd.FullName())) } } @@ -42056,19 +42028,16 @@ func (x *fastReflection_MsgSubstationPlayerDisconnect) Clear(fd protoreflect.Fie // 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_MsgSubstationPlayerDisconnect) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgSubstationCreateResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.MsgSubstationPlayerDisconnect.creator": - value := x.Creator - return protoreflect.ValueOfString(value) - case "structs.structs.MsgSubstationPlayerDisconnect.playerId": - value := x.PlayerId + case "structs.structs.MsgSubstationCreateResponse.substationId": + value := x.SubstationId return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationPlayerDisconnect")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationCreateResponse")) } - panic(fmt.Errorf("message structs.structs.MsgSubstationPlayerDisconnect does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.MsgSubstationCreateResponse does not contain field %s", descriptor.FullName())) } } @@ -42082,17 +42051,15 @@ func (x *fastReflection_MsgSubstationPlayerDisconnect) Get(descriptor protorefle // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgSubstationPlayerDisconnect) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_MsgSubstationCreateResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.MsgSubstationPlayerDisconnect.creator": - x.Creator = value.Interface().(string) - case "structs.structs.MsgSubstationPlayerDisconnect.playerId": - x.PlayerId = value.Interface().(string) + case "structs.structs.MsgSubstationCreateResponse.substationId": + x.SubstationId = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationPlayerDisconnect")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationCreateResponse")) } - panic(fmt.Errorf("message structs.structs.MsgSubstationPlayerDisconnect does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgSubstationCreateResponse does not contain field %s", fd.FullName())) } } @@ -42106,44 +42073,40 @@ func (x *fastReflection_MsgSubstationPlayerDisconnect) Set(fd protoreflect.Field // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgSubstationPlayerDisconnect) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgSubstationCreateResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.MsgSubstationPlayerDisconnect.creator": - panic(fmt.Errorf("field creator of message structs.structs.MsgSubstationPlayerDisconnect is not mutable")) - case "structs.structs.MsgSubstationPlayerDisconnect.playerId": - panic(fmt.Errorf("field playerId of message structs.structs.MsgSubstationPlayerDisconnect is not mutable")) + case "structs.structs.MsgSubstationCreateResponse.substationId": + panic(fmt.Errorf("field substationId of message structs.structs.MsgSubstationCreateResponse is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationPlayerDisconnect")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationCreateResponse")) } - panic(fmt.Errorf("message structs.structs.MsgSubstationPlayerDisconnect does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgSubstationCreateResponse 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_MsgSubstationPlayerDisconnect) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgSubstationCreateResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.MsgSubstationPlayerDisconnect.creator": - return protoreflect.ValueOfString("") - case "structs.structs.MsgSubstationPlayerDisconnect.playerId": + case "structs.structs.MsgSubstationCreateResponse.substationId": return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationPlayerDisconnect")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationCreateResponse")) } - panic(fmt.Errorf("message structs.structs.MsgSubstationPlayerDisconnect does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgSubstationCreateResponse 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_MsgSubstationPlayerDisconnect) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_MsgSubstationCreateResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgSubstationPlayerDisconnect", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgSubstationCreateResponse", d.FullName())) } panic("unreachable") } @@ -42151,7 +42114,7 @@ func (x *fastReflection_MsgSubstationPlayerDisconnect) WhichOneof(d protoreflect // 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_MsgSubstationPlayerDisconnect) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_MsgSubstationCreateResponse) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -42162,7 +42125,7 @@ func (x *fastReflection_MsgSubstationPlayerDisconnect) GetUnknown() protoreflect // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgSubstationPlayerDisconnect) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_MsgSubstationCreateResponse) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -42174,7 +42137,7 @@ func (x *fastReflection_MsgSubstationPlayerDisconnect) SetUnknown(fields protore // 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_MsgSubstationPlayerDisconnect) IsValid() bool { +func (x *fastReflection_MsgSubstationCreateResponse) IsValid() bool { return x != nil } @@ -42184,9 +42147,9 @@ func (x *fastReflection_MsgSubstationPlayerDisconnect) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_MsgSubstationPlayerDisconnect) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_MsgSubstationCreateResponse) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*MsgSubstationPlayerDisconnect) + x := input.Message.Interface().(*MsgSubstationCreateResponse) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -42198,11 +42161,7 @@ func (x *fastReflection_MsgSubstationPlayerDisconnect) ProtoMethods() *protoifac var n int var l int _ = l - l = len(x.Creator) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } - l = len(x.PlayerId) + l = len(x.SubstationId) if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } @@ -42216,7 +42175,7 @@ func (x *fastReflection_MsgSubstationPlayerDisconnect) ProtoMethods() *protoifac } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*MsgSubstationPlayerDisconnect) + x := input.Message.Interface().(*MsgSubstationCreateResponse) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -42235,17 +42194,10 @@ func (x *fastReflection_MsgSubstationPlayerDisconnect) ProtoMethods() *protoifac i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if len(x.PlayerId) > 0 { - i -= len(x.PlayerId) - copy(dAtA[i:], x.PlayerId) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.PlayerId))) - i-- - dAtA[i] = 0x12 - } - if len(x.Creator) > 0 { - i -= len(x.Creator) - copy(dAtA[i:], x.Creator) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Creator))) + if len(x.SubstationId) > 0 { + i -= len(x.SubstationId) + copy(dAtA[i:], x.SubstationId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.SubstationId))) i-- dAtA[i] = 0xa } @@ -42260,7 +42212,7 @@ func (x *fastReflection_MsgSubstationPlayerDisconnect) ProtoMethods() *protoifac }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*MsgSubstationPlayerDisconnect) + x := input.Message.Interface().(*MsgSubstationCreateResponse) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -42292,47 +42244,15 @@ func (x *fastReflection_MsgSubstationPlayerDisconnect) ProtoMethods() *protoifac fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgSubstationPlayerDisconnect: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgSubstationCreateResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgSubstationPlayerDisconnect: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgSubstationCreateResponse: 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 Creator", 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.Creator = 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 PlayerId", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field SubstationId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -42360,7 +42280,7 @@ func (x *fastReflection_MsgSubstationPlayerDisconnect) ProtoMethods() *protoifac if postIndex > l { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - x.PlayerId = string(dAtA[iNdEx:postIndex]) + x.SubstationId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -42398,23 +42318,29 @@ func (x *fastReflection_MsgSubstationPlayerDisconnect) ProtoMethods() *protoifac } var ( - md_MsgSubstationPlayerDisconnectResponse protoreflect.MessageDescriptor + md_MsgSubstationDelete protoreflect.MessageDescriptor + fd_MsgSubstationDelete_creator protoreflect.FieldDescriptor + fd_MsgSubstationDelete_substationId protoreflect.FieldDescriptor + fd_MsgSubstationDelete_migrationSubstationId protoreflect.FieldDescriptor ) func init() { file_structs_structs_tx_proto_init() - md_MsgSubstationPlayerDisconnectResponse = File_structs_structs_tx_proto.Messages().ByName("MsgSubstationPlayerDisconnectResponse") + md_MsgSubstationDelete = File_structs_structs_tx_proto.Messages().ByName("MsgSubstationDelete") + fd_MsgSubstationDelete_creator = md_MsgSubstationDelete.Fields().ByName("creator") + fd_MsgSubstationDelete_substationId = md_MsgSubstationDelete.Fields().ByName("substationId") + fd_MsgSubstationDelete_migrationSubstationId = md_MsgSubstationDelete.Fields().ByName("migrationSubstationId") } -var _ protoreflect.Message = (*fastReflection_MsgSubstationPlayerDisconnectResponse)(nil) +var _ protoreflect.Message = (*fastReflection_MsgSubstationDelete)(nil) -type fastReflection_MsgSubstationPlayerDisconnectResponse MsgSubstationPlayerDisconnectResponse +type fastReflection_MsgSubstationDelete MsgSubstationDelete -func (x *MsgSubstationPlayerDisconnectResponse) ProtoReflect() protoreflect.Message { - return (*fastReflection_MsgSubstationPlayerDisconnectResponse)(x) +func (x *MsgSubstationDelete) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgSubstationDelete)(x) } -func (x *MsgSubstationPlayerDisconnectResponse) slowProtoReflect() protoreflect.Message { +func (x *MsgSubstationDelete) slowProtoReflect() protoreflect.Message { mi := &file_structs_structs_tx_proto_msgTypes[82] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -42426,43 +42352,43 @@ func (x *MsgSubstationPlayerDisconnectResponse) slowProtoReflect() protoreflect. return mi.MessageOf(x) } -var _fastReflection_MsgSubstationPlayerDisconnectResponse_messageType fastReflection_MsgSubstationPlayerDisconnectResponse_messageType -var _ protoreflect.MessageType = fastReflection_MsgSubstationPlayerDisconnectResponse_messageType{} +var _fastReflection_MsgSubstationDelete_messageType fastReflection_MsgSubstationDelete_messageType +var _ protoreflect.MessageType = fastReflection_MsgSubstationDelete_messageType{} -type fastReflection_MsgSubstationPlayerDisconnectResponse_messageType struct{} +type fastReflection_MsgSubstationDelete_messageType struct{} -func (x fastReflection_MsgSubstationPlayerDisconnectResponse_messageType) Zero() protoreflect.Message { - return (*fastReflection_MsgSubstationPlayerDisconnectResponse)(nil) +func (x fastReflection_MsgSubstationDelete_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgSubstationDelete)(nil) } -func (x fastReflection_MsgSubstationPlayerDisconnectResponse_messageType) New() protoreflect.Message { - return new(fastReflection_MsgSubstationPlayerDisconnectResponse) +func (x fastReflection_MsgSubstationDelete_messageType) New() protoreflect.Message { + return new(fastReflection_MsgSubstationDelete) } -func (x fastReflection_MsgSubstationPlayerDisconnectResponse_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_MsgSubstationPlayerDisconnectResponse +func (x fastReflection_MsgSubstationDelete_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgSubstationDelete } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_MsgSubstationPlayerDisconnectResponse) Descriptor() protoreflect.MessageDescriptor { - return md_MsgSubstationPlayerDisconnectResponse +func (x *fastReflection_MsgSubstationDelete) Descriptor() protoreflect.MessageDescriptor { + return md_MsgSubstationDelete } // 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_MsgSubstationPlayerDisconnectResponse) Type() protoreflect.MessageType { - return _fastReflection_MsgSubstationPlayerDisconnectResponse_messageType +func (x *fastReflection_MsgSubstationDelete) Type() protoreflect.MessageType { + return _fastReflection_MsgSubstationDelete_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_MsgSubstationPlayerDisconnectResponse) New() protoreflect.Message { - return new(fastReflection_MsgSubstationPlayerDisconnectResponse) +func (x *fastReflection_MsgSubstationDelete) New() protoreflect.Message { + return new(fastReflection_MsgSubstationDelete) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_MsgSubstationPlayerDisconnectResponse) Interface() protoreflect.ProtoMessage { - return (*MsgSubstationPlayerDisconnectResponse)(x) +func (x *fastReflection_MsgSubstationDelete) Interface() protoreflect.ProtoMessage { + return (*MsgSubstationDelete)(x) } // Range iterates over every populated field in an undefined order, @@ -42470,7 +42396,25 @@ func (x *fastReflection_MsgSubstationPlayerDisconnectResponse) Interface() proto // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_MsgSubstationPlayerDisconnectResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +func (x *fastReflection_MsgSubstationDelete) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Creator != "" { + value := protoreflect.ValueOfString(x.Creator) + if !f(fd_MsgSubstationDelete_creator, value) { + return + } + } + if x.SubstationId != "" { + value := protoreflect.ValueOfString(x.SubstationId) + if !f(fd_MsgSubstationDelete_substationId, value) { + return + } + } + if x.MigrationSubstationId != "" { + value := protoreflect.ValueOfString(x.MigrationSubstationId) + if !f(fd_MsgSubstationDelete_migrationSubstationId, value) { + return + } + } } // Has reports whether a field is populated. @@ -42484,13 +42428,19 @@ func (x *fastReflection_MsgSubstationPlayerDisconnectResponse) Range(f func(prot // 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_MsgSubstationPlayerDisconnectResponse) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_MsgSubstationDelete) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { + case "structs.structs.MsgSubstationDelete.creator": + return x.Creator != "" + case "structs.structs.MsgSubstationDelete.substationId": + return x.SubstationId != "" + case "structs.structs.MsgSubstationDelete.migrationSubstationId": + return x.MigrationSubstationId != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationPlayerDisconnectResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationDelete")) } - panic(fmt.Errorf("message structs.structs.MsgSubstationPlayerDisconnectResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgSubstationDelete does not contain field %s", fd.FullName())) } } @@ -42500,13 +42450,19 @@ func (x *fastReflection_MsgSubstationPlayerDisconnectResponse) Has(fd protorefle // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgSubstationPlayerDisconnectResponse) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_MsgSubstationDelete) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { + case "structs.structs.MsgSubstationDelete.creator": + x.Creator = "" + case "structs.structs.MsgSubstationDelete.substationId": + x.SubstationId = "" + case "structs.structs.MsgSubstationDelete.migrationSubstationId": + x.MigrationSubstationId = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationPlayerDisconnectResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationDelete")) } - panic(fmt.Errorf("message structs.structs.MsgSubstationPlayerDisconnectResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgSubstationDelete does not contain field %s", fd.FullName())) } } @@ -42516,13 +42472,22 @@ func (x *fastReflection_MsgSubstationPlayerDisconnectResponse) Clear(fd protoref // 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_MsgSubstationPlayerDisconnectResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgSubstationDelete) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { + case "structs.structs.MsgSubstationDelete.creator": + value := x.Creator + return protoreflect.ValueOfString(value) + case "structs.structs.MsgSubstationDelete.substationId": + value := x.SubstationId + return protoreflect.ValueOfString(value) + case "structs.structs.MsgSubstationDelete.migrationSubstationId": + value := x.MigrationSubstationId + return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationPlayerDisconnectResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationDelete")) } - panic(fmt.Errorf("message structs.structs.MsgSubstationPlayerDisconnectResponse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.MsgSubstationDelete does not contain field %s", descriptor.FullName())) } } @@ -42536,13 +42501,19 @@ func (x *fastReflection_MsgSubstationPlayerDisconnectResponse) Get(descriptor pr // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgSubstationPlayerDisconnectResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_MsgSubstationDelete) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { + case "structs.structs.MsgSubstationDelete.creator": + x.Creator = value.Interface().(string) + case "structs.structs.MsgSubstationDelete.substationId": + x.SubstationId = value.Interface().(string) + case "structs.structs.MsgSubstationDelete.migrationSubstationId": + x.MigrationSubstationId = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationPlayerDisconnectResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationDelete")) } - panic(fmt.Errorf("message structs.structs.MsgSubstationPlayerDisconnectResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgSubstationDelete does not contain field %s", fd.FullName())) } } @@ -42556,36 +42527,48 @@ func (x *fastReflection_MsgSubstationPlayerDisconnectResponse) Set(fd protorefle // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgSubstationPlayerDisconnectResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgSubstationDelete) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { + case "structs.structs.MsgSubstationDelete.creator": + panic(fmt.Errorf("field creator of message structs.structs.MsgSubstationDelete is not mutable")) + case "structs.structs.MsgSubstationDelete.substationId": + panic(fmt.Errorf("field substationId of message structs.structs.MsgSubstationDelete is not mutable")) + case "structs.structs.MsgSubstationDelete.migrationSubstationId": + panic(fmt.Errorf("field migrationSubstationId of message structs.structs.MsgSubstationDelete is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationPlayerDisconnectResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationDelete")) } - panic(fmt.Errorf("message structs.structs.MsgSubstationPlayerDisconnectResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgSubstationDelete 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_MsgSubstationPlayerDisconnectResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgSubstationDelete) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { + case "structs.structs.MsgSubstationDelete.creator": + return protoreflect.ValueOfString("") + case "structs.structs.MsgSubstationDelete.substationId": + return protoreflect.ValueOfString("") + case "structs.structs.MsgSubstationDelete.migrationSubstationId": + return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationPlayerDisconnectResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationDelete")) } - panic(fmt.Errorf("message structs.structs.MsgSubstationPlayerDisconnectResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgSubstationDelete 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_MsgSubstationPlayerDisconnectResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_MsgSubstationDelete) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgSubstationPlayerDisconnectResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgSubstationDelete", d.FullName())) } panic("unreachable") } @@ -42593,7 +42576,7 @@ func (x *fastReflection_MsgSubstationPlayerDisconnectResponse) WhichOneof(d prot // 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_MsgSubstationPlayerDisconnectResponse) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_MsgSubstationDelete) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -42604,7 +42587,7 @@ func (x *fastReflection_MsgSubstationPlayerDisconnectResponse) GetUnknown() prot // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgSubstationPlayerDisconnectResponse) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_MsgSubstationDelete) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -42616,7 +42599,7 @@ func (x *fastReflection_MsgSubstationPlayerDisconnectResponse) SetUnknown(fields // 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_MsgSubstationPlayerDisconnectResponse) IsValid() bool { +func (x *fastReflection_MsgSubstationDelete) IsValid() bool { return x != nil } @@ -42626,9 +42609,9 @@ func (x *fastReflection_MsgSubstationPlayerDisconnectResponse) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_MsgSubstationPlayerDisconnectResponse) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_MsgSubstationDelete) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*MsgSubstationPlayerDisconnectResponse) + x := input.Message.Interface().(*MsgSubstationDelete) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -42640,6 +42623,18 @@ func (x *fastReflection_MsgSubstationPlayerDisconnectResponse) ProtoMethods() *p var n int var l int _ = l + l = len(x.Creator) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.SubstationId) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.MigrationSubstationId) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } if x.unknownFields != nil { n += len(x.unknownFields) } @@ -42650,7 +42645,7 @@ func (x *fastReflection_MsgSubstationPlayerDisconnectResponse) ProtoMethods() *p } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*MsgSubstationPlayerDisconnectResponse) + x := input.Message.Interface().(*MsgSubstationDelete) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -42669,6 +42664,27 @@ func (x *fastReflection_MsgSubstationPlayerDisconnectResponse) ProtoMethods() *p i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } + if len(x.MigrationSubstationId) > 0 { + i -= len(x.MigrationSubstationId) + copy(dAtA[i:], x.MigrationSubstationId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.MigrationSubstationId))) + i-- + dAtA[i] = 0x1a + } + if len(x.SubstationId) > 0 { + i -= len(x.SubstationId) + copy(dAtA[i:], x.SubstationId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.SubstationId))) + i-- + dAtA[i] = 0x12 + } + if len(x.Creator) > 0 { + i -= len(x.Creator) + copy(dAtA[i:], x.Creator) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Creator))) + i-- + dAtA[i] = 0xa + } if input.Buf != nil { input.Buf = append(input.Buf, dAtA...) } else { @@ -42680,7 +42696,7 @@ func (x *fastReflection_MsgSubstationPlayerDisconnectResponse) ProtoMethods() *p }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*MsgSubstationPlayerDisconnectResponse) + x := input.Message.Interface().(*MsgSubstationDelete) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -42712,12 +42728,108 @@ func (x *fastReflection_MsgSubstationPlayerDisconnectResponse) ProtoMethods() *p fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgSubstationPlayerDisconnectResponse: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgSubstationDelete: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgSubstationPlayerDisconnectResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgSubstationDelete: 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 Creator", 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.Creator = 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 SubstationId", 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.SubstationId = 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 MigrationSubstationId", 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.MigrationSubstationId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := runtime.Skip(dAtA[iNdEx:]) @@ -42753,76 +42865,24 @@ func (x *fastReflection_MsgSubstationPlayerDisconnectResponse) ProtoMethods() *p } } -var _ protoreflect.List = (*_MsgSubstationPlayerMigrate_3_list)(nil) - -type _MsgSubstationPlayerMigrate_3_list struct { - list *[]string -} - -func (x *_MsgSubstationPlayerMigrate_3_list) Len() int { - if x.list == nil { - return 0 - } - return len(*x.list) -} - -func (x *_MsgSubstationPlayerMigrate_3_list) Get(i int) protoreflect.Value { - return protoreflect.ValueOfString((*x.list)[i]) -} - -func (x *_MsgSubstationPlayerMigrate_3_list) Set(i int, value protoreflect.Value) { - valueUnwrapped := value.String() - concreteValue := valueUnwrapped - (*x.list)[i] = concreteValue -} - -func (x *_MsgSubstationPlayerMigrate_3_list) Append(value protoreflect.Value) { - valueUnwrapped := value.String() - concreteValue := valueUnwrapped - *x.list = append(*x.list, concreteValue) -} - -func (x *_MsgSubstationPlayerMigrate_3_list) AppendMutable() protoreflect.Value { - panic(fmt.Errorf("AppendMutable can not be called on message MsgSubstationPlayerMigrate at list field PlayerId as it is not of Message kind")) -} - -func (x *_MsgSubstationPlayerMigrate_3_list) Truncate(n int) { - *x.list = (*x.list)[:n] -} - -func (x *_MsgSubstationPlayerMigrate_3_list) NewElement() protoreflect.Value { - v := "" - return protoreflect.ValueOfString(v) -} - -func (x *_MsgSubstationPlayerMigrate_3_list) IsValid() bool { - return x.list != nil -} - var ( - md_MsgSubstationPlayerMigrate protoreflect.MessageDescriptor - fd_MsgSubstationPlayerMigrate_creator protoreflect.FieldDescriptor - fd_MsgSubstationPlayerMigrate_substationId protoreflect.FieldDescriptor - fd_MsgSubstationPlayerMigrate_playerId protoreflect.FieldDescriptor + md_MsgSubstationDeleteResponse protoreflect.MessageDescriptor ) func init() { file_structs_structs_tx_proto_init() - md_MsgSubstationPlayerMigrate = File_structs_structs_tx_proto.Messages().ByName("MsgSubstationPlayerMigrate") - fd_MsgSubstationPlayerMigrate_creator = md_MsgSubstationPlayerMigrate.Fields().ByName("creator") - fd_MsgSubstationPlayerMigrate_substationId = md_MsgSubstationPlayerMigrate.Fields().ByName("substationId") - fd_MsgSubstationPlayerMigrate_playerId = md_MsgSubstationPlayerMigrate.Fields().ByName("playerId") + md_MsgSubstationDeleteResponse = File_structs_structs_tx_proto.Messages().ByName("MsgSubstationDeleteResponse") } -var _ protoreflect.Message = (*fastReflection_MsgSubstationPlayerMigrate)(nil) +var _ protoreflect.Message = (*fastReflection_MsgSubstationDeleteResponse)(nil) -type fastReflection_MsgSubstationPlayerMigrate MsgSubstationPlayerMigrate +type fastReflection_MsgSubstationDeleteResponse MsgSubstationDeleteResponse -func (x *MsgSubstationPlayerMigrate) ProtoReflect() protoreflect.Message { - return (*fastReflection_MsgSubstationPlayerMigrate)(x) +func (x *MsgSubstationDeleteResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgSubstationDeleteResponse)(x) } -func (x *MsgSubstationPlayerMigrate) slowProtoReflect() protoreflect.Message { +func (x *MsgSubstationDeleteResponse) slowProtoReflect() protoreflect.Message { mi := &file_structs_structs_tx_proto_msgTypes[83] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -42834,43 +42894,43 @@ func (x *MsgSubstationPlayerMigrate) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_MsgSubstationPlayerMigrate_messageType fastReflection_MsgSubstationPlayerMigrate_messageType -var _ protoreflect.MessageType = fastReflection_MsgSubstationPlayerMigrate_messageType{} +var _fastReflection_MsgSubstationDeleteResponse_messageType fastReflection_MsgSubstationDeleteResponse_messageType +var _ protoreflect.MessageType = fastReflection_MsgSubstationDeleteResponse_messageType{} -type fastReflection_MsgSubstationPlayerMigrate_messageType struct{} +type fastReflection_MsgSubstationDeleteResponse_messageType struct{} -func (x fastReflection_MsgSubstationPlayerMigrate_messageType) Zero() protoreflect.Message { - return (*fastReflection_MsgSubstationPlayerMigrate)(nil) +func (x fastReflection_MsgSubstationDeleteResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgSubstationDeleteResponse)(nil) } -func (x fastReflection_MsgSubstationPlayerMigrate_messageType) New() protoreflect.Message { - return new(fastReflection_MsgSubstationPlayerMigrate) +func (x fastReflection_MsgSubstationDeleteResponse_messageType) New() protoreflect.Message { + return new(fastReflection_MsgSubstationDeleteResponse) } -func (x fastReflection_MsgSubstationPlayerMigrate_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_MsgSubstationPlayerMigrate +func (x fastReflection_MsgSubstationDeleteResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgSubstationDeleteResponse } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_MsgSubstationPlayerMigrate) Descriptor() protoreflect.MessageDescriptor { - return md_MsgSubstationPlayerMigrate +func (x *fastReflection_MsgSubstationDeleteResponse) Descriptor() protoreflect.MessageDescriptor { + return md_MsgSubstationDeleteResponse } // 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_MsgSubstationPlayerMigrate) Type() protoreflect.MessageType { - return _fastReflection_MsgSubstationPlayerMigrate_messageType +func (x *fastReflection_MsgSubstationDeleteResponse) Type() protoreflect.MessageType { + return _fastReflection_MsgSubstationDeleteResponse_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_MsgSubstationPlayerMigrate) New() protoreflect.Message { - return new(fastReflection_MsgSubstationPlayerMigrate) +func (x *fastReflection_MsgSubstationDeleteResponse) New() protoreflect.Message { + return new(fastReflection_MsgSubstationDeleteResponse) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_MsgSubstationPlayerMigrate) Interface() protoreflect.ProtoMessage { - return (*MsgSubstationPlayerMigrate)(x) +func (x *fastReflection_MsgSubstationDeleteResponse) Interface() protoreflect.ProtoMessage { + return (*MsgSubstationDeleteResponse)(x) } // Range iterates over every populated field in an undefined order, @@ -42878,25 +42938,7 @@ func (x *fastReflection_MsgSubstationPlayerMigrate) Interface() protoreflect.Pro // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_MsgSubstationPlayerMigrate) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.Creator != "" { - value := protoreflect.ValueOfString(x.Creator) - if !f(fd_MsgSubstationPlayerMigrate_creator, value) { - return - } - } - if x.SubstationId != "" { - value := protoreflect.ValueOfString(x.SubstationId) - if !f(fd_MsgSubstationPlayerMigrate_substationId, value) { - return - } - } - if len(x.PlayerId) != 0 { - value := protoreflect.ValueOfList(&_MsgSubstationPlayerMigrate_3_list{list: &x.PlayerId}) - if !f(fd_MsgSubstationPlayerMigrate_playerId, value) { - return - } - } +func (x *fastReflection_MsgSubstationDeleteResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { } // Has reports whether a field is populated. @@ -42910,19 +42952,13 @@ func (x *fastReflection_MsgSubstationPlayerMigrate) Range(f func(protoreflect.Fi // 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_MsgSubstationPlayerMigrate) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_MsgSubstationDeleteResponse) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "structs.structs.MsgSubstationPlayerMigrate.creator": - return x.Creator != "" - case "structs.structs.MsgSubstationPlayerMigrate.substationId": - return x.SubstationId != "" - case "structs.structs.MsgSubstationPlayerMigrate.playerId": - return len(x.PlayerId) != 0 default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationPlayerMigrate")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationDeleteResponse")) } - panic(fmt.Errorf("message structs.structs.MsgSubstationPlayerMigrate does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgSubstationDeleteResponse does not contain field %s", fd.FullName())) } } @@ -42932,19 +42968,13 @@ func (x *fastReflection_MsgSubstationPlayerMigrate) Has(fd protoreflect.FieldDes // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgSubstationPlayerMigrate) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_MsgSubstationDeleteResponse) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "structs.structs.MsgSubstationPlayerMigrate.creator": - x.Creator = "" - case "structs.structs.MsgSubstationPlayerMigrate.substationId": - x.SubstationId = "" - case "structs.structs.MsgSubstationPlayerMigrate.playerId": - x.PlayerId = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationPlayerMigrate")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationDeleteResponse")) } - panic(fmt.Errorf("message structs.structs.MsgSubstationPlayerMigrate does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgSubstationDeleteResponse does not contain field %s", fd.FullName())) } } @@ -42954,25 +42984,13 @@ func (x *fastReflection_MsgSubstationPlayerMigrate) Clear(fd protoreflect.FieldD // 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_MsgSubstationPlayerMigrate) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgSubstationDeleteResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "structs.structs.MsgSubstationPlayerMigrate.creator": - value := x.Creator - return protoreflect.ValueOfString(value) - case "structs.structs.MsgSubstationPlayerMigrate.substationId": - value := x.SubstationId - return protoreflect.ValueOfString(value) - case "structs.structs.MsgSubstationPlayerMigrate.playerId": - if len(x.PlayerId) == 0 { - return protoreflect.ValueOfList(&_MsgSubstationPlayerMigrate_3_list{}) - } - listValue := &_MsgSubstationPlayerMigrate_3_list{list: &x.PlayerId} - return protoreflect.ValueOfList(listValue) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationPlayerMigrate")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationDeleteResponse")) } - panic(fmt.Errorf("message structs.structs.MsgSubstationPlayerMigrate does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.MsgSubstationDeleteResponse does not contain field %s", descriptor.FullName())) } } @@ -42986,21 +43004,13 @@ func (x *fastReflection_MsgSubstationPlayerMigrate) Get(descriptor protoreflect. // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgSubstationPlayerMigrate) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_MsgSubstationDeleteResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "structs.structs.MsgSubstationPlayerMigrate.creator": - x.Creator = value.Interface().(string) - case "structs.structs.MsgSubstationPlayerMigrate.substationId": - x.SubstationId = value.Interface().(string) - case "structs.structs.MsgSubstationPlayerMigrate.playerId": - lv := value.List() - clv := lv.(*_MsgSubstationPlayerMigrate_3_list) - x.PlayerId = *clv.list default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationPlayerMigrate")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationDeleteResponse")) } - panic(fmt.Errorf("message structs.structs.MsgSubstationPlayerMigrate does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgSubstationDeleteResponse does not contain field %s", fd.FullName())) } } @@ -43014,53 +43024,36 @@ func (x *fastReflection_MsgSubstationPlayerMigrate) Set(fd protoreflect.FieldDes // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgSubstationPlayerMigrate) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgSubstationDeleteResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.MsgSubstationPlayerMigrate.playerId": - if x.PlayerId == nil { - x.PlayerId = []string{} - } - value := &_MsgSubstationPlayerMigrate_3_list{list: &x.PlayerId} - return protoreflect.ValueOfList(value) - case "structs.structs.MsgSubstationPlayerMigrate.creator": - panic(fmt.Errorf("field creator of message structs.structs.MsgSubstationPlayerMigrate is not mutable")) - case "structs.structs.MsgSubstationPlayerMigrate.substationId": - panic(fmt.Errorf("field substationId of message structs.structs.MsgSubstationPlayerMigrate is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationPlayerMigrate")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationDeleteResponse")) } - panic(fmt.Errorf("message structs.structs.MsgSubstationPlayerMigrate does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgSubstationDeleteResponse 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_MsgSubstationPlayerMigrate) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgSubstationDeleteResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "structs.structs.MsgSubstationPlayerMigrate.creator": - return protoreflect.ValueOfString("") - case "structs.structs.MsgSubstationPlayerMigrate.substationId": - return protoreflect.ValueOfString("") - case "structs.structs.MsgSubstationPlayerMigrate.playerId": - list := []string{} - return protoreflect.ValueOfList(&_MsgSubstationPlayerMigrate_3_list{list: &list}) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationPlayerMigrate")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationDeleteResponse")) } - panic(fmt.Errorf("message structs.structs.MsgSubstationPlayerMigrate does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgSubstationDeleteResponse 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_MsgSubstationPlayerMigrate) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_MsgSubstationDeleteResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgSubstationPlayerMigrate", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgSubstationDeleteResponse", d.FullName())) } panic("unreachable") } @@ -43068,7 +43061,7 @@ func (x *fastReflection_MsgSubstationPlayerMigrate) WhichOneof(d protoreflect.On // 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_MsgSubstationPlayerMigrate) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_MsgSubstationDeleteResponse) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -43079,7 +43072,7 @@ func (x *fastReflection_MsgSubstationPlayerMigrate) GetUnknown() protoreflect.Ra // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgSubstationPlayerMigrate) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_MsgSubstationDeleteResponse) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -43091,7 +43084,7 @@ func (x *fastReflection_MsgSubstationPlayerMigrate) SetUnknown(fields protorefle // 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_MsgSubstationPlayerMigrate) IsValid() bool { +func (x *fastReflection_MsgSubstationDeleteResponse) IsValid() bool { return x != nil } @@ -43101,9 +43094,9 @@ func (x *fastReflection_MsgSubstationPlayerMigrate) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_MsgSubstationPlayerMigrate) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_MsgSubstationDeleteResponse) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*MsgSubstationPlayerMigrate) + x := input.Message.Interface().(*MsgSubstationDeleteResponse) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -43115,20 +43108,6 @@ func (x *fastReflection_MsgSubstationPlayerMigrate) ProtoMethods() *protoiface.M var n int var l int _ = l - l = len(x.Creator) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } - l = len(x.SubstationId) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } - if len(x.PlayerId) > 0 { - for _, s := range x.PlayerId { - l = len(s) - n += 1 + l + runtime.Sov(uint64(l)) - } - } if x.unknownFields != nil { n += len(x.unknownFields) } @@ -43139,7 +43118,7 @@ func (x *fastReflection_MsgSubstationPlayerMigrate) ProtoMethods() *protoiface.M } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*MsgSubstationPlayerMigrate) + x := input.Message.Interface().(*MsgSubstationDeleteResponse) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -43158,29 +43137,6 @@ func (x *fastReflection_MsgSubstationPlayerMigrate) ProtoMethods() *protoiface.M i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if len(x.PlayerId) > 0 { - for iNdEx := len(x.PlayerId) - 1; iNdEx >= 0; iNdEx-- { - i -= len(x.PlayerId[iNdEx]) - copy(dAtA[i:], x.PlayerId[iNdEx]) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.PlayerId[iNdEx]))) - i-- - dAtA[i] = 0x1a - } - } - if len(x.SubstationId) > 0 { - i -= len(x.SubstationId) - copy(dAtA[i:], x.SubstationId) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.SubstationId))) - i-- - dAtA[i] = 0x12 - } - if len(x.Creator) > 0 { - i -= len(x.Creator) - copy(dAtA[i:], x.Creator) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Creator))) - i-- - dAtA[i] = 0xa - } if input.Buf != nil { input.Buf = append(input.Buf, dAtA...) } else { @@ -43192,7 +43148,7 @@ func (x *fastReflection_MsgSubstationPlayerMigrate) ProtoMethods() *protoiface.M }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*MsgSubstationPlayerMigrate) + x := input.Message.Interface().(*MsgSubstationDeleteResponse) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -43224,108 +43180,12 @@ func (x *fastReflection_MsgSubstationPlayerMigrate) ProtoMethods() *protoiface.M fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgSubstationPlayerMigrate: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgSubstationDeleteResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgSubstationPlayerMigrate: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgSubstationDeleteResponse: 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 Creator", 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.Creator = 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 SubstationId", 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.SubstationId = 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 PlayerId", 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.PlayerId = append(x.PlayerId, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex default: iNdEx = preIndex skippy, err := runtime.Skip(dAtA[iNdEx:]) @@ -43362,23 +43222,29 @@ func (x *fastReflection_MsgSubstationPlayerMigrate) ProtoMethods() *protoiface.M } var ( - md_MsgSubstationPlayerMigrateResponse protoreflect.MessageDescriptor + md_MsgSubstationAllocationConnect protoreflect.MessageDescriptor + fd_MsgSubstationAllocationConnect_creator protoreflect.FieldDescriptor + fd_MsgSubstationAllocationConnect_allocationId protoreflect.FieldDescriptor + fd_MsgSubstationAllocationConnect_destinationId protoreflect.FieldDescriptor ) func init() { file_structs_structs_tx_proto_init() - md_MsgSubstationPlayerMigrateResponse = File_structs_structs_tx_proto.Messages().ByName("MsgSubstationPlayerMigrateResponse") + md_MsgSubstationAllocationConnect = File_structs_structs_tx_proto.Messages().ByName("MsgSubstationAllocationConnect") + fd_MsgSubstationAllocationConnect_creator = md_MsgSubstationAllocationConnect.Fields().ByName("creator") + fd_MsgSubstationAllocationConnect_allocationId = md_MsgSubstationAllocationConnect.Fields().ByName("allocationId") + fd_MsgSubstationAllocationConnect_destinationId = md_MsgSubstationAllocationConnect.Fields().ByName("destinationId") } -var _ protoreflect.Message = (*fastReflection_MsgSubstationPlayerMigrateResponse)(nil) +var _ protoreflect.Message = (*fastReflection_MsgSubstationAllocationConnect)(nil) -type fastReflection_MsgSubstationPlayerMigrateResponse MsgSubstationPlayerMigrateResponse +type fastReflection_MsgSubstationAllocationConnect MsgSubstationAllocationConnect -func (x *MsgSubstationPlayerMigrateResponse) ProtoReflect() protoreflect.Message { - return (*fastReflection_MsgSubstationPlayerMigrateResponse)(x) +func (x *MsgSubstationAllocationConnect) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgSubstationAllocationConnect)(x) } -func (x *MsgSubstationPlayerMigrateResponse) slowProtoReflect() protoreflect.Message { +func (x *MsgSubstationAllocationConnect) slowProtoReflect() protoreflect.Message { mi := &file_structs_structs_tx_proto_msgTypes[84] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -43390,43 +43256,43 @@ func (x *MsgSubstationPlayerMigrateResponse) slowProtoReflect() protoreflect.Mes return mi.MessageOf(x) } -var _fastReflection_MsgSubstationPlayerMigrateResponse_messageType fastReflection_MsgSubstationPlayerMigrateResponse_messageType -var _ protoreflect.MessageType = fastReflection_MsgSubstationPlayerMigrateResponse_messageType{} +var _fastReflection_MsgSubstationAllocationConnect_messageType fastReflection_MsgSubstationAllocationConnect_messageType +var _ protoreflect.MessageType = fastReflection_MsgSubstationAllocationConnect_messageType{} -type fastReflection_MsgSubstationPlayerMigrateResponse_messageType struct{} +type fastReflection_MsgSubstationAllocationConnect_messageType struct{} -func (x fastReflection_MsgSubstationPlayerMigrateResponse_messageType) Zero() protoreflect.Message { - return (*fastReflection_MsgSubstationPlayerMigrateResponse)(nil) +func (x fastReflection_MsgSubstationAllocationConnect_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgSubstationAllocationConnect)(nil) } -func (x fastReflection_MsgSubstationPlayerMigrateResponse_messageType) New() protoreflect.Message { - return new(fastReflection_MsgSubstationPlayerMigrateResponse) +func (x fastReflection_MsgSubstationAllocationConnect_messageType) New() protoreflect.Message { + return new(fastReflection_MsgSubstationAllocationConnect) } -func (x fastReflection_MsgSubstationPlayerMigrateResponse_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_MsgSubstationPlayerMigrateResponse +func (x fastReflection_MsgSubstationAllocationConnect_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgSubstationAllocationConnect } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_MsgSubstationPlayerMigrateResponse) Descriptor() protoreflect.MessageDescriptor { - return md_MsgSubstationPlayerMigrateResponse +func (x *fastReflection_MsgSubstationAllocationConnect) Descriptor() protoreflect.MessageDescriptor { + return md_MsgSubstationAllocationConnect } // 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_MsgSubstationPlayerMigrateResponse) Type() protoreflect.MessageType { - return _fastReflection_MsgSubstationPlayerMigrateResponse_messageType +func (x *fastReflection_MsgSubstationAllocationConnect) Type() protoreflect.MessageType { + return _fastReflection_MsgSubstationAllocationConnect_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_MsgSubstationPlayerMigrateResponse) New() protoreflect.Message { - return new(fastReflection_MsgSubstationPlayerMigrateResponse) +func (x *fastReflection_MsgSubstationAllocationConnect) New() protoreflect.Message { + return new(fastReflection_MsgSubstationAllocationConnect) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_MsgSubstationPlayerMigrateResponse) Interface() protoreflect.ProtoMessage { - return (*MsgSubstationPlayerMigrateResponse)(x) +func (x *fastReflection_MsgSubstationAllocationConnect) Interface() protoreflect.ProtoMessage { + return (*MsgSubstationAllocationConnect)(x) } // Range iterates over every populated field in an undefined order, @@ -43434,7 +43300,25 @@ func (x *fastReflection_MsgSubstationPlayerMigrateResponse) Interface() protoref // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_MsgSubstationPlayerMigrateResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +func (x *fastReflection_MsgSubstationAllocationConnect) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Creator != "" { + value := protoreflect.ValueOfString(x.Creator) + if !f(fd_MsgSubstationAllocationConnect_creator, value) { + return + } + } + if x.AllocationId != "" { + value := protoreflect.ValueOfString(x.AllocationId) + if !f(fd_MsgSubstationAllocationConnect_allocationId, value) { + return + } + } + if x.DestinationId != "" { + value := protoreflect.ValueOfString(x.DestinationId) + if !f(fd_MsgSubstationAllocationConnect_destinationId, value) { + return + } + } } // Has reports whether a field is populated. @@ -43448,13 +43332,19 @@ func (x *fastReflection_MsgSubstationPlayerMigrateResponse) Range(f func(protore // 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_MsgSubstationPlayerMigrateResponse) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_MsgSubstationAllocationConnect) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { + case "structs.structs.MsgSubstationAllocationConnect.creator": + return x.Creator != "" + case "structs.structs.MsgSubstationAllocationConnect.allocationId": + return x.AllocationId != "" + case "structs.structs.MsgSubstationAllocationConnect.destinationId": + return x.DestinationId != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationPlayerMigrateResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationAllocationConnect")) } - panic(fmt.Errorf("message structs.structs.MsgSubstationPlayerMigrateResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgSubstationAllocationConnect does not contain field %s", fd.FullName())) } } @@ -43464,13 +43354,19 @@ func (x *fastReflection_MsgSubstationPlayerMigrateResponse) Has(fd protoreflect. // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgSubstationPlayerMigrateResponse) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_MsgSubstationAllocationConnect) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { + case "structs.structs.MsgSubstationAllocationConnect.creator": + x.Creator = "" + case "structs.structs.MsgSubstationAllocationConnect.allocationId": + x.AllocationId = "" + case "structs.structs.MsgSubstationAllocationConnect.destinationId": + x.DestinationId = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationPlayerMigrateResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationAllocationConnect")) } - panic(fmt.Errorf("message structs.structs.MsgSubstationPlayerMigrateResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgSubstationAllocationConnect does not contain field %s", fd.FullName())) } } @@ -43480,13 +43376,22 @@ func (x *fastReflection_MsgSubstationPlayerMigrateResponse) Clear(fd protoreflec // 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_MsgSubstationPlayerMigrateResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgSubstationAllocationConnect) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { + case "structs.structs.MsgSubstationAllocationConnect.creator": + value := x.Creator + return protoreflect.ValueOfString(value) + case "structs.structs.MsgSubstationAllocationConnect.allocationId": + value := x.AllocationId + return protoreflect.ValueOfString(value) + case "structs.structs.MsgSubstationAllocationConnect.destinationId": + value := x.DestinationId + return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationPlayerMigrateResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationAllocationConnect")) } - panic(fmt.Errorf("message structs.structs.MsgSubstationPlayerMigrateResponse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message structs.structs.MsgSubstationAllocationConnect does not contain field %s", descriptor.FullName())) } } @@ -43500,13 +43405,19 @@ func (x *fastReflection_MsgSubstationPlayerMigrateResponse) Get(descriptor proto // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgSubstationPlayerMigrateResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_MsgSubstationAllocationConnect) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { + case "structs.structs.MsgSubstationAllocationConnect.creator": + x.Creator = value.Interface().(string) + case "structs.structs.MsgSubstationAllocationConnect.allocationId": + x.AllocationId = value.Interface().(string) + case "structs.structs.MsgSubstationAllocationConnect.destinationId": + x.DestinationId = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationPlayerMigrateResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationAllocationConnect")) } - panic(fmt.Errorf("message structs.structs.MsgSubstationPlayerMigrateResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgSubstationAllocationConnect does not contain field %s", fd.FullName())) } } @@ -43520,36 +43431,48 @@ func (x *fastReflection_MsgSubstationPlayerMigrateResponse) Set(fd protoreflect. // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgSubstationPlayerMigrateResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgSubstationAllocationConnect) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { + case "structs.structs.MsgSubstationAllocationConnect.creator": + panic(fmt.Errorf("field creator of message structs.structs.MsgSubstationAllocationConnect is not mutable")) + case "structs.structs.MsgSubstationAllocationConnect.allocationId": + panic(fmt.Errorf("field allocationId of message structs.structs.MsgSubstationAllocationConnect is not mutable")) + case "structs.structs.MsgSubstationAllocationConnect.destinationId": + panic(fmt.Errorf("field destinationId of message structs.structs.MsgSubstationAllocationConnect is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationPlayerMigrateResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationAllocationConnect")) } - panic(fmt.Errorf("message structs.structs.MsgSubstationPlayerMigrateResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgSubstationAllocationConnect 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_MsgSubstationPlayerMigrateResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgSubstationAllocationConnect) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { + case "structs.structs.MsgSubstationAllocationConnect.creator": + return protoreflect.ValueOfString("") + case "structs.structs.MsgSubstationAllocationConnect.allocationId": + return protoreflect.ValueOfString("") + case "structs.structs.MsgSubstationAllocationConnect.destinationId": + return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationPlayerMigrateResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationAllocationConnect")) } - panic(fmt.Errorf("message structs.structs.MsgSubstationPlayerMigrateResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message structs.structs.MsgSubstationAllocationConnect 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_MsgSubstationPlayerMigrateResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_MsgSubstationAllocationConnect) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgSubstationPlayerMigrateResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgSubstationAllocationConnect", d.FullName())) } panic("unreachable") } @@ -43557,7 +43480,7 @@ func (x *fastReflection_MsgSubstationPlayerMigrateResponse) WhichOneof(d protore // 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_MsgSubstationPlayerMigrateResponse) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_MsgSubstationAllocationConnect) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -43568,7 +43491,7 @@ func (x *fastReflection_MsgSubstationPlayerMigrateResponse) GetUnknown() protore // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgSubstationPlayerMigrateResponse) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_MsgSubstationAllocationConnect) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -43580,7 +43503,7 @@ func (x *fastReflection_MsgSubstationPlayerMigrateResponse) SetUnknown(fields pr // 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_MsgSubstationPlayerMigrateResponse) IsValid() bool { +func (x *fastReflection_MsgSubstationAllocationConnect) IsValid() bool { return x != nil } @@ -43590,9 +43513,9 @@ func (x *fastReflection_MsgSubstationPlayerMigrateResponse) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_MsgSubstationPlayerMigrateResponse) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_MsgSubstationAllocationConnect) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*MsgSubstationPlayerMigrateResponse) + x := input.Message.Interface().(*MsgSubstationAllocationConnect) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -43604,6 +43527,18 @@ func (x *fastReflection_MsgSubstationPlayerMigrateResponse) ProtoMethods() *prot var n int var l int _ = l + l = len(x.Creator) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.AllocationId) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.DestinationId) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } if x.unknownFields != nil { n += len(x.unknownFields) } @@ -43614,7 +43549,7 @@ func (x *fastReflection_MsgSubstationPlayerMigrateResponse) ProtoMethods() *prot } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*MsgSubstationPlayerMigrateResponse) + x := input.Message.Interface().(*MsgSubstationAllocationConnect) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -43633,6 +43568,27 @@ func (x *fastReflection_MsgSubstationPlayerMigrateResponse) ProtoMethods() *prot i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } + if len(x.DestinationId) > 0 { + i -= len(x.DestinationId) + copy(dAtA[i:], x.DestinationId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.DestinationId))) + i-- + dAtA[i] = 0x1a + } + if len(x.AllocationId) > 0 { + i -= len(x.AllocationId) + copy(dAtA[i:], x.AllocationId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.AllocationId))) + i-- + dAtA[i] = 0x12 + } + if len(x.Creator) > 0 { + i -= len(x.Creator) + copy(dAtA[i:], x.Creator) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Creator))) + i-- + dAtA[i] = 0xa + } if input.Buf != nil { input.Buf = append(input.Buf, dAtA...) } else { @@ -43644,7 +43600,7 @@ func (x *fastReflection_MsgSubstationPlayerMigrateResponse) ProtoMethods() *prot }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*MsgSubstationPlayerMigrateResponse) + x := input.Message.Interface().(*MsgSubstationAllocationConnect) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -43676,2436 +43632,16789 @@ func (x *fastReflection_MsgSubstationPlayerMigrateResponse) ProtoMethods() *prot fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgSubstationPlayerMigrateResponse: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgSubstationAllocationConnect: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgSubstationPlayerMigrateResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgSubstationAllocationConnect: 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 + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType) } - if !options.DiscardUnknown { + 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.Creator = 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 AllocationId", 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.AllocationId = 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 DestinationId", 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.DestinationId = 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_MsgSubstationAllocationConnectResponse protoreflect.MessageDescriptor +) + +func init() { + file_structs_structs_tx_proto_init() + md_MsgSubstationAllocationConnectResponse = File_structs_structs_tx_proto.Messages().ByName("MsgSubstationAllocationConnectResponse") +} + +var _ protoreflect.Message = (*fastReflection_MsgSubstationAllocationConnectResponse)(nil) + +type fastReflection_MsgSubstationAllocationConnectResponse MsgSubstationAllocationConnectResponse + +func (x *MsgSubstationAllocationConnectResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgSubstationAllocationConnectResponse)(x) +} + +func (x *MsgSubstationAllocationConnectResponse) slowProtoReflect() protoreflect.Message { + mi := &file_structs_structs_tx_proto_msgTypes[85] + 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_MsgSubstationAllocationConnectResponse_messageType fastReflection_MsgSubstationAllocationConnectResponse_messageType +var _ protoreflect.MessageType = fastReflection_MsgSubstationAllocationConnectResponse_messageType{} + +type fastReflection_MsgSubstationAllocationConnectResponse_messageType struct{} + +func (x fastReflection_MsgSubstationAllocationConnectResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgSubstationAllocationConnectResponse)(nil) +} +func (x fastReflection_MsgSubstationAllocationConnectResponse_messageType) New() protoreflect.Message { + return new(fastReflection_MsgSubstationAllocationConnectResponse) +} +func (x fastReflection_MsgSubstationAllocationConnectResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgSubstationAllocationConnectResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_MsgSubstationAllocationConnectResponse) Descriptor() protoreflect.MessageDescriptor { + return md_MsgSubstationAllocationConnectResponse +} + +// 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_MsgSubstationAllocationConnectResponse) Type() protoreflect.MessageType { + return _fastReflection_MsgSubstationAllocationConnectResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_MsgSubstationAllocationConnectResponse) New() protoreflect.Message { + return new(fastReflection_MsgSubstationAllocationConnectResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_MsgSubstationAllocationConnectResponse) Interface() protoreflect.ProtoMessage { + return (*MsgSubstationAllocationConnectResponse)(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_MsgSubstationAllocationConnectResponse) 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_MsgSubstationAllocationConnectResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationAllocationConnectResponse")) + } + panic(fmt.Errorf("message structs.structs.MsgSubstationAllocationConnectResponse 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_MsgSubstationAllocationConnectResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationAllocationConnectResponse")) + } + panic(fmt.Errorf("message structs.structs.MsgSubstationAllocationConnectResponse 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_MsgSubstationAllocationConnectResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationAllocationConnectResponse")) + } + panic(fmt.Errorf("message structs.structs.MsgSubstationAllocationConnectResponse 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_MsgSubstationAllocationConnectResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationAllocationConnectResponse")) + } + panic(fmt.Errorf("message structs.structs.MsgSubstationAllocationConnectResponse 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_MsgSubstationAllocationConnectResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationAllocationConnectResponse")) + } + panic(fmt.Errorf("message structs.structs.MsgSubstationAllocationConnectResponse 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_MsgSubstationAllocationConnectResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationAllocationConnectResponse")) + } + panic(fmt.Errorf("message structs.structs.MsgSubstationAllocationConnectResponse 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_MsgSubstationAllocationConnectResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgSubstationAllocationConnectResponse", 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_MsgSubstationAllocationConnectResponse) 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_MsgSubstationAllocationConnectResponse) 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_MsgSubstationAllocationConnectResponse) 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_MsgSubstationAllocationConnectResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*MsgSubstationAllocationConnectResponse) + 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().(*MsgSubstationAllocationConnectResponse) + 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().(*MsgSubstationAllocationConnectResponse) + 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: MsgSubstationAllocationConnectResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgSubstationAllocationConnectResponse: 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 + 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_MsgSubstationAllocationDisconnect protoreflect.MessageDescriptor + fd_MsgSubstationAllocationDisconnect_creator protoreflect.FieldDescriptor + fd_MsgSubstationAllocationDisconnect_allocationId protoreflect.FieldDescriptor +) + +func init() { + file_structs_structs_tx_proto_init() + md_MsgSubstationAllocationDisconnect = File_structs_structs_tx_proto.Messages().ByName("MsgSubstationAllocationDisconnect") + fd_MsgSubstationAllocationDisconnect_creator = md_MsgSubstationAllocationDisconnect.Fields().ByName("creator") + fd_MsgSubstationAllocationDisconnect_allocationId = md_MsgSubstationAllocationDisconnect.Fields().ByName("allocationId") +} + +var _ protoreflect.Message = (*fastReflection_MsgSubstationAllocationDisconnect)(nil) + +type fastReflection_MsgSubstationAllocationDisconnect MsgSubstationAllocationDisconnect + +func (x *MsgSubstationAllocationDisconnect) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgSubstationAllocationDisconnect)(x) +} + +func (x *MsgSubstationAllocationDisconnect) slowProtoReflect() protoreflect.Message { + mi := &file_structs_structs_tx_proto_msgTypes[86] + 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_MsgSubstationAllocationDisconnect_messageType fastReflection_MsgSubstationAllocationDisconnect_messageType +var _ protoreflect.MessageType = fastReflection_MsgSubstationAllocationDisconnect_messageType{} + +type fastReflection_MsgSubstationAllocationDisconnect_messageType struct{} + +func (x fastReflection_MsgSubstationAllocationDisconnect_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgSubstationAllocationDisconnect)(nil) +} +func (x fastReflection_MsgSubstationAllocationDisconnect_messageType) New() protoreflect.Message { + return new(fastReflection_MsgSubstationAllocationDisconnect) +} +func (x fastReflection_MsgSubstationAllocationDisconnect_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgSubstationAllocationDisconnect +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_MsgSubstationAllocationDisconnect) Descriptor() protoreflect.MessageDescriptor { + return md_MsgSubstationAllocationDisconnect +} + +// 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_MsgSubstationAllocationDisconnect) Type() protoreflect.MessageType { + return _fastReflection_MsgSubstationAllocationDisconnect_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_MsgSubstationAllocationDisconnect) New() protoreflect.Message { + return new(fastReflection_MsgSubstationAllocationDisconnect) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_MsgSubstationAllocationDisconnect) Interface() protoreflect.ProtoMessage { + return (*MsgSubstationAllocationDisconnect)(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_MsgSubstationAllocationDisconnect) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Creator != "" { + value := protoreflect.ValueOfString(x.Creator) + if !f(fd_MsgSubstationAllocationDisconnect_creator, value) { + return + } + } + if x.AllocationId != "" { + value := protoreflect.ValueOfString(x.AllocationId) + if !f(fd_MsgSubstationAllocationDisconnect_allocationId, 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_MsgSubstationAllocationDisconnect) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "structs.structs.MsgSubstationAllocationDisconnect.creator": + return x.Creator != "" + case "structs.structs.MsgSubstationAllocationDisconnect.allocationId": + return x.AllocationId != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationAllocationDisconnect")) + } + panic(fmt.Errorf("message structs.structs.MsgSubstationAllocationDisconnect 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_MsgSubstationAllocationDisconnect) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "structs.structs.MsgSubstationAllocationDisconnect.creator": + x.Creator = "" + case "structs.structs.MsgSubstationAllocationDisconnect.allocationId": + x.AllocationId = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationAllocationDisconnect")) + } + panic(fmt.Errorf("message structs.structs.MsgSubstationAllocationDisconnect 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_MsgSubstationAllocationDisconnect) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "structs.structs.MsgSubstationAllocationDisconnect.creator": + value := x.Creator + return protoreflect.ValueOfString(value) + case "structs.structs.MsgSubstationAllocationDisconnect.allocationId": + value := x.AllocationId + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationAllocationDisconnect")) + } + panic(fmt.Errorf("message structs.structs.MsgSubstationAllocationDisconnect 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_MsgSubstationAllocationDisconnect) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "structs.structs.MsgSubstationAllocationDisconnect.creator": + x.Creator = value.Interface().(string) + case "structs.structs.MsgSubstationAllocationDisconnect.allocationId": + x.AllocationId = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationAllocationDisconnect")) + } + panic(fmt.Errorf("message structs.structs.MsgSubstationAllocationDisconnect 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_MsgSubstationAllocationDisconnect) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.MsgSubstationAllocationDisconnect.creator": + panic(fmt.Errorf("field creator of message structs.structs.MsgSubstationAllocationDisconnect is not mutable")) + case "structs.structs.MsgSubstationAllocationDisconnect.allocationId": + panic(fmt.Errorf("field allocationId of message structs.structs.MsgSubstationAllocationDisconnect is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationAllocationDisconnect")) + } + panic(fmt.Errorf("message structs.structs.MsgSubstationAllocationDisconnect 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_MsgSubstationAllocationDisconnect) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.MsgSubstationAllocationDisconnect.creator": + return protoreflect.ValueOfString("") + case "structs.structs.MsgSubstationAllocationDisconnect.allocationId": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationAllocationDisconnect")) + } + panic(fmt.Errorf("message structs.structs.MsgSubstationAllocationDisconnect 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_MsgSubstationAllocationDisconnect) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgSubstationAllocationDisconnect", 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_MsgSubstationAllocationDisconnect) 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_MsgSubstationAllocationDisconnect) 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_MsgSubstationAllocationDisconnect) 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_MsgSubstationAllocationDisconnect) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*MsgSubstationAllocationDisconnect) + 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.Creator) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.AllocationId) + 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().(*MsgSubstationAllocationDisconnect) + 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.AllocationId) > 0 { + i -= len(x.AllocationId) + copy(dAtA[i:], x.AllocationId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.AllocationId))) + i-- + dAtA[i] = 0x12 + } + if len(x.Creator) > 0 { + i -= len(x.Creator) + copy(dAtA[i:], x.Creator) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Creator))) + 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().(*MsgSubstationAllocationDisconnect) + 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: MsgSubstationAllocationDisconnect: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgSubstationAllocationDisconnect: 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 Creator", 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.Creator = 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 AllocationId", 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.AllocationId = 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_MsgSubstationAllocationDisconnectResponse protoreflect.MessageDescriptor +) + +func init() { + file_structs_structs_tx_proto_init() + md_MsgSubstationAllocationDisconnectResponse = File_structs_structs_tx_proto.Messages().ByName("MsgSubstationAllocationDisconnectResponse") +} + +var _ protoreflect.Message = (*fastReflection_MsgSubstationAllocationDisconnectResponse)(nil) + +type fastReflection_MsgSubstationAllocationDisconnectResponse MsgSubstationAllocationDisconnectResponse + +func (x *MsgSubstationAllocationDisconnectResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgSubstationAllocationDisconnectResponse)(x) +} + +func (x *MsgSubstationAllocationDisconnectResponse) slowProtoReflect() protoreflect.Message { + mi := &file_structs_structs_tx_proto_msgTypes[87] + 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_MsgSubstationAllocationDisconnectResponse_messageType fastReflection_MsgSubstationAllocationDisconnectResponse_messageType +var _ protoreflect.MessageType = fastReflection_MsgSubstationAllocationDisconnectResponse_messageType{} + +type fastReflection_MsgSubstationAllocationDisconnectResponse_messageType struct{} + +func (x fastReflection_MsgSubstationAllocationDisconnectResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgSubstationAllocationDisconnectResponse)(nil) +} +func (x fastReflection_MsgSubstationAllocationDisconnectResponse_messageType) New() protoreflect.Message { + return new(fastReflection_MsgSubstationAllocationDisconnectResponse) +} +func (x fastReflection_MsgSubstationAllocationDisconnectResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgSubstationAllocationDisconnectResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_MsgSubstationAllocationDisconnectResponse) Descriptor() protoreflect.MessageDescriptor { + return md_MsgSubstationAllocationDisconnectResponse +} + +// 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_MsgSubstationAllocationDisconnectResponse) Type() protoreflect.MessageType { + return _fastReflection_MsgSubstationAllocationDisconnectResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_MsgSubstationAllocationDisconnectResponse) New() protoreflect.Message { + return new(fastReflection_MsgSubstationAllocationDisconnectResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_MsgSubstationAllocationDisconnectResponse) Interface() protoreflect.ProtoMessage { + return (*MsgSubstationAllocationDisconnectResponse)(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_MsgSubstationAllocationDisconnectResponse) 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_MsgSubstationAllocationDisconnectResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationAllocationDisconnectResponse")) + } + panic(fmt.Errorf("message structs.structs.MsgSubstationAllocationDisconnectResponse 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_MsgSubstationAllocationDisconnectResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationAllocationDisconnectResponse")) + } + panic(fmt.Errorf("message structs.structs.MsgSubstationAllocationDisconnectResponse 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_MsgSubstationAllocationDisconnectResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationAllocationDisconnectResponse")) + } + panic(fmt.Errorf("message structs.structs.MsgSubstationAllocationDisconnectResponse 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_MsgSubstationAllocationDisconnectResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationAllocationDisconnectResponse")) + } + panic(fmt.Errorf("message structs.structs.MsgSubstationAllocationDisconnectResponse 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_MsgSubstationAllocationDisconnectResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationAllocationDisconnectResponse")) + } + panic(fmt.Errorf("message structs.structs.MsgSubstationAllocationDisconnectResponse 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_MsgSubstationAllocationDisconnectResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationAllocationDisconnectResponse")) + } + panic(fmt.Errorf("message structs.structs.MsgSubstationAllocationDisconnectResponse 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_MsgSubstationAllocationDisconnectResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgSubstationAllocationDisconnectResponse", 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_MsgSubstationAllocationDisconnectResponse) 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_MsgSubstationAllocationDisconnectResponse) 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_MsgSubstationAllocationDisconnectResponse) 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_MsgSubstationAllocationDisconnectResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*MsgSubstationAllocationDisconnectResponse) + 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().(*MsgSubstationAllocationDisconnectResponse) + 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().(*MsgSubstationAllocationDisconnectResponse) + 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: MsgSubstationAllocationDisconnectResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgSubstationAllocationDisconnectResponse: 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, + } +} + +var ( + md_MsgSubstationPlayerConnect protoreflect.MessageDescriptor + fd_MsgSubstationPlayerConnect_creator protoreflect.FieldDescriptor + fd_MsgSubstationPlayerConnect_substationId protoreflect.FieldDescriptor + fd_MsgSubstationPlayerConnect_playerId protoreflect.FieldDescriptor +) + +func init() { + file_structs_structs_tx_proto_init() + md_MsgSubstationPlayerConnect = File_structs_structs_tx_proto.Messages().ByName("MsgSubstationPlayerConnect") + fd_MsgSubstationPlayerConnect_creator = md_MsgSubstationPlayerConnect.Fields().ByName("creator") + fd_MsgSubstationPlayerConnect_substationId = md_MsgSubstationPlayerConnect.Fields().ByName("substationId") + fd_MsgSubstationPlayerConnect_playerId = md_MsgSubstationPlayerConnect.Fields().ByName("playerId") +} + +var _ protoreflect.Message = (*fastReflection_MsgSubstationPlayerConnect)(nil) + +type fastReflection_MsgSubstationPlayerConnect MsgSubstationPlayerConnect + +func (x *MsgSubstationPlayerConnect) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgSubstationPlayerConnect)(x) +} + +func (x *MsgSubstationPlayerConnect) slowProtoReflect() protoreflect.Message { + mi := &file_structs_structs_tx_proto_msgTypes[88] + 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_MsgSubstationPlayerConnect_messageType fastReflection_MsgSubstationPlayerConnect_messageType +var _ protoreflect.MessageType = fastReflection_MsgSubstationPlayerConnect_messageType{} + +type fastReflection_MsgSubstationPlayerConnect_messageType struct{} + +func (x fastReflection_MsgSubstationPlayerConnect_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgSubstationPlayerConnect)(nil) +} +func (x fastReflection_MsgSubstationPlayerConnect_messageType) New() protoreflect.Message { + return new(fastReflection_MsgSubstationPlayerConnect) +} +func (x fastReflection_MsgSubstationPlayerConnect_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgSubstationPlayerConnect +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_MsgSubstationPlayerConnect) Descriptor() protoreflect.MessageDescriptor { + return md_MsgSubstationPlayerConnect +} + +// 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_MsgSubstationPlayerConnect) Type() protoreflect.MessageType { + return _fastReflection_MsgSubstationPlayerConnect_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_MsgSubstationPlayerConnect) New() protoreflect.Message { + return new(fastReflection_MsgSubstationPlayerConnect) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_MsgSubstationPlayerConnect) Interface() protoreflect.ProtoMessage { + return (*MsgSubstationPlayerConnect)(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_MsgSubstationPlayerConnect) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Creator != "" { + value := protoreflect.ValueOfString(x.Creator) + if !f(fd_MsgSubstationPlayerConnect_creator, value) { + return + } + } + if x.SubstationId != "" { + value := protoreflect.ValueOfString(x.SubstationId) + if !f(fd_MsgSubstationPlayerConnect_substationId, value) { + return + } + } + if x.PlayerId != "" { + value := protoreflect.ValueOfString(x.PlayerId) + if !f(fd_MsgSubstationPlayerConnect_playerId, 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_MsgSubstationPlayerConnect) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "structs.structs.MsgSubstationPlayerConnect.creator": + return x.Creator != "" + case "structs.structs.MsgSubstationPlayerConnect.substationId": + return x.SubstationId != "" + case "structs.structs.MsgSubstationPlayerConnect.playerId": + return x.PlayerId != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationPlayerConnect")) + } + panic(fmt.Errorf("message structs.structs.MsgSubstationPlayerConnect 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_MsgSubstationPlayerConnect) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "structs.structs.MsgSubstationPlayerConnect.creator": + x.Creator = "" + case "structs.structs.MsgSubstationPlayerConnect.substationId": + x.SubstationId = "" + case "structs.structs.MsgSubstationPlayerConnect.playerId": + x.PlayerId = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationPlayerConnect")) + } + panic(fmt.Errorf("message structs.structs.MsgSubstationPlayerConnect 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_MsgSubstationPlayerConnect) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "structs.structs.MsgSubstationPlayerConnect.creator": + value := x.Creator + return protoreflect.ValueOfString(value) + case "structs.structs.MsgSubstationPlayerConnect.substationId": + value := x.SubstationId + return protoreflect.ValueOfString(value) + case "structs.structs.MsgSubstationPlayerConnect.playerId": + value := x.PlayerId + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationPlayerConnect")) + } + panic(fmt.Errorf("message structs.structs.MsgSubstationPlayerConnect 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_MsgSubstationPlayerConnect) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "structs.structs.MsgSubstationPlayerConnect.creator": + x.Creator = value.Interface().(string) + case "structs.structs.MsgSubstationPlayerConnect.substationId": + x.SubstationId = value.Interface().(string) + case "structs.structs.MsgSubstationPlayerConnect.playerId": + x.PlayerId = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationPlayerConnect")) + } + panic(fmt.Errorf("message structs.structs.MsgSubstationPlayerConnect 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_MsgSubstationPlayerConnect) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.MsgSubstationPlayerConnect.creator": + panic(fmt.Errorf("field creator of message structs.structs.MsgSubstationPlayerConnect is not mutable")) + case "structs.structs.MsgSubstationPlayerConnect.substationId": + panic(fmt.Errorf("field substationId of message structs.structs.MsgSubstationPlayerConnect is not mutable")) + case "structs.structs.MsgSubstationPlayerConnect.playerId": + panic(fmt.Errorf("field playerId of message structs.structs.MsgSubstationPlayerConnect is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationPlayerConnect")) + } + panic(fmt.Errorf("message structs.structs.MsgSubstationPlayerConnect 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_MsgSubstationPlayerConnect) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.MsgSubstationPlayerConnect.creator": + return protoreflect.ValueOfString("") + case "structs.structs.MsgSubstationPlayerConnect.substationId": + return protoreflect.ValueOfString("") + case "structs.structs.MsgSubstationPlayerConnect.playerId": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationPlayerConnect")) + } + panic(fmt.Errorf("message structs.structs.MsgSubstationPlayerConnect 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_MsgSubstationPlayerConnect) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgSubstationPlayerConnect", 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_MsgSubstationPlayerConnect) 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_MsgSubstationPlayerConnect) 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_MsgSubstationPlayerConnect) 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_MsgSubstationPlayerConnect) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*MsgSubstationPlayerConnect) + 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.Creator) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.SubstationId) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.PlayerId) + 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().(*MsgSubstationPlayerConnect) + 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.PlayerId) > 0 { + i -= len(x.PlayerId) + copy(dAtA[i:], x.PlayerId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.PlayerId))) + i-- + dAtA[i] = 0x1a + } + if len(x.SubstationId) > 0 { + i -= len(x.SubstationId) + copy(dAtA[i:], x.SubstationId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.SubstationId))) + i-- + dAtA[i] = 0x12 + } + if len(x.Creator) > 0 { + i -= len(x.Creator) + copy(dAtA[i:], x.Creator) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Creator))) + 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().(*MsgSubstationPlayerConnect) + 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: MsgSubstationPlayerConnect: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgSubstationPlayerConnect: 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 Creator", 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.Creator = 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 SubstationId", 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.SubstationId = 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 PlayerId", 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.PlayerId = 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_MsgSubstationPlayerConnectResponse protoreflect.MessageDescriptor +) + +func init() { + file_structs_structs_tx_proto_init() + md_MsgSubstationPlayerConnectResponse = File_structs_structs_tx_proto.Messages().ByName("MsgSubstationPlayerConnectResponse") +} + +var _ protoreflect.Message = (*fastReflection_MsgSubstationPlayerConnectResponse)(nil) + +type fastReflection_MsgSubstationPlayerConnectResponse MsgSubstationPlayerConnectResponse + +func (x *MsgSubstationPlayerConnectResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgSubstationPlayerConnectResponse)(x) +} + +func (x *MsgSubstationPlayerConnectResponse) slowProtoReflect() protoreflect.Message { + mi := &file_structs_structs_tx_proto_msgTypes[89] + 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_MsgSubstationPlayerConnectResponse_messageType fastReflection_MsgSubstationPlayerConnectResponse_messageType +var _ protoreflect.MessageType = fastReflection_MsgSubstationPlayerConnectResponse_messageType{} + +type fastReflection_MsgSubstationPlayerConnectResponse_messageType struct{} + +func (x fastReflection_MsgSubstationPlayerConnectResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgSubstationPlayerConnectResponse)(nil) +} +func (x fastReflection_MsgSubstationPlayerConnectResponse_messageType) New() protoreflect.Message { + return new(fastReflection_MsgSubstationPlayerConnectResponse) +} +func (x fastReflection_MsgSubstationPlayerConnectResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgSubstationPlayerConnectResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_MsgSubstationPlayerConnectResponse) Descriptor() protoreflect.MessageDescriptor { + return md_MsgSubstationPlayerConnectResponse +} + +// 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_MsgSubstationPlayerConnectResponse) Type() protoreflect.MessageType { + return _fastReflection_MsgSubstationPlayerConnectResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_MsgSubstationPlayerConnectResponse) New() protoreflect.Message { + return new(fastReflection_MsgSubstationPlayerConnectResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_MsgSubstationPlayerConnectResponse) Interface() protoreflect.ProtoMessage { + return (*MsgSubstationPlayerConnectResponse)(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_MsgSubstationPlayerConnectResponse) 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_MsgSubstationPlayerConnectResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationPlayerConnectResponse")) + } + panic(fmt.Errorf("message structs.structs.MsgSubstationPlayerConnectResponse 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_MsgSubstationPlayerConnectResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationPlayerConnectResponse")) + } + panic(fmt.Errorf("message structs.structs.MsgSubstationPlayerConnectResponse 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_MsgSubstationPlayerConnectResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationPlayerConnectResponse")) + } + panic(fmt.Errorf("message structs.structs.MsgSubstationPlayerConnectResponse 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_MsgSubstationPlayerConnectResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationPlayerConnectResponse")) + } + panic(fmt.Errorf("message structs.structs.MsgSubstationPlayerConnectResponse 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_MsgSubstationPlayerConnectResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationPlayerConnectResponse")) + } + panic(fmt.Errorf("message structs.structs.MsgSubstationPlayerConnectResponse 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_MsgSubstationPlayerConnectResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationPlayerConnectResponse")) + } + panic(fmt.Errorf("message structs.structs.MsgSubstationPlayerConnectResponse 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_MsgSubstationPlayerConnectResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgSubstationPlayerConnectResponse", 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_MsgSubstationPlayerConnectResponse) 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_MsgSubstationPlayerConnectResponse) 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_MsgSubstationPlayerConnectResponse) 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_MsgSubstationPlayerConnectResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*MsgSubstationPlayerConnectResponse) + 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().(*MsgSubstationPlayerConnectResponse) + 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().(*MsgSubstationPlayerConnectResponse) + 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: MsgSubstationPlayerConnectResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgSubstationPlayerConnectResponse: 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, + } +} + +var ( + md_MsgSubstationPlayerDisconnect protoreflect.MessageDescriptor + fd_MsgSubstationPlayerDisconnect_creator protoreflect.FieldDescriptor + fd_MsgSubstationPlayerDisconnect_playerId protoreflect.FieldDescriptor +) + +func init() { + file_structs_structs_tx_proto_init() + md_MsgSubstationPlayerDisconnect = File_structs_structs_tx_proto.Messages().ByName("MsgSubstationPlayerDisconnect") + fd_MsgSubstationPlayerDisconnect_creator = md_MsgSubstationPlayerDisconnect.Fields().ByName("creator") + fd_MsgSubstationPlayerDisconnect_playerId = md_MsgSubstationPlayerDisconnect.Fields().ByName("playerId") +} + +var _ protoreflect.Message = (*fastReflection_MsgSubstationPlayerDisconnect)(nil) + +type fastReflection_MsgSubstationPlayerDisconnect MsgSubstationPlayerDisconnect + +func (x *MsgSubstationPlayerDisconnect) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgSubstationPlayerDisconnect)(x) +} + +func (x *MsgSubstationPlayerDisconnect) slowProtoReflect() protoreflect.Message { + mi := &file_structs_structs_tx_proto_msgTypes[90] + 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_MsgSubstationPlayerDisconnect_messageType fastReflection_MsgSubstationPlayerDisconnect_messageType +var _ protoreflect.MessageType = fastReflection_MsgSubstationPlayerDisconnect_messageType{} + +type fastReflection_MsgSubstationPlayerDisconnect_messageType struct{} + +func (x fastReflection_MsgSubstationPlayerDisconnect_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgSubstationPlayerDisconnect)(nil) +} +func (x fastReflection_MsgSubstationPlayerDisconnect_messageType) New() protoreflect.Message { + return new(fastReflection_MsgSubstationPlayerDisconnect) +} +func (x fastReflection_MsgSubstationPlayerDisconnect_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgSubstationPlayerDisconnect +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_MsgSubstationPlayerDisconnect) Descriptor() protoreflect.MessageDescriptor { + return md_MsgSubstationPlayerDisconnect +} + +// 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_MsgSubstationPlayerDisconnect) Type() protoreflect.MessageType { + return _fastReflection_MsgSubstationPlayerDisconnect_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_MsgSubstationPlayerDisconnect) New() protoreflect.Message { + return new(fastReflection_MsgSubstationPlayerDisconnect) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_MsgSubstationPlayerDisconnect) Interface() protoreflect.ProtoMessage { + return (*MsgSubstationPlayerDisconnect)(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_MsgSubstationPlayerDisconnect) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Creator != "" { + value := protoreflect.ValueOfString(x.Creator) + if !f(fd_MsgSubstationPlayerDisconnect_creator, value) { + return + } + } + if x.PlayerId != "" { + value := protoreflect.ValueOfString(x.PlayerId) + if !f(fd_MsgSubstationPlayerDisconnect_playerId, 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_MsgSubstationPlayerDisconnect) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "structs.structs.MsgSubstationPlayerDisconnect.creator": + return x.Creator != "" + case "structs.structs.MsgSubstationPlayerDisconnect.playerId": + return x.PlayerId != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationPlayerDisconnect")) + } + panic(fmt.Errorf("message structs.structs.MsgSubstationPlayerDisconnect 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_MsgSubstationPlayerDisconnect) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "structs.structs.MsgSubstationPlayerDisconnect.creator": + x.Creator = "" + case "structs.structs.MsgSubstationPlayerDisconnect.playerId": + x.PlayerId = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationPlayerDisconnect")) + } + panic(fmt.Errorf("message structs.structs.MsgSubstationPlayerDisconnect 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_MsgSubstationPlayerDisconnect) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "structs.structs.MsgSubstationPlayerDisconnect.creator": + value := x.Creator + return protoreflect.ValueOfString(value) + case "structs.structs.MsgSubstationPlayerDisconnect.playerId": + value := x.PlayerId + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationPlayerDisconnect")) + } + panic(fmt.Errorf("message structs.structs.MsgSubstationPlayerDisconnect 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_MsgSubstationPlayerDisconnect) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "structs.structs.MsgSubstationPlayerDisconnect.creator": + x.Creator = value.Interface().(string) + case "structs.structs.MsgSubstationPlayerDisconnect.playerId": + x.PlayerId = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationPlayerDisconnect")) + } + panic(fmt.Errorf("message structs.structs.MsgSubstationPlayerDisconnect 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_MsgSubstationPlayerDisconnect) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.MsgSubstationPlayerDisconnect.creator": + panic(fmt.Errorf("field creator of message structs.structs.MsgSubstationPlayerDisconnect is not mutable")) + case "structs.structs.MsgSubstationPlayerDisconnect.playerId": + panic(fmt.Errorf("field playerId of message structs.structs.MsgSubstationPlayerDisconnect is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationPlayerDisconnect")) + } + panic(fmt.Errorf("message structs.structs.MsgSubstationPlayerDisconnect 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_MsgSubstationPlayerDisconnect) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.MsgSubstationPlayerDisconnect.creator": + return protoreflect.ValueOfString("") + case "structs.structs.MsgSubstationPlayerDisconnect.playerId": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationPlayerDisconnect")) + } + panic(fmt.Errorf("message structs.structs.MsgSubstationPlayerDisconnect 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_MsgSubstationPlayerDisconnect) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgSubstationPlayerDisconnect", 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_MsgSubstationPlayerDisconnect) 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_MsgSubstationPlayerDisconnect) 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_MsgSubstationPlayerDisconnect) 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_MsgSubstationPlayerDisconnect) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*MsgSubstationPlayerDisconnect) + 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.Creator) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.PlayerId) + 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().(*MsgSubstationPlayerDisconnect) + 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.PlayerId) > 0 { + i -= len(x.PlayerId) + copy(dAtA[i:], x.PlayerId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.PlayerId))) + i-- + dAtA[i] = 0x12 + } + if len(x.Creator) > 0 { + i -= len(x.Creator) + copy(dAtA[i:], x.Creator) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Creator))) + 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().(*MsgSubstationPlayerDisconnect) + 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: MsgSubstationPlayerDisconnect: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgSubstationPlayerDisconnect: 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 Creator", 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.Creator = 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 PlayerId", 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.PlayerId = 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_MsgSubstationPlayerDisconnectResponse protoreflect.MessageDescriptor +) + +func init() { + file_structs_structs_tx_proto_init() + md_MsgSubstationPlayerDisconnectResponse = File_structs_structs_tx_proto.Messages().ByName("MsgSubstationPlayerDisconnectResponse") +} + +var _ protoreflect.Message = (*fastReflection_MsgSubstationPlayerDisconnectResponse)(nil) + +type fastReflection_MsgSubstationPlayerDisconnectResponse MsgSubstationPlayerDisconnectResponse + +func (x *MsgSubstationPlayerDisconnectResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgSubstationPlayerDisconnectResponse)(x) +} + +func (x *MsgSubstationPlayerDisconnectResponse) slowProtoReflect() protoreflect.Message { + mi := &file_structs_structs_tx_proto_msgTypes[91] + 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_MsgSubstationPlayerDisconnectResponse_messageType fastReflection_MsgSubstationPlayerDisconnectResponse_messageType +var _ protoreflect.MessageType = fastReflection_MsgSubstationPlayerDisconnectResponse_messageType{} + +type fastReflection_MsgSubstationPlayerDisconnectResponse_messageType struct{} + +func (x fastReflection_MsgSubstationPlayerDisconnectResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgSubstationPlayerDisconnectResponse)(nil) +} +func (x fastReflection_MsgSubstationPlayerDisconnectResponse_messageType) New() protoreflect.Message { + return new(fastReflection_MsgSubstationPlayerDisconnectResponse) +} +func (x fastReflection_MsgSubstationPlayerDisconnectResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgSubstationPlayerDisconnectResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_MsgSubstationPlayerDisconnectResponse) Descriptor() protoreflect.MessageDescriptor { + return md_MsgSubstationPlayerDisconnectResponse +} + +// 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_MsgSubstationPlayerDisconnectResponse) Type() protoreflect.MessageType { + return _fastReflection_MsgSubstationPlayerDisconnectResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_MsgSubstationPlayerDisconnectResponse) New() protoreflect.Message { + return new(fastReflection_MsgSubstationPlayerDisconnectResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_MsgSubstationPlayerDisconnectResponse) Interface() protoreflect.ProtoMessage { + return (*MsgSubstationPlayerDisconnectResponse)(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_MsgSubstationPlayerDisconnectResponse) 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_MsgSubstationPlayerDisconnectResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationPlayerDisconnectResponse")) + } + panic(fmt.Errorf("message structs.structs.MsgSubstationPlayerDisconnectResponse 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_MsgSubstationPlayerDisconnectResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationPlayerDisconnectResponse")) + } + panic(fmt.Errorf("message structs.structs.MsgSubstationPlayerDisconnectResponse 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_MsgSubstationPlayerDisconnectResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationPlayerDisconnectResponse")) + } + panic(fmt.Errorf("message structs.structs.MsgSubstationPlayerDisconnectResponse 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_MsgSubstationPlayerDisconnectResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationPlayerDisconnectResponse")) + } + panic(fmt.Errorf("message structs.structs.MsgSubstationPlayerDisconnectResponse 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_MsgSubstationPlayerDisconnectResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationPlayerDisconnectResponse")) + } + panic(fmt.Errorf("message structs.structs.MsgSubstationPlayerDisconnectResponse 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_MsgSubstationPlayerDisconnectResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationPlayerDisconnectResponse")) + } + panic(fmt.Errorf("message structs.structs.MsgSubstationPlayerDisconnectResponse 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_MsgSubstationPlayerDisconnectResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgSubstationPlayerDisconnectResponse", 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_MsgSubstationPlayerDisconnectResponse) 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_MsgSubstationPlayerDisconnectResponse) 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_MsgSubstationPlayerDisconnectResponse) 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_MsgSubstationPlayerDisconnectResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*MsgSubstationPlayerDisconnectResponse) + 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().(*MsgSubstationPlayerDisconnectResponse) + 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().(*MsgSubstationPlayerDisconnectResponse) + 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: MsgSubstationPlayerDisconnectResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgSubstationPlayerDisconnectResponse: 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, + } +} + +var _ protoreflect.List = (*_MsgSubstationPlayerMigrate_3_list)(nil) + +type _MsgSubstationPlayerMigrate_3_list struct { + list *[]string +} + +func (x *_MsgSubstationPlayerMigrate_3_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_MsgSubstationPlayerMigrate_3_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfString((*x.list)[i]) +} + +func (x *_MsgSubstationPlayerMigrate_3_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_MsgSubstationPlayerMigrate_3_list) Append(value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_MsgSubstationPlayerMigrate_3_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message MsgSubstationPlayerMigrate at list field PlayerId as it is not of Message kind")) +} + +func (x *_MsgSubstationPlayerMigrate_3_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_MsgSubstationPlayerMigrate_3_list) NewElement() protoreflect.Value { + v := "" + return protoreflect.ValueOfString(v) +} + +func (x *_MsgSubstationPlayerMigrate_3_list) IsValid() bool { + return x.list != nil +} + +var ( + md_MsgSubstationPlayerMigrate protoreflect.MessageDescriptor + fd_MsgSubstationPlayerMigrate_creator protoreflect.FieldDescriptor + fd_MsgSubstationPlayerMigrate_substationId protoreflect.FieldDescriptor + fd_MsgSubstationPlayerMigrate_playerId protoreflect.FieldDescriptor +) + +func init() { + file_structs_structs_tx_proto_init() + md_MsgSubstationPlayerMigrate = File_structs_structs_tx_proto.Messages().ByName("MsgSubstationPlayerMigrate") + fd_MsgSubstationPlayerMigrate_creator = md_MsgSubstationPlayerMigrate.Fields().ByName("creator") + fd_MsgSubstationPlayerMigrate_substationId = md_MsgSubstationPlayerMigrate.Fields().ByName("substationId") + fd_MsgSubstationPlayerMigrate_playerId = md_MsgSubstationPlayerMigrate.Fields().ByName("playerId") +} + +var _ protoreflect.Message = (*fastReflection_MsgSubstationPlayerMigrate)(nil) + +type fastReflection_MsgSubstationPlayerMigrate MsgSubstationPlayerMigrate + +func (x *MsgSubstationPlayerMigrate) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgSubstationPlayerMigrate)(x) +} + +func (x *MsgSubstationPlayerMigrate) slowProtoReflect() protoreflect.Message { + mi := &file_structs_structs_tx_proto_msgTypes[92] + 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_MsgSubstationPlayerMigrate_messageType fastReflection_MsgSubstationPlayerMigrate_messageType +var _ protoreflect.MessageType = fastReflection_MsgSubstationPlayerMigrate_messageType{} + +type fastReflection_MsgSubstationPlayerMigrate_messageType struct{} + +func (x fastReflection_MsgSubstationPlayerMigrate_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgSubstationPlayerMigrate)(nil) +} +func (x fastReflection_MsgSubstationPlayerMigrate_messageType) New() protoreflect.Message { + return new(fastReflection_MsgSubstationPlayerMigrate) +} +func (x fastReflection_MsgSubstationPlayerMigrate_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgSubstationPlayerMigrate +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_MsgSubstationPlayerMigrate) Descriptor() protoreflect.MessageDescriptor { + return md_MsgSubstationPlayerMigrate +} + +// 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_MsgSubstationPlayerMigrate) Type() protoreflect.MessageType { + return _fastReflection_MsgSubstationPlayerMigrate_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_MsgSubstationPlayerMigrate) New() protoreflect.Message { + return new(fastReflection_MsgSubstationPlayerMigrate) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_MsgSubstationPlayerMigrate) Interface() protoreflect.ProtoMessage { + return (*MsgSubstationPlayerMigrate)(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_MsgSubstationPlayerMigrate) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Creator != "" { + value := protoreflect.ValueOfString(x.Creator) + if !f(fd_MsgSubstationPlayerMigrate_creator, value) { + return + } + } + if x.SubstationId != "" { + value := protoreflect.ValueOfString(x.SubstationId) + if !f(fd_MsgSubstationPlayerMigrate_substationId, value) { + return + } + } + if len(x.PlayerId) != 0 { + value := protoreflect.ValueOfList(&_MsgSubstationPlayerMigrate_3_list{list: &x.PlayerId}) + if !f(fd_MsgSubstationPlayerMigrate_playerId, 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_MsgSubstationPlayerMigrate) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "structs.structs.MsgSubstationPlayerMigrate.creator": + return x.Creator != "" + case "structs.structs.MsgSubstationPlayerMigrate.substationId": + return x.SubstationId != "" + case "structs.structs.MsgSubstationPlayerMigrate.playerId": + return len(x.PlayerId) != 0 + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationPlayerMigrate")) + } + panic(fmt.Errorf("message structs.structs.MsgSubstationPlayerMigrate 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_MsgSubstationPlayerMigrate) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "structs.structs.MsgSubstationPlayerMigrate.creator": + x.Creator = "" + case "structs.structs.MsgSubstationPlayerMigrate.substationId": + x.SubstationId = "" + case "structs.structs.MsgSubstationPlayerMigrate.playerId": + x.PlayerId = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationPlayerMigrate")) + } + panic(fmt.Errorf("message structs.structs.MsgSubstationPlayerMigrate 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_MsgSubstationPlayerMigrate) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "structs.structs.MsgSubstationPlayerMigrate.creator": + value := x.Creator + return protoreflect.ValueOfString(value) + case "structs.structs.MsgSubstationPlayerMigrate.substationId": + value := x.SubstationId + return protoreflect.ValueOfString(value) + case "structs.structs.MsgSubstationPlayerMigrate.playerId": + if len(x.PlayerId) == 0 { + return protoreflect.ValueOfList(&_MsgSubstationPlayerMigrate_3_list{}) + } + listValue := &_MsgSubstationPlayerMigrate_3_list{list: &x.PlayerId} + return protoreflect.ValueOfList(listValue) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationPlayerMigrate")) + } + panic(fmt.Errorf("message structs.structs.MsgSubstationPlayerMigrate 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_MsgSubstationPlayerMigrate) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "structs.structs.MsgSubstationPlayerMigrate.creator": + x.Creator = value.Interface().(string) + case "structs.structs.MsgSubstationPlayerMigrate.substationId": + x.SubstationId = value.Interface().(string) + case "structs.structs.MsgSubstationPlayerMigrate.playerId": + lv := value.List() + clv := lv.(*_MsgSubstationPlayerMigrate_3_list) + x.PlayerId = *clv.list + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationPlayerMigrate")) + } + panic(fmt.Errorf("message structs.structs.MsgSubstationPlayerMigrate 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_MsgSubstationPlayerMigrate) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.MsgSubstationPlayerMigrate.playerId": + if x.PlayerId == nil { + x.PlayerId = []string{} + } + value := &_MsgSubstationPlayerMigrate_3_list{list: &x.PlayerId} + return protoreflect.ValueOfList(value) + case "structs.structs.MsgSubstationPlayerMigrate.creator": + panic(fmt.Errorf("field creator of message structs.structs.MsgSubstationPlayerMigrate is not mutable")) + case "structs.structs.MsgSubstationPlayerMigrate.substationId": + panic(fmt.Errorf("field substationId of message structs.structs.MsgSubstationPlayerMigrate is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationPlayerMigrate")) + } + panic(fmt.Errorf("message structs.structs.MsgSubstationPlayerMigrate 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_MsgSubstationPlayerMigrate) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.MsgSubstationPlayerMigrate.creator": + return protoreflect.ValueOfString("") + case "structs.structs.MsgSubstationPlayerMigrate.substationId": + return protoreflect.ValueOfString("") + case "structs.structs.MsgSubstationPlayerMigrate.playerId": + list := []string{} + return protoreflect.ValueOfList(&_MsgSubstationPlayerMigrate_3_list{list: &list}) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationPlayerMigrate")) + } + panic(fmt.Errorf("message structs.structs.MsgSubstationPlayerMigrate 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_MsgSubstationPlayerMigrate) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgSubstationPlayerMigrate", 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_MsgSubstationPlayerMigrate) 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_MsgSubstationPlayerMigrate) 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_MsgSubstationPlayerMigrate) 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_MsgSubstationPlayerMigrate) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*MsgSubstationPlayerMigrate) + 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.Creator) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.SubstationId) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if len(x.PlayerId) > 0 { + for _, s := range x.PlayerId { + l = len(s) + 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().(*MsgSubstationPlayerMigrate) + 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.PlayerId) > 0 { + for iNdEx := len(x.PlayerId) - 1; iNdEx >= 0; iNdEx-- { + i -= len(x.PlayerId[iNdEx]) + copy(dAtA[i:], x.PlayerId[iNdEx]) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.PlayerId[iNdEx]))) + i-- + dAtA[i] = 0x1a + } + } + if len(x.SubstationId) > 0 { + i -= len(x.SubstationId) + copy(dAtA[i:], x.SubstationId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.SubstationId))) + i-- + dAtA[i] = 0x12 + } + if len(x.Creator) > 0 { + i -= len(x.Creator) + copy(dAtA[i:], x.Creator) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Creator))) + 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().(*MsgSubstationPlayerMigrate) + 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: MsgSubstationPlayerMigrate: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgSubstationPlayerMigrate: 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 Creator", 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.Creator = 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 SubstationId", 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.SubstationId = 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 PlayerId", 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.PlayerId = append(x.PlayerId, 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_MsgSubstationPlayerMigrateResponse protoreflect.MessageDescriptor +) + +func init() { + file_structs_structs_tx_proto_init() + md_MsgSubstationPlayerMigrateResponse = File_structs_structs_tx_proto.Messages().ByName("MsgSubstationPlayerMigrateResponse") +} + +var _ protoreflect.Message = (*fastReflection_MsgSubstationPlayerMigrateResponse)(nil) + +type fastReflection_MsgSubstationPlayerMigrateResponse MsgSubstationPlayerMigrateResponse + +func (x *MsgSubstationPlayerMigrateResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgSubstationPlayerMigrateResponse)(x) +} + +func (x *MsgSubstationPlayerMigrateResponse) slowProtoReflect() protoreflect.Message { + mi := &file_structs_structs_tx_proto_msgTypes[93] + 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_MsgSubstationPlayerMigrateResponse_messageType fastReflection_MsgSubstationPlayerMigrateResponse_messageType +var _ protoreflect.MessageType = fastReflection_MsgSubstationPlayerMigrateResponse_messageType{} + +type fastReflection_MsgSubstationPlayerMigrateResponse_messageType struct{} + +func (x fastReflection_MsgSubstationPlayerMigrateResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgSubstationPlayerMigrateResponse)(nil) +} +func (x fastReflection_MsgSubstationPlayerMigrateResponse_messageType) New() protoreflect.Message { + return new(fastReflection_MsgSubstationPlayerMigrateResponse) +} +func (x fastReflection_MsgSubstationPlayerMigrateResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgSubstationPlayerMigrateResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_MsgSubstationPlayerMigrateResponse) Descriptor() protoreflect.MessageDescriptor { + return md_MsgSubstationPlayerMigrateResponse +} + +// 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_MsgSubstationPlayerMigrateResponse) Type() protoreflect.MessageType { + return _fastReflection_MsgSubstationPlayerMigrateResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_MsgSubstationPlayerMigrateResponse) New() protoreflect.Message { + return new(fastReflection_MsgSubstationPlayerMigrateResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_MsgSubstationPlayerMigrateResponse) Interface() protoreflect.ProtoMessage { + return (*MsgSubstationPlayerMigrateResponse)(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_MsgSubstationPlayerMigrateResponse) 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_MsgSubstationPlayerMigrateResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationPlayerMigrateResponse")) + } + panic(fmt.Errorf("message structs.structs.MsgSubstationPlayerMigrateResponse 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_MsgSubstationPlayerMigrateResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationPlayerMigrateResponse")) + } + panic(fmt.Errorf("message structs.structs.MsgSubstationPlayerMigrateResponse 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_MsgSubstationPlayerMigrateResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationPlayerMigrateResponse")) + } + panic(fmt.Errorf("message structs.structs.MsgSubstationPlayerMigrateResponse 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_MsgSubstationPlayerMigrateResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationPlayerMigrateResponse")) + } + panic(fmt.Errorf("message structs.structs.MsgSubstationPlayerMigrateResponse 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_MsgSubstationPlayerMigrateResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationPlayerMigrateResponse")) + } + panic(fmt.Errorf("message structs.structs.MsgSubstationPlayerMigrateResponse 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_MsgSubstationPlayerMigrateResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgSubstationPlayerMigrateResponse")) + } + panic(fmt.Errorf("message structs.structs.MsgSubstationPlayerMigrateResponse 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_MsgSubstationPlayerMigrateResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgSubstationPlayerMigrateResponse", 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_MsgSubstationPlayerMigrateResponse) 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_MsgSubstationPlayerMigrateResponse) 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_MsgSubstationPlayerMigrateResponse) 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_MsgSubstationPlayerMigrateResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*MsgSubstationPlayerMigrateResponse) + 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().(*MsgSubstationPlayerMigrateResponse) + 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().(*MsgSubstationPlayerMigrateResponse) + 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: MsgSubstationPlayerMigrateResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgSubstationPlayerMigrateResponse: 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, + } +} + +var ( + md_MsgAgreementOpen protoreflect.MessageDescriptor + fd_MsgAgreementOpen_creator protoreflect.FieldDescriptor + fd_MsgAgreementOpen_providerId protoreflect.FieldDescriptor + fd_MsgAgreementOpen_duration protoreflect.FieldDescriptor + fd_MsgAgreementOpen_capacity protoreflect.FieldDescriptor +) + +func init() { + file_structs_structs_tx_proto_init() + md_MsgAgreementOpen = File_structs_structs_tx_proto.Messages().ByName("MsgAgreementOpen") + fd_MsgAgreementOpen_creator = md_MsgAgreementOpen.Fields().ByName("creator") + fd_MsgAgreementOpen_providerId = md_MsgAgreementOpen.Fields().ByName("providerId") + fd_MsgAgreementOpen_duration = md_MsgAgreementOpen.Fields().ByName("duration") + fd_MsgAgreementOpen_capacity = md_MsgAgreementOpen.Fields().ByName("capacity") +} + +var _ protoreflect.Message = (*fastReflection_MsgAgreementOpen)(nil) + +type fastReflection_MsgAgreementOpen MsgAgreementOpen + +func (x *MsgAgreementOpen) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgAgreementOpen)(x) +} + +func (x *MsgAgreementOpen) slowProtoReflect() protoreflect.Message { + mi := &file_structs_structs_tx_proto_msgTypes[94] + 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_MsgAgreementOpen_messageType fastReflection_MsgAgreementOpen_messageType +var _ protoreflect.MessageType = fastReflection_MsgAgreementOpen_messageType{} + +type fastReflection_MsgAgreementOpen_messageType struct{} + +func (x fastReflection_MsgAgreementOpen_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgAgreementOpen)(nil) +} +func (x fastReflection_MsgAgreementOpen_messageType) New() protoreflect.Message { + return new(fastReflection_MsgAgreementOpen) +} +func (x fastReflection_MsgAgreementOpen_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgAgreementOpen +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_MsgAgreementOpen) Descriptor() protoreflect.MessageDescriptor { + return md_MsgAgreementOpen +} + +// 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_MsgAgreementOpen) Type() protoreflect.MessageType { + return _fastReflection_MsgAgreementOpen_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_MsgAgreementOpen) New() protoreflect.Message { + return new(fastReflection_MsgAgreementOpen) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_MsgAgreementOpen) Interface() protoreflect.ProtoMessage { + return (*MsgAgreementOpen)(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_MsgAgreementOpen) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Creator != "" { + value := protoreflect.ValueOfString(x.Creator) + if !f(fd_MsgAgreementOpen_creator, value) { + return + } + } + if x.ProviderId != "" { + value := protoreflect.ValueOfString(x.ProviderId) + if !f(fd_MsgAgreementOpen_providerId, value) { + return + } + } + if x.Duration != uint64(0) { + value := protoreflect.ValueOfUint64(x.Duration) + if !f(fd_MsgAgreementOpen_duration, value) { + return + } + } + if x.Capacity != uint64(0) { + value := protoreflect.ValueOfUint64(x.Capacity) + if !f(fd_MsgAgreementOpen_capacity, 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_MsgAgreementOpen) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "structs.structs.MsgAgreementOpen.creator": + return x.Creator != "" + case "structs.structs.MsgAgreementOpen.providerId": + return x.ProviderId != "" + case "structs.structs.MsgAgreementOpen.duration": + return x.Duration != uint64(0) + case "structs.structs.MsgAgreementOpen.capacity": + return x.Capacity != uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgAgreementOpen")) + } + panic(fmt.Errorf("message structs.structs.MsgAgreementOpen 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_MsgAgreementOpen) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "structs.structs.MsgAgreementOpen.creator": + x.Creator = "" + case "structs.structs.MsgAgreementOpen.providerId": + x.ProviderId = "" + case "structs.structs.MsgAgreementOpen.duration": + x.Duration = uint64(0) + case "structs.structs.MsgAgreementOpen.capacity": + x.Capacity = uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgAgreementOpen")) + } + panic(fmt.Errorf("message structs.structs.MsgAgreementOpen 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_MsgAgreementOpen) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "structs.structs.MsgAgreementOpen.creator": + value := x.Creator + return protoreflect.ValueOfString(value) + case "structs.structs.MsgAgreementOpen.providerId": + value := x.ProviderId + return protoreflect.ValueOfString(value) + case "structs.structs.MsgAgreementOpen.duration": + value := x.Duration + return protoreflect.ValueOfUint64(value) + case "structs.structs.MsgAgreementOpen.capacity": + value := x.Capacity + return protoreflect.ValueOfUint64(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgAgreementOpen")) + } + panic(fmt.Errorf("message structs.structs.MsgAgreementOpen 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_MsgAgreementOpen) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "structs.structs.MsgAgreementOpen.creator": + x.Creator = value.Interface().(string) + case "structs.structs.MsgAgreementOpen.providerId": + x.ProviderId = value.Interface().(string) + case "structs.structs.MsgAgreementOpen.duration": + x.Duration = value.Uint() + case "structs.structs.MsgAgreementOpen.capacity": + x.Capacity = value.Uint() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgAgreementOpen")) + } + panic(fmt.Errorf("message structs.structs.MsgAgreementOpen 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_MsgAgreementOpen) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.MsgAgreementOpen.creator": + panic(fmt.Errorf("field creator of message structs.structs.MsgAgreementOpen is not mutable")) + case "structs.structs.MsgAgreementOpen.providerId": + panic(fmt.Errorf("field providerId of message structs.structs.MsgAgreementOpen is not mutable")) + case "structs.structs.MsgAgreementOpen.duration": + panic(fmt.Errorf("field duration of message structs.structs.MsgAgreementOpen is not mutable")) + case "structs.structs.MsgAgreementOpen.capacity": + panic(fmt.Errorf("field capacity of message structs.structs.MsgAgreementOpen is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgAgreementOpen")) + } + panic(fmt.Errorf("message structs.structs.MsgAgreementOpen 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_MsgAgreementOpen) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.MsgAgreementOpen.creator": + return protoreflect.ValueOfString("") + case "structs.structs.MsgAgreementOpen.providerId": + return protoreflect.ValueOfString("") + case "structs.structs.MsgAgreementOpen.duration": + return protoreflect.ValueOfUint64(uint64(0)) + case "structs.structs.MsgAgreementOpen.capacity": + return protoreflect.ValueOfUint64(uint64(0)) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgAgreementOpen")) + } + panic(fmt.Errorf("message structs.structs.MsgAgreementOpen 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_MsgAgreementOpen) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgAgreementOpen", 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_MsgAgreementOpen) 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_MsgAgreementOpen) 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_MsgAgreementOpen) 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_MsgAgreementOpen) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*MsgAgreementOpen) + 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.Creator) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.ProviderId) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.Duration != 0 { + n += 1 + runtime.Sov(uint64(x.Duration)) + } + if x.Capacity != 0 { + n += 1 + runtime.Sov(uint64(x.Capacity)) + } + 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().(*MsgAgreementOpen) + 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.Capacity != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.Capacity)) + i-- + dAtA[i] = 0x20 + } + if x.Duration != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.Duration)) + i-- + dAtA[i] = 0x18 + } + if len(x.ProviderId) > 0 { + i -= len(x.ProviderId) + copy(dAtA[i:], x.ProviderId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.ProviderId))) + i-- + dAtA[i] = 0x12 + } + if len(x.Creator) > 0 { + i -= len(x.Creator) + copy(dAtA[i:], x.Creator) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Creator))) + 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().(*MsgAgreementOpen) + 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: MsgAgreementOpen: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgAgreementOpen: 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 Creator", 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.Creator = 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 ProviderId", 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.ProviderId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Duration", wireType) + } + x.Duration = 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.Duration |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 4: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Capacity", wireType) + } + x.Capacity = 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.Capacity |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + 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_MsgAgreementClose protoreflect.MessageDescriptor + fd_MsgAgreementClose_creator protoreflect.FieldDescriptor + fd_MsgAgreementClose_agreementId protoreflect.FieldDescriptor +) + +func init() { + file_structs_structs_tx_proto_init() + md_MsgAgreementClose = File_structs_structs_tx_proto.Messages().ByName("MsgAgreementClose") + fd_MsgAgreementClose_creator = md_MsgAgreementClose.Fields().ByName("creator") + fd_MsgAgreementClose_agreementId = md_MsgAgreementClose.Fields().ByName("agreementId") +} + +var _ protoreflect.Message = (*fastReflection_MsgAgreementClose)(nil) + +type fastReflection_MsgAgreementClose MsgAgreementClose + +func (x *MsgAgreementClose) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgAgreementClose)(x) +} + +func (x *MsgAgreementClose) slowProtoReflect() protoreflect.Message { + mi := &file_structs_structs_tx_proto_msgTypes[95] + 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_MsgAgreementClose_messageType fastReflection_MsgAgreementClose_messageType +var _ protoreflect.MessageType = fastReflection_MsgAgreementClose_messageType{} + +type fastReflection_MsgAgreementClose_messageType struct{} + +func (x fastReflection_MsgAgreementClose_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgAgreementClose)(nil) +} +func (x fastReflection_MsgAgreementClose_messageType) New() protoreflect.Message { + return new(fastReflection_MsgAgreementClose) +} +func (x fastReflection_MsgAgreementClose_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgAgreementClose +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_MsgAgreementClose) Descriptor() protoreflect.MessageDescriptor { + return md_MsgAgreementClose +} + +// 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_MsgAgreementClose) Type() protoreflect.MessageType { + return _fastReflection_MsgAgreementClose_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_MsgAgreementClose) New() protoreflect.Message { + return new(fastReflection_MsgAgreementClose) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_MsgAgreementClose) Interface() protoreflect.ProtoMessage { + return (*MsgAgreementClose)(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_MsgAgreementClose) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Creator != "" { + value := protoreflect.ValueOfString(x.Creator) + if !f(fd_MsgAgreementClose_creator, value) { + return + } + } + if x.AgreementId != "" { + value := protoreflect.ValueOfString(x.AgreementId) + if !f(fd_MsgAgreementClose_agreementId, 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_MsgAgreementClose) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "structs.structs.MsgAgreementClose.creator": + return x.Creator != "" + case "structs.structs.MsgAgreementClose.agreementId": + return x.AgreementId != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgAgreementClose")) + } + panic(fmt.Errorf("message structs.structs.MsgAgreementClose 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_MsgAgreementClose) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "structs.structs.MsgAgreementClose.creator": + x.Creator = "" + case "structs.structs.MsgAgreementClose.agreementId": + x.AgreementId = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgAgreementClose")) + } + panic(fmt.Errorf("message structs.structs.MsgAgreementClose 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_MsgAgreementClose) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "structs.structs.MsgAgreementClose.creator": + value := x.Creator + return protoreflect.ValueOfString(value) + case "structs.structs.MsgAgreementClose.agreementId": + value := x.AgreementId + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgAgreementClose")) + } + panic(fmt.Errorf("message structs.structs.MsgAgreementClose 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_MsgAgreementClose) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "structs.structs.MsgAgreementClose.creator": + x.Creator = value.Interface().(string) + case "structs.structs.MsgAgreementClose.agreementId": + x.AgreementId = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgAgreementClose")) + } + panic(fmt.Errorf("message structs.structs.MsgAgreementClose 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_MsgAgreementClose) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.MsgAgreementClose.creator": + panic(fmt.Errorf("field creator of message structs.structs.MsgAgreementClose is not mutable")) + case "structs.structs.MsgAgreementClose.agreementId": + panic(fmt.Errorf("field agreementId of message structs.structs.MsgAgreementClose is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgAgreementClose")) + } + panic(fmt.Errorf("message structs.structs.MsgAgreementClose 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_MsgAgreementClose) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.MsgAgreementClose.creator": + return protoreflect.ValueOfString("") + case "structs.structs.MsgAgreementClose.agreementId": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgAgreementClose")) + } + panic(fmt.Errorf("message structs.structs.MsgAgreementClose 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_MsgAgreementClose) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgAgreementClose", 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_MsgAgreementClose) 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_MsgAgreementClose) 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_MsgAgreementClose) 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_MsgAgreementClose) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*MsgAgreementClose) + 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.Creator) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.AgreementId) + 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().(*MsgAgreementClose) + 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.AgreementId) > 0 { + i -= len(x.AgreementId) + copy(dAtA[i:], x.AgreementId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.AgreementId))) + i-- + dAtA[i] = 0x12 + } + if len(x.Creator) > 0 { + i -= len(x.Creator) + copy(dAtA[i:], x.Creator) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Creator))) + 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().(*MsgAgreementClose) + 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: MsgAgreementClose: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgAgreementClose: 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 Creator", 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.Creator = 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 AgreementId", 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.AgreementId = 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_MsgAgreementCapacityIncrease protoreflect.MessageDescriptor + fd_MsgAgreementCapacityIncrease_creator protoreflect.FieldDescriptor + fd_MsgAgreementCapacityIncrease_agreementId protoreflect.FieldDescriptor + fd_MsgAgreementCapacityIncrease_capacityIncrease protoreflect.FieldDescriptor +) + +func init() { + file_structs_structs_tx_proto_init() + md_MsgAgreementCapacityIncrease = File_structs_structs_tx_proto.Messages().ByName("MsgAgreementCapacityIncrease") + fd_MsgAgreementCapacityIncrease_creator = md_MsgAgreementCapacityIncrease.Fields().ByName("creator") + fd_MsgAgreementCapacityIncrease_agreementId = md_MsgAgreementCapacityIncrease.Fields().ByName("agreementId") + fd_MsgAgreementCapacityIncrease_capacityIncrease = md_MsgAgreementCapacityIncrease.Fields().ByName("capacityIncrease") +} + +var _ protoreflect.Message = (*fastReflection_MsgAgreementCapacityIncrease)(nil) + +type fastReflection_MsgAgreementCapacityIncrease MsgAgreementCapacityIncrease + +func (x *MsgAgreementCapacityIncrease) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgAgreementCapacityIncrease)(x) +} + +func (x *MsgAgreementCapacityIncrease) slowProtoReflect() protoreflect.Message { + mi := &file_structs_structs_tx_proto_msgTypes[96] + 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_MsgAgreementCapacityIncrease_messageType fastReflection_MsgAgreementCapacityIncrease_messageType +var _ protoreflect.MessageType = fastReflection_MsgAgreementCapacityIncrease_messageType{} + +type fastReflection_MsgAgreementCapacityIncrease_messageType struct{} + +func (x fastReflection_MsgAgreementCapacityIncrease_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgAgreementCapacityIncrease)(nil) +} +func (x fastReflection_MsgAgreementCapacityIncrease_messageType) New() protoreflect.Message { + return new(fastReflection_MsgAgreementCapacityIncrease) +} +func (x fastReflection_MsgAgreementCapacityIncrease_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgAgreementCapacityIncrease +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_MsgAgreementCapacityIncrease) Descriptor() protoreflect.MessageDescriptor { + return md_MsgAgreementCapacityIncrease +} + +// 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_MsgAgreementCapacityIncrease) Type() protoreflect.MessageType { + return _fastReflection_MsgAgreementCapacityIncrease_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_MsgAgreementCapacityIncrease) New() protoreflect.Message { + return new(fastReflection_MsgAgreementCapacityIncrease) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_MsgAgreementCapacityIncrease) Interface() protoreflect.ProtoMessage { + return (*MsgAgreementCapacityIncrease)(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_MsgAgreementCapacityIncrease) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Creator != "" { + value := protoreflect.ValueOfString(x.Creator) + if !f(fd_MsgAgreementCapacityIncrease_creator, value) { + return + } + } + if x.AgreementId != "" { + value := protoreflect.ValueOfString(x.AgreementId) + if !f(fd_MsgAgreementCapacityIncrease_agreementId, value) { + return + } + } + if x.CapacityIncrease != uint64(0) { + value := protoreflect.ValueOfUint64(x.CapacityIncrease) + if !f(fd_MsgAgreementCapacityIncrease_capacityIncrease, 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_MsgAgreementCapacityIncrease) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "structs.structs.MsgAgreementCapacityIncrease.creator": + return x.Creator != "" + case "structs.structs.MsgAgreementCapacityIncrease.agreementId": + return x.AgreementId != "" + case "structs.structs.MsgAgreementCapacityIncrease.capacityIncrease": + return x.CapacityIncrease != uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgAgreementCapacityIncrease")) + } + panic(fmt.Errorf("message structs.structs.MsgAgreementCapacityIncrease 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_MsgAgreementCapacityIncrease) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "structs.structs.MsgAgreementCapacityIncrease.creator": + x.Creator = "" + case "structs.structs.MsgAgreementCapacityIncrease.agreementId": + x.AgreementId = "" + case "structs.structs.MsgAgreementCapacityIncrease.capacityIncrease": + x.CapacityIncrease = uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgAgreementCapacityIncrease")) + } + panic(fmt.Errorf("message structs.structs.MsgAgreementCapacityIncrease 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_MsgAgreementCapacityIncrease) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "structs.structs.MsgAgreementCapacityIncrease.creator": + value := x.Creator + return protoreflect.ValueOfString(value) + case "structs.structs.MsgAgreementCapacityIncrease.agreementId": + value := x.AgreementId + return protoreflect.ValueOfString(value) + case "structs.structs.MsgAgreementCapacityIncrease.capacityIncrease": + value := x.CapacityIncrease + return protoreflect.ValueOfUint64(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgAgreementCapacityIncrease")) + } + panic(fmt.Errorf("message structs.structs.MsgAgreementCapacityIncrease 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_MsgAgreementCapacityIncrease) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "structs.structs.MsgAgreementCapacityIncrease.creator": + x.Creator = value.Interface().(string) + case "structs.structs.MsgAgreementCapacityIncrease.agreementId": + x.AgreementId = value.Interface().(string) + case "structs.structs.MsgAgreementCapacityIncrease.capacityIncrease": + x.CapacityIncrease = value.Uint() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgAgreementCapacityIncrease")) + } + panic(fmt.Errorf("message structs.structs.MsgAgreementCapacityIncrease 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_MsgAgreementCapacityIncrease) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.MsgAgreementCapacityIncrease.creator": + panic(fmt.Errorf("field creator of message structs.structs.MsgAgreementCapacityIncrease is not mutable")) + case "structs.structs.MsgAgreementCapacityIncrease.agreementId": + panic(fmt.Errorf("field agreementId of message structs.structs.MsgAgreementCapacityIncrease is not mutable")) + case "structs.structs.MsgAgreementCapacityIncrease.capacityIncrease": + panic(fmt.Errorf("field capacityIncrease of message structs.structs.MsgAgreementCapacityIncrease is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgAgreementCapacityIncrease")) + } + panic(fmt.Errorf("message structs.structs.MsgAgreementCapacityIncrease 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_MsgAgreementCapacityIncrease) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.MsgAgreementCapacityIncrease.creator": + return protoreflect.ValueOfString("") + case "structs.structs.MsgAgreementCapacityIncrease.agreementId": + return protoreflect.ValueOfString("") + case "structs.structs.MsgAgreementCapacityIncrease.capacityIncrease": + return protoreflect.ValueOfUint64(uint64(0)) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgAgreementCapacityIncrease")) + } + panic(fmt.Errorf("message structs.structs.MsgAgreementCapacityIncrease 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_MsgAgreementCapacityIncrease) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgAgreementCapacityIncrease", 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_MsgAgreementCapacityIncrease) 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_MsgAgreementCapacityIncrease) 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_MsgAgreementCapacityIncrease) 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_MsgAgreementCapacityIncrease) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*MsgAgreementCapacityIncrease) + 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.Creator) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.AgreementId) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.CapacityIncrease != 0 { + n += 1 + runtime.Sov(uint64(x.CapacityIncrease)) + } + 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().(*MsgAgreementCapacityIncrease) + 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.CapacityIncrease != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.CapacityIncrease)) + i-- + dAtA[i] = 0x18 + } + if len(x.AgreementId) > 0 { + i -= len(x.AgreementId) + copy(dAtA[i:], x.AgreementId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.AgreementId))) + i-- + dAtA[i] = 0x12 + } + if len(x.Creator) > 0 { + i -= len(x.Creator) + copy(dAtA[i:], x.Creator) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Creator))) + 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().(*MsgAgreementCapacityIncrease) + 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: MsgAgreementCapacityIncrease: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgAgreementCapacityIncrease: 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 Creator", 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.Creator = 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 AgreementId", 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.AgreementId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field CapacityIncrease", wireType) + } + x.CapacityIncrease = 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.CapacityIncrease |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + 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_MsgAgreementCapacityDecrease protoreflect.MessageDescriptor + fd_MsgAgreementCapacityDecrease_creator protoreflect.FieldDescriptor + fd_MsgAgreementCapacityDecrease_agreementId protoreflect.FieldDescriptor + fd_MsgAgreementCapacityDecrease_capacityDecrease protoreflect.FieldDescriptor +) + +func init() { + file_structs_structs_tx_proto_init() + md_MsgAgreementCapacityDecrease = File_structs_structs_tx_proto.Messages().ByName("MsgAgreementCapacityDecrease") + fd_MsgAgreementCapacityDecrease_creator = md_MsgAgreementCapacityDecrease.Fields().ByName("creator") + fd_MsgAgreementCapacityDecrease_agreementId = md_MsgAgreementCapacityDecrease.Fields().ByName("agreementId") + fd_MsgAgreementCapacityDecrease_capacityDecrease = md_MsgAgreementCapacityDecrease.Fields().ByName("capacityDecrease") +} + +var _ protoreflect.Message = (*fastReflection_MsgAgreementCapacityDecrease)(nil) + +type fastReflection_MsgAgreementCapacityDecrease MsgAgreementCapacityDecrease + +func (x *MsgAgreementCapacityDecrease) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgAgreementCapacityDecrease)(x) +} + +func (x *MsgAgreementCapacityDecrease) slowProtoReflect() protoreflect.Message { + mi := &file_structs_structs_tx_proto_msgTypes[97] + 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_MsgAgreementCapacityDecrease_messageType fastReflection_MsgAgreementCapacityDecrease_messageType +var _ protoreflect.MessageType = fastReflection_MsgAgreementCapacityDecrease_messageType{} + +type fastReflection_MsgAgreementCapacityDecrease_messageType struct{} + +func (x fastReflection_MsgAgreementCapacityDecrease_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgAgreementCapacityDecrease)(nil) +} +func (x fastReflection_MsgAgreementCapacityDecrease_messageType) New() protoreflect.Message { + return new(fastReflection_MsgAgreementCapacityDecrease) +} +func (x fastReflection_MsgAgreementCapacityDecrease_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgAgreementCapacityDecrease +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_MsgAgreementCapacityDecrease) Descriptor() protoreflect.MessageDescriptor { + return md_MsgAgreementCapacityDecrease +} + +// 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_MsgAgreementCapacityDecrease) Type() protoreflect.MessageType { + return _fastReflection_MsgAgreementCapacityDecrease_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_MsgAgreementCapacityDecrease) New() protoreflect.Message { + return new(fastReflection_MsgAgreementCapacityDecrease) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_MsgAgreementCapacityDecrease) Interface() protoreflect.ProtoMessage { + return (*MsgAgreementCapacityDecrease)(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_MsgAgreementCapacityDecrease) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Creator != "" { + value := protoreflect.ValueOfString(x.Creator) + if !f(fd_MsgAgreementCapacityDecrease_creator, value) { + return + } + } + if x.AgreementId != "" { + value := protoreflect.ValueOfString(x.AgreementId) + if !f(fd_MsgAgreementCapacityDecrease_agreementId, value) { + return + } + } + if x.CapacityDecrease != uint64(0) { + value := protoreflect.ValueOfUint64(x.CapacityDecrease) + if !f(fd_MsgAgreementCapacityDecrease_capacityDecrease, 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_MsgAgreementCapacityDecrease) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "structs.structs.MsgAgreementCapacityDecrease.creator": + return x.Creator != "" + case "structs.structs.MsgAgreementCapacityDecrease.agreementId": + return x.AgreementId != "" + case "structs.structs.MsgAgreementCapacityDecrease.capacityDecrease": + return x.CapacityDecrease != uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgAgreementCapacityDecrease")) + } + panic(fmt.Errorf("message structs.structs.MsgAgreementCapacityDecrease 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_MsgAgreementCapacityDecrease) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "structs.structs.MsgAgreementCapacityDecrease.creator": + x.Creator = "" + case "structs.structs.MsgAgreementCapacityDecrease.agreementId": + x.AgreementId = "" + case "structs.structs.MsgAgreementCapacityDecrease.capacityDecrease": + x.CapacityDecrease = uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgAgreementCapacityDecrease")) + } + panic(fmt.Errorf("message structs.structs.MsgAgreementCapacityDecrease 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_MsgAgreementCapacityDecrease) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "structs.structs.MsgAgreementCapacityDecrease.creator": + value := x.Creator + return protoreflect.ValueOfString(value) + case "structs.structs.MsgAgreementCapacityDecrease.agreementId": + value := x.AgreementId + return protoreflect.ValueOfString(value) + case "structs.structs.MsgAgreementCapacityDecrease.capacityDecrease": + value := x.CapacityDecrease + return protoreflect.ValueOfUint64(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgAgreementCapacityDecrease")) + } + panic(fmt.Errorf("message structs.structs.MsgAgreementCapacityDecrease 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_MsgAgreementCapacityDecrease) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "structs.structs.MsgAgreementCapacityDecrease.creator": + x.Creator = value.Interface().(string) + case "structs.structs.MsgAgreementCapacityDecrease.agreementId": + x.AgreementId = value.Interface().(string) + case "structs.structs.MsgAgreementCapacityDecrease.capacityDecrease": + x.CapacityDecrease = value.Uint() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgAgreementCapacityDecrease")) + } + panic(fmt.Errorf("message structs.structs.MsgAgreementCapacityDecrease 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_MsgAgreementCapacityDecrease) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.MsgAgreementCapacityDecrease.creator": + panic(fmt.Errorf("field creator of message structs.structs.MsgAgreementCapacityDecrease is not mutable")) + case "structs.structs.MsgAgreementCapacityDecrease.agreementId": + panic(fmt.Errorf("field agreementId of message structs.structs.MsgAgreementCapacityDecrease is not mutable")) + case "structs.structs.MsgAgreementCapacityDecrease.capacityDecrease": + panic(fmt.Errorf("field capacityDecrease of message structs.structs.MsgAgreementCapacityDecrease is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgAgreementCapacityDecrease")) + } + panic(fmt.Errorf("message structs.structs.MsgAgreementCapacityDecrease 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_MsgAgreementCapacityDecrease) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.MsgAgreementCapacityDecrease.creator": + return protoreflect.ValueOfString("") + case "structs.structs.MsgAgreementCapacityDecrease.agreementId": + return protoreflect.ValueOfString("") + case "structs.structs.MsgAgreementCapacityDecrease.capacityDecrease": + return protoreflect.ValueOfUint64(uint64(0)) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgAgreementCapacityDecrease")) + } + panic(fmt.Errorf("message structs.structs.MsgAgreementCapacityDecrease 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_MsgAgreementCapacityDecrease) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgAgreementCapacityDecrease", 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_MsgAgreementCapacityDecrease) 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_MsgAgreementCapacityDecrease) 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_MsgAgreementCapacityDecrease) 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_MsgAgreementCapacityDecrease) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*MsgAgreementCapacityDecrease) + 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.Creator) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.AgreementId) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.CapacityDecrease != 0 { + n += 1 + runtime.Sov(uint64(x.CapacityDecrease)) + } + 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().(*MsgAgreementCapacityDecrease) + 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.CapacityDecrease != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.CapacityDecrease)) + i-- + dAtA[i] = 0x18 + } + if len(x.AgreementId) > 0 { + i -= len(x.AgreementId) + copy(dAtA[i:], x.AgreementId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.AgreementId))) + i-- + dAtA[i] = 0x12 + } + if len(x.Creator) > 0 { + i -= len(x.Creator) + copy(dAtA[i:], x.Creator) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Creator))) + 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().(*MsgAgreementCapacityDecrease) + 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: MsgAgreementCapacityDecrease: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgAgreementCapacityDecrease: 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 Creator", 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.Creator = 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 AgreementId", 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.AgreementId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field CapacityDecrease", wireType) + } + x.CapacityDecrease = 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.CapacityDecrease |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + 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_MsgAgreementDurationIncrease protoreflect.MessageDescriptor + fd_MsgAgreementDurationIncrease_creator protoreflect.FieldDescriptor + fd_MsgAgreementDurationIncrease_agreementId protoreflect.FieldDescriptor + fd_MsgAgreementDurationIncrease_durationIncrease protoreflect.FieldDescriptor +) + +func init() { + file_structs_structs_tx_proto_init() + md_MsgAgreementDurationIncrease = File_structs_structs_tx_proto.Messages().ByName("MsgAgreementDurationIncrease") + fd_MsgAgreementDurationIncrease_creator = md_MsgAgreementDurationIncrease.Fields().ByName("creator") + fd_MsgAgreementDurationIncrease_agreementId = md_MsgAgreementDurationIncrease.Fields().ByName("agreementId") + fd_MsgAgreementDurationIncrease_durationIncrease = md_MsgAgreementDurationIncrease.Fields().ByName("durationIncrease") +} + +var _ protoreflect.Message = (*fastReflection_MsgAgreementDurationIncrease)(nil) + +type fastReflection_MsgAgreementDurationIncrease MsgAgreementDurationIncrease + +func (x *MsgAgreementDurationIncrease) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgAgreementDurationIncrease)(x) +} + +func (x *MsgAgreementDurationIncrease) slowProtoReflect() protoreflect.Message { + mi := &file_structs_structs_tx_proto_msgTypes[98] + 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_MsgAgreementDurationIncrease_messageType fastReflection_MsgAgreementDurationIncrease_messageType +var _ protoreflect.MessageType = fastReflection_MsgAgreementDurationIncrease_messageType{} + +type fastReflection_MsgAgreementDurationIncrease_messageType struct{} + +func (x fastReflection_MsgAgreementDurationIncrease_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgAgreementDurationIncrease)(nil) +} +func (x fastReflection_MsgAgreementDurationIncrease_messageType) New() protoreflect.Message { + return new(fastReflection_MsgAgreementDurationIncrease) +} +func (x fastReflection_MsgAgreementDurationIncrease_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgAgreementDurationIncrease +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_MsgAgreementDurationIncrease) Descriptor() protoreflect.MessageDescriptor { + return md_MsgAgreementDurationIncrease +} + +// 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_MsgAgreementDurationIncrease) Type() protoreflect.MessageType { + return _fastReflection_MsgAgreementDurationIncrease_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_MsgAgreementDurationIncrease) New() protoreflect.Message { + return new(fastReflection_MsgAgreementDurationIncrease) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_MsgAgreementDurationIncrease) Interface() protoreflect.ProtoMessage { + return (*MsgAgreementDurationIncrease)(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_MsgAgreementDurationIncrease) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Creator != "" { + value := protoreflect.ValueOfString(x.Creator) + if !f(fd_MsgAgreementDurationIncrease_creator, value) { + return + } + } + if x.AgreementId != "" { + value := protoreflect.ValueOfString(x.AgreementId) + if !f(fd_MsgAgreementDurationIncrease_agreementId, value) { + return + } + } + if x.DurationIncrease != uint64(0) { + value := protoreflect.ValueOfUint64(x.DurationIncrease) + if !f(fd_MsgAgreementDurationIncrease_durationIncrease, 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_MsgAgreementDurationIncrease) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "structs.structs.MsgAgreementDurationIncrease.creator": + return x.Creator != "" + case "structs.structs.MsgAgreementDurationIncrease.agreementId": + return x.AgreementId != "" + case "structs.structs.MsgAgreementDurationIncrease.durationIncrease": + return x.DurationIncrease != uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgAgreementDurationIncrease")) + } + panic(fmt.Errorf("message structs.structs.MsgAgreementDurationIncrease 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_MsgAgreementDurationIncrease) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "structs.structs.MsgAgreementDurationIncrease.creator": + x.Creator = "" + case "structs.structs.MsgAgreementDurationIncrease.agreementId": + x.AgreementId = "" + case "structs.structs.MsgAgreementDurationIncrease.durationIncrease": + x.DurationIncrease = uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgAgreementDurationIncrease")) + } + panic(fmt.Errorf("message structs.structs.MsgAgreementDurationIncrease 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_MsgAgreementDurationIncrease) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "structs.structs.MsgAgreementDurationIncrease.creator": + value := x.Creator + return protoreflect.ValueOfString(value) + case "structs.structs.MsgAgreementDurationIncrease.agreementId": + value := x.AgreementId + return protoreflect.ValueOfString(value) + case "structs.structs.MsgAgreementDurationIncrease.durationIncrease": + value := x.DurationIncrease + return protoreflect.ValueOfUint64(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgAgreementDurationIncrease")) + } + panic(fmt.Errorf("message structs.structs.MsgAgreementDurationIncrease 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_MsgAgreementDurationIncrease) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "structs.structs.MsgAgreementDurationIncrease.creator": + x.Creator = value.Interface().(string) + case "structs.structs.MsgAgreementDurationIncrease.agreementId": + x.AgreementId = value.Interface().(string) + case "structs.structs.MsgAgreementDurationIncrease.durationIncrease": + x.DurationIncrease = value.Uint() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgAgreementDurationIncrease")) + } + panic(fmt.Errorf("message structs.structs.MsgAgreementDurationIncrease 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_MsgAgreementDurationIncrease) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.MsgAgreementDurationIncrease.creator": + panic(fmt.Errorf("field creator of message structs.structs.MsgAgreementDurationIncrease is not mutable")) + case "structs.structs.MsgAgreementDurationIncrease.agreementId": + panic(fmt.Errorf("field agreementId of message structs.structs.MsgAgreementDurationIncrease is not mutable")) + case "structs.structs.MsgAgreementDurationIncrease.durationIncrease": + panic(fmt.Errorf("field durationIncrease of message structs.structs.MsgAgreementDurationIncrease is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgAgreementDurationIncrease")) + } + panic(fmt.Errorf("message structs.structs.MsgAgreementDurationIncrease 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_MsgAgreementDurationIncrease) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.MsgAgreementDurationIncrease.creator": + return protoreflect.ValueOfString("") + case "structs.structs.MsgAgreementDurationIncrease.agreementId": + return protoreflect.ValueOfString("") + case "structs.structs.MsgAgreementDurationIncrease.durationIncrease": + return protoreflect.ValueOfUint64(uint64(0)) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgAgreementDurationIncrease")) + } + panic(fmt.Errorf("message structs.structs.MsgAgreementDurationIncrease 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_MsgAgreementDurationIncrease) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgAgreementDurationIncrease", 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_MsgAgreementDurationIncrease) 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_MsgAgreementDurationIncrease) 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_MsgAgreementDurationIncrease) 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_MsgAgreementDurationIncrease) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*MsgAgreementDurationIncrease) + 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.Creator) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.AgreementId) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.DurationIncrease != 0 { + n += 1 + runtime.Sov(uint64(x.DurationIncrease)) + } + 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().(*MsgAgreementDurationIncrease) + 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.DurationIncrease != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.DurationIncrease)) + i-- + dAtA[i] = 0x18 + } + if len(x.AgreementId) > 0 { + i -= len(x.AgreementId) + copy(dAtA[i:], x.AgreementId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.AgreementId))) + i-- + dAtA[i] = 0x12 + } + if len(x.Creator) > 0 { + i -= len(x.Creator) + copy(dAtA[i:], x.Creator) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Creator))) + 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().(*MsgAgreementDurationIncrease) + 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: MsgAgreementDurationIncrease: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgAgreementDurationIncrease: 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 Creator", 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.Creator = 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 AgreementId", 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.AgreementId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field DurationIncrease", wireType) + } + x.DurationIncrease = 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.DurationIncrease |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + 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_MsgAgreementResponse protoreflect.MessageDescriptor +) + +func init() { + file_structs_structs_tx_proto_init() + md_MsgAgreementResponse = File_structs_structs_tx_proto.Messages().ByName("MsgAgreementResponse") +} + +var _ protoreflect.Message = (*fastReflection_MsgAgreementResponse)(nil) + +type fastReflection_MsgAgreementResponse MsgAgreementResponse + +func (x *MsgAgreementResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgAgreementResponse)(x) +} + +func (x *MsgAgreementResponse) slowProtoReflect() protoreflect.Message { + mi := &file_structs_structs_tx_proto_msgTypes[99] + 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_MsgAgreementResponse_messageType fastReflection_MsgAgreementResponse_messageType +var _ protoreflect.MessageType = fastReflection_MsgAgreementResponse_messageType{} + +type fastReflection_MsgAgreementResponse_messageType struct{} + +func (x fastReflection_MsgAgreementResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgAgreementResponse)(nil) +} +func (x fastReflection_MsgAgreementResponse_messageType) New() protoreflect.Message { + return new(fastReflection_MsgAgreementResponse) +} +func (x fastReflection_MsgAgreementResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgAgreementResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_MsgAgreementResponse) Descriptor() protoreflect.MessageDescriptor { + return md_MsgAgreementResponse +} + +// 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_MsgAgreementResponse) Type() protoreflect.MessageType { + return _fastReflection_MsgAgreementResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_MsgAgreementResponse) New() protoreflect.Message { + return new(fastReflection_MsgAgreementResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_MsgAgreementResponse) Interface() protoreflect.ProtoMessage { + return (*MsgAgreementResponse)(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_MsgAgreementResponse) 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_MsgAgreementResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgAgreementResponse")) + } + panic(fmt.Errorf("message structs.structs.MsgAgreementResponse 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_MsgAgreementResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgAgreementResponse")) + } + panic(fmt.Errorf("message structs.structs.MsgAgreementResponse 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_MsgAgreementResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgAgreementResponse")) + } + panic(fmt.Errorf("message structs.structs.MsgAgreementResponse 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_MsgAgreementResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgAgreementResponse")) + } + panic(fmt.Errorf("message structs.structs.MsgAgreementResponse 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_MsgAgreementResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgAgreementResponse")) + } + panic(fmt.Errorf("message structs.structs.MsgAgreementResponse 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_MsgAgreementResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgAgreementResponse")) + } + panic(fmt.Errorf("message structs.structs.MsgAgreementResponse 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_MsgAgreementResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgAgreementResponse", 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_MsgAgreementResponse) 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_MsgAgreementResponse) 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_MsgAgreementResponse) 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_MsgAgreementResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*MsgAgreementResponse) + 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().(*MsgAgreementResponse) + 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().(*MsgAgreementResponse) + 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: MsgAgreementResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgAgreementResponse: 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, + } +} + +var ( + md_MsgProviderCreate protoreflect.MessageDescriptor + fd_MsgProviderCreate_creator protoreflect.FieldDescriptor + fd_MsgProviderCreate_substationId protoreflect.FieldDescriptor + fd_MsgProviderCreate_rate protoreflect.FieldDescriptor + fd_MsgProviderCreate_accessPolicy protoreflect.FieldDescriptor + fd_MsgProviderCreate_providerCancellationPenalty protoreflect.FieldDescriptor + fd_MsgProviderCreate_consumerCancellationPenalty protoreflect.FieldDescriptor + fd_MsgProviderCreate_capacityMinimum protoreflect.FieldDescriptor + fd_MsgProviderCreate_capacityMaximum protoreflect.FieldDescriptor + fd_MsgProviderCreate_durationMinimum protoreflect.FieldDescriptor + fd_MsgProviderCreate_durationMaximum protoreflect.FieldDescriptor +) + +func init() { + file_structs_structs_tx_proto_init() + md_MsgProviderCreate = File_structs_structs_tx_proto.Messages().ByName("MsgProviderCreate") + fd_MsgProviderCreate_creator = md_MsgProviderCreate.Fields().ByName("creator") + fd_MsgProviderCreate_substationId = md_MsgProviderCreate.Fields().ByName("substationId") + fd_MsgProviderCreate_rate = md_MsgProviderCreate.Fields().ByName("rate") + fd_MsgProviderCreate_accessPolicy = md_MsgProviderCreate.Fields().ByName("accessPolicy") + fd_MsgProviderCreate_providerCancellationPenalty = md_MsgProviderCreate.Fields().ByName("providerCancellationPenalty") + fd_MsgProviderCreate_consumerCancellationPenalty = md_MsgProviderCreate.Fields().ByName("consumerCancellationPenalty") + fd_MsgProviderCreate_capacityMinimum = md_MsgProviderCreate.Fields().ByName("capacityMinimum") + fd_MsgProviderCreate_capacityMaximum = md_MsgProviderCreate.Fields().ByName("capacityMaximum") + fd_MsgProviderCreate_durationMinimum = md_MsgProviderCreate.Fields().ByName("durationMinimum") + fd_MsgProviderCreate_durationMaximum = md_MsgProviderCreate.Fields().ByName("durationMaximum") +} + +var _ protoreflect.Message = (*fastReflection_MsgProviderCreate)(nil) + +type fastReflection_MsgProviderCreate MsgProviderCreate + +func (x *MsgProviderCreate) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgProviderCreate)(x) +} + +func (x *MsgProviderCreate) slowProtoReflect() protoreflect.Message { + mi := &file_structs_structs_tx_proto_msgTypes[100] + 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_MsgProviderCreate_messageType fastReflection_MsgProviderCreate_messageType +var _ protoreflect.MessageType = fastReflection_MsgProviderCreate_messageType{} + +type fastReflection_MsgProviderCreate_messageType struct{} + +func (x fastReflection_MsgProviderCreate_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgProviderCreate)(nil) +} +func (x fastReflection_MsgProviderCreate_messageType) New() protoreflect.Message { + return new(fastReflection_MsgProviderCreate) +} +func (x fastReflection_MsgProviderCreate_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgProviderCreate +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_MsgProviderCreate) Descriptor() protoreflect.MessageDescriptor { + return md_MsgProviderCreate +} + +// 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_MsgProviderCreate) Type() protoreflect.MessageType { + return _fastReflection_MsgProviderCreate_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_MsgProviderCreate) New() protoreflect.Message { + return new(fastReflection_MsgProviderCreate) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_MsgProviderCreate) Interface() protoreflect.ProtoMessage { + return (*MsgProviderCreate)(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_MsgProviderCreate) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Creator != "" { + value := protoreflect.ValueOfString(x.Creator) + if !f(fd_MsgProviderCreate_creator, value) { + return + } + } + if x.SubstationId != "" { + value := protoreflect.ValueOfString(x.SubstationId) + if !f(fd_MsgProviderCreate_substationId, value) { + return + } + } + if x.Rate != nil { + value := protoreflect.ValueOfMessage(x.Rate.ProtoReflect()) + if !f(fd_MsgProviderCreate_rate, value) { + return + } + } + if x.AccessPolicy != 0 { + value := protoreflect.ValueOfEnum((protoreflect.EnumNumber)(x.AccessPolicy)) + if !f(fd_MsgProviderCreate_accessPolicy, value) { + return + } + } + if x.ProviderCancellationPenalty != "" { + value := protoreflect.ValueOfString(x.ProviderCancellationPenalty) + if !f(fd_MsgProviderCreate_providerCancellationPenalty, value) { + return + } + } + if x.ConsumerCancellationPenalty != "" { + value := protoreflect.ValueOfString(x.ConsumerCancellationPenalty) + if !f(fd_MsgProviderCreate_consumerCancellationPenalty, value) { + return + } + } + if x.CapacityMinimum != uint64(0) { + value := protoreflect.ValueOfUint64(x.CapacityMinimum) + if !f(fd_MsgProviderCreate_capacityMinimum, value) { + return + } + } + if x.CapacityMaximum != uint64(0) { + value := protoreflect.ValueOfUint64(x.CapacityMaximum) + if !f(fd_MsgProviderCreate_capacityMaximum, value) { + return + } + } + if x.DurationMinimum != uint64(0) { + value := protoreflect.ValueOfUint64(x.DurationMinimum) + if !f(fd_MsgProviderCreate_durationMinimum, value) { + return + } + } + if x.DurationMaximum != uint64(0) { + value := protoreflect.ValueOfUint64(x.DurationMaximum) + if !f(fd_MsgProviderCreate_durationMaximum, 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_MsgProviderCreate) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "structs.structs.MsgProviderCreate.creator": + return x.Creator != "" + case "structs.structs.MsgProviderCreate.substationId": + return x.SubstationId != "" + case "structs.structs.MsgProviderCreate.rate": + return x.Rate != nil + case "structs.structs.MsgProviderCreate.accessPolicy": + return x.AccessPolicy != 0 + case "structs.structs.MsgProviderCreate.providerCancellationPenalty": + return x.ProviderCancellationPenalty != "" + case "structs.structs.MsgProviderCreate.consumerCancellationPenalty": + return x.ConsumerCancellationPenalty != "" + case "structs.structs.MsgProviderCreate.capacityMinimum": + return x.CapacityMinimum != uint64(0) + case "structs.structs.MsgProviderCreate.capacityMaximum": + return x.CapacityMaximum != uint64(0) + case "structs.structs.MsgProviderCreate.durationMinimum": + return x.DurationMinimum != uint64(0) + case "structs.structs.MsgProviderCreate.durationMaximum": + return x.DurationMaximum != uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgProviderCreate")) + } + panic(fmt.Errorf("message structs.structs.MsgProviderCreate 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_MsgProviderCreate) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "structs.structs.MsgProviderCreate.creator": + x.Creator = "" + case "structs.structs.MsgProviderCreate.substationId": + x.SubstationId = "" + case "structs.structs.MsgProviderCreate.rate": + x.Rate = nil + case "structs.structs.MsgProviderCreate.accessPolicy": + x.AccessPolicy = 0 + case "structs.structs.MsgProviderCreate.providerCancellationPenalty": + x.ProviderCancellationPenalty = "" + case "structs.structs.MsgProviderCreate.consumerCancellationPenalty": + x.ConsumerCancellationPenalty = "" + case "structs.structs.MsgProviderCreate.capacityMinimum": + x.CapacityMinimum = uint64(0) + case "structs.structs.MsgProviderCreate.capacityMaximum": + x.CapacityMaximum = uint64(0) + case "structs.structs.MsgProviderCreate.durationMinimum": + x.DurationMinimum = uint64(0) + case "structs.structs.MsgProviderCreate.durationMaximum": + x.DurationMaximum = uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgProviderCreate")) + } + panic(fmt.Errorf("message structs.structs.MsgProviderCreate 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_MsgProviderCreate) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "structs.structs.MsgProviderCreate.creator": + value := x.Creator + return protoreflect.ValueOfString(value) + case "structs.structs.MsgProviderCreate.substationId": + value := x.SubstationId + return protoreflect.ValueOfString(value) + case "structs.structs.MsgProviderCreate.rate": + value := x.Rate + return protoreflect.ValueOfMessage(value.ProtoReflect()) + case "structs.structs.MsgProviderCreate.accessPolicy": + value := x.AccessPolicy + return protoreflect.ValueOfEnum((protoreflect.EnumNumber)(value)) + case "structs.structs.MsgProviderCreate.providerCancellationPenalty": + value := x.ProviderCancellationPenalty + return protoreflect.ValueOfString(value) + case "structs.structs.MsgProviderCreate.consumerCancellationPenalty": + value := x.ConsumerCancellationPenalty + return protoreflect.ValueOfString(value) + case "structs.structs.MsgProviderCreate.capacityMinimum": + value := x.CapacityMinimum + return protoreflect.ValueOfUint64(value) + case "structs.structs.MsgProviderCreate.capacityMaximum": + value := x.CapacityMaximum + return protoreflect.ValueOfUint64(value) + case "structs.structs.MsgProviderCreate.durationMinimum": + value := x.DurationMinimum + return protoreflect.ValueOfUint64(value) + case "structs.structs.MsgProviderCreate.durationMaximum": + value := x.DurationMaximum + return protoreflect.ValueOfUint64(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgProviderCreate")) + } + panic(fmt.Errorf("message structs.structs.MsgProviderCreate 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_MsgProviderCreate) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "structs.structs.MsgProviderCreate.creator": + x.Creator = value.Interface().(string) + case "structs.structs.MsgProviderCreate.substationId": + x.SubstationId = value.Interface().(string) + case "structs.structs.MsgProviderCreate.rate": + x.Rate = value.Message().Interface().(*v1beta1.Coin) + case "structs.structs.MsgProviderCreate.accessPolicy": + x.AccessPolicy = (ProviderAccessPolicy)(value.Enum()) + case "structs.structs.MsgProviderCreate.providerCancellationPenalty": + x.ProviderCancellationPenalty = value.Interface().(string) + case "structs.structs.MsgProviderCreate.consumerCancellationPenalty": + x.ConsumerCancellationPenalty = value.Interface().(string) + case "structs.structs.MsgProviderCreate.capacityMinimum": + x.CapacityMinimum = value.Uint() + case "structs.structs.MsgProviderCreate.capacityMaximum": + x.CapacityMaximum = value.Uint() + case "structs.structs.MsgProviderCreate.durationMinimum": + x.DurationMinimum = value.Uint() + case "structs.structs.MsgProviderCreate.durationMaximum": + x.DurationMaximum = value.Uint() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgProviderCreate")) + } + panic(fmt.Errorf("message structs.structs.MsgProviderCreate 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_MsgProviderCreate) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.MsgProviderCreate.rate": + if x.Rate == nil { + x.Rate = new(v1beta1.Coin) + } + return protoreflect.ValueOfMessage(x.Rate.ProtoReflect()) + case "structs.structs.MsgProviderCreate.creator": + panic(fmt.Errorf("field creator of message structs.structs.MsgProviderCreate is not mutable")) + case "structs.structs.MsgProviderCreate.substationId": + panic(fmt.Errorf("field substationId of message structs.structs.MsgProviderCreate is not mutable")) + case "structs.structs.MsgProviderCreate.accessPolicy": + panic(fmt.Errorf("field accessPolicy of message structs.structs.MsgProviderCreate is not mutable")) + case "structs.structs.MsgProviderCreate.providerCancellationPenalty": + panic(fmt.Errorf("field providerCancellationPenalty of message structs.structs.MsgProviderCreate is not mutable")) + case "structs.structs.MsgProviderCreate.consumerCancellationPenalty": + panic(fmt.Errorf("field consumerCancellationPenalty of message structs.structs.MsgProviderCreate is not mutable")) + case "structs.structs.MsgProviderCreate.capacityMinimum": + panic(fmt.Errorf("field capacityMinimum of message structs.structs.MsgProviderCreate is not mutable")) + case "structs.structs.MsgProviderCreate.capacityMaximum": + panic(fmt.Errorf("field capacityMaximum of message structs.structs.MsgProviderCreate is not mutable")) + case "structs.structs.MsgProviderCreate.durationMinimum": + panic(fmt.Errorf("field durationMinimum of message structs.structs.MsgProviderCreate is not mutable")) + case "structs.structs.MsgProviderCreate.durationMaximum": + panic(fmt.Errorf("field durationMaximum of message structs.structs.MsgProviderCreate is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgProviderCreate")) + } + panic(fmt.Errorf("message structs.structs.MsgProviderCreate 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_MsgProviderCreate) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.MsgProviderCreate.creator": + return protoreflect.ValueOfString("") + case "structs.structs.MsgProviderCreate.substationId": + return protoreflect.ValueOfString("") + case "structs.structs.MsgProviderCreate.rate": + m := new(v1beta1.Coin) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + case "structs.structs.MsgProviderCreate.accessPolicy": + return protoreflect.ValueOfEnum(0) + case "structs.structs.MsgProviderCreate.providerCancellationPenalty": + return protoreflect.ValueOfString("") + case "structs.structs.MsgProviderCreate.consumerCancellationPenalty": + return protoreflect.ValueOfString("") + case "structs.structs.MsgProviderCreate.capacityMinimum": + return protoreflect.ValueOfUint64(uint64(0)) + case "structs.structs.MsgProviderCreate.capacityMaximum": + return protoreflect.ValueOfUint64(uint64(0)) + case "structs.structs.MsgProviderCreate.durationMinimum": + return protoreflect.ValueOfUint64(uint64(0)) + case "structs.structs.MsgProviderCreate.durationMaximum": + return protoreflect.ValueOfUint64(uint64(0)) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgProviderCreate")) + } + panic(fmt.Errorf("message structs.structs.MsgProviderCreate 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_MsgProviderCreate) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgProviderCreate", 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_MsgProviderCreate) 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_MsgProviderCreate) 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_MsgProviderCreate) 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_MsgProviderCreate) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*MsgProviderCreate) + 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.Creator) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.SubstationId) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.Rate != nil { + l = options.Size(x.Rate) + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.AccessPolicy != 0 { + n += 1 + runtime.Sov(uint64(x.AccessPolicy)) + } + l = len(x.ProviderCancellationPenalty) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.ConsumerCancellationPenalty) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.CapacityMinimum != 0 { + n += 1 + runtime.Sov(uint64(x.CapacityMinimum)) + } + if x.CapacityMaximum != 0 { + n += 1 + runtime.Sov(uint64(x.CapacityMaximum)) + } + if x.DurationMinimum != 0 { + n += 1 + runtime.Sov(uint64(x.DurationMinimum)) + } + if x.DurationMaximum != 0 { + n += 1 + runtime.Sov(uint64(x.DurationMaximum)) + } + 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().(*MsgProviderCreate) + 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.DurationMaximum != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.DurationMaximum)) + i-- + dAtA[i] = 0x50 + } + if x.DurationMinimum != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.DurationMinimum)) + i-- + dAtA[i] = 0x48 + } + if x.CapacityMaximum != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.CapacityMaximum)) + i-- + dAtA[i] = 0x40 + } + if x.CapacityMinimum != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.CapacityMinimum)) + i-- + dAtA[i] = 0x38 + } + if len(x.ConsumerCancellationPenalty) > 0 { + i -= len(x.ConsumerCancellationPenalty) + copy(dAtA[i:], x.ConsumerCancellationPenalty) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.ConsumerCancellationPenalty))) + i-- + dAtA[i] = 0x32 + } + if len(x.ProviderCancellationPenalty) > 0 { + i -= len(x.ProviderCancellationPenalty) + copy(dAtA[i:], x.ProviderCancellationPenalty) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.ProviderCancellationPenalty))) + i-- + dAtA[i] = 0x2a + } + if x.AccessPolicy != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.AccessPolicy)) + i-- + dAtA[i] = 0x20 + } + if x.Rate != nil { + encoded, err := options.Marshal(x.Rate) + 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] = 0x1a + } + if len(x.SubstationId) > 0 { + i -= len(x.SubstationId) + copy(dAtA[i:], x.SubstationId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.SubstationId))) + i-- + dAtA[i] = 0x12 + } + if len(x.Creator) > 0 { + i -= len(x.Creator) + copy(dAtA[i:], x.Creator) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Creator))) + 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().(*MsgProviderCreate) + 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: MsgProviderCreate: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgProviderCreate: 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 Creator", 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.Creator = 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 SubstationId", 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.SubstationId = 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 Rate", 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.Rate == nil { + x.Rate = &v1beta1.Coin{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Rate); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 4: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field AccessPolicy", wireType) + } + x.AccessPolicy = 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.AccessPolicy |= ProviderAccessPolicy(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 5: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ProviderCancellationPenalty", 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.ProviderCancellationPenalty = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 6: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ConsumerCancellationPenalty", 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.ConsumerCancellationPenalty = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 7: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field CapacityMinimum", wireType) + } + x.CapacityMinimum = 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.CapacityMinimum |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 8: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field CapacityMaximum", wireType) + } + x.CapacityMaximum = 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.CapacityMaximum |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 9: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field DurationMinimum", wireType) + } + x.DurationMinimum = 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.DurationMinimum |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 10: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field DurationMaximum", wireType) + } + x.DurationMaximum = 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.DurationMaximum |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + 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_MsgProviderWithdrawBalance protoreflect.MessageDescriptor + fd_MsgProviderWithdrawBalance_creator protoreflect.FieldDescriptor + fd_MsgProviderWithdrawBalance_providerId protoreflect.FieldDescriptor + fd_MsgProviderWithdrawBalance_destinationAddress protoreflect.FieldDescriptor +) + +func init() { + file_structs_structs_tx_proto_init() + md_MsgProviderWithdrawBalance = File_structs_structs_tx_proto.Messages().ByName("MsgProviderWithdrawBalance") + fd_MsgProviderWithdrawBalance_creator = md_MsgProviderWithdrawBalance.Fields().ByName("creator") + fd_MsgProviderWithdrawBalance_providerId = md_MsgProviderWithdrawBalance.Fields().ByName("providerId") + fd_MsgProviderWithdrawBalance_destinationAddress = md_MsgProviderWithdrawBalance.Fields().ByName("destinationAddress") +} + +var _ protoreflect.Message = (*fastReflection_MsgProviderWithdrawBalance)(nil) + +type fastReflection_MsgProviderWithdrawBalance MsgProviderWithdrawBalance + +func (x *MsgProviderWithdrawBalance) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgProviderWithdrawBalance)(x) +} + +func (x *MsgProviderWithdrawBalance) slowProtoReflect() protoreflect.Message { + mi := &file_structs_structs_tx_proto_msgTypes[101] + 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_MsgProviderWithdrawBalance_messageType fastReflection_MsgProviderWithdrawBalance_messageType +var _ protoreflect.MessageType = fastReflection_MsgProviderWithdrawBalance_messageType{} + +type fastReflection_MsgProviderWithdrawBalance_messageType struct{} + +func (x fastReflection_MsgProviderWithdrawBalance_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgProviderWithdrawBalance)(nil) +} +func (x fastReflection_MsgProviderWithdrawBalance_messageType) New() protoreflect.Message { + return new(fastReflection_MsgProviderWithdrawBalance) +} +func (x fastReflection_MsgProviderWithdrawBalance_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgProviderWithdrawBalance +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_MsgProviderWithdrawBalance) Descriptor() protoreflect.MessageDescriptor { + return md_MsgProviderWithdrawBalance +} + +// 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_MsgProviderWithdrawBalance) Type() protoreflect.MessageType { + return _fastReflection_MsgProviderWithdrawBalance_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_MsgProviderWithdrawBalance) New() protoreflect.Message { + return new(fastReflection_MsgProviderWithdrawBalance) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_MsgProviderWithdrawBalance) Interface() protoreflect.ProtoMessage { + return (*MsgProviderWithdrawBalance)(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_MsgProviderWithdrawBalance) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Creator != "" { + value := protoreflect.ValueOfString(x.Creator) + if !f(fd_MsgProviderWithdrawBalance_creator, value) { + return + } + } + if x.ProviderId != "" { + value := protoreflect.ValueOfString(x.ProviderId) + if !f(fd_MsgProviderWithdrawBalance_providerId, value) { + return + } + } + if x.DestinationAddress != "" { + value := protoreflect.ValueOfString(x.DestinationAddress) + if !f(fd_MsgProviderWithdrawBalance_destinationAddress, 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_MsgProviderWithdrawBalance) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "structs.structs.MsgProviderWithdrawBalance.creator": + return x.Creator != "" + case "structs.structs.MsgProviderWithdrawBalance.providerId": + return x.ProviderId != "" + case "structs.structs.MsgProviderWithdrawBalance.destinationAddress": + return x.DestinationAddress != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgProviderWithdrawBalance")) + } + panic(fmt.Errorf("message structs.structs.MsgProviderWithdrawBalance 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_MsgProviderWithdrawBalance) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "structs.structs.MsgProviderWithdrawBalance.creator": + x.Creator = "" + case "structs.structs.MsgProviderWithdrawBalance.providerId": + x.ProviderId = "" + case "structs.structs.MsgProviderWithdrawBalance.destinationAddress": + x.DestinationAddress = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgProviderWithdrawBalance")) + } + panic(fmt.Errorf("message structs.structs.MsgProviderWithdrawBalance 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_MsgProviderWithdrawBalance) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "structs.structs.MsgProviderWithdrawBalance.creator": + value := x.Creator + return protoreflect.ValueOfString(value) + case "structs.structs.MsgProviderWithdrawBalance.providerId": + value := x.ProviderId + return protoreflect.ValueOfString(value) + case "structs.structs.MsgProviderWithdrawBalance.destinationAddress": + value := x.DestinationAddress + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgProviderWithdrawBalance")) + } + panic(fmt.Errorf("message structs.structs.MsgProviderWithdrawBalance 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_MsgProviderWithdrawBalance) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "structs.structs.MsgProviderWithdrawBalance.creator": + x.Creator = value.Interface().(string) + case "structs.structs.MsgProviderWithdrawBalance.providerId": + x.ProviderId = value.Interface().(string) + case "structs.structs.MsgProviderWithdrawBalance.destinationAddress": + x.DestinationAddress = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgProviderWithdrawBalance")) + } + panic(fmt.Errorf("message structs.structs.MsgProviderWithdrawBalance 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_MsgProviderWithdrawBalance) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.MsgProviderWithdrawBalance.creator": + panic(fmt.Errorf("field creator of message structs.structs.MsgProviderWithdrawBalance is not mutable")) + case "structs.structs.MsgProviderWithdrawBalance.providerId": + panic(fmt.Errorf("field providerId of message structs.structs.MsgProviderWithdrawBalance is not mutable")) + case "structs.structs.MsgProviderWithdrawBalance.destinationAddress": + panic(fmt.Errorf("field destinationAddress of message structs.structs.MsgProviderWithdrawBalance is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgProviderWithdrawBalance")) + } + panic(fmt.Errorf("message structs.structs.MsgProviderWithdrawBalance 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_MsgProviderWithdrawBalance) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.MsgProviderWithdrawBalance.creator": + return protoreflect.ValueOfString("") + case "structs.structs.MsgProviderWithdrawBalance.providerId": + return protoreflect.ValueOfString("") + case "structs.structs.MsgProviderWithdrawBalance.destinationAddress": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgProviderWithdrawBalance")) + } + panic(fmt.Errorf("message structs.structs.MsgProviderWithdrawBalance 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_MsgProviderWithdrawBalance) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgProviderWithdrawBalance", 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_MsgProviderWithdrawBalance) 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_MsgProviderWithdrawBalance) 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_MsgProviderWithdrawBalance) 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_MsgProviderWithdrawBalance) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*MsgProviderWithdrawBalance) + 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.Creator) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.ProviderId) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.DestinationAddress) + 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().(*MsgProviderWithdrawBalance) + 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.DestinationAddress) > 0 { + i -= len(x.DestinationAddress) + copy(dAtA[i:], x.DestinationAddress) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.DestinationAddress))) + i-- + dAtA[i] = 0x1a + } + if len(x.ProviderId) > 0 { + i -= len(x.ProviderId) + copy(dAtA[i:], x.ProviderId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.ProviderId))) + i-- + dAtA[i] = 0x12 + } + if len(x.Creator) > 0 { + i -= len(x.Creator) + copy(dAtA[i:], x.Creator) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Creator))) + 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().(*MsgProviderWithdrawBalance) + 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: MsgProviderWithdrawBalance: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgProviderWithdrawBalance: 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 Creator", 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.Creator = 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 ProviderId", 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.ProviderId = 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 DestinationAddress", 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.DestinationAddress = 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_MsgProviderUpdateCapacityMinimum protoreflect.MessageDescriptor + fd_MsgProviderUpdateCapacityMinimum_creator protoreflect.FieldDescriptor + fd_MsgProviderUpdateCapacityMinimum_providerId protoreflect.FieldDescriptor + fd_MsgProviderUpdateCapacityMinimum_newMinimumCapacity protoreflect.FieldDescriptor +) + +func init() { + file_structs_structs_tx_proto_init() + md_MsgProviderUpdateCapacityMinimum = File_structs_structs_tx_proto.Messages().ByName("MsgProviderUpdateCapacityMinimum") + fd_MsgProviderUpdateCapacityMinimum_creator = md_MsgProviderUpdateCapacityMinimum.Fields().ByName("creator") + fd_MsgProviderUpdateCapacityMinimum_providerId = md_MsgProviderUpdateCapacityMinimum.Fields().ByName("providerId") + fd_MsgProviderUpdateCapacityMinimum_newMinimumCapacity = md_MsgProviderUpdateCapacityMinimum.Fields().ByName("newMinimumCapacity") +} + +var _ protoreflect.Message = (*fastReflection_MsgProviderUpdateCapacityMinimum)(nil) + +type fastReflection_MsgProviderUpdateCapacityMinimum MsgProviderUpdateCapacityMinimum + +func (x *MsgProviderUpdateCapacityMinimum) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgProviderUpdateCapacityMinimum)(x) +} + +func (x *MsgProviderUpdateCapacityMinimum) slowProtoReflect() protoreflect.Message { + mi := &file_structs_structs_tx_proto_msgTypes[102] + 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_MsgProviderUpdateCapacityMinimum_messageType fastReflection_MsgProviderUpdateCapacityMinimum_messageType +var _ protoreflect.MessageType = fastReflection_MsgProviderUpdateCapacityMinimum_messageType{} + +type fastReflection_MsgProviderUpdateCapacityMinimum_messageType struct{} + +func (x fastReflection_MsgProviderUpdateCapacityMinimum_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgProviderUpdateCapacityMinimum)(nil) +} +func (x fastReflection_MsgProviderUpdateCapacityMinimum_messageType) New() protoreflect.Message { + return new(fastReflection_MsgProviderUpdateCapacityMinimum) +} +func (x fastReflection_MsgProviderUpdateCapacityMinimum_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgProviderUpdateCapacityMinimum +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_MsgProviderUpdateCapacityMinimum) Descriptor() protoreflect.MessageDescriptor { + return md_MsgProviderUpdateCapacityMinimum +} + +// 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_MsgProviderUpdateCapacityMinimum) Type() protoreflect.MessageType { + return _fastReflection_MsgProviderUpdateCapacityMinimum_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_MsgProviderUpdateCapacityMinimum) New() protoreflect.Message { + return new(fastReflection_MsgProviderUpdateCapacityMinimum) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_MsgProviderUpdateCapacityMinimum) Interface() protoreflect.ProtoMessage { + return (*MsgProviderUpdateCapacityMinimum)(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_MsgProviderUpdateCapacityMinimum) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Creator != "" { + value := protoreflect.ValueOfString(x.Creator) + if !f(fd_MsgProviderUpdateCapacityMinimum_creator, value) { + return + } + } + if x.ProviderId != "" { + value := protoreflect.ValueOfString(x.ProviderId) + if !f(fd_MsgProviderUpdateCapacityMinimum_providerId, value) { + return + } + } + if x.NewMinimumCapacity != uint64(0) { + value := protoreflect.ValueOfUint64(x.NewMinimumCapacity) + if !f(fd_MsgProviderUpdateCapacityMinimum_newMinimumCapacity, 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_MsgProviderUpdateCapacityMinimum) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "structs.structs.MsgProviderUpdateCapacityMinimum.creator": + return x.Creator != "" + case "structs.structs.MsgProviderUpdateCapacityMinimum.providerId": + return x.ProviderId != "" + case "structs.structs.MsgProviderUpdateCapacityMinimum.newMinimumCapacity": + return x.NewMinimumCapacity != uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgProviderUpdateCapacityMinimum")) + } + panic(fmt.Errorf("message structs.structs.MsgProviderUpdateCapacityMinimum 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_MsgProviderUpdateCapacityMinimum) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "structs.structs.MsgProviderUpdateCapacityMinimum.creator": + x.Creator = "" + case "structs.structs.MsgProviderUpdateCapacityMinimum.providerId": + x.ProviderId = "" + case "structs.structs.MsgProviderUpdateCapacityMinimum.newMinimumCapacity": + x.NewMinimumCapacity = uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgProviderUpdateCapacityMinimum")) + } + panic(fmt.Errorf("message structs.structs.MsgProviderUpdateCapacityMinimum 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_MsgProviderUpdateCapacityMinimum) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "structs.structs.MsgProviderUpdateCapacityMinimum.creator": + value := x.Creator + return protoreflect.ValueOfString(value) + case "structs.structs.MsgProviderUpdateCapacityMinimum.providerId": + value := x.ProviderId + return protoreflect.ValueOfString(value) + case "structs.structs.MsgProviderUpdateCapacityMinimum.newMinimumCapacity": + value := x.NewMinimumCapacity + return protoreflect.ValueOfUint64(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgProviderUpdateCapacityMinimum")) + } + panic(fmt.Errorf("message structs.structs.MsgProviderUpdateCapacityMinimum 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_MsgProviderUpdateCapacityMinimum) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "structs.structs.MsgProviderUpdateCapacityMinimum.creator": + x.Creator = value.Interface().(string) + case "structs.structs.MsgProviderUpdateCapacityMinimum.providerId": + x.ProviderId = value.Interface().(string) + case "structs.structs.MsgProviderUpdateCapacityMinimum.newMinimumCapacity": + x.NewMinimumCapacity = value.Uint() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgProviderUpdateCapacityMinimum")) + } + panic(fmt.Errorf("message structs.structs.MsgProviderUpdateCapacityMinimum 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_MsgProviderUpdateCapacityMinimum) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.MsgProviderUpdateCapacityMinimum.creator": + panic(fmt.Errorf("field creator of message structs.structs.MsgProviderUpdateCapacityMinimum is not mutable")) + case "structs.structs.MsgProviderUpdateCapacityMinimum.providerId": + panic(fmt.Errorf("field providerId of message structs.structs.MsgProviderUpdateCapacityMinimum is not mutable")) + case "structs.structs.MsgProviderUpdateCapacityMinimum.newMinimumCapacity": + panic(fmt.Errorf("field newMinimumCapacity of message structs.structs.MsgProviderUpdateCapacityMinimum is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgProviderUpdateCapacityMinimum")) + } + panic(fmt.Errorf("message structs.structs.MsgProviderUpdateCapacityMinimum 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_MsgProviderUpdateCapacityMinimum) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.MsgProviderUpdateCapacityMinimum.creator": + return protoreflect.ValueOfString("") + case "structs.structs.MsgProviderUpdateCapacityMinimum.providerId": + return protoreflect.ValueOfString("") + case "structs.structs.MsgProviderUpdateCapacityMinimum.newMinimumCapacity": + return protoreflect.ValueOfUint64(uint64(0)) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgProviderUpdateCapacityMinimum")) + } + panic(fmt.Errorf("message structs.structs.MsgProviderUpdateCapacityMinimum 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_MsgProviderUpdateCapacityMinimum) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgProviderUpdateCapacityMinimum", 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_MsgProviderUpdateCapacityMinimum) 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_MsgProviderUpdateCapacityMinimum) 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_MsgProviderUpdateCapacityMinimum) 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_MsgProviderUpdateCapacityMinimum) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*MsgProviderUpdateCapacityMinimum) + 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.Creator) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.ProviderId) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.NewMinimumCapacity != 0 { + n += 1 + runtime.Sov(uint64(x.NewMinimumCapacity)) + } + 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().(*MsgProviderUpdateCapacityMinimum) + 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.NewMinimumCapacity != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.NewMinimumCapacity)) + i-- + dAtA[i] = 0x18 + } + if len(x.ProviderId) > 0 { + i -= len(x.ProviderId) + copy(dAtA[i:], x.ProviderId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.ProviderId))) + i-- + dAtA[i] = 0x12 + } + if len(x.Creator) > 0 { + i -= len(x.Creator) + copy(dAtA[i:], x.Creator) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Creator))) + 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().(*MsgProviderUpdateCapacityMinimum) + 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: MsgProviderUpdateCapacityMinimum: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgProviderUpdateCapacityMinimum: 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 Creator", 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.Creator = 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 ProviderId", 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.ProviderId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field NewMinimumCapacity", wireType) + } + x.NewMinimumCapacity = 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.NewMinimumCapacity |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + 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_MsgProviderUpdateCapacityMaximum protoreflect.MessageDescriptor + fd_MsgProviderUpdateCapacityMaximum_creator protoreflect.FieldDescriptor + fd_MsgProviderUpdateCapacityMaximum_providerId protoreflect.FieldDescriptor + fd_MsgProviderUpdateCapacityMaximum_newMaximumCapacity protoreflect.FieldDescriptor +) + +func init() { + file_structs_structs_tx_proto_init() + md_MsgProviderUpdateCapacityMaximum = File_structs_structs_tx_proto.Messages().ByName("MsgProviderUpdateCapacityMaximum") + fd_MsgProviderUpdateCapacityMaximum_creator = md_MsgProviderUpdateCapacityMaximum.Fields().ByName("creator") + fd_MsgProviderUpdateCapacityMaximum_providerId = md_MsgProviderUpdateCapacityMaximum.Fields().ByName("providerId") + fd_MsgProviderUpdateCapacityMaximum_newMaximumCapacity = md_MsgProviderUpdateCapacityMaximum.Fields().ByName("newMaximumCapacity") +} + +var _ protoreflect.Message = (*fastReflection_MsgProviderUpdateCapacityMaximum)(nil) + +type fastReflection_MsgProviderUpdateCapacityMaximum MsgProviderUpdateCapacityMaximum + +func (x *MsgProviderUpdateCapacityMaximum) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgProviderUpdateCapacityMaximum)(x) +} + +func (x *MsgProviderUpdateCapacityMaximum) slowProtoReflect() protoreflect.Message { + mi := &file_structs_structs_tx_proto_msgTypes[103] + 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_MsgProviderUpdateCapacityMaximum_messageType fastReflection_MsgProviderUpdateCapacityMaximum_messageType +var _ protoreflect.MessageType = fastReflection_MsgProviderUpdateCapacityMaximum_messageType{} + +type fastReflection_MsgProviderUpdateCapacityMaximum_messageType struct{} + +func (x fastReflection_MsgProviderUpdateCapacityMaximum_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgProviderUpdateCapacityMaximum)(nil) +} +func (x fastReflection_MsgProviderUpdateCapacityMaximum_messageType) New() protoreflect.Message { + return new(fastReflection_MsgProviderUpdateCapacityMaximum) +} +func (x fastReflection_MsgProviderUpdateCapacityMaximum_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgProviderUpdateCapacityMaximum +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_MsgProviderUpdateCapacityMaximum) Descriptor() protoreflect.MessageDescriptor { + return md_MsgProviderUpdateCapacityMaximum +} + +// 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_MsgProviderUpdateCapacityMaximum) Type() protoreflect.MessageType { + return _fastReflection_MsgProviderUpdateCapacityMaximum_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_MsgProviderUpdateCapacityMaximum) New() protoreflect.Message { + return new(fastReflection_MsgProviderUpdateCapacityMaximum) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_MsgProviderUpdateCapacityMaximum) Interface() protoreflect.ProtoMessage { + return (*MsgProviderUpdateCapacityMaximum)(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_MsgProviderUpdateCapacityMaximum) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Creator != "" { + value := protoreflect.ValueOfString(x.Creator) + if !f(fd_MsgProviderUpdateCapacityMaximum_creator, value) { + return + } + } + if x.ProviderId != "" { + value := protoreflect.ValueOfString(x.ProviderId) + if !f(fd_MsgProviderUpdateCapacityMaximum_providerId, value) { + return + } + } + if x.NewMaximumCapacity != uint64(0) { + value := protoreflect.ValueOfUint64(x.NewMaximumCapacity) + if !f(fd_MsgProviderUpdateCapacityMaximum_newMaximumCapacity, 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_MsgProviderUpdateCapacityMaximum) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "structs.structs.MsgProviderUpdateCapacityMaximum.creator": + return x.Creator != "" + case "structs.structs.MsgProviderUpdateCapacityMaximum.providerId": + return x.ProviderId != "" + case "structs.structs.MsgProviderUpdateCapacityMaximum.newMaximumCapacity": + return x.NewMaximumCapacity != uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgProviderUpdateCapacityMaximum")) + } + panic(fmt.Errorf("message structs.structs.MsgProviderUpdateCapacityMaximum 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_MsgProviderUpdateCapacityMaximum) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "structs.structs.MsgProviderUpdateCapacityMaximum.creator": + x.Creator = "" + case "structs.structs.MsgProviderUpdateCapacityMaximum.providerId": + x.ProviderId = "" + case "structs.structs.MsgProviderUpdateCapacityMaximum.newMaximumCapacity": + x.NewMaximumCapacity = uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgProviderUpdateCapacityMaximum")) + } + panic(fmt.Errorf("message structs.structs.MsgProviderUpdateCapacityMaximum 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_MsgProviderUpdateCapacityMaximum) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "structs.structs.MsgProviderUpdateCapacityMaximum.creator": + value := x.Creator + return protoreflect.ValueOfString(value) + case "structs.structs.MsgProviderUpdateCapacityMaximum.providerId": + value := x.ProviderId + return protoreflect.ValueOfString(value) + case "structs.structs.MsgProviderUpdateCapacityMaximum.newMaximumCapacity": + value := x.NewMaximumCapacity + return protoreflect.ValueOfUint64(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgProviderUpdateCapacityMaximum")) + } + panic(fmt.Errorf("message structs.structs.MsgProviderUpdateCapacityMaximum 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_MsgProviderUpdateCapacityMaximum) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "structs.structs.MsgProviderUpdateCapacityMaximum.creator": + x.Creator = value.Interface().(string) + case "structs.structs.MsgProviderUpdateCapacityMaximum.providerId": + x.ProviderId = value.Interface().(string) + case "structs.structs.MsgProviderUpdateCapacityMaximum.newMaximumCapacity": + x.NewMaximumCapacity = value.Uint() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgProviderUpdateCapacityMaximum")) + } + panic(fmt.Errorf("message structs.structs.MsgProviderUpdateCapacityMaximum 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_MsgProviderUpdateCapacityMaximum) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.MsgProviderUpdateCapacityMaximum.creator": + panic(fmt.Errorf("field creator of message structs.structs.MsgProviderUpdateCapacityMaximum is not mutable")) + case "structs.structs.MsgProviderUpdateCapacityMaximum.providerId": + panic(fmt.Errorf("field providerId of message structs.structs.MsgProviderUpdateCapacityMaximum is not mutable")) + case "structs.structs.MsgProviderUpdateCapacityMaximum.newMaximumCapacity": + panic(fmt.Errorf("field newMaximumCapacity of message structs.structs.MsgProviderUpdateCapacityMaximum is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgProviderUpdateCapacityMaximum")) + } + panic(fmt.Errorf("message structs.structs.MsgProviderUpdateCapacityMaximum 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_MsgProviderUpdateCapacityMaximum) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.MsgProviderUpdateCapacityMaximum.creator": + return protoreflect.ValueOfString("") + case "structs.structs.MsgProviderUpdateCapacityMaximum.providerId": + return protoreflect.ValueOfString("") + case "structs.structs.MsgProviderUpdateCapacityMaximum.newMaximumCapacity": + return protoreflect.ValueOfUint64(uint64(0)) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgProviderUpdateCapacityMaximum")) + } + panic(fmt.Errorf("message structs.structs.MsgProviderUpdateCapacityMaximum 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_MsgProviderUpdateCapacityMaximum) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgProviderUpdateCapacityMaximum", 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_MsgProviderUpdateCapacityMaximum) 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_MsgProviderUpdateCapacityMaximum) 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_MsgProviderUpdateCapacityMaximum) 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_MsgProviderUpdateCapacityMaximum) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*MsgProviderUpdateCapacityMaximum) + 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.Creator) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.ProviderId) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.NewMaximumCapacity != 0 { + n += 1 + runtime.Sov(uint64(x.NewMaximumCapacity)) + } + 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().(*MsgProviderUpdateCapacityMaximum) + 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.NewMaximumCapacity != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.NewMaximumCapacity)) + i-- + dAtA[i] = 0x18 + } + if len(x.ProviderId) > 0 { + i -= len(x.ProviderId) + copy(dAtA[i:], x.ProviderId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.ProviderId))) + i-- + dAtA[i] = 0x12 + } + if len(x.Creator) > 0 { + i -= len(x.Creator) + copy(dAtA[i:], x.Creator) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Creator))) + 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().(*MsgProviderUpdateCapacityMaximum) + 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: MsgProviderUpdateCapacityMaximum: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgProviderUpdateCapacityMaximum: 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 Creator", 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.Creator = 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 ProviderId", 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.ProviderId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field NewMaximumCapacity", wireType) + } + x.NewMaximumCapacity = 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.NewMaximumCapacity |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + 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_MsgProviderUpdateDurationMinimum protoreflect.MessageDescriptor + fd_MsgProviderUpdateDurationMinimum_creator protoreflect.FieldDescriptor + fd_MsgProviderUpdateDurationMinimum_providerId protoreflect.FieldDescriptor + fd_MsgProviderUpdateDurationMinimum_newMinimumDuration protoreflect.FieldDescriptor +) + +func init() { + file_structs_structs_tx_proto_init() + md_MsgProviderUpdateDurationMinimum = File_structs_structs_tx_proto.Messages().ByName("MsgProviderUpdateDurationMinimum") + fd_MsgProviderUpdateDurationMinimum_creator = md_MsgProviderUpdateDurationMinimum.Fields().ByName("creator") + fd_MsgProviderUpdateDurationMinimum_providerId = md_MsgProviderUpdateDurationMinimum.Fields().ByName("providerId") + fd_MsgProviderUpdateDurationMinimum_newMinimumDuration = md_MsgProviderUpdateDurationMinimum.Fields().ByName("newMinimumDuration") +} + +var _ protoreflect.Message = (*fastReflection_MsgProviderUpdateDurationMinimum)(nil) + +type fastReflection_MsgProviderUpdateDurationMinimum MsgProviderUpdateDurationMinimum + +func (x *MsgProviderUpdateDurationMinimum) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgProviderUpdateDurationMinimum)(x) +} + +func (x *MsgProviderUpdateDurationMinimum) slowProtoReflect() protoreflect.Message { + mi := &file_structs_structs_tx_proto_msgTypes[104] + 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_MsgProviderUpdateDurationMinimum_messageType fastReflection_MsgProviderUpdateDurationMinimum_messageType +var _ protoreflect.MessageType = fastReflection_MsgProviderUpdateDurationMinimum_messageType{} + +type fastReflection_MsgProviderUpdateDurationMinimum_messageType struct{} + +func (x fastReflection_MsgProviderUpdateDurationMinimum_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgProviderUpdateDurationMinimum)(nil) +} +func (x fastReflection_MsgProviderUpdateDurationMinimum_messageType) New() protoreflect.Message { + return new(fastReflection_MsgProviderUpdateDurationMinimum) +} +func (x fastReflection_MsgProviderUpdateDurationMinimum_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgProviderUpdateDurationMinimum +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_MsgProviderUpdateDurationMinimum) Descriptor() protoreflect.MessageDescriptor { + return md_MsgProviderUpdateDurationMinimum +} + +// 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_MsgProviderUpdateDurationMinimum) Type() protoreflect.MessageType { + return _fastReflection_MsgProviderUpdateDurationMinimum_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_MsgProviderUpdateDurationMinimum) New() protoreflect.Message { + return new(fastReflection_MsgProviderUpdateDurationMinimum) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_MsgProviderUpdateDurationMinimum) Interface() protoreflect.ProtoMessage { + return (*MsgProviderUpdateDurationMinimum)(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_MsgProviderUpdateDurationMinimum) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Creator != "" { + value := protoreflect.ValueOfString(x.Creator) + if !f(fd_MsgProviderUpdateDurationMinimum_creator, value) { + return + } + } + if x.ProviderId != "" { + value := protoreflect.ValueOfString(x.ProviderId) + if !f(fd_MsgProviderUpdateDurationMinimum_providerId, value) { + return + } + } + if x.NewMinimumDuration != uint64(0) { + value := protoreflect.ValueOfUint64(x.NewMinimumDuration) + if !f(fd_MsgProviderUpdateDurationMinimum_newMinimumDuration, 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_MsgProviderUpdateDurationMinimum) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "structs.structs.MsgProviderUpdateDurationMinimum.creator": + return x.Creator != "" + case "structs.structs.MsgProviderUpdateDurationMinimum.providerId": + return x.ProviderId != "" + case "structs.structs.MsgProviderUpdateDurationMinimum.newMinimumDuration": + return x.NewMinimumDuration != uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgProviderUpdateDurationMinimum")) + } + panic(fmt.Errorf("message structs.structs.MsgProviderUpdateDurationMinimum 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_MsgProviderUpdateDurationMinimum) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "structs.structs.MsgProviderUpdateDurationMinimum.creator": + x.Creator = "" + case "structs.structs.MsgProviderUpdateDurationMinimum.providerId": + x.ProviderId = "" + case "structs.structs.MsgProviderUpdateDurationMinimum.newMinimumDuration": + x.NewMinimumDuration = uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgProviderUpdateDurationMinimum")) + } + panic(fmt.Errorf("message structs.structs.MsgProviderUpdateDurationMinimum 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_MsgProviderUpdateDurationMinimum) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "structs.structs.MsgProviderUpdateDurationMinimum.creator": + value := x.Creator + return protoreflect.ValueOfString(value) + case "structs.structs.MsgProviderUpdateDurationMinimum.providerId": + value := x.ProviderId + return protoreflect.ValueOfString(value) + case "structs.structs.MsgProviderUpdateDurationMinimum.newMinimumDuration": + value := x.NewMinimumDuration + return protoreflect.ValueOfUint64(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgProviderUpdateDurationMinimum")) + } + panic(fmt.Errorf("message structs.structs.MsgProviderUpdateDurationMinimum 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_MsgProviderUpdateDurationMinimum) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "structs.structs.MsgProviderUpdateDurationMinimum.creator": + x.Creator = value.Interface().(string) + case "structs.structs.MsgProviderUpdateDurationMinimum.providerId": + x.ProviderId = value.Interface().(string) + case "structs.structs.MsgProviderUpdateDurationMinimum.newMinimumDuration": + x.NewMinimumDuration = value.Uint() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgProviderUpdateDurationMinimum")) + } + panic(fmt.Errorf("message structs.structs.MsgProviderUpdateDurationMinimum 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_MsgProviderUpdateDurationMinimum) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.MsgProviderUpdateDurationMinimum.creator": + panic(fmt.Errorf("field creator of message structs.structs.MsgProviderUpdateDurationMinimum is not mutable")) + case "structs.structs.MsgProviderUpdateDurationMinimum.providerId": + panic(fmt.Errorf("field providerId of message structs.structs.MsgProviderUpdateDurationMinimum is not mutable")) + case "structs.structs.MsgProviderUpdateDurationMinimum.newMinimumDuration": + panic(fmt.Errorf("field newMinimumDuration of message structs.structs.MsgProviderUpdateDurationMinimum is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgProviderUpdateDurationMinimum")) + } + panic(fmt.Errorf("message structs.structs.MsgProviderUpdateDurationMinimum 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_MsgProviderUpdateDurationMinimum) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.MsgProviderUpdateDurationMinimum.creator": + return protoreflect.ValueOfString("") + case "structs.structs.MsgProviderUpdateDurationMinimum.providerId": + return protoreflect.ValueOfString("") + case "structs.structs.MsgProviderUpdateDurationMinimum.newMinimumDuration": + return protoreflect.ValueOfUint64(uint64(0)) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgProviderUpdateDurationMinimum")) + } + panic(fmt.Errorf("message structs.structs.MsgProviderUpdateDurationMinimum 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_MsgProviderUpdateDurationMinimum) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgProviderUpdateDurationMinimum", 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_MsgProviderUpdateDurationMinimum) 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_MsgProviderUpdateDurationMinimum) 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_MsgProviderUpdateDurationMinimum) 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_MsgProviderUpdateDurationMinimum) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*MsgProviderUpdateDurationMinimum) + 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.Creator) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.ProviderId) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.NewMinimumDuration != 0 { + n += 1 + runtime.Sov(uint64(x.NewMinimumDuration)) + } + 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().(*MsgProviderUpdateDurationMinimum) + 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.NewMinimumDuration != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.NewMinimumDuration)) + i-- + dAtA[i] = 0x18 + } + if len(x.ProviderId) > 0 { + i -= len(x.ProviderId) + copy(dAtA[i:], x.ProviderId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.ProviderId))) + i-- + dAtA[i] = 0x12 + } + if len(x.Creator) > 0 { + i -= len(x.Creator) + copy(dAtA[i:], x.Creator) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Creator))) + 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().(*MsgProviderUpdateDurationMinimum) + 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: MsgProviderUpdateDurationMinimum: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgProviderUpdateDurationMinimum: 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 Creator", 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.Creator = 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 ProviderId", 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.ProviderId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field NewMinimumDuration", wireType) + } + x.NewMinimumDuration = 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.NewMinimumDuration |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + 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_MsgProviderUpdateDurationMaximum protoreflect.MessageDescriptor + fd_MsgProviderUpdateDurationMaximum_creator protoreflect.FieldDescriptor + fd_MsgProviderUpdateDurationMaximum_providerId protoreflect.FieldDescriptor + fd_MsgProviderUpdateDurationMaximum_newMaximumDuration protoreflect.FieldDescriptor +) + +func init() { + file_structs_structs_tx_proto_init() + md_MsgProviderUpdateDurationMaximum = File_structs_structs_tx_proto.Messages().ByName("MsgProviderUpdateDurationMaximum") + fd_MsgProviderUpdateDurationMaximum_creator = md_MsgProviderUpdateDurationMaximum.Fields().ByName("creator") + fd_MsgProviderUpdateDurationMaximum_providerId = md_MsgProviderUpdateDurationMaximum.Fields().ByName("providerId") + fd_MsgProviderUpdateDurationMaximum_newMaximumDuration = md_MsgProviderUpdateDurationMaximum.Fields().ByName("newMaximumDuration") +} + +var _ protoreflect.Message = (*fastReflection_MsgProviderUpdateDurationMaximum)(nil) + +type fastReflection_MsgProviderUpdateDurationMaximum MsgProviderUpdateDurationMaximum + +func (x *MsgProviderUpdateDurationMaximum) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgProviderUpdateDurationMaximum)(x) +} + +func (x *MsgProviderUpdateDurationMaximum) slowProtoReflect() protoreflect.Message { + mi := &file_structs_structs_tx_proto_msgTypes[105] + 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_MsgProviderUpdateDurationMaximum_messageType fastReflection_MsgProviderUpdateDurationMaximum_messageType +var _ protoreflect.MessageType = fastReflection_MsgProviderUpdateDurationMaximum_messageType{} + +type fastReflection_MsgProviderUpdateDurationMaximum_messageType struct{} + +func (x fastReflection_MsgProviderUpdateDurationMaximum_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgProviderUpdateDurationMaximum)(nil) +} +func (x fastReflection_MsgProviderUpdateDurationMaximum_messageType) New() protoreflect.Message { + return new(fastReflection_MsgProviderUpdateDurationMaximum) +} +func (x fastReflection_MsgProviderUpdateDurationMaximum_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgProviderUpdateDurationMaximum +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_MsgProviderUpdateDurationMaximum) Descriptor() protoreflect.MessageDescriptor { + return md_MsgProviderUpdateDurationMaximum +} + +// 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_MsgProviderUpdateDurationMaximum) Type() protoreflect.MessageType { + return _fastReflection_MsgProviderUpdateDurationMaximum_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_MsgProviderUpdateDurationMaximum) New() protoreflect.Message { + return new(fastReflection_MsgProviderUpdateDurationMaximum) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_MsgProviderUpdateDurationMaximum) Interface() protoreflect.ProtoMessage { + return (*MsgProviderUpdateDurationMaximum)(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_MsgProviderUpdateDurationMaximum) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Creator != "" { + value := protoreflect.ValueOfString(x.Creator) + if !f(fd_MsgProviderUpdateDurationMaximum_creator, value) { + return + } + } + if x.ProviderId != "" { + value := protoreflect.ValueOfString(x.ProviderId) + if !f(fd_MsgProviderUpdateDurationMaximum_providerId, value) { + return + } + } + if x.NewMaximumDuration != uint64(0) { + value := protoreflect.ValueOfUint64(x.NewMaximumDuration) + if !f(fd_MsgProviderUpdateDurationMaximum_newMaximumDuration, 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_MsgProviderUpdateDurationMaximum) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "structs.structs.MsgProviderUpdateDurationMaximum.creator": + return x.Creator != "" + case "structs.structs.MsgProviderUpdateDurationMaximum.providerId": + return x.ProviderId != "" + case "structs.structs.MsgProviderUpdateDurationMaximum.newMaximumDuration": + return x.NewMaximumDuration != uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgProviderUpdateDurationMaximum")) + } + panic(fmt.Errorf("message structs.structs.MsgProviderUpdateDurationMaximum 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_MsgProviderUpdateDurationMaximum) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "structs.structs.MsgProviderUpdateDurationMaximum.creator": + x.Creator = "" + case "structs.structs.MsgProviderUpdateDurationMaximum.providerId": + x.ProviderId = "" + case "structs.structs.MsgProviderUpdateDurationMaximum.newMaximumDuration": + x.NewMaximumDuration = uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgProviderUpdateDurationMaximum")) + } + panic(fmt.Errorf("message structs.structs.MsgProviderUpdateDurationMaximum 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_MsgProviderUpdateDurationMaximum) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "structs.structs.MsgProviderUpdateDurationMaximum.creator": + value := x.Creator + return protoreflect.ValueOfString(value) + case "structs.structs.MsgProviderUpdateDurationMaximum.providerId": + value := x.ProviderId + return protoreflect.ValueOfString(value) + case "structs.structs.MsgProviderUpdateDurationMaximum.newMaximumDuration": + value := x.NewMaximumDuration + return protoreflect.ValueOfUint64(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgProviderUpdateDurationMaximum")) + } + panic(fmt.Errorf("message structs.structs.MsgProviderUpdateDurationMaximum 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_MsgProviderUpdateDurationMaximum) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "structs.structs.MsgProviderUpdateDurationMaximum.creator": + x.Creator = value.Interface().(string) + case "structs.structs.MsgProviderUpdateDurationMaximum.providerId": + x.ProviderId = value.Interface().(string) + case "structs.structs.MsgProviderUpdateDurationMaximum.newMaximumDuration": + x.NewMaximumDuration = value.Uint() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgProviderUpdateDurationMaximum")) + } + panic(fmt.Errorf("message structs.structs.MsgProviderUpdateDurationMaximum 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_MsgProviderUpdateDurationMaximum) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.MsgProviderUpdateDurationMaximum.creator": + panic(fmt.Errorf("field creator of message structs.structs.MsgProviderUpdateDurationMaximum is not mutable")) + case "structs.structs.MsgProviderUpdateDurationMaximum.providerId": + panic(fmt.Errorf("field providerId of message structs.structs.MsgProviderUpdateDurationMaximum is not mutable")) + case "structs.structs.MsgProviderUpdateDurationMaximum.newMaximumDuration": + panic(fmt.Errorf("field newMaximumDuration of message structs.structs.MsgProviderUpdateDurationMaximum is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgProviderUpdateDurationMaximum")) + } + panic(fmt.Errorf("message structs.structs.MsgProviderUpdateDurationMaximum 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_MsgProviderUpdateDurationMaximum) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.MsgProviderUpdateDurationMaximum.creator": + return protoreflect.ValueOfString("") + case "structs.structs.MsgProviderUpdateDurationMaximum.providerId": + return protoreflect.ValueOfString("") + case "structs.structs.MsgProviderUpdateDurationMaximum.newMaximumDuration": + return protoreflect.ValueOfUint64(uint64(0)) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgProviderUpdateDurationMaximum")) + } + panic(fmt.Errorf("message structs.structs.MsgProviderUpdateDurationMaximum 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_MsgProviderUpdateDurationMaximum) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgProviderUpdateDurationMaximum", 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_MsgProviderUpdateDurationMaximum) 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_MsgProviderUpdateDurationMaximum) 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_MsgProviderUpdateDurationMaximum) 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_MsgProviderUpdateDurationMaximum) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*MsgProviderUpdateDurationMaximum) + 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.Creator) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.ProviderId) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.NewMaximumDuration != 0 { + n += 1 + runtime.Sov(uint64(x.NewMaximumDuration)) + } + 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().(*MsgProviderUpdateDurationMaximum) + 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.NewMaximumDuration != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.NewMaximumDuration)) + i-- + dAtA[i] = 0x18 + } + if len(x.ProviderId) > 0 { + i -= len(x.ProviderId) + copy(dAtA[i:], x.ProviderId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.ProviderId))) + i-- + dAtA[i] = 0x12 + } + if len(x.Creator) > 0 { + i -= len(x.Creator) + copy(dAtA[i:], x.Creator) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Creator))) + 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().(*MsgProviderUpdateDurationMaximum) + 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: MsgProviderUpdateDurationMaximum: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgProviderUpdateDurationMaximum: 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 Creator", 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.Creator = 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 ProviderId", 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.ProviderId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field NewMaximumDuration", wireType) + } + x.NewMaximumDuration = 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.NewMaximumDuration |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + 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_MsgProviderUpdateAccessPolicy protoreflect.MessageDescriptor + fd_MsgProviderUpdateAccessPolicy_creator protoreflect.FieldDescriptor + fd_MsgProviderUpdateAccessPolicy_providerId protoreflect.FieldDescriptor + fd_MsgProviderUpdateAccessPolicy_accessPolicy protoreflect.FieldDescriptor +) + +func init() { + file_structs_structs_tx_proto_init() + md_MsgProviderUpdateAccessPolicy = File_structs_structs_tx_proto.Messages().ByName("MsgProviderUpdateAccessPolicy") + fd_MsgProviderUpdateAccessPolicy_creator = md_MsgProviderUpdateAccessPolicy.Fields().ByName("creator") + fd_MsgProviderUpdateAccessPolicy_providerId = md_MsgProviderUpdateAccessPolicy.Fields().ByName("providerId") + fd_MsgProviderUpdateAccessPolicy_accessPolicy = md_MsgProviderUpdateAccessPolicy.Fields().ByName("accessPolicy") +} + +var _ protoreflect.Message = (*fastReflection_MsgProviderUpdateAccessPolicy)(nil) + +type fastReflection_MsgProviderUpdateAccessPolicy MsgProviderUpdateAccessPolicy + +func (x *MsgProviderUpdateAccessPolicy) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgProviderUpdateAccessPolicy)(x) +} + +func (x *MsgProviderUpdateAccessPolicy) slowProtoReflect() protoreflect.Message { + mi := &file_structs_structs_tx_proto_msgTypes[106] + 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_MsgProviderUpdateAccessPolicy_messageType fastReflection_MsgProviderUpdateAccessPolicy_messageType +var _ protoreflect.MessageType = fastReflection_MsgProviderUpdateAccessPolicy_messageType{} + +type fastReflection_MsgProviderUpdateAccessPolicy_messageType struct{} + +func (x fastReflection_MsgProviderUpdateAccessPolicy_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgProviderUpdateAccessPolicy)(nil) +} +func (x fastReflection_MsgProviderUpdateAccessPolicy_messageType) New() protoreflect.Message { + return new(fastReflection_MsgProviderUpdateAccessPolicy) +} +func (x fastReflection_MsgProviderUpdateAccessPolicy_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgProviderUpdateAccessPolicy +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_MsgProviderUpdateAccessPolicy) Descriptor() protoreflect.MessageDescriptor { + return md_MsgProviderUpdateAccessPolicy +} + +// 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_MsgProviderUpdateAccessPolicy) Type() protoreflect.MessageType { + return _fastReflection_MsgProviderUpdateAccessPolicy_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_MsgProviderUpdateAccessPolicy) New() protoreflect.Message { + return new(fastReflection_MsgProviderUpdateAccessPolicy) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_MsgProviderUpdateAccessPolicy) Interface() protoreflect.ProtoMessage { + return (*MsgProviderUpdateAccessPolicy)(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_MsgProviderUpdateAccessPolicy) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Creator != "" { + value := protoreflect.ValueOfString(x.Creator) + if !f(fd_MsgProviderUpdateAccessPolicy_creator, value) { + return + } + } + if x.ProviderId != "" { + value := protoreflect.ValueOfString(x.ProviderId) + if !f(fd_MsgProviderUpdateAccessPolicy_providerId, value) { + return + } + } + if x.AccessPolicy != 0 { + value := protoreflect.ValueOfEnum((protoreflect.EnumNumber)(x.AccessPolicy)) + if !f(fd_MsgProviderUpdateAccessPolicy_accessPolicy, 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_MsgProviderUpdateAccessPolicy) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "structs.structs.MsgProviderUpdateAccessPolicy.creator": + return x.Creator != "" + case "structs.structs.MsgProviderUpdateAccessPolicy.providerId": + return x.ProviderId != "" + case "structs.structs.MsgProviderUpdateAccessPolicy.accessPolicy": + return x.AccessPolicy != 0 + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgProviderUpdateAccessPolicy")) + } + panic(fmt.Errorf("message structs.structs.MsgProviderUpdateAccessPolicy 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_MsgProviderUpdateAccessPolicy) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "structs.structs.MsgProviderUpdateAccessPolicy.creator": + x.Creator = "" + case "structs.structs.MsgProviderUpdateAccessPolicy.providerId": + x.ProviderId = "" + case "structs.structs.MsgProviderUpdateAccessPolicy.accessPolicy": + x.AccessPolicy = 0 + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgProviderUpdateAccessPolicy")) + } + panic(fmt.Errorf("message structs.structs.MsgProviderUpdateAccessPolicy 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_MsgProviderUpdateAccessPolicy) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "structs.structs.MsgProviderUpdateAccessPolicy.creator": + value := x.Creator + return protoreflect.ValueOfString(value) + case "structs.structs.MsgProviderUpdateAccessPolicy.providerId": + value := x.ProviderId + return protoreflect.ValueOfString(value) + case "structs.structs.MsgProviderUpdateAccessPolicy.accessPolicy": + value := x.AccessPolicy + return protoreflect.ValueOfEnum((protoreflect.EnumNumber)(value)) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgProviderUpdateAccessPolicy")) + } + panic(fmt.Errorf("message structs.structs.MsgProviderUpdateAccessPolicy 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_MsgProviderUpdateAccessPolicy) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "structs.structs.MsgProviderUpdateAccessPolicy.creator": + x.Creator = value.Interface().(string) + case "structs.structs.MsgProviderUpdateAccessPolicy.providerId": + x.ProviderId = value.Interface().(string) + case "structs.structs.MsgProviderUpdateAccessPolicy.accessPolicy": + x.AccessPolicy = (ProviderAccessPolicy)(value.Enum()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgProviderUpdateAccessPolicy")) + } + panic(fmt.Errorf("message structs.structs.MsgProviderUpdateAccessPolicy 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_MsgProviderUpdateAccessPolicy) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.MsgProviderUpdateAccessPolicy.creator": + panic(fmt.Errorf("field creator of message structs.structs.MsgProviderUpdateAccessPolicy is not mutable")) + case "structs.structs.MsgProviderUpdateAccessPolicy.providerId": + panic(fmt.Errorf("field providerId of message structs.structs.MsgProviderUpdateAccessPolicy is not mutable")) + case "structs.structs.MsgProviderUpdateAccessPolicy.accessPolicy": + panic(fmt.Errorf("field accessPolicy of message structs.structs.MsgProviderUpdateAccessPolicy is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgProviderUpdateAccessPolicy")) + } + panic(fmt.Errorf("message structs.structs.MsgProviderUpdateAccessPolicy 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_MsgProviderUpdateAccessPolicy) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.MsgProviderUpdateAccessPolicy.creator": + return protoreflect.ValueOfString("") + case "structs.structs.MsgProviderUpdateAccessPolicy.providerId": + return protoreflect.ValueOfString("") + case "structs.structs.MsgProviderUpdateAccessPolicy.accessPolicy": + return protoreflect.ValueOfEnum(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgProviderUpdateAccessPolicy")) + } + panic(fmt.Errorf("message structs.structs.MsgProviderUpdateAccessPolicy 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_MsgProviderUpdateAccessPolicy) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgProviderUpdateAccessPolicy", 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_MsgProviderUpdateAccessPolicy) 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_MsgProviderUpdateAccessPolicy) 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_MsgProviderUpdateAccessPolicy) 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_MsgProviderUpdateAccessPolicy) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*MsgProviderUpdateAccessPolicy) + 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.Creator) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.ProviderId) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.AccessPolicy != 0 { + n += 1 + runtime.Sov(uint64(x.AccessPolicy)) + } + 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().(*MsgProviderUpdateAccessPolicy) + 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.AccessPolicy != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.AccessPolicy)) + i-- + dAtA[i] = 0x18 + } + if len(x.ProviderId) > 0 { + i -= len(x.ProviderId) + copy(dAtA[i:], x.ProviderId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.ProviderId))) + i-- + dAtA[i] = 0x12 + } + if len(x.Creator) > 0 { + i -= len(x.Creator) + copy(dAtA[i:], x.Creator) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Creator))) + 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().(*MsgProviderUpdateAccessPolicy) + 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: MsgProviderUpdateAccessPolicy: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgProviderUpdateAccessPolicy: 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 Creator", 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.Creator = 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 ProviderId", 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.ProviderId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field AccessPolicy", wireType) + } + x.AccessPolicy = 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.AccessPolicy |= ProviderAccessPolicy(b&0x7F) << shift + if b < 0x80 { + break + } + } + 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 _ protoreflect.List = (*_MsgProviderGuildGrant_3_list)(nil) + +type _MsgProviderGuildGrant_3_list struct { + list *[]string +} + +func (x *_MsgProviderGuildGrant_3_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_MsgProviderGuildGrant_3_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfString((*x.list)[i]) +} + +func (x *_MsgProviderGuildGrant_3_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_MsgProviderGuildGrant_3_list) Append(value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_MsgProviderGuildGrant_3_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message MsgProviderGuildGrant at list field GuildId as it is not of Message kind")) +} + +func (x *_MsgProviderGuildGrant_3_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_MsgProviderGuildGrant_3_list) NewElement() protoreflect.Value { + v := "" + return protoreflect.ValueOfString(v) +} + +func (x *_MsgProviderGuildGrant_3_list) IsValid() bool { + return x.list != nil +} + +var ( + md_MsgProviderGuildGrant protoreflect.MessageDescriptor + fd_MsgProviderGuildGrant_creator protoreflect.FieldDescriptor + fd_MsgProviderGuildGrant_providerId protoreflect.FieldDescriptor + fd_MsgProviderGuildGrant_guildId protoreflect.FieldDescriptor +) + +func init() { + file_structs_structs_tx_proto_init() + md_MsgProviderGuildGrant = File_structs_structs_tx_proto.Messages().ByName("MsgProviderGuildGrant") + fd_MsgProviderGuildGrant_creator = md_MsgProviderGuildGrant.Fields().ByName("creator") + fd_MsgProviderGuildGrant_providerId = md_MsgProviderGuildGrant.Fields().ByName("providerId") + fd_MsgProviderGuildGrant_guildId = md_MsgProviderGuildGrant.Fields().ByName("guildId") +} + +var _ protoreflect.Message = (*fastReflection_MsgProviderGuildGrant)(nil) + +type fastReflection_MsgProviderGuildGrant MsgProviderGuildGrant + +func (x *MsgProviderGuildGrant) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgProviderGuildGrant)(x) +} + +func (x *MsgProviderGuildGrant) slowProtoReflect() protoreflect.Message { + mi := &file_structs_structs_tx_proto_msgTypes[107] + 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_MsgProviderGuildGrant_messageType fastReflection_MsgProviderGuildGrant_messageType +var _ protoreflect.MessageType = fastReflection_MsgProviderGuildGrant_messageType{} + +type fastReflection_MsgProviderGuildGrant_messageType struct{} + +func (x fastReflection_MsgProviderGuildGrant_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgProviderGuildGrant)(nil) +} +func (x fastReflection_MsgProviderGuildGrant_messageType) New() protoreflect.Message { + return new(fastReflection_MsgProviderGuildGrant) +} +func (x fastReflection_MsgProviderGuildGrant_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgProviderGuildGrant +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_MsgProviderGuildGrant) Descriptor() protoreflect.MessageDescriptor { + return md_MsgProviderGuildGrant +} + +// 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_MsgProviderGuildGrant) Type() protoreflect.MessageType { + return _fastReflection_MsgProviderGuildGrant_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_MsgProviderGuildGrant) New() protoreflect.Message { + return new(fastReflection_MsgProviderGuildGrant) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_MsgProviderGuildGrant) Interface() protoreflect.ProtoMessage { + return (*MsgProviderGuildGrant)(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_MsgProviderGuildGrant) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Creator != "" { + value := protoreflect.ValueOfString(x.Creator) + if !f(fd_MsgProviderGuildGrant_creator, value) { + return + } + } + if x.ProviderId != "" { + value := protoreflect.ValueOfString(x.ProviderId) + if !f(fd_MsgProviderGuildGrant_providerId, value) { + return + } + } + if len(x.GuildId) != 0 { + value := protoreflect.ValueOfList(&_MsgProviderGuildGrant_3_list{list: &x.GuildId}) + if !f(fd_MsgProviderGuildGrant_guildId, 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_MsgProviderGuildGrant) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "structs.structs.MsgProviderGuildGrant.creator": + return x.Creator != "" + case "structs.structs.MsgProviderGuildGrant.providerId": + return x.ProviderId != "" + case "structs.structs.MsgProviderGuildGrant.guildId": + return len(x.GuildId) != 0 + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgProviderGuildGrant")) + } + panic(fmt.Errorf("message structs.structs.MsgProviderGuildGrant 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_MsgProviderGuildGrant) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "structs.structs.MsgProviderGuildGrant.creator": + x.Creator = "" + case "structs.structs.MsgProviderGuildGrant.providerId": + x.ProviderId = "" + case "structs.structs.MsgProviderGuildGrant.guildId": + x.GuildId = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgProviderGuildGrant")) + } + panic(fmt.Errorf("message structs.structs.MsgProviderGuildGrant 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_MsgProviderGuildGrant) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "structs.structs.MsgProviderGuildGrant.creator": + value := x.Creator + return protoreflect.ValueOfString(value) + case "structs.structs.MsgProviderGuildGrant.providerId": + value := x.ProviderId + return protoreflect.ValueOfString(value) + case "structs.structs.MsgProviderGuildGrant.guildId": + if len(x.GuildId) == 0 { + return protoreflect.ValueOfList(&_MsgProviderGuildGrant_3_list{}) + } + listValue := &_MsgProviderGuildGrant_3_list{list: &x.GuildId} + return protoreflect.ValueOfList(listValue) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgProviderGuildGrant")) + } + panic(fmt.Errorf("message structs.structs.MsgProviderGuildGrant 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_MsgProviderGuildGrant) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "structs.structs.MsgProviderGuildGrant.creator": + x.Creator = value.Interface().(string) + case "structs.structs.MsgProviderGuildGrant.providerId": + x.ProviderId = value.Interface().(string) + case "structs.structs.MsgProviderGuildGrant.guildId": + lv := value.List() + clv := lv.(*_MsgProviderGuildGrant_3_list) + x.GuildId = *clv.list + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgProviderGuildGrant")) + } + panic(fmt.Errorf("message structs.structs.MsgProviderGuildGrant 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_MsgProviderGuildGrant) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.MsgProviderGuildGrant.guildId": + if x.GuildId == nil { + x.GuildId = []string{} + } + value := &_MsgProviderGuildGrant_3_list{list: &x.GuildId} + return protoreflect.ValueOfList(value) + case "structs.structs.MsgProviderGuildGrant.creator": + panic(fmt.Errorf("field creator of message structs.structs.MsgProviderGuildGrant is not mutable")) + case "structs.structs.MsgProviderGuildGrant.providerId": + panic(fmt.Errorf("field providerId of message structs.structs.MsgProviderGuildGrant is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgProviderGuildGrant")) + } + panic(fmt.Errorf("message structs.structs.MsgProviderGuildGrant 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_MsgProviderGuildGrant) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.MsgProviderGuildGrant.creator": + return protoreflect.ValueOfString("") + case "structs.structs.MsgProviderGuildGrant.providerId": + return protoreflect.ValueOfString("") + case "structs.structs.MsgProviderGuildGrant.guildId": + list := []string{} + return protoreflect.ValueOfList(&_MsgProviderGuildGrant_3_list{list: &list}) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgProviderGuildGrant")) + } + panic(fmt.Errorf("message structs.structs.MsgProviderGuildGrant 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_MsgProviderGuildGrant) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgProviderGuildGrant", 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_MsgProviderGuildGrant) 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_MsgProviderGuildGrant) 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_MsgProviderGuildGrant) 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_MsgProviderGuildGrant) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*MsgProviderGuildGrant) + 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.Creator) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.ProviderId) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if len(x.GuildId) > 0 { + for _, s := range x.GuildId { + l = len(s) + 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().(*MsgProviderGuildGrant) + 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.GuildId) > 0 { + for iNdEx := len(x.GuildId) - 1; iNdEx >= 0; iNdEx-- { + i -= len(x.GuildId[iNdEx]) + copy(dAtA[i:], x.GuildId[iNdEx]) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.GuildId[iNdEx]))) + i-- + dAtA[i] = 0x1a + } + } + if len(x.ProviderId) > 0 { + i -= len(x.ProviderId) + copy(dAtA[i:], x.ProviderId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.ProviderId))) + i-- + dAtA[i] = 0x12 + } + if len(x.Creator) > 0 { + i -= len(x.Creator) + copy(dAtA[i:], x.Creator) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Creator))) + 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().(*MsgProviderGuildGrant) + 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: MsgProviderGuildGrant: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgProviderGuildGrant: 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 Creator", 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.Creator = 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 ProviderId", 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.ProviderId = 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 GuildId", 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.GuildId = append(x.GuildId, 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 _ protoreflect.List = (*_MsgProviderGuildRevoke_3_list)(nil) + +type _MsgProviderGuildRevoke_3_list struct { + list *[]string +} + +func (x *_MsgProviderGuildRevoke_3_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_MsgProviderGuildRevoke_3_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfString((*x.list)[i]) +} + +func (x *_MsgProviderGuildRevoke_3_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_MsgProviderGuildRevoke_3_list) Append(value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_MsgProviderGuildRevoke_3_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message MsgProviderGuildRevoke at list field GuildId as it is not of Message kind")) +} + +func (x *_MsgProviderGuildRevoke_3_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_MsgProviderGuildRevoke_3_list) NewElement() protoreflect.Value { + v := "" + return protoreflect.ValueOfString(v) +} + +func (x *_MsgProviderGuildRevoke_3_list) IsValid() bool { + return x.list != nil +} + +var ( + md_MsgProviderGuildRevoke protoreflect.MessageDescriptor + fd_MsgProviderGuildRevoke_creator protoreflect.FieldDescriptor + fd_MsgProviderGuildRevoke_providerId protoreflect.FieldDescriptor + fd_MsgProviderGuildRevoke_guildId protoreflect.FieldDescriptor +) + +func init() { + file_structs_structs_tx_proto_init() + md_MsgProviderGuildRevoke = File_structs_structs_tx_proto.Messages().ByName("MsgProviderGuildRevoke") + fd_MsgProviderGuildRevoke_creator = md_MsgProviderGuildRevoke.Fields().ByName("creator") + fd_MsgProviderGuildRevoke_providerId = md_MsgProviderGuildRevoke.Fields().ByName("providerId") + fd_MsgProviderGuildRevoke_guildId = md_MsgProviderGuildRevoke.Fields().ByName("guildId") +} + +var _ protoreflect.Message = (*fastReflection_MsgProviderGuildRevoke)(nil) + +type fastReflection_MsgProviderGuildRevoke MsgProviderGuildRevoke + +func (x *MsgProviderGuildRevoke) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgProviderGuildRevoke)(x) +} + +func (x *MsgProviderGuildRevoke) slowProtoReflect() protoreflect.Message { + mi := &file_structs_structs_tx_proto_msgTypes[108] + 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_MsgProviderGuildRevoke_messageType fastReflection_MsgProviderGuildRevoke_messageType +var _ protoreflect.MessageType = fastReflection_MsgProviderGuildRevoke_messageType{} + +type fastReflection_MsgProviderGuildRevoke_messageType struct{} + +func (x fastReflection_MsgProviderGuildRevoke_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgProviderGuildRevoke)(nil) +} +func (x fastReflection_MsgProviderGuildRevoke_messageType) New() protoreflect.Message { + return new(fastReflection_MsgProviderGuildRevoke) +} +func (x fastReflection_MsgProviderGuildRevoke_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgProviderGuildRevoke +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_MsgProviderGuildRevoke) Descriptor() protoreflect.MessageDescriptor { + return md_MsgProviderGuildRevoke +} + +// 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_MsgProviderGuildRevoke) Type() protoreflect.MessageType { + return _fastReflection_MsgProviderGuildRevoke_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_MsgProviderGuildRevoke) New() protoreflect.Message { + return new(fastReflection_MsgProviderGuildRevoke) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_MsgProviderGuildRevoke) Interface() protoreflect.ProtoMessage { + return (*MsgProviderGuildRevoke)(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_MsgProviderGuildRevoke) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Creator != "" { + value := protoreflect.ValueOfString(x.Creator) + if !f(fd_MsgProviderGuildRevoke_creator, value) { + return + } + } + if x.ProviderId != "" { + value := protoreflect.ValueOfString(x.ProviderId) + if !f(fd_MsgProviderGuildRevoke_providerId, value) { + return + } + } + if len(x.GuildId) != 0 { + value := protoreflect.ValueOfList(&_MsgProviderGuildRevoke_3_list{list: &x.GuildId}) + if !f(fd_MsgProviderGuildRevoke_guildId, 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_MsgProviderGuildRevoke) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "structs.structs.MsgProviderGuildRevoke.creator": + return x.Creator != "" + case "structs.structs.MsgProviderGuildRevoke.providerId": + return x.ProviderId != "" + case "structs.structs.MsgProviderGuildRevoke.guildId": + return len(x.GuildId) != 0 + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgProviderGuildRevoke")) + } + panic(fmt.Errorf("message structs.structs.MsgProviderGuildRevoke 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_MsgProviderGuildRevoke) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "structs.structs.MsgProviderGuildRevoke.creator": + x.Creator = "" + case "structs.structs.MsgProviderGuildRevoke.providerId": + x.ProviderId = "" + case "structs.structs.MsgProviderGuildRevoke.guildId": + x.GuildId = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgProviderGuildRevoke")) + } + panic(fmt.Errorf("message structs.structs.MsgProviderGuildRevoke 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_MsgProviderGuildRevoke) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "structs.structs.MsgProviderGuildRevoke.creator": + value := x.Creator + return protoreflect.ValueOfString(value) + case "structs.structs.MsgProviderGuildRevoke.providerId": + value := x.ProviderId + return protoreflect.ValueOfString(value) + case "structs.structs.MsgProviderGuildRevoke.guildId": + if len(x.GuildId) == 0 { + return protoreflect.ValueOfList(&_MsgProviderGuildRevoke_3_list{}) + } + listValue := &_MsgProviderGuildRevoke_3_list{list: &x.GuildId} + return protoreflect.ValueOfList(listValue) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgProviderGuildRevoke")) + } + panic(fmt.Errorf("message structs.structs.MsgProviderGuildRevoke 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_MsgProviderGuildRevoke) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "structs.structs.MsgProviderGuildRevoke.creator": + x.Creator = value.Interface().(string) + case "structs.structs.MsgProviderGuildRevoke.providerId": + x.ProviderId = value.Interface().(string) + case "structs.structs.MsgProviderGuildRevoke.guildId": + lv := value.List() + clv := lv.(*_MsgProviderGuildRevoke_3_list) + x.GuildId = *clv.list + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgProviderGuildRevoke")) + } + panic(fmt.Errorf("message structs.structs.MsgProviderGuildRevoke 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_MsgProviderGuildRevoke) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.MsgProviderGuildRevoke.guildId": + if x.GuildId == nil { + x.GuildId = []string{} + } + value := &_MsgProviderGuildRevoke_3_list{list: &x.GuildId} + return protoreflect.ValueOfList(value) + case "structs.structs.MsgProviderGuildRevoke.creator": + panic(fmt.Errorf("field creator of message structs.structs.MsgProviderGuildRevoke is not mutable")) + case "structs.structs.MsgProviderGuildRevoke.providerId": + panic(fmt.Errorf("field providerId of message structs.structs.MsgProviderGuildRevoke is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgProviderGuildRevoke")) + } + panic(fmt.Errorf("message structs.structs.MsgProviderGuildRevoke 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_MsgProviderGuildRevoke) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.MsgProviderGuildRevoke.creator": + return protoreflect.ValueOfString("") + case "structs.structs.MsgProviderGuildRevoke.providerId": + return protoreflect.ValueOfString("") + case "structs.structs.MsgProviderGuildRevoke.guildId": + list := []string{} + return protoreflect.ValueOfList(&_MsgProviderGuildRevoke_3_list{list: &list}) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgProviderGuildRevoke")) + } + panic(fmt.Errorf("message structs.structs.MsgProviderGuildRevoke 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_MsgProviderGuildRevoke) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgProviderGuildRevoke", 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_MsgProviderGuildRevoke) 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_MsgProviderGuildRevoke) 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_MsgProviderGuildRevoke) 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_MsgProviderGuildRevoke) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*MsgProviderGuildRevoke) + 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.Creator) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.ProviderId) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if len(x.GuildId) > 0 { + for _, s := range x.GuildId { + l = len(s) + 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().(*MsgProviderGuildRevoke) + 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.GuildId) > 0 { + for iNdEx := len(x.GuildId) - 1; iNdEx >= 0; iNdEx-- { + i -= len(x.GuildId[iNdEx]) + copy(dAtA[i:], x.GuildId[iNdEx]) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.GuildId[iNdEx]))) + i-- + dAtA[i] = 0x1a + } + } + if len(x.ProviderId) > 0 { + i -= len(x.ProviderId) + copy(dAtA[i:], x.ProviderId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.ProviderId))) + i-- + dAtA[i] = 0x12 + } + if len(x.Creator) > 0 { + i -= len(x.Creator) + copy(dAtA[i:], x.Creator) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Creator))) + 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().(*MsgProviderGuildRevoke) + 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: MsgProviderGuildRevoke: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgProviderGuildRevoke: 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 Creator", 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.Creator = 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 ProviderId", 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.ProviderId = 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 GuildId", 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.GuildId = append(x.GuildId, 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_MsgProviderDelete protoreflect.MessageDescriptor + fd_MsgProviderDelete_creator protoreflect.FieldDescriptor + fd_MsgProviderDelete_providerId protoreflect.FieldDescriptor +) + +func init() { + file_structs_structs_tx_proto_init() + md_MsgProviderDelete = File_structs_structs_tx_proto.Messages().ByName("MsgProviderDelete") + fd_MsgProviderDelete_creator = md_MsgProviderDelete.Fields().ByName("creator") + fd_MsgProviderDelete_providerId = md_MsgProviderDelete.Fields().ByName("providerId") +} + +var _ protoreflect.Message = (*fastReflection_MsgProviderDelete)(nil) + +type fastReflection_MsgProviderDelete MsgProviderDelete + +func (x *MsgProviderDelete) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgProviderDelete)(x) +} + +func (x *MsgProviderDelete) slowProtoReflect() protoreflect.Message { + mi := &file_structs_structs_tx_proto_msgTypes[109] + 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_MsgProviderDelete_messageType fastReflection_MsgProviderDelete_messageType +var _ protoreflect.MessageType = fastReflection_MsgProviderDelete_messageType{} + +type fastReflection_MsgProviderDelete_messageType struct{} + +func (x fastReflection_MsgProviderDelete_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgProviderDelete)(nil) +} +func (x fastReflection_MsgProviderDelete_messageType) New() protoreflect.Message { + return new(fastReflection_MsgProviderDelete) +} +func (x fastReflection_MsgProviderDelete_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgProviderDelete +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_MsgProviderDelete) Descriptor() protoreflect.MessageDescriptor { + return md_MsgProviderDelete +} + +// 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_MsgProviderDelete) Type() protoreflect.MessageType { + return _fastReflection_MsgProviderDelete_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_MsgProviderDelete) New() protoreflect.Message { + return new(fastReflection_MsgProviderDelete) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_MsgProviderDelete) Interface() protoreflect.ProtoMessage { + return (*MsgProviderDelete)(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_MsgProviderDelete) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Creator != "" { + value := protoreflect.ValueOfString(x.Creator) + if !f(fd_MsgProviderDelete_creator, value) { + return + } + } + if x.ProviderId != "" { + value := protoreflect.ValueOfString(x.ProviderId) + if !f(fd_MsgProviderDelete_providerId, 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_MsgProviderDelete) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "structs.structs.MsgProviderDelete.creator": + return x.Creator != "" + case "structs.structs.MsgProviderDelete.providerId": + return x.ProviderId != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgProviderDelete")) + } + panic(fmt.Errorf("message structs.structs.MsgProviderDelete 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_MsgProviderDelete) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "structs.structs.MsgProviderDelete.creator": + x.Creator = "" + case "structs.structs.MsgProviderDelete.providerId": + x.ProviderId = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgProviderDelete")) + } + panic(fmt.Errorf("message structs.structs.MsgProviderDelete 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_MsgProviderDelete) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "structs.structs.MsgProviderDelete.creator": + value := x.Creator + return protoreflect.ValueOfString(value) + case "structs.structs.MsgProviderDelete.providerId": + value := x.ProviderId + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgProviderDelete")) + } + panic(fmt.Errorf("message structs.structs.MsgProviderDelete 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_MsgProviderDelete) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "structs.structs.MsgProviderDelete.creator": + x.Creator = value.Interface().(string) + case "structs.structs.MsgProviderDelete.providerId": + x.ProviderId = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgProviderDelete")) + } + panic(fmt.Errorf("message structs.structs.MsgProviderDelete 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_MsgProviderDelete) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.MsgProviderDelete.creator": + panic(fmt.Errorf("field creator of message structs.structs.MsgProviderDelete is not mutable")) + case "structs.structs.MsgProviderDelete.providerId": + panic(fmt.Errorf("field providerId of message structs.structs.MsgProviderDelete is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgProviderDelete")) + } + panic(fmt.Errorf("message structs.structs.MsgProviderDelete 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_MsgProviderDelete) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "structs.structs.MsgProviderDelete.creator": + return protoreflect.ValueOfString("") + case "structs.structs.MsgProviderDelete.providerId": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgProviderDelete")) + } + panic(fmt.Errorf("message structs.structs.MsgProviderDelete 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_MsgProviderDelete) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgProviderDelete", 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_MsgProviderDelete) 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_MsgProviderDelete) 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_MsgProviderDelete) 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_MsgProviderDelete) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*MsgProviderDelete) + 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.Creator) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.ProviderId) + 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().(*MsgProviderDelete) + 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.ProviderId) > 0 { + i -= len(x.ProviderId) + copy(dAtA[i:], x.ProviderId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.ProviderId))) + i-- + dAtA[i] = 0x12 + } + if len(x.Creator) > 0 { + i -= len(x.Creator) + copy(dAtA[i:], x.Creator) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Creator))) + 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().(*MsgProviderDelete) + 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: MsgProviderDelete: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgProviderDelete: 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 Creator", 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.Creator = 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 ProviderId", 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.ProviderId = 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_MsgProviderResponse protoreflect.MessageDescriptor +) + +func init() { + file_structs_structs_tx_proto_init() + md_MsgProviderResponse = File_structs_structs_tx_proto.Messages().ByName("MsgProviderResponse") +} + +var _ protoreflect.Message = (*fastReflection_MsgProviderResponse)(nil) + +type fastReflection_MsgProviderResponse MsgProviderResponse + +func (x *MsgProviderResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgProviderResponse)(x) +} + +func (x *MsgProviderResponse) slowProtoReflect() protoreflect.Message { + mi := &file_structs_structs_tx_proto_msgTypes[110] + 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_MsgProviderResponse_messageType fastReflection_MsgProviderResponse_messageType +var _ protoreflect.MessageType = fastReflection_MsgProviderResponse_messageType{} + +type fastReflection_MsgProviderResponse_messageType struct{} + +func (x fastReflection_MsgProviderResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgProviderResponse)(nil) +} +func (x fastReflection_MsgProviderResponse_messageType) New() protoreflect.Message { + return new(fastReflection_MsgProviderResponse) +} +func (x fastReflection_MsgProviderResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgProviderResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_MsgProviderResponse) Descriptor() protoreflect.MessageDescriptor { + return md_MsgProviderResponse +} + +// 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_MsgProviderResponse) Type() protoreflect.MessageType { + return _fastReflection_MsgProviderResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_MsgProviderResponse) New() protoreflect.Message { + return new(fastReflection_MsgProviderResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_MsgProviderResponse) Interface() protoreflect.ProtoMessage { + return (*MsgProviderResponse)(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_MsgProviderResponse) 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_MsgProviderResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgProviderResponse")) + } + panic(fmt.Errorf("message structs.structs.MsgProviderResponse 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_MsgProviderResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgProviderResponse")) + } + panic(fmt.Errorf("message structs.structs.MsgProviderResponse 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_MsgProviderResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgProviderResponse")) + } + panic(fmt.Errorf("message structs.structs.MsgProviderResponse 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_MsgProviderResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgProviderResponse")) + } + panic(fmt.Errorf("message structs.structs.MsgProviderResponse 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_MsgProviderResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgProviderResponse")) + } + panic(fmt.Errorf("message structs.structs.MsgProviderResponse 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_MsgProviderResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: structs.structs.MsgProviderResponse")) + } + panic(fmt.Errorf("message structs.structs.MsgProviderResponse 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_MsgProviderResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in structs.structs.MsgProviderResponse", 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_MsgProviderResponse) 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_MsgProviderResponse) 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_MsgProviderResponse) 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_MsgProviderResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*MsgProviderResponse) + 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().(*MsgProviderResponse) + 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().(*MsgProviderResponse) + 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: MsgProviderResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgProviderResponse: 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, + } +} + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.27.0 +// protoc (unknown) +// source: structs/structs/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) +) + +// 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 module 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_structs_structs_tx_proto_msgTypes[0] + 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_structs_structs_tx_proto_rawDescGZIP(), []int{0} +} + +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_structs_structs_tx_proto_msgTypes[1] + 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_structs_structs_tx_proto_rawDescGZIP(), []int{1} +} + +type MsgAddressRegister struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + PlayerId string `protobuf:"bytes,2,opt,name=playerId,proto3" json:"playerId,omitempty"` + Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"` + ProofPubKey string `protobuf:"bytes,4,opt,name=proofPubKey,proto3" json:"proofPubKey,omitempty"` + ProofSignature string `protobuf:"bytes,5,opt,name=proofSignature,proto3" json:"proofSignature,omitempty"` + Permissions uint64 `protobuf:"varint,6,opt,name=permissions,proto3" json:"permissions,omitempty"` +} + +func (x *MsgAddressRegister) Reset() { + *x = MsgAddressRegister{} + if protoimpl.UnsafeEnabled { + mi := &file_structs_structs_tx_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MsgAddressRegister) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MsgAddressRegister) ProtoMessage() {} + +// Deprecated: Use MsgAddressRegister.ProtoReflect.Descriptor instead. +func (*MsgAddressRegister) Descriptor() ([]byte, []int) { + return file_structs_structs_tx_proto_rawDescGZIP(), []int{2} +} + +func (x *MsgAddressRegister) GetCreator() string { + if x != nil { + return x.Creator + } + return "" +} + +func (x *MsgAddressRegister) GetPlayerId() string { + if x != nil { + return x.PlayerId + } + return "" +} + +func (x *MsgAddressRegister) GetAddress() string { + if x != nil { + return x.Address + } + return "" +} + +func (x *MsgAddressRegister) GetProofPubKey() string { + if x != nil { + return x.ProofPubKey + } + return "" +} + +func (x *MsgAddressRegister) GetProofSignature() string { + if x != nil { + return x.ProofSignature + } + return "" +} + +func (x *MsgAddressRegister) GetPermissions() uint64 { + if x != nil { + return x.Permissions + } + return 0 +} + +type MsgAddressRegisterResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *MsgAddressRegisterResponse) Reset() { + *x = MsgAddressRegisterResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_structs_structs_tx_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MsgAddressRegisterResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MsgAddressRegisterResponse) ProtoMessage() {} + +// Deprecated: Use MsgAddressRegisterResponse.ProtoReflect.Descriptor instead. +func (*MsgAddressRegisterResponse) Descriptor() ([]byte, []int) { + return file_structs_structs_tx_proto_rawDescGZIP(), []int{3} +} + +type MsgAddressRevoke struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` +} + +func (x *MsgAddressRevoke) Reset() { + *x = MsgAddressRevoke{} + if protoimpl.UnsafeEnabled { + mi := &file_structs_structs_tx_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MsgAddressRevoke) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MsgAddressRevoke) ProtoMessage() {} + +// Deprecated: Use MsgAddressRevoke.ProtoReflect.Descriptor instead. +func (*MsgAddressRevoke) Descriptor() ([]byte, []int) { + return file_structs_structs_tx_proto_rawDescGZIP(), []int{4} +} + +func (x *MsgAddressRevoke) GetCreator() string { + if x != nil { + return x.Creator + } + return "" +} + +func (x *MsgAddressRevoke) GetAddress() string { + if x != nil { + return x.Address + } + return "" +} + +type MsgAddressRevokeResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *MsgAddressRevokeResponse) Reset() { + *x = MsgAddressRevokeResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_structs_structs_tx_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MsgAddressRevokeResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MsgAddressRevokeResponse) ProtoMessage() {} + +// Deprecated: Use MsgAddressRevokeResponse.ProtoReflect.Descriptor instead. +func (*MsgAddressRevokeResponse) Descriptor() ([]byte, []int) { + return file_structs_structs_tx_proto_rawDescGZIP(), []int{5} +} + +type MsgAllocationCreate struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + Controller string `protobuf:"bytes,2,opt,name=controller,proto3" json:"controller,omitempty"` + SourceObjectId string `protobuf:"bytes,3,opt,name=sourceObjectId,proto3" json:"sourceObjectId,omitempty"` + AllocationType AllocationType `protobuf:"varint,4,opt,name=allocationType,proto3,enum=structs.structs.AllocationType" json:"allocationType,omitempty"` + Power uint64 `protobuf:"varint,5,opt,name=power,proto3" json:"power,omitempty"` +} + +func (x *MsgAllocationCreate) Reset() { + *x = MsgAllocationCreate{} + if protoimpl.UnsafeEnabled { + mi := &file_structs_structs_tx_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MsgAllocationCreate) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MsgAllocationCreate) ProtoMessage() {} + +// Deprecated: Use MsgAllocationCreate.ProtoReflect.Descriptor instead. +func (*MsgAllocationCreate) Descriptor() ([]byte, []int) { + return file_structs_structs_tx_proto_rawDescGZIP(), []int{6} +} + +func (x *MsgAllocationCreate) GetCreator() string { + if x != nil { + return x.Creator + } + return "" +} + +func (x *MsgAllocationCreate) GetController() string { + if x != nil { + return x.Controller + } + return "" +} + +func (x *MsgAllocationCreate) GetSourceObjectId() string { + if x != nil { + return x.SourceObjectId + } + return "" +} + +func (x *MsgAllocationCreate) GetAllocationType() AllocationType { + if x != nil { + return x.AllocationType + } + return AllocationType_static +} + +func (x *MsgAllocationCreate) GetPower() uint64 { + if x != nil { + return x.Power + } + return 0 +} + +type MsgAllocationCreateResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AllocationId string `protobuf:"bytes,1,opt,name=allocationId,proto3" json:"allocationId,omitempty"` +} + +func (x *MsgAllocationCreateResponse) Reset() { + *x = MsgAllocationCreateResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_structs_structs_tx_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MsgAllocationCreateResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MsgAllocationCreateResponse) ProtoMessage() {} + +// Deprecated: Use MsgAllocationCreateResponse.ProtoReflect.Descriptor instead. +func (*MsgAllocationCreateResponse) Descriptor() ([]byte, []int) { + return file_structs_structs_tx_proto_rawDescGZIP(), []int{7} +} + +func (x *MsgAllocationCreateResponse) GetAllocationId() string { + if x != nil { + return x.AllocationId + } + return "" +} + +type MsgAllocationDelete struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + AllocationId string `protobuf:"bytes,2,opt,name=allocationId,proto3" json:"allocationId,omitempty"` +} + +func (x *MsgAllocationDelete) Reset() { + *x = MsgAllocationDelete{} + if protoimpl.UnsafeEnabled { + mi := &file_structs_structs_tx_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MsgAllocationDelete) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MsgAllocationDelete) ProtoMessage() {} + +// Deprecated: Use MsgAllocationDelete.ProtoReflect.Descriptor instead. +func (*MsgAllocationDelete) Descriptor() ([]byte, []int) { + return file_structs_structs_tx_proto_rawDescGZIP(), []int{8} +} + +func (x *MsgAllocationDelete) GetCreator() string { + if x != nil { + return x.Creator + } + return "" +} + +func (x *MsgAllocationDelete) GetAllocationId() string { + if x != nil { + return x.AllocationId + } + return "" +} + +type MsgAllocationDeleteResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AllocationId string `protobuf:"bytes,1,opt,name=allocationId,proto3" json:"allocationId,omitempty"` +} + +func (x *MsgAllocationDeleteResponse) Reset() { + *x = MsgAllocationDeleteResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_structs_structs_tx_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MsgAllocationDeleteResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MsgAllocationDeleteResponse) ProtoMessage() {} + +// Deprecated: Use MsgAllocationDeleteResponse.ProtoReflect.Descriptor instead. +func (*MsgAllocationDeleteResponse) Descriptor() ([]byte, []int) { + return file_structs_structs_tx_proto_rawDescGZIP(), []int{9} +} + +func (x *MsgAllocationDeleteResponse) GetAllocationId() string { + if x != nil { + return x.AllocationId + } + return "" +} + +type MsgAllocationUpdate struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + AllocationId string `protobuf:"bytes,2,opt,name=allocationId,proto3" json:"allocationId,omitempty"` + Power uint64 `protobuf:"varint,3,opt,name=power,proto3" json:"power,omitempty"` +} + +func (x *MsgAllocationUpdate) Reset() { + *x = MsgAllocationUpdate{} + if protoimpl.UnsafeEnabled { + mi := &file_structs_structs_tx_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MsgAllocationUpdate) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MsgAllocationUpdate) ProtoMessage() {} + +// Deprecated: Use MsgAllocationUpdate.ProtoReflect.Descriptor instead. +func (*MsgAllocationUpdate) Descriptor() ([]byte, []int) { + return file_structs_structs_tx_proto_rawDescGZIP(), []int{10} +} + +func (x *MsgAllocationUpdate) GetCreator() string { + if x != nil { + return x.Creator + } + return "" +} + +func (x *MsgAllocationUpdate) GetAllocationId() string { + if x != nil { + return x.AllocationId + } + return "" +} + +func (x *MsgAllocationUpdate) GetPower() uint64 { + if x != nil { + return x.Power + } + return 0 +} + +type MsgAllocationUpdateResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AllocationId string `protobuf:"bytes,1,opt,name=allocationId,proto3" json:"allocationId,omitempty"` +} + +func (x *MsgAllocationUpdateResponse) Reset() { + *x = MsgAllocationUpdateResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_structs_structs_tx_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MsgAllocationUpdateResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MsgAllocationUpdateResponse) ProtoMessage() {} + +// Deprecated: Use MsgAllocationUpdateResponse.ProtoReflect.Descriptor instead. +func (*MsgAllocationUpdateResponse) Descriptor() ([]byte, []int) { + return file_structs_structs_tx_proto_rawDescGZIP(), []int{11} +} + +func (x *MsgAllocationUpdateResponse) GetAllocationId() string { + if x != nil { + return x.AllocationId + } + return "" +} + +type MsgAllocationTransfer struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + AllocationId string `protobuf:"bytes,2,opt,name=allocationId,proto3" json:"allocationId,omitempty"` + Controller string `protobuf:"bytes,3,opt,name=controller,proto3" json:"controller,omitempty"` +} + +func (x *MsgAllocationTransfer) Reset() { + *x = MsgAllocationTransfer{} + if protoimpl.UnsafeEnabled { + mi := &file_structs_structs_tx_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MsgAllocationTransfer) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MsgAllocationTransfer) ProtoMessage() {} + +// Deprecated: Use MsgAllocationTransfer.ProtoReflect.Descriptor instead. +func (*MsgAllocationTransfer) Descriptor() ([]byte, []int) { + return file_structs_structs_tx_proto_rawDescGZIP(), []int{12} +} + +func (x *MsgAllocationTransfer) GetCreator() string { + if x != nil { + return x.Creator + } + return "" +} + +func (x *MsgAllocationTransfer) GetAllocationId() string { + if x != nil { + return x.AllocationId + } + return "" +} + +func (x *MsgAllocationTransfer) GetController() string { + if x != nil { + return x.Controller + } + return "" +} + +type MsgAllocationTransferResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AllocationId string `protobuf:"bytes,1,opt,name=allocationId,proto3" json:"allocationId,omitempty"` +} + +func (x *MsgAllocationTransferResponse) Reset() { + *x = MsgAllocationTransferResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_structs_structs_tx_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MsgAllocationTransferResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MsgAllocationTransferResponse) ProtoMessage() {} + +// Deprecated: Use MsgAllocationTransferResponse.ProtoReflect.Descriptor instead. +func (*MsgAllocationTransferResponse) Descriptor() ([]byte, []int) { + return file_structs_structs_tx_proto_rawDescGZIP(), []int{13} +} + +func (x *MsgAllocationTransferResponse) GetAllocationId() string { + if x != nil { + return x.AllocationId + } + return "" +} + +type MsgFleetMove struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + FleetId string `protobuf:"bytes,2,opt,name=fleetId,proto3" json:"fleetId,omitempty"` + DestinationLocationId string `protobuf:"bytes,3,opt,name=destinationLocationId,proto3" json:"destinationLocationId,omitempty"` +} + +func (x *MsgFleetMove) Reset() { + *x = MsgFleetMove{} + if protoimpl.UnsafeEnabled { + mi := &file_structs_structs_tx_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MsgFleetMove) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MsgFleetMove) ProtoMessage() {} + +// Deprecated: Use MsgFleetMove.ProtoReflect.Descriptor instead. +func (*MsgFleetMove) Descriptor() ([]byte, []int) { + return file_structs_structs_tx_proto_rawDescGZIP(), []int{14} +} + +func (x *MsgFleetMove) GetCreator() string { + if x != nil { + return x.Creator + } + return "" +} + +func (x *MsgFleetMove) GetFleetId() string { + if x != nil { + return x.FleetId + } + return "" +} + +func (x *MsgFleetMove) GetDestinationLocationId() string { + if x != nil { + return x.DestinationLocationId + } + return "" +} + +type MsgFleetMoveResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Fleet *Fleet `protobuf:"bytes,1,opt,name=fleet,proto3" json:"fleet,omitempty"` +} + +func (x *MsgFleetMoveResponse) Reset() { + *x = MsgFleetMoveResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_structs_structs_tx_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MsgFleetMoveResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MsgFleetMoveResponse) ProtoMessage() {} + +// Deprecated: Use MsgFleetMoveResponse.ProtoReflect.Descriptor instead. +func (*MsgFleetMoveResponse) Descriptor() ([]byte, []int) { + return file_structs_structs_tx_proto_rawDescGZIP(), []int{15} +} + +func (x *MsgFleetMoveResponse) GetFleet() *Fleet { + if x != nil { + return x.Fleet + } + return nil +} + +type MsgGuildBankMint struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + AmountAlpha uint64 `protobuf:"varint,2,opt,name=amountAlpha,proto3" json:"amountAlpha,omitempty"` + AmountToken uint64 `protobuf:"varint,3,opt,name=amountToken,proto3" json:"amountToken,omitempty"` +} + +func (x *MsgGuildBankMint) Reset() { + *x = MsgGuildBankMint{} + if protoimpl.UnsafeEnabled { + mi := &file_structs_structs_tx_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MsgGuildBankMint) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MsgGuildBankMint) ProtoMessage() {} + +// Deprecated: Use MsgGuildBankMint.ProtoReflect.Descriptor instead. +func (*MsgGuildBankMint) Descriptor() ([]byte, []int) { + return file_structs_structs_tx_proto_rawDescGZIP(), []int{16} +} + +func (x *MsgGuildBankMint) GetCreator() string { + if x != nil { + return x.Creator + } + return "" +} + +func (x *MsgGuildBankMint) GetAmountAlpha() uint64 { + if x != nil { + return x.AmountAlpha + } + return 0 +} + +func (x *MsgGuildBankMint) GetAmountToken() uint64 { + if x != nil { + return x.AmountToken + } + return 0 +} + +type MsgGuildBankMintResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *MsgGuildBankMintResponse) Reset() { + *x = MsgGuildBankMintResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_structs_structs_tx_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MsgGuildBankMintResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MsgGuildBankMintResponse) ProtoMessage() {} + +// Deprecated: Use MsgGuildBankMintResponse.ProtoReflect.Descriptor instead. +func (*MsgGuildBankMintResponse) Descriptor() ([]byte, []int) { + return file_structs_structs_tx_proto_rawDescGZIP(), []int{17} +} + +type MsgGuildBankRedeem struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + AmountToken *v1beta1.Coin `protobuf:"bytes,2,opt,name=amountToken,proto3" json:"amountToken,omitempty"` +} + +func (x *MsgGuildBankRedeem) Reset() { + *x = MsgGuildBankRedeem{} + if protoimpl.UnsafeEnabled { + mi := &file_structs_structs_tx_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MsgGuildBankRedeem) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MsgGuildBankRedeem) ProtoMessage() {} + +// Deprecated: Use MsgGuildBankRedeem.ProtoReflect.Descriptor instead. +func (*MsgGuildBankRedeem) Descriptor() ([]byte, []int) { + return file_structs_structs_tx_proto_rawDescGZIP(), []int{18} +} + +func (x *MsgGuildBankRedeem) GetCreator() string { + if x != nil { + return x.Creator + } + return "" +} + +func (x *MsgGuildBankRedeem) GetAmountToken() *v1beta1.Coin { + if x != nil { + return x.AmountToken + } + return nil +} + +type MsgGuildBankRedeemResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *MsgGuildBankRedeemResponse) Reset() { + *x = MsgGuildBankRedeemResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_structs_structs_tx_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MsgGuildBankRedeemResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MsgGuildBankRedeemResponse) ProtoMessage() {} + +// Deprecated: Use MsgGuildBankRedeemResponse.ProtoReflect.Descriptor instead. +func (*MsgGuildBankRedeemResponse) Descriptor() ([]byte, []int) { + return file_structs_structs_tx_proto_rawDescGZIP(), []int{19} +} + +type MsgGuildBankConfiscateAndBurn struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` + AmountToken uint64 `protobuf:"varint,3,opt,name=amountToken,proto3" json:"amountToken,omitempty"` +} + +func (x *MsgGuildBankConfiscateAndBurn) Reset() { + *x = MsgGuildBankConfiscateAndBurn{} + if protoimpl.UnsafeEnabled { + mi := &file_structs_structs_tx_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return &protoiface.Methods{ - NoUnkeyedLiterals: struct{}{}, - Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, - Size: size, - Marshal: marshal, - Unmarshal: unmarshal, - Merge: nil, - CheckInitialized: nil, +} + +func (x *MsgGuildBankConfiscateAndBurn) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MsgGuildBankConfiscateAndBurn) ProtoMessage() {} + +// Deprecated: Use MsgGuildBankConfiscateAndBurn.ProtoReflect.Descriptor instead. +func (*MsgGuildBankConfiscateAndBurn) Descriptor() ([]byte, []int) { + return file_structs_structs_tx_proto_rawDescGZIP(), []int{20} +} + +func (x *MsgGuildBankConfiscateAndBurn) GetCreator() string { + if x != nil { + return x.Creator } + return "" } -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.27.0 -// protoc (unknown) -// source: structs/structs/tx.proto +func (x *MsgGuildBankConfiscateAndBurn) GetAddress() string { + if x != nil { + return x.Address + } + return "" +} -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) -) +func (x *MsgGuildBankConfiscateAndBurn) GetAmountToken() uint64 { + if x != nil { + return x.AmountToken + } + return 0 +} -// MsgUpdateParams is the Msg/UpdateParams request type. -type MsgUpdateParams struct { +type MsgGuildBankConfiscateAndBurnResponse 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 module parameters to update. - // - // NOTE: All parameters must be supplied. - Params *Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params,omitempty"` +func (x *MsgGuildBankConfiscateAndBurnResponse) Reset() { + *x = MsgGuildBankConfiscateAndBurnResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_structs_structs_tx_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (x *MsgUpdateParams) Reset() { - *x = MsgUpdateParams{} +func (x *MsgGuildBankConfiscateAndBurnResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MsgGuildBankConfiscateAndBurnResponse) ProtoMessage() {} + +// Deprecated: Use MsgGuildBankConfiscateAndBurnResponse.ProtoReflect.Descriptor instead. +func (*MsgGuildBankConfiscateAndBurnResponse) Descriptor() ([]byte, []int) { + return file_structs_structs_tx_proto_rawDescGZIP(), []int{21} +} + +type MsgGuildCreate struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + Endpoint string `protobuf:"bytes,2,opt,name=endpoint,proto3" json:"endpoint,omitempty"` + EntrySubstationId string `protobuf:"bytes,3,opt,name=entrySubstationId,proto3" json:"entrySubstationId,omitempty"` +} + +func (x *MsgGuildCreate) Reset() { + *x = MsgGuildCreate{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_tx_proto_msgTypes[0] + mi := &file_structs_structs_tx_proto_msgTypes[22] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgUpdateParams) String() string { +func (x *MsgGuildCreate) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgUpdateParams) ProtoMessage() {} +func (*MsgGuildCreate) ProtoMessage() {} -// Deprecated: Use MsgUpdateParams.ProtoReflect.Descriptor instead. -func (*MsgUpdateParams) Descriptor() ([]byte, []int) { - return file_structs_structs_tx_proto_rawDescGZIP(), []int{0} +// Deprecated: Use MsgGuildCreate.ProtoReflect.Descriptor instead. +func (*MsgGuildCreate) Descriptor() ([]byte, []int) { + return file_structs_structs_tx_proto_rawDescGZIP(), []int{22} } -func (x *MsgUpdateParams) GetAuthority() string { +func (x *MsgGuildCreate) GetCreator() string { if x != nil { - return x.Authority + return x.Creator } return "" } -func (x *MsgUpdateParams) GetParams() *Params { +func (x *MsgGuildCreate) GetEndpoint() string { if x != nil { - return x.Params + return x.Endpoint } - return nil + return "" } -// MsgUpdateParamsResponse defines the response structure for executing a -// MsgUpdateParams message. -type MsgUpdateParamsResponse struct { +func (x *MsgGuildCreate) GetEntrySubstationId() string { + if x != nil { + return x.EntrySubstationId + } + return "" +} + +type MsgGuildCreateResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields + + GuildId string `protobuf:"bytes,1,opt,name=guildId,proto3" json:"guildId,omitempty"` } -func (x *MsgUpdateParamsResponse) Reset() { - *x = MsgUpdateParamsResponse{} +func (x *MsgGuildCreateResponse) Reset() { + *x = MsgGuildCreateResponse{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_tx_proto_msgTypes[1] + mi := &file_structs_structs_tx_proto_msgTypes[23] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgUpdateParamsResponse) String() string { +func (x *MsgGuildCreateResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgUpdateParamsResponse) ProtoMessage() {} +func (*MsgGuildCreateResponse) ProtoMessage() {} -// Deprecated: Use MsgUpdateParamsResponse.ProtoReflect.Descriptor instead. -func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int) { - return file_structs_structs_tx_proto_rawDescGZIP(), []int{1} +// Deprecated: Use MsgGuildCreateResponse.ProtoReflect.Descriptor instead. +func (*MsgGuildCreateResponse) Descriptor() ([]byte, []int) { + return file_structs_structs_tx_proto_rawDescGZIP(), []int{23} } -type MsgAddressRegister struct { +func (x *MsgGuildCreateResponse) GetGuildId() string { + if x != nil { + return x.GuildId + } + return "" +} + +type MsgGuildUpdateOwnerId struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` - PlayerId string `protobuf:"bytes,2,opt,name=playerId,proto3" json:"playerId,omitempty"` - Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"` - ProofPubKey string `protobuf:"bytes,4,opt,name=proofPubKey,proto3" json:"proofPubKey,omitempty"` - ProofSignature string `protobuf:"bytes,5,opt,name=proofSignature,proto3" json:"proofSignature,omitempty"` - Permissions uint64 `protobuf:"varint,6,opt,name=permissions,proto3" json:"permissions,omitempty"` + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + GuildId string `protobuf:"bytes,2,opt,name=guildId,proto3" json:"guildId,omitempty"` + Owner string `protobuf:"bytes,3,opt,name=owner,proto3" json:"owner,omitempty"` } -func (x *MsgAddressRegister) Reset() { - *x = MsgAddressRegister{} +func (x *MsgGuildUpdateOwnerId) Reset() { + *x = MsgGuildUpdateOwnerId{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_tx_proto_msgTypes[2] + mi := &file_structs_structs_tx_proto_msgTypes[24] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgAddressRegister) String() string { +func (x *MsgGuildUpdateOwnerId) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgAddressRegister) ProtoMessage() {} +func (*MsgGuildUpdateOwnerId) ProtoMessage() {} -// Deprecated: Use MsgAddressRegister.ProtoReflect.Descriptor instead. -func (*MsgAddressRegister) Descriptor() ([]byte, []int) { - return file_structs_structs_tx_proto_rawDescGZIP(), []int{2} +// Deprecated: Use MsgGuildUpdateOwnerId.ProtoReflect.Descriptor instead. +func (*MsgGuildUpdateOwnerId) Descriptor() ([]byte, []int) { + return file_structs_structs_tx_proto_rawDescGZIP(), []int{24} } -func (x *MsgAddressRegister) GetCreator() string { +func (x *MsgGuildUpdateOwnerId) GetCreator() string { if x != nil { return x.Creator } return "" } -func (x *MsgAddressRegister) GetPlayerId() string { +func (x *MsgGuildUpdateOwnerId) GetGuildId() string { if x != nil { - return x.PlayerId + return x.GuildId } return "" } -func (x *MsgAddressRegister) GetAddress() string { +func (x *MsgGuildUpdateOwnerId) GetOwner() string { if x != nil { - return x.Address + return x.Owner } return "" } -func (x *MsgAddressRegister) GetProofPubKey() string { +type MsgGuildUpdateEntrySubstationId struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + GuildId string `protobuf:"bytes,2,opt,name=guildId,proto3" json:"guildId,omitempty"` + EntrySubstationId string `protobuf:"bytes,3,opt,name=entrySubstationId,proto3" json:"entrySubstationId,omitempty"` +} + +func (x *MsgGuildUpdateEntrySubstationId) Reset() { + *x = MsgGuildUpdateEntrySubstationId{} + if protoimpl.UnsafeEnabled { + mi := &file_structs_structs_tx_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MsgGuildUpdateEntrySubstationId) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MsgGuildUpdateEntrySubstationId) ProtoMessage() {} + +// Deprecated: Use MsgGuildUpdateEntrySubstationId.ProtoReflect.Descriptor instead. +func (*MsgGuildUpdateEntrySubstationId) Descriptor() ([]byte, []int) { + return file_structs_structs_tx_proto_rawDescGZIP(), []int{25} +} + +func (x *MsgGuildUpdateEntrySubstationId) GetCreator() string { if x != nil { - return x.ProofPubKey + return x.Creator } return "" } -func (x *MsgAddressRegister) GetProofSignature() string { +func (x *MsgGuildUpdateEntrySubstationId) GetGuildId() string { if x != nil { - return x.ProofSignature + return x.GuildId } return "" } -func (x *MsgAddressRegister) GetPermissions() uint64 { +func (x *MsgGuildUpdateEntrySubstationId) GetEntrySubstationId() string { if x != nil { - return x.Permissions + return x.EntrySubstationId } - return 0 + return "" } -type MsgAddressRegisterResponse struct { +type MsgGuildUpdateEndpoint struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields + + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + GuildId string `protobuf:"bytes,2,opt,name=guildId,proto3" json:"guildId,omitempty"` + Endpoint string `protobuf:"bytes,3,opt,name=endpoint,proto3" json:"endpoint,omitempty"` } -func (x *MsgAddressRegisterResponse) Reset() { - *x = MsgAddressRegisterResponse{} +func (x *MsgGuildUpdateEndpoint) Reset() { + *x = MsgGuildUpdateEndpoint{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_tx_proto_msgTypes[3] + mi := &file_structs_structs_tx_proto_msgTypes[26] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgAddressRegisterResponse) String() string { +func (x *MsgGuildUpdateEndpoint) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgAddressRegisterResponse) ProtoMessage() {} +func (*MsgGuildUpdateEndpoint) ProtoMessage() {} -// Deprecated: Use MsgAddressRegisterResponse.ProtoReflect.Descriptor instead. -func (*MsgAddressRegisterResponse) Descriptor() ([]byte, []int) { - return file_structs_structs_tx_proto_rawDescGZIP(), []int{3} +// Deprecated: Use MsgGuildUpdateEndpoint.ProtoReflect.Descriptor instead. +func (*MsgGuildUpdateEndpoint) Descriptor() ([]byte, []int) { + return file_structs_structs_tx_proto_rawDescGZIP(), []int{26} } -type MsgAddressRevoke struct { +func (x *MsgGuildUpdateEndpoint) GetCreator() string { + if x != nil { + return x.Creator + } + return "" +} + +func (x *MsgGuildUpdateEndpoint) GetGuildId() string { + if x != nil { + return x.GuildId + } + return "" +} + +func (x *MsgGuildUpdateEndpoint) GetEndpoint() string { + if x != nil { + return x.Endpoint + } + return "" +} + +type MsgGuildUpdateJoinInfusionMinimum struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` - Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + GuildId string `protobuf:"bytes,2,opt,name=guildId,proto3" json:"guildId,omitempty"` + JoinInfusionMinimum uint64 `protobuf:"varint,3,opt,name=joinInfusionMinimum,proto3" json:"joinInfusionMinimum,omitempty"` } -func (x *MsgAddressRevoke) Reset() { - *x = MsgAddressRevoke{} +func (x *MsgGuildUpdateJoinInfusionMinimum) Reset() { + *x = MsgGuildUpdateJoinInfusionMinimum{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_tx_proto_msgTypes[4] + mi := &file_structs_structs_tx_proto_msgTypes[27] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgAddressRevoke) String() string { +func (x *MsgGuildUpdateJoinInfusionMinimum) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgAddressRevoke) ProtoMessage() {} +func (*MsgGuildUpdateJoinInfusionMinimum) ProtoMessage() {} -// Deprecated: Use MsgAddressRevoke.ProtoReflect.Descriptor instead. -func (*MsgAddressRevoke) Descriptor() ([]byte, []int) { - return file_structs_structs_tx_proto_rawDescGZIP(), []int{4} +// Deprecated: Use MsgGuildUpdateJoinInfusionMinimum.ProtoReflect.Descriptor instead. +func (*MsgGuildUpdateJoinInfusionMinimum) Descriptor() ([]byte, []int) { + return file_structs_structs_tx_proto_rawDescGZIP(), []int{27} } -func (x *MsgAddressRevoke) GetCreator() string { +func (x *MsgGuildUpdateJoinInfusionMinimum) GetCreator() string { if x != nil { return x.Creator } return "" } -func (x *MsgAddressRevoke) GetAddress() string { +func (x *MsgGuildUpdateJoinInfusionMinimum) GetGuildId() string { if x != nil { - return x.Address + return x.GuildId } return "" } -type MsgAddressRevokeResponse struct { +func (x *MsgGuildUpdateJoinInfusionMinimum) GetJoinInfusionMinimum() uint64 { + if x != nil { + return x.JoinInfusionMinimum + } + return 0 +} + +type MsgGuildUpdateJoinInfusionMinimumBypassByRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields + + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + GuildId string `protobuf:"bytes,2,opt,name=guildId,proto3" json:"guildId,omitempty"` + GuildJoinBypassLevel GuildJoinBypassLevel `protobuf:"varint,3,opt,name=guildJoinBypassLevel,proto3,enum=structs.structs.GuildJoinBypassLevel" json:"guildJoinBypassLevel,omitempty"` } -func (x *MsgAddressRevokeResponse) Reset() { - *x = MsgAddressRevokeResponse{} +func (x *MsgGuildUpdateJoinInfusionMinimumBypassByRequest) Reset() { + *x = MsgGuildUpdateJoinInfusionMinimumBypassByRequest{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_tx_proto_msgTypes[5] + mi := &file_structs_structs_tx_proto_msgTypes[28] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgAddressRevokeResponse) String() string { +func (x *MsgGuildUpdateJoinInfusionMinimumBypassByRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgAddressRevokeResponse) ProtoMessage() {} +func (*MsgGuildUpdateJoinInfusionMinimumBypassByRequest) ProtoMessage() {} -// Deprecated: Use MsgAddressRevokeResponse.ProtoReflect.Descriptor instead. -func (*MsgAddressRevokeResponse) Descriptor() ([]byte, []int) { - return file_structs_structs_tx_proto_rawDescGZIP(), []int{5} +// Deprecated: Use MsgGuildUpdateJoinInfusionMinimumBypassByRequest.ProtoReflect.Descriptor instead. +func (*MsgGuildUpdateJoinInfusionMinimumBypassByRequest) Descriptor() ([]byte, []int) { + return file_structs_structs_tx_proto_rawDescGZIP(), []int{28} } -type MsgAllocationCreate struct { +func (x *MsgGuildUpdateJoinInfusionMinimumBypassByRequest) GetCreator() string { + if x != nil { + return x.Creator + } + return "" +} + +func (x *MsgGuildUpdateJoinInfusionMinimumBypassByRequest) GetGuildId() string { + if x != nil { + return x.GuildId + } + return "" +} + +func (x *MsgGuildUpdateJoinInfusionMinimumBypassByRequest) GetGuildJoinBypassLevel() GuildJoinBypassLevel { + if x != nil { + return x.GuildJoinBypassLevel + } + return GuildJoinBypassLevel_closed +} + +type MsgGuildUpdateJoinInfusionMinimumBypassByInvite struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` - Controller string `protobuf:"bytes,2,opt,name=controller,proto3" json:"controller,omitempty"` - SourceObjectId string `protobuf:"bytes,3,opt,name=sourceObjectId,proto3" json:"sourceObjectId,omitempty"` - AllocationType AllocationType `protobuf:"varint,4,opt,name=allocationType,proto3,enum=structs.structs.AllocationType" json:"allocationType,omitempty"` - Power uint64 `protobuf:"varint,5,opt,name=power,proto3" json:"power,omitempty"` + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + GuildId string `protobuf:"bytes,2,opt,name=guildId,proto3" json:"guildId,omitempty"` + GuildJoinBypassLevel GuildJoinBypassLevel `protobuf:"varint,3,opt,name=guildJoinBypassLevel,proto3,enum=structs.structs.GuildJoinBypassLevel" json:"guildJoinBypassLevel,omitempty"` } -func (x *MsgAllocationCreate) Reset() { - *x = MsgAllocationCreate{} +func (x *MsgGuildUpdateJoinInfusionMinimumBypassByInvite) Reset() { + *x = MsgGuildUpdateJoinInfusionMinimumBypassByInvite{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_tx_proto_msgTypes[6] + mi := &file_structs_structs_tx_proto_msgTypes[29] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgAllocationCreate) String() string { +func (x *MsgGuildUpdateJoinInfusionMinimumBypassByInvite) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgAllocationCreate) ProtoMessage() {} +func (*MsgGuildUpdateJoinInfusionMinimumBypassByInvite) ProtoMessage() {} -// Deprecated: Use MsgAllocationCreate.ProtoReflect.Descriptor instead. -func (*MsgAllocationCreate) Descriptor() ([]byte, []int) { - return file_structs_structs_tx_proto_rawDescGZIP(), []int{6} +// Deprecated: Use MsgGuildUpdateJoinInfusionMinimumBypassByInvite.ProtoReflect.Descriptor instead. +func (*MsgGuildUpdateJoinInfusionMinimumBypassByInvite) Descriptor() ([]byte, []int) { + return file_structs_structs_tx_proto_rawDescGZIP(), []int{29} } -func (x *MsgAllocationCreate) GetCreator() string { +func (x *MsgGuildUpdateJoinInfusionMinimumBypassByInvite) GetCreator() string { if x != nil { return x.Creator } return "" } -func (x *MsgAllocationCreate) GetController() string { +func (x *MsgGuildUpdateJoinInfusionMinimumBypassByInvite) GetGuildId() string { if x != nil { - return x.Controller + return x.GuildId } return "" } -func (x *MsgAllocationCreate) GetSourceObjectId() string { +func (x *MsgGuildUpdateJoinInfusionMinimumBypassByInvite) GetGuildJoinBypassLevel() GuildJoinBypassLevel { if x != nil { - return x.SourceObjectId + return x.GuildJoinBypassLevel + } + return GuildJoinBypassLevel_closed +} + +type MsgGuildUpdateResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *MsgGuildUpdateResponse) Reset() { + *x = MsgGuildUpdateResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_structs_structs_tx_proto_msgTypes[30] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MsgGuildUpdateResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MsgGuildUpdateResponse) ProtoMessage() {} + +// Deprecated: Use MsgGuildUpdateResponse.ProtoReflect.Descriptor instead. +func (*MsgGuildUpdateResponse) Descriptor() ([]byte, []int) { + return file_structs_structs_tx_proto_rawDescGZIP(), []int{30} +} + +type MsgGuildMembershipInvite struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + GuildId string `protobuf:"bytes,2,opt,name=guildId,proto3" json:"guildId,omitempty"` + PlayerId string `protobuf:"bytes,3,opt,name=playerId,proto3" json:"playerId,omitempty"` + SubstationId string `protobuf:"bytes,4,opt,name=substationId,proto3" json:"substationId,omitempty"` +} + +func (x *MsgGuildMembershipInvite) Reset() { + *x = MsgGuildMembershipInvite{} + if protoimpl.UnsafeEnabled { + mi := &file_structs_structs_tx_proto_msgTypes[31] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MsgGuildMembershipInvite) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MsgGuildMembershipInvite) ProtoMessage() {} + +// Deprecated: Use MsgGuildMembershipInvite.ProtoReflect.Descriptor instead. +func (*MsgGuildMembershipInvite) Descriptor() ([]byte, []int) { + return file_structs_structs_tx_proto_rawDescGZIP(), []int{31} +} + +func (x *MsgGuildMembershipInvite) GetCreator() string { + if x != nil { + return x.Creator } return "" } -func (x *MsgAllocationCreate) GetAllocationType() AllocationType { +func (x *MsgGuildMembershipInvite) GetGuildId() string { if x != nil { - return x.AllocationType + return x.GuildId } - return AllocationType_static + return "" } -func (x *MsgAllocationCreate) GetPower() uint64 { +func (x *MsgGuildMembershipInvite) GetPlayerId() string { if x != nil { - return x.Power + return x.PlayerId } - return 0 + return "" } -type MsgAllocationCreateResponse struct { +func (x *MsgGuildMembershipInvite) GetSubstationId() string { + if x != nil { + return x.SubstationId + } + return "" +} + +type MsgGuildMembershipInviteApprove struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - AllocationId string `protobuf:"bytes,1,opt,name=allocationId,proto3" json:"allocationId,omitempty"` + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + GuildId string `protobuf:"bytes,2,opt,name=guildId,proto3" json:"guildId,omitempty"` + PlayerId string `protobuf:"bytes,3,opt,name=playerId,proto3" json:"playerId,omitempty"` + SubstationId string `protobuf:"bytes,4,opt,name=substationId,proto3" json:"substationId,omitempty"` } -func (x *MsgAllocationCreateResponse) Reset() { - *x = MsgAllocationCreateResponse{} +func (x *MsgGuildMembershipInviteApprove) Reset() { + *x = MsgGuildMembershipInviteApprove{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_tx_proto_msgTypes[7] + mi := &file_structs_structs_tx_proto_msgTypes[32] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgAllocationCreateResponse) String() string { +func (x *MsgGuildMembershipInviteApprove) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgAllocationCreateResponse) ProtoMessage() {} +func (*MsgGuildMembershipInviteApprove) ProtoMessage() {} -// Deprecated: Use MsgAllocationCreateResponse.ProtoReflect.Descriptor instead. -func (*MsgAllocationCreateResponse) Descriptor() ([]byte, []int) { - return file_structs_structs_tx_proto_rawDescGZIP(), []int{7} +// Deprecated: Use MsgGuildMembershipInviteApprove.ProtoReflect.Descriptor instead. +func (*MsgGuildMembershipInviteApprove) Descriptor() ([]byte, []int) { + return file_structs_structs_tx_proto_rawDescGZIP(), []int{32} } -func (x *MsgAllocationCreateResponse) GetAllocationId() string { +func (x *MsgGuildMembershipInviteApprove) GetCreator() string { if x != nil { - return x.AllocationId + return x.Creator + } + return "" +} + +func (x *MsgGuildMembershipInviteApprove) GetGuildId() string { + if x != nil { + return x.GuildId + } + return "" +} + +func (x *MsgGuildMembershipInviteApprove) GetPlayerId() string { + if x != nil { + return x.PlayerId + } + return "" +} + +func (x *MsgGuildMembershipInviteApprove) GetSubstationId() string { + if x != nil { + return x.SubstationId } return "" } -type MsgAllocationDelete struct { +type MsgGuildMembershipInviteDeny struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` - AllocationId string `protobuf:"bytes,2,opt,name=allocationId,proto3" json:"allocationId,omitempty"` + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + GuildId string `protobuf:"bytes,2,opt,name=guildId,proto3" json:"guildId,omitempty"` + PlayerId string `protobuf:"bytes,3,opt,name=playerId,proto3" json:"playerId,omitempty"` } -func (x *MsgAllocationDelete) Reset() { - *x = MsgAllocationDelete{} +func (x *MsgGuildMembershipInviteDeny) Reset() { + *x = MsgGuildMembershipInviteDeny{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_tx_proto_msgTypes[8] + mi := &file_structs_structs_tx_proto_msgTypes[33] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgAllocationDelete) String() string { +func (x *MsgGuildMembershipInviteDeny) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgAllocationDelete) ProtoMessage() {} +func (*MsgGuildMembershipInviteDeny) ProtoMessage() {} -// Deprecated: Use MsgAllocationDelete.ProtoReflect.Descriptor instead. -func (*MsgAllocationDelete) Descriptor() ([]byte, []int) { - return file_structs_structs_tx_proto_rawDescGZIP(), []int{8} +// Deprecated: Use MsgGuildMembershipInviteDeny.ProtoReflect.Descriptor instead. +func (*MsgGuildMembershipInviteDeny) Descriptor() ([]byte, []int) { + return file_structs_structs_tx_proto_rawDescGZIP(), []int{33} } -func (x *MsgAllocationDelete) GetCreator() string { +func (x *MsgGuildMembershipInviteDeny) GetCreator() string { if x != nil { return x.Creator } return "" } -func (x *MsgAllocationDelete) GetAllocationId() string { +func (x *MsgGuildMembershipInviteDeny) GetGuildId() string { if x != nil { - return x.AllocationId + return x.GuildId } return "" } -type MsgAllocationDeleteResponse struct { +func (x *MsgGuildMembershipInviteDeny) GetPlayerId() string { + if x != nil { + return x.PlayerId + } + return "" +} + +type MsgGuildMembershipInviteRevoke struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - AllocationId string `protobuf:"bytes,1,opt,name=allocationId,proto3" json:"allocationId,omitempty"` + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + GuildId string `protobuf:"bytes,2,opt,name=guildId,proto3" json:"guildId,omitempty"` + PlayerId string `protobuf:"bytes,3,opt,name=playerId,proto3" json:"playerId,omitempty"` } -func (x *MsgAllocationDeleteResponse) Reset() { - *x = MsgAllocationDeleteResponse{} +func (x *MsgGuildMembershipInviteRevoke) Reset() { + *x = MsgGuildMembershipInviteRevoke{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_tx_proto_msgTypes[9] + mi := &file_structs_structs_tx_proto_msgTypes[34] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgAllocationDeleteResponse) String() string { +func (x *MsgGuildMembershipInviteRevoke) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgAllocationDeleteResponse) ProtoMessage() {} +func (*MsgGuildMembershipInviteRevoke) ProtoMessage() {} -// Deprecated: Use MsgAllocationDeleteResponse.ProtoReflect.Descriptor instead. -func (*MsgAllocationDeleteResponse) Descriptor() ([]byte, []int) { - return file_structs_structs_tx_proto_rawDescGZIP(), []int{9} +// Deprecated: Use MsgGuildMembershipInviteRevoke.ProtoReflect.Descriptor instead. +func (*MsgGuildMembershipInviteRevoke) Descriptor() ([]byte, []int) { + return file_structs_structs_tx_proto_rawDescGZIP(), []int{34} } -func (x *MsgAllocationDeleteResponse) GetAllocationId() string { +func (x *MsgGuildMembershipInviteRevoke) GetCreator() string { if x != nil { - return x.AllocationId + return x.Creator } return "" } -type MsgAllocationUpdate struct { +func (x *MsgGuildMembershipInviteRevoke) GetGuildId() string { + if x != nil { + return x.GuildId + } + return "" +} + +func (x *MsgGuildMembershipInviteRevoke) GetPlayerId() string { + if x != nil { + return x.PlayerId + } + return "" +} + +type MsgGuildMembershipJoin struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` - AllocationId string `protobuf:"bytes,2,opt,name=allocationId,proto3" json:"allocationId,omitempty"` - Power uint64 `protobuf:"varint,3,opt,name=power,proto3" json:"power,omitempty"` + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + GuildId string `protobuf:"bytes,2,opt,name=guildId,proto3" json:"guildId,omitempty"` + PlayerId string `protobuf:"bytes,3,opt,name=playerId,proto3" json:"playerId,omitempty"` + SubstationId string `protobuf:"bytes,4,opt,name=substationId,proto3" json:"substationId,omitempty"` + InfusionId []string `protobuf:"bytes,5,rep,name=infusionId,proto3" json:"infusionId,omitempty"` } -func (x *MsgAllocationUpdate) Reset() { - *x = MsgAllocationUpdate{} +func (x *MsgGuildMembershipJoin) Reset() { + *x = MsgGuildMembershipJoin{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_tx_proto_msgTypes[10] + mi := &file_structs_structs_tx_proto_msgTypes[35] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgAllocationUpdate) String() string { +func (x *MsgGuildMembershipJoin) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgAllocationUpdate) ProtoMessage() {} +func (*MsgGuildMembershipJoin) ProtoMessage() {} -// Deprecated: Use MsgAllocationUpdate.ProtoReflect.Descriptor instead. -func (*MsgAllocationUpdate) Descriptor() ([]byte, []int) { - return file_structs_structs_tx_proto_rawDescGZIP(), []int{10} +// Deprecated: Use MsgGuildMembershipJoin.ProtoReflect.Descriptor instead. +func (*MsgGuildMembershipJoin) Descriptor() ([]byte, []int) { + return file_structs_structs_tx_proto_rawDescGZIP(), []int{35} } -func (x *MsgAllocationUpdate) GetCreator() string { +func (x *MsgGuildMembershipJoin) GetCreator() string { if x != nil { return x.Creator } return "" } -func (x *MsgAllocationUpdate) GetAllocationId() string { +func (x *MsgGuildMembershipJoin) GetGuildId() string { if x != nil { - return x.AllocationId + return x.GuildId } return "" } -func (x *MsgAllocationUpdate) GetPower() uint64 { +func (x *MsgGuildMembershipJoin) GetPlayerId() string { if x != nil { - return x.Power + return x.PlayerId } - return 0 + return "" } -type MsgAllocationUpdateResponse struct { +func (x *MsgGuildMembershipJoin) GetSubstationId() string { + if x != nil { + return x.SubstationId + } + return "" +} + +func (x *MsgGuildMembershipJoin) GetInfusionId() []string { + if x != nil { + return x.InfusionId + } + return nil +} + +type MsgGuildMembershipJoinProxy struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - AllocationId string `protobuf:"bytes,1,opt,name=allocationId,proto3" json:"allocationId,omitempty"` + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` + SubstationId string `protobuf:"bytes,3,opt,name=substationId,proto3" json:"substationId,omitempty"` + ProofPubKey string `protobuf:"bytes,4,opt,name=proofPubKey,proto3" json:"proofPubKey,omitempty"` + ProofSignature string `protobuf:"bytes,5,opt,name=proofSignature,proto3" json:"proofSignature,omitempty"` } -func (x *MsgAllocationUpdateResponse) Reset() { - *x = MsgAllocationUpdateResponse{} +func (x *MsgGuildMembershipJoinProxy) Reset() { + *x = MsgGuildMembershipJoinProxy{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_tx_proto_msgTypes[11] + mi := &file_structs_structs_tx_proto_msgTypes[36] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgAllocationUpdateResponse) String() string { +func (x *MsgGuildMembershipJoinProxy) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgAllocationUpdateResponse) ProtoMessage() {} +func (*MsgGuildMembershipJoinProxy) ProtoMessage() {} -// Deprecated: Use MsgAllocationUpdateResponse.ProtoReflect.Descriptor instead. -func (*MsgAllocationUpdateResponse) Descriptor() ([]byte, []int) { - return file_structs_structs_tx_proto_rawDescGZIP(), []int{11} +// Deprecated: Use MsgGuildMembershipJoinProxy.ProtoReflect.Descriptor instead. +func (*MsgGuildMembershipJoinProxy) Descriptor() ([]byte, []int) { + return file_structs_structs_tx_proto_rawDescGZIP(), []int{36} } -func (x *MsgAllocationUpdateResponse) GetAllocationId() string { +func (x *MsgGuildMembershipJoinProxy) GetCreator() string { if x != nil { - return x.AllocationId + return x.Creator } return "" } -type MsgAllocationTransfer struct { +func (x *MsgGuildMembershipJoinProxy) GetAddress() string { + if x != nil { + return x.Address + } + return "" +} + +func (x *MsgGuildMembershipJoinProxy) GetSubstationId() string { + if x != nil { + return x.SubstationId + } + return "" +} + +func (x *MsgGuildMembershipJoinProxy) GetProofPubKey() string { + if x != nil { + return x.ProofPubKey + } + return "" +} + +func (x *MsgGuildMembershipJoinProxy) GetProofSignature() string { + if x != nil { + return x.ProofSignature + } + return "" +} + +type MsgGuildMembershipKick struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` - AllocationId string `protobuf:"bytes,2,opt,name=allocationId,proto3" json:"allocationId,omitempty"` - Controller string `protobuf:"bytes,3,opt,name=controller,proto3" json:"controller,omitempty"` + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + GuildId string `protobuf:"bytes,2,opt,name=guildId,proto3" json:"guildId,omitempty"` + PlayerId string `protobuf:"bytes,3,opt,name=playerId,proto3" json:"playerId,omitempty"` } -func (x *MsgAllocationTransfer) Reset() { - *x = MsgAllocationTransfer{} +func (x *MsgGuildMembershipKick) Reset() { + *x = MsgGuildMembershipKick{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_tx_proto_msgTypes[12] + mi := &file_structs_structs_tx_proto_msgTypes[37] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgAllocationTransfer) String() string { +func (x *MsgGuildMembershipKick) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgAllocationTransfer) ProtoMessage() {} +func (*MsgGuildMembershipKick) ProtoMessage() {} -// Deprecated: Use MsgAllocationTransfer.ProtoReflect.Descriptor instead. -func (*MsgAllocationTransfer) Descriptor() ([]byte, []int) { - return file_structs_structs_tx_proto_rawDescGZIP(), []int{12} +// Deprecated: Use MsgGuildMembershipKick.ProtoReflect.Descriptor instead. +func (*MsgGuildMembershipKick) Descriptor() ([]byte, []int) { + return file_structs_structs_tx_proto_rawDescGZIP(), []int{37} } -func (x *MsgAllocationTransfer) GetCreator() string { +func (x *MsgGuildMembershipKick) GetCreator() string { if x != nil { return x.Creator } return "" } -func (x *MsgAllocationTransfer) GetAllocationId() string { +func (x *MsgGuildMembershipKick) GetGuildId() string { if x != nil { - return x.AllocationId + return x.GuildId } return "" } -func (x *MsgAllocationTransfer) GetController() string { +func (x *MsgGuildMembershipKick) GetPlayerId() string { if x != nil { - return x.Controller + return x.PlayerId } return "" } -type MsgAllocationTransferResponse struct { +type MsgGuildMembershipRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - AllocationId string `protobuf:"bytes,1,opt,name=allocationId,proto3" json:"allocationId,omitempty"` + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + GuildId string `protobuf:"bytes,2,opt,name=guildId,proto3" json:"guildId,omitempty"` + PlayerId string `protobuf:"bytes,3,opt,name=playerId,proto3" json:"playerId,omitempty"` + SubstationId string `protobuf:"bytes,4,opt,name=substationId,proto3" json:"substationId,omitempty"` } -func (x *MsgAllocationTransferResponse) Reset() { - *x = MsgAllocationTransferResponse{} +func (x *MsgGuildMembershipRequest) Reset() { + *x = MsgGuildMembershipRequest{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_tx_proto_msgTypes[13] + mi := &file_structs_structs_tx_proto_msgTypes[38] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgAllocationTransferResponse) String() string { +func (x *MsgGuildMembershipRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgAllocationTransferResponse) ProtoMessage() {} +func (*MsgGuildMembershipRequest) ProtoMessage() {} -// Deprecated: Use MsgAllocationTransferResponse.ProtoReflect.Descriptor instead. -func (*MsgAllocationTransferResponse) Descriptor() ([]byte, []int) { - return file_structs_structs_tx_proto_rawDescGZIP(), []int{13} +// Deprecated: Use MsgGuildMembershipRequest.ProtoReflect.Descriptor instead. +func (*MsgGuildMembershipRequest) Descriptor() ([]byte, []int) { + return file_structs_structs_tx_proto_rawDescGZIP(), []int{38} } -func (x *MsgAllocationTransferResponse) GetAllocationId() string { +func (x *MsgGuildMembershipRequest) GetCreator() string { if x != nil { - return x.AllocationId + return x.Creator } return "" } -type MsgFleetMove struct { +func (x *MsgGuildMembershipRequest) GetGuildId() string { + if x != nil { + return x.GuildId + } + return "" +} + +func (x *MsgGuildMembershipRequest) GetPlayerId() string { + if x != nil { + return x.PlayerId + } + return "" +} + +func (x *MsgGuildMembershipRequest) GetSubstationId() string { + if x != nil { + return x.SubstationId + } + return "" +} + +type MsgGuildMembershipRequestApprove struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` - FleetId string `protobuf:"bytes,2,opt,name=fleetId,proto3" json:"fleetId,omitempty"` - DestinationLocationId string `protobuf:"bytes,3,opt,name=destinationLocationId,proto3" json:"destinationLocationId,omitempty"` + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + GuildId string `protobuf:"bytes,2,opt,name=guildId,proto3" json:"guildId,omitempty"` + PlayerId string `protobuf:"bytes,3,opt,name=playerId,proto3" json:"playerId,omitempty"` + SubstationId string `protobuf:"bytes,4,opt,name=substationId,proto3" json:"substationId,omitempty"` } -func (x *MsgFleetMove) Reset() { - *x = MsgFleetMove{} +func (x *MsgGuildMembershipRequestApprove) Reset() { + *x = MsgGuildMembershipRequestApprove{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_tx_proto_msgTypes[14] + mi := &file_structs_structs_tx_proto_msgTypes[39] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgFleetMove) String() string { +func (x *MsgGuildMembershipRequestApprove) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgFleetMove) ProtoMessage() {} +func (*MsgGuildMembershipRequestApprove) ProtoMessage() {} -// Deprecated: Use MsgFleetMove.ProtoReflect.Descriptor instead. -func (*MsgFleetMove) Descriptor() ([]byte, []int) { - return file_structs_structs_tx_proto_rawDescGZIP(), []int{14} +// Deprecated: Use MsgGuildMembershipRequestApprove.ProtoReflect.Descriptor instead. +func (*MsgGuildMembershipRequestApprove) Descriptor() ([]byte, []int) { + return file_structs_structs_tx_proto_rawDescGZIP(), []int{39} } -func (x *MsgFleetMove) GetCreator() string { +func (x *MsgGuildMembershipRequestApprove) GetCreator() string { if x != nil { return x.Creator } return "" } -func (x *MsgFleetMove) GetFleetId() string { +func (x *MsgGuildMembershipRequestApprove) GetGuildId() string { if x != nil { - return x.FleetId + return x.GuildId } return "" } -func (x *MsgFleetMove) GetDestinationLocationId() string { +func (x *MsgGuildMembershipRequestApprove) GetPlayerId() string { if x != nil { - return x.DestinationLocationId + return x.PlayerId } return "" } -type MsgFleetMoveResponse struct { +func (x *MsgGuildMembershipRequestApprove) GetSubstationId() string { + if x != nil { + return x.SubstationId + } + return "" +} + +type MsgGuildMembershipRequestDeny struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Fleet *Fleet `protobuf:"bytes,1,opt,name=fleet,proto3" json:"fleet,omitempty"` + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + GuildId string `protobuf:"bytes,2,opt,name=guildId,proto3" json:"guildId,omitempty"` + PlayerId string `protobuf:"bytes,3,opt,name=playerId,proto3" json:"playerId,omitempty"` } -func (x *MsgFleetMoveResponse) Reset() { - *x = MsgFleetMoveResponse{} +func (x *MsgGuildMembershipRequestDeny) Reset() { + *x = MsgGuildMembershipRequestDeny{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_tx_proto_msgTypes[15] + mi := &file_structs_structs_tx_proto_msgTypes[40] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgFleetMoveResponse) String() string { +func (x *MsgGuildMembershipRequestDeny) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgFleetMoveResponse) ProtoMessage() {} +func (*MsgGuildMembershipRequestDeny) ProtoMessage() {} -// Deprecated: Use MsgFleetMoveResponse.ProtoReflect.Descriptor instead. -func (*MsgFleetMoveResponse) Descriptor() ([]byte, []int) { - return file_structs_structs_tx_proto_rawDescGZIP(), []int{15} +// Deprecated: Use MsgGuildMembershipRequestDeny.ProtoReflect.Descriptor instead. +func (*MsgGuildMembershipRequestDeny) Descriptor() ([]byte, []int) { + return file_structs_structs_tx_proto_rawDescGZIP(), []int{40} } -func (x *MsgFleetMoveResponse) GetFleet() *Fleet { +func (x *MsgGuildMembershipRequestDeny) GetCreator() string { if x != nil { - return x.Fleet + return x.Creator } - return nil + return "" } -type MsgGuildCreate struct { +func (x *MsgGuildMembershipRequestDeny) GetGuildId() string { + if x != nil { + return x.GuildId + } + return "" +} + +func (x *MsgGuildMembershipRequestDeny) GetPlayerId() string { + if x != nil { + return x.PlayerId + } + return "" +} + +type MsgGuildMembershipRequestRevoke struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` - Endpoint string `protobuf:"bytes,2,opt,name=endpoint,proto3" json:"endpoint,omitempty"` - EntrySubstationId string `protobuf:"bytes,3,opt,name=entrySubstationId,proto3" json:"entrySubstationId,omitempty"` + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + GuildId string `protobuf:"bytes,2,opt,name=guildId,proto3" json:"guildId,omitempty"` + PlayerId string `protobuf:"bytes,3,opt,name=playerId,proto3" json:"playerId,omitempty"` } -func (x *MsgGuildCreate) Reset() { - *x = MsgGuildCreate{} +func (x *MsgGuildMembershipRequestRevoke) Reset() { + *x = MsgGuildMembershipRequestRevoke{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_tx_proto_msgTypes[16] + mi := &file_structs_structs_tx_proto_msgTypes[41] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgGuildCreate) String() string { +func (x *MsgGuildMembershipRequestRevoke) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgGuildCreate) ProtoMessage() {} +func (*MsgGuildMembershipRequestRevoke) ProtoMessage() {} -// Deprecated: Use MsgGuildCreate.ProtoReflect.Descriptor instead. -func (*MsgGuildCreate) Descriptor() ([]byte, []int) { - return file_structs_structs_tx_proto_rawDescGZIP(), []int{16} +// Deprecated: Use MsgGuildMembershipRequestRevoke.ProtoReflect.Descriptor instead. +func (*MsgGuildMembershipRequestRevoke) Descriptor() ([]byte, []int) { + return file_structs_structs_tx_proto_rawDescGZIP(), []int{41} } -func (x *MsgGuildCreate) GetCreator() string { +func (x *MsgGuildMembershipRequestRevoke) GetCreator() string { if x != nil { return x.Creator } return "" } -func (x *MsgGuildCreate) GetEndpoint() string { +func (x *MsgGuildMembershipRequestRevoke) GetGuildId() string { if x != nil { - return x.Endpoint + return x.GuildId } return "" } -func (x *MsgGuildCreate) GetEntrySubstationId() string { +func (x *MsgGuildMembershipRequestRevoke) GetPlayerId() string { if x != nil { - return x.EntrySubstationId + return x.PlayerId } return "" } -type MsgGuildCreateResponse struct { +type MsgGuildMembershipResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - GuildId string `protobuf:"bytes,1,opt,name=guildId,proto3" json:"guildId,omitempty"` + GuildMembershipApplication *GuildMembershipApplication `protobuf:"bytes,1,opt,name=guildMembershipApplication,proto3" json:"guildMembershipApplication,omitempty"` } -func (x *MsgGuildCreateResponse) Reset() { - *x = MsgGuildCreateResponse{} +func (x *MsgGuildMembershipResponse) Reset() { + *x = MsgGuildMembershipResponse{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_tx_proto_msgTypes[17] + mi := &file_structs_structs_tx_proto_msgTypes[42] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgGuildCreateResponse) String() string { +func (x *MsgGuildMembershipResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgGuildCreateResponse) ProtoMessage() {} +func (*MsgGuildMembershipResponse) ProtoMessage() {} -// Deprecated: Use MsgGuildCreateResponse.ProtoReflect.Descriptor instead. -func (*MsgGuildCreateResponse) Descriptor() ([]byte, []int) { - return file_structs_structs_tx_proto_rawDescGZIP(), []int{17} +// Deprecated: Use MsgGuildMembershipResponse.ProtoReflect.Descriptor instead. +func (*MsgGuildMembershipResponse) Descriptor() ([]byte, []int) { + return file_structs_structs_tx_proto_rawDescGZIP(), []int{42} } -func (x *MsgGuildCreateResponse) GetGuildId() string { +func (x *MsgGuildMembershipResponse) GetGuildMembershipApplication() *GuildMembershipApplication { if x != nil { - return x.GuildId + return x.GuildMembershipApplication } - return "" + return nil } -type MsgGuildUpdateOwnerId struct { +type MsgPermissionGrantOnObject struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` - GuildId string `protobuf:"bytes,2,opt,name=guildId,proto3" json:"guildId,omitempty"` - Owner string `protobuf:"bytes,3,opt,name=owner,proto3" json:"owner,omitempty"` + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + ObjectId string `protobuf:"bytes,2,opt,name=objectId,proto3" json:"objectId,omitempty"` + PlayerId string `protobuf:"bytes,3,opt,name=playerId,proto3" json:"playerId,omitempty"` + Permissions uint64 `protobuf:"varint,4,opt,name=permissions,proto3" json:"permissions,omitempty"` } -func (x *MsgGuildUpdateOwnerId) Reset() { - *x = MsgGuildUpdateOwnerId{} +func (x *MsgPermissionGrantOnObject) Reset() { + *x = MsgPermissionGrantOnObject{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_tx_proto_msgTypes[18] + mi := &file_structs_structs_tx_proto_msgTypes[43] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgGuildUpdateOwnerId) String() string { +func (x *MsgPermissionGrantOnObject) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgGuildUpdateOwnerId) ProtoMessage() {} +func (*MsgPermissionGrantOnObject) ProtoMessage() {} -// Deprecated: Use MsgGuildUpdateOwnerId.ProtoReflect.Descriptor instead. -func (*MsgGuildUpdateOwnerId) Descriptor() ([]byte, []int) { - return file_structs_structs_tx_proto_rawDescGZIP(), []int{18} +// Deprecated: Use MsgPermissionGrantOnObject.ProtoReflect.Descriptor instead. +func (*MsgPermissionGrantOnObject) Descriptor() ([]byte, []int) { + return file_structs_structs_tx_proto_rawDescGZIP(), []int{43} } -func (x *MsgGuildUpdateOwnerId) GetCreator() string { +func (x *MsgPermissionGrantOnObject) GetCreator() string { if x != nil { return x.Creator } return "" } -func (x *MsgGuildUpdateOwnerId) GetGuildId() string { +func (x *MsgPermissionGrantOnObject) GetObjectId() string { if x != nil { - return x.GuildId + return x.ObjectId } return "" } -func (x *MsgGuildUpdateOwnerId) GetOwner() string { +func (x *MsgPermissionGrantOnObject) GetPlayerId() string { if x != nil { - return x.Owner + return x.PlayerId } return "" } -type MsgGuildUpdateEntrySubstationId struct { +func (x *MsgPermissionGrantOnObject) GetPermissions() uint64 { + if x != nil { + return x.Permissions + } + return 0 +} + +type MsgPermissionGrantOnAddress struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` - GuildId string `protobuf:"bytes,2,opt,name=guildId,proto3" json:"guildId,omitempty"` - EntrySubstationId string `protobuf:"bytes,3,opt,name=entrySubstationId,proto3" json:"entrySubstationId,omitempty"` + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` + Permissions uint64 `protobuf:"varint,3,opt,name=permissions,proto3" json:"permissions,omitempty"` } -func (x *MsgGuildUpdateEntrySubstationId) Reset() { - *x = MsgGuildUpdateEntrySubstationId{} +func (x *MsgPermissionGrantOnAddress) Reset() { + *x = MsgPermissionGrantOnAddress{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_tx_proto_msgTypes[19] + mi := &file_structs_structs_tx_proto_msgTypes[44] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgGuildUpdateEntrySubstationId) String() string { +func (x *MsgPermissionGrantOnAddress) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgGuildUpdateEntrySubstationId) ProtoMessage() {} +func (*MsgPermissionGrantOnAddress) ProtoMessage() {} -// Deprecated: Use MsgGuildUpdateEntrySubstationId.ProtoReflect.Descriptor instead. -func (*MsgGuildUpdateEntrySubstationId) Descriptor() ([]byte, []int) { - return file_structs_structs_tx_proto_rawDescGZIP(), []int{19} +// Deprecated: Use MsgPermissionGrantOnAddress.ProtoReflect.Descriptor instead. +func (*MsgPermissionGrantOnAddress) Descriptor() ([]byte, []int) { + return file_structs_structs_tx_proto_rawDescGZIP(), []int{44} } -func (x *MsgGuildUpdateEntrySubstationId) GetCreator() string { +func (x *MsgPermissionGrantOnAddress) GetCreator() string { if x != nil { return x.Creator } return "" } -func (x *MsgGuildUpdateEntrySubstationId) GetGuildId() string { +func (x *MsgPermissionGrantOnAddress) GetAddress() string { if x != nil { - return x.GuildId + return x.Address } return "" } -func (x *MsgGuildUpdateEntrySubstationId) GetEntrySubstationId() string { +func (x *MsgPermissionGrantOnAddress) GetPermissions() uint64 { if x != nil { - return x.EntrySubstationId + return x.Permissions } - return "" + return 0 } -type MsgGuildUpdateEndpoint struct { +type MsgPermissionRevokeOnObject struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` - GuildId string `protobuf:"bytes,2,opt,name=guildId,proto3" json:"guildId,omitempty"` - Endpoint string `protobuf:"bytes,3,opt,name=endpoint,proto3" json:"endpoint,omitempty"` + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + ObjectId string `protobuf:"bytes,2,opt,name=objectId,proto3" json:"objectId,omitempty"` + PlayerId string `protobuf:"bytes,3,opt,name=playerId,proto3" json:"playerId,omitempty"` + Permissions uint64 `protobuf:"varint,4,opt,name=permissions,proto3" json:"permissions,omitempty"` } -func (x *MsgGuildUpdateEndpoint) Reset() { - *x = MsgGuildUpdateEndpoint{} +func (x *MsgPermissionRevokeOnObject) Reset() { + *x = MsgPermissionRevokeOnObject{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_tx_proto_msgTypes[20] + mi := &file_structs_structs_tx_proto_msgTypes[45] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgGuildUpdateEndpoint) String() string { +func (x *MsgPermissionRevokeOnObject) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgGuildUpdateEndpoint) ProtoMessage() {} - -// Deprecated: Use MsgGuildUpdateEndpoint.ProtoReflect.Descriptor instead. -func (*MsgGuildUpdateEndpoint) Descriptor() ([]byte, []int) { - return file_structs_structs_tx_proto_rawDescGZIP(), []int{20} +func (*MsgPermissionRevokeOnObject) ProtoMessage() {} + +// Deprecated: Use MsgPermissionRevokeOnObject.ProtoReflect.Descriptor instead. +func (*MsgPermissionRevokeOnObject) Descriptor() ([]byte, []int) { + return file_structs_structs_tx_proto_rawDescGZIP(), []int{45} } -func (x *MsgGuildUpdateEndpoint) GetCreator() string { +func (x *MsgPermissionRevokeOnObject) GetCreator() string { if x != nil { return x.Creator } return "" } -func (x *MsgGuildUpdateEndpoint) GetGuildId() string { +func (x *MsgPermissionRevokeOnObject) GetObjectId() string { if x != nil { - return x.GuildId + return x.ObjectId } return "" } -func (x *MsgGuildUpdateEndpoint) GetEndpoint() string { +func (x *MsgPermissionRevokeOnObject) GetPlayerId() string { if x != nil { - return x.Endpoint + return x.PlayerId } return "" } -type MsgGuildUpdateJoinInfusionMinimum struct { +func (x *MsgPermissionRevokeOnObject) GetPermissions() uint64 { + if x != nil { + return x.Permissions + } + return 0 +} + +type MsgPermissionRevokeOnAddress struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` - GuildId string `protobuf:"bytes,2,opt,name=guildId,proto3" json:"guildId,omitempty"` - JoinInfusionMinimum uint64 `protobuf:"varint,3,opt,name=joinInfusionMinimum,proto3" json:"joinInfusionMinimum,omitempty"` + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` + Permissions uint64 `protobuf:"varint,3,opt,name=permissions,proto3" json:"permissions,omitempty"` } -func (x *MsgGuildUpdateJoinInfusionMinimum) Reset() { - *x = MsgGuildUpdateJoinInfusionMinimum{} +func (x *MsgPermissionRevokeOnAddress) Reset() { + *x = MsgPermissionRevokeOnAddress{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_tx_proto_msgTypes[21] + mi := &file_structs_structs_tx_proto_msgTypes[46] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgGuildUpdateJoinInfusionMinimum) String() string { +func (x *MsgPermissionRevokeOnAddress) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgGuildUpdateJoinInfusionMinimum) ProtoMessage() {} +func (*MsgPermissionRevokeOnAddress) ProtoMessage() {} -// Deprecated: Use MsgGuildUpdateJoinInfusionMinimum.ProtoReflect.Descriptor instead. -func (*MsgGuildUpdateJoinInfusionMinimum) Descriptor() ([]byte, []int) { - return file_structs_structs_tx_proto_rawDescGZIP(), []int{21} +// Deprecated: Use MsgPermissionRevokeOnAddress.ProtoReflect.Descriptor instead. +func (*MsgPermissionRevokeOnAddress) Descriptor() ([]byte, []int) { + return file_structs_structs_tx_proto_rawDescGZIP(), []int{46} } -func (x *MsgGuildUpdateJoinInfusionMinimum) GetCreator() string { +func (x *MsgPermissionRevokeOnAddress) GetCreator() string { if x != nil { return x.Creator } return "" } -func (x *MsgGuildUpdateJoinInfusionMinimum) GetGuildId() string { +func (x *MsgPermissionRevokeOnAddress) GetAddress() string { if x != nil { - return x.GuildId + return x.Address } return "" } -func (x *MsgGuildUpdateJoinInfusionMinimum) GetJoinInfusionMinimum() uint64 { +func (x *MsgPermissionRevokeOnAddress) GetPermissions() uint64 { if x != nil { - return x.JoinInfusionMinimum + return x.Permissions } return 0 } -type MsgGuildUpdateJoinInfusionMinimumBypassByRequest struct { +type MsgPermissionSetOnObject struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` - GuildId string `protobuf:"bytes,2,opt,name=guildId,proto3" json:"guildId,omitempty"` - GuildJoinBypassLevel GuildJoinBypassLevel `protobuf:"varint,3,opt,name=guildJoinBypassLevel,proto3,enum=structs.structs.GuildJoinBypassLevel" json:"guildJoinBypassLevel,omitempty"` + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + ObjectId string `protobuf:"bytes,2,opt,name=objectId,proto3" json:"objectId,omitempty"` + PlayerId string `protobuf:"bytes,3,opt,name=playerId,proto3" json:"playerId,omitempty"` + Permissions uint64 `protobuf:"varint,4,opt,name=permissions,proto3" json:"permissions,omitempty"` } -func (x *MsgGuildUpdateJoinInfusionMinimumBypassByRequest) Reset() { - *x = MsgGuildUpdateJoinInfusionMinimumBypassByRequest{} +func (x *MsgPermissionSetOnObject) Reset() { + *x = MsgPermissionSetOnObject{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_tx_proto_msgTypes[22] + mi := &file_structs_structs_tx_proto_msgTypes[47] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgGuildUpdateJoinInfusionMinimumBypassByRequest) String() string { +func (x *MsgPermissionSetOnObject) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgGuildUpdateJoinInfusionMinimumBypassByRequest) ProtoMessage() {} +func (*MsgPermissionSetOnObject) ProtoMessage() {} -// Deprecated: Use MsgGuildUpdateJoinInfusionMinimumBypassByRequest.ProtoReflect.Descriptor instead. -func (*MsgGuildUpdateJoinInfusionMinimumBypassByRequest) Descriptor() ([]byte, []int) { - return file_structs_structs_tx_proto_rawDescGZIP(), []int{22} +// Deprecated: Use MsgPermissionSetOnObject.ProtoReflect.Descriptor instead. +func (*MsgPermissionSetOnObject) Descriptor() ([]byte, []int) { + return file_structs_structs_tx_proto_rawDescGZIP(), []int{47} } -func (x *MsgGuildUpdateJoinInfusionMinimumBypassByRequest) GetCreator() string { +func (x *MsgPermissionSetOnObject) GetCreator() string { if x != nil { return x.Creator } return "" } -func (x *MsgGuildUpdateJoinInfusionMinimumBypassByRequest) GetGuildId() string { +func (x *MsgPermissionSetOnObject) GetObjectId() string { if x != nil { - return x.GuildId + return x.ObjectId } return "" } -func (x *MsgGuildUpdateJoinInfusionMinimumBypassByRequest) GetGuildJoinBypassLevel() GuildJoinBypassLevel { +func (x *MsgPermissionSetOnObject) GetPlayerId() string { if x != nil { - return x.GuildJoinBypassLevel + return x.PlayerId } - return GuildJoinBypassLevel_closed + return "" } -type MsgGuildUpdateJoinInfusionMinimumBypassByInvite struct { +func (x *MsgPermissionSetOnObject) GetPermissions() uint64 { + if x != nil { + return x.Permissions + } + return 0 +} + +type MsgPermissionSetOnAddress struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` - GuildId string `protobuf:"bytes,2,opt,name=guildId,proto3" json:"guildId,omitempty"` - GuildJoinBypassLevel GuildJoinBypassLevel `protobuf:"varint,3,opt,name=guildJoinBypassLevel,proto3,enum=structs.structs.GuildJoinBypassLevel" json:"guildJoinBypassLevel,omitempty"` + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` + Permissions uint64 `protobuf:"varint,3,opt,name=permissions,proto3" json:"permissions,omitempty"` } -func (x *MsgGuildUpdateJoinInfusionMinimumBypassByInvite) Reset() { - *x = MsgGuildUpdateJoinInfusionMinimumBypassByInvite{} +func (x *MsgPermissionSetOnAddress) Reset() { + *x = MsgPermissionSetOnAddress{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_tx_proto_msgTypes[23] + mi := &file_structs_structs_tx_proto_msgTypes[48] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgGuildUpdateJoinInfusionMinimumBypassByInvite) String() string { +func (x *MsgPermissionSetOnAddress) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgGuildUpdateJoinInfusionMinimumBypassByInvite) ProtoMessage() {} +func (*MsgPermissionSetOnAddress) ProtoMessage() {} -// Deprecated: Use MsgGuildUpdateJoinInfusionMinimumBypassByInvite.ProtoReflect.Descriptor instead. -func (*MsgGuildUpdateJoinInfusionMinimumBypassByInvite) Descriptor() ([]byte, []int) { - return file_structs_structs_tx_proto_rawDescGZIP(), []int{23} +// Deprecated: Use MsgPermissionSetOnAddress.ProtoReflect.Descriptor instead. +func (*MsgPermissionSetOnAddress) Descriptor() ([]byte, []int) { + return file_structs_structs_tx_proto_rawDescGZIP(), []int{48} } -func (x *MsgGuildUpdateJoinInfusionMinimumBypassByInvite) GetCreator() string { +func (x *MsgPermissionSetOnAddress) GetCreator() string { if x != nil { return x.Creator } return "" } -func (x *MsgGuildUpdateJoinInfusionMinimumBypassByInvite) GetGuildId() string { +func (x *MsgPermissionSetOnAddress) GetAddress() string { if x != nil { - return x.GuildId + return x.Address } return "" } -func (x *MsgGuildUpdateJoinInfusionMinimumBypassByInvite) GetGuildJoinBypassLevel() GuildJoinBypassLevel { +func (x *MsgPermissionSetOnAddress) GetPermissions() uint64 { if x != nil { - return x.GuildJoinBypassLevel + return x.Permissions } - return GuildJoinBypassLevel_closed + return 0 } -type MsgGuildUpdateResponse struct { +type MsgPermissionResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields } -func (x *MsgGuildUpdateResponse) Reset() { - *x = MsgGuildUpdateResponse{} +func (x *MsgPermissionResponse) Reset() { + *x = MsgPermissionResponse{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_tx_proto_msgTypes[24] + mi := &file_structs_structs_tx_proto_msgTypes[49] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgGuildUpdateResponse) String() string { +func (x *MsgPermissionResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgGuildUpdateResponse) ProtoMessage() {} +func (*MsgPermissionResponse) ProtoMessage() {} -// Deprecated: Use MsgGuildUpdateResponse.ProtoReflect.Descriptor instead. -func (*MsgGuildUpdateResponse) Descriptor() ([]byte, []int) { - return file_structs_structs_tx_proto_rawDescGZIP(), []int{24} +// Deprecated: Use MsgPermissionResponse.ProtoReflect.Descriptor instead. +func (*MsgPermissionResponse) Descriptor() ([]byte, []int) { + return file_structs_structs_tx_proto_rawDescGZIP(), []int{49} } -type MsgGuildMembershipInvite struct { +type MsgPlanetExplore struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` - GuildId string `protobuf:"bytes,2,opt,name=guildId,proto3" json:"guildId,omitempty"` - PlayerId string `protobuf:"bytes,3,opt,name=playerId,proto3" json:"playerId,omitempty"` - SubstationId string `protobuf:"bytes,4,opt,name=substationId,proto3" json:"substationId,omitempty"` + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + PlayerId string `protobuf:"bytes,2,opt,name=playerId,proto3" json:"playerId,omitempty"` } -func (x *MsgGuildMembershipInvite) Reset() { - *x = MsgGuildMembershipInvite{} +func (x *MsgPlanetExplore) Reset() { + *x = MsgPlanetExplore{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_tx_proto_msgTypes[25] + mi := &file_structs_structs_tx_proto_msgTypes[50] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgGuildMembershipInvite) String() string { +func (x *MsgPlanetExplore) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgGuildMembershipInvite) ProtoMessage() {} +func (*MsgPlanetExplore) ProtoMessage() {} -// Deprecated: Use MsgGuildMembershipInvite.ProtoReflect.Descriptor instead. -func (*MsgGuildMembershipInvite) Descriptor() ([]byte, []int) { - return file_structs_structs_tx_proto_rawDescGZIP(), []int{25} +// Deprecated: Use MsgPlanetExplore.ProtoReflect.Descriptor instead. +func (*MsgPlanetExplore) Descriptor() ([]byte, []int) { + return file_structs_structs_tx_proto_rawDescGZIP(), []int{50} } -func (x *MsgGuildMembershipInvite) GetCreator() string { +func (x *MsgPlanetExplore) GetCreator() string { if x != nil { return x.Creator } return "" } -func (x *MsgGuildMembershipInvite) GetGuildId() string { +func (x *MsgPlanetExplore) GetPlayerId() string { if x != nil { - return x.GuildId + return x.PlayerId } return "" } -func (x *MsgGuildMembershipInvite) GetPlayerId() string { - if x != nil { - return x.PlayerId +type MsgPlanetExploreResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Planet *Planet `protobuf:"bytes,1,opt,name=planet,proto3" json:"planet,omitempty"` +} + +func (x *MsgPlanetExploreResponse) Reset() { + *x = MsgPlanetExploreResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_structs_structs_tx_proto_msgTypes[51] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return "" } -func (x *MsgGuildMembershipInvite) GetSubstationId() string { +func (x *MsgPlanetExploreResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MsgPlanetExploreResponse) ProtoMessage() {} + +// Deprecated: Use MsgPlanetExploreResponse.ProtoReflect.Descriptor instead. +func (*MsgPlanetExploreResponse) Descriptor() ([]byte, []int) { + return file_structs_structs_tx_proto_rawDescGZIP(), []int{51} +} + +func (x *MsgPlanetExploreResponse) GetPlanet() *Planet { if x != nil { - return x.SubstationId + return x.Planet } - return "" + return nil } -type MsgGuildMembershipInviteApprove struct { +type MsgPlanetRaidComplete struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` - GuildId string `protobuf:"bytes,2,opt,name=guildId,proto3" json:"guildId,omitempty"` - PlayerId string `protobuf:"bytes,3,opt,name=playerId,proto3" json:"playerId,omitempty"` - SubstationId string `protobuf:"bytes,4,opt,name=substationId,proto3" json:"substationId,omitempty"` + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + FleetId string `protobuf:"bytes,2,opt,name=fleetId,proto3" json:"fleetId,omitempty"` + Proof string `protobuf:"bytes,3,opt,name=proof,proto3" json:"proof,omitempty"` + Nonce string `protobuf:"bytes,4,opt,name=nonce,proto3" json:"nonce,omitempty"` } -func (x *MsgGuildMembershipInviteApprove) Reset() { - *x = MsgGuildMembershipInviteApprove{} +func (x *MsgPlanetRaidComplete) Reset() { + *x = MsgPlanetRaidComplete{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_tx_proto_msgTypes[26] + mi := &file_structs_structs_tx_proto_msgTypes[52] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgGuildMembershipInviteApprove) String() string { +func (x *MsgPlanetRaidComplete) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgGuildMembershipInviteApprove) ProtoMessage() {} +func (*MsgPlanetRaidComplete) ProtoMessage() {} -// Deprecated: Use MsgGuildMembershipInviteApprove.ProtoReflect.Descriptor instead. -func (*MsgGuildMembershipInviteApprove) Descriptor() ([]byte, []int) { - return file_structs_structs_tx_proto_rawDescGZIP(), []int{26} +// Deprecated: Use MsgPlanetRaidComplete.ProtoReflect.Descriptor instead. +func (*MsgPlanetRaidComplete) Descriptor() ([]byte, []int) { + return file_structs_structs_tx_proto_rawDescGZIP(), []int{52} } -func (x *MsgGuildMembershipInviteApprove) GetCreator() string { +func (x *MsgPlanetRaidComplete) GetCreator() string { if x != nil { return x.Creator } return "" } -func (x *MsgGuildMembershipInviteApprove) GetGuildId() string { +func (x *MsgPlanetRaidComplete) GetFleetId() string { if x != nil { - return x.GuildId + return x.FleetId } return "" } -func (x *MsgGuildMembershipInviteApprove) GetPlayerId() string { +func (x *MsgPlanetRaidComplete) GetProof() string { if x != nil { - return x.PlayerId + return x.Proof } return "" } -func (x *MsgGuildMembershipInviteApprove) GetSubstationId() string { +func (x *MsgPlanetRaidComplete) GetNonce() string { if x != nil { - return x.SubstationId + return x.Nonce } return "" } -type MsgGuildMembershipInviteDeny struct { +type MsgPlanetRaidCompleteResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` - GuildId string `protobuf:"bytes,2,opt,name=guildId,proto3" json:"guildId,omitempty"` - PlayerId string `protobuf:"bytes,3,opt,name=playerId,proto3" json:"playerId,omitempty"` + Fleet *Fleet `protobuf:"bytes,1,opt,name=fleet,proto3" json:"fleet,omitempty"` + Planet *Planet `protobuf:"bytes,2,opt,name=planet,proto3" json:"planet,omitempty"` + OreStolen uint64 `protobuf:"varint,3,opt,name=oreStolen,proto3" json:"oreStolen,omitempty"` } -func (x *MsgGuildMembershipInviteDeny) Reset() { - *x = MsgGuildMembershipInviteDeny{} +func (x *MsgPlanetRaidCompleteResponse) Reset() { + *x = MsgPlanetRaidCompleteResponse{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_tx_proto_msgTypes[27] + mi := &file_structs_structs_tx_proto_msgTypes[53] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgGuildMembershipInviteDeny) String() string { +func (x *MsgPlanetRaidCompleteResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgGuildMembershipInviteDeny) ProtoMessage() {} +func (*MsgPlanetRaidCompleteResponse) ProtoMessage() {} -// Deprecated: Use MsgGuildMembershipInviteDeny.ProtoReflect.Descriptor instead. -func (*MsgGuildMembershipInviteDeny) Descriptor() ([]byte, []int) { - return file_structs_structs_tx_proto_rawDescGZIP(), []int{27} +// Deprecated: Use MsgPlanetRaidCompleteResponse.ProtoReflect.Descriptor instead. +func (*MsgPlanetRaidCompleteResponse) Descriptor() ([]byte, []int) { + return file_structs_structs_tx_proto_rawDescGZIP(), []int{53} } -func (x *MsgGuildMembershipInviteDeny) GetCreator() string { +func (x *MsgPlanetRaidCompleteResponse) GetFleet() *Fleet { if x != nil { - return x.Creator + return x.Fleet } - return "" + return nil } -func (x *MsgGuildMembershipInviteDeny) GetGuildId() string { +func (x *MsgPlanetRaidCompleteResponse) GetPlanet() *Planet { if x != nil { - return x.GuildId + return x.Planet } - return "" + return nil } -func (x *MsgGuildMembershipInviteDeny) GetPlayerId() string { +func (x *MsgPlanetRaidCompleteResponse) GetOreStolen() uint64 { if x != nil { - return x.PlayerId + return x.OreStolen } - return "" + return 0 } -type MsgGuildMembershipInviteRevoke struct { +type MsgPlayerUpdatePrimaryAddress struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` - GuildId string `protobuf:"bytes,2,opt,name=guildId,proto3" json:"guildId,omitempty"` - PlayerId string `protobuf:"bytes,3,opt,name=playerId,proto3" json:"playerId,omitempty"` + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + PlayerId string `protobuf:"bytes,2,opt,name=playerId,proto3" json:"playerId,omitempty"` + PrimaryAddress string `protobuf:"bytes,3,opt,name=primaryAddress,proto3" json:"primaryAddress,omitempty"` } -func (x *MsgGuildMembershipInviteRevoke) Reset() { - *x = MsgGuildMembershipInviteRevoke{} +func (x *MsgPlayerUpdatePrimaryAddress) Reset() { + *x = MsgPlayerUpdatePrimaryAddress{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_tx_proto_msgTypes[28] + mi := &file_structs_structs_tx_proto_msgTypes[54] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgGuildMembershipInviteRevoke) String() string { +func (x *MsgPlayerUpdatePrimaryAddress) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgGuildMembershipInviteRevoke) ProtoMessage() {} +func (*MsgPlayerUpdatePrimaryAddress) ProtoMessage() {} -// Deprecated: Use MsgGuildMembershipInviteRevoke.ProtoReflect.Descriptor instead. -func (*MsgGuildMembershipInviteRevoke) Descriptor() ([]byte, []int) { - return file_structs_structs_tx_proto_rawDescGZIP(), []int{28} +// Deprecated: Use MsgPlayerUpdatePrimaryAddress.ProtoReflect.Descriptor instead. +func (*MsgPlayerUpdatePrimaryAddress) Descriptor() ([]byte, []int) { + return file_structs_structs_tx_proto_rawDescGZIP(), []int{54} } -func (x *MsgGuildMembershipInviteRevoke) GetCreator() string { +func (x *MsgPlayerUpdatePrimaryAddress) GetCreator() string { if x != nil { return x.Creator } return "" } -func (x *MsgGuildMembershipInviteRevoke) GetGuildId() string { +func (x *MsgPlayerUpdatePrimaryAddress) GetPlayerId() string { if x != nil { - return x.GuildId + return x.PlayerId } return "" } -func (x *MsgGuildMembershipInviteRevoke) GetPlayerId() string { +func (x *MsgPlayerUpdatePrimaryAddress) GetPrimaryAddress() string { if x != nil { - return x.PlayerId + return x.PrimaryAddress } return "" } -type MsgGuildMembershipJoin struct { +type MsgPlayerUpdatePrimaryAddressResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - - Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` - GuildId string `protobuf:"bytes,2,opt,name=guildId,proto3" json:"guildId,omitempty"` - PlayerId string `protobuf:"bytes,3,opt,name=playerId,proto3" json:"playerId,omitempty"` - SubstationId string `protobuf:"bytes,4,opt,name=substationId,proto3" json:"substationId,omitempty"` - InfusionId []string `protobuf:"bytes,5,rep,name=infusionId,proto3" json:"infusionId,omitempty"` } -func (x *MsgGuildMembershipJoin) Reset() { - *x = MsgGuildMembershipJoin{} +func (x *MsgPlayerUpdatePrimaryAddressResponse) Reset() { + *x = MsgPlayerUpdatePrimaryAddressResponse{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_tx_proto_msgTypes[29] + mi := &file_structs_structs_tx_proto_msgTypes[55] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgGuildMembershipJoin) String() string { +func (x *MsgPlayerUpdatePrimaryAddressResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgGuildMembershipJoin) ProtoMessage() {} - -// Deprecated: Use MsgGuildMembershipJoin.ProtoReflect.Descriptor instead. -func (*MsgGuildMembershipJoin) Descriptor() ([]byte, []int) { - return file_structs_structs_tx_proto_rawDescGZIP(), []int{29} -} - -func (x *MsgGuildMembershipJoin) GetCreator() string { - if x != nil { - return x.Creator - } - return "" -} - -func (x *MsgGuildMembershipJoin) GetGuildId() string { - if x != nil { - return x.GuildId - } - return "" -} - -func (x *MsgGuildMembershipJoin) GetPlayerId() string { - if x != nil { - return x.PlayerId - } - return "" -} - -func (x *MsgGuildMembershipJoin) GetSubstationId() string { - if x != nil { - return x.SubstationId - } - return "" -} +func (*MsgPlayerUpdatePrimaryAddressResponse) ProtoMessage() {} -func (x *MsgGuildMembershipJoin) GetInfusionId() []string { - if x != nil { - return x.InfusionId - } - return nil +// Deprecated: Use MsgPlayerUpdatePrimaryAddressResponse.ProtoReflect.Descriptor instead. +func (*MsgPlayerUpdatePrimaryAddressResponse) Descriptor() ([]byte, []int) { + return file_structs_structs_tx_proto_rawDescGZIP(), []int{55} } -type MsgGuildMembershipJoinProxy struct { +type MsgPlayerResume struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` - Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` - SubstationId string `protobuf:"bytes,3,opt,name=substationId,proto3" json:"substationId,omitempty"` - ProofPubKey string `protobuf:"bytes,4,opt,name=proofPubKey,proto3" json:"proofPubKey,omitempty"` - ProofSignature string `protobuf:"bytes,5,opt,name=proofSignature,proto3" json:"proofSignature,omitempty"` + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + PlayerId string `protobuf:"bytes,2,opt,name=playerId,proto3" json:"playerId,omitempty"` } -func (x *MsgGuildMembershipJoinProxy) Reset() { - *x = MsgGuildMembershipJoinProxy{} +func (x *MsgPlayerResume) Reset() { + *x = MsgPlayerResume{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_tx_proto_msgTypes[30] + mi := &file_structs_structs_tx_proto_msgTypes[56] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgGuildMembershipJoinProxy) String() string { +func (x *MsgPlayerResume) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgGuildMembershipJoinProxy) ProtoMessage() {} +func (*MsgPlayerResume) ProtoMessage() {} -// Deprecated: Use MsgGuildMembershipJoinProxy.ProtoReflect.Descriptor instead. -func (*MsgGuildMembershipJoinProxy) Descriptor() ([]byte, []int) { - return file_structs_structs_tx_proto_rawDescGZIP(), []int{30} +// Deprecated: Use MsgPlayerResume.ProtoReflect.Descriptor instead. +func (*MsgPlayerResume) Descriptor() ([]byte, []int) { + return file_structs_structs_tx_proto_rawDescGZIP(), []int{56} } -func (x *MsgGuildMembershipJoinProxy) GetCreator() string { +func (x *MsgPlayerResume) GetCreator() string { if x != nil { return x.Creator } return "" } -func (x *MsgGuildMembershipJoinProxy) GetAddress() string { +func (x *MsgPlayerResume) GetPlayerId() string { if x != nil { - return x.Address + return x.PlayerId } return "" } -func (x *MsgGuildMembershipJoinProxy) GetSubstationId() string { - if x != nil { - return x.SubstationId - } - return "" +type MsgPlayerResumeResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (x *MsgGuildMembershipJoinProxy) GetProofPubKey() string { - if x != nil { - return x.ProofPubKey +func (x *MsgPlayerResumeResponse) Reset() { + *x = MsgPlayerResumeResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_structs_structs_tx_proto_msgTypes[57] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return "" } -func (x *MsgGuildMembershipJoinProxy) GetProofSignature() string { - if x != nil { - return x.ProofSignature - } - return "" +func (x *MsgPlayerResumeResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -type MsgGuildMembershipKick struct { +func (*MsgPlayerResumeResponse) ProtoMessage() {} + +// Deprecated: Use MsgPlayerResumeResponse.ProtoReflect.Descriptor instead. +func (*MsgPlayerResumeResponse) Descriptor() ([]byte, []int) { + return file_structs_structs_tx_proto_rawDescGZIP(), []int{57} +} + +type MsgStructStatusResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` - GuildId string `protobuf:"bytes,2,opt,name=guildId,proto3" json:"guildId,omitempty"` - PlayerId string `protobuf:"bytes,3,opt,name=playerId,proto3" json:"playerId,omitempty"` + Struct *Struct `protobuf:"bytes,1,opt,name=struct,proto3" json:"struct,omitempty"` } -func (x *MsgGuildMembershipKick) Reset() { - *x = MsgGuildMembershipKick{} +func (x *MsgStructStatusResponse) Reset() { + *x = MsgStructStatusResponse{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_tx_proto_msgTypes[31] + mi := &file_structs_structs_tx_proto_msgTypes[58] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgGuildMembershipKick) String() string { +func (x *MsgStructStatusResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgGuildMembershipKick) ProtoMessage() {} - -// Deprecated: Use MsgGuildMembershipKick.ProtoReflect.Descriptor instead. -func (*MsgGuildMembershipKick) Descriptor() ([]byte, []int) { - return file_structs_structs_tx_proto_rawDescGZIP(), []int{31} -} - -func (x *MsgGuildMembershipKick) GetCreator() string { - if x != nil { - return x.Creator - } - return "" -} +func (*MsgStructStatusResponse) ProtoMessage() {} -func (x *MsgGuildMembershipKick) GetGuildId() string { - if x != nil { - return x.GuildId - } - return "" +// Deprecated: Use MsgStructStatusResponse.ProtoReflect.Descriptor instead. +func (*MsgStructStatusResponse) Descriptor() ([]byte, []int) { + return file_structs_structs_tx_proto_rawDescGZIP(), []int{58} } -func (x *MsgGuildMembershipKick) GetPlayerId() string { +func (x *MsgStructStatusResponse) GetStruct() *Struct { if x != nil { - return x.PlayerId + return x.Struct } - return "" + return nil } -type MsgGuildMembershipRequest struct { +type MsgStructActivate struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` - GuildId string `protobuf:"bytes,2,opt,name=guildId,proto3" json:"guildId,omitempty"` - PlayerId string `protobuf:"bytes,3,opt,name=playerId,proto3" json:"playerId,omitempty"` - SubstationId string `protobuf:"bytes,4,opt,name=substationId,proto3" json:"substationId,omitempty"` + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + StructId string `protobuf:"bytes,2,opt,name=structId,proto3" json:"structId,omitempty"` } -func (x *MsgGuildMembershipRequest) Reset() { - *x = MsgGuildMembershipRequest{} +func (x *MsgStructActivate) Reset() { + *x = MsgStructActivate{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_tx_proto_msgTypes[32] + mi := &file_structs_structs_tx_proto_msgTypes[59] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgGuildMembershipRequest) String() string { +func (x *MsgStructActivate) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgGuildMembershipRequest) ProtoMessage() {} - -// Deprecated: Use MsgGuildMembershipRequest.ProtoReflect.Descriptor instead. -func (*MsgGuildMembershipRequest) Descriptor() ([]byte, []int) { - return file_structs_structs_tx_proto_rawDescGZIP(), []int{32} -} - -func (x *MsgGuildMembershipRequest) GetCreator() string { - if x != nil { - return x.Creator - } - return "" -} +func (*MsgStructActivate) ProtoMessage() {} -func (x *MsgGuildMembershipRequest) GetGuildId() string { - if x != nil { - return x.GuildId - } - return "" +// Deprecated: Use MsgStructActivate.ProtoReflect.Descriptor instead. +func (*MsgStructActivate) Descriptor() ([]byte, []int) { + return file_structs_structs_tx_proto_rawDescGZIP(), []int{59} } -func (x *MsgGuildMembershipRequest) GetPlayerId() string { +func (x *MsgStructActivate) GetCreator() string { if x != nil { - return x.PlayerId + return x.Creator } return "" } -func (x *MsgGuildMembershipRequest) GetSubstationId() string { +func (x *MsgStructActivate) GetStructId() string { if x != nil { - return x.SubstationId + return x.StructId } return "" } -type MsgGuildMembershipRequestApprove struct { +type MsgStructDeactivate struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` - GuildId string `protobuf:"bytes,2,opt,name=guildId,proto3" json:"guildId,omitempty"` - PlayerId string `protobuf:"bytes,3,opt,name=playerId,proto3" json:"playerId,omitempty"` - SubstationId string `protobuf:"bytes,4,opt,name=substationId,proto3" json:"substationId,omitempty"` + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + StructId string `protobuf:"bytes,2,opt,name=structId,proto3" json:"structId,omitempty"` } -func (x *MsgGuildMembershipRequestApprove) Reset() { - *x = MsgGuildMembershipRequestApprove{} +func (x *MsgStructDeactivate) Reset() { + *x = MsgStructDeactivate{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_tx_proto_msgTypes[33] + mi := &file_structs_structs_tx_proto_msgTypes[60] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgGuildMembershipRequestApprove) String() string { +func (x *MsgStructDeactivate) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgGuildMembershipRequestApprove) ProtoMessage() {} +func (*MsgStructDeactivate) ProtoMessage() {} -// Deprecated: Use MsgGuildMembershipRequestApprove.ProtoReflect.Descriptor instead. -func (*MsgGuildMembershipRequestApprove) Descriptor() ([]byte, []int) { - return file_structs_structs_tx_proto_rawDescGZIP(), []int{33} +// Deprecated: Use MsgStructDeactivate.ProtoReflect.Descriptor instead. +func (*MsgStructDeactivate) Descriptor() ([]byte, []int) { + return file_structs_structs_tx_proto_rawDescGZIP(), []int{60} } -func (x *MsgGuildMembershipRequestApprove) GetCreator() string { +func (x *MsgStructDeactivate) GetCreator() string { if x != nil { return x.Creator } return "" } -func (x *MsgGuildMembershipRequestApprove) GetGuildId() string { - if x != nil { - return x.GuildId - } - return "" -} - -func (x *MsgGuildMembershipRequestApprove) GetPlayerId() string { - if x != nil { - return x.PlayerId - } - return "" -} - -func (x *MsgGuildMembershipRequestApprove) GetSubstationId() string { +func (x *MsgStructDeactivate) GetStructId() string { if x != nil { - return x.SubstationId + return x.StructId } return "" } -type MsgGuildMembershipRequestDeny struct { +type MsgStructBuildInitiate struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` - GuildId string `protobuf:"bytes,2,opt,name=guildId,proto3" json:"guildId,omitempty"` - PlayerId string `protobuf:"bytes,3,opt,name=playerId,proto3" json:"playerId,omitempty"` + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + PlayerId string `protobuf:"bytes,2,opt,name=playerId,proto3" json:"playerId,omitempty"` + StructTypeId uint64 `protobuf:"varint,3,opt,name=structTypeId,proto3" json:"structTypeId,omitempty"` + // objectType locationType = 4; + OperatingAmbit Ambit `protobuf:"varint,4,opt,name=operatingAmbit,proto3,enum=structs.structs.Ambit" json:"operatingAmbit,omitempty"` + Slot uint64 `protobuf:"varint,5,opt,name=slot,proto3" json:"slot,omitempty"` } -func (x *MsgGuildMembershipRequestDeny) Reset() { - *x = MsgGuildMembershipRequestDeny{} +func (x *MsgStructBuildInitiate) Reset() { + *x = MsgStructBuildInitiate{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_tx_proto_msgTypes[34] + mi := &file_structs_structs_tx_proto_msgTypes[61] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgGuildMembershipRequestDeny) String() string { +func (x *MsgStructBuildInitiate) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgGuildMembershipRequestDeny) ProtoMessage() {} +func (*MsgStructBuildInitiate) ProtoMessage() {} -// Deprecated: Use MsgGuildMembershipRequestDeny.ProtoReflect.Descriptor instead. -func (*MsgGuildMembershipRequestDeny) Descriptor() ([]byte, []int) { - return file_structs_structs_tx_proto_rawDescGZIP(), []int{34} +// Deprecated: Use MsgStructBuildInitiate.ProtoReflect.Descriptor instead. +func (*MsgStructBuildInitiate) Descriptor() ([]byte, []int) { + return file_structs_structs_tx_proto_rawDescGZIP(), []int{61} } -func (x *MsgGuildMembershipRequestDeny) GetCreator() string { +func (x *MsgStructBuildInitiate) GetCreator() string { if x != nil { return x.Creator } return "" } -func (x *MsgGuildMembershipRequestDeny) GetGuildId() string { +func (x *MsgStructBuildInitiate) GetPlayerId() string { if x != nil { - return x.GuildId + return x.PlayerId } return "" } -func (x *MsgGuildMembershipRequestDeny) GetPlayerId() string { +func (x *MsgStructBuildInitiate) GetStructTypeId() uint64 { if x != nil { - return x.PlayerId + return x.StructTypeId } - return "" + return 0 } -type MsgGuildMembershipRequestRevoke struct { +func (x *MsgStructBuildInitiate) GetOperatingAmbit() Ambit { + if x != nil { + return x.OperatingAmbit + } + return Ambit_none +} + +func (x *MsgStructBuildInitiate) GetSlot() uint64 { + if x != nil { + return x.Slot + } + return 0 +} + +type MsgStructBuildComplete struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` - GuildId string `protobuf:"bytes,2,opt,name=guildId,proto3" json:"guildId,omitempty"` - PlayerId string `protobuf:"bytes,3,opt,name=playerId,proto3" json:"playerId,omitempty"` + StructId string `protobuf:"bytes,2,opt,name=structId,proto3" json:"structId,omitempty"` + Proof string `protobuf:"bytes,3,opt,name=proof,proto3" json:"proof,omitempty"` + Nonce string `protobuf:"bytes,4,opt,name=nonce,proto3" json:"nonce,omitempty"` } -func (x *MsgGuildMembershipRequestRevoke) Reset() { - *x = MsgGuildMembershipRequestRevoke{} +func (x *MsgStructBuildComplete) Reset() { + *x = MsgStructBuildComplete{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_tx_proto_msgTypes[35] + mi := &file_structs_structs_tx_proto_msgTypes[62] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgGuildMembershipRequestRevoke) String() string { +func (x *MsgStructBuildComplete) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgGuildMembershipRequestRevoke) ProtoMessage() {} +func (*MsgStructBuildComplete) ProtoMessage() {} -// Deprecated: Use MsgGuildMembershipRequestRevoke.ProtoReflect.Descriptor instead. -func (*MsgGuildMembershipRequestRevoke) Descriptor() ([]byte, []int) { - return file_structs_structs_tx_proto_rawDescGZIP(), []int{35} +// Deprecated: Use MsgStructBuildComplete.ProtoReflect.Descriptor instead. +func (*MsgStructBuildComplete) Descriptor() ([]byte, []int) { + return file_structs_structs_tx_proto_rawDescGZIP(), []int{62} } -func (x *MsgGuildMembershipRequestRevoke) GetCreator() string { +func (x *MsgStructBuildComplete) GetCreator() string { if x != nil { return x.Creator } return "" } -func (x *MsgGuildMembershipRequestRevoke) GetGuildId() string { +func (x *MsgStructBuildComplete) GetStructId() string { if x != nil { - return x.GuildId + return x.StructId } return "" } -func (x *MsgGuildMembershipRequestRevoke) GetPlayerId() string { +func (x *MsgStructBuildComplete) GetProof() string { if x != nil { - return x.PlayerId + return x.Proof } return "" } -type MsgGuildMembershipResponse struct { +func (x *MsgStructBuildComplete) GetNonce() string { + if x != nil { + return x.Nonce + } + return "" +} + +type MsgStructBuildCancel struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - GuildMembershipApplication *GuildMembershipApplication `protobuf:"bytes,1,opt,name=guildMembershipApplication,proto3" json:"guildMembershipApplication,omitempty"` + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + StructId string `protobuf:"bytes,2,opt,name=structId,proto3" json:"structId,omitempty"` } -func (x *MsgGuildMembershipResponse) Reset() { - *x = MsgGuildMembershipResponse{} +func (x *MsgStructBuildCancel) Reset() { + *x = MsgStructBuildCancel{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_tx_proto_msgTypes[36] + mi := &file_structs_structs_tx_proto_msgTypes[63] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgGuildMembershipResponse) String() string { +func (x *MsgStructBuildCancel) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgGuildMembershipResponse) ProtoMessage() {} +func (*MsgStructBuildCancel) ProtoMessage() {} -// Deprecated: Use MsgGuildMembershipResponse.ProtoReflect.Descriptor instead. -func (*MsgGuildMembershipResponse) Descriptor() ([]byte, []int) { - return file_structs_structs_tx_proto_rawDescGZIP(), []int{36} +// Deprecated: Use MsgStructBuildCancel.ProtoReflect.Descriptor instead. +func (*MsgStructBuildCancel) Descriptor() ([]byte, []int) { + return file_structs_structs_tx_proto_rawDescGZIP(), []int{63} } -func (x *MsgGuildMembershipResponse) GetGuildMembershipApplication() *GuildMembershipApplication { +func (x *MsgStructBuildCancel) GetCreator() string { if x != nil { - return x.GuildMembershipApplication + return x.Creator } - return nil + return "" } -type MsgPermissionGrantOnObject struct { +func (x *MsgStructBuildCancel) GetStructId() string { + if x != nil { + return x.StructId + } + return "" +} + +type MsgStructBuildCompleteAndStash struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` - ObjectId string `protobuf:"bytes,2,opt,name=objectId,proto3" json:"objectId,omitempty"` - PlayerId string `protobuf:"bytes,3,opt,name=playerId,proto3" json:"playerId,omitempty"` - Permissions uint64 `protobuf:"varint,4,opt,name=permissions,proto3" json:"permissions,omitempty"` + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + StructId string `protobuf:"bytes,2,opt,name=structId,proto3" json:"structId,omitempty"` + Proof string `protobuf:"bytes,3,opt,name=proof,proto3" json:"proof,omitempty"` + Nonce string `protobuf:"bytes,4,opt,name=nonce,proto3" json:"nonce,omitempty"` + StorageDestinationId string `protobuf:"bytes,5,opt,name=storageDestinationId,proto3" json:"storageDestinationId,omitempty"` + StorageAmbit Ambit `protobuf:"varint,6,opt,name=storageAmbit,proto3,enum=structs.structs.Ambit" json:"storageAmbit,omitempty"` + StorageSlot uint64 `protobuf:"varint,7,opt,name=storageSlot,proto3" json:"storageSlot,omitempty"` } -func (x *MsgPermissionGrantOnObject) Reset() { - *x = MsgPermissionGrantOnObject{} +func (x *MsgStructBuildCompleteAndStash) Reset() { + *x = MsgStructBuildCompleteAndStash{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_tx_proto_msgTypes[37] + mi := &file_structs_structs_tx_proto_msgTypes[64] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgPermissionGrantOnObject) String() string { +func (x *MsgStructBuildCompleteAndStash) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgPermissionGrantOnObject) ProtoMessage() {} +func (*MsgStructBuildCompleteAndStash) ProtoMessage() {} -// Deprecated: Use MsgPermissionGrantOnObject.ProtoReflect.Descriptor instead. -func (*MsgPermissionGrantOnObject) Descriptor() ([]byte, []int) { - return file_structs_structs_tx_proto_rawDescGZIP(), []int{37} +// Deprecated: Use MsgStructBuildCompleteAndStash.ProtoReflect.Descriptor instead. +func (*MsgStructBuildCompleteAndStash) Descriptor() ([]byte, []int) { + return file_structs_structs_tx_proto_rawDescGZIP(), []int{64} } -func (x *MsgPermissionGrantOnObject) GetCreator() string { +func (x *MsgStructBuildCompleteAndStash) GetCreator() string { if x != nil { return x.Creator } return "" } -func (x *MsgPermissionGrantOnObject) GetObjectId() string { +func (x *MsgStructBuildCompleteAndStash) GetStructId() string { if x != nil { - return x.ObjectId + return x.StructId } return "" } -func (x *MsgPermissionGrantOnObject) GetPlayerId() string { +func (x *MsgStructBuildCompleteAndStash) GetProof() string { if x != nil { - return x.PlayerId + return x.Proof } return "" } -func (x *MsgPermissionGrantOnObject) GetPermissions() uint64 { +func (x *MsgStructBuildCompleteAndStash) GetNonce() string { if x != nil { - return x.Permissions - } - return 0 -} - -type MsgPermissionGrantOnAddress struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` - Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` - Permissions uint64 `protobuf:"varint,3,opt,name=permissions,proto3" json:"permissions,omitempty"` -} - -func (x *MsgPermissionGrantOnAddress) Reset() { - *x = MsgPermissionGrantOnAddress{} - if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_tx_proto_msgTypes[38] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) + return x.Nonce } + return "" } -func (x *MsgPermissionGrantOnAddress) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MsgPermissionGrantOnAddress) ProtoMessage() {} - -// Deprecated: Use MsgPermissionGrantOnAddress.ProtoReflect.Descriptor instead. -func (*MsgPermissionGrantOnAddress) Descriptor() ([]byte, []int) { - return file_structs_structs_tx_proto_rawDescGZIP(), []int{38} -} - -func (x *MsgPermissionGrantOnAddress) GetCreator() string { +func (x *MsgStructBuildCompleteAndStash) GetStorageDestinationId() string { if x != nil { - return x.Creator + return x.StorageDestinationId } return "" } -func (x *MsgPermissionGrantOnAddress) GetAddress() string { +func (x *MsgStructBuildCompleteAndStash) GetStorageAmbit() Ambit { if x != nil { - return x.Address + return x.StorageAmbit } - return "" + return Ambit_none } -func (x *MsgPermissionGrantOnAddress) GetPermissions() uint64 { +func (x *MsgStructBuildCompleteAndStash) GetStorageSlot() uint64 { if x != nil { - return x.Permissions + return x.StorageSlot } return 0 } -type MsgPermissionRevokeOnObject struct { +type MsgStructDefenseSet struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` - ObjectId string `protobuf:"bytes,2,opt,name=objectId,proto3" json:"objectId,omitempty"` - PlayerId string `protobuf:"bytes,3,opt,name=playerId,proto3" json:"playerId,omitempty"` - Permissions uint64 `protobuf:"varint,4,opt,name=permissions,proto3" json:"permissions,omitempty"` + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + DefenderStructId string `protobuf:"bytes,2,opt,name=defenderStructId,proto3" json:"defenderStructId,omitempty"` + ProtectedStructId string `protobuf:"bytes,3,opt,name=protectedStructId,proto3" json:"protectedStructId,omitempty"` } -func (x *MsgPermissionRevokeOnObject) Reset() { - *x = MsgPermissionRevokeOnObject{} +func (x *MsgStructDefenseSet) Reset() { + *x = MsgStructDefenseSet{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_tx_proto_msgTypes[39] + mi := &file_structs_structs_tx_proto_msgTypes[65] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgPermissionRevokeOnObject) String() string { +func (x *MsgStructDefenseSet) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgPermissionRevokeOnObject) ProtoMessage() {} +func (*MsgStructDefenseSet) ProtoMessage() {} -// Deprecated: Use MsgPermissionRevokeOnObject.ProtoReflect.Descriptor instead. -func (*MsgPermissionRevokeOnObject) Descriptor() ([]byte, []int) { - return file_structs_structs_tx_proto_rawDescGZIP(), []int{39} +// Deprecated: Use MsgStructDefenseSet.ProtoReflect.Descriptor instead. +func (*MsgStructDefenseSet) Descriptor() ([]byte, []int) { + return file_structs_structs_tx_proto_rawDescGZIP(), []int{65} } -func (x *MsgPermissionRevokeOnObject) GetCreator() string { +func (x *MsgStructDefenseSet) GetCreator() string { if x != nil { return x.Creator } return "" } -func (x *MsgPermissionRevokeOnObject) GetObjectId() string { +func (x *MsgStructDefenseSet) GetDefenderStructId() string { if x != nil { - return x.ObjectId + return x.DefenderStructId } return "" } -func (x *MsgPermissionRevokeOnObject) GetPlayerId() string { +func (x *MsgStructDefenseSet) GetProtectedStructId() string { if x != nil { - return x.PlayerId + return x.ProtectedStructId } return "" } -func (x *MsgPermissionRevokeOnObject) GetPermissions() uint64 { - if x != nil { - return x.Permissions - } - return 0 -} - -type MsgPermissionRevokeOnAddress struct { +type MsgStructDefenseClear struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` - Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` - Permissions uint64 `protobuf:"varint,3,opt,name=permissions,proto3" json:"permissions,omitempty"` + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + DefenderStructId string `protobuf:"bytes,2,opt,name=defenderStructId,proto3" json:"defenderStructId,omitempty"` } -func (x *MsgPermissionRevokeOnAddress) Reset() { - *x = MsgPermissionRevokeOnAddress{} +func (x *MsgStructDefenseClear) Reset() { + *x = MsgStructDefenseClear{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_tx_proto_msgTypes[40] + mi := &file_structs_structs_tx_proto_msgTypes[66] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgPermissionRevokeOnAddress) String() string { +func (x *MsgStructDefenseClear) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgPermissionRevokeOnAddress) ProtoMessage() {} +func (*MsgStructDefenseClear) ProtoMessage() {} -// Deprecated: Use MsgPermissionRevokeOnAddress.ProtoReflect.Descriptor instead. -func (*MsgPermissionRevokeOnAddress) Descriptor() ([]byte, []int) { - return file_structs_structs_tx_proto_rawDescGZIP(), []int{40} +// Deprecated: Use MsgStructDefenseClear.ProtoReflect.Descriptor instead. +func (*MsgStructDefenseClear) Descriptor() ([]byte, []int) { + return file_structs_structs_tx_proto_rawDescGZIP(), []int{66} } -func (x *MsgPermissionRevokeOnAddress) GetCreator() string { +func (x *MsgStructDefenseClear) GetCreator() string { if x != nil { return x.Creator } return "" } -func (x *MsgPermissionRevokeOnAddress) GetAddress() string { +func (x *MsgStructDefenseClear) GetDefenderStructId() string { if x != nil { - return x.Address + return x.DefenderStructId } return "" } -func (x *MsgPermissionRevokeOnAddress) GetPermissions() uint64 { - if x != nil { - return x.Permissions - } - return 0 -} - -type MsgPermissionSetOnObject struct { +type MsgStructMove struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` - ObjectId string `protobuf:"bytes,2,opt,name=objectId,proto3" json:"objectId,omitempty"` - PlayerId string `protobuf:"bytes,3,opt,name=playerId,proto3" json:"playerId,omitempty"` - Permissions uint64 `protobuf:"varint,4,opt,name=permissions,proto3" json:"permissions,omitempty"` + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + StructId string `protobuf:"bytes,2,opt,name=structId,proto3" json:"structId,omitempty"` + LocationType ObjectType `protobuf:"varint,4,opt,name=locationType,proto3,enum=structs.structs.ObjectType" json:"locationType,omitempty"` + Ambit Ambit `protobuf:"varint,5,opt,name=ambit,proto3,enum=structs.structs.Ambit" json:"ambit,omitempty"` + Slot uint64 `protobuf:"varint,6,opt,name=slot,proto3" json:"slot,omitempty"` } -func (x *MsgPermissionSetOnObject) Reset() { - *x = MsgPermissionSetOnObject{} +func (x *MsgStructMove) Reset() { + *x = MsgStructMove{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_tx_proto_msgTypes[41] + mi := &file_structs_structs_tx_proto_msgTypes[67] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgPermissionSetOnObject) String() string { +func (x *MsgStructMove) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgPermissionSetOnObject) ProtoMessage() {} +func (*MsgStructMove) ProtoMessage() {} -// Deprecated: Use MsgPermissionSetOnObject.ProtoReflect.Descriptor instead. -func (*MsgPermissionSetOnObject) Descriptor() ([]byte, []int) { - return file_structs_structs_tx_proto_rawDescGZIP(), []int{41} +// Deprecated: Use MsgStructMove.ProtoReflect.Descriptor instead. +func (*MsgStructMove) Descriptor() ([]byte, []int) { + return file_structs_structs_tx_proto_rawDescGZIP(), []int{67} } -func (x *MsgPermissionSetOnObject) GetCreator() string { +func (x *MsgStructMove) GetCreator() string { if x != nil { return x.Creator } return "" } -func (x *MsgPermissionSetOnObject) GetObjectId() string { +func (x *MsgStructMove) GetStructId() string { if x != nil { - return x.ObjectId + return x.StructId } return "" } -func (x *MsgPermissionSetOnObject) GetPlayerId() string { +func (x *MsgStructMove) GetLocationType() ObjectType { if x != nil { - return x.PlayerId + return x.LocationType } - return "" + return ObjectType_guild } -func (x *MsgPermissionSetOnObject) GetPermissions() uint64 { +func (x *MsgStructMove) GetAmbit() Ambit { if x != nil { - return x.Permissions + return x.Ambit + } + return Ambit_none +} + +func (x *MsgStructMove) GetSlot() uint64 { + if x != nil { + return x.Slot } return 0 } -type MsgPermissionSetOnAddress struct { +type MsgStructAttack struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` - Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` - Permissions uint64 `protobuf:"varint,3,opt,name=permissions,proto3" json:"permissions,omitempty"` + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + OperatingStructId string `protobuf:"bytes,2,opt,name=operatingStructId,proto3" json:"operatingStructId,omitempty"` + TargetStructId []string `protobuf:"bytes,3,rep,name=targetStructId,proto3" json:"targetStructId,omitempty"` + WeaponSystem string `protobuf:"bytes,4,opt,name=weaponSystem,proto3" json:"weaponSystem,omitempty"` } -func (x *MsgPermissionSetOnAddress) Reset() { - *x = MsgPermissionSetOnAddress{} +func (x *MsgStructAttack) Reset() { + *x = MsgStructAttack{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_tx_proto_msgTypes[42] + mi := &file_structs_structs_tx_proto_msgTypes[68] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgPermissionSetOnAddress) String() string { +func (x *MsgStructAttack) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgPermissionSetOnAddress) ProtoMessage() {} +func (*MsgStructAttack) ProtoMessage() {} -// Deprecated: Use MsgPermissionSetOnAddress.ProtoReflect.Descriptor instead. -func (*MsgPermissionSetOnAddress) Descriptor() ([]byte, []int) { - return file_structs_structs_tx_proto_rawDescGZIP(), []int{42} +// Deprecated: Use MsgStructAttack.ProtoReflect.Descriptor instead. +func (*MsgStructAttack) Descriptor() ([]byte, []int) { + return file_structs_structs_tx_proto_rawDescGZIP(), []int{68} } -func (x *MsgPermissionSetOnAddress) GetCreator() string { +func (x *MsgStructAttack) GetCreator() string { if x != nil { return x.Creator } return "" } -func (x *MsgPermissionSetOnAddress) GetAddress() string { +func (x *MsgStructAttack) GetOperatingStructId() string { if x != nil { - return x.Address + return x.OperatingStructId } return "" } -func (x *MsgPermissionSetOnAddress) GetPermissions() uint64 { +func (x *MsgStructAttack) GetTargetStructId() []string { if x != nil { - return x.Permissions + return x.TargetStructId } - return 0 + return nil } -type MsgPermissionResponse struct { +func (x *MsgStructAttack) GetWeaponSystem() string { + if x != nil { + return x.WeaponSystem + } + return "" +} + +type MsgStructAttackResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields } -func (x *MsgPermissionResponse) Reset() { - *x = MsgPermissionResponse{} +func (x *MsgStructAttackResponse) Reset() { + *x = MsgStructAttackResponse{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_tx_proto_msgTypes[43] + mi := &file_structs_structs_tx_proto_msgTypes[69] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgPermissionResponse) String() string { +func (x *MsgStructAttackResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgPermissionResponse) ProtoMessage() {} +func (*MsgStructAttackResponse) ProtoMessage() {} -// Deprecated: Use MsgPermissionResponse.ProtoReflect.Descriptor instead. -func (*MsgPermissionResponse) Descriptor() ([]byte, []int) { - return file_structs_structs_tx_proto_rawDescGZIP(), []int{43} +// Deprecated: Use MsgStructAttackResponse.ProtoReflect.Descriptor instead. +func (*MsgStructAttackResponse) Descriptor() ([]byte, []int) { + return file_structs_structs_tx_proto_rawDescGZIP(), []int{69} } -type MsgPlanetExplore struct { +type MsgStructStealthActivate struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + StructId string `protobuf:"bytes,2,opt,name=structId,proto3" json:"structId,omitempty"` } -func (x *MsgPlanetExplore) Reset() { - *x = MsgPlanetExplore{} +func (x *MsgStructStealthActivate) Reset() { + *x = MsgStructStealthActivate{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_tx_proto_msgTypes[44] + mi := &file_structs_structs_tx_proto_msgTypes[70] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgPlanetExplore) String() string { +func (x *MsgStructStealthActivate) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgPlanetExplore) ProtoMessage() {} +func (*MsgStructStealthActivate) ProtoMessage() {} -// Deprecated: Use MsgPlanetExplore.ProtoReflect.Descriptor instead. -func (*MsgPlanetExplore) Descriptor() ([]byte, []int) { - return file_structs_structs_tx_proto_rawDescGZIP(), []int{44} +// Deprecated: Use MsgStructStealthActivate.ProtoReflect.Descriptor instead. +func (*MsgStructStealthActivate) Descriptor() ([]byte, []int) { + return file_structs_structs_tx_proto_rawDescGZIP(), []int{70} } -func (x *MsgPlanetExplore) GetCreator() string { +func (x *MsgStructStealthActivate) GetCreator() string { if x != nil { return x.Creator } return "" } -type MsgPlanetExploreResponse struct { +func (x *MsgStructStealthActivate) GetStructId() string { + if x != nil { + return x.StructId + } + return "" +} + +type MsgStructStealthDeactivate struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Planet *Planet `protobuf:"bytes,1,opt,name=planet,proto3" json:"planet,omitempty"` + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + StructId string `protobuf:"bytes,2,opt,name=structId,proto3" json:"structId,omitempty"` } -func (x *MsgPlanetExploreResponse) Reset() { - *x = MsgPlanetExploreResponse{} +func (x *MsgStructStealthDeactivate) Reset() { + *x = MsgStructStealthDeactivate{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_tx_proto_msgTypes[45] + mi := &file_structs_structs_tx_proto_msgTypes[71] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgPlanetExploreResponse) String() string { +func (x *MsgStructStealthDeactivate) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgPlanetExploreResponse) ProtoMessage() {} +func (*MsgStructStealthDeactivate) ProtoMessage() {} -// Deprecated: Use MsgPlanetExploreResponse.ProtoReflect.Descriptor instead. -func (*MsgPlanetExploreResponse) Descriptor() ([]byte, []int) { - return file_structs_structs_tx_proto_rawDescGZIP(), []int{45} +// Deprecated: Use MsgStructStealthDeactivate.ProtoReflect.Descriptor instead. +func (*MsgStructStealthDeactivate) Descriptor() ([]byte, []int) { + return file_structs_structs_tx_proto_rawDescGZIP(), []int{71} } -func (x *MsgPlanetExploreResponse) GetPlanet() *Planet { +func (x *MsgStructStealthDeactivate) GetCreator() string { + if x != nil { + return x.Creator + } + return "" +} + +func (x *MsgStructStealthDeactivate) GetStructId() string { if x != nil { - return x.Planet + return x.StructId } - return nil + return "" } -type MsgPlanetRaidComplete struct { +type MsgStructGeneratorInfuse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` - FleetId string `protobuf:"bytes,2,opt,name=fleetId,proto3" json:"fleetId,omitempty"` - Proof string `protobuf:"bytes,3,opt,name=proof,proto3" json:"proof,omitempty"` - Nonce string `protobuf:"bytes,4,opt,name=nonce,proto3" json:"nonce,omitempty"` + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + StructId string `protobuf:"bytes,2,opt,name=structId,proto3" json:"structId,omitempty"` + InfuseAmount string `protobuf:"bytes,3,opt,name=infuseAmount,proto3" json:"infuseAmount,omitempty"` } -func (x *MsgPlanetRaidComplete) Reset() { - *x = MsgPlanetRaidComplete{} +func (x *MsgStructGeneratorInfuse) Reset() { + *x = MsgStructGeneratorInfuse{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_tx_proto_msgTypes[46] + mi := &file_structs_structs_tx_proto_msgTypes[72] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgPlanetRaidComplete) String() string { +func (x *MsgStructGeneratorInfuse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgPlanetRaidComplete) ProtoMessage() {} +func (*MsgStructGeneratorInfuse) ProtoMessage() {} -// Deprecated: Use MsgPlanetRaidComplete.ProtoReflect.Descriptor instead. -func (*MsgPlanetRaidComplete) Descriptor() ([]byte, []int) { - return file_structs_structs_tx_proto_rawDescGZIP(), []int{46} +// Deprecated: Use MsgStructGeneratorInfuse.ProtoReflect.Descriptor instead. +func (*MsgStructGeneratorInfuse) Descriptor() ([]byte, []int) { + return file_structs_structs_tx_proto_rawDescGZIP(), []int{72} } -func (x *MsgPlanetRaidComplete) GetCreator() string { +func (x *MsgStructGeneratorInfuse) GetCreator() string { if x != nil { return x.Creator } return "" } -func (x *MsgPlanetRaidComplete) GetFleetId() string { - if x != nil { - return x.FleetId - } - return "" -} - -func (x *MsgPlanetRaidComplete) GetProof() string { +func (x *MsgStructGeneratorInfuse) GetStructId() string { if x != nil { - return x.Proof + return x.StructId } return "" } -func (x *MsgPlanetRaidComplete) GetNonce() string { +func (x *MsgStructGeneratorInfuse) GetInfuseAmount() string { if x != nil { - return x.Nonce + return x.InfuseAmount } return "" } -type MsgPlanetRaidCompleteResponse struct { +type MsgStructGeneratorStatusResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - - Fleet *Fleet `protobuf:"bytes,1,opt,name=fleet,proto3" json:"fleet,omitempty"` - Planet *Planet `protobuf:"bytes,2,opt,name=planet,proto3" json:"planet,omitempty"` - OreStolen uint64 `protobuf:"varint,3,opt,name=oreStolen,proto3" json:"oreStolen,omitempty"` } -func (x *MsgPlanetRaidCompleteResponse) Reset() { - *x = MsgPlanetRaidCompleteResponse{} +func (x *MsgStructGeneratorStatusResponse) Reset() { + *x = MsgStructGeneratorStatusResponse{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_tx_proto_msgTypes[47] + mi := &file_structs_structs_tx_proto_msgTypes[73] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgPlanetRaidCompleteResponse) String() string { +func (x *MsgStructGeneratorStatusResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgPlanetRaidCompleteResponse) ProtoMessage() {} - -// Deprecated: Use MsgPlanetRaidCompleteResponse.ProtoReflect.Descriptor instead. -func (*MsgPlanetRaidCompleteResponse) Descriptor() ([]byte, []int) { - return file_structs_structs_tx_proto_rawDescGZIP(), []int{47} -} - -func (x *MsgPlanetRaidCompleteResponse) GetFleet() *Fleet { - if x != nil { - return x.Fleet - } - return nil -} - -func (x *MsgPlanetRaidCompleteResponse) GetPlanet() *Planet { - if x != nil { - return x.Planet - } - return nil -} +func (*MsgStructGeneratorStatusResponse) ProtoMessage() {} -func (x *MsgPlanetRaidCompleteResponse) GetOreStolen() uint64 { - if x != nil { - return x.OreStolen - } - return 0 +// Deprecated: Use MsgStructGeneratorStatusResponse.ProtoReflect.Descriptor instead. +func (*MsgStructGeneratorStatusResponse) Descriptor() ([]byte, []int) { + return file_structs_structs_tx_proto_rawDescGZIP(), []int{73} } -type MsgPlayerUpdatePrimaryAddress struct { +type MsgStructOreMinerComplete struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` - PlayerId string `protobuf:"bytes,2,opt,name=playerId,proto3" json:"playerId,omitempty"` - PrimaryAddress string `protobuf:"bytes,3,opt,name=primaryAddress,proto3" json:"primaryAddress,omitempty"` + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + StructId string `protobuf:"bytes,2,opt,name=structId,proto3" json:"structId,omitempty"` + Proof string `protobuf:"bytes,3,opt,name=proof,proto3" json:"proof,omitempty"` + Nonce string `protobuf:"bytes,4,opt,name=nonce,proto3" json:"nonce,omitempty"` } -func (x *MsgPlayerUpdatePrimaryAddress) Reset() { - *x = MsgPlayerUpdatePrimaryAddress{} +func (x *MsgStructOreMinerComplete) Reset() { + *x = MsgStructOreMinerComplete{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_tx_proto_msgTypes[48] + mi := &file_structs_structs_tx_proto_msgTypes[74] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgPlayerUpdatePrimaryAddress) String() string { +func (x *MsgStructOreMinerComplete) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgPlayerUpdatePrimaryAddress) ProtoMessage() {} +func (*MsgStructOreMinerComplete) ProtoMessage() {} -// Deprecated: Use MsgPlayerUpdatePrimaryAddress.ProtoReflect.Descriptor instead. -func (*MsgPlayerUpdatePrimaryAddress) Descriptor() ([]byte, []int) { - return file_structs_structs_tx_proto_rawDescGZIP(), []int{48} +// Deprecated: Use MsgStructOreMinerComplete.ProtoReflect.Descriptor instead. +func (*MsgStructOreMinerComplete) Descriptor() ([]byte, []int) { + return file_structs_structs_tx_proto_rawDescGZIP(), []int{74} } -func (x *MsgPlayerUpdatePrimaryAddress) GetCreator() string { +func (x *MsgStructOreMinerComplete) GetCreator() string { if x != nil { return x.Creator } return "" } -func (x *MsgPlayerUpdatePrimaryAddress) GetPlayerId() string { +func (x *MsgStructOreMinerComplete) GetStructId() string { if x != nil { - return x.PlayerId + return x.StructId } return "" } -func (x *MsgPlayerUpdatePrimaryAddress) GetPrimaryAddress() string { +func (x *MsgStructOreMinerComplete) GetProof() string { if x != nil { - return x.PrimaryAddress + return x.Proof } return "" } -type MsgPlayerUpdatePrimaryAddressResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *MsgPlayerUpdatePrimaryAddressResponse) Reset() { - *x = MsgPlayerUpdatePrimaryAddressResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_tx_proto_msgTypes[49] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) +func (x *MsgStructOreMinerComplete) GetNonce() string { + if x != nil { + return x.Nonce } + return "" } -func (x *MsgPlayerUpdatePrimaryAddressResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MsgPlayerUpdatePrimaryAddressResponse) ProtoMessage() {} - -// Deprecated: Use MsgPlayerUpdatePrimaryAddressResponse.ProtoReflect.Descriptor instead. -func (*MsgPlayerUpdatePrimaryAddressResponse) Descriptor() ([]byte, []int) { - return file_structs_structs_tx_proto_rawDescGZIP(), []int{49} -} - -type MsgStructStatusResponse struct { +type MsgStructOreMinerStatusResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields @@ -46113,1605 +60422,1664 @@ type MsgStructStatusResponse struct { Struct *Struct `protobuf:"bytes,1,opt,name=struct,proto3" json:"struct,omitempty"` } -func (x *MsgStructStatusResponse) Reset() { - *x = MsgStructStatusResponse{} +func (x *MsgStructOreMinerStatusResponse) Reset() { + *x = MsgStructOreMinerStatusResponse{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_tx_proto_msgTypes[50] + mi := &file_structs_structs_tx_proto_msgTypes[75] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgStructStatusResponse) String() string { +func (x *MsgStructOreMinerStatusResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgStructStatusResponse) ProtoMessage() {} +func (*MsgStructOreMinerStatusResponse) ProtoMessage() {} -// Deprecated: Use MsgStructStatusResponse.ProtoReflect.Descriptor instead. -func (*MsgStructStatusResponse) Descriptor() ([]byte, []int) { - return file_structs_structs_tx_proto_rawDescGZIP(), []int{50} +// Deprecated: Use MsgStructOreMinerStatusResponse.ProtoReflect.Descriptor instead. +func (*MsgStructOreMinerStatusResponse) Descriptor() ([]byte, []int) { + return file_structs_structs_tx_proto_rawDescGZIP(), []int{75} } -func (x *MsgStructStatusResponse) GetStruct() *Struct { +func (x *MsgStructOreMinerStatusResponse) GetStruct() *Struct { if x != nil { return x.Struct } return nil } -type MsgStructActivate struct { +type MsgStructOreRefineryComplete struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` StructId string `protobuf:"bytes,2,opt,name=structId,proto3" json:"structId,omitempty"` + Proof string `protobuf:"bytes,3,opt,name=proof,proto3" json:"proof,omitempty"` + Nonce string `protobuf:"bytes,4,opt,name=nonce,proto3" json:"nonce,omitempty"` } -func (x *MsgStructActivate) Reset() { - *x = MsgStructActivate{} +func (x *MsgStructOreRefineryComplete) Reset() { + *x = MsgStructOreRefineryComplete{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_tx_proto_msgTypes[51] + mi := &file_structs_structs_tx_proto_msgTypes[76] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgStructActivate) String() string { +func (x *MsgStructOreRefineryComplete) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgStructActivate) ProtoMessage() {} +func (*MsgStructOreRefineryComplete) ProtoMessage() {} -// Deprecated: Use MsgStructActivate.ProtoReflect.Descriptor instead. -func (*MsgStructActivate) Descriptor() ([]byte, []int) { - return file_structs_structs_tx_proto_rawDescGZIP(), []int{51} +// Deprecated: Use MsgStructOreRefineryComplete.ProtoReflect.Descriptor instead. +func (*MsgStructOreRefineryComplete) Descriptor() ([]byte, []int) { + return file_structs_structs_tx_proto_rawDescGZIP(), []int{76} } -func (x *MsgStructActivate) GetCreator() string { +func (x *MsgStructOreRefineryComplete) GetCreator() string { if x != nil { return x.Creator } return "" } -func (x *MsgStructActivate) GetStructId() string { +func (x *MsgStructOreRefineryComplete) GetStructId() string { if x != nil { return x.StructId } return "" } -type MsgStructDeactivate struct { +func (x *MsgStructOreRefineryComplete) GetProof() string { + if x != nil { + return x.Proof + } + return "" +} + +func (x *MsgStructOreRefineryComplete) GetNonce() string { + if x != nil { + return x.Nonce + } + return "" +} + +type MsgStructOreRefineryStatusResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` - StructId string `protobuf:"bytes,2,opt,name=structId,proto3" json:"structId,omitempty"` + Struct *Struct `protobuf:"bytes,1,opt,name=struct,proto3" json:"struct,omitempty"` } -func (x *MsgStructDeactivate) Reset() { - *x = MsgStructDeactivate{} +func (x *MsgStructOreRefineryStatusResponse) Reset() { + *x = MsgStructOreRefineryStatusResponse{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_tx_proto_msgTypes[52] + mi := &file_structs_structs_tx_proto_msgTypes[77] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgStructDeactivate) String() string { +func (x *MsgStructOreRefineryStatusResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgStructDeactivate) ProtoMessage() {} - -// Deprecated: Use MsgStructDeactivate.ProtoReflect.Descriptor instead. -func (*MsgStructDeactivate) Descriptor() ([]byte, []int) { - return file_structs_structs_tx_proto_rawDescGZIP(), []int{52} -} +func (*MsgStructOreRefineryStatusResponse) ProtoMessage() {} -func (x *MsgStructDeactivate) GetCreator() string { - if x != nil { - return x.Creator - } - return "" +// Deprecated: Use MsgStructOreRefineryStatusResponse.ProtoReflect.Descriptor instead. +func (*MsgStructOreRefineryStatusResponse) Descriptor() ([]byte, []int) { + return file_structs_structs_tx_proto_rawDescGZIP(), []int{77} } -func (x *MsgStructDeactivate) GetStructId() string { +func (x *MsgStructOreRefineryStatusResponse) GetStruct() *Struct { if x != nil { - return x.StructId + return x.Struct } - return "" + return nil } -type MsgStructBuildInitiate struct { +type MsgStructStorageStash struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` - PlayerId string `protobuf:"bytes,2,opt,name=playerId,proto3" json:"playerId,omitempty"` - StructTypeId uint64 `protobuf:"varint,3,opt,name=structTypeId,proto3" json:"structTypeId,omitempty"` - LocationType ObjectType `protobuf:"varint,4,opt,name=locationType,proto3,enum=structs.structs.ObjectType" json:"locationType,omitempty"` - OperatingAmbit Ambit `protobuf:"varint,5,opt,name=operatingAmbit,proto3,enum=structs.structs.Ambit" json:"operatingAmbit,omitempty"` - Slot uint64 `protobuf:"varint,6,opt,name=slot,proto3" json:"slot,omitempty"` + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + StructId string `protobuf:"bytes,2,opt,name=structId,proto3" json:"structId,omitempty"` + LocationId string `protobuf:"bytes,3,opt,name=locationId,proto3" json:"locationId,omitempty"` + Ambit Ambit `protobuf:"varint,4,opt,name=ambit,proto3,enum=structs.structs.Ambit" json:"ambit,omitempty"` + Slot uint64 `protobuf:"varint,5,opt,name=slot,proto3" json:"slot,omitempty"` } -func (x *MsgStructBuildInitiate) Reset() { - *x = MsgStructBuildInitiate{} +func (x *MsgStructStorageStash) Reset() { + *x = MsgStructStorageStash{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_tx_proto_msgTypes[53] + mi := &file_structs_structs_tx_proto_msgTypes[78] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgStructBuildInitiate) String() string { +func (x *MsgStructStorageStash) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgStructBuildInitiate) ProtoMessage() {} +func (*MsgStructStorageStash) ProtoMessage() {} -// Deprecated: Use MsgStructBuildInitiate.ProtoReflect.Descriptor instead. -func (*MsgStructBuildInitiate) Descriptor() ([]byte, []int) { - return file_structs_structs_tx_proto_rawDescGZIP(), []int{53} +// Deprecated: Use MsgStructStorageStash.ProtoReflect.Descriptor instead. +func (*MsgStructStorageStash) Descriptor() ([]byte, []int) { + return file_structs_structs_tx_proto_rawDescGZIP(), []int{78} } -func (x *MsgStructBuildInitiate) GetCreator() string { +func (x *MsgStructStorageStash) GetCreator() string { if x != nil { return x.Creator } return "" } -func (x *MsgStructBuildInitiate) GetPlayerId() string { +func (x *MsgStructStorageStash) GetStructId() string { if x != nil { - return x.PlayerId + return x.StructId } return "" } -func (x *MsgStructBuildInitiate) GetStructTypeId() uint64 { - if x != nil { - return x.StructTypeId - } - return 0 -} - -func (x *MsgStructBuildInitiate) GetLocationType() ObjectType { +func (x *MsgStructStorageStash) GetLocationId() string { if x != nil { - return x.LocationType + return x.LocationId } - return ObjectType_guild + return "" } -func (x *MsgStructBuildInitiate) GetOperatingAmbit() Ambit { +func (x *MsgStructStorageStash) GetAmbit() Ambit { if x != nil { - return x.OperatingAmbit + return x.Ambit } return Ambit_none } -func (x *MsgStructBuildInitiate) GetSlot() uint64 { +func (x *MsgStructStorageStash) GetSlot() uint64 { if x != nil { return x.Slot } return 0 } -type MsgStructBuildComplete struct { +type MsgStructStorageRecall struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` - StructId string `protobuf:"bytes,2,opt,name=structId,proto3" json:"structId,omitempty"` - Proof string `protobuf:"bytes,3,opt,name=proof,proto3" json:"proof,omitempty"` - Nonce string `protobuf:"bytes,4,opt,name=nonce,proto3" json:"nonce,omitempty"` + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + StructId string `protobuf:"bytes,2,opt,name=structId,proto3" json:"structId,omitempty"` + LocationId string `protobuf:"bytes,3,opt,name=locationId,proto3" json:"locationId,omitempty"` + Ambit Ambit `protobuf:"varint,4,opt,name=ambit,proto3,enum=structs.structs.Ambit" json:"ambit,omitempty"` + Slot uint64 `protobuf:"varint,5,opt,name=slot,proto3" json:"slot,omitempty"` + Activate bool `protobuf:"varint,6,opt,name=activate,proto3" json:"activate,omitempty"` } -func (x *MsgStructBuildComplete) Reset() { - *x = MsgStructBuildComplete{} +func (x *MsgStructStorageRecall) Reset() { + *x = MsgStructStorageRecall{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_tx_proto_msgTypes[54] + mi := &file_structs_structs_tx_proto_msgTypes[79] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgStructBuildComplete) String() string { +func (x *MsgStructStorageRecall) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgStructBuildComplete) ProtoMessage() {} +func (*MsgStructStorageRecall) ProtoMessage() {} -// Deprecated: Use MsgStructBuildComplete.ProtoReflect.Descriptor instead. -func (*MsgStructBuildComplete) Descriptor() ([]byte, []int) { - return file_structs_structs_tx_proto_rawDescGZIP(), []int{54} +// Deprecated: Use MsgStructStorageRecall.ProtoReflect.Descriptor instead. +func (*MsgStructStorageRecall) Descriptor() ([]byte, []int) { + return file_structs_structs_tx_proto_rawDescGZIP(), []int{79} } -func (x *MsgStructBuildComplete) GetCreator() string { +func (x *MsgStructStorageRecall) GetCreator() string { if x != nil { return x.Creator } return "" } -func (x *MsgStructBuildComplete) GetStructId() string { +func (x *MsgStructStorageRecall) GetStructId() string { if x != nil { return x.StructId } return "" } -func (x *MsgStructBuildComplete) GetProof() string { +func (x *MsgStructStorageRecall) GetLocationId() string { if x != nil { - return x.Proof + return x.LocationId } return "" } -func (x *MsgStructBuildComplete) GetNonce() string { +func (x *MsgStructStorageRecall) GetAmbit() Ambit { if x != nil { - return x.Nonce + return x.Ambit } - return "" + return Ambit_none } -type MsgStructBuildCompleteAndStash struct { +func (x *MsgStructStorageRecall) GetSlot() uint64 { + if x != nil { + return x.Slot + } + return 0 +} + +func (x *MsgStructStorageRecall) GetActivate() bool { + if x != nil { + return x.Activate + } + return false +} + +type MsgSubstationCreate struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` - StructId string `protobuf:"bytes,2,opt,name=structId,proto3" json:"structId,omitempty"` - Proof string `protobuf:"bytes,3,opt,name=proof,proto3" json:"proof,omitempty"` - Nonce string `protobuf:"bytes,4,opt,name=nonce,proto3" json:"nonce,omitempty"` - StorageDestinationId string `protobuf:"bytes,5,opt,name=storageDestinationId,proto3" json:"storageDestinationId,omitempty"` - StorageAmbit Ambit `protobuf:"varint,6,opt,name=storageAmbit,proto3,enum=structs.structs.Ambit" json:"storageAmbit,omitempty"` - StorageSlot uint64 `protobuf:"varint,7,opt,name=storageSlot,proto3" json:"storageSlot,omitempty"` + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + Owner string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"` + AllocationId string `protobuf:"bytes,3,opt,name=allocationId,proto3" json:"allocationId,omitempty"` } -func (x *MsgStructBuildCompleteAndStash) Reset() { - *x = MsgStructBuildCompleteAndStash{} +func (x *MsgSubstationCreate) Reset() { + *x = MsgSubstationCreate{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_tx_proto_msgTypes[55] + mi := &file_structs_structs_tx_proto_msgTypes[80] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgStructBuildCompleteAndStash) String() string { +func (x *MsgSubstationCreate) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgStructBuildCompleteAndStash) ProtoMessage() {} +func (*MsgSubstationCreate) ProtoMessage() {} -// Deprecated: Use MsgStructBuildCompleteAndStash.ProtoReflect.Descriptor instead. -func (*MsgStructBuildCompleteAndStash) Descriptor() ([]byte, []int) { - return file_structs_structs_tx_proto_rawDescGZIP(), []int{55} +// Deprecated: Use MsgSubstationCreate.ProtoReflect.Descriptor instead. +func (*MsgSubstationCreate) Descriptor() ([]byte, []int) { + return file_structs_structs_tx_proto_rawDescGZIP(), []int{80} } -func (x *MsgStructBuildCompleteAndStash) GetCreator() string { +func (x *MsgSubstationCreate) GetCreator() string { if x != nil { return x.Creator } return "" } -func (x *MsgStructBuildCompleteAndStash) GetStructId() string { +func (x *MsgSubstationCreate) GetOwner() string { if x != nil { - return x.StructId + return x.Owner } return "" } -func (x *MsgStructBuildCompleteAndStash) GetProof() string { +func (x *MsgSubstationCreate) GetAllocationId() string { if x != nil { - return x.Proof + return x.AllocationId } return "" } -func (x *MsgStructBuildCompleteAndStash) GetNonce() string { - if x != nil { - return x.Nonce - } - return "" +type MsgSubstationCreateResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SubstationId string `protobuf:"bytes,1,opt,name=substationId,proto3" json:"substationId,omitempty"` } -func (x *MsgStructBuildCompleteAndStash) GetStorageDestinationId() string { - if x != nil { - return x.StorageDestinationId +func (x *MsgSubstationCreateResponse) Reset() { + *x = MsgSubstationCreateResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_structs_structs_tx_proto_msgTypes[81] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return "" } -func (x *MsgStructBuildCompleteAndStash) GetStorageAmbit() Ambit { - if x != nil { - return x.StorageAmbit - } - return Ambit_none +func (x *MsgSubstationCreateResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (x *MsgStructBuildCompleteAndStash) GetStorageSlot() uint64 { +func (*MsgSubstationCreateResponse) ProtoMessage() {} + +// Deprecated: Use MsgSubstationCreateResponse.ProtoReflect.Descriptor instead. +func (*MsgSubstationCreateResponse) Descriptor() ([]byte, []int) { + return file_structs_structs_tx_proto_rawDescGZIP(), []int{81} +} + +func (x *MsgSubstationCreateResponse) GetSubstationId() string { if x != nil { - return x.StorageSlot + return x.SubstationId } - return 0 + return "" } -type MsgStructDefenseSet struct { +type MsgSubstationDelete struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` - DefenderStructId string `protobuf:"bytes,2,opt,name=defenderStructId,proto3" json:"defenderStructId,omitempty"` - ProtectedStructId string `protobuf:"bytes,3,opt,name=protectedStructId,proto3" json:"protectedStructId,omitempty"` + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + SubstationId string `protobuf:"bytes,2,opt,name=substationId,proto3" json:"substationId,omitempty"` + MigrationSubstationId string `protobuf:"bytes,3,opt,name=migrationSubstationId,proto3" json:"migrationSubstationId,omitempty"` } -func (x *MsgStructDefenseSet) Reset() { - *x = MsgStructDefenseSet{} +func (x *MsgSubstationDelete) Reset() { + *x = MsgSubstationDelete{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_tx_proto_msgTypes[56] + mi := &file_structs_structs_tx_proto_msgTypes[82] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgStructDefenseSet) String() string { +func (x *MsgSubstationDelete) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgStructDefenseSet) ProtoMessage() {} +func (*MsgSubstationDelete) ProtoMessage() {} -// Deprecated: Use MsgStructDefenseSet.ProtoReflect.Descriptor instead. -func (*MsgStructDefenseSet) Descriptor() ([]byte, []int) { - return file_structs_structs_tx_proto_rawDescGZIP(), []int{56} +// Deprecated: Use MsgSubstationDelete.ProtoReflect.Descriptor instead. +func (*MsgSubstationDelete) Descriptor() ([]byte, []int) { + return file_structs_structs_tx_proto_rawDescGZIP(), []int{82} } -func (x *MsgStructDefenseSet) GetCreator() string { +func (x *MsgSubstationDelete) GetCreator() string { if x != nil { return x.Creator } return "" } -func (x *MsgStructDefenseSet) GetDefenderStructId() string { +func (x *MsgSubstationDelete) GetSubstationId() string { if x != nil { - return x.DefenderStructId + return x.SubstationId } return "" } -func (x *MsgStructDefenseSet) GetProtectedStructId() string { +func (x *MsgSubstationDelete) GetMigrationSubstationId() string { if x != nil { - return x.ProtectedStructId + return x.MigrationSubstationId } return "" } -type MsgStructDefenseClear struct { +type MsgSubstationDeleteResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - - Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` - DefenderStructId string `protobuf:"bytes,2,opt,name=defenderStructId,proto3" json:"defenderStructId,omitempty"` } -func (x *MsgStructDefenseClear) Reset() { - *x = MsgStructDefenseClear{} +func (x *MsgSubstationDeleteResponse) Reset() { + *x = MsgSubstationDeleteResponse{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_tx_proto_msgTypes[57] + mi := &file_structs_structs_tx_proto_msgTypes[83] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgStructDefenseClear) String() string { +func (x *MsgSubstationDeleteResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgStructDefenseClear) ProtoMessage() {} - -// Deprecated: Use MsgStructDefenseClear.ProtoReflect.Descriptor instead. -func (*MsgStructDefenseClear) Descriptor() ([]byte, []int) { - return file_structs_structs_tx_proto_rawDescGZIP(), []int{57} -} - -func (x *MsgStructDefenseClear) GetCreator() string { - if x != nil { - return x.Creator - } - return "" -} +func (*MsgSubstationDeleteResponse) ProtoMessage() {} -func (x *MsgStructDefenseClear) GetDefenderStructId() string { - if x != nil { - return x.DefenderStructId - } - return "" +// Deprecated: Use MsgSubstationDeleteResponse.ProtoReflect.Descriptor instead. +func (*MsgSubstationDeleteResponse) Descriptor() ([]byte, []int) { + return file_structs_structs_tx_proto_rawDescGZIP(), []int{83} } -type MsgStructMove struct { +type MsgSubstationAllocationConnect struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` - StructId string `protobuf:"bytes,2,opt,name=structId,proto3" json:"structId,omitempty"` - LocationType ObjectType `protobuf:"varint,4,opt,name=locationType,proto3,enum=structs.structs.ObjectType" json:"locationType,omitempty"` - Ambit Ambit `protobuf:"varint,5,opt,name=ambit,proto3,enum=structs.structs.Ambit" json:"ambit,omitempty"` - Slot uint64 `protobuf:"varint,6,opt,name=slot,proto3" json:"slot,omitempty"` + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + AllocationId string `protobuf:"bytes,2,opt,name=allocationId,proto3" json:"allocationId,omitempty"` + DestinationId string `protobuf:"bytes,3,opt,name=destinationId,proto3" json:"destinationId,omitempty"` } -func (x *MsgStructMove) Reset() { - *x = MsgStructMove{} +func (x *MsgSubstationAllocationConnect) Reset() { + *x = MsgSubstationAllocationConnect{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_tx_proto_msgTypes[58] + mi := &file_structs_structs_tx_proto_msgTypes[84] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgStructMove) String() string { +func (x *MsgSubstationAllocationConnect) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgStructMove) ProtoMessage() {} +func (*MsgSubstationAllocationConnect) ProtoMessage() {} -// Deprecated: Use MsgStructMove.ProtoReflect.Descriptor instead. -func (*MsgStructMove) Descriptor() ([]byte, []int) { - return file_structs_structs_tx_proto_rawDescGZIP(), []int{58} +// Deprecated: Use MsgSubstationAllocationConnect.ProtoReflect.Descriptor instead. +func (*MsgSubstationAllocationConnect) Descriptor() ([]byte, []int) { + return file_structs_structs_tx_proto_rawDescGZIP(), []int{84} } -func (x *MsgStructMove) GetCreator() string { +func (x *MsgSubstationAllocationConnect) GetCreator() string { if x != nil { return x.Creator } return "" } -func (x *MsgStructMove) GetStructId() string { +func (x *MsgSubstationAllocationConnect) GetAllocationId() string { if x != nil { - return x.StructId + return x.AllocationId } return "" } -func (x *MsgStructMove) GetLocationType() ObjectType { +func (x *MsgSubstationAllocationConnect) GetDestinationId() string { if x != nil { - return x.LocationType + return x.DestinationId } - return ObjectType_guild + return "" } -func (x *MsgStructMove) GetAmbit() Ambit { - if x != nil { - return x.Ambit - } - return Ambit_none +type MsgSubstationAllocationConnectResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (x *MsgStructMove) GetSlot() uint64 { - if x != nil { - return x.Slot +func (x *MsgSubstationAllocationConnectResponse) Reset() { + *x = MsgSubstationAllocationConnectResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_structs_structs_tx_proto_msgTypes[85] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return 0 } -type MsgStructAttack struct { +func (x *MsgSubstationAllocationConnectResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MsgSubstationAllocationConnectResponse) ProtoMessage() {} + +// Deprecated: Use MsgSubstationAllocationConnectResponse.ProtoReflect.Descriptor instead. +func (*MsgSubstationAllocationConnectResponse) Descriptor() ([]byte, []int) { + return file_structs_structs_tx_proto_rawDescGZIP(), []int{85} +} + +type MsgSubstationAllocationDisconnect struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` - OperatingStructId string `protobuf:"bytes,2,opt,name=operatingStructId,proto3" json:"operatingStructId,omitempty"` - TargetStructId []string `protobuf:"bytes,3,rep,name=targetStructId,proto3" json:"targetStructId,omitempty"` - WeaponSystem string `protobuf:"bytes,4,opt,name=weaponSystem,proto3" json:"weaponSystem,omitempty"` + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + AllocationId string `protobuf:"bytes,2,opt,name=allocationId,proto3" json:"allocationId,omitempty"` } -func (x *MsgStructAttack) Reset() { - *x = MsgStructAttack{} +func (x *MsgSubstationAllocationDisconnect) Reset() { + *x = MsgSubstationAllocationDisconnect{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_tx_proto_msgTypes[59] + mi := &file_structs_structs_tx_proto_msgTypes[86] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgStructAttack) String() string { +func (x *MsgSubstationAllocationDisconnect) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgStructAttack) ProtoMessage() {} +func (*MsgSubstationAllocationDisconnect) ProtoMessage() {} -// Deprecated: Use MsgStructAttack.ProtoReflect.Descriptor instead. -func (*MsgStructAttack) Descriptor() ([]byte, []int) { - return file_structs_structs_tx_proto_rawDescGZIP(), []int{59} +// Deprecated: Use MsgSubstationAllocationDisconnect.ProtoReflect.Descriptor instead. +func (*MsgSubstationAllocationDisconnect) Descriptor() ([]byte, []int) { + return file_structs_structs_tx_proto_rawDescGZIP(), []int{86} } -func (x *MsgStructAttack) GetCreator() string { +func (x *MsgSubstationAllocationDisconnect) GetCreator() string { if x != nil { return x.Creator } return "" } -func (x *MsgStructAttack) GetOperatingStructId() string { - if x != nil { - return x.OperatingStructId - } - return "" -} - -func (x *MsgStructAttack) GetTargetStructId() []string { - if x != nil { - return x.TargetStructId - } - return nil -} - -func (x *MsgStructAttack) GetWeaponSystem() string { +func (x *MsgSubstationAllocationDisconnect) GetAllocationId() string { if x != nil { - return x.WeaponSystem + return x.AllocationId } return "" } -type MsgStructAttackResponse struct { +type MsgSubstationAllocationDisconnectResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields } -func (x *MsgStructAttackResponse) Reset() { - *x = MsgStructAttackResponse{} +func (x *MsgSubstationAllocationDisconnectResponse) Reset() { + *x = MsgSubstationAllocationDisconnectResponse{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_tx_proto_msgTypes[60] + mi := &file_structs_structs_tx_proto_msgTypes[87] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgStructAttackResponse) String() string { +func (x *MsgSubstationAllocationDisconnectResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgStructAttackResponse) ProtoMessage() {} +func (*MsgSubstationAllocationDisconnectResponse) ProtoMessage() {} -// Deprecated: Use MsgStructAttackResponse.ProtoReflect.Descriptor instead. -func (*MsgStructAttackResponse) Descriptor() ([]byte, []int) { - return file_structs_structs_tx_proto_rawDescGZIP(), []int{60} +// Deprecated: Use MsgSubstationAllocationDisconnectResponse.ProtoReflect.Descriptor instead. +func (*MsgSubstationAllocationDisconnectResponse) Descriptor() ([]byte, []int) { + return file_structs_structs_tx_proto_rawDescGZIP(), []int{87} } -type MsgStructStealthActivate struct { +type MsgSubstationPlayerConnect struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` - StructId string `protobuf:"bytes,2,opt,name=structId,proto3" json:"structId,omitempty"` + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + SubstationId string `protobuf:"bytes,2,opt,name=substationId,proto3" json:"substationId,omitempty"` + PlayerId string `protobuf:"bytes,3,opt,name=playerId,proto3" json:"playerId,omitempty"` } -func (x *MsgStructStealthActivate) Reset() { - *x = MsgStructStealthActivate{} +func (x *MsgSubstationPlayerConnect) Reset() { + *x = MsgSubstationPlayerConnect{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_tx_proto_msgTypes[61] + mi := &file_structs_structs_tx_proto_msgTypes[88] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgStructStealthActivate) String() string { +func (x *MsgSubstationPlayerConnect) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgStructStealthActivate) ProtoMessage() {} +func (*MsgSubstationPlayerConnect) ProtoMessage() {} -// Deprecated: Use MsgStructStealthActivate.ProtoReflect.Descriptor instead. -func (*MsgStructStealthActivate) Descriptor() ([]byte, []int) { - return file_structs_structs_tx_proto_rawDescGZIP(), []int{61} +// Deprecated: Use MsgSubstationPlayerConnect.ProtoReflect.Descriptor instead. +func (*MsgSubstationPlayerConnect) Descriptor() ([]byte, []int) { + return file_structs_structs_tx_proto_rawDescGZIP(), []int{88} } -func (x *MsgStructStealthActivate) GetCreator() string { +func (x *MsgSubstationPlayerConnect) GetCreator() string { if x != nil { return x.Creator } return "" } -func (x *MsgStructStealthActivate) GetStructId() string { +func (x *MsgSubstationPlayerConnect) GetSubstationId() string { if x != nil { - return x.StructId + return x.SubstationId } return "" } -type MsgStructStealthDeactivate struct { +func (x *MsgSubstationPlayerConnect) GetPlayerId() string { + if x != nil { + return x.PlayerId + } + return "" +} + +type MsgSubstationPlayerConnectResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - - Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` - StructId string `protobuf:"bytes,2,opt,name=structId,proto3" json:"structId,omitempty"` } -func (x *MsgStructStealthDeactivate) Reset() { - *x = MsgStructStealthDeactivate{} +func (x *MsgSubstationPlayerConnectResponse) Reset() { + *x = MsgSubstationPlayerConnectResponse{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_tx_proto_msgTypes[62] + mi := &file_structs_structs_tx_proto_msgTypes[89] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgStructStealthDeactivate) String() string { +func (x *MsgSubstationPlayerConnectResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgStructStealthDeactivate) ProtoMessage() {} - -// Deprecated: Use MsgStructStealthDeactivate.ProtoReflect.Descriptor instead. -func (*MsgStructStealthDeactivate) Descriptor() ([]byte, []int) { - return file_structs_structs_tx_proto_rawDescGZIP(), []int{62} -} - -func (x *MsgStructStealthDeactivate) GetCreator() string { - if x != nil { - return x.Creator - } - return "" -} +func (*MsgSubstationPlayerConnectResponse) ProtoMessage() {} -func (x *MsgStructStealthDeactivate) GetStructId() string { - if x != nil { - return x.StructId - } - return "" +// Deprecated: Use MsgSubstationPlayerConnectResponse.ProtoReflect.Descriptor instead. +func (*MsgSubstationPlayerConnectResponse) Descriptor() ([]byte, []int) { + return file_structs_structs_tx_proto_rawDescGZIP(), []int{89} } -type MsgStructGeneratorInfuse struct { +type MsgSubstationPlayerDisconnect struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` - StructId string `protobuf:"bytes,2,opt,name=structId,proto3" json:"structId,omitempty"` - InfuseAmount string `protobuf:"bytes,3,opt,name=infuseAmount,proto3" json:"infuseAmount,omitempty"` + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + PlayerId string `protobuf:"bytes,2,opt,name=playerId,proto3" json:"playerId,omitempty"` } -func (x *MsgStructGeneratorInfuse) Reset() { - *x = MsgStructGeneratorInfuse{} +func (x *MsgSubstationPlayerDisconnect) Reset() { + *x = MsgSubstationPlayerDisconnect{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_tx_proto_msgTypes[63] + mi := &file_structs_structs_tx_proto_msgTypes[90] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgStructGeneratorInfuse) String() string { +func (x *MsgSubstationPlayerDisconnect) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgStructGeneratorInfuse) ProtoMessage() {} +func (*MsgSubstationPlayerDisconnect) ProtoMessage() {} -// Deprecated: Use MsgStructGeneratorInfuse.ProtoReflect.Descriptor instead. -func (*MsgStructGeneratorInfuse) Descriptor() ([]byte, []int) { - return file_structs_structs_tx_proto_rawDescGZIP(), []int{63} +// Deprecated: Use MsgSubstationPlayerDisconnect.ProtoReflect.Descriptor instead. +func (*MsgSubstationPlayerDisconnect) Descriptor() ([]byte, []int) { + return file_structs_structs_tx_proto_rawDescGZIP(), []int{90} } -func (x *MsgStructGeneratorInfuse) GetCreator() string { +func (x *MsgSubstationPlayerDisconnect) GetCreator() string { if x != nil { return x.Creator } return "" } -func (x *MsgStructGeneratorInfuse) GetStructId() string { - if x != nil { - return x.StructId - } - return "" -} - -func (x *MsgStructGeneratorInfuse) GetInfuseAmount() string { +func (x *MsgSubstationPlayerDisconnect) GetPlayerId() string { if x != nil { - return x.InfuseAmount + return x.PlayerId } return "" } -type MsgStructGeneratorStatusResponse struct { +type MsgSubstationPlayerDisconnectResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields } -func (x *MsgStructGeneratorStatusResponse) Reset() { - *x = MsgStructGeneratorStatusResponse{} +func (x *MsgSubstationPlayerDisconnectResponse) Reset() { + *x = MsgSubstationPlayerDisconnectResponse{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_tx_proto_msgTypes[64] + mi := &file_structs_structs_tx_proto_msgTypes[91] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgStructGeneratorStatusResponse) String() string { +func (x *MsgSubstationPlayerDisconnectResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgStructGeneratorStatusResponse) ProtoMessage() {} +func (*MsgSubstationPlayerDisconnectResponse) ProtoMessage() {} -// Deprecated: Use MsgStructGeneratorStatusResponse.ProtoReflect.Descriptor instead. -func (*MsgStructGeneratorStatusResponse) Descriptor() ([]byte, []int) { - return file_structs_structs_tx_proto_rawDescGZIP(), []int{64} +// Deprecated: Use MsgSubstationPlayerDisconnectResponse.ProtoReflect.Descriptor instead. +func (*MsgSubstationPlayerDisconnectResponse) Descriptor() ([]byte, []int) { + return file_structs_structs_tx_proto_rawDescGZIP(), []int{91} } -type MsgStructOreMinerComplete struct { +type MsgSubstationPlayerMigrate struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` - StructId string `protobuf:"bytes,2,opt,name=structId,proto3" json:"structId,omitempty"` - Proof string `protobuf:"bytes,3,opt,name=proof,proto3" json:"proof,omitempty"` - Nonce string `protobuf:"bytes,4,opt,name=nonce,proto3" json:"nonce,omitempty"` + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + SubstationId string `protobuf:"bytes,2,opt,name=substationId,proto3" json:"substationId,omitempty"` + PlayerId []string `protobuf:"bytes,3,rep,name=playerId,proto3" json:"playerId,omitempty"` } -func (x *MsgStructOreMinerComplete) Reset() { - *x = MsgStructOreMinerComplete{} +func (x *MsgSubstationPlayerMigrate) Reset() { + *x = MsgSubstationPlayerMigrate{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_tx_proto_msgTypes[65] + mi := &file_structs_structs_tx_proto_msgTypes[92] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgStructOreMinerComplete) String() string { +func (x *MsgSubstationPlayerMigrate) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgStructOreMinerComplete) ProtoMessage() {} +func (*MsgSubstationPlayerMigrate) ProtoMessage() {} -// Deprecated: Use MsgStructOreMinerComplete.ProtoReflect.Descriptor instead. -func (*MsgStructOreMinerComplete) Descriptor() ([]byte, []int) { - return file_structs_structs_tx_proto_rawDescGZIP(), []int{65} +// Deprecated: Use MsgSubstationPlayerMigrate.ProtoReflect.Descriptor instead. +func (*MsgSubstationPlayerMigrate) Descriptor() ([]byte, []int) { + return file_structs_structs_tx_proto_rawDescGZIP(), []int{92} } -func (x *MsgStructOreMinerComplete) GetCreator() string { +func (x *MsgSubstationPlayerMigrate) GetCreator() string { if x != nil { return x.Creator } return "" } -func (x *MsgStructOreMinerComplete) GetStructId() string { - if x != nil { - return x.StructId - } - return "" -} - -func (x *MsgStructOreMinerComplete) GetProof() string { +func (x *MsgSubstationPlayerMigrate) GetSubstationId() string { if x != nil { - return x.Proof + return x.SubstationId } return "" } -func (x *MsgStructOreMinerComplete) GetNonce() string { +func (x *MsgSubstationPlayerMigrate) GetPlayerId() []string { if x != nil { - return x.Nonce + return x.PlayerId } - return "" + return nil } -type MsgStructOreMinerStatusResponse struct { +type MsgSubstationPlayerMigrateResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - - Struct *Struct `protobuf:"bytes,1,opt,name=struct,proto3" json:"struct,omitempty"` } -func (x *MsgStructOreMinerStatusResponse) Reset() { - *x = MsgStructOreMinerStatusResponse{} +func (x *MsgSubstationPlayerMigrateResponse) Reset() { + *x = MsgSubstationPlayerMigrateResponse{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_tx_proto_msgTypes[66] + mi := &file_structs_structs_tx_proto_msgTypes[93] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgStructOreMinerStatusResponse) String() string { +func (x *MsgSubstationPlayerMigrateResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgStructOreMinerStatusResponse) ProtoMessage() {} - -// Deprecated: Use MsgStructOreMinerStatusResponse.ProtoReflect.Descriptor instead. -func (*MsgStructOreMinerStatusResponse) Descriptor() ([]byte, []int) { - return file_structs_structs_tx_proto_rawDescGZIP(), []int{66} -} +func (*MsgSubstationPlayerMigrateResponse) ProtoMessage() {} -func (x *MsgStructOreMinerStatusResponse) GetStruct() *Struct { - if x != nil { - return x.Struct - } - return nil +// Deprecated: Use MsgSubstationPlayerMigrateResponse.ProtoReflect.Descriptor instead. +func (*MsgSubstationPlayerMigrateResponse) Descriptor() ([]byte, []int) { + return file_structs_structs_tx_proto_rawDescGZIP(), []int{93} } -type MsgStructOreRefineryComplete struct { +type MsgAgreementOpen struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` - StructId string `protobuf:"bytes,2,opt,name=structId,proto3" json:"structId,omitempty"` - Proof string `protobuf:"bytes,3,opt,name=proof,proto3" json:"proof,omitempty"` - Nonce string `protobuf:"bytes,4,opt,name=nonce,proto3" json:"nonce,omitempty"` + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + ProviderId string `protobuf:"bytes,2,opt,name=providerId,proto3" json:"providerId,omitempty"` + Duration uint64 `protobuf:"varint,3,opt,name=duration,proto3" json:"duration,omitempty"` + Capacity uint64 `protobuf:"varint,4,opt,name=capacity,proto3" json:"capacity,omitempty"` } -func (x *MsgStructOreRefineryComplete) Reset() { - *x = MsgStructOreRefineryComplete{} +func (x *MsgAgreementOpen) Reset() { + *x = MsgAgreementOpen{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_tx_proto_msgTypes[67] + mi := &file_structs_structs_tx_proto_msgTypes[94] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgStructOreRefineryComplete) String() string { +func (x *MsgAgreementOpen) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgStructOreRefineryComplete) ProtoMessage() {} +func (*MsgAgreementOpen) ProtoMessage() {} -// Deprecated: Use MsgStructOreRefineryComplete.ProtoReflect.Descriptor instead. -func (*MsgStructOreRefineryComplete) Descriptor() ([]byte, []int) { - return file_structs_structs_tx_proto_rawDescGZIP(), []int{67} +// Deprecated: Use MsgAgreementOpen.ProtoReflect.Descriptor instead. +func (*MsgAgreementOpen) Descriptor() ([]byte, []int) { + return file_structs_structs_tx_proto_rawDescGZIP(), []int{94} } -func (x *MsgStructOreRefineryComplete) GetCreator() string { +func (x *MsgAgreementOpen) GetCreator() string { if x != nil { return x.Creator } return "" } -func (x *MsgStructOreRefineryComplete) GetStructId() string { +func (x *MsgAgreementOpen) GetProviderId() string { if x != nil { - return x.StructId + return x.ProviderId } return "" } -func (x *MsgStructOreRefineryComplete) GetProof() string { +func (x *MsgAgreementOpen) GetDuration() uint64 { if x != nil { - return x.Proof + return x.Duration } - return "" + return 0 } -func (x *MsgStructOreRefineryComplete) GetNonce() string { +func (x *MsgAgreementOpen) GetCapacity() uint64 { if x != nil { - return x.Nonce + return x.Capacity } - return "" + return 0 } -type MsgStructOreRefineryStatusResponse struct { +type MsgAgreementClose struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Struct *Struct `protobuf:"bytes,1,opt,name=struct,proto3" json:"struct,omitempty"` + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + AgreementId string `protobuf:"bytes,2,opt,name=agreementId,proto3" json:"agreementId,omitempty"` } -func (x *MsgStructOreRefineryStatusResponse) Reset() { - *x = MsgStructOreRefineryStatusResponse{} +func (x *MsgAgreementClose) Reset() { + *x = MsgAgreementClose{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_tx_proto_msgTypes[68] + mi := &file_structs_structs_tx_proto_msgTypes[95] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgStructOreRefineryStatusResponse) String() string { +func (x *MsgAgreementClose) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgStructOreRefineryStatusResponse) ProtoMessage() {} +func (*MsgAgreementClose) ProtoMessage() {} -// Deprecated: Use MsgStructOreRefineryStatusResponse.ProtoReflect.Descriptor instead. -func (*MsgStructOreRefineryStatusResponse) Descriptor() ([]byte, []int) { - return file_structs_structs_tx_proto_rawDescGZIP(), []int{68} +// Deprecated: Use MsgAgreementClose.ProtoReflect.Descriptor instead. +func (*MsgAgreementClose) Descriptor() ([]byte, []int) { + return file_structs_structs_tx_proto_rawDescGZIP(), []int{95} } -func (x *MsgStructOreRefineryStatusResponse) GetStruct() *Struct { +func (x *MsgAgreementClose) GetCreator() string { if x != nil { - return x.Struct + return x.Creator } - return nil + return "" } -type MsgStructStorageStash struct { +func (x *MsgAgreementClose) GetAgreementId() string { + if x != nil { + return x.AgreementId + } + return "" +} + +type MsgAgreementCapacityIncrease struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` - StructId string `protobuf:"bytes,2,opt,name=structId,proto3" json:"structId,omitempty"` - LocationId string `protobuf:"bytes,3,opt,name=locationId,proto3" json:"locationId,omitempty"` - Ambit Ambit `protobuf:"varint,4,opt,name=ambit,proto3,enum=structs.structs.Ambit" json:"ambit,omitempty"` - Slot uint64 `protobuf:"varint,5,opt,name=slot,proto3" json:"slot,omitempty"` + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + AgreementId string `protobuf:"bytes,2,opt,name=agreementId,proto3" json:"agreementId,omitempty"` + CapacityIncrease uint64 `protobuf:"varint,3,opt,name=capacityIncrease,proto3" json:"capacityIncrease,omitempty"` } -func (x *MsgStructStorageStash) Reset() { - *x = MsgStructStorageStash{} +func (x *MsgAgreementCapacityIncrease) Reset() { + *x = MsgAgreementCapacityIncrease{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_tx_proto_msgTypes[69] + mi := &file_structs_structs_tx_proto_msgTypes[96] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgStructStorageStash) String() string { +func (x *MsgAgreementCapacityIncrease) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgStructStorageStash) ProtoMessage() {} +func (*MsgAgreementCapacityIncrease) ProtoMessage() {} -// Deprecated: Use MsgStructStorageStash.ProtoReflect.Descriptor instead. -func (*MsgStructStorageStash) Descriptor() ([]byte, []int) { - return file_structs_structs_tx_proto_rawDescGZIP(), []int{69} +// Deprecated: Use MsgAgreementCapacityIncrease.ProtoReflect.Descriptor instead. +func (*MsgAgreementCapacityIncrease) Descriptor() ([]byte, []int) { + return file_structs_structs_tx_proto_rawDescGZIP(), []int{96} } -func (x *MsgStructStorageStash) GetCreator() string { +func (x *MsgAgreementCapacityIncrease) GetCreator() string { if x != nil { return x.Creator } return "" } -func (x *MsgStructStorageStash) GetStructId() string { - if x != nil { - return x.StructId - } - return "" -} - -func (x *MsgStructStorageStash) GetLocationId() string { +func (x *MsgAgreementCapacityIncrease) GetAgreementId() string { if x != nil { - return x.LocationId + return x.AgreementId } return "" } -func (x *MsgStructStorageStash) GetAmbit() Ambit { - if x != nil { - return x.Ambit - } - return Ambit_none -} - -func (x *MsgStructStorageStash) GetSlot() uint64 { +func (x *MsgAgreementCapacityIncrease) GetCapacityIncrease() uint64 { if x != nil { - return x.Slot + return x.CapacityIncrease } return 0 } -type MsgStructStorageRecall struct { +type MsgAgreementCapacityDecrease struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` - StructId string `protobuf:"bytes,2,opt,name=structId,proto3" json:"structId,omitempty"` - LocationId string `protobuf:"bytes,3,opt,name=locationId,proto3" json:"locationId,omitempty"` - Ambit Ambit `protobuf:"varint,4,opt,name=ambit,proto3,enum=structs.structs.Ambit" json:"ambit,omitempty"` - Slot uint64 `protobuf:"varint,5,opt,name=slot,proto3" json:"slot,omitempty"` - Activate bool `protobuf:"varint,6,opt,name=activate,proto3" json:"activate,omitempty"` + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + AgreementId string `protobuf:"bytes,2,opt,name=agreementId,proto3" json:"agreementId,omitempty"` + CapacityDecrease uint64 `protobuf:"varint,3,opt,name=capacityDecrease,proto3" json:"capacityDecrease,omitempty"` } -func (x *MsgStructStorageRecall) Reset() { - *x = MsgStructStorageRecall{} +func (x *MsgAgreementCapacityDecrease) Reset() { + *x = MsgAgreementCapacityDecrease{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_tx_proto_msgTypes[70] + mi := &file_structs_structs_tx_proto_msgTypes[97] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgStructStorageRecall) String() string { +func (x *MsgAgreementCapacityDecrease) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgStructStorageRecall) ProtoMessage() {} +func (*MsgAgreementCapacityDecrease) ProtoMessage() {} -// Deprecated: Use MsgStructStorageRecall.ProtoReflect.Descriptor instead. -func (*MsgStructStorageRecall) Descriptor() ([]byte, []int) { - return file_structs_structs_tx_proto_rawDescGZIP(), []int{70} +// Deprecated: Use MsgAgreementCapacityDecrease.ProtoReflect.Descriptor instead. +func (*MsgAgreementCapacityDecrease) Descriptor() ([]byte, []int) { + return file_structs_structs_tx_proto_rawDescGZIP(), []int{97} } -func (x *MsgStructStorageRecall) GetCreator() string { +func (x *MsgAgreementCapacityDecrease) GetCreator() string { if x != nil { return x.Creator } return "" } -func (x *MsgStructStorageRecall) GetStructId() string { - if x != nil { - return x.StructId - } - return "" -} - -func (x *MsgStructStorageRecall) GetLocationId() string { +func (x *MsgAgreementCapacityDecrease) GetAgreementId() string { if x != nil { - return x.LocationId + return x.AgreementId } return "" } -func (x *MsgStructStorageRecall) GetAmbit() Ambit { - if x != nil { - return x.Ambit - } - return Ambit_none -} - -func (x *MsgStructStorageRecall) GetSlot() uint64 { +func (x *MsgAgreementCapacityDecrease) GetCapacityDecrease() uint64 { if x != nil { - return x.Slot + return x.CapacityDecrease } return 0 } -func (x *MsgStructStorageRecall) GetActivate() bool { - if x != nil { - return x.Activate - } - return false -} - -type MsgSubstationCreate struct { +type MsgAgreementDurationIncrease struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` - Owner string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"` - AllocationId string `protobuf:"bytes,3,opt,name=allocationId,proto3" json:"allocationId,omitempty"` + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + AgreementId string `protobuf:"bytes,2,opt,name=agreementId,proto3" json:"agreementId,omitempty"` + DurationIncrease uint64 `protobuf:"varint,3,opt,name=durationIncrease,proto3" json:"durationIncrease,omitempty"` } -func (x *MsgSubstationCreate) Reset() { - *x = MsgSubstationCreate{} +func (x *MsgAgreementDurationIncrease) Reset() { + *x = MsgAgreementDurationIncrease{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_tx_proto_msgTypes[71] + mi := &file_structs_structs_tx_proto_msgTypes[98] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgSubstationCreate) String() string { +func (x *MsgAgreementDurationIncrease) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgSubstationCreate) ProtoMessage() {} +func (*MsgAgreementDurationIncrease) ProtoMessage() {} -// Deprecated: Use MsgSubstationCreate.ProtoReflect.Descriptor instead. -func (*MsgSubstationCreate) Descriptor() ([]byte, []int) { - return file_structs_structs_tx_proto_rawDescGZIP(), []int{71} +// Deprecated: Use MsgAgreementDurationIncrease.ProtoReflect.Descriptor instead. +func (*MsgAgreementDurationIncrease) Descriptor() ([]byte, []int) { + return file_structs_structs_tx_proto_rawDescGZIP(), []int{98} } -func (x *MsgSubstationCreate) GetCreator() string { +func (x *MsgAgreementDurationIncrease) GetCreator() string { if x != nil { return x.Creator } return "" } -func (x *MsgSubstationCreate) GetOwner() string { +func (x *MsgAgreementDurationIncrease) GetAgreementId() string { if x != nil { - return x.Owner + return x.AgreementId } return "" } -func (x *MsgSubstationCreate) GetAllocationId() string { +func (x *MsgAgreementDurationIncrease) GetDurationIncrease() uint64 { if x != nil { - return x.AllocationId + return x.DurationIncrease } - return "" + return 0 } -type MsgSubstationCreateResponse struct { +type MsgAgreementResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - - SubstationId string `protobuf:"bytes,1,opt,name=substationId,proto3" json:"substationId,omitempty"` } -func (x *MsgSubstationCreateResponse) Reset() { - *x = MsgSubstationCreateResponse{} +func (x *MsgAgreementResponse) Reset() { + *x = MsgAgreementResponse{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_tx_proto_msgTypes[72] + mi := &file_structs_structs_tx_proto_msgTypes[99] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgSubstationCreateResponse) String() string { +func (x *MsgAgreementResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgSubstationCreateResponse) ProtoMessage() {} - -// Deprecated: Use MsgSubstationCreateResponse.ProtoReflect.Descriptor instead. -func (*MsgSubstationCreateResponse) Descriptor() ([]byte, []int) { - return file_structs_structs_tx_proto_rawDescGZIP(), []int{72} -} +func (*MsgAgreementResponse) ProtoMessage() {} -func (x *MsgSubstationCreateResponse) GetSubstationId() string { - if x != nil { - return x.SubstationId - } - return "" +// Deprecated: Use MsgAgreementResponse.ProtoReflect.Descriptor instead. +func (*MsgAgreementResponse) Descriptor() ([]byte, []int) { + return file_structs_structs_tx_proto_rawDescGZIP(), []int{99} } -type MsgSubstationDelete struct { +type MsgProviderCreate struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` - SubstationId string `protobuf:"bytes,2,opt,name=substationId,proto3" json:"substationId,omitempty"` - MigrationSubstationId string `protobuf:"bytes,3,opt,name=migrationSubstationId,proto3" json:"migrationSubstationId,omitempty"` + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + SubstationId string `protobuf:"bytes,2,opt,name=substationId,proto3" json:"substationId,omitempty"` + Rate *v1beta1.Coin `protobuf:"bytes,3,opt,name=rate,proto3" json:"rate,omitempty"` + AccessPolicy ProviderAccessPolicy `protobuf:"varint,4,opt,name=accessPolicy,proto3,enum=structs.structs.ProviderAccessPolicy" json:"accessPolicy,omitempty"` + ProviderCancellationPenalty string `protobuf:"bytes,5,opt,name=providerCancellationPenalty,proto3" json:"providerCancellationPenalty,omitempty"` + ConsumerCancellationPenalty string `protobuf:"bytes,6,opt,name=consumerCancellationPenalty,proto3" json:"consumerCancellationPenalty,omitempty"` + CapacityMinimum uint64 `protobuf:"varint,7,opt,name=capacityMinimum,proto3" json:"capacityMinimum,omitempty"` + CapacityMaximum uint64 `protobuf:"varint,8,opt,name=capacityMaximum,proto3" json:"capacityMaximum,omitempty"` + DurationMinimum uint64 `protobuf:"varint,9,opt,name=durationMinimum,proto3" json:"durationMinimum,omitempty"` + DurationMaximum uint64 `protobuf:"varint,10,opt,name=durationMaximum,proto3" json:"durationMaximum,omitempty"` } -func (x *MsgSubstationDelete) Reset() { - *x = MsgSubstationDelete{} +func (x *MsgProviderCreate) Reset() { + *x = MsgProviderCreate{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_tx_proto_msgTypes[73] + mi := &file_structs_structs_tx_proto_msgTypes[100] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgSubstationDelete) String() string { +func (x *MsgProviderCreate) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgSubstationDelete) ProtoMessage() {} +func (*MsgProviderCreate) ProtoMessage() {} -// Deprecated: Use MsgSubstationDelete.ProtoReflect.Descriptor instead. -func (*MsgSubstationDelete) Descriptor() ([]byte, []int) { - return file_structs_structs_tx_proto_rawDescGZIP(), []int{73} +// Deprecated: Use MsgProviderCreate.ProtoReflect.Descriptor instead. +func (*MsgProviderCreate) Descriptor() ([]byte, []int) { + return file_structs_structs_tx_proto_rawDescGZIP(), []int{100} } -func (x *MsgSubstationDelete) GetCreator() string { +func (x *MsgProviderCreate) GetCreator() string { if x != nil { return x.Creator } return "" } -func (x *MsgSubstationDelete) GetSubstationId() string { +func (x *MsgProviderCreate) GetSubstationId() string { if x != nil { return x.SubstationId } return "" } -func (x *MsgSubstationDelete) GetMigrationSubstationId() string { +func (x *MsgProviderCreate) GetRate() *v1beta1.Coin { if x != nil { - return x.MigrationSubstationId + return x.Rate + } + return nil +} + +func (x *MsgProviderCreate) GetAccessPolicy() ProviderAccessPolicy { + if x != nil { + return x.AccessPolicy + } + return ProviderAccessPolicy_openMarket +} + +func (x *MsgProviderCreate) GetProviderCancellationPenalty() string { + if x != nil { + return x.ProviderCancellationPenalty } return "" } -type MsgSubstationDeleteResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields +func (x *MsgProviderCreate) GetConsumerCancellationPenalty() string { + if x != nil { + return x.ConsumerCancellationPenalty + } + return "" } -func (x *MsgSubstationDeleteResponse) Reset() { - *x = MsgSubstationDeleteResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_tx_proto_msgTypes[74] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) +func (x *MsgProviderCreate) GetCapacityMinimum() uint64 { + if x != nil { + return x.CapacityMinimum } + return 0 } -func (x *MsgSubstationDeleteResponse) String() string { - return protoimpl.X.MessageStringOf(x) +func (x *MsgProviderCreate) GetCapacityMaximum() uint64 { + if x != nil { + return x.CapacityMaximum + } + return 0 } -func (*MsgSubstationDeleteResponse) ProtoMessage() {} +func (x *MsgProviderCreate) GetDurationMinimum() uint64 { + if x != nil { + return x.DurationMinimum + } + return 0 +} -// Deprecated: Use MsgSubstationDeleteResponse.ProtoReflect.Descriptor instead. -func (*MsgSubstationDeleteResponse) Descriptor() ([]byte, []int) { - return file_structs_structs_tx_proto_rawDescGZIP(), []int{74} +func (x *MsgProviderCreate) GetDurationMaximum() uint64 { + if x != nil { + return x.DurationMaximum + } + return 0 } -type MsgSubstationAllocationConnect struct { +type MsgProviderWithdrawBalance struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` - AllocationId string `protobuf:"bytes,2,opt,name=allocationId,proto3" json:"allocationId,omitempty"` - DestinationId string `protobuf:"bytes,3,opt,name=destinationId,proto3" json:"destinationId,omitempty"` + unknownFields protoimpl.UnknownFields + + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + ProviderId string `protobuf:"bytes,2,opt,name=providerId,proto3" json:"providerId,omitempty"` + DestinationAddress string `protobuf:"bytes,3,opt,name=destinationAddress,proto3" json:"destinationAddress,omitempty"` } -func (x *MsgSubstationAllocationConnect) Reset() { - *x = MsgSubstationAllocationConnect{} +func (x *MsgProviderWithdrawBalance) Reset() { + *x = MsgProviderWithdrawBalance{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_tx_proto_msgTypes[75] + mi := &file_structs_structs_tx_proto_msgTypes[101] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgSubstationAllocationConnect) String() string { +func (x *MsgProviderWithdrawBalance) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgSubstationAllocationConnect) ProtoMessage() {} +func (*MsgProviderWithdrawBalance) ProtoMessage() {} -// Deprecated: Use MsgSubstationAllocationConnect.ProtoReflect.Descriptor instead. -func (*MsgSubstationAllocationConnect) Descriptor() ([]byte, []int) { - return file_structs_structs_tx_proto_rawDescGZIP(), []int{75} +// Deprecated: Use MsgProviderWithdrawBalance.ProtoReflect.Descriptor instead. +func (*MsgProviderWithdrawBalance) Descriptor() ([]byte, []int) { + return file_structs_structs_tx_proto_rawDescGZIP(), []int{101} } -func (x *MsgSubstationAllocationConnect) GetCreator() string { +func (x *MsgProviderWithdrawBalance) GetCreator() string { if x != nil { return x.Creator } return "" } -func (x *MsgSubstationAllocationConnect) GetAllocationId() string { +func (x *MsgProviderWithdrawBalance) GetProviderId() string { if x != nil { - return x.AllocationId + return x.ProviderId } return "" } -func (x *MsgSubstationAllocationConnect) GetDestinationId() string { +func (x *MsgProviderWithdrawBalance) GetDestinationAddress() string { if x != nil { - return x.DestinationId + return x.DestinationAddress } return "" } -type MsgSubstationAllocationConnectResponse struct { +type MsgProviderUpdateCapacityMinimum struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields + + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + ProviderId string `protobuf:"bytes,2,opt,name=providerId,proto3" json:"providerId,omitempty"` + NewMinimumCapacity uint64 `protobuf:"varint,3,opt,name=newMinimumCapacity,proto3" json:"newMinimumCapacity,omitempty"` } -func (x *MsgSubstationAllocationConnectResponse) Reset() { - *x = MsgSubstationAllocationConnectResponse{} +func (x *MsgProviderUpdateCapacityMinimum) Reset() { + *x = MsgProviderUpdateCapacityMinimum{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_tx_proto_msgTypes[76] + mi := &file_structs_structs_tx_proto_msgTypes[102] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgSubstationAllocationConnectResponse) String() string { +func (x *MsgProviderUpdateCapacityMinimum) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgSubstationAllocationConnectResponse) ProtoMessage() {} +func (*MsgProviderUpdateCapacityMinimum) ProtoMessage() {} -// Deprecated: Use MsgSubstationAllocationConnectResponse.ProtoReflect.Descriptor instead. -func (*MsgSubstationAllocationConnectResponse) Descriptor() ([]byte, []int) { - return file_structs_structs_tx_proto_rawDescGZIP(), []int{76} +// Deprecated: Use MsgProviderUpdateCapacityMinimum.ProtoReflect.Descriptor instead. +func (*MsgProviderUpdateCapacityMinimum) Descriptor() ([]byte, []int) { + return file_structs_structs_tx_proto_rawDescGZIP(), []int{102} } -type MsgSubstationAllocationDisconnect struct { +func (x *MsgProviderUpdateCapacityMinimum) GetCreator() string { + if x != nil { + return x.Creator + } + return "" +} + +func (x *MsgProviderUpdateCapacityMinimum) GetProviderId() string { + if x != nil { + return x.ProviderId + } + return "" +} + +func (x *MsgProviderUpdateCapacityMinimum) GetNewMinimumCapacity() uint64 { + if x != nil { + return x.NewMinimumCapacity + } + return 0 +} + +type MsgProviderUpdateCapacityMaximum struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` - AllocationId string `protobuf:"bytes,2,opt,name=allocationId,proto3" json:"allocationId,omitempty"` + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + ProviderId string `protobuf:"bytes,2,opt,name=providerId,proto3" json:"providerId,omitempty"` + NewMaximumCapacity uint64 `protobuf:"varint,3,opt,name=newMaximumCapacity,proto3" json:"newMaximumCapacity,omitempty"` } -func (x *MsgSubstationAllocationDisconnect) Reset() { - *x = MsgSubstationAllocationDisconnect{} +func (x *MsgProviderUpdateCapacityMaximum) Reset() { + *x = MsgProviderUpdateCapacityMaximum{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_tx_proto_msgTypes[77] + mi := &file_structs_structs_tx_proto_msgTypes[103] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgSubstationAllocationDisconnect) String() string { +func (x *MsgProviderUpdateCapacityMaximum) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgSubstationAllocationDisconnect) ProtoMessage() {} +func (*MsgProviderUpdateCapacityMaximum) ProtoMessage() {} -// Deprecated: Use MsgSubstationAllocationDisconnect.ProtoReflect.Descriptor instead. -func (*MsgSubstationAllocationDisconnect) Descriptor() ([]byte, []int) { - return file_structs_structs_tx_proto_rawDescGZIP(), []int{77} +// Deprecated: Use MsgProviderUpdateCapacityMaximum.ProtoReflect.Descriptor instead. +func (*MsgProviderUpdateCapacityMaximum) Descriptor() ([]byte, []int) { + return file_structs_structs_tx_proto_rawDescGZIP(), []int{103} } -func (x *MsgSubstationAllocationDisconnect) GetCreator() string { +func (x *MsgProviderUpdateCapacityMaximum) GetCreator() string { if x != nil { return x.Creator } return "" } -func (x *MsgSubstationAllocationDisconnect) GetAllocationId() string { +func (x *MsgProviderUpdateCapacityMaximum) GetProviderId() string { if x != nil { - return x.AllocationId + return x.ProviderId } return "" } -type MsgSubstationAllocationDisconnectResponse struct { +func (x *MsgProviderUpdateCapacityMaximum) GetNewMaximumCapacity() uint64 { + if x != nil { + return x.NewMaximumCapacity + } + return 0 +} + +type MsgProviderUpdateDurationMinimum struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields + + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + ProviderId string `protobuf:"bytes,2,opt,name=providerId,proto3" json:"providerId,omitempty"` + NewMinimumDuration uint64 `protobuf:"varint,3,opt,name=newMinimumDuration,proto3" json:"newMinimumDuration,omitempty"` } -func (x *MsgSubstationAllocationDisconnectResponse) Reset() { - *x = MsgSubstationAllocationDisconnectResponse{} +func (x *MsgProviderUpdateDurationMinimum) Reset() { + *x = MsgProviderUpdateDurationMinimum{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_tx_proto_msgTypes[78] + mi := &file_structs_structs_tx_proto_msgTypes[104] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgSubstationAllocationDisconnectResponse) String() string { +func (x *MsgProviderUpdateDurationMinimum) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgSubstationAllocationDisconnectResponse) ProtoMessage() {} +func (*MsgProviderUpdateDurationMinimum) ProtoMessage() {} -// Deprecated: Use MsgSubstationAllocationDisconnectResponse.ProtoReflect.Descriptor instead. -func (*MsgSubstationAllocationDisconnectResponse) Descriptor() ([]byte, []int) { - return file_structs_structs_tx_proto_rawDescGZIP(), []int{78} +// Deprecated: Use MsgProviderUpdateDurationMinimum.ProtoReflect.Descriptor instead. +func (*MsgProviderUpdateDurationMinimum) Descriptor() ([]byte, []int) { + return file_structs_structs_tx_proto_rawDescGZIP(), []int{104} } -type MsgSubstationPlayerConnect struct { +func (x *MsgProviderUpdateDurationMinimum) GetCreator() string { + if x != nil { + return x.Creator + } + return "" +} + +func (x *MsgProviderUpdateDurationMinimum) GetProviderId() string { + if x != nil { + return x.ProviderId + } + return "" +} + +func (x *MsgProviderUpdateDurationMinimum) GetNewMinimumDuration() uint64 { + if x != nil { + return x.NewMinimumDuration + } + return 0 +} + +type MsgProviderUpdateDurationMaximum struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` - SubstationId string `protobuf:"bytes,2,opt,name=substationId,proto3" json:"substationId,omitempty"` - PlayerId string `protobuf:"bytes,3,opt,name=playerId,proto3" json:"playerId,omitempty"` + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + ProviderId string `protobuf:"bytes,2,opt,name=providerId,proto3" json:"providerId,omitempty"` + NewMaximumDuration uint64 `protobuf:"varint,3,opt,name=newMaximumDuration,proto3" json:"newMaximumDuration,omitempty"` } -func (x *MsgSubstationPlayerConnect) Reset() { - *x = MsgSubstationPlayerConnect{} +func (x *MsgProviderUpdateDurationMaximum) Reset() { + *x = MsgProviderUpdateDurationMaximum{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_tx_proto_msgTypes[79] + mi := &file_structs_structs_tx_proto_msgTypes[105] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgSubstationPlayerConnect) String() string { +func (x *MsgProviderUpdateDurationMaximum) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgSubstationPlayerConnect) ProtoMessage() {} +func (*MsgProviderUpdateDurationMaximum) ProtoMessage() {} -// Deprecated: Use MsgSubstationPlayerConnect.ProtoReflect.Descriptor instead. -func (*MsgSubstationPlayerConnect) Descriptor() ([]byte, []int) { - return file_structs_structs_tx_proto_rawDescGZIP(), []int{79} +// Deprecated: Use MsgProviderUpdateDurationMaximum.ProtoReflect.Descriptor instead. +func (*MsgProviderUpdateDurationMaximum) Descriptor() ([]byte, []int) { + return file_structs_structs_tx_proto_rawDescGZIP(), []int{105} } -func (x *MsgSubstationPlayerConnect) GetCreator() string { +func (x *MsgProviderUpdateDurationMaximum) GetCreator() string { if x != nil { return x.Creator } return "" } -func (x *MsgSubstationPlayerConnect) GetSubstationId() string { +func (x *MsgProviderUpdateDurationMaximum) GetProviderId() string { if x != nil { - return x.SubstationId + return x.ProviderId } return "" } -func (x *MsgSubstationPlayerConnect) GetPlayerId() string { +func (x *MsgProviderUpdateDurationMaximum) GetNewMaximumDuration() uint64 { if x != nil { - return x.PlayerId + return x.NewMaximumDuration } - return "" + return 0 } -type MsgSubstationPlayerConnectResponse struct { +type MsgProviderUpdateAccessPolicy struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields + + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + ProviderId string `protobuf:"bytes,2,opt,name=providerId,proto3" json:"providerId,omitempty"` + AccessPolicy ProviderAccessPolicy `protobuf:"varint,3,opt,name=accessPolicy,proto3,enum=structs.structs.ProviderAccessPolicy" json:"accessPolicy,omitempty"` } -func (x *MsgSubstationPlayerConnectResponse) Reset() { - *x = MsgSubstationPlayerConnectResponse{} +func (x *MsgProviderUpdateAccessPolicy) Reset() { + *x = MsgProviderUpdateAccessPolicy{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_tx_proto_msgTypes[80] + mi := &file_structs_structs_tx_proto_msgTypes[106] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgSubstationPlayerConnectResponse) String() string { +func (x *MsgProviderUpdateAccessPolicy) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgSubstationPlayerConnectResponse) ProtoMessage() {} +func (*MsgProviderUpdateAccessPolicy) ProtoMessage() {} -// Deprecated: Use MsgSubstationPlayerConnectResponse.ProtoReflect.Descriptor instead. -func (*MsgSubstationPlayerConnectResponse) Descriptor() ([]byte, []int) { - return file_structs_structs_tx_proto_rawDescGZIP(), []int{80} +// Deprecated: Use MsgProviderUpdateAccessPolicy.ProtoReflect.Descriptor instead. +func (*MsgProviderUpdateAccessPolicy) Descriptor() ([]byte, []int) { + return file_structs_structs_tx_proto_rawDescGZIP(), []int{106} } -type MsgSubstationPlayerDisconnect struct { +func (x *MsgProviderUpdateAccessPolicy) GetCreator() string { + if x != nil { + return x.Creator + } + return "" +} + +func (x *MsgProviderUpdateAccessPolicy) GetProviderId() string { + if x != nil { + return x.ProviderId + } + return "" +} + +func (x *MsgProviderUpdateAccessPolicy) GetAccessPolicy() ProviderAccessPolicy { + if x != nil { + return x.AccessPolicy + } + return ProviderAccessPolicy_openMarket +} + +type MsgProviderGuildGrant struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` - PlayerId string `protobuf:"bytes,2,opt,name=playerId,proto3" json:"playerId,omitempty"` + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + ProviderId string `protobuf:"bytes,2,opt,name=providerId,proto3" json:"providerId,omitempty"` + GuildId []string `protobuf:"bytes,3,rep,name=guildId,proto3" json:"guildId,omitempty"` } -func (x *MsgSubstationPlayerDisconnect) Reset() { - *x = MsgSubstationPlayerDisconnect{} +func (x *MsgProviderGuildGrant) Reset() { + *x = MsgProviderGuildGrant{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_tx_proto_msgTypes[81] + mi := &file_structs_structs_tx_proto_msgTypes[107] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgSubstationPlayerDisconnect) String() string { +func (x *MsgProviderGuildGrant) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgSubstationPlayerDisconnect) ProtoMessage() {} +func (*MsgProviderGuildGrant) ProtoMessage() {} -// Deprecated: Use MsgSubstationPlayerDisconnect.ProtoReflect.Descriptor instead. -func (*MsgSubstationPlayerDisconnect) Descriptor() ([]byte, []int) { - return file_structs_structs_tx_proto_rawDescGZIP(), []int{81} +// Deprecated: Use MsgProviderGuildGrant.ProtoReflect.Descriptor instead. +func (*MsgProviderGuildGrant) Descriptor() ([]byte, []int) { + return file_structs_structs_tx_proto_rawDescGZIP(), []int{107} } -func (x *MsgSubstationPlayerDisconnect) GetCreator() string { +func (x *MsgProviderGuildGrant) GetCreator() string { if x != nil { return x.Creator } return "" } -func (x *MsgSubstationPlayerDisconnect) GetPlayerId() string { +func (x *MsgProviderGuildGrant) GetProviderId() string { if x != nil { - return x.PlayerId + return x.ProviderId } return "" } -type MsgSubstationPlayerDisconnectResponse struct { +func (x *MsgProviderGuildGrant) GetGuildId() []string { + if x != nil { + return x.GuildId + } + return nil +} + +type MsgProviderGuildRevoke struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields + + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + ProviderId string `protobuf:"bytes,2,opt,name=providerId,proto3" json:"providerId,omitempty"` + GuildId []string `protobuf:"bytes,3,rep,name=guildId,proto3" json:"guildId,omitempty"` } -func (x *MsgSubstationPlayerDisconnectResponse) Reset() { - *x = MsgSubstationPlayerDisconnectResponse{} +func (x *MsgProviderGuildRevoke) Reset() { + *x = MsgProviderGuildRevoke{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_tx_proto_msgTypes[82] + mi := &file_structs_structs_tx_proto_msgTypes[108] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgSubstationPlayerDisconnectResponse) String() string { +func (x *MsgProviderGuildRevoke) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgSubstationPlayerDisconnectResponse) ProtoMessage() {} +func (*MsgProviderGuildRevoke) ProtoMessage() {} -// Deprecated: Use MsgSubstationPlayerDisconnectResponse.ProtoReflect.Descriptor instead. -func (*MsgSubstationPlayerDisconnectResponse) Descriptor() ([]byte, []int) { - return file_structs_structs_tx_proto_rawDescGZIP(), []int{82} +// Deprecated: Use MsgProviderGuildRevoke.ProtoReflect.Descriptor instead. +func (*MsgProviderGuildRevoke) Descriptor() ([]byte, []int) { + return file_structs_structs_tx_proto_rawDescGZIP(), []int{108} } -type MsgSubstationPlayerMigrate struct { +func (x *MsgProviderGuildRevoke) GetCreator() string { + if x != nil { + return x.Creator + } + return "" +} + +func (x *MsgProviderGuildRevoke) GetProviderId() string { + if x != nil { + return x.ProviderId + } + return "" +} + +func (x *MsgProviderGuildRevoke) GetGuildId() []string { + if x != nil { + return x.GuildId + } + return nil +} + +type MsgProviderDelete struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` - SubstationId string `protobuf:"bytes,2,opt,name=substationId,proto3" json:"substationId,omitempty"` - PlayerId []string `protobuf:"bytes,3,rep,name=playerId,proto3" json:"playerId,omitempty"` + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + ProviderId string `protobuf:"bytes,2,opt,name=providerId,proto3" json:"providerId,omitempty"` } -func (x *MsgSubstationPlayerMigrate) Reset() { - *x = MsgSubstationPlayerMigrate{} +func (x *MsgProviderDelete) Reset() { + *x = MsgProviderDelete{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_tx_proto_msgTypes[83] + mi := &file_structs_structs_tx_proto_msgTypes[109] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgSubstationPlayerMigrate) String() string { +func (x *MsgProviderDelete) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgSubstationPlayerMigrate) ProtoMessage() {} +func (*MsgProviderDelete) ProtoMessage() {} -// Deprecated: Use MsgSubstationPlayerMigrate.ProtoReflect.Descriptor instead. -func (*MsgSubstationPlayerMigrate) Descriptor() ([]byte, []int) { - return file_structs_structs_tx_proto_rawDescGZIP(), []int{83} +// Deprecated: Use MsgProviderDelete.ProtoReflect.Descriptor instead. +func (*MsgProviderDelete) Descriptor() ([]byte, []int) { + return file_structs_structs_tx_proto_rawDescGZIP(), []int{109} } -func (x *MsgSubstationPlayerMigrate) GetCreator() string { +func (x *MsgProviderDelete) GetCreator() string { if x != nil { return x.Creator } return "" } -func (x *MsgSubstationPlayerMigrate) GetSubstationId() string { +func (x *MsgProviderDelete) GetProviderId() string { if x != nil { - return x.SubstationId + return x.ProviderId } return "" } -func (x *MsgSubstationPlayerMigrate) GetPlayerId() []string { - if x != nil { - return x.PlayerId - } - return nil -} - -type MsgSubstationPlayerMigrateResponse struct { +type MsgProviderResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields } -func (x *MsgSubstationPlayerMigrateResponse) Reset() { - *x = MsgSubstationPlayerMigrateResponse{} +func (x *MsgProviderResponse) Reset() { + *x = MsgProviderResponse{} if protoimpl.UnsafeEnabled { - mi := &file_structs_structs_tx_proto_msgTypes[84] + mi := &file_structs_structs_tx_proto_msgTypes[110] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *MsgSubstationPlayerMigrateResponse) String() string { +func (x *MsgProviderResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgSubstationPlayerMigrateResponse) ProtoMessage() {} +func (*MsgProviderResponse) ProtoMessage() {} -// Deprecated: Use MsgSubstationPlayerMigrateResponse.ProtoReflect.Descriptor instead. -func (*MsgSubstationPlayerMigrateResponse) Descriptor() ([]byte, []int) { - return file_structs_structs_tx_proto_rawDescGZIP(), []int{84} +// Deprecated: Use MsgProviderResponse.ProtoReflect.Descriptor instead. +func (*MsgProviderResponse) Descriptor() ([]byte, []int) { + return file_structs_structs_tx_proto_rawDescGZIP(), []int{110} } var File_structs_structs_tx_proto protoreflect.FileDescriptor @@ -47727,6 +62095,8 @@ var file_structs_structs_tx_proto_rawDesc = []byte{ 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, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, + 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, 0x69, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1a, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x6b, 0x65, 0x79, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2f, 0x73, 0x74, 0x72, 0x75, @@ -47839,213 +62209,265 @@ var file_structs_structs_tx_proto_rawDesc = []byte{ 0x76, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2c, 0x0a, 0x05, 0x66, 0x6c, 0x65, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x46, 0x6c, 0x65, 0x65, - 0x74, 0x52, 0x05, 0x66, 0x6c, 0x65, 0x65, 0x74, 0x22, 0x82, 0x01, 0x0a, 0x0e, 0x4d, 0x73, 0x67, - 0x47, 0x75, 0x69, 0x6c, 0x64, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, + 0x74, 0x52, 0x05, 0x66, 0x6c, 0x65, 0x65, 0x74, 0x22, 0x7e, 0x0a, 0x10, 0x4d, 0x73, 0x67, 0x47, + 0x75, 0x69, 0x6c, 0x64, 0x42, 0x61, 0x6e, 0x6b, 0x4d, 0x69, 0x6e, 0x74, 0x12, 0x18, 0x0a, 0x07, + 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, + 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x20, 0x0a, 0x0b, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, + 0x41, 0x6c, 0x70, 0x68, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x61, 0x6d, 0x6f, + 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x12, 0x20, 0x0a, 0x0b, 0x61, 0x6d, 0x6f, 0x75, + 0x6e, 0x74, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x61, + 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x3a, 0x0c, 0x82, 0xe7, 0xb0, 0x2a, + 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x22, 0x1a, 0x0a, 0x18, 0x4d, 0x73, 0x67, 0x47, + 0x75, 0x69, 0x6c, 0x64, 0x42, 0x61, 0x6e, 0x6b, 0x4d, 0x69, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xb0, 0x01, 0x0a, 0x12, 0x4d, 0x73, 0x67, 0x47, 0x75, 0x69, 0x6c, + 0x64, 0x42, 0x61, 0x6e, 0x6b, 0x52, 0x65, 0x64, 0x65, 0x65, 0x6d, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x72, - 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, - 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, - 0x74, 0x12, 0x2c, 0x0a, 0x11, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x53, 0x75, 0x62, 0x73, 0x74, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x65, 0x6e, - 0x74, 0x72, 0x79, 0x53, 0x75, 0x62, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x3a, - 0x0c, 0x82, 0xe7, 0xb0, 0x2a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x22, 0x32, 0x0a, - 0x16, 0x4d, 0x73, 0x67, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, - 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, - 0x64, 0x22, 0x6f, 0x0a, 0x15, 0x4d, 0x73, 0x67, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x55, 0x70, 0x64, - 0x61, 0x74, 0x65, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, - 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x72, 0x65, - 0x61, 0x74, 0x6f, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x12, 0x14, - 0x0a, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6f, - 0x77, 0x6e, 0x65, 0x72, 0x3a, 0x0c, 0x82, 0xe7, 0xb0, 0x2a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, - 0x6f, 0x72, 0x22, 0x91, 0x01, 0x0a, 0x1f, 0x4d, 0x73, 0x67, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x55, - 0x70, 0x64, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x53, 0x75, 0x62, 0x73, 0x74, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, + 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x72, 0x0a, 0x0b, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x54, + 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 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, 0x35, 0xc8, 0xde, 0x1f, 0x00, 0xaa, 0xdf, 0x1f, 0x28, 0x67, + 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, + 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2d, 0x73, 0x64, 0x6b, 0x2f, 0x74, 0x79, 0x70, 0x65, + 0x73, 0x2e, 0x43, 0x6f, 0x69, 0x6e, 0x73, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, 0x0b, 0x61, 0x6d, + 0x6f, 0x75, 0x6e, 0x74, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x3a, 0x0c, 0x82, 0xe7, 0xb0, 0x2a, 0x07, + 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x22, 0x1c, 0x0a, 0x1a, 0x4d, 0x73, 0x67, 0x47, 0x75, + 0x69, 0x6c, 0x64, 0x42, 0x61, 0x6e, 0x6b, 0x52, 0x65, 0x64, 0x65, 0x65, 0x6d, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x83, 0x01, 0x0a, 0x1d, 0x4d, 0x73, 0x67, 0x47, 0x75, 0x69, + 0x6c, 0x64, 0x42, 0x61, 0x6e, 0x6b, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x73, 0x63, 0x61, 0x74, 0x65, + 0x41, 0x6e, 0x64, 0x42, 0x75, 0x72, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, + 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, + 0x72, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x61, + 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, + 0x52, 0x0b, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x3a, 0x0c, 0x82, + 0xe7, 0xb0, 0x2a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x22, 0x27, 0x0a, 0x25, 0x4d, + 0x73, 0x67, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x42, 0x61, 0x6e, 0x6b, 0x43, 0x6f, 0x6e, 0x66, 0x69, + 0x73, 0x63, 0x61, 0x74, 0x65, 0x41, 0x6e, 0x64, 0x42, 0x75, 0x72, 0x6e, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x82, 0x01, 0x0a, 0x0e, 0x4d, 0x73, 0x67, 0x47, 0x75, 0x69, 0x6c, + 0x64, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, + 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, + 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x08, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x2c, 0x0a, + 0x11, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x53, 0x75, 0x62, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x53, + 0x75, 0x62, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x3a, 0x0c, 0x82, 0xe7, 0xb0, + 0x2a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x22, 0x32, 0x0a, 0x16, 0x4d, 0x73, 0x67, + 0x47, 0x75, 0x69, 0x6c, 0x64, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x22, 0x6f, 0x0a, + 0x15, 0x4d, 0x73, 0x67, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4f, + 0x77, 0x6e, 0x65, 0x72, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x12, 0x2c, 0x0a, 0x11, 0x65, 0x6e, - 0x74, 0x72, 0x79, 0x53, 0x75, 0x62, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x53, 0x75, 0x62, 0x73, - 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x3a, 0x0c, 0x82, 0xe7, 0xb0, 0x2a, 0x07, 0x63, - 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x22, 0x76, 0x0a, 0x16, 0x4d, 0x73, 0x67, 0x47, 0x75, 0x69, - 0x6c, 0x64, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, + 0x09, 0x52, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x6f, 0x77, + 0x6e, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, + 0x3a, 0x0c, 0x82, 0xe7, 0xb0, 0x2a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x22, 0x91, + 0x01, 0x0a, 0x1f, 0x4d, 0x73, 0x67, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x55, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x53, 0x75, 0x62, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x18, 0x0a, 0x07, + 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x67, + 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x12, 0x2c, 0x0a, 0x11, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x53, + 0x75, 0x62, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x11, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x53, 0x75, 0x62, 0x73, 0x74, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x49, 0x64, 0x3a, 0x0c, 0x82, 0xe7, 0xb0, 0x2a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, + 0x6f, 0x72, 0x22, 0x76, 0x0a, 0x16, 0x4d, 0x73, 0x67, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x55, 0x70, + 0x64, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x18, 0x0a, 0x07, + 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, + 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, + 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, + 0x12, 0x1a, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x08, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x3a, 0x0c, 0x82, 0xe7, + 0xb0, 0x2a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x22, 0x97, 0x01, 0x0a, 0x21, 0x4d, + 0x73, 0x67, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4a, 0x6f, 0x69, + 0x6e, 0x49, 0x6e, 0x66, 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x4d, 0x69, 0x6e, 0x69, 0x6d, 0x75, 0x6d, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x67, 0x75, 0x69, - 0x6c, 0x64, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, - 0x3a, 0x0c, 0x82, 0xe7, 0xb0, 0x2a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x22, 0x97, - 0x01, 0x0a, 0x21, 0x4d, 0x73, 0x67, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x55, 0x70, 0x64, 0x61, 0x74, - 0x65, 0x4a, 0x6f, 0x69, 0x6e, 0x49, 0x6e, 0x66, 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x4d, 0x69, 0x6e, - 0x69, 0x6d, 0x75, 0x6d, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x18, - 0x0a, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x12, 0x30, 0x0a, 0x13, 0x6a, 0x6f, 0x69, 0x6e, - 0x49, 0x6e, 0x66, 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x4d, 0x69, 0x6e, 0x69, 0x6d, 0x75, 0x6d, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x13, 0x6a, 0x6f, 0x69, 0x6e, 0x49, 0x6e, 0x66, 0x75, 0x73, - 0x69, 0x6f, 0x6e, 0x4d, 0x69, 0x6e, 0x69, 0x6d, 0x75, 0x6d, 0x3a, 0x0c, 0x82, 0xe7, 0xb0, 0x2a, - 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x22, 0xcf, 0x01, 0x0a, 0x30, 0x4d, 0x73, 0x67, - 0x47, 0x75, 0x69, 0x6c, 0x64, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4a, 0x6f, 0x69, 0x6e, 0x49, - 0x6e, 0x66, 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x4d, 0x69, 0x6e, 0x69, 0x6d, 0x75, 0x6d, 0x42, 0x79, - 0x70, 0x61, 0x73, 0x73, 0x42, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, - 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, - 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, - 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, - 0x64, 0x12, 0x59, 0x0a, 0x14, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x4a, 0x6f, 0x69, 0x6e, 0x42, 0x79, - 0x70, 0x61, 0x73, 0x73, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, - 0x25, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, - 0x73, 0x2e, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x4a, 0x6f, 0x69, 0x6e, 0x42, 0x79, 0x70, 0x61, 0x73, - 0x73, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x52, 0x14, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x4a, 0x6f, 0x69, - 0x6e, 0x42, 0x79, 0x70, 0x61, 0x73, 0x73, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x3a, 0x0c, 0x82, 0xe7, - 0xb0, 0x2a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x22, 0xce, 0x01, 0x0a, 0x2f, 0x4d, - 0x73, 0x67, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4a, 0x6f, 0x69, - 0x6e, 0x49, 0x6e, 0x66, 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x4d, 0x69, 0x6e, 0x69, 0x6d, 0x75, 0x6d, - 0x42, 0x79, 0x70, 0x61, 0x73, 0x73, 0x42, 0x79, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x12, 0x18, + 0x6c, 0x64, 0x49, 0x64, 0x12, 0x30, 0x0a, 0x13, 0x6a, 0x6f, 0x69, 0x6e, 0x49, 0x6e, 0x66, 0x75, + 0x73, 0x69, 0x6f, 0x6e, 0x4d, 0x69, 0x6e, 0x69, 0x6d, 0x75, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x04, 0x52, 0x13, 0x6a, 0x6f, 0x69, 0x6e, 0x49, 0x6e, 0x66, 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x4d, + 0x69, 0x6e, 0x69, 0x6d, 0x75, 0x6d, 0x3a, 0x0c, 0x82, 0xe7, 0xb0, 0x2a, 0x07, 0x63, 0x72, 0x65, + 0x61, 0x74, 0x6f, 0x72, 0x22, 0xcf, 0x01, 0x0a, 0x30, 0x4d, 0x73, 0x67, 0x47, 0x75, 0x69, 0x6c, + 0x64, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4a, 0x6f, 0x69, 0x6e, 0x49, 0x6e, 0x66, 0x75, 0x73, + 0x69, 0x6f, 0x6e, 0x4d, 0x69, 0x6e, 0x69, 0x6d, 0x75, 0x6d, 0x42, 0x79, 0x70, 0x61, 0x73, 0x73, + 0x42, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, + 0x61, 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, + 0x74, 0x6f, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x12, 0x59, 0x0a, + 0x14, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x4a, 0x6f, 0x69, 0x6e, 0x42, 0x79, 0x70, 0x61, 0x73, 0x73, + 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x25, 0x2e, 0x73, 0x74, + 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x67, 0x75, + 0x69, 0x6c, 0x64, 0x4a, 0x6f, 0x69, 0x6e, 0x42, 0x79, 0x70, 0x61, 0x73, 0x73, 0x4c, 0x65, 0x76, + 0x65, 0x6c, 0x52, 0x14, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x4a, 0x6f, 0x69, 0x6e, 0x42, 0x79, 0x70, + 0x61, 0x73, 0x73, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x3a, 0x0c, 0x82, 0xe7, 0xb0, 0x2a, 0x07, 0x63, + 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x22, 0xce, 0x01, 0x0a, 0x2f, 0x4d, 0x73, 0x67, 0x47, 0x75, + 0x69, 0x6c, 0x64, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4a, 0x6f, 0x69, 0x6e, 0x49, 0x6e, 0x66, + 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x4d, 0x69, 0x6e, 0x69, 0x6d, 0x75, 0x6d, 0x42, 0x79, 0x70, 0x61, + 0x73, 0x73, 0x42, 0x79, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, + 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x72, 0x65, + 0x61, 0x74, 0x6f, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x12, 0x59, + 0x0a, 0x14, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x4a, 0x6f, 0x69, 0x6e, 0x42, 0x79, 0x70, 0x61, 0x73, + 0x73, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x25, 0x2e, 0x73, + 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x67, + 0x75, 0x69, 0x6c, 0x64, 0x4a, 0x6f, 0x69, 0x6e, 0x42, 0x79, 0x70, 0x61, 0x73, 0x73, 0x4c, 0x65, + 0x76, 0x65, 0x6c, 0x52, 0x14, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x4a, 0x6f, 0x69, 0x6e, 0x42, 0x79, + 0x70, 0x61, 0x73, 0x73, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x3a, 0x0c, 0x82, 0xe7, 0xb0, 0x2a, 0x07, + 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x22, 0x18, 0x0a, 0x16, 0x4d, 0x73, 0x67, 0x47, 0x75, + 0x69, 0x6c, 0x64, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x9c, 0x01, 0x0a, 0x18, 0x4d, 0x73, 0x67, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, + 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, - 0x49, 0x64, 0x12, 0x59, 0x0a, 0x14, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x4a, 0x6f, 0x69, 0x6e, 0x42, - 0x79, 0x70, 0x61, 0x73, 0x73, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, - 0x32, 0x25, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, - 0x74, 0x73, 0x2e, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x4a, 0x6f, 0x69, 0x6e, 0x42, 0x79, 0x70, 0x61, - 0x73, 0x73, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x52, 0x14, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x4a, 0x6f, - 0x69, 0x6e, 0x42, 0x79, 0x70, 0x61, 0x73, 0x73, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x3a, 0x0c, 0x82, - 0xe7, 0xb0, 0x2a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x22, 0x18, 0x0a, 0x16, 0x4d, - 0x73, 0x67, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x9c, 0x01, 0x0a, 0x18, 0x4d, 0x73, 0x67, 0x47, 0x75, 0x69, + 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, 0x12, 0x22, + 0x0a, 0x0c, 0x73, 0x75, 0x62, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x75, 0x62, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x49, 0x64, 0x3a, 0x0c, 0x82, 0xe7, 0xb0, 0x2a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, + 0x22, 0xa3, 0x01, 0x0a, 0x1f, 0x4d, 0x73, 0x67, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x6d, + 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x41, 0x70, 0x70, + 0x72, 0x6f, 0x76, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x18, + 0x0a, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x79, + 0x65, 0x72, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x79, + 0x65, 0x72, 0x49, 0x64, 0x12, 0x22, 0x0a, 0x0c, 0x73, 0x75, 0x62, 0x73, 0x74, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x75, 0x62, 0x73, + 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x3a, 0x0c, 0x82, 0xe7, 0xb0, 0x2a, 0x07, 0x63, + 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x22, 0x7c, 0x0a, 0x1c, 0x4d, 0x73, 0x67, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x49, 0x6e, 0x76, 0x69, - 0x74, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x18, 0x0a, 0x07, - 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x67, - 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, - 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, - 0x49, 0x64, 0x12, 0x22, 0x0a, 0x0c, 0x73, 0x75, 0x62, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x49, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x75, 0x62, 0x73, 0x74, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x3a, 0x0c, 0x82, 0xe7, 0xb0, 0x2a, 0x07, 0x63, 0x72, 0x65, - 0x61, 0x74, 0x6f, 0x72, 0x22, 0xa3, 0x01, 0x0a, 0x1f, 0x4d, 0x73, 0x67, 0x47, 0x75, 0x69, 0x6c, - 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x49, 0x6e, 0x76, 0x69, 0x74, - 0x65, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, - 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, - 0x6f, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, - 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, - 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, 0x12, 0x22, 0x0a, 0x0c, 0x73, 0x75, 0x62, 0x73, - 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, - 0x73, 0x75, 0x62, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x3a, 0x0c, 0x82, 0xe7, - 0xb0, 0x2a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x22, 0x7c, 0x0a, 0x1c, 0x4d, 0x73, - 0x67, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, - 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x44, 0x65, 0x6e, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, - 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x72, 0x65, - 0x61, 0x74, 0x6f, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x12, 0x1a, - 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, 0x3a, 0x0c, 0x82, 0xe7, 0xb0, 0x2a, - 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x22, 0x7e, 0x0a, 0x1e, 0x4d, 0x73, 0x67, 0x47, - 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x49, 0x6e, - 0x76, 0x69, 0x74, 0x65, 0x52, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, - 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x72, 0x65, - 0x61, 0x74, 0x6f, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x12, 0x1a, - 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, 0x3a, 0x0c, 0x82, 0xe7, 0xb0, 0x2a, - 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x22, 0xba, 0x01, 0x0a, 0x16, 0x4d, 0x73, 0x67, - 0x47, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x4a, - 0x6f, 0x69, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x18, 0x0a, - 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, - 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x65, - 0x72, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x65, - 0x72, 0x49, 0x64, 0x12, 0x22, 0x0a, 0x0c, 0x73, 0x75, 0x62, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x49, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x75, 0x62, 0x73, 0x74, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x69, 0x6e, 0x66, 0x75, 0x73, - 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x69, 0x6e, 0x66, - 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x3a, 0x0c, 0x82, 0xe7, 0xb0, 0x2a, 0x07, 0x63, 0x72, - 0x65, 0x61, 0x74, 0x6f, 0x72, 0x22, 0xcd, 0x01, 0x0a, 0x1b, 0x4d, 0x73, 0x67, 0x47, 0x75, 0x69, - 0x6c, 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x4a, 0x6f, 0x69, 0x6e, - 0x50, 0x72, 0x6f, 0x78, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, - 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x22, 0x0a, 0x0c, 0x73, 0x75, 0x62, - 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x0c, 0x73, 0x75, 0x62, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x20, 0x0a, - 0x0b, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x50, 0x75, 0x62, 0x4b, 0x65, 0x79, 0x18, 0x04, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x0b, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x50, 0x75, 0x62, 0x4b, 0x65, 0x79, 0x12, - 0x26, 0x0a, 0x0e, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, - 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x53, 0x69, - 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x3a, 0x0c, 0x82, 0xe7, 0xb0, 0x2a, 0x07, 0x63, 0x72, - 0x65, 0x61, 0x74, 0x6f, 0x72, 0x22, 0x76, 0x0a, 0x16, 0x4d, 0x73, 0x67, 0x47, 0x75, 0x69, 0x6c, - 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x4b, 0x69, 0x63, 0x6b, 0x12, + 0x74, 0x65, 0x44, 0x65, 0x6e, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, + 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, + 0x12, 0x18, 0x0a, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6c, + 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6c, + 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, 0x3a, 0x0c, 0x82, 0xe7, 0xb0, 0x2a, 0x07, 0x63, 0x72, 0x65, + 0x61, 0x74, 0x6f, 0x72, 0x22, 0x7e, 0x0a, 0x1e, 0x4d, 0x73, 0x67, 0x47, 0x75, 0x69, 0x6c, 0x64, + 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, + 0x52, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, + 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, + 0x12, 0x18, 0x0a, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6c, + 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6c, + 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, 0x3a, 0x0c, 0x82, 0xe7, 0xb0, 0x2a, 0x07, 0x63, 0x72, 0x65, + 0x61, 0x74, 0x6f, 0x72, 0x22, 0xba, 0x01, 0x0a, 0x16, 0x4d, 0x73, 0x67, 0x47, 0x75, 0x69, 0x6c, + 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x4a, 0x6f, 0x69, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, 0x3a, - 0x0c, 0x82, 0xe7, 0xb0, 0x2a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x22, 0x9d, 0x01, - 0x0a, 0x19, 0x4d, 0x73, 0x67, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, - 0x73, 0x68, 0x69, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x63, + 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, 0x12, + 0x22, 0x0a, 0x0c, 0x73, 0x75, 0x62, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x75, 0x62, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x69, 0x6e, 0x66, 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x49, + 0x64, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x69, 0x6e, 0x66, 0x75, 0x73, 0x69, 0x6f, + 0x6e, 0x49, 0x64, 0x3a, 0x0c, 0x82, 0xe7, 0xb0, 0x2a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, + 0x72, 0x22, 0xcd, 0x01, 0x0a, 0x1b, 0x4d, 0x73, 0x67, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, + 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x4a, 0x6f, 0x69, 0x6e, 0x50, 0x72, 0x6f, 0x78, + 0x79, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x61, + 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, + 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x22, 0x0a, 0x0c, 0x73, 0x75, 0x62, 0x73, 0x74, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x75, 0x62, + 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x70, 0x72, 0x6f, + 0x6f, 0x66, 0x50, 0x75, 0x62, 0x4b, 0x65, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, + 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x50, 0x75, 0x62, 0x4b, 0x65, 0x79, 0x12, 0x26, 0x0a, 0x0e, 0x70, + 0x72, 0x6f, 0x6f, 0x66, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x05, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0e, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, + 0x75, 0x72, 0x65, 0x3a, 0x0c, 0x82, 0xe7, 0xb0, 0x2a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, + 0x72, 0x22, 0x76, 0x0a, 0x16, 0x4d, 0x73, 0x67, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x6d, + 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x4b, 0x69, 0x63, 0x6b, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, 0x12, 0x22, 0x0a, 0x0c, 0x73, - 0x75, 0x62, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0c, 0x73, 0x75, 0x62, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x3a, - 0x0c, 0x82, 0xe7, 0xb0, 0x2a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x22, 0xa4, 0x01, - 0x0a, 0x20, 0x4d, 0x73, 0x67, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, - 0x73, 0x68, 0x69, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x41, 0x70, 0x70, 0x72, 0x6f, - 0x76, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, + 0x09, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, 0x3a, 0x0c, 0x82, 0xe7, 0xb0, + 0x2a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x22, 0x9d, 0x01, 0x0a, 0x19, 0x4d, 0x73, + 0x67, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, + 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, + 0x72, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x70, + 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, + 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, 0x12, 0x22, 0x0a, 0x0c, 0x73, 0x75, 0x62, 0x73, 0x74, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, + 0x75, 0x62, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x3a, 0x0c, 0x82, 0xe7, 0xb0, + 0x2a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x22, 0xa4, 0x01, 0x0a, 0x20, 0x4d, 0x73, + 0x67, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x12, 0x18, + 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x75, 0x69, 0x6c, + 0x64, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, + 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, 0x12, 0x22, + 0x0a, 0x0c, 0x73, 0x75, 0x62, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x75, 0x62, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x49, 0x64, 0x3a, 0x0c, 0x82, 0xe7, 0xb0, 0x2a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, + 0x22, 0x7d, 0x0a, 0x1d, 0x4d, 0x73, 0x67, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x6d, 0x62, + 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x44, 0x65, 0x6e, + 0x79, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x67, + 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x67, 0x75, + 0x69, 0x6c, 0x64, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, + 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, + 0x64, 0x3a, 0x0c, 0x82, 0xe7, 0xb0, 0x2a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x22, + 0x7f, 0x0a, 0x1f, 0x4d, 0x73, 0x67, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, + 0x72, 0x73, 0x68, 0x69, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x65, 0x76, 0x6f, + 0x6b, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, - 0x49, 0x64, 0x12, 0x22, 0x0a, 0x0c, 0x73, 0x75, 0x62, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x49, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x75, 0x62, 0x73, 0x74, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x3a, 0x0c, 0x82, 0xe7, 0xb0, 0x2a, 0x07, 0x63, 0x72, 0x65, - 0x61, 0x74, 0x6f, 0x72, 0x22, 0x7d, 0x0a, 0x1d, 0x4d, 0x73, 0x67, 0x47, 0x75, 0x69, 0x6c, 0x64, - 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x44, 0x65, 0x6e, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, - 0x18, 0x0a, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6c, 0x61, - 0x79, 0x65, 0x72, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6c, 0x61, - 0x79, 0x65, 0x72, 0x49, 0x64, 0x3a, 0x0c, 0x82, 0xe7, 0xb0, 0x2a, 0x07, 0x63, 0x72, 0x65, 0x61, - 0x74, 0x6f, 0x72, 0x22, 0x7f, 0x0a, 0x1f, 0x4d, 0x73, 0x67, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x4d, - 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x52, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, - 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, - 0x12, 0x18, 0x0a, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6c, - 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6c, - 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, 0x3a, 0x0c, 0x82, 0xe7, 0xb0, 0x2a, 0x07, 0x63, 0x72, 0x65, - 0x61, 0x74, 0x6f, 0x72, 0x22, 0x89, 0x01, 0x0a, 0x1a, 0x4d, 0x73, 0x67, 0x47, 0x75, 0x69, 0x6c, - 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x6b, 0x0a, 0x1a, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x6d, 0x62, - 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, - 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x4d, - 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x1a, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, + 0x49, 0x64, 0x3a, 0x0c, 0x82, 0xe7, 0xb0, 0x2a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, + 0x22, 0x89, 0x01, 0x0a, 0x1a, 0x4d, 0x73, 0x67, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x6d, + 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x6b, 0x0a, 0x1a, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, + 0x69, 0x70, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, + 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x22, 0x9e, 0x01, 0x0a, 0x1a, 0x4d, 0x73, 0x67, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, - 0x6f, 0x6e, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x4f, 0x6e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x12, - 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x6f, 0x62, 0x6a, - 0x65, 0x63, 0x74, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6f, 0x62, 0x6a, - 0x65, 0x63, 0x74, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, - 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, - 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, + 0x52, 0x1a, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, + 0x70, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x9e, 0x01, 0x0a, + 0x1a, 0x4d, 0x73, 0x67, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x47, 0x72, + 0x61, 0x6e, 0x74, 0x4f, 0x6e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x63, + 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x72, + 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x49, + 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x49, + 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, 0x12, 0x20, 0x0a, + 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x04, 0x52, 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x3a, + 0x0c, 0x82, 0xe7, 0xb0, 0x2a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x22, 0x81, 0x01, + 0x0a, 0x1b, 0x4d, 0x73, 0x67, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x47, + 0x72, 0x61, 0x6e, 0x74, 0x4f, 0x6e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x18, 0x0a, + 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, + 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, + 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, + 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x3a, 0x0c, 0x82, 0xe7, 0xb0, 0x2a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, - 0x72, 0x22, 0x81, 0x01, 0x0a, 0x1b, 0x4d, 0x73, 0x67, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, - 0x69, 0x6f, 0x6e, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x4f, 0x6e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, - 0x73, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x61, - 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, - 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, - 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x70, 0x65, 0x72, 0x6d, - 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x3a, 0x0c, 0x82, 0xe7, 0xb0, 0x2a, 0x07, 0x63, 0x72, - 0x65, 0x61, 0x74, 0x6f, 0x72, 0x22, 0x9f, 0x01, 0x0a, 0x1b, 0x4d, 0x73, 0x67, 0x50, 0x65, 0x72, - 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x4f, 0x6e, 0x4f, + 0x72, 0x22, 0x9f, 0x01, 0x0a, 0x1b, 0x4d, 0x73, 0x67, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, + 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x4f, 0x6e, 0x4f, 0x62, 0x6a, 0x65, 0x63, + 0x74, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x6f, + 0x62, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6f, + 0x62, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x65, + 0x72, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x65, + 0x72, 0x49, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, + 0x6e, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, + 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x3a, 0x0c, 0x82, 0xe7, 0xb0, 0x2a, 0x07, 0x63, 0x72, 0x65, 0x61, + 0x74, 0x6f, 0x72, 0x22, 0x82, 0x01, 0x0a, 0x1c, 0x4d, 0x73, 0x67, 0x50, 0x65, 0x72, 0x6d, 0x69, + 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x4f, 0x6e, 0x41, 0x64, 0x64, + 0x72, 0x65, 0x73, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x18, + 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x70, 0x65, 0x72, 0x6d, + 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x70, + 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x3a, 0x0c, 0x82, 0xe7, 0xb0, 0x2a, + 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x22, 0x9c, 0x01, 0x0a, 0x18, 0x4d, 0x73, 0x67, + 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x74, 0x4f, 0x6e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, @@ -48054,202 +62476,209 @@ var file_structs_structs_tx_proto_rawDesc = []byte{ 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x3a, 0x0c, 0x82, 0xe7, 0xb0, 0x2a, 0x07, - 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x22, 0x82, 0x01, 0x0a, 0x1c, 0x4d, 0x73, 0x67, 0x50, - 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x4f, - 0x6e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, - 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, - 0x6f, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x20, 0x0a, 0x0b, - 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x04, 0x52, 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x3a, 0x0c, - 0x82, 0xe7, 0xb0, 0x2a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x22, 0x9c, 0x01, 0x0a, - 0x18, 0x4d, 0x73, 0x67, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x53, 0x65, - 0x74, 0x4f, 0x6e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, - 0x61, 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, - 0x74, 0x6f, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x64, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x64, 0x12, - 0x1a, 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x70, - 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, - 0x52, 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x3a, 0x0c, 0x82, - 0xe7, 0xb0, 0x2a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x22, 0x7f, 0x0a, 0x19, 0x4d, - 0x73, 0x67, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x74, 0x4f, - 0x6e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, - 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, - 0x6f, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x20, 0x0a, 0x0b, - 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x04, 0x52, 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x3a, 0x0c, - 0x82, 0xe7, 0xb0, 0x2a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x22, 0x17, 0x0a, 0x15, - 0x4d, 0x73, 0x67, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3a, 0x0a, 0x10, 0x4d, 0x73, 0x67, 0x50, 0x6c, 0x61, 0x6e, - 0x65, 0x74, 0x45, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, + 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x22, 0x7f, 0x0a, 0x19, 0x4d, 0x73, 0x67, 0x50, 0x65, + 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x74, 0x4f, 0x6e, 0x41, 0x64, 0x64, + 0x72, 0x65, 0x73, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x18, + 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x70, 0x65, 0x72, 0x6d, + 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x70, + 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x3a, 0x0c, 0x82, 0xe7, 0xb0, 0x2a, + 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x22, 0x17, 0x0a, 0x15, 0x4d, 0x73, 0x67, 0x50, + 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x56, 0x0a, 0x10, 0x4d, 0x73, 0x67, 0x50, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x45, 0x78, + 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, + 0x1a, 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, 0x3a, 0x0c, 0x82, 0xe7, 0xb0, + 0x2a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x22, 0x51, 0x0a, 0x18, 0x4d, 0x73, 0x67, + 0x50, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x45, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x06, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, + 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x50, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x42, 0x04, + 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x06, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x22, 0x85, 0x01, 0x0a, + 0x15, 0x4d, 0x73, 0x67, 0x50, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x52, 0x61, 0x69, 0x64, 0x43, 0x6f, + 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, + 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, + 0x12, 0x18, 0x0a, 0x07, 0x66, 0x6c, 0x65, 0x65, 0x74, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x07, 0x66, 0x6c, 0x65, 0x65, 0x74, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x72, + 0x6f, 0x6f, 0x66, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x72, 0x6f, 0x6f, 0x66, + 0x12, 0x14, 0x0a, 0x05, 0x6e, 0x6f, 0x6e, 0x63, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x05, 0x6e, 0x6f, 0x6e, 0x63, 0x65, 0x3a, 0x0c, 0x82, 0xe7, 0xb0, 0x2a, 0x07, 0x63, 0x72, 0x65, + 0x61, 0x74, 0x6f, 0x72, 0x22, 0xa8, 0x01, 0x0a, 0x1d, 0x4d, 0x73, 0x67, 0x50, 0x6c, 0x61, 0x6e, + 0x65, 0x74, 0x52, 0x61, 0x69, 0x64, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x32, 0x0a, 0x05, 0x66, 0x6c, 0x65, 0x65, 0x74, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, + 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x46, 0x6c, 0x65, 0x65, 0x74, 0x42, 0x04, 0xc8, + 0xde, 0x1f, 0x00, 0x52, 0x05, 0x66, 0x6c, 0x65, 0x65, 0x74, 0x12, 0x35, 0x0a, 0x06, 0x70, 0x6c, + 0x61, 0x6e, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x73, 0x74, 0x72, + 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x50, 0x6c, 0x61, + 0x6e, 0x65, 0x74, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x06, 0x70, 0x6c, 0x61, 0x6e, 0x65, + 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x6f, 0x72, 0x65, 0x53, 0x74, 0x6f, 0x6c, 0x65, 0x6e, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x6f, 0x72, 0x65, 0x53, 0x74, 0x6f, 0x6c, 0x65, 0x6e, 0x22, + 0x8b, 0x01, 0x0a, 0x1d, 0x4d, 0x73, 0x67, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x55, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, + 0x73, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x70, + 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, + 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, 0x12, 0x26, 0x0a, 0x0e, 0x70, 0x72, 0x69, 0x6d, 0x61, + 0x72, 0x79, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0e, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x3a, + 0x0c, 0x82, 0xe7, 0xb0, 0x2a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x22, 0x27, 0x0a, + 0x25, 0x4d, 0x73, 0x67, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x55, 0x0a, 0x0f, 0x4d, 0x73, 0x67, 0x50, 0x6c, 0x61, + 0x79, 0x65, 0x72, 0x52, 0x65, 0x73, 0x75, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, - 0x74, 0x6f, 0x72, 0x3a, 0x0c, 0x82, 0xe7, 0xb0, 0x2a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, - 0x72, 0x22, 0x51, 0x0a, 0x18, 0x4d, 0x73, 0x67, 0x50, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x45, 0x78, - 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, - 0x06, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, - 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, - 0x50, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x06, 0x70, 0x6c, - 0x61, 0x6e, 0x65, 0x74, 0x22, 0x85, 0x01, 0x0a, 0x15, 0x4d, 0x73, 0x67, 0x50, 0x6c, 0x61, 0x6e, - 0x65, 0x74, 0x52, 0x61, 0x69, 0x64, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x12, 0x18, - 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x66, 0x6c, 0x65, 0x65, - 0x74, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x66, 0x6c, 0x65, 0x65, 0x74, - 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x05, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x12, 0x14, 0x0a, 0x05, 0x6e, 0x6f, 0x6e, 0x63, - 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6e, 0x6f, 0x6e, 0x63, 0x65, 0x3a, 0x0c, - 0x82, 0xe7, 0xb0, 0x2a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x22, 0xa8, 0x01, 0x0a, - 0x1d, 0x4d, 0x73, 0x67, 0x50, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x52, 0x61, 0x69, 0x64, 0x43, 0x6f, - 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x32, - 0x0a, 0x05, 0x66, 0x6c, 0x65, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, - 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, - 0x46, 0x6c, 0x65, 0x65, 0x74, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x05, 0x66, 0x6c, 0x65, - 0x65, 0x74, 0x12, 0x35, 0x0a, 0x06, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, - 0x75, 0x63, 0x74, 0x73, 0x2e, 0x50, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x42, 0x04, 0xc8, 0xde, 0x1f, - 0x00, 0x52, 0x06, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x6f, 0x72, 0x65, - 0x53, 0x74, 0x6f, 0x6c, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x6f, 0x72, - 0x65, 0x53, 0x74, 0x6f, 0x6c, 0x65, 0x6e, 0x22, 0x8b, 0x01, 0x0a, 0x1d, 0x4d, 0x73, 0x67, 0x50, - 0x6c, 0x61, 0x79, 0x65, 0x72, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x72, 0x69, 0x6d, 0x61, - 0x72, 0x79, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, + 0x74, 0x6f, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, 0x3a, + 0x0c, 0x82, 0xe7, 0xb0, 0x2a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x22, 0x19, 0x0a, + 0x17, 0x4d, 0x73, 0x67, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x52, 0x65, 0x73, 0x75, 0x6d, 0x65, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x50, 0x0a, 0x17, 0x4d, 0x73, 0x67, 0x53, + 0x74, 0x72, 0x75, 0x63, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x06, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, + 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x42, 0x04, 0xc8, 0xde, + 0x1f, 0x00, 0x52, 0x06, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x22, 0x57, 0x0a, 0x11, 0x4d, 0x73, + 0x67, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x41, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x12, + 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x74, 0x72, + 0x75, 0x63, 0x74, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x74, 0x72, + 0x75, 0x63, 0x74, 0x49, 0x64, 0x3a, 0x0c, 0x82, 0xe7, 0xb0, 0x2a, 0x07, 0x63, 0x72, 0x65, 0x61, + 0x74, 0x6f, 0x72, 0x22, 0x59, 0x0a, 0x13, 0x4d, 0x73, 0x67, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, + 0x44, 0x65, 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, + 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x72, 0x65, + 0x61, 0x74, 0x6f, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x49, 0x64, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x49, 0x64, + 0x3a, 0x0c, 0x82, 0xe7, 0xb0, 0x2a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x22, 0xd4, + 0x01, 0x0a, 0x16, 0x4d, 0x73, 0x67, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x42, 0x75, 0x69, 0x6c, + 0x64, 0x49, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x74, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, 0x12, - 0x26, 0x0a, 0x0e, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, - 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, - 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x3a, 0x0c, 0x82, 0xe7, 0xb0, 0x2a, 0x07, 0x63, 0x72, - 0x65, 0x61, 0x74, 0x6f, 0x72, 0x22, 0x27, 0x0a, 0x25, 0x4d, 0x73, 0x67, 0x50, 0x6c, 0x61, 0x79, - 0x65, 0x72, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x41, - 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x50, - 0x0a, 0x17, 0x4d, 0x73, 0x67, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, - 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x06, 0x73, 0x74, 0x72, - 0x75, 0x63, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x73, 0x74, 0x72, 0x75, - 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x53, 0x74, 0x72, 0x75, - 0x63, 0x74, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x06, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, - 0x22, 0x57, 0x0a, 0x11, 0x4d, 0x73, 0x67, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x41, 0x63, 0x74, - 0x69, 0x76, 0x61, 0x74, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, - 0x1a, 0x0a, 0x08, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x08, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x49, 0x64, 0x3a, 0x0c, 0x82, 0xe7, 0xb0, - 0x2a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x22, 0x59, 0x0a, 0x13, 0x4d, 0x73, 0x67, - 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x44, 0x65, 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, + 0x22, 0x0a, 0x0c, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x49, 0x64, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0c, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x54, 0x79, 0x70, + 0x65, 0x49, 0x64, 0x12, 0x3e, 0x0a, 0x0e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6e, 0x67, + 0x41, 0x6d, 0x62, 0x69, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, 0x73, 0x74, + 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x61, 0x6d, + 0x62, 0x69, 0x74, 0x52, 0x0e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6e, 0x67, 0x41, 0x6d, + 0x62, 0x69, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x6c, 0x6f, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, + 0x04, 0x52, 0x04, 0x73, 0x6c, 0x6f, 0x74, 0x3a, 0x0c, 0x82, 0xe7, 0xb0, 0x2a, 0x07, 0x63, 0x72, + 0x65, 0x61, 0x74, 0x6f, 0x72, 0x22, 0x88, 0x01, 0x0a, 0x16, 0x4d, 0x73, 0x67, 0x53, 0x74, 0x72, + 0x75, 0x63, 0x74, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x74, - 0x72, 0x75, 0x63, 0x74, 0x49, 0x64, 0x3a, 0x0c, 0x82, 0xe7, 0xb0, 0x2a, 0x07, 0x63, 0x72, 0x65, - 0x61, 0x74, 0x6f, 0x72, 0x22, 0x95, 0x02, 0x0a, 0x16, 0x4d, 0x73, 0x67, 0x53, 0x74, 0x72, 0x75, - 0x63, 0x74, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x74, 0x65, 0x12, + 0x72, 0x75, 0x63, 0x74, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x12, 0x14, 0x0a, 0x05, + 0x6e, 0x6f, 0x6e, 0x63, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6e, 0x6f, 0x6e, + 0x63, 0x65, 0x3a, 0x0c, 0x82, 0xe7, 0xb0, 0x2a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, + 0x22, 0x5a, 0x0a, 0x14, 0x4d, 0x73, 0x67, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x42, 0x75, 0x69, + 0x6c, 0x64, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, + 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, + 0x6f, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x49, 0x64, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x49, 0x64, 0x3a, 0x0c, + 0x82, 0xe7, 0xb0, 0x2a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x22, 0xa2, 0x02, 0x0a, + 0x1e, 0x4d, 0x73, 0x67, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x43, + 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x6e, 0x64, 0x53, 0x74, 0x61, 0x73, 0x68, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6c, 0x61, - 0x79, 0x65, 0x72, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6c, 0x61, - 0x79, 0x65, 0x72, 0x49, 0x64, 0x12, 0x22, 0x0a, 0x0c, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x54, - 0x79, 0x70, 0x65, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0c, 0x73, 0x74, 0x72, - 0x75, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x49, 0x64, 0x12, 0x3f, 0x0a, 0x0c, 0x6c, 0x6f, 0x63, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, - 0x1b, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, - 0x73, 0x2e, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0c, 0x6c, 0x6f, - 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x3e, 0x0a, 0x0e, 0x6f, 0x70, - 0x65, 0x72, 0x61, 0x74, 0x69, 0x6e, 0x67, 0x41, 0x6d, 0x62, 0x69, 0x74, 0x18, 0x05, 0x20, 0x01, - 0x28, 0x0e, 0x32, 0x16, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, - 0x75, 0x63, 0x74, 0x73, 0x2e, 0x61, 0x6d, 0x62, 0x69, 0x74, 0x52, 0x0e, 0x6f, 0x70, 0x65, 0x72, - 0x61, 0x74, 0x69, 0x6e, 0x67, 0x41, 0x6d, 0x62, 0x69, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x6c, - 0x6f, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x73, 0x6c, 0x6f, 0x74, 0x3a, 0x0c, - 0x82, 0xe7, 0xb0, 0x2a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x22, 0x88, 0x01, 0x0a, - 0x16, 0x4d, 0x73, 0x67, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x43, - 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, - 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, - 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x49, 0x64, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x49, 0x64, 0x12, 0x14, 0x0a, - 0x05, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x72, - 0x6f, 0x6f, 0x66, 0x12, 0x14, 0x0a, 0x05, 0x6e, 0x6f, 0x6e, 0x63, 0x65, 0x18, 0x04, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x05, 0x6e, 0x6f, 0x6e, 0x63, 0x65, 0x3a, 0x0c, 0x82, 0xe7, 0xb0, 0x2a, 0x07, - 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x22, 0xa2, 0x02, 0x0a, 0x1e, 0x4d, 0x73, 0x67, 0x53, - 0x74, 0x72, 0x75, 0x63, 0x74, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, - 0x74, 0x65, 0x41, 0x6e, 0x64, 0x53, 0x74, 0x61, 0x73, 0x68, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, - 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x72, 0x65, - 0x61, 0x74, 0x6f, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x49, 0x64, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x49, 0x64, - 0x12, 0x14, 0x0a, 0x05, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x05, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x12, 0x14, 0x0a, 0x05, 0x6e, 0x6f, 0x6e, 0x63, 0x65, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6e, 0x6f, 0x6e, 0x63, 0x65, 0x12, 0x32, 0x0a, 0x14, - 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x44, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x14, 0x73, 0x74, 0x6f, 0x72, - 0x61, 0x67, 0x65, 0x44, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, - 0x12, 0x3a, 0x0a, 0x0c, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x41, 0x6d, 0x62, 0x69, 0x74, - 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, - 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x61, 0x6d, 0x62, 0x69, 0x74, 0x52, 0x0c, - 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x41, 0x6d, 0x62, 0x69, 0x74, 0x12, 0x20, 0x0a, 0x0b, - 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x53, 0x6c, 0x6f, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, - 0x04, 0x52, 0x0b, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x53, 0x6c, 0x6f, 0x74, 0x3a, 0x0c, - 0x82, 0xe7, 0xb0, 0x2a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x22, 0x97, 0x01, 0x0a, - 0x13, 0x4d, 0x73, 0x67, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x44, 0x65, 0x66, 0x65, 0x6e, 0x73, - 0x65, 0x53, 0x65, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, + 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x74, 0x72, + 0x75, 0x63, 0x74, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x74, 0x72, + 0x75, 0x63, 0x74, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x12, 0x14, 0x0a, 0x05, 0x6e, + 0x6f, 0x6e, 0x63, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6e, 0x6f, 0x6e, 0x63, + 0x65, 0x12, 0x32, 0x0a, 0x14, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x44, 0x65, 0x73, 0x74, + 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x14, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x44, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x3a, 0x0a, 0x0c, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, + 0x41, 0x6d, 0x62, 0x69, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, 0x73, 0x74, + 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x61, 0x6d, + 0x62, 0x69, 0x74, 0x52, 0x0c, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x41, 0x6d, 0x62, 0x69, + 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x53, 0x6c, 0x6f, 0x74, + 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x53, + 0x6c, 0x6f, 0x74, 0x3a, 0x0c, 0x82, 0xe7, 0xb0, 0x2a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, + 0x72, 0x22, 0x97, 0x01, 0x0a, 0x13, 0x4d, 0x73, 0x67, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x44, + 0x65, 0x66, 0x65, 0x6e, 0x73, 0x65, 0x53, 0x65, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, + 0x61, 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, + 0x74, 0x6f, 0x72, 0x12, 0x2a, 0x0a, 0x10, 0x64, 0x65, 0x66, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x53, + 0x74, 0x72, 0x75, 0x63, 0x74, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x64, + 0x65, 0x66, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x49, 0x64, 0x12, + 0x2c, 0x0a, 0x11, 0x70, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x65, 0x64, 0x53, 0x74, 0x72, 0x75, + 0x63, 0x74, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x70, 0x72, 0x6f, 0x74, + 0x65, 0x63, 0x74, 0x65, 0x64, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x49, 0x64, 0x3a, 0x0c, 0x82, + 0xe7, 0xb0, 0x2a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x22, 0x6b, 0x0a, 0x15, 0x4d, + 0x73, 0x67, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x44, 0x65, 0x66, 0x65, 0x6e, 0x73, 0x65, 0x43, + 0x6c, 0x65, 0x61, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x2a, 0x0a, 0x10, 0x64, 0x65, 0x66, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x64, 0x65, 0x66, 0x65, 0x6e, 0x64, - 0x65, 0x72, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x49, 0x64, 0x12, 0x2c, 0x0a, 0x11, 0x70, 0x72, - 0x6f, 0x74, 0x65, 0x63, 0x74, 0x65, 0x64, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x49, 0x64, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x70, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x65, 0x64, - 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x49, 0x64, 0x3a, 0x0c, 0x82, 0xe7, 0xb0, 0x2a, 0x07, 0x63, - 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x22, 0x6b, 0x0a, 0x15, 0x4d, 0x73, 0x67, 0x53, 0x74, 0x72, - 0x75, 0x63, 0x74, 0x44, 0x65, 0x66, 0x65, 0x6e, 0x73, 0x65, 0x43, 0x6c, 0x65, 0x61, 0x72, 0x12, - 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x2a, 0x0a, 0x10, 0x64, 0x65, 0x66, - 0x65, 0x6e, 0x64, 0x65, 0x72, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x49, 0x64, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x10, 0x64, 0x65, 0x66, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x53, 0x74, 0x72, - 0x75, 0x63, 0x74, 0x49, 0x64, 0x3a, 0x0c, 0x82, 0xe7, 0xb0, 0x2a, 0x07, 0x63, 0x72, 0x65, 0x61, - 0x74, 0x6f, 0x72, 0x22, 0xd6, 0x01, 0x0a, 0x0d, 0x4d, 0x73, 0x67, 0x53, 0x74, 0x72, 0x75, 0x63, - 0x74, 0x4d, 0x6f, 0x76, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, + 0x65, 0x72, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x49, 0x64, 0x3a, 0x0c, 0x82, 0xe7, 0xb0, 0x2a, + 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x22, 0xd6, 0x01, 0x0a, 0x0d, 0x4d, 0x73, 0x67, + 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x4d, 0x6f, 0x76, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, + 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x72, 0x65, + 0x61, 0x74, 0x6f, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x49, 0x64, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x49, 0x64, + 0x12, 0x3f, 0x0a, 0x0c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1b, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, + 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x54, + 0x79, 0x70, 0x65, 0x52, 0x0c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, + 0x65, 0x12, 0x2c, 0x0a, 0x05, 0x61, 0x6d, 0x62, 0x69, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, + 0x32, 0x16, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, + 0x74, 0x73, 0x2e, 0x61, 0x6d, 0x62, 0x69, 0x74, 0x52, 0x05, 0x61, 0x6d, 0x62, 0x69, 0x74, 0x12, + 0x12, 0x0a, 0x04, 0x73, 0x6c, 0x6f, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x73, + 0x6c, 0x6f, 0x74, 0x3a, 0x0c, 0x82, 0xe7, 0xb0, 0x2a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, + 0x72, 0x22, 0xb3, 0x01, 0x0a, 0x0f, 0x4d, 0x73, 0x67, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x41, + 0x74, 0x74, 0x61, 0x63, 0x6b, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, - 0x1a, 0x0a, 0x08, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x08, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x49, 0x64, 0x12, 0x3f, 0x0a, 0x0c, 0x6c, - 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x0e, 0x32, 0x1b, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, - 0x63, 0x74, 0x73, 0x2e, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0c, - 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x2c, 0x0a, 0x05, - 0x61, 0x6d, 0x62, 0x69, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, 0x73, 0x74, - 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x61, 0x6d, - 0x62, 0x69, 0x74, 0x52, 0x05, 0x61, 0x6d, 0x62, 0x69, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x6c, - 0x6f, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x73, 0x6c, 0x6f, 0x74, 0x3a, 0x0c, - 0x82, 0xe7, 0xb0, 0x2a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x22, 0xb3, 0x01, 0x0a, - 0x0f, 0x4d, 0x73, 0x67, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x41, 0x74, 0x74, 0x61, 0x63, 0x6b, + 0x2c, 0x0a, 0x11, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x72, 0x75, + 0x63, 0x74, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x6f, 0x70, 0x65, 0x72, + 0x61, 0x74, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x49, 0x64, 0x12, 0x26, 0x0a, + 0x0e, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x49, 0x64, 0x18, + 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0e, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x53, 0x74, 0x72, + 0x75, 0x63, 0x74, 0x49, 0x64, 0x12, 0x22, 0x0a, 0x0c, 0x77, 0x65, 0x61, 0x70, 0x6f, 0x6e, 0x53, + 0x79, 0x73, 0x74, 0x65, 0x6d, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x77, 0x65, 0x61, + 0x70, 0x6f, 0x6e, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x3a, 0x0c, 0x82, 0xe7, 0xb0, 0x2a, 0x07, + 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x22, 0x19, 0x0a, 0x17, 0x4d, 0x73, 0x67, 0x53, 0x74, + 0x72, 0x75, 0x63, 0x74, 0x41, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x5e, 0x0a, 0x18, 0x4d, 0x73, 0x67, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x53, + 0x74, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x41, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x12, 0x18, + 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x74, 0x72, 0x75, + 0x63, 0x74, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x74, 0x72, 0x75, + 0x63, 0x74, 0x49, 0x64, 0x3a, 0x0c, 0x82, 0xe7, 0xb0, 0x2a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, + 0x6f, 0x72, 0x22, 0x60, 0x0a, 0x1a, 0x4d, 0x73, 0x67, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x53, + 0x74, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x44, 0x65, 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x2c, 0x0a, 0x11, 0x6f, 0x70, - 0x65, 0x72, 0x61, 0x74, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x49, 0x64, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6e, 0x67, - 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x49, 0x64, 0x12, 0x26, 0x0a, 0x0e, 0x74, 0x61, 0x72, 0x67, - 0x65, 0x74, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x49, 0x64, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, - 0x52, 0x0e, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x49, 0x64, - 0x12, 0x22, 0x0a, 0x0c, 0x77, 0x65, 0x61, 0x70, 0x6f, 0x6e, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x77, 0x65, 0x61, 0x70, 0x6f, 0x6e, 0x53, 0x79, - 0x73, 0x74, 0x65, 0x6d, 0x3a, 0x0c, 0x82, 0xe7, 0xb0, 0x2a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, - 0x6f, 0x72, 0x22, 0x19, 0x0a, 0x17, 0x4d, 0x73, 0x67, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x41, - 0x74, 0x74, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x5e, 0x0a, - 0x18, 0x4d, 0x73, 0x67, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x53, 0x74, 0x65, 0x61, 0x6c, 0x74, - 0x68, 0x41, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, - 0x61, 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, - 0x74, 0x6f, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x49, 0x64, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x49, 0x64, 0x3a, - 0x0c, 0x82, 0xe7, 0xb0, 0x2a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x22, 0x60, 0x0a, - 0x1a, 0x4d, 0x73, 0x67, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x53, 0x74, 0x65, 0x61, 0x6c, 0x74, - 0x68, 0x44, 0x65, 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, + 0x09, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x74, + 0x72, 0x75, 0x63, 0x74, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x74, + 0x72, 0x75, 0x63, 0x74, 0x49, 0x64, 0x3a, 0x0c, 0x82, 0xe7, 0xb0, 0x2a, 0x07, 0x63, 0x72, 0x65, + 0x61, 0x74, 0x6f, 0x72, 0x22, 0x82, 0x01, 0x0a, 0x18, 0x4d, 0x73, 0x67, 0x53, 0x74, 0x72, 0x75, + 0x63, 0x74, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x66, 0x75, 0x73, + 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x73, + 0x74, 0x72, 0x75, 0x63, 0x74, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, + 0x74, 0x72, 0x75, 0x63, 0x74, 0x49, 0x64, 0x12, 0x22, 0x0a, 0x0c, 0x69, 0x6e, 0x66, 0x75, 0x73, + 0x65, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x69, + 0x6e, 0x66, 0x75, 0x73, 0x65, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x3a, 0x0c, 0x82, 0xe7, 0xb0, + 0x2a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x22, 0x22, 0x0a, 0x20, 0x4d, 0x73, 0x67, + 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x53, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x8b, 0x01, + 0x0a, 0x19, 0x4d, 0x73, 0x67, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x4f, 0x72, 0x65, 0x4d, 0x69, + 0x6e, 0x65, 0x72, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x49, - 0x64, 0x3a, 0x0c, 0x82, 0xe7, 0xb0, 0x2a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x22, - 0x82, 0x01, 0x0a, 0x18, 0x4d, 0x73, 0x67, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x47, 0x65, 0x6e, - 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x6e, 0x66, 0x75, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, - 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, - 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, - 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, - 0x49, 0x64, 0x12, 0x22, 0x0a, 0x0c, 0x69, 0x6e, 0x66, 0x75, 0x73, 0x65, 0x41, 0x6d, 0x6f, 0x75, - 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x69, 0x6e, 0x66, 0x75, 0x73, 0x65, - 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x3a, 0x0c, 0x82, 0xe7, 0xb0, 0x2a, 0x07, 0x63, 0x72, 0x65, - 0x61, 0x74, 0x6f, 0x72, 0x22, 0x22, 0x0a, 0x20, 0x4d, 0x73, 0x67, 0x53, 0x74, 0x72, 0x75, 0x63, - 0x74, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x8b, 0x01, 0x0a, 0x19, 0x4d, 0x73, 0x67, - 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x4f, 0x72, 0x65, 0x4d, 0x69, 0x6e, 0x65, 0x72, 0x43, 0x6f, + 0x64, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x05, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x12, 0x14, 0x0a, 0x05, 0x6e, 0x6f, 0x6e, 0x63, 0x65, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6e, 0x6f, 0x6e, 0x63, 0x65, 0x3a, 0x0c, 0x82, + 0xe7, 0xb0, 0x2a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x22, 0x58, 0x0a, 0x1f, 0x4d, + 0x73, 0x67, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x4f, 0x72, 0x65, 0x4d, 0x69, 0x6e, 0x65, 0x72, + 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, + 0x0a, 0x06, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, + 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, + 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x06, 0x73, + 0x74, 0x72, 0x75, 0x63, 0x74, 0x22, 0x8e, 0x01, 0x0a, 0x1c, 0x4d, 0x73, 0x67, 0x53, 0x74, 0x72, + 0x75, 0x63, 0x74, 0x4f, 0x72, 0x65, 0x52, 0x65, 0x66, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, @@ -48257,401 +62686,691 @@ var file_structs_structs_tx_proto_rawDesc = []byte{ 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x12, 0x14, 0x0a, 0x05, 0x6e, 0x6f, 0x6e, 0x63, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6e, 0x6f, 0x6e, 0x63, 0x65, 0x3a, 0x0c, 0x82, 0xe7, 0xb0, 0x2a, 0x07, 0x63, - 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x22, 0x58, 0x0a, 0x1f, 0x4d, 0x73, 0x67, 0x53, 0x74, 0x72, - 0x75, 0x63, 0x74, 0x4f, 0x72, 0x65, 0x4d, 0x69, 0x6e, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, - 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x06, 0x73, 0x74, 0x72, - 0x75, 0x63, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x73, 0x74, 0x72, 0x75, - 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x53, 0x74, 0x72, 0x75, - 0x63, 0x74, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x06, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, - 0x22, 0x8e, 0x01, 0x0a, 0x1c, 0x4d, 0x73, 0x67, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x4f, 0x72, - 0x65, 0x52, 0x65, 0x66, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, - 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x73, - 0x74, 0x72, 0x75, 0x63, 0x74, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, - 0x74, 0x72, 0x75, 0x63, 0x74, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x72, 0x6f, 0x6f, 0x66, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x12, 0x14, 0x0a, - 0x05, 0x6e, 0x6f, 0x6e, 0x63, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6e, 0x6f, - 0x6e, 0x63, 0x65, 0x3a, 0x0c, 0x82, 0xe7, 0xb0, 0x2a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, - 0x72, 0x22, 0x5b, 0x0a, 0x22, 0x4d, 0x73, 0x67, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x4f, 0x72, - 0x65, 0x52, 0x65, 0x66, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x06, 0x73, 0x74, 0x72, 0x75, 0x63, - 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, - 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, - 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x06, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x22, 0xbd, - 0x01, 0x0a, 0x15, 0x4d, 0x73, 0x67, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x53, 0x74, 0x6f, 0x72, - 0x61, 0x67, 0x65, 0x53, 0x74, 0x61, 0x73, 0x68, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, + 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x22, 0x5b, 0x0a, 0x22, 0x4d, 0x73, 0x67, 0x53, 0x74, 0x72, + 0x75, 0x63, 0x74, 0x4f, 0x72, 0x65, 0x52, 0x65, 0x66, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x53, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x06, + 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x73, + 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x53, + 0x74, 0x72, 0x75, 0x63, 0x74, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x06, 0x73, 0x74, 0x72, + 0x75, 0x63, 0x74, 0x22, 0xbd, 0x01, 0x0a, 0x15, 0x4d, 0x73, 0x67, 0x53, 0x74, 0x72, 0x75, 0x63, + 0x74, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x53, 0x74, 0x61, 0x73, 0x68, 0x12, 0x18, 0x0a, + 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, + 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x74, 0x72, 0x75, 0x63, + 0x74, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x74, 0x72, 0x75, 0x63, + 0x74, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, + 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x49, 0x64, 0x12, 0x2c, 0x0a, 0x05, 0x61, 0x6d, 0x62, 0x69, 0x74, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x0e, 0x32, 0x16, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, + 0x75, 0x63, 0x74, 0x73, 0x2e, 0x61, 0x6d, 0x62, 0x69, 0x74, 0x52, 0x05, 0x61, 0x6d, 0x62, 0x69, + 0x74, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x6c, 0x6f, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, + 0x04, 0x73, 0x6c, 0x6f, 0x74, 0x3a, 0x0c, 0x82, 0xe7, 0xb0, 0x2a, 0x07, 0x63, 0x72, 0x65, 0x61, + 0x74, 0x6f, 0x72, 0x22, 0xda, 0x01, 0x0a, 0x16, 0x4d, 0x73, 0x67, 0x53, 0x74, 0x72, 0x75, 0x63, + 0x74, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x52, 0x65, 0x63, 0x61, 0x6c, 0x6c, 0x12, 0x18, + 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x74, 0x72, 0x75, + 0x63, 0x74, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x74, 0x72, 0x75, + 0x63, 0x74, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x2c, 0x0a, 0x05, 0x61, 0x6d, 0x62, 0x69, 0x74, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, + 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x61, 0x6d, 0x62, 0x69, 0x74, 0x52, 0x05, 0x61, 0x6d, 0x62, + 0x69, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x6c, 0x6f, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, + 0x52, 0x04, 0x73, 0x6c, 0x6f, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, + 0x74, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, + 0x74, 0x65, 0x3a, 0x0c, 0x82, 0xe7, 0xb0, 0x2a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, + 0x22, 0x77, 0x0a, 0x13, 0x4d, 0x73, 0x67, 0x53, 0x75, 0x62, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, + 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, + 0x72, 0x12, 0x14, 0x0a, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x22, 0x0a, 0x0c, 0x61, 0x6c, 0x6c, 0x6f, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x61, + 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x3a, 0x0c, 0x82, 0xe7, 0xb0, + 0x2a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x22, 0x41, 0x0a, 0x1b, 0x4d, 0x73, 0x67, + 0x53, 0x75, 0x62, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x73, 0x75, 0x62, 0x73, + 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, + 0x73, 0x75, 0x62, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x97, 0x01, 0x0a, + 0x13, 0x4d, 0x73, 0x67, 0x53, 0x75, 0x62, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, + 0x6c, 0x65, 0x74, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x22, + 0x0a, 0x0c, 0x73, 0x75, 0x62, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x75, 0x62, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x49, 0x64, 0x12, 0x34, 0x0a, 0x15, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, + 0x75, 0x62, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x15, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x75, 0x62, 0x73, + 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x3a, 0x0c, 0x82, 0xe7, 0xb0, 0x2a, 0x07, 0x63, + 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x22, 0x1d, 0x0a, 0x1b, 0x4d, 0x73, 0x67, 0x53, 0x75, 0x62, + 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x92, 0x01, 0x0a, 0x1e, 0x4d, 0x73, 0x67, 0x53, 0x75, 0x62, + 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, - 0x6f, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x49, 0x64, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x49, 0x64, 0x12, 0x1e, - 0x0a, 0x0a, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x0a, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x2c, - 0x0a, 0x05, 0x61, 0x6d, 0x62, 0x69, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, - 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, - 0x61, 0x6d, 0x62, 0x69, 0x74, 0x52, 0x05, 0x61, 0x6d, 0x62, 0x69, 0x74, 0x12, 0x12, 0x0a, 0x04, - 0x73, 0x6c, 0x6f, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x73, 0x6c, 0x6f, 0x74, - 0x3a, 0x0c, 0x82, 0xe7, 0xb0, 0x2a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x22, 0xda, - 0x01, 0x0a, 0x16, 0x4d, 0x73, 0x67, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x53, 0x74, 0x6f, 0x72, - 0x61, 0x67, 0x65, 0x52, 0x65, 0x63, 0x61, 0x6c, 0x6c, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, + 0x6f, 0x72, 0x12, 0x22, 0x0a, 0x0c, 0x61, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x61, 0x6c, 0x6c, 0x6f, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x24, 0x0a, 0x0d, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x64, + 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x3a, 0x0c, 0x82, 0xe7, + 0xb0, 0x2a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x22, 0x28, 0x0a, 0x26, 0x4d, 0x73, + 0x67, 0x53, 0x75, 0x62, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x6c, 0x6c, 0x6f, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x6f, 0x0a, 0x21, 0x4d, 0x73, 0x67, 0x53, 0x75, 0x62, 0x73, 0x74, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, + 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, - 0x74, 0x6f, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x49, 0x64, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x49, 0x64, 0x12, - 0x1e, 0x0a, 0x0a, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, - 0x2c, 0x0a, 0x05, 0x61, 0x6d, 0x62, 0x69, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, - 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, - 0x2e, 0x61, 0x6d, 0x62, 0x69, 0x74, 0x52, 0x05, 0x61, 0x6d, 0x62, 0x69, 0x74, 0x12, 0x12, 0x0a, - 0x04, 0x73, 0x6c, 0x6f, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x73, 0x6c, 0x6f, - 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x18, 0x06, 0x20, - 0x01, 0x28, 0x08, 0x52, 0x08, 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x3a, 0x0c, 0x82, - 0xe7, 0xb0, 0x2a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x22, 0x77, 0x0a, 0x13, 0x4d, - 0x73, 0x67, 0x53, 0x75, 0x62, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x72, 0x65, 0x61, - 0x74, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x14, 0x0a, 0x05, - 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6f, 0x77, 0x6e, - 0x65, 0x72, 0x12, 0x22, 0x0a, 0x0c, 0x61, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x61, 0x6c, 0x6c, 0x6f, 0x63, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x3a, 0x0c, 0x82, 0xe7, 0xb0, 0x2a, 0x07, 0x63, 0x72, 0x65, - 0x61, 0x74, 0x6f, 0x72, 0x22, 0x41, 0x0a, 0x1b, 0x4d, 0x73, 0x67, 0x53, 0x75, 0x62, 0x73, 0x74, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x73, 0x75, 0x62, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x75, 0x62, 0x73, 0x74, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x97, 0x01, 0x0a, 0x13, 0x4d, 0x73, 0x67, 0x53, - 0x75, 0x62, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x12, - 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x22, 0x0a, 0x0c, 0x73, 0x75, 0x62, - 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x0c, 0x73, 0x75, 0x62, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x34, 0x0a, - 0x15, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x75, 0x62, 0x73, 0x74, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x15, 0x6d, 0x69, - 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x75, 0x62, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x49, 0x64, 0x3a, 0x0c, 0x82, 0xe7, 0xb0, 0x2a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, - 0x72, 0x22, 0x1d, 0x0a, 0x1b, 0x4d, 0x73, 0x67, 0x53, 0x75, 0x62, 0x73, 0x74, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x92, 0x01, 0x0a, 0x1e, 0x4d, 0x73, 0x67, 0x53, 0x75, 0x62, 0x73, 0x74, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x6e, - 0x65, 0x63, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x22, 0x0a, - 0x0c, 0x61, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x0c, 0x61, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, - 0x64, 0x12, 0x24, 0x0a, 0x0d, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, + 0x74, 0x6f, 0x72, 0x12, 0x22, 0x0a, 0x0c, 0x61, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x61, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x3a, 0x0c, 0x82, 0xe7, 0xb0, 0x2a, 0x07, 0x63, 0x72, - 0x65, 0x61, 0x74, 0x6f, 0x72, 0x22, 0x28, 0x0a, 0x26, 0x4d, 0x73, 0x67, 0x53, 0x75, 0x62, 0x73, + 0x65, 0x61, 0x74, 0x6f, 0x72, 0x22, 0x2b, 0x0a, 0x29, 0x4d, 0x73, 0x67, 0x53, 0x75, 0x62, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x44, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x84, 0x01, 0x0a, 0x1a, 0x4d, 0x73, 0x67, 0x53, 0x75, 0x62, 0x73, 0x74, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, + 0x74, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x22, 0x0a, 0x0c, 0x73, + 0x75, 0x62, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0c, 0x73, 0x75, 0x62, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, + 0x1a, 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, 0x3a, 0x0c, 0x82, 0xe7, 0xb0, + 0x2a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x22, 0x24, 0x0a, 0x22, 0x4d, 0x73, 0x67, + 0x53, 0x75, 0x62, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x6f, 0x0a, 0x21, 0x4d, 0x73, 0x67, 0x53, 0x75, 0x62, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x6e, - 0x6e, 0x65, 0x63, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x22, - 0x0a, 0x0c, 0x61, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x61, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x49, 0x64, 0x3a, 0x0c, 0x82, 0xe7, 0xb0, 0x2a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, - 0x22, 0x2b, 0x0a, 0x29, 0x4d, 0x73, 0x67, 0x53, 0x75, 0x62, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x69, 0x73, 0x63, 0x6f, + 0x63, 0x0a, 0x1d, 0x4d, 0x73, 0x67, 0x53, 0x75, 0x62, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, + 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6c, + 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6c, + 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, 0x3a, 0x0c, 0x82, 0xe7, 0xb0, 0x2a, 0x07, 0x63, 0x72, 0x65, + 0x61, 0x74, 0x6f, 0x72, 0x22, 0x27, 0x0a, 0x25, 0x4d, 0x73, 0x67, 0x53, 0x75, 0x62, 0x73, 0x74, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x84, 0x01, 0x0a, 0x1a, 0x4d, 0x73, 0x67, 0x53, 0x75, 0x62, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, - 0x6c, 0x61, 0x79, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x12, 0x18, 0x0a, 0x07, + 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x22, 0x0a, 0x0c, 0x73, 0x75, 0x62, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x75, 0x62, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6c, - 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6c, + 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, 0x64, 0x3a, 0x0c, 0x82, 0xe7, 0xb0, 0x2a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x22, 0x24, 0x0a, 0x22, 0x4d, 0x73, 0x67, 0x53, 0x75, 0x62, 0x73, 0x74, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x6e, 0x65, - 0x63, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x63, 0x0a, 0x1d, 0x4d, 0x73, - 0x67, 0x53, 0x75, 0x62, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6c, 0x61, 0x79, 0x65, - 0x72, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x63, - 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x72, - 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, - 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, - 0x64, 0x3a, 0x0c, 0x82, 0xe7, 0xb0, 0x2a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x22, - 0x27, 0x0a, 0x25, 0x4d, 0x73, 0x67, 0x53, 0x75, 0x62, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x84, 0x01, 0x0a, 0x1a, 0x4d, 0x73, 0x67, - 0x53, 0x75, 0x62, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, - 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, - 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, - 0x72, 0x12, 0x22, 0x0a, 0x0c, 0x73, 0x75, 0x62, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, - 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x75, 0x62, 0x73, 0x74, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, - 0x64, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x49, - 0x64, 0x3a, 0x0c, 0x82, 0xe7, 0xb0, 0x2a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x22, - 0x24, 0x0a, 0x22, 0x4d, 0x73, 0x67, 0x53, 0x75, 0x62, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0xf3, 0x30, 0x0a, 0x03, 0x4d, 0x73, 0x67, 0x12, 0x5a, 0x0a, - 0x0c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x20, 0x2e, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4d, 0x69, 0x67, 0x72, 0x61, + 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x92, 0x01, 0x0a, 0x10, 0x4d, + 0x73, 0x67, 0x41, 0x67, 0x72, 0x65, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x4f, 0x70, 0x65, 0x6e, 0x12, + 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x72, 0x6f, + 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, + 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x75, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x64, 0x75, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, + 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x63, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, + 0x79, 0x3a, 0x0c, 0x82, 0xe7, 0xb0, 0x2a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x22, + 0x5d, 0x0a, 0x11, 0x4d, 0x73, 0x67, 0x41, 0x67, 0x72, 0x65, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x43, + 0x6c, 0x6f, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x20, + 0x0a, 0x0b, 0x61, 0x67, 0x72, 0x65, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0b, 0x61, 0x67, 0x72, 0x65, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x64, + 0x3a, 0x0c, 0x82, 0xe7, 0xb0, 0x2a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x22, 0x94, + 0x01, 0x0a, 0x1c, 0x4d, 0x73, 0x67, 0x41, 0x67, 0x72, 0x65, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x43, + 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x63, 0x72, 0x65, 0x61, 0x73, 0x65, 0x12, + 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x20, 0x0a, 0x0b, 0x61, 0x67, 0x72, + 0x65, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, + 0x61, 0x67, 0x72, 0x65, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x2a, 0x0a, 0x10, 0x63, + 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x49, 0x6e, 0x63, 0x72, 0x65, 0x61, 0x73, 0x65, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x10, 0x63, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x49, + 0x6e, 0x63, 0x72, 0x65, 0x61, 0x73, 0x65, 0x3a, 0x0c, 0x82, 0xe7, 0xb0, 0x2a, 0x07, 0x63, 0x72, + 0x65, 0x61, 0x74, 0x6f, 0x72, 0x22, 0x94, 0x01, 0x0a, 0x1c, 0x4d, 0x73, 0x67, 0x41, 0x67, 0x72, + 0x65, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x44, 0x65, + 0x63, 0x72, 0x65, 0x61, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, + 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, + 0x12, 0x20, 0x0a, 0x0b, 0x61, 0x67, 0x72, 0x65, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x61, 0x67, 0x72, 0x65, 0x65, 0x6d, 0x65, 0x6e, 0x74, + 0x49, 0x64, 0x12, 0x2a, 0x0a, 0x10, 0x63, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x44, 0x65, + 0x63, 0x72, 0x65, 0x61, 0x73, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x10, 0x63, 0x61, + 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x44, 0x65, 0x63, 0x72, 0x65, 0x61, 0x73, 0x65, 0x3a, 0x0c, + 0x82, 0xe7, 0xb0, 0x2a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x22, 0x94, 0x01, 0x0a, + 0x1c, 0x4d, 0x73, 0x67, 0x41, 0x67, 0x72, 0x65, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x44, 0x75, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x63, 0x72, 0x65, 0x61, 0x73, 0x65, 0x12, 0x18, 0x0a, + 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, + 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x20, 0x0a, 0x0b, 0x61, 0x67, 0x72, 0x65, 0x65, + 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x61, 0x67, + 0x72, 0x65, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x2a, 0x0a, 0x10, 0x64, 0x75, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x63, 0x72, 0x65, 0x61, 0x73, 0x65, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x04, 0x52, 0x10, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x63, + 0x72, 0x65, 0x61, 0x73, 0x65, 0x3a, 0x0c, 0x82, 0xe7, 0xb0, 0x2a, 0x07, 0x63, 0x72, 0x65, 0x61, + 0x74, 0x6f, 0x72, 0x22, 0x16, 0x0a, 0x14, 0x4d, 0x73, 0x67, 0x41, 0x67, 0x72, 0x65, 0x65, 0x6d, + 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xa2, 0x05, 0x0a, 0x11, + 0x4d, 0x73, 0x67, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x43, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x22, 0x0a, 0x0c, 0x73, + 0x75, 0x62, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0c, 0x73, 0x75, 0x62, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, + 0x64, 0x0a, 0x04, 0x72, 0x61, 0x74, 0x65, 0x18, 0x03, 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, 0x35, 0xc8, 0xde, 0x1f, 0x00, 0xaa, 0xdf, + 0x1f, 0x28, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x73, + 0x6d, 0x6f, 0x73, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2d, 0x73, 0x64, 0x6b, 0x2f, 0x74, + 0x79, 0x70, 0x65, 0x73, 0x2e, 0x43, 0x6f, 0x69, 0x6e, 0x73, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, + 0x04, 0x72, 0x61, 0x74, 0x65, 0x12, 0x49, 0x0a, 0x0c, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x50, + 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x25, 0x2e, 0x73, 0x74, + 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x70, 0x72, + 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x50, 0x6f, 0x6c, 0x69, + 0x63, 0x79, 0x52, 0x0c, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, + 0x12, 0x73, 0x0a, 0x1b, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x43, 0x61, 0x6e, 0x63, + 0x65, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x65, 0x6e, 0x61, 0x6c, 0x74, 0x79, 0x18, + 0x05, 0x20, 0x01, 0x28, 0x09, 0x42, 0x31, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x1b, 0x63, + 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x6d, 0x61, 0x74, 0x68, + 0x2e, 0x4c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x44, 0x65, 0x63, 0xd2, 0xb4, 0x2d, 0x0a, 0x63, 0x6f, + 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x44, 0x65, 0x63, 0x52, 0x1b, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, + 0x65, 0x72, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x65, + 0x6e, 0x61, 0x6c, 0x74, 0x79, 0x12, 0x73, 0x0a, 0x1b, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, + 0x72, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x65, 0x6e, + 0x61, 0x6c, 0x74, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x42, 0x31, 0xc8, 0xde, 0x1f, 0x00, + 0xda, 0xde, 0x1f, 0x1b, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, + 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x4c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x44, 0x65, 0x63, 0xd2, + 0xb4, 0x2d, 0x0a, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x44, 0x65, 0x63, 0x52, 0x1b, 0x63, + 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x72, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x6c, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x50, 0x65, 0x6e, 0x61, 0x6c, 0x74, 0x79, 0x12, 0x28, 0x0a, 0x0f, 0x63, 0x61, + 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x4d, 0x69, 0x6e, 0x69, 0x6d, 0x75, 0x6d, 0x18, 0x07, 0x20, + 0x01, 0x28, 0x04, 0x52, 0x0f, 0x63, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x4d, 0x69, 0x6e, + 0x69, 0x6d, 0x75, 0x6d, 0x12, 0x28, 0x0a, 0x0f, 0x63, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, + 0x4d, 0x61, 0x78, 0x69, 0x6d, 0x75, 0x6d, 0x18, 0x08, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0f, 0x63, + 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x4d, 0x61, 0x78, 0x69, 0x6d, 0x75, 0x6d, 0x12, 0x28, + 0x0a, 0x0f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x69, 0x6e, 0x69, 0x6d, 0x75, + 0x6d, 0x18, 0x09, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x4d, 0x69, 0x6e, 0x69, 0x6d, 0x75, 0x6d, 0x12, 0x28, 0x0a, 0x0f, 0x64, 0x75, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x61, 0x78, 0x69, 0x6d, 0x75, 0x6d, 0x18, 0x0a, 0x20, 0x01, 0x28, + 0x04, 0x52, 0x0f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x61, 0x78, 0x69, 0x6d, + 0x75, 0x6d, 0x3a, 0x0c, 0x82, 0xe7, 0xb0, 0x2a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, + 0x22, 0x94, 0x01, 0x0a, 0x1a, 0x4d, 0x73, 0x67, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, + 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, + 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x72, 0x6f, + 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, + 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x64, 0x12, 0x2e, 0x0a, 0x12, 0x64, 0x65, 0x73, + 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x3a, 0x0c, 0x82, 0xe7, 0xb0, 0x2a, 0x07, + 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x22, 0x9a, 0x01, 0x0a, 0x20, 0x4d, 0x73, 0x67, 0x50, + 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x61, 0x70, + 0x61, 0x63, 0x69, 0x74, 0x79, 0x4d, 0x69, 0x6e, 0x69, 0x6d, 0x75, 0x6d, 0x12, 0x18, 0x0a, 0x07, + 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, + 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, + 0x65, 0x72, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x76, + 0x69, 0x64, 0x65, 0x72, 0x49, 0x64, 0x12, 0x2e, 0x0a, 0x12, 0x6e, 0x65, 0x77, 0x4d, 0x69, 0x6e, + 0x69, 0x6d, 0x75, 0x6d, 0x43, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x04, 0x52, 0x12, 0x6e, 0x65, 0x77, 0x4d, 0x69, 0x6e, 0x69, 0x6d, 0x75, 0x6d, 0x43, 0x61, + 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x3a, 0x0c, 0x82, 0xe7, 0xb0, 0x2a, 0x07, 0x63, 0x72, 0x65, + 0x61, 0x74, 0x6f, 0x72, 0x22, 0x9a, 0x01, 0x0a, 0x20, 0x4d, 0x73, 0x67, 0x50, 0x72, 0x6f, 0x76, + 0x69, 0x64, 0x65, 0x72, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x61, 0x70, 0x61, 0x63, 0x69, + 0x74, 0x79, 0x4d, 0x61, 0x78, 0x69, 0x6d, 0x75, 0x6d, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, + 0x61, 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, + 0x74, 0x6f, 0x72, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, + 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, + 0x72, 0x49, 0x64, 0x12, 0x2e, 0x0a, 0x12, 0x6e, 0x65, 0x77, 0x4d, 0x61, 0x78, 0x69, 0x6d, 0x75, + 0x6d, 0x43, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, + 0x12, 0x6e, 0x65, 0x77, 0x4d, 0x61, 0x78, 0x69, 0x6d, 0x75, 0x6d, 0x43, 0x61, 0x70, 0x61, 0x63, + 0x69, 0x74, 0x79, 0x3a, 0x0c, 0x82, 0xe7, 0xb0, 0x2a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, + 0x72, 0x22, 0x9a, 0x01, 0x0a, 0x20, 0x4d, 0x73, 0x67, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, + 0x72, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, + 0x69, 0x6e, 0x69, 0x6d, 0x75, 0x6d, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, + 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, + 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x64, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x64, + 0x12, 0x2e, 0x0a, 0x12, 0x6e, 0x65, 0x77, 0x4d, 0x69, 0x6e, 0x69, 0x6d, 0x75, 0x6d, 0x44, 0x75, + 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x12, 0x6e, 0x65, + 0x77, 0x4d, 0x69, 0x6e, 0x69, 0x6d, 0x75, 0x6d, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x3a, 0x0c, 0x82, 0xe7, 0xb0, 0x2a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x22, 0x9a, + 0x01, 0x0a, 0x20, 0x4d, 0x73, 0x67, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x55, 0x70, + 0x64, 0x61, 0x74, 0x65, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x61, 0x78, 0x69, + 0x6d, 0x75, 0x6d, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x1e, 0x0a, + 0x0a, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x64, 0x12, 0x2e, 0x0a, + 0x12, 0x6e, 0x65, 0x77, 0x4d, 0x61, 0x78, 0x69, 0x6d, 0x75, 0x6d, 0x44, 0x75, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x12, 0x6e, 0x65, 0x77, 0x4d, 0x61, + 0x78, 0x69, 0x6d, 0x75, 0x6d, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x0c, 0x82, + 0xe7, 0xb0, 0x2a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x22, 0xb2, 0x01, 0x0a, 0x1d, + 0x4d, 0x73, 0x67, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x55, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x18, 0x0a, + 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, + 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x76, 0x69, + 0x64, 0x65, 0x72, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x72, 0x6f, + 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x64, 0x12, 0x49, 0x0a, 0x0c, 0x61, 0x63, 0x63, 0x65, 0x73, + 0x73, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x25, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, - 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x1a, - 0x28, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, - 0x73, 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, 0x63, 0x0a, 0x0f, 0x41, 0x64, 0x64, - 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x12, 0x23, 0x2e, 0x73, - 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, - 0x73, 0x67, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, - 0x72, 0x1a, 0x2b, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, - 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, - 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5d, - 0x0a, 0x0d, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x12, - 0x21, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, - 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x76, 0x6f, - 0x6b, 0x65, 0x1a, 0x29, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, + 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x50, 0x6f, + 0x6c, 0x69, 0x63, 0x79, 0x52, 0x0c, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x50, 0x6f, 0x6c, 0x69, + 0x63, 0x79, 0x3a, 0x0c, 0x82, 0xe7, 0xb0, 0x2a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, + 0x22, 0x79, 0x0a, 0x15, 0x4d, 0x73, 0x67, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x47, + 0x75, 0x69, 0x6c, 0x64, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, + 0x61, 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, + 0x74, 0x6f, 0x72, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, + 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, + 0x72, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x18, 0x03, + 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x3a, 0x0c, 0x82, + 0xe7, 0xb0, 0x2a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x22, 0x7a, 0x0a, 0x16, 0x4d, + 0x73, 0x67, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x52, + 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, + 0x1e, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x64, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x64, 0x12, + 0x18, 0x0a, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, + 0x52, 0x07, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x3a, 0x0c, 0x82, 0xe7, 0xb0, 0x2a, 0x07, + 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x22, 0x5b, 0x0a, 0x11, 0x4d, 0x73, 0x67, 0x50, 0x72, + 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x12, 0x18, 0x0a, 0x07, + 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, + 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, + 0x65, 0x72, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x76, + 0x69, 0x64, 0x65, 0x72, 0x49, 0x64, 0x3a, 0x0c, 0x82, 0xe7, 0xb0, 0x2a, 0x07, 0x63, 0x72, 0x65, + 0x61, 0x74, 0x6f, 0x72, 0x22, 0x15, 0x0a, 0x13, 0x4d, 0x73, 0x67, 0x50, 0x72, 0x6f, 0x76, 0x69, + 0x64, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0xdd, 0x41, 0x0a, 0x03, + 0x4d, 0x73, 0x67, 0x12, 0x5a, 0x0a, 0x0c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, + 0x61, 0x6d, 0x73, 0x12, 0x20, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, + 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, + 0x61, 0x72, 0x61, 0x6d, 0x73, 0x1a, 0x28, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, + 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 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, + 0x63, 0x0a, 0x0f, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, + 0x65, 0x72, 0x12, 0x23, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, - 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x66, 0x0a, - 0x10, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x72, 0x65, 0x61, 0x74, - 0x65, 0x12, 0x24, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, - 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x1a, 0x2c, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, - 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x41, 0x6c, 0x6c, - 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x66, 0x0a, 0x10, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x12, 0x24, 0x2e, 0x73, 0x74, 0x72, 0x75, - 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x41, - 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x1a, - 0x2c, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, - 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, - 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x66, 0x0a, - 0x10, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x55, 0x70, 0x64, 0x61, 0x74, - 0x65, 0x12, 0x24, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, - 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x1a, 0x2c, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, - 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x41, 0x6c, 0x6c, - 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6c, 0x0a, 0x12, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x12, 0x26, 0x2e, 0x73, 0x74, + 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x1a, 0x2b, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, + 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x41, 0x64, 0x64, + 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5d, 0x0a, 0x0d, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, + 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x12, 0x21, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, + 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x41, 0x64, 0x64, 0x72, 0x65, + 0x73, 0x73, 0x52, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x1a, 0x29, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, + 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x41, 0x64, + 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x59, 0x0a, 0x0d, 0x41, 0x67, 0x72, 0x65, 0x65, 0x6d, 0x65, 0x6e, 0x74, + 0x4f, 0x70, 0x65, 0x6e, 0x12, 0x21, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, + 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x41, 0x67, 0x72, 0x65, 0x65, 0x6d, + 0x65, 0x6e, 0x74, 0x4f, 0x70, 0x65, 0x6e, 0x1a, 0x25, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, + 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x41, 0x67, 0x72, + 0x65, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5b, + 0x0a, 0x0e, 0x41, 0x67, 0x72, 0x65, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6c, 0x6f, 0x73, 0x65, + 0x12, 0x22, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, + 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x41, 0x67, 0x72, 0x65, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x43, + 0x6c, 0x6f, 0x73, 0x65, 0x1a, 0x25, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, + 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x41, 0x67, 0x72, 0x65, 0x65, 0x6d, + 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x71, 0x0a, 0x19, 0x41, + 0x67, 0x72, 0x65, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, + 0x49, 0x6e, 0x63, 0x72, 0x65, 0x61, 0x73, 0x65, 0x12, 0x2d, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, + 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x41, 0x67, + 0x72, 0x65, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x49, + 0x6e, 0x63, 0x72, 0x65, 0x61, 0x73, 0x65, 0x1a, 0x25, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, + 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x41, 0x67, 0x72, + 0x65, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x71, + 0x0a, 0x19, 0x41, 0x67, 0x72, 0x65, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x61, 0x70, 0x61, 0x63, + 0x69, 0x74, 0x79, 0x44, 0x65, 0x63, 0x72, 0x65, 0x61, 0x73, 0x65, 0x12, 0x2d, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, - 0x67, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x72, 0x61, 0x6e, 0x73, - 0x66, 0x65, 0x72, 0x1a, 0x2e, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, - 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x51, 0x0a, 0x09, 0x46, 0x6c, 0x65, 0x65, 0x74, 0x4d, 0x6f, 0x76, 0x65, - 0x12, 0x1d, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, - 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x46, 0x6c, 0x65, 0x65, 0x74, 0x4d, 0x6f, 0x76, 0x65, 0x1a, - 0x25, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, - 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x46, 0x6c, 0x65, 0x65, 0x74, 0x4d, 0x6f, 0x76, 0x65, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x57, 0x0a, 0x0b, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x43, - 0x72, 0x65, 0x61, 0x74, 0x65, 0x12, 0x1f, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, - 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x47, 0x75, 0x69, 0x6c, 0x64, - 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x1a, 0x27, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, - 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x47, 0x75, 0x69, 0x6c, - 0x64, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x65, 0x0a, 0x12, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4f, 0x77, - 0x6e, 0x65, 0x72, 0x49, 0x64, 0x12, 0x26, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, - 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x47, 0x75, 0x69, 0x6c, 0x64, - 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x49, 0x64, 0x1a, 0x27, 0x2e, + 0x67, 0x41, 0x67, 0x72, 0x65, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x61, 0x70, 0x61, 0x63, 0x69, + 0x74, 0x79, 0x44, 0x65, 0x63, 0x72, 0x65, 0x61, 0x73, 0x65, 0x1a, 0x25, 0x2e, 0x73, 0x74, 0x72, + 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, + 0x41, 0x67, 0x72, 0x65, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x71, 0x0a, 0x19, 0x41, 0x67, 0x72, 0x65, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x44, 0x75, + 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x63, 0x72, 0x65, 0x61, 0x73, 0x65, 0x12, 0x2d, + 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, + 0x2e, 0x4d, 0x73, 0x67, 0x41, 0x67, 0x72, 0x65, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x44, 0x75, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x63, 0x72, 0x65, 0x61, 0x73, 0x65, 0x1a, 0x25, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, - 0x4d, 0x73, 0x67, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x79, 0x0a, 0x1c, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x55, - 0x70, 0x64, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x53, 0x75, 0x62, 0x73, 0x74, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x30, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, - 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x47, 0x75, 0x69, 0x6c, - 0x64, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x53, 0x75, 0x62, 0x73, - 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x1a, 0x27, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, - 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x47, 0x75, - 0x69, 0x6c, 0x64, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x67, 0x0a, 0x13, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, - 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x27, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, - 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x47, 0x75, - 0x69, 0x6c, 0x64, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, - 0x74, 0x1a, 0x27, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, - 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x55, 0x70, 0x64, 0x61, - 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x7d, 0x0a, 0x1e, 0x47, 0x75, - 0x69, 0x6c, 0x64, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4a, 0x6f, 0x69, 0x6e, 0x49, 0x6e, 0x66, - 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x4d, 0x69, 0x6e, 0x69, 0x6d, 0x75, 0x6d, 0x12, 0x32, 0x2e, 0x73, - 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, - 0x73, 0x67, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4a, 0x6f, 0x69, - 0x6e, 0x49, 0x6e, 0x66, 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x4d, 0x69, 0x6e, 0x69, 0x6d, 0x75, 0x6d, - 0x1a, 0x27, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, - 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x55, 0x70, 0x64, 0x61, 0x74, - 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x99, 0x01, 0x0a, 0x2c, 0x47, 0x75, - 0x69, 0x6c, 0x64, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4a, 0x6f, 0x69, 0x6e, 0x49, 0x6e, 0x66, - 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x4d, 0x69, 0x6e, 0x69, 0x6d, 0x75, 0x6d, 0x42, 0x79, 0x70, 0x61, - 0x73, 0x73, 0x42, 0x79, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x12, 0x40, 0x2e, 0x73, 0x74, 0x72, + 0x4d, 0x73, 0x67, 0x41, 0x67, 0x72, 0x65, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x66, 0x0a, 0x10, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x12, 0x24, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, + 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x41, 0x6c, + 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x1a, 0x2c, + 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, + 0x2e, 0x4d, 0x73, 0x67, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x66, 0x0a, 0x10, + 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, + 0x12, 0x24, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, + 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x1a, 0x2c, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, + 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x41, 0x6c, 0x6c, 0x6f, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x66, 0x0a, 0x10, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x24, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, + 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x41, 0x6c, + 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x1a, 0x2c, + 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, + 0x2e, 0x4d, 0x73, 0x67, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x55, 0x70, + 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6c, 0x0a, 0x12, + 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, + 0x65, 0x72, 0x12, 0x26, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, + 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x1a, 0x2e, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, - 0x47, 0x75, 0x69, 0x6c, 0x64, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4a, 0x6f, 0x69, 0x6e, 0x49, - 0x6e, 0x66, 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x4d, 0x69, 0x6e, 0x69, 0x6d, 0x75, 0x6d, 0x42, 0x79, - 0x70, 0x61, 0x73, 0x73, 0x42, 0x79, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x1a, 0x27, 0x2e, 0x73, + 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, + 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x51, 0x0a, 0x09, 0x46, 0x6c, + 0x65, 0x65, 0x74, 0x4d, 0x6f, 0x76, 0x65, 0x12, 0x1d, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, + 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x46, 0x6c, 0x65, + 0x65, 0x74, 0x4d, 0x6f, 0x76, 0x65, 0x1a, 0x25, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, + 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x46, 0x6c, 0x65, 0x65, + 0x74, 0x4d, 0x6f, 0x76, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x57, 0x0a, + 0x0b, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x12, 0x1f, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, - 0x73, 0x67, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x9b, 0x01, 0x0a, 0x2d, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x55, - 0x70, 0x64, 0x61, 0x74, 0x65, 0x4a, 0x6f, 0x69, 0x6e, 0x49, 0x6e, 0x66, 0x75, 0x73, 0x69, 0x6f, - 0x6e, 0x4d, 0x69, 0x6e, 0x69, 0x6d, 0x75, 0x6d, 0x42, 0x79, 0x70, 0x61, 0x73, 0x73, 0x42, 0x79, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x41, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, + 0x73, 0x67, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x1a, 0x27, 0x2e, + 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, + 0x4d, 0x73, 0x67, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5d, 0x0a, 0x0d, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x42, + 0x61, 0x6e, 0x6b, 0x4d, 0x69, 0x6e, 0x74, 0x12, 0x21, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, + 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x47, 0x75, 0x69, + 0x6c, 0x64, 0x42, 0x61, 0x6e, 0x6b, 0x4d, 0x69, 0x6e, 0x74, 0x1a, 0x29, 0x2e, 0x73, 0x74, 0x72, + 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, + 0x47, 0x75, 0x69, 0x6c, 0x64, 0x42, 0x61, 0x6e, 0x6b, 0x4d, 0x69, 0x6e, 0x74, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x63, 0x0a, 0x0f, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x42, 0x61, + 0x6e, 0x6b, 0x52, 0x65, 0x64, 0x65, 0x65, 0x6d, 0x12, 0x23, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, + 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x47, 0x75, + 0x69, 0x6c, 0x64, 0x42, 0x61, 0x6e, 0x6b, 0x52, 0x65, 0x64, 0x65, 0x65, 0x6d, 0x1a, 0x2b, 0x2e, + 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, + 0x4d, 0x73, 0x67, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x42, 0x61, 0x6e, 0x6b, 0x52, 0x65, 0x64, 0x65, + 0x65, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x84, 0x01, 0x0a, 0x1a, 0x47, + 0x75, 0x69, 0x6c, 0x64, 0x42, 0x61, 0x6e, 0x6b, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x73, 0x63, 0x61, + 0x74, 0x65, 0x41, 0x6e, 0x64, 0x42, 0x75, 0x72, 0x6e, 0x12, 0x2e, 0x2e, 0x73, 0x74, 0x72, 0x75, + 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x47, + 0x75, 0x69, 0x6c, 0x64, 0x42, 0x61, 0x6e, 0x6b, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x73, 0x63, 0x61, + 0x74, 0x65, 0x41, 0x6e, 0x64, 0x42, 0x75, 0x72, 0x6e, 0x1a, 0x36, 0x2e, 0x73, 0x74, 0x72, 0x75, + 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x47, + 0x75, 0x69, 0x6c, 0x64, 0x42, 0x61, 0x6e, 0x6b, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x73, 0x63, 0x61, + 0x74, 0x65, 0x41, 0x6e, 0x64, 0x42, 0x75, 0x72, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x65, 0x0a, 0x12, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x49, 0x64, 0x12, 0x26, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x47, 0x75, 0x69, - 0x6c, 0x64, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4a, 0x6f, 0x69, 0x6e, 0x49, 0x6e, 0x66, 0x75, - 0x73, 0x69, 0x6f, 0x6e, 0x4d, 0x69, 0x6e, 0x69, 0x6d, 0x75, 0x6d, 0x42, 0x79, 0x70, 0x61, 0x73, - 0x73, 0x42, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x73, 0x74, 0x72, + 0x6c, 0x64, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x49, 0x64, 0x1a, + 0x27, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, + 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x79, 0x0a, 0x1c, 0x47, 0x75, 0x69, 0x6c, + 0x64, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x53, 0x75, 0x62, 0x73, + 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x30, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, + 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x47, 0x75, + 0x69, 0x6c, 0x64, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x53, 0x75, + 0x62, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x1a, 0x27, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x6f, 0x0a, 0x15, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x6d, 0x62, - 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x12, 0x29, 0x2e, 0x73, + 0x6e, 0x73, 0x65, 0x12, 0x67, 0x0a, 0x13, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x55, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x27, 0x2e, 0x73, 0x74, 0x72, + 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, + 0x47, 0x75, 0x69, 0x6c, 0x64, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x64, 0x70, 0x6f, + 0x69, 0x6e, 0x74, 0x1a, 0x27, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, + 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x55, 0x70, + 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x7d, 0x0a, 0x1e, + 0x47, 0x75, 0x69, 0x6c, 0x64, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4a, 0x6f, 0x69, 0x6e, 0x49, + 0x6e, 0x66, 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x4d, 0x69, 0x6e, 0x69, 0x6d, 0x75, 0x6d, 0x12, 0x32, + 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, + 0x2e, 0x4d, 0x73, 0x67, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4a, + 0x6f, 0x69, 0x6e, 0x49, 0x6e, 0x66, 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x4d, 0x69, 0x6e, 0x69, 0x6d, + 0x75, 0x6d, 0x1a, 0x27, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, + 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x55, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x99, 0x01, 0x0a, 0x2c, + 0x47, 0x75, 0x69, 0x6c, 0x64, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4a, 0x6f, 0x69, 0x6e, 0x49, + 0x6e, 0x66, 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x4d, 0x69, 0x6e, 0x69, 0x6d, 0x75, 0x6d, 0x42, 0x79, + 0x70, 0x61, 0x73, 0x73, 0x42, 0x79, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x12, 0x40, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, - 0x73, 0x67, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, - 0x70, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x1a, 0x2b, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, - 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x47, 0x75, 0x69, - 0x6c, 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x7d, 0x0a, 0x1c, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x6d, - 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x41, 0x70, 0x70, - 0x72, 0x6f, 0x76, 0x65, 0x12, 0x30, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, - 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x4d, - 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x41, - 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x1a, 0x2b, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, - 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x47, 0x75, 0x69, 0x6c, - 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x77, 0x0a, 0x19, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x6d, 0x62, - 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x44, 0x65, 0x6e, 0x79, - 0x12, 0x2d, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, - 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, - 0x72, 0x73, 0x68, 0x69, 0x70, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x44, 0x65, 0x6e, 0x79, 0x1a, - 0x2b, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, - 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, - 0x73, 0x68, 0x69, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x7b, 0x0a, 0x1b, - 0x47, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x49, - 0x6e, 0x76, 0x69, 0x74, 0x65, 0x52, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x12, 0x2f, 0x2e, 0x73, 0x74, - 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, - 0x67, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, - 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x52, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x1a, 0x2b, 0x2e, 0x73, + 0x73, 0x67, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4a, 0x6f, 0x69, + 0x6e, 0x49, 0x6e, 0x66, 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x4d, 0x69, 0x6e, 0x69, 0x6d, 0x75, 0x6d, + 0x42, 0x79, 0x70, 0x61, 0x73, 0x73, 0x42, 0x79, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x1a, 0x27, + 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, + 0x2e, 0x4d, 0x73, 0x67, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x9b, 0x01, 0x0a, 0x2d, 0x47, 0x75, 0x69, 0x6c, + 0x64, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4a, 0x6f, 0x69, 0x6e, 0x49, 0x6e, 0x66, 0x75, 0x73, + 0x69, 0x6f, 0x6e, 0x4d, 0x69, 0x6e, 0x69, 0x6d, 0x75, 0x6d, 0x42, 0x79, 0x70, 0x61, 0x73, 0x73, + 0x42, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x41, 0x2e, 0x73, 0x74, 0x72, 0x75, + 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x47, + 0x75, 0x69, 0x6c, 0x64, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4a, 0x6f, 0x69, 0x6e, 0x49, 0x6e, + 0x66, 0x75, 0x73, 0x69, 0x6f, 0x6e, 0x4d, 0x69, 0x6e, 0x69, 0x6d, 0x75, 0x6d, 0x42, 0x79, 0x70, + 0x61, 0x73, 0x73, 0x42, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, - 0x73, 0x67, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, - 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6b, 0x0a, 0x13, 0x47, 0x75, 0x69, - 0x6c, 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x4a, 0x6f, 0x69, 0x6e, - 0x12, 0x27, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, - 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, - 0x72, 0x73, 0x68, 0x69, 0x70, 0x4a, 0x6f, 0x69, 0x6e, 0x1a, 0x2b, 0x2e, 0x73, 0x74, 0x72, 0x75, + 0x73, 0x67, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6f, 0x0a, 0x15, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, + 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x12, 0x29, + 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, + 0x2e, 0x4d, 0x73, 0x67, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, + 0x68, 0x69, 0x70, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x1a, 0x2b, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x75, 0x0a, 0x18, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x4d, - 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x4a, 0x6f, 0x69, 0x6e, 0x50, 0x72, 0x6f, - 0x78, 0x79, 0x12, 0x2c, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x7d, 0x0a, 0x1c, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x4d, + 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x41, + 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x12, 0x30, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, + 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x47, 0x75, 0x69, 0x6c, + 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x49, 0x6e, 0x76, 0x69, 0x74, + 0x65, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x1a, 0x2b, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, + 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x47, 0x75, + 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x77, 0x0a, 0x19, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, + 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x44, 0x65, + 0x6e, 0x79, 0x12, 0x2d, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x6d, - 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x4a, 0x6f, 0x69, 0x6e, 0x50, 0x72, 0x6f, 0x78, 0x79, - 0x1a, 0x2b, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, - 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, - 0x72, 0x73, 0x68, 0x69, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6b, 0x0a, - 0x13, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, - 0x4b, 0x69, 0x63, 0x6b, 0x12, 0x27, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, - 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x4d, - 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x4b, 0x69, 0x63, 0x6b, 0x1a, 0x2b, 0x2e, + 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x44, 0x65, 0x6e, + 0x79, 0x1a, 0x2b, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, + 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x6d, 0x62, + 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x7b, + 0x0a, 0x1b, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, + 0x70, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x52, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x12, 0x2f, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, - 0x69, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x71, 0x0a, 0x16, 0x47, 0x75, - 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x12, 0x2a, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, + 0x69, 0x70, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x52, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x1a, 0x2b, + 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, + 0x2e, 0x4d, 0x73, 0x67, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, + 0x68, 0x69, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6b, 0x0a, 0x13, 0x47, + 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x4a, 0x6f, + 0x69, 0x6e, 0x12, 0x27, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, + 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x6d, + 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x4a, 0x6f, 0x69, 0x6e, 0x1a, 0x2b, 0x2e, 0x73, 0x74, + 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, + 0x67, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x75, 0x0a, 0x18, 0x47, 0x75, 0x69, 0x6c, + 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x4a, 0x6f, 0x69, 0x6e, 0x50, + 0x72, 0x6f, 0x78, 0x79, 0x12, 0x2c, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x4d, - 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x2b, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, + 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x4a, 0x6f, 0x69, 0x6e, 0x50, 0x72, 0x6f, + 0x78, 0x79, 0x1a, 0x2b, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, + 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x6d, + 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x6b, 0x0a, 0x13, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, + 0x69, 0x70, 0x4b, 0x69, 0x63, 0x6b, 0x12, 0x27, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, + 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x47, 0x75, 0x69, 0x6c, + 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x4b, 0x69, 0x63, 0x6b, 0x1a, + 0x2b, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, + 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, + 0x73, 0x68, 0x69, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x71, 0x0a, 0x16, + 0x47, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2a, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, + 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x47, 0x75, 0x69, 0x6c, + 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, + 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x6d, + 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x7f, 0x0a, 0x1d, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, + 0x69, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, + 0x12, 0x31, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, - 0x72, 0x73, 0x68, 0x69, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x7f, 0x0a, - 0x1d, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x12, 0x31, + 0x72, 0x73, 0x68, 0x69, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x41, 0x70, 0x70, 0x72, + 0x6f, 0x76, 0x65, 0x1a, 0x2b, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, + 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, + 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x79, 0x0a, 0x1a, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, + 0x68, 0x69, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x44, 0x65, 0x6e, 0x79, 0x12, 0x2e, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, - 0x68, 0x69, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, - 0x65, 0x1a, 0x2b, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, - 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x6d, 0x62, - 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x79, - 0x0a, 0x1a, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, - 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x44, 0x65, 0x6e, 0x79, 0x12, 0x2e, 0x2e, 0x73, - 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, - 0x73, 0x67, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, - 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x44, 0x65, 0x6e, 0x79, 0x1a, 0x2b, 0x2e, 0x73, - 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, - 0x73, 0x67, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, - 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x7d, 0x0a, 0x1c, 0x47, 0x75, 0x69, - 0x6c, 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x52, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x12, 0x30, 0x2e, 0x73, 0x74, 0x72, 0x75, - 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x47, + 0x68, 0x69, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x44, 0x65, 0x6e, 0x79, 0x1a, 0x2b, + 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, + 0x2e, 0x4d, 0x73, 0x67, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, + 0x68, 0x69, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x7d, 0x0a, 0x1c, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x1a, 0x2b, 0x2e, 0x73, 0x74, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x12, 0x30, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, 0x69, 0x70, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x70, 0x0a, 0x18, 0x50, 0x65, 0x72, 0x6d, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x1a, 0x2b, 0x2e, + 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, + 0x4d, 0x73, 0x67, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x68, + 0x69, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x70, 0x0a, 0x18, 0x50, 0x65, + 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x4f, 0x6e, 0x41, + 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x2c, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, + 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x4f, 0x6e, 0x41, 0x64, 0x64, - 0x72, 0x65, 0x73, 0x73, 0x12, 0x2c, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, + 0x72, 0x65, 0x73, 0x73, 0x1a, 0x26, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, - 0x73, 0x69, 0x6f, 0x6e, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x4f, 0x6e, 0x41, 0x64, 0x64, 0x72, 0x65, - 0x73, 0x73, 0x1a, 0x26, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, - 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, - 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6e, 0x0a, 0x17, 0x50, 0x65, - 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x4f, 0x6e, 0x4f, - 0x62, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x2b, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, - 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x50, 0x65, 0x72, 0x6d, 0x69, - 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x4f, 0x6e, 0x4f, 0x62, 0x6a, 0x65, - 0x63, 0x74, 0x1a, 0x26, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, - 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, - 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x72, 0x0a, 0x19, 0x50, 0x65, - 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x4f, 0x6e, - 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x2d, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, + 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6e, 0x0a, 0x17, + 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x4f, + 0x6e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x2b, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x50, 0x65, 0x72, - 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x4f, 0x6e, 0x41, - 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x1a, 0x26, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, - 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x50, 0x65, 0x72, 0x6d, - 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x70, - 0x0a, 0x18, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x76, 0x6f, - 0x6b, 0x65, 0x4f, 0x6e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x2c, 0x2e, 0x73, 0x74, 0x72, - 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, + 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x4f, 0x6e, 0x4f, 0x62, + 0x6a, 0x65, 0x63, 0x74, 0x1a, 0x26, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, + 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, + 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x72, 0x0a, 0x19, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x76, 0x6f, 0x6b, 0x65, - 0x4f, 0x6e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x1a, 0x26, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, + 0x4f, 0x6e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x2d, 0x2e, 0x73, 0x74, 0x72, 0x75, + 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x50, + 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x4f, + 0x6e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x1a, 0x26, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x6c, 0x0a, 0x16, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x53, 0x65, - 0x74, 0x4f, 0x6e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x2a, 0x2e, 0x73, 0x74, 0x72, + 0x12, 0x70, 0x0a, 0x18, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, + 0x76, 0x6f, 0x6b, 0x65, 0x4f, 0x6e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x2c, 0x2e, 0x73, + 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, + 0x73, 0x67, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x76, 0x6f, + 0x6b, 0x65, 0x4f, 0x6e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x1a, 0x26, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, - 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x74, 0x4f, 0x6e, 0x41, - 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x1a, 0x26, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, - 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x50, 0x65, 0x72, 0x6d, - 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6a, - 0x0a, 0x15, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x74, 0x4f, - 0x6e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x29, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, - 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x50, 0x65, 0x72, - 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x74, 0x4f, 0x6e, 0x4f, 0x62, 0x6a, 0x65, - 0x63, 0x74, 0x1a, 0x26, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, - 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, - 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5d, 0x0a, 0x0d, 0x50, 0x6c, - 0x61, 0x6e, 0x65, 0x74, 0x45, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x12, 0x21, 0x2e, 0x73, 0x74, + 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x6c, 0x0a, 0x16, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, + 0x53, 0x65, 0x74, 0x4f, 0x6e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x2a, 0x2e, 0x73, + 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, + 0x73, 0x67, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x74, 0x4f, + 0x6e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x1a, 0x26, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, + 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x50, 0x65, + 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x6a, 0x0a, 0x15, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x53, 0x65, + 0x74, 0x4f, 0x6e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x29, 0x2e, 0x73, 0x74, 0x72, 0x75, + 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x50, + 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x74, 0x4f, 0x6e, 0x4f, 0x62, + 0x6a, 0x65, 0x63, 0x74, 0x1a, 0x26, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, + 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, + 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5d, 0x0a, 0x0d, + 0x50, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x45, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x12, 0x21, 0x2e, + 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, + 0x4d, 0x73, 0x67, 0x50, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x45, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, + 0x1a, 0x29, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, + 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x50, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x45, 0x78, 0x70, 0x6c, + 0x6f, 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6c, 0x0a, 0x12, 0x50, + 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x52, 0x61, 0x69, 0x64, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, + 0x65, 0x12, 0x26, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, + 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x50, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x52, 0x61, 0x69, + 0x64, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x1a, 0x2e, 0x2e, 0x73, 0x74, 0x72, 0x75, + 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x50, + 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x52, 0x61, 0x69, 0x64, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, + 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x84, 0x01, 0x0a, 0x1a, 0x50, 0x6c, + 0x61, 0x79, 0x65, 0x72, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, + 0x79, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x2e, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, + 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x50, 0x6c, + 0x61, 0x79, 0x65, 0x72, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, + 0x79, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x1a, 0x36, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, + 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x50, 0x6c, + 0x61, 0x79, 0x65, 0x72, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, + 0x79, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x5a, 0x0a, 0x0c, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x52, 0x65, 0x73, 0x75, 0x6d, 0x65, + 0x12, 0x20, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, + 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x52, 0x65, 0x73, 0x75, + 0x6d, 0x65, 0x1a, 0x28, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, + 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x52, 0x65, + 0x73, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5a, 0x0a, 0x0e, + 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x12, 0x22, + 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, + 0x2e, 0x4d, 0x73, 0x67, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x43, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x1a, 0x24, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, + 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6c, 0x0a, 0x17, 0x50, 0x72, 0x6f, 0x76, + 0x69, 0x64, 0x65, 0x72, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x42, 0x61, 0x6c, 0x61, + 0x6e, 0x63, 0x65, 0x12, 0x2b, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, + 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, + 0x72, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, + 0x1a, 0x24, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, + 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x78, 0x0a, 0x1d, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, + 0x65, 0x72, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, + 0x4d, 0x69, 0x6e, 0x69, 0x6d, 0x75, 0x6d, 0x12, 0x31, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, + 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x50, 0x72, 0x6f, + 0x76, 0x69, 0x64, 0x65, 0x72, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x61, 0x70, 0x61, 0x63, + 0x69, 0x74, 0x79, 0x4d, 0x69, 0x6e, 0x69, 0x6d, 0x75, 0x6d, 0x1a, 0x24, 0x2e, 0x73, 0x74, 0x72, + 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, + 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x78, 0x0a, 0x1d, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x55, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x43, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x4d, 0x61, 0x78, 0x69, 0x6d, 0x75, + 0x6d, 0x12, 0x31, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, + 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x55, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x4d, 0x61, 0x78, + 0x69, 0x6d, 0x75, 0x6d, 0x1a, 0x24, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, + 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, + 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x78, 0x0a, 0x1d, 0x50, 0x72, + 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x75, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x69, 0x6e, 0x69, 0x6d, 0x75, 0x6d, 0x12, 0x31, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, - 0x67, 0x50, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x45, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x1a, 0x29, + 0x67, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, + 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x69, 0x6e, 0x69, 0x6d, 0x75, 0x6d, 0x1a, 0x24, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, - 0x2e, 0x4d, 0x73, 0x67, 0x50, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x45, 0x78, 0x70, 0x6c, 0x6f, 0x72, - 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6c, 0x0a, 0x12, 0x50, 0x6c, 0x61, - 0x6e, 0x65, 0x74, 0x52, 0x61, 0x69, 0x64, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x12, - 0x26, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, - 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x50, 0x6c, 0x61, 0x6e, 0x65, 0x74, 0x52, 0x61, 0x69, 0x64, 0x43, - 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x1a, 0x2e, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, - 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x50, 0x6c, 0x61, - 0x6e, 0x65, 0x74, 0x52, 0x61, 0x69, 0x64, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x84, 0x01, 0x0a, 0x1a, 0x50, 0x6c, 0x61, 0x79, - 0x65, 0x72, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x41, - 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x2e, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, - 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x50, 0x6c, 0x61, 0x79, - 0x65, 0x72, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x41, - 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x1a, 0x36, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, - 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x50, 0x6c, 0x61, 0x79, - 0x65, 0x72, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x41, - 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5e, - 0x0a, 0x0e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x41, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, - 0x12, 0x22, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, - 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x41, 0x63, 0x74, 0x69, - 0x76, 0x61, 0x74, 0x65, 0x1a, 0x28, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, - 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, - 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x62, - 0x0a, 0x10, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x44, 0x65, 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, - 0x74, 0x65, 0x12, 0x24, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, - 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x44, 0x65, - 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x1a, 0x28, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, - 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x53, 0x74, - 0x72, 0x75, 0x63, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x68, 0x0a, 0x13, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x42, 0x75, 0x69, 0x6c, - 0x64, 0x49, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x74, 0x65, 0x12, 0x27, 0x2e, 0x73, 0x74, 0x72, 0x75, - 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x53, - 0x74, 0x72, 0x75, 0x63, 0x74, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x6e, 0x69, 0x74, 0x69, 0x61, + 0x2e, 0x4d, 0x73, 0x67, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x78, 0x0a, 0x1d, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x61, + 0x78, 0x69, 0x6d, 0x75, 0x6d, 0x12, 0x31, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, + 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x50, 0x72, 0x6f, 0x76, 0x69, + 0x64, 0x65, 0x72, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x4d, 0x61, 0x78, 0x69, 0x6d, 0x75, 0x6d, 0x1a, 0x24, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, + 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x50, 0x72, + 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x72, + 0x0a, 0x1a, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x2e, 0x2e, 0x73, + 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, + 0x73, 0x67, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x1a, 0x24, 0x2e, 0x73, + 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, + 0x73, 0x67, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x62, 0x0a, 0x12, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x47, 0x75, + 0x69, 0x6c, 0x64, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x12, 0x26, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, + 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x50, 0x72, + 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x47, 0x72, 0x61, 0x6e, 0x74, + 0x1a, 0x24, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, + 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x64, 0x0a, 0x13, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, + 0x65, 0x72, 0x47, 0x75, 0x69, 0x6c, 0x64, 0x52, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x12, 0x27, 0x2e, + 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, + 0x4d, 0x73, 0x67, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x47, 0x75, 0x69, 0x6c, 0x64, + 0x52, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x1a, 0x24, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, + 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x50, 0x72, 0x6f, 0x76, + 0x69, 0x64, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5a, 0x0a, 0x0e, + 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x12, 0x22, + 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, + 0x2e, 0x4d, 0x73, 0x67, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x44, 0x65, 0x6c, 0x65, + 0x74, 0x65, 0x1a, 0x24, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, + 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5e, 0x0a, 0x0e, 0x53, 0x74, 0x72, 0x75, + 0x63, 0x74, 0x41, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x12, 0x22, 0x2e, 0x73, 0x74, 0x72, + 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, + 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x41, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x1a, 0x28, + 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, + 0x2e, 0x4d, 0x73, 0x67, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x62, 0x0a, 0x10, 0x53, 0x74, 0x72, 0x75, + 0x63, 0x74, 0x44, 0x65, 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x12, 0x24, 0x2e, 0x73, + 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, + 0x73, 0x67, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x44, 0x65, 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x1a, 0x28, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x68, 0x0a, 0x13, - 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x43, 0x6f, 0x6d, 0x70, 0x6c, - 0x65, 0x74, 0x65, 0x12, 0x27, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, + 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x6e, 0x69, 0x74, 0x69, + 0x61, 0x74, 0x65, 0x12, 0x27, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x42, - 0x75, 0x69, 0x6c, 0x64, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x1a, 0x28, 0x2e, 0x73, + 0x75, 0x69, 0x6c, 0x64, 0x49, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x74, 0x65, 0x1a, 0x28, 0x2e, 0x73, + 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, + 0x73, 0x67, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x68, 0x0a, 0x13, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, + 0x42, 0x75, 0x69, 0x6c, 0x64, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x12, 0x27, 0x2e, + 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, + 0x4d, 0x73, 0x67, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x43, 0x6f, + 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x1a, 0x28, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, + 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x53, 0x74, 0x72, 0x75, + 0x63, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x64, 0x0a, 0x11, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x43, + 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x12, 0x25, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, + 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x53, 0x74, 0x72, 0x75, 0x63, + 0x74, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x1a, 0x28, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x73, 0x2e, 0x4d, 0x73, 0x67, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x62, 0x0a, 0x10, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, @@ -48796,7 +63515,7 @@ func file_structs_structs_tx_proto_rawDescGZIP() []byte { return file_structs_structs_tx_proto_rawDescData } -var file_structs_structs_tx_proto_msgTypes = make([]protoimpl.MessageInfo, 85) +var file_structs_structs_tx_proto_msgTypes = make([]protoimpl.MessageInfo, 111) var file_structs_structs_tx_proto_goTypes = []interface{}{ (*MsgUpdateParams)(nil), // 0: structs.structs.MsgUpdateParams (*MsgUpdateParamsResponse)(nil), // 1: structs.structs.MsgUpdateParamsResponse @@ -48814,220 +63533,291 @@ var file_structs_structs_tx_proto_goTypes = []interface{}{ (*MsgAllocationTransferResponse)(nil), // 13: structs.structs.MsgAllocationTransferResponse (*MsgFleetMove)(nil), // 14: structs.structs.MsgFleetMove (*MsgFleetMoveResponse)(nil), // 15: structs.structs.MsgFleetMoveResponse - (*MsgGuildCreate)(nil), // 16: structs.structs.MsgGuildCreate - (*MsgGuildCreateResponse)(nil), // 17: structs.structs.MsgGuildCreateResponse - (*MsgGuildUpdateOwnerId)(nil), // 18: structs.structs.MsgGuildUpdateOwnerId - (*MsgGuildUpdateEntrySubstationId)(nil), // 19: structs.structs.MsgGuildUpdateEntrySubstationId - (*MsgGuildUpdateEndpoint)(nil), // 20: structs.structs.MsgGuildUpdateEndpoint - (*MsgGuildUpdateJoinInfusionMinimum)(nil), // 21: structs.structs.MsgGuildUpdateJoinInfusionMinimum - (*MsgGuildUpdateJoinInfusionMinimumBypassByRequest)(nil), // 22: structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByRequest - (*MsgGuildUpdateJoinInfusionMinimumBypassByInvite)(nil), // 23: structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByInvite - (*MsgGuildUpdateResponse)(nil), // 24: structs.structs.MsgGuildUpdateResponse - (*MsgGuildMembershipInvite)(nil), // 25: structs.structs.MsgGuildMembershipInvite - (*MsgGuildMembershipInviteApprove)(nil), // 26: structs.structs.MsgGuildMembershipInviteApprove - (*MsgGuildMembershipInviteDeny)(nil), // 27: structs.structs.MsgGuildMembershipInviteDeny - (*MsgGuildMembershipInviteRevoke)(nil), // 28: structs.structs.MsgGuildMembershipInviteRevoke - (*MsgGuildMembershipJoin)(nil), // 29: structs.structs.MsgGuildMembershipJoin - (*MsgGuildMembershipJoinProxy)(nil), // 30: structs.structs.MsgGuildMembershipJoinProxy - (*MsgGuildMembershipKick)(nil), // 31: structs.structs.MsgGuildMembershipKick - (*MsgGuildMembershipRequest)(nil), // 32: structs.structs.MsgGuildMembershipRequest - (*MsgGuildMembershipRequestApprove)(nil), // 33: structs.structs.MsgGuildMembershipRequestApprove - (*MsgGuildMembershipRequestDeny)(nil), // 34: structs.structs.MsgGuildMembershipRequestDeny - (*MsgGuildMembershipRequestRevoke)(nil), // 35: structs.structs.MsgGuildMembershipRequestRevoke - (*MsgGuildMembershipResponse)(nil), // 36: structs.structs.MsgGuildMembershipResponse - (*MsgPermissionGrantOnObject)(nil), // 37: structs.structs.MsgPermissionGrantOnObject - (*MsgPermissionGrantOnAddress)(nil), // 38: structs.structs.MsgPermissionGrantOnAddress - (*MsgPermissionRevokeOnObject)(nil), // 39: structs.structs.MsgPermissionRevokeOnObject - (*MsgPermissionRevokeOnAddress)(nil), // 40: structs.structs.MsgPermissionRevokeOnAddress - (*MsgPermissionSetOnObject)(nil), // 41: structs.structs.MsgPermissionSetOnObject - (*MsgPermissionSetOnAddress)(nil), // 42: structs.structs.MsgPermissionSetOnAddress - (*MsgPermissionResponse)(nil), // 43: structs.structs.MsgPermissionResponse - (*MsgPlanetExplore)(nil), // 44: structs.structs.MsgPlanetExplore - (*MsgPlanetExploreResponse)(nil), // 45: structs.structs.MsgPlanetExploreResponse - (*MsgPlanetRaidComplete)(nil), // 46: structs.structs.MsgPlanetRaidComplete - (*MsgPlanetRaidCompleteResponse)(nil), // 47: structs.structs.MsgPlanetRaidCompleteResponse - (*MsgPlayerUpdatePrimaryAddress)(nil), // 48: structs.structs.MsgPlayerUpdatePrimaryAddress - (*MsgPlayerUpdatePrimaryAddressResponse)(nil), // 49: structs.structs.MsgPlayerUpdatePrimaryAddressResponse - (*MsgStructStatusResponse)(nil), // 50: structs.structs.MsgStructStatusResponse - (*MsgStructActivate)(nil), // 51: structs.structs.MsgStructActivate - (*MsgStructDeactivate)(nil), // 52: structs.structs.MsgStructDeactivate - (*MsgStructBuildInitiate)(nil), // 53: structs.structs.MsgStructBuildInitiate - (*MsgStructBuildComplete)(nil), // 54: structs.structs.MsgStructBuildComplete - (*MsgStructBuildCompleteAndStash)(nil), // 55: structs.structs.MsgStructBuildCompleteAndStash - (*MsgStructDefenseSet)(nil), // 56: structs.structs.MsgStructDefenseSet - (*MsgStructDefenseClear)(nil), // 57: structs.structs.MsgStructDefenseClear - (*MsgStructMove)(nil), // 58: structs.structs.MsgStructMove - (*MsgStructAttack)(nil), // 59: structs.structs.MsgStructAttack - (*MsgStructAttackResponse)(nil), // 60: structs.structs.MsgStructAttackResponse - (*MsgStructStealthActivate)(nil), // 61: structs.structs.MsgStructStealthActivate - (*MsgStructStealthDeactivate)(nil), // 62: structs.structs.MsgStructStealthDeactivate - (*MsgStructGeneratorInfuse)(nil), // 63: structs.structs.MsgStructGeneratorInfuse - (*MsgStructGeneratorStatusResponse)(nil), // 64: structs.structs.MsgStructGeneratorStatusResponse - (*MsgStructOreMinerComplete)(nil), // 65: structs.structs.MsgStructOreMinerComplete - (*MsgStructOreMinerStatusResponse)(nil), // 66: structs.structs.MsgStructOreMinerStatusResponse - (*MsgStructOreRefineryComplete)(nil), // 67: structs.structs.MsgStructOreRefineryComplete - (*MsgStructOreRefineryStatusResponse)(nil), // 68: structs.structs.MsgStructOreRefineryStatusResponse - (*MsgStructStorageStash)(nil), // 69: structs.structs.MsgStructStorageStash - (*MsgStructStorageRecall)(nil), // 70: structs.structs.MsgStructStorageRecall - (*MsgSubstationCreate)(nil), // 71: structs.structs.MsgSubstationCreate - (*MsgSubstationCreateResponse)(nil), // 72: structs.structs.MsgSubstationCreateResponse - (*MsgSubstationDelete)(nil), // 73: structs.structs.MsgSubstationDelete - (*MsgSubstationDeleteResponse)(nil), // 74: structs.structs.MsgSubstationDeleteResponse - (*MsgSubstationAllocationConnect)(nil), // 75: structs.structs.MsgSubstationAllocationConnect - (*MsgSubstationAllocationConnectResponse)(nil), // 76: structs.structs.MsgSubstationAllocationConnectResponse - (*MsgSubstationAllocationDisconnect)(nil), // 77: structs.structs.MsgSubstationAllocationDisconnect - (*MsgSubstationAllocationDisconnectResponse)(nil), // 78: structs.structs.MsgSubstationAllocationDisconnectResponse - (*MsgSubstationPlayerConnect)(nil), // 79: structs.structs.MsgSubstationPlayerConnect - (*MsgSubstationPlayerConnectResponse)(nil), // 80: structs.structs.MsgSubstationPlayerConnectResponse - (*MsgSubstationPlayerDisconnect)(nil), // 81: structs.structs.MsgSubstationPlayerDisconnect - (*MsgSubstationPlayerDisconnectResponse)(nil), // 82: structs.structs.MsgSubstationPlayerDisconnectResponse - (*MsgSubstationPlayerMigrate)(nil), // 83: structs.structs.MsgSubstationPlayerMigrate - (*MsgSubstationPlayerMigrateResponse)(nil), // 84: structs.structs.MsgSubstationPlayerMigrateResponse - (*Params)(nil), // 85: structs.structs.Params - (AllocationType)(0), // 86: structs.structs.allocationType - (*Fleet)(nil), // 87: structs.structs.Fleet - (GuildJoinBypassLevel)(0), // 88: structs.structs.guildJoinBypassLevel - (*GuildMembershipApplication)(nil), // 89: structs.structs.GuildMembershipApplication - (*Planet)(nil), // 90: structs.structs.Planet - (*Struct)(nil), // 91: structs.structs.Struct - (ObjectType)(0), // 92: structs.structs.objectType - (Ambit)(0), // 93: structs.structs.ambit + (*MsgGuildBankMint)(nil), // 16: structs.structs.MsgGuildBankMint + (*MsgGuildBankMintResponse)(nil), // 17: structs.structs.MsgGuildBankMintResponse + (*MsgGuildBankRedeem)(nil), // 18: structs.structs.MsgGuildBankRedeem + (*MsgGuildBankRedeemResponse)(nil), // 19: structs.structs.MsgGuildBankRedeemResponse + (*MsgGuildBankConfiscateAndBurn)(nil), // 20: structs.structs.MsgGuildBankConfiscateAndBurn + (*MsgGuildBankConfiscateAndBurnResponse)(nil), // 21: structs.structs.MsgGuildBankConfiscateAndBurnResponse + (*MsgGuildCreate)(nil), // 22: structs.structs.MsgGuildCreate + (*MsgGuildCreateResponse)(nil), // 23: structs.structs.MsgGuildCreateResponse + (*MsgGuildUpdateOwnerId)(nil), // 24: structs.structs.MsgGuildUpdateOwnerId + (*MsgGuildUpdateEntrySubstationId)(nil), // 25: structs.structs.MsgGuildUpdateEntrySubstationId + (*MsgGuildUpdateEndpoint)(nil), // 26: structs.structs.MsgGuildUpdateEndpoint + (*MsgGuildUpdateJoinInfusionMinimum)(nil), // 27: structs.structs.MsgGuildUpdateJoinInfusionMinimum + (*MsgGuildUpdateJoinInfusionMinimumBypassByRequest)(nil), // 28: structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByRequest + (*MsgGuildUpdateJoinInfusionMinimumBypassByInvite)(nil), // 29: structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByInvite + (*MsgGuildUpdateResponse)(nil), // 30: structs.structs.MsgGuildUpdateResponse + (*MsgGuildMembershipInvite)(nil), // 31: structs.structs.MsgGuildMembershipInvite + (*MsgGuildMembershipInviteApprove)(nil), // 32: structs.structs.MsgGuildMembershipInviteApprove + (*MsgGuildMembershipInviteDeny)(nil), // 33: structs.structs.MsgGuildMembershipInviteDeny + (*MsgGuildMembershipInviteRevoke)(nil), // 34: structs.structs.MsgGuildMembershipInviteRevoke + (*MsgGuildMembershipJoin)(nil), // 35: structs.structs.MsgGuildMembershipJoin + (*MsgGuildMembershipJoinProxy)(nil), // 36: structs.structs.MsgGuildMembershipJoinProxy + (*MsgGuildMembershipKick)(nil), // 37: structs.structs.MsgGuildMembershipKick + (*MsgGuildMembershipRequest)(nil), // 38: structs.structs.MsgGuildMembershipRequest + (*MsgGuildMembershipRequestApprove)(nil), // 39: structs.structs.MsgGuildMembershipRequestApprove + (*MsgGuildMembershipRequestDeny)(nil), // 40: structs.structs.MsgGuildMembershipRequestDeny + (*MsgGuildMembershipRequestRevoke)(nil), // 41: structs.structs.MsgGuildMembershipRequestRevoke + (*MsgGuildMembershipResponse)(nil), // 42: structs.structs.MsgGuildMembershipResponse + (*MsgPermissionGrantOnObject)(nil), // 43: structs.structs.MsgPermissionGrantOnObject + (*MsgPermissionGrantOnAddress)(nil), // 44: structs.structs.MsgPermissionGrantOnAddress + (*MsgPermissionRevokeOnObject)(nil), // 45: structs.structs.MsgPermissionRevokeOnObject + (*MsgPermissionRevokeOnAddress)(nil), // 46: structs.structs.MsgPermissionRevokeOnAddress + (*MsgPermissionSetOnObject)(nil), // 47: structs.structs.MsgPermissionSetOnObject + (*MsgPermissionSetOnAddress)(nil), // 48: structs.structs.MsgPermissionSetOnAddress + (*MsgPermissionResponse)(nil), // 49: structs.structs.MsgPermissionResponse + (*MsgPlanetExplore)(nil), // 50: structs.structs.MsgPlanetExplore + (*MsgPlanetExploreResponse)(nil), // 51: structs.structs.MsgPlanetExploreResponse + (*MsgPlanetRaidComplete)(nil), // 52: structs.structs.MsgPlanetRaidComplete + (*MsgPlanetRaidCompleteResponse)(nil), // 53: structs.structs.MsgPlanetRaidCompleteResponse + (*MsgPlayerUpdatePrimaryAddress)(nil), // 54: structs.structs.MsgPlayerUpdatePrimaryAddress + (*MsgPlayerUpdatePrimaryAddressResponse)(nil), // 55: structs.structs.MsgPlayerUpdatePrimaryAddressResponse + (*MsgPlayerResume)(nil), // 56: structs.structs.MsgPlayerResume + (*MsgPlayerResumeResponse)(nil), // 57: structs.structs.MsgPlayerResumeResponse + (*MsgStructStatusResponse)(nil), // 58: structs.structs.MsgStructStatusResponse + (*MsgStructActivate)(nil), // 59: structs.structs.MsgStructActivate + (*MsgStructDeactivate)(nil), // 60: structs.structs.MsgStructDeactivate + (*MsgStructBuildInitiate)(nil), // 61: structs.structs.MsgStructBuildInitiate + (*MsgStructBuildComplete)(nil), // 62: structs.structs.MsgStructBuildComplete + (*MsgStructBuildCancel)(nil), // 63: structs.structs.MsgStructBuildCancel + (*MsgStructBuildCompleteAndStash)(nil), // 64: structs.structs.MsgStructBuildCompleteAndStash + (*MsgStructDefenseSet)(nil), // 65: structs.structs.MsgStructDefenseSet + (*MsgStructDefenseClear)(nil), // 66: structs.structs.MsgStructDefenseClear + (*MsgStructMove)(nil), // 67: structs.structs.MsgStructMove + (*MsgStructAttack)(nil), // 68: structs.structs.MsgStructAttack + (*MsgStructAttackResponse)(nil), // 69: structs.structs.MsgStructAttackResponse + (*MsgStructStealthActivate)(nil), // 70: structs.structs.MsgStructStealthActivate + (*MsgStructStealthDeactivate)(nil), // 71: structs.structs.MsgStructStealthDeactivate + (*MsgStructGeneratorInfuse)(nil), // 72: structs.structs.MsgStructGeneratorInfuse + (*MsgStructGeneratorStatusResponse)(nil), // 73: structs.structs.MsgStructGeneratorStatusResponse + (*MsgStructOreMinerComplete)(nil), // 74: structs.structs.MsgStructOreMinerComplete + (*MsgStructOreMinerStatusResponse)(nil), // 75: structs.structs.MsgStructOreMinerStatusResponse + (*MsgStructOreRefineryComplete)(nil), // 76: structs.structs.MsgStructOreRefineryComplete + (*MsgStructOreRefineryStatusResponse)(nil), // 77: structs.structs.MsgStructOreRefineryStatusResponse + (*MsgStructStorageStash)(nil), // 78: structs.structs.MsgStructStorageStash + (*MsgStructStorageRecall)(nil), // 79: structs.structs.MsgStructStorageRecall + (*MsgSubstationCreate)(nil), // 80: structs.structs.MsgSubstationCreate + (*MsgSubstationCreateResponse)(nil), // 81: structs.structs.MsgSubstationCreateResponse + (*MsgSubstationDelete)(nil), // 82: structs.structs.MsgSubstationDelete + (*MsgSubstationDeleteResponse)(nil), // 83: structs.structs.MsgSubstationDeleteResponse + (*MsgSubstationAllocationConnect)(nil), // 84: structs.structs.MsgSubstationAllocationConnect + (*MsgSubstationAllocationConnectResponse)(nil), // 85: structs.structs.MsgSubstationAllocationConnectResponse + (*MsgSubstationAllocationDisconnect)(nil), // 86: structs.structs.MsgSubstationAllocationDisconnect + (*MsgSubstationAllocationDisconnectResponse)(nil), // 87: structs.structs.MsgSubstationAllocationDisconnectResponse + (*MsgSubstationPlayerConnect)(nil), // 88: structs.structs.MsgSubstationPlayerConnect + (*MsgSubstationPlayerConnectResponse)(nil), // 89: structs.structs.MsgSubstationPlayerConnectResponse + (*MsgSubstationPlayerDisconnect)(nil), // 90: structs.structs.MsgSubstationPlayerDisconnect + (*MsgSubstationPlayerDisconnectResponse)(nil), // 91: structs.structs.MsgSubstationPlayerDisconnectResponse + (*MsgSubstationPlayerMigrate)(nil), // 92: structs.structs.MsgSubstationPlayerMigrate + (*MsgSubstationPlayerMigrateResponse)(nil), // 93: structs.structs.MsgSubstationPlayerMigrateResponse + (*MsgAgreementOpen)(nil), // 94: structs.structs.MsgAgreementOpen + (*MsgAgreementClose)(nil), // 95: structs.structs.MsgAgreementClose + (*MsgAgreementCapacityIncrease)(nil), // 96: structs.structs.MsgAgreementCapacityIncrease + (*MsgAgreementCapacityDecrease)(nil), // 97: structs.structs.MsgAgreementCapacityDecrease + (*MsgAgreementDurationIncrease)(nil), // 98: structs.structs.MsgAgreementDurationIncrease + (*MsgAgreementResponse)(nil), // 99: structs.structs.MsgAgreementResponse + (*MsgProviderCreate)(nil), // 100: structs.structs.MsgProviderCreate + (*MsgProviderWithdrawBalance)(nil), // 101: structs.structs.MsgProviderWithdrawBalance + (*MsgProviderUpdateCapacityMinimum)(nil), // 102: structs.structs.MsgProviderUpdateCapacityMinimum + (*MsgProviderUpdateCapacityMaximum)(nil), // 103: structs.structs.MsgProviderUpdateCapacityMaximum + (*MsgProviderUpdateDurationMinimum)(nil), // 104: structs.structs.MsgProviderUpdateDurationMinimum + (*MsgProviderUpdateDurationMaximum)(nil), // 105: structs.structs.MsgProviderUpdateDurationMaximum + (*MsgProviderUpdateAccessPolicy)(nil), // 106: structs.structs.MsgProviderUpdateAccessPolicy + (*MsgProviderGuildGrant)(nil), // 107: structs.structs.MsgProviderGuildGrant + (*MsgProviderGuildRevoke)(nil), // 108: structs.structs.MsgProviderGuildRevoke + (*MsgProviderDelete)(nil), // 109: structs.structs.MsgProviderDelete + (*MsgProviderResponse)(nil), // 110: structs.structs.MsgProviderResponse + (*Params)(nil), // 111: structs.structs.Params + (AllocationType)(0), // 112: structs.structs.allocationType + (*Fleet)(nil), // 113: structs.structs.Fleet + (*v1beta1.Coin)(nil), // 114: cosmos.base.v1beta1.Coin + (GuildJoinBypassLevel)(0), // 115: structs.structs.guildJoinBypassLevel + (*GuildMembershipApplication)(nil), // 116: structs.structs.GuildMembershipApplication + (*Planet)(nil), // 117: structs.structs.Planet + (*Struct)(nil), // 118: structs.structs.Struct + (Ambit)(0), // 119: structs.structs.ambit + (ObjectType)(0), // 120: structs.structs.objectType + (ProviderAccessPolicy)(0), // 121: structs.structs.providerAccessPolicy } var file_structs_structs_tx_proto_depIdxs = []int32{ - 85, // 0: structs.structs.MsgUpdateParams.params:type_name -> structs.structs.Params - 86, // 1: structs.structs.MsgAllocationCreate.allocationType:type_name -> structs.structs.allocationType - 87, // 2: structs.structs.MsgFleetMoveResponse.fleet:type_name -> structs.structs.Fleet - 88, // 3: structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByRequest.guildJoinBypassLevel:type_name -> structs.structs.guildJoinBypassLevel - 88, // 4: structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByInvite.guildJoinBypassLevel:type_name -> structs.structs.guildJoinBypassLevel - 89, // 5: structs.structs.MsgGuildMembershipResponse.guildMembershipApplication:type_name -> structs.structs.GuildMembershipApplication - 90, // 6: structs.structs.MsgPlanetExploreResponse.planet:type_name -> structs.structs.Planet - 87, // 7: structs.structs.MsgPlanetRaidCompleteResponse.fleet:type_name -> structs.structs.Fleet - 90, // 8: structs.structs.MsgPlanetRaidCompleteResponse.planet:type_name -> structs.structs.Planet - 91, // 9: structs.structs.MsgStructStatusResponse.struct:type_name -> structs.structs.Struct - 92, // 10: structs.structs.MsgStructBuildInitiate.locationType:type_name -> structs.structs.objectType - 93, // 11: structs.structs.MsgStructBuildInitiate.operatingAmbit:type_name -> structs.structs.ambit - 93, // 12: structs.structs.MsgStructBuildCompleteAndStash.storageAmbit:type_name -> structs.structs.ambit - 92, // 13: structs.structs.MsgStructMove.locationType:type_name -> structs.structs.objectType - 93, // 14: structs.structs.MsgStructMove.ambit:type_name -> structs.structs.ambit - 91, // 15: structs.structs.MsgStructOreMinerStatusResponse.struct:type_name -> structs.structs.Struct - 91, // 16: structs.structs.MsgStructOreRefineryStatusResponse.struct:type_name -> structs.structs.Struct - 93, // 17: structs.structs.MsgStructStorageStash.ambit:type_name -> structs.structs.ambit - 93, // 18: structs.structs.MsgStructStorageRecall.ambit:type_name -> structs.structs.ambit - 0, // 19: structs.structs.Msg.UpdateParams:input_type -> structs.structs.MsgUpdateParams - 2, // 20: structs.structs.Msg.AddressRegister:input_type -> structs.structs.MsgAddressRegister - 4, // 21: structs.structs.Msg.AddressRevoke:input_type -> structs.structs.MsgAddressRevoke - 6, // 22: structs.structs.Msg.AllocationCreate:input_type -> structs.structs.MsgAllocationCreate - 8, // 23: structs.structs.Msg.AllocationDelete:input_type -> structs.structs.MsgAllocationDelete - 10, // 24: structs.structs.Msg.AllocationUpdate:input_type -> structs.structs.MsgAllocationUpdate - 12, // 25: structs.structs.Msg.AllocationTransfer:input_type -> structs.structs.MsgAllocationTransfer - 14, // 26: structs.structs.Msg.FleetMove:input_type -> structs.structs.MsgFleetMove - 16, // 27: structs.structs.Msg.GuildCreate:input_type -> structs.structs.MsgGuildCreate - 18, // 28: structs.structs.Msg.GuildUpdateOwnerId:input_type -> structs.structs.MsgGuildUpdateOwnerId - 19, // 29: structs.structs.Msg.GuildUpdateEntrySubstationId:input_type -> structs.structs.MsgGuildUpdateEntrySubstationId - 20, // 30: structs.structs.Msg.GuildUpdateEndpoint:input_type -> structs.structs.MsgGuildUpdateEndpoint - 21, // 31: structs.structs.Msg.GuildUpdateJoinInfusionMinimum:input_type -> structs.structs.MsgGuildUpdateJoinInfusionMinimum - 23, // 32: structs.structs.Msg.GuildUpdateJoinInfusionMinimumBypassByInvite:input_type -> structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByInvite - 22, // 33: structs.structs.Msg.GuildUpdateJoinInfusionMinimumBypassByRequest:input_type -> structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByRequest - 25, // 34: structs.structs.Msg.GuildMembershipInvite:input_type -> structs.structs.MsgGuildMembershipInvite - 26, // 35: structs.structs.Msg.GuildMembershipInviteApprove:input_type -> structs.structs.MsgGuildMembershipInviteApprove - 27, // 36: structs.structs.Msg.GuildMembershipInviteDeny:input_type -> structs.structs.MsgGuildMembershipInviteDeny - 28, // 37: structs.structs.Msg.GuildMembershipInviteRevoke:input_type -> structs.structs.MsgGuildMembershipInviteRevoke - 29, // 38: structs.structs.Msg.GuildMembershipJoin:input_type -> structs.structs.MsgGuildMembershipJoin - 30, // 39: structs.structs.Msg.GuildMembershipJoinProxy:input_type -> structs.structs.MsgGuildMembershipJoinProxy - 31, // 40: structs.structs.Msg.GuildMembershipKick:input_type -> structs.structs.MsgGuildMembershipKick - 32, // 41: structs.structs.Msg.GuildMembershipRequest:input_type -> structs.structs.MsgGuildMembershipRequest - 33, // 42: structs.structs.Msg.GuildMembershipRequestApprove:input_type -> structs.structs.MsgGuildMembershipRequestApprove - 34, // 43: structs.structs.Msg.GuildMembershipRequestDeny:input_type -> structs.structs.MsgGuildMembershipRequestDeny - 35, // 44: structs.structs.Msg.GuildMembershipRequestRevoke:input_type -> structs.structs.MsgGuildMembershipRequestRevoke - 38, // 45: structs.structs.Msg.PermissionGrantOnAddress:input_type -> structs.structs.MsgPermissionGrantOnAddress - 37, // 46: structs.structs.Msg.PermissionGrantOnObject:input_type -> structs.structs.MsgPermissionGrantOnObject - 40, // 47: structs.structs.Msg.PermissionRevokeOnAddress:input_type -> structs.structs.MsgPermissionRevokeOnAddress - 39, // 48: structs.structs.Msg.PermissionRevokeOnObject:input_type -> structs.structs.MsgPermissionRevokeOnObject - 42, // 49: structs.structs.Msg.PermissionSetOnAddress:input_type -> structs.structs.MsgPermissionSetOnAddress - 41, // 50: structs.structs.Msg.PermissionSetOnObject:input_type -> structs.structs.MsgPermissionSetOnObject - 44, // 51: structs.structs.Msg.PlanetExplore:input_type -> structs.structs.MsgPlanetExplore - 46, // 52: structs.structs.Msg.PlanetRaidComplete:input_type -> structs.structs.MsgPlanetRaidComplete - 48, // 53: structs.structs.Msg.PlayerUpdatePrimaryAddress:input_type -> structs.structs.MsgPlayerUpdatePrimaryAddress - 51, // 54: structs.structs.Msg.StructActivate:input_type -> structs.structs.MsgStructActivate - 52, // 55: structs.structs.Msg.StructDeactivate:input_type -> structs.structs.MsgStructDeactivate - 53, // 56: structs.structs.Msg.StructBuildInitiate:input_type -> structs.structs.MsgStructBuildInitiate - 54, // 57: structs.structs.Msg.StructBuildComplete:input_type -> structs.structs.MsgStructBuildComplete - 56, // 58: structs.structs.Msg.StructDefenseSet:input_type -> structs.structs.MsgStructDefenseSet - 57, // 59: structs.structs.Msg.StructDefenseClear:input_type -> structs.structs.MsgStructDefenseClear - 58, // 60: structs.structs.Msg.StructMove:input_type -> structs.structs.MsgStructMove - 59, // 61: structs.structs.Msg.StructAttack:input_type -> structs.structs.MsgStructAttack - 61, // 62: structs.structs.Msg.StructStealthActivate:input_type -> structs.structs.MsgStructStealthActivate - 62, // 63: structs.structs.Msg.StructStealthDeactivate:input_type -> structs.structs.MsgStructStealthDeactivate - 63, // 64: structs.structs.Msg.StructGeneratorInfuse:input_type -> structs.structs.MsgStructGeneratorInfuse - 65, // 65: structs.structs.Msg.StructOreMinerComplete:input_type -> structs.structs.MsgStructOreMinerComplete - 67, // 66: structs.structs.Msg.StructOreRefineryComplete:input_type -> structs.structs.MsgStructOreRefineryComplete - 71, // 67: structs.structs.Msg.SubstationCreate:input_type -> structs.structs.MsgSubstationCreate - 73, // 68: structs.structs.Msg.SubstationDelete:input_type -> structs.structs.MsgSubstationDelete - 75, // 69: structs.structs.Msg.SubstationAllocationConnect:input_type -> structs.structs.MsgSubstationAllocationConnect - 77, // 70: structs.structs.Msg.SubstationAllocationDisconnect:input_type -> structs.structs.MsgSubstationAllocationDisconnect - 79, // 71: structs.structs.Msg.SubstationPlayerConnect:input_type -> structs.structs.MsgSubstationPlayerConnect - 81, // 72: structs.structs.Msg.SubstationPlayerDisconnect:input_type -> structs.structs.MsgSubstationPlayerDisconnect - 83, // 73: structs.structs.Msg.SubstationPlayerMigrate:input_type -> structs.structs.MsgSubstationPlayerMigrate - 1, // 74: structs.structs.Msg.UpdateParams:output_type -> structs.structs.MsgUpdateParamsResponse - 3, // 75: structs.structs.Msg.AddressRegister:output_type -> structs.structs.MsgAddressRegisterResponse - 5, // 76: structs.structs.Msg.AddressRevoke:output_type -> structs.structs.MsgAddressRevokeResponse - 7, // 77: structs.structs.Msg.AllocationCreate:output_type -> structs.structs.MsgAllocationCreateResponse - 9, // 78: structs.structs.Msg.AllocationDelete:output_type -> structs.structs.MsgAllocationDeleteResponse - 11, // 79: structs.structs.Msg.AllocationUpdate:output_type -> structs.structs.MsgAllocationUpdateResponse - 13, // 80: structs.structs.Msg.AllocationTransfer:output_type -> structs.structs.MsgAllocationTransferResponse - 15, // 81: structs.structs.Msg.FleetMove:output_type -> structs.structs.MsgFleetMoveResponse - 17, // 82: structs.structs.Msg.GuildCreate:output_type -> structs.structs.MsgGuildCreateResponse - 24, // 83: structs.structs.Msg.GuildUpdateOwnerId:output_type -> structs.structs.MsgGuildUpdateResponse - 24, // 84: structs.structs.Msg.GuildUpdateEntrySubstationId:output_type -> structs.structs.MsgGuildUpdateResponse - 24, // 85: structs.structs.Msg.GuildUpdateEndpoint:output_type -> structs.structs.MsgGuildUpdateResponse - 24, // 86: structs.structs.Msg.GuildUpdateJoinInfusionMinimum:output_type -> structs.structs.MsgGuildUpdateResponse - 24, // 87: structs.structs.Msg.GuildUpdateJoinInfusionMinimumBypassByInvite:output_type -> structs.structs.MsgGuildUpdateResponse - 24, // 88: structs.structs.Msg.GuildUpdateJoinInfusionMinimumBypassByRequest:output_type -> structs.structs.MsgGuildUpdateResponse - 36, // 89: structs.structs.Msg.GuildMembershipInvite:output_type -> structs.structs.MsgGuildMembershipResponse - 36, // 90: structs.structs.Msg.GuildMembershipInviteApprove:output_type -> structs.structs.MsgGuildMembershipResponse - 36, // 91: structs.structs.Msg.GuildMembershipInviteDeny:output_type -> structs.structs.MsgGuildMembershipResponse - 36, // 92: structs.structs.Msg.GuildMembershipInviteRevoke:output_type -> structs.structs.MsgGuildMembershipResponse - 36, // 93: structs.structs.Msg.GuildMembershipJoin:output_type -> structs.structs.MsgGuildMembershipResponse - 36, // 94: structs.structs.Msg.GuildMembershipJoinProxy:output_type -> structs.structs.MsgGuildMembershipResponse - 36, // 95: structs.structs.Msg.GuildMembershipKick:output_type -> structs.structs.MsgGuildMembershipResponse - 36, // 96: structs.structs.Msg.GuildMembershipRequest:output_type -> structs.structs.MsgGuildMembershipResponse - 36, // 97: structs.structs.Msg.GuildMembershipRequestApprove:output_type -> structs.structs.MsgGuildMembershipResponse - 36, // 98: structs.structs.Msg.GuildMembershipRequestDeny:output_type -> structs.structs.MsgGuildMembershipResponse - 36, // 99: structs.structs.Msg.GuildMembershipRequestRevoke:output_type -> structs.structs.MsgGuildMembershipResponse - 43, // 100: structs.structs.Msg.PermissionGrantOnAddress:output_type -> structs.structs.MsgPermissionResponse - 43, // 101: structs.structs.Msg.PermissionGrantOnObject:output_type -> structs.structs.MsgPermissionResponse - 43, // 102: structs.structs.Msg.PermissionRevokeOnAddress:output_type -> structs.structs.MsgPermissionResponse - 43, // 103: structs.structs.Msg.PermissionRevokeOnObject:output_type -> structs.structs.MsgPermissionResponse - 43, // 104: structs.structs.Msg.PermissionSetOnAddress:output_type -> structs.structs.MsgPermissionResponse - 43, // 105: structs.structs.Msg.PermissionSetOnObject:output_type -> structs.structs.MsgPermissionResponse - 45, // 106: structs.structs.Msg.PlanetExplore:output_type -> structs.structs.MsgPlanetExploreResponse - 47, // 107: structs.structs.Msg.PlanetRaidComplete:output_type -> structs.structs.MsgPlanetRaidCompleteResponse - 49, // 108: structs.structs.Msg.PlayerUpdatePrimaryAddress:output_type -> structs.structs.MsgPlayerUpdatePrimaryAddressResponse - 50, // 109: structs.structs.Msg.StructActivate:output_type -> structs.structs.MsgStructStatusResponse - 50, // 110: structs.structs.Msg.StructDeactivate:output_type -> structs.structs.MsgStructStatusResponse - 50, // 111: structs.structs.Msg.StructBuildInitiate:output_type -> structs.structs.MsgStructStatusResponse - 50, // 112: structs.structs.Msg.StructBuildComplete:output_type -> structs.structs.MsgStructStatusResponse - 50, // 113: structs.structs.Msg.StructDefenseSet:output_type -> structs.structs.MsgStructStatusResponse - 50, // 114: structs.structs.Msg.StructDefenseClear:output_type -> structs.structs.MsgStructStatusResponse - 50, // 115: structs.structs.Msg.StructMove:output_type -> structs.structs.MsgStructStatusResponse - 60, // 116: structs.structs.Msg.StructAttack:output_type -> structs.structs.MsgStructAttackResponse - 50, // 117: structs.structs.Msg.StructStealthActivate:output_type -> structs.structs.MsgStructStatusResponse - 50, // 118: structs.structs.Msg.StructStealthDeactivate:output_type -> structs.structs.MsgStructStatusResponse - 64, // 119: structs.structs.Msg.StructGeneratorInfuse:output_type -> structs.structs.MsgStructGeneratorStatusResponse - 66, // 120: structs.structs.Msg.StructOreMinerComplete:output_type -> structs.structs.MsgStructOreMinerStatusResponse - 68, // 121: structs.structs.Msg.StructOreRefineryComplete:output_type -> structs.structs.MsgStructOreRefineryStatusResponse - 72, // 122: structs.structs.Msg.SubstationCreate:output_type -> structs.structs.MsgSubstationCreateResponse - 74, // 123: structs.structs.Msg.SubstationDelete:output_type -> structs.structs.MsgSubstationDeleteResponse - 76, // 124: structs.structs.Msg.SubstationAllocationConnect:output_type -> structs.structs.MsgSubstationAllocationConnectResponse - 78, // 125: structs.structs.Msg.SubstationAllocationDisconnect:output_type -> structs.structs.MsgSubstationAllocationDisconnectResponse - 80, // 126: structs.structs.Msg.SubstationPlayerConnect:output_type -> structs.structs.MsgSubstationPlayerConnectResponse - 82, // 127: structs.structs.Msg.SubstationPlayerDisconnect:output_type -> structs.structs.MsgSubstationPlayerDisconnectResponse - 84, // 128: structs.structs.Msg.SubstationPlayerMigrate:output_type -> structs.structs.MsgSubstationPlayerMigrateResponse - 74, // [74:129] is the sub-list for method output_type - 19, // [19:74] is the sub-list for method input_type - 19, // [19:19] is the sub-list for extension type_name - 19, // [19:19] is the sub-list for extension extendee - 0, // [0:19] is the sub-list for field type_name + 111, // 0: structs.structs.MsgUpdateParams.params:type_name -> structs.structs.Params + 112, // 1: structs.structs.MsgAllocationCreate.allocationType:type_name -> structs.structs.allocationType + 113, // 2: structs.structs.MsgFleetMoveResponse.fleet:type_name -> structs.structs.Fleet + 114, // 3: structs.structs.MsgGuildBankRedeem.amountToken:type_name -> cosmos.base.v1beta1.Coin + 115, // 4: structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByRequest.guildJoinBypassLevel:type_name -> structs.structs.guildJoinBypassLevel + 115, // 5: structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByInvite.guildJoinBypassLevel:type_name -> structs.structs.guildJoinBypassLevel + 116, // 6: structs.structs.MsgGuildMembershipResponse.guildMembershipApplication:type_name -> structs.structs.GuildMembershipApplication + 117, // 7: structs.structs.MsgPlanetExploreResponse.planet:type_name -> structs.structs.Planet + 113, // 8: structs.structs.MsgPlanetRaidCompleteResponse.fleet:type_name -> structs.structs.Fleet + 117, // 9: structs.structs.MsgPlanetRaidCompleteResponse.planet:type_name -> structs.structs.Planet + 118, // 10: structs.structs.MsgStructStatusResponse.struct:type_name -> structs.structs.Struct + 119, // 11: structs.structs.MsgStructBuildInitiate.operatingAmbit:type_name -> structs.structs.ambit + 119, // 12: structs.structs.MsgStructBuildCompleteAndStash.storageAmbit:type_name -> structs.structs.ambit + 120, // 13: structs.structs.MsgStructMove.locationType:type_name -> structs.structs.objectType + 119, // 14: structs.structs.MsgStructMove.ambit:type_name -> structs.structs.ambit + 118, // 15: structs.structs.MsgStructOreMinerStatusResponse.struct:type_name -> structs.structs.Struct + 118, // 16: structs.structs.MsgStructOreRefineryStatusResponse.struct:type_name -> structs.structs.Struct + 119, // 17: structs.structs.MsgStructStorageStash.ambit:type_name -> structs.structs.ambit + 119, // 18: structs.structs.MsgStructStorageRecall.ambit:type_name -> structs.structs.ambit + 114, // 19: structs.structs.MsgProviderCreate.rate:type_name -> cosmos.base.v1beta1.Coin + 121, // 20: structs.structs.MsgProviderCreate.accessPolicy:type_name -> structs.structs.providerAccessPolicy + 121, // 21: structs.structs.MsgProviderUpdateAccessPolicy.accessPolicy:type_name -> structs.structs.providerAccessPolicy + 0, // 22: structs.structs.Msg.UpdateParams:input_type -> structs.structs.MsgUpdateParams + 2, // 23: structs.structs.Msg.AddressRegister:input_type -> structs.structs.MsgAddressRegister + 4, // 24: structs.structs.Msg.AddressRevoke:input_type -> structs.structs.MsgAddressRevoke + 94, // 25: structs.structs.Msg.AgreementOpen:input_type -> structs.structs.MsgAgreementOpen + 95, // 26: structs.structs.Msg.AgreementClose:input_type -> structs.structs.MsgAgreementClose + 96, // 27: structs.structs.Msg.AgreementCapacityIncrease:input_type -> structs.structs.MsgAgreementCapacityIncrease + 97, // 28: structs.structs.Msg.AgreementCapacityDecrease:input_type -> structs.structs.MsgAgreementCapacityDecrease + 98, // 29: structs.structs.Msg.AgreementDurationIncrease:input_type -> structs.structs.MsgAgreementDurationIncrease + 6, // 30: structs.structs.Msg.AllocationCreate:input_type -> structs.structs.MsgAllocationCreate + 8, // 31: structs.structs.Msg.AllocationDelete:input_type -> structs.structs.MsgAllocationDelete + 10, // 32: structs.structs.Msg.AllocationUpdate:input_type -> structs.structs.MsgAllocationUpdate + 12, // 33: structs.structs.Msg.AllocationTransfer:input_type -> structs.structs.MsgAllocationTransfer + 14, // 34: structs.structs.Msg.FleetMove:input_type -> structs.structs.MsgFleetMove + 22, // 35: structs.structs.Msg.GuildCreate:input_type -> structs.structs.MsgGuildCreate + 16, // 36: structs.structs.Msg.GuildBankMint:input_type -> structs.structs.MsgGuildBankMint + 18, // 37: structs.structs.Msg.GuildBankRedeem:input_type -> structs.structs.MsgGuildBankRedeem + 20, // 38: structs.structs.Msg.GuildBankConfiscateAndBurn:input_type -> structs.structs.MsgGuildBankConfiscateAndBurn + 24, // 39: structs.structs.Msg.GuildUpdateOwnerId:input_type -> structs.structs.MsgGuildUpdateOwnerId + 25, // 40: structs.structs.Msg.GuildUpdateEntrySubstationId:input_type -> structs.structs.MsgGuildUpdateEntrySubstationId + 26, // 41: structs.structs.Msg.GuildUpdateEndpoint:input_type -> structs.structs.MsgGuildUpdateEndpoint + 27, // 42: structs.structs.Msg.GuildUpdateJoinInfusionMinimum:input_type -> structs.structs.MsgGuildUpdateJoinInfusionMinimum + 29, // 43: structs.structs.Msg.GuildUpdateJoinInfusionMinimumBypassByInvite:input_type -> structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByInvite + 28, // 44: structs.structs.Msg.GuildUpdateJoinInfusionMinimumBypassByRequest:input_type -> structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByRequest + 31, // 45: structs.structs.Msg.GuildMembershipInvite:input_type -> structs.structs.MsgGuildMembershipInvite + 32, // 46: structs.structs.Msg.GuildMembershipInviteApprove:input_type -> structs.structs.MsgGuildMembershipInviteApprove + 33, // 47: structs.structs.Msg.GuildMembershipInviteDeny:input_type -> structs.structs.MsgGuildMembershipInviteDeny + 34, // 48: structs.structs.Msg.GuildMembershipInviteRevoke:input_type -> structs.structs.MsgGuildMembershipInviteRevoke + 35, // 49: structs.structs.Msg.GuildMembershipJoin:input_type -> structs.structs.MsgGuildMembershipJoin + 36, // 50: structs.structs.Msg.GuildMembershipJoinProxy:input_type -> structs.structs.MsgGuildMembershipJoinProxy + 37, // 51: structs.structs.Msg.GuildMembershipKick:input_type -> structs.structs.MsgGuildMembershipKick + 38, // 52: structs.structs.Msg.GuildMembershipRequest:input_type -> structs.structs.MsgGuildMembershipRequest + 39, // 53: structs.structs.Msg.GuildMembershipRequestApprove:input_type -> structs.structs.MsgGuildMembershipRequestApprove + 40, // 54: structs.structs.Msg.GuildMembershipRequestDeny:input_type -> structs.structs.MsgGuildMembershipRequestDeny + 41, // 55: structs.structs.Msg.GuildMembershipRequestRevoke:input_type -> structs.structs.MsgGuildMembershipRequestRevoke + 44, // 56: structs.structs.Msg.PermissionGrantOnAddress:input_type -> structs.structs.MsgPermissionGrantOnAddress + 43, // 57: structs.structs.Msg.PermissionGrantOnObject:input_type -> structs.structs.MsgPermissionGrantOnObject + 46, // 58: structs.structs.Msg.PermissionRevokeOnAddress:input_type -> structs.structs.MsgPermissionRevokeOnAddress + 45, // 59: structs.structs.Msg.PermissionRevokeOnObject:input_type -> structs.structs.MsgPermissionRevokeOnObject + 48, // 60: structs.structs.Msg.PermissionSetOnAddress:input_type -> structs.structs.MsgPermissionSetOnAddress + 47, // 61: structs.structs.Msg.PermissionSetOnObject:input_type -> structs.structs.MsgPermissionSetOnObject + 50, // 62: structs.structs.Msg.PlanetExplore:input_type -> structs.structs.MsgPlanetExplore + 52, // 63: structs.structs.Msg.PlanetRaidComplete:input_type -> structs.structs.MsgPlanetRaidComplete + 54, // 64: structs.structs.Msg.PlayerUpdatePrimaryAddress:input_type -> structs.structs.MsgPlayerUpdatePrimaryAddress + 56, // 65: structs.structs.Msg.PlayerResume:input_type -> structs.structs.MsgPlayerResume + 100, // 66: structs.structs.Msg.ProviderCreate:input_type -> structs.structs.MsgProviderCreate + 101, // 67: structs.structs.Msg.ProviderWithdrawBalance:input_type -> structs.structs.MsgProviderWithdrawBalance + 102, // 68: structs.structs.Msg.ProviderUpdateCapacityMinimum:input_type -> structs.structs.MsgProviderUpdateCapacityMinimum + 103, // 69: structs.structs.Msg.ProviderUpdateCapacityMaximum:input_type -> structs.structs.MsgProviderUpdateCapacityMaximum + 104, // 70: structs.structs.Msg.ProviderUpdateDurationMinimum:input_type -> structs.structs.MsgProviderUpdateDurationMinimum + 105, // 71: structs.structs.Msg.ProviderUpdateDurationMaximum:input_type -> structs.structs.MsgProviderUpdateDurationMaximum + 106, // 72: structs.structs.Msg.ProviderUpdateAccessPolicy:input_type -> structs.structs.MsgProviderUpdateAccessPolicy + 107, // 73: structs.structs.Msg.ProviderGuildGrant:input_type -> structs.structs.MsgProviderGuildGrant + 108, // 74: structs.structs.Msg.ProviderGuildRevoke:input_type -> structs.structs.MsgProviderGuildRevoke + 109, // 75: structs.structs.Msg.ProviderDelete:input_type -> structs.structs.MsgProviderDelete + 59, // 76: structs.structs.Msg.StructActivate:input_type -> structs.structs.MsgStructActivate + 60, // 77: structs.structs.Msg.StructDeactivate:input_type -> structs.structs.MsgStructDeactivate + 61, // 78: structs.structs.Msg.StructBuildInitiate:input_type -> structs.structs.MsgStructBuildInitiate + 62, // 79: structs.structs.Msg.StructBuildComplete:input_type -> structs.structs.MsgStructBuildComplete + 63, // 80: structs.structs.Msg.StructBuildCancel:input_type -> structs.structs.MsgStructBuildCancel + 65, // 81: structs.structs.Msg.StructDefenseSet:input_type -> structs.structs.MsgStructDefenseSet + 66, // 82: structs.structs.Msg.StructDefenseClear:input_type -> structs.structs.MsgStructDefenseClear + 67, // 83: structs.structs.Msg.StructMove:input_type -> structs.structs.MsgStructMove + 68, // 84: structs.structs.Msg.StructAttack:input_type -> structs.structs.MsgStructAttack + 70, // 85: structs.structs.Msg.StructStealthActivate:input_type -> structs.structs.MsgStructStealthActivate + 71, // 86: structs.structs.Msg.StructStealthDeactivate:input_type -> structs.structs.MsgStructStealthDeactivate + 72, // 87: structs.structs.Msg.StructGeneratorInfuse:input_type -> structs.structs.MsgStructGeneratorInfuse + 74, // 88: structs.structs.Msg.StructOreMinerComplete:input_type -> structs.structs.MsgStructOreMinerComplete + 76, // 89: structs.structs.Msg.StructOreRefineryComplete:input_type -> structs.structs.MsgStructOreRefineryComplete + 80, // 90: structs.structs.Msg.SubstationCreate:input_type -> structs.structs.MsgSubstationCreate + 82, // 91: structs.structs.Msg.SubstationDelete:input_type -> structs.structs.MsgSubstationDelete + 84, // 92: structs.structs.Msg.SubstationAllocationConnect:input_type -> structs.structs.MsgSubstationAllocationConnect + 86, // 93: structs.structs.Msg.SubstationAllocationDisconnect:input_type -> structs.structs.MsgSubstationAllocationDisconnect + 88, // 94: structs.structs.Msg.SubstationPlayerConnect:input_type -> structs.structs.MsgSubstationPlayerConnect + 90, // 95: structs.structs.Msg.SubstationPlayerDisconnect:input_type -> structs.structs.MsgSubstationPlayerDisconnect + 92, // 96: structs.structs.Msg.SubstationPlayerMigrate:input_type -> structs.structs.MsgSubstationPlayerMigrate + 1, // 97: structs.structs.Msg.UpdateParams:output_type -> structs.structs.MsgUpdateParamsResponse + 3, // 98: structs.structs.Msg.AddressRegister:output_type -> structs.structs.MsgAddressRegisterResponse + 5, // 99: structs.structs.Msg.AddressRevoke:output_type -> structs.structs.MsgAddressRevokeResponse + 99, // 100: structs.structs.Msg.AgreementOpen:output_type -> structs.structs.MsgAgreementResponse + 99, // 101: structs.structs.Msg.AgreementClose:output_type -> structs.structs.MsgAgreementResponse + 99, // 102: structs.structs.Msg.AgreementCapacityIncrease:output_type -> structs.structs.MsgAgreementResponse + 99, // 103: structs.structs.Msg.AgreementCapacityDecrease:output_type -> structs.structs.MsgAgreementResponse + 99, // 104: structs.structs.Msg.AgreementDurationIncrease:output_type -> structs.structs.MsgAgreementResponse + 7, // 105: structs.structs.Msg.AllocationCreate:output_type -> structs.structs.MsgAllocationCreateResponse + 9, // 106: structs.structs.Msg.AllocationDelete:output_type -> structs.structs.MsgAllocationDeleteResponse + 11, // 107: structs.structs.Msg.AllocationUpdate:output_type -> structs.structs.MsgAllocationUpdateResponse + 13, // 108: structs.structs.Msg.AllocationTransfer:output_type -> structs.structs.MsgAllocationTransferResponse + 15, // 109: structs.structs.Msg.FleetMove:output_type -> structs.structs.MsgFleetMoveResponse + 23, // 110: structs.structs.Msg.GuildCreate:output_type -> structs.structs.MsgGuildCreateResponse + 17, // 111: structs.structs.Msg.GuildBankMint:output_type -> structs.structs.MsgGuildBankMintResponse + 19, // 112: structs.structs.Msg.GuildBankRedeem:output_type -> structs.structs.MsgGuildBankRedeemResponse + 21, // 113: structs.structs.Msg.GuildBankConfiscateAndBurn:output_type -> structs.structs.MsgGuildBankConfiscateAndBurnResponse + 30, // 114: structs.structs.Msg.GuildUpdateOwnerId:output_type -> structs.structs.MsgGuildUpdateResponse + 30, // 115: structs.structs.Msg.GuildUpdateEntrySubstationId:output_type -> structs.structs.MsgGuildUpdateResponse + 30, // 116: structs.structs.Msg.GuildUpdateEndpoint:output_type -> structs.structs.MsgGuildUpdateResponse + 30, // 117: structs.structs.Msg.GuildUpdateJoinInfusionMinimum:output_type -> structs.structs.MsgGuildUpdateResponse + 30, // 118: structs.structs.Msg.GuildUpdateJoinInfusionMinimumBypassByInvite:output_type -> structs.structs.MsgGuildUpdateResponse + 30, // 119: structs.structs.Msg.GuildUpdateJoinInfusionMinimumBypassByRequest:output_type -> structs.structs.MsgGuildUpdateResponse + 42, // 120: structs.structs.Msg.GuildMembershipInvite:output_type -> structs.structs.MsgGuildMembershipResponse + 42, // 121: structs.structs.Msg.GuildMembershipInviteApprove:output_type -> structs.structs.MsgGuildMembershipResponse + 42, // 122: structs.structs.Msg.GuildMembershipInviteDeny:output_type -> structs.structs.MsgGuildMembershipResponse + 42, // 123: structs.structs.Msg.GuildMembershipInviteRevoke:output_type -> structs.structs.MsgGuildMembershipResponse + 42, // 124: structs.structs.Msg.GuildMembershipJoin:output_type -> structs.structs.MsgGuildMembershipResponse + 42, // 125: structs.structs.Msg.GuildMembershipJoinProxy:output_type -> structs.structs.MsgGuildMembershipResponse + 42, // 126: structs.structs.Msg.GuildMembershipKick:output_type -> structs.structs.MsgGuildMembershipResponse + 42, // 127: structs.structs.Msg.GuildMembershipRequest:output_type -> structs.structs.MsgGuildMembershipResponse + 42, // 128: structs.structs.Msg.GuildMembershipRequestApprove:output_type -> structs.structs.MsgGuildMembershipResponse + 42, // 129: structs.structs.Msg.GuildMembershipRequestDeny:output_type -> structs.structs.MsgGuildMembershipResponse + 42, // 130: structs.structs.Msg.GuildMembershipRequestRevoke:output_type -> structs.structs.MsgGuildMembershipResponse + 49, // 131: structs.structs.Msg.PermissionGrantOnAddress:output_type -> structs.structs.MsgPermissionResponse + 49, // 132: structs.structs.Msg.PermissionGrantOnObject:output_type -> structs.structs.MsgPermissionResponse + 49, // 133: structs.structs.Msg.PermissionRevokeOnAddress:output_type -> structs.structs.MsgPermissionResponse + 49, // 134: structs.structs.Msg.PermissionRevokeOnObject:output_type -> structs.structs.MsgPermissionResponse + 49, // 135: structs.structs.Msg.PermissionSetOnAddress:output_type -> structs.structs.MsgPermissionResponse + 49, // 136: structs.structs.Msg.PermissionSetOnObject:output_type -> structs.structs.MsgPermissionResponse + 51, // 137: structs.structs.Msg.PlanetExplore:output_type -> structs.structs.MsgPlanetExploreResponse + 53, // 138: structs.structs.Msg.PlanetRaidComplete:output_type -> structs.structs.MsgPlanetRaidCompleteResponse + 55, // 139: structs.structs.Msg.PlayerUpdatePrimaryAddress:output_type -> structs.structs.MsgPlayerUpdatePrimaryAddressResponse + 57, // 140: structs.structs.Msg.PlayerResume:output_type -> structs.structs.MsgPlayerResumeResponse + 110, // 141: structs.structs.Msg.ProviderCreate:output_type -> structs.structs.MsgProviderResponse + 110, // 142: structs.structs.Msg.ProviderWithdrawBalance:output_type -> structs.structs.MsgProviderResponse + 110, // 143: structs.structs.Msg.ProviderUpdateCapacityMinimum:output_type -> structs.structs.MsgProviderResponse + 110, // 144: structs.structs.Msg.ProviderUpdateCapacityMaximum:output_type -> structs.structs.MsgProviderResponse + 110, // 145: structs.structs.Msg.ProviderUpdateDurationMinimum:output_type -> structs.structs.MsgProviderResponse + 110, // 146: structs.structs.Msg.ProviderUpdateDurationMaximum:output_type -> structs.structs.MsgProviderResponse + 110, // 147: structs.structs.Msg.ProviderUpdateAccessPolicy:output_type -> structs.structs.MsgProviderResponse + 110, // 148: structs.structs.Msg.ProviderGuildGrant:output_type -> structs.structs.MsgProviderResponse + 110, // 149: structs.structs.Msg.ProviderGuildRevoke:output_type -> structs.structs.MsgProviderResponse + 110, // 150: structs.structs.Msg.ProviderDelete:output_type -> structs.structs.MsgProviderResponse + 58, // 151: structs.structs.Msg.StructActivate:output_type -> structs.structs.MsgStructStatusResponse + 58, // 152: structs.structs.Msg.StructDeactivate:output_type -> structs.structs.MsgStructStatusResponse + 58, // 153: structs.structs.Msg.StructBuildInitiate:output_type -> structs.structs.MsgStructStatusResponse + 58, // 154: structs.structs.Msg.StructBuildComplete:output_type -> structs.structs.MsgStructStatusResponse + 58, // 155: structs.structs.Msg.StructBuildCancel:output_type -> structs.structs.MsgStructStatusResponse + 58, // 156: structs.structs.Msg.StructDefenseSet:output_type -> structs.structs.MsgStructStatusResponse + 58, // 157: structs.structs.Msg.StructDefenseClear:output_type -> structs.structs.MsgStructStatusResponse + 58, // 158: structs.structs.Msg.StructMove:output_type -> structs.structs.MsgStructStatusResponse + 69, // 159: structs.structs.Msg.StructAttack:output_type -> structs.structs.MsgStructAttackResponse + 58, // 160: structs.structs.Msg.StructStealthActivate:output_type -> structs.structs.MsgStructStatusResponse + 58, // 161: structs.structs.Msg.StructStealthDeactivate:output_type -> structs.structs.MsgStructStatusResponse + 73, // 162: structs.structs.Msg.StructGeneratorInfuse:output_type -> structs.structs.MsgStructGeneratorStatusResponse + 75, // 163: structs.structs.Msg.StructOreMinerComplete:output_type -> structs.structs.MsgStructOreMinerStatusResponse + 77, // 164: structs.structs.Msg.StructOreRefineryComplete:output_type -> structs.structs.MsgStructOreRefineryStatusResponse + 81, // 165: structs.structs.Msg.SubstationCreate:output_type -> structs.structs.MsgSubstationCreateResponse + 83, // 166: structs.structs.Msg.SubstationDelete:output_type -> structs.structs.MsgSubstationDeleteResponse + 85, // 167: structs.structs.Msg.SubstationAllocationConnect:output_type -> structs.structs.MsgSubstationAllocationConnectResponse + 87, // 168: structs.structs.Msg.SubstationAllocationDisconnect:output_type -> structs.structs.MsgSubstationAllocationDisconnectResponse + 89, // 169: structs.structs.Msg.SubstationPlayerConnect:output_type -> structs.structs.MsgSubstationPlayerConnectResponse + 91, // 170: structs.structs.Msg.SubstationPlayerDisconnect:output_type -> structs.structs.MsgSubstationPlayerDisconnectResponse + 93, // 171: structs.structs.Msg.SubstationPlayerMigrate:output_type -> structs.structs.MsgSubstationPlayerMigrateResponse + 97, // [97:172] is the sub-list for method output_type + 22, // [22:97] is the sub-list for method input_type + 22, // [22:22] is the sub-list for extension type_name + 22, // [22:22] is the sub-list for extension extendee + 0, // [0:22] is the sub-list for field type_name } func init() { file_structs_structs_tx_proto_init() } @@ -49235,7 +64025,7 @@ func file_structs_structs_tx_proto_init() { } } file_structs_structs_tx_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgGuildCreate); i { + switch v := v.(*MsgGuildBankMint); i { case 0: return &v.state case 1: @@ -49247,7 +64037,7 @@ func file_structs_structs_tx_proto_init() { } } file_structs_structs_tx_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgGuildCreateResponse); i { + switch v := v.(*MsgGuildBankMintResponse); i { case 0: return &v.state case 1: @@ -49259,7 +64049,7 @@ func file_structs_structs_tx_proto_init() { } } file_structs_structs_tx_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgGuildUpdateOwnerId); i { + switch v := v.(*MsgGuildBankRedeem); i { case 0: return &v.state case 1: @@ -49271,7 +64061,7 @@ func file_structs_structs_tx_proto_init() { } } file_structs_structs_tx_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgGuildUpdateEntrySubstationId); i { + switch v := v.(*MsgGuildBankRedeemResponse); i { case 0: return &v.state case 1: @@ -49283,7 +64073,7 @@ func file_structs_structs_tx_proto_init() { } } file_structs_structs_tx_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgGuildUpdateEndpoint); i { + switch v := v.(*MsgGuildBankConfiscateAndBurn); i { case 0: return &v.state case 1: @@ -49295,7 +64085,7 @@ func file_structs_structs_tx_proto_init() { } } file_structs_structs_tx_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgGuildUpdateJoinInfusionMinimum); i { + switch v := v.(*MsgGuildBankConfiscateAndBurnResponse); i { case 0: return &v.state case 1: @@ -49307,7 +64097,7 @@ func file_structs_structs_tx_proto_init() { } } file_structs_structs_tx_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgGuildUpdateJoinInfusionMinimumBypassByRequest); i { + switch v := v.(*MsgGuildCreate); i { case 0: return &v.state case 1: @@ -49319,7 +64109,7 @@ func file_structs_structs_tx_proto_init() { } } file_structs_structs_tx_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgGuildUpdateJoinInfusionMinimumBypassByInvite); i { + switch v := v.(*MsgGuildCreateResponse); i { case 0: return &v.state case 1: @@ -49331,7 +64121,7 @@ func file_structs_structs_tx_proto_init() { } } file_structs_structs_tx_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgGuildUpdateResponse); i { + switch v := v.(*MsgGuildUpdateOwnerId); i { case 0: return &v.state case 1: @@ -49343,7 +64133,7 @@ func file_structs_structs_tx_proto_init() { } } file_structs_structs_tx_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgGuildMembershipInvite); i { + switch v := v.(*MsgGuildUpdateEntrySubstationId); i { case 0: return &v.state case 1: @@ -49355,7 +64145,7 @@ func file_structs_structs_tx_proto_init() { } } file_structs_structs_tx_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgGuildMembershipInviteApprove); i { + switch v := v.(*MsgGuildUpdateEndpoint); i { case 0: return &v.state case 1: @@ -49367,7 +64157,7 @@ func file_structs_structs_tx_proto_init() { } } file_structs_structs_tx_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgGuildMembershipInviteDeny); i { + switch v := v.(*MsgGuildUpdateJoinInfusionMinimum); i { case 0: return &v.state case 1: @@ -49379,7 +64169,7 @@ func file_structs_structs_tx_proto_init() { } } file_structs_structs_tx_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgGuildMembershipInviteRevoke); i { + switch v := v.(*MsgGuildUpdateJoinInfusionMinimumBypassByRequest); i { case 0: return &v.state case 1: @@ -49391,7 +64181,7 @@ func file_structs_structs_tx_proto_init() { } } file_structs_structs_tx_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgGuildMembershipJoin); i { + switch v := v.(*MsgGuildUpdateJoinInfusionMinimumBypassByInvite); i { case 0: return &v.state case 1: @@ -49403,7 +64193,7 @@ func file_structs_structs_tx_proto_init() { } } file_structs_structs_tx_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgGuildMembershipJoinProxy); i { + switch v := v.(*MsgGuildUpdateResponse); i { case 0: return &v.state case 1: @@ -49415,7 +64205,7 @@ func file_structs_structs_tx_proto_init() { } } file_structs_structs_tx_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgGuildMembershipKick); i { + switch v := v.(*MsgGuildMembershipInvite); i { case 0: return &v.state case 1: @@ -49427,7 +64217,7 @@ func file_structs_structs_tx_proto_init() { } } file_structs_structs_tx_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgGuildMembershipRequest); i { + switch v := v.(*MsgGuildMembershipInviteApprove); i { case 0: return &v.state case 1: @@ -49439,7 +64229,7 @@ func file_structs_structs_tx_proto_init() { } } file_structs_structs_tx_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgGuildMembershipRequestApprove); i { + switch v := v.(*MsgGuildMembershipInviteDeny); i { case 0: return &v.state case 1: @@ -49451,7 +64241,7 @@ func file_structs_structs_tx_proto_init() { } } file_structs_structs_tx_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgGuildMembershipRequestDeny); i { + switch v := v.(*MsgGuildMembershipInviteRevoke); i { case 0: return &v.state case 1: @@ -49463,7 +64253,7 @@ func file_structs_structs_tx_proto_init() { } } file_structs_structs_tx_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgGuildMembershipRequestRevoke); i { + switch v := v.(*MsgGuildMembershipJoin); i { case 0: return &v.state case 1: @@ -49475,7 +64265,7 @@ func file_structs_structs_tx_proto_init() { } } file_structs_structs_tx_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgGuildMembershipResponse); i { + switch v := v.(*MsgGuildMembershipJoinProxy); i { case 0: return &v.state case 1: @@ -49487,7 +64277,7 @@ func file_structs_structs_tx_proto_init() { } } file_structs_structs_tx_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgPermissionGrantOnObject); i { + switch v := v.(*MsgGuildMembershipKick); i { case 0: return &v.state case 1: @@ -49499,7 +64289,7 @@ func file_structs_structs_tx_proto_init() { } } file_structs_structs_tx_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgPermissionGrantOnAddress); i { + switch v := v.(*MsgGuildMembershipRequest); i { case 0: return &v.state case 1: @@ -49511,7 +64301,7 @@ func file_structs_structs_tx_proto_init() { } } file_structs_structs_tx_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgPermissionRevokeOnObject); i { + switch v := v.(*MsgGuildMembershipRequestApprove); i { case 0: return &v.state case 1: @@ -49523,7 +64313,7 @@ func file_structs_structs_tx_proto_init() { } } file_structs_structs_tx_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgPermissionRevokeOnAddress); i { + switch v := v.(*MsgGuildMembershipRequestDeny); i { case 0: return &v.state case 1: @@ -49535,7 +64325,7 @@ func file_structs_structs_tx_proto_init() { } } file_structs_structs_tx_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgPermissionSetOnObject); i { + switch v := v.(*MsgGuildMembershipRequestRevoke); i { case 0: return &v.state case 1: @@ -49547,7 +64337,7 @@ func file_structs_structs_tx_proto_init() { } } file_structs_structs_tx_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgPermissionSetOnAddress); i { + switch v := v.(*MsgGuildMembershipResponse); i { case 0: return &v.state case 1: @@ -49559,7 +64349,7 @@ func file_structs_structs_tx_proto_init() { } } file_structs_structs_tx_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgPermissionResponse); i { + switch v := v.(*MsgPermissionGrantOnObject); i { case 0: return &v.state case 1: @@ -49571,7 +64361,7 @@ func file_structs_structs_tx_proto_init() { } } file_structs_structs_tx_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgPlanetExplore); i { + switch v := v.(*MsgPermissionGrantOnAddress); i { case 0: return &v.state case 1: @@ -49583,7 +64373,7 @@ func file_structs_structs_tx_proto_init() { } } file_structs_structs_tx_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgPlanetExploreResponse); i { + switch v := v.(*MsgPermissionRevokeOnObject); i { case 0: return &v.state case 1: @@ -49595,7 +64385,7 @@ func file_structs_structs_tx_proto_init() { } } file_structs_structs_tx_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgPlanetRaidComplete); i { + switch v := v.(*MsgPermissionRevokeOnAddress); i { case 0: return &v.state case 1: @@ -49607,7 +64397,7 @@ func file_structs_structs_tx_proto_init() { } } file_structs_structs_tx_proto_msgTypes[47].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgPlanetRaidCompleteResponse); i { + switch v := v.(*MsgPermissionSetOnObject); i { case 0: return &v.state case 1: @@ -49619,7 +64409,7 @@ func file_structs_structs_tx_proto_init() { } } file_structs_structs_tx_proto_msgTypes[48].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgPlayerUpdatePrimaryAddress); i { + switch v := v.(*MsgPermissionSetOnAddress); i { case 0: return &v.state case 1: @@ -49631,7 +64421,7 @@ func file_structs_structs_tx_proto_init() { } } file_structs_structs_tx_proto_msgTypes[49].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgPlayerUpdatePrimaryAddressResponse); i { + switch v := v.(*MsgPermissionResponse); i { case 0: return &v.state case 1: @@ -49643,7 +64433,7 @@ func file_structs_structs_tx_proto_init() { } } file_structs_structs_tx_proto_msgTypes[50].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgStructStatusResponse); i { + switch v := v.(*MsgPlanetExplore); i { case 0: return &v.state case 1: @@ -49655,7 +64445,7 @@ func file_structs_structs_tx_proto_init() { } } file_structs_structs_tx_proto_msgTypes[51].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgStructActivate); i { + switch v := v.(*MsgPlanetExploreResponse); i { case 0: return &v.state case 1: @@ -49667,7 +64457,7 @@ func file_structs_structs_tx_proto_init() { } } file_structs_structs_tx_proto_msgTypes[52].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgStructDeactivate); i { + switch v := v.(*MsgPlanetRaidComplete); i { case 0: return &v.state case 1: @@ -49679,7 +64469,7 @@ func file_structs_structs_tx_proto_init() { } } file_structs_structs_tx_proto_msgTypes[53].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgStructBuildInitiate); i { + switch v := v.(*MsgPlanetRaidCompleteResponse); i { case 0: return &v.state case 1: @@ -49691,7 +64481,7 @@ func file_structs_structs_tx_proto_init() { } } file_structs_structs_tx_proto_msgTypes[54].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgStructBuildComplete); i { + switch v := v.(*MsgPlayerUpdatePrimaryAddress); i { case 0: return &v.state case 1: @@ -49703,7 +64493,7 @@ func file_structs_structs_tx_proto_init() { } } file_structs_structs_tx_proto_msgTypes[55].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgStructBuildCompleteAndStash); i { + switch v := v.(*MsgPlayerUpdatePrimaryAddressResponse); i { case 0: return &v.state case 1: @@ -49715,7 +64505,7 @@ func file_structs_structs_tx_proto_init() { } } file_structs_structs_tx_proto_msgTypes[56].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgStructDefenseSet); i { + switch v := v.(*MsgPlayerResume); i { case 0: return &v.state case 1: @@ -49727,7 +64517,7 @@ func file_structs_structs_tx_proto_init() { } } file_structs_structs_tx_proto_msgTypes[57].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgStructDefenseClear); i { + switch v := v.(*MsgPlayerResumeResponse); i { case 0: return &v.state case 1: @@ -49739,7 +64529,7 @@ func file_structs_structs_tx_proto_init() { } } file_structs_structs_tx_proto_msgTypes[58].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgStructMove); i { + switch v := v.(*MsgStructStatusResponse); i { case 0: return &v.state case 1: @@ -49751,7 +64541,7 @@ func file_structs_structs_tx_proto_init() { } } file_structs_structs_tx_proto_msgTypes[59].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgStructAttack); i { + switch v := v.(*MsgStructActivate); i { case 0: return &v.state case 1: @@ -49763,7 +64553,7 @@ func file_structs_structs_tx_proto_init() { } } file_structs_structs_tx_proto_msgTypes[60].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgStructAttackResponse); i { + switch v := v.(*MsgStructDeactivate); i { case 0: return &v.state case 1: @@ -49775,7 +64565,7 @@ func file_structs_structs_tx_proto_init() { } } file_structs_structs_tx_proto_msgTypes[61].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgStructStealthActivate); i { + switch v := v.(*MsgStructBuildInitiate); i { case 0: return &v.state case 1: @@ -49787,7 +64577,7 @@ func file_structs_structs_tx_proto_init() { } } file_structs_structs_tx_proto_msgTypes[62].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgStructStealthDeactivate); i { + switch v := v.(*MsgStructBuildComplete); i { case 0: return &v.state case 1: @@ -49799,7 +64589,7 @@ func file_structs_structs_tx_proto_init() { } } file_structs_structs_tx_proto_msgTypes[63].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgStructGeneratorInfuse); i { + switch v := v.(*MsgStructBuildCancel); i { case 0: return &v.state case 1: @@ -49811,7 +64601,7 @@ func file_structs_structs_tx_proto_init() { } } file_structs_structs_tx_proto_msgTypes[64].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgStructGeneratorStatusResponse); i { + switch v := v.(*MsgStructBuildCompleteAndStash); i { case 0: return &v.state case 1: @@ -49823,7 +64613,7 @@ func file_structs_structs_tx_proto_init() { } } file_structs_structs_tx_proto_msgTypes[65].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgStructOreMinerComplete); i { + switch v := v.(*MsgStructDefenseSet); i { case 0: return &v.state case 1: @@ -49835,7 +64625,7 @@ func file_structs_structs_tx_proto_init() { } } file_structs_structs_tx_proto_msgTypes[66].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgStructOreMinerStatusResponse); i { + switch v := v.(*MsgStructDefenseClear); i { case 0: return &v.state case 1: @@ -49847,7 +64637,7 @@ func file_structs_structs_tx_proto_init() { } } file_structs_structs_tx_proto_msgTypes[67].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgStructOreRefineryComplete); i { + switch v := v.(*MsgStructMove); i { case 0: return &v.state case 1: @@ -49859,7 +64649,7 @@ func file_structs_structs_tx_proto_init() { } } file_structs_structs_tx_proto_msgTypes[68].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgStructOreRefineryStatusResponse); i { + switch v := v.(*MsgStructAttack); i { case 0: return &v.state case 1: @@ -49871,7 +64661,7 @@ func file_structs_structs_tx_proto_init() { } } file_structs_structs_tx_proto_msgTypes[69].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgStructStorageStash); i { + switch v := v.(*MsgStructAttackResponse); i { case 0: return &v.state case 1: @@ -49883,7 +64673,7 @@ func file_structs_structs_tx_proto_init() { } } file_structs_structs_tx_proto_msgTypes[70].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgStructStorageRecall); i { + switch v := v.(*MsgStructStealthActivate); i { case 0: return &v.state case 1: @@ -49895,7 +64685,7 @@ func file_structs_structs_tx_proto_init() { } } file_structs_structs_tx_proto_msgTypes[71].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgSubstationCreate); i { + switch v := v.(*MsgStructStealthDeactivate); i { case 0: return &v.state case 1: @@ -49907,7 +64697,7 @@ func file_structs_structs_tx_proto_init() { } } file_structs_structs_tx_proto_msgTypes[72].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgSubstationCreateResponse); i { + switch v := v.(*MsgStructGeneratorInfuse); i { case 0: return &v.state case 1: @@ -49919,7 +64709,7 @@ func file_structs_structs_tx_proto_init() { } } file_structs_structs_tx_proto_msgTypes[73].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgSubstationDelete); i { + switch v := v.(*MsgStructGeneratorStatusResponse); i { case 0: return &v.state case 1: @@ -49931,7 +64721,7 @@ func file_structs_structs_tx_proto_init() { } } file_structs_structs_tx_proto_msgTypes[74].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgSubstationDeleteResponse); i { + switch v := v.(*MsgStructOreMinerComplete); i { case 0: return &v.state case 1: @@ -49943,7 +64733,7 @@ func file_structs_structs_tx_proto_init() { } } file_structs_structs_tx_proto_msgTypes[75].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgSubstationAllocationConnect); i { + switch v := v.(*MsgStructOreMinerStatusResponse); i { case 0: return &v.state case 1: @@ -49955,7 +64745,7 @@ func file_structs_structs_tx_proto_init() { } } file_structs_structs_tx_proto_msgTypes[76].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgSubstationAllocationConnectResponse); i { + switch v := v.(*MsgStructOreRefineryComplete); i { case 0: return &v.state case 1: @@ -49967,7 +64757,7 @@ func file_structs_structs_tx_proto_init() { } } file_structs_structs_tx_proto_msgTypes[77].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgSubstationAllocationDisconnect); i { + switch v := v.(*MsgStructOreRefineryStatusResponse); i { case 0: return &v.state case 1: @@ -49979,7 +64769,7 @@ func file_structs_structs_tx_proto_init() { } } file_structs_structs_tx_proto_msgTypes[78].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgSubstationAllocationDisconnectResponse); i { + switch v := v.(*MsgStructStorageStash); i { case 0: return &v.state case 1: @@ -49991,7 +64781,7 @@ func file_structs_structs_tx_proto_init() { } } file_structs_structs_tx_proto_msgTypes[79].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgSubstationPlayerConnect); i { + switch v := v.(*MsgStructStorageRecall); i { case 0: return &v.state case 1: @@ -50003,7 +64793,7 @@ func file_structs_structs_tx_proto_init() { } } file_structs_structs_tx_proto_msgTypes[80].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgSubstationPlayerConnectResponse); i { + switch v := v.(*MsgSubstationCreate); i { case 0: return &v.state case 1: @@ -50015,7 +64805,7 @@ func file_structs_structs_tx_proto_init() { } } file_structs_structs_tx_proto_msgTypes[81].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgSubstationPlayerDisconnect); i { + switch v := v.(*MsgSubstationCreateResponse); i { case 0: return &v.state case 1: @@ -50027,7 +64817,7 @@ func file_structs_structs_tx_proto_init() { } } file_structs_structs_tx_proto_msgTypes[82].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgSubstationPlayerDisconnectResponse); i { + switch v := v.(*MsgSubstationDelete); i { case 0: return &v.state case 1: @@ -50039,7 +64829,7 @@ func file_structs_structs_tx_proto_init() { } } file_structs_structs_tx_proto_msgTypes[83].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgSubstationPlayerMigrate); i { + switch v := v.(*MsgSubstationDeleteResponse); i { case 0: return &v.state case 1: @@ -50051,6 +64841,114 @@ func file_structs_structs_tx_proto_init() { } } file_structs_structs_tx_proto_msgTypes[84].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MsgSubstationAllocationConnect); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_structs_structs_tx_proto_msgTypes[85].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MsgSubstationAllocationConnectResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_structs_structs_tx_proto_msgTypes[86].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MsgSubstationAllocationDisconnect); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_structs_structs_tx_proto_msgTypes[87].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MsgSubstationAllocationDisconnectResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_structs_structs_tx_proto_msgTypes[88].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MsgSubstationPlayerConnect); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_structs_structs_tx_proto_msgTypes[89].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MsgSubstationPlayerConnectResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_structs_structs_tx_proto_msgTypes[90].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MsgSubstationPlayerDisconnect); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_structs_structs_tx_proto_msgTypes[91].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MsgSubstationPlayerDisconnectResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_structs_structs_tx_proto_msgTypes[92].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MsgSubstationPlayerMigrate); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_structs_structs_tx_proto_msgTypes[93].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*MsgSubstationPlayerMigrateResponse); i { case 0: return &v.state @@ -50062,6 +64960,210 @@ func file_structs_structs_tx_proto_init() { return nil } } + file_structs_structs_tx_proto_msgTypes[94].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MsgAgreementOpen); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_structs_structs_tx_proto_msgTypes[95].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MsgAgreementClose); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_structs_structs_tx_proto_msgTypes[96].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MsgAgreementCapacityIncrease); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_structs_structs_tx_proto_msgTypes[97].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MsgAgreementCapacityDecrease); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_structs_structs_tx_proto_msgTypes[98].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MsgAgreementDurationIncrease); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_structs_structs_tx_proto_msgTypes[99].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MsgAgreementResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_structs_structs_tx_proto_msgTypes[100].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MsgProviderCreate); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_structs_structs_tx_proto_msgTypes[101].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MsgProviderWithdrawBalance); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_structs_structs_tx_proto_msgTypes[102].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MsgProviderUpdateCapacityMinimum); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_structs_structs_tx_proto_msgTypes[103].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MsgProviderUpdateCapacityMaximum); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_structs_structs_tx_proto_msgTypes[104].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MsgProviderUpdateDurationMinimum); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_structs_structs_tx_proto_msgTypes[105].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MsgProviderUpdateDurationMaximum); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_structs_structs_tx_proto_msgTypes[106].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MsgProviderUpdateAccessPolicy); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_structs_structs_tx_proto_msgTypes[107].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MsgProviderGuildGrant); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_structs_structs_tx_proto_msgTypes[108].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MsgProviderGuildRevoke); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_structs_structs_tx_proto_msgTypes[109].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MsgProviderDelete); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_structs_structs_tx_proto_msgTypes[110].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MsgProviderResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } } type x struct{} out := protoimpl.TypeBuilder{ @@ -50069,7 +65171,7 @@ func file_structs_structs_tx_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_structs_structs_tx_proto_rawDesc, NumEnums: 0, - NumMessages: 85, + NumMessages: 111, NumExtensions: 0, NumServices: 1, }, diff --git a/api/structs/structs/tx_grpc.pb.go b/api/structs/structs/tx_grpc.pb.go index 06445d31..c91c5fba 100644 --- a/api/structs/structs/tx_grpc.pb.go +++ b/api/structs/structs/tx_grpc.pb.go @@ -22,12 +22,20 @@ const ( Msg_UpdateParams_FullMethodName = "/structs.structs.Msg/UpdateParams" Msg_AddressRegister_FullMethodName = "/structs.structs.Msg/AddressRegister" Msg_AddressRevoke_FullMethodName = "/structs.structs.Msg/AddressRevoke" + Msg_AgreementOpen_FullMethodName = "/structs.structs.Msg/AgreementOpen" + Msg_AgreementClose_FullMethodName = "/structs.structs.Msg/AgreementClose" + Msg_AgreementCapacityIncrease_FullMethodName = "/structs.structs.Msg/AgreementCapacityIncrease" + Msg_AgreementCapacityDecrease_FullMethodName = "/structs.structs.Msg/AgreementCapacityDecrease" + Msg_AgreementDurationIncrease_FullMethodName = "/structs.structs.Msg/AgreementDurationIncrease" Msg_AllocationCreate_FullMethodName = "/structs.structs.Msg/AllocationCreate" Msg_AllocationDelete_FullMethodName = "/structs.structs.Msg/AllocationDelete" Msg_AllocationUpdate_FullMethodName = "/structs.structs.Msg/AllocationUpdate" Msg_AllocationTransfer_FullMethodName = "/structs.structs.Msg/AllocationTransfer" Msg_FleetMove_FullMethodName = "/structs.structs.Msg/FleetMove" Msg_GuildCreate_FullMethodName = "/structs.structs.Msg/GuildCreate" + Msg_GuildBankMint_FullMethodName = "/structs.structs.Msg/GuildBankMint" + Msg_GuildBankRedeem_FullMethodName = "/structs.structs.Msg/GuildBankRedeem" + Msg_GuildBankConfiscateAndBurn_FullMethodName = "/structs.structs.Msg/GuildBankConfiscateAndBurn" Msg_GuildUpdateOwnerId_FullMethodName = "/structs.structs.Msg/GuildUpdateOwnerId" Msg_GuildUpdateEntrySubstationId_FullMethodName = "/structs.structs.Msg/GuildUpdateEntrySubstationId" Msg_GuildUpdateEndpoint_FullMethodName = "/structs.structs.Msg/GuildUpdateEndpoint" @@ -54,10 +62,22 @@ const ( Msg_PlanetExplore_FullMethodName = "/structs.structs.Msg/PlanetExplore" Msg_PlanetRaidComplete_FullMethodName = "/structs.structs.Msg/PlanetRaidComplete" Msg_PlayerUpdatePrimaryAddress_FullMethodName = "/structs.structs.Msg/PlayerUpdatePrimaryAddress" + Msg_PlayerResume_FullMethodName = "/structs.structs.Msg/PlayerResume" + Msg_ProviderCreate_FullMethodName = "/structs.structs.Msg/ProviderCreate" + Msg_ProviderWithdrawBalance_FullMethodName = "/structs.structs.Msg/ProviderWithdrawBalance" + Msg_ProviderUpdateCapacityMinimum_FullMethodName = "/structs.structs.Msg/ProviderUpdateCapacityMinimum" + Msg_ProviderUpdateCapacityMaximum_FullMethodName = "/structs.structs.Msg/ProviderUpdateCapacityMaximum" + Msg_ProviderUpdateDurationMinimum_FullMethodName = "/structs.structs.Msg/ProviderUpdateDurationMinimum" + Msg_ProviderUpdateDurationMaximum_FullMethodName = "/structs.structs.Msg/ProviderUpdateDurationMaximum" + Msg_ProviderUpdateAccessPolicy_FullMethodName = "/structs.structs.Msg/ProviderUpdateAccessPolicy" + Msg_ProviderGuildGrant_FullMethodName = "/structs.structs.Msg/ProviderGuildGrant" + Msg_ProviderGuildRevoke_FullMethodName = "/structs.structs.Msg/ProviderGuildRevoke" + Msg_ProviderDelete_FullMethodName = "/structs.structs.Msg/ProviderDelete" Msg_StructActivate_FullMethodName = "/structs.structs.Msg/StructActivate" Msg_StructDeactivate_FullMethodName = "/structs.structs.Msg/StructDeactivate" Msg_StructBuildInitiate_FullMethodName = "/structs.structs.Msg/StructBuildInitiate" Msg_StructBuildComplete_FullMethodName = "/structs.structs.Msg/StructBuildComplete" + Msg_StructBuildCancel_FullMethodName = "/structs.structs.Msg/StructBuildCancel" Msg_StructDefenseSet_FullMethodName = "/structs.structs.Msg/StructDefenseSet" Msg_StructDefenseClear_FullMethodName = "/structs.structs.Msg/StructDefenseClear" Msg_StructMove_FullMethodName = "/structs.structs.Msg/StructMove" @@ -85,12 +105,20 @@ type MsgClient interface { UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error) AddressRegister(ctx context.Context, in *MsgAddressRegister, opts ...grpc.CallOption) (*MsgAddressRegisterResponse, error) AddressRevoke(ctx context.Context, in *MsgAddressRevoke, opts ...grpc.CallOption) (*MsgAddressRevokeResponse, error) + AgreementOpen(ctx context.Context, in *MsgAgreementOpen, opts ...grpc.CallOption) (*MsgAgreementResponse, error) + AgreementClose(ctx context.Context, in *MsgAgreementClose, opts ...grpc.CallOption) (*MsgAgreementResponse, error) + AgreementCapacityIncrease(ctx context.Context, in *MsgAgreementCapacityIncrease, opts ...grpc.CallOption) (*MsgAgreementResponse, error) + AgreementCapacityDecrease(ctx context.Context, in *MsgAgreementCapacityDecrease, opts ...grpc.CallOption) (*MsgAgreementResponse, error) + AgreementDurationIncrease(ctx context.Context, in *MsgAgreementDurationIncrease, opts ...grpc.CallOption) (*MsgAgreementResponse, error) AllocationCreate(ctx context.Context, in *MsgAllocationCreate, opts ...grpc.CallOption) (*MsgAllocationCreateResponse, error) AllocationDelete(ctx context.Context, in *MsgAllocationDelete, opts ...grpc.CallOption) (*MsgAllocationDeleteResponse, error) AllocationUpdate(ctx context.Context, in *MsgAllocationUpdate, opts ...grpc.CallOption) (*MsgAllocationUpdateResponse, error) AllocationTransfer(ctx context.Context, in *MsgAllocationTransfer, opts ...grpc.CallOption) (*MsgAllocationTransferResponse, error) FleetMove(ctx context.Context, in *MsgFleetMove, opts ...grpc.CallOption) (*MsgFleetMoveResponse, error) GuildCreate(ctx context.Context, in *MsgGuildCreate, opts ...grpc.CallOption) (*MsgGuildCreateResponse, error) + GuildBankMint(ctx context.Context, in *MsgGuildBankMint, opts ...grpc.CallOption) (*MsgGuildBankMintResponse, error) + GuildBankRedeem(ctx context.Context, in *MsgGuildBankRedeem, opts ...grpc.CallOption) (*MsgGuildBankRedeemResponse, error) + GuildBankConfiscateAndBurn(ctx context.Context, in *MsgGuildBankConfiscateAndBurn, opts ...grpc.CallOption) (*MsgGuildBankConfiscateAndBurnResponse, error) GuildUpdateOwnerId(ctx context.Context, in *MsgGuildUpdateOwnerId, opts ...grpc.CallOption) (*MsgGuildUpdateResponse, error) GuildUpdateEntrySubstationId(ctx context.Context, in *MsgGuildUpdateEntrySubstationId, opts ...grpc.CallOption) (*MsgGuildUpdateResponse, error) GuildUpdateEndpoint(ctx context.Context, in *MsgGuildUpdateEndpoint, opts ...grpc.CallOption) (*MsgGuildUpdateResponse, error) @@ -117,10 +145,22 @@ type MsgClient interface { PlanetExplore(ctx context.Context, in *MsgPlanetExplore, opts ...grpc.CallOption) (*MsgPlanetExploreResponse, error) PlanetRaidComplete(ctx context.Context, in *MsgPlanetRaidComplete, opts ...grpc.CallOption) (*MsgPlanetRaidCompleteResponse, error) PlayerUpdatePrimaryAddress(ctx context.Context, in *MsgPlayerUpdatePrimaryAddress, opts ...grpc.CallOption) (*MsgPlayerUpdatePrimaryAddressResponse, error) + PlayerResume(ctx context.Context, in *MsgPlayerResume, opts ...grpc.CallOption) (*MsgPlayerResumeResponse, error) + ProviderCreate(ctx context.Context, in *MsgProviderCreate, opts ...grpc.CallOption) (*MsgProviderResponse, error) + ProviderWithdrawBalance(ctx context.Context, in *MsgProviderWithdrawBalance, opts ...grpc.CallOption) (*MsgProviderResponse, error) + ProviderUpdateCapacityMinimum(ctx context.Context, in *MsgProviderUpdateCapacityMinimum, opts ...grpc.CallOption) (*MsgProviderResponse, error) + ProviderUpdateCapacityMaximum(ctx context.Context, in *MsgProviderUpdateCapacityMaximum, opts ...grpc.CallOption) (*MsgProviderResponse, error) + ProviderUpdateDurationMinimum(ctx context.Context, in *MsgProviderUpdateDurationMinimum, opts ...grpc.CallOption) (*MsgProviderResponse, error) + ProviderUpdateDurationMaximum(ctx context.Context, in *MsgProviderUpdateDurationMaximum, opts ...grpc.CallOption) (*MsgProviderResponse, error) + ProviderUpdateAccessPolicy(ctx context.Context, in *MsgProviderUpdateAccessPolicy, opts ...grpc.CallOption) (*MsgProviderResponse, error) + ProviderGuildGrant(ctx context.Context, in *MsgProviderGuildGrant, opts ...grpc.CallOption) (*MsgProviderResponse, error) + ProviderGuildRevoke(ctx context.Context, in *MsgProviderGuildRevoke, opts ...grpc.CallOption) (*MsgProviderResponse, error) + ProviderDelete(ctx context.Context, in *MsgProviderDelete, opts ...grpc.CallOption) (*MsgProviderResponse, error) StructActivate(ctx context.Context, in *MsgStructActivate, opts ...grpc.CallOption) (*MsgStructStatusResponse, error) StructDeactivate(ctx context.Context, in *MsgStructDeactivate, opts ...grpc.CallOption) (*MsgStructStatusResponse, error) StructBuildInitiate(ctx context.Context, in *MsgStructBuildInitiate, opts ...grpc.CallOption) (*MsgStructStatusResponse, error) StructBuildComplete(ctx context.Context, in *MsgStructBuildComplete, opts ...grpc.CallOption) (*MsgStructStatusResponse, error) + StructBuildCancel(ctx context.Context, in *MsgStructBuildCancel, opts ...grpc.CallOption) (*MsgStructStatusResponse, error) StructDefenseSet(ctx context.Context, in *MsgStructDefenseSet, opts ...grpc.CallOption) (*MsgStructStatusResponse, error) StructDefenseClear(ctx context.Context, in *MsgStructDefenseClear, opts ...grpc.CallOption) (*MsgStructStatusResponse, error) StructMove(ctx context.Context, in *MsgStructMove, opts ...grpc.CallOption) (*MsgStructStatusResponse, error) @@ -174,6 +214,51 @@ func (c *msgClient) AddressRevoke(ctx context.Context, in *MsgAddressRevoke, opt return out, nil } +func (c *msgClient) AgreementOpen(ctx context.Context, in *MsgAgreementOpen, opts ...grpc.CallOption) (*MsgAgreementResponse, error) { + out := new(MsgAgreementResponse) + err := c.cc.Invoke(ctx, Msg_AgreementOpen_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *msgClient) AgreementClose(ctx context.Context, in *MsgAgreementClose, opts ...grpc.CallOption) (*MsgAgreementResponse, error) { + out := new(MsgAgreementResponse) + err := c.cc.Invoke(ctx, Msg_AgreementClose_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *msgClient) AgreementCapacityIncrease(ctx context.Context, in *MsgAgreementCapacityIncrease, opts ...grpc.CallOption) (*MsgAgreementResponse, error) { + out := new(MsgAgreementResponse) + err := c.cc.Invoke(ctx, Msg_AgreementCapacityIncrease_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *msgClient) AgreementCapacityDecrease(ctx context.Context, in *MsgAgreementCapacityDecrease, opts ...grpc.CallOption) (*MsgAgreementResponse, error) { + out := new(MsgAgreementResponse) + err := c.cc.Invoke(ctx, Msg_AgreementCapacityDecrease_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *msgClient) AgreementDurationIncrease(ctx context.Context, in *MsgAgreementDurationIncrease, opts ...grpc.CallOption) (*MsgAgreementResponse, error) { + out := new(MsgAgreementResponse) + err := c.cc.Invoke(ctx, Msg_AgreementDurationIncrease_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + func (c *msgClient) AllocationCreate(ctx context.Context, in *MsgAllocationCreate, opts ...grpc.CallOption) (*MsgAllocationCreateResponse, error) { out := new(MsgAllocationCreateResponse) err := c.cc.Invoke(ctx, Msg_AllocationCreate_FullMethodName, in, out, opts...) @@ -228,6 +313,33 @@ func (c *msgClient) GuildCreate(ctx context.Context, in *MsgGuildCreate, opts .. return out, nil } +func (c *msgClient) GuildBankMint(ctx context.Context, in *MsgGuildBankMint, opts ...grpc.CallOption) (*MsgGuildBankMintResponse, error) { + out := new(MsgGuildBankMintResponse) + err := c.cc.Invoke(ctx, Msg_GuildBankMint_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *msgClient) GuildBankRedeem(ctx context.Context, in *MsgGuildBankRedeem, opts ...grpc.CallOption) (*MsgGuildBankRedeemResponse, error) { + out := new(MsgGuildBankRedeemResponse) + err := c.cc.Invoke(ctx, Msg_GuildBankRedeem_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *msgClient) GuildBankConfiscateAndBurn(ctx context.Context, in *MsgGuildBankConfiscateAndBurn, opts ...grpc.CallOption) (*MsgGuildBankConfiscateAndBurnResponse, error) { + out := new(MsgGuildBankConfiscateAndBurnResponse) + err := c.cc.Invoke(ctx, Msg_GuildBankConfiscateAndBurn_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + func (c *msgClient) GuildUpdateOwnerId(ctx context.Context, in *MsgGuildUpdateOwnerId, opts ...grpc.CallOption) (*MsgGuildUpdateResponse, error) { out := new(MsgGuildUpdateResponse) err := c.cc.Invoke(ctx, Msg_GuildUpdateOwnerId_FullMethodName, in, out, opts...) @@ -462,6 +574,105 @@ func (c *msgClient) PlayerUpdatePrimaryAddress(ctx context.Context, in *MsgPlaye return out, nil } +func (c *msgClient) PlayerResume(ctx context.Context, in *MsgPlayerResume, opts ...grpc.CallOption) (*MsgPlayerResumeResponse, error) { + out := new(MsgPlayerResumeResponse) + err := c.cc.Invoke(ctx, Msg_PlayerResume_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *msgClient) ProviderCreate(ctx context.Context, in *MsgProviderCreate, opts ...grpc.CallOption) (*MsgProviderResponse, error) { + out := new(MsgProviderResponse) + err := c.cc.Invoke(ctx, Msg_ProviderCreate_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *msgClient) ProviderWithdrawBalance(ctx context.Context, in *MsgProviderWithdrawBalance, opts ...grpc.CallOption) (*MsgProviderResponse, error) { + out := new(MsgProviderResponse) + err := c.cc.Invoke(ctx, Msg_ProviderWithdrawBalance_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *msgClient) ProviderUpdateCapacityMinimum(ctx context.Context, in *MsgProviderUpdateCapacityMinimum, opts ...grpc.CallOption) (*MsgProviderResponse, error) { + out := new(MsgProviderResponse) + err := c.cc.Invoke(ctx, Msg_ProviderUpdateCapacityMinimum_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *msgClient) ProviderUpdateCapacityMaximum(ctx context.Context, in *MsgProviderUpdateCapacityMaximum, opts ...grpc.CallOption) (*MsgProviderResponse, error) { + out := new(MsgProviderResponse) + err := c.cc.Invoke(ctx, Msg_ProviderUpdateCapacityMaximum_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *msgClient) ProviderUpdateDurationMinimum(ctx context.Context, in *MsgProviderUpdateDurationMinimum, opts ...grpc.CallOption) (*MsgProviderResponse, error) { + out := new(MsgProviderResponse) + err := c.cc.Invoke(ctx, Msg_ProviderUpdateDurationMinimum_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *msgClient) ProviderUpdateDurationMaximum(ctx context.Context, in *MsgProviderUpdateDurationMaximum, opts ...grpc.CallOption) (*MsgProviderResponse, error) { + out := new(MsgProviderResponse) + err := c.cc.Invoke(ctx, Msg_ProviderUpdateDurationMaximum_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *msgClient) ProviderUpdateAccessPolicy(ctx context.Context, in *MsgProviderUpdateAccessPolicy, opts ...grpc.CallOption) (*MsgProviderResponse, error) { + out := new(MsgProviderResponse) + err := c.cc.Invoke(ctx, Msg_ProviderUpdateAccessPolicy_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *msgClient) ProviderGuildGrant(ctx context.Context, in *MsgProviderGuildGrant, opts ...grpc.CallOption) (*MsgProviderResponse, error) { + out := new(MsgProviderResponse) + err := c.cc.Invoke(ctx, Msg_ProviderGuildGrant_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *msgClient) ProviderGuildRevoke(ctx context.Context, in *MsgProviderGuildRevoke, opts ...grpc.CallOption) (*MsgProviderResponse, error) { + out := new(MsgProviderResponse) + err := c.cc.Invoke(ctx, Msg_ProviderGuildRevoke_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *msgClient) ProviderDelete(ctx context.Context, in *MsgProviderDelete, opts ...grpc.CallOption) (*MsgProviderResponse, error) { + out := new(MsgProviderResponse) + err := c.cc.Invoke(ctx, Msg_ProviderDelete_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + func (c *msgClient) StructActivate(ctx context.Context, in *MsgStructActivate, opts ...grpc.CallOption) (*MsgStructStatusResponse, error) { out := new(MsgStructStatusResponse) err := c.cc.Invoke(ctx, Msg_StructActivate_FullMethodName, in, out, opts...) @@ -498,6 +709,15 @@ func (c *msgClient) StructBuildComplete(ctx context.Context, in *MsgStructBuildC return out, nil } +func (c *msgClient) StructBuildCancel(ctx context.Context, in *MsgStructBuildCancel, opts ...grpc.CallOption) (*MsgStructStatusResponse, error) { + out := new(MsgStructStatusResponse) + err := c.cc.Invoke(ctx, Msg_StructBuildCancel_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + func (c *msgClient) StructDefenseSet(ctx context.Context, in *MsgStructDefenseSet, opts ...grpc.CallOption) (*MsgStructStatusResponse, error) { out := new(MsgStructStatusResponse) err := c.cc.Invoke(ctx, Msg_StructDefenseSet_FullMethodName, in, out, opts...) @@ -651,12 +871,20 @@ type MsgServer interface { UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error) AddressRegister(context.Context, *MsgAddressRegister) (*MsgAddressRegisterResponse, error) AddressRevoke(context.Context, *MsgAddressRevoke) (*MsgAddressRevokeResponse, error) + AgreementOpen(context.Context, *MsgAgreementOpen) (*MsgAgreementResponse, error) + AgreementClose(context.Context, *MsgAgreementClose) (*MsgAgreementResponse, error) + AgreementCapacityIncrease(context.Context, *MsgAgreementCapacityIncrease) (*MsgAgreementResponse, error) + AgreementCapacityDecrease(context.Context, *MsgAgreementCapacityDecrease) (*MsgAgreementResponse, error) + AgreementDurationIncrease(context.Context, *MsgAgreementDurationIncrease) (*MsgAgreementResponse, error) AllocationCreate(context.Context, *MsgAllocationCreate) (*MsgAllocationCreateResponse, error) AllocationDelete(context.Context, *MsgAllocationDelete) (*MsgAllocationDeleteResponse, error) AllocationUpdate(context.Context, *MsgAllocationUpdate) (*MsgAllocationUpdateResponse, error) AllocationTransfer(context.Context, *MsgAllocationTransfer) (*MsgAllocationTransferResponse, error) FleetMove(context.Context, *MsgFleetMove) (*MsgFleetMoveResponse, error) GuildCreate(context.Context, *MsgGuildCreate) (*MsgGuildCreateResponse, error) + GuildBankMint(context.Context, *MsgGuildBankMint) (*MsgGuildBankMintResponse, error) + GuildBankRedeem(context.Context, *MsgGuildBankRedeem) (*MsgGuildBankRedeemResponse, error) + GuildBankConfiscateAndBurn(context.Context, *MsgGuildBankConfiscateAndBurn) (*MsgGuildBankConfiscateAndBurnResponse, error) GuildUpdateOwnerId(context.Context, *MsgGuildUpdateOwnerId) (*MsgGuildUpdateResponse, error) GuildUpdateEntrySubstationId(context.Context, *MsgGuildUpdateEntrySubstationId) (*MsgGuildUpdateResponse, error) GuildUpdateEndpoint(context.Context, *MsgGuildUpdateEndpoint) (*MsgGuildUpdateResponse, error) @@ -683,10 +911,22 @@ type MsgServer interface { PlanetExplore(context.Context, *MsgPlanetExplore) (*MsgPlanetExploreResponse, error) PlanetRaidComplete(context.Context, *MsgPlanetRaidComplete) (*MsgPlanetRaidCompleteResponse, error) PlayerUpdatePrimaryAddress(context.Context, *MsgPlayerUpdatePrimaryAddress) (*MsgPlayerUpdatePrimaryAddressResponse, error) + PlayerResume(context.Context, *MsgPlayerResume) (*MsgPlayerResumeResponse, error) + ProviderCreate(context.Context, *MsgProviderCreate) (*MsgProviderResponse, error) + ProviderWithdrawBalance(context.Context, *MsgProviderWithdrawBalance) (*MsgProviderResponse, error) + ProviderUpdateCapacityMinimum(context.Context, *MsgProviderUpdateCapacityMinimum) (*MsgProviderResponse, error) + ProviderUpdateCapacityMaximum(context.Context, *MsgProviderUpdateCapacityMaximum) (*MsgProviderResponse, error) + ProviderUpdateDurationMinimum(context.Context, *MsgProviderUpdateDurationMinimum) (*MsgProviderResponse, error) + ProviderUpdateDurationMaximum(context.Context, *MsgProviderUpdateDurationMaximum) (*MsgProviderResponse, error) + ProviderUpdateAccessPolicy(context.Context, *MsgProviderUpdateAccessPolicy) (*MsgProviderResponse, error) + ProviderGuildGrant(context.Context, *MsgProviderGuildGrant) (*MsgProviderResponse, error) + ProviderGuildRevoke(context.Context, *MsgProviderGuildRevoke) (*MsgProviderResponse, error) + ProviderDelete(context.Context, *MsgProviderDelete) (*MsgProviderResponse, error) StructActivate(context.Context, *MsgStructActivate) (*MsgStructStatusResponse, error) StructDeactivate(context.Context, *MsgStructDeactivate) (*MsgStructStatusResponse, error) StructBuildInitiate(context.Context, *MsgStructBuildInitiate) (*MsgStructStatusResponse, error) StructBuildComplete(context.Context, *MsgStructBuildComplete) (*MsgStructStatusResponse, error) + StructBuildCancel(context.Context, *MsgStructBuildCancel) (*MsgStructStatusResponse, error) StructDefenseSet(context.Context, *MsgStructDefenseSet) (*MsgStructStatusResponse, error) StructDefenseClear(context.Context, *MsgStructDefenseClear) (*MsgStructStatusResponse, error) StructMove(context.Context, *MsgStructMove) (*MsgStructStatusResponse, error) @@ -719,6 +959,21 @@ func (UnimplementedMsgServer) AddressRegister(context.Context, *MsgAddressRegist func (UnimplementedMsgServer) AddressRevoke(context.Context, *MsgAddressRevoke) (*MsgAddressRevokeResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method AddressRevoke not implemented") } +func (UnimplementedMsgServer) AgreementOpen(context.Context, *MsgAgreementOpen) (*MsgAgreementResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method AgreementOpen not implemented") +} +func (UnimplementedMsgServer) AgreementClose(context.Context, *MsgAgreementClose) (*MsgAgreementResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method AgreementClose not implemented") +} +func (UnimplementedMsgServer) AgreementCapacityIncrease(context.Context, *MsgAgreementCapacityIncrease) (*MsgAgreementResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method AgreementCapacityIncrease not implemented") +} +func (UnimplementedMsgServer) AgreementCapacityDecrease(context.Context, *MsgAgreementCapacityDecrease) (*MsgAgreementResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method AgreementCapacityDecrease not implemented") +} +func (UnimplementedMsgServer) AgreementDurationIncrease(context.Context, *MsgAgreementDurationIncrease) (*MsgAgreementResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method AgreementDurationIncrease not implemented") +} func (UnimplementedMsgServer) AllocationCreate(context.Context, *MsgAllocationCreate) (*MsgAllocationCreateResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method AllocationCreate not implemented") } @@ -737,6 +992,15 @@ func (UnimplementedMsgServer) FleetMove(context.Context, *MsgFleetMove) (*MsgFle func (UnimplementedMsgServer) GuildCreate(context.Context, *MsgGuildCreate) (*MsgGuildCreateResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GuildCreate not implemented") } +func (UnimplementedMsgServer) GuildBankMint(context.Context, *MsgGuildBankMint) (*MsgGuildBankMintResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GuildBankMint not implemented") +} +func (UnimplementedMsgServer) GuildBankRedeem(context.Context, *MsgGuildBankRedeem) (*MsgGuildBankRedeemResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GuildBankRedeem not implemented") +} +func (UnimplementedMsgServer) GuildBankConfiscateAndBurn(context.Context, *MsgGuildBankConfiscateAndBurn) (*MsgGuildBankConfiscateAndBurnResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GuildBankConfiscateAndBurn not implemented") +} func (UnimplementedMsgServer) GuildUpdateOwnerId(context.Context, *MsgGuildUpdateOwnerId) (*MsgGuildUpdateResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GuildUpdateOwnerId not implemented") } @@ -815,6 +1079,39 @@ func (UnimplementedMsgServer) PlanetRaidComplete(context.Context, *MsgPlanetRaid func (UnimplementedMsgServer) PlayerUpdatePrimaryAddress(context.Context, *MsgPlayerUpdatePrimaryAddress) (*MsgPlayerUpdatePrimaryAddressResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method PlayerUpdatePrimaryAddress not implemented") } +func (UnimplementedMsgServer) PlayerResume(context.Context, *MsgPlayerResume) (*MsgPlayerResumeResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method PlayerResume not implemented") +} +func (UnimplementedMsgServer) ProviderCreate(context.Context, *MsgProviderCreate) (*MsgProviderResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ProviderCreate not implemented") +} +func (UnimplementedMsgServer) ProviderWithdrawBalance(context.Context, *MsgProviderWithdrawBalance) (*MsgProviderResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ProviderWithdrawBalance not implemented") +} +func (UnimplementedMsgServer) ProviderUpdateCapacityMinimum(context.Context, *MsgProviderUpdateCapacityMinimum) (*MsgProviderResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ProviderUpdateCapacityMinimum not implemented") +} +func (UnimplementedMsgServer) ProviderUpdateCapacityMaximum(context.Context, *MsgProviderUpdateCapacityMaximum) (*MsgProviderResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ProviderUpdateCapacityMaximum not implemented") +} +func (UnimplementedMsgServer) ProviderUpdateDurationMinimum(context.Context, *MsgProviderUpdateDurationMinimum) (*MsgProviderResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ProviderUpdateDurationMinimum not implemented") +} +func (UnimplementedMsgServer) ProviderUpdateDurationMaximum(context.Context, *MsgProviderUpdateDurationMaximum) (*MsgProviderResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ProviderUpdateDurationMaximum not implemented") +} +func (UnimplementedMsgServer) ProviderUpdateAccessPolicy(context.Context, *MsgProviderUpdateAccessPolicy) (*MsgProviderResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ProviderUpdateAccessPolicy not implemented") +} +func (UnimplementedMsgServer) ProviderGuildGrant(context.Context, *MsgProviderGuildGrant) (*MsgProviderResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ProviderGuildGrant not implemented") +} +func (UnimplementedMsgServer) ProviderGuildRevoke(context.Context, *MsgProviderGuildRevoke) (*MsgProviderResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ProviderGuildRevoke not implemented") +} +func (UnimplementedMsgServer) ProviderDelete(context.Context, *MsgProviderDelete) (*MsgProviderResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ProviderDelete not implemented") +} func (UnimplementedMsgServer) StructActivate(context.Context, *MsgStructActivate) (*MsgStructStatusResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method StructActivate not implemented") } @@ -827,6 +1124,9 @@ func (UnimplementedMsgServer) StructBuildInitiate(context.Context, *MsgStructBui func (UnimplementedMsgServer) StructBuildComplete(context.Context, *MsgStructBuildComplete) (*MsgStructStatusResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method StructBuildComplete not implemented") } +func (UnimplementedMsgServer) StructBuildCancel(context.Context, *MsgStructBuildCancel) (*MsgStructStatusResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method StructBuildCancel not implemented") +} func (UnimplementedMsgServer) StructDefenseSet(context.Context, *MsgStructDefenseSet) (*MsgStructStatusResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method StructDefenseSet not implemented") } @@ -942,6 +1242,96 @@ func _Msg_AddressRevoke_Handler(srv interface{}, ctx context.Context, dec func(i return interceptor(ctx, in, info, handler) } +func _Msg_AgreementOpen_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgAgreementOpen) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).AgreementOpen(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: Msg_AgreementOpen_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).AgreementOpen(ctx, req.(*MsgAgreementOpen)) + } + return interceptor(ctx, in, info, handler) +} + +func _Msg_AgreementClose_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgAgreementClose) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).AgreementClose(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: Msg_AgreementClose_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).AgreementClose(ctx, req.(*MsgAgreementClose)) + } + return interceptor(ctx, in, info, handler) +} + +func _Msg_AgreementCapacityIncrease_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgAgreementCapacityIncrease) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).AgreementCapacityIncrease(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: Msg_AgreementCapacityIncrease_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).AgreementCapacityIncrease(ctx, req.(*MsgAgreementCapacityIncrease)) + } + return interceptor(ctx, in, info, handler) +} + +func _Msg_AgreementCapacityDecrease_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgAgreementCapacityDecrease) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).AgreementCapacityDecrease(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: Msg_AgreementCapacityDecrease_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).AgreementCapacityDecrease(ctx, req.(*MsgAgreementCapacityDecrease)) + } + return interceptor(ctx, in, info, handler) +} + +func _Msg_AgreementDurationIncrease_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgAgreementDurationIncrease) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).AgreementDurationIncrease(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: Msg_AgreementDurationIncrease_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).AgreementDurationIncrease(ctx, req.(*MsgAgreementDurationIncrease)) + } + return interceptor(ctx, in, info, handler) +} + func _Msg_AllocationCreate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(MsgAllocationCreate) if err := dec(in); err != nil { @@ -1050,6 +1440,60 @@ func _Msg_GuildCreate_Handler(srv interface{}, ctx context.Context, dec func(int return interceptor(ctx, in, info, handler) } +func _Msg_GuildBankMint_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgGuildBankMint) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).GuildBankMint(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: Msg_GuildBankMint_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).GuildBankMint(ctx, req.(*MsgGuildBankMint)) + } + return interceptor(ctx, in, info, handler) +} + +func _Msg_GuildBankRedeem_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgGuildBankRedeem) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).GuildBankRedeem(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: Msg_GuildBankRedeem_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).GuildBankRedeem(ctx, req.(*MsgGuildBankRedeem)) + } + return interceptor(ctx, in, info, handler) +} + +func _Msg_GuildBankConfiscateAndBurn_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgGuildBankConfiscateAndBurn) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).GuildBankConfiscateAndBurn(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: Msg_GuildBankConfiscateAndBurn_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).GuildBankConfiscateAndBurn(ctx, req.(*MsgGuildBankConfiscateAndBurn)) + } + return interceptor(ctx, in, info, handler) +} + func _Msg_GuildUpdateOwnerId_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(MsgGuildUpdateOwnerId) if err := dec(in); err != nil { @@ -1518,6 +1962,204 @@ func _Msg_PlayerUpdatePrimaryAddress_Handler(srv interface{}, ctx context.Contex return interceptor(ctx, in, info, handler) } +func _Msg_PlayerResume_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgPlayerResume) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).PlayerResume(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: Msg_PlayerResume_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).PlayerResume(ctx, req.(*MsgPlayerResume)) + } + return interceptor(ctx, in, info, handler) +} + +func _Msg_ProviderCreate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgProviderCreate) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).ProviderCreate(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: Msg_ProviderCreate_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).ProviderCreate(ctx, req.(*MsgProviderCreate)) + } + return interceptor(ctx, in, info, handler) +} + +func _Msg_ProviderWithdrawBalance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgProviderWithdrawBalance) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).ProviderWithdrawBalance(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: Msg_ProviderWithdrawBalance_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).ProviderWithdrawBalance(ctx, req.(*MsgProviderWithdrawBalance)) + } + return interceptor(ctx, in, info, handler) +} + +func _Msg_ProviderUpdateCapacityMinimum_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgProviderUpdateCapacityMinimum) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).ProviderUpdateCapacityMinimum(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: Msg_ProviderUpdateCapacityMinimum_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).ProviderUpdateCapacityMinimum(ctx, req.(*MsgProviderUpdateCapacityMinimum)) + } + return interceptor(ctx, in, info, handler) +} + +func _Msg_ProviderUpdateCapacityMaximum_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgProviderUpdateCapacityMaximum) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).ProviderUpdateCapacityMaximum(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: Msg_ProviderUpdateCapacityMaximum_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).ProviderUpdateCapacityMaximum(ctx, req.(*MsgProviderUpdateCapacityMaximum)) + } + return interceptor(ctx, in, info, handler) +} + +func _Msg_ProviderUpdateDurationMinimum_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgProviderUpdateDurationMinimum) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).ProviderUpdateDurationMinimum(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: Msg_ProviderUpdateDurationMinimum_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).ProviderUpdateDurationMinimum(ctx, req.(*MsgProviderUpdateDurationMinimum)) + } + return interceptor(ctx, in, info, handler) +} + +func _Msg_ProviderUpdateDurationMaximum_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgProviderUpdateDurationMaximum) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).ProviderUpdateDurationMaximum(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: Msg_ProviderUpdateDurationMaximum_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).ProviderUpdateDurationMaximum(ctx, req.(*MsgProviderUpdateDurationMaximum)) + } + return interceptor(ctx, in, info, handler) +} + +func _Msg_ProviderUpdateAccessPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgProviderUpdateAccessPolicy) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).ProviderUpdateAccessPolicy(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: Msg_ProviderUpdateAccessPolicy_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).ProviderUpdateAccessPolicy(ctx, req.(*MsgProviderUpdateAccessPolicy)) + } + return interceptor(ctx, in, info, handler) +} + +func _Msg_ProviderGuildGrant_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgProviderGuildGrant) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).ProviderGuildGrant(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: Msg_ProviderGuildGrant_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).ProviderGuildGrant(ctx, req.(*MsgProviderGuildGrant)) + } + return interceptor(ctx, in, info, handler) +} + +func _Msg_ProviderGuildRevoke_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgProviderGuildRevoke) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).ProviderGuildRevoke(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: Msg_ProviderGuildRevoke_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).ProviderGuildRevoke(ctx, req.(*MsgProviderGuildRevoke)) + } + return interceptor(ctx, in, info, handler) +} + +func _Msg_ProviderDelete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgProviderDelete) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).ProviderDelete(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: Msg_ProviderDelete_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).ProviderDelete(ctx, req.(*MsgProviderDelete)) + } + return interceptor(ctx, in, info, handler) +} + func _Msg_StructActivate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(MsgStructActivate) if err := dec(in); err != nil { @@ -1590,6 +2232,24 @@ func _Msg_StructBuildComplete_Handler(srv interface{}, ctx context.Context, dec return interceptor(ctx, in, info, handler) } +func _Msg_StructBuildCancel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgStructBuildCancel) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).StructBuildCancel(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: Msg_StructBuildCancel_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).StructBuildCancel(ctx, req.(*MsgStructBuildCancel)) + } + return interceptor(ctx, in, info, handler) +} + func _Msg_StructDefenseSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(MsgStructDefenseSet) if err := dec(in); err != nil { @@ -1897,6 +2557,26 @@ var Msg_ServiceDesc = grpc.ServiceDesc{ MethodName: "AddressRevoke", Handler: _Msg_AddressRevoke_Handler, }, + { + MethodName: "AgreementOpen", + Handler: _Msg_AgreementOpen_Handler, + }, + { + MethodName: "AgreementClose", + Handler: _Msg_AgreementClose_Handler, + }, + { + MethodName: "AgreementCapacityIncrease", + Handler: _Msg_AgreementCapacityIncrease_Handler, + }, + { + MethodName: "AgreementCapacityDecrease", + Handler: _Msg_AgreementCapacityDecrease_Handler, + }, + { + MethodName: "AgreementDurationIncrease", + Handler: _Msg_AgreementDurationIncrease_Handler, + }, { MethodName: "AllocationCreate", Handler: _Msg_AllocationCreate_Handler, @@ -1921,6 +2601,18 @@ var Msg_ServiceDesc = grpc.ServiceDesc{ MethodName: "GuildCreate", Handler: _Msg_GuildCreate_Handler, }, + { + MethodName: "GuildBankMint", + Handler: _Msg_GuildBankMint_Handler, + }, + { + MethodName: "GuildBankRedeem", + Handler: _Msg_GuildBankRedeem_Handler, + }, + { + MethodName: "GuildBankConfiscateAndBurn", + Handler: _Msg_GuildBankConfiscateAndBurn_Handler, + }, { MethodName: "GuildUpdateOwnerId", Handler: _Msg_GuildUpdateOwnerId_Handler, @@ -2025,6 +2717,50 @@ var Msg_ServiceDesc = grpc.ServiceDesc{ MethodName: "PlayerUpdatePrimaryAddress", Handler: _Msg_PlayerUpdatePrimaryAddress_Handler, }, + { + MethodName: "PlayerResume", + Handler: _Msg_PlayerResume_Handler, + }, + { + MethodName: "ProviderCreate", + Handler: _Msg_ProviderCreate_Handler, + }, + { + MethodName: "ProviderWithdrawBalance", + Handler: _Msg_ProviderWithdrawBalance_Handler, + }, + { + MethodName: "ProviderUpdateCapacityMinimum", + Handler: _Msg_ProviderUpdateCapacityMinimum_Handler, + }, + { + MethodName: "ProviderUpdateCapacityMaximum", + Handler: _Msg_ProviderUpdateCapacityMaximum_Handler, + }, + { + MethodName: "ProviderUpdateDurationMinimum", + Handler: _Msg_ProviderUpdateDurationMinimum_Handler, + }, + { + MethodName: "ProviderUpdateDurationMaximum", + Handler: _Msg_ProviderUpdateDurationMaximum_Handler, + }, + { + MethodName: "ProviderUpdateAccessPolicy", + Handler: _Msg_ProviderUpdateAccessPolicy_Handler, + }, + { + MethodName: "ProviderGuildGrant", + Handler: _Msg_ProviderGuildGrant_Handler, + }, + { + MethodName: "ProviderGuildRevoke", + Handler: _Msg_ProviderGuildRevoke_Handler, + }, + { + MethodName: "ProviderDelete", + Handler: _Msg_ProviderDelete_Handler, + }, { MethodName: "StructActivate", Handler: _Msg_StructActivate_Handler, @@ -2041,6 +2777,10 @@ var Msg_ServiceDesc = grpc.ServiceDesc{ MethodName: "StructBuildComplete", Handler: _Msg_StructBuildComplete_Handler, }, + { + MethodName: "StructBuildCancel", + Handler: _Msg_StructBuildCancel_Handler, + }, { MethodName: "StructDefenseSet", Handler: _Msg_StructDefenseSet_Handler, diff --git a/cmd/structsd/main.go b/cmd/structsd/main.go index 2b9789d8..ae8e05c8 100644 --- a/cmd/structsd/main.go +++ b/cmd/structsd/main.go @@ -9,13 +9,15 @@ import ( "structs/app" "structs/cmd/structsd/cmd" - sdk "github.com/cosmos/cosmos-sdk/types" - "cosmossdk.io/math" + //sdk "github.com/cosmos/cosmos-sdk/types" + //"cosmossdk.io/math" ) func main() { - sdk.DefaultPowerReduction = math.NewIntFromUint64(10) + // Was used to change the Staking voting power + // But now asset definition of Alpha is more in-line with Cosmos network norms + //sdk.DefaultPowerReduction = math.NewIntFromUint64(10) rootCmd := cmd.NewRootCmd() if err := svrcmd.Execute(rootCmd, "", app.DefaultNodeHome); err != nil { diff --git a/config.yml b/config.yml index 54f215f6..c287fc69 100644 --- a/config.yml +++ b/config.yml @@ -2,14 +2,14 @@ version: 1 accounts: - name: alice coins: - - 200alpha + - 200000000ualpha - name: bob coins: - - 100alpha + - 100000000ualpha faucet: name: bob coins: - - 100alpha + - 100000000ualpha client: typescript: path: ../structs-client-ts @@ -21,20 +21,38 @@ genesis: app_state: crisis: constant_fee: - denom: alpha + denom: ualpha gov: deposit_params: min_deposit: - - amount: "100" - denom: alpha + - amount: "100000000" + denom: ualpha staking: params: - bond_denom: alpha + bond_denom: ualpha slashing: params: signed_blocks_window: "35000" min_signed_per_window: "0.05" - chain_id: structstestnet-00 + bank: + denom_metadata: + - "name": "alpha" + "description": "Alpha Matter, the most powerful material in the Structs universe." + "denom_units": + - "denom": "ualpha" + "exponent": 0 + - "denom": "malpha" + "exponent": 3 + - "denom": "alpha" + "exponent": 6 + - "denom": "kalpha" + "exponent": 9 + - "denom": "talpha" + "exponent": 18 + "base": "ualpha" + "display": "alpha" + "symbol": "ALPHA" + chain_id: structstestnet-00 validators: - name: alice - bonded: 100alpha + bonded: 100000000ualpha \ No newline at end of file diff --git a/docs/static/openapi.yml b/docs/static/openapi.yml index c6a37217..4f77d809 100644 --- a/docs/static/openapi.yml +++ b/docs/static/openapi.yml @@ -1,31860 +1 @@ -swagger: '2.0' -info: - title: HTTP API Console - name: '' - description: '' -paths: - /cosmos.auth.v1beta1.Msg/UpdateParams: - post: - summary: >- - UpdateParams defines a (governance) operation for updating the x/auth - module - - parameters. The authority defaults to the x/gov module account. - description: 'Since: cosmos-sdk 0.47' - operationId: CosmosAuthV1Beta1Msg_UpdateParams - responses: - '200': - description: A successful response. - schema: - type: object - description: >- - MsgUpdateParamsResponse defines the response structure for - executing a - - MsgUpdateParams message. - - - Since: cosmos-sdk 0.47 - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - description: >- - A URL/resource name that uniquely identifies the type of - the serialized - - protocol buffer message. This string must contain at - least - - one "/" character. The last segment of the URL's path - must represent - - the fully qualified name of the type (as in - - `path/google.protobuf.Duration`). The name should be in - a canonical form - - (e.g., leading "." is not accepted). - - - In practice, teams usually precompile into the binary - all types that they - - expect it to use in the context of Any. However, for - URLs which use the - - scheme `http`, `https`, or no scheme, one can optionally - set up a type - - server that maps type URLs to message definitions as - follows: - - - * If no scheme is provided, `https` is assumed. - - * An HTTP GET on the URL must yield a - [google.protobuf.Type][] - value in binary format, or produce an error. - * Applications are allowed to cache lookup results based - on the - URL, or have them precompiled into a binary to avoid any - lookup. Therefore, binary compatibility needs to be preserved - on changes to types. (Use versioned type names to manage - breaking changes.) - - Note: this functionality is not currently available in - the official - - protobuf release, and it is not used for type URLs - beginning with - - type.googleapis.com. As of May 2023, there are no widely - used type server - - implementations and no plans to implement one. - - - Schemes other than `http`, `https` (or the empty scheme) - might be - - used with implementation specific semantics. - additionalProperties: {} - description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - - URL that describes the type of the serialized message. - - - Protobuf library provides support to pack/unpack Any values - in the form - - of utility functions or additional generated methods of the - Any type. - - - Example 1: Pack and unpack a message in C++. - - Foo foo = ...; - Any any; - any.PackFrom(foo); - ... - if (any.UnpackTo(&foo)) { - ... - } - - Example 2: Pack and unpack a message in Java. - - Foo foo = ...; - Any any = Any.pack(foo); - ... - if (any.is(Foo.class)) { - foo = any.unpack(Foo.class); - } - // or ... - if (any.isSameTypeAs(Foo.getDefaultInstance())) { - foo = any.unpack(Foo.getDefaultInstance()); - } - - Example 3: Pack and unpack a message in Python. - - foo = Foo(...) - any = Any() - any.Pack(foo) - ... - if any.Is(Foo.DESCRIPTOR): - any.Unpack(foo) - ... - - Example 4: Pack and unpack a message in Go - - foo := &pb.Foo{...} - any, err := anypb.New(foo) - if err != nil { - ... - } - ... - foo := &pb.Foo{} - if err := any.UnmarshalTo(foo); err != nil { - ... - } - - The pack methods provided by protobuf library will by - default use - - 'type.googleapis.com/full.type.name' as the type URL and the - unpack - - methods only use the fully qualified type name after the - last '/' - - in the type URL, for example "foo.bar.com/x/y.z" will yield - type - - name "y.z". - - - JSON - - ==== - - The JSON representation of an `Any` value uses the regular - - representation of the deserialized, embedded message, with - an - - additional field `@type` which contains the type URL. - Example: - - package google.profile; - message Person { - string first_name = 1; - string last_name = 2; - } - - { - "@type": "type.googleapis.com/google.profile.Person", - "firstName": , - "lastName": - } - - If the embedded message type is well-known and has a custom - JSON - - representation, that representation will be embedded adding - a field - - `value` which holds the custom JSON in addition to the - `@type` - - field. Example (for message [google.protobuf.Duration][]): - - { - "@type": "type.googleapis.com/google.protobuf.Duration", - "value": "1.212s" - } - parameters: - - name: body - description: |- - MsgUpdateParams is the Msg/UpdateParams request type. - - Since: cosmos-sdk 0.47 - in: body - required: true - schema: - type: object - properties: - authority: - type: string - description: >- - authority is the address that controls the module (defaults to - x/gov unless overwritten). - params: - description: |- - params defines the x/auth parameters to update. - - NOTE: All parameters must be supplied. - type: object - properties: - max_memo_characters: - type: string - format: uint64 - tx_sig_limit: - type: string - format: uint64 - tx_size_cost_per_byte: - type: string - format: uint64 - sig_verify_cost_ed25519: - type: string - format: uint64 - sig_verify_cost_secp256k1: - type: string - format: uint64 - description: |- - MsgUpdateParams is the Msg/UpdateParams request type. - - Since: cosmos-sdk 0.47 - tags: - - Msg - /cosmos.authz.v1beta1.Msg/Exec: - post: - summary: |- - Exec attempts to execute the provided messages using - authorizations granted to the grantee. Each message should have only - one signer corresponding to the granter of the authorization. - operationId: CosmosAuthzV1Beta1Msg_Exec - responses: - '200': - description: A successful response. - schema: - type: object - properties: - results: - type: array - items: - type: string - format: byte - description: MsgExecResponse defines the Msg/MsgExecResponse response type. - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - description: >- - A URL/resource name that uniquely identifies the type of - the serialized - - protocol buffer message. This string must contain at - least - - one "/" character. The last segment of the URL's path - must represent - - the fully qualified name of the type (as in - - `path/google.protobuf.Duration`). The name should be in - a canonical form - - (e.g., leading "." is not accepted). - - - In practice, teams usually precompile into the binary - all types that they - - expect it to use in the context of Any. However, for - URLs which use the - - scheme `http`, `https`, or no scheme, one can optionally - set up a type - - server that maps type URLs to message definitions as - follows: - - - * If no scheme is provided, `https` is assumed. - - * An HTTP GET on the URL must yield a - [google.protobuf.Type][] - value in binary format, or produce an error. - * Applications are allowed to cache lookup results based - on the - URL, or have them precompiled into a binary to avoid any - lookup. Therefore, binary compatibility needs to be preserved - on changes to types. (Use versioned type names to manage - breaking changes.) - - Note: this functionality is not currently available in - the official - - protobuf release, and it is not used for type URLs - beginning with - - type.googleapis.com. As of May 2023, there are no widely - used type server - - implementations and no plans to implement one. - - - Schemes other than `http`, `https` (or the empty scheme) - might be - - used with implementation specific semantics. - additionalProperties: {} - description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - - URL that describes the type of the serialized message. - - - Protobuf library provides support to pack/unpack Any values - in the form - - of utility functions or additional generated methods of the - Any type. - - - Example 1: Pack and unpack a message in C++. - - Foo foo = ...; - Any any; - any.PackFrom(foo); - ... - if (any.UnpackTo(&foo)) { - ... - } - - Example 2: Pack and unpack a message in Java. - - Foo foo = ...; - Any any = Any.pack(foo); - ... - if (any.is(Foo.class)) { - foo = any.unpack(Foo.class); - } - // or ... - if (any.isSameTypeAs(Foo.getDefaultInstance())) { - foo = any.unpack(Foo.getDefaultInstance()); - } - - Example 3: Pack and unpack a message in Python. - - foo = Foo(...) - any = Any() - any.Pack(foo) - ... - if any.Is(Foo.DESCRIPTOR): - any.Unpack(foo) - ... - - Example 4: Pack and unpack a message in Go - - foo := &pb.Foo{...} - any, err := anypb.New(foo) - if err != nil { - ... - } - ... - foo := &pb.Foo{} - if err := any.UnmarshalTo(foo); err != nil { - ... - } - - The pack methods provided by protobuf library will by - default use - - 'type.googleapis.com/full.type.name' as the type URL and the - unpack - - methods only use the fully qualified type name after the - last '/' - - in the type URL, for example "foo.bar.com/x/y.z" will yield - type - - name "y.z". - - - JSON - - ==== - - The JSON representation of an `Any` value uses the regular - - representation of the deserialized, embedded message, with - an - - additional field `@type` which contains the type URL. - Example: - - package google.profile; - message Person { - string first_name = 1; - string last_name = 2; - } - - { - "@type": "type.googleapis.com/google.profile.Person", - "firstName": , - "lastName": - } - - If the embedded message type is well-known and has a custom - JSON - - representation, that representation will be embedded adding - a field - - `value` which holds the custom JSON in addition to the - `@type` - - field. Example (for message [google.protobuf.Duration][]): - - { - "@type": "type.googleapis.com/google.protobuf.Duration", - "value": "1.212s" - } - parameters: - - name: body - description: |- - MsgExec attempts to execute the provided messages using - authorizations granted to the grantee. Each message should have only - one signer corresponding to the granter of the authorization. - in: body - required: true - schema: - type: object - properties: - grantee: - type: string - msgs: - type: array - items: - type: object - properties: - '@type': - type: string - description: >- - A URL/resource name that uniquely identifies the type of - the serialized - - protocol buffer message. This string must contain at - least - - one "/" character. The last segment of the URL's path - must represent - - the fully qualified name of the type (as in - - `path/google.protobuf.Duration`). The name should be in - a canonical form - - (e.g., leading "." is not accepted). - - - In practice, teams usually precompile into the binary - all types that they - - expect it to use in the context of Any. However, for - URLs which use the - - scheme `http`, `https`, or no scheme, one can optionally - set up a type - - server that maps type URLs to message definitions as - follows: - - - * If no scheme is provided, `https` is assumed. - - * An HTTP GET on the URL must yield a - [google.protobuf.Type][] - value in binary format, or produce an error. - * Applications are allowed to cache lookup results based - on the - URL, or have them precompiled into a binary to avoid any - lookup. Therefore, binary compatibility needs to be preserved - on changes to types. (Use versioned type names to manage - breaking changes.) - - Note: this functionality is not currently available in - the official - - protobuf release, and it is not used for type URLs - beginning with - - type.googleapis.com. As of May 2023, there are no widely - used type server - - implementations and no plans to implement one. - - - Schemes other than `http`, `https` (or the empty scheme) - might be - - used with implementation specific semantics. - additionalProperties: {} - description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - - URL that describes the type of the serialized message. - - - Protobuf library provides support to pack/unpack Any values - in the form - - of utility functions or additional generated methods of the - Any type. - - - Example 1: Pack and unpack a message in C++. - - Foo foo = ...; - Any any; - any.PackFrom(foo); - ... - if (any.UnpackTo(&foo)) { - ... - } - - Example 2: Pack and unpack a message in Java. - - Foo foo = ...; - Any any = Any.pack(foo); - ... - if (any.is(Foo.class)) { - foo = any.unpack(Foo.class); - } - // or ... - if (any.isSameTypeAs(Foo.getDefaultInstance())) { - foo = any.unpack(Foo.getDefaultInstance()); - } - - Example 3: Pack and unpack a message in Python. - - foo = Foo(...) - any = Any() - any.Pack(foo) - ... - if any.Is(Foo.DESCRIPTOR): - any.Unpack(foo) - ... - - Example 4: Pack and unpack a message in Go - - foo := &pb.Foo{...} - any, err := anypb.New(foo) - if err != nil { - ... - } - ... - foo := &pb.Foo{} - if err := any.UnmarshalTo(foo); err != nil { - ... - } - - The pack methods provided by protobuf library will by - default use - - 'type.googleapis.com/full.type.name' as the type URL and the - unpack - - methods only use the fully qualified type name after the - last '/' - - in the type URL, for example "foo.bar.com/x/y.z" will yield - type - - name "y.z". - - - JSON - - ==== - - The JSON representation of an `Any` value uses the regular - - representation of the deserialized, embedded message, with - an - - additional field `@type` which contains the type URL. - Example: - - package google.profile; - message Person { - string first_name = 1; - string last_name = 2; - } - - { - "@type": "type.googleapis.com/google.profile.Person", - "firstName": , - "lastName": - } - - If the embedded message type is well-known and has a custom - JSON - - representation, that representation will be embedded adding - a field - - `value` which holds the custom JSON in addition to the - `@type` - - field. Example (for message [google.protobuf.Duration][]): - - { - "@type": "type.googleapis.com/google.protobuf.Duration", - "value": "1.212s" - } - description: >- - Execute Msg. - - The x/authz will try to find a grant matching (msg.signers[0], - grantee, MsgTypeURL(msg)) - - triple and validate it. - description: >- - MsgExec attempts to execute the provided messages using - - authorizations granted to the grantee. Each message should have - only - - one signer corresponding to the granter of the authorization. - tags: - - Msg - /cosmos.authz.v1beta1.Msg/Grant: - post: - summary: |- - Grant grants the provided authorization to the grantee on the granter's - account with the provided expiration time. If there is already a grant - for the given (granter, grantee, Authorization) triple, then the grant - will be overwritten. - operationId: CosmosAuthzV1Beta1Msg_Grant - responses: - '200': - description: A successful response. - schema: - type: object - description: MsgGrantResponse defines the Msg/MsgGrant response type. - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - description: >- - A URL/resource name that uniquely identifies the type of - the serialized - - protocol buffer message. This string must contain at - least - - one "/" character. The last segment of the URL's path - must represent - - the fully qualified name of the type (as in - - `path/google.protobuf.Duration`). The name should be in - a canonical form - - (e.g., leading "." is not accepted). - - - In practice, teams usually precompile into the binary - all types that they - - expect it to use in the context of Any. However, for - URLs which use the - - scheme `http`, `https`, or no scheme, one can optionally - set up a type - - server that maps type URLs to message definitions as - follows: - - - * If no scheme is provided, `https` is assumed. - - * An HTTP GET on the URL must yield a - [google.protobuf.Type][] - value in binary format, or produce an error. - * Applications are allowed to cache lookup results based - on the - URL, or have them precompiled into a binary to avoid any - lookup. Therefore, binary compatibility needs to be preserved - on changes to types. (Use versioned type names to manage - breaking changes.) - - Note: this functionality is not currently available in - the official - - protobuf release, and it is not used for type URLs - beginning with - - type.googleapis.com. As of May 2023, there are no widely - used type server - - implementations and no plans to implement one. - - - Schemes other than `http`, `https` (or the empty scheme) - might be - - used with implementation specific semantics. - additionalProperties: {} - description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - - URL that describes the type of the serialized message. - - - Protobuf library provides support to pack/unpack Any values - in the form - - of utility functions or additional generated methods of the - Any type. - - - Example 1: Pack and unpack a message in C++. - - Foo foo = ...; - Any any; - any.PackFrom(foo); - ... - if (any.UnpackTo(&foo)) { - ... - } - - Example 2: Pack and unpack a message in Java. - - Foo foo = ...; - Any any = Any.pack(foo); - ... - if (any.is(Foo.class)) { - foo = any.unpack(Foo.class); - } - // or ... - if (any.isSameTypeAs(Foo.getDefaultInstance())) { - foo = any.unpack(Foo.getDefaultInstance()); - } - - Example 3: Pack and unpack a message in Python. - - foo = Foo(...) - any = Any() - any.Pack(foo) - ... - if any.Is(Foo.DESCRIPTOR): - any.Unpack(foo) - ... - - Example 4: Pack and unpack a message in Go - - foo := &pb.Foo{...} - any, err := anypb.New(foo) - if err != nil { - ... - } - ... - foo := &pb.Foo{} - if err := any.UnmarshalTo(foo); err != nil { - ... - } - - The pack methods provided by protobuf library will by - default use - - 'type.googleapis.com/full.type.name' as the type URL and the - unpack - - methods only use the fully qualified type name after the - last '/' - - in the type URL, for example "foo.bar.com/x/y.z" will yield - type - - name "y.z". - - - JSON - - ==== - - The JSON representation of an `Any` value uses the regular - - representation of the deserialized, embedded message, with - an - - additional field `@type` which contains the type URL. - Example: - - package google.profile; - message Person { - string first_name = 1; - string last_name = 2; - } - - { - "@type": "type.googleapis.com/google.profile.Person", - "firstName": , - "lastName": - } - - If the embedded message type is well-known and has a custom - JSON - - representation, that representation will be embedded adding - a field - - `value` which holds the custom JSON in addition to the - `@type` - - field. Example (for message [google.protobuf.Duration][]): - - { - "@type": "type.googleapis.com/google.protobuf.Duration", - "value": "1.212s" - } - parameters: - - name: body - description: >- - MsgGrant is a request type for Grant method. It declares - authorization to the grantee - - on behalf of the granter with the provided expiration time. - in: body - required: true - schema: - type: object - properties: - granter: - type: string - grantee: - type: string - grant: - type: object - properties: - authorization: - type: object - properties: - '@type': - type: string - description: >- - A URL/resource name that uniquely identifies the type - of the serialized - - protocol buffer message. This string must contain at - least - - one "/" character. The last segment of the URL's path - must represent - - the fully qualified name of the type (as in - - `path/google.protobuf.Duration`). The name should be - in a canonical form - - (e.g., leading "." is not accepted). - - - In practice, teams usually precompile into the binary - all types that they - - expect it to use in the context of Any. However, for - URLs which use the - - scheme `http`, `https`, or no scheme, one can - optionally set up a type - - server that maps type URLs to message definitions as - follows: - - - * If no scheme is provided, `https` is assumed. - - * An HTTP GET on the URL must yield a - [google.protobuf.Type][] - value in binary format, or produce an error. - * Applications are allowed to cache lookup results - based on the - URL, or have them precompiled into a binary to avoid any - lookup. Therefore, binary compatibility needs to be preserved - on changes to types. (Use versioned type names to manage - breaking changes.) - - Note: this functionality is not currently available in - the official - - protobuf release, and it is not used for type URLs - beginning with - - type.googleapis.com. As of May 2023, there are no - widely used type server - - implementations and no plans to implement one. - - - Schemes other than `http`, `https` (or the empty - scheme) might be - - used with implementation specific semantics. - additionalProperties: {} - description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - - URL that describes the type of the serialized message. - - - Protobuf library provides support to pack/unpack Any - values in the form - - of utility functions or additional generated methods of - the Any type. - - - Example 1: Pack and unpack a message in C++. - - Foo foo = ...; - Any any; - any.PackFrom(foo); - ... - if (any.UnpackTo(&foo)) { - ... - } - - Example 2: Pack and unpack a message in Java. - - Foo foo = ...; - Any any = Any.pack(foo); - ... - if (any.is(Foo.class)) { - foo = any.unpack(Foo.class); - } - // or ... - if (any.isSameTypeAs(Foo.getDefaultInstance())) { - foo = any.unpack(Foo.getDefaultInstance()); - } - - Example 3: Pack and unpack a message in Python. - - foo = Foo(...) - any = Any() - any.Pack(foo) - ... - if any.Is(Foo.DESCRIPTOR): - any.Unpack(foo) - ... - - Example 4: Pack and unpack a message in Go - - foo := &pb.Foo{...} - any, err := anypb.New(foo) - if err != nil { - ... - } - ... - foo := &pb.Foo{} - if err := any.UnmarshalTo(foo); err != nil { - ... - } - - The pack methods provided by protobuf library will by - default use - - 'type.googleapis.com/full.type.name' as the type URL and - the unpack - - methods only use the fully qualified type name after the - last '/' - - in the type URL, for example "foo.bar.com/x/y.z" will - yield type - - name "y.z". - - - JSON - - ==== - - The JSON representation of an `Any` value uses the regular - - representation of the deserialized, embedded message, with - an - - additional field `@type` which contains the type URL. - Example: - - package google.profile; - message Person { - string first_name = 1; - string last_name = 2; - } - - { - "@type": "type.googleapis.com/google.profile.Person", - "firstName": , - "lastName": - } - - If the embedded message type is well-known and has a - custom JSON - - representation, that representation will be embedded - adding a field - - `value` which holds the custom JSON in addition to the - `@type` - - field. Example (for message [google.protobuf.Duration][]): - - { - "@type": "type.googleapis.com/google.protobuf.Duration", - "value": "1.212s" - } - expiration: - type: string - format: date-time - title: >- - time when the grant will expire and will be pruned. If - null, then the grant - - doesn't have a time expiration (other conditions in - `authorization` - - may apply to invalidate the grant) - description: |- - Grant gives permissions to execute - the provide method with expiration time. - description: >- - MsgGrant is a request type for Grant method. It declares - authorization to the grantee - - on behalf of the granter with the provided expiration time. - tags: - - Msg - /cosmos.authz.v1beta1.Msg/Revoke: - post: - summary: >- - Revoke revokes any authorization corresponding to the provided method - name on the - - granter's account that has been granted to the grantee. - operationId: CosmosAuthzV1Beta1Msg_Revoke - responses: - '200': - description: A successful response. - schema: - type: object - description: MsgRevokeResponse defines the Msg/MsgRevokeResponse response type. - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - description: >- - A URL/resource name that uniquely identifies the type of - the serialized - - protocol buffer message. This string must contain at - least - - one "/" character. The last segment of the URL's path - must represent - - the fully qualified name of the type (as in - - `path/google.protobuf.Duration`). The name should be in - a canonical form - - (e.g., leading "." is not accepted). - - - In practice, teams usually precompile into the binary - all types that they - - expect it to use in the context of Any. However, for - URLs which use the - - scheme `http`, `https`, or no scheme, one can optionally - set up a type - - server that maps type URLs to message definitions as - follows: - - - * If no scheme is provided, `https` is assumed. - - * An HTTP GET on the URL must yield a - [google.protobuf.Type][] - value in binary format, or produce an error. - * Applications are allowed to cache lookup results based - on the - URL, or have them precompiled into a binary to avoid any - lookup. Therefore, binary compatibility needs to be preserved - on changes to types. (Use versioned type names to manage - breaking changes.) - - Note: this functionality is not currently available in - the official - - protobuf release, and it is not used for type URLs - beginning with - - type.googleapis.com. As of May 2023, there are no widely - used type server - - implementations and no plans to implement one. - - - Schemes other than `http`, `https` (or the empty scheme) - might be - - used with implementation specific semantics. - additionalProperties: {} - description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - - URL that describes the type of the serialized message. - - - Protobuf library provides support to pack/unpack Any values - in the form - - of utility functions or additional generated methods of the - Any type. - - - Example 1: Pack and unpack a message in C++. - - Foo foo = ...; - Any any; - any.PackFrom(foo); - ... - if (any.UnpackTo(&foo)) { - ... - } - - Example 2: Pack and unpack a message in Java. - - Foo foo = ...; - Any any = Any.pack(foo); - ... - if (any.is(Foo.class)) { - foo = any.unpack(Foo.class); - } - // or ... - if (any.isSameTypeAs(Foo.getDefaultInstance())) { - foo = any.unpack(Foo.getDefaultInstance()); - } - - Example 3: Pack and unpack a message in Python. - - foo = Foo(...) - any = Any() - any.Pack(foo) - ... - if any.Is(Foo.DESCRIPTOR): - any.Unpack(foo) - ... - - Example 4: Pack and unpack a message in Go - - foo := &pb.Foo{...} - any, err := anypb.New(foo) - if err != nil { - ... - } - ... - foo := &pb.Foo{} - if err := any.UnmarshalTo(foo); err != nil { - ... - } - - The pack methods provided by protobuf library will by - default use - - 'type.googleapis.com/full.type.name' as the type URL and the - unpack - - methods only use the fully qualified type name after the - last '/' - - in the type URL, for example "foo.bar.com/x/y.z" will yield - type - - name "y.z". - - - JSON - - ==== - - The JSON representation of an `Any` value uses the regular - - representation of the deserialized, embedded message, with - an - - additional field `@type` which contains the type URL. - Example: - - package google.profile; - message Person { - string first_name = 1; - string last_name = 2; - } - - { - "@type": "type.googleapis.com/google.profile.Person", - "firstName": , - "lastName": - } - - If the embedded message type is well-known and has a custom - JSON - - representation, that representation will be embedded adding - a field - - `value` which holds the custom JSON in addition to the - `@type` - - field. Example (for message [google.protobuf.Duration][]): - - { - "@type": "type.googleapis.com/google.protobuf.Duration", - "value": "1.212s" - } - parameters: - - name: body - description: >- - MsgRevoke revokes any authorization with the provided sdk.Msg type - on the - - granter's account with that has been granted to the grantee. - in: body - required: true - schema: - type: object - properties: - granter: - type: string - grantee: - type: string - msg_type_url: - type: string - description: >- - MsgRevoke revokes any authorization with the provided sdk.Msg type - on the - - granter's account with that has been granted to the grantee. - tags: - - Msg - /cosmos.bank.v1beta1.Msg/MultiSend: - post: - summary: >- - MultiSend defines a method for sending coins from some accounts to other - accounts. - operationId: CosmosBankV1Beta1Msg_MultiSend - responses: - '200': - description: A successful response. - schema: - type: object - description: MsgMultiSendResponse defines the Msg/MultiSend response type. - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - additionalProperties: {} - parameters: - - name: body - description: >- - MsgMultiSend represents an arbitrary multi-in, multi-out send - message. - in: body - required: true - schema: - type: object - properties: - inputs: - type: array - items: - type: object - properties: - address: - type: string - coins: - type: array - items: - type: object - properties: - denom: - type: string - amount: - type: string - description: >- - Coin defines a token with a denomination and an - amount. - - - NOTE: The amount field is an Int which implements the - custom method - - signatures required by gogoproto. - description: Input models transaction input. - description: >- - Inputs, despite being `repeated`, only allows one sender - input. This is - - checked in MsgMultiSend's ValidateBasic. - outputs: - type: array - items: - type: object - properties: - address: - type: string - coins: - type: array - items: - type: object - properties: - denom: - type: string - amount: - type: string - description: >- - Coin defines a token with a denomination and an - amount. - - - NOTE: The amount field is an Int which implements the - custom method - - signatures required by gogoproto. - description: Output models transaction outputs. - description: >- - MsgMultiSend represents an arbitrary multi-in, multi-out send - message. - tags: - - Msg - /cosmos.bank.v1beta1.Msg/Send: - post: - summary: >- - Send defines a method for sending coins from one account to another - account. - operationId: CosmosBankV1Beta1Msg_Send - responses: - '200': - description: A successful response. - schema: - type: object - description: MsgSendResponse defines the Msg/Send response type. - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - additionalProperties: {} - parameters: - - name: body - description: >- - MsgSend represents a message to send coins from one account to - another. - in: body - required: true - schema: - type: object - properties: - from_address: - type: string - to_address: - type: string - amount: - type: array - items: - type: object - properties: - denom: - type: string - amount: - type: string - description: >- - Coin defines a token with a denomination and an amount. - - - NOTE: The amount field is an Int which implements the custom - method - - signatures required by gogoproto. - description: >- - MsgSend represents a message to send coins from one account to - another. - tags: - - Msg - /cosmos.bank.v1beta1.Msg/SetSendEnabled: - post: - summary: >- - SetSendEnabled is a governance operation for setting the SendEnabled - flag - - on any number of Denoms. Only the entries to add or update should be - - included. Entries that already exist in the store, but that aren't - - included in this message, will be left unchanged. - description: 'Since: cosmos-sdk 0.47' - operationId: CosmosBankV1Beta1Msg_SetSendEnabled - responses: - '200': - description: A successful response. - schema: - type: object - description: >- - MsgSetSendEnabledResponse defines the Msg/SetSendEnabled response - type. - - - Since: cosmos-sdk 0.47 - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - additionalProperties: {} - parameters: - - name: body - description: |- - MsgSetSendEnabled is the Msg/SetSendEnabled request type. - - Only entries to add/update/delete need to be included. - Existing SendEnabled entries that are not included in this - message are left unchanged. - - Since: cosmos-sdk 0.47 - in: body - required: true - schema: - type: object - properties: - authority: - type: string - description: authority is the address that controls the module. - send_enabled: - type: array - items: - type: object - properties: - denom: - type: string - enabled: - type: boolean - description: >- - SendEnabled maps coin denom to a send_enabled status - (whether a denom is - - sendable). - description: send_enabled is the list of entries to add or update. - use_default_for: - type: array - items: - type: string - description: >- - use_default_for is a list of denoms that should use the - params.default_send_enabled value. - - Denoms listed here will have their SendEnabled entries - deleted. - - If a denom is included that doesn't have a SendEnabled entry, - - it will be ignored. - description: |- - MsgSetSendEnabled is the Msg/SetSendEnabled request type. - - Only entries to add/update/delete need to be included. - Existing SendEnabled entries that are not included in this - message are left unchanged. - - Since: cosmos-sdk 0.47 - tags: - - Msg - /cosmos.bank.v1beta1.Msg/UpdateParams: - post: - summary: >- - UpdateParams defines a governance operation for updating the x/bank - module parameters. - - The authority is defined in the keeper. - description: 'Since: cosmos-sdk 0.47' - operationId: CosmosBankV1Beta1Msg_UpdateParams - responses: - '200': - description: A successful response. - schema: - type: object - description: >- - MsgUpdateParamsResponse defines the response structure for - executing a - - MsgUpdateParams message. - - - Since: cosmos-sdk 0.47 - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - additionalProperties: {} - parameters: - - name: body - description: |- - MsgUpdateParams is the Msg/UpdateParams request type. - - Since: cosmos-sdk 0.47 - in: body - required: true - schema: - type: object - properties: - authority: - type: string - description: >- - authority is the address that controls the module (defaults to - x/gov unless overwritten). - params: - description: |- - params defines the x/bank parameters to update. - - NOTE: All parameters must be supplied. - type: object - properties: - send_enabled: - type: array - items: - type: object - properties: - denom: - type: string - enabled: - type: boolean - description: >- - SendEnabled maps coin denom to a send_enabled status - (whether a denom is - - sendable). - description: >- - Deprecated: Use of SendEnabled in params is deprecated. - - For genesis, use the newly added send_enabled field in the - genesis object. - - Storage, lookup, and manipulation of this information is - now in the keeper. - - - As of cosmos-sdk 0.47, this only exists for backwards - compatibility of genesis files. - default_send_enabled: - type: boolean - description: |- - MsgUpdateParams is the Msg/UpdateParams request type. - - Since: cosmos-sdk 0.47 - tags: - - Msg - /cosmos/base/node/v1beta1/config: - get: - summary: Config queries for the operator configuration. - operationId: CosmosBaseNodeV1Beta1Service_Config - responses: - '200': - description: A successful response. - schema: - type: object - properties: - minimum_gas_price: - type: string - pruning_keep_recent: - type: string - pruning_interval: - type: string - halt_height: - type: string - format: uint64 - description: >- - ConfigResponse defines the response structure for the Config gRPC - query. - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - additionalProperties: {} - tags: - - Service - /cosmos/base/node/v1beta1/status: - get: - summary: Status queries for the node status. - operationId: CosmosBaseNodeV1Beta1Service_Status - responses: - '200': - description: A successful response. - schema: - type: object - properties: - earliest_store_height: - type: string - format: uint64 - title: earliest block height available in the store - height: - type: string - format: uint64 - title: current block height - timestamp: - type: string - format: date-time - title: block height timestamp - app_hash: - type: string - format: byte - title: app hash of the current block - validator_hash: - type: string - format: byte - title: validator hash provided by the consensus header - description: >- - StateResponse defines the response structure for the status of a - node. - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - additionalProperties: {} - tags: - - Service - /cosmos.consensus.v1.Msg/UpdateParams: - post: - summary: >- - UpdateParams defines a governance operation for updating the x/consensus - module parameters. - - The authority is defined in the keeper. - description: 'Since: cosmos-sdk 0.47' - operationId: CosmosConsensusV1Msg_UpdateParams - responses: - '200': - description: A successful response. - schema: - type: object - description: >- - MsgUpdateParamsResponse defines the response structure for - executing a - - MsgUpdateParams message. - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - additionalProperties: {} - parameters: - - name: body - description: MsgUpdateParams is the Msg/UpdateParams request type. - in: body - required: true - schema: - type: object - properties: - authority: - type: string - description: >- - authority is the address that controls the module (defaults to - x/gov unless overwritten). - block: - description: >- - params defines the x/consensus parameters to update. - - VersionsParams is not included in this Msg because it is - tracked - - separarately in x/upgrade. - - - NOTE: All parameters must be supplied. - type: object - properties: - max_bytes: - type: string - format: int64 - title: |- - Max block size, in bytes. - Note: must be greater than 0 - max_gas: - type: string - format: int64 - title: |- - Max gas per block. - Note: must be greater or equal to -1 - evidence: - type: object - properties: - max_age_num_blocks: - type: string - format: int64 - description: >- - Max age of evidence, in blocks. - - - The basic formula for calculating this is: MaxAgeDuration - / {average block - - time}. - max_age_duration: - type: string - description: >- - Max age of evidence, in time. - - - It should correspond with an app's "unbonding period" or - other similar - - mechanism for handling [Nothing-At-Stake - - attacks](https://github.com/ethereum/wiki/wiki/Proof-of-Stake-FAQ#what-is-the-nothing-at-stake-problem-and-how-can-it-be-fixed). - max_bytes: - type: string - format: int64 - title: >- - This sets the maximum size of total evidence in bytes that - can be committed in a single block. - - and should fall comfortably under the max block bytes. - - Default is 1048576 or 1MB - description: >- - EvidenceParams determine how we handle evidence of - malfeasance. - validator: - type: object - properties: - pub_key_types: - type: array - items: - type: string - description: >- - ValidatorParams restrict the public key types validators can - use. - - NOTE: uses ABCI pubkey naming, not Amino names. - abci: - title: 'Since: cosmos-sdk 0.50' - type: object - properties: - vote_extensions_enable_height: - type: string - format: int64 - description: >- - vote_extensions_enable_height configures the first height - during which - - vote extensions will be enabled. During this specified - height, and for all - - subsequent heights, precommit messages that do not contain - valid extension data - - will be considered invalid. Prior to this height, vote - extensions will not - - be used or accepted by validators on the network. - - - Once enabled, vote extensions will be created by the - application in ExtendVote, - - passed to the application for validation in - VerifyVoteExtension and given - - to the application to use when proposing a block during - PrepareProposal. - description: >- - ABCIParams configure functionality specific to the Application - Blockchain Interface. - description: MsgUpdateParams is the Msg/UpdateParams request type. - tags: - - Msg - /cosmos.crisis.v1beta1.Msg/UpdateParams: - post: - summary: >- - UpdateParams defines a governance operation for updating the x/crisis - module - - parameters. The authority is defined in the keeper. - description: 'Since: cosmos-sdk 0.47' - operationId: CosmosCrisisV1Beta1Msg_UpdateParams - responses: - '200': - description: A successful response. - schema: - type: object - description: >- - MsgUpdateParamsResponse defines the response structure for - executing a - - MsgUpdateParams message. - - - Since: cosmos-sdk 0.47 - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - additionalProperties: {} - parameters: - - name: body - description: |- - MsgUpdateParams is the Msg/UpdateParams request type. - - Since: cosmos-sdk 0.47 - in: body - required: true - schema: - type: object - properties: - authority: - type: string - description: >- - authority is the address that controls the module (defaults to - x/gov unless overwritten). - constant_fee: - description: constant_fee defines the x/crisis parameter. - type: object - properties: - denom: - type: string - amount: - type: string - description: |- - MsgUpdateParams is the Msg/UpdateParams request type. - - Since: cosmos-sdk 0.47 - tags: - - Msg - /cosmos.crisis.v1beta1.Msg/VerifyInvariant: - post: - summary: VerifyInvariant defines a method to verify a particular invariant. - operationId: CosmosCrisisV1Beta1Msg_VerifyInvariant - responses: - '200': - description: A successful response. - schema: - type: object - description: >- - MsgVerifyInvariantResponse defines the Msg/VerifyInvariant - response type. - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - additionalProperties: {} - parameters: - - name: body - description: >- - MsgVerifyInvariant represents a message to verify a particular - invariance. - in: body - required: true - schema: - type: object - properties: - sender: - type: string - description: >- - sender is the account address of private key to send coins to - fee collector account. - invariant_module_name: - type: string - description: name of the invariant module. - invariant_route: - type: string - description: invariant_route is the msg's invariant route. - description: >- - MsgVerifyInvariant represents a message to verify a particular - invariance. - tags: - - Msg - /cosmos.distribution.v1beta1.Msg/CommunityPoolSpend: - post: - summary: >- - CommunityPoolSpend defines a governance operation for sending tokens - from - - the community pool in the x/distribution module to another account, - which - - could be the governance module itself. The authority is defined in the - - keeper. - description: 'Since: cosmos-sdk 0.47' - operationId: CosmosDistributionV1Beta1Msg_CommunityPoolSpend - responses: - '200': - description: A successful response. - schema: - type: object - description: |- - MsgCommunityPoolSpendResponse defines the response to executing a - MsgCommunityPoolSpend message. - - Since: cosmos-sdk 0.47 - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - additionalProperties: {} - parameters: - - name: body - description: >- - MsgCommunityPoolSpend defines a message for sending tokens from the - community - - pool to another account. This message is typically executed via a - governance - - proposal with the governance module being the executing authority. - - - Since: cosmos-sdk 0.47 - in: body - required: true - schema: - type: object - properties: - authority: - type: string - description: >- - authority is the address that controls the module (defaults to - x/gov unless overwritten). - recipient: - type: string - amount: - type: array - items: - type: object - properties: - denom: - type: string - amount: - type: string - description: >- - Coin defines a token with a denomination and an amount. - - - NOTE: The amount field is an Int which implements the custom - method - - signatures required by gogoproto. - description: >- - MsgCommunityPoolSpend defines a message for sending tokens from - the community - - pool to another account. This message is typically executed via a - governance - - proposal with the governance module being the executing authority. - - - Since: cosmos-sdk 0.47 - tags: - - Msg - /cosmos.distribution.v1beta1.Msg/DepositValidatorRewardsPool: - post: - summary: >- - DepositValidatorRewardsPool defines a method to provide additional - rewards - - to delegators to a specific validator. - description: 'Since: cosmos-sdk 0.50' - operationId: CosmosDistributionV1Beta1Msg_DepositValidatorRewardsPool - responses: - '200': - description: A successful response. - schema: - type: object - description: >- - MsgDepositValidatorRewardsPoolResponse defines the response to - executing a - - MsgDepositValidatorRewardsPool message. - - - Since: cosmos-sdk 0.50 - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - additionalProperties: {} - parameters: - - name: body - description: |- - DepositValidatorRewardsPool defines the request structure to provide - additional rewards to delegators from a specific validator. - - Since: cosmos-sdk 0.50 - in: body - required: true - schema: - type: object - properties: - depositor: - type: string - validator_address: - type: string - amount: - type: array - items: - type: object - properties: - denom: - type: string - amount: - type: string - description: >- - Coin defines a token with a denomination and an amount. - - - NOTE: The amount field is an Int which implements the custom - method - - signatures required by gogoproto. - description: >- - DepositValidatorRewardsPool defines the request structure to - provide - - additional rewards to delegators from a specific validator. - - - Since: cosmos-sdk 0.50 - tags: - - Msg - /cosmos.distribution.v1beta1.Msg/FundCommunityPool: - post: - summary: |- - FundCommunityPool defines a method to allow an account to directly - fund the community pool. - operationId: CosmosDistributionV1Beta1Msg_FundCommunityPool - responses: - '200': - description: A successful response. - schema: - type: object - description: >- - MsgFundCommunityPoolResponse defines the Msg/FundCommunityPool - response type. - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - additionalProperties: {} - parameters: - - name: body - description: |- - MsgFundCommunityPool allows an account to directly - fund the community pool. - in: body - required: true - schema: - type: object - properties: - amount: - type: array - items: - type: object - properties: - denom: - type: string - amount: - type: string - description: >- - Coin defines a token with a denomination and an amount. - - - NOTE: The amount field is an Int which implements the custom - method - - signatures required by gogoproto. - depositor: - type: string - description: |- - MsgFundCommunityPool allows an account to directly - fund the community pool. - tags: - - Msg - /cosmos.distribution.v1beta1.Msg/SetWithdrawAddress: - post: - summary: |- - SetWithdrawAddress defines a method to change the withdraw address - for a delegator (or validator self-delegation). - operationId: CosmosDistributionV1Beta1Msg_SetWithdrawAddress - responses: - '200': - description: A successful response. - schema: - type: object - description: >- - MsgSetWithdrawAddressResponse defines the Msg/SetWithdrawAddress - response - - type. - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - additionalProperties: {} - parameters: - - name: body - description: |- - MsgSetWithdrawAddress sets the withdraw address for - a delegator (or validator self-delegation). - in: body - required: true - schema: - type: object - properties: - delegator_address: - type: string - withdraw_address: - type: string - description: |- - MsgSetWithdrawAddress sets the withdraw address for - a delegator (or validator self-delegation). - tags: - - Msg - /cosmos.distribution.v1beta1.Msg/UpdateParams: - post: - summary: >- - UpdateParams defines a governance operation for updating the - x/distribution - - module parameters. The authority is defined in the keeper. - description: 'Since: cosmos-sdk 0.47' - operationId: CosmosDistributionV1Beta1Msg_UpdateParams - responses: - '200': - description: A successful response. - schema: - type: object - description: >- - MsgUpdateParamsResponse defines the response structure for - executing a - - MsgUpdateParams message. - - - Since: cosmos-sdk 0.47 - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - additionalProperties: {} - parameters: - - name: body - description: |- - MsgUpdateParams is the Msg/UpdateParams request type. - - Since: cosmos-sdk 0.47 - in: body - required: true - schema: - type: object - properties: - authority: - type: string - description: >- - authority is the address that controls the module (defaults to - x/gov unless overwritten). - params: - description: |- - params defines the x/distribution parameters to update. - - NOTE: All parameters must be supplied. - type: object - properties: - community_tax: - type: string - base_proposer_reward: - type: string - description: >- - Deprecated: The base_proposer_reward field is deprecated - and is no longer used - - in the x/distribution module's reward mechanism. - bonus_proposer_reward: - type: string - description: >- - Deprecated: The bonus_proposer_reward field is deprecated - and is no longer used - - in the x/distribution module's reward mechanism. - withdraw_addr_enabled: - type: boolean - description: |- - MsgUpdateParams is the Msg/UpdateParams request type. - - Since: cosmos-sdk 0.47 - tags: - - Msg - /cosmos.distribution.v1beta1.Msg/WithdrawDelegatorReward: - post: - summary: >- - WithdrawDelegatorReward defines a method to withdraw rewards of - delegator - - from a single validator. - operationId: CosmosDistributionV1Beta1Msg_WithdrawDelegatorReward - responses: - '200': - description: A successful response. - schema: - type: object - properties: - amount: - type: array - items: - type: object - properties: - denom: - type: string - amount: - type: string - description: >- - Coin defines a token with a denomination and an amount. - - - NOTE: The amount field is an Int which implements the custom - method - - signatures required by gogoproto. - title: 'Since: cosmos-sdk 0.46' - description: >- - MsgWithdrawDelegatorRewardResponse defines the - Msg/WithdrawDelegatorReward - - response type. - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - additionalProperties: {} - parameters: - - name: body - description: >- - MsgWithdrawDelegatorReward represents delegation withdrawal to a - delegator - - from a single validator. - in: body - required: true - schema: - type: object - properties: - delegator_address: - type: string - validator_address: - type: string - description: >- - MsgWithdrawDelegatorReward represents delegation withdrawal to a - delegator - - from a single validator. - tags: - - Msg - /cosmos.distribution.v1beta1.Msg/WithdrawValidatorCommission: - post: - summary: |- - WithdrawValidatorCommission defines a method to withdraw the - full commission to the validator address. - operationId: CosmosDistributionV1Beta1Msg_WithdrawValidatorCommission - responses: - '200': - description: A successful response. - schema: - type: object - properties: - amount: - type: array - items: - type: object - properties: - denom: - type: string - amount: - type: string - description: >- - Coin defines a token with a denomination and an amount. - - - NOTE: The amount field is an Int which implements the custom - method - - signatures required by gogoproto. - title: 'Since: cosmos-sdk 0.46' - description: |- - MsgWithdrawValidatorCommissionResponse defines the - Msg/WithdrawValidatorCommission response type. - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - additionalProperties: {} - parameters: - - name: body - description: >- - MsgWithdrawValidatorCommission withdraws the full commission to the - validator - - address. - in: body - required: true - schema: - type: object - properties: - validator_address: - type: string - description: >- - MsgWithdrawValidatorCommission withdraws the full commission to - the validator - - address. - tags: - - Msg - /cosmos.evidence.v1beta1.Msg/SubmitEvidence: - post: - summary: >- - SubmitEvidence submits an arbitrary Evidence of misbehavior such as - equivocation or - - counterfactual signing. - operationId: CosmosEvidenceV1Beta1Msg_SubmitEvidence - responses: - '200': - description: A successful response. - schema: - type: object - properties: - hash: - type: string - format: byte - description: hash defines the hash of the evidence. - description: >- - MsgSubmitEvidenceResponse defines the Msg/SubmitEvidence response - type. - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - description: >- - A URL/resource name that uniquely identifies the type of - the serialized - - protocol buffer message. This string must contain at - least - - one "/" character. The last segment of the URL's path - must represent - - the fully qualified name of the type (as in - - `path/google.protobuf.Duration`). The name should be in - a canonical form - - (e.g., leading "." is not accepted). - - - In practice, teams usually precompile into the binary - all types that they - - expect it to use in the context of Any. However, for - URLs which use the - - scheme `http`, `https`, or no scheme, one can optionally - set up a type - - server that maps type URLs to message definitions as - follows: - - - * If no scheme is provided, `https` is assumed. - - * An HTTP GET on the URL must yield a - [google.protobuf.Type][] - value in binary format, or produce an error. - * Applications are allowed to cache lookup results based - on the - URL, or have them precompiled into a binary to avoid any - lookup. Therefore, binary compatibility needs to be preserved - on changes to types. (Use versioned type names to manage - breaking changes.) - - Note: this functionality is not currently available in - the official - - protobuf release, and it is not used for type URLs - beginning with - - type.googleapis.com. As of May 2023, there are no widely - used type server - - implementations and no plans to implement one. - - - Schemes other than `http`, `https` (or the empty scheme) - might be - - used with implementation specific semantics. - additionalProperties: {} - description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - - URL that describes the type of the serialized message. - - - Protobuf library provides support to pack/unpack Any values - in the form - - of utility functions or additional generated methods of the - Any type. - - - Example 1: Pack and unpack a message in C++. - - Foo foo = ...; - Any any; - any.PackFrom(foo); - ... - if (any.UnpackTo(&foo)) { - ... - } - - Example 2: Pack and unpack a message in Java. - - Foo foo = ...; - Any any = Any.pack(foo); - ... - if (any.is(Foo.class)) { - foo = any.unpack(Foo.class); - } - // or ... - if (any.isSameTypeAs(Foo.getDefaultInstance())) { - foo = any.unpack(Foo.getDefaultInstance()); - } - - Example 3: Pack and unpack a message in Python. - - foo = Foo(...) - any = Any() - any.Pack(foo) - ... - if any.Is(Foo.DESCRIPTOR): - any.Unpack(foo) - ... - - Example 4: Pack and unpack a message in Go - - foo := &pb.Foo{...} - any, err := anypb.New(foo) - if err != nil { - ... - } - ... - foo := &pb.Foo{} - if err := any.UnmarshalTo(foo); err != nil { - ... - } - - The pack methods provided by protobuf library will by - default use - - 'type.googleapis.com/full.type.name' as the type URL and the - unpack - - methods only use the fully qualified type name after the - last '/' - - in the type URL, for example "foo.bar.com/x/y.z" will yield - type - - name "y.z". - - - JSON - - ==== - - The JSON representation of an `Any` value uses the regular - - representation of the deserialized, embedded message, with - an - - additional field `@type` which contains the type URL. - Example: - - package google.profile; - message Person { - string first_name = 1; - string last_name = 2; - } - - { - "@type": "type.googleapis.com/google.profile.Person", - "firstName": , - "lastName": - } - - If the embedded message type is well-known and has a custom - JSON - - representation, that representation will be embedded adding - a field - - `value` which holds the custom JSON in addition to the - `@type` - - field. Example (for message [google.protobuf.Duration][]): - - { - "@type": "type.googleapis.com/google.protobuf.Duration", - "value": "1.212s" - } - parameters: - - name: body - description: >- - MsgSubmitEvidence represents a message that supports submitting - arbitrary - - Evidence of misbehavior such as equivocation or counterfactual - signing. - in: body - required: true - schema: - type: object - properties: - submitter: - type: string - description: submitter is the signer account address of evidence. - evidence: - description: evidence defines the evidence of misbehavior. - type: object - properties: - '@type': - type: string - description: >- - A URL/resource name that uniquely identifies the type of - the serialized - - protocol buffer message. This string must contain at least - - one "/" character. The last segment of the URL's path must - represent - - the fully qualified name of the type (as in - - `path/google.protobuf.Duration`). The name should be in a - canonical form - - (e.g., leading "." is not accepted). - - - In practice, teams usually precompile into the binary all - types that they - - expect it to use in the context of Any. However, for URLs - which use the - - scheme `http`, `https`, or no scheme, one can optionally - set up a type - - server that maps type URLs to message definitions as - follows: - - - * If no scheme is provided, `https` is assumed. - - * An HTTP GET on the URL must yield a - [google.protobuf.Type][] - value in binary format, or produce an error. - * Applications are allowed to cache lookup results based - on the - URL, or have them precompiled into a binary to avoid any - lookup. Therefore, binary compatibility needs to be preserved - on changes to types. (Use versioned type names to manage - breaking changes.) - - Note: this functionality is not currently available in the - official - - protobuf release, and it is not used for type URLs - beginning with - - type.googleapis.com. As of May 2023, there are no widely - used type server - - implementations and no plans to implement one. - - - Schemes other than `http`, `https` (or the empty scheme) - might be - - used with implementation specific semantics. - additionalProperties: {} - description: >- - MsgSubmitEvidence represents a message that supports submitting - arbitrary - - Evidence of misbehavior such as equivocation or counterfactual - signing. - tags: - - Msg - /cosmos.feegrant.v1beta1.Msg/GrantAllowance: - post: - summary: |- - GrantAllowance grants fee allowance to the grantee on the granter's - account with the provided expiration time. - operationId: CosmosFeegrantV1Beta1Msg_GrantAllowance - responses: - '200': - description: A successful response. - schema: - type: object - description: >- - MsgGrantAllowanceResponse defines the Msg/GrantAllowanceResponse - response type. - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - description: >- - A URL/resource name that uniquely identifies the type of - the serialized - - protocol buffer message. This string must contain at - least - - one "/" character. The last segment of the URL's path - must represent - - the fully qualified name of the type (as in - - `path/google.protobuf.Duration`). The name should be in - a canonical form - - (e.g., leading "." is not accepted). - - - In practice, teams usually precompile into the binary - all types that they - - expect it to use in the context of Any. However, for - URLs which use the - - scheme `http`, `https`, or no scheme, one can optionally - set up a type - - server that maps type URLs to message definitions as - follows: - - - * If no scheme is provided, `https` is assumed. - - * An HTTP GET on the URL must yield a - [google.protobuf.Type][] - value in binary format, or produce an error. - * Applications are allowed to cache lookup results based - on the - URL, or have them precompiled into a binary to avoid any - lookup. Therefore, binary compatibility needs to be preserved - on changes to types. (Use versioned type names to manage - breaking changes.) - - Note: this functionality is not currently available in - the official - - protobuf release, and it is not used for type URLs - beginning with - - type.googleapis.com. As of May 2023, there are no widely - used type server - - implementations and no plans to implement one. - - - Schemes other than `http`, `https` (or the empty scheme) - might be - - used with implementation specific semantics. - additionalProperties: {} - description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - - URL that describes the type of the serialized message. - - - Protobuf library provides support to pack/unpack Any values - in the form - - of utility functions or additional generated methods of the - Any type. - - - Example 1: Pack and unpack a message in C++. - - Foo foo = ...; - Any any; - any.PackFrom(foo); - ... - if (any.UnpackTo(&foo)) { - ... - } - - Example 2: Pack and unpack a message in Java. - - Foo foo = ...; - Any any = Any.pack(foo); - ... - if (any.is(Foo.class)) { - foo = any.unpack(Foo.class); - } - // or ... - if (any.isSameTypeAs(Foo.getDefaultInstance())) { - foo = any.unpack(Foo.getDefaultInstance()); - } - - Example 3: Pack and unpack a message in Python. - - foo = Foo(...) - any = Any() - any.Pack(foo) - ... - if any.Is(Foo.DESCRIPTOR): - any.Unpack(foo) - ... - - Example 4: Pack and unpack a message in Go - - foo := &pb.Foo{...} - any, err := anypb.New(foo) - if err != nil { - ... - } - ... - foo := &pb.Foo{} - if err := any.UnmarshalTo(foo); err != nil { - ... - } - - The pack methods provided by protobuf library will by - default use - - 'type.googleapis.com/full.type.name' as the type URL and the - unpack - - methods only use the fully qualified type name after the - last '/' - - in the type URL, for example "foo.bar.com/x/y.z" will yield - type - - name "y.z". - - - JSON - - ==== - - The JSON representation of an `Any` value uses the regular - - representation of the deserialized, embedded message, with - an - - additional field `@type` which contains the type URL. - Example: - - package google.profile; - message Person { - string first_name = 1; - string last_name = 2; - } - - { - "@type": "type.googleapis.com/google.profile.Person", - "firstName": , - "lastName": - } - - If the embedded message type is well-known and has a custom - JSON - - representation, that representation will be embedded adding - a field - - `value` which holds the custom JSON in addition to the - `@type` - - field. Example (for message [google.protobuf.Duration][]): - - { - "@type": "type.googleapis.com/google.protobuf.Duration", - "value": "1.212s" - } - parameters: - - name: body - description: >- - MsgGrantAllowance adds permission for Grantee to spend up to - Allowance - - of fees from the account of Granter. - in: body - required: true - schema: - type: object - properties: - granter: - type: string - description: >- - granter is the address of the user granting an allowance of - their funds. - grantee: - type: string - description: >- - grantee is the address of the user being granted an allowance - of another user's funds. - allowance: - description: >- - allowance can be any of basic, periodic, allowed fee - allowance. - type: object - properties: - '@type': - type: string - description: >- - A URL/resource name that uniquely identifies the type of - the serialized - - protocol buffer message. This string must contain at least - - one "/" character. The last segment of the URL's path must - represent - - the fully qualified name of the type (as in - - `path/google.protobuf.Duration`). The name should be in a - canonical form - - (e.g., leading "." is not accepted). - - - In practice, teams usually precompile into the binary all - types that they - - expect it to use in the context of Any. However, for URLs - which use the - - scheme `http`, `https`, or no scheme, one can optionally - set up a type - - server that maps type URLs to message definitions as - follows: - - - * If no scheme is provided, `https` is assumed. - - * An HTTP GET on the URL must yield a - [google.protobuf.Type][] - value in binary format, or produce an error. - * Applications are allowed to cache lookup results based - on the - URL, or have them precompiled into a binary to avoid any - lookup. Therefore, binary compatibility needs to be preserved - on changes to types. (Use versioned type names to manage - breaking changes.) - - Note: this functionality is not currently available in the - official - - protobuf release, and it is not used for type URLs - beginning with - - type.googleapis.com. As of May 2023, there are no widely - used type server - - implementations and no plans to implement one. - - - Schemes other than `http`, `https` (or the empty scheme) - might be - - used with implementation specific semantics. - additionalProperties: {} - description: >- - MsgGrantAllowance adds permission for Grantee to spend up to - Allowance - - of fees from the account of Granter. - tags: - - Msg - /cosmos.feegrant.v1beta1.Msg/PruneAllowances: - post: - summary: >- - PruneAllowances prunes expired fee allowances, currently up to 75 at a - time. - description: Since cosmos-sdk 0.50 - operationId: CosmosFeegrantV1Beta1Msg_PruneAllowances - responses: - '200': - description: A successful response. - schema: - type: object - description: >- - MsgPruneAllowancesResponse defines the Msg/PruneAllowancesResponse - response type. - - - Since cosmos-sdk 0.50 - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - description: >- - A URL/resource name that uniquely identifies the type of - the serialized - - protocol buffer message. This string must contain at - least - - one "/" character. The last segment of the URL's path - must represent - - the fully qualified name of the type (as in - - `path/google.protobuf.Duration`). The name should be in - a canonical form - - (e.g., leading "." is not accepted). - - - In practice, teams usually precompile into the binary - all types that they - - expect it to use in the context of Any. However, for - URLs which use the - - scheme `http`, `https`, or no scheme, one can optionally - set up a type - - server that maps type URLs to message definitions as - follows: - - - * If no scheme is provided, `https` is assumed. - - * An HTTP GET on the URL must yield a - [google.protobuf.Type][] - value in binary format, or produce an error. - * Applications are allowed to cache lookup results based - on the - URL, or have them precompiled into a binary to avoid any - lookup. Therefore, binary compatibility needs to be preserved - on changes to types. (Use versioned type names to manage - breaking changes.) - - Note: this functionality is not currently available in - the official - - protobuf release, and it is not used for type URLs - beginning with - - type.googleapis.com. As of May 2023, there are no widely - used type server - - implementations and no plans to implement one. - - - Schemes other than `http`, `https` (or the empty scheme) - might be - - used with implementation specific semantics. - additionalProperties: {} - description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - - URL that describes the type of the serialized message. - - - Protobuf library provides support to pack/unpack Any values - in the form - - of utility functions or additional generated methods of the - Any type. - - - Example 1: Pack and unpack a message in C++. - - Foo foo = ...; - Any any; - any.PackFrom(foo); - ... - if (any.UnpackTo(&foo)) { - ... - } - - Example 2: Pack and unpack a message in Java. - - Foo foo = ...; - Any any = Any.pack(foo); - ... - if (any.is(Foo.class)) { - foo = any.unpack(Foo.class); - } - // or ... - if (any.isSameTypeAs(Foo.getDefaultInstance())) { - foo = any.unpack(Foo.getDefaultInstance()); - } - - Example 3: Pack and unpack a message in Python. - - foo = Foo(...) - any = Any() - any.Pack(foo) - ... - if any.Is(Foo.DESCRIPTOR): - any.Unpack(foo) - ... - - Example 4: Pack and unpack a message in Go - - foo := &pb.Foo{...} - any, err := anypb.New(foo) - if err != nil { - ... - } - ... - foo := &pb.Foo{} - if err := any.UnmarshalTo(foo); err != nil { - ... - } - - The pack methods provided by protobuf library will by - default use - - 'type.googleapis.com/full.type.name' as the type URL and the - unpack - - methods only use the fully qualified type name after the - last '/' - - in the type URL, for example "foo.bar.com/x/y.z" will yield - type - - name "y.z". - - - JSON - - ==== - - The JSON representation of an `Any` value uses the regular - - representation of the deserialized, embedded message, with - an - - additional field `@type` which contains the type URL. - Example: - - package google.profile; - message Person { - string first_name = 1; - string last_name = 2; - } - - { - "@type": "type.googleapis.com/google.profile.Person", - "firstName": , - "lastName": - } - - If the embedded message type is well-known and has a custom - JSON - - representation, that representation will be embedded adding - a field - - `value` which holds the custom JSON in addition to the - `@type` - - field. Example (for message [google.protobuf.Duration][]): - - { - "@type": "type.googleapis.com/google.protobuf.Duration", - "value": "1.212s" - } - parameters: - - name: body - description: |- - MsgPruneAllowances prunes expired fee allowances. - - Since cosmos-sdk 0.50 - in: body - required: true - schema: - type: object - properties: - pruner: - type: string - description: pruner is the address of the user pruning expired allowances. - description: |- - MsgPruneAllowances prunes expired fee allowances. - - Since cosmos-sdk 0.50 - tags: - - Msg - /cosmos.feegrant.v1beta1.Msg/RevokeAllowance: - post: - summary: |- - RevokeAllowance revokes any fee allowance of granter's account that - has been granted to the grantee. - operationId: CosmosFeegrantV1Beta1Msg_RevokeAllowance - responses: - '200': - description: A successful response. - schema: - type: object - description: >- - MsgRevokeAllowanceResponse defines the Msg/RevokeAllowanceResponse - response type. - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - description: >- - A URL/resource name that uniquely identifies the type of - the serialized - - protocol buffer message. This string must contain at - least - - one "/" character. The last segment of the URL's path - must represent - - the fully qualified name of the type (as in - - `path/google.protobuf.Duration`). The name should be in - a canonical form - - (e.g., leading "." is not accepted). - - - In practice, teams usually precompile into the binary - all types that they - - expect it to use in the context of Any. However, for - URLs which use the - - scheme `http`, `https`, or no scheme, one can optionally - set up a type - - server that maps type URLs to message definitions as - follows: - - - * If no scheme is provided, `https` is assumed. - - * An HTTP GET on the URL must yield a - [google.protobuf.Type][] - value in binary format, or produce an error. - * Applications are allowed to cache lookup results based - on the - URL, or have them precompiled into a binary to avoid any - lookup. Therefore, binary compatibility needs to be preserved - on changes to types. (Use versioned type names to manage - breaking changes.) - - Note: this functionality is not currently available in - the official - - protobuf release, and it is not used for type URLs - beginning with - - type.googleapis.com. As of May 2023, there are no widely - used type server - - implementations and no plans to implement one. - - - Schemes other than `http`, `https` (or the empty scheme) - might be - - used with implementation specific semantics. - additionalProperties: {} - description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - - URL that describes the type of the serialized message. - - - Protobuf library provides support to pack/unpack Any values - in the form - - of utility functions or additional generated methods of the - Any type. - - - Example 1: Pack and unpack a message in C++. - - Foo foo = ...; - Any any; - any.PackFrom(foo); - ... - if (any.UnpackTo(&foo)) { - ... - } - - Example 2: Pack and unpack a message in Java. - - Foo foo = ...; - Any any = Any.pack(foo); - ... - if (any.is(Foo.class)) { - foo = any.unpack(Foo.class); - } - // or ... - if (any.isSameTypeAs(Foo.getDefaultInstance())) { - foo = any.unpack(Foo.getDefaultInstance()); - } - - Example 3: Pack and unpack a message in Python. - - foo = Foo(...) - any = Any() - any.Pack(foo) - ... - if any.Is(Foo.DESCRIPTOR): - any.Unpack(foo) - ... - - Example 4: Pack and unpack a message in Go - - foo := &pb.Foo{...} - any, err := anypb.New(foo) - if err != nil { - ... - } - ... - foo := &pb.Foo{} - if err := any.UnmarshalTo(foo); err != nil { - ... - } - - The pack methods provided by protobuf library will by - default use - - 'type.googleapis.com/full.type.name' as the type URL and the - unpack - - methods only use the fully qualified type name after the - last '/' - - in the type URL, for example "foo.bar.com/x/y.z" will yield - type - - name "y.z". - - - JSON - - ==== - - The JSON representation of an `Any` value uses the regular - - representation of the deserialized, embedded message, with - an - - additional field `@type` which contains the type URL. - Example: - - package google.profile; - message Person { - string first_name = 1; - string last_name = 2; - } - - { - "@type": "type.googleapis.com/google.profile.Person", - "firstName": , - "lastName": - } - - If the embedded message type is well-known and has a custom - JSON - - representation, that representation will be embedded adding - a field - - `value` which holds the custom JSON in addition to the - `@type` - - field. Example (for message [google.protobuf.Duration][]): - - { - "@type": "type.googleapis.com/google.protobuf.Duration", - "value": "1.212s" - } - parameters: - - name: body - description: >- - MsgRevokeAllowance removes any existing Allowance from Granter to - Grantee. - in: body - required: true - schema: - type: object - properties: - granter: - type: string - description: >- - granter is the address of the user granting an allowance of - their funds. - grantee: - type: string - description: >- - grantee is the address of the user being granted an allowance - of another user's funds. - description: >- - MsgRevokeAllowance removes any existing Allowance from Granter to - Grantee. - tags: - - Msg - /cosmos.gov.v1.Msg/CancelProposal: - post: - summary: CancelProposal defines a method to cancel governance proposal - description: 'Since: cosmos-sdk 0.50' - operationId: CosmosGovV1Msg_CancelProposal - responses: - '200': - description: A successful response. - schema: - type: object - properties: - proposal_id: - type: string - format: uint64 - description: proposal_id defines the unique id of the proposal. - canceled_time: - type: string - format: date-time - description: canceled_time is the time when proposal is canceled. - canceled_height: - type: string - format: uint64 - description: >- - canceled_height defines the block height at which the proposal - is canceled. - description: >- - MsgCancelProposalResponse defines the response structure for - executing a - - MsgCancelProposal message. - - - Since: cosmos-sdk 0.50 - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - description: >- - A URL/resource name that uniquely identifies the type of - the serialized - - protocol buffer message. This string must contain at - least - - one "/" character. The last segment of the URL's path - must represent - - the fully qualified name of the type (as in - - `path/google.protobuf.Duration`). The name should be in - a canonical form - - (e.g., leading "." is not accepted). - - - In practice, teams usually precompile into the binary - all types that they - - expect it to use in the context of Any. However, for - URLs which use the - - scheme `http`, `https`, or no scheme, one can optionally - set up a type - - server that maps type URLs to message definitions as - follows: - - - * If no scheme is provided, `https` is assumed. - - * An HTTP GET on the URL must yield a - [google.protobuf.Type][] - value in binary format, or produce an error. - * Applications are allowed to cache lookup results based - on the - URL, or have them precompiled into a binary to avoid any - lookup. Therefore, binary compatibility needs to be preserved - on changes to types. (Use versioned type names to manage - breaking changes.) - - Note: this functionality is not currently available in - the official - - protobuf release, and it is not used for type URLs - beginning with - - type.googleapis.com. As of May 2023, there are no widely - used type server - - implementations and no plans to implement one. - - - Schemes other than `http`, `https` (or the empty scheme) - might be - - used with implementation specific semantics. - additionalProperties: {} - description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - - URL that describes the type of the serialized message. - - - Protobuf library provides support to pack/unpack Any values - in the form - - of utility functions or additional generated methods of the - Any type. - - - Example 1: Pack and unpack a message in C++. - - Foo foo = ...; - Any any; - any.PackFrom(foo); - ... - if (any.UnpackTo(&foo)) { - ... - } - - Example 2: Pack and unpack a message in Java. - - Foo foo = ...; - Any any = Any.pack(foo); - ... - if (any.is(Foo.class)) { - foo = any.unpack(Foo.class); - } - // or ... - if (any.isSameTypeAs(Foo.getDefaultInstance())) { - foo = any.unpack(Foo.getDefaultInstance()); - } - - Example 3: Pack and unpack a message in Python. - - foo = Foo(...) - any = Any() - any.Pack(foo) - ... - if any.Is(Foo.DESCRIPTOR): - any.Unpack(foo) - ... - - Example 4: Pack and unpack a message in Go - - foo := &pb.Foo{...} - any, err := anypb.New(foo) - if err != nil { - ... - } - ... - foo := &pb.Foo{} - if err := any.UnmarshalTo(foo); err != nil { - ... - } - - The pack methods provided by protobuf library will by - default use - - 'type.googleapis.com/full.type.name' as the type URL and the - unpack - - methods only use the fully qualified type name after the - last '/' - - in the type URL, for example "foo.bar.com/x/y.z" will yield - type - - name "y.z". - - - JSON - - ==== - - The JSON representation of an `Any` value uses the regular - - representation of the deserialized, embedded message, with - an - - additional field `@type` which contains the type URL. - Example: - - package google.profile; - message Person { - string first_name = 1; - string last_name = 2; - } - - { - "@type": "type.googleapis.com/google.profile.Person", - "firstName": , - "lastName": - } - - If the embedded message type is well-known and has a custom - JSON - - representation, that representation will be embedded adding - a field - - `value` which holds the custom JSON in addition to the - `@type` - - field. Example (for message [google.protobuf.Duration][]): - - { - "@type": "type.googleapis.com/google.protobuf.Duration", - "value": "1.212s" - } - parameters: - - name: body - description: |- - MsgCancelProposal is the Msg/CancelProposal request type. - - Since: cosmos-sdk 0.50 - in: body - required: true - schema: - type: object - properties: - proposal_id: - type: string - format: uint64 - description: proposal_id defines the unique id of the proposal. - proposer: - type: string - description: proposer is the account address of the proposer. - description: |- - MsgCancelProposal is the Msg/CancelProposal request type. - - Since: cosmos-sdk 0.50 - tags: - - Msg - /cosmos.gov.v1.Msg/Deposit: - post: - summary: Deposit defines a method to add deposit on a specific proposal. - operationId: CosmosGovV1Msg_Deposit - responses: - '200': - description: A successful response. - schema: - type: object - description: MsgDepositResponse defines the Msg/Deposit response type. - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - description: >- - A URL/resource name that uniquely identifies the type of - the serialized - - protocol buffer message. This string must contain at - least - - one "/" character. The last segment of the URL's path - must represent - - the fully qualified name of the type (as in - - `path/google.protobuf.Duration`). The name should be in - a canonical form - - (e.g., leading "." is not accepted). - - - In practice, teams usually precompile into the binary - all types that they - - expect it to use in the context of Any. However, for - URLs which use the - - scheme `http`, `https`, or no scheme, one can optionally - set up a type - - server that maps type URLs to message definitions as - follows: - - - * If no scheme is provided, `https` is assumed. - - * An HTTP GET on the URL must yield a - [google.protobuf.Type][] - value in binary format, or produce an error. - * Applications are allowed to cache lookup results based - on the - URL, or have them precompiled into a binary to avoid any - lookup. Therefore, binary compatibility needs to be preserved - on changes to types. (Use versioned type names to manage - breaking changes.) - - Note: this functionality is not currently available in - the official - - protobuf release, and it is not used for type URLs - beginning with - - type.googleapis.com. As of May 2023, there are no widely - used type server - - implementations and no plans to implement one. - - - Schemes other than `http`, `https` (or the empty scheme) - might be - - used with implementation specific semantics. - additionalProperties: {} - description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - - URL that describes the type of the serialized message. - - - Protobuf library provides support to pack/unpack Any values - in the form - - of utility functions or additional generated methods of the - Any type. - - - Example 1: Pack and unpack a message in C++. - - Foo foo = ...; - Any any; - any.PackFrom(foo); - ... - if (any.UnpackTo(&foo)) { - ... - } - - Example 2: Pack and unpack a message in Java. - - Foo foo = ...; - Any any = Any.pack(foo); - ... - if (any.is(Foo.class)) { - foo = any.unpack(Foo.class); - } - // or ... - if (any.isSameTypeAs(Foo.getDefaultInstance())) { - foo = any.unpack(Foo.getDefaultInstance()); - } - - Example 3: Pack and unpack a message in Python. - - foo = Foo(...) - any = Any() - any.Pack(foo) - ... - if any.Is(Foo.DESCRIPTOR): - any.Unpack(foo) - ... - - Example 4: Pack and unpack a message in Go - - foo := &pb.Foo{...} - any, err := anypb.New(foo) - if err != nil { - ... - } - ... - foo := &pb.Foo{} - if err := any.UnmarshalTo(foo); err != nil { - ... - } - - The pack methods provided by protobuf library will by - default use - - 'type.googleapis.com/full.type.name' as the type URL and the - unpack - - methods only use the fully qualified type name after the - last '/' - - in the type URL, for example "foo.bar.com/x/y.z" will yield - type - - name "y.z". - - - JSON - - ==== - - The JSON representation of an `Any` value uses the regular - - representation of the deserialized, embedded message, with - an - - additional field `@type` which contains the type URL. - Example: - - package google.profile; - message Person { - string first_name = 1; - string last_name = 2; - } - - { - "@type": "type.googleapis.com/google.profile.Person", - "firstName": , - "lastName": - } - - If the embedded message type is well-known and has a custom - JSON - - representation, that representation will be embedded adding - a field - - `value` which holds the custom JSON in addition to the - `@type` - - field. Example (for message [google.protobuf.Duration][]): - - { - "@type": "type.googleapis.com/google.protobuf.Duration", - "value": "1.212s" - } - parameters: - - name: body - description: >- - MsgDeposit defines a message to submit a deposit to an existing - proposal. - in: body - required: true - schema: - type: object - properties: - proposal_id: - type: string - format: uint64 - description: proposal_id defines the unique id of the proposal. - depositor: - type: string - description: depositor defines the deposit addresses from the proposals. - amount: - type: array - items: - type: object - properties: - denom: - type: string - amount: - type: string - description: >- - Coin defines a token with a denomination and an amount. - - - NOTE: The amount field is an Int which implements the custom - method - - signatures required by gogoproto. - description: amount to be deposited by depositor. - description: >- - MsgDeposit defines a message to submit a deposit to an existing - proposal. - tags: - - Msg - /cosmos.gov.v1.Msg/ExecLegacyContent: - post: - summary: |- - ExecLegacyContent defines a Msg to be in included in a MsgSubmitProposal - to execute a legacy content-based proposal. - operationId: CosmosGovV1Msg_ExecLegacyContent - responses: - '200': - description: A successful response. - schema: - type: object - description: >- - MsgExecLegacyContentResponse defines the Msg/ExecLegacyContent - response type. - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - description: >- - A URL/resource name that uniquely identifies the type of - the serialized - - protocol buffer message. This string must contain at - least - - one "/" character. The last segment of the URL's path - must represent - - the fully qualified name of the type (as in - - `path/google.protobuf.Duration`). The name should be in - a canonical form - - (e.g., leading "." is not accepted). - - - In practice, teams usually precompile into the binary - all types that they - - expect it to use in the context of Any. However, for - URLs which use the - - scheme `http`, `https`, or no scheme, one can optionally - set up a type - - server that maps type URLs to message definitions as - follows: - - - * If no scheme is provided, `https` is assumed. - - * An HTTP GET on the URL must yield a - [google.protobuf.Type][] - value in binary format, or produce an error. - * Applications are allowed to cache lookup results based - on the - URL, or have them precompiled into a binary to avoid any - lookup. Therefore, binary compatibility needs to be preserved - on changes to types. (Use versioned type names to manage - breaking changes.) - - Note: this functionality is not currently available in - the official - - protobuf release, and it is not used for type URLs - beginning with - - type.googleapis.com. As of May 2023, there are no widely - used type server - - implementations and no plans to implement one. - - - Schemes other than `http`, `https` (or the empty scheme) - might be - - used with implementation specific semantics. - additionalProperties: {} - description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - - URL that describes the type of the serialized message. - - - Protobuf library provides support to pack/unpack Any values - in the form - - of utility functions or additional generated methods of the - Any type. - - - Example 1: Pack and unpack a message in C++. - - Foo foo = ...; - Any any; - any.PackFrom(foo); - ... - if (any.UnpackTo(&foo)) { - ... - } - - Example 2: Pack and unpack a message in Java. - - Foo foo = ...; - Any any = Any.pack(foo); - ... - if (any.is(Foo.class)) { - foo = any.unpack(Foo.class); - } - // or ... - if (any.isSameTypeAs(Foo.getDefaultInstance())) { - foo = any.unpack(Foo.getDefaultInstance()); - } - - Example 3: Pack and unpack a message in Python. - - foo = Foo(...) - any = Any() - any.Pack(foo) - ... - if any.Is(Foo.DESCRIPTOR): - any.Unpack(foo) - ... - - Example 4: Pack and unpack a message in Go - - foo := &pb.Foo{...} - any, err := anypb.New(foo) - if err != nil { - ... - } - ... - foo := &pb.Foo{} - if err := any.UnmarshalTo(foo); err != nil { - ... - } - - The pack methods provided by protobuf library will by - default use - - 'type.googleapis.com/full.type.name' as the type URL and the - unpack - - methods only use the fully qualified type name after the - last '/' - - in the type URL, for example "foo.bar.com/x/y.z" will yield - type - - name "y.z". - - - JSON - - ==== - - The JSON representation of an `Any` value uses the regular - - representation of the deserialized, embedded message, with - an - - additional field `@type` which contains the type URL. - Example: - - package google.profile; - message Person { - string first_name = 1; - string last_name = 2; - } - - { - "@type": "type.googleapis.com/google.profile.Person", - "firstName": , - "lastName": - } - - If the embedded message type is well-known and has a custom - JSON - - representation, that representation will be embedded adding - a field - - `value` which holds the custom JSON in addition to the - `@type` - - field. Example (for message [google.protobuf.Duration][]): - - { - "@type": "type.googleapis.com/google.protobuf.Duration", - "value": "1.212s" - } - parameters: - - name: body - description: >- - MsgExecLegacyContent is used to wrap the legacy content field into a - message. - - This ensures backwards compatibility with v1beta1.MsgSubmitProposal. - in: body - required: true - schema: - type: object - properties: - content: - description: content is the proposal's content. - type: object - properties: - '@type': - type: string - description: >- - A URL/resource name that uniquely identifies the type of - the serialized - - protocol buffer message. This string must contain at least - - one "/" character. The last segment of the URL's path must - represent - - the fully qualified name of the type (as in - - `path/google.protobuf.Duration`). The name should be in a - canonical form - - (e.g., leading "." is not accepted). - - - In practice, teams usually precompile into the binary all - types that they - - expect it to use in the context of Any. However, for URLs - which use the - - scheme `http`, `https`, or no scheme, one can optionally - set up a type - - server that maps type URLs to message definitions as - follows: - - - * If no scheme is provided, `https` is assumed. - - * An HTTP GET on the URL must yield a - [google.protobuf.Type][] - value in binary format, or produce an error. - * Applications are allowed to cache lookup results based - on the - URL, or have them precompiled into a binary to avoid any - lookup. Therefore, binary compatibility needs to be preserved - on changes to types. (Use versioned type names to manage - breaking changes.) - - Note: this functionality is not currently available in the - official - - protobuf release, and it is not used for type URLs - beginning with - - type.googleapis.com. As of May 2023, there are no widely - used type server - - implementations and no plans to implement one. - - - Schemes other than `http`, `https` (or the empty scheme) - might be - - used with implementation specific semantics. - additionalProperties: {} - authority: - type: string - description: authority must be the gov module address. - description: >- - MsgExecLegacyContent is used to wrap the legacy content field into - a message. - - This ensures backwards compatibility with - v1beta1.MsgSubmitProposal. - tags: - - Msg - /cosmos.gov.v1.Msg/SubmitProposal: - post: - summary: >- - SubmitProposal defines a method to create new proposal given the - messages. - operationId: CosmosGovV1Msg_SubmitProposal - responses: - '200': - description: A successful response. - schema: - type: object - properties: - proposal_id: - type: string - format: uint64 - description: proposal_id defines the unique id of the proposal. - description: >- - MsgSubmitProposalResponse defines the Msg/SubmitProposal response - type. - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - description: >- - A URL/resource name that uniquely identifies the type of - the serialized - - protocol buffer message. This string must contain at - least - - one "/" character. The last segment of the URL's path - must represent - - the fully qualified name of the type (as in - - `path/google.protobuf.Duration`). The name should be in - a canonical form - - (e.g., leading "." is not accepted). - - - In practice, teams usually precompile into the binary - all types that they - - expect it to use in the context of Any. However, for - URLs which use the - - scheme `http`, `https`, or no scheme, one can optionally - set up a type - - server that maps type URLs to message definitions as - follows: - - - * If no scheme is provided, `https` is assumed. - - * An HTTP GET on the URL must yield a - [google.protobuf.Type][] - value in binary format, or produce an error. - * Applications are allowed to cache lookup results based - on the - URL, or have them precompiled into a binary to avoid any - lookup. Therefore, binary compatibility needs to be preserved - on changes to types. (Use versioned type names to manage - breaking changes.) - - Note: this functionality is not currently available in - the official - - protobuf release, and it is not used for type URLs - beginning with - - type.googleapis.com. As of May 2023, there are no widely - used type server - - implementations and no plans to implement one. - - - Schemes other than `http`, `https` (or the empty scheme) - might be - - used with implementation specific semantics. - additionalProperties: {} - description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - - URL that describes the type of the serialized message. - - - Protobuf library provides support to pack/unpack Any values - in the form - - of utility functions or additional generated methods of the - Any type. - - - Example 1: Pack and unpack a message in C++. - - Foo foo = ...; - Any any; - any.PackFrom(foo); - ... - if (any.UnpackTo(&foo)) { - ... - } - - Example 2: Pack and unpack a message in Java. - - Foo foo = ...; - Any any = Any.pack(foo); - ... - if (any.is(Foo.class)) { - foo = any.unpack(Foo.class); - } - // or ... - if (any.isSameTypeAs(Foo.getDefaultInstance())) { - foo = any.unpack(Foo.getDefaultInstance()); - } - - Example 3: Pack and unpack a message in Python. - - foo = Foo(...) - any = Any() - any.Pack(foo) - ... - if any.Is(Foo.DESCRIPTOR): - any.Unpack(foo) - ... - - Example 4: Pack and unpack a message in Go - - foo := &pb.Foo{...} - any, err := anypb.New(foo) - if err != nil { - ... - } - ... - foo := &pb.Foo{} - if err := any.UnmarshalTo(foo); err != nil { - ... - } - - The pack methods provided by protobuf library will by - default use - - 'type.googleapis.com/full.type.name' as the type URL and the - unpack - - methods only use the fully qualified type name after the - last '/' - - in the type URL, for example "foo.bar.com/x/y.z" will yield - type - - name "y.z". - - - JSON - - ==== - - The JSON representation of an `Any` value uses the regular - - representation of the deserialized, embedded message, with - an - - additional field `@type` which contains the type URL. - Example: - - package google.profile; - message Person { - string first_name = 1; - string last_name = 2; - } - - { - "@type": "type.googleapis.com/google.profile.Person", - "firstName": , - "lastName": - } - - If the embedded message type is well-known and has a custom - JSON - - representation, that representation will be embedded adding - a field - - `value` which holds the custom JSON in addition to the - `@type` - - field. Example (for message [google.protobuf.Duration][]): - - { - "@type": "type.googleapis.com/google.protobuf.Duration", - "value": "1.212s" - } - parameters: - - name: body - description: >- - MsgSubmitProposal defines an sdk.Msg type that supports submitting - arbitrary - - proposal Content. - in: body - required: true - schema: - type: object - properties: - messages: - type: array - items: - type: object - properties: - '@type': - type: string - description: >- - A URL/resource name that uniquely identifies the type of - the serialized - - protocol buffer message. This string must contain at - least - - one "/" character. The last segment of the URL's path - must represent - - the fully qualified name of the type (as in - - `path/google.protobuf.Duration`). The name should be in - a canonical form - - (e.g., leading "." is not accepted). - - - In practice, teams usually precompile into the binary - all types that they - - expect it to use in the context of Any. However, for - URLs which use the - - scheme `http`, `https`, or no scheme, one can optionally - set up a type - - server that maps type URLs to message definitions as - follows: - - - * If no scheme is provided, `https` is assumed. - - * An HTTP GET on the URL must yield a - [google.protobuf.Type][] - value in binary format, or produce an error. - * Applications are allowed to cache lookup results based - on the - URL, or have them precompiled into a binary to avoid any - lookup. Therefore, binary compatibility needs to be preserved - on changes to types. (Use versioned type names to manage - breaking changes.) - - Note: this functionality is not currently available in - the official - - protobuf release, and it is not used for type URLs - beginning with - - type.googleapis.com. As of May 2023, there are no widely - used type server - - implementations and no plans to implement one. - - - Schemes other than `http`, `https` (or the empty scheme) - might be - - used with implementation specific semantics. - additionalProperties: {} - description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - - URL that describes the type of the serialized message. - - - Protobuf library provides support to pack/unpack Any values - in the form - - of utility functions or additional generated methods of the - Any type. - - - Example 1: Pack and unpack a message in C++. - - Foo foo = ...; - Any any; - any.PackFrom(foo); - ... - if (any.UnpackTo(&foo)) { - ... - } - - Example 2: Pack and unpack a message in Java. - - Foo foo = ...; - Any any = Any.pack(foo); - ... - if (any.is(Foo.class)) { - foo = any.unpack(Foo.class); - } - // or ... - if (any.isSameTypeAs(Foo.getDefaultInstance())) { - foo = any.unpack(Foo.getDefaultInstance()); - } - - Example 3: Pack and unpack a message in Python. - - foo = Foo(...) - any = Any() - any.Pack(foo) - ... - if any.Is(Foo.DESCRIPTOR): - any.Unpack(foo) - ... - - Example 4: Pack and unpack a message in Go - - foo := &pb.Foo{...} - any, err := anypb.New(foo) - if err != nil { - ... - } - ... - foo := &pb.Foo{} - if err := any.UnmarshalTo(foo); err != nil { - ... - } - - The pack methods provided by protobuf library will by - default use - - 'type.googleapis.com/full.type.name' as the type URL and the - unpack - - methods only use the fully qualified type name after the - last '/' - - in the type URL, for example "foo.bar.com/x/y.z" will yield - type - - name "y.z". - - - JSON - - ==== - - The JSON representation of an `Any` value uses the regular - - representation of the deserialized, embedded message, with - an - - additional field `@type` which contains the type URL. - Example: - - package google.profile; - message Person { - string first_name = 1; - string last_name = 2; - } - - { - "@type": "type.googleapis.com/google.profile.Person", - "firstName": , - "lastName": - } - - If the embedded message type is well-known and has a custom - JSON - - representation, that representation will be embedded adding - a field - - `value` which holds the custom JSON in addition to the - `@type` - - field. Example (for message [google.protobuf.Duration][]): - - { - "@type": "type.googleapis.com/google.protobuf.Duration", - "value": "1.212s" - } - description: >- - messages are the arbitrary messages to be executed if proposal - passes. - initial_deposit: - type: array - items: - type: object - properties: - denom: - type: string - amount: - type: string - description: >- - Coin defines a token with a denomination and an amount. - - - NOTE: The amount field is an Int which implements the custom - method - - signatures required by gogoproto. - description: >- - initial_deposit is the deposit value that must be paid at - proposal submission. - proposer: - type: string - description: proposer is the account address of the proposer. - metadata: - type: string - description: metadata is any arbitrary metadata attached to the proposal. - title: - type: string - description: |- - title is the title of the proposal. - - Since: cosmos-sdk 0.47 - summary: - type: string - description: 'Since: cosmos-sdk 0.47' - title: summary is the summary of the proposal - expedited: - type: boolean - description: 'Since: cosmos-sdk 0.50' - title: expedited defines if the proposal is expedited or not - description: >- - MsgSubmitProposal defines an sdk.Msg type that supports submitting - arbitrary - - proposal Content. - tags: - - Msg - /cosmos.gov.v1.Msg/UpdateParams: - post: - summary: >- - UpdateParams defines a governance operation for updating the x/gov - module - - parameters. The authority is defined in the keeper. - description: 'Since: cosmos-sdk 0.47' - operationId: CosmosGovV1Msg_UpdateParams - responses: - '200': - description: A successful response. - schema: - type: object - description: >- - MsgUpdateParamsResponse defines the response structure for - executing a - - MsgUpdateParams message. - - - Since: cosmos-sdk 0.47 - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - description: >- - A URL/resource name that uniquely identifies the type of - the serialized - - protocol buffer message. This string must contain at - least - - one "/" character. The last segment of the URL's path - must represent - - the fully qualified name of the type (as in - - `path/google.protobuf.Duration`). The name should be in - a canonical form - - (e.g., leading "." is not accepted). - - - In practice, teams usually precompile into the binary - all types that they - - expect it to use in the context of Any. However, for - URLs which use the - - scheme `http`, `https`, or no scheme, one can optionally - set up a type - - server that maps type URLs to message definitions as - follows: - - - * If no scheme is provided, `https` is assumed. - - * An HTTP GET on the URL must yield a - [google.protobuf.Type][] - value in binary format, or produce an error. - * Applications are allowed to cache lookup results based - on the - URL, or have them precompiled into a binary to avoid any - lookup. Therefore, binary compatibility needs to be preserved - on changes to types. (Use versioned type names to manage - breaking changes.) - - Note: this functionality is not currently available in - the official - - protobuf release, and it is not used for type URLs - beginning with - - type.googleapis.com. As of May 2023, there are no widely - used type server - - implementations and no plans to implement one. - - - Schemes other than `http`, `https` (or the empty scheme) - might be - - used with implementation specific semantics. - additionalProperties: {} - description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - - URL that describes the type of the serialized message. - - - Protobuf library provides support to pack/unpack Any values - in the form - - of utility functions or additional generated methods of the - Any type. - - - Example 1: Pack and unpack a message in C++. - - Foo foo = ...; - Any any; - any.PackFrom(foo); - ... - if (any.UnpackTo(&foo)) { - ... - } - - Example 2: Pack and unpack a message in Java. - - Foo foo = ...; - Any any = Any.pack(foo); - ... - if (any.is(Foo.class)) { - foo = any.unpack(Foo.class); - } - // or ... - if (any.isSameTypeAs(Foo.getDefaultInstance())) { - foo = any.unpack(Foo.getDefaultInstance()); - } - - Example 3: Pack and unpack a message in Python. - - foo = Foo(...) - any = Any() - any.Pack(foo) - ... - if any.Is(Foo.DESCRIPTOR): - any.Unpack(foo) - ... - - Example 4: Pack and unpack a message in Go - - foo := &pb.Foo{...} - any, err := anypb.New(foo) - if err != nil { - ... - } - ... - foo := &pb.Foo{} - if err := any.UnmarshalTo(foo); err != nil { - ... - } - - The pack methods provided by protobuf library will by - default use - - 'type.googleapis.com/full.type.name' as the type URL and the - unpack - - methods only use the fully qualified type name after the - last '/' - - in the type URL, for example "foo.bar.com/x/y.z" will yield - type - - name "y.z". - - - JSON - - ==== - - The JSON representation of an `Any` value uses the regular - - representation of the deserialized, embedded message, with - an - - additional field `@type` which contains the type URL. - Example: - - package google.profile; - message Person { - string first_name = 1; - string last_name = 2; - } - - { - "@type": "type.googleapis.com/google.profile.Person", - "firstName": , - "lastName": - } - - If the embedded message type is well-known and has a custom - JSON - - representation, that representation will be embedded adding - a field - - `value` which holds the custom JSON in addition to the - `@type` - - field. Example (for message [google.protobuf.Duration][]): - - { - "@type": "type.googleapis.com/google.protobuf.Duration", - "value": "1.212s" - } - parameters: - - name: body - description: |- - MsgUpdateParams is the Msg/UpdateParams request type. - - Since: cosmos-sdk 0.47 - in: body - required: true - schema: - type: object - properties: - authority: - type: string - description: >- - authority is the address that controls the module (defaults to - x/gov unless overwritten). - params: - description: |- - params defines the x/gov parameters to update. - - NOTE: All parameters must be supplied. - type: object - properties: - min_deposit: - type: array - items: - type: object - properties: - denom: - type: string - amount: - type: string - description: >- - Coin defines a token with a denomination and an amount. - - - NOTE: The amount field is an Int which implements the - custom method - - signatures required by gogoproto. - description: Minimum deposit for a proposal to enter voting period. - max_deposit_period: - type: string - description: >- - Maximum period for Atom holders to deposit on a proposal. - Initial value: 2 - - months. - voting_period: - type: string - description: Duration of the voting period. - quorum: - type: string - description: >- - Minimum percentage of total stake needed to vote for a - result to be - considered valid. - threshold: - type: string - description: >- - Minimum proportion of Yes votes for proposal to pass. - Default value: 0.5. - veto_threshold: - type: string - description: >- - Minimum value of Veto votes to Total votes ratio for - proposal to be - vetoed. Default value: 1/3. - min_initial_deposit_ratio: - type: string - description: >- - The ratio representing the proportion of the deposit value - that must be paid at proposal submission. - proposal_cancel_ratio: - type: string - description: >- - The cancel ratio which will not be returned back to the - depositors when a proposal is cancelled. - - - Since: cosmos-sdk 0.50 - proposal_cancel_dest: - type: string - description: >- - The address which will receive (proposal_cancel_ratio * - deposit) proposal deposits. - - If empty, the (proposal_cancel_ratio * deposit) proposal - deposits will be burned. - - - Since: cosmos-sdk 0.50 - expedited_voting_period: - type: string - description: |- - Duration of the voting period of an expedited proposal. - - Since: cosmos-sdk 0.50 - expedited_threshold: - type: string - description: >- - Minimum proportion of Yes votes for proposal to pass. - Default value: 0.67. - - - Since: cosmos-sdk 0.50 - expedited_min_deposit: - type: array - items: - type: object - properties: - denom: - type: string - amount: - type: string - description: >- - Coin defines a token with a denomination and an amount. - - - NOTE: The amount field is an Int which implements the - custom method - - signatures required by gogoproto. - description: >- - Minimum expedited deposit for a proposal to enter voting - period. - burn_vote_quorum: - type: boolean - title: burn deposits if a proposal does not meet quorum - burn_proposal_deposit_prevote: - type: boolean - title: burn deposits if the proposal does not enter voting period - burn_vote_veto: - type: boolean - title: burn deposits if quorum with vote type no_veto is met - min_deposit_ratio: - type: string - description: >- - The ratio representing the proportion of the deposit value - minimum that must be met when making a deposit. - - Default value: 0.01. Meaning that for a chain with a - min_deposit of 100stake, a deposit of 1stake would be - - required. - - - Since: cosmos-sdk 0.50 - description: |- - MsgUpdateParams is the Msg/UpdateParams request type. - - Since: cosmos-sdk 0.47 - tags: - - Msg - /cosmos.gov.v1.Msg/Vote: - post: - summary: Vote defines a method to add a vote on a specific proposal. - operationId: CosmosGovV1Msg_Vote - responses: - '200': - description: A successful response. - schema: - type: object - description: MsgVoteResponse defines the Msg/Vote response type. - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - description: >- - A URL/resource name that uniquely identifies the type of - the serialized - - protocol buffer message. This string must contain at - least - - one "/" character. The last segment of the URL's path - must represent - - the fully qualified name of the type (as in - - `path/google.protobuf.Duration`). The name should be in - a canonical form - - (e.g., leading "." is not accepted). - - - In practice, teams usually precompile into the binary - all types that they - - expect it to use in the context of Any. However, for - URLs which use the - - scheme `http`, `https`, or no scheme, one can optionally - set up a type - - server that maps type URLs to message definitions as - follows: - - - * If no scheme is provided, `https` is assumed. - - * An HTTP GET on the URL must yield a - [google.protobuf.Type][] - value in binary format, or produce an error. - * Applications are allowed to cache lookup results based - on the - URL, or have them precompiled into a binary to avoid any - lookup. Therefore, binary compatibility needs to be preserved - on changes to types. (Use versioned type names to manage - breaking changes.) - - Note: this functionality is not currently available in - the official - - protobuf release, and it is not used for type URLs - beginning with - - type.googleapis.com. As of May 2023, there are no widely - used type server - - implementations and no plans to implement one. - - - Schemes other than `http`, `https` (or the empty scheme) - might be - - used with implementation specific semantics. - additionalProperties: {} - description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - - URL that describes the type of the serialized message. - - - Protobuf library provides support to pack/unpack Any values - in the form - - of utility functions or additional generated methods of the - Any type. - - - Example 1: Pack and unpack a message in C++. - - Foo foo = ...; - Any any; - any.PackFrom(foo); - ... - if (any.UnpackTo(&foo)) { - ... - } - - Example 2: Pack and unpack a message in Java. - - Foo foo = ...; - Any any = Any.pack(foo); - ... - if (any.is(Foo.class)) { - foo = any.unpack(Foo.class); - } - // or ... - if (any.isSameTypeAs(Foo.getDefaultInstance())) { - foo = any.unpack(Foo.getDefaultInstance()); - } - - Example 3: Pack and unpack a message in Python. - - foo = Foo(...) - any = Any() - any.Pack(foo) - ... - if any.Is(Foo.DESCRIPTOR): - any.Unpack(foo) - ... - - Example 4: Pack and unpack a message in Go - - foo := &pb.Foo{...} - any, err := anypb.New(foo) - if err != nil { - ... - } - ... - foo := &pb.Foo{} - if err := any.UnmarshalTo(foo); err != nil { - ... - } - - The pack methods provided by protobuf library will by - default use - - 'type.googleapis.com/full.type.name' as the type URL and the - unpack - - methods only use the fully qualified type name after the - last '/' - - in the type URL, for example "foo.bar.com/x/y.z" will yield - type - - name "y.z". - - - JSON - - ==== - - The JSON representation of an `Any` value uses the regular - - representation of the deserialized, embedded message, with - an - - additional field `@type` which contains the type URL. - Example: - - package google.profile; - message Person { - string first_name = 1; - string last_name = 2; - } - - { - "@type": "type.googleapis.com/google.profile.Person", - "firstName": , - "lastName": - } - - If the embedded message type is well-known and has a custom - JSON - - representation, that representation will be embedded adding - a field - - `value` which holds the custom JSON in addition to the - `@type` - - field. Example (for message [google.protobuf.Duration][]): - - { - "@type": "type.googleapis.com/google.protobuf.Duration", - "value": "1.212s" - } - parameters: - - name: body - description: MsgVote defines a message to cast a vote. - in: body - required: true - schema: - type: object - properties: - proposal_id: - type: string - format: uint64 - description: proposal_id defines the unique id of the proposal. - voter: - type: string - description: voter is the voter address for the proposal. - option: - description: option defines the vote option. - type: string - enum: - - VOTE_OPTION_UNSPECIFIED - - VOTE_OPTION_YES - - VOTE_OPTION_ABSTAIN - - VOTE_OPTION_NO - - VOTE_OPTION_NO_WITH_VETO - default: VOTE_OPTION_UNSPECIFIED - metadata: - type: string - description: metadata is any arbitrary metadata attached to the Vote. - description: MsgVote defines a message to cast a vote. - tags: - - Msg - /cosmos.gov.v1.Msg/VoteWeighted: - post: - summary: >- - VoteWeighted defines a method to add a weighted vote on a specific - proposal. - operationId: CosmosGovV1Msg_VoteWeighted - responses: - '200': - description: A successful response. - schema: - type: object - description: >- - MsgVoteWeightedResponse defines the Msg/VoteWeighted response - type. - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - description: >- - A URL/resource name that uniquely identifies the type of - the serialized - - protocol buffer message. This string must contain at - least - - one "/" character. The last segment of the URL's path - must represent - - the fully qualified name of the type (as in - - `path/google.protobuf.Duration`). The name should be in - a canonical form - - (e.g., leading "." is not accepted). - - - In practice, teams usually precompile into the binary - all types that they - - expect it to use in the context of Any. However, for - URLs which use the - - scheme `http`, `https`, or no scheme, one can optionally - set up a type - - server that maps type URLs to message definitions as - follows: - - - * If no scheme is provided, `https` is assumed. - - * An HTTP GET on the URL must yield a - [google.protobuf.Type][] - value in binary format, or produce an error. - * Applications are allowed to cache lookup results based - on the - URL, or have them precompiled into a binary to avoid any - lookup. Therefore, binary compatibility needs to be preserved - on changes to types. (Use versioned type names to manage - breaking changes.) - - Note: this functionality is not currently available in - the official - - protobuf release, and it is not used for type URLs - beginning with - - type.googleapis.com. As of May 2023, there are no widely - used type server - - implementations and no plans to implement one. - - - Schemes other than `http`, `https` (or the empty scheme) - might be - - used with implementation specific semantics. - additionalProperties: {} - description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - - URL that describes the type of the serialized message. - - - Protobuf library provides support to pack/unpack Any values - in the form - - of utility functions or additional generated methods of the - Any type. - - - Example 1: Pack and unpack a message in C++. - - Foo foo = ...; - Any any; - any.PackFrom(foo); - ... - if (any.UnpackTo(&foo)) { - ... - } - - Example 2: Pack and unpack a message in Java. - - Foo foo = ...; - Any any = Any.pack(foo); - ... - if (any.is(Foo.class)) { - foo = any.unpack(Foo.class); - } - // or ... - if (any.isSameTypeAs(Foo.getDefaultInstance())) { - foo = any.unpack(Foo.getDefaultInstance()); - } - - Example 3: Pack and unpack a message in Python. - - foo = Foo(...) - any = Any() - any.Pack(foo) - ... - if any.Is(Foo.DESCRIPTOR): - any.Unpack(foo) - ... - - Example 4: Pack and unpack a message in Go - - foo := &pb.Foo{...} - any, err := anypb.New(foo) - if err != nil { - ... - } - ... - foo := &pb.Foo{} - if err := any.UnmarshalTo(foo); err != nil { - ... - } - - The pack methods provided by protobuf library will by - default use - - 'type.googleapis.com/full.type.name' as the type URL and the - unpack - - methods only use the fully qualified type name after the - last '/' - - in the type URL, for example "foo.bar.com/x/y.z" will yield - type - - name "y.z". - - - JSON - - ==== - - The JSON representation of an `Any` value uses the regular - - representation of the deserialized, embedded message, with - an - - additional field `@type` which contains the type URL. - Example: - - package google.profile; - message Person { - string first_name = 1; - string last_name = 2; - } - - { - "@type": "type.googleapis.com/google.profile.Person", - "firstName": , - "lastName": - } - - If the embedded message type is well-known and has a custom - JSON - - representation, that representation will be embedded adding - a field - - `value` which holds the custom JSON in addition to the - `@type` - - field. Example (for message [google.protobuf.Duration][]): - - { - "@type": "type.googleapis.com/google.protobuf.Duration", - "value": "1.212s" - } - parameters: - - name: body - description: MsgVoteWeighted defines a message to cast a vote. - in: body - required: true - schema: - type: object - properties: - proposal_id: - type: string - format: uint64 - description: proposal_id defines the unique id of the proposal. - voter: - type: string - description: voter is the voter address for the proposal. - options: - type: array - items: - type: object - properties: - option: - description: >- - option defines the valid vote options, it must not - contain duplicate vote options. - type: string - enum: - - VOTE_OPTION_UNSPECIFIED - - VOTE_OPTION_YES - - VOTE_OPTION_ABSTAIN - - VOTE_OPTION_NO - - VOTE_OPTION_NO_WITH_VETO - default: VOTE_OPTION_UNSPECIFIED - weight: - type: string - description: >- - weight is the vote weight associated with the vote - option. - description: WeightedVoteOption defines a unit of vote for vote split. - description: options defines the weighted vote options. - metadata: - type: string - description: >- - metadata is any arbitrary metadata attached to the - VoteWeighted. - description: MsgVoteWeighted defines a message to cast a vote. - tags: - - Msg - /cosmos.gov.v1beta1.Msg/Deposit: - post: - summary: Deposit defines a method to add deposit on a specific proposal. - operationId: CosmosGovV1Beta1Msg_Deposit - responses: - '200': - description: A successful response. - schema: - type: object - description: MsgDepositResponse defines the Msg/Deposit response type. - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - description: >- - A URL/resource name that uniquely identifies the type of - the serialized - - protocol buffer message. This string must contain at - least - - one "/" character. The last segment of the URL's path - must represent - - the fully qualified name of the type (as in - - `path/google.protobuf.Duration`). The name should be in - a canonical form - - (e.g., leading "." is not accepted). - - - In practice, teams usually precompile into the binary - all types that they - - expect it to use in the context of Any. However, for - URLs which use the - - scheme `http`, `https`, or no scheme, one can optionally - set up a type - - server that maps type URLs to message definitions as - follows: - - - * If no scheme is provided, `https` is assumed. - - * An HTTP GET on the URL must yield a - [google.protobuf.Type][] - value in binary format, or produce an error. - * Applications are allowed to cache lookup results based - on the - URL, or have them precompiled into a binary to avoid any - lookup. Therefore, binary compatibility needs to be preserved - on changes to types. (Use versioned type names to manage - breaking changes.) - - Note: this functionality is not currently available in - the official - - protobuf release, and it is not used for type URLs - beginning with - - type.googleapis.com. As of May 2023, there are no widely - used type server - - implementations and no plans to implement one. - - - Schemes other than `http`, `https` (or the empty scheme) - might be - - used with implementation specific semantics. - additionalProperties: {} - description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - - URL that describes the type of the serialized message. - - - Protobuf library provides support to pack/unpack Any values - in the form - - of utility functions or additional generated methods of the - Any type. - - - Example 1: Pack and unpack a message in C++. - - Foo foo = ...; - Any any; - any.PackFrom(foo); - ... - if (any.UnpackTo(&foo)) { - ... - } - - Example 2: Pack and unpack a message in Java. - - Foo foo = ...; - Any any = Any.pack(foo); - ... - if (any.is(Foo.class)) { - foo = any.unpack(Foo.class); - } - // or ... - if (any.isSameTypeAs(Foo.getDefaultInstance())) { - foo = any.unpack(Foo.getDefaultInstance()); - } - - Example 3: Pack and unpack a message in Python. - - foo = Foo(...) - any = Any() - any.Pack(foo) - ... - if any.Is(Foo.DESCRIPTOR): - any.Unpack(foo) - ... - - Example 4: Pack and unpack a message in Go - - foo := &pb.Foo{...} - any, err := anypb.New(foo) - if err != nil { - ... - } - ... - foo := &pb.Foo{} - if err := any.UnmarshalTo(foo); err != nil { - ... - } - - The pack methods provided by protobuf library will by - default use - - 'type.googleapis.com/full.type.name' as the type URL and the - unpack - - methods only use the fully qualified type name after the - last '/' - - in the type URL, for example "foo.bar.com/x/y.z" will yield - type - - name "y.z". - - - JSON - - ==== - - The JSON representation of an `Any` value uses the regular - - representation of the deserialized, embedded message, with - an - - additional field `@type` which contains the type URL. - Example: - - package google.profile; - message Person { - string first_name = 1; - string last_name = 2; - } - - { - "@type": "type.googleapis.com/google.profile.Person", - "firstName": , - "lastName": - } - - If the embedded message type is well-known and has a custom - JSON - - representation, that representation will be embedded adding - a field - - `value` which holds the custom JSON in addition to the - `@type` - - field. Example (for message [google.protobuf.Duration][]): - - { - "@type": "type.googleapis.com/google.protobuf.Duration", - "value": "1.212s" - } - parameters: - - name: body - description: >- - MsgDeposit defines a message to submit a deposit to an existing - proposal. - in: body - required: true - schema: - type: object - properties: - proposal_id: - type: string - format: uint64 - description: proposal_id defines the unique id of the proposal. - depositor: - type: string - description: depositor defines the deposit addresses from the proposals. - amount: - type: array - items: - type: object - properties: - denom: - type: string - amount: - type: string - description: >- - Coin defines a token with a denomination and an amount. - - - NOTE: The amount field is an Int which implements the custom - method - - signatures required by gogoproto. - description: amount to be deposited by depositor. - description: >- - MsgDeposit defines a message to submit a deposit to an existing - proposal. - tags: - - Msg - /cosmos.gov.v1beta1.Msg/SubmitProposal: - post: - summary: SubmitProposal defines a method to create new proposal given a content. - operationId: CosmosGovV1Beta1Msg_SubmitProposal - responses: - '200': - description: A successful response. - schema: - type: object - properties: - proposal_id: - type: string - format: uint64 - description: proposal_id defines the unique id of the proposal. - description: >- - MsgSubmitProposalResponse defines the Msg/SubmitProposal response - type. - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - description: >- - A URL/resource name that uniquely identifies the type of - the serialized - - protocol buffer message. This string must contain at - least - - one "/" character. The last segment of the URL's path - must represent - - the fully qualified name of the type (as in - - `path/google.protobuf.Duration`). The name should be in - a canonical form - - (e.g., leading "." is not accepted). - - - In practice, teams usually precompile into the binary - all types that they - - expect it to use in the context of Any. However, for - URLs which use the - - scheme `http`, `https`, or no scheme, one can optionally - set up a type - - server that maps type URLs to message definitions as - follows: - - - * If no scheme is provided, `https` is assumed. - - * An HTTP GET on the URL must yield a - [google.protobuf.Type][] - value in binary format, or produce an error. - * Applications are allowed to cache lookup results based - on the - URL, or have them precompiled into a binary to avoid any - lookup. Therefore, binary compatibility needs to be preserved - on changes to types. (Use versioned type names to manage - breaking changes.) - - Note: this functionality is not currently available in - the official - - protobuf release, and it is not used for type URLs - beginning with - - type.googleapis.com. As of May 2023, there are no widely - used type server - - implementations and no plans to implement one. - - - Schemes other than `http`, `https` (or the empty scheme) - might be - - used with implementation specific semantics. - additionalProperties: {} - description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - - URL that describes the type of the serialized message. - - - Protobuf library provides support to pack/unpack Any values - in the form - - of utility functions or additional generated methods of the - Any type. - - - Example 1: Pack and unpack a message in C++. - - Foo foo = ...; - Any any; - any.PackFrom(foo); - ... - if (any.UnpackTo(&foo)) { - ... - } - - Example 2: Pack and unpack a message in Java. - - Foo foo = ...; - Any any = Any.pack(foo); - ... - if (any.is(Foo.class)) { - foo = any.unpack(Foo.class); - } - // or ... - if (any.isSameTypeAs(Foo.getDefaultInstance())) { - foo = any.unpack(Foo.getDefaultInstance()); - } - - Example 3: Pack and unpack a message in Python. - - foo = Foo(...) - any = Any() - any.Pack(foo) - ... - if any.Is(Foo.DESCRIPTOR): - any.Unpack(foo) - ... - - Example 4: Pack and unpack a message in Go - - foo := &pb.Foo{...} - any, err := anypb.New(foo) - if err != nil { - ... - } - ... - foo := &pb.Foo{} - if err := any.UnmarshalTo(foo); err != nil { - ... - } - - The pack methods provided by protobuf library will by - default use - - 'type.googleapis.com/full.type.name' as the type URL and the - unpack - - methods only use the fully qualified type name after the - last '/' - - in the type URL, for example "foo.bar.com/x/y.z" will yield - type - - name "y.z". - - - JSON - - ==== - - The JSON representation of an `Any` value uses the regular - - representation of the deserialized, embedded message, with - an - - additional field `@type` which contains the type URL. - Example: - - package google.profile; - message Person { - string first_name = 1; - string last_name = 2; - } - - { - "@type": "type.googleapis.com/google.profile.Person", - "firstName": , - "lastName": - } - - If the embedded message type is well-known and has a custom - JSON - - representation, that representation will be embedded adding - a field - - `value` which holds the custom JSON in addition to the - `@type` - - field. Example (for message [google.protobuf.Duration][]): - - { - "@type": "type.googleapis.com/google.protobuf.Duration", - "value": "1.212s" - } - parameters: - - name: body - description: >- - MsgSubmitProposal defines an sdk.Msg type that supports submitting - arbitrary - - proposal Content. - in: body - required: true - schema: - type: object - properties: - content: - description: content is the proposal's content. - type: object - properties: - '@type': - type: string - description: >- - A URL/resource name that uniquely identifies the type of - the serialized - - protocol buffer message. This string must contain at least - - one "/" character. The last segment of the URL's path must - represent - - the fully qualified name of the type (as in - - `path/google.protobuf.Duration`). The name should be in a - canonical form - - (e.g., leading "." is not accepted). - - - In practice, teams usually precompile into the binary all - types that they - - expect it to use in the context of Any. However, for URLs - which use the - - scheme `http`, `https`, or no scheme, one can optionally - set up a type - - server that maps type URLs to message definitions as - follows: - - - * If no scheme is provided, `https` is assumed. - - * An HTTP GET on the URL must yield a - [google.protobuf.Type][] - value in binary format, or produce an error. - * Applications are allowed to cache lookup results based - on the - URL, or have them precompiled into a binary to avoid any - lookup. Therefore, binary compatibility needs to be preserved - on changes to types. (Use versioned type names to manage - breaking changes.) - - Note: this functionality is not currently available in the - official - - protobuf release, and it is not used for type URLs - beginning with - - type.googleapis.com. As of May 2023, there are no widely - used type server - - implementations and no plans to implement one. - - - Schemes other than `http`, `https` (or the empty scheme) - might be - - used with implementation specific semantics. - additionalProperties: {} - initial_deposit: - type: array - items: - type: object - properties: - denom: - type: string - amount: - type: string - description: >- - Coin defines a token with a denomination and an amount. - - - NOTE: The amount field is an Int which implements the custom - method - - signatures required by gogoproto. - description: >- - initial_deposit is the deposit value that must be paid at - proposal submission. - proposer: - type: string - description: proposer is the account address of the proposer. - description: >- - MsgSubmitProposal defines an sdk.Msg type that supports submitting - arbitrary - - proposal Content. - tags: - - Msg - /cosmos.gov.v1beta1.Msg/Vote: - post: - summary: Vote defines a method to add a vote on a specific proposal. - operationId: CosmosGovV1Beta1Msg_Vote - responses: - '200': - description: A successful response. - schema: - type: object - description: MsgVoteResponse defines the Msg/Vote response type. - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - description: >- - A URL/resource name that uniquely identifies the type of - the serialized - - protocol buffer message. This string must contain at - least - - one "/" character. The last segment of the URL's path - must represent - - the fully qualified name of the type (as in - - `path/google.protobuf.Duration`). The name should be in - a canonical form - - (e.g., leading "." is not accepted). - - - In practice, teams usually precompile into the binary - all types that they - - expect it to use in the context of Any. However, for - URLs which use the - - scheme `http`, `https`, or no scheme, one can optionally - set up a type - - server that maps type URLs to message definitions as - follows: - - - * If no scheme is provided, `https` is assumed. - - * An HTTP GET on the URL must yield a - [google.protobuf.Type][] - value in binary format, or produce an error. - * Applications are allowed to cache lookup results based - on the - URL, or have them precompiled into a binary to avoid any - lookup. Therefore, binary compatibility needs to be preserved - on changes to types. (Use versioned type names to manage - breaking changes.) - - Note: this functionality is not currently available in - the official - - protobuf release, and it is not used for type URLs - beginning with - - type.googleapis.com. As of May 2023, there are no widely - used type server - - implementations and no plans to implement one. - - - Schemes other than `http`, `https` (or the empty scheme) - might be - - used with implementation specific semantics. - additionalProperties: {} - description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - - URL that describes the type of the serialized message. - - - Protobuf library provides support to pack/unpack Any values - in the form - - of utility functions or additional generated methods of the - Any type. - - - Example 1: Pack and unpack a message in C++. - - Foo foo = ...; - Any any; - any.PackFrom(foo); - ... - if (any.UnpackTo(&foo)) { - ... - } - - Example 2: Pack and unpack a message in Java. - - Foo foo = ...; - Any any = Any.pack(foo); - ... - if (any.is(Foo.class)) { - foo = any.unpack(Foo.class); - } - // or ... - if (any.isSameTypeAs(Foo.getDefaultInstance())) { - foo = any.unpack(Foo.getDefaultInstance()); - } - - Example 3: Pack and unpack a message in Python. - - foo = Foo(...) - any = Any() - any.Pack(foo) - ... - if any.Is(Foo.DESCRIPTOR): - any.Unpack(foo) - ... - - Example 4: Pack and unpack a message in Go - - foo := &pb.Foo{...} - any, err := anypb.New(foo) - if err != nil { - ... - } - ... - foo := &pb.Foo{} - if err := any.UnmarshalTo(foo); err != nil { - ... - } - - The pack methods provided by protobuf library will by - default use - - 'type.googleapis.com/full.type.name' as the type URL and the - unpack - - methods only use the fully qualified type name after the - last '/' - - in the type URL, for example "foo.bar.com/x/y.z" will yield - type - - name "y.z". - - - JSON - - ==== - - The JSON representation of an `Any` value uses the regular - - representation of the deserialized, embedded message, with - an - - additional field `@type` which contains the type URL. - Example: - - package google.profile; - message Person { - string first_name = 1; - string last_name = 2; - } - - { - "@type": "type.googleapis.com/google.profile.Person", - "firstName": , - "lastName": - } - - If the embedded message type is well-known and has a custom - JSON - - representation, that representation will be embedded adding - a field - - `value` which holds the custom JSON in addition to the - `@type` - - field. Example (for message [google.protobuf.Duration][]): - - { - "@type": "type.googleapis.com/google.protobuf.Duration", - "value": "1.212s" - } - parameters: - - name: body - description: MsgVote defines a message to cast a vote. - in: body - required: true - schema: - type: object - properties: - proposal_id: - type: string - format: uint64 - description: proposal_id defines the unique id of the proposal. - voter: - type: string - description: voter is the voter address for the proposal. - option: - description: option defines the vote option. - type: string - enum: - - VOTE_OPTION_UNSPECIFIED - - VOTE_OPTION_YES - - VOTE_OPTION_ABSTAIN - - VOTE_OPTION_NO - - VOTE_OPTION_NO_WITH_VETO - default: VOTE_OPTION_UNSPECIFIED - description: MsgVote defines a message to cast a vote. - tags: - - Msg - /cosmos.gov.v1beta1.Msg/VoteWeighted: - post: - summary: >- - VoteWeighted defines a method to add a weighted vote on a specific - proposal. - description: 'Since: cosmos-sdk 0.43' - operationId: CosmosGovV1Beta1Msg_VoteWeighted - responses: - '200': - description: A successful response. - schema: - type: object - description: >- - MsgVoteWeightedResponse defines the Msg/VoteWeighted response - type. - - - Since: cosmos-sdk 0.43 - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - description: >- - A URL/resource name that uniquely identifies the type of - the serialized - - protocol buffer message. This string must contain at - least - - one "/" character. The last segment of the URL's path - must represent - - the fully qualified name of the type (as in - - `path/google.protobuf.Duration`). The name should be in - a canonical form - - (e.g., leading "." is not accepted). - - - In practice, teams usually precompile into the binary - all types that they - - expect it to use in the context of Any. However, for - URLs which use the - - scheme `http`, `https`, or no scheme, one can optionally - set up a type - - server that maps type URLs to message definitions as - follows: - - - * If no scheme is provided, `https` is assumed. - - * An HTTP GET on the URL must yield a - [google.protobuf.Type][] - value in binary format, or produce an error. - * Applications are allowed to cache lookup results based - on the - URL, or have them precompiled into a binary to avoid any - lookup. Therefore, binary compatibility needs to be preserved - on changes to types. (Use versioned type names to manage - breaking changes.) - - Note: this functionality is not currently available in - the official - - protobuf release, and it is not used for type URLs - beginning with - - type.googleapis.com. As of May 2023, there are no widely - used type server - - implementations and no plans to implement one. - - - Schemes other than `http`, `https` (or the empty scheme) - might be - - used with implementation specific semantics. - additionalProperties: {} - description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - - URL that describes the type of the serialized message. - - - Protobuf library provides support to pack/unpack Any values - in the form - - of utility functions or additional generated methods of the - Any type. - - - Example 1: Pack and unpack a message in C++. - - Foo foo = ...; - Any any; - any.PackFrom(foo); - ... - if (any.UnpackTo(&foo)) { - ... - } - - Example 2: Pack and unpack a message in Java. - - Foo foo = ...; - Any any = Any.pack(foo); - ... - if (any.is(Foo.class)) { - foo = any.unpack(Foo.class); - } - // or ... - if (any.isSameTypeAs(Foo.getDefaultInstance())) { - foo = any.unpack(Foo.getDefaultInstance()); - } - - Example 3: Pack and unpack a message in Python. - - foo = Foo(...) - any = Any() - any.Pack(foo) - ... - if any.Is(Foo.DESCRIPTOR): - any.Unpack(foo) - ... - - Example 4: Pack and unpack a message in Go - - foo := &pb.Foo{...} - any, err := anypb.New(foo) - if err != nil { - ... - } - ... - foo := &pb.Foo{} - if err := any.UnmarshalTo(foo); err != nil { - ... - } - - The pack methods provided by protobuf library will by - default use - - 'type.googleapis.com/full.type.name' as the type URL and the - unpack - - methods only use the fully qualified type name after the - last '/' - - in the type URL, for example "foo.bar.com/x/y.z" will yield - type - - name "y.z". - - - JSON - - ==== - - The JSON representation of an `Any` value uses the regular - - representation of the deserialized, embedded message, with - an - - additional field `@type` which contains the type URL. - Example: - - package google.profile; - message Person { - string first_name = 1; - string last_name = 2; - } - - { - "@type": "type.googleapis.com/google.profile.Person", - "firstName": , - "lastName": - } - - If the embedded message type is well-known and has a custom - JSON - - representation, that representation will be embedded adding - a field - - `value` which holds the custom JSON in addition to the - `@type` - - field. Example (for message [google.protobuf.Duration][]): - - { - "@type": "type.googleapis.com/google.protobuf.Duration", - "value": "1.212s" - } - parameters: - - name: body - description: |- - MsgVoteWeighted defines a message to cast a vote. - - Since: cosmos-sdk 0.43 - in: body - required: true - schema: - type: object - properties: - proposal_id: - type: string - format: uint64 - description: proposal_id defines the unique id of the proposal. - voter: - type: string - description: voter is the voter address for the proposal. - options: - type: array - items: - type: object - properties: - option: - description: >- - option defines the valid vote options, it must not - contain duplicate vote options. - type: string - enum: - - VOTE_OPTION_UNSPECIFIED - - VOTE_OPTION_YES - - VOTE_OPTION_ABSTAIN - - VOTE_OPTION_NO - - VOTE_OPTION_NO_WITH_VETO - default: VOTE_OPTION_UNSPECIFIED - weight: - type: string - description: >- - weight is the vote weight associated with the vote - option. - description: |- - WeightedVoteOption defines a unit of vote for vote split. - - Since: cosmos-sdk 0.43 - description: options defines the weighted vote options. - description: |- - MsgVoteWeighted defines a message to cast a vote. - - Since: cosmos-sdk 0.43 - tags: - - Msg - /cosmos.mint.v1beta1.Msg/UpdateParams: - post: - summary: >- - UpdateParams defines a governance operation for updating the x/mint - module - - parameters. The authority is defaults to the x/gov module account. - description: 'Since: cosmos-sdk 0.47' - operationId: CosmosMintV1Beta1Msg_UpdateParams - responses: - '200': - description: A successful response. - schema: - type: object - description: >- - MsgUpdateParamsResponse defines the response structure for - executing a - - MsgUpdateParams message. - - - Since: cosmos-sdk 0.47 - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - additionalProperties: {} - parameters: - - name: body - description: |- - MsgUpdateParams is the Msg/UpdateParams request type. - - Since: cosmos-sdk 0.47 - in: body - required: true - schema: - type: object - properties: - authority: - type: string - description: >- - authority is the address that controls the module (defaults to - x/gov unless overwritten). - params: - description: |- - params defines the x/mint parameters to update. - - NOTE: All parameters must be supplied. - type: object - properties: - mint_denom: - type: string - title: type of coin to mint - inflation_rate_change: - type: string - title: maximum annual change in inflation rate - inflation_max: - type: string - title: maximum inflation rate - inflation_min: - type: string - title: minimum inflation rate - goal_bonded: - type: string - title: goal of percent bonded atoms - blocks_per_year: - type: string - format: uint64 - title: expected blocks per year - description: |- - MsgUpdateParams is the Msg/UpdateParams request type. - - Since: cosmos-sdk 0.47 - tags: - - Msg - /cosmos.nft.v1beta1.Msg/Send: - post: - summary: Send defines a method to send a nft from one account to another account. - operationId: CosmosNftV1Beta1Msg_Send - responses: - '200': - description: A successful response. - schema: - type: object - description: MsgSendResponse defines the Msg/Send response type. - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - additionalProperties: {} - parameters: - - name: body - description: >- - MsgSend represents a message to send a nft from one account to - another account. - in: body - required: true - schema: - type: object - properties: - class_id: - type: string - title: >- - class_id defines the unique identifier of the nft - classification, similar to the contract address of ERC721 - id: - type: string - title: id defines the unique identification of nft - sender: - type: string - title: sender is the address of the owner of nft - receiver: - type: string - title: receiver is the receiver address of nft - description: >- - MsgSend represents a message to send a nft from one account to - another account. - tags: - - Msg - /cosmos/params/v1beta1/params: - get: - summary: |- - Params queries a specific parameter of a module, given its subspace and - key. - operationId: CosmosParamsV1Beta1Query_Params - responses: - '200': - description: A successful response. - schema: - type: object - properties: - param: - description: param defines the queried parameter. - type: object - properties: - subspace: - type: string - key: - type: string - value: - type: string - description: >- - QueryParamsResponse is response type for the Query/Params RPC - method. - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - additionalProperties: {} - parameters: - - name: subspace - description: subspace defines the module to query the parameter for. - in: query - required: false - type: string - - name: key - description: key defines the key of the parameter in the subspace. - in: query - required: false - type: string - tags: - - Query - /cosmos/params/v1beta1/subspaces: - get: - summary: >- - Subspaces queries for all registered subspaces and all keys for a - subspace. - description: 'Since: cosmos-sdk 0.46' - operationId: CosmosParamsV1Beta1Query_Subspaces - responses: - '200': - description: A successful response. - schema: - type: object - properties: - subspaces: - type: array - items: - type: object - properties: - subspace: - type: string - keys: - type: array - items: - type: string - description: >- - Subspace defines a parameter subspace name and all the keys - that exist for - - the subspace. - - - Since: cosmos-sdk 0.46 - description: >- - QuerySubspacesResponse defines the response types for querying for - all - - registered subspaces and all keys for a subspace. - - - Since: cosmos-sdk 0.46 - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - additionalProperties: {} - tags: - - Query - /cosmos.slashing.v1beta1.Msg/Unjail: - post: - summary: >- - Unjail defines a method for unjailing a jailed validator, thus returning - - them into the bonded validator set, so they can begin receiving - provisions - - and rewards again. - operationId: CosmosSlashingV1Beta1Msg_Unjail - responses: - '200': - description: A successful response. - schema: - type: object - title: MsgUnjailResponse defines the Msg/Unjail response type - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - additionalProperties: {} - parameters: - - name: body - in: body - required: true - schema: - type: object - properties: - validator_addr: - type: string - title: MsgUnjail defines the Msg/Unjail request type - tags: - - Msg - /cosmos.slashing.v1beta1.Msg/UpdateParams: - post: - summary: >- - UpdateParams defines a governance operation for updating the x/slashing - module - - parameters. The authority defaults to the x/gov module account. - description: 'Since: cosmos-sdk 0.47' - operationId: CosmosSlashingV1Beta1Msg_UpdateParams - responses: - '200': - description: A successful response. - schema: - type: object - description: >- - MsgUpdateParamsResponse defines the response structure for - executing a - - MsgUpdateParams message. - - - Since: cosmos-sdk 0.47 - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - additionalProperties: {} - parameters: - - name: body - description: |- - MsgUpdateParams is the Msg/UpdateParams request type. - - Since: cosmos-sdk 0.47 - in: body - required: true - schema: - type: object - properties: - authority: - type: string - description: >- - authority is the address that controls the module (defaults to - x/gov unless overwritten). - params: - description: |- - params defines the x/slashing parameters to update. - - NOTE: All parameters must be supplied. - type: object - properties: - signed_blocks_window: - type: string - format: int64 - min_signed_per_window: - type: string - format: byte - downtime_jail_duration: - type: string - slash_fraction_double_sign: - type: string - format: byte - slash_fraction_downtime: - type: string - format: byte - description: |- - MsgUpdateParams is the Msg/UpdateParams request type. - - Since: cosmos-sdk 0.47 - tags: - - Msg - /cosmos.staking.v1beta1.Msg/BeginRedelegate: - post: - summary: >- - BeginRedelegate defines a method for performing a redelegation - - of coins from a delegator and source validator to a destination - validator. - operationId: CosmosStakingV1Beta1Msg_BeginRedelegate - responses: - '200': - description: A successful response. - schema: - type: object - properties: - completion_time: - type: string - format: date-time - description: >- - MsgBeginRedelegateResponse defines the Msg/BeginRedelegate - response type. - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - description: >- - A URL/resource name that uniquely identifies the type of - the serialized - - protocol buffer message. This string must contain at - least - - one "/" character. The last segment of the URL's path - must represent - - the fully qualified name of the type (as in - - `path/google.protobuf.Duration`). The name should be in - a canonical form - - (e.g., leading "." is not accepted). - - - In practice, teams usually precompile into the binary - all types that they - - expect it to use in the context of Any. However, for - URLs which use the - - scheme `http`, `https`, or no scheme, one can optionally - set up a type - - server that maps type URLs to message definitions as - follows: - - - * If no scheme is provided, `https` is assumed. - - * An HTTP GET on the URL must yield a - [google.protobuf.Type][] - value in binary format, or produce an error. - * Applications are allowed to cache lookup results based - on the - URL, or have them precompiled into a binary to avoid any - lookup. Therefore, binary compatibility needs to be preserved - on changes to types. (Use versioned type names to manage - breaking changes.) - - Note: this functionality is not currently available in - the official - - protobuf release, and it is not used for type URLs - beginning with - - type.googleapis.com. As of May 2023, there are no widely - used type server - - implementations and no plans to implement one. - - - Schemes other than `http`, `https` (or the empty scheme) - might be - - used with implementation specific semantics. - additionalProperties: {} - description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - - URL that describes the type of the serialized message. - - - Protobuf library provides support to pack/unpack Any values - in the form - - of utility functions or additional generated methods of the - Any type. - - - Example 1: Pack and unpack a message in C++. - - Foo foo = ...; - Any any; - any.PackFrom(foo); - ... - if (any.UnpackTo(&foo)) { - ... - } - - Example 2: Pack and unpack a message in Java. - - Foo foo = ...; - Any any = Any.pack(foo); - ... - if (any.is(Foo.class)) { - foo = any.unpack(Foo.class); - } - // or ... - if (any.isSameTypeAs(Foo.getDefaultInstance())) { - foo = any.unpack(Foo.getDefaultInstance()); - } - - Example 3: Pack and unpack a message in Python. - - foo = Foo(...) - any = Any() - any.Pack(foo) - ... - if any.Is(Foo.DESCRIPTOR): - any.Unpack(foo) - ... - - Example 4: Pack and unpack a message in Go - - foo := &pb.Foo{...} - any, err := anypb.New(foo) - if err != nil { - ... - } - ... - foo := &pb.Foo{} - if err := any.UnmarshalTo(foo); err != nil { - ... - } - - The pack methods provided by protobuf library will by - default use - - 'type.googleapis.com/full.type.name' as the type URL and the - unpack - - methods only use the fully qualified type name after the - last '/' - - in the type URL, for example "foo.bar.com/x/y.z" will yield - type - - name "y.z". - - - JSON - - ==== - - The JSON representation of an `Any` value uses the regular - - representation of the deserialized, embedded message, with - an - - additional field `@type` which contains the type URL. - Example: - - package google.profile; - message Person { - string first_name = 1; - string last_name = 2; - } - - { - "@type": "type.googleapis.com/google.profile.Person", - "firstName": , - "lastName": - } - - If the embedded message type is well-known and has a custom - JSON - - representation, that representation will be embedded adding - a field - - `value` which holds the custom JSON in addition to the - `@type` - - field. Example (for message [google.protobuf.Duration][]): - - { - "@type": "type.googleapis.com/google.protobuf.Duration", - "value": "1.212s" - } - parameters: - - name: body - description: >- - MsgBeginRedelegate defines a SDK message for performing a - redelegation - - of coins from a delegator and source validator to a destination - validator. - in: body - required: true - schema: - type: object - properties: - delegator_address: - type: string - validator_src_address: - type: string - validator_dst_address: - type: string - amount: - type: object - properties: - denom: - type: string - amount: - type: string - description: >- - Coin defines a token with a denomination and an amount. - - - NOTE: The amount field is an Int which implements the custom - method - - signatures required by gogoproto. - description: >- - MsgBeginRedelegate defines a SDK message for performing a - redelegation - - of coins from a delegator and source validator to a destination - validator. - tags: - - Msg - /cosmos.staking.v1beta1.Msg/CancelUnbondingDelegation: - post: - summary: >- - CancelUnbondingDelegation defines a method for performing canceling the - unbonding delegation - - and delegate back to previous validator. - description: 'Since: cosmos-sdk 0.46' - operationId: CosmosStakingV1Beta1Msg_CancelUnbondingDelegation - responses: - '200': - description: A successful response. - schema: - type: object - description: 'Since: cosmos-sdk 0.46' - title: MsgCancelUnbondingDelegationResponse - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - description: >- - A URL/resource name that uniquely identifies the type of - the serialized - - protocol buffer message. This string must contain at - least - - one "/" character. The last segment of the URL's path - must represent - - the fully qualified name of the type (as in - - `path/google.protobuf.Duration`). The name should be in - a canonical form - - (e.g., leading "." is not accepted). - - - In practice, teams usually precompile into the binary - all types that they - - expect it to use in the context of Any. However, for - URLs which use the - - scheme `http`, `https`, or no scheme, one can optionally - set up a type - - server that maps type URLs to message definitions as - follows: - - - * If no scheme is provided, `https` is assumed. - - * An HTTP GET on the URL must yield a - [google.protobuf.Type][] - value in binary format, or produce an error. - * Applications are allowed to cache lookup results based - on the - URL, or have them precompiled into a binary to avoid any - lookup. Therefore, binary compatibility needs to be preserved - on changes to types. (Use versioned type names to manage - breaking changes.) - - Note: this functionality is not currently available in - the official - - protobuf release, and it is not used for type URLs - beginning with - - type.googleapis.com. As of May 2023, there are no widely - used type server - - implementations and no plans to implement one. - - - Schemes other than `http`, `https` (or the empty scheme) - might be - - used with implementation specific semantics. - additionalProperties: {} - description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - - URL that describes the type of the serialized message. - - - Protobuf library provides support to pack/unpack Any values - in the form - - of utility functions or additional generated methods of the - Any type. - - - Example 1: Pack and unpack a message in C++. - - Foo foo = ...; - Any any; - any.PackFrom(foo); - ... - if (any.UnpackTo(&foo)) { - ... - } - - Example 2: Pack and unpack a message in Java. - - Foo foo = ...; - Any any = Any.pack(foo); - ... - if (any.is(Foo.class)) { - foo = any.unpack(Foo.class); - } - // or ... - if (any.isSameTypeAs(Foo.getDefaultInstance())) { - foo = any.unpack(Foo.getDefaultInstance()); - } - - Example 3: Pack and unpack a message in Python. - - foo = Foo(...) - any = Any() - any.Pack(foo) - ... - if any.Is(Foo.DESCRIPTOR): - any.Unpack(foo) - ... - - Example 4: Pack and unpack a message in Go - - foo := &pb.Foo{...} - any, err := anypb.New(foo) - if err != nil { - ... - } - ... - foo := &pb.Foo{} - if err := any.UnmarshalTo(foo); err != nil { - ... - } - - The pack methods provided by protobuf library will by - default use - - 'type.googleapis.com/full.type.name' as the type URL and the - unpack - - methods only use the fully qualified type name after the - last '/' - - in the type URL, for example "foo.bar.com/x/y.z" will yield - type - - name "y.z". - - - JSON - - ==== - - The JSON representation of an `Any` value uses the regular - - representation of the deserialized, embedded message, with - an - - additional field `@type` which contains the type URL. - Example: - - package google.profile; - message Person { - string first_name = 1; - string last_name = 2; - } - - { - "@type": "type.googleapis.com/google.profile.Person", - "firstName": , - "lastName": - } - - If the embedded message type is well-known and has a custom - JSON - - representation, that representation will be embedded adding - a field - - `value` which holds the custom JSON in addition to the - `@type` - - field. Example (for message [google.protobuf.Duration][]): - - { - "@type": "type.googleapis.com/google.protobuf.Duration", - "value": "1.212s" - } - parameters: - - name: body - description: 'Since: cosmos-sdk 0.46' - in: body - required: true - schema: - type: object - properties: - delegator_address: - type: string - validator_address: - type: string - amount: - type: object - properties: - denom: - type: string - amount: - type: string - description: >- - Coin defines a token with a denomination and an amount. - - - NOTE: The amount field is an Int which implements the custom - method - - signatures required by gogoproto. - title: >- - amount is always less than or equal to unbonding delegation - entry balance - creation_height: - type: string - format: int64 - description: creation_height is the height which the unbonding took place. - description: 'Since: cosmos-sdk 0.46' - title: >- - MsgCancelUnbondingDelegation defines the SDK message for - performing a cancel unbonding delegation for delegator - tags: - - Msg - /cosmos.staking.v1beta1.Msg/CreateValidator: - post: - summary: CreateValidator defines a method for creating a new validator. - operationId: CosmosStakingV1Beta1Msg_CreateValidator - responses: - '200': - description: A successful response. - schema: - type: object - description: >- - MsgCreateValidatorResponse defines the Msg/CreateValidator - response type. - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - description: >- - A URL/resource name that uniquely identifies the type of - the serialized - - protocol buffer message. This string must contain at - least - - one "/" character. The last segment of the URL's path - must represent - - the fully qualified name of the type (as in - - `path/google.protobuf.Duration`). The name should be in - a canonical form - - (e.g., leading "." is not accepted). - - - In practice, teams usually precompile into the binary - all types that they - - expect it to use in the context of Any. However, for - URLs which use the - - scheme `http`, `https`, or no scheme, one can optionally - set up a type - - server that maps type URLs to message definitions as - follows: - - - * If no scheme is provided, `https` is assumed. - - * An HTTP GET on the URL must yield a - [google.protobuf.Type][] - value in binary format, or produce an error. - * Applications are allowed to cache lookup results based - on the - URL, or have them precompiled into a binary to avoid any - lookup. Therefore, binary compatibility needs to be preserved - on changes to types. (Use versioned type names to manage - breaking changes.) - - Note: this functionality is not currently available in - the official - - protobuf release, and it is not used for type URLs - beginning with - - type.googleapis.com. As of May 2023, there are no widely - used type server - - implementations and no plans to implement one. - - - Schemes other than `http`, `https` (or the empty scheme) - might be - - used with implementation specific semantics. - additionalProperties: {} - description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - - URL that describes the type of the serialized message. - - - Protobuf library provides support to pack/unpack Any values - in the form - - of utility functions or additional generated methods of the - Any type. - - - Example 1: Pack and unpack a message in C++. - - Foo foo = ...; - Any any; - any.PackFrom(foo); - ... - if (any.UnpackTo(&foo)) { - ... - } - - Example 2: Pack and unpack a message in Java. - - Foo foo = ...; - Any any = Any.pack(foo); - ... - if (any.is(Foo.class)) { - foo = any.unpack(Foo.class); - } - // or ... - if (any.isSameTypeAs(Foo.getDefaultInstance())) { - foo = any.unpack(Foo.getDefaultInstance()); - } - - Example 3: Pack and unpack a message in Python. - - foo = Foo(...) - any = Any() - any.Pack(foo) - ... - if any.Is(Foo.DESCRIPTOR): - any.Unpack(foo) - ... - - Example 4: Pack and unpack a message in Go - - foo := &pb.Foo{...} - any, err := anypb.New(foo) - if err != nil { - ... - } - ... - foo := &pb.Foo{} - if err := any.UnmarshalTo(foo); err != nil { - ... - } - - The pack methods provided by protobuf library will by - default use - - 'type.googleapis.com/full.type.name' as the type URL and the - unpack - - methods only use the fully qualified type name after the - last '/' - - in the type URL, for example "foo.bar.com/x/y.z" will yield - type - - name "y.z". - - - JSON - - ==== - - The JSON representation of an `Any` value uses the regular - - representation of the deserialized, embedded message, with - an - - additional field `@type` which contains the type URL. - Example: - - package google.profile; - message Person { - string first_name = 1; - string last_name = 2; - } - - { - "@type": "type.googleapis.com/google.profile.Person", - "firstName": , - "lastName": - } - - If the embedded message type is well-known and has a custom - JSON - - representation, that representation will be embedded adding - a field - - `value` which holds the custom JSON in addition to the - `@type` - - field. Example (for message [google.protobuf.Duration][]): - - { - "@type": "type.googleapis.com/google.protobuf.Duration", - "value": "1.212s" - } - parameters: - - name: body - description: >- - MsgCreateValidator defines a SDK message for creating a new - validator. - in: body - required: true - schema: - type: object - properties: - description: - type: object - properties: - moniker: - type: string - description: moniker defines a human-readable name for the validator. - identity: - type: string - description: >- - identity defines an optional identity signature (ex. UPort - or Keybase). - website: - type: string - description: website defines an optional website link. - security_contact: - type: string - description: >- - security_contact defines an optional email for security - contact. - details: - type: string - description: details define other optional details. - description: Description defines a validator description. - commission: - type: object - properties: - rate: - type: string - description: >- - rate is the commission rate charged to delegators, as a - fraction. - max_rate: - type: string - description: >- - max_rate defines the maximum commission rate which - validator can ever charge, as a fraction. - max_change_rate: - type: string - description: >- - max_change_rate defines the maximum daily increase of the - validator commission, as a fraction. - description: >- - CommissionRates defines the initial commission rates to be - used for creating - - a validator. - min_self_delegation: - type: string - delegator_address: - type: string - description: >- - Deprecated: Use of Delegator Address in MsgCreateValidator is - deprecated. - - The validator address bytes and delegator address bytes refer - to the same account while creating validator (defer - - only in bech32 notation). - validator_address: - type: string - pubkey: - type: object - properties: - '@type': - type: string - description: >- - A URL/resource name that uniquely identifies the type of - the serialized - - protocol buffer message. This string must contain at least - - one "/" character. The last segment of the URL's path must - represent - - the fully qualified name of the type (as in - - `path/google.protobuf.Duration`). The name should be in a - canonical form - - (e.g., leading "." is not accepted). - - - In practice, teams usually precompile into the binary all - types that they - - expect it to use in the context of Any. However, for URLs - which use the - - scheme `http`, `https`, or no scheme, one can optionally - set up a type - - server that maps type URLs to message definitions as - follows: - - - * If no scheme is provided, `https` is assumed. - - * An HTTP GET on the URL must yield a - [google.protobuf.Type][] - value in binary format, or produce an error. - * Applications are allowed to cache lookup results based - on the - URL, or have them precompiled into a binary to avoid any - lookup. Therefore, binary compatibility needs to be preserved - on changes to types. (Use versioned type names to manage - breaking changes.) - - Note: this functionality is not currently available in the - official - - protobuf release, and it is not used for type URLs - beginning with - - type.googleapis.com. As of May 2023, there are no widely - used type server - - implementations and no plans to implement one. - - - Schemes other than `http`, `https` (or the empty scheme) - might be - - used with implementation specific semantics. - additionalProperties: {} - description: >- - `Any` contains an arbitrary serialized protocol buffer message - along with a - - URL that describes the type of the serialized message. - - - Protobuf library provides support to pack/unpack Any values in - the form - - of utility functions or additional generated methods of the - Any type. - - - Example 1: Pack and unpack a message in C++. - - Foo foo = ...; - Any any; - any.PackFrom(foo); - ... - if (any.UnpackTo(&foo)) { - ... - } - - Example 2: Pack and unpack a message in Java. - - Foo foo = ...; - Any any = Any.pack(foo); - ... - if (any.is(Foo.class)) { - foo = any.unpack(Foo.class); - } - // or ... - if (any.isSameTypeAs(Foo.getDefaultInstance())) { - foo = any.unpack(Foo.getDefaultInstance()); - } - - Example 3: Pack and unpack a message in Python. - - foo = Foo(...) - any = Any() - any.Pack(foo) - ... - if any.Is(Foo.DESCRIPTOR): - any.Unpack(foo) - ... - - Example 4: Pack and unpack a message in Go - - foo := &pb.Foo{...} - any, err := anypb.New(foo) - if err != nil { - ... - } - ... - foo := &pb.Foo{} - if err := any.UnmarshalTo(foo); err != nil { - ... - } - - The pack methods provided by protobuf library will by default - use - - 'type.googleapis.com/full.type.name' as the type URL and the - unpack - - methods only use the fully qualified type name after the last - '/' - - in the type URL, for example "foo.bar.com/x/y.z" will yield - type - - name "y.z". - - - JSON - - ==== - - The JSON representation of an `Any` value uses the regular - - representation of the deserialized, embedded message, with an - - additional field `@type` which contains the type URL. Example: - - package google.profile; - message Person { - string first_name = 1; - string last_name = 2; - } - - { - "@type": "type.googleapis.com/google.profile.Person", - "firstName": , - "lastName": - } - - If the embedded message type is well-known and has a custom - JSON - - representation, that representation will be embedded adding a - field - - `value` which holds the custom JSON in addition to the `@type` - - field. Example (for message [google.protobuf.Duration][]): - - { - "@type": "type.googleapis.com/google.protobuf.Duration", - "value": "1.212s" - } - value: - type: object - properties: - denom: - type: string - amount: - type: string - description: >- - Coin defines a token with a denomination and an amount. - - - NOTE: The amount field is an Int which implements the custom - method - - signatures required by gogoproto. - description: >- - MsgCreateValidator defines a SDK message for creating a new - validator. - tags: - - Msg - /cosmos.staking.v1beta1.Msg/Delegate: - post: - summary: |- - Delegate defines a method for performing a delegation of coins - from a delegator to a validator. - operationId: CosmosStakingV1Beta1Msg_Delegate - responses: - '200': - description: A successful response. - schema: - type: object - description: MsgDelegateResponse defines the Msg/Delegate response type. - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - description: >- - A URL/resource name that uniquely identifies the type of - the serialized - - protocol buffer message. This string must contain at - least - - one "/" character. The last segment of the URL's path - must represent - - the fully qualified name of the type (as in - - `path/google.protobuf.Duration`). The name should be in - a canonical form - - (e.g., leading "." is not accepted). - - - In practice, teams usually precompile into the binary - all types that they - - expect it to use in the context of Any. However, for - URLs which use the - - scheme `http`, `https`, or no scheme, one can optionally - set up a type - - server that maps type URLs to message definitions as - follows: - - - * If no scheme is provided, `https` is assumed. - - * An HTTP GET on the URL must yield a - [google.protobuf.Type][] - value in binary format, or produce an error. - * Applications are allowed to cache lookup results based - on the - URL, or have them precompiled into a binary to avoid any - lookup. Therefore, binary compatibility needs to be preserved - on changes to types. (Use versioned type names to manage - breaking changes.) - - Note: this functionality is not currently available in - the official - - protobuf release, and it is not used for type URLs - beginning with - - type.googleapis.com. As of May 2023, there are no widely - used type server - - implementations and no plans to implement one. - - - Schemes other than `http`, `https` (or the empty scheme) - might be - - used with implementation specific semantics. - additionalProperties: {} - description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - - URL that describes the type of the serialized message. - - - Protobuf library provides support to pack/unpack Any values - in the form - - of utility functions or additional generated methods of the - Any type. - - - Example 1: Pack and unpack a message in C++. - - Foo foo = ...; - Any any; - any.PackFrom(foo); - ... - if (any.UnpackTo(&foo)) { - ... - } - - Example 2: Pack and unpack a message in Java. - - Foo foo = ...; - Any any = Any.pack(foo); - ... - if (any.is(Foo.class)) { - foo = any.unpack(Foo.class); - } - // or ... - if (any.isSameTypeAs(Foo.getDefaultInstance())) { - foo = any.unpack(Foo.getDefaultInstance()); - } - - Example 3: Pack and unpack a message in Python. - - foo = Foo(...) - any = Any() - any.Pack(foo) - ... - if any.Is(Foo.DESCRIPTOR): - any.Unpack(foo) - ... - - Example 4: Pack and unpack a message in Go - - foo := &pb.Foo{...} - any, err := anypb.New(foo) - if err != nil { - ... - } - ... - foo := &pb.Foo{} - if err := any.UnmarshalTo(foo); err != nil { - ... - } - - The pack methods provided by protobuf library will by - default use - - 'type.googleapis.com/full.type.name' as the type URL and the - unpack - - methods only use the fully qualified type name after the - last '/' - - in the type URL, for example "foo.bar.com/x/y.z" will yield - type - - name "y.z". - - - JSON - - ==== - - The JSON representation of an `Any` value uses the regular - - representation of the deserialized, embedded message, with - an - - additional field `@type` which contains the type URL. - Example: - - package google.profile; - message Person { - string first_name = 1; - string last_name = 2; - } - - { - "@type": "type.googleapis.com/google.profile.Person", - "firstName": , - "lastName": - } - - If the embedded message type is well-known and has a custom - JSON - - representation, that representation will be embedded adding - a field - - `value` which holds the custom JSON in addition to the - `@type` - - field. Example (for message [google.protobuf.Duration][]): - - { - "@type": "type.googleapis.com/google.protobuf.Duration", - "value": "1.212s" - } - parameters: - - name: body - description: >- - MsgDelegate defines a SDK message for performing a delegation of - coins - - from a delegator to a validator. - in: body - required: true - schema: - type: object - properties: - delegator_address: - type: string - validator_address: - type: string - amount: - type: object - properties: - denom: - type: string - amount: - type: string - description: >- - Coin defines a token with a denomination and an amount. - - - NOTE: The amount field is an Int which implements the custom - method - - signatures required by gogoproto. - description: >- - MsgDelegate defines a SDK message for performing a delegation of - coins - - from a delegator to a validator. - tags: - - Msg - /cosmos.staking.v1beta1.Msg/EditValidator: - post: - summary: EditValidator defines a method for editing an existing validator. - operationId: CosmosStakingV1Beta1Msg_EditValidator - responses: - '200': - description: A successful response. - schema: - type: object - description: >- - MsgEditValidatorResponse defines the Msg/EditValidator response - type. - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - description: >- - A URL/resource name that uniquely identifies the type of - the serialized - - protocol buffer message. This string must contain at - least - - one "/" character. The last segment of the URL's path - must represent - - the fully qualified name of the type (as in - - `path/google.protobuf.Duration`). The name should be in - a canonical form - - (e.g., leading "." is not accepted). - - - In practice, teams usually precompile into the binary - all types that they - - expect it to use in the context of Any. However, for - URLs which use the - - scheme `http`, `https`, or no scheme, one can optionally - set up a type - - server that maps type URLs to message definitions as - follows: - - - * If no scheme is provided, `https` is assumed. - - * An HTTP GET on the URL must yield a - [google.protobuf.Type][] - value in binary format, or produce an error. - * Applications are allowed to cache lookup results based - on the - URL, or have them precompiled into a binary to avoid any - lookup. Therefore, binary compatibility needs to be preserved - on changes to types. (Use versioned type names to manage - breaking changes.) - - Note: this functionality is not currently available in - the official - - protobuf release, and it is not used for type URLs - beginning with - - type.googleapis.com. As of May 2023, there are no widely - used type server - - implementations and no plans to implement one. - - - Schemes other than `http`, `https` (or the empty scheme) - might be - - used with implementation specific semantics. - additionalProperties: {} - description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - - URL that describes the type of the serialized message. - - - Protobuf library provides support to pack/unpack Any values - in the form - - of utility functions or additional generated methods of the - Any type. - - - Example 1: Pack and unpack a message in C++. - - Foo foo = ...; - Any any; - any.PackFrom(foo); - ... - if (any.UnpackTo(&foo)) { - ... - } - - Example 2: Pack and unpack a message in Java. - - Foo foo = ...; - Any any = Any.pack(foo); - ... - if (any.is(Foo.class)) { - foo = any.unpack(Foo.class); - } - // or ... - if (any.isSameTypeAs(Foo.getDefaultInstance())) { - foo = any.unpack(Foo.getDefaultInstance()); - } - - Example 3: Pack and unpack a message in Python. - - foo = Foo(...) - any = Any() - any.Pack(foo) - ... - if any.Is(Foo.DESCRIPTOR): - any.Unpack(foo) - ... - - Example 4: Pack and unpack a message in Go - - foo := &pb.Foo{...} - any, err := anypb.New(foo) - if err != nil { - ... - } - ... - foo := &pb.Foo{} - if err := any.UnmarshalTo(foo); err != nil { - ... - } - - The pack methods provided by protobuf library will by - default use - - 'type.googleapis.com/full.type.name' as the type URL and the - unpack - - methods only use the fully qualified type name after the - last '/' - - in the type URL, for example "foo.bar.com/x/y.z" will yield - type - - name "y.z". - - - JSON - - ==== - - The JSON representation of an `Any` value uses the regular - - representation of the deserialized, embedded message, with - an - - additional field `@type` which contains the type URL. - Example: - - package google.profile; - message Person { - string first_name = 1; - string last_name = 2; - } - - { - "@type": "type.googleapis.com/google.profile.Person", - "firstName": , - "lastName": - } - - If the embedded message type is well-known and has a custom - JSON - - representation, that representation will be embedded adding - a field - - `value` which holds the custom JSON in addition to the - `@type` - - field. Example (for message [google.protobuf.Duration][]): - - { - "@type": "type.googleapis.com/google.protobuf.Duration", - "value": "1.212s" - } - parameters: - - name: body - description: >- - MsgEditValidator defines a SDK message for editing an existing - validator. - in: body - required: true - schema: - type: object - properties: - description: - type: object - properties: - moniker: - type: string - description: moniker defines a human-readable name for the validator. - identity: - type: string - description: >- - identity defines an optional identity signature (ex. UPort - or Keybase). - website: - type: string - description: website defines an optional website link. - security_contact: - type: string - description: >- - security_contact defines an optional email for security - contact. - details: - type: string - description: details define other optional details. - description: Description defines a validator description. - validator_address: - type: string - commission_rate: - type: string - title: >- - We pass a reference to the new commission rate and min self - delegation as - - it's not mandatory to update. If not updated, the deserialized - rate will be - - zero with no way to distinguish if an update was intended. - - REF: #2373 - min_self_delegation: - type: string - description: >- - MsgEditValidator defines a SDK message for editing an existing - validator. - tags: - - Msg - /cosmos.staking.v1beta1.Msg/Undelegate: - post: - summary: |- - Undelegate defines a method for performing an undelegation from a - delegate and a validator. - operationId: CosmosStakingV1Beta1Msg_Undelegate - responses: - '200': - description: A successful response. - schema: - type: object - properties: - completion_time: - type: string - format: date-time - amount: - type: object - properties: - denom: - type: string - amount: - type: string - description: >- - Coin defines a token with a denomination and an amount. - - - NOTE: The amount field is an Int which implements the custom - method - - signatures required by gogoproto. - title: amount returns the amount of undelegated coins - description: MsgUndelegateResponse defines the Msg/Undelegate response type. - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - description: >- - A URL/resource name that uniquely identifies the type of - the serialized - - protocol buffer message. This string must contain at - least - - one "/" character. The last segment of the URL's path - must represent - - the fully qualified name of the type (as in - - `path/google.protobuf.Duration`). The name should be in - a canonical form - - (e.g., leading "." is not accepted). - - - In practice, teams usually precompile into the binary - all types that they - - expect it to use in the context of Any. However, for - URLs which use the - - scheme `http`, `https`, or no scheme, one can optionally - set up a type - - server that maps type URLs to message definitions as - follows: - - - * If no scheme is provided, `https` is assumed. - - * An HTTP GET on the URL must yield a - [google.protobuf.Type][] - value in binary format, or produce an error. - * Applications are allowed to cache lookup results based - on the - URL, or have them precompiled into a binary to avoid any - lookup. Therefore, binary compatibility needs to be preserved - on changes to types. (Use versioned type names to manage - breaking changes.) - - Note: this functionality is not currently available in - the official - - protobuf release, and it is not used for type URLs - beginning with - - type.googleapis.com. As of May 2023, there are no widely - used type server - - implementations and no plans to implement one. - - - Schemes other than `http`, `https` (or the empty scheme) - might be - - used with implementation specific semantics. - additionalProperties: {} - description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - - URL that describes the type of the serialized message. - - - Protobuf library provides support to pack/unpack Any values - in the form - - of utility functions or additional generated methods of the - Any type. - - - Example 1: Pack and unpack a message in C++. - - Foo foo = ...; - Any any; - any.PackFrom(foo); - ... - if (any.UnpackTo(&foo)) { - ... - } - - Example 2: Pack and unpack a message in Java. - - Foo foo = ...; - Any any = Any.pack(foo); - ... - if (any.is(Foo.class)) { - foo = any.unpack(Foo.class); - } - // or ... - if (any.isSameTypeAs(Foo.getDefaultInstance())) { - foo = any.unpack(Foo.getDefaultInstance()); - } - - Example 3: Pack and unpack a message in Python. - - foo = Foo(...) - any = Any() - any.Pack(foo) - ... - if any.Is(Foo.DESCRIPTOR): - any.Unpack(foo) - ... - - Example 4: Pack and unpack a message in Go - - foo := &pb.Foo{...} - any, err := anypb.New(foo) - if err != nil { - ... - } - ... - foo := &pb.Foo{} - if err := any.UnmarshalTo(foo); err != nil { - ... - } - - The pack methods provided by protobuf library will by - default use - - 'type.googleapis.com/full.type.name' as the type URL and the - unpack - - methods only use the fully qualified type name after the - last '/' - - in the type URL, for example "foo.bar.com/x/y.z" will yield - type - - name "y.z". - - - JSON - - ==== - - The JSON representation of an `Any` value uses the regular - - representation of the deserialized, embedded message, with - an - - additional field `@type` which contains the type URL. - Example: - - package google.profile; - message Person { - string first_name = 1; - string last_name = 2; - } - - { - "@type": "type.googleapis.com/google.profile.Person", - "firstName": , - "lastName": - } - - If the embedded message type is well-known and has a custom - JSON - - representation, that representation will be embedded adding - a field - - `value` which holds the custom JSON in addition to the - `@type` - - field. Example (for message [google.protobuf.Duration][]): - - { - "@type": "type.googleapis.com/google.protobuf.Duration", - "value": "1.212s" - } - parameters: - - name: body - description: >- - MsgUndelegate defines a SDK message for performing an undelegation - from a - - delegate and a validator. - in: body - required: true - schema: - type: object - properties: - delegator_address: - type: string - validator_address: - type: string - amount: - type: object - properties: - denom: - type: string - amount: - type: string - description: >- - Coin defines a token with a denomination and an amount. - - - NOTE: The amount field is an Int which implements the custom - method - - signatures required by gogoproto. - description: >- - MsgUndelegate defines a SDK message for performing an undelegation - from a - - delegate and a validator. - tags: - - Msg - /cosmos.staking.v1beta1.Msg/UpdateParams: - post: - summary: |- - UpdateParams defines an operation for updating the x/staking module - parameters. - Since: cosmos-sdk 0.47 - operationId: CosmosStakingV1Beta1Msg_UpdateParams - responses: - '200': - description: A successful response. - schema: - type: object - description: >- - MsgUpdateParamsResponse defines the response structure for - executing a - - MsgUpdateParams message. - - - Since: cosmos-sdk 0.47 - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - description: >- - A URL/resource name that uniquely identifies the type of - the serialized - - protocol buffer message. This string must contain at - least - - one "/" character. The last segment of the URL's path - must represent - - the fully qualified name of the type (as in - - `path/google.protobuf.Duration`). The name should be in - a canonical form - - (e.g., leading "." is not accepted). - - - In practice, teams usually precompile into the binary - all types that they - - expect it to use in the context of Any. However, for - URLs which use the - - scheme `http`, `https`, or no scheme, one can optionally - set up a type - - server that maps type URLs to message definitions as - follows: - - - * If no scheme is provided, `https` is assumed. - - * An HTTP GET on the URL must yield a - [google.protobuf.Type][] - value in binary format, or produce an error. - * Applications are allowed to cache lookup results based - on the - URL, or have them precompiled into a binary to avoid any - lookup. Therefore, binary compatibility needs to be preserved - on changes to types. (Use versioned type names to manage - breaking changes.) - - Note: this functionality is not currently available in - the official - - protobuf release, and it is not used for type URLs - beginning with - - type.googleapis.com. As of May 2023, there are no widely - used type server - - implementations and no plans to implement one. - - - Schemes other than `http`, `https` (or the empty scheme) - might be - - used with implementation specific semantics. - additionalProperties: {} - description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - - URL that describes the type of the serialized message. - - - Protobuf library provides support to pack/unpack Any values - in the form - - of utility functions or additional generated methods of the - Any type. - - - Example 1: Pack and unpack a message in C++. - - Foo foo = ...; - Any any; - any.PackFrom(foo); - ... - if (any.UnpackTo(&foo)) { - ... - } - - Example 2: Pack and unpack a message in Java. - - Foo foo = ...; - Any any = Any.pack(foo); - ... - if (any.is(Foo.class)) { - foo = any.unpack(Foo.class); - } - // or ... - if (any.isSameTypeAs(Foo.getDefaultInstance())) { - foo = any.unpack(Foo.getDefaultInstance()); - } - - Example 3: Pack and unpack a message in Python. - - foo = Foo(...) - any = Any() - any.Pack(foo) - ... - if any.Is(Foo.DESCRIPTOR): - any.Unpack(foo) - ... - - Example 4: Pack and unpack a message in Go - - foo := &pb.Foo{...} - any, err := anypb.New(foo) - if err != nil { - ... - } - ... - foo := &pb.Foo{} - if err := any.UnmarshalTo(foo); err != nil { - ... - } - - The pack methods provided by protobuf library will by - default use - - 'type.googleapis.com/full.type.name' as the type URL and the - unpack - - methods only use the fully qualified type name after the - last '/' - - in the type URL, for example "foo.bar.com/x/y.z" will yield - type - - name "y.z". - - - JSON - - ==== - - The JSON representation of an `Any` value uses the regular - - representation of the deserialized, embedded message, with - an - - additional field `@type` which contains the type URL. - Example: - - package google.profile; - message Person { - string first_name = 1; - string last_name = 2; - } - - { - "@type": "type.googleapis.com/google.profile.Person", - "firstName": , - "lastName": - } - - If the embedded message type is well-known and has a custom - JSON - - representation, that representation will be embedded adding - a field - - `value` which holds the custom JSON in addition to the - `@type` - - field. Example (for message [google.protobuf.Duration][]): - - { - "@type": "type.googleapis.com/google.protobuf.Duration", - "value": "1.212s" - } - parameters: - - name: body - description: |- - MsgUpdateParams is the Msg/UpdateParams request type. - - Since: cosmos-sdk 0.47 - in: body - required: true - schema: - type: object - properties: - authority: - type: string - description: >- - authority is the address that controls the module (defaults to - x/gov unless overwritten). - params: - description: |- - params defines the x/staking parameters to update. - - NOTE: All parameters must be supplied. - type: object - properties: - unbonding_time: - type: string - description: unbonding_time is the time duration of unbonding. - max_validators: - type: integer - format: int64 - description: max_validators is the maximum number of validators. - max_entries: - type: integer - format: int64 - description: >- - max_entries is the max entries for either unbonding - delegation or redelegation (per pair/trio). - historical_entries: - type: integer - format: int64 - description: >- - historical_entries is the number of historical entries to - persist. - bond_denom: - type: string - description: bond_denom defines the bondable coin denomination. - min_commission_rate: - type: string - title: >- - min_commission_rate is the chain-wide minimum commission - rate that a validator can charge their delegators - description: |- - MsgUpdateParams is the Msg/UpdateParams request type. - - Since: cosmos-sdk 0.47 - tags: - - Msg - /ibc.applications.fee.v1.Msg/PayPacketFee: - post: - summary: >- - PayPacketFee defines a rpc handler method for MsgPayPacketFee - - PayPacketFee is an open callback that may be called by any module/user - that wishes to escrow funds in order to - - incentivize the relaying of the packet at the next sequence - - NOTE: This method is intended to be used within a multi msg transaction, - where the subsequent msg that follows - - initiates the lifecycle of the incentivized packet - operationId: IbcApplicationsFeeV1Msg_PayPacketFee - responses: - '200': - description: A successful response. - schema: - type: object - title: >- - MsgPayPacketFeeResponse defines the response type for the - PayPacketFee rpc - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - description: >- - A URL/resource name that uniquely identifies the type of - the serialized - - protocol buffer message. This string must contain at - least - - one "/" character. The last segment of the URL's path - must represent - - the fully qualified name of the type (as in - - `path/google.protobuf.Duration`). The name should be in - a canonical form - - (e.g., leading "." is not accepted). - - - In practice, teams usually precompile into the binary - all types that they - - expect it to use in the context of Any. However, for - URLs which use the - - scheme `http`, `https`, or no scheme, one can optionally - set up a type - - server that maps type URLs to message definitions as - follows: - - - * If no scheme is provided, `https` is assumed. - - * An HTTP GET on the URL must yield a - [google.protobuf.Type][] - value in binary format, or produce an error. - * Applications are allowed to cache lookup results based - on the - URL, or have them precompiled into a binary to avoid any - lookup. Therefore, binary compatibility needs to be preserved - on changes to types. (Use versioned type names to manage - breaking changes.) - - Note: this functionality is not currently available in - the official - - protobuf release, and it is not used for type URLs - beginning with - - type.googleapis.com. As of May 2023, there are no widely - used type server - - implementations and no plans to implement one. - - - Schemes other than `http`, `https` (or the empty scheme) - might be - - used with implementation specific semantics. - additionalProperties: {} - description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - - URL that describes the type of the serialized message. - - - Protobuf library provides support to pack/unpack Any values - in the form - - of utility functions or additional generated methods of the - Any type. - - - Example 1: Pack and unpack a message in C++. - - Foo foo = ...; - Any any; - any.PackFrom(foo); - ... - if (any.UnpackTo(&foo)) { - ... - } - - Example 2: Pack and unpack a message in Java. - - Foo foo = ...; - Any any = Any.pack(foo); - ... - if (any.is(Foo.class)) { - foo = any.unpack(Foo.class); - } - // or ... - if (any.isSameTypeAs(Foo.getDefaultInstance())) { - foo = any.unpack(Foo.getDefaultInstance()); - } - - Example 3: Pack and unpack a message in Python. - - foo = Foo(...) - any = Any() - any.Pack(foo) - ... - if any.Is(Foo.DESCRIPTOR): - any.Unpack(foo) - ... - - Example 4: Pack and unpack a message in Go - - foo := &pb.Foo{...} - any, err := anypb.New(foo) - if err != nil { - ... - } - ... - foo := &pb.Foo{} - if err := any.UnmarshalTo(foo); err != nil { - ... - } - - The pack methods provided by protobuf library will by - default use - - 'type.googleapis.com/full.type.name' as the type URL and the - unpack - - methods only use the fully qualified type name after the - last '/' - - in the type URL, for example "foo.bar.com/x/y.z" will yield - type - - name "y.z". - - - JSON - - ==== - - The JSON representation of an `Any` value uses the regular - - representation of the deserialized, embedded message, with - an - - additional field `@type` which contains the type URL. - Example: - - package google.profile; - message Person { - string first_name = 1; - string last_name = 2; - } - - { - "@type": "type.googleapis.com/google.profile.Person", - "firstName": , - "lastName": - } - - If the embedded message type is well-known and has a custom - JSON - - representation, that representation will be embedded adding - a field - - `value` which holds the custom JSON in addition to the - `@type` - - field. Example (for message [google.protobuf.Duration][]): - - { - "@type": "type.googleapis.com/google.protobuf.Duration", - "value": "1.212s" - } - parameters: - - name: body - in: body - required: true - schema: - type: object - properties: - fee: - title: >- - fee encapsulates the recv, ack and timeout fees associated - with an IBC packet - type: object - properties: - recv_fee: - type: array - items: - type: object - properties: - denom: - type: string - amount: - type: string - description: >- - Coin defines a token with a denomination and an amount. - - - NOTE: The amount field is an Int which implements the - custom method - - signatures required by gogoproto. - title: the packet receive fee - ack_fee: - type: array - items: - type: object - properties: - denom: - type: string - amount: - type: string - description: >- - Coin defines a token with a denomination and an amount. - - - NOTE: The amount field is an Int which implements the - custom method - - signatures required by gogoproto. - title: the packet acknowledgement fee - timeout_fee: - type: array - items: - type: object - properties: - denom: - type: string - amount: - type: string - description: >- - Coin defines a token with a denomination and an amount. - - - NOTE: The amount field is an Int which implements the - custom method - - signatures required by gogoproto. - title: the packet timeout fee - source_port_id: - type: string - title: the source port unique identifier - source_channel_id: - type: string - title: the source channel unique identifer - signer: - type: string - title: account address to refund fee if necessary - relayers: - type: array - items: - type: string - title: optional list of relayers permitted to the receive packet fees - title: >- - MsgPayPacketFee defines the request type for the PayPacketFee rpc - - This Msg can be used to pay for a packet at the next sequence send - & should be combined with the Msg that will be - - paid for - tags: - - Msg - /ibc.applications.fee.v1.Msg/PayPacketFeeAsync: - post: - summary: >- - PayPacketFeeAsync defines a rpc handler method for MsgPayPacketFeeAsync - - PayPacketFeeAsync is an open callback that may be called by any - module/user that wishes to escrow funds in order to - - incentivize the relaying of a known packet (i.e. at a particular - sequence) - operationId: IbcApplicationsFeeV1Msg_PayPacketFeeAsync - responses: - '200': - description: A successful response. - schema: - type: object - title: >- - MsgPayPacketFeeAsyncResponse defines the response type for the - PayPacketFeeAsync rpc - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - description: >- - A URL/resource name that uniquely identifies the type of - the serialized - - protocol buffer message. This string must contain at - least - - one "/" character. The last segment of the URL's path - must represent - - the fully qualified name of the type (as in - - `path/google.protobuf.Duration`). The name should be in - a canonical form - - (e.g., leading "." is not accepted). - - - In practice, teams usually precompile into the binary - all types that they - - expect it to use in the context of Any. However, for - URLs which use the - - scheme `http`, `https`, or no scheme, one can optionally - set up a type - - server that maps type URLs to message definitions as - follows: - - - * If no scheme is provided, `https` is assumed. - - * An HTTP GET on the URL must yield a - [google.protobuf.Type][] - value in binary format, or produce an error. - * Applications are allowed to cache lookup results based - on the - URL, or have them precompiled into a binary to avoid any - lookup. Therefore, binary compatibility needs to be preserved - on changes to types. (Use versioned type names to manage - breaking changes.) - - Note: this functionality is not currently available in - the official - - protobuf release, and it is not used for type URLs - beginning with - - type.googleapis.com. As of May 2023, there are no widely - used type server - - implementations and no plans to implement one. - - - Schemes other than `http`, `https` (or the empty scheme) - might be - - used with implementation specific semantics. - additionalProperties: {} - description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - - URL that describes the type of the serialized message. - - - Protobuf library provides support to pack/unpack Any values - in the form - - of utility functions or additional generated methods of the - Any type. - - - Example 1: Pack and unpack a message in C++. - - Foo foo = ...; - Any any; - any.PackFrom(foo); - ... - if (any.UnpackTo(&foo)) { - ... - } - - Example 2: Pack and unpack a message in Java. - - Foo foo = ...; - Any any = Any.pack(foo); - ... - if (any.is(Foo.class)) { - foo = any.unpack(Foo.class); - } - // or ... - if (any.isSameTypeAs(Foo.getDefaultInstance())) { - foo = any.unpack(Foo.getDefaultInstance()); - } - - Example 3: Pack and unpack a message in Python. - - foo = Foo(...) - any = Any() - any.Pack(foo) - ... - if any.Is(Foo.DESCRIPTOR): - any.Unpack(foo) - ... - - Example 4: Pack and unpack a message in Go - - foo := &pb.Foo{...} - any, err := anypb.New(foo) - if err != nil { - ... - } - ... - foo := &pb.Foo{} - if err := any.UnmarshalTo(foo); err != nil { - ... - } - - The pack methods provided by protobuf library will by - default use - - 'type.googleapis.com/full.type.name' as the type URL and the - unpack - - methods only use the fully qualified type name after the - last '/' - - in the type URL, for example "foo.bar.com/x/y.z" will yield - type - - name "y.z". - - - JSON - - ==== - - The JSON representation of an `Any` value uses the regular - - representation of the deserialized, embedded message, with - an - - additional field `@type` which contains the type URL. - Example: - - package google.profile; - message Person { - string first_name = 1; - string last_name = 2; - } - - { - "@type": "type.googleapis.com/google.profile.Person", - "firstName": , - "lastName": - } - - If the embedded message type is well-known and has a custom - JSON - - representation, that representation will be embedded adding - a field - - `value` which holds the custom JSON in addition to the - `@type` - - field. Example (for message [google.protobuf.Duration][]): - - { - "@type": "type.googleapis.com/google.protobuf.Duration", - "value": "1.212s" - } - parameters: - - name: body - in: body - required: true - schema: - type: object - properties: - packet_id: - title: >- - unique packet identifier comprised of the channel ID, port ID - and sequence - type: object - properties: - port_id: - type: string - title: channel port identifier - channel_id: - type: string - title: channel unique identifier - sequence: - type: string - format: uint64 - title: packet sequence - packet_fee: - title: the packet fee associated with a particular IBC packet - type: object - properties: - fee: - title: >- - fee encapsulates the recv, ack and timeout fees associated - with an IBC packet - type: object - properties: - recv_fee: - type: array - items: - type: object - properties: - denom: - type: string - amount: - type: string - description: >- - Coin defines a token with a denomination and an - amount. - - - NOTE: The amount field is an Int which implements - the custom method - - signatures required by gogoproto. - title: the packet receive fee - ack_fee: - type: array - items: - type: object - properties: - denom: - type: string - amount: - type: string - description: >- - Coin defines a token with a denomination and an - amount. - - - NOTE: The amount field is an Int which implements - the custom method - - signatures required by gogoproto. - title: the packet acknowledgement fee - timeout_fee: - type: array - items: - type: object - properties: - denom: - type: string - amount: - type: string - description: >- - Coin defines a token with a denomination and an - amount. - - - NOTE: The amount field is an Int which implements - the custom method - - signatures required by gogoproto. - title: the packet timeout fee - refund_address: - type: string - title: the refund address for unspent fees - relayers: - type: array - items: - type: string - title: optional list of relayers permitted to receive fees - title: >- - MsgPayPacketFeeAsync defines the request type for the - PayPacketFeeAsync rpc - - This Msg can be used to pay for a packet at a specified sequence - (instead of the next sequence send) - tags: - - Msg - /ibc.applications.fee.v1.Msg/RegisterCounterpartyPayee: - post: - summary: >- - RegisterCounterpartyPayee defines a rpc handler method for - MsgRegisterCounterpartyPayee - - RegisterCounterpartyPayee is called by the relayer on each channelEnd - and allows them to specify the counterparty - - payee address before relaying. This ensures they will be properly - compensated for forward relaying since - - the destination chain must include the registered counterparty payee - address in the acknowledgement. This function - - may be called more than once by a relayer, in which case, the latest - counterparty payee address is always used. - operationId: IbcApplicationsFeeV1Msg_RegisterCounterpartyPayee - responses: - '200': - description: A successful response. - schema: - type: object - title: >- - MsgRegisterCounterpartyPayeeResponse defines the response type for - the RegisterCounterpartyPayee rpc - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - description: >- - A URL/resource name that uniquely identifies the type of - the serialized - - protocol buffer message. This string must contain at - least - - one "/" character. The last segment of the URL's path - must represent - - the fully qualified name of the type (as in - - `path/google.protobuf.Duration`). The name should be in - a canonical form - - (e.g., leading "." is not accepted). - - - In practice, teams usually precompile into the binary - all types that they - - expect it to use in the context of Any. However, for - URLs which use the - - scheme `http`, `https`, or no scheme, one can optionally - set up a type - - server that maps type URLs to message definitions as - follows: - - - * If no scheme is provided, `https` is assumed. - - * An HTTP GET on the URL must yield a - [google.protobuf.Type][] - value in binary format, or produce an error. - * Applications are allowed to cache lookup results based - on the - URL, or have them precompiled into a binary to avoid any - lookup. Therefore, binary compatibility needs to be preserved - on changes to types. (Use versioned type names to manage - breaking changes.) - - Note: this functionality is not currently available in - the official - - protobuf release, and it is not used for type URLs - beginning with - - type.googleapis.com. As of May 2023, there are no widely - used type server - - implementations and no plans to implement one. - - - Schemes other than `http`, `https` (or the empty scheme) - might be - - used with implementation specific semantics. - additionalProperties: {} - description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - - URL that describes the type of the serialized message. - - - Protobuf library provides support to pack/unpack Any values - in the form - - of utility functions or additional generated methods of the - Any type. - - - Example 1: Pack and unpack a message in C++. - - Foo foo = ...; - Any any; - any.PackFrom(foo); - ... - if (any.UnpackTo(&foo)) { - ... - } - - Example 2: Pack and unpack a message in Java. - - Foo foo = ...; - Any any = Any.pack(foo); - ... - if (any.is(Foo.class)) { - foo = any.unpack(Foo.class); - } - // or ... - if (any.isSameTypeAs(Foo.getDefaultInstance())) { - foo = any.unpack(Foo.getDefaultInstance()); - } - - Example 3: Pack and unpack a message in Python. - - foo = Foo(...) - any = Any() - any.Pack(foo) - ... - if any.Is(Foo.DESCRIPTOR): - any.Unpack(foo) - ... - - Example 4: Pack and unpack a message in Go - - foo := &pb.Foo{...} - any, err := anypb.New(foo) - if err != nil { - ... - } - ... - foo := &pb.Foo{} - if err := any.UnmarshalTo(foo); err != nil { - ... - } - - The pack methods provided by protobuf library will by - default use - - 'type.googleapis.com/full.type.name' as the type URL and the - unpack - - methods only use the fully qualified type name after the - last '/' - - in the type URL, for example "foo.bar.com/x/y.z" will yield - type - - name "y.z". - - - JSON - - ==== - - The JSON representation of an `Any` value uses the regular - - representation of the deserialized, embedded message, with - an - - additional field `@type` which contains the type URL. - Example: - - package google.profile; - message Person { - string first_name = 1; - string last_name = 2; - } - - { - "@type": "type.googleapis.com/google.profile.Person", - "firstName": , - "lastName": - } - - If the embedded message type is well-known and has a custom - JSON - - representation, that representation will be embedded adding - a field - - `value` which holds the custom JSON in addition to the - `@type` - - field. Example (for message [google.protobuf.Duration][]): - - { - "@type": "type.googleapis.com/google.protobuf.Duration", - "value": "1.212s" - } - parameters: - - name: body - in: body - required: true - schema: - type: object - properties: - port_id: - type: string - title: unique port identifier - channel_id: - type: string - title: unique channel identifier - relayer: - type: string - title: the relayer address - counterparty_payee: - type: string - title: the counterparty payee address - title: >- - MsgRegisterCounterpartyPayee defines the request type for the - RegisterCounterpartyPayee rpc - tags: - - Msg - /ibc.applications.fee.v1.Msg/RegisterPayee: - post: - summary: >- - RegisterPayee defines a rpc handler method for MsgRegisterPayee - - RegisterPayee is called by the relayer on each channelEnd and allows - them to set an optional - - payee to which reverse and timeout relayer packet fees will be paid out. - The payee should be registered on - - the source chain from which packets originate as this is where fee - distribution takes place. This function may be - - called more than once by a relayer, in which case, the latest payee is - always used. - operationId: IbcApplicationsFeeV1Msg_RegisterPayee - responses: - '200': - description: A successful response. - schema: - type: object - title: >- - MsgRegisterPayeeResponse defines the response type for the - RegisterPayee rpc - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - description: >- - A URL/resource name that uniquely identifies the type of - the serialized - - protocol buffer message. This string must contain at - least - - one "/" character. The last segment of the URL's path - must represent - - the fully qualified name of the type (as in - - `path/google.protobuf.Duration`). The name should be in - a canonical form - - (e.g., leading "." is not accepted). - - - In practice, teams usually precompile into the binary - all types that they - - expect it to use in the context of Any. However, for - URLs which use the - - scheme `http`, `https`, or no scheme, one can optionally - set up a type - - server that maps type URLs to message definitions as - follows: - - - * If no scheme is provided, `https` is assumed. - - * An HTTP GET on the URL must yield a - [google.protobuf.Type][] - value in binary format, or produce an error. - * Applications are allowed to cache lookup results based - on the - URL, or have them precompiled into a binary to avoid any - lookup. Therefore, binary compatibility needs to be preserved - on changes to types. (Use versioned type names to manage - breaking changes.) - - Note: this functionality is not currently available in - the official - - protobuf release, and it is not used for type URLs - beginning with - - type.googleapis.com. As of May 2023, there are no widely - used type server - - implementations and no plans to implement one. - - - Schemes other than `http`, `https` (or the empty scheme) - might be - - used with implementation specific semantics. - additionalProperties: {} - description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - - URL that describes the type of the serialized message. - - - Protobuf library provides support to pack/unpack Any values - in the form - - of utility functions or additional generated methods of the - Any type. - - - Example 1: Pack and unpack a message in C++. - - Foo foo = ...; - Any any; - any.PackFrom(foo); - ... - if (any.UnpackTo(&foo)) { - ... - } - - Example 2: Pack and unpack a message in Java. - - Foo foo = ...; - Any any = Any.pack(foo); - ... - if (any.is(Foo.class)) { - foo = any.unpack(Foo.class); - } - // or ... - if (any.isSameTypeAs(Foo.getDefaultInstance())) { - foo = any.unpack(Foo.getDefaultInstance()); - } - - Example 3: Pack and unpack a message in Python. - - foo = Foo(...) - any = Any() - any.Pack(foo) - ... - if any.Is(Foo.DESCRIPTOR): - any.Unpack(foo) - ... - - Example 4: Pack and unpack a message in Go - - foo := &pb.Foo{...} - any, err := anypb.New(foo) - if err != nil { - ... - } - ... - foo := &pb.Foo{} - if err := any.UnmarshalTo(foo); err != nil { - ... - } - - The pack methods provided by protobuf library will by - default use - - 'type.googleapis.com/full.type.name' as the type URL and the - unpack - - methods only use the fully qualified type name after the - last '/' - - in the type URL, for example "foo.bar.com/x/y.z" will yield - type - - name "y.z". - - - JSON - - ==== - - The JSON representation of an `Any` value uses the regular - - representation of the deserialized, embedded message, with - an - - additional field `@type` which contains the type URL. - Example: - - package google.profile; - message Person { - string first_name = 1; - string last_name = 2; - } - - { - "@type": "type.googleapis.com/google.profile.Person", - "firstName": , - "lastName": - } - - If the embedded message type is well-known and has a custom - JSON - - representation, that representation will be embedded adding - a field - - `value` which holds the custom JSON in addition to the - `@type` - - field. Example (for message [google.protobuf.Duration][]): - - { - "@type": "type.googleapis.com/google.protobuf.Duration", - "value": "1.212s" - } - parameters: - - name: body - in: body - required: true - schema: - type: object - properties: - port_id: - type: string - title: unique port identifier - channel_id: - type: string - title: unique channel identifier - relayer: - type: string - title: the relayer address - payee: - type: string - title: the payee address - title: >- - MsgRegisterPayee defines the request type for the RegisterPayee - rpc - tags: - - Msg - /ibc.applications.interchain_accounts.controller.v1.Msg/RegisterInterchainAccount: - post: - summary: >- - RegisterInterchainAccount defines a rpc handler for - MsgRegisterInterchainAccount. - operationId: >- - IbcApplicationsInterchainAccountsControllerV1Msg_RegisterInterchainAccount - responses: - '200': - description: A successful response. - schema: - type: object - properties: - channel_id: - type: string - port_id: - type: string - title: >- - MsgRegisterInterchainAccountResponse defines the response for - Msg/RegisterAccount - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - description: >- - A URL/resource name that uniquely identifies the type of - the serialized - - protocol buffer message. This string must contain at - least - - one "/" character. The last segment of the URL's path - must represent - - the fully qualified name of the type (as in - - `path/google.protobuf.Duration`). The name should be in - a canonical form - - (e.g., leading "." is not accepted). - - - In practice, teams usually precompile into the binary - all types that they - - expect it to use in the context of Any. However, for - URLs which use the - - scheme `http`, `https`, or no scheme, one can optionally - set up a type - - server that maps type URLs to message definitions as - follows: - - - * If no scheme is provided, `https` is assumed. - - * An HTTP GET on the URL must yield a - [google.protobuf.Type][] - value in binary format, or produce an error. - * Applications are allowed to cache lookup results based - on the - URL, or have them precompiled into a binary to avoid any - lookup. Therefore, binary compatibility needs to be preserved - on changes to types. (Use versioned type names to manage - breaking changes.) - - Note: this functionality is not currently available in - the official - - protobuf release, and it is not used for type URLs - beginning with - - type.googleapis.com. As of May 2023, there are no widely - used type server - - implementations and no plans to implement one. - - - Schemes other than `http`, `https` (or the empty scheme) - might be - - used with implementation specific semantics. - additionalProperties: {} - description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - - URL that describes the type of the serialized message. - - - Protobuf library provides support to pack/unpack Any values - in the form - - of utility functions or additional generated methods of the - Any type. - - - Example 1: Pack and unpack a message in C++. - - Foo foo = ...; - Any any; - any.PackFrom(foo); - ... - if (any.UnpackTo(&foo)) { - ... - } - - Example 2: Pack and unpack a message in Java. - - Foo foo = ...; - Any any = Any.pack(foo); - ... - if (any.is(Foo.class)) { - foo = any.unpack(Foo.class); - } - // or ... - if (any.isSameTypeAs(Foo.getDefaultInstance())) { - foo = any.unpack(Foo.getDefaultInstance()); - } - - Example 3: Pack and unpack a message in Python. - - foo = Foo(...) - any = Any() - any.Pack(foo) - ... - if any.Is(Foo.DESCRIPTOR): - any.Unpack(foo) - ... - - Example 4: Pack and unpack a message in Go - - foo := &pb.Foo{...} - any, err := anypb.New(foo) - if err != nil { - ... - } - ... - foo := &pb.Foo{} - if err := any.UnmarshalTo(foo); err != nil { - ... - } - - The pack methods provided by protobuf library will by - default use - - 'type.googleapis.com/full.type.name' as the type URL and the - unpack - - methods only use the fully qualified type name after the - last '/' - - in the type URL, for example "foo.bar.com/x/y.z" will yield - type - - name "y.z". - - - JSON - - ==== - - The JSON representation of an `Any` value uses the regular - - representation of the deserialized, embedded message, with - an - - additional field `@type` which contains the type URL. - Example: - - package google.profile; - message Person { - string first_name = 1; - string last_name = 2; - } - - { - "@type": "type.googleapis.com/google.profile.Person", - "firstName": , - "lastName": - } - - If the embedded message type is well-known and has a custom - JSON - - representation, that representation will be embedded adding - a field - - `value` which holds the custom JSON in addition to the - `@type` - - field. Example (for message [google.protobuf.Duration][]): - - { - "@type": "type.googleapis.com/google.protobuf.Duration", - "value": "1.212s" - } - parameters: - - name: body - in: body - required: true - schema: - type: object - properties: - owner: - type: string - connection_id: - type: string - version: - type: string - title: >- - MsgRegisterInterchainAccount defines the payload for - Msg/RegisterAccount - tags: - - Msg - /ibc.applications.interchain_accounts.controller.v1.Msg/SendTx: - post: - summary: SendTx defines a rpc handler for MsgSendTx. - operationId: IbcApplicationsInterchainAccountsControllerV1Msg_SendTx - responses: - '200': - description: A successful response. - schema: - type: object - properties: - sequence: - type: string - format: uint64 - title: MsgSendTxResponse defines the response for MsgSendTx - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - description: >- - A URL/resource name that uniquely identifies the type of - the serialized - - protocol buffer message. This string must contain at - least - - one "/" character. The last segment of the URL's path - must represent - - the fully qualified name of the type (as in - - `path/google.protobuf.Duration`). The name should be in - a canonical form - - (e.g., leading "." is not accepted). - - - In practice, teams usually precompile into the binary - all types that they - - expect it to use in the context of Any. However, for - URLs which use the - - scheme `http`, `https`, or no scheme, one can optionally - set up a type - - server that maps type URLs to message definitions as - follows: - - - * If no scheme is provided, `https` is assumed. - - * An HTTP GET on the URL must yield a - [google.protobuf.Type][] - value in binary format, or produce an error. - * Applications are allowed to cache lookup results based - on the - URL, or have them precompiled into a binary to avoid any - lookup. Therefore, binary compatibility needs to be preserved - on changes to types. (Use versioned type names to manage - breaking changes.) - - Note: this functionality is not currently available in - the official - - protobuf release, and it is not used for type URLs - beginning with - - type.googleapis.com. As of May 2023, there are no widely - used type server - - implementations and no plans to implement one. - - - Schemes other than `http`, `https` (or the empty scheme) - might be - - used with implementation specific semantics. - additionalProperties: {} - description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - - URL that describes the type of the serialized message. - - - Protobuf library provides support to pack/unpack Any values - in the form - - of utility functions or additional generated methods of the - Any type. - - - Example 1: Pack and unpack a message in C++. - - Foo foo = ...; - Any any; - any.PackFrom(foo); - ... - if (any.UnpackTo(&foo)) { - ... - } - - Example 2: Pack and unpack a message in Java. - - Foo foo = ...; - Any any = Any.pack(foo); - ... - if (any.is(Foo.class)) { - foo = any.unpack(Foo.class); - } - // or ... - if (any.isSameTypeAs(Foo.getDefaultInstance())) { - foo = any.unpack(Foo.getDefaultInstance()); - } - - Example 3: Pack and unpack a message in Python. - - foo = Foo(...) - any = Any() - any.Pack(foo) - ... - if any.Is(Foo.DESCRIPTOR): - any.Unpack(foo) - ... - - Example 4: Pack and unpack a message in Go - - foo := &pb.Foo{...} - any, err := anypb.New(foo) - if err != nil { - ... - } - ... - foo := &pb.Foo{} - if err := any.UnmarshalTo(foo); err != nil { - ... - } - - The pack methods provided by protobuf library will by - default use - - 'type.googleapis.com/full.type.name' as the type URL and the - unpack - - methods only use the fully qualified type name after the - last '/' - - in the type URL, for example "foo.bar.com/x/y.z" will yield - type - - name "y.z". - - - JSON - - ==== - - The JSON representation of an `Any` value uses the regular - - representation of the deserialized, embedded message, with - an - - additional field `@type` which contains the type URL. - Example: - - package google.profile; - message Person { - string first_name = 1; - string last_name = 2; - } - - { - "@type": "type.googleapis.com/google.profile.Person", - "firstName": , - "lastName": - } - - If the embedded message type is well-known and has a custom - JSON - - representation, that representation will be embedded adding - a field - - `value` which holds the custom JSON in addition to the - `@type` - - field. Example (for message [google.protobuf.Duration][]): - - { - "@type": "type.googleapis.com/google.protobuf.Duration", - "value": "1.212s" - } - parameters: - - name: body - in: body - required: true - schema: - type: object - properties: - owner: - type: string - connection_id: - type: string - packet_data: - type: object - properties: - type: - type: string - enum: - - TYPE_UNSPECIFIED - - TYPE_EXECUTE_TX - default: TYPE_UNSPECIFIED - description: |- - - TYPE_UNSPECIFIED: Default zero value enumeration - - TYPE_EXECUTE_TX: Execute a transaction on an interchain accounts host chain - title: >- - Type defines a classification of message issued from a - controller chain to its associated interchain accounts - - host - data: - type: string - format: byte - memo: - type: string - description: >- - InterchainAccountPacketData is comprised of a raw transaction, - type of transaction and optional memo field. - relative_timeout: - type: string - format: uint64 - description: >- - Relative timeout timestamp provided will be added to the - current block time during transaction execution. - - The timeout timestamp must be non-zero. - title: MsgSendTx defines the payload for Msg/SendTx - tags: - - Msg - /ibc.applications.interchain_accounts.controller.v1.Msg/UpdateParams: - post: - summary: UpdateParams defines a rpc handler for MsgUpdateParams. - operationId: IbcApplicationsInterchainAccountsControllerV1Msg_UpdateParams - responses: - '200': - description: A successful response. - schema: - type: object - title: MsgUpdateParamsResponse defines the response for Msg/UpdateParams - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - description: >- - A URL/resource name that uniquely identifies the type of - the serialized - - protocol buffer message. This string must contain at - least - - one "/" character. The last segment of the URL's path - must represent - - the fully qualified name of the type (as in - - `path/google.protobuf.Duration`). The name should be in - a canonical form - - (e.g., leading "." is not accepted). - - - In practice, teams usually precompile into the binary - all types that they - - expect it to use in the context of Any. However, for - URLs which use the - - scheme `http`, `https`, or no scheme, one can optionally - set up a type - - server that maps type URLs to message definitions as - follows: - - - * If no scheme is provided, `https` is assumed. - - * An HTTP GET on the URL must yield a - [google.protobuf.Type][] - value in binary format, or produce an error. - * Applications are allowed to cache lookup results based - on the - URL, or have them precompiled into a binary to avoid any - lookup. Therefore, binary compatibility needs to be preserved - on changes to types. (Use versioned type names to manage - breaking changes.) - - Note: this functionality is not currently available in - the official - - protobuf release, and it is not used for type URLs - beginning with - - type.googleapis.com. As of May 2023, there are no widely - used type server - - implementations and no plans to implement one. - - - Schemes other than `http`, `https` (or the empty scheme) - might be - - used with implementation specific semantics. - additionalProperties: {} - description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - - URL that describes the type of the serialized message. - - - Protobuf library provides support to pack/unpack Any values - in the form - - of utility functions or additional generated methods of the - Any type. - - - Example 1: Pack and unpack a message in C++. - - Foo foo = ...; - Any any; - any.PackFrom(foo); - ... - if (any.UnpackTo(&foo)) { - ... - } - - Example 2: Pack and unpack a message in Java. - - Foo foo = ...; - Any any = Any.pack(foo); - ... - if (any.is(Foo.class)) { - foo = any.unpack(Foo.class); - } - // or ... - if (any.isSameTypeAs(Foo.getDefaultInstance())) { - foo = any.unpack(Foo.getDefaultInstance()); - } - - Example 3: Pack and unpack a message in Python. - - foo = Foo(...) - any = Any() - any.Pack(foo) - ... - if any.Is(Foo.DESCRIPTOR): - any.Unpack(foo) - ... - - Example 4: Pack and unpack a message in Go - - foo := &pb.Foo{...} - any, err := anypb.New(foo) - if err != nil { - ... - } - ... - foo := &pb.Foo{} - if err := any.UnmarshalTo(foo); err != nil { - ... - } - - The pack methods provided by protobuf library will by - default use - - 'type.googleapis.com/full.type.name' as the type URL and the - unpack - - methods only use the fully qualified type name after the - last '/' - - in the type URL, for example "foo.bar.com/x/y.z" will yield - type - - name "y.z". - - - JSON - - ==== - - The JSON representation of an `Any` value uses the regular - - representation of the deserialized, embedded message, with - an - - additional field `@type` which contains the type URL. - Example: - - package google.profile; - message Person { - string first_name = 1; - string last_name = 2; - } - - { - "@type": "type.googleapis.com/google.profile.Person", - "firstName": , - "lastName": - } - - If the embedded message type is well-known and has a custom - JSON - - representation, that representation will be embedded adding - a field - - `value` which holds the custom JSON in addition to the - `@type` - - field. Example (for message [google.protobuf.Duration][]): - - { - "@type": "type.googleapis.com/google.protobuf.Duration", - "value": "1.212s" - } - parameters: - - name: body - in: body - required: true - schema: - type: object - properties: - signer: - type: string - title: signer address - params: - description: >- - params defines the 27-interchain-accounts/controller - parameters to update. - - - NOTE: All parameters must be supplied. - type: object - properties: - controller_enabled: - type: boolean - description: >- - controller_enabled enables or disables the controller - submodule. - title: MsgUpdateParams defines the payload for Msg/UpdateParams - tags: - - Msg - /ibc.applications.interchain_accounts.host.v1.Msg/UpdateParams: - post: - summary: UpdateParams defines a rpc handler for MsgUpdateParams. - operationId: IbcApplicationsInterchainAccountsHostV1Msg_UpdateParams - responses: - '200': - description: A successful response. - schema: - type: object - title: MsgUpdateParamsResponse defines the response for Msg/UpdateParams - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - additionalProperties: {} - parameters: - - name: body - in: body - required: true - schema: - type: object - properties: - signer: - type: string - title: signer address - params: - description: >- - params defines the 27-interchain-accounts/host parameters to - update. - - - NOTE: All parameters must be supplied. - type: object - properties: - host_enabled: - type: boolean - description: host_enabled enables or disables the host submodule. - allow_messages: - type: array - items: - type: string - description: >- - allow_messages defines a list of sdk message typeURLs - allowed to be executed on a host chain. - title: MsgUpdateParams defines the payload for Msg/UpdateParams - tags: - - Msg - /ibc.applications.transfer.v1.Msg/Transfer: - post: - summary: Transfer defines a rpc handler method for MsgTransfer. - operationId: IbcApplicationsTransferV1Msg_Transfer - responses: - '200': - description: A successful response. - schema: - type: object - properties: - sequence: - type: string - format: uint64 - title: sequence number of the transfer packet sent - description: MsgTransferResponse defines the Msg/Transfer response type. - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - description: >- - A URL/resource name that uniquely identifies the type of - the serialized - - protocol buffer message. This string must contain at - least - - one "/" character. The last segment of the URL's path - must represent - - the fully qualified name of the type (as in - - `path/google.protobuf.Duration`). The name should be in - a canonical form - - (e.g., leading "." is not accepted). - - - In practice, teams usually precompile into the binary - all types that they - - expect it to use in the context of Any. However, for - URLs which use the - - scheme `http`, `https`, or no scheme, one can optionally - set up a type - - server that maps type URLs to message definitions as - follows: - - - * If no scheme is provided, `https` is assumed. - - * An HTTP GET on the URL must yield a - [google.protobuf.Type][] - value in binary format, or produce an error. - * Applications are allowed to cache lookup results based - on the - URL, or have them precompiled into a binary to avoid any - lookup. Therefore, binary compatibility needs to be preserved - on changes to types. (Use versioned type names to manage - breaking changes.) - - Note: this functionality is not currently available in - the official - - protobuf release, and it is not used for type URLs - beginning with - - type.googleapis.com. As of May 2023, there are no widely - used type server - - implementations and no plans to implement one. - - - Schemes other than `http`, `https` (or the empty scheme) - might be - - used with implementation specific semantics. - additionalProperties: {} - description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - - URL that describes the type of the serialized message. - - - Protobuf library provides support to pack/unpack Any values - in the form - - of utility functions or additional generated methods of the - Any type. - - - Example 1: Pack and unpack a message in C++. - - Foo foo = ...; - Any any; - any.PackFrom(foo); - ... - if (any.UnpackTo(&foo)) { - ... - } - - Example 2: Pack and unpack a message in Java. - - Foo foo = ...; - Any any = Any.pack(foo); - ... - if (any.is(Foo.class)) { - foo = any.unpack(Foo.class); - } - // or ... - if (any.isSameTypeAs(Foo.getDefaultInstance())) { - foo = any.unpack(Foo.getDefaultInstance()); - } - - Example 3: Pack and unpack a message in Python. - - foo = Foo(...) - any = Any() - any.Pack(foo) - ... - if any.Is(Foo.DESCRIPTOR): - any.Unpack(foo) - ... - - Example 4: Pack and unpack a message in Go - - foo := &pb.Foo{...} - any, err := anypb.New(foo) - if err != nil { - ... - } - ... - foo := &pb.Foo{} - if err := any.UnmarshalTo(foo); err != nil { - ... - } - - The pack methods provided by protobuf library will by - default use - - 'type.googleapis.com/full.type.name' as the type URL and the - unpack - - methods only use the fully qualified type name after the - last '/' - - in the type URL, for example "foo.bar.com/x/y.z" will yield - type - - name "y.z". - - - JSON - - ==== - - The JSON representation of an `Any` value uses the regular - - representation of the deserialized, embedded message, with - an - - additional field `@type` which contains the type URL. - Example: - - package google.profile; - message Person { - string first_name = 1; - string last_name = 2; - } - - { - "@type": "type.googleapis.com/google.profile.Person", - "firstName": , - "lastName": - } - - If the embedded message type is well-known and has a custom - JSON - - representation, that representation will be embedded adding - a field - - `value` which holds the custom JSON in addition to the - `@type` - - field. Example (for message [google.protobuf.Duration][]): - - { - "@type": "type.googleapis.com/google.protobuf.Duration", - "value": "1.212s" - } - parameters: - - name: body - in: body - required: true - schema: - type: object - properties: - source_port: - type: string - title: the port on which the packet will be sent - source_channel: - type: string - title: the channel by which the packet will be sent - token: - title: the tokens to be transferred - type: object - properties: - denom: - type: string - amount: - type: string - description: >- - Coin defines a token with a denomination and an amount. - - - NOTE: The amount field is an Int which implements the custom - method - - signatures required by gogoproto. - sender: - type: string - title: the sender address - receiver: - type: string - title: the recipient address on the destination chain - timeout_height: - description: |- - Timeout height relative to the current block height. - The timeout is disabled when set to 0. - type: object - properties: - revision_number: - type: string - format: uint64 - title: the revision that the client is currently on - revision_height: - type: string - format: uint64 - title: the height within the given revision - title: >- - Height is a monotonically increasing data type - - that can be compared against another Height for the purposes - of updating and - - freezing clients - timeout_timestamp: - type: string - format: uint64 - description: |- - Timeout timestamp in absolute nanoseconds since unix epoch. - The timeout is disabled when set to 0. - memo: - type: string - title: optional memo - title: >- - MsgTransfer defines a msg to transfer fungible tokens (i.e Coins) - between - - ICS20 enabled chains. See ICS Spec here: - - https://github.com/cosmos/ibc/tree/master/spec/app/ics-020-fungible-token-transfer#data-structures - tags: - - Msg - /ibc.applications.transfer.v1.Msg/UpdateParams: - post: - summary: UpdateParams defines a rpc handler for MsgUpdateParams. - operationId: IbcApplicationsTransferV1Msg_UpdateParams - responses: - '200': - description: A successful response. - schema: - type: object - description: >- - MsgUpdateParamsResponse defines the response structure for - executing a - - MsgUpdateParams message. - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - description: >- - A URL/resource name that uniquely identifies the type of - the serialized - - protocol buffer message. This string must contain at - least - - one "/" character. The last segment of the URL's path - must represent - - the fully qualified name of the type (as in - - `path/google.protobuf.Duration`). The name should be in - a canonical form - - (e.g., leading "." is not accepted). - - - In practice, teams usually precompile into the binary - all types that they - - expect it to use in the context of Any. However, for - URLs which use the - - scheme `http`, `https`, or no scheme, one can optionally - set up a type - - server that maps type URLs to message definitions as - follows: - - - * If no scheme is provided, `https` is assumed. - - * An HTTP GET on the URL must yield a - [google.protobuf.Type][] - value in binary format, or produce an error. - * Applications are allowed to cache lookup results based - on the - URL, or have them precompiled into a binary to avoid any - lookup. Therefore, binary compatibility needs to be preserved - on changes to types. (Use versioned type names to manage - breaking changes.) - - Note: this functionality is not currently available in - the official - - protobuf release, and it is not used for type URLs - beginning with - - type.googleapis.com. As of May 2023, there are no widely - used type server - - implementations and no plans to implement one. - - - Schemes other than `http`, `https` (or the empty scheme) - might be - - used with implementation specific semantics. - additionalProperties: {} - description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - - URL that describes the type of the serialized message. - - - Protobuf library provides support to pack/unpack Any values - in the form - - of utility functions or additional generated methods of the - Any type. - - - Example 1: Pack and unpack a message in C++. - - Foo foo = ...; - Any any; - any.PackFrom(foo); - ... - if (any.UnpackTo(&foo)) { - ... - } - - Example 2: Pack and unpack a message in Java. - - Foo foo = ...; - Any any = Any.pack(foo); - ... - if (any.is(Foo.class)) { - foo = any.unpack(Foo.class); - } - // or ... - if (any.isSameTypeAs(Foo.getDefaultInstance())) { - foo = any.unpack(Foo.getDefaultInstance()); - } - - Example 3: Pack and unpack a message in Python. - - foo = Foo(...) - any = Any() - any.Pack(foo) - ... - if any.Is(Foo.DESCRIPTOR): - any.Unpack(foo) - ... - - Example 4: Pack and unpack a message in Go - - foo := &pb.Foo{...} - any, err := anypb.New(foo) - if err != nil { - ... - } - ... - foo := &pb.Foo{} - if err := any.UnmarshalTo(foo); err != nil { - ... - } - - The pack methods provided by protobuf library will by - default use - - 'type.googleapis.com/full.type.name' as the type URL and the - unpack - - methods only use the fully qualified type name after the - last '/' - - in the type URL, for example "foo.bar.com/x/y.z" will yield - type - - name "y.z". - - - JSON - - ==== - - The JSON representation of an `Any` value uses the regular - - representation of the deserialized, embedded message, with - an - - additional field `@type` which contains the type URL. - Example: - - package google.profile; - message Person { - string first_name = 1; - string last_name = 2; - } - - { - "@type": "type.googleapis.com/google.profile.Person", - "firstName": , - "lastName": - } - - If the embedded message type is well-known and has a custom - JSON - - representation, that representation will be embedded adding - a field - - `value` which holds the custom JSON in addition to the - `@type` - - field. Example (for message [google.protobuf.Duration][]): - - { - "@type": "type.googleapis.com/google.protobuf.Duration", - "value": "1.212s" - } - parameters: - - name: body - description: MsgUpdateParams is the Msg/UpdateParams request type. - in: body - required: true - schema: - type: object - properties: - signer: - type: string - title: signer address - params: - description: |- - params defines the transfer parameters to update. - - NOTE: All parameters must be supplied. - type: object - properties: - send_enabled: - type: boolean - description: >- - send_enabled enables or disables all cross-chain token - transfers from this - - chain. - receive_enabled: - type: boolean - description: >- - receive_enabled enables or disables all cross-chain token - transfers to this - - chain. - description: MsgUpdateParams is the Msg/UpdateParams request type. - tags: - - Msg - /ibc.core.channel.v1.Msg/Acknowledgement: - post: - summary: Acknowledgement defines a rpc handler method for MsgAcknowledgement. - operationId: IbcCoreChannelV1Msg_Acknowledgement - responses: - '200': - description: A successful response. - schema: - type: object - properties: - result: - type: string - enum: - - RESPONSE_RESULT_TYPE_UNSPECIFIED - - RESPONSE_RESULT_TYPE_NOOP - - RESPONSE_RESULT_TYPE_SUCCESS - default: RESPONSE_RESULT_TYPE_UNSPECIFIED - description: >- - - RESPONSE_RESULT_TYPE_UNSPECIFIED: Default zero value - enumeration - - RESPONSE_RESULT_TYPE_NOOP: The message did not call the IBC application callbacks (because, for example, the packet had already been relayed) - - RESPONSE_RESULT_TYPE_SUCCESS: The message was executed successfully - title: >- - ResponseResultType defines the possible outcomes of the - execution of a message - description: >- - MsgAcknowledgementResponse defines the Msg/Acknowledgement - response type. - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - description: >- - A URL/resource name that uniquely identifies the type of - the serialized - - protocol buffer message. This string must contain at - least - - one "/" character. The last segment of the URL's path - must represent - - the fully qualified name of the type (as in - - `path/google.protobuf.Duration`). The name should be in - a canonical form - - (e.g., leading "." is not accepted). - - - In practice, teams usually precompile into the binary - all types that they - - expect it to use in the context of Any. However, for - URLs which use the - - scheme `http`, `https`, or no scheme, one can optionally - set up a type - - server that maps type URLs to message definitions as - follows: - - - * If no scheme is provided, `https` is assumed. - - * An HTTP GET on the URL must yield a - [google.protobuf.Type][] - value in binary format, or produce an error. - * Applications are allowed to cache lookup results based - on the - URL, or have them precompiled into a binary to avoid any - lookup. Therefore, binary compatibility needs to be preserved - on changes to types. (Use versioned type names to manage - breaking changes.) - - Note: this functionality is not currently available in - the official - - protobuf release, and it is not used for type URLs - beginning with - - type.googleapis.com. As of May 2023, there are no widely - used type server - - implementations and no plans to implement one. - - - Schemes other than `http`, `https` (or the empty scheme) - might be - - used with implementation specific semantics. - additionalProperties: {} - description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - - URL that describes the type of the serialized message. - - - Protobuf library provides support to pack/unpack Any values - in the form - - of utility functions or additional generated methods of the - Any type. - - - Example 1: Pack and unpack a message in C++. - - Foo foo = ...; - Any any; - any.PackFrom(foo); - ... - if (any.UnpackTo(&foo)) { - ... - } - - Example 2: Pack and unpack a message in Java. - - Foo foo = ...; - Any any = Any.pack(foo); - ... - if (any.is(Foo.class)) { - foo = any.unpack(Foo.class); - } - // or ... - if (any.isSameTypeAs(Foo.getDefaultInstance())) { - foo = any.unpack(Foo.getDefaultInstance()); - } - - Example 3: Pack and unpack a message in Python. - - foo = Foo(...) - any = Any() - any.Pack(foo) - ... - if any.Is(Foo.DESCRIPTOR): - any.Unpack(foo) - ... - - Example 4: Pack and unpack a message in Go - - foo := &pb.Foo{...} - any, err := anypb.New(foo) - if err != nil { - ... - } - ... - foo := &pb.Foo{} - if err := any.UnmarshalTo(foo); err != nil { - ... - } - - The pack methods provided by protobuf library will by - default use - - 'type.googleapis.com/full.type.name' as the type URL and the - unpack - - methods only use the fully qualified type name after the - last '/' - - in the type URL, for example "foo.bar.com/x/y.z" will yield - type - - name "y.z". - - - JSON - - ==== - - The JSON representation of an `Any` value uses the regular - - representation of the deserialized, embedded message, with - an - - additional field `@type` which contains the type URL. - Example: - - package google.profile; - message Person { - string first_name = 1; - string last_name = 2; - } - - { - "@type": "type.googleapis.com/google.profile.Person", - "firstName": , - "lastName": - } - - If the embedded message type is well-known and has a custom - JSON - - representation, that representation will be embedded adding - a field - - `value` which holds the custom JSON in addition to the - `@type` - - field. Example (for message [google.protobuf.Duration][]): - - { - "@type": "type.googleapis.com/google.protobuf.Duration", - "value": "1.212s" - } - parameters: - - name: body - in: body - required: true - schema: - type: object - properties: - packet: - type: object - properties: - sequence: - type: string - format: uint64 - description: >- - number corresponds to the order of sends and receives, - where a Packet - - with an earlier sequence number must be sent and received - before a Packet - - with a later sequence number. - source_port: - type: string - description: identifies the port on the sending chain. - source_channel: - type: string - description: identifies the channel end on the sending chain. - destination_port: - type: string - description: identifies the port on the receiving chain. - destination_channel: - type: string - description: identifies the channel end on the receiving chain. - data: - type: string - format: byte - title: >- - actual opaque bytes transferred directly to the - application module - timeout_height: - title: block height after which the packet times out - type: object - properties: - revision_number: - type: string - format: uint64 - title: the revision that the client is currently on - revision_height: - type: string - format: uint64 - title: the height within the given revision - description: >- - Normally the RevisionHeight is incremented at each height - while keeping - - RevisionNumber the same. However some consensus algorithms - may choose to - - reset the height in certain conditions e.g. hard forks, - state-machine - - breaking changes In these cases, the RevisionNumber is - incremented so that - - height continues to be monitonically increasing even as - the RevisionHeight - - gets reset - timeout_timestamp: - type: string - format: uint64 - title: >- - block timestamp (in nanoseconds) after which the packet - times out - title: >- - Packet defines a type that carries data across different - chains through IBC - acknowledgement: - type: string - format: byte - proof_acked: - type: string - format: byte - proof_height: - type: object - properties: - revision_number: - type: string - format: uint64 - title: the revision that the client is currently on - revision_height: - type: string - format: uint64 - title: the height within the given revision - description: >- - Normally the RevisionHeight is incremented at each height - while keeping - - RevisionNumber the same. However some consensus algorithms may - choose to - - reset the height in certain conditions e.g. hard forks, - state-machine - - breaking changes In these cases, the RevisionNumber is - incremented so that - - height continues to be monitonically increasing even as the - RevisionHeight - - gets reset - title: >- - Height is a monotonically increasing data type - - that can be compared against another Height for the purposes - of updating and - - freezing clients - signer: - type: string - title: MsgAcknowledgement receives incoming IBC acknowledgement - tags: - - Msg - /ibc.core.channel.v1.Msg/ChannelCloseConfirm: - post: - summary: |- - ChannelCloseConfirm defines a rpc handler method for - MsgChannelCloseConfirm. - operationId: IbcCoreChannelV1Msg_ChannelCloseConfirm - responses: - '200': - description: A successful response. - schema: - type: object - description: >- - MsgChannelCloseConfirmResponse defines the Msg/ChannelCloseConfirm - response - - type. - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - description: >- - A URL/resource name that uniquely identifies the type of - the serialized - - protocol buffer message. This string must contain at - least - - one "/" character. The last segment of the URL's path - must represent - - the fully qualified name of the type (as in - - `path/google.protobuf.Duration`). The name should be in - a canonical form - - (e.g., leading "." is not accepted). - - - In practice, teams usually precompile into the binary - all types that they - - expect it to use in the context of Any. However, for - URLs which use the - - scheme `http`, `https`, or no scheme, one can optionally - set up a type - - server that maps type URLs to message definitions as - follows: - - - * If no scheme is provided, `https` is assumed. - - * An HTTP GET on the URL must yield a - [google.protobuf.Type][] - value in binary format, or produce an error. - * Applications are allowed to cache lookup results based - on the - URL, or have them precompiled into a binary to avoid any - lookup. Therefore, binary compatibility needs to be preserved - on changes to types. (Use versioned type names to manage - breaking changes.) - - Note: this functionality is not currently available in - the official - - protobuf release, and it is not used for type URLs - beginning with - - type.googleapis.com. As of May 2023, there are no widely - used type server - - implementations and no plans to implement one. - - - Schemes other than `http`, `https` (or the empty scheme) - might be - - used with implementation specific semantics. - additionalProperties: {} - description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - - URL that describes the type of the serialized message. - - - Protobuf library provides support to pack/unpack Any values - in the form - - of utility functions or additional generated methods of the - Any type. - - - Example 1: Pack and unpack a message in C++. - - Foo foo = ...; - Any any; - any.PackFrom(foo); - ... - if (any.UnpackTo(&foo)) { - ... - } - - Example 2: Pack and unpack a message in Java. - - Foo foo = ...; - Any any = Any.pack(foo); - ... - if (any.is(Foo.class)) { - foo = any.unpack(Foo.class); - } - // or ... - if (any.isSameTypeAs(Foo.getDefaultInstance())) { - foo = any.unpack(Foo.getDefaultInstance()); - } - - Example 3: Pack and unpack a message in Python. - - foo = Foo(...) - any = Any() - any.Pack(foo) - ... - if any.Is(Foo.DESCRIPTOR): - any.Unpack(foo) - ... - - Example 4: Pack and unpack a message in Go - - foo := &pb.Foo{...} - any, err := anypb.New(foo) - if err != nil { - ... - } - ... - foo := &pb.Foo{} - if err := any.UnmarshalTo(foo); err != nil { - ... - } - - The pack methods provided by protobuf library will by - default use - - 'type.googleapis.com/full.type.name' as the type URL and the - unpack - - methods only use the fully qualified type name after the - last '/' - - in the type URL, for example "foo.bar.com/x/y.z" will yield - type - - name "y.z". - - - JSON - - ==== - - The JSON representation of an `Any` value uses the regular - - representation of the deserialized, embedded message, with - an - - additional field `@type` which contains the type URL. - Example: - - package google.profile; - message Person { - string first_name = 1; - string last_name = 2; - } - - { - "@type": "type.googleapis.com/google.profile.Person", - "firstName": , - "lastName": - } - - If the embedded message type is well-known and has a custom - JSON - - representation, that representation will be embedded adding - a field - - `value` which holds the custom JSON in addition to the - `@type` - - field. Example (for message [google.protobuf.Duration][]): - - { - "@type": "type.googleapis.com/google.protobuf.Duration", - "value": "1.212s" - } - parameters: - - name: body - description: |- - MsgChannelCloseConfirm defines a msg sent by a Relayer to Chain B - to acknowledge the change of channel state to CLOSED on Chain A. - in: body - required: true - schema: - type: object - properties: - port_id: - type: string - channel_id: - type: string - proof_init: - type: string - format: byte - proof_height: - type: object - properties: - revision_number: - type: string - format: uint64 - title: the revision that the client is currently on - revision_height: - type: string - format: uint64 - title: the height within the given revision - description: >- - Normally the RevisionHeight is incremented at each height - while keeping - - RevisionNumber the same. However some consensus algorithms may - choose to - - reset the height in certain conditions e.g. hard forks, - state-machine - - breaking changes In these cases, the RevisionNumber is - incremented so that - - height continues to be monitonically increasing even as the - RevisionHeight - - gets reset - title: >- - Height is a monotonically increasing data type - - that can be compared against another Height for the purposes - of updating and - - freezing clients - signer: - type: string - description: |- - MsgChannelCloseConfirm defines a msg sent by a Relayer to Chain B - to acknowledge the change of channel state to CLOSED on Chain A. - tags: - - Msg - /ibc.core.channel.v1.Msg/ChannelCloseInit: - post: - summary: ChannelCloseInit defines a rpc handler method for MsgChannelCloseInit. - operationId: IbcCoreChannelV1Msg_ChannelCloseInit - responses: - '200': - description: A successful response. - schema: - type: object - description: >- - MsgChannelCloseInitResponse defines the Msg/ChannelCloseInit - response type. - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - description: >- - A URL/resource name that uniquely identifies the type of - the serialized - - protocol buffer message. This string must contain at - least - - one "/" character. The last segment of the URL's path - must represent - - the fully qualified name of the type (as in - - `path/google.protobuf.Duration`). The name should be in - a canonical form - - (e.g., leading "." is not accepted). - - - In practice, teams usually precompile into the binary - all types that they - - expect it to use in the context of Any. However, for - URLs which use the - - scheme `http`, `https`, or no scheme, one can optionally - set up a type - - server that maps type URLs to message definitions as - follows: - - - * If no scheme is provided, `https` is assumed. - - * An HTTP GET on the URL must yield a - [google.protobuf.Type][] - value in binary format, or produce an error. - * Applications are allowed to cache lookup results based - on the - URL, or have them precompiled into a binary to avoid any - lookup. Therefore, binary compatibility needs to be preserved - on changes to types. (Use versioned type names to manage - breaking changes.) - - Note: this functionality is not currently available in - the official - - protobuf release, and it is not used for type URLs - beginning with - - type.googleapis.com. As of May 2023, there are no widely - used type server - - implementations and no plans to implement one. - - - Schemes other than `http`, `https` (or the empty scheme) - might be - - used with implementation specific semantics. - additionalProperties: {} - description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - - URL that describes the type of the serialized message. - - - Protobuf library provides support to pack/unpack Any values - in the form - - of utility functions or additional generated methods of the - Any type. - - - Example 1: Pack and unpack a message in C++. - - Foo foo = ...; - Any any; - any.PackFrom(foo); - ... - if (any.UnpackTo(&foo)) { - ... - } - - Example 2: Pack and unpack a message in Java. - - Foo foo = ...; - Any any = Any.pack(foo); - ... - if (any.is(Foo.class)) { - foo = any.unpack(Foo.class); - } - // or ... - if (any.isSameTypeAs(Foo.getDefaultInstance())) { - foo = any.unpack(Foo.getDefaultInstance()); - } - - Example 3: Pack and unpack a message in Python. - - foo = Foo(...) - any = Any() - any.Pack(foo) - ... - if any.Is(Foo.DESCRIPTOR): - any.Unpack(foo) - ... - - Example 4: Pack and unpack a message in Go - - foo := &pb.Foo{...} - any, err := anypb.New(foo) - if err != nil { - ... - } - ... - foo := &pb.Foo{} - if err := any.UnmarshalTo(foo); err != nil { - ... - } - - The pack methods provided by protobuf library will by - default use - - 'type.googleapis.com/full.type.name' as the type URL and the - unpack - - methods only use the fully qualified type name after the - last '/' - - in the type URL, for example "foo.bar.com/x/y.z" will yield - type - - name "y.z". - - - JSON - - ==== - - The JSON representation of an `Any` value uses the regular - - representation of the deserialized, embedded message, with - an - - additional field `@type` which contains the type URL. - Example: - - package google.profile; - message Person { - string first_name = 1; - string last_name = 2; - } - - { - "@type": "type.googleapis.com/google.profile.Person", - "firstName": , - "lastName": - } - - If the embedded message type is well-known and has a custom - JSON - - representation, that representation will be embedded adding - a field - - `value` which holds the custom JSON in addition to the - `@type` - - field. Example (for message [google.protobuf.Duration][]): - - { - "@type": "type.googleapis.com/google.protobuf.Duration", - "value": "1.212s" - } - parameters: - - name: body - description: |- - MsgChannelCloseInit defines a msg sent by a Relayer to Chain A - to close a channel with Chain B. - in: body - required: true - schema: - type: object - properties: - port_id: - type: string - channel_id: - type: string - signer: - type: string - description: |- - MsgChannelCloseInit defines a msg sent by a Relayer to Chain A - to close a channel with Chain B. - tags: - - Msg - /ibc.core.channel.v1.Msg/ChannelOpenAck: - post: - summary: ChannelOpenAck defines a rpc handler method for MsgChannelOpenAck. - operationId: IbcCoreChannelV1Msg_ChannelOpenAck - responses: - '200': - description: A successful response. - schema: - type: object - description: >- - MsgChannelOpenAckResponse defines the Msg/ChannelOpenAck response - type. - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - description: >- - A URL/resource name that uniquely identifies the type of - the serialized - - protocol buffer message. This string must contain at - least - - one "/" character. The last segment of the URL's path - must represent - - the fully qualified name of the type (as in - - `path/google.protobuf.Duration`). The name should be in - a canonical form - - (e.g., leading "." is not accepted). - - - In practice, teams usually precompile into the binary - all types that they - - expect it to use in the context of Any. However, for - URLs which use the - - scheme `http`, `https`, or no scheme, one can optionally - set up a type - - server that maps type URLs to message definitions as - follows: - - - * If no scheme is provided, `https` is assumed. - - * An HTTP GET on the URL must yield a - [google.protobuf.Type][] - value in binary format, or produce an error. - * Applications are allowed to cache lookup results based - on the - URL, or have them precompiled into a binary to avoid any - lookup. Therefore, binary compatibility needs to be preserved - on changes to types. (Use versioned type names to manage - breaking changes.) - - Note: this functionality is not currently available in - the official - - protobuf release, and it is not used for type URLs - beginning with - - type.googleapis.com. As of May 2023, there are no widely - used type server - - implementations and no plans to implement one. - - - Schemes other than `http`, `https` (or the empty scheme) - might be - - used with implementation specific semantics. - additionalProperties: {} - description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - - URL that describes the type of the serialized message. - - - Protobuf library provides support to pack/unpack Any values - in the form - - of utility functions or additional generated methods of the - Any type. - - - Example 1: Pack and unpack a message in C++. - - Foo foo = ...; - Any any; - any.PackFrom(foo); - ... - if (any.UnpackTo(&foo)) { - ... - } - - Example 2: Pack and unpack a message in Java. - - Foo foo = ...; - Any any = Any.pack(foo); - ... - if (any.is(Foo.class)) { - foo = any.unpack(Foo.class); - } - // or ... - if (any.isSameTypeAs(Foo.getDefaultInstance())) { - foo = any.unpack(Foo.getDefaultInstance()); - } - - Example 3: Pack and unpack a message in Python. - - foo = Foo(...) - any = Any() - any.Pack(foo) - ... - if any.Is(Foo.DESCRIPTOR): - any.Unpack(foo) - ... - - Example 4: Pack and unpack a message in Go - - foo := &pb.Foo{...} - any, err := anypb.New(foo) - if err != nil { - ... - } - ... - foo := &pb.Foo{} - if err := any.UnmarshalTo(foo); err != nil { - ... - } - - The pack methods provided by protobuf library will by - default use - - 'type.googleapis.com/full.type.name' as the type URL and the - unpack - - methods only use the fully qualified type name after the - last '/' - - in the type URL, for example "foo.bar.com/x/y.z" will yield - type - - name "y.z". - - - JSON - - ==== - - The JSON representation of an `Any` value uses the regular - - representation of the deserialized, embedded message, with - an - - additional field `@type` which contains the type URL. - Example: - - package google.profile; - message Person { - string first_name = 1; - string last_name = 2; - } - - { - "@type": "type.googleapis.com/google.profile.Person", - "firstName": , - "lastName": - } - - If the embedded message type is well-known and has a custom - JSON - - representation, that representation will be embedded adding - a field - - `value` which holds the custom JSON in addition to the - `@type` - - field. Example (for message [google.protobuf.Duration][]): - - { - "@type": "type.googleapis.com/google.protobuf.Duration", - "value": "1.212s" - } - parameters: - - name: body - description: >- - MsgChannelOpenAck defines a msg sent by a Relayer to Chain A to - acknowledge - - the change of channel state to TRYOPEN on Chain B. - in: body - required: true - schema: - type: object - properties: - port_id: - type: string - channel_id: - type: string - counterparty_channel_id: - type: string - counterparty_version: - type: string - proof_try: - type: string - format: byte - proof_height: - type: object - properties: - revision_number: - type: string - format: uint64 - title: the revision that the client is currently on - revision_height: - type: string - format: uint64 - title: the height within the given revision - description: >- - Normally the RevisionHeight is incremented at each height - while keeping - - RevisionNumber the same. However some consensus algorithms may - choose to - - reset the height in certain conditions e.g. hard forks, - state-machine - - breaking changes In these cases, the RevisionNumber is - incremented so that - - height continues to be monitonically increasing even as the - RevisionHeight - - gets reset - title: >- - Height is a monotonically increasing data type - - that can be compared against another Height for the purposes - of updating and - - freezing clients - signer: - type: string - description: >- - MsgChannelOpenAck defines a msg sent by a Relayer to Chain A to - acknowledge - - the change of channel state to TRYOPEN on Chain B. - tags: - - Msg - /ibc.core.channel.v1.Msg/ChannelOpenConfirm: - post: - summary: >- - ChannelOpenConfirm defines a rpc handler method for - MsgChannelOpenConfirm. - operationId: IbcCoreChannelV1Msg_ChannelOpenConfirm - responses: - '200': - description: A successful response. - schema: - type: object - description: >- - MsgChannelOpenConfirmResponse defines the Msg/ChannelOpenConfirm - response - - type. - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - description: >- - A URL/resource name that uniquely identifies the type of - the serialized - - protocol buffer message. This string must contain at - least - - one "/" character. The last segment of the URL's path - must represent - - the fully qualified name of the type (as in - - `path/google.protobuf.Duration`). The name should be in - a canonical form - - (e.g., leading "." is not accepted). - - - In practice, teams usually precompile into the binary - all types that they - - expect it to use in the context of Any. However, for - URLs which use the - - scheme `http`, `https`, or no scheme, one can optionally - set up a type - - server that maps type URLs to message definitions as - follows: - - - * If no scheme is provided, `https` is assumed. - - * An HTTP GET on the URL must yield a - [google.protobuf.Type][] - value in binary format, or produce an error. - * Applications are allowed to cache lookup results based - on the - URL, or have them precompiled into a binary to avoid any - lookup. Therefore, binary compatibility needs to be preserved - on changes to types. (Use versioned type names to manage - breaking changes.) - - Note: this functionality is not currently available in - the official - - protobuf release, and it is not used for type URLs - beginning with - - type.googleapis.com. As of May 2023, there are no widely - used type server - - implementations and no plans to implement one. - - - Schemes other than `http`, `https` (or the empty scheme) - might be - - used with implementation specific semantics. - additionalProperties: {} - description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - - URL that describes the type of the serialized message. - - - Protobuf library provides support to pack/unpack Any values - in the form - - of utility functions or additional generated methods of the - Any type. - - - Example 1: Pack and unpack a message in C++. - - Foo foo = ...; - Any any; - any.PackFrom(foo); - ... - if (any.UnpackTo(&foo)) { - ... - } - - Example 2: Pack and unpack a message in Java. - - Foo foo = ...; - Any any = Any.pack(foo); - ... - if (any.is(Foo.class)) { - foo = any.unpack(Foo.class); - } - // or ... - if (any.isSameTypeAs(Foo.getDefaultInstance())) { - foo = any.unpack(Foo.getDefaultInstance()); - } - - Example 3: Pack and unpack a message in Python. - - foo = Foo(...) - any = Any() - any.Pack(foo) - ... - if any.Is(Foo.DESCRIPTOR): - any.Unpack(foo) - ... - - Example 4: Pack and unpack a message in Go - - foo := &pb.Foo{...} - any, err := anypb.New(foo) - if err != nil { - ... - } - ... - foo := &pb.Foo{} - if err := any.UnmarshalTo(foo); err != nil { - ... - } - - The pack methods provided by protobuf library will by - default use - - 'type.googleapis.com/full.type.name' as the type URL and the - unpack - - methods only use the fully qualified type name after the - last '/' - - in the type URL, for example "foo.bar.com/x/y.z" will yield - type - - name "y.z". - - - JSON - - ==== - - The JSON representation of an `Any` value uses the regular - - representation of the deserialized, embedded message, with - an - - additional field `@type` which contains the type URL. - Example: - - package google.profile; - message Person { - string first_name = 1; - string last_name = 2; - } - - { - "@type": "type.googleapis.com/google.profile.Person", - "firstName": , - "lastName": - } - - If the embedded message type is well-known and has a custom - JSON - - representation, that representation will be embedded adding - a field - - `value` which holds the custom JSON in addition to the - `@type` - - field. Example (for message [google.protobuf.Duration][]): - - { - "@type": "type.googleapis.com/google.protobuf.Duration", - "value": "1.212s" - } - parameters: - - name: body - description: |- - MsgChannelOpenConfirm defines a msg sent by a Relayer to Chain B to - acknowledge the change of channel state to OPEN on Chain A. - in: body - required: true - schema: - type: object - properties: - port_id: - type: string - channel_id: - type: string - proof_ack: - type: string - format: byte - proof_height: - type: object - properties: - revision_number: - type: string - format: uint64 - title: the revision that the client is currently on - revision_height: - type: string - format: uint64 - title: the height within the given revision - description: >- - Normally the RevisionHeight is incremented at each height - while keeping - - RevisionNumber the same. However some consensus algorithms may - choose to - - reset the height in certain conditions e.g. hard forks, - state-machine - - breaking changes In these cases, the RevisionNumber is - incremented so that - - height continues to be monitonically increasing even as the - RevisionHeight - - gets reset - title: >- - Height is a monotonically increasing data type - - that can be compared against another Height for the purposes - of updating and - - freezing clients - signer: - type: string - description: >- - MsgChannelOpenConfirm defines a msg sent by a Relayer to Chain B - to - - acknowledge the change of channel state to OPEN on Chain A. - tags: - - Msg - /ibc.core.channel.v1.Msg/ChannelOpenInit: - post: - summary: ChannelOpenInit defines a rpc handler method for MsgChannelOpenInit. - operationId: IbcCoreChannelV1Msg_ChannelOpenInit - responses: - '200': - description: A successful response. - schema: - type: object - properties: - channel_id: - type: string - version: - type: string - description: >- - MsgChannelOpenInitResponse defines the Msg/ChannelOpenInit - response type. - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - description: >- - A URL/resource name that uniquely identifies the type of - the serialized - - protocol buffer message. This string must contain at - least - - one "/" character. The last segment of the URL's path - must represent - - the fully qualified name of the type (as in - - `path/google.protobuf.Duration`). The name should be in - a canonical form - - (e.g., leading "." is not accepted). - - - In practice, teams usually precompile into the binary - all types that they - - expect it to use in the context of Any. However, for - URLs which use the - - scheme `http`, `https`, or no scheme, one can optionally - set up a type - - server that maps type URLs to message definitions as - follows: - - - * If no scheme is provided, `https` is assumed. - - * An HTTP GET on the URL must yield a - [google.protobuf.Type][] - value in binary format, or produce an error. - * Applications are allowed to cache lookup results based - on the - URL, or have them precompiled into a binary to avoid any - lookup. Therefore, binary compatibility needs to be preserved - on changes to types. (Use versioned type names to manage - breaking changes.) - - Note: this functionality is not currently available in - the official - - protobuf release, and it is not used for type URLs - beginning with - - type.googleapis.com. As of May 2023, there are no widely - used type server - - implementations and no plans to implement one. - - - Schemes other than `http`, `https` (or the empty scheme) - might be - - used with implementation specific semantics. - additionalProperties: {} - description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - - URL that describes the type of the serialized message. - - - Protobuf library provides support to pack/unpack Any values - in the form - - of utility functions or additional generated methods of the - Any type. - - - Example 1: Pack and unpack a message in C++. - - Foo foo = ...; - Any any; - any.PackFrom(foo); - ... - if (any.UnpackTo(&foo)) { - ... - } - - Example 2: Pack and unpack a message in Java. - - Foo foo = ...; - Any any = Any.pack(foo); - ... - if (any.is(Foo.class)) { - foo = any.unpack(Foo.class); - } - // or ... - if (any.isSameTypeAs(Foo.getDefaultInstance())) { - foo = any.unpack(Foo.getDefaultInstance()); - } - - Example 3: Pack and unpack a message in Python. - - foo = Foo(...) - any = Any() - any.Pack(foo) - ... - if any.Is(Foo.DESCRIPTOR): - any.Unpack(foo) - ... - - Example 4: Pack and unpack a message in Go - - foo := &pb.Foo{...} - any, err := anypb.New(foo) - if err != nil { - ... - } - ... - foo := &pb.Foo{} - if err := any.UnmarshalTo(foo); err != nil { - ... - } - - The pack methods provided by protobuf library will by - default use - - 'type.googleapis.com/full.type.name' as the type URL and the - unpack - - methods only use the fully qualified type name after the - last '/' - - in the type URL, for example "foo.bar.com/x/y.z" will yield - type - - name "y.z". - - - JSON - - ==== - - The JSON representation of an `Any` value uses the regular - - representation of the deserialized, embedded message, with - an - - additional field `@type` which contains the type URL. - Example: - - package google.profile; - message Person { - string first_name = 1; - string last_name = 2; - } - - { - "@type": "type.googleapis.com/google.profile.Person", - "firstName": , - "lastName": - } - - If the embedded message type is well-known and has a custom - JSON - - representation, that representation will be embedded adding - a field - - `value` which holds the custom JSON in addition to the - `@type` - - field. Example (for message [google.protobuf.Duration][]): - - { - "@type": "type.googleapis.com/google.protobuf.Duration", - "value": "1.212s" - } - parameters: - - name: body - description: >- - MsgChannelOpenInit defines an sdk.Msg to initialize a channel - handshake. It - - is called by a relayer on Chain A. - in: body - required: true - schema: - type: object - properties: - port_id: - type: string - channel: - type: object - properties: - state: - title: current state of the channel end - type: string - enum: - - STATE_UNINITIALIZED_UNSPECIFIED - - STATE_INIT - - STATE_TRYOPEN - - STATE_OPEN - - STATE_CLOSED - default: STATE_UNINITIALIZED_UNSPECIFIED - description: >- - State defines if a channel is in one of the following - states: - - CLOSED, INIT, TRYOPEN, OPEN or UNINITIALIZED. - - - STATE_UNINITIALIZED_UNSPECIFIED: Default State - - STATE_INIT: A channel has just started the opening handshake. - - STATE_TRYOPEN: A channel has acknowledged the handshake step on the counterparty chain. - - STATE_OPEN: A channel has completed the handshake. Open channels are - ready to send and receive packets. - - STATE_CLOSED: A channel has been closed and can no longer be used to send or receive - packets. - ordering: - title: whether the channel is ordered or unordered - type: string - enum: - - ORDER_NONE_UNSPECIFIED - - ORDER_UNORDERED - - ORDER_ORDERED - default: ORDER_NONE_UNSPECIFIED - description: |- - - ORDER_NONE_UNSPECIFIED: zero-value for channel ordering - - ORDER_UNORDERED: packets can be delivered in any order, which may differ from the order in - which they were sent. - - ORDER_ORDERED: packets are delivered exactly in the order which they were sent - counterparty: - title: counterparty channel end - type: object - properties: - port_id: - type: string - description: >- - port on the counterparty chain which owns the other - end of the channel. - channel_id: - type: string - title: channel end on the counterparty chain - connection_hops: - type: array - items: - type: string - title: >- - list of connection identifiers, in order, along which - packets sent on - - this channel will travel - version: - type: string - title: >- - opaque channel version, which is agreed upon during the - handshake - description: >- - Channel defines pipeline for exactly-once packet delivery - between specific - - modules on separate blockchains, which has at least one end - capable of - - sending packets and one end capable of receiving packets. - signer: - type: string - description: >- - MsgChannelOpenInit defines an sdk.Msg to initialize a channel - handshake. It - - is called by a relayer on Chain A. - tags: - - Msg - /ibc.core.channel.v1.Msg/ChannelOpenTry: - post: - summary: ChannelOpenTry defines a rpc handler method for MsgChannelOpenTry. - operationId: IbcCoreChannelV1Msg_ChannelOpenTry - responses: - '200': - description: A successful response. - schema: - type: object - properties: - version: - type: string - channel_id: - type: string - description: >- - MsgChannelOpenTryResponse defines the Msg/ChannelOpenTry response - type. - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - description: >- - A URL/resource name that uniquely identifies the type of - the serialized - - protocol buffer message. This string must contain at - least - - one "/" character. The last segment of the URL's path - must represent - - the fully qualified name of the type (as in - - `path/google.protobuf.Duration`). The name should be in - a canonical form - - (e.g., leading "." is not accepted). - - - In practice, teams usually precompile into the binary - all types that they - - expect it to use in the context of Any. However, for - URLs which use the - - scheme `http`, `https`, or no scheme, one can optionally - set up a type - - server that maps type URLs to message definitions as - follows: - - - * If no scheme is provided, `https` is assumed. - - * An HTTP GET on the URL must yield a - [google.protobuf.Type][] - value in binary format, or produce an error. - * Applications are allowed to cache lookup results based - on the - URL, or have them precompiled into a binary to avoid any - lookup. Therefore, binary compatibility needs to be preserved - on changes to types. (Use versioned type names to manage - breaking changes.) - - Note: this functionality is not currently available in - the official - - protobuf release, and it is not used for type URLs - beginning with - - type.googleapis.com. As of May 2023, there are no widely - used type server - - implementations and no plans to implement one. - - - Schemes other than `http`, `https` (or the empty scheme) - might be - - used with implementation specific semantics. - additionalProperties: {} - description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - - URL that describes the type of the serialized message. - - - Protobuf library provides support to pack/unpack Any values - in the form - - of utility functions or additional generated methods of the - Any type. - - - Example 1: Pack and unpack a message in C++. - - Foo foo = ...; - Any any; - any.PackFrom(foo); - ... - if (any.UnpackTo(&foo)) { - ... - } - - Example 2: Pack and unpack a message in Java. - - Foo foo = ...; - Any any = Any.pack(foo); - ... - if (any.is(Foo.class)) { - foo = any.unpack(Foo.class); - } - // or ... - if (any.isSameTypeAs(Foo.getDefaultInstance())) { - foo = any.unpack(Foo.getDefaultInstance()); - } - - Example 3: Pack and unpack a message in Python. - - foo = Foo(...) - any = Any() - any.Pack(foo) - ... - if any.Is(Foo.DESCRIPTOR): - any.Unpack(foo) - ... - - Example 4: Pack and unpack a message in Go - - foo := &pb.Foo{...} - any, err := anypb.New(foo) - if err != nil { - ... - } - ... - foo := &pb.Foo{} - if err := any.UnmarshalTo(foo); err != nil { - ... - } - - The pack methods provided by protobuf library will by - default use - - 'type.googleapis.com/full.type.name' as the type URL and the - unpack - - methods only use the fully qualified type name after the - last '/' - - in the type URL, for example "foo.bar.com/x/y.z" will yield - type - - name "y.z". - - - JSON - - ==== - - The JSON representation of an `Any` value uses the regular - - representation of the deserialized, embedded message, with - an - - additional field `@type` which contains the type URL. - Example: - - package google.profile; - message Person { - string first_name = 1; - string last_name = 2; - } - - { - "@type": "type.googleapis.com/google.profile.Person", - "firstName": , - "lastName": - } - - If the embedded message type is well-known and has a custom - JSON - - representation, that representation will be embedded adding - a field - - `value` which holds the custom JSON in addition to the - `@type` - - field. Example (for message [google.protobuf.Duration][]): - - { - "@type": "type.googleapis.com/google.protobuf.Duration", - "value": "1.212s" - } - parameters: - - name: body - description: >- - MsgChannelOpenInit defines a msg sent by a Relayer to try to open a - channel - - on Chain B. The version field within the Channel field has been - deprecated. Its - - value will be ignored by core IBC. - in: body - required: true - schema: - type: object - properties: - port_id: - type: string - previous_channel_id: - type: string - description: >- - Deprecated: this field is unused. Crossing hello's are no - longer supported in core IBC. - channel: - type: object - properties: - state: - title: current state of the channel end - type: string - enum: - - STATE_UNINITIALIZED_UNSPECIFIED - - STATE_INIT - - STATE_TRYOPEN - - STATE_OPEN - - STATE_CLOSED - default: STATE_UNINITIALIZED_UNSPECIFIED - description: >- - State defines if a channel is in one of the following - states: - - CLOSED, INIT, TRYOPEN, OPEN or UNINITIALIZED. - - - STATE_UNINITIALIZED_UNSPECIFIED: Default State - - STATE_INIT: A channel has just started the opening handshake. - - STATE_TRYOPEN: A channel has acknowledged the handshake step on the counterparty chain. - - STATE_OPEN: A channel has completed the handshake. Open channels are - ready to send and receive packets. - - STATE_CLOSED: A channel has been closed and can no longer be used to send or receive - packets. - ordering: - title: whether the channel is ordered or unordered - type: string - enum: - - ORDER_NONE_UNSPECIFIED - - ORDER_UNORDERED - - ORDER_ORDERED - default: ORDER_NONE_UNSPECIFIED - description: |- - - ORDER_NONE_UNSPECIFIED: zero-value for channel ordering - - ORDER_UNORDERED: packets can be delivered in any order, which may differ from the order in - which they were sent. - - ORDER_ORDERED: packets are delivered exactly in the order which they were sent - counterparty: - title: counterparty channel end - type: object - properties: - port_id: - type: string - description: >- - port on the counterparty chain which owns the other - end of the channel. - channel_id: - type: string - title: channel end on the counterparty chain - connection_hops: - type: array - items: - type: string - title: >- - list of connection identifiers, in order, along which - packets sent on - - this channel will travel - version: - type: string - title: >- - opaque channel version, which is agreed upon during the - handshake - description: >- - Channel defines pipeline for exactly-once packet delivery - between specific - - modules on separate blockchains, which has at least one end - capable of - - sending packets and one end capable of receiving packets. - counterparty_version: - type: string - proof_init: - type: string - format: byte - proof_height: - type: object - properties: - revision_number: - type: string - format: uint64 - title: the revision that the client is currently on - revision_height: - type: string - format: uint64 - title: the height within the given revision - description: >- - Normally the RevisionHeight is incremented at each height - while keeping - - RevisionNumber the same. However some consensus algorithms may - choose to - - reset the height in certain conditions e.g. hard forks, - state-machine - - breaking changes In these cases, the RevisionNumber is - incremented so that - - height continues to be monitonically increasing even as the - RevisionHeight - - gets reset - title: >- - Height is a monotonically increasing data type - - that can be compared against another Height for the purposes - of updating and - - freezing clients - signer: - type: string - description: >- - MsgChannelOpenInit defines a msg sent by a Relayer to try to open - a channel - - on Chain B. The version field within the Channel field has been - deprecated. Its - - value will be ignored by core IBC. - tags: - - Msg - /ibc.core.channel.v1.Msg/RecvPacket: - post: - summary: RecvPacket defines a rpc handler method for MsgRecvPacket. - operationId: IbcCoreChannelV1Msg_RecvPacket - responses: - '200': - description: A successful response. - schema: - type: object - properties: - result: - type: string - enum: - - RESPONSE_RESULT_TYPE_UNSPECIFIED - - RESPONSE_RESULT_TYPE_NOOP - - RESPONSE_RESULT_TYPE_SUCCESS - default: RESPONSE_RESULT_TYPE_UNSPECIFIED - description: >- - - RESPONSE_RESULT_TYPE_UNSPECIFIED: Default zero value - enumeration - - RESPONSE_RESULT_TYPE_NOOP: The message did not call the IBC application callbacks (because, for example, the packet had already been relayed) - - RESPONSE_RESULT_TYPE_SUCCESS: The message was executed successfully - title: >- - ResponseResultType defines the possible outcomes of the - execution of a message - description: MsgRecvPacketResponse defines the Msg/RecvPacket response type. - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - description: >- - A URL/resource name that uniquely identifies the type of - the serialized - - protocol buffer message. This string must contain at - least - - one "/" character. The last segment of the URL's path - must represent - - the fully qualified name of the type (as in - - `path/google.protobuf.Duration`). The name should be in - a canonical form - - (e.g., leading "." is not accepted). - - - In practice, teams usually precompile into the binary - all types that they - - expect it to use in the context of Any. However, for - URLs which use the - - scheme `http`, `https`, or no scheme, one can optionally - set up a type - - server that maps type URLs to message definitions as - follows: - - - * If no scheme is provided, `https` is assumed. - - * An HTTP GET on the URL must yield a - [google.protobuf.Type][] - value in binary format, or produce an error. - * Applications are allowed to cache lookup results based - on the - URL, or have them precompiled into a binary to avoid any - lookup. Therefore, binary compatibility needs to be preserved - on changes to types. (Use versioned type names to manage - breaking changes.) - - Note: this functionality is not currently available in - the official - - protobuf release, and it is not used for type URLs - beginning with - - type.googleapis.com. As of May 2023, there are no widely - used type server - - implementations and no plans to implement one. - - - Schemes other than `http`, `https` (or the empty scheme) - might be - - used with implementation specific semantics. - additionalProperties: {} - description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - - URL that describes the type of the serialized message. - - - Protobuf library provides support to pack/unpack Any values - in the form - - of utility functions or additional generated methods of the - Any type. - - - Example 1: Pack and unpack a message in C++. - - Foo foo = ...; - Any any; - any.PackFrom(foo); - ... - if (any.UnpackTo(&foo)) { - ... - } - - Example 2: Pack and unpack a message in Java. - - Foo foo = ...; - Any any = Any.pack(foo); - ... - if (any.is(Foo.class)) { - foo = any.unpack(Foo.class); - } - // or ... - if (any.isSameTypeAs(Foo.getDefaultInstance())) { - foo = any.unpack(Foo.getDefaultInstance()); - } - - Example 3: Pack and unpack a message in Python. - - foo = Foo(...) - any = Any() - any.Pack(foo) - ... - if any.Is(Foo.DESCRIPTOR): - any.Unpack(foo) - ... - - Example 4: Pack and unpack a message in Go - - foo := &pb.Foo{...} - any, err := anypb.New(foo) - if err != nil { - ... - } - ... - foo := &pb.Foo{} - if err := any.UnmarshalTo(foo); err != nil { - ... - } - - The pack methods provided by protobuf library will by - default use - - 'type.googleapis.com/full.type.name' as the type URL and the - unpack - - methods only use the fully qualified type name after the - last '/' - - in the type URL, for example "foo.bar.com/x/y.z" will yield - type - - name "y.z". - - - JSON - - ==== - - The JSON representation of an `Any` value uses the regular - - representation of the deserialized, embedded message, with - an - - additional field `@type` which contains the type URL. - Example: - - package google.profile; - message Person { - string first_name = 1; - string last_name = 2; - } - - { - "@type": "type.googleapis.com/google.profile.Person", - "firstName": , - "lastName": - } - - If the embedded message type is well-known and has a custom - JSON - - representation, that representation will be embedded adding - a field - - `value` which holds the custom JSON in addition to the - `@type` - - field. Example (for message [google.protobuf.Duration][]): - - { - "@type": "type.googleapis.com/google.protobuf.Duration", - "value": "1.212s" - } - parameters: - - name: body - in: body - required: true - schema: - type: object - properties: - packet: - type: object - properties: - sequence: - type: string - format: uint64 - description: >- - number corresponds to the order of sends and receives, - where a Packet - - with an earlier sequence number must be sent and received - before a Packet - - with a later sequence number. - source_port: - type: string - description: identifies the port on the sending chain. - source_channel: - type: string - description: identifies the channel end on the sending chain. - destination_port: - type: string - description: identifies the port on the receiving chain. - destination_channel: - type: string - description: identifies the channel end on the receiving chain. - data: - type: string - format: byte - title: >- - actual opaque bytes transferred directly to the - application module - timeout_height: - title: block height after which the packet times out - type: object - properties: - revision_number: - type: string - format: uint64 - title: the revision that the client is currently on - revision_height: - type: string - format: uint64 - title: the height within the given revision - description: >- - Normally the RevisionHeight is incremented at each height - while keeping - - RevisionNumber the same. However some consensus algorithms - may choose to - - reset the height in certain conditions e.g. hard forks, - state-machine - - breaking changes In these cases, the RevisionNumber is - incremented so that - - height continues to be monitonically increasing even as - the RevisionHeight - - gets reset - timeout_timestamp: - type: string - format: uint64 - title: >- - block timestamp (in nanoseconds) after which the packet - times out - title: >- - Packet defines a type that carries data across different - chains through IBC - proof_commitment: - type: string - format: byte - proof_height: - type: object - properties: - revision_number: - type: string - format: uint64 - title: the revision that the client is currently on - revision_height: - type: string - format: uint64 - title: the height within the given revision - description: >- - Normally the RevisionHeight is incremented at each height - while keeping - - RevisionNumber the same. However some consensus algorithms may - choose to - - reset the height in certain conditions e.g. hard forks, - state-machine - - breaking changes In these cases, the RevisionNumber is - incremented so that - - height continues to be monitonically increasing even as the - RevisionHeight - - gets reset - title: >- - Height is a monotonically increasing data type - - that can be compared against another Height for the purposes - of updating and - - freezing clients - signer: - type: string - title: MsgRecvPacket receives incoming IBC packet - tags: - - Msg - /ibc.core.channel.v1.Msg/Timeout: - post: - summary: Timeout defines a rpc handler method for MsgTimeout. - operationId: IbcCoreChannelV1Msg_Timeout - responses: - '200': - description: A successful response. - schema: - type: object - properties: - result: - type: string - enum: - - RESPONSE_RESULT_TYPE_UNSPECIFIED - - RESPONSE_RESULT_TYPE_NOOP - - RESPONSE_RESULT_TYPE_SUCCESS - default: RESPONSE_RESULT_TYPE_UNSPECIFIED - description: >- - - RESPONSE_RESULT_TYPE_UNSPECIFIED: Default zero value - enumeration - - RESPONSE_RESULT_TYPE_NOOP: The message did not call the IBC application callbacks (because, for example, the packet had already been relayed) - - RESPONSE_RESULT_TYPE_SUCCESS: The message was executed successfully - title: >- - ResponseResultType defines the possible outcomes of the - execution of a message - description: MsgTimeoutResponse defines the Msg/Timeout response type. - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - description: >- - A URL/resource name that uniquely identifies the type of - the serialized - - protocol buffer message. This string must contain at - least - - one "/" character. The last segment of the URL's path - must represent - - the fully qualified name of the type (as in - - `path/google.protobuf.Duration`). The name should be in - a canonical form - - (e.g., leading "." is not accepted). - - - In practice, teams usually precompile into the binary - all types that they - - expect it to use in the context of Any. However, for - URLs which use the - - scheme `http`, `https`, or no scheme, one can optionally - set up a type - - server that maps type URLs to message definitions as - follows: - - - * If no scheme is provided, `https` is assumed. - - * An HTTP GET on the URL must yield a - [google.protobuf.Type][] - value in binary format, or produce an error. - * Applications are allowed to cache lookup results based - on the - URL, or have them precompiled into a binary to avoid any - lookup. Therefore, binary compatibility needs to be preserved - on changes to types. (Use versioned type names to manage - breaking changes.) - - Note: this functionality is not currently available in - the official - - protobuf release, and it is not used for type URLs - beginning with - - type.googleapis.com. As of May 2023, there are no widely - used type server - - implementations and no plans to implement one. - - - Schemes other than `http`, `https` (or the empty scheme) - might be - - used with implementation specific semantics. - additionalProperties: {} - description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - - URL that describes the type of the serialized message. - - - Protobuf library provides support to pack/unpack Any values - in the form - - of utility functions or additional generated methods of the - Any type. - - - Example 1: Pack and unpack a message in C++. - - Foo foo = ...; - Any any; - any.PackFrom(foo); - ... - if (any.UnpackTo(&foo)) { - ... - } - - Example 2: Pack and unpack a message in Java. - - Foo foo = ...; - Any any = Any.pack(foo); - ... - if (any.is(Foo.class)) { - foo = any.unpack(Foo.class); - } - // or ... - if (any.isSameTypeAs(Foo.getDefaultInstance())) { - foo = any.unpack(Foo.getDefaultInstance()); - } - - Example 3: Pack and unpack a message in Python. - - foo = Foo(...) - any = Any() - any.Pack(foo) - ... - if any.Is(Foo.DESCRIPTOR): - any.Unpack(foo) - ... - - Example 4: Pack and unpack a message in Go - - foo := &pb.Foo{...} - any, err := anypb.New(foo) - if err != nil { - ... - } - ... - foo := &pb.Foo{} - if err := any.UnmarshalTo(foo); err != nil { - ... - } - - The pack methods provided by protobuf library will by - default use - - 'type.googleapis.com/full.type.name' as the type URL and the - unpack - - methods only use the fully qualified type name after the - last '/' - - in the type URL, for example "foo.bar.com/x/y.z" will yield - type - - name "y.z". - - - JSON - - ==== - - The JSON representation of an `Any` value uses the regular - - representation of the deserialized, embedded message, with - an - - additional field `@type` which contains the type URL. - Example: - - package google.profile; - message Person { - string first_name = 1; - string last_name = 2; - } - - { - "@type": "type.googleapis.com/google.profile.Person", - "firstName": , - "lastName": - } - - If the embedded message type is well-known and has a custom - JSON - - representation, that representation will be embedded adding - a field - - `value` which holds the custom JSON in addition to the - `@type` - - field. Example (for message [google.protobuf.Duration][]): - - { - "@type": "type.googleapis.com/google.protobuf.Duration", - "value": "1.212s" - } - parameters: - - name: body - in: body - required: true - schema: - type: object - properties: - packet: - type: object - properties: - sequence: - type: string - format: uint64 - description: >- - number corresponds to the order of sends and receives, - where a Packet - - with an earlier sequence number must be sent and received - before a Packet - - with a later sequence number. - source_port: - type: string - description: identifies the port on the sending chain. - source_channel: - type: string - description: identifies the channel end on the sending chain. - destination_port: - type: string - description: identifies the port on the receiving chain. - destination_channel: - type: string - description: identifies the channel end on the receiving chain. - data: - type: string - format: byte - title: >- - actual opaque bytes transferred directly to the - application module - timeout_height: - title: block height after which the packet times out - type: object - properties: - revision_number: - type: string - format: uint64 - title: the revision that the client is currently on - revision_height: - type: string - format: uint64 - title: the height within the given revision - description: >- - Normally the RevisionHeight is incremented at each height - while keeping - - RevisionNumber the same. However some consensus algorithms - may choose to - - reset the height in certain conditions e.g. hard forks, - state-machine - - breaking changes In these cases, the RevisionNumber is - incremented so that - - height continues to be monitonically increasing even as - the RevisionHeight - - gets reset - timeout_timestamp: - type: string - format: uint64 - title: >- - block timestamp (in nanoseconds) after which the packet - times out - title: >- - Packet defines a type that carries data across different - chains through IBC - proof_unreceived: - type: string - format: byte - proof_height: - type: object - properties: - revision_number: - type: string - format: uint64 - title: the revision that the client is currently on - revision_height: - type: string - format: uint64 - title: the height within the given revision - description: >- - Normally the RevisionHeight is incremented at each height - while keeping - - RevisionNumber the same. However some consensus algorithms may - choose to - - reset the height in certain conditions e.g. hard forks, - state-machine - - breaking changes In these cases, the RevisionNumber is - incremented so that - - height continues to be monitonically increasing even as the - RevisionHeight - - gets reset - title: >- - Height is a monotonically increasing data type - - that can be compared against another Height for the purposes - of updating and - - freezing clients - next_sequence_recv: - type: string - format: uint64 - signer: - type: string - title: MsgTimeout receives timed-out packet - tags: - - Msg - /ibc.core.channel.v1.Msg/TimeoutOnClose: - post: - summary: TimeoutOnClose defines a rpc handler method for MsgTimeoutOnClose. - operationId: IbcCoreChannelV1Msg_TimeoutOnClose - responses: - '200': - description: A successful response. - schema: - type: object - properties: - result: - type: string - enum: - - RESPONSE_RESULT_TYPE_UNSPECIFIED - - RESPONSE_RESULT_TYPE_NOOP - - RESPONSE_RESULT_TYPE_SUCCESS - default: RESPONSE_RESULT_TYPE_UNSPECIFIED - description: >- - - RESPONSE_RESULT_TYPE_UNSPECIFIED: Default zero value - enumeration - - RESPONSE_RESULT_TYPE_NOOP: The message did not call the IBC application callbacks (because, for example, the packet had already been relayed) - - RESPONSE_RESULT_TYPE_SUCCESS: The message was executed successfully - title: >- - ResponseResultType defines the possible outcomes of the - execution of a message - description: >- - MsgTimeoutOnCloseResponse defines the Msg/TimeoutOnClose response - type. - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - description: >- - A URL/resource name that uniquely identifies the type of - the serialized - - protocol buffer message. This string must contain at - least - - one "/" character. The last segment of the URL's path - must represent - - the fully qualified name of the type (as in - - `path/google.protobuf.Duration`). The name should be in - a canonical form - - (e.g., leading "." is not accepted). - - - In practice, teams usually precompile into the binary - all types that they - - expect it to use in the context of Any. However, for - URLs which use the - - scheme `http`, `https`, or no scheme, one can optionally - set up a type - - server that maps type URLs to message definitions as - follows: - - - * If no scheme is provided, `https` is assumed. - - * An HTTP GET on the URL must yield a - [google.protobuf.Type][] - value in binary format, or produce an error. - * Applications are allowed to cache lookup results based - on the - URL, or have them precompiled into a binary to avoid any - lookup. Therefore, binary compatibility needs to be preserved - on changes to types. (Use versioned type names to manage - breaking changes.) - - Note: this functionality is not currently available in - the official - - protobuf release, and it is not used for type URLs - beginning with - - type.googleapis.com. As of May 2023, there are no widely - used type server - - implementations and no plans to implement one. - - - Schemes other than `http`, `https` (or the empty scheme) - might be - - used with implementation specific semantics. - additionalProperties: {} - description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - - URL that describes the type of the serialized message. - - - Protobuf library provides support to pack/unpack Any values - in the form - - of utility functions or additional generated methods of the - Any type. - - - Example 1: Pack and unpack a message in C++. - - Foo foo = ...; - Any any; - any.PackFrom(foo); - ... - if (any.UnpackTo(&foo)) { - ... - } - - Example 2: Pack and unpack a message in Java. - - Foo foo = ...; - Any any = Any.pack(foo); - ... - if (any.is(Foo.class)) { - foo = any.unpack(Foo.class); - } - // or ... - if (any.isSameTypeAs(Foo.getDefaultInstance())) { - foo = any.unpack(Foo.getDefaultInstance()); - } - - Example 3: Pack and unpack a message in Python. - - foo = Foo(...) - any = Any() - any.Pack(foo) - ... - if any.Is(Foo.DESCRIPTOR): - any.Unpack(foo) - ... - - Example 4: Pack and unpack a message in Go - - foo := &pb.Foo{...} - any, err := anypb.New(foo) - if err != nil { - ... - } - ... - foo := &pb.Foo{} - if err := any.UnmarshalTo(foo); err != nil { - ... - } - - The pack methods provided by protobuf library will by - default use - - 'type.googleapis.com/full.type.name' as the type URL and the - unpack - - methods only use the fully qualified type name after the - last '/' - - in the type URL, for example "foo.bar.com/x/y.z" will yield - type - - name "y.z". - - - JSON - - ==== - - The JSON representation of an `Any` value uses the regular - - representation of the deserialized, embedded message, with - an - - additional field `@type` which contains the type URL. - Example: - - package google.profile; - message Person { - string first_name = 1; - string last_name = 2; - } - - { - "@type": "type.googleapis.com/google.profile.Person", - "firstName": , - "lastName": - } - - If the embedded message type is well-known and has a custom - JSON - - representation, that representation will be embedded adding - a field - - `value` which holds the custom JSON in addition to the - `@type` - - field. Example (for message [google.protobuf.Duration][]): - - { - "@type": "type.googleapis.com/google.protobuf.Duration", - "value": "1.212s" - } - parameters: - - name: body - description: >- - MsgTimeoutOnClose timed-out packet upon counterparty channel - closure. - in: body - required: true - schema: - type: object - properties: - packet: - type: object - properties: - sequence: - type: string - format: uint64 - description: >- - number corresponds to the order of sends and receives, - where a Packet - - with an earlier sequence number must be sent and received - before a Packet - - with a later sequence number. - source_port: - type: string - description: identifies the port on the sending chain. - source_channel: - type: string - description: identifies the channel end on the sending chain. - destination_port: - type: string - description: identifies the port on the receiving chain. - destination_channel: - type: string - description: identifies the channel end on the receiving chain. - data: - type: string - format: byte - title: >- - actual opaque bytes transferred directly to the - application module - timeout_height: - title: block height after which the packet times out - type: object - properties: - revision_number: - type: string - format: uint64 - title: the revision that the client is currently on - revision_height: - type: string - format: uint64 - title: the height within the given revision - description: >- - Normally the RevisionHeight is incremented at each height - while keeping - - RevisionNumber the same. However some consensus algorithms - may choose to - - reset the height in certain conditions e.g. hard forks, - state-machine - - breaking changes In these cases, the RevisionNumber is - incremented so that - - height continues to be monitonically increasing even as - the RevisionHeight - - gets reset - timeout_timestamp: - type: string - format: uint64 - title: >- - block timestamp (in nanoseconds) after which the packet - times out - title: >- - Packet defines a type that carries data across different - chains through IBC - proof_unreceived: - type: string - format: byte - proof_close: - type: string - format: byte - proof_height: - type: object - properties: - revision_number: - type: string - format: uint64 - title: the revision that the client is currently on - revision_height: - type: string - format: uint64 - title: the height within the given revision - description: >- - Normally the RevisionHeight is incremented at each height - while keeping - - RevisionNumber the same. However some consensus algorithms may - choose to - - reset the height in certain conditions e.g. hard forks, - state-machine - - breaking changes In these cases, the RevisionNumber is - incremented so that - - height continues to be monitonically increasing even as the - RevisionHeight - - gets reset - title: >- - Height is a monotonically increasing data type - - that can be compared against another Height for the purposes - of updating and - - freezing clients - next_sequence_recv: - type: string - format: uint64 - signer: - type: string - description: >- - MsgTimeoutOnClose timed-out packet upon counterparty channel - closure. - tags: - - Msg - /ibc.core.client.v1.Msg/CreateClient: - post: - summary: CreateClient defines a rpc handler method for MsgCreateClient. - operationId: IbcCoreClientV1Msg_CreateClient - responses: - '200': - description: A successful response. - schema: - type: object - description: >- - MsgCreateClientResponse defines the Msg/CreateClient response - type. - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - description: >- - A URL/resource name that uniquely identifies the type of - the serialized - - protocol buffer message. This string must contain at - least - - one "/" character. The last segment of the URL's path - must represent - - the fully qualified name of the type (as in - - `path/google.protobuf.Duration`). The name should be in - a canonical form - - (e.g., leading "." is not accepted). - - - In practice, teams usually precompile into the binary - all types that they - - expect it to use in the context of Any. However, for - URLs which use the - - scheme `http`, `https`, or no scheme, one can optionally - set up a type - - server that maps type URLs to message definitions as - follows: - - - * If no scheme is provided, `https` is assumed. - - * An HTTP GET on the URL must yield a - [google.protobuf.Type][] - value in binary format, or produce an error. - * Applications are allowed to cache lookup results based - on the - URL, or have them precompiled into a binary to avoid any - lookup. Therefore, binary compatibility needs to be preserved - on changes to types. (Use versioned type names to manage - breaking changes.) - - Note: this functionality is not currently available in - the official - - protobuf release, and it is not used for type URLs - beginning with - - type.googleapis.com. As of May 2023, there are no widely - used type server - - implementations and no plans to implement one. - - - Schemes other than `http`, `https` (or the empty scheme) - might be - - used with implementation specific semantics. - additionalProperties: {} - description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - - URL that describes the type of the serialized message. - - - Protobuf library provides support to pack/unpack Any values - in the form - - of utility functions or additional generated methods of the - Any type. - - - Example 1: Pack and unpack a message in C++. - - Foo foo = ...; - Any any; - any.PackFrom(foo); - ... - if (any.UnpackTo(&foo)) { - ... - } - - Example 2: Pack and unpack a message in Java. - - Foo foo = ...; - Any any = Any.pack(foo); - ... - if (any.is(Foo.class)) { - foo = any.unpack(Foo.class); - } - // or ... - if (any.isSameTypeAs(Foo.getDefaultInstance())) { - foo = any.unpack(Foo.getDefaultInstance()); - } - - Example 3: Pack and unpack a message in Python. - - foo = Foo(...) - any = Any() - any.Pack(foo) - ... - if any.Is(Foo.DESCRIPTOR): - any.Unpack(foo) - ... - - Example 4: Pack and unpack a message in Go - - foo := &pb.Foo{...} - any, err := anypb.New(foo) - if err != nil { - ... - } - ... - foo := &pb.Foo{} - if err := any.UnmarshalTo(foo); err != nil { - ... - } - - The pack methods provided by protobuf library will by - default use - - 'type.googleapis.com/full.type.name' as the type URL and the - unpack - - methods only use the fully qualified type name after the - last '/' - - in the type URL, for example "foo.bar.com/x/y.z" will yield - type - - name "y.z". - - - JSON - - ==== - - The JSON representation of an `Any` value uses the regular - - representation of the deserialized, embedded message, with - an - - additional field `@type` which contains the type URL. - Example: - - package google.profile; - message Person { - string first_name = 1; - string last_name = 2; - } - - { - "@type": "type.googleapis.com/google.profile.Person", - "firstName": , - "lastName": - } - - If the embedded message type is well-known and has a custom - JSON - - representation, that representation will be embedded adding - a field - - `value` which holds the custom JSON in addition to the - `@type` - - field. Example (for message [google.protobuf.Duration][]): - - { - "@type": "type.googleapis.com/google.protobuf.Duration", - "value": "1.212s" - } - parameters: - - name: body - in: body - required: true - schema: - type: object - properties: - client_state: - title: light client state - type: object - properties: - '@type': - type: string - description: >- - A URL/resource name that uniquely identifies the type of - the serialized - - protocol buffer message. This string must contain at least - - one "/" character. The last segment of the URL's path must - represent - - the fully qualified name of the type (as in - - `path/google.protobuf.Duration`). The name should be in a - canonical form - - (e.g., leading "." is not accepted). - - - In practice, teams usually precompile into the binary all - types that they - - expect it to use in the context of Any. However, for URLs - which use the - - scheme `http`, `https`, or no scheme, one can optionally - set up a type - - server that maps type URLs to message definitions as - follows: - - - * If no scheme is provided, `https` is assumed. - - * An HTTP GET on the URL must yield a - [google.protobuf.Type][] - value in binary format, or produce an error. - * Applications are allowed to cache lookup results based - on the - URL, or have them precompiled into a binary to avoid any - lookup. Therefore, binary compatibility needs to be preserved - on changes to types. (Use versioned type names to manage - breaking changes.) - - Note: this functionality is not currently available in the - official - - protobuf release, and it is not used for type URLs - beginning with - - type.googleapis.com. As of May 2023, there are no widely - used type server - - implementations and no plans to implement one. - - - Schemes other than `http`, `https` (or the empty scheme) - might be - - used with implementation specific semantics. - additionalProperties: {} - description: >- - `Any` contains an arbitrary serialized protocol buffer message - along with a - - URL that describes the type of the serialized message. - - - Protobuf library provides support to pack/unpack Any values in - the form - - of utility functions or additional generated methods of the - Any type. - - - Example 1: Pack and unpack a message in C++. - - Foo foo = ...; - Any any; - any.PackFrom(foo); - ... - if (any.UnpackTo(&foo)) { - ... - } - - Example 2: Pack and unpack a message in Java. - - Foo foo = ...; - Any any = Any.pack(foo); - ... - if (any.is(Foo.class)) { - foo = any.unpack(Foo.class); - } - // or ... - if (any.isSameTypeAs(Foo.getDefaultInstance())) { - foo = any.unpack(Foo.getDefaultInstance()); - } - - Example 3: Pack and unpack a message in Python. - - foo = Foo(...) - any = Any() - any.Pack(foo) - ... - if any.Is(Foo.DESCRIPTOR): - any.Unpack(foo) - ... - - Example 4: Pack and unpack a message in Go - - foo := &pb.Foo{...} - any, err := anypb.New(foo) - if err != nil { - ... - } - ... - foo := &pb.Foo{} - if err := any.UnmarshalTo(foo); err != nil { - ... - } - - The pack methods provided by protobuf library will by default - use - - 'type.googleapis.com/full.type.name' as the type URL and the - unpack - - methods only use the fully qualified type name after the last - '/' - - in the type URL, for example "foo.bar.com/x/y.z" will yield - type - - name "y.z". - - - JSON - - ==== - - The JSON representation of an `Any` value uses the regular - - representation of the deserialized, embedded message, with an - - additional field `@type` which contains the type URL. Example: - - package google.profile; - message Person { - string first_name = 1; - string last_name = 2; - } - - { - "@type": "type.googleapis.com/google.profile.Person", - "firstName": , - "lastName": - } - - If the embedded message type is well-known and has a custom - JSON - - representation, that representation will be embedded adding a - field - - `value` which holds the custom JSON in addition to the `@type` - - field. Example (for message [google.protobuf.Duration][]): - - { - "@type": "type.googleapis.com/google.protobuf.Duration", - "value": "1.212s" - } - consensus_state: - description: >- - consensus state associated with the client that corresponds to - a given - - height. - type: object - properties: - '@type': - type: string - description: >- - A URL/resource name that uniquely identifies the type of - the serialized - - protocol buffer message. This string must contain at least - - one "/" character. The last segment of the URL's path must - represent - - the fully qualified name of the type (as in - - `path/google.protobuf.Duration`). The name should be in a - canonical form - - (e.g., leading "." is not accepted). - - - In practice, teams usually precompile into the binary all - types that they - - expect it to use in the context of Any. However, for URLs - which use the - - scheme `http`, `https`, or no scheme, one can optionally - set up a type - - server that maps type URLs to message definitions as - follows: - - - * If no scheme is provided, `https` is assumed. - - * An HTTP GET on the URL must yield a - [google.protobuf.Type][] - value in binary format, or produce an error. - * Applications are allowed to cache lookup results based - on the - URL, or have them precompiled into a binary to avoid any - lookup. Therefore, binary compatibility needs to be preserved - on changes to types. (Use versioned type names to manage - breaking changes.) - - Note: this functionality is not currently available in the - official - - protobuf release, and it is not used for type URLs - beginning with - - type.googleapis.com. As of May 2023, there are no widely - used type server - - implementations and no plans to implement one. - - - Schemes other than `http`, `https` (or the empty scheme) - might be - - used with implementation specific semantics. - additionalProperties: {} - signer: - type: string - title: signer address - title: MsgCreateClient defines a message to create an IBC client - tags: - - Msg - /ibc.core.client.v1.Msg/IBCSoftwareUpgrade: - post: - summary: >- - IBCSoftwareUpgrade defines a rpc handler method for - MsgIBCSoftwareUpgrade. - operationId: IbcCoreClientV1Msg_IBCSoftwareUpgrade - responses: - '200': - description: A successful response. - schema: - type: object - description: >- - MsgIBCSoftwareUpgradeResponse defines the Msg/IBCSoftwareUpgrade - response type. - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - description: >- - A URL/resource name that uniquely identifies the type of - the serialized - - protocol buffer message. This string must contain at - least - - one "/" character. The last segment of the URL's path - must represent - - the fully qualified name of the type (as in - - `path/google.protobuf.Duration`). The name should be in - a canonical form - - (e.g., leading "." is not accepted). - - - In practice, teams usually precompile into the binary - all types that they - - expect it to use in the context of Any. However, for - URLs which use the - - scheme `http`, `https`, or no scheme, one can optionally - set up a type - - server that maps type URLs to message definitions as - follows: - - - * If no scheme is provided, `https` is assumed. - - * An HTTP GET on the URL must yield a - [google.protobuf.Type][] - value in binary format, or produce an error. - * Applications are allowed to cache lookup results based - on the - URL, or have them precompiled into a binary to avoid any - lookup. Therefore, binary compatibility needs to be preserved - on changes to types. (Use versioned type names to manage - breaking changes.) - - Note: this functionality is not currently available in - the official - - protobuf release, and it is not used for type URLs - beginning with - - type.googleapis.com. As of May 2023, there are no widely - used type server - - implementations and no plans to implement one. - - - Schemes other than `http`, `https` (or the empty scheme) - might be - - used with implementation specific semantics. - additionalProperties: {} - description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - - URL that describes the type of the serialized message. - - - Protobuf library provides support to pack/unpack Any values - in the form - - of utility functions or additional generated methods of the - Any type. - - - Example 1: Pack and unpack a message in C++. - - Foo foo = ...; - Any any; - any.PackFrom(foo); - ... - if (any.UnpackTo(&foo)) { - ... - } - - Example 2: Pack and unpack a message in Java. - - Foo foo = ...; - Any any = Any.pack(foo); - ... - if (any.is(Foo.class)) { - foo = any.unpack(Foo.class); - } - // or ... - if (any.isSameTypeAs(Foo.getDefaultInstance())) { - foo = any.unpack(Foo.getDefaultInstance()); - } - - Example 3: Pack and unpack a message in Python. - - foo = Foo(...) - any = Any() - any.Pack(foo) - ... - if any.Is(Foo.DESCRIPTOR): - any.Unpack(foo) - ... - - Example 4: Pack and unpack a message in Go - - foo := &pb.Foo{...} - any, err := anypb.New(foo) - if err != nil { - ... - } - ... - foo := &pb.Foo{} - if err := any.UnmarshalTo(foo); err != nil { - ... - } - - The pack methods provided by protobuf library will by - default use - - 'type.googleapis.com/full.type.name' as the type URL and the - unpack - - methods only use the fully qualified type name after the - last '/' - - in the type URL, for example "foo.bar.com/x/y.z" will yield - type - - name "y.z". - - - JSON - - ==== - - The JSON representation of an `Any` value uses the regular - - representation of the deserialized, embedded message, with - an - - additional field `@type` which contains the type URL. - Example: - - package google.profile; - message Person { - string first_name = 1; - string last_name = 2; - } - - { - "@type": "type.googleapis.com/google.profile.Person", - "firstName": , - "lastName": - } - - If the embedded message type is well-known and has a custom - JSON - - representation, that representation will be embedded adding - a field - - `value` which holds the custom JSON in addition to the - `@type` - - field. Example (for message [google.protobuf.Duration][]): - - { - "@type": "type.googleapis.com/google.protobuf.Duration", - "value": "1.212s" - } - parameters: - - name: body - in: body - required: true - schema: - type: object - properties: - plan: - type: object - properties: - name: - type: string - description: >- - Sets the name for the upgrade. This name will be used by - the upgraded - - version of the software to apply any special "on-upgrade" - commands during - - the first BeginBlock method after the upgrade is applied. - It is also used - - to detect whether a software version can handle a given - upgrade. If no - - upgrade handler with this name has been set in the - software, it will be - - assumed that the software is out-of-date when the upgrade - Time or Height is - - reached and the software will exit. - time: - type: string - format: date-time - description: >- - Deprecated: Time based upgrades have been deprecated. Time - based upgrade logic - - has been removed from the SDK. - - If this field is not empty, an error will be thrown. - height: - type: string - format: int64 - description: The height at which the upgrade must be performed. - info: - type: string - title: >- - Any application specific upgrade info to be included - on-chain - - such as a git commit that validators could automatically - upgrade to - upgraded_client_state: - description: >- - Deprecated: UpgradedClientState field has been deprecated. - IBC upgrade logic has been - - moved to the IBC module in the sub module 02-client. - - If this field is not empty, an error will be thrown. - type: object - properties: - '@type': - type: string - description: >- - A URL/resource name that uniquely identifies the type - of the serialized - - protocol buffer message. This string must contain at - least - - one "/" character. The last segment of the URL's path - must represent - - the fully qualified name of the type (as in - - `path/google.protobuf.Duration`). The name should be - in a canonical form - - (e.g., leading "." is not accepted). - - - In practice, teams usually precompile into the binary - all types that they - - expect it to use in the context of Any. However, for - URLs which use the - - scheme `http`, `https`, or no scheme, one can - optionally set up a type - - server that maps type URLs to message definitions as - follows: - - - * If no scheme is provided, `https` is assumed. - - * An HTTP GET on the URL must yield a - [google.protobuf.Type][] - value in binary format, or produce an error. - * Applications are allowed to cache lookup results - based on the - URL, or have them precompiled into a binary to avoid any - lookup. Therefore, binary compatibility needs to be preserved - on changes to types. (Use versioned type names to manage - breaking changes.) - - Note: this functionality is not currently available in - the official - - protobuf release, and it is not used for type URLs - beginning with - - type.googleapis.com. As of May 2023, there are no - widely used type server - - implementations and no plans to implement one. - - - Schemes other than `http`, `https` (or the empty - scheme) might be - - used with implementation specific semantics. - additionalProperties: {} - description: >- - Plan specifies information about a planned upgrade and when it - should occur. - upgraded_client_state: - description: >- - An UpgradedClientState must be provided to perform an IBC - breaking upgrade. - - This will make the chain commit to the correct upgraded (self) - client state - - before the upgrade occurs, so that connecting chains can - verify that the - - new upgraded client is valid by verifying a proof on the - previous version - - of the chain. This will allow IBC connections to persist - smoothly across - - planned chain upgrades. Correspondingly, the - UpgradedClientState field has been - - deprecated in the Cosmos SDK to allow for this logic to exist - solely in - - the 02-client module. - type: object - properties: - '@type': - type: string - description: >- - A URL/resource name that uniquely identifies the type of - the serialized - - protocol buffer message. This string must contain at least - - one "/" character. The last segment of the URL's path must - represent - - the fully qualified name of the type (as in - - `path/google.protobuf.Duration`). The name should be in a - canonical form - - (e.g., leading "." is not accepted). - - - In practice, teams usually precompile into the binary all - types that they - - expect it to use in the context of Any. However, for URLs - which use the - - scheme `http`, `https`, or no scheme, one can optionally - set up a type - - server that maps type URLs to message definitions as - follows: - - - * If no scheme is provided, `https` is assumed. - - * An HTTP GET on the URL must yield a - [google.protobuf.Type][] - value in binary format, or produce an error. - * Applications are allowed to cache lookup results based - on the - URL, or have them precompiled into a binary to avoid any - lookup. Therefore, binary compatibility needs to be preserved - on changes to types. (Use versioned type names to manage - breaking changes.) - - Note: this functionality is not currently available in the - official - - protobuf release, and it is not used for type URLs - beginning with - - type.googleapis.com. As of May 2023, there are no widely - used type server - - implementations and no plans to implement one. - - - Schemes other than `http`, `https` (or the empty scheme) - might be - - used with implementation specific semantics. - additionalProperties: {} - signer: - type: string - title: signer address - title: >- - MsgIBCSoftwareUpgrade defines the message used to schedule an - upgrade of an IBC client using a v1 governance proposal - tags: - - Msg - /ibc.core.client.v1.Msg/RecoverClient: - post: - summary: RecoverClient defines a rpc handler method for MsgRecoverClient. - operationId: IbcCoreClientV1Msg_RecoverClient - responses: - '200': - description: A successful response. - schema: - type: object - description: >- - MsgRecoverClientResponse defines the Msg/RecoverClient response - type. - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - description: >- - A URL/resource name that uniquely identifies the type of - the serialized - - protocol buffer message. This string must contain at - least - - one "/" character. The last segment of the URL's path - must represent - - the fully qualified name of the type (as in - - `path/google.protobuf.Duration`). The name should be in - a canonical form - - (e.g., leading "." is not accepted). - - - In practice, teams usually precompile into the binary - all types that they - - expect it to use in the context of Any. However, for - URLs which use the - - scheme `http`, `https`, or no scheme, one can optionally - set up a type - - server that maps type URLs to message definitions as - follows: - - - * If no scheme is provided, `https` is assumed. - - * An HTTP GET on the URL must yield a - [google.protobuf.Type][] - value in binary format, or produce an error. - * Applications are allowed to cache lookup results based - on the - URL, or have them precompiled into a binary to avoid any - lookup. Therefore, binary compatibility needs to be preserved - on changes to types. (Use versioned type names to manage - breaking changes.) - - Note: this functionality is not currently available in - the official - - protobuf release, and it is not used for type URLs - beginning with - - type.googleapis.com. As of May 2023, there are no widely - used type server - - implementations and no plans to implement one. - - - Schemes other than `http`, `https` (or the empty scheme) - might be - - used with implementation specific semantics. - additionalProperties: {} - description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - - URL that describes the type of the serialized message. - - - Protobuf library provides support to pack/unpack Any values - in the form - - of utility functions or additional generated methods of the - Any type. - - - Example 1: Pack and unpack a message in C++. - - Foo foo = ...; - Any any; - any.PackFrom(foo); - ... - if (any.UnpackTo(&foo)) { - ... - } - - Example 2: Pack and unpack a message in Java. - - Foo foo = ...; - Any any = Any.pack(foo); - ... - if (any.is(Foo.class)) { - foo = any.unpack(Foo.class); - } - // or ... - if (any.isSameTypeAs(Foo.getDefaultInstance())) { - foo = any.unpack(Foo.getDefaultInstance()); - } - - Example 3: Pack and unpack a message in Python. - - foo = Foo(...) - any = Any() - any.Pack(foo) - ... - if any.Is(Foo.DESCRIPTOR): - any.Unpack(foo) - ... - - Example 4: Pack and unpack a message in Go - - foo := &pb.Foo{...} - any, err := anypb.New(foo) - if err != nil { - ... - } - ... - foo := &pb.Foo{} - if err := any.UnmarshalTo(foo); err != nil { - ... - } - - The pack methods provided by protobuf library will by - default use - - 'type.googleapis.com/full.type.name' as the type URL and the - unpack - - methods only use the fully qualified type name after the - last '/' - - in the type URL, for example "foo.bar.com/x/y.z" will yield - type - - name "y.z". - - - JSON - - ==== - - The JSON representation of an `Any` value uses the regular - - representation of the deserialized, embedded message, with - an - - additional field `@type` which contains the type URL. - Example: - - package google.profile; - message Person { - string first_name = 1; - string last_name = 2; - } - - { - "@type": "type.googleapis.com/google.profile.Person", - "firstName": , - "lastName": - } - - If the embedded message type is well-known and has a custom - JSON - - representation, that representation will be embedded adding - a field - - `value` which holds the custom JSON in addition to the - `@type` - - field. Example (for message [google.protobuf.Duration][]): - - { - "@type": "type.googleapis.com/google.protobuf.Duration", - "value": "1.212s" - } - parameters: - - name: body - description: >- - MsgRecoverClient defines the message used to recover a frozen or - expired client. - in: body - required: true - schema: - type: object - properties: - subject_client_id: - type: string - title: >- - the client identifier for the client to be updated if the - proposal passes - substitute_client_id: - type: string - title: >- - the substitute client identifier for the client which will - replace the subject - - client - signer: - type: string - title: signer address - description: >- - MsgRecoverClient defines the message used to recover a frozen or - expired client. - tags: - - Msg - /ibc.core.client.v1.Msg/SubmitMisbehaviour: - post: - summary: >- - SubmitMisbehaviour defines a rpc handler method for - MsgSubmitMisbehaviour. - operationId: IbcCoreClientV1Msg_SubmitMisbehaviour - responses: - '200': - description: A successful response. - schema: - type: object - description: >- - MsgSubmitMisbehaviourResponse defines the Msg/SubmitMisbehaviour - response - - type. - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - description: >- - A URL/resource name that uniquely identifies the type of - the serialized - - protocol buffer message. This string must contain at - least - - one "/" character. The last segment of the URL's path - must represent - - the fully qualified name of the type (as in - - `path/google.protobuf.Duration`). The name should be in - a canonical form - - (e.g., leading "." is not accepted). - - - In practice, teams usually precompile into the binary - all types that they - - expect it to use in the context of Any. However, for - URLs which use the - - scheme `http`, `https`, or no scheme, one can optionally - set up a type - - server that maps type URLs to message definitions as - follows: - - - * If no scheme is provided, `https` is assumed. - - * An HTTP GET on the URL must yield a - [google.protobuf.Type][] - value in binary format, or produce an error. - * Applications are allowed to cache lookup results based - on the - URL, or have them precompiled into a binary to avoid any - lookup. Therefore, binary compatibility needs to be preserved - on changes to types. (Use versioned type names to manage - breaking changes.) - - Note: this functionality is not currently available in - the official - - protobuf release, and it is not used for type URLs - beginning with - - type.googleapis.com. As of May 2023, there are no widely - used type server - - implementations and no plans to implement one. - - - Schemes other than `http`, `https` (or the empty scheme) - might be - - used with implementation specific semantics. - additionalProperties: {} - description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - - URL that describes the type of the serialized message. - - - Protobuf library provides support to pack/unpack Any values - in the form - - of utility functions or additional generated methods of the - Any type. - - - Example 1: Pack and unpack a message in C++. - - Foo foo = ...; - Any any; - any.PackFrom(foo); - ... - if (any.UnpackTo(&foo)) { - ... - } - - Example 2: Pack and unpack a message in Java. - - Foo foo = ...; - Any any = Any.pack(foo); - ... - if (any.is(Foo.class)) { - foo = any.unpack(Foo.class); - } - // or ... - if (any.isSameTypeAs(Foo.getDefaultInstance())) { - foo = any.unpack(Foo.getDefaultInstance()); - } - - Example 3: Pack and unpack a message in Python. - - foo = Foo(...) - any = Any() - any.Pack(foo) - ... - if any.Is(Foo.DESCRIPTOR): - any.Unpack(foo) - ... - - Example 4: Pack and unpack a message in Go - - foo := &pb.Foo{...} - any, err := anypb.New(foo) - if err != nil { - ... - } - ... - foo := &pb.Foo{} - if err := any.UnmarshalTo(foo); err != nil { - ... - } - - The pack methods provided by protobuf library will by - default use - - 'type.googleapis.com/full.type.name' as the type URL and the - unpack - - methods only use the fully qualified type name after the - last '/' - - in the type URL, for example "foo.bar.com/x/y.z" will yield - type - - name "y.z". - - - JSON - - ==== - - The JSON representation of an `Any` value uses the regular - - representation of the deserialized, embedded message, with - an - - additional field `@type` which contains the type URL. - Example: - - package google.profile; - message Person { - string first_name = 1; - string last_name = 2; - } - - { - "@type": "type.googleapis.com/google.profile.Person", - "firstName": , - "lastName": - } - - If the embedded message type is well-known and has a custom - JSON - - representation, that representation will be embedded adding - a field - - `value` which holds the custom JSON in addition to the - `@type` - - field. Example (for message [google.protobuf.Duration][]): - - { - "@type": "type.googleapis.com/google.protobuf.Duration", - "value": "1.212s" - } - parameters: - - name: body - description: >- - MsgSubmitMisbehaviour defines an sdk.Msg type that submits Evidence - for - - light client misbehaviour. - - This message has been deprecated. Use MsgUpdateClient instead. - in: body - required: true - schema: - type: object - properties: - client_id: - type: string - title: client unique identifier - misbehaviour: - title: misbehaviour used for freezing the light client - type: object - properties: - '@type': - type: string - description: >- - A URL/resource name that uniquely identifies the type of - the serialized - - protocol buffer message. This string must contain at least - - one "/" character. The last segment of the URL's path must - represent - - the fully qualified name of the type (as in - - `path/google.protobuf.Duration`). The name should be in a - canonical form - - (e.g., leading "." is not accepted). - - - In practice, teams usually precompile into the binary all - types that they - - expect it to use in the context of Any. However, for URLs - which use the - - scheme `http`, `https`, or no scheme, one can optionally - set up a type - - server that maps type URLs to message definitions as - follows: - - - * If no scheme is provided, `https` is assumed. - - * An HTTP GET on the URL must yield a - [google.protobuf.Type][] - value in binary format, or produce an error. - * Applications are allowed to cache lookup results based - on the - URL, or have them precompiled into a binary to avoid any - lookup. Therefore, binary compatibility needs to be preserved - on changes to types. (Use versioned type names to manage - breaking changes.) - - Note: this functionality is not currently available in the - official - - protobuf release, and it is not used for type URLs - beginning with - - type.googleapis.com. As of May 2023, there are no widely - used type server - - implementations and no plans to implement one. - - - Schemes other than `http`, `https` (or the empty scheme) - might be - - used with implementation specific semantics. - additionalProperties: {} - description: >- - `Any` contains an arbitrary serialized protocol buffer message - along with a - - URL that describes the type of the serialized message. - - - Protobuf library provides support to pack/unpack Any values in - the form - - of utility functions or additional generated methods of the - Any type. - - - Example 1: Pack and unpack a message in C++. - - Foo foo = ...; - Any any; - any.PackFrom(foo); - ... - if (any.UnpackTo(&foo)) { - ... - } - - Example 2: Pack and unpack a message in Java. - - Foo foo = ...; - Any any = Any.pack(foo); - ... - if (any.is(Foo.class)) { - foo = any.unpack(Foo.class); - } - // or ... - if (any.isSameTypeAs(Foo.getDefaultInstance())) { - foo = any.unpack(Foo.getDefaultInstance()); - } - - Example 3: Pack and unpack a message in Python. - - foo = Foo(...) - any = Any() - any.Pack(foo) - ... - if any.Is(Foo.DESCRIPTOR): - any.Unpack(foo) - ... - - Example 4: Pack and unpack a message in Go - - foo := &pb.Foo{...} - any, err := anypb.New(foo) - if err != nil { - ... - } - ... - foo := &pb.Foo{} - if err := any.UnmarshalTo(foo); err != nil { - ... - } - - The pack methods provided by protobuf library will by default - use - - 'type.googleapis.com/full.type.name' as the type URL and the - unpack - - methods only use the fully qualified type name after the last - '/' - - in the type URL, for example "foo.bar.com/x/y.z" will yield - type - - name "y.z". - - - JSON - - ==== - - The JSON representation of an `Any` value uses the regular - - representation of the deserialized, embedded message, with an - - additional field `@type` which contains the type URL. Example: - - package google.profile; - message Person { - string first_name = 1; - string last_name = 2; - } - - { - "@type": "type.googleapis.com/google.profile.Person", - "firstName": , - "lastName": - } - - If the embedded message type is well-known and has a custom - JSON - - representation, that representation will be embedded adding a - field - - `value` which holds the custom JSON in addition to the `@type` - - field. Example (for message [google.protobuf.Duration][]): - - { - "@type": "type.googleapis.com/google.protobuf.Duration", - "value": "1.212s" - } - signer: - type: string - title: signer address - description: >- - MsgSubmitMisbehaviour defines an sdk.Msg type that submits - Evidence for - - light client misbehaviour. - - This message has been deprecated. Use MsgUpdateClient instead. - tags: - - Msg - /ibc.core.client.v1.Msg/UpdateClient: - post: - summary: UpdateClient defines a rpc handler method for MsgUpdateClient. - operationId: IbcCoreClientV1Msg_UpdateClient - responses: - '200': - description: A successful response. - schema: - type: object - description: >- - MsgUpdateClientResponse defines the Msg/UpdateClient response - type. - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - description: >- - A URL/resource name that uniquely identifies the type of - the serialized - - protocol buffer message. This string must contain at - least - - one "/" character. The last segment of the URL's path - must represent - - the fully qualified name of the type (as in - - `path/google.protobuf.Duration`). The name should be in - a canonical form - - (e.g., leading "." is not accepted). - - - In practice, teams usually precompile into the binary - all types that they - - expect it to use in the context of Any. However, for - URLs which use the - - scheme `http`, `https`, or no scheme, one can optionally - set up a type - - server that maps type URLs to message definitions as - follows: - - - * If no scheme is provided, `https` is assumed. - - * An HTTP GET on the URL must yield a - [google.protobuf.Type][] - value in binary format, or produce an error. - * Applications are allowed to cache lookup results based - on the - URL, or have them precompiled into a binary to avoid any - lookup. Therefore, binary compatibility needs to be preserved - on changes to types. (Use versioned type names to manage - breaking changes.) - - Note: this functionality is not currently available in - the official - - protobuf release, and it is not used for type URLs - beginning with - - type.googleapis.com. As of May 2023, there are no widely - used type server - - implementations and no plans to implement one. - - - Schemes other than `http`, `https` (or the empty scheme) - might be - - used with implementation specific semantics. - additionalProperties: {} - description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - - URL that describes the type of the serialized message. - - - Protobuf library provides support to pack/unpack Any values - in the form - - of utility functions or additional generated methods of the - Any type. - - - Example 1: Pack and unpack a message in C++. - - Foo foo = ...; - Any any; - any.PackFrom(foo); - ... - if (any.UnpackTo(&foo)) { - ... - } - - Example 2: Pack and unpack a message in Java. - - Foo foo = ...; - Any any = Any.pack(foo); - ... - if (any.is(Foo.class)) { - foo = any.unpack(Foo.class); - } - // or ... - if (any.isSameTypeAs(Foo.getDefaultInstance())) { - foo = any.unpack(Foo.getDefaultInstance()); - } - - Example 3: Pack and unpack a message in Python. - - foo = Foo(...) - any = Any() - any.Pack(foo) - ... - if any.Is(Foo.DESCRIPTOR): - any.Unpack(foo) - ... - - Example 4: Pack and unpack a message in Go - - foo := &pb.Foo{...} - any, err := anypb.New(foo) - if err != nil { - ... - } - ... - foo := &pb.Foo{} - if err := any.UnmarshalTo(foo); err != nil { - ... - } - - The pack methods provided by protobuf library will by - default use - - 'type.googleapis.com/full.type.name' as the type URL and the - unpack - - methods only use the fully qualified type name after the - last '/' - - in the type URL, for example "foo.bar.com/x/y.z" will yield - type - - name "y.z". - - - JSON - - ==== - - The JSON representation of an `Any` value uses the regular - - representation of the deserialized, embedded message, with - an - - additional field `@type` which contains the type URL. - Example: - - package google.profile; - message Person { - string first_name = 1; - string last_name = 2; - } - - { - "@type": "type.googleapis.com/google.profile.Person", - "firstName": , - "lastName": - } - - If the embedded message type is well-known and has a custom - JSON - - representation, that representation will be embedded adding - a field - - `value` which holds the custom JSON in addition to the - `@type` - - field. Example (for message [google.protobuf.Duration][]): - - { - "@type": "type.googleapis.com/google.protobuf.Duration", - "value": "1.212s" - } - parameters: - - name: body - description: >- - MsgUpdateClient defines an sdk.Msg to update a IBC client state - using - - the given client message. - in: body - required: true - schema: - type: object - properties: - client_id: - type: string - title: client unique identifier - client_message: - title: client message to update the light client - type: object - properties: - '@type': - type: string - description: >- - A URL/resource name that uniquely identifies the type of - the serialized - - protocol buffer message. This string must contain at least - - one "/" character. The last segment of the URL's path must - represent - - the fully qualified name of the type (as in - - `path/google.protobuf.Duration`). The name should be in a - canonical form - - (e.g., leading "." is not accepted). - - - In practice, teams usually precompile into the binary all - types that they - - expect it to use in the context of Any. However, for URLs - which use the - - scheme `http`, `https`, or no scheme, one can optionally - set up a type - - server that maps type URLs to message definitions as - follows: - - - * If no scheme is provided, `https` is assumed. - - * An HTTP GET on the URL must yield a - [google.protobuf.Type][] - value in binary format, or produce an error. - * Applications are allowed to cache lookup results based - on the - URL, or have them precompiled into a binary to avoid any - lookup. Therefore, binary compatibility needs to be preserved - on changes to types. (Use versioned type names to manage - breaking changes.) - - Note: this functionality is not currently available in the - official - - protobuf release, and it is not used for type URLs - beginning with - - type.googleapis.com. As of May 2023, there are no widely - used type server - - implementations and no plans to implement one. - - - Schemes other than `http`, `https` (or the empty scheme) - might be - - used with implementation specific semantics. - additionalProperties: {} - description: >- - `Any` contains an arbitrary serialized protocol buffer message - along with a - - URL that describes the type of the serialized message. - - - Protobuf library provides support to pack/unpack Any values in - the form - - of utility functions or additional generated methods of the - Any type. - - - Example 1: Pack and unpack a message in C++. - - Foo foo = ...; - Any any; - any.PackFrom(foo); - ... - if (any.UnpackTo(&foo)) { - ... - } - - Example 2: Pack and unpack a message in Java. - - Foo foo = ...; - Any any = Any.pack(foo); - ... - if (any.is(Foo.class)) { - foo = any.unpack(Foo.class); - } - // or ... - if (any.isSameTypeAs(Foo.getDefaultInstance())) { - foo = any.unpack(Foo.getDefaultInstance()); - } - - Example 3: Pack and unpack a message in Python. - - foo = Foo(...) - any = Any() - any.Pack(foo) - ... - if any.Is(Foo.DESCRIPTOR): - any.Unpack(foo) - ... - - Example 4: Pack and unpack a message in Go - - foo := &pb.Foo{...} - any, err := anypb.New(foo) - if err != nil { - ... - } - ... - foo := &pb.Foo{} - if err := any.UnmarshalTo(foo); err != nil { - ... - } - - The pack methods provided by protobuf library will by default - use - - 'type.googleapis.com/full.type.name' as the type URL and the - unpack - - methods only use the fully qualified type name after the last - '/' - - in the type URL, for example "foo.bar.com/x/y.z" will yield - type - - name "y.z". - - - JSON - - ==== - - The JSON representation of an `Any` value uses the regular - - representation of the deserialized, embedded message, with an - - additional field `@type` which contains the type URL. Example: - - package google.profile; - message Person { - string first_name = 1; - string last_name = 2; - } - - { - "@type": "type.googleapis.com/google.profile.Person", - "firstName": , - "lastName": - } - - If the embedded message type is well-known and has a custom - JSON - - representation, that representation will be embedded adding a - field - - `value` which holds the custom JSON in addition to the `@type` - - field. Example (for message [google.protobuf.Duration][]): - - { - "@type": "type.googleapis.com/google.protobuf.Duration", - "value": "1.212s" - } - signer: - type: string - title: signer address - description: >- - MsgUpdateClient defines an sdk.Msg to update a IBC client state - using - - the given client message. - tags: - - Msg - /ibc.core.client.v1.Msg/UpdateClientParams: - post: - summary: UpdateClientParams defines a rpc handler method for MsgUpdateParams. - operationId: IbcCoreClientV1Msg_UpdateClientParams - responses: - '200': - description: A successful response. - schema: - type: object - description: MsgUpdateParamsResponse defines the MsgUpdateParams response type. - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - description: >- - A URL/resource name that uniquely identifies the type of - the serialized - - protocol buffer message. This string must contain at - least - - one "/" character. The last segment of the URL's path - must represent - - the fully qualified name of the type (as in - - `path/google.protobuf.Duration`). The name should be in - a canonical form - - (e.g., leading "." is not accepted). - - - In practice, teams usually precompile into the binary - all types that they - - expect it to use in the context of Any. However, for - URLs which use the - - scheme `http`, `https`, or no scheme, one can optionally - set up a type - - server that maps type URLs to message definitions as - follows: - - - * If no scheme is provided, `https` is assumed. - - * An HTTP GET on the URL must yield a - [google.protobuf.Type][] - value in binary format, or produce an error. - * Applications are allowed to cache lookup results based - on the - URL, or have them precompiled into a binary to avoid any - lookup. Therefore, binary compatibility needs to be preserved - on changes to types. (Use versioned type names to manage - breaking changes.) - - Note: this functionality is not currently available in - the official - - protobuf release, and it is not used for type URLs - beginning with - - type.googleapis.com. As of May 2023, there are no widely - used type server - - implementations and no plans to implement one. - - - Schemes other than `http`, `https` (or the empty scheme) - might be - - used with implementation specific semantics. - additionalProperties: {} - description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - - URL that describes the type of the serialized message. - - - Protobuf library provides support to pack/unpack Any values - in the form - - of utility functions or additional generated methods of the - Any type. - - - Example 1: Pack and unpack a message in C++. - - Foo foo = ...; - Any any; - any.PackFrom(foo); - ... - if (any.UnpackTo(&foo)) { - ... - } - - Example 2: Pack and unpack a message in Java. - - Foo foo = ...; - Any any = Any.pack(foo); - ... - if (any.is(Foo.class)) { - foo = any.unpack(Foo.class); - } - // or ... - if (any.isSameTypeAs(Foo.getDefaultInstance())) { - foo = any.unpack(Foo.getDefaultInstance()); - } - - Example 3: Pack and unpack a message in Python. - - foo = Foo(...) - any = Any() - any.Pack(foo) - ... - if any.Is(Foo.DESCRIPTOR): - any.Unpack(foo) - ... - - Example 4: Pack and unpack a message in Go - - foo := &pb.Foo{...} - any, err := anypb.New(foo) - if err != nil { - ... - } - ... - foo := &pb.Foo{} - if err := any.UnmarshalTo(foo); err != nil { - ... - } - - The pack methods provided by protobuf library will by - default use - - 'type.googleapis.com/full.type.name' as the type URL and the - unpack - - methods only use the fully qualified type name after the - last '/' - - in the type URL, for example "foo.bar.com/x/y.z" will yield - type - - name "y.z". - - - JSON - - ==== - - The JSON representation of an `Any` value uses the regular - - representation of the deserialized, embedded message, with - an - - additional field `@type` which contains the type URL. - Example: - - package google.profile; - message Person { - string first_name = 1; - string last_name = 2; - } - - { - "@type": "type.googleapis.com/google.profile.Person", - "firstName": , - "lastName": - } - - If the embedded message type is well-known and has a custom - JSON - - representation, that representation will be embedded adding - a field - - `value` which holds the custom JSON in addition to the - `@type` - - field. Example (for message [google.protobuf.Duration][]): - - { - "@type": "type.googleapis.com/google.protobuf.Duration", - "value": "1.212s" - } - parameters: - - name: body - description: >- - MsgUpdateParams defines the sdk.Msg type to update the client - parameters. - in: body - required: true - schema: - type: object - properties: - signer: - type: string - title: signer address - params: - description: |- - params defines the client parameters to update. - - NOTE: All parameters must be supplied. - type: object - properties: - allowed_clients: - type: array - items: - type: string - description: >- - allowed_clients defines the list of allowed client state - types which can be created - - and interacted with. If a client type is removed from the - allowed clients list, usage - - of this client will be disabled until it is added again to - the list. - description: >- - MsgUpdateParams defines the sdk.Msg type to update the client - parameters. - tags: - - Msg - /ibc.core.client.v1.Msg/UpgradeClient: - post: - summary: UpgradeClient defines a rpc handler method for MsgUpgradeClient. - operationId: IbcCoreClientV1Msg_UpgradeClient - responses: - '200': - description: A successful response. - schema: - type: object - description: >- - MsgUpgradeClientResponse defines the Msg/UpgradeClient response - type. - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - description: >- - A URL/resource name that uniquely identifies the type of - the serialized - - protocol buffer message. This string must contain at - least - - one "/" character. The last segment of the URL's path - must represent - - the fully qualified name of the type (as in - - `path/google.protobuf.Duration`). The name should be in - a canonical form - - (e.g., leading "." is not accepted). - - - In practice, teams usually precompile into the binary - all types that they - - expect it to use in the context of Any. However, for - URLs which use the - - scheme `http`, `https`, or no scheme, one can optionally - set up a type - - server that maps type URLs to message definitions as - follows: - - - * If no scheme is provided, `https` is assumed. - - * An HTTP GET on the URL must yield a - [google.protobuf.Type][] - value in binary format, or produce an error. - * Applications are allowed to cache lookup results based - on the - URL, or have them precompiled into a binary to avoid any - lookup. Therefore, binary compatibility needs to be preserved - on changes to types. (Use versioned type names to manage - breaking changes.) - - Note: this functionality is not currently available in - the official - - protobuf release, and it is not used for type URLs - beginning with - - type.googleapis.com. As of May 2023, there are no widely - used type server - - implementations and no plans to implement one. - - - Schemes other than `http`, `https` (or the empty scheme) - might be - - used with implementation specific semantics. - additionalProperties: {} - description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - - URL that describes the type of the serialized message. - - - Protobuf library provides support to pack/unpack Any values - in the form - - of utility functions or additional generated methods of the - Any type. - - - Example 1: Pack and unpack a message in C++. - - Foo foo = ...; - Any any; - any.PackFrom(foo); - ... - if (any.UnpackTo(&foo)) { - ... - } - - Example 2: Pack and unpack a message in Java. - - Foo foo = ...; - Any any = Any.pack(foo); - ... - if (any.is(Foo.class)) { - foo = any.unpack(Foo.class); - } - // or ... - if (any.isSameTypeAs(Foo.getDefaultInstance())) { - foo = any.unpack(Foo.getDefaultInstance()); - } - - Example 3: Pack and unpack a message in Python. - - foo = Foo(...) - any = Any() - any.Pack(foo) - ... - if any.Is(Foo.DESCRIPTOR): - any.Unpack(foo) - ... - - Example 4: Pack and unpack a message in Go - - foo := &pb.Foo{...} - any, err := anypb.New(foo) - if err != nil { - ... - } - ... - foo := &pb.Foo{} - if err := any.UnmarshalTo(foo); err != nil { - ... - } - - The pack methods provided by protobuf library will by - default use - - 'type.googleapis.com/full.type.name' as the type URL and the - unpack - - methods only use the fully qualified type name after the - last '/' - - in the type URL, for example "foo.bar.com/x/y.z" will yield - type - - name "y.z". - - - JSON - - ==== - - The JSON representation of an `Any` value uses the regular - - representation of the deserialized, embedded message, with - an - - additional field `@type` which contains the type URL. - Example: - - package google.profile; - message Person { - string first_name = 1; - string last_name = 2; - } - - { - "@type": "type.googleapis.com/google.profile.Person", - "firstName": , - "lastName": - } - - If the embedded message type is well-known and has a custom - JSON - - representation, that representation will be embedded adding - a field - - `value` which holds the custom JSON in addition to the - `@type` - - field. Example (for message [google.protobuf.Duration][]): - - { - "@type": "type.googleapis.com/google.protobuf.Duration", - "value": "1.212s" - } - parameters: - - name: body - in: body - required: true - schema: - type: object - properties: - client_id: - type: string - title: client unique identifier - client_state: - title: upgraded client state - type: object - properties: - '@type': - type: string - description: >- - A URL/resource name that uniquely identifies the type of - the serialized - - protocol buffer message. This string must contain at least - - one "/" character. The last segment of the URL's path must - represent - - the fully qualified name of the type (as in - - `path/google.protobuf.Duration`). The name should be in a - canonical form - - (e.g., leading "." is not accepted). - - - In practice, teams usually precompile into the binary all - types that they - - expect it to use in the context of Any. However, for URLs - which use the - - scheme `http`, `https`, or no scheme, one can optionally - set up a type - - server that maps type URLs to message definitions as - follows: - - - * If no scheme is provided, `https` is assumed. - - * An HTTP GET on the URL must yield a - [google.protobuf.Type][] - value in binary format, or produce an error. - * Applications are allowed to cache lookup results based - on the - URL, or have them precompiled into a binary to avoid any - lookup. Therefore, binary compatibility needs to be preserved - on changes to types. (Use versioned type names to manage - breaking changes.) - - Note: this functionality is not currently available in the - official - - protobuf release, and it is not used for type URLs - beginning with - - type.googleapis.com. As of May 2023, there are no widely - used type server - - implementations and no plans to implement one. - - - Schemes other than `http`, `https` (or the empty scheme) - might be - - used with implementation specific semantics. - additionalProperties: {} - description: >- - `Any` contains an arbitrary serialized protocol buffer message - along with a - - URL that describes the type of the serialized message. - - - Protobuf library provides support to pack/unpack Any values in - the form - - of utility functions or additional generated methods of the - Any type. - - - Example 1: Pack and unpack a message in C++. - - Foo foo = ...; - Any any; - any.PackFrom(foo); - ... - if (any.UnpackTo(&foo)) { - ... - } - - Example 2: Pack and unpack a message in Java. - - Foo foo = ...; - Any any = Any.pack(foo); - ... - if (any.is(Foo.class)) { - foo = any.unpack(Foo.class); - } - // or ... - if (any.isSameTypeAs(Foo.getDefaultInstance())) { - foo = any.unpack(Foo.getDefaultInstance()); - } - - Example 3: Pack and unpack a message in Python. - - foo = Foo(...) - any = Any() - any.Pack(foo) - ... - if any.Is(Foo.DESCRIPTOR): - any.Unpack(foo) - ... - - Example 4: Pack and unpack a message in Go - - foo := &pb.Foo{...} - any, err := anypb.New(foo) - if err != nil { - ... - } - ... - foo := &pb.Foo{} - if err := any.UnmarshalTo(foo); err != nil { - ... - } - - The pack methods provided by protobuf library will by default - use - - 'type.googleapis.com/full.type.name' as the type URL and the - unpack - - methods only use the fully qualified type name after the last - '/' - - in the type URL, for example "foo.bar.com/x/y.z" will yield - type - - name "y.z". - - - JSON - - ==== - - The JSON representation of an `Any` value uses the regular - - representation of the deserialized, embedded message, with an - - additional field `@type` which contains the type URL. Example: - - package google.profile; - message Person { - string first_name = 1; - string last_name = 2; - } - - { - "@type": "type.googleapis.com/google.profile.Person", - "firstName": , - "lastName": - } - - If the embedded message type is well-known and has a custom - JSON - - representation, that representation will be embedded adding a - field - - `value` which holds the custom JSON in addition to the `@type` - - field. Example (for message [google.protobuf.Duration][]): - - { - "@type": "type.googleapis.com/google.protobuf.Duration", - "value": "1.212s" - } - consensus_state: - title: >- - upgraded consensus state, only contains enough information to - serve as a - - basis of trust in update logic - type: object - properties: - '@type': - type: string - description: >- - A URL/resource name that uniquely identifies the type of - the serialized - - protocol buffer message. This string must contain at least - - one "/" character. The last segment of the URL's path must - represent - - the fully qualified name of the type (as in - - `path/google.protobuf.Duration`). The name should be in a - canonical form - - (e.g., leading "." is not accepted). - - - In practice, teams usually precompile into the binary all - types that they - - expect it to use in the context of Any. However, for URLs - which use the - - scheme `http`, `https`, or no scheme, one can optionally - set up a type - - server that maps type URLs to message definitions as - follows: - - - * If no scheme is provided, `https` is assumed. - - * An HTTP GET on the URL must yield a - [google.protobuf.Type][] - value in binary format, or produce an error. - * Applications are allowed to cache lookup results based - on the - URL, or have them precompiled into a binary to avoid any - lookup. Therefore, binary compatibility needs to be preserved - on changes to types. (Use versioned type names to manage - breaking changes.) - - Note: this functionality is not currently available in the - official - - protobuf release, and it is not used for type URLs - beginning with - - type.googleapis.com. As of May 2023, there are no widely - used type server - - implementations and no plans to implement one. - - - Schemes other than `http`, `https` (or the empty scheme) - might be - - used with implementation specific semantics. - additionalProperties: {} - description: >- - `Any` contains an arbitrary serialized protocol buffer message - along with a - - URL that describes the type of the serialized message. - - - Protobuf library provides support to pack/unpack Any values in - the form - - of utility functions or additional generated methods of the - Any type. - - - Example 1: Pack and unpack a message in C++. - - Foo foo = ...; - Any any; - any.PackFrom(foo); - ... - if (any.UnpackTo(&foo)) { - ... - } - - Example 2: Pack and unpack a message in Java. - - Foo foo = ...; - Any any = Any.pack(foo); - ... - if (any.is(Foo.class)) { - foo = any.unpack(Foo.class); - } - // or ... - if (any.isSameTypeAs(Foo.getDefaultInstance())) { - foo = any.unpack(Foo.getDefaultInstance()); - } - - Example 3: Pack and unpack a message in Python. - - foo = Foo(...) - any = Any() - any.Pack(foo) - ... - if any.Is(Foo.DESCRIPTOR): - any.Unpack(foo) - ... - - Example 4: Pack and unpack a message in Go - - foo := &pb.Foo{...} - any, err := anypb.New(foo) - if err != nil { - ... - } - ... - foo := &pb.Foo{} - if err := any.UnmarshalTo(foo); err != nil { - ... - } - - The pack methods provided by protobuf library will by default - use - - 'type.googleapis.com/full.type.name' as the type URL and the - unpack - - methods only use the fully qualified type name after the last - '/' - - in the type URL, for example "foo.bar.com/x/y.z" will yield - type - - name "y.z". - - - JSON - - ==== - - The JSON representation of an `Any` value uses the regular - - representation of the deserialized, embedded message, with an - - additional field `@type` which contains the type URL. Example: - - package google.profile; - message Person { - string first_name = 1; - string last_name = 2; - } - - { - "@type": "type.googleapis.com/google.profile.Person", - "firstName": , - "lastName": - } - - If the embedded message type is well-known and has a custom - JSON - - representation, that representation will be embedded adding a - field - - `value` which holds the custom JSON in addition to the `@type` - - field. Example (for message [google.protobuf.Duration][]): - - { - "@type": "type.googleapis.com/google.protobuf.Duration", - "value": "1.212s" - } - proof_upgrade_client: - type: string - format: byte - title: proof that old chain committed to new client - proof_upgrade_consensus_state: - type: string - format: byte - title: proof that old chain committed to new consensus state - signer: - type: string - title: signer address - title: >- - MsgUpgradeClient defines an sdk.Msg to upgrade an IBC client to a - new client - - state - tags: - - Msg - /ibc.core.connection.v1.Msg/ConnectionOpenAck: - post: - summary: ConnectionOpenAck defines a rpc handler method for MsgConnectionOpenAck. - operationId: IbcCoreConnectionV1Msg_ConnectionOpenAck - responses: - '200': - description: A successful response. - schema: - type: object - description: >- - MsgConnectionOpenAckResponse defines the Msg/ConnectionOpenAck - response type. - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - description: >- - A URL/resource name that uniquely identifies the type of - the serialized - - protocol buffer message. This string must contain at - least - - one "/" character. The last segment of the URL's path - must represent - - the fully qualified name of the type (as in - - `path/google.protobuf.Duration`). The name should be in - a canonical form - - (e.g., leading "." is not accepted). - - - In practice, teams usually precompile into the binary - all types that they - - expect it to use in the context of Any. However, for - URLs which use the - - scheme `http`, `https`, or no scheme, one can optionally - set up a type - - server that maps type URLs to message definitions as - follows: - - - * If no scheme is provided, `https` is assumed. - - * An HTTP GET on the URL must yield a - [google.protobuf.Type][] - value in binary format, or produce an error. - * Applications are allowed to cache lookup results based - on the - URL, or have them precompiled into a binary to avoid any - lookup. Therefore, binary compatibility needs to be preserved - on changes to types. (Use versioned type names to manage - breaking changes.) - - Note: this functionality is not currently available in - the official - - protobuf release, and it is not used for type URLs - beginning with - - type.googleapis.com. As of May 2023, there are no widely - used type server - - implementations and no plans to implement one. - - - Schemes other than `http`, `https` (or the empty scheme) - might be - - used with implementation specific semantics. - additionalProperties: {} - description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - - URL that describes the type of the serialized message. - - - Protobuf library provides support to pack/unpack Any values - in the form - - of utility functions or additional generated methods of the - Any type. - - - Example 1: Pack and unpack a message in C++. - - Foo foo = ...; - Any any; - any.PackFrom(foo); - ... - if (any.UnpackTo(&foo)) { - ... - } - - Example 2: Pack and unpack a message in Java. - - Foo foo = ...; - Any any = Any.pack(foo); - ... - if (any.is(Foo.class)) { - foo = any.unpack(Foo.class); - } - // or ... - if (any.isSameTypeAs(Foo.getDefaultInstance())) { - foo = any.unpack(Foo.getDefaultInstance()); - } - - Example 3: Pack and unpack a message in Python. - - foo = Foo(...) - any = Any() - any.Pack(foo) - ... - if any.Is(Foo.DESCRIPTOR): - any.Unpack(foo) - ... - - Example 4: Pack and unpack a message in Go - - foo := &pb.Foo{...} - any, err := anypb.New(foo) - if err != nil { - ... - } - ... - foo := &pb.Foo{} - if err := any.UnmarshalTo(foo); err != nil { - ... - } - - The pack methods provided by protobuf library will by - default use - - 'type.googleapis.com/full.type.name' as the type URL and the - unpack - - methods only use the fully qualified type name after the - last '/' - - in the type URL, for example "foo.bar.com/x/y.z" will yield - type - - name "y.z". - - - JSON - - ==== - - The JSON representation of an `Any` value uses the regular - - representation of the deserialized, embedded message, with - an - - additional field `@type` which contains the type URL. - Example: - - package google.profile; - message Person { - string first_name = 1; - string last_name = 2; - } - - { - "@type": "type.googleapis.com/google.profile.Person", - "firstName": , - "lastName": - } - - If the embedded message type is well-known and has a custom - JSON - - representation, that representation will be embedded adding - a field - - `value` which holds the custom JSON in addition to the - `@type` - - field. Example (for message [google.protobuf.Duration][]): - - { - "@type": "type.googleapis.com/google.protobuf.Duration", - "value": "1.212s" - } - parameters: - - name: body - description: |- - MsgConnectionOpenAck defines a msg sent by a Relayer to Chain A to - acknowledge the change of connection state to TRYOPEN on Chain B. - in: body - required: true - schema: - type: object - properties: - connection_id: - type: string - counterparty_connection_id: - type: string - version: - type: object - properties: - identifier: - type: string - title: unique version identifier - features: - type: array - items: - type: string - title: list of features compatible with the specified identifier - description: >- - Version defines the versioning scheme used to negotiate the - IBC verison in - - the connection handshake. - client_state: - type: object - properties: - '@type': - type: string - description: >- - A URL/resource name that uniquely identifies the type of - the serialized - - protocol buffer message. This string must contain at least - - one "/" character. The last segment of the URL's path must - represent - - the fully qualified name of the type (as in - - `path/google.protobuf.Duration`). The name should be in a - canonical form - - (e.g., leading "." is not accepted). - - - In practice, teams usually precompile into the binary all - types that they - - expect it to use in the context of Any. However, for URLs - which use the - - scheme `http`, `https`, or no scheme, one can optionally - set up a type - - server that maps type URLs to message definitions as - follows: - - - * If no scheme is provided, `https` is assumed. - - * An HTTP GET on the URL must yield a - [google.protobuf.Type][] - value in binary format, or produce an error. - * Applications are allowed to cache lookup results based - on the - URL, or have them precompiled into a binary to avoid any - lookup. Therefore, binary compatibility needs to be preserved - on changes to types. (Use versioned type names to manage - breaking changes.) - - Note: this functionality is not currently available in the - official - - protobuf release, and it is not used for type URLs - beginning with - - type.googleapis.com. As of May 2023, there are no widely - used type server - - implementations and no plans to implement one. - - - Schemes other than `http`, `https` (or the empty scheme) - might be - - used with implementation specific semantics. - additionalProperties: {} - description: >- - `Any` contains an arbitrary serialized protocol buffer message - along with a - - URL that describes the type of the serialized message. - - - Protobuf library provides support to pack/unpack Any values in - the form - - of utility functions or additional generated methods of the - Any type. - - - Example 1: Pack and unpack a message in C++. - - Foo foo = ...; - Any any; - any.PackFrom(foo); - ... - if (any.UnpackTo(&foo)) { - ... - } - - Example 2: Pack and unpack a message in Java. - - Foo foo = ...; - Any any = Any.pack(foo); - ... - if (any.is(Foo.class)) { - foo = any.unpack(Foo.class); - } - // or ... - if (any.isSameTypeAs(Foo.getDefaultInstance())) { - foo = any.unpack(Foo.getDefaultInstance()); - } - - Example 3: Pack and unpack a message in Python. - - foo = Foo(...) - any = Any() - any.Pack(foo) - ... - if any.Is(Foo.DESCRIPTOR): - any.Unpack(foo) - ... - - Example 4: Pack and unpack a message in Go - - foo := &pb.Foo{...} - any, err := anypb.New(foo) - if err != nil { - ... - } - ... - foo := &pb.Foo{} - if err := any.UnmarshalTo(foo); err != nil { - ... - } - - The pack methods provided by protobuf library will by default - use - - 'type.googleapis.com/full.type.name' as the type URL and the - unpack - - methods only use the fully qualified type name after the last - '/' - - in the type URL, for example "foo.bar.com/x/y.z" will yield - type - - name "y.z". - - - JSON - - ==== - - The JSON representation of an `Any` value uses the regular - - representation of the deserialized, embedded message, with an - - additional field `@type` which contains the type URL. Example: - - package google.profile; - message Person { - string first_name = 1; - string last_name = 2; - } - - { - "@type": "type.googleapis.com/google.profile.Person", - "firstName": , - "lastName": - } - - If the embedded message type is well-known and has a custom - JSON - - representation, that representation will be embedded adding a - field - - `value` which holds the custom JSON in addition to the `@type` - - field. Example (for message [google.protobuf.Duration][]): - - { - "@type": "type.googleapis.com/google.protobuf.Duration", - "value": "1.212s" - } - proof_height: - type: object - properties: - revision_number: - type: string - format: uint64 - title: the revision that the client is currently on - revision_height: - type: string - format: uint64 - title: the height within the given revision - description: >- - Normally the RevisionHeight is incremented at each height - while keeping - - RevisionNumber the same. However some consensus algorithms may - choose to - - reset the height in certain conditions e.g. hard forks, - state-machine - - breaking changes In these cases, the RevisionNumber is - incremented so that - - height continues to be monitonically increasing even as the - RevisionHeight - - gets reset - title: >- - Height is a monotonically increasing data type - - that can be compared against another Height for the purposes - of updating and - - freezing clients - proof_try: - type: string - format: byte - title: >- - proof of the initialization the connection on Chain B: - `UNITIALIZED -> - - TRYOPEN` - proof_client: - type: string - format: byte - title: proof of client state included in message - proof_consensus: - type: string - format: byte - title: proof of client consensus state - consensus_height: - type: object - properties: - revision_number: - type: string - format: uint64 - title: the revision that the client is currently on - revision_height: - type: string - format: uint64 - title: the height within the given revision - description: >- - Normally the RevisionHeight is incremented at each height - while keeping - - RevisionNumber the same. However some consensus algorithms may - choose to - - reset the height in certain conditions e.g. hard forks, - state-machine - - breaking changes In these cases, the RevisionNumber is - incremented so that - - height continues to be monitonically increasing even as the - RevisionHeight - - gets reset - title: >- - Height is a monotonically increasing data type - - that can be compared against another Height for the purposes - of updating and - - freezing clients - signer: - type: string - host_consensus_state_proof: - type: string - format: byte - title: >- - optional proof data for host state machines that are unable to - introspect their own consensus state - description: |- - MsgConnectionOpenAck defines a msg sent by a Relayer to Chain A to - acknowledge the change of connection state to TRYOPEN on Chain B. - tags: - - Msg - /ibc.core.connection.v1.Msg/ConnectionOpenConfirm: - post: - summary: |- - ConnectionOpenConfirm defines a rpc handler method for - MsgConnectionOpenConfirm. - operationId: IbcCoreConnectionV1Msg_ConnectionOpenConfirm - responses: - '200': - description: A successful response. - schema: - type: object - description: >- - MsgConnectionOpenConfirmResponse defines the - Msg/ConnectionOpenConfirm - - response type. - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - description: >- - A URL/resource name that uniquely identifies the type of - the serialized - - protocol buffer message. This string must contain at - least - - one "/" character. The last segment of the URL's path - must represent - - the fully qualified name of the type (as in - - `path/google.protobuf.Duration`). The name should be in - a canonical form - - (e.g., leading "." is not accepted). - - - In practice, teams usually precompile into the binary - all types that they - - expect it to use in the context of Any. However, for - URLs which use the - - scheme `http`, `https`, or no scheme, one can optionally - set up a type - - server that maps type URLs to message definitions as - follows: - - - * If no scheme is provided, `https` is assumed. - - * An HTTP GET on the URL must yield a - [google.protobuf.Type][] - value in binary format, or produce an error. - * Applications are allowed to cache lookup results based - on the - URL, or have them precompiled into a binary to avoid any - lookup. Therefore, binary compatibility needs to be preserved - on changes to types. (Use versioned type names to manage - breaking changes.) - - Note: this functionality is not currently available in - the official - - protobuf release, and it is not used for type URLs - beginning with - - type.googleapis.com. As of May 2023, there are no widely - used type server - - implementations and no plans to implement one. - - - Schemes other than `http`, `https` (or the empty scheme) - might be - - used with implementation specific semantics. - additionalProperties: {} - description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - - URL that describes the type of the serialized message. - - - Protobuf library provides support to pack/unpack Any values - in the form - - of utility functions or additional generated methods of the - Any type. - - - Example 1: Pack and unpack a message in C++. - - Foo foo = ...; - Any any; - any.PackFrom(foo); - ... - if (any.UnpackTo(&foo)) { - ... - } - - Example 2: Pack and unpack a message in Java. - - Foo foo = ...; - Any any = Any.pack(foo); - ... - if (any.is(Foo.class)) { - foo = any.unpack(Foo.class); - } - // or ... - if (any.isSameTypeAs(Foo.getDefaultInstance())) { - foo = any.unpack(Foo.getDefaultInstance()); - } - - Example 3: Pack and unpack a message in Python. - - foo = Foo(...) - any = Any() - any.Pack(foo) - ... - if any.Is(Foo.DESCRIPTOR): - any.Unpack(foo) - ... - - Example 4: Pack and unpack a message in Go - - foo := &pb.Foo{...} - any, err := anypb.New(foo) - if err != nil { - ... - } - ... - foo := &pb.Foo{} - if err := any.UnmarshalTo(foo); err != nil { - ... - } - - The pack methods provided by protobuf library will by - default use - - 'type.googleapis.com/full.type.name' as the type URL and the - unpack - - methods only use the fully qualified type name after the - last '/' - - in the type URL, for example "foo.bar.com/x/y.z" will yield - type - - name "y.z". - - - JSON - - ==== - - The JSON representation of an `Any` value uses the regular - - representation of the deserialized, embedded message, with - an - - additional field `@type` which contains the type URL. - Example: - - package google.profile; - message Person { - string first_name = 1; - string last_name = 2; - } - - { - "@type": "type.googleapis.com/google.profile.Person", - "firstName": , - "lastName": - } - - If the embedded message type is well-known and has a custom - JSON - - representation, that representation will be embedded adding - a field - - `value` which holds the custom JSON in addition to the - `@type` - - field. Example (for message [google.protobuf.Duration][]): - - { - "@type": "type.googleapis.com/google.protobuf.Duration", - "value": "1.212s" - } - parameters: - - name: body - description: >- - MsgConnectionOpenConfirm defines a msg sent by a Relayer to Chain B - to - - acknowledge the change of connection state to OPEN on Chain A. - in: body - required: true - schema: - type: object - properties: - connection_id: - type: string - proof_ack: - type: string - format: byte - title: >- - proof for the change of the connection state on Chain A: `INIT - -> OPEN` - proof_height: - type: object - properties: - revision_number: - type: string - format: uint64 - title: the revision that the client is currently on - revision_height: - type: string - format: uint64 - title: the height within the given revision - description: >- - Normally the RevisionHeight is incremented at each height - while keeping - - RevisionNumber the same. However some consensus algorithms may - choose to - - reset the height in certain conditions e.g. hard forks, - state-machine - - breaking changes In these cases, the RevisionNumber is - incremented so that - - height continues to be monitonically increasing even as the - RevisionHeight - - gets reset - title: >- - Height is a monotonically increasing data type - - that can be compared against another Height for the purposes - of updating and - - freezing clients - signer: - type: string - description: >- - MsgConnectionOpenConfirm defines a msg sent by a Relayer to Chain - B to - - acknowledge the change of connection state to OPEN on Chain A. - tags: - - Msg - /ibc.core.connection.v1.Msg/ConnectionOpenInit: - post: - summary: >- - ConnectionOpenInit defines a rpc handler method for - MsgConnectionOpenInit. - operationId: IbcCoreConnectionV1Msg_ConnectionOpenInit - responses: - '200': - description: A successful response. - schema: - type: object - description: >- - MsgConnectionOpenInitResponse defines the Msg/ConnectionOpenInit - response - - type. - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - description: >- - A URL/resource name that uniquely identifies the type of - the serialized - - protocol buffer message. This string must contain at - least - - one "/" character. The last segment of the URL's path - must represent - - the fully qualified name of the type (as in - - `path/google.protobuf.Duration`). The name should be in - a canonical form - - (e.g., leading "." is not accepted). - - - In practice, teams usually precompile into the binary - all types that they - - expect it to use in the context of Any. However, for - URLs which use the - - scheme `http`, `https`, or no scheme, one can optionally - set up a type - - server that maps type URLs to message definitions as - follows: - - - * If no scheme is provided, `https` is assumed. - - * An HTTP GET on the URL must yield a - [google.protobuf.Type][] - value in binary format, or produce an error. - * Applications are allowed to cache lookup results based - on the - URL, or have them precompiled into a binary to avoid any - lookup. Therefore, binary compatibility needs to be preserved - on changes to types. (Use versioned type names to manage - breaking changes.) - - Note: this functionality is not currently available in - the official - - protobuf release, and it is not used for type URLs - beginning with - - type.googleapis.com. As of May 2023, there are no widely - used type server - - implementations and no plans to implement one. - - - Schemes other than `http`, `https` (or the empty scheme) - might be - - used with implementation specific semantics. - additionalProperties: {} - description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - - URL that describes the type of the serialized message. - - - Protobuf library provides support to pack/unpack Any values - in the form - - of utility functions or additional generated methods of the - Any type. - - - Example 1: Pack and unpack a message in C++. - - Foo foo = ...; - Any any; - any.PackFrom(foo); - ... - if (any.UnpackTo(&foo)) { - ... - } - - Example 2: Pack and unpack a message in Java. - - Foo foo = ...; - Any any = Any.pack(foo); - ... - if (any.is(Foo.class)) { - foo = any.unpack(Foo.class); - } - // or ... - if (any.isSameTypeAs(Foo.getDefaultInstance())) { - foo = any.unpack(Foo.getDefaultInstance()); - } - - Example 3: Pack and unpack a message in Python. - - foo = Foo(...) - any = Any() - any.Pack(foo) - ... - if any.Is(Foo.DESCRIPTOR): - any.Unpack(foo) - ... - - Example 4: Pack and unpack a message in Go - - foo := &pb.Foo{...} - any, err := anypb.New(foo) - if err != nil { - ... - } - ... - foo := &pb.Foo{} - if err := any.UnmarshalTo(foo); err != nil { - ... - } - - The pack methods provided by protobuf library will by - default use - - 'type.googleapis.com/full.type.name' as the type URL and the - unpack - - methods only use the fully qualified type name after the - last '/' - - in the type URL, for example "foo.bar.com/x/y.z" will yield - type - - name "y.z". - - - JSON - - ==== - - The JSON representation of an `Any` value uses the regular - - representation of the deserialized, embedded message, with - an - - additional field `@type` which contains the type URL. - Example: - - package google.profile; - message Person { - string first_name = 1; - string last_name = 2; - } - - { - "@type": "type.googleapis.com/google.profile.Person", - "firstName": , - "lastName": - } - - If the embedded message type is well-known and has a custom - JSON - - representation, that representation will be embedded adding - a field - - `value` which holds the custom JSON in addition to the - `@type` - - field. Example (for message [google.protobuf.Duration][]): - - { - "@type": "type.googleapis.com/google.protobuf.Duration", - "value": "1.212s" - } - parameters: - - name: body - description: >- - MsgConnectionOpenInit defines the msg sent by an account on Chain A - to - - initialize a connection with Chain B. - in: body - required: true - schema: - type: object - properties: - client_id: - type: string - counterparty: - type: object - properties: - client_id: - type: string - description: >- - identifies the client on the counterparty chain associated - with a given - - connection. - connection_id: - type: string - description: >- - identifies the connection end on the counterparty chain - associated with a - - given connection. - prefix: - description: commitment merkle prefix of the counterparty chain. - type: object - properties: - key_prefix: - type: string - format: byte - title: >- - MerklePrefix is merkle path prefixed to the key. - - The constructed key from the Path and the key will be - append(Path.KeyPath, - - append(Path.KeyPrefix, key...)) - description: >- - Counterparty defines the counterparty chain associated with a - connection end. - version: - type: object - properties: - identifier: - type: string - title: unique version identifier - features: - type: array - items: - type: string - title: list of features compatible with the specified identifier - description: >- - Version defines the versioning scheme used to negotiate the - IBC verison in - - the connection handshake. - delay_period: - type: string - format: uint64 - signer: - type: string - description: >- - MsgConnectionOpenInit defines the msg sent by an account on Chain - A to - - initialize a connection with Chain B. - tags: - - Msg - /ibc.core.connection.v1.Msg/ConnectionOpenTry: - post: - summary: ConnectionOpenTry defines a rpc handler method for MsgConnectionOpenTry. - operationId: IbcCoreConnectionV1Msg_ConnectionOpenTry - responses: - '200': - description: A successful response. - schema: - type: object - description: >- - MsgConnectionOpenTryResponse defines the Msg/ConnectionOpenTry - response type. - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - description: >- - A URL/resource name that uniquely identifies the type of - the serialized - - protocol buffer message. This string must contain at - least - - one "/" character. The last segment of the URL's path - must represent - - the fully qualified name of the type (as in - - `path/google.protobuf.Duration`). The name should be in - a canonical form - - (e.g., leading "." is not accepted). - - - In practice, teams usually precompile into the binary - all types that they - - expect it to use in the context of Any. However, for - URLs which use the - - scheme `http`, `https`, or no scheme, one can optionally - set up a type - - server that maps type URLs to message definitions as - follows: - - - * If no scheme is provided, `https` is assumed. - - * An HTTP GET on the URL must yield a - [google.protobuf.Type][] - value in binary format, or produce an error. - * Applications are allowed to cache lookup results based - on the - URL, or have them precompiled into a binary to avoid any - lookup. Therefore, binary compatibility needs to be preserved - on changes to types. (Use versioned type names to manage - breaking changes.) - - Note: this functionality is not currently available in - the official - - protobuf release, and it is not used for type URLs - beginning with - - type.googleapis.com. As of May 2023, there are no widely - used type server - - implementations and no plans to implement one. - - - Schemes other than `http`, `https` (or the empty scheme) - might be - - used with implementation specific semantics. - additionalProperties: {} - description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - - URL that describes the type of the serialized message. - - - Protobuf library provides support to pack/unpack Any values - in the form - - of utility functions or additional generated methods of the - Any type. - - - Example 1: Pack and unpack a message in C++. - - Foo foo = ...; - Any any; - any.PackFrom(foo); - ... - if (any.UnpackTo(&foo)) { - ... - } - - Example 2: Pack and unpack a message in Java. - - Foo foo = ...; - Any any = Any.pack(foo); - ... - if (any.is(Foo.class)) { - foo = any.unpack(Foo.class); - } - // or ... - if (any.isSameTypeAs(Foo.getDefaultInstance())) { - foo = any.unpack(Foo.getDefaultInstance()); - } - - Example 3: Pack and unpack a message in Python. - - foo = Foo(...) - any = Any() - any.Pack(foo) - ... - if any.Is(Foo.DESCRIPTOR): - any.Unpack(foo) - ... - - Example 4: Pack and unpack a message in Go - - foo := &pb.Foo{...} - any, err := anypb.New(foo) - if err != nil { - ... - } - ... - foo := &pb.Foo{} - if err := any.UnmarshalTo(foo); err != nil { - ... - } - - The pack methods provided by protobuf library will by - default use - - 'type.googleapis.com/full.type.name' as the type URL and the - unpack - - methods only use the fully qualified type name after the - last '/' - - in the type URL, for example "foo.bar.com/x/y.z" will yield - type - - name "y.z". - - - JSON - - ==== - - The JSON representation of an `Any` value uses the regular - - representation of the deserialized, embedded message, with - an - - additional field `@type` which contains the type URL. - Example: - - package google.profile; - message Person { - string first_name = 1; - string last_name = 2; - } - - { - "@type": "type.googleapis.com/google.profile.Person", - "firstName": , - "lastName": - } - - If the embedded message type is well-known and has a custom - JSON - - representation, that representation will be embedded adding - a field - - `value` which holds the custom JSON in addition to the - `@type` - - field. Example (for message [google.protobuf.Duration][]): - - { - "@type": "type.googleapis.com/google.protobuf.Duration", - "value": "1.212s" - } - parameters: - - name: body - description: >- - MsgConnectionOpenTry defines a msg sent by a Relayer to try to open - a - - connection on Chain B. - in: body - required: true - schema: - type: object - properties: - client_id: - type: string - previous_connection_id: - type: string - description: >- - Deprecated: this field is unused. Crossing hellos are no - longer supported in core IBC. - client_state: - type: object - properties: - '@type': - type: string - description: >- - A URL/resource name that uniquely identifies the type of - the serialized - - protocol buffer message. This string must contain at least - - one "/" character. The last segment of the URL's path must - represent - - the fully qualified name of the type (as in - - `path/google.protobuf.Duration`). The name should be in a - canonical form - - (e.g., leading "." is not accepted). - - - In practice, teams usually precompile into the binary all - types that they - - expect it to use in the context of Any. However, for URLs - which use the - - scheme `http`, `https`, or no scheme, one can optionally - set up a type - - server that maps type URLs to message definitions as - follows: - - - * If no scheme is provided, `https` is assumed. - - * An HTTP GET on the URL must yield a - [google.protobuf.Type][] - value in binary format, or produce an error. - * Applications are allowed to cache lookup results based - on the - URL, or have them precompiled into a binary to avoid any - lookup. Therefore, binary compatibility needs to be preserved - on changes to types. (Use versioned type names to manage - breaking changes.) - - Note: this functionality is not currently available in the - official - - protobuf release, and it is not used for type URLs - beginning with - - type.googleapis.com. As of May 2023, there are no widely - used type server - - implementations and no plans to implement one. - - - Schemes other than `http`, `https` (or the empty scheme) - might be - - used with implementation specific semantics. - additionalProperties: {} - description: >- - `Any` contains an arbitrary serialized protocol buffer message - along with a - - URL that describes the type of the serialized message. - - - Protobuf library provides support to pack/unpack Any values in - the form - - of utility functions or additional generated methods of the - Any type. - - - Example 1: Pack and unpack a message in C++. - - Foo foo = ...; - Any any; - any.PackFrom(foo); - ... - if (any.UnpackTo(&foo)) { - ... - } - - Example 2: Pack and unpack a message in Java. - - Foo foo = ...; - Any any = Any.pack(foo); - ... - if (any.is(Foo.class)) { - foo = any.unpack(Foo.class); - } - // or ... - if (any.isSameTypeAs(Foo.getDefaultInstance())) { - foo = any.unpack(Foo.getDefaultInstance()); - } - - Example 3: Pack and unpack a message in Python. - - foo = Foo(...) - any = Any() - any.Pack(foo) - ... - if any.Is(Foo.DESCRIPTOR): - any.Unpack(foo) - ... - - Example 4: Pack and unpack a message in Go - - foo := &pb.Foo{...} - any, err := anypb.New(foo) - if err != nil { - ... - } - ... - foo := &pb.Foo{} - if err := any.UnmarshalTo(foo); err != nil { - ... - } - - The pack methods provided by protobuf library will by default - use - - 'type.googleapis.com/full.type.name' as the type URL and the - unpack - - methods only use the fully qualified type name after the last - '/' - - in the type URL, for example "foo.bar.com/x/y.z" will yield - type - - name "y.z". - - - JSON - - ==== - - The JSON representation of an `Any` value uses the regular - - representation of the deserialized, embedded message, with an - - additional field `@type` which contains the type URL. Example: - - package google.profile; - message Person { - string first_name = 1; - string last_name = 2; - } - - { - "@type": "type.googleapis.com/google.profile.Person", - "firstName": , - "lastName": - } - - If the embedded message type is well-known and has a custom - JSON - - representation, that representation will be embedded adding a - field - - `value` which holds the custom JSON in addition to the `@type` - - field. Example (for message [google.protobuf.Duration][]): - - { - "@type": "type.googleapis.com/google.protobuf.Duration", - "value": "1.212s" - } - counterparty: - type: object - properties: - client_id: - type: string - description: >- - identifies the client on the counterparty chain associated - with a given - - connection. - connection_id: - type: string - description: >- - identifies the connection end on the counterparty chain - associated with a - - given connection. - prefix: - description: commitment merkle prefix of the counterparty chain. - type: object - properties: - key_prefix: - type: string - format: byte - title: >- - MerklePrefix is merkle path prefixed to the key. - - The constructed key from the Path and the key will be - append(Path.KeyPath, - - append(Path.KeyPrefix, key...)) - description: >- - Counterparty defines the counterparty chain associated with a - connection end. - delay_period: - type: string - format: uint64 - counterparty_versions: - type: array - items: - type: object - properties: - identifier: - type: string - title: unique version identifier - features: - type: array - items: - type: string - title: >- - list of features compatible with the specified - identifier - description: >- - Version defines the versioning scheme used to negotiate the - IBC verison in - - the connection handshake. - proof_height: - type: object - properties: - revision_number: - type: string - format: uint64 - title: the revision that the client is currently on - revision_height: - type: string - format: uint64 - title: the height within the given revision - description: >- - Normally the RevisionHeight is incremented at each height - while keeping - - RevisionNumber the same. However some consensus algorithms may - choose to - - reset the height in certain conditions e.g. hard forks, - state-machine - - breaking changes In these cases, the RevisionNumber is - incremented so that - - height continues to be monitonically increasing even as the - RevisionHeight - - gets reset - title: >- - Height is a monotonically increasing data type - - that can be compared against another Height for the purposes - of updating and - - freezing clients - proof_init: - type: string - format: byte - title: >- - proof of the initialization the connection on Chain A: - `UNITIALIZED -> - - INIT` - proof_client: - type: string - format: byte - title: proof of client state included in message - proof_consensus: - type: string - format: byte - title: proof of client consensus state - consensus_height: - type: object - properties: - revision_number: - type: string - format: uint64 - title: the revision that the client is currently on - revision_height: - type: string - format: uint64 - title: the height within the given revision - description: >- - Normally the RevisionHeight is incremented at each height - while keeping - - RevisionNumber the same. However some consensus algorithms may - choose to - - reset the height in certain conditions e.g. hard forks, - state-machine - - breaking changes In these cases, the RevisionNumber is - incremented so that - - height continues to be monitonically increasing even as the - RevisionHeight - - gets reset - title: >- - Height is a monotonically increasing data type - - that can be compared against another Height for the purposes - of updating and - - freezing clients - signer: - type: string - host_consensus_state_proof: - type: string - format: byte - title: >- - optional proof data for host state machines that are unable to - introspect their own consensus state - description: >- - MsgConnectionOpenTry defines a msg sent by a Relayer to try to - open a - - connection on Chain B. - tags: - - Msg - /ibc.core.connection.v1.Msg/UpdateConnectionParams: - post: - summary: |- - UpdateConnectionParams defines a rpc handler method for - MsgUpdateParams. - operationId: IbcCoreConnectionV1Msg_UpdateConnectionParams - responses: - '200': - description: A successful response. - schema: - type: object - description: MsgUpdateParamsResponse defines the MsgUpdateParams response type. - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - description: >- - A URL/resource name that uniquely identifies the type of - the serialized - - protocol buffer message. This string must contain at - least - - one "/" character. The last segment of the URL's path - must represent - - the fully qualified name of the type (as in - - `path/google.protobuf.Duration`). The name should be in - a canonical form - - (e.g., leading "." is not accepted). - - - In practice, teams usually precompile into the binary - all types that they - - expect it to use in the context of Any. However, for - URLs which use the - - scheme `http`, `https`, or no scheme, one can optionally - set up a type - - server that maps type URLs to message definitions as - follows: - - - * If no scheme is provided, `https` is assumed. - - * An HTTP GET on the URL must yield a - [google.protobuf.Type][] - value in binary format, or produce an error. - * Applications are allowed to cache lookup results based - on the - URL, or have them precompiled into a binary to avoid any - lookup. Therefore, binary compatibility needs to be preserved - on changes to types. (Use versioned type names to manage - breaking changes.) - - Note: this functionality is not currently available in - the official - - protobuf release, and it is not used for type URLs - beginning with - - type.googleapis.com. As of May 2023, there are no widely - used type server - - implementations and no plans to implement one. - - - Schemes other than `http`, `https` (or the empty scheme) - might be - - used with implementation specific semantics. - additionalProperties: {} - description: >- - `Any` contains an arbitrary serialized protocol buffer - message along with a - - URL that describes the type of the serialized message. - - - Protobuf library provides support to pack/unpack Any values - in the form - - of utility functions or additional generated methods of the - Any type. - - - Example 1: Pack and unpack a message in C++. - - Foo foo = ...; - Any any; - any.PackFrom(foo); - ... - if (any.UnpackTo(&foo)) { - ... - } - - Example 2: Pack and unpack a message in Java. - - Foo foo = ...; - Any any = Any.pack(foo); - ... - if (any.is(Foo.class)) { - foo = any.unpack(Foo.class); - } - // or ... - if (any.isSameTypeAs(Foo.getDefaultInstance())) { - foo = any.unpack(Foo.getDefaultInstance()); - } - - Example 3: Pack and unpack a message in Python. - - foo = Foo(...) - any = Any() - any.Pack(foo) - ... - if any.Is(Foo.DESCRIPTOR): - any.Unpack(foo) - ... - - Example 4: Pack and unpack a message in Go - - foo := &pb.Foo{...} - any, err := anypb.New(foo) - if err != nil { - ... - } - ... - foo := &pb.Foo{} - if err := any.UnmarshalTo(foo); err != nil { - ... - } - - The pack methods provided by protobuf library will by - default use - - 'type.googleapis.com/full.type.name' as the type URL and the - unpack - - methods only use the fully qualified type name after the - last '/' - - in the type URL, for example "foo.bar.com/x/y.z" will yield - type - - name "y.z". - - - JSON - - ==== - - The JSON representation of an `Any` value uses the regular - - representation of the deserialized, embedded message, with - an - - additional field `@type` which contains the type URL. - Example: - - package google.profile; - message Person { - string first_name = 1; - string last_name = 2; - } - - { - "@type": "type.googleapis.com/google.profile.Person", - "firstName": , - "lastName": - } - - If the embedded message type is well-known and has a custom - JSON - - representation, that representation will be embedded adding - a field - - `value` which holds the custom JSON in addition to the - `@type` - - field. Example (for message [google.protobuf.Duration][]): - - { - "@type": "type.googleapis.com/google.protobuf.Duration", - "value": "1.212s" - } - parameters: - - name: body - description: >- - MsgUpdateParams defines the sdk.Msg type to update the connection - parameters. - in: body - required: true - schema: - type: object - properties: - signer: - type: string - title: signer address - params: - description: |- - params defines the connection parameters to update. - - NOTE: All parameters must be supplied. - type: object - properties: - max_expected_time_per_block: - type: string - format: uint64 - description: >- - maximum expected time per block (in nanoseconds), used to - enforce block delay. This parameter should reflect the - - largest amount of time that the chain might reasonably - take to produce the next block under normal operating - - conditions. A safe choice is 3-5x the expected time per - block. - description: >- - MsgUpdateParams defines the sdk.Msg type to update the connection - parameters. - tags: - - Msg - /structs.structs.Msg/AddressRegister: - post: - operationId: StructsStructsMsg_AddressRegister - responses: - '200': - description: A successful response. - schema: - type: object - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - additionalProperties: {} - parameters: - - name: body - in: body - required: true - schema: - type: object - properties: - creator: - type: string - playerId: - type: string - address: - type: string - proofPubKey: - type: string - proofSignature: - type: string - permissions: - type: string - format: uint64 - tags: - - Msg - /structs.structs.Msg/AddressRevoke: - post: - operationId: StructsStructsMsg_AddressRevoke - responses: - '200': - description: A successful response. - schema: - type: object - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - additionalProperties: {} - parameters: - - name: body - in: body - required: true - schema: - type: object - properties: - creator: - type: string - address: - type: string - tags: - - Msg - /structs.structs.Msg/AllocationCreate: - post: - operationId: StructsStructsMsg_AllocationCreate - responses: - '200': - description: A successful response. - schema: - type: object - properties: - allocationId: - type: string - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - additionalProperties: {} - parameters: - - name: body - in: body - required: true - schema: - type: object - properties: - creator: - type: string - controller: - type: string - sourceObjectId: - type: string - allocationType: - type: string - enum: - - static - - dynamic - - automated - default: static - power: - type: string - format: uint64 - tags: - - Msg - /structs.structs.Msg/AllocationDelete: - post: - operationId: StructsStructsMsg_AllocationDelete - responses: - '200': - description: A successful response. - schema: - type: object - properties: - allocationId: - type: string - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - additionalProperties: {} - parameters: - - name: body - in: body - required: true - schema: - type: object - properties: - creator: - type: string - allocationId: - type: string - tags: - - Msg - /structs.structs.Msg/AllocationTransfer: - post: - operationId: StructsStructsMsg_AllocationTransfer - responses: - '200': - description: A successful response. - schema: - type: object - properties: - allocationId: - type: string - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - additionalProperties: {} - parameters: - - name: body - in: body - required: true - schema: - type: object - properties: - creator: - type: string - allocationId: - type: string - controller: - type: string - tags: - - Msg - /structs.structs.Msg/AllocationUpdate: - post: - operationId: StructsStructsMsg_AllocationUpdate - responses: - '200': - description: A successful response. - schema: - type: object - properties: - allocationId: - type: string - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - additionalProperties: {} - parameters: - - name: body - in: body - required: true - schema: - type: object - properties: - creator: - type: string - allocationId: - type: string - power: - type: string - format: uint64 - tags: - - Msg - /structs.structs.Msg/FleetMove: - post: - operationId: StructsStructsMsg_FleetMove - responses: - '200': - description: A successful response. - schema: - type: object - properties: - fleet: - type: object - properties: - id: - type: string - owner: - type: string - locationType: - type: string - enum: - - guild - - player - - planet - - reactor - - substation - - struct - - allocation - - infusion - - address - - fleet - default: guild - locationId: - type: string - status: - type: string - enum: - - onStation - - away - default: onStation - locationListForward: - type: string - title: Towards Planet - locationListBackward: - type: string - title: Towards End of List - space: - type: array - items: - type: string - air: - type: array - items: - type: string - land: - type: array - items: - type: string - water: - type: array - items: - type: string - spaceSlots: - type: string - format: uint64 - airSlots: - type: string - format: uint64 - landSlots: - type: string - format: uint64 - waterSlots: - type: string - format: uint64 - commandStruct: - type: string - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - additionalProperties: {} - parameters: - - name: body - in: body - required: true - schema: - type: object - properties: - creator: - type: string - fleetId: - type: string - destinationLocationId: - type: string - tags: - - Msg - /structs.structs.Msg/GuildCreate: - post: - operationId: StructsStructsMsg_GuildCreate - responses: - '200': - description: A successful response. - schema: - type: object - properties: - guildId: - type: string - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - additionalProperties: {} - parameters: - - name: body - in: body - required: true - schema: - type: object - properties: - creator: - type: string - endpoint: - type: string - entrySubstationId: - type: string - tags: - - Msg - /structs.structs.Msg/GuildMembershipInvite: - post: - operationId: StructsStructsMsg_GuildMembershipInvite - responses: - '200': - description: A successful response. - schema: - type: object - properties: - guildMembershipApplication: - type: object - properties: - guildId: - type: string - playerId: - type: string - joinType: - title: Invite | Request - type: string - enum: - - invite - - request - - direct - - proxy - default: invite - registrationStatus: - type: string - enum: - - proposed - - approved - - denied - - revoked - default: proposed - proposer: - type: string - substationId: - type: string - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - additionalProperties: {} - parameters: - - name: body - in: body - required: true - schema: - type: object - properties: - creator: - type: string - guildId: - type: string - playerId: - type: string - substationId: - type: string - tags: - - Msg - /structs.structs.Msg/GuildMembershipInviteApprove: - post: - operationId: StructsStructsMsg_GuildMembershipInviteApprove - responses: - '200': - description: A successful response. - schema: - type: object - properties: - guildMembershipApplication: - type: object - properties: - guildId: - type: string - playerId: - type: string - joinType: - title: Invite | Request - type: string - enum: - - invite - - request - - direct - - proxy - default: invite - registrationStatus: - type: string - enum: - - proposed - - approved - - denied - - revoked - default: proposed - proposer: - type: string - substationId: - type: string - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - additionalProperties: {} - parameters: - - name: body - in: body - required: true - schema: - type: object - properties: - creator: - type: string - guildId: - type: string - playerId: - type: string - substationId: - type: string - tags: - - Msg - /structs.structs.Msg/GuildMembershipInviteDeny: - post: - operationId: StructsStructsMsg_GuildMembershipInviteDeny - responses: - '200': - description: A successful response. - schema: - type: object - properties: - guildMembershipApplication: - type: object - properties: - guildId: - type: string - playerId: - type: string - joinType: - title: Invite | Request - type: string - enum: - - invite - - request - - direct - - proxy - default: invite - registrationStatus: - type: string - enum: - - proposed - - approved - - denied - - revoked - default: proposed - proposer: - type: string - substationId: - type: string - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - additionalProperties: {} - parameters: - - name: body - in: body - required: true - schema: - type: object - properties: - creator: - type: string - guildId: - type: string - playerId: - type: string - tags: - - Msg - /structs.structs.Msg/GuildMembershipInviteRevoke: - post: - operationId: StructsStructsMsg_GuildMembershipInviteRevoke - responses: - '200': - description: A successful response. - schema: - type: object - properties: - guildMembershipApplication: - type: object - properties: - guildId: - type: string - playerId: - type: string - joinType: - title: Invite | Request - type: string - enum: - - invite - - request - - direct - - proxy - default: invite - registrationStatus: - type: string - enum: - - proposed - - approved - - denied - - revoked - default: proposed - proposer: - type: string - substationId: - type: string - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - additionalProperties: {} - parameters: - - name: body - in: body - required: true - schema: - type: object - properties: - creator: - type: string - guildId: - type: string - playerId: - type: string - tags: - - Msg - /structs.structs.Msg/GuildMembershipJoin: - post: - operationId: StructsStructsMsg_GuildMembershipJoin - responses: - '200': - description: A successful response. - schema: - type: object - properties: - guildMembershipApplication: - type: object - properties: - guildId: - type: string - playerId: - type: string - joinType: - title: Invite | Request - type: string - enum: - - invite - - request - - direct - - proxy - default: invite - registrationStatus: - type: string - enum: - - proposed - - approved - - denied - - revoked - default: proposed - proposer: - type: string - substationId: - type: string - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - additionalProperties: {} - parameters: - - name: body - in: body - required: true - schema: - type: object - properties: - creator: - type: string - guildId: - type: string - playerId: - type: string - substationId: - type: string - infusionId: - type: array - items: - type: string - tags: - - Msg - /structs.structs.Msg/GuildMembershipJoinProxy: - post: - operationId: StructsStructsMsg_GuildMembershipJoinProxy - responses: - '200': - description: A successful response. - schema: - type: object - properties: - guildMembershipApplication: - type: object - properties: - guildId: - type: string - playerId: - type: string - joinType: - title: Invite | Request - type: string - enum: - - invite - - request - - direct - - proxy - default: invite - registrationStatus: - type: string - enum: - - proposed - - approved - - denied - - revoked - default: proposed - proposer: - type: string - substationId: - type: string - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - additionalProperties: {} - parameters: - - name: body - in: body - required: true - schema: - type: object - properties: - creator: - type: string - address: - type: string - substationId: - type: string - proofPubKey: - type: string - proofSignature: - type: string - tags: - - Msg - /structs.structs.Msg/GuildMembershipKick: - post: - operationId: StructsStructsMsg_GuildMembershipKick - responses: - '200': - description: A successful response. - schema: - type: object - properties: - guildMembershipApplication: - type: object - properties: - guildId: - type: string - playerId: - type: string - joinType: - title: Invite | Request - type: string - enum: - - invite - - request - - direct - - proxy - default: invite - registrationStatus: - type: string - enum: - - proposed - - approved - - denied - - revoked - default: proposed - proposer: - type: string - substationId: - type: string - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - additionalProperties: {} - parameters: - - name: body - in: body - required: true - schema: - type: object - properties: - creator: - type: string - guildId: - type: string - playerId: - type: string - tags: - - Msg - /structs.structs.Msg/GuildMembershipRequest: - post: - operationId: StructsStructsMsg_GuildMembershipRequest - responses: - '200': - description: A successful response. - schema: - type: object - properties: - guildMembershipApplication: - type: object - properties: - guildId: - type: string - playerId: - type: string - joinType: - title: Invite | Request - type: string - enum: - - invite - - request - - direct - - proxy - default: invite - registrationStatus: - type: string - enum: - - proposed - - approved - - denied - - revoked - default: proposed - proposer: - type: string - substationId: - type: string - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - additionalProperties: {} - parameters: - - name: body - in: body - required: true - schema: - type: object - properties: - creator: - type: string - guildId: - type: string - playerId: - type: string - substationId: - type: string - tags: - - Msg - /structs.structs.Msg/GuildMembershipRequestApprove: - post: - operationId: StructsStructsMsg_GuildMembershipRequestApprove - responses: - '200': - description: A successful response. - schema: - type: object - properties: - guildMembershipApplication: - type: object - properties: - guildId: - type: string - playerId: - type: string - joinType: - title: Invite | Request - type: string - enum: - - invite - - request - - direct - - proxy - default: invite - registrationStatus: - type: string - enum: - - proposed - - approved - - denied - - revoked - default: proposed - proposer: - type: string - substationId: - type: string - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - additionalProperties: {} - parameters: - - name: body - in: body - required: true - schema: - type: object - properties: - creator: - type: string - guildId: - type: string - playerId: - type: string - substationId: - type: string - tags: - - Msg - /structs.structs.Msg/GuildMembershipRequestDeny: - post: - operationId: StructsStructsMsg_GuildMembershipRequestDeny - responses: - '200': - description: A successful response. - schema: - type: object - properties: - guildMembershipApplication: - type: object - properties: - guildId: - type: string - playerId: - type: string - joinType: - title: Invite | Request - type: string - enum: - - invite - - request - - direct - - proxy - default: invite - registrationStatus: - type: string - enum: - - proposed - - approved - - denied - - revoked - default: proposed - proposer: - type: string - substationId: - type: string - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - additionalProperties: {} - parameters: - - name: body - in: body - required: true - schema: - type: object - properties: - creator: - type: string - guildId: - type: string - playerId: - type: string - tags: - - Msg - /structs.structs.Msg/GuildMembershipRequestRevoke: - post: - operationId: StructsStructsMsg_GuildMembershipRequestRevoke - responses: - '200': - description: A successful response. - schema: - type: object - properties: - guildMembershipApplication: - type: object - properties: - guildId: - type: string - playerId: - type: string - joinType: - title: Invite | Request - type: string - enum: - - invite - - request - - direct - - proxy - default: invite - registrationStatus: - type: string - enum: - - proposed - - approved - - denied - - revoked - default: proposed - proposer: - type: string - substationId: - type: string - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - additionalProperties: {} - parameters: - - name: body - in: body - required: true - schema: - type: object - properties: - creator: - type: string - guildId: - type: string - playerId: - type: string - tags: - - Msg - /structs.structs.Msg/GuildUpdateEndpoint: - post: - operationId: StructsStructsMsg_GuildUpdateEndpoint - responses: - '200': - description: A successful response. - schema: - type: object - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - additionalProperties: {} - parameters: - - name: body - in: body - required: true - schema: - type: object - properties: - creator: - type: string - guildId: - type: string - endpoint: - type: string - tags: - - Msg - /structs.structs.Msg/GuildUpdateEntrySubstationId: - post: - operationId: StructsStructsMsg_GuildUpdateEntrySubstationId - responses: - '200': - description: A successful response. - schema: - type: object - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - additionalProperties: {} - parameters: - - name: body - in: body - required: true - schema: - type: object - properties: - creator: - type: string - guildId: - type: string - entrySubstationId: - type: string - tags: - - Msg - /structs.structs.Msg/GuildUpdateJoinInfusionMinimum: - post: - operationId: StructsStructsMsg_GuildUpdateJoinInfusionMinimum - responses: - '200': - description: A successful response. - schema: - type: object - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - additionalProperties: {} - parameters: - - name: body - in: body - required: true - schema: - type: object - properties: - creator: - type: string - guildId: - type: string - joinInfusionMinimum: - type: string - format: uint64 - tags: - - Msg - /structs.structs.Msg/GuildUpdateJoinInfusionMinimumBypassByInvite: - post: - operationId: StructsStructsMsg_GuildUpdateJoinInfusionMinimumBypassByInvite - responses: - '200': - description: A successful response. - schema: - type: object - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - additionalProperties: {} - parameters: - - name: body - in: body - required: true - schema: - type: object - properties: - creator: - type: string - guildId: - type: string - guildJoinBypassLevel: - type: string - enum: - - closed - - permissioned - - member - default: closed - title: |- - - closed: Feature off - - permissioned: Only those with permissions can do it - - member: All members of the guild can contribute - tags: - - Msg - /structs.structs.Msg/GuildUpdateJoinInfusionMinimumBypassByRequest: - post: - operationId: StructsStructsMsg_GuildUpdateJoinInfusionMinimumBypassByRequest - responses: - '200': - description: A successful response. - schema: - type: object - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - additionalProperties: {} - parameters: - - name: body - in: body - required: true - schema: - type: object - properties: - creator: - type: string - guildId: - type: string - guildJoinBypassLevel: - type: string - enum: - - closed - - permissioned - - member - default: closed - title: |- - - closed: Feature off - - permissioned: Only those with permissions can do it - - member: All members of the guild can contribute - tags: - - Msg - /structs.structs.Msg/GuildUpdateOwnerId: - post: - operationId: StructsStructsMsg_GuildUpdateOwnerId - responses: - '200': - description: A successful response. - schema: - type: object - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - additionalProperties: {} - parameters: - - name: body - in: body - required: true - schema: - type: object - properties: - creator: - type: string - guildId: - type: string - owner: - type: string - tags: - - Msg - /structs.structs.Msg/PermissionGrantOnAddress: - post: - operationId: StructsStructsMsg_PermissionGrantOnAddress - responses: - '200': - description: A successful response. - schema: - type: object - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - additionalProperties: {} - parameters: - - name: body - in: body - required: true - schema: - type: object - properties: - creator: - type: string - address: - type: string - permissions: - type: string - format: uint64 - tags: - - Msg - /structs.structs.Msg/PermissionGrantOnObject: - post: - operationId: StructsStructsMsg_PermissionGrantOnObject - responses: - '200': - description: A successful response. - schema: - type: object - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - additionalProperties: {} - parameters: - - name: body - in: body - required: true - schema: - type: object - properties: - creator: - type: string - objectId: - type: string - playerId: - type: string - permissions: - type: string - format: uint64 - tags: - - Msg - /structs.structs.Msg/PermissionRevokeOnAddress: - post: - operationId: StructsStructsMsg_PermissionRevokeOnAddress - responses: - '200': - description: A successful response. - schema: - type: object - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - additionalProperties: {} - parameters: - - name: body - in: body - required: true - schema: - type: object - properties: - creator: - type: string - address: - type: string - permissions: - type: string - format: uint64 - tags: - - Msg - /structs.structs.Msg/PermissionRevokeOnObject: - post: - operationId: StructsStructsMsg_PermissionRevokeOnObject - responses: - '200': - description: A successful response. - schema: - type: object - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - additionalProperties: {} - parameters: - - name: body - in: body - required: true - schema: - type: object - properties: - creator: - type: string - objectId: - type: string - playerId: - type: string - permissions: - type: string - format: uint64 - tags: - - Msg - /structs.structs.Msg/PermissionSetOnAddress: - post: - operationId: StructsStructsMsg_PermissionSetOnAddress - responses: - '200': - description: A successful response. - schema: - type: object - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - additionalProperties: {} - parameters: - - name: body - in: body - required: true - schema: - type: object - properties: - creator: - type: string - address: - type: string - permissions: - type: string - format: uint64 - tags: - - Msg - /structs.structs.Msg/PermissionSetOnObject: - post: - operationId: StructsStructsMsg_PermissionSetOnObject - responses: - '200': - description: A successful response. - schema: - type: object - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - additionalProperties: {} - parameters: - - name: body - in: body - required: true - schema: - type: object - properties: - creator: - type: string - objectId: - type: string - playerId: - type: string - permissions: - type: string - format: uint64 - tags: - - Msg - /structs.structs.Msg/PlanetExplore: - post: - operationId: StructsStructsMsg_PlanetExplore - responses: - '200': - description: A successful response. - schema: - type: object - properties: - planet: - type: object - properties: - id: - type: string - maxOre: - type: string - format: uint64 - creator: - type: string - owner: - type: string - space: - type: array - items: - type: string - air: - type: array - items: - type: string - land: - type: array - items: - type: string - water: - type: array - items: - type: string - spaceSlots: - type: string - format: uint64 - airSlots: - type: string - format: uint64 - landSlots: - type: string - format: uint64 - waterSlots: - type: string - format: uint64 - status: - type: string - enum: - - active - - complete - default: active - locationListStart: - type: string - title: First in line to battle planet - locationListLast: - type: string - title: End of the line - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - additionalProperties: {} - parameters: - - name: body - in: body - required: true - schema: - type: object - properties: - creator: - type: string - tags: - - Msg - /structs.structs.Msg/PlanetRaidComplete: - post: - operationId: StructsStructsMsg_PlanetRaidComplete - responses: - '200': - description: A successful response. - schema: - type: object - properties: - fleet: - type: object - properties: - id: - type: string - owner: - type: string - locationType: - type: string - enum: - - guild - - player - - planet - - reactor - - substation - - struct - - allocation - - infusion - - address - - fleet - default: guild - locationId: - type: string - status: - type: string - enum: - - onStation - - away - default: onStation - locationListForward: - type: string - title: Towards Planet - locationListBackward: - type: string - title: Towards End of List - space: - type: array - items: - type: string - air: - type: array - items: - type: string - land: - type: array - items: - type: string - water: - type: array - items: - type: string - spaceSlots: - type: string - format: uint64 - airSlots: - type: string - format: uint64 - landSlots: - type: string - format: uint64 - waterSlots: - type: string - format: uint64 - commandStruct: - type: string - planet: - type: object - properties: - id: - type: string - maxOre: - type: string - format: uint64 - creator: - type: string - owner: - type: string - space: - type: array - items: - type: string - air: - type: array - items: - type: string - land: - type: array - items: - type: string - water: - type: array - items: - type: string - spaceSlots: - type: string - format: uint64 - airSlots: - type: string - format: uint64 - landSlots: - type: string - format: uint64 - waterSlots: - type: string - format: uint64 - status: - type: string - enum: - - active - - complete - default: active - locationListStart: - type: string - title: First in line to battle planet - locationListLast: - type: string - title: End of the line - oreStolen: - type: string - format: uint64 - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - additionalProperties: {} - parameters: - - name: body - in: body - required: true - schema: - type: object - properties: - creator: - type: string - fleetId: - type: string - proof: - type: string - nonce: - type: string - tags: - - Msg - /structs.structs.Msg/PlayerUpdatePrimaryAddress: - post: - operationId: StructsStructsMsg_PlayerUpdatePrimaryAddress - responses: - '200': - description: A successful response. - schema: - type: object - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - additionalProperties: {} - parameters: - - name: body - in: body - required: true - schema: - type: object - properties: - creator: - type: string - playerId: - type: string - primaryAddress: - type: string - tags: - - Msg - /structs.structs.Msg/StructActivate: - post: - operationId: StructsStructsMsg_StructActivate - responses: - '200': - description: A successful response. - schema: - type: object - properties: - struct: - type: object - properties: - id: - type: string - title: What it is - index: - type: string - format: uint64 - type: - type: string - format: uint64 - creator: - type: string - title: Who is it - owner: - type: string - locationType: - type: string - enum: - - guild - - player - - planet - - reactor - - substation - - struct - - allocation - - infusion - - address - - fleet - default: guild - title: Where it is - locationId: - type: string - operatingAmbit: - type: string - enum: - - none - - water - - land - - air - - space - - local - default: none - slot: - type: string - format: uint64 - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - additionalProperties: {} - parameters: - - name: body - in: body - required: true - schema: - type: object - properties: - creator: - type: string - structId: - type: string - tags: - - Msg - /structs.structs.Msg/StructAttack: - post: - operationId: StructsStructsMsg_StructAttack - responses: - '200': - description: A successful response. - schema: - type: object - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - additionalProperties: {} - parameters: - - name: body - in: body - required: true - schema: - type: object - properties: - creator: - type: string - operatingStructId: - type: string - targetStructId: - type: array - items: - type: string - weaponSystem: - type: string - tags: - - Msg - /structs.structs.Msg/StructBuildComplete: - post: - summary: |- - Not MVP - rpc StructBuildCompleteAndStash (MsgStructBuildCompleteAndStash ) returns (MsgStructStatusResponse ); - operationId: StructsStructsMsg_StructBuildComplete - responses: - '200': - description: A successful response. - schema: - type: object - properties: - struct: - type: object - properties: - id: - type: string - title: What it is - index: - type: string - format: uint64 - type: - type: string - format: uint64 - creator: - type: string - title: Who is it - owner: - type: string - locationType: - type: string - enum: - - guild - - player - - planet - - reactor - - substation - - struct - - allocation - - infusion - - address - - fleet - default: guild - title: Where it is - locationId: - type: string - operatingAmbit: - type: string - enum: - - none - - water - - land - - air - - space - - local - default: none - slot: - type: string - format: uint64 - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - additionalProperties: {} - parameters: - - name: body - in: body - required: true - schema: - type: object - properties: - creator: - type: string - structId: - type: string - proof: - type: string - nonce: - type: string - tags: - - Msg - /structs.structs.Msg/StructBuildInitiate: - post: - operationId: StructsStructsMsg_StructBuildInitiate - responses: - '200': - description: A successful response. - schema: - type: object - properties: - struct: - type: object - properties: - id: - type: string - title: What it is - index: - type: string - format: uint64 - type: - type: string - format: uint64 - creator: - type: string - title: Who is it - owner: - type: string - locationType: - type: string - enum: - - guild - - player - - planet - - reactor - - substation - - struct - - allocation - - infusion - - address - - fleet - default: guild - title: Where it is - locationId: - type: string - operatingAmbit: - type: string - enum: - - none - - water - - land - - air - - space - - local - default: none - slot: - type: string - format: uint64 - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - additionalProperties: {} - parameters: - - name: body - in: body - required: true - schema: - type: object - properties: - creator: - type: string - playerId: - type: string - structTypeId: - type: string - format: uint64 - locationType: - type: string - enum: - - guild - - player - - planet - - reactor - - substation - - struct - - allocation - - infusion - - address - - fleet - default: guild - operatingAmbit: - type: string - enum: - - none - - water - - land - - air - - space - - local - default: none - slot: - type: string - format: uint64 - tags: - - Msg - /structs.structs.Msg/StructDeactivate: - post: - operationId: StructsStructsMsg_StructDeactivate - responses: - '200': - description: A successful response. - schema: - type: object - properties: - struct: - type: object - properties: - id: - type: string - title: What it is - index: - type: string - format: uint64 - type: - type: string - format: uint64 - creator: - type: string - title: Who is it - owner: - type: string - locationType: - type: string - enum: - - guild - - player - - planet - - reactor - - substation - - struct - - allocation - - infusion - - address - - fleet - default: guild - title: Where it is - locationId: - type: string - operatingAmbit: - type: string - enum: - - none - - water - - land - - air - - space - - local - default: none - slot: - type: string - format: uint64 - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - additionalProperties: {} - parameters: - - name: body - in: body - required: true - schema: - type: object - properties: - creator: - type: string - structId: - type: string - tags: - - Msg - /structs.structs.Msg/StructDefenseClear: - post: - operationId: StructsStructsMsg_StructDefenseClear - responses: - '200': - description: A successful response. - schema: - type: object - properties: - struct: - type: object - properties: - id: - type: string - title: What it is - index: - type: string - format: uint64 - type: - type: string - format: uint64 - creator: - type: string - title: Who is it - owner: - type: string - locationType: - type: string - enum: - - guild - - player - - planet - - reactor - - substation - - struct - - allocation - - infusion - - address - - fleet - default: guild - title: Where it is - locationId: - type: string - operatingAmbit: - type: string - enum: - - none - - water - - land - - air - - space - - local - default: none - slot: - type: string - format: uint64 - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - additionalProperties: {} - parameters: - - name: body - in: body - required: true - schema: - type: object - properties: - creator: - type: string - defenderStructId: - type: string - tags: - - Msg - /structs.structs.Msg/StructDefenseSet: - post: - operationId: StructsStructsMsg_StructDefenseSet - responses: - '200': - description: A successful response. - schema: - type: object - properties: - struct: - type: object - properties: - id: - type: string - title: What it is - index: - type: string - format: uint64 - type: - type: string - format: uint64 - creator: - type: string - title: Who is it - owner: - type: string - locationType: - type: string - enum: - - guild - - player - - planet - - reactor - - substation - - struct - - allocation - - infusion - - address - - fleet - default: guild - title: Where it is - locationId: - type: string - operatingAmbit: - type: string - enum: - - none - - water - - land - - air - - space - - local - default: none - slot: - type: string - format: uint64 - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - additionalProperties: {} - parameters: - - name: body - in: body - required: true - schema: - type: object - properties: - creator: - type: string - defenderStructId: - type: string - protectedStructId: - type: string - tags: - - Msg - /structs.structs.Msg/StructGeneratorInfuse: - post: - operationId: StructsStructsMsg_StructGeneratorInfuse - responses: - '200': - description: A successful response. - schema: - type: object - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - additionalProperties: {} - parameters: - - name: body - in: body - required: true - schema: - type: object - properties: - creator: - type: string - structId: - type: string - infuseAmount: - type: string - tags: - - Msg - /structs.structs.Msg/StructMove: - post: - operationId: StructsStructsMsg_StructMove - responses: - '200': - description: A successful response. - schema: - type: object - properties: - struct: - type: object - properties: - id: - type: string - title: What it is - index: - type: string - format: uint64 - type: - type: string - format: uint64 - creator: - type: string - title: Who is it - owner: - type: string - locationType: - type: string - enum: - - guild - - player - - planet - - reactor - - substation - - struct - - allocation - - infusion - - address - - fleet - default: guild - title: Where it is - locationId: - type: string - operatingAmbit: - type: string - enum: - - none - - water - - land - - air - - space - - local - default: none - slot: - type: string - format: uint64 - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - additionalProperties: {} - parameters: - - name: body - in: body - required: true - schema: - type: object - properties: - creator: - type: string - structId: - type: string - locationType: - type: string - enum: - - guild - - player - - planet - - reactor - - substation - - struct - - allocation - - infusion - - address - - fleet - default: guild - ambit: - type: string - enum: - - none - - water - - land - - air - - space - - local - default: none - slot: - type: string - format: uint64 - tags: - - Msg - /structs.structs.Msg/StructOreMinerComplete: - post: - operationId: StructsStructsMsg_StructOreMinerComplete - responses: - '200': - description: A successful response. - schema: - type: object - properties: - struct: - type: object - properties: - id: - type: string - title: What it is - index: - type: string - format: uint64 - type: - type: string - format: uint64 - creator: - type: string - title: Who is it - owner: - type: string - locationType: - type: string - enum: - - guild - - player - - planet - - reactor - - substation - - struct - - allocation - - infusion - - address - - fleet - default: guild - title: Where it is - locationId: - type: string - operatingAmbit: - type: string - enum: - - none - - water - - land - - air - - space - - local - default: none - slot: - type: string - format: uint64 - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - additionalProperties: {} - parameters: - - name: body - in: body - required: true - schema: - type: object - properties: - creator: - type: string - structId: - type: string - proof: - type: string - nonce: - type: string - tags: - - Msg - /structs.structs.Msg/StructOreRefineryComplete: - post: - operationId: StructsStructsMsg_StructOreRefineryComplete - responses: - '200': - description: A successful response. - schema: - type: object - properties: - struct: - type: object - properties: - id: - type: string - title: What it is - index: - type: string - format: uint64 - type: - type: string - format: uint64 - creator: - type: string - title: Who is it - owner: - type: string - locationType: - type: string - enum: - - guild - - player - - planet - - reactor - - substation - - struct - - allocation - - infusion - - address - - fleet - default: guild - title: Where it is - locationId: - type: string - operatingAmbit: - type: string - enum: - - none - - water - - land - - air - - space - - local - default: none - slot: - type: string - format: uint64 - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - additionalProperties: {} - parameters: - - name: body - in: body - required: true - schema: - type: object - properties: - creator: - type: string - structId: - type: string - proof: - type: string - nonce: - type: string - tags: - - Msg - /structs.structs.Msg/StructStealthActivate: - post: - operationId: StructsStructsMsg_StructStealthActivate - responses: - '200': - description: A successful response. - schema: - type: object - properties: - struct: - type: object - properties: - id: - type: string - title: What it is - index: - type: string - format: uint64 - type: - type: string - format: uint64 - creator: - type: string - title: Who is it - owner: - type: string - locationType: - type: string - enum: - - guild - - player - - planet - - reactor - - substation - - struct - - allocation - - infusion - - address - - fleet - default: guild - title: Where it is - locationId: - type: string - operatingAmbit: - type: string - enum: - - none - - water - - land - - air - - space - - local - default: none - slot: - type: string - format: uint64 - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - additionalProperties: {} - parameters: - - name: body - in: body - required: true - schema: - type: object - properties: - creator: - type: string - structId: - type: string - tags: - - Msg - /structs.structs.Msg/StructStealthDeactivate: - post: - operationId: StructsStructsMsg_StructStealthDeactivate - responses: - '200': - description: A successful response. - schema: - type: object - properties: - struct: - type: object - properties: - id: - type: string - title: What it is - index: - type: string - format: uint64 - type: - type: string - format: uint64 - creator: - type: string - title: Who is it - owner: - type: string - locationType: - type: string - enum: - - guild - - player - - planet - - reactor - - substation - - struct - - allocation - - infusion - - address - - fleet - default: guild - title: Where it is - locationId: - type: string - operatingAmbit: - type: string - enum: - - none - - water - - land - - air - - space - - local - default: none - slot: - type: string - format: uint64 - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - additionalProperties: {} - parameters: - - name: body - in: body - required: true - schema: - type: object - properties: - creator: - type: string - structId: - type: string - tags: - - Msg - /structs.structs.Msg/SubstationAllocationConnect: - post: - operationId: StructsStructsMsg_SubstationAllocationConnect - responses: - '200': - description: A successful response. - schema: - type: object - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - additionalProperties: {} - parameters: - - name: body - in: body - required: true - schema: - type: object - properties: - creator: - type: string - allocationId: - type: string - destinationId: - type: string - tags: - - Msg - /structs.structs.Msg/SubstationAllocationDisconnect: - post: - operationId: StructsStructsMsg_SubstationAllocationDisconnect - responses: - '200': - description: A successful response. - schema: - type: object - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - additionalProperties: {} - parameters: - - name: body - in: body - required: true - schema: - type: object - properties: - creator: - type: string - allocationId: - type: string - tags: - - Msg - /structs.structs.Msg/SubstationCreate: - post: - operationId: StructsStructsMsg_SubstationCreate - responses: - '200': - description: A successful response. - schema: - type: object - properties: - substationId: - type: string - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - additionalProperties: {} - parameters: - - name: body - in: body - required: true - schema: - type: object - properties: - creator: - type: string - owner: - type: string - allocationId: - type: string - tags: - - Msg - /structs.structs.Msg/SubstationDelete: - post: - operationId: StructsStructsMsg_SubstationDelete - responses: - '200': - description: A successful response. - schema: - type: object - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - additionalProperties: {} - parameters: - - name: body - in: body - required: true - schema: - type: object - properties: - creator: - type: string - substationId: - type: string - migrationSubstationId: - type: string - tags: - - Msg - /structs.structs.Msg/SubstationPlayerConnect: - post: - operationId: StructsStructsMsg_SubstationPlayerConnect - responses: - '200': - description: A successful response. - schema: - type: object - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - additionalProperties: {} - parameters: - - name: body - in: body - required: true - schema: - type: object - properties: - creator: - type: string - substationId: - type: string - playerId: - type: string - tags: - - Msg - /structs.structs.Msg/SubstationPlayerDisconnect: - post: - operationId: StructsStructsMsg_SubstationPlayerDisconnect - responses: - '200': - description: A successful response. - schema: - type: object - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - additionalProperties: {} - parameters: - - name: body - in: body - required: true - schema: - type: object - properties: - creator: - type: string - playerId: - type: string - tags: - - Msg - /structs.structs.Msg/SubstationPlayerMigrate: - post: - operationId: StructsStructsMsg_SubstationPlayerMigrate - responses: - '200': - description: A successful response. - schema: - type: object - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - additionalProperties: {} - parameters: - - name: body - in: body - required: true - schema: - type: object - properties: - creator: - type: string - substationId: - type: string - playerId: - type: array - items: - type: string - tags: - - Msg - /structs.structs.Msg/UpdateParams: - post: - summary: |- - UpdateParams defines a (governance) operation for updating the module - parameters. The authority defaults to the x/gov module account. - operationId: StructsStructsMsg_UpdateParams - responses: - '200': - description: A successful response. - schema: - type: object - description: >- - MsgUpdateParamsResponse defines the response structure for - executing a - - MsgUpdateParams message. - default: - description: An unexpected error response. - schema: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - additionalProperties: {} - parameters: - - name: body - description: MsgUpdateParams is the Msg/UpdateParams request type. - in: body - required: true - schema: - type: object - properties: - authority: - type: string - description: >- - authority is the address that controls the module (defaults to - x/gov unless overwritten). - params: - description: |- - params defines the module parameters to update. - - NOTE: All parameters must be supplied. - type: object - description: MsgUpdateParams is the Msg/UpdateParams request type. - tags: - - Msg -definitions: - cosmos.auth.v1beta1.MsgUpdateParams: - type: object - properties: - authority: - type: string - description: >- - authority is the address that controls the module (defaults to x/gov - unless overwritten). - params: - description: |- - params defines the x/auth parameters to update. - - NOTE: All parameters must be supplied. - type: object - properties: - max_memo_characters: - type: string - format: uint64 - tx_sig_limit: - type: string - format: uint64 - tx_size_cost_per_byte: - type: string - format: uint64 - sig_verify_cost_ed25519: - type: string - format: uint64 - sig_verify_cost_secp256k1: - type: string - format: uint64 - description: |- - MsgUpdateParams is the Msg/UpdateParams request type. - - Since: cosmos-sdk 0.47 - cosmos.auth.v1beta1.MsgUpdateParamsResponse: - type: object - description: |- - MsgUpdateParamsResponse defines the response structure for executing a - MsgUpdateParams message. - - Since: cosmos-sdk 0.47 - cosmos.auth.v1beta1.Params: - type: object - properties: - max_memo_characters: - type: string - format: uint64 - tx_sig_limit: - type: string - format: uint64 - tx_size_cost_per_byte: - type: string - format: uint64 - sig_verify_cost_ed25519: - type: string - format: uint64 - sig_verify_cost_secp256k1: - type: string - format: uint64 - description: Params defines the parameters for the auth module. - google.protobuf.Any: - type: object - properties: - '@type': - type: string - description: >- - A URL/resource name that uniquely identifies the type of the - serialized - - protocol buffer message. This string must contain at least - - one "/" character. The last segment of the URL's path must represent - - the fully qualified name of the type (as in - - `path/google.protobuf.Duration`). The name should be in a canonical - form - - (e.g., leading "." is not accepted). - - - In practice, teams usually precompile into the binary all types that - they - - expect it to use in the context of Any. However, for URLs which use - the - - scheme `http`, `https`, or no scheme, one can optionally set up a type - - server that maps type URLs to message definitions as follows: - - - * If no scheme is provided, `https` is assumed. - - * An HTTP GET on the URL must yield a [google.protobuf.Type][] - value in binary format, or produce an error. - * Applications are allowed to cache lookup results based on the - URL, or have them precompiled into a binary to avoid any - lookup. Therefore, binary compatibility needs to be preserved - on changes to types. (Use versioned type names to manage - breaking changes.) - - Note: this functionality is not currently available in the official - - protobuf release, and it is not used for type URLs beginning with - - type.googleapis.com. As of May 2023, there are no widely used type - server - - implementations and no plans to implement one. - - - Schemes other than `http`, `https` (or the empty scheme) might be - - used with implementation specific semantics. - additionalProperties: {} - description: >- - `Any` contains an arbitrary serialized protocol buffer message along with - a - - URL that describes the type of the serialized message. - - - Protobuf library provides support to pack/unpack Any values in the form - - of utility functions or additional generated methods of the Any type. - - - Example 1: Pack and unpack a message in C++. - - Foo foo = ...; - Any any; - any.PackFrom(foo); - ... - if (any.UnpackTo(&foo)) { - ... - } - - Example 2: Pack and unpack a message in Java. - - Foo foo = ...; - Any any = Any.pack(foo); - ... - if (any.is(Foo.class)) { - foo = any.unpack(Foo.class); - } - // or ... - if (any.isSameTypeAs(Foo.getDefaultInstance())) { - foo = any.unpack(Foo.getDefaultInstance()); - } - - Example 3: Pack and unpack a message in Python. - - foo = Foo(...) - any = Any() - any.Pack(foo) - ... - if any.Is(Foo.DESCRIPTOR): - any.Unpack(foo) - ... - - Example 4: Pack and unpack a message in Go - - foo := &pb.Foo{...} - any, err := anypb.New(foo) - if err != nil { - ... - } - ... - foo := &pb.Foo{} - if err := any.UnmarshalTo(foo); err != nil { - ... - } - - The pack methods provided by protobuf library will by default use - - 'type.googleapis.com/full.type.name' as the type URL and the unpack - - methods only use the fully qualified type name after the last '/' - - in the type URL, for example "foo.bar.com/x/y.z" will yield type - - name "y.z". - - - JSON - - ==== - - The JSON representation of an `Any` value uses the regular - - representation of the deserialized, embedded message, with an - - additional field `@type` which contains the type URL. Example: - - package google.profile; - message Person { - string first_name = 1; - string last_name = 2; - } - - { - "@type": "type.googleapis.com/google.profile.Person", - "firstName": , - "lastName": - } - - If the embedded message type is well-known and has a custom JSON - - representation, that representation will be embedded adding a field - - `value` which holds the custom JSON in addition to the `@type` - - field. Example (for message [google.protobuf.Duration][]): - - { - "@type": "type.googleapis.com/google.protobuf.Duration", - "value": "1.212s" - } - google.rpc.Status: - type: object - properties: - code: - type: integer - format: int32 - message: - type: string - details: - type: array - items: - type: object - properties: - '@type': - type: string - description: >- - A URL/resource name that uniquely identifies the type of the - serialized - - protocol buffer message. This string must contain at least - - one "/" character. The last segment of the URL's path must - represent - - the fully qualified name of the type (as in - - `path/google.protobuf.Duration`). The name should be in a - canonical form - - (e.g., leading "." is not accepted). - - - In practice, teams usually precompile into the binary all types - that they - - expect it to use in the context of Any. However, for URLs which - use the - - scheme `http`, `https`, or no scheme, one can optionally set up - a type - - server that maps type URLs to message definitions as follows: - - - * If no scheme is provided, `https` is assumed. - - * An HTTP GET on the URL must yield a [google.protobuf.Type][] - value in binary format, or produce an error. - * Applications are allowed to cache lookup results based on the - URL, or have them precompiled into a binary to avoid any - lookup. Therefore, binary compatibility needs to be preserved - on changes to types. (Use versioned type names to manage - breaking changes.) - - Note: this functionality is not currently available in the - official - - protobuf release, and it is not used for type URLs beginning - with - - type.googleapis.com. As of May 2023, there are no widely used - type server - - implementations and no plans to implement one. - - - Schemes other than `http`, `https` (or the empty scheme) might - be - - used with implementation specific semantics. - additionalProperties: {} - description: >- - `Any` contains an arbitrary serialized protocol buffer message along - with a - - URL that describes the type of the serialized message. - - - Protobuf library provides support to pack/unpack Any values in the - form - - of utility functions or additional generated methods of the Any - type. - - - Example 1: Pack and unpack a message in C++. - - Foo foo = ...; - Any any; - any.PackFrom(foo); - ... - if (any.UnpackTo(&foo)) { - ... - } - - Example 2: Pack and unpack a message in Java. - - Foo foo = ...; - Any any = Any.pack(foo); - ... - if (any.is(Foo.class)) { - foo = any.unpack(Foo.class); - } - // or ... - if (any.isSameTypeAs(Foo.getDefaultInstance())) { - foo = any.unpack(Foo.getDefaultInstance()); - } - - Example 3: Pack and unpack a message in Python. - - foo = Foo(...) - any = Any() - any.Pack(foo) - ... - if any.Is(Foo.DESCRIPTOR): - any.Unpack(foo) - ... - - Example 4: Pack and unpack a message in Go - - foo := &pb.Foo{...} - any, err := anypb.New(foo) - if err != nil { - ... - } - ... - foo := &pb.Foo{} - if err := any.UnmarshalTo(foo); err != nil { - ... - } - - The pack methods provided by protobuf library will by default use - - 'type.googleapis.com/full.type.name' as the type URL and the unpack - - methods only use the fully qualified type name after the last '/' - - in the type URL, for example "foo.bar.com/x/y.z" will yield type - - name "y.z". - - - JSON - - ==== - - The JSON representation of an `Any` value uses the regular - - representation of the deserialized, embedded message, with an - - additional field `@type` which contains the type URL. Example: - - package google.profile; - message Person { - string first_name = 1; - string last_name = 2; - } - - { - "@type": "type.googleapis.com/google.profile.Person", - "firstName": , - "lastName": - } - - If the embedded message type is well-known and has a custom JSON - - representation, that representation will be embedded adding a field - - `value` which holds the custom JSON in addition to the `@type` - - field. Example (for message [google.protobuf.Duration][]): - - { - "@type": "type.googleapis.com/google.protobuf.Duration", - "value": "1.212s" - } - cosmos.authz.v1beta1.Grant: - type: object - properties: - authorization: - type: object - properties: - '@type': - type: string - description: >- - A URL/resource name that uniquely identifies the type of the - serialized - - protocol buffer message. This string must contain at least - - one "/" character. The last segment of the URL's path must - represent - - the fully qualified name of the type (as in - - `path/google.protobuf.Duration`). The name should be in a - canonical form - - (e.g., leading "." is not accepted). - - - In practice, teams usually precompile into the binary all types - that they - - expect it to use in the context of Any. However, for URLs which - use the - - scheme `http`, `https`, or no scheme, one can optionally set up a - type - - server that maps type URLs to message definitions as follows: - - - * If no scheme is provided, `https` is assumed. - - * An HTTP GET on the URL must yield a [google.protobuf.Type][] - value in binary format, or produce an error. - * Applications are allowed to cache lookup results based on the - URL, or have them precompiled into a binary to avoid any - lookup. Therefore, binary compatibility needs to be preserved - on changes to types. (Use versioned type names to manage - breaking changes.) - - Note: this functionality is not currently available in the - official - - protobuf release, and it is not used for type URLs beginning with - - type.googleapis.com. As of May 2023, there are no widely used type - server - - implementations and no plans to implement one. - - - Schemes other than `http`, `https` (or the empty scheme) might be - - used with implementation specific semantics. - additionalProperties: {} - description: >- - `Any` contains an arbitrary serialized protocol buffer message along - with a - - URL that describes the type of the serialized message. - - - Protobuf library provides support to pack/unpack Any values in the - form - - of utility functions or additional generated methods of the Any type. - - - Example 1: Pack and unpack a message in C++. - - Foo foo = ...; - Any any; - any.PackFrom(foo); - ... - if (any.UnpackTo(&foo)) { - ... - } - - Example 2: Pack and unpack a message in Java. - - Foo foo = ...; - Any any = Any.pack(foo); - ... - if (any.is(Foo.class)) { - foo = any.unpack(Foo.class); - } - // or ... - if (any.isSameTypeAs(Foo.getDefaultInstance())) { - foo = any.unpack(Foo.getDefaultInstance()); - } - - Example 3: Pack and unpack a message in Python. - - foo = Foo(...) - any = Any() - any.Pack(foo) - ... - if any.Is(Foo.DESCRIPTOR): - any.Unpack(foo) - ... - - Example 4: Pack and unpack a message in Go - - foo := &pb.Foo{...} - any, err := anypb.New(foo) - if err != nil { - ... - } - ... - foo := &pb.Foo{} - if err := any.UnmarshalTo(foo); err != nil { - ... - } - - The pack methods provided by protobuf library will by default use - - 'type.googleapis.com/full.type.name' as the type URL and the unpack - - methods only use the fully qualified type name after the last '/' - - in the type URL, for example "foo.bar.com/x/y.z" will yield type - - name "y.z". - - - JSON - - ==== - - The JSON representation of an `Any` value uses the regular - - representation of the deserialized, embedded message, with an - - additional field `@type` which contains the type URL. Example: - - package google.profile; - message Person { - string first_name = 1; - string last_name = 2; - } - - { - "@type": "type.googleapis.com/google.profile.Person", - "firstName": , - "lastName": - } - - If the embedded message type is well-known and has a custom JSON - - representation, that representation will be embedded adding a field - - `value` which holds the custom JSON in addition to the `@type` - - field. Example (for message [google.protobuf.Duration][]): - - { - "@type": "type.googleapis.com/google.protobuf.Duration", - "value": "1.212s" - } - expiration: - type: string - format: date-time - title: >- - time when the grant will expire and will be pruned. If null, then the - grant - - doesn't have a time expiration (other conditions in `authorization` - - may apply to invalidate the grant) - description: |- - Grant gives permissions to execute - the provide method with expiration time. - cosmos.authz.v1beta1.MsgExec: - type: object - properties: - grantee: - type: string - msgs: - type: array - items: - type: object - properties: - '@type': - type: string - description: >- - A URL/resource name that uniquely identifies the type of the - serialized - - protocol buffer message. This string must contain at least - - one "/" character. The last segment of the URL's path must - represent - - the fully qualified name of the type (as in - - `path/google.protobuf.Duration`). The name should be in a - canonical form - - (e.g., leading "." is not accepted). - - - In practice, teams usually precompile into the binary all types - that they - - expect it to use in the context of Any. However, for URLs which - use the - - scheme `http`, `https`, or no scheme, one can optionally set up - a type - - server that maps type URLs to message definitions as follows: - - - * If no scheme is provided, `https` is assumed. - - * An HTTP GET on the URL must yield a [google.protobuf.Type][] - value in binary format, or produce an error. - * Applications are allowed to cache lookup results based on the - URL, or have them precompiled into a binary to avoid any - lookup. Therefore, binary compatibility needs to be preserved - on changes to types. (Use versioned type names to manage - breaking changes.) - - Note: this functionality is not currently available in the - official - - protobuf release, and it is not used for type URLs beginning - with - - type.googleapis.com. As of May 2023, there are no widely used - type server - - implementations and no plans to implement one. - - - Schemes other than `http`, `https` (or the empty scheme) might - be - - used with implementation specific semantics. - additionalProperties: {} - description: >- - `Any` contains an arbitrary serialized protocol buffer message along - with a - - URL that describes the type of the serialized message. - - - Protobuf library provides support to pack/unpack Any values in the - form - - of utility functions or additional generated methods of the Any - type. - - - Example 1: Pack and unpack a message in C++. - - Foo foo = ...; - Any any; - any.PackFrom(foo); - ... - if (any.UnpackTo(&foo)) { - ... - } - - Example 2: Pack and unpack a message in Java. - - Foo foo = ...; - Any any = Any.pack(foo); - ... - if (any.is(Foo.class)) { - foo = any.unpack(Foo.class); - } - // or ... - if (any.isSameTypeAs(Foo.getDefaultInstance())) { - foo = any.unpack(Foo.getDefaultInstance()); - } - - Example 3: Pack and unpack a message in Python. - - foo = Foo(...) - any = Any() - any.Pack(foo) - ... - if any.Is(Foo.DESCRIPTOR): - any.Unpack(foo) - ... - - Example 4: Pack and unpack a message in Go - - foo := &pb.Foo{...} - any, err := anypb.New(foo) - if err != nil { - ... - } - ... - foo := &pb.Foo{} - if err := any.UnmarshalTo(foo); err != nil { - ... - } - - The pack methods provided by protobuf library will by default use - - 'type.googleapis.com/full.type.name' as the type URL and the unpack - - methods only use the fully qualified type name after the last '/' - - in the type URL, for example "foo.bar.com/x/y.z" will yield type - - name "y.z". - - - JSON - - ==== - - The JSON representation of an `Any` value uses the regular - - representation of the deserialized, embedded message, with an - - additional field `@type` which contains the type URL. Example: - - package google.profile; - message Person { - string first_name = 1; - string last_name = 2; - } - - { - "@type": "type.googleapis.com/google.profile.Person", - "firstName": , - "lastName": - } - - If the embedded message type is well-known and has a custom JSON - - representation, that representation will be embedded adding a field - - `value` which holds the custom JSON in addition to the `@type` - - field. Example (for message [google.protobuf.Duration][]): - - { - "@type": "type.googleapis.com/google.protobuf.Duration", - "value": "1.212s" - } - description: >- - Execute Msg. - - The x/authz will try to find a grant matching (msg.signers[0], - grantee, MsgTypeURL(msg)) - - triple and validate it. - description: |- - MsgExec attempts to execute the provided messages using - authorizations granted to the grantee. Each message should have only - one signer corresponding to the granter of the authorization. - cosmos.authz.v1beta1.MsgExecResponse: - type: object - properties: - results: - type: array - items: - type: string - format: byte - description: MsgExecResponse defines the Msg/MsgExecResponse response type. - cosmos.authz.v1beta1.MsgGrant: - type: object - properties: - granter: - type: string - grantee: - type: string - grant: - type: object - properties: - authorization: - type: object - properties: - '@type': - type: string - description: >- - A URL/resource name that uniquely identifies the type of the - serialized - - protocol buffer message. This string must contain at least - - one "/" character. The last segment of the URL's path must - represent - - the fully qualified name of the type (as in - - `path/google.protobuf.Duration`). The name should be in a - canonical form - - (e.g., leading "." is not accepted). - - - In practice, teams usually precompile into the binary all - types that they - - expect it to use in the context of Any. However, for URLs - which use the - - scheme `http`, `https`, or no scheme, one can optionally set - up a type - - server that maps type URLs to message definitions as follows: - - - * If no scheme is provided, `https` is assumed. - - * An HTTP GET on the URL must yield a [google.protobuf.Type][] - value in binary format, or produce an error. - * Applications are allowed to cache lookup results based on - the - URL, or have them precompiled into a binary to avoid any - lookup. Therefore, binary compatibility needs to be preserved - on changes to types. (Use versioned type names to manage - breaking changes.) - - Note: this functionality is not currently available in the - official - - protobuf release, and it is not used for type URLs beginning - with - - type.googleapis.com. As of May 2023, there are no widely used - type server - - implementations and no plans to implement one. - - - Schemes other than `http`, `https` (or the empty scheme) might - be - - used with implementation specific semantics. - additionalProperties: {} - description: >- - `Any` contains an arbitrary serialized protocol buffer message - along with a - - URL that describes the type of the serialized message. - - - Protobuf library provides support to pack/unpack Any values in the - form - - of utility functions or additional generated methods of the Any - type. - - - Example 1: Pack and unpack a message in C++. - - Foo foo = ...; - Any any; - any.PackFrom(foo); - ... - if (any.UnpackTo(&foo)) { - ... - } - - Example 2: Pack and unpack a message in Java. - - Foo foo = ...; - Any any = Any.pack(foo); - ... - if (any.is(Foo.class)) { - foo = any.unpack(Foo.class); - } - // or ... - if (any.isSameTypeAs(Foo.getDefaultInstance())) { - foo = any.unpack(Foo.getDefaultInstance()); - } - - Example 3: Pack and unpack a message in Python. - - foo = Foo(...) - any = Any() - any.Pack(foo) - ... - if any.Is(Foo.DESCRIPTOR): - any.Unpack(foo) - ... - - Example 4: Pack and unpack a message in Go - - foo := &pb.Foo{...} - any, err := anypb.New(foo) - if err != nil { - ... - } - ... - foo := &pb.Foo{} - if err := any.UnmarshalTo(foo); err != nil { - ... - } - - The pack methods provided by protobuf library will by default use - - 'type.googleapis.com/full.type.name' as the type URL and the - unpack - - methods only use the fully qualified type name after the last '/' - - in the type URL, for example "foo.bar.com/x/y.z" will yield type - - name "y.z". - - - JSON - - ==== - - The JSON representation of an `Any` value uses the regular - - representation of the deserialized, embedded message, with an - - additional field `@type` which contains the type URL. Example: - - package google.profile; - message Person { - string first_name = 1; - string last_name = 2; - } - - { - "@type": "type.googleapis.com/google.profile.Person", - "firstName": , - "lastName": - } - - If the embedded message type is well-known and has a custom JSON - - representation, that representation will be embedded adding a - field - - `value` which holds the custom JSON in addition to the `@type` - - field. Example (for message [google.protobuf.Duration][]): - - { - "@type": "type.googleapis.com/google.protobuf.Duration", - "value": "1.212s" - } - expiration: - type: string - format: date-time - title: >- - time when the grant will expire and will be pruned. If null, then - the grant - - doesn't have a time expiration (other conditions in - `authorization` - - may apply to invalidate the grant) - description: |- - Grant gives permissions to execute - the provide method with expiration time. - description: >- - MsgGrant is a request type for Grant method. It declares authorization to - the grantee - - on behalf of the granter with the provided expiration time. - cosmos.authz.v1beta1.MsgGrantResponse: - type: object - description: MsgGrantResponse defines the Msg/MsgGrant response type. - cosmos.authz.v1beta1.MsgRevoke: - type: object - properties: - granter: - type: string - grantee: - type: string - msg_type_url: - type: string - description: |- - MsgRevoke revokes any authorization with the provided sdk.Msg type on the - granter's account with that has been granted to the grantee. - cosmos.authz.v1beta1.MsgRevokeResponse: - type: object - description: MsgRevokeResponse defines the Msg/MsgRevokeResponse response type. - cosmos.bank.v1beta1.Input: - type: object - properties: - address: - type: string - coins: - type: array - items: - type: object - properties: - denom: - type: string - amount: - type: string - description: |- - Coin defines a token with a denomination and an amount. - - NOTE: The amount field is an Int which implements the custom method - signatures required by gogoproto. - description: Input models transaction input. - cosmos.bank.v1beta1.MsgMultiSend: - type: object - properties: - inputs: - type: array - items: - type: object - properties: - address: - type: string - coins: - type: array - items: - type: object - properties: - denom: - type: string - amount: - type: string - description: >- - Coin defines a token with a denomination and an amount. - - - NOTE: The amount field is an Int which implements the custom - method - - signatures required by gogoproto. - description: Input models transaction input. - description: >- - Inputs, despite being `repeated`, only allows one sender input. This - is - - checked in MsgMultiSend's ValidateBasic. - outputs: - type: array - items: - type: object - properties: - address: - type: string - coins: - type: array - items: - type: object - properties: - denom: - type: string - amount: - type: string - description: >- - Coin defines a token with a denomination and an amount. - - - NOTE: The amount field is an Int which implements the custom - method - - signatures required by gogoproto. - description: Output models transaction outputs. - description: MsgMultiSend represents an arbitrary multi-in, multi-out send message. - cosmos.bank.v1beta1.MsgMultiSendResponse: - type: object - description: MsgMultiSendResponse defines the Msg/MultiSend response type. - cosmos.bank.v1beta1.MsgSend: - type: object - properties: - from_address: - type: string - to_address: - type: string - amount: - type: array - items: - type: object - properties: - denom: - type: string - amount: - type: string - description: |- - Coin defines a token with a denomination and an amount. - - NOTE: The amount field is an Int which implements the custom method - signatures required by gogoproto. - description: MsgSend represents a message to send coins from one account to another. - cosmos.bank.v1beta1.MsgSendResponse: - type: object - description: MsgSendResponse defines the Msg/Send response type. - cosmos.bank.v1beta1.MsgSetSendEnabled: - type: object - properties: - authority: - type: string - description: authority is the address that controls the module. - send_enabled: - type: array - items: - type: object - properties: - denom: - type: string - enabled: - type: boolean - description: >- - SendEnabled maps coin denom to a send_enabled status (whether a - denom is - - sendable). - description: send_enabled is the list of entries to add or update. - use_default_for: - type: array - items: - type: string - description: >- - use_default_for is a list of denoms that should use the - params.default_send_enabled value. - - Denoms listed here will have their SendEnabled entries deleted. - - If a denom is included that doesn't have a SendEnabled entry, - - it will be ignored. - description: |- - MsgSetSendEnabled is the Msg/SetSendEnabled request type. - - Only entries to add/update/delete need to be included. - Existing SendEnabled entries that are not included in this - message are left unchanged. - - Since: cosmos-sdk 0.47 - cosmos.bank.v1beta1.MsgSetSendEnabledResponse: - type: object - description: |- - MsgSetSendEnabledResponse defines the Msg/SetSendEnabled response type. - - Since: cosmos-sdk 0.47 - cosmos.bank.v1beta1.MsgUpdateParams: - type: object - properties: - authority: - type: string - description: >- - authority is the address that controls the module (defaults to x/gov - unless overwritten). - params: - description: |- - params defines the x/bank parameters to update. - - NOTE: All parameters must be supplied. - type: object - properties: - send_enabled: - type: array - items: - type: object - properties: - denom: - type: string - enabled: - type: boolean - description: >- - SendEnabled maps coin denom to a send_enabled status (whether a - denom is - - sendable). - description: >- - Deprecated: Use of SendEnabled in params is deprecated. - - For genesis, use the newly added send_enabled field in the genesis - object. - - Storage, lookup, and manipulation of this information is now in - the keeper. - - - As of cosmos-sdk 0.47, this only exists for backwards - compatibility of genesis files. - default_send_enabled: - type: boolean - description: |- - MsgUpdateParams is the Msg/UpdateParams request type. - - Since: cosmos-sdk 0.47 - cosmos.bank.v1beta1.MsgUpdateParamsResponse: - type: object - description: |- - MsgUpdateParamsResponse defines the response structure for executing a - MsgUpdateParams message. - - Since: cosmos-sdk 0.47 - cosmos.bank.v1beta1.Output: - type: object - properties: - address: - type: string - coins: - type: array - items: - type: object - properties: - denom: - type: string - amount: - type: string - description: |- - Coin defines a token with a denomination and an amount. - - NOTE: The amount field is an Int which implements the custom method - signatures required by gogoproto. - description: Output models transaction outputs. - cosmos.bank.v1beta1.Params: - type: object - properties: - send_enabled: - type: array - items: - type: object - properties: - denom: - type: string - enabled: - type: boolean - description: >- - SendEnabled maps coin denom to a send_enabled status (whether a - denom is - - sendable). - description: >- - Deprecated: Use of SendEnabled in params is deprecated. - - For genesis, use the newly added send_enabled field in the genesis - object. - - Storage, lookup, and manipulation of this information is now in the - keeper. - - - As of cosmos-sdk 0.47, this only exists for backwards compatibility of - genesis files. - default_send_enabled: - type: boolean - description: Params defines the parameters for the bank module. - cosmos.bank.v1beta1.SendEnabled: - type: object - properties: - denom: - type: string - enabled: - type: boolean - description: |- - SendEnabled maps coin denom to a send_enabled status (whether a denom is - sendable). - cosmos.base.v1beta1.Coin: - type: object - properties: - denom: - type: string - amount: - type: string - description: |- - Coin defines a token with a denomination and an amount. - - NOTE: The amount field is an Int which implements the custom method - signatures required by gogoproto. - cosmos.base.node.v1beta1.ConfigResponse: - type: object - properties: - minimum_gas_price: - type: string - pruning_keep_recent: - type: string - pruning_interval: - type: string - halt_height: - type: string - format: uint64 - description: ConfigResponse defines the response structure for the Config gRPC query. - cosmos.base.node.v1beta1.StatusResponse: - type: object - properties: - earliest_store_height: - type: string - format: uint64 - title: earliest block height available in the store - height: - type: string - format: uint64 - title: current block height - timestamp: - type: string - format: date-time - title: block height timestamp - app_hash: - type: string - format: byte - title: app hash of the current block - validator_hash: - type: string - format: byte - title: validator hash provided by the consensus header - description: StateResponse defines the response structure for the status of a node. - cosmos.consensus.v1.MsgUpdateParams: - type: object - properties: - authority: - type: string - description: >- - authority is the address that controls the module (defaults to x/gov - unless overwritten). - block: - description: |- - params defines the x/consensus parameters to update. - VersionsParams is not included in this Msg because it is tracked - separarately in x/upgrade. - - NOTE: All parameters must be supplied. - type: object - properties: - max_bytes: - type: string - format: int64 - title: |- - Max block size, in bytes. - Note: must be greater than 0 - max_gas: - type: string - format: int64 - title: |- - Max gas per block. - Note: must be greater or equal to -1 - evidence: - type: object - properties: - max_age_num_blocks: - type: string - format: int64 - description: >- - Max age of evidence, in blocks. - - - The basic formula for calculating this is: MaxAgeDuration / - {average block - - time}. - max_age_duration: - type: string - description: >- - Max age of evidence, in time. - - - It should correspond with an app's "unbonding period" or other - similar - - mechanism for handling [Nothing-At-Stake - - attacks](https://github.com/ethereum/wiki/wiki/Proof-of-Stake-FAQ#what-is-the-nothing-at-stake-problem-and-how-can-it-be-fixed). - max_bytes: - type: string - format: int64 - title: >- - This sets the maximum size of total evidence in bytes that can be - committed in a single block. - - and should fall comfortably under the max block bytes. - - Default is 1048576 or 1MB - description: EvidenceParams determine how we handle evidence of malfeasance. - validator: - type: object - properties: - pub_key_types: - type: array - items: - type: string - description: |- - ValidatorParams restrict the public key types validators can use. - NOTE: uses ABCI pubkey naming, not Amino names. - abci: - title: 'Since: cosmos-sdk 0.50' - type: object - properties: - vote_extensions_enable_height: - type: string - format: int64 - description: >- - vote_extensions_enable_height configures the first height during - which - - vote extensions will be enabled. During this specified height, and - for all - - subsequent heights, precommit messages that do not contain valid - extension data - - will be considered invalid. Prior to this height, vote extensions - will not - - be used or accepted by validators on the network. - - - Once enabled, vote extensions will be created by the application - in ExtendVote, - - passed to the application for validation in VerifyVoteExtension - and given - - to the application to use when proposing a block during - PrepareProposal. - description: >- - ABCIParams configure functionality specific to the Application - Blockchain Interface. - description: MsgUpdateParams is the Msg/UpdateParams request type. - cosmos.consensus.v1.MsgUpdateParamsResponse: - type: object - description: |- - MsgUpdateParamsResponse defines the response structure for executing a - MsgUpdateParams message. - tendermint.types.ABCIParams: - type: object - properties: - vote_extensions_enable_height: - type: string - format: int64 - description: >- - vote_extensions_enable_height configures the first height during which - - vote extensions will be enabled. During this specified height, and for - all - - subsequent heights, precommit messages that do not contain valid - extension data - - will be considered invalid. Prior to this height, vote extensions will - not - - be used or accepted by validators on the network. - - - Once enabled, vote extensions will be created by the application in - ExtendVote, - - passed to the application for validation in VerifyVoteExtension and - given - - to the application to use when proposing a block during - PrepareProposal. - description: >- - ABCIParams configure functionality specific to the Application Blockchain - Interface. - tendermint.types.BlockParams: - type: object - properties: - max_bytes: - type: string - format: int64 - title: |- - Max block size, in bytes. - Note: must be greater than 0 - max_gas: - type: string - format: int64 - title: |- - Max gas per block. - Note: must be greater or equal to -1 - description: BlockParams contains limits on the block size. - tendermint.types.EvidenceParams: - type: object - properties: - max_age_num_blocks: - type: string - format: int64 - description: >- - Max age of evidence, in blocks. - - - The basic formula for calculating this is: MaxAgeDuration / {average - block - - time}. - max_age_duration: - type: string - description: >- - Max age of evidence, in time. - - - It should correspond with an app's "unbonding period" or other similar - - mechanism for handling [Nothing-At-Stake - - attacks](https://github.com/ethereum/wiki/wiki/Proof-of-Stake-FAQ#what-is-the-nothing-at-stake-problem-and-how-can-it-be-fixed). - max_bytes: - type: string - format: int64 - title: >- - This sets the maximum size of total evidence in bytes that can be - committed in a single block. - - and should fall comfortably under the max block bytes. - - Default is 1048576 or 1MB - description: EvidenceParams determine how we handle evidence of malfeasance. - tendermint.types.ValidatorParams: - type: object - properties: - pub_key_types: - type: array - items: - type: string - description: |- - ValidatorParams restrict the public key types validators can use. - NOTE: uses ABCI pubkey naming, not Amino names. - cosmos.crisis.v1beta1.MsgUpdateParams: - type: object - properties: - authority: - type: string - description: >- - authority is the address that controls the module (defaults to x/gov - unless overwritten). - constant_fee: - description: constant_fee defines the x/crisis parameter. - type: object - properties: - denom: - type: string - amount: - type: string - description: |- - MsgUpdateParams is the Msg/UpdateParams request type. - - Since: cosmos-sdk 0.47 - cosmos.crisis.v1beta1.MsgUpdateParamsResponse: - type: object - description: |- - MsgUpdateParamsResponse defines the response structure for executing a - MsgUpdateParams message. - - Since: cosmos-sdk 0.47 - cosmos.crisis.v1beta1.MsgVerifyInvariant: - type: object - properties: - sender: - type: string - description: >- - sender is the account address of private key to send coins to fee - collector account. - invariant_module_name: - type: string - description: name of the invariant module. - invariant_route: - type: string - description: invariant_route is the msg's invariant route. - description: MsgVerifyInvariant represents a message to verify a particular invariance. - cosmos.crisis.v1beta1.MsgVerifyInvariantResponse: - type: object - description: MsgVerifyInvariantResponse defines the Msg/VerifyInvariant response type. - cosmos.distribution.v1beta1.MsgCommunityPoolSpend: - type: object - properties: - authority: - type: string - description: >- - authority is the address that controls the module (defaults to x/gov - unless overwritten). - recipient: - type: string - amount: - type: array - items: - type: object - properties: - denom: - type: string - amount: - type: string - description: |- - Coin defines a token with a denomination and an amount. - - NOTE: The amount field is an Int which implements the custom method - signatures required by gogoproto. - description: >- - MsgCommunityPoolSpend defines a message for sending tokens from the - community - - pool to another account. This message is typically executed via a - governance - - proposal with the governance module being the executing authority. - - - Since: cosmos-sdk 0.47 - cosmos.distribution.v1beta1.MsgCommunityPoolSpendResponse: - type: object - description: |- - MsgCommunityPoolSpendResponse defines the response to executing a - MsgCommunityPoolSpend message. - - Since: cosmos-sdk 0.47 - cosmos.distribution.v1beta1.MsgDepositValidatorRewardsPool: - type: object - properties: - depositor: - type: string - validator_address: - type: string - amount: - type: array - items: - type: object - properties: - denom: - type: string - amount: - type: string - description: |- - Coin defines a token with a denomination and an amount. - - NOTE: The amount field is an Int which implements the custom method - signatures required by gogoproto. - description: |- - DepositValidatorRewardsPool defines the request structure to provide - additional rewards to delegators from a specific validator. - - Since: cosmos-sdk 0.50 - cosmos.distribution.v1beta1.MsgDepositValidatorRewardsPoolResponse: - type: object - description: |- - MsgDepositValidatorRewardsPoolResponse defines the response to executing a - MsgDepositValidatorRewardsPool message. - - Since: cosmos-sdk 0.50 - cosmos.distribution.v1beta1.MsgFundCommunityPool: - type: object - properties: - amount: - type: array - items: - type: object - properties: - denom: - type: string - amount: - type: string - description: |- - Coin defines a token with a denomination and an amount. - - NOTE: The amount field is an Int which implements the custom method - signatures required by gogoproto. - depositor: - type: string - description: |- - MsgFundCommunityPool allows an account to directly - fund the community pool. - cosmos.distribution.v1beta1.MsgFundCommunityPoolResponse: - type: object - description: >- - MsgFundCommunityPoolResponse defines the Msg/FundCommunityPool response - type. - cosmos.distribution.v1beta1.MsgSetWithdrawAddress: - type: object - properties: - delegator_address: - type: string - withdraw_address: - type: string - description: |- - MsgSetWithdrawAddress sets the withdraw address for - a delegator (or validator self-delegation). - cosmos.distribution.v1beta1.MsgSetWithdrawAddressResponse: - type: object - description: |- - MsgSetWithdrawAddressResponse defines the Msg/SetWithdrawAddress response - type. - cosmos.distribution.v1beta1.MsgUpdateParams: - type: object - properties: - authority: - type: string - description: >- - authority is the address that controls the module (defaults to x/gov - unless overwritten). - params: - description: |- - params defines the x/distribution parameters to update. - - NOTE: All parameters must be supplied. - type: object - properties: - community_tax: - type: string - base_proposer_reward: - type: string - description: >- - Deprecated: The base_proposer_reward field is deprecated and is no - longer used - - in the x/distribution module's reward mechanism. - bonus_proposer_reward: - type: string - description: >- - Deprecated: The bonus_proposer_reward field is deprecated and is - no longer used - - in the x/distribution module's reward mechanism. - withdraw_addr_enabled: - type: boolean - description: |- - MsgUpdateParams is the Msg/UpdateParams request type. - - Since: cosmos-sdk 0.47 - cosmos.distribution.v1beta1.MsgUpdateParamsResponse: - type: object - description: |- - MsgUpdateParamsResponse defines the response structure for executing a - MsgUpdateParams message. - - Since: cosmos-sdk 0.47 - cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward: - type: object - properties: - delegator_address: - type: string - validator_address: - type: string - description: |- - MsgWithdrawDelegatorReward represents delegation withdrawal to a delegator - from a single validator. - cosmos.distribution.v1beta1.MsgWithdrawDelegatorRewardResponse: - type: object - properties: - amount: - type: array - items: - type: object - properties: - denom: - type: string - amount: - type: string - description: |- - Coin defines a token with a denomination and an amount. - - NOTE: The amount field is an Int which implements the custom method - signatures required by gogoproto. - title: 'Since: cosmos-sdk 0.46' - description: |- - MsgWithdrawDelegatorRewardResponse defines the Msg/WithdrawDelegatorReward - response type. - cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission: - type: object - properties: - validator_address: - type: string - description: >- - MsgWithdrawValidatorCommission withdraws the full commission to the - validator - - address. - cosmos.distribution.v1beta1.MsgWithdrawValidatorCommissionResponse: - type: object - properties: - amount: - type: array - items: - type: object - properties: - denom: - type: string - amount: - type: string - description: |- - Coin defines a token with a denomination and an amount. - - NOTE: The amount field is an Int which implements the custom method - signatures required by gogoproto. - title: 'Since: cosmos-sdk 0.46' - description: |- - MsgWithdrawValidatorCommissionResponse defines the - Msg/WithdrawValidatorCommission response type. - cosmos.distribution.v1beta1.Params: - type: object - properties: - community_tax: - type: string - base_proposer_reward: - type: string - description: >- - Deprecated: The base_proposer_reward field is deprecated and is no - longer used - - in the x/distribution module's reward mechanism. - bonus_proposer_reward: - type: string - description: >- - Deprecated: The bonus_proposer_reward field is deprecated and is no - longer used - - in the x/distribution module's reward mechanism. - withdraw_addr_enabled: - type: boolean - description: Params defines the set of params for the distribution module. - cosmos.evidence.v1beta1.MsgSubmitEvidence: - type: object - properties: - submitter: - type: string - description: submitter is the signer account address of evidence. - evidence: - description: evidence defines the evidence of misbehavior. - type: object - properties: - '@type': - type: string - description: >- - A URL/resource name that uniquely identifies the type of the - serialized - - protocol buffer message. This string must contain at least - - one "/" character. The last segment of the URL's path must - represent - - the fully qualified name of the type (as in - - `path/google.protobuf.Duration`). The name should be in a - canonical form - - (e.g., leading "." is not accepted). - - - In practice, teams usually precompile into the binary all types - that they - - expect it to use in the context of Any. However, for URLs which - use the - - scheme `http`, `https`, or no scheme, one can optionally set up a - type - - server that maps type URLs to message definitions as follows: - - - * If no scheme is provided, `https` is assumed. - - * An HTTP GET on the URL must yield a [google.protobuf.Type][] - value in binary format, or produce an error. - * Applications are allowed to cache lookup results based on the - URL, or have them precompiled into a binary to avoid any - lookup. Therefore, binary compatibility needs to be preserved - on changes to types. (Use versioned type names to manage - breaking changes.) - - Note: this functionality is not currently available in the - official - - protobuf release, and it is not used for type URLs beginning with - - type.googleapis.com. As of May 2023, there are no widely used type - server - - implementations and no plans to implement one. - - - Schemes other than `http`, `https` (or the empty scheme) might be - - used with implementation specific semantics. - additionalProperties: {} - description: |- - MsgSubmitEvidence represents a message that supports submitting arbitrary - Evidence of misbehavior such as equivocation or counterfactual signing. - cosmos.evidence.v1beta1.MsgSubmitEvidenceResponse: - type: object - properties: - hash: - type: string - format: byte - description: hash defines the hash of the evidence. - description: MsgSubmitEvidenceResponse defines the Msg/SubmitEvidence response type. - cosmos.feegrant.v1beta1.MsgGrantAllowance: - type: object - properties: - granter: - type: string - description: >- - granter is the address of the user granting an allowance of their - funds. - grantee: - type: string - description: >- - grantee is the address of the user being granted an allowance of - another user's funds. - allowance: - description: allowance can be any of basic, periodic, allowed fee allowance. - type: object - properties: - '@type': - type: string - description: >- - A URL/resource name that uniquely identifies the type of the - serialized - - protocol buffer message. This string must contain at least - - one "/" character. The last segment of the URL's path must - represent - - the fully qualified name of the type (as in - - `path/google.protobuf.Duration`). The name should be in a - canonical form - - (e.g., leading "." is not accepted). - - - In practice, teams usually precompile into the binary all types - that they - - expect it to use in the context of Any. However, for URLs which - use the - - scheme `http`, `https`, or no scheme, one can optionally set up a - type - - server that maps type URLs to message definitions as follows: - - - * If no scheme is provided, `https` is assumed. - - * An HTTP GET on the URL must yield a [google.protobuf.Type][] - value in binary format, or produce an error. - * Applications are allowed to cache lookup results based on the - URL, or have them precompiled into a binary to avoid any - lookup. Therefore, binary compatibility needs to be preserved - on changes to types. (Use versioned type names to manage - breaking changes.) - - Note: this functionality is not currently available in the - official - - protobuf release, and it is not used for type URLs beginning with - - type.googleapis.com. As of May 2023, there are no widely used type - server - - implementations and no plans to implement one. - - - Schemes other than `http`, `https` (or the empty scheme) might be - - used with implementation specific semantics. - additionalProperties: {} - description: |- - MsgGrantAllowance adds permission for Grantee to spend up to Allowance - of fees from the account of Granter. - cosmos.feegrant.v1beta1.MsgGrantAllowanceResponse: - type: object - description: >- - MsgGrantAllowanceResponse defines the Msg/GrantAllowanceResponse response - type. - cosmos.feegrant.v1beta1.MsgPruneAllowances: - type: object - properties: - pruner: - type: string - description: pruner is the address of the user pruning expired allowances. - description: |- - MsgPruneAllowances prunes expired fee allowances. - - Since cosmos-sdk 0.50 - cosmos.feegrant.v1beta1.MsgPruneAllowancesResponse: - type: object - description: >- - MsgPruneAllowancesResponse defines the Msg/PruneAllowancesResponse - response type. - - - Since cosmos-sdk 0.50 - cosmos.feegrant.v1beta1.MsgRevokeAllowance: - type: object - properties: - granter: - type: string - description: >- - granter is the address of the user granting an allowance of their - funds. - grantee: - type: string - description: >- - grantee is the address of the user being granted an allowance of - another user's funds. - description: MsgRevokeAllowance removes any existing Allowance from Granter to Grantee. - cosmos.feegrant.v1beta1.MsgRevokeAllowanceResponse: - type: object - description: >- - MsgRevokeAllowanceResponse defines the Msg/RevokeAllowanceResponse - response type. - cosmos.gov.v1.MsgCancelProposal: - type: object - properties: - proposal_id: - type: string - format: uint64 - description: proposal_id defines the unique id of the proposal. - proposer: - type: string - description: proposer is the account address of the proposer. - description: |- - MsgCancelProposal is the Msg/CancelProposal request type. - - Since: cosmos-sdk 0.50 - cosmos.gov.v1.MsgCancelProposalResponse: - type: object - properties: - proposal_id: - type: string - format: uint64 - description: proposal_id defines the unique id of the proposal. - canceled_time: - type: string - format: date-time - description: canceled_time is the time when proposal is canceled. - canceled_height: - type: string - format: uint64 - description: >- - canceled_height defines the block height at which the proposal is - canceled. - description: |- - MsgCancelProposalResponse defines the response structure for executing a - MsgCancelProposal message. - - Since: cosmos-sdk 0.50 - cosmos.gov.v1.MsgDeposit: - type: object - properties: - proposal_id: - type: string - format: uint64 - description: proposal_id defines the unique id of the proposal. - depositor: - type: string - description: depositor defines the deposit addresses from the proposals. - amount: - type: array - items: - type: object - properties: - denom: - type: string - amount: - type: string - description: |- - Coin defines a token with a denomination and an amount. - - NOTE: The amount field is an Int which implements the custom method - signatures required by gogoproto. - description: amount to be deposited by depositor. - description: MsgDeposit defines a message to submit a deposit to an existing proposal. - cosmos.gov.v1.MsgDepositResponse: - type: object - description: MsgDepositResponse defines the Msg/Deposit response type. - cosmos.gov.v1.MsgExecLegacyContent: - type: object - properties: - content: - description: content is the proposal's content. - type: object - properties: - '@type': - type: string - description: >- - A URL/resource name that uniquely identifies the type of the - serialized - - protocol buffer message. This string must contain at least - - one "/" character. The last segment of the URL's path must - represent - - the fully qualified name of the type (as in - - `path/google.protobuf.Duration`). The name should be in a - canonical form - - (e.g., leading "." is not accepted). - - - In practice, teams usually precompile into the binary all types - that they - - expect it to use in the context of Any. However, for URLs which - use the - - scheme `http`, `https`, or no scheme, one can optionally set up a - type - - server that maps type URLs to message definitions as follows: - - - * If no scheme is provided, `https` is assumed. - - * An HTTP GET on the URL must yield a [google.protobuf.Type][] - value in binary format, or produce an error. - * Applications are allowed to cache lookup results based on the - URL, or have them precompiled into a binary to avoid any - lookup. Therefore, binary compatibility needs to be preserved - on changes to types. (Use versioned type names to manage - breaking changes.) - - Note: this functionality is not currently available in the - official - - protobuf release, and it is not used for type URLs beginning with - - type.googleapis.com. As of May 2023, there are no widely used type - server - - implementations and no plans to implement one. - - - Schemes other than `http`, `https` (or the empty scheme) might be - - used with implementation specific semantics. - additionalProperties: {} - authority: - type: string - description: authority must be the gov module address. - description: >- - MsgExecLegacyContent is used to wrap the legacy content field into a - message. - - This ensures backwards compatibility with v1beta1.MsgSubmitProposal. - cosmos.gov.v1.MsgExecLegacyContentResponse: - type: object - description: >- - MsgExecLegacyContentResponse defines the Msg/ExecLegacyContent response - type. - cosmos.gov.v1.MsgSubmitProposal: - type: object - properties: - messages: - type: array - items: - type: object - properties: - '@type': - type: string - description: >- - A URL/resource name that uniquely identifies the type of the - serialized - - protocol buffer message. This string must contain at least - - one "/" character. The last segment of the URL's path must - represent - - the fully qualified name of the type (as in - - `path/google.protobuf.Duration`). The name should be in a - canonical form - - (e.g., leading "." is not accepted). - - - In practice, teams usually precompile into the binary all types - that they - - expect it to use in the context of Any. However, for URLs which - use the - - scheme `http`, `https`, or no scheme, one can optionally set up - a type - - server that maps type URLs to message definitions as follows: - - - * If no scheme is provided, `https` is assumed. - - * An HTTP GET on the URL must yield a [google.protobuf.Type][] - value in binary format, or produce an error. - * Applications are allowed to cache lookup results based on the - URL, or have them precompiled into a binary to avoid any - lookup. Therefore, binary compatibility needs to be preserved - on changes to types. (Use versioned type names to manage - breaking changes.) - - Note: this functionality is not currently available in the - official - - protobuf release, and it is not used for type URLs beginning - with - - type.googleapis.com. As of May 2023, there are no widely used - type server - - implementations and no plans to implement one. - - - Schemes other than `http`, `https` (or the empty scheme) might - be - - used with implementation specific semantics. - additionalProperties: {} - description: >- - `Any` contains an arbitrary serialized protocol buffer message along - with a - - URL that describes the type of the serialized message. - - - Protobuf library provides support to pack/unpack Any values in the - form - - of utility functions or additional generated methods of the Any - type. - - - Example 1: Pack and unpack a message in C++. - - Foo foo = ...; - Any any; - any.PackFrom(foo); - ... - if (any.UnpackTo(&foo)) { - ... - } - - Example 2: Pack and unpack a message in Java. - - Foo foo = ...; - Any any = Any.pack(foo); - ... - if (any.is(Foo.class)) { - foo = any.unpack(Foo.class); - } - // or ... - if (any.isSameTypeAs(Foo.getDefaultInstance())) { - foo = any.unpack(Foo.getDefaultInstance()); - } - - Example 3: Pack and unpack a message in Python. - - foo = Foo(...) - any = Any() - any.Pack(foo) - ... - if any.Is(Foo.DESCRIPTOR): - any.Unpack(foo) - ... - - Example 4: Pack and unpack a message in Go - - foo := &pb.Foo{...} - any, err := anypb.New(foo) - if err != nil { - ... - } - ... - foo := &pb.Foo{} - if err := any.UnmarshalTo(foo); err != nil { - ... - } - - The pack methods provided by protobuf library will by default use - - 'type.googleapis.com/full.type.name' as the type URL and the unpack - - methods only use the fully qualified type name after the last '/' - - in the type URL, for example "foo.bar.com/x/y.z" will yield type - - name "y.z". - - - JSON - - ==== - - The JSON representation of an `Any` value uses the regular - - representation of the deserialized, embedded message, with an - - additional field `@type` which contains the type URL. Example: - - package google.profile; - message Person { - string first_name = 1; - string last_name = 2; - } - - { - "@type": "type.googleapis.com/google.profile.Person", - "firstName": , - "lastName": - } - - If the embedded message type is well-known and has a custom JSON - - representation, that representation will be embedded adding a field - - `value` which holds the custom JSON in addition to the `@type` - - field. Example (for message [google.protobuf.Duration][]): - - { - "@type": "type.googleapis.com/google.protobuf.Duration", - "value": "1.212s" - } - description: messages are the arbitrary messages to be executed if proposal passes. - initial_deposit: - type: array - items: - type: object - properties: - denom: - type: string - amount: - type: string - description: |- - Coin defines a token with a denomination and an amount. - - NOTE: The amount field is an Int which implements the custom method - signatures required by gogoproto. - description: >- - initial_deposit is the deposit value that must be paid at proposal - submission. - proposer: - type: string - description: proposer is the account address of the proposer. - metadata: - type: string - description: metadata is any arbitrary metadata attached to the proposal. - title: - type: string - description: |- - title is the title of the proposal. - - Since: cosmos-sdk 0.47 - summary: - type: string - description: 'Since: cosmos-sdk 0.47' - title: summary is the summary of the proposal - expedited: - type: boolean - description: 'Since: cosmos-sdk 0.50' - title: expedited defines if the proposal is expedited or not - description: >- - MsgSubmitProposal defines an sdk.Msg type that supports submitting - arbitrary - - proposal Content. - cosmos.gov.v1.MsgSubmitProposalResponse: - type: object - properties: - proposal_id: - type: string - format: uint64 - description: proposal_id defines the unique id of the proposal. - description: MsgSubmitProposalResponse defines the Msg/SubmitProposal response type. - cosmos.gov.v1.MsgUpdateParams: - type: object - properties: - authority: - type: string - description: >- - authority is the address that controls the module (defaults to x/gov - unless overwritten). - params: - description: |- - params defines the x/gov parameters to update. - - NOTE: All parameters must be supplied. - type: object - properties: - min_deposit: - type: array - items: - type: object - properties: - denom: - type: string - amount: - type: string - description: >- - Coin defines a token with a denomination and an amount. - - - NOTE: The amount field is an Int which implements the custom - method - - signatures required by gogoproto. - description: Minimum deposit for a proposal to enter voting period. - max_deposit_period: - type: string - description: >- - Maximum period for Atom holders to deposit on a proposal. Initial - value: 2 - - months. - voting_period: - type: string - description: Duration of the voting period. - quorum: - type: string - description: >- - Minimum percentage of total stake needed to vote for a result to - be - considered valid. - threshold: - type: string - description: >- - Minimum proportion of Yes votes for proposal to pass. Default - value: 0.5. - veto_threshold: - type: string - description: >- - Minimum value of Veto votes to Total votes ratio for proposal to - be - vetoed. Default value: 1/3. - min_initial_deposit_ratio: - type: string - description: >- - The ratio representing the proportion of the deposit value that - must be paid at proposal submission. - proposal_cancel_ratio: - type: string - description: >- - The cancel ratio which will not be returned back to the depositors - when a proposal is cancelled. - - - Since: cosmos-sdk 0.50 - proposal_cancel_dest: - type: string - description: >- - The address which will receive (proposal_cancel_ratio * deposit) - proposal deposits. - - If empty, the (proposal_cancel_ratio * deposit) proposal deposits - will be burned. - - - Since: cosmos-sdk 0.50 - expedited_voting_period: - type: string - description: |- - Duration of the voting period of an expedited proposal. - - Since: cosmos-sdk 0.50 - expedited_threshold: - type: string - description: >- - Minimum proportion of Yes votes for proposal to pass. Default - value: 0.67. - - - Since: cosmos-sdk 0.50 - expedited_min_deposit: - type: array - items: - type: object - properties: - denom: - type: string - amount: - type: string - description: >- - Coin defines a token with a denomination and an amount. - - - NOTE: The amount field is an Int which implements the custom - method - - signatures required by gogoproto. - description: Minimum expedited deposit for a proposal to enter voting period. - burn_vote_quorum: - type: boolean - title: burn deposits if a proposal does not meet quorum - burn_proposal_deposit_prevote: - type: boolean - title: burn deposits if the proposal does not enter voting period - burn_vote_veto: - type: boolean - title: burn deposits if quorum with vote type no_veto is met - min_deposit_ratio: - type: string - description: >- - The ratio representing the proportion of the deposit value minimum - that must be met when making a deposit. - - Default value: 0.01. Meaning that for a chain with a min_deposit - of 100stake, a deposit of 1stake would be - - required. - - - Since: cosmos-sdk 0.50 - description: |- - MsgUpdateParams is the Msg/UpdateParams request type. - - Since: cosmos-sdk 0.47 - cosmos.gov.v1.MsgUpdateParamsResponse: - type: object - description: |- - MsgUpdateParamsResponse defines the response structure for executing a - MsgUpdateParams message. - - Since: cosmos-sdk 0.47 - cosmos.gov.v1.MsgVote: - type: object - properties: - proposal_id: - type: string - format: uint64 - description: proposal_id defines the unique id of the proposal. - voter: - type: string - description: voter is the voter address for the proposal. - option: - description: option defines the vote option. - type: string - enum: - - VOTE_OPTION_UNSPECIFIED - - VOTE_OPTION_YES - - VOTE_OPTION_ABSTAIN - - VOTE_OPTION_NO - - VOTE_OPTION_NO_WITH_VETO - default: VOTE_OPTION_UNSPECIFIED - metadata: - type: string - description: metadata is any arbitrary metadata attached to the Vote. - description: MsgVote defines a message to cast a vote. - cosmos.gov.v1.MsgVoteResponse: - type: object - description: MsgVoteResponse defines the Msg/Vote response type. - cosmos.gov.v1.MsgVoteWeighted: - type: object - properties: - proposal_id: - type: string - format: uint64 - description: proposal_id defines the unique id of the proposal. - voter: - type: string - description: voter is the voter address for the proposal. - options: - type: array - items: - type: object - properties: - option: - description: >- - option defines the valid vote options, it must not contain - duplicate vote options. - type: string - enum: - - VOTE_OPTION_UNSPECIFIED - - VOTE_OPTION_YES - - VOTE_OPTION_ABSTAIN - - VOTE_OPTION_NO - - VOTE_OPTION_NO_WITH_VETO - default: VOTE_OPTION_UNSPECIFIED - weight: - type: string - description: weight is the vote weight associated with the vote option. - description: WeightedVoteOption defines a unit of vote for vote split. - description: options defines the weighted vote options. - metadata: - type: string - description: metadata is any arbitrary metadata attached to the VoteWeighted. - description: MsgVoteWeighted defines a message to cast a vote. - cosmos.gov.v1.MsgVoteWeightedResponse: - type: object - description: MsgVoteWeightedResponse defines the Msg/VoteWeighted response type. - cosmos.gov.v1.Params: - type: object - properties: - min_deposit: - type: array - items: - type: object - properties: - denom: - type: string - amount: - type: string - description: |- - Coin defines a token with a denomination and an amount. - - NOTE: The amount field is an Int which implements the custom method - signatures required by gogoproto. - description: Minimum deposit for a proposal to enter voting period. - max_deposit_period: - type: string - description: >- - Maximum period for Atom holders to deposit on a proposal. Initial - value: 2 - - months. - voting_period: - type: string - description: Duration of the voting period. - quorum: - type: string - description: |- - Minimum percentage of total stake needed to vote for a result to be - considered valid. - threshold: - type: string - description: >- - Minimum proportion of Yes votes for proposal to pass. Default value: - 0.5. - veto_threshold: - type: string - description: |- - Minimum value of Veto votes to Total votes ratio for proposal to be - vetoed. Default value: 1/3. - min_initial_deposit_ratio: - type: string - description: >- - The ratio representing the proportion of the deposit value that must - be paid at proposal submission. - proposal_cancel_ratio: - type: string - description: >- - The cancel ratio which will not be returned back to the depositors - when a proposal is cancelled. - - - Since: cosmos-sdk 0.50 - proposal_cancel_dest: - type: string - description: >- - The address which will receive (proposal_cancel_ratio * deposit) - proposal deposits. - - If empty, the (proposal_cancel_ratio * deposit) proposal deposits will - be burned. - - - Since: cosmos-sdk 0.50 - expedited_voting_period: - type: string - description: |- - Duration of the voting period of an expedited proposal. - - Since: cosmos-sdk 0.50 - expedited_threshold: - type: string - description: >- - Minimum proportion of Yes votes for proposal to pass. Default value: - 0.67. - - - Since: cosmos-sdk 0.50 - expedited_min_deposit: - type: array - items: - type: object - properties: - denom: - type: string - amount: - type: string - description: |- - Coin defines a token with a denomination and an amount. - - NOTE: The amount field is an Int which implements the custom method - signatures required by gogoproto. - description: Minimum expedited deposit for a proposal to enter voting period. - burn_vote_quorum: - type: boolean - title: burn deposits if a proposal does not meet quorum - burn_proposal_deposit_prevote: - type: boolean - title: burn deposits if the proposal does not enter voting period - burn_vote_veto: - type: boolean - title: burn deposits if quorum with vote type no_veto is met - min_deposit_ratio: - type: string - description: >- - The ratio representing the proportion of the deposit value minimum - that must be met when making a deposit. - - Default value: 0.01. Meaning that for a chain with a min_deposit of - 100stake, a deposit of 1stake would be - - required. - - - Since: cosmos-sdk 0.50 - description: |- - Params defines the parameters for the x/gov module. - - Since: cosmos-sdk 0.47 - cosmos.gov.v1.VoteOption: - type: string - enum: - - VOTE_OPTION_UNSPECIFIED - - VOTE_OPTION_YES - - VOTE_OPTION_ABSTAIN - - VOTE_OPTION_NO - - VOTE_OPTION_NO_WITH_VETO - default: VOTE_OPTION_UNSPECIFIED - description: >- - VoteOption enumerates the valid vote options for a given governance - proposal. - - - VOTE_OPTION_UNSPECIFIED: VOTE_OPTION_UNSPECIFIED defines a no-op vote option. - - VOTE_OPTION_YES: VOTE_OPTION_YES defines a yes vote option. - - VOTE_OPTION_ABSTAIN: VOTE_OPTION_ABSTAIN defines an abstain vote option. - - VOTE_OPTION_NO: VOTE_OPTION_NO defines a no vote option. - - VOTE_OPTION_NO_WITH_VETO: VOTE_OPTION_NO_WITH_VETO defines a no with veto vote option. - cosmos.gov.v1.WeightedVoteOption: - type: object - properties: - option: - description: >- - option defines the valid vote options, it must not contain duplicate - vote options. - type: string - enum: - - VOTE_OPTION_UNSPECIFIED - - VOTE_OPTION_YES - - VOTE_OPTION_ABSTAIN - - VOTE_OPTION_NO - - VOTE_OPTION_NO_WITH_VETO - default: VOTE_OPTION_UNSPECIFIED - weight: - type: string - description: weight is the vote weight associated with the vote option. - description: WeightedVoteOption defines a unit of vote for vote split. - cosmos.gov.v1beta1.MsgDeposit: - type: object - properties: - proposal_id: - type: string - format: uint64 - description: proposal_id defines the unique id of the proposal. - depositor: - type: string - description: depositor defines the deposit addresses from the proposals. - amount: - type: array - items: - type: object - properties: - denom: - type: string - amount: - type: string - description: |- - Coin defines a token with a denomination and an amount. - - NOTE: The amount field is an Int which implements the custom method - signatures required by gogoproto. - description: amount to be deposited by depositor. - description: MsgDeposit defines a message to submit a deposit to an existing proposal. - cosmos.gov.v1beta1.MsgDepositResponse: - type: object - description: MsgDepositResponse defines the Msg/Deposit response type. - cosmos.gov.v1beta1.MsgSubmitProposal: - type: object - properties: - content: - description: content is the proposal's content. - type: object - properties: - '@type': - type: string - description: >- - A URL/resource name that uniquely identifies the type of the - serialized - - protocol buffer message. This string must contain at least - - one "/" character. The last segment of the URL's path must - represent - - the fully qualified name of the type (as in - - `path/google.protobuf.Duration`). The name should be in a - canonical form - - (e.g., leading "." is not accepted). - - - In practice, teams usually precompile into the binary all types - that they - - expect it to use in the context of Any. However, for URLs which - use the - - scheme `http`, `https`, or no scheme, one can optionally set up a - type - - server that maps type URLs to message definitions as follows: - - - * If no scheme is provided, `https` is assumed. - - * An HTTP GET on the URL must yield a [google.protobuf.Type][] - value in binary format, or produce an error. - * Applications are allowed to cache lookup results based on the - URL, or have them precompiled into a binary to avoid any - lookup. Therefore, binary compatibility needs to be preserved - on changes to types. (Use versioned type names to manage - breaking changes.) - - Note: this functionality is not currently available in the - official - - protobuf release, and it is not used for type URLs beginning with - - type.googleapis.com. As of May 2023, there are no widely used type - server - - implementations and no plans to implement one. - - - Schemes other than `http`, `https` (or the empty scheme) might be - - used with implementation specific semantics. - additionalProperties: {} - initial_deposit: - type: array - items: - type: object - properties: - denom: - type: string - amount: - type: string - description: |- - Coin defines a token with a denomination and an amount. - - NOTE: The amount field is an Int which implements the custom method - signatures required by gogoproto. - description: >- - initial_deposit is the deposit value that must be paid at proposal - submission. - proposer: - type: string - description: proposer is the account address of the proposer. - description: >- - MsgSubmitProposal defines an sdk.Msg type that supports submitting - arbitrary - - proposal Content. - cosmos.gov.v1beta1.MsgSubmitProposalResponse: - type: object - properties: - proposal_id: - type: string - format: uint64 - description: proposal_id defines the unique id of the proposal. - description: MsgSubmitProposalResponse defines the Msg/SubmitProposal response type. - cosmos.gov.v1beta1.MsgVote: - type: object - properties: - proposal_id: - type: string - format: uint64 - description: proposal_id defines the unique id of the proposal. - voter: - type: string - description: voter is the voter address for the proposal. - option: - description: option defines the vote option. - type: string - enum: - - VOTE_OPTION_UNSPECIFIED - - VOTE_OPTION_YES - - VOTE_OPTION_ABSTAIN - - VOTE_OPTION_NO - - VOTE_OPTION_NO_WITH_VETO - default: VOTE_OPTION_UNSPECIFIED - description: MsgVote defines a message to cast a vote. - cosmos.gov.v1beta1.MsgVoteResponse: - type: object - description: MsgVoteResponse defines the Msg/Vote response type. - cosmos.gov.v1beta1.MsgVoteWeighted: - type: object - properties: - proposal_id: - type: string - format: uint64 - description: proposal_id defines the unique id of the proposal. - voter: - type: string - description: voter is the voter address for the proposal. - options: - type: array - items: - type: object - properties: - option: - description: >- - option defines the valid vote options, it must not contain - duplicate vote options. - type: string - enum: - - VOTE_OPTION_UNSPECIFIED - - VOTE_OPTION_YES - - VOTE_OPTION_ABSTAIN - - VOTE_OPTION_NO - - VOTE_OPTION_NO_WITH_VETO - default: VOTE_OPTION_UNSPECIFIED - weight: - type: string - description: weight is the vote weight associated with the vote option. - description: |- - WeightedVoteOption defines a unit of vote for vote split. - - Since: cosmos-sdk 0.43 - description: options defines the weighted vote options. - description: |- - MsgVoteWeighted defines a message to cast a vote. - - Since: cosmos-sdk 0.43 - cosmos.gov.v1beta1.MsgVoteWeightedResponse: - type: object - description: |- - MsgVoteWeightedResponse defines the Msg/VoteWeighted response type. - - Since: cosmos-sdk 0.43 - cosmos.gov.v1beta1.VoteOption: - type: string - enum: - - VOTE_OPTION_UNSPECIFIED - - VOTE_OPTION_YES - - VOTE_OPTION_ABSTAIN - - VOTE_OPTION_NO - - VOTE_OPTION_NO_WITH_VETO - default: VOTE_OPTION_UNSPECIFIED - description: >- - VoteOption enumerates the valid vote options for a given governance - proposal. - - - VOTE_OPTION_UNSPECIFIED: VOTE_OPTION_UNSPECIFIED defines a no-op vote option. - - VOTE_OPTION_YES: VOTE_OPTION_YES defines a yes vote option. - - VOTE_OPTION_ABSTAIN: VOTE_OPTION_ABSTAIN defines an abstain vote option. - - VOTE_OPTION_NO: VOTE_OPTION_NO defines a no vote option. - - VOTE_OPTION_NO_WITH_VETO: VOTE_OPTION_NO_WITH_VETO defines a no with veto vote option. - cosmos.gov.v1beta1.WeightedVoteOption: - type: object - properties: - option: - description: >- - option defines the valid vote options, it must not contain duplicate - vote options. - type: string - enum: - - VOTE_OPTION_UNSPECIFIED - - VOTE_OPTION_YES - - VOTE_OPTION_ABSTAIN - - VOTE_OPTION_NO - - VOTE_OPTION_NO_WITH_VETO - default: VOTE_OPTION_UNSPECIFIED - weight: - type: string - description: weight is the vote weight associated with the vote option. - description: |- - WeightedVoteOption defines a unit of vote for vote split. - - Since: cosmos-sdk 0.43 - cosmos.mint.v1beta1.MsgUpdateParams: - type: object - properties: - authority: - type: string - description: >- - authority is the address that controls the module (defaults to x/gov - unless overwritten). - params: - description: |- - params defines the x/mint parameters to update. - - NOTE: All parameters must be supplied. - type: object - properties: - mint_denom: - type: string - title: type of coin to mint - inflation_rate_change: - type: string - title: maximum annual change in inflation rate - inflation_max: - type: string - title: maximum inflation rate - inflation_min: - type: string - title: minimum inflation rate - goal_bonded: - type: string - title: goal of percent bonded atoms - blocks_per_year: - type: string - format: uint64 - title: expected blocks per year - description: |- - MsgUpdateParams is the Msg/UpdateParams request type. - - Since: cosmos-sdk 0.47 - cosmos.mint.v1beta1.MsgUpdateParamsResponse: - type: object - description: |- - MsgUpdateParamsResponse defines the response structure for executing a - MsgUpdateParams message. - - Since: cosmos-sdk 0.47 - cosmos.mint.v1beta1.Params: - type: object - properties: - mint_denom: - type: string - title: type of coin to mint - inflation_rate_change: - type: string - title: maximum annual change in inflation rate - inflation_max: - type: string - title: maximum inflation rate - inflation_min: - type: string - title: minimum inflation rate - goal_bonded: - type: string - title: goal of percent bonded atoms - blocks_per_year: - type: string - format: uint64 - title: expected blocks per year - description: Params defines the parameters for the x/mint module. - cosmos.nft.v1beta1.MsgSend: - type: object - properties: - class_id: - type: string - title: >- - class_id defines the unique identifier of the nft classification, - similar to the contract address of ERC721 - id: - type: string - title: id defines the unique identification of nft - sender: - type: string - title: sender is the address of the owner of nft - receiver: - type: string - title: receiver is the receiver address of nft - description: >- - MsgSend represents a message to send a nft from one account to another - account. - cosmos.nft.v1beta1.MsgSendResponse: - type: object - description: MsgSendResponse defines the Msg/Send response type. - cosmos.params.v1beta1.ParamChange: - type: object - properties: - subspace: - type: string - key: - type: string - value: - type: string - description: |- - ParamChange defines an individual parameter change, for use in - ParameterChangeProposal. - cosmos.params.v1beta1.QueryParamsResponse: - type: object - properties: - param: - description: param defines the queried parameter. - type: object - properties: - subspace: - type: string - key: - type: string - value: - type: string - description: QueryParamsResponse is response type for the Query/Params RPC method. - cosmos.params.v1beta1.QuerySubspacesResponse: - type: object - properties: - subspaces: - type: array - items: - type: object - properties: - subspace: - type: string - keys: - type: array - items: - type: string - description: >- - Subspace defines a parameter subspace name and all the keys that - exist for - - the subspace. - - - Since: cosmos-sdk 0.46 - description: |- - QuerySubspacesResponse defines the response types for querying for all - registered subspaces and all keys for a subspace. - - Since: cosmos-sdk 0.46 - cosmos.params.v1beta1.Subspace: - type: object - properties: - subspace: - type: string - keys: - type: array - items: - type: string - description: |- - Subspace defines a parameter subspace name and all the keys that exist for - the subspace. - - Since: cosmos-sdk 0.46 - cosmos.slashing.v1beta1.MsgUnjail: - type: object - properties: - validator_addr: - type: string - title: MsgUnjail defines the Msg/Unjail request type - cosmos.slashing.v1beta1.MsgUnjailResponse: - type: object - title: MsgUnjailResponse defines the Msg/Unjail response type - cosmos.slashing.v1beta1.MsgUpdateParams: - type: object - properties: - authority: - type: string - description: >- - authority is the address that controls the module (defaults to x/gov - unless overwritten). - params: - description: |- - params defines the x/slashing parameters to update. - - NOTE: All parameters must be supplied. - type: object - properties: - signed_blocks_window: - type: string - format: int64 - min_signed_per_window: - type: string - format: byte - downtime_jail_duration: - type: string - slash_fraction_double_sign: - type: string - format: byte - slash_fraction_downtime: - type: string - format: byte - description: |- - MsgUpdateParams is the Msg/UpdateParams request type. - - Since: cosmos-sdk 0.47 - cosmos.slashing.v1beta1.MsgUpdateParamsResponse: - type: object - description: |- - MsgUpdateParamsResponse defines the response structure for executing a - MsgUpdateParams message. - - Since: cosmos-sdk 0.47 - cosmos.slashing.v1beta1.Params: - type: object - properties: - signed_blocks_window: - type: string - format: int64 - min_signed_per_window: - type: string - format: byte - downtime_jail_duration: - type: string - slash_fraction_double_sign: - type: string - format: byte - slash_fraction_downtime: - type: string - format: byte - description: Params represents the parameters used for by the slashing module. - cosmos.staking.v1beta1.CommissionRates: - type: object - properties: - rate: - type: string - description: rate is the commission rate charged to delegators, as a fraction. - max_rate: - type: string - description: >- - max_rate defines the maximum commission rate which validator can ever - charge, as a fraction. - max_change_rate: - type: string - description: >- - max_change_rate defines the maximum daily increase of the validator - commission, as a fraction. - description: >- - CommissionRates defines the initial commission rates to be used for - creating - - a validator. - cosmos.staking.v1beta1.Description: - type: object - properties: - moniker: - type: string - description: moniker defines a human-readable name for the validator. - identity: - type: string - description: >- - identity defines an optional identity signature (ex. UPort or - Keybase). - website: - type: string - description: website defines an optional website link. - security_contact: - type: string - description: security_contact defines an optional email for security contact. - details: - type: string - description: details define other optional details. - description: Description defines a validator description. - cosmos.staking.v1beta1.MsgBeginRedelegate: - type: object - properties: - delegator_address: - type: string - validator_src_address: - type: string - validator_dst_address: - type: string - amount: - type: object - properties: - denom: - type: string - amount: - type: string - description: |- - Coin defines a token with a denomination and an amount. - - NOTE: The amount field is an Int which implements the custom method - signatures required by gogoproto. - description: |- - MsgBeginRedelegate defines a SDK message for performing a redelegation - of coins from a delegator and source validator to a destination validator. - cosmos.staking.v1beta1.MsgBeginRedelegateResponse: - type: object - properties: - completion_time: - type: string - format: date-time - description: MsgBeginRedelegateResponse defines the Msg/BeginRedelegate response type. - cosmos.staking.v1beta1.MsgCancelUnbondingDelegation: - type: object - properties: - delegator_address: - type: string - validator_address: - type: string - amount: - type: object - properties: - denom: - type: string - amount: - type: string - description: |- - Coin defines a token with a denomination and an amount. - - NOTE: The amount field is an Int which implements the custom method - signatures required by gogoproto. - title: >- - amount is always less than or equal to unbonding delegation entry - balance - creation_height: - type: string - format: int64 - description: creation_height is the height which the unbonding took place. - description: 'Since: cosmos-sdk 0.46' - title: >- - MsgCancelUnbondingDelegation defines the SDK message for performing a - cancel unbonding delegation for delegator - cosmos.staking.v1beta1.MsgCancelUnbondingDelegationResponse: - type: object - description: 'Since: cosmos-sdk 0.46' - title: MsgCancelUnbondingDelegationResponse - cosmos.staking.v1beta1.MsgCreateValidator: - type: object - properties: - description: - type: object - properties: - moniker: - type: string - description: moniker defines a human-readable name for the validator. - identity: - type: string - description: >- - identity defines an optional identity signature (ex. UPort or - Keybase). - website: - type: string - description: website defines an optional website link. - security_contact: - type: string - description: security_contact defines an optional email for security contact. - details: - type: string - description: details define other optional details. - description: Description defines a validator description. - commission: - type: object - properties: - rate: - type: string - description: rate is the commission rate charged to delegators, as a fraction. - max_rate: - type: string - description: >- - max_rate defines the maximum commission rate which validator can - ever charge, as a fraction. - max_change_rate: - type: string - description: >- - max_change_rate defines the maximum daily increase of the - validator commission, as a fraction. - description: >- - CommissionRates defines the initial commission rates to be used for - creating - - a validator. - min_self_delegation: - type: string - delegator_address: - type: string - description: >- - Deprecated: Use of Delegator Address in MsgCreateValidator is - deprecated. - - The validator address bytes and delegator address bytes refer to the - same account while creating validator (defer - - only in bech32 notation). - validator_address: - type: string - pubkey: - type: object - properties: - '@type': - type: string - description: >- - A URL/resource name that uniquely identifies the type of the - serialized - - protocol buffer message. This string must contain at least - - one "/" character. The last segment of the URL's path must - represent - - the fully qualified name of the type (as in - - `path/google.protobuf.Duration`). The name should be in a - canonical form - - (e.g., leading "." is not accepted). - - - In practice, teams usually precompile into the binary all types - that they - - expect it to use in the context of Any. However, for URLs which - use the - - scheme `http`, `https`, or no scheme, one can optionally set up a - type - - server that maps type URLs to message definitions as follows: - - - * If no scheme is provided, `https` is assumed. - - * An HTTP GET on the URL must yield a [google.protobuf.Type][] - value in binary format, or produce an error. - * Applications are allowed to cache lookup results based on the - URL, or have them precompiled into a binary to avoid any - lookup. Therefore, binary compatibility needs to be preserved - on changes to types. (Use versioned type names to manage - breaking changes.) - - Note: this functionality is not currently available in the - official - - protobuf release, and it is not used for type URLs beginning with - - type.googleapis.com. As of May 2023, there are no widely used type - server - - implementations and no plans to implement one. - - - Schemes other than `http`, `https` (or the empty scheme) might be - - used with implementation specific semantics. - additionalProperties: {} - description: >- - `Any` contains an arbitrary serialized protocol buffer message along - with a - - URL that describes the type of the serialized message. - - - Protobuf library provides support to pack/unpack Any values in the - form - - of utility functions or additional generated methods of the Any type. - - - Example 1: Pack and unpack a message in C++. - - Foo foo = ...; - Any any; - any.PackFrom(foo); - ... - if (any.UnpackTo(&foo)) { - ... - } - - Example 2: Pack and unpack a message in Java. - - Foo foo = ...; - Any any = Any.pack(foo); - ... - if (any.is(Foo.class)) { - foo = any.unpack(Foo.class); - } - // or ... - if (any.isSameTypeAs(Foo.getDefaultInstance())) { - foo = any.unpack(Foo.getDefaultInstance()); - } - - Example 3: Pack and unpack a message in Python. - - foo = Foo(...) - any = Any() - any.Pack(foo) - ... - if any.Is(Foo.DESCRIPTOR): - any.Unpack(foo) - ... - - Example 4: Pack and unpack a message in Go - - foo := &pb.Foo{...} - any, err := anypb.New(foo) - if err != nil { - ... - } - ... - foo := &pb.Foo{} - if err := any.UnmarshalTo(foo); err != nil { - ... - } - - The pack methods provided by protobuf library will by default use - - 'type.googleapis.com/full.type.name' as the type URL and the unpack - - methods only use the fully qualified type name after the last '/' - - in the type URL, for example "foo.bar.com/x/y.z" will yield type - - name "y.z". - - - JSON - - ==== - - The JSON representation of an `Any` value uses the regular - - representation of the deserialized, embedded message, with an - - additional field `@type` which contains the type URL. Example: - - package google.profile; - message Person { - string first_name = 1; - string last_name = 2; - } - - { - "@type": "type.googleapis.com/google.profile.Person", - "firstName": , - "lastName": - } - - If the embedded message type is well-known and has a custom JSON - - representation, that representation will be embedded adding a field - - `value` which holds the custom JSON in addition to the `@type` - - field. Example (for message [google.protobuf.Duration][]): - - { - "@type": "type.googleapis.com/google.protobuf.Duration", - "value": "1.212s" - } - value: - type: object - properties: - denom: - type: string - amount: - type: string - description: |- - Coin defines a token with a denomination and an amount. - - NOTE: The amount field is an Int which implements the custom method - signatures required by gogoproto. - description: MsgCreateValidator defines a SDK message for creating a new validator. - cosmos.staking.v1beta1.MsgCreateValidatorResponse: - type: object - description: MsgCreateValidatorResponse defines the Msg/CreateValidator response type. - cosmos.staking.v1beta1.MsgDelegate: - type: object - properties: - delegator_address: - type: string - validator_address: - type: string - amount: - type: object - properties: - denom: - type: string - amount: - type: string - description: |- - Coin defines a token with a denomination and an amount. - - NOTE: The amount field is an Int which implements the custom method - signatures required by gogoproto. - description: |- - MsgDelegate defines a SDK message for performing a delegation of coins - from a delegator to a validator. - cosmos.staking.v1beta1.MsgDelegateResponse: - type: object - description: MsgDelegateResponse defines the Msg/Delegate response type. - cosmos.staking.v1beta1.MsgEditValidator: - type: object - properties: - description: - type: object - properties: - moniker: - type: string - description: moniker defines a human-readable name for the validator. - identity: - type: string - description: >- - identity defines an optional identity signature (ex. UPort or - Keybase). - website: - type: string - description: website defines an optional website link. - security_contact: - type: string - description: security_contact defines an optional email for security contact. - details: - type: string - description: details define other optional details. - description: Description defines a validator description. - validator_address: - type: string - commission_rate: - type: string - title: >- - We pass a reference to the new commission rate and min self delegation - as - - it's not mandatory to update. If not updated, the deserialized rate - will be - - zero with no way to distinguish if an update was intended. - - REF: #2373 - min_self_delegation: - type: string - description: MsgEditValidator defines a SDK message for editing an existing validator. - cosmos.staking.v1beta1.MsgEditValidatorResponse: - type: object - description: MsgEditValidatorResponse defines the Msg/EditValidator response type. - cosmos.staking.v1beta1.MsgUndelegate: - type: object - properties: - delegator_address: - type: string - validator_address: - type: string - amount: - type: object - properties: - denom: - type: string - amount: - type: string - description: |- - Coin defines a token with a denomination and an amount. - - NOTE: The amount field is an Int which implements the custom method - signatures required by gogoproto. - description: |- - MsgUndelegate defines a SDK message for performing an undelegation from a - delegate and a validator. - cosmos.staking.v1beta1.MsgUndelegateResponse: - type: object - properties: - completion_time: - type: string - format: date-time - amount: - type: object - properties: - denom: - type: string - amount: - type: string - description: |- - Coin defines a token with a denomination and an amount. - - NOTE: The amount field is an Int which implements the custom method - signatures required by gogoproto. - title: amount returns the amount of undelegated coins - description: MsgUndelegateResponse defines the Msg/Undelegate response type. - cosmos.staking.v1beta1.MsgUpdateParams: - type: object - properties: - authority: - type: string - description: >- - authority is the address that controls the module (defaults to x/gov - unless overwritten). - params: - description: |- - params defines the x/staking parameters to update. - - NOTE: All parameters must be supplied. - type: object - properties: - unbonding_time: - type: string - description: unbonding_time is the time duration of unbonding. - max_validators: - type: integer - format: int64 - description: max_validators is the maximum number of validators. - max_entries: - type: integer - format: int64 - description: >- - max_entries is the max entries for either unbonding delegation or - redelegation (per pair/trio). - historical_entries: - type: integer - format: int64 - description: historical_entries is the number of historical entries to persist. - bond_denom: - type: string - description: bond_denom defines the bondable coin denomination. - min_commission_rate: - type: string - title: >- - min_commission_rate is the chain-wide minimum commission rate that - a validator can charge their delegators - description: |- - MsgUpdateParams is the Msg/UpdateParams request type. - - Since: cosmos-sdk 0.47 - cosmos.staking.v1beta1.MsgUpdateParamsResponse: - type: object - description: |- - MsgUpdateParamsResponse defines the response structure for executing a - MsgUpdateParams message. - - Since: cosmos-sdk 0.47 - cosmos.staking.v1beta1.Params: - type: object - properties: - unbonding_time: - type: string - description: unbonding_time is the time duration of unbonding. - max_validators: - type: integer - format: int64 - description: max_validators is the maximum number of validators. - max_entries: - type: integer - format: int64 - description: >- - max_entries is the max entries for either unbonding delegation or - redelegation (per pair/trio). - historical_entries: - type: integer - format: int64 - description: historical_entries is the number of historical entries to persist. - bond_denom: - type: string - description: bond_denom defines the bondable coin denomination. - min_commission_rate: - type: string - title: >- - min_commission_rate is the chain-wide minimum commission rate that a - validator can charge their delegators - description: Params defines the parameters for the x/staking module. - ibc.applications.fee.v1.Fee: - type: object - properties: - recv_fee: - type: array - items: - type: object - properties: - denom: - type: string - amount: - type: string - description: |- - Coin defines a token with a denomination and an amount. - - NOTE: The amount field is an Int which implements the custom method - signatures required by gogoproto. - title: the packet receive fee - ack_fee: - type: array - items: - type: object - properties: - denom: - type: string - amount: - type: string - description: |- - Coin defines a token with a denomination and an amount. - - NOTE: The amount field is an Int which implements the custom method - signatures required by gogoproto. - title: the packet acknowledgement fee - timeout_fee: - type: array - items: - type: object - properties: - denom: - type: string - amount: - type: string - description: |- - Coin defines a token with a denomination and an amount. - - NOTE: The amount field is an Int which implements the custom method - signatures required by gogoproto. - title: the packet timeout fee - title: Fee defines the ICS29 receive, acknowledgement and timeout fees - ibc.applications.fee.v1.MsgPayPacketFee: - type: object - properties: - fee: - title: >- - fee encapsulates the recv, ack and timeout fees associated with an IBC - packet - type: object - properties: - recv_fee: - type: array - items: - type: object - properties: - denom: - type: string - amount: - type: string - description: >- - Coin defines a token with a denomination and an amount. - - - NOTE: The amount field is an Int which implements the custom - method - - signatures required by gogoproto. - title: the packet receive fee - ack_fee: - type: array - items: - type: object - properties: - denom: - type: string - amount: - type: string - description: >- - Coin defines a token with a denomination and an amount. - - - NOTE: The amount field is an Int which implements the custom - method - - signatures required by gogoproto. - title: the packet acknowledgement fee - timeout_fee: - type: array - items: - type: object - properties: - denom: - type: string - amount: - type: string - description: >- - Coin defines a token with a denomination and an amount. - - - NOTE: The amount field is an Int which implements the custom - method - - signatures required by gogoproto. - title: the packet timeout fee - source_port_id: - type: string - title: the source port unique identifier - source_channel_id: - type: string - title: the source channel unique identifer - signer: - type: string - title: account address to refund fee if necessary - relayers: - type: array - items: - type: string - title: optional list of relayers permitted to the receive packet fees - title: >- - MsgPayPacketFee defines the request type for the PayPacketFee rpc - - This Msg can be used to pay for a packet at the next sequence send & - should be combined with the Msg that will be - - paid for - ibc.applications.fee.v1.MsgPayPacketFeeAsync: - type: object - properties: - packet_id: - title: >- - unique packet identifier comprised of the channel ID, port ID and - sequence - type: object - properties: - port_id: - type: string - title: channel port identifier - channel_id: - type: string - title: channel unique identifier - sequence: - type: string - format: uint64 - title: packet sequence - packet_fee: - title: the packet fee associated with a particular IBC packet - type: object - properties: - fee: - title: >- - fee encapsulates the recv, ack and timeout fees associated with an - IBC packet - type: object - properties: - recv_fee: - type: array - items: - type: object - properties: - denom: - type: string - amount: - type: string - description: >- - Coin defines a token with a denomination and an amount. - - - NOTE: The amount field is an Int which implements the custom - method - - signatures required by gogoproto. - title: the packet receive fee - ack_fee: - type: array - items: - type: object - properties: - denom: - type: string - amount: - type: string - description: >- - Coin defines a token with a denomination and an amount. - - - NOTE: The amount field is an Int which implements the custom - method - - signatures required by gogoproto. - title: the packet acknowledgement fee - timeout_fee: - type: array - items: - type: object - properties: - denom: - type: string - amount: - type: string - description: >- - Coin defines a token with a denomination and an amount. - - - NOTE: The amount field is an Int which implements the custom - method - - signatures required by gogoproto. - title: the packet timeout fee - refund_address: - type: string - title: the refund address for unspent fees - relayers: - type: array - items: - type: string - title: optional list of relayers permitted to receive fees - title: >- - MsgPayPacketFeeAsync defines the request type for the PayPacketFeeAsync - rpc - - This Msg can be used to pay for a packet at a specified sequence (instead - of the next sequence send) - ibc.applications.fee.v1.MsgPayPacketFeeAsyncResponse: - type: object - title: >- - MsgPayPacketFeeAsyncResponse defines the response type for the - PayPacketFeeAsync rpc - ibc.applications.fee.v1.MsgPayPacketFeeResponse: - type: object - title: MsgPayPacketFeeResponse defines the response type for the PayPacketFee rpc - ibc.applications.fee.v1.MsgRegisterCounterpartyPayee: - type: object - properties: - port_id: - type: string - title: unique port identifier - channel_id: - type: string - title: unique channel identifier - relayer: - type: string - title: the relayer address - counterparty_payee: - type: string - title: the counterparty payee address - title: >- - MsgRegisterCounterpartyPayee defines the request type for the - RegisterCounterpartyPayee rpc - ibc.applications.fee.v1.MsgRegisterCounterpartyPayeeResponse: - type: object - title: >- - MsgRegisterCounterpartyPayeeResponse defines the response type for the - RegisterCounterpartyPayee rpc - ibc.applications.fee.v1.MsgRegisterPayee: - type: object - properties: - port_id: - type: string - title: unique port identifier - channel_id: - type: string - title: unique channel identifier - relayer: - type: string - title: the relayer address - payee: - type: string - title: the payee address - title: MsgRegisterPayee defines the request type for the RegisterPayee rpc - ibc.applications.fee.v1.MsgRegisterPayeeResponse: - type: object - title: >- - MsgRegisterPayeeResponse defines the response type for the RegisterPayee - rpc - ibc.applications.fee.v1.PacketFee: - type: object - properties: - fee: - title: >- - fee encapsulates the recv, ack and timeout fees associated with an IBC - packet - type: object - properties: - recv_fee: - type: array - items: - type: object - properties: - denom: - type: string - amount: - type: string - description: >- - Coin defines a token with a denomination and an amount. - - - NOTE: The amount field is an Int which implements the custom - method - - signatures required by gogoproto. - title: the packet receive fee - ack_fee: - type: array - items: - type: object - properties: - denom: - type: string - amount: - type: string - description: >- - Coin defines a token with a denomination and an amount. - - - NOTE: The amount field is an Int which implements the custom - method - - signatures required by gogoproto. - title: the packet acknowledgement fee - timeout_fee: - type: array - items: - type: object - properties: - denom: - type: string - amount: - type: string - description: >- - Coin defines a token with a denomination and an amount. - - - NOTE: The amount field is an Int which implements the custom - method - - signatures required by gogoproto. - title: the packet timeout fee - refund_address: - type: string - title: the refund address for unspent fees - relayers: - type: array - items: - type: string - title: optional list of relayers permitted to receive fees - title: >- - PacketFee contains ICS29 relayer fees, refund address and optional list of - permitted relayers - ibc.core.channel.v1.PacketId: - type: object - properties: - port_id: - type: string - title: channel port identifier - channel_id: - type: string - title: channel unique identifier - sequence: - type: string - format: uint64 - title: packet sequence - title: |- - PacketId is an identifer for a unique Packet - Source chains refer to packets by source port/channel - Destination chains refer to packets by destination port/channel - ibc.applications.interchain_accounts.controller.v1.MsgRegisterInterchainAccount: - type: object - properties: - owner: - type: string - connection_id: - type: string - version: - type: string - title: MsgRegisterInterchainAccount defines the payload for Msg/RegisterAccount - ibc.applications.interchain_accounts.controller.v1.MsgRegisterInterchainAccountResponse: - type: object - properties: - channel_id: - type: string - port_id: - type: string - title: >- - MsgRegisterInterchainAccountResponse defines the response for - Msg/RegisterAccount - ibc.applications.interchain_accounts.controller.v1.MsgSendTx: - type: object - properties: - owner: - type: string - connection_id: - type: string - packet_data: - type: object - properties: - type: - type: string - enum: - - TYPE_UNSPECIFIED - - TYPE_EXECUTE_TX - default: TYPE_UNSPECIFIED - description: |- - - TYPE_UNSPECIFIED: Default zero value enumeration - - TYPE_EXECUTE_TX: Execute a transaction on an interchain accounts host chain - title: >- - Type defines a classification of message issued from a controller - chain to its associated interchain accounts - - host - data: - type: string - format: byte - memo: - type: string - description: >- - InterchainAccountPacketData is comprised of a raw transaction, type of - transaction and optional memo field. - relative_timeout: - type: string - format: uint64 - description: >- - Relative timeout timestamp provided will be added to the current block - time during transaction execution. - - The timeout timestamp must be non-zero. - title: MsgSendTx defines the payload for Msg/SendTx - ibc.applications.interchain_accounts.controller.v1.MsgSendTxResponse: - type: object - properties: - sequence: - type: string - format: uint64 - title: MsgSendTxResponse defines the response for MsgSendTx - ibc.applications.interchain_accounts.controller.v1.MsgUpdateParams: - type: object - properties: - signer: - type: string - title: signer address - params: - description: >- - params defines the 27-interchain-accounts/controller parameters to - update. - - - NOTE: All parameters must be supplied. - type: object - properties: - controller_enabled: - type: boolean - description: controller_enabled enables or disables the controller submodule. - title: MsgUpdateParams defines the payload for Msg/UpdateParams - ibc.applications.interchain_accounts.controller.v1.MsgUpdateParamsResponse: - type: object - title: MsgUpdateParamsResponse defines the response for Msg/UpdateParams - ibc.applications.interchain_accounts.controller.v1.Params: - type: object - properties: - controller_enabled: - type: boolean - description: controller_enabled enables or disables the controller submodule. - description: |- - Params defines the set of on-chain interchain accounts parameters. - The following parameters may be used to disable the controller submodule. - ibc.applications.interchain_accounts.v1.InterchainAccountPacketData: - type: object - properties: - type: - type: string - enum: - - TYPE_UNSPECIFIED - - TYPE_EXECUTE_TX - default: TYPE_UNSPECIFIED - description: |- - - TYPE_UNSPECIFIED: Default zero value enumeration - - TYPE_EXECUTE_TX: Execute a transaction on an interchain accounts host chain - title: >- - Type defines a classification of message issued from a controller - chain to its associated interchain accounts - - host - data: - type: string - format: byte - memo: - type: string - description: >- - InterchainAccountPacketData is comprised of a raw transaction, type of - transaction and optional memo field. - ibc.applications.interchain_accounts.v1.Type: - type: string - enum: - - TYPE_UNSPECIFIED - - TYPE_EXECUTE_TX - default: TYPE_UNSPECIFIED - description: |- - - TYPE_UNSPECIFIED: Default zero value enumeration - - TYPE_EXECUTE_TX: Execute a transaction on an interchain accounts host chain - title: >- - Type defines a classification of message issued from a controller chain to - its associated interchain accounts - - host - ibc.applications.interchain_accounts.host.v1.MsgUpdateParams: - type: object - properties: - signer: - type: string - title: signer address - params: - description: |- - params defines the 27-interchain-accounts/host parameters to update. - - NOTE: All parameters must be supplied. - type: object - properties: - host_enabled: - type: boolean - description: host_enabled enables or disables the host submodule. - allow_messages: - type: array - items: - type: string - description: >- - allow_messages defines a list of sdk message typeURLs allowed to - be executed on a host chain. - title: MsgUpdateParams defines the payload for Msg/UpdateParams - ibc.applications.interchain_accounts.host.v1.MsgUpdateParamsResponse: - type: object - title: MsgUpdateParamsResponse defines the response for Msg/UpdateParams - ibc.applications.interchain_accounts.host.v1.Params: - type: object - properties: - host_enabled: - type: boolean - description: host_enabled enables or disables the host submodule. - allow_messages: - type: array - items: - type: string - description: >- - allow_messages defines a list of sdk message typeURLs allowed to be - executed on a host chain. - description: |- - Params defines the set of on-chain interchain accounts parameters. - The following parameters may be used to disable the host submodule. - ibc.applications.transfer.v1.MsgTransfer: - type: object - properties: - source_port: - type: string - title: the port on which the packet will be sent - source_channel: - type: string - title: the channel by which the packet will be sent - token: - title: the tokens to be transferred - type: object - properties: - denom: - type: string - amount: - type: string - description: |- - Coin defines a token with a denomination and an amount. - - NOTE: The amount field is an Int which implements the custom method - signatures required by gogoproto. - sender: - type: string - title: the sender address - receiver: - type: string - title: the recipient address on the destination chain - timeout_height: - description: |- - Timeout height relative to the current block height. - The timeout is disabled when set to 0. - type: object - properties: - revision_number: - type: string - format: uint64 - title: the revision that the client is currently on - revision_height: - type: string - format: uint64 - title: the height within the given revision - title: >- - Height is a monotonically increasing data type - - that can be compared against another Height for the purposes of - updating and - - freezing clients - timeout_timestamp: - type: string - format: uint64 - description: |- - Timeout timestamp in absolute nanoseconds since unix epoch. - The timeout is disabled when set to 0. - memo: - type: string - title: optional memo - title: >- - MsgTransfer defines a msg to transfer fungible tokens (i.e Coins) between - - ICS20 enabled chains. See ICS Spec here: - - https://github.com/cosmos/ibc/tree/master/spec/app/ics-020-fungible-token-transfer#data-structures - ibc.applications.transfer.v1.MsgTransferResponse: - type: object - properties: - sequence: - type: string - format: uint64 - title: sequence number of the transfer packet sent - description: MsgTransferResponse defines the Msg/Transfer response type. - ibc.applications.transfer.v1.MsgUpdateParams: - type: object - properties: - signer: - type: string - title: signer address - params: - description: |- - params defines the transfer parameters to update. - - NOTE: All parameters must be supplied. - type: object - properties: - send_enabled: - type: boolean - description: >- - send_enabled enables or disables all cross-chain token transfers - from this - - chain. - receive_enabled: - type: boolean - description: >- - receive_enabled enables or disables all cross-chain token - transfers to this - - chain. - description: MsgUpdateParams is the Msg/UpdateParams request type. - ibc.applications.transfer.v1.MsgUpdateParamsResponse: - type: object - description: |- - MsgUpdateParamsResponse defines the response structure for executing a - MsgUpdateParams message. - ibc.applications.transfer.v1.Params: - type: object - properties: - send_enabled: - type: boolean - description: >- - send_enabled enables or disables all cross-chain token transfers from - this - - chain. - receive_enabled: - type: boolean - description: >- - receive_enabled enables or disables all cross-chain token transfers to - this - - chain. - description: >- - Params defines the set of IBC transfer parameters. - - NOTE: To prevent a single token from being transferred, set the - - TransfersEnabled parameter to true and then set the bank module's - SendEnabled - - parameter for the denomination to false. - ibc.core.client.v1.Height: - type: object - properties: - revision_number: - type: string - format: uint64 - title: the revision that the client is currently on - revision_height: - type: string - format: uint64 - title: the height within the given revision - description: |- - Normally the RevisionHeight is incremented at each height while keeping - RevisionNumber the same. However some consensus algorithms may choose to - reset the height in certain conditions e.g. hard forks, state-machine - breaking changes In these cases, the RevisionNumber is incremented so that - height continues to be monitonically increasing even as the RevisionHeight - gets reset - title: >- - Height is a monotonically increasing data type - - that can be compared against another Height for the purposes of updating - and - - freezing clients - ibc.core.channel.v1.Channel: - type: object - properties: - state: - title: current state of the channel end - type: string - enum: - - STATE_UNINITIALIZED_UNSPECIFIED - - STATE_INIT - - STATE_TRYOPEN - - STATE_OPEN - - STATE_CLOSED - default: STATE_UNINITIALIZED_UNSPECIFIED - description: |- - State defines if a channel is in one of the following states: - CLOSED, INIT, TRYOPEN, OPEN or UNINITIALIZED. - - - STATE_UNINITIALIZED_UNSPECIFIED: Default State - - STATE_INIT: A channel has just started the opening handshake. - - STATE_TRYOPEN: A channel has acknowledged the handshake step on the counterparty chain. - - STATE_OPEN: A channel has completed the handshake. Open channels are - ready to send and receive packets. - - STATE_CLOSED: A channel has been closed and can no longer be used to send or receive - packets. - ordering: - title: whether the channel is ordered or unordered - type: string - enum: - - ORDER_NONE_UNSPECIFIED - - ORDER_UNORDERED - - ORDER_ORDERED - default: ORDER_NONE_UNSPECIFIED - description: |- - - ORDER_NONE_UNSPECIFIED: zero-value for channel ordering - - ORDER_UNORDERED: packets can be delivered in any order, which may differ from the order in - which they were sent. - - ORDER_ORDERED: packets are delivered exactly in the order which they were sent - counterparty: - title: counterparty channel end - type: object - properties: - port_id: - type: string - description: >- - port on the counterparty chain which owns the other end of the - channel. - channel_id: - type: string - title: channel end on the counterparty chain - connection_hops: - type: array - items: - type: string - title: |- - list of connection identifiers, in order, along which packets sent on - this channel will travel - version: - type: string - title: opaque channel version, which is agreed upon during the handshake - description: |- - Channel defines pipeline for exactly-once packet delivery between specific - modules on separate blockchains, which has at least one end capable of - sending packets and one end capable of receiving packets. - ibc.core.channel.v1.Counterparty: - type: object - properties: - port_id: - type: string - description: >- - port on the counterparty chain which owns the other end of the - channel. - channel_id: - type: string - title: channel end on the counterparty chain - title: Counterparty defines a channel end counterparty - ibc.core.channel.v1.MsgAcknowledgement: - type: object - properties: - packet: - type: object - properties: - sequence: - type: string - format: uint64 - description: >- - number corresponds to the order of sends and receives, where a - Packet - - with an earlier sequence number must be sent and received before a - Packet - - with a later sequence number. - source_port: - type: string - description: identifies the port on the sending chain. - source_channel: - type: string - description: identifies the channel end on the sending chain. - destination_port: - type: string - description: identifies the port on the receiving chain. - destination_channel: - type: string - description: identifies the channel end on the receiving chain. - data: - type: string - format: byte - title: actual opaque bytes transferred directly to the application module - timeout_height: - title: block height after which the packet times out - type: object - properties: - revision_number: - type: string - format: uint64 - title: the revision that the client is currently on - revision_height: - type: string - format: uint64 - title: the height within the given revision - description: >- - Normally the RevisionHeight is incremented at each height while - keeping - - RevisionNumber the same. However some consensus algorithms may - choose to - - reset the height in certain conditions e.g. hard forks, - state-machine - - breaking changes In these cases, the RevisionNumber is incremented - so that - - height continues to be monitonically increasing even as the - RevisionHeight - - gets reset - timeout_timestamp: - type: string - format: uint64 - title: block timestamp (in nanoseconds) after which the packet times out - title: >- - Packet defines a type that carries data across different chains - through IBC - acknowledgement: - type: string - format: byte - proof_acked: - type: string - format: byte - proof_height: - type: object - properties: - revision_number: - type: string - format: uint64 - title: the revision that the client is currently on - revision_height: - type: string - format: uint64 - title: the height within the given revision - description: >- - Normally the RevisionHeight is incremented at each height while - keeping - - RevisionNumber the same. However some consensus algorithms may choose - to - - reset the height in certain conditions e.g. hard forks, state-machine - - breaking changes In these cases, the RevisionNumber is incremented so - that - - height continues to be monitonically increasing even as the - RevisionHeight - - gets reset - title: >- - Height is a monotonically increasing data type - - that can be compared against another Height for the purposes of - updating and - - freezing clients - signer: - type: string - title: MsgAcknowledgement receives incoming IBC acknowledgement - ibc.core.channel.v1.MsgAcknowledgementResponse: - type: object - properties: - result: - type: string - enum: - - RESPONSE_RESULT_TYPE_UNSPECIFIED - - RESPONSE_RESULT_TYPE_NOOP - - RESPONSE_RESULT_TYPE_SUCCESS - default: RESPONSE_RESULT_TYPE_UNSPECIFIED - description: |- - - RESPONSE_RESULT_TYPE_UNSPECIFIED: Default zero value enumeration - - RESPONSE_RESULT_TYPE_NOOP: The message did not call the IBC application callbacks (because, for example, the packet had already been relayed) - - RESPONSE_RESULT_TYPE_SUCCESS: The message was executed successfully - title: >- - ResponseResultType defines the possible outcomes of the execution of a - message - description: MsgAcknowledgementResponse defines the Msg/Acknowledgement response type. - ibc.core.channel.v1.MsgChannelCloseConfirm: - type: object - properties: - port_id: - type: string - channel_id: - type: string - proof_init: - type: string - format: byte - proof_height: - type: object - properties: - revision_number: - type: string - format: uint64 - title: the revision that the client is currently on - revision_height: - type: string - format: uint64 - title: the height within the given revision - description: >- - Normally the RevisionHeight is incremented at each height while - keeping - - RevisionNumber the same. However some consensus algorithms may choose - to - - reset the height in certain conditions e.g. hard forks, state-machine - - breaking changes In these cases, the RevisionNumber is incremented so - that - - height continues to be monitonically increasing even as the - RevisionHeight - - gets reset - title: >- - Height is a monotonically increasing data type - - that can be compared against another Height for the purposes of - updating and - - freezing clients - signer: - type: string - description: |- - MsgChannelCloseConfirm defines a msg sent by a Relayer to Chain B - to acknowledge the change of channel state to CLOSED on Chain A. - ibc.core.channel.v1.MsgChannelCloseConfirmResponse: - type: object - description: >- - MsgChannelCloseConfirmResponse defines the Msg/ChannelCloseConfirm - response - - type. - ibc.core.channel.v1.MsgChannelCloseInit: - type: object - properties: - port_id: - type: string - channel_id: - type: string - signer: - type: string - description: |- - MsgChannelCloseInit defines a msg sent by a Relayer to Chain A - to close a channel with Chain B. - ibc.core.channel.v1.MsgChannelCloseInitResponse: - type: object - description: >- - MsgChannelCloseInitResponse defines the Msg/ChannelCloseInit response - type. - ibc.core.channel.v1.MsgChannelOpenAck: - type: object - properties: - port_id: - type: string - channel_id: - type: string - counterparty_channel_id: - type: string - counterparty_version: - type: string - proof_try: - type: string - format: byte - proof_height: - type: object - properties: - revision_number: - type: string - format: uint64 - title: the revision that the client is currently on - revision_height: - type: string - format: uint64 - title: the height within the given revision - description: >- - Normally the RevisionHeight is incremented at each height while - keeping - - RevisionNumber the same. However some consensus algorithms may choose - to - - reset the height in certain conditions e.g. hard forks, state-machine - - breaking changes In these cases, the RevisionNumber is incremented so - that - - height continues to be monitonically increasing even as the - RevisionHeight - - gets reset - title: >- - Height is a monotonically increasing data type - - that can be compared against another Height for the purposes of - updating and - - freezing clients - signer: - type: string - description: >- - MsgChannelOpenAck defines a msg sent by a Relayer to Chain A to - acknowledge - - the change of channel state to TRYOPEN on Chain B. - ibc.core.channel.v1.MsgChannelOpenAckResponse: - type: object - description: MsgChannelOpenAckResponse defines the Msg/ChannelOpenAck response type. - ibc.core.channel.v1.MsgChannelOpenConfirm: - type: object - properties: - port_id: - type: string - channel_id: - type: string - proof_ack: - type: string - format: byte - proof_height: - type: object - properties: - revision_number: - type: string - format: uint64 - title: the revision that the client is currently on - revision_height: - type: string - format: uint64 - title: the height within the given revision - description: >- - Normally the RevisionHeight is incremented at each height while - keeping - - RevisionNumber the same. However some consensus algorithms may choose - to - - reset the height in certain conditions e.g. hard forks, state-machine - - breaking changes In these cases, the RevisionNumber is incremented so - that - - height continues to be monitonically increasing even as the - RevisionHeight - - gets reset - title: >- - Height is a monotonically increasing data type - - that can be compared against another Height for the purposes of - updating and - - freezing clients - signer: - type: string - description: |- - MsgChannelOpenConfirm defines a msg sent by a Relayer to Chain B to - acknowledge the change of channel state to OPEN on Chain A. - ibc.core.channel.v1.MsgChannelOpenConfirmResponse: - type: object - description: |- - MsgChannelOpenConfirmResponse defines the Msg/ChannelOpenConfirm response - type. - ibc.core.channel.v1.MsgChannelOpenInit: - type: object - properties: - port_id: - type: string - channel: - type: object - properties: - state: - title: current state of the channel end - type: string - enum: - - STATE_UNINITIALIZED_UNSPECIFIED - - STATE_INIT - - STATE_TRYOPEN - - STATE_OPEN - - STATE_CLOSED - default: STATE_UNINITIALIZED_UNSPECIFIED - description: |- - State defines if a channel is in one of the following states: - CLOSED, INIT, TRYOPEN, OPEN or UNINITIALIZED. - - - STATE_UNINITIALIZED_UNSPECIFIED: Default State - - STATE_INIT: A channel has just started the opening handshake. - - STATE_TRYOPEN: A channel has acknowledged the handshake step on the counterparty chain. - - STATE_OPEN: A channel has completed the handshake. Open channels are - ready to send and receive packets. - - STATE_CLOSED: A channel has been closed and can no longer be used to send or receive - packets. - ordering: - title: whether the channel is ordered or unordered - type: string - enum: - - ORDER_NONE_UNSPECIFIED - - ORDER_UNORDERED - - ORDER_ORDERED - default: ORDER_NONE_UNSPECIFIED - description: |- - - ORDER_NONE_UNSPECIFIED: zero-value for channel ordering - - ORDER_UNORDERED: packets can be delivered in any order, which may differ from the order in - which they were sent. - - ORDER_ORDERED: packets are delivered exactly in the order which they were sent - counterparty: - title: counterparty channel end - type: object - properties: - port_id: - type: string - description: >- - port on the counterparty chain which owns the other end of the - channel. - channel_id: - type: string - title: channel end on the counterparty chain - connection_hops: - type: array - items: - type: string - title: >- - list of connection identifiers, in order, along which packets sent - on - - this channel will travel - version: - type: string - title: opaque channel version, which is agreed upon during the handshake - description: >- - Channel defines pipeline for exactly-once packet delivery between - specific - - modules on separate blockchains, which has at least one end capable of - - sending packets and one end capable of receiving packets. - signer: - type: string - description: >- - MsgChannelOpenInit defines an sdk.Msg to initialize a channel handshake. - It - - is called by a relayer on Chain A. - ibc.core.channel.v1.MsgChannelOpenInitResponse: - type: object - properties: - channel_id: - type: string - version: - type: string - description: MsgChannelOpenInitResponse defines the Msg/ChannelOpenInit response type. - ibc.core.channel.v1.MsgChannelOpenTry: - type: object - properties: - port_id: - type: string - previous_channel_id: - type: string - description: >- - Deprecated: this field is unused. Crossing hello's are no longer - supported in core IBC. - channel: - type: object - properties: - state: - title: current state of the channel end - type: string - enum: - - STATE_UNINITIALIZED_UNSPECIFIED - - STATE_INIT - - STATE_TRYOPEN - - STATE_OPEN - - STATE_CLOSED - default: STATE_UNINITIALIZED_UNSPECIFIED - description: |- - State defines if a channel is in one of the following states: - CLOSED, INIT, TRYOPEN, OPEN or UNINITIALIZED. - - - STATE_UNINITIALIZED_UNSPECIFIED: Default State - - STATE_INIT: A channel has just started the opening handshake. - - STATE_TRYOPEN: A channel has acknowledged the handshake step on the counterparty chain. - - STATE_OPEN: A channel has completed the handshake. Open channels are - ready to send and receive packets. - - STATE_CLOSED: A channel has been closed and can no longer be used to send or receive - packets. - ordering: - title: whether the channel is ordered or unordered - type: string - enum: - - ORDER_NONE_UNSPECIFIED - - ORDER_UNORDERED - - ORDER_ORDERED - default: ORDER_NONE_UNSPECIFIED - description: |- - - ORDER_NONE_UNSPECIFIED: zero-value for channel ordering - - ORDER_UNORDERED: packets can be delivered in any order, which may differ from the order in - which they were sent. - - ORDER_ORDERED: packets are delivered exactly in the order which they were sent - counterparty: - title: counterparty channel end - type: object - properties: - port_id: - type: string - description: >- - port on the counterparty chain which owns the other end of the - channel. - channel_id: - type: string - title: channel end on the counterparty chain - connection_hops: - type: array - items: - type: string - title: >- - list of connection identifiers, in order, along which packets sent - on - - this channel will travel - version: - type: string - title: opaque channel version, which is agreed upon during the handshake - description: >- - Channel defines pipeline for exactly-once packet delivery between - specific - - modules on separate blockchains, which has at least one end capable of - - sending packets and one end capable of receiving packets. - counterparty_version: - type: string - proof_init: - type: string - format: byte - proof_height: - type: object - properties: - revision_number: - type: string - format: uint64 - title: the revision that the client is currently on - revision_height: - type: string - format: uint64 - title: the height within the given revision - description: >- - Normally the RevisionHeight is incremented at each height while - keeping - - RevisionNumber the same. However some consensus algorithms may choose - to - - reset the height in certain conditions e.g. hard forks, state-machine - - breaking changes In these cases, the RevisionNumber is incremented so - that - - height continues to be monitonically increasing even as the - RevisionHeight - - gets reset - title: >- - Height is a monotonically increasing data type - - that can be compared against another Height for the purposes of - updating and - - freezing clients - signer: - type: string - description: >- - MsgChannelOpenInit defines a msg sent by a Relayer to try to open a - channel - - on Chain B. The version field within the Channel field has been - deprecated. Its - - value will be ignored by core IBC. - ibc.core.channel.v1.MsgChannelOpenTryResponse: - type: object - properties: - version: - type: string - channel_id: - type: string - description: MsgChannelOpenTryResponse defines the Msg/ChannelOpenTry response type. - ibc.core.channel.v1.MsgRecvPacket: - type: object - properties: - packet: - type: object - properties: - sequence: - type: string - format: uint64 - description: >- - number corresponds to the order of sends and receives, where a - Packet - - with an earlier sequence number must be sent and received before a - Packet - - with a later sequence number. - source_port: - type: string - description: identifies the port on the sending chain. - source_channel: - type: string - description: identifies the channel end on the sending chain. - destination_port: - type: string - description: identifies the port on the receiving chain. - destination_channel: - type: string - description: identifies the channel end on the receiving chain. - data: - type: string - format: byte - title: actual opaque bytes transferred directly to the application module - timeout_height: - title: block height after which the packet times out - type: object - properties: - revision_number: - type: string - format: uint64 - title: the revision that the client is currently on - revision_height: - type: string - format: uint64 - title: the height within the given revision - description: >- - Normally the RevisionHeight is incremented at each height while - keeping - - RevisionNumber the same. However some consensus algorithms may - choose to - - reset the height in certain conditions e.g. hard forks, - state-machine - - breaking changes In these cases, the RevisionNumber is incremented - so that - - height continues to be monitonically increasing even as the - RevisionHeight - - gets reset - timeout_timestamp: - type: string - format: uint64 - title: block timestamp (in nanoseconds) after which the packet times out - title: >- - Packet defines a type that carries data across different chains - through IBC - proof_commitment: - type: string - format: byte - proof_height: - type: object - properties: - revision_number: - type: string - format: uint64 - title: the revision that the client is currently on - revision_height: - type: string - format: uint64 - title: the height within the given revision - description: >- - Normally the RevisionHeight is incremented at each height while - keeping - - RevisionNumber the same. However some consensus algorithms may choose - to - - reset the height in certain conditions e.g. hard forks, state-machine - - breaking changes In these cases, the RevisionNumber is incremented so - that - - height continues to be monitonically increasing even as the - RevisionHeight - - gets reset - title: >- - Height is a monotonically increasing data type - - that can be compared against another Height for the purposes of - updating and - - freezing clients - signer: - type: string - title: MsgRecvPacket receives incoming IBC packet - ibc.core.channel.v1.MsgRecvPacketResponse: - type: object - properties: - result: - type: string - enum: - - RESPONSE_RESULT_TYPE_UNSPECIFIED - - RESPONSE_RESULT_TYPE_NOOP - - RESPONSE_RESULT_TYPE_SUCCESS - default: RESPONSE_RESULT_TYPE_UNSPECIFIED - description: |- - - RESPONSE_RESULT_TYPE_UNSPECIFIED: Default zero value enumeration - - RESPONSE_RESULT_TYPE_NOOP: The message did not call the IBC application callbacks (because, for example, the packet had already been relayed) - - RESPONSE_RESULT_TYPE_SUCCESS: The message was executed successfully - title: >- - ResponseResultType defines the possible outcomes of the execution of a - message - description: MsgRecvPacketResponse defines the Msg/RecvPacket response type. - ibc.core.channel.v1.MsgTimeout: - type: object - properties: - packet: - type: object - properties: - sequence: - type: string - format: uint64 - description: >- - number corresponds to the order of sends and receives, where a - Packet - - with an earlier sequence number must be sent and received before a - Packet - - with a later sequence number. - source_port: - type: string - description: identifies the port on the sending chain. - source_channel: - type: string - description: identifies the channel end on the sending chain. - destination_port: - type: string - description: identifies the port on the receiving chain. - destination_channel: - type: string - description: identifies the channel end on the receiving chain. - data: - type: string - format: byte - title: actual opaque bytes transferred directly to the application module - timeout_height: - title: block height after which the packet times out - type: object - properties: - revision_number: - type: string - format: uint64 - title: the revision that the client is currently on - revision_height: - type: string - format: uint64 - title: the height within the given revision - description: >- - Normally the RevisionHeight is incremented at each height while - keeping - - RevisionNumber the same. However some consensus algorithms may - choose to - - reset the height in certain conditions e.g. hard forks, - state-machine - - breaking changes In these cases, the RevisionNumber is incremented - so that - - height continues to be monitonically increasing even as the - RevisionHeight - - gets reset - timeout_timestamp: - type: string - format: uint64 - title: block timestamp (in nanoseconds) after which the packet times out - title: >- - Packet defines a type that carries data across different chains - through IBC - proof_unreceived: - type: string - format: byte - proof_height: - type: object - properties: - revision_number: - type: string - format: uint64 - title: the revision that the client is currently on - revision_height: - type: string - format: uint64 - title: the height within the given revision - description: >- - Normally the RevisionHeight is incremented at each height while - keeping - - RevisionNumber the same. However some consensus algorithms may choose - to - - reset the height in certain conditions e.g. hard forks, state-machine - - breaking changes In these cases, the RevisionNumber is incremented so - that - - height continues to be monitonically increasing even as the - RevisionHeight - - gets reset - title: >- - Height is a monotonically increasing data type - - that can be compared against another Height for the purposes of - updating and - - freezing clients - next_sequence_recv: - type: string - format: uint64 - signer: - type: string - title: MsgTimeout receives timed-out packet - ibc.core.channel.v1.MsgTimeoutOnClose: - type: object - properties: - packet: - type: object - properties: - sequence: - type: string - format: uint64 - description: >- - number corresponds to the order of sends and receives, where a - Packet - - with an earlier sequence number must be sent and received before a - Packet - - with a later sequence number. - source_port: - type: string - description: identifies the port on the sending chain. - source_channel: - type: string - description: identifies the channel end on the sending chain. - destination_port: - type: string - description: identifies the port on the receiving chain. - destination_channel: - type: string - description: identifies the channel end on the receiving chain. - data: - type: string - format: byte - title: actual opaque bytes transferred directly to the application module - timeout_height: - title: block height after which the packet times out - type: object - properties: - revision_number: - type: string - format: uint64 - title: the revision that the client is currently on - revision_height: - type: string - format: uint64 - title: the height within the given revision - description: >- - Normally the RevisionHeight is incremented at each height while - keeping - - RevisionNumber the same. However some consensus algorithms may - choose to - - reset the height in certain conditions e.g. hard forks, - state-machine - - breaking changes In these cases, the RevisionNumber is incremented - so that - - height continues to be monitonically increasing even as the - RevisionHeight - - gets reset - timeout_timestamp: - type: string - format: uint64 - title: block timestamp (in nanoseconds) after which the packet times out - title: >- - Packet defines a type that carries data across different chains - through IBC - proof_unreceived: - type: string - format: byte - proof_close: - type: string - format: byte - proof_height: - type: object - properties: - revision_number: - type: string - format: uint64 - title: the revision that the client is currently on - revision_height: - type: string - format: uint64 - title: the height within the given revision - description: >- - Normally the RevisionHeight is incremented at each height while - keeping - - RevisionNumber the same. However some consensus algorithms may choose - to - - reset the height in certain conditions e.g. hard forks, state-machine - - breaking changes In these cases, the RevisionNumber is incremented so - that - - height continues to be monitonically increasing even as the - RevisionHeight - - gets reset - title: >- - Height is a monotonically increasing data type - - that can be compared against another Height for the purposes of - updating and - - freezing clients - next_sequence_recv: - type: string - format: uint64 - signer: - type: string - description: MsgTimeoutOnClose timed-out packet upon counterparty channel closure. - ibc.core.channel.v1.MsgTimeoutOnCloseResponse: - type: object - properties: - result: - type: string - enum: - - RESPONSE_RESULT_TYPE_UNSPECIFIED - - RESPONSE_RESULT_TYPE_NOOP - - RESPONSE_RESULT_TYPE_SUCCESS - default: RESPONSE_RESULT_TYPE_UNSPECIFIED - description: |- - - RESPONSE_RESULT_TYPE_UNSPECIFIED: Default zero value enumeration - - RESPONSE_RESULT_TYPE_NOOP: The message did not call the IBC application callbacks (because, for example, the packet had already been relayed) - - RESPONSE_RESULT_TYPE_SUCCESS: The message was executed successfully - title: >- - ResponseResultType defines the possible outcomes of the execution of a - message - description: MsgTimeoutOnCloseResponse defines the Msg/TimeoutOnClose response type. - ibc.core.channel.v1.MsgTimeoutResponse: - type: object - properties: - result: - type: string - enum: - - RESPONSE_RESULT_TYPE_UNSPECIFIED - - RESPONSE_RESULT_TYPE_NOOP - - RESPONSE_RESULT_TYPE_SUCCESS - default: RESPONSE_RESULT_TYPE_UNSPECIFIED - description: |- - - RESPONSE_RESULT_TYPE_UNSPECIFIED: Default zero value enumeration - - RESPONSE_RESULT_TYPE_NOOP: The message did not call the IBC application callbacks (because, for example, the packet had already been relayed) - - RESPONSE_RESULT_TYPE_SUCCESS: The message was executed successfully - title: >- - ResponseResultType defines the possible outcomes of the execution of a - message - description: MsgTimeoutResponse defines the Msg/Timeout response type. - ibc.core.channel.v1.Order: - type: string - enum: - - ORDER_NONE_UNSPECIFIED - - ORDER_UNORDERED - - ORDER_ORDERED - default: ORDER_NONE_UNSPECIFIED - description: |- - - ORDER_NONE_UNSPECIFIED: zero-value for channel ordering - - ORDER_UNORDERED: packets can be delivered in any order, which may differ from the order in - which they were sent. - - ORDER_ORDERED: packets are delivered exactly in the order which they were sent - title: Order defines if a channel is ORDERED or UNORDERED - ibc.core.channel.v1.Packet: - type: object - properties: - sequence: - type: string - format: uint64 - description: >- - number corresponds to the order of sends and receives, where a Packet - - with an earlier sequence number must be sent and received before a - Packet - - with a later sequence number. - source_port: - type: string - description: identifies the port on the sending chain. - source_channel: - type: string - description: identifies the channel end on the sending chain. - destination_port: - type: string - description: identifies the port on the receiving chain. - destination_channel: - type: string - description: identifies the channel end on the receiving chain. - data: - type: string - format: byte - title: actual opaque bytes transferred directly to the application module - timeout_height: - title: block height after which the packet times out - type: object - properties: - revision_number: - type: string - format: uint64 - title: the revision that the client is currently on - revision_height: - type: string - format: uint64 - title: the height within the given revision - description: >- - Normally the RevisionHeight is incremented at each height while - keeping - - RevisionNumber the same. However some consensus algorithms may choose - to - - reset the height in certain conditions e.g. hard forks, state-machine - - breaking changes In these cases, the RevisionNumber is incremented so - that - - height continues to be monitonically increasing even as the - RevisionHeight - - gets reset - timeout_timestamp: - type: string - format: uint64 - title: block timestamp (in nanoseconds) after which the packet times out - title: >- - Packet defines a type that carries data across different chains through - IBC - ibc.core.channel.v1.ResponseResultType: - type: string - enum: - - RESPONSE_RESULT_TYPE_UNSPECIFIED - - RESPONSE_RESULT_TYPE_NOOP - - RESPONSE_RESULT_TYPE_SUCCESS - default: RESPONSE_RESULT_TYPE_UNSPECIFIED - description: |- - - RESPONSE_RESULT_TYPE_UNSPECIFIED: Default zero value enumeration - - RESPONSE_RESULT_TYPE_NOOP: The message did not call the IBC application callbacks (because, for example, the packet had already been relayed) - - RESPONSE_RESULT_TYPE_SUCCESS: The message was executed successfully - title: >- - ResponseResultType defines the possible outcomes of the execution of a - message - ibc.core.channel.v1.State: - type: string - enum: - - STATE_UNINITIALIZED_UNSPECIFIED - - STATE_INIT - - STATE_TRYOPEN - - STATE_OPEN - - STATE_CLOSED - default: STATE_UNINITIALIZED_UNSPECIFIED - description: |- - State defines if a channel is in one of the following states: - CLOSED, INIT, TRYOPEN, OPEN or UNINITIALIZED. - - - STATE_UNINITIALIZED_UNSPECIFIED: Default State - - STATE_INIT: A channel has just started the opening handshake. - - STATE_TRYOPEN: A channel has acknowledged the handshake step on the counterparty chain. - - STATE_OPEN: A channel has completed the handshake. Open channels are - ready to send and receive packets. - - STATE_CLOSED: A channel has been closed and can no longer be used to send or receive - packets. - cosmos.upgrade.v1beta1.Plan: - type: object - properties: - name: - type: string - description: >- - Sets the name for the upgrade. This name will be used by the upgraded - - version of the software to apply any special "on-upgrade" commands - during - - the first BeginBlock method after the upgrade is applied. It is also - used - - to detect whether a software version can handle a given upgrade. If no - - upgrade handler with this name has been set in the software, it will - be - - assumed that the software is out-of-date when the upgrade Time or - Height is - - reached and the software will exit. - time: - type: string - format: date-time - description: >- - Deprecated: Time based upgrades have been deprecated. Time based - upgrade logic - - has been removed from the SDK. - - If this field is not empty, an error will be thrown. - height: - type: string - format: int64 - description: The height at which the upgrade must be performed. - info: - type: string - title: |- - Any application specific upgrade info to be included on-chain - such as a git commit that validators could automatically upgrade to - upgraded_client_state: - description: >- - Deprecated: UpgradedClientState field has been deprecated. IBC upgrade - logic has been - - moved to the IBC module in the sub module 02-client. - - If this field is not empty, an error will be thrown. - type: object - properties: - '@type': - type: string - description: >- - A URL/resource name that uniquely identifies the type of the - serialized - - protocol buffer message. This string must contain at least - - one "/" character. The last segment of the URL's path must - represent - - the fully qualified name of the type (as in - - `path/google.protobuf.Duration`). The name should be in a - canonical form - - (e.g., leading "." is not accepted). - - - In practice, teams usually precompile into the binary all types - that they - - expect it to use in the context of Any. However, for URLs which - use the - - scheme `http`, `https`, or no scheme, one can optionally set up a - type - - server that maps type URLs to message definitions as follows: - - - * If no scheme is provided, `https` is assumed. - - * An HTTP GET on the URL must yield a [google.protobuf.Type][] - value in binary format, or produce an error. - * Applications are allowed to cache lookup results based on the - URL, or have them precompiled into a binary to avoid any - lookup. Therefore, binary compatibility needs to be preserved - on changes to types. (Use versioned type names to manage - breaking changes.) - - Note: this functionality is not currently available in the - official - - protobuf release, and it is not used for type URLs beginning with - - type.googleapis.com. As of May 2023, there are no widely used type - server - - implementations and no plans to implement one. - - - Schemes other than `http`, `https` (or the empty scheme) might be - - used with implementation specific semantics. - additionalProperties: {} - description: >- - Plan specifies information about a planned upgrade and when it should - occur. - ibc.core.client.v1.MsgCreateClient: - type: object - properties: - client_state: - title: light client state - type: object - properties: - '@type': - type: string - description: >- - A URL/resource name that uniquely identifies the type of the - serialized - - protocol buffer message. This string must contain at least - - one "/" character. The last segment of the URL's path must - represent - - the fully qualified name of the type (as in - - `path/google.protobuf.Duration`). The name should be in a - canonical form - - (e.g., leading "." is not accepted). - - - In practice, teams usually precompile into the binary all types - that they - - expect it to use in the context of Any. However, for URLs which - use the - - scheme `http`, `https`, or no scheme, one can optionally set up a - type - - server that maps type URLs to message definitions as follows: - - - * If no scheme is provided, `https` is assumed. - - * An HTTP GET on the URL must yield a [google.protobuf.Type][] - value in binary format, or produce an error. - * Applications are allowed to cache lookup results based on the - URL, or have them precompiled into a binary to avoid any - lookup. Therefore, binary compatibility needs to be preserved - on changes to types. (Use versioned type names to manage - breaking changes.) - - Note: this functionality is not currently available in the - official - - protobuf release, and it is not used for type URLs beginning with - - type.googleapis.com. As of May 2023, there are no widely used type - server - - implementations and no plans to implement one. - - - Schemes other than `http`, `https` (or the empty scheme) might be - - used with implementation specific semantics. - additionalProperties: {} - description: >- - `Any` contains an arbitrary serialized protocol buffer message along - with a - - URL that describes the type of the serialized message. - - - Protobuf library provides support to pack/unpack Any values in the - form - - of utility functions or additional generated methods of the Any type. - - - Example 1: Pack and unpack a message in C++. - - Foo foo = ...; - Any any; - any.PackFrom(foo); - ... - if (any.UnpackTo(&foo)) { - ... - } - - Example 2: Pack and unpack a message in Java. - - Foo foo = ...; - Any any = Any.pack(foo); - ... - if (any.is(Foo.class)) { - foo = any.unpack(Foo.class); - } - // or ... - if (any.isSameTypeAs(Foo.getDefaultInstance())) { - foo = any.unpack(Foo.getDefaultInstance()); - } - - Example 3: Pack and unpack a message in Python. - - foo = Foo(...) - any = Any() - any.Pack(foo) - ... - if any.Is(Foo.DESCRIPTOR): - any.Unpack(foo) - ... - - Example 4: Pack and unpack a message in Go - - foo := &pb.Foo{...} - any, err := anypb.New(foo) - if err != nil { - ... - } - ... - foo := &pb.Foo{} - if err := any.UnmarshalTo(foo); err != nil { - ... - } - - The pack methods provided by protobuf library will by default use - - 'type.googleapis.com/full.type.name' as the type URL and the unpack - - methods only use the fully qualified type name after the last '/' - - in the type URL, for example "foo.bar.com/x/y.z" will yield type - - name "y.z". - - - JSON - - ==== - - The JSON representation of an `Any` value uses the regular - - representation of the deserialized, embedded message, with an - - additional field `@type` which contains the type URL. Example: - - package google.profile; - message Person { - string first_name = 1; - string last_name = 2; - } - - { - "@type": "type.googleapis.com/google.profile.Person", - "firstName": , - "lastName": - } - - If the embedded message type is well-known and has a custom JSON - - representation, that representation will be embedded adding a field - - `value` which holds the custom JSON in addition to the `@type` - - field. Example (for message [google.protobuf.Duration][]): - - { - "@type": "type.googleapis.com/google.protobuf.Duration", - "value": "1.212s" - } - consensus_state: - description: |- - consensus state associated with the client that corresponds to a given - height. - type: object - properties: - '@type': - type: string - description: >- - A URL/resource name that uniquely identifies the type of the - serialized - - protocol buffer message. This string must contain at least - - one "/" character. The last segment of the URL's path must - represent - - the fully qualified name of the type (as in - - `path/google.protobuf.Duration`). The name should be in a - canonical form - - (e.g., leading "." is not accepted). - - - In practice, teams usually precompile into the binary all types - that they - - expect it to use in the context of Any. However, for URLs which - use the - - scheme `http`, `https`, or no scheme, one can optionally set up a - type - - server that maps type URLs to message definitions as follows: - - - * If no scheme is provided, `https` is assumed. - - * An HTTP GET on the URL must yield a [google.protobuf.Type][] - value in binary format, or produce an error. - * Applications are allowed to cache lookup results based on the - URL, or have them precompiled into a binary to avoid any - lookup. Therefore, binary compatibility needs to be preserved - on changes to types. (Use versioned type names to manage - breaking changes.) - - Note: this functionality is not currently available in the - official - - protobuf release, and it is not used for type URLs beginning with - - type.googleapis.com. As of May 2023, there are no widely used type - server - - implementations and no plans to implement one. - - - Schemes other than `http`, `https` (or the empty scheme) might be - - used with implementation specific semantics. - additionalProperties: {} - signer: - type: string - title: signer address - title: MsgCreateClient defines a message to create an IBC client - ibc.core.client.v1.MsgCreateClientResponse: - type: object - description: MsgCreateClientResponse defines the Msg/CreateClient response type. - ibc.core.client.v1.MsgIBCSoftwareUpgrade: - type: object - properties: - plan: - type: object - properties: - name: - type: string - description: >- - Sets the name for the upgrade. This name will be used by the - upgraded - - version of the software to apply any special "on-upgrade" commands - during - - the first BeginBlock method after the upgrade is applied. It is - also used - - to detect whether a software version can handle a given upgrade. - If no - - upgrade handler with this name has been set in the software, it - will be - - assumed that the software is out-of-date when the upgrade Time or - Height is - - reached and the software will exit. - time: - type: string - format: date-time - description: >- - Deprecated: Time based upgrades have been deprecated. Time based - upgrade logic - - has been removed from the SDK. - - If this field is not empty, an error will be thrown. - height: - type: string - format: int64 - description: The height at which the upgrade must be performed. - info: - type: string - title: >- - Any application specific upgrade info to be included on-chain - - such as a git commit that validators could automatically upgrade - to - upgraded_client_state: - description: >- - Deprecated: UpgradedClientState field has been deprecated. IBC - upgrade logic has been - - moved to the IBC module in the sub module 02-client. - - If this field is not empty, an error will be thrown. - type: object - properties: - '@type': - type: string - description: >- - A URL/resource name that uniquely identifies the type of the - serialized - - protocol buffer message. This string must contain at least - - one "/" character. The last segment of the URL's path must - represent - - the fully qualified name of the type (as in - - `path/google.protobuf.Duration`). The name should be in a - canonical form - - (e.g., leading "." is not accepted). - - - In practice, teams usually precompile into the binary all - types that they - - expect it to use in the context of Any. However, for URLs - which use the - - scheme `http`, `https`, or no scheme, one can optionally set - up a type - - server that maps type URLs to message definitions as follows: - - - * If no scheme is provided, `https` is assumed. - - * An HTTP GET on the URL must yield a [google.protobuf.Type][] - value in binary format, or produce an error. - * Applications are allowed to cache lookup results based on - the - URL, or have them precompiled into a binary to avoid any - lookup. Therefore, binary compatibility needs to be preserved - on changes to types. (Use versioned type names to manage - breaking changes.) - - Note: this functionality is not currently available in the - official - - protobuf release, and it is not used for type URLs beginning - with - - type.googleapis.com. As of May 2023, there are no widely used - type server - - implementations and no plans to implement one. - - - Schemes other than `http`, `https` (or the empty scheme) might - be - - used with implementation specific semantics. - additionalProperties: {} - description: >- - Plan specifies information about a planned upgrade and when it should - occur. - upgraded_client_state: - description: >- - An UpgradedClientState must be provided to perform an IBC breaking - upgrade. - - This will make the chain commit to the correct upgraded (self) client - state - - before the upgrade occurs, so that connecting chains can verify that - the - - new upgraded client is valid by verifying a proof on the previous - version - - of the chain. This will allow IBC connections to persist smoothly - across - - planned chain upgrades. Correspondingly, the UpgradedClientState field - has been - - deprecated in the Cosmos SDK to allow for this logic to exist solely - in - - the 02-client module. - type: object - properties: - '@type': - type: string - description: >- - A URL/resource name that uniquely identifies the type of the - serialized - - protocol buffer message. This string must contain at least - - one "/" character. The last segment of the URL's path must - represent - - the fully qualified name of the type (as in - - `path/google.protobuf.Duration`). The name should be in a - canonical form - - (e.g., leading "." is not accepted). - - - In practice, teams usually precompile into the binary all types - that they - - expect it to use in the context of Any. However, for URLs which - use the - - scheme `http`, `https`, or no scheme, one can optionally set up a - type - - server that maps type URLs to message definitions as follows: - - - * If no scheme is provided, `https` is assumed. - - * An HTTP GET on the URL must yield a [google.protobuf.Type][] - value in binary format, or produce an error. - * Applications are allowed to cache lookup results based on the - URL, or have them precompiled into a binary to avoid any - lookup. Therefore, binary compatibility needs to be preserved - on changes to types. (Use versioned type names to manage - breaking changes.) - - Note: this functionality is not currently available in the - official - - protobuf release, and it is not used for type URLs beginning with - - type.googleapis.com. As of May 2023, there are no widely used type - server - - implementations and no plans to implement one. - - - Schemes other than `http`, `https` (or the empty scheme) might be - - used with implementation specific semantics. - additionalProperties: {} - signer: - type: string - title: signer address - title: >- - MsgIBCSoftwareUpgrade defines the message used to schedule an upgrade of - an IBC client using a v1 governance proposal - ibc.core.client.v1.MsgIBCSoftwareUpgradeResponse: - type: object - description: >- - MsgIBCSoftwareUpgradeResponse defines the Msg/IBCSoftwareUpgrade response - type. - ibc.core.client.v1.MsgRecoverClient: - type: object - properties: - subject_client_id: - type: string - title: >- - the client identifier for the client to be updated if the proposal - passes - substitute_client_id: - type: string - title: >- - the substitute client identifier for the client which will replace the - subject - - client - signer: - type: string - title: signer address - description: >- - MsgRecoverClient defines the message used to recover a frozen or expired - client. - ibc.core.client.v1.MsgRecoverClientResponse: - type: object - description: MsgRecoverClientResponse defines the Msg/RecoverClient response type. - ibc.core.client.v1.MsgSubmitMisbehaviour: - type: object - properties: - client_id: - type: string - title: client unique identifier - misbehaviour: - title: misbehaviour used for freezing the light client - type: object - properties: - '@type': - type: string - description: >- - A URL/resource name that uniquely identifies the type of the - serialized - - protocol buffer message. This string must contain at least - - one "/" character. The last segment of the URL's path must - represent - - the fully qualified name of the type (as in - - `path/google.protobuf.Duration`). The name should be in a - canonical form - - (e.g., leading "." is not accepted). - - - In practice, teams usually precompile into the binary all types - that they - - expect it to use in the context of Any. However, for URLs which - use the - - scheme `http`, `https`, or no scheme, one can optionally set up a - type - - server that maps type URLs to message definitions as follows: - - - * If no scheme is provided, `https` is assumed. - - * An HTTP GET on the URL must yield a [google.protobuf.Type][] - value in binary format, or produce an error. - * Applications are allowed to cache lookup results based on the - URL, or have them precompiled into a binary to avoid any - lookup. Therefore, binary compatibility needs to be preserved - on changes to types. (Use versioned type names to manage - breaking changes.) - - Note: this functionality is not currently available in the - official - - protobuf release, and it is not used for type URLs beginning with - - type.googleapis.com. As of May 2023, there are no widely used type - server - - implementations and no plans to implement one. - - - Schemes other than `http`, `https` (or the empty scheme) might be - - used with implementation specific semantics. - additionalProperties: {} - description: >- - `Any` contains an arbitrary serialized protocol buffer message along - with a - - URL that describes the type of the serialized message. - - - Protobuf library provides support to pack/unpack Any values in the - form - - of utility functions or additional generated methods of the Any type. - - - Example 1: Pack and unpack a message in C++. - - Foo foo = ...; - Any any; - any.PackFrom(foo); - ... - if (any.UnpackTo(&foo)) { - ... - } - - Example 2: Pack and unpack a message in Java. - - Foo foo = ...; - Any any = Any.pack(foo); - ... - if (any.is(Foo.class)) { - foo = any.unpack(Foo.class); - } - // or ... - if (any.isSameTypeAs(Foo.getDefaultInstance())) { - foo = any.unpack(Foo.getDefaultInstance()); - } - - Example 3: Pack and unpack a message in Python. - - foo = Foo(...) - any = Any() - any.Pack(foo) - ... - if any.Is(Foo.DESCRIPTOR): - any.Unpack(foo) - ... - - Example 4: Pack and unpack a message in Go - - foo := &pb.Foo{...} - any, err := anypb.New(foo) - if err != nil { - ... - } - ... - foo := &pb.Foo{} - if err := any.UnmarshalTo(foo); err != nil { - ... - } - - The pack methods provided by protobuf library will by default use - - 'type.googleapis.com/full.type.name' as the type URL and the unpack - - methods only use the fully qualified type name after the last '/' - - in the type URL, for example "foo.bar.com/x/y.z" will yield type - - name "y.z". - - - JSON - - ==== - - The JSON representation of an `Any` value uses the regular - - representation of the deserialized, embedded message, with an - - additional field `@type` which contains the type URL. Example: - - package google.profile; - message Person { - string first_name = 1; - string last_name = 2; - } - - { - "@type": "type.googleapis.com/google.profile.Person", - "firstName": , - "lastName": - } - - If the embedded message type is well-known and has a custom JSON - - representation, that representation will be embedded adding a field - - `value` which holds the custom JSON in addition to the `@type` - - field. Example (for message [google.protobuf.Duration][]): - - { - "@type": "type.googleapis.com/google.protobuf.Duration", - "value": "1.212s" - } - signer: - type: string - title: signer address - description: |- - MsgSubmitMisbehaviour defines an sdk.Msg type that submits Evidence for - light client misbehaviour. - This message has been deprecated. Use MsgUpdateClient instead. - ibc.core.client.v1.MsgSubmitMisbehaviourResponse: - type: object - description: |- - MsgSubmitMisbehaviourResponse defines the Msg/SubmitMisbehaviour response - type. - ibc.core.client.v1.MsgUpdateClient: - type: object - properties: - client_id: - type: string - title: client unique identifier - client_message: - title: client message to update the light client - type: object - properties: - '@type': - type: string - description: >- - A URL/resource name that uniquely identifies the type of the - serialized - - protocol buffer message. This string must contain at least - - one "/" character. The last segment of the URL's path must - represent - - the fully qualified name of the type (as in - - `path/google.protobuf.Duration`). The name should be in a - canonical form - - (e.g., leading "." is not accepted). - - - In practice, teams usually precompile into the binary all types - that they - - expect it to use in the context of Any. However, for URLs which - use the - - scheme `http`, `https`, or no scheme, one can optionally set up a - type - - server that maps type URLs to message definitions as follows: - - - * If no scheme is provided, `https` is assumed. - - * An HTTP GET on the URL must yield a [google.protobuf.Type][] - value in binary format, or produce an error. - * Applications are allowed to cache lookup results based on the - URL, or have them precompiled into a binary to avoid any - lookup. Therefore, binary compatibility needs to be preserved - on changes to types. (Use versioned type names to manage - breaking changes.) - - Note: this functionality is not currently available in the - official - - protobuf release, and it is not used for type URLs beginning with - - type.googleapis.com. As of May 2023, there are no widely used type - server - - implementations and no plans to implement one. - - - Schemes other than `http`, `https` (or the empty scheme) might be - - used with implementation specific semantics. - additionalProperties: {} - description: >- - `Any` contains an arbitrary serialized protocol buffer message along - with a - - URL that describes the type of the serialized message. - - - Protobuf library provides support to pack/unpack Any values in the - form - - of utility functions or additional generated methods of the Any type. - - - Example 1: Pack and unpack a message in C++. - - Foo foo = ...; - Any any; - any.PackFrom(foo); - ... - if (any.UnpackTo(&foo)) { - ... - } - - Example 2: Pack and unpack a message in Java. - - Foo foo = ...; - Any any = Any.pack(foo); - ... - if (any.is(Foo.class)) { - foo = any.unpack(Foo.class); - } - // or ... - if (any.isSameTypeAs(Foo.getDefaultInstance())) { - foo = any.unpack(Foo.getDefaultInstance()); - } - - Example 3: Pack and unpack a message in Python. - - foo = Foo(...) - any = Any() - any.Pack(foo) - ... - if any.Is(Foo.DESCRIPTOR): - any.Unpack(foo) - ... - - Example 4: Pack and unpack a message in Go - - foo := &pb.Foo{...} - any, err := anypb.New(foo) - if err != nil { - ... - } - ... - foo := &pb.Foo{} - if err := any.UnmarshalTo(foo); err != nil { - ... - } - - The pack methods provided by protobuf library will by default use - - 'type.googleapis.com/full.type.name' as the type URL and the unpack - - methods only use the fully qualified type name after the last '/' - - in the type URL, for example "foo.bar.com/x/y.z" will yield type - - name "y.z". - - - JSON - - ==== - - The JSON representation of an `Any` value uses the regular - - representation of the deserialized, embedded message, with an - - additional field `@type` which contains the type URL. Example: - - package google.profile; - message Person { - string first_name = 1; - string last_name = 2; - } - - { - "@type": "type.googleapis.com/google.profile.Person", - "firstName": , - "lastName": - } - - If the embedded message type is well-known and has a custom JSON - - representation, that representation will be embedded adding a field - - `value` which holds the custom JSON in addition to the `@type` - - field. Example (for message [google.protobuf.Duration][]): - - { - "@type": "type.googleapis.com/google.protobuf.Duration", - "value": "1.212s" - } - signer: - type: string - title: signer address - description: |- - MsgUpdateClient defines an sdk.Msg to update a IBC client state using - the given client message. - ibc.core.client.v1.MsgUpdateClientResponse: - type: object - description: MsgUpdateClientResponse defines the Msg/UpdateClient response type. - ibc.core.client.v1.MsgUpdateParams: - type: object - properties: - signer: - type: string - title: signer address - params: - description: |- - params defines the client parameters to update. - - NOTE: All parameters must be supplied. - type: object - properties: - allowed_clients: - type: array - items: - type: string - description: >- - allowed_clients defines the list of allowed client state types - which can be created - - and interacted with. If a client type is removed from the allowed - clients list, usage - - of this client will be disabled until it is added again to the - list. - description: MsgUpdateParams defines the sdk.Msg type to update the client parameters. - ibc.core.client.v1.MsgUpdateParamsResponse: - type: object - description: MsgUpdateParamsResponse defines the MsgUpdateParams response type. - ibc.core.client.v1.MsgUpgradeClient: - type: object - properties: - client_id: - type: string - title: client unique identifier - client_state: - title: upgraded client state - type: object - properties: - '@type': - type: string - description: >- - A URL/resource name that uniquely identifies the type of the - serialized - - protocol buffer message. This string must contain at least - - one "/" character. The last segment of the URL's path must - represent - - the fully qualified name of the type (as in - - `path/google.protobuf.Duration`). The name should be in a - canonical form - - (e.g., leading "." is not accepted). - - - In practice, teams usually precompile into the binary all types - that they - - expect it to use in the context of Any. However, for URLs which - use the - - scheme `http`, `https`, or no scheme, one can optionally set up a - type - - server that maps type URLs to message definitions as follows: - - - * If no scheme is provided, `https` is assumed. - - * An HTTP GET on the URL must yield a [google.protobuf.Type][] - value in binary format, or produce an error. - * Applications are allowed to cache lookup results based on the - URL, or have them precompiled into a binary to avoid any - lookup. Therefore, binary compatibility needs to be preserved - on changes to types. (Use versioned type names to manage - breaking changes.) - - Note: this functionality is not currently available in the - official - - protobuf release, and it is not used for type URLs beginning with - - type.googleapis.com. As of May 2023, there are no widely used type - server - - implementations and no plans to implement one. - - - Schemes other than `http`, `https` (or the empty scheme) might be - - used with implementation specific semantics. - additionalProperties: {} - description: >- - `Any` contains an arbitrary serialized protocol buffer message along - with a - - URL that describes the type of the serialized message. - - - Protobuf library provides support to pack/unpack Any values in the - form - - of utility functions or additional generated methods of the Any type. - - - Example 1: Pack and unpack a message in C++. - - Foo foo = ...; - Any any; - any.PackFrom(foo); - ... - if (any.UnpackTo(&foo)) { - ... - } - - Example 2: Pack and unpack a message in Java. - - Foo foo = ...; - Any any = Any.pack(foo); - ... - if (any.is(Foo.class)) { - foo = any.unpack(Foo.class); - } - // or ... - if (any.isSameTypeAs(Foo.getDefaultInstance())) { - foo = any.unpack(Foo.getDefaultInstance()); - } - - Example 3: Pack and unpack a message in Python. - - foo = Foo(...) - any = Any() - any.Pack(foo) - ... - if any.Is(Foo.DESCRIPTOR): - any.Unpack(foo) - ... - - Example 4: Pack and unpack a message in Go - - foo := &pb.Foo{...} - any, err := anypb.New(foo) - if err != nil { - ... - } - ... - foo := &pb.Foo{} - if err := any.UnmarshalTo(foo); err != nil { - ... - } - - The pack methods provided by protobuf library will by default use - - 'type.googleapis.com/full.type.name' as the type URL and the unpack - - methods only use the fully qualified type name after the last '/' - - in the type URL, for example "foo.bar.com/x/y.z" will yield type - - name "y.z". - - - JSON - - ==== - - The JSON representation of an `Any` value uses the regular - - representation of the deserialized, embedded message, with an - - additional field `@type` which contains the type URL. Example: - - package google.profile; - message Person { - string first_name = 1; - string last_name = 2; - } - - { - "@type": "type.googleapis.com/google.profile.Person", - "firstName": , - "lastName": - } - - If the embedded message type is well-known and has a custom JSON - - representation, that representation will be embedded adding a field - - `value` which holds the custom JSON in addition to the `@type` - - field. Example (for message [google.protobuf.Duration][]): - - { - "@type": "type.googleapis.com/google.protobuf.Duration", - "value": "1.212s" - } - consensus_state: - title: >- - upgraded consensus state, only contains enough information to serve as - a - - basis of trust in update logic - type: object - properties: - '@type': - type: string - description: >- - A URL/resource name that uniquely identifies the type of the - serialized - - protocol buffer message. This string must contain at least - - one "/" character. The last segment of the URL's path must - represent - - the fully qualified name of the type (as in - - `path/google.protobuf.Duration`). The name should be in a - canonical form - - (e.g., leading "." is not accepted). - - - In practice, teams usually precompile into the binary all types - that they - - expect it to use in the context of Any. However, for URLs which - use the - - scheme `http`, `https`, or no scheme, one can optionally set up a - type - - server that maps type URLs to message definitions as follows: - - - * If no scheme is provided, `https` is assumed. - - * An HTTP GET on the URL must yield a [google.protobuf.Type][] - value in binary format, or produce an error. - * Applications are allowed to cache lookup results based on the - URL, or have them precompiled into a binary to avoid any - lookup. Therefore, binary compatibility needs to be preserved - on changes to types. (Use versioned type names to manage - breaking changes.) - - Note: this functionality is not currently available in the - official - - protobuf release, and it is not used for type URLs beginning with - - type.googleapis.com. As of May 2023, there are no widely used type - server - - implementations and no plans to implement one. - - - Schemes other than `http`, `https` (or the empty scheme) might be - - used with implementation specific semantics. - additionalProperties: {} - description: >- - `Any` contains an arbitrary serialized protocol buffer message along - with a - - URL that describes the type of the serialized message. - - - Protobuf library provides support to pack/unpack Any values in the - form - - of utility functions or additional generated methods of the Any type. - - - Example 1: Pack and unpack a message in C++. - - Foo foo = ...; - Any any; - any.PackFrom(foo); - ... - if (any.UnpackTo(&foo)) { - ... - } - - Example 2: Pack and unpack a message in Java. - - Foo foo = ...; - Any any = Any.pack(foo); - ... - if (any.is(Foo.class)) { - foo = any.unpack(Foo.class); - } - // or ... - if (any.isSameTypeAs(Foo.getDefaultInstance())) { - foo = any.unpack(Foo.getDefaultInstance()); - } - - Example 3: Pack and unpack a message in Python. - - foo = Foo(...) - any = Any() - any.Pack(foo) - ... - if any.Is(Foo.DESCRIPTOR): - any.Unpack(foo) - ... - - Example 4: Pack and unpack a message in Go - - foo := &pb.Foo{...} - any, err := anypb.New(foo) - if err != nil { - ... - } - ... - foo := &pb.Foo{} - if err := any.UnmarshalTo(foo); err != nil { - ... - } - - The pack methods provided by protobuf library will by default use - - 'type.googleapis.com/full.type.name' as the type URL and the unpack - - methods only use the fully qualified type name after the last '/' - - in the type URL, for example "foo.bar.com/x/y.z" will yield type - - name "y.z". - - - JSON - - ==== - - The JSON representation of an `Any` value uses the regular - - representation of the deserialized, embedded message, with an - - additional field `@type` which contains the type URL. Example: - - package google.profile; - message Person { - string first_name = 1; - string last_name = 2; - } - - { - "@type": "type.googleapis.com/google.profile.Person", - "firstName": , - "lastName": - } - - If the embedded message type is well-known and has a custom JSON - - representation, that representation will be embedded adding a field - - `value` which holds the custom JSON in addition to the `@type` - - field. Example (for message [google.protobuf.Duration][]): - - { - "@type": "type.googleapis.com/google.protobuf.Duration", - "value": "1.212s" - } - proof_upgrade_client: - type: string - format: byte - title: proof that old chain committed to new client - proof_upgrade_consensus_state: - type: string - format: byte - title: proof that old chain committed to new consensus state - signer: - type: string - title: signer address - title: >- - MsgUpgradeClient defines an sdk.Msg to upgrade an IBC client to a new - client - - state - ibc.core.client.v1.MsgUpgradeClientResponse: - type: object - description: MsgUpgradeClientResponse defines the Msg/UpgradeClient response type. - ibc.core.client.v1.Params: - type: object - properties: - allowed_clients: - type: array - items: - type: string - description: >- - allowed_clients defines the list of allowed client state types which - can be created - - and interacted with. If a client type is removed from the allowed - clients list, usage - - of this client will be disabled until it is added again to the list. - description: Params defines the set of IBC light client parameters. - ibc.core.commitment.v1.MerklePrefix: - type: object - properties: - key_prefix: - type: string - format: byte - title: |- - MerklePrefix is merkle path prefixed to the key. - The constructed key from the Path and the key will be append(Path.KeyPath, - append(Path.KeyPrefix, key...)) - ibc.core.connection.v1.Counterparty: - type: object - properties: - client_id: - type: string - description: >- - identifies the client on the counterparty chain associated with a - given - - connection. - connection_id: - type: string - description: >- - identifies the connection end on the counterparty chain associated - with a - - given connection. - prefix: - description: commitment merkle prefix of the counterparty chain. - type: object - properties: - key_prefix: - type: string - format: byte - title: >- - MerklePrefix is merkle path prefixed to the key. - - The constructed key from the Path and the key will be - append(Path.KeyPath, - - append(Path.KeyPrefix, key...)) - description: >- - Counterparty defines the counterparty chain associated with a connection - end. - ibc.core.connection.v1.MsgConnectionOpenAck: - type: object - properties: - connection_id: - type: string - counterparty_connection_id: - type: string - version: - type: object - properties: - identifier: - type: string - title: unique version identifier - features: - type: array - items: - type: string - title: list of features compatible with the specified identifier - description: >- - Version defines the versioning scheme used to negotiate the IBC - verison in - - the connection handshake. - client_state: - type: object - properties: - '@type': - type: string - description: >- - A URL/resource name that uniquely identifies the type of the - serialized - - protocol buffer message. This string must contain at least - - one "/" character. The last segment of the URL's path must - represent - - the fully qualified name of the type (as in - - `path/google.protobuf.Duration`). The name should be in a - canonical form - - (e.g., leading "." is not accepted). - - - In practice, teams usually precompile into the binary all types - that they - - expect it to use in the context of Any. However, for URLs which - use the - - scheme `http`, `https`, or no scheme, one can optionally set up a - type - - server that maps type URLs to message definitions as follows: - - - * If no scheme is provided, `https` is assumed. - - * An HTTP GET on the URL must yield a [google.protobuf.Type][] - value in binary format, or produce an error. - * Applications are allowed to cache lookup results based on the - URL, or have them precompiled into a binary to avoid any - lookup. Therefore, binary compatibility needs to be preserved - on changes to types. (Use versioned type names to manage - breaking changes.) - - Note: this functionality is not currently available in the - official - - protobuf release, and it is not used for type URLs beginning with - - type.googleapis.com. As of May 2023, there are no widely used type - server - - implementations and no plans to implement one. - - - Schemes other than `http`, `https` (or the empty scheme) might be - - used with implementation specific semantics. - additionalProperties: {} - description: >- - `Any` contains an arbitrary serialized protocol buffer message along - with a - - URL that describes the type of the serialized message. - - - Protobuf library provides support to pack/unpack Any values in the - form - - of utility functions or additional generated methods of the Any type. - - - Example 1: Pack and unpack a message in C++. - - Foo foo = ...; - Any any; - any.PackFrom(foo); - ... - if (any.UnpackTo(&foo)) { - ... - } - - Example 2: Pack and unpack a message in Java. - - Foo foo = ...; - Any any = Any.pack(foo); - ... - if (any.is(Foo.class)) { - foo = any.unpack(Foo.class); - } - // or ... - if (any.isSameTypeAs(Foo.getDefaultInstance())) { - foo = any.unpack(Foo.getDefaultInstance()); - } - - Example 3: Pack and unpack a message in Python. - - foo = Foo(...) - any = Any() - any.Pack(foo) - ... - if any.Is(Foo.DESCRIPTOR): - any.Unpack(foo) - ... - - Example 4: Pack and unpack a message in Go - - foo := &pb.Foo{...} - any, err := anypb.New(foo) - if err != nil { - ... - } - ... - foo := &pb.Foo{} - if err := any.UnmarshalTo(foo); err != nil { - ... - } - - The pack methods provided by protobuf library will by default use - - 'type.googleapis.com/full.type.name' as the type URL and the unpack - - methods only use the fully qualified type name after the last '/' - - in the type URL, for example "foo.bar.com/x/y.z" will yield type - - name "y.z". - - - JSON - - ==== - - The JSON representation of an `Any` value uses the regular - - representation of the deserialized, embedded message, with an - - additional field `@type` which contains the type URL. Example: - - package google.profile; - message Person { - string first_name = 1; - string last_name = 2; - } - - { - "@type": "type.googleapis.com/google.profile.Person", - "firstName": , - "lastName": - } - - If the embedded message type is well-known and has a custom JSON - - representation, that representation will be embedded adding a field - - `value` which holds the custom JSON in addition to the `@type` - - field. Example (for message [google.protobuf.Duration][]): - - { - "@type": "type.googleapis.com/google.protobuf.Duration", - "value": "1.212s" - } - proof_height: - type: object - properties: - revision_number: - type: string - format: uint64 - title: the revision that the client is currently on - revision_height: - type: string - format: uint64 - title: the height within the given revision - description: >- - Normally the RevisionHeight is incremented at each height while - keeping - - RevisionNumber the same. However some consensus algorithms may choose - to - - reset the height in certain conditions e.g. hard forks, state-machine - - breaking changes In these cases, the RevisionNumber is incremented so - that - - height continues to be monitonically increasing even as the - RevisionHeight - - gets reset - title: >- - Height is a monotonically increasing data type - - that can be compared against another Height for the purposes of - updating and - - freezing clients - proof_try: - type: string - format: byte - title: |- - proof of the initialization the connection on Chain B: `UNITIALIZED -> - TRYOPEN` - proof_client: - type: string - format: byte - title: proof of client state included in message - proof_consensus: - type: string - format: byte - title: proof of client consensus state - consensus_height: - type: object - properties: - revision_number: - type: string - format: uint64 - title: the revision that the client is currently on - revision_height: - type: string - format: uint64 - title: the height within the given revision - description: >- - Normally the RevisionHeight is incremented at each height while - keeping - - RevisionNumber the same. However some consensus algorithms may choose - to - - reset the height in certain conditions e.g. hard forks, state-machine - - breaking changes In these cases, the RevisionNumber is incremented so - that - - height continues to be monitonically increasing even as the - RevisionHeight - - gets reset - title: >- - Height is a monotonically increasing data type - - that can be compared against another Height for the purposes of - updating and - - freezing clients - signer: - type: string - host_consensus_state_proof: - type: string - format: byte - title: >- - optional proof data for host state machines that are unable to - introspect their own consensus state - description: |- - MsgConnectionOpenAck defines a msg sent by a Relayer to Chain A to - acknowledge the change of connection state to TRYOPEN on Chain B. - ibc.core.connection.v1.MsgConnectionOpenAckResponse: - type: object - description: >- - MsgConnectionOpenAckResponse defines the Msg/ConnectionOpenAck response - type. - ibc.core.connection.v1.MsgConnectionOpenConfirm: - type: object - properties: - connection_id: - type: string - proof_ack: - type: string - format: byte - title: >- - proof for the change of the connection state on Chain A: `INIT -> - OPEN` - proof_height: - type: object - properties: - revision_number: - type: string - format: uint64 - title: the revision that the client is currently on - revision_height: - type: string - format: uint64 - title: the height within the given revision - description: >- - Normally the RevisionHeight is incremented at each height while - keeping - - RevisionNumber the same. However some consensus algorithms may choose - to - - reset the height in certain conditions e.g. hard forks, state-machine - - breaking changes In these cases, the RevisionNumber is incremented so - that - - height continues to be monitonically increasing even as the - RevisionHeight - - gets reset - title: >- - Height is a monotonically increasing data type - - that can be compared against another Height for the purposes of - updating and - - freezing clients - signer: - type: string - description: |- - MsgConnectionOpenConfirm defines a msg sent by a Relayer to Chain B to - acknowledge the change of connection state to OPEN on Chain A. - ibc.core.connection.v1.MsgConnectionOpenConfirmResponse: - type: object - description: |- - MsgConnectionOpenConfirmResponse defines the Msg/ConnectionOpenConfirm - response type. - ibc.core.connection.v1.MsgConnectionOpenInit: - type: object - properties: - client_id: - type: string - counterparty: - type: object - properties: - client_id: - type: string - description: >- - identifies the client on the counterparty chain associated with a - given - - connection. - connection_id: - type: string - description: >- - identifies the connection end on the counterparty chain associated - with a - - given connection. - prefix: - description: commitment merkle prefix of the counterparty chain. - type: object - properties: - key_prefix: - type: string - format: byte - title: >- - MerklePrefix is merkle path prefixed to the key. - - The constructed key from the Path and the key will be - append(Path.KeyPath, - - append(Path.KeyPrefix, key...)) - description: >- - Counterparty defines the counterparty chain associated with a - connection end. - version: - type: object - properties: - identifier: - type: string - title: unique version identifier - features: - type: array - items: - type: string - title: list of features compatible with the specified identifier - description: >- - Version defines the versioning scheme used to negotiate the IBC - verison in - - the connection handshake. - delay_period: - type: string - format: uint64 - signer: - type: string - description: |- - MsgConnectionOpenInit defines the msg sent by an account on Chain A to - initialize a connection with Chain B. - ibc.core.connection.v1.MsgConnectionOpenInitResponse: - type: object - description: |- - MsgConnectionOpenInitResponse defines the Msg/ConnectionOpenInit response - type. - ibc.core.connection.v1.MsgConnectionOpenTry: - type: object - properties: - client_id: - type: string - previous_connection_id: - type: string - description: >- - Deprecated: this field is unused. Crossing hellos are no longer - supported in core IBC. - client_state: - type: object - properties: - '@type': - type: string - description: >- - A URL/resource name that uniquely identifies the type of the - serialized - - protocol buffer message. This string must contain at least - - one "/" character. The last segment of the URL's path must - represent - - the fully qualified name of the type (as in - - `path/google.protobuf.Duration`). The name should be in a - canonical form - - (e.g., leading "." is not accepted). - - - In practice, teams usually precompile into the binary all types - that they - - expect it to use in the context of Any. However, for URLs which - use the - - scheme `http`, `https`, or no scheme, one can optionally set up a - type - - server that maps type URLs to message definitions as follows: - - - * If no scheme is provided, `https` is assumed. - - * An HTTP GET on the URL must yield a [google.protobuf.Type][] - value in binary format, or produce an error. - * Applications are allowed to cache lookup results based on the - URL, or have them precompiled into a binary to avoid any - lookup. Therefore, binary compatibility needs to be preserved - on changes to types. (Use versioned type names to manage - breaking changes.) - - Note: this functionality is not currently available in the - official - - protobuf release, and it is not used for type URLs beginning with - - type.googleapis.com. As of May 2023, there are no widely used type - server - - implementations and no plans to implement one. - - - Schemes other than `http`, `https` (or the empty scheme) might be - - used with implementation specific semantics. - additionalProperties: {} - description: >- - `Any` contains an arbitrary serialized protocol buffer message along - with a - - URL that describes the type of the serialized message. - - - Protobuf library provides support to pack/unpack Any values in the - form - - of utility functions or additional generated methods of the Any type. - - - Example 1: Pack and unpack a message in C++. - - Foo foo = ...; - Any any; - any.PackFrom(foo); - ... - if (any.UnpackTo(&foo)) { - ... - } - - Example 2: Pack and unpack a message in Java. - - Foo foo = ...; - Any any = Any.pack(foo); - ... - if (any.is(Foo.class)) { - foo = any.unpack(Foo.class); - } - // or ... - if (any.isSameTypeAs(Foo.getDefaultInstance())) { - foo = any.unpack(Foo.getDefaultInstance()); - } - - Example 3: Pack and unpack a message in Python. - - foo = Foo(...) - any = Any() - any.Pack(foo) - ... - if any.Is(Foo.DESCRIPTOR): - any.Unpack(foo) - ... - - Example 4: Pack and unpack a message in Go - - foo := &pb.Foo{...} - any, err := anypb.New(foo) - if err != nil { - ... - } - ... - foo := &pb.Foo{} - if err := any.UnmarshalTo(foo); err != nil { - ... - } - - The pack methods provided by protobuf library will by default use - - 'type.googleapis.com/full.type.name' as the type URL and the unpack - - methods only use the fully qualified type name after the last '/' - - in the type URL, for example "foo.bar.com/x/y.z" will yield type - - name "y.z". - - - JSON - - ==== - - The JSON representation of an `Any` value uses the regular - - representation of the deserialized, embedded message, with an - - additional field `@type` which contains the type URL. Example: - - package google.profile; - message Person { - string first_name = 1; - string last_name = 2; - } - - { - "@type": "type.googleapis.com/google.profile.Person", - "firstName": , - "lastName": - } - - If the embedded message type is well-known and has a custom JSON - - representation, that representation will be embedded adding a field - - `value` which holds the custom JSON in addition to the `@type` - - field. Example (for message [google.protobuf.Duration][]): - - { - "@type": "type.googleapis.com/google.protobuf.Duration", - "value": "1.212s" - } - counterparty: - type: object - properties: - client_id: - type: string - description: >- - identifies the client on the counterparty chain associated with a - given - - connection. - connection_id: - type: string - description: >- - identifies the connection end on the counterparty chain associated - with a - - given connection. - prefix: - description: commitment merkle prefix of the counterparty chain. - type: object - properties: - key_prefix: - type: string - format: byte - title: >- - MerklePrefix is merkle path prefixed to the key. - - The constructed key from the Path and the key will be - append(Path.KeyPath, - - append(Path.KeyPrefix, key...)) - description: >- - Counterparty defines the counterparty chain associated with a - connection end. - delay_period: - type: string - format: uint64 - counterparty_versions: - type: array - items: - type: object - properties: - identifier: - type: string - title: unique version identifier - features: - type: array - items: - type: string - title: list of features compatible with the specified identifier - description: >- - Version defines the versioning scheme used to negotiate the IBC - verison in - - the connection handshake. - proof_height: - type: object - properties: - revision_number: - type: string - format: uint64 - title: the revision that the client is currently on - revision_height: - type: string - format: uint64 - title: the height within the given revision - description: >- - Normally the RevisionHeight is incremented at each height while - keeping - - RevisionNumber the same. However some consensus algorithms may choose - to - - reset the height in certain conditions e.g. hard forks, state-machine - - breaking changes In these cases, the RevisionNumber is incremented so - that - - height continues to be monitonically increasing even as the - RevisionHeight - - gets reset - title: >- - Height is a monotonically increasing data type - - that can be compared against another Height for the purposes of - updating and - - freezing clients - proof_init: - type: string - format: byte - title: |- - proof of the initialization the connection on Chain A: `UNITIALIZED -> - INIT` - proof_client: - type: string - format: byte - title: proof of client state included in message - proof_consensus: - type: string - format: byte - title: proof of client consensus state - consensus_height: - type: object - properties: - revision_number: - type: string - format: uint64 - title: the revision that the client is currently on - revision_height: - type: string - format: uint64 - title: the height within the given revision - description: >- - Normally the RevisionHeight is incremented at each height while - keeping - - RevisionNumber the same. However some consensus algorithms may choose - to - - reset the height in certain conditions e.g. hard forks, state-machine - - breaking changes In these cases, the RevisionNumber is incremented so - that - - height continues to be monitonically increasing even as the - RevisionHeight - - gets reset - title: >- - Height is a monotonically increasing data type - - that can be compared against another Height for the purposes of - updating and - - freezing clients - signer: - type: string - host_consensus_state_proof: - type: string - format: byte - title: >- - optional proof data for host state machines that are unable to - introspect their own consensus state - description: |- - MsgConnectionOpenTry defines a msg sent by a Relayer to try to open a - connection on Chain B. - ibc.core.connection.v1.MsgConnectionOpenTryResponse: - type: object - description: >- - MsgConnectionOpenTryResponse defines the Msg/ConnectionOpenTry response - type. - ibc.core.connection.v1.MsgUpdateParams: - type: object - properties: - signer: - type: string - title: signer address - params: - description: |- - params defines the connection parameters to update. - - NOTE: All parameters must be supplied. - type: object - properties: - max_expected_time_per_block: - type: string - format: uint64 - description: >- - maximum expected time per block (in nanoseconds), used to enforce - block delay. This parameter should reflect the - - largest amount of time that the chain might reasonably take to - produce the next block under normal operating - - conditions. A safe choice is 3-5x the expected time per block. - description: >- - MsgUpdateParams defines the sdk.Msg type to update the connection - parameters. - ibc.core.connection.v1.MsgUpdateParamsResponse: - type: object - description: MsgUpdateParamsResponse defines the MsgUpdateParams response type. - ibc.core.connection.v1.Params: - type: object - properties: - max_expected_time_per_block: - type: string - format: uint64 - description: >- - maximum expected time per block (in nanoseconds), used to enforce - block delay. This parameter should reflect the - - largest amount of time that the chain might reasonably take to produce - the next block under normal operating - - conditions. A safe choice is 3-5x the expected time per block. - description: Params defines the set of Connection parameters. - ibc.core.connection.v1.Version: - type: object - properties: - identifier: - type: string - title: unique version identifier - features: - type: array - items: - type: string - title: list of features compatible with the specified identifier - description: |- - Version defines the versioning scheme used to negotiate the IBC verison in - the connection handshake. - structs.structs.Fleet: - type: object - properties: - id: - type: string - owner: - type: string - locationType: - type: string - enum: - - guild - - player - - planet - - reactor - - substation - - struct - - allocation - - infusion - - address - - fleet - default: guild - locationId: - type: string - status: - type: string - enum: - - onStation - - away - default: onStation - locationListForward: - type: string - title: Towards Planet - locationListBackward: - type: string - title: Towards End of List - space: - type: array - items: - type: string - air: - type: array - items: - type: string - land: - type: array - items: - type: string - water: - type: array - items: - type: string - spaceSlots: - type: string - format: uint64 - airSlots: - type: string - format: uint64 - landSlots: - type: string - format: uint64 - waterSlots: - type: string - format: uint64 - commandStruct: - type: string - structs.structs.GuildMembershipApplication: - type: object - properties: - guildId: - type: string - playerId: - type: string - joinType: - title: Invite | Request - type: string - enum: - - invite - - request - - direct - - proxy - default: invite - registrationStatus: - type: string - enum: - - proposed - - approved - - denied - - revoked - default: proposed - proposer: - type: string - substationId: - type: string - structs.structs.MsgAddressRegister: - type: object - properties: - creator: - type: string - playerId: - type: string - address: - type: string - proofPubKey: - type: string - proofSignature: - type: string - permissions: - type: string - format: uint64 - structs.structs.MsgAddressRegisterResponse: - type: object - structs.structs.MsgAddressRevoke: - type: object - properties: - creator: - type: string - address: - type: string - structs.structs.MsgAddressRevokeResponse: - type: object - structs.structs.MsgAllocationCreate: - type: object - properties: - creator: - type: string - controller: - type: string - sourceObjectId: - type: string - allocationType: - type: string - enum: - - static - - dynamic - - automated - default: static - power: - type: string - format: uint64 - structs.structs.MsgAllocationCreateResponse: - type: object - properties: - allocationId: - type: string - structs.structs.MsgAllocationDelete: - type: object - properties: - creator: - type: string - allocationId: - type: string - structs.structs.MsgAllocationDeleteResponse: - type: object - properties: - allocationId: - type: string - structs.structs.MsgAllocationTransfer: - type: object - properties: - creator: - type: string - allocationId: - type: string - controller: - type: string - structs.structs.MsgAllocationTransferResponse: - type: object - properties: - allocationId: - type: string - structs.structs.MsgAllocationUpdate: - type: object - properties: - creator: - type: string - allocationId: - type: string - power: - type: string - format: uint64 - structs.structs.MsgAllocationUpdateResponse: - type: object - properties: - allocationId: - type: string - structs.structs.MsgFleetMove: - type: object - properties: - creator: - type: string - fleetId: - type: string - destinationLocationId: - type: string - structs.structs.MsgFleetMoveResponse: - type: object - properties: - fleet: - type: object - properties: - id: - type: string - owner: - type: string - locationType: - type: string - enum: - - guild - - player - - planet - - reactor - - substation - - struct - - allocation - - infusion - - address - - fleet - default: guild - locationId: - type: string - status: - type: string - enum: - - onStation - - away - default: onStation - locationListForward: - type: string - title: Towards Planet - locationListBackward: - type: string - title: Towards End of List - space: - type: array - items: - type: string - air: - type: array - items: - type: string - land: - type: array - items: - type: string - water: - type: array - items: - type: string - spaceSlots: - type: string - format: uint64 - airSlots: - type: string - format: uint64 - landSlots: - type: string - format: uint64 - waterSlots: - type: string - format: uint64 - commandStruct: - type: string - structs.structs.MsgGuildCreate: - type: object - properties: - creator: - type: string - endpoint: - type: string - entrySubstationId: - type: string - structs.structs.MsgGuildCreateResponse: - type: object - properties: - guildId: - type: string - structs.structs.MsgGuildMembershipInvite: - type: object - properties: - creator: - type: string - guildId: - type: string - playerId: - type: string - substationId: - type: string - structs.structs.MsgGuildMembershipInviteApprove: - type: object - properties: - creator: - type: string - guildId: - type: string - playerId: - type: string - substationId: - type: string - structs.structs.MsgGuildMembershipInviteDeny: - type: object - properties: - creator: - type: string - guildId: - type: string - playerId: - type: string - structs.structs.MsgGuildMembershipInviteRevoke: - type: object - properties: - creator: - type: string - guildId: - type: string - playerId: - type: string - structs.structs.MsgGuildMembershipJoin: - type: object - properties: - creator: - type: string - guildId: - type: string - playerId: - type: string - substationId: - type: string - infusionId: - type: array - items: - type: string - structs.structs.MsgGuildMembershipJoinProxy: - type: object - properties: - creator: - type: string - address: - type: string - substationId: - type: string - proofPubKey: - type: string - proofSignature: - type: string - structs.structs.MsgGuildMembershipKick: - type: object - properties: - creator: - type: string - guildId: - type: string - playerId: - type: string - structs.structs.MsgGuildMembershipRequest: - type: object - properties: - creator: - type: string - guildId: - type: string - playerId: - type: string - substationId: - type: string - structs.structs.MsgGuildMembershipRequestApprove: - type: object - properties: - creator: - type: string - guildId: - type: string - playerId: - type: string - substationId: - type: string - structs.structs.MsgGuildMembershipRequestDeny: - type: object - properties: - creator: - type: string - guildId: - type: string - playerId: - type: string - structs.structs.MsgGuildMembershipRequestRevoke: - type: object - properties: - creator: - type: string - guildId: - type: string - playerId: - type: string - structs.structs.MsgGuildMembershipResponse: - type: object - properties: - guildMembershipApplication: - type: object - properties: - guildId: - type: string - playerId: - type: string - joinType: - title: Invite | Request - type: string - enum: - - invite - - request - - direct - - proxy - default: invite - registrationStatus: - type: string - enum: - - proposed - - approved - - denied - - revoked - default: proposed - proposer: - type: string - substationId: - type: string - structs.structs.MsgGuildUpdateEndpoint: - type: object - properties: - creator: - type: string - guildId: - type: string - endpoint: - type: string - structs.structs.MsgGuildUpdateEntrySubstationId: - type: object - properties: - creator: - type: string - guildId: - type: string - entrySubstationId: - type: string - structs.structs.MsgGuildUpdateJoinInfusionMinimum: - type: object - properties: - creator: - type: string - guildId: - type: string - joinInfusionMinimum: - type: string - format: uint64 - structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByInvite: - type: object - properties: - creator: - type: string - guildId: - type: string - guildJoinBypassLevel: - type: string - enum: - - closed - - permissioned - - member - default: closed - title: |- - - closed: Feature off - - permissioned: Only those with permissions can do it - - member: All members of the guild can contribute - structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByRequest: - type: object - properties: - creator: - type: string - guildId: - type: string - guildJoinBypassLevel: - type: string - enum: - - closed - - permissioned - - member - default: closed - title: |- - - closed: Feature off - - permissioned: Only those with permissions can do it - - member: All members of the guild can contribute - structs.structs.MsgGuildUpdateOwnerId: - type: object - properties: - creator: - type: string - guildId: - type: string - owner: - type: string - structs.structs.MsgGuildUpdateResponse: - type: object - structs.structs.MsgPermissionGrantOnAddress: - type: object - properties: - creator: - type: string - address: - type: string - permissions: - type: string - format: uint64 - structs.structs.MsgPermissionGrantOnObject: - type: object - properties: - creator: - type: string - objectId: - type: string - playerId: - type: string - permissions: - type: string - format: uint64 - structs.structs.MsgPermissionResponse: - type: object - structs.structs.MsgPermissionRevokeOnAddress: - type: object - properties: - creator: - type: string - address: - type: string - permissions: - type: string - format: uint64 - structs.structs.MsgPermissionRevokeOnObject: - type: object - properties: - creator: - type: string - objectId: - type: string - playerId: - type: string - permissions: - type: string - format: uint64 - structs.structs.MsgPermissionSetOnAddress: - type: object - properties: - creator: - type: string - address: - type: string - permissions: - type: string - format: uint64 - structs.structs.MsgPermissionSetOnObject: - type: object - properties: - creator: - type: string - objectId: - type: string - playerId: - type: string - permissions: - type: string - format: uint64 - structs.structs.MsgPlanetExplore: - type: object - properties: - creator: - type: string - structs.structs.MsgPlanetExploreResponse: - type: object - properties: - planet: - type: object - properties: - id: - type: string - maxOre: - type: string - format: uint64 - creator: - type: string - owner: - type: string - space: - type: array - items: - type: string - air: - type: array - items: - type: string - land: - type: array - items: - type: string - water: - type: array - items: - type: string - spaceSlots: - type: string - format: uint64 - airSlots: - type: string - format: uint64 - landSlots: - type: string - format: uint64 - waterSlots: - type: string - format: uint64 - status: - type: string - enum: - - active - - complete - default: active - locationListStart: - type: string - title: First in line to battle planet - locationListLast: - type: string - title: End of the line - structs.structs.MsgPlanetRaidComplete: - type: object - properties: - creator: - type: string - fleetId: - type: string - proof: - type: string - nonce: - type: string - structs.structs.MsgPlanetRaidCompleteResponse: - type: object - properties: - fleet: - type: object - properties: - id: - type: string - owner: - type: string - locationType: - type: string - enum: - - guild - - player - - planet - - reactor - - substation - - struct - - allocation - - infusion - - address - - fleet - default: guild - locationId: - type: string - status: - type: string - enum: - - onStation - - away - default: onStation - locationListForward: - type: string - title: Towards Planet - locationListBackward: - type: string - title: Towards End of List - space: - type: array - items: - type: string - air: - type: array - items: - type: string - land: - type: array - items: - type: string - water: - type: array - items: - type: string - spaceSlots: - type: string - format: uint64 - airSlots: - type: string - format: uint64 - landSlots: - type: string - format: uint64 - waterSlots: - type: string - format: uint64 - commandStruct: - type: string - planet: - type: object - properties: - id: - type: string - maxOre: - type: string - format: uint64 - creator: - type: string - owner: - type: string - space: - type: array - items: - type: string - air: - type: array - items: - type: string - land: - type: array - items: - type: string - water: - type: array - items: - type: string - spaceSlots: - type: string - format: uint64 - airSlots: - type: string - format: uint64 - landSlots: - type: string - format: uint64 - waterSlots: - type: string - format: uint64 - status: - type: string - enum: - - active - - complete - default: active - locationListStart: - type: string - title: First in line to battle planet - locationListLast: - type: string - title: End of the line - oreStolen: - type: string - format: uint64 - structs.structs.MsgPlayerUpdatePrimaryAddress: - type: object - properties: - creator: - type: string - playerId: - type: string - primaryAddress: - type: string - structs.structs.MsgPlayerUpdatePrimaryAddressResponse: - type: object - structs.structs.MsgStructActivate: - type: object - properties: - creator: - type: string - structId: - type: string - structs.structs.MsgStructAttack: - type: object - properties: - creator: - type: string - operatingStructId: - type: string - targetStructId: - type: array - items: - type: string - weaponSystem: - type: string - structs.structs.MsgStructAttackResponse: - type: object - structs.structs.MsgStructBuildComplete: - type: object - properties: - creator: - type: string - structId: - type: string - proof: - type: string - nonce: - type: string - structs.structs.MsgStructBuildInitiate: - type: object - properties: - creator: - type: string - playerId: - type: string - structTypeId: - type: string - format: uint64 - locationType: - type: string - enum: - - guild - - player - - planet - - reactor - - substation - - struct - - allocation - - infusion - - address - - fleet - default: guild - operatingAmbit: - type: string - enum: - - none - - water - - land - - air - - space - - local - default: none - slot: - type: string - format: uint64 - structs.structs.MsgStructDeactivate: - type: object - properties: - creator: - type: string - structId: - type: string - structs.structs.MsgStructDefenseClear: - type: object - properties: - creator: - type: string - defenderStructId: - type: string - structs.structs.MsgStructDefenseSet: - type: object - properties: - creator: - type: string - defenderStructId: - type: string - protectedStructId: - type: string - structs.structs.MsgStructGeneratorInfuse: - type: object - properties: - creator: - type: string - structId: - type: string - infuseAmount: - type: string - structs.structs.MsgStructGeneratorStatusResponse: - type: object - structs.structs.MsgStructMove: - type: object - properties: - creator: - type: string - structId: - type: string - locationType: - type: string - enum: - - guild - - player - - planet - - reactor - - substation - - struct - - allocation - - infusion - - address - - fleet - default: guild - ambit: - type: string - enum: - - none - - water - - land - - air - - space - - local - default: none - slot: - type: string - format: uint64 - structs.structs.MsgStructOreMinerComplete: - type: object - properties: - creator: - type: string - structId: - type: string - proof: - type: string - nonce: - type: string - structs.structs.MsgStructOreMinerStatusResponse: - type: object - properties: - struct: - type: object - properties: - id: - type: string - title: What it is - index: - type: string - format: uint64 - type: - type: string - format: uint64 - creator: - type: string - title: Who is it - owner: - type: string - locationType: - type: string - enum: - - guild - - player - - planet - - reactor - - substation - - struct - - allocation - - infusion - - address - - fleet - default: guild - title: Where it is - locationId: - type: string - operatingAmbit: - type: string - enum: - - none - - water - - land - - air - - space - - local - default: none - slot: - type: string - format: uint64 - structs.structs.MsgStructOreRefineryComplete: - type: object - properties: - creator: - type: string - structId: - type: string - proof: - type: string - nonce: - type: string - structs.structs.MsgStructOreRefineryStatusResponse: - type: object - properties: - struct: - type: object - properties: - id: - type: string - title: What it is - index: - type: string - format: uint64 - type: - type: string - format: uint64 - creator: - type: string - title: Who is it - owner: - type: string - locationType: - type: string - enum: - - guild - - player - - planet - - reactor - - substation - - struct - - allocation - - infusion - - address - - fleet - default: guild - title: Where it is - locationId: - type: string - operatingAmbit: - type: string - enum: - - none - - water - - land - - air - - space - - local - default: none - slot: - type: string - format: uint64 - structs.structs.MsgStructStatusResponse: - type: object - properties: - struct: - type: object - properties: - id: - type: string - title: What it is - index: - type: string - format: uint64 - type: - type: string - format: uint64 - creator: - type: string - title: Who is it - owner: - type: string - locationType: - type: string - enum: - - guild - - player - - planet - - reactor - - substation - - struct - - allocation - - infusion - - address - - fleet - default: guild - title: Where it is - locationId: - type: string - operatingAmbit: - type: string - enum: - - none - - water - - land - - air - - space - - local - default: none - slot: - type: string - format: uint64 - structs.structs.MsgStructStealthActivate: - type: object - properties: - creator: - type: string - structId: - type: string - structs.structs.MsgStructStealthDeactivate: - type: object - properties: - creator: - type: string - structId: - type: string - structs.structs.MsgSubstationAllocationConnect: - type: object - properties: - creator: - type: string - allocationId: - type: string - destinationId: - type: string - structs.structs.MsgSubstationAllocationConnectResponse: - type: object - structs.structs.MsgSubstationAllocationDisconnect: - type: object - properties: - creator: - type: string - allocationId: - type: string - structs.structs.MsgSubstationAllocationDisconnectResponse: - type: object - structs.structs.MsgSubstationCreate: - type: object - properties: - creator: - type: string - owner: - type: string - allocationId: - type: string - structs.structs.MsgSubstationCreateResponse: - type: object - properties: - substationId: - type: string - structs.structs.MsgSubstationDelete: - type: object - properties: - creator: - type: string - substationId: - type: string - migrationSubstationId: - type: string - structs.structs.MsgSubstationDeleteResponse: - type: object - structs.structs.MsgSubstationPlayerConnect: - type: object - properties: - creator: - type: string - substationId: - type: string - playerId: - type: string - structs.structs.MsgSubstationPlayerConnectResponse: - type: object - structs.structs.MsgSubstationPlayerDisconnect: - type: object - properties: - creator: - type: string - playerId: - type: string - structs.structs.MsgSubstationPlayerDisconnectResponse: - type: object - structs.structs.MsgSubstationPlayerMigrate: - type: object - properties: - creator: - type: string - substationId: - type: string - playerId: - type: array - items: - type: string - structs.structs.MsgSubstationPlayerMigrateResponse: - type: object - structs.structs.MsgUpdateParams: - type: object - properties: - authority: - type: string - description: >- - authority is the address that controls the module (defaults to x/gov - unless overwritten). - params: - description: |- - params defines the module parameters to update. - - NOTE: All parameters must be supplied. - type: object - description: MsgUpdateParams is the Msg/UpdateParams request type. - structs.structs.MsgUpdateParamsResponse: - type: object - description: |- - MsgUpdateParamsResponse defines the response structure for executing a - MsgUpdateParams message. - structs.structs.Params: - type: object - description: Params defines the parameters for the module. - structs.structs.Planet: - type: object - properties: - id: - type: string - maxOre: - type: string - format: uint64 - creator: - type: string - owner: - type: string - space: - type: array - items: - type: string - air: - type: array - items: - type: string - land: - type: array - items: - type: string - water: - type: array - items: - type: string - spaceSlots: - type: string - format: uint64 - airSlots: - type: string - format: uint64 - landSlots: - type: string - format: uint64 - waterSlots: - type: string - format: uint64 - status: - type: string - enum: - - active - - complete - default: active - locationListStart: - type: string - title: First in line to battle planet - locationListLast: - type: string - title: End of the line - structs.structs.Struct: - type: object - properties: - id: - type: string - title: What it is - index: - type: string - format: uint64 - type: - type: string - format: uint64 - creator: - type: string - title: Who is it - owner: - type: string - locationType: - type: string - enum: - - guild - - player - - planet - - reactor - - substation - - struct - - allocation - - infusion - - address - - fleet - default: guild - title: Where it is - locationId: - type: string - operatingAmbit: - type: string - enum: - - none - - water - - land - - air - - space - - local - default: none - slot: - type: string - format: uint64 - structs.structs.allocationType: - type: string - enum: - - static - - dynamic - - automated - default: static - structs.structs.ambit: - type: string - enum: - - none - - water - - land - - air - - space - - local - default: none - structs.structs.fleetStatus: - type: string - enum: - - onStation - - away - default: onStation - structs.structs.guildJoinBypassLevel: - type: string - enum: - - closed - - permissioned - - member - default: closed - title: |- - - closed: Feature off - - permissioned: Only those with permissions can do it - - member: All members of the guild can contribute - structs.structs.guildJoinType: - type: string - enum: - - invite - - request - - direct - - proxy - default: invite - structs.structs.objectType: - type: string - enum: - - guild - - player - - planet - - reactor - - substation - - struct - - allocation - - infusion - - address - - fleet - default: guild - structs.structs.planetStatus: - type: string - enum: - - active - - complete - default: active - structs.structs.registrationStatus: - type: string - enum: - - proposed - - approved - - denied - - revoked - default: proposed +{"id":"structs","consumes":["application/json"],"produces":["application/json"],"swagger":"2.0","info":{"description":"Chain structs REST API","title":"HTTP API Console","contact":{"name":"structs"},"version":"version not set"},"paths":{"/blockheight":{"get":{"tags":["Query"],"operationId":"StructsQuery_GetBlockHeight","responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.QueryBlockHeightResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs.structs.Msg/AddressRegister":{"post":{"tags":["Msg"],"operationId":"StructsMsg_AddressRegister","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/structs.structs.MsgAddressRegister"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.MsgAddressRegisterResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs.structs.Msg/AddressRevoke":{"post":{"tags":["Msg"],"operationId":"StructsMsg_AddressRevoke","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/structs.structs.MsgAddressRevoke"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.MsgAddressRevokeResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs.structs.Msg/AgreementCapacityDecrease":{"post":{"tags":["Msg"],"operationId":"StructsMsg_AgreementCapacityDecrease","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/structs.structs.MsgAgreementCapacityDecrease"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.MsgAgreementResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs.structs.Msg/AgreementCapacityIncrease":{"post":{"tags":["Msg"],"operationId":"StructsMsg_AgreementCapacityIncrease","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/structs.structs.MsgAgreementCapacityIncrease"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.MsgAgreementResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs.structs.Msg/AgreementClose":{"post":{"tags":["Msg"],"operationId":"StructsMsg_AgreementClose","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/structs.structs.MsgAgreementClose"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.MsgAgreementResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs.structs.Msg/AgreementDurationIncrease":{"post":{"tags":["Msg"],"operationId":"StructsMsg_AgreementDurationIncrease","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/structs.structs.MsgAgreementDurationIncrease"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.MsgAgreementResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs.structs.Msg/AgreementOpen":{"post":{"tags":["Msg"],"operationId":"StructsMsg_AgreementOpen","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/structs.structs.MsgAgreementOpen"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.MsgAgreementResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs.structs.Msg/AllocationCreate":{"post":{"tags":["Msg"],"operationId":"StructsMsg_AllocationCreate","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/structs.structs.MsgAllocationCreate"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.MsgAllocationCreateResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs.structs.Msg/AllocationDelete":{"post":{"tags":["Msg"],"operationId":"StructsMsg_AllocationDelete","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/structs.structs.MsgAllocationDelete"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.MsgAllocationDeleteResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs.structs.Msg/AllocationTransfer":{"post":{"tags":["Msg"],"operationId":"StructsMsg_AllocationTransfer","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/structs.structs.MsgAllocationTransfer"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.MsgAllocationTransferResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs.structs.Msg/AllocationUpdate":{"post":{"tags":["Msg"],"operationId":"StructsMsg_AllocationUpdate","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/structs.structs.MsgAllocationUpdate"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.MsgAllocationUpdateResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs.structs.Msg/FleetMove":{"post":{"tags":["Msg"],"operationId":"StructsMsg_FleetMove","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/structs.structs.MsgFleetMove"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.MsgFleetMoveResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs.structs.Msg/GuildBankConfiscateAndBurn":{"post":{"tags":["Msg"],"operationId":"StructsMsg_GuildBankConfiscateAndBurn","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/structs.structs.MsgGuildBankConfiscateAndBurn"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.MsgGuildBankConfiscateAndBurnResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs.structs.Msg/GuildBankMint":{"post":{"tags":["Msg"],"operationId":"StructsMsg_GuildBankMint","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/structs.structs.MsgGuildBankMint"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.MsgGuildBankMintResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs.structs.Msg/GuildBankRedeem":{"post":{"tags":["Msg"],"operationId":"StructsMsg_GuildBankRedeem","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/structs.structs.MsgGuildBankRedeem"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.MsgGuildBankRedeemResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs.structs.Msg/GuildCreate":{"post":{"tags":["Msg"],"operationId":"StructsMsg_GuildCreate","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/structs.structs.MsgGuildCreate"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.MsgGuildCreateResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs.structs.Msg/GuildMembershipInvite":{"post":{"tags":["Msg"],"operationId":"StructsMsg_GuildMembershipInvite","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/structs.structs.MsgGuildMembershipInvite"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.MsgGuildMembershipResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs.structs.Msg/GuildMembershipInviteApprove":{"post":{"tags":["Msg"],"operationId":"StructsMsg_GuildMembershipInviteApprove","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/structs.structs.MsgGuildMembershipInviteApprove"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.MsgGuildMembershipResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs.structs.Msg/GuildMembershipInviteDeny":{"post":{"tags":["Msg"],"operationId":"StructsMsg_GuildMembershipInviteDeny","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/structs.structs.MsgGuildMembershipInviteDeny"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.MsgGuildMembershipResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs.structs.Msg/GuildMembershipInviteRevoke":{"post":{"tags":["Msg"],"operationId":"StructsMsg_GuildMembershipInviteRevoke","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/structs.structs.MsgGuildMembershipInviteRevoke"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.MsgGuildMembershipResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs.structs.Msg/GuildMembershipJoin":{"post":{"tags":["Msg"],"operationId":"StructsMsg_GuildMembershipJoin","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/structs.structs.MsgGuildMembershipJoin"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.MsgGuildMembershipResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs.structs.Msg/GuildMembershipJoinProxy":{"post":{"tags":["Msg"],"operationId":"StructsMsg_GuildMembershipJoinProxy","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/structs.structs.MsgGuildMembershipJoinProxy"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.MsgGuildMembershipResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs.structs.Msg/GuildMembershipKick":{"post":{"tags":["Msg"],"operationId":"StructsMsg_GuildMembershipKick","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/structs.structs.MsgGuildMembershipKick"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.MsgGuildMembershipResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs.structs.Msg/GuildMembershipRequest":{"post":{"tags":["Msg"],"operationId":"StructsMsg_GuildMembershipRequest","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/structs.structs.MsgGuildMembershipRequest"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.MsgGuildMembershipResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs.structs.Msg/GuildMembershipRequestApprove":{"post":{"tags":["Msg"],"operationId":"StructsMsg_GuildMembershipRequestApprove","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/structs.structs.MsgGuildMembershipRequestApprove"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.MsgGuildMembershipResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs.structs.Msg/GuildMembershipRequestDeny":{"post":{"tags":["Msg"],"operationId":"StructsMsg_GuildMembershipRequestDeny","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/structs.structs.MsgGuildMembershipRequestDeny"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.MsgGuildMembershipResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs.structs.Msg/GuildMembershipRequestRevoke":{"post":{"tags":["Msg"],"operationId":"StructsMsg_GuildMembershipRequestRevoke","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/structs.structs.MsgGuildMembershipRequestRevoke"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.MsgGuildMembershipResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs.structs.Msg/GuildUpdateEndpoint":{"post":{"tags":["Msg"],"operationId":"StructsMsg_GuildUpdateEndpoint","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/structs.structs.MsgGuildUpdateEndpoint"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.MsgGuildUpdateResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs.structs.Msg/GuildUpdateEntrySubstationId":{"post":{"tags":["Msg"],"operationId":"StructsMsg_GuildUpdateEntrySubstationId","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/structs.structs.MsgGuildUpdateEntrySubstationId"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.MsgGuildUpdateResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs.structs.Msg/GuildUpdateJoinInfusionMinimum":{"post":{"tags":["Msg"],"operationId":"StructsMsg_GuildUpdateJoinInfusionMinimum","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/structs.structs.MsgGuildUpdateJoinInfusionMinimum"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.MsgGuildUpdateResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs.structs.Msg/GuildUpdateJoinInfusionMinimumBypassByInvite":{"post":{"tags":["Msg"],"operationId":"StructsMsg_GuildUpdateJoinInfusionMinimumBypassByInvite","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByInvite"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.MsgGuildUpdateResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs.structs.Msg/GuildUpdateJoinInfusionMinimumBypassByRequest":{"post":{"tags":["Msg"],"operationId":"StructsMsg_GuildUpdateJoinInfusionMinimumBypassByRequest","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByRequest"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.MsgGuildUpdateResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs.structs.Msg/GuildUpdateOwnerId":{"post":{"tags":["Msg"],"operationId":"StructsMsg_GuildUpdateOwnerId","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/structs.structs.MsgGuildUpdateOwnerId"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.MsgGuildUpdateResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs.structs.Msg/PermissionGrantOnAddress":{"post":{"tags":["Msg"],"operationId":"StructsMsg_PermissionGrantOnAddress","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/structs.structs.MsgPermissionGrantOnAddress"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.MsgPermissionResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs.structs.Msg/PermissionGrantOnObject":{"post":{"tags":["Msg"],"operationId":"StructsMsg_PermissionGrantOnObject","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/structs.structs.MsgPermissionGrantOnObject"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.MsgPermissionResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs.structs.Msg/PermissionRevokeOnAddress":{"post":{"tags":["Msg"],"operationId":"StructsMsg_PermissionRevokeOnAddress","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/structs.structs.MsgPermissionRevokeOnAddress"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.MsgPermissionResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs.structs.Msg/PermissionRevokeOnObject":{"post":{"tags":["Msg"],"operationId":"StructsMsg_PermissionRevokeOnObject","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/structs.structs.MsgPermissionRevokeOnObject"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.MsgPermissionResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs.structs.Msg/PermissionSetOnAddress":{"post":{"tags":["Msg"],"operationId":"StructsMsg_PermissionSetOnAddress","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/structs.structs.MsgPermissionSetOnAddress"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.MsgPermissionResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs.structs.Msg/PermissionSetOnObject":{"post":{"tags":["Msg"],"operationId":"StructsMsg_PermissionSetOnObject","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/structs.structs.MsgPermissionSetOnObject"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.MsgPermissionResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs.structs.Msg/PlanetExplore":{"post":{"tags":["Msg"],"operationId":"StructsMsg_PlanetExplore","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/structs.structs.MsgPlanetExplore"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.MsgPlanetExploreResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs.structs.Msg/PlanetRaidComplete":{"post":{"tags":["Msg"],"operationId":"StructsMsg_PlanetRaidComplete","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/structs.structs.MsgPlanetRaidComplete"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.MsgPlanetRaidCompleteResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs.structs.Msg/PlayerResume":{"post":{"tags":["Msg"],"operationId":"StructsMsg_PlayerResume","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/structs.structs.MsgPlayerResume"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.MsgPlayerResumeResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs.structs.Msg/PlayerUpdatePrimaryAddress":{"post":{"tags":["Msg"],"operationId":"StructsMsg_PlayerUpdatePrimaryAddress","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/structs.structs.MsgPlayerUpdatePrimaryAddress"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.MsgPlayerUpdatePrimaryAddressResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs.structs.Msg/ProviderCreate":{"post":{"tags":["Msg"],"operationId":"StructsMsg_ProviderCreate","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/structs.structs.MsgProviderCreate"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.MsgProviderResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs.structs.Msg/ProviderDelete":{"post":{"tags":["Msg"],"operationId":"StructsMsg_ProviderDelete","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/structs.structs.MsgProviderDelete"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.MsgProviderResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs.structs.Msg/ProviderGuildGrant":{"post":{"tags":["Msg"],"operationId":"StructsMsg_ProviderGuildGrant","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/structs.structs.MsgProviderGuildGrant"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.MsgProviderResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs.structs.Msg/ProviderGuildRevoke":{"post":{"tags":["Msg"],"operationId":"StructsMsg_ProviderGuildRevoke","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/structs.structs.MsgProviderGuildRevoke"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.MsgProviderResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs.structs.Msg/ProviderUpdateAccessPolicy":{"post":{"tags":["Msg"],"operationId":"StructsMsg_ProviderUpdateAccessPolicy","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/structs.structs.MsgProviderUpdateAccessPolicy"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.MsgProviderResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs.structs.Msg/ProviderUpdateCapacityMaximum":{"post":{"tags":["Msg"],"operationId":"StructsMsg_ProviderUpdateCapacityMaximum","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/structs.structs.MsgProviderUpdateCapacityMaximum"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.MsgProviderResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs.structs.Msg/ProviderUpdateCapacityMinimum":{"post":{"tags":["Msg"],"operationId":"StructsMsg_ProviderUpdateCapacityMinimum","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/structs.structs.MsgProviderUpdateCapacityMinimum"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.MsgProviderResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs.structs.Msg/ProviderUpdateDurationMaximum":{"post":{"tags":["Msg"],"operationId":"StructsMsg_ProviderUpdateDurationMaximum","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/structs.structs.MsgProviderUpdateDurationMaximum"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.MsgProviderResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs.structs.Msg/ProviderUpdateDurationMinimum":{"post":{"tags":["Msg"],"operationId":"StructsMsg_ProviderUpdateDurationMinimum","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/structs.structs.MsgProviderUpdateDurationMinimum"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.MsgProviderResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs.structs.Msg/ProviderWithdrawBalance":{"post":{"tags":["Msg"],"operationId":"StructsMsg_ProviderWithdrawBalance","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/structs.structs.MsgProviderWithdrawBalance"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.MsgProviderResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs.structs.Msg/StructActivate":{"post":{"tags":["Msg"],"operationId":"StructsMsg_StructActivate","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/structs.structs.MsgStructActivate"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.MsgStructStatusResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs.structs.Msg/StructAttack":{"post":{"tags":["Msg"],"operationId":"StructsMsg_StructAttack","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/structs.structs.MsgStructAttack"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.MsgStructAttackResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs.structs.Msg/StructBuildCancel":{"post":{"tags":["Msg"],"operationId":"StructsMsg_StructBuildCancel","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/structs.structs.MsgStructBuildCancel"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.MsgStructStatusResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs.structs.Msg/StructBuildComplete":{"post":{"tags":["Msg"],"operationId":"StructsMsg_StructBuildComplete","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/structs.structs.MsgStructBuildComplete"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.MsgStructStatusResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs.structs.Msg/StructBuildInitiate":{"post":{"tags":["Msg"],"operationId":"StructsMsg_StructBuildInitiate","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/structs.structs.MsgStructBuildInitiate"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.MsgStructStatusResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs.structs.Msg/StructDeactivate":{"post":{"tags":["Msg"],"operationId":"StructsMsg_StructDeactivate","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/structs.structs.MsgStructDeactivate"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.MsgStructStatusResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs.structs.Msg/StructDefenseClear":{"post":{"tags":["Msg"],"operationId":"StructsMsg_StructDefenseClear","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/structs.structs.MsgStructDefenseClear"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.MsgStructStatusResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs.structs.Msg/StructDefenseSet":{"post":{"tags":["Msg"],"operationId":"StructsMsg_StructDefenseSet","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/structs.structs.MsgStructDefenseSet"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.MsgStructStatusResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs.structs.Msg/StructGeneratorInfuse":{"post":{"tags":["Msg"],"operationId":"StructsMsg_StructGeneratorInfuse","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/structs.structs.MsgStructGeneratorInfuse"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.MsgStructGeneratorStatusResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs.structs.Msg/StructMove":{"post":{"tags":["Msg"],"operationId":"StructsMsg_StructMove","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/structs.structs.MsgStructMove"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.MsgStructStatusResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs.structs.Msg/StructOreMinerComplete":{"post":{"tags":["Msg"],"operationId":"StructsMsg_StructOreMinerComplete","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/structs.structs.MsgStructOreMinerComplete"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.MsgStructOreMinerStatusResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs.structs.Msg/StructOreRefineryComplete":{"post":{"tags":["Msg"],"operationId":"StructsMsg_StructOreRefineryComplete","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/structs.structs.MsgStructOreRefineryComplete"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.MsgStructOreRefineryStatusResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs.structs.Msg/StructStealthActivate":{"post":{"tags":["Msg"],"operationId":"StructsMsg_StructStealthActivate","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/structs.structs.MsgStructStealthActivate"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.MsgStructStatusResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs.structs.Msg/StructStealthDeactivate":{"post":{"tags":["Msg"],"operationId":"StructsMsg_StructStealthDeactivate","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/structs.structs.MsgStructStealthDeactivate"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.MsgStructStatusResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs.structs.Msg/SubstationAllocationConnect":{"post":{"tags":["Msg"],"operationId":"StructsMsg_SubstationAllocationConnect","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/structs.structs.MsgSubstationAllocationConnect"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.MsgSubstationAllocationConnectResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs.structs.Msg/SubstationAllocationDisconnect":{"post":{"tags":["Msg"],"operationId":"StructsMsg_SubstationAllocationDisconnect","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/structs.structs.MsgSubstationAllocationDisconnect"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.MsgSubstationAllocationDisconnectResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs.structs.Msg/SubstationCreate":{"post":{"tags":["Msg"],"operationId":"StructsMsg_SubstationCreate","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/structs.structs.MsgSubstationCreate"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.MsgSubstationCreateResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs.structs.Msg/SubstationDelete":{"post":{"tags":["Msg"],"operationId":"StructsMsg_SubstationDelete","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/structs.structs.MsgSubstationDelete"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.MsgSubstationDeleteResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs.structs.Msg/SubstationPlayerConnect":{"post":{"tags":["Msg"],"operationId":"StructsMsg_SubstationPlayerConnect","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/structs.structs.MsgSubstationPlayerConnect"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.MsgSubstationPlayerConnectResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs.structs.Msg/SubstationPlayerDisconnect":{"post":{"tags":["Msg"],"operationId":"StructsMsg_SubstationPlayerDisconnect","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/structs.structs.MsgSubstationPlayerDisconnect"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.MsgSubstationPlayerDisconnectResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs.structs.Msg/SubstationPlayerMigrate":{"post":{"tags":["Msg"],"operationId":"StructsMsg_SubstationPlayerMigrate","parameters":[{"name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/structs.structs.MsgSubstationPlayerMigrate"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.MsgSubstationPlayerMigrateResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs.structs.Msg/UpdateParams":{"post":{"tags":["Msg"],"summary":"UpdateParams defines a (governance) operation for updating the module\nparameters. The authority defaults to the x/gov module account.","operationId":"StructsMsg_UpdateParams","parameters":[{"description":"MsgUpdateParams is the Msg/UpdateParams request type.","name":"body","in":"body","required":true,"schema":{"$ref":"#/definitions/structs.structs.MsgUpdateParams"}}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.MsgUpdateParamsResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs/address":{"get":{"tags":["Query"],"operationId":"StructsQuery_AddressAll","parameters":[{"type":"string","format":"byte","description":"key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.","name":"pagination.key","in":"query"},{"type":"string","format":"uint64","description":"offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.","name":"pagination.offset","in":"query"},{"type":"string","format":"uint64","description":"limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.","name":"pagination.limit","in":"query"},{"type":"boolean","description":"count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.","name":"pagination.count_total","in":"query"},{"type":"boolean","description":"reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43","name":"pagination.reverse","in":"query"}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.QueryAllAddressResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs/address/{address}":{"get":{"tags":["Query"],"summary":"Queries for Addresses.","operationId":"StructsQuery_Address","parameters":[{"type":"string","name":"address","in":"path","required":true}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.QueryAddressResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs/address_by_player/{playerId}":{"get":{"tags":["Query"],"operationId":"StructsQuery_AddressAllByPlayer","parameters":[{"type":"string","name":"playerId","in":"path","required":true},{"type":"string","format":"byte","description":"key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.","name":"pagination.key","in":"query"},{"type":"string","format":"uint64","description":"offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.","name":"pagination.offset","in":"query"},{"type":"string","format":"uint64","description":"limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.","name":"pagination.limit","in":"query"},{"type":"boolean","description":"count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.","name":"pagination.count_total","in":"query"},{"type":"boolean","description":"reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43","name":"pagination.reverse","in":"query"}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.QueryAllAddressResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs/agreement":{"get":{"tags":["Query"],"operationId":"StructsQuery_AgreementAll","parameters":[{"type":"string","format":"byte","description":"key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.","name":"pagination.key","in":"query"},{"type":"string","format":"uint64","description":"offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.","name":"pagination.offset","in":"query"},{"type":"string","format":"uint64","description":"limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.","name":"pagination.limit","in":"query"},{"type":"boolean","description":"count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.","name":"pagination.count_total","in":"query"},{"type":"boolean","description":"reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43","name":"pagination.reverse","in":"query"}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.QueryAllAgreementResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs/agreement/{id}":{"get":{"tags":["Query"],"summary":"Queries a list of Agreement items.","operationId":"StructsQuery_Agreement","parameters":[{"type":"string","name":"id","in":"path","required":true}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.QueryGetAgreementResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs/agreement_by_provider/{providerId}":{"get":{"tags":["Query"],"operationId":"StructsQuery_AgreementAllByProvider","parameters":[{"type":"string","name":"providerId","in":"path","required":true},{"type":"string","format":"byte","description":"key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.","name":"pagination.key","in":"query"},{"type":"string","format":"uint64","description":"offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.","name":"pagination.offset","in":"query"},{"type":"string","format":"uint64","description":"limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.","name":"pagination.limit","in":"query"},{"type":"boolean","description":"count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.","name":"pagination.count_total","in":"query"},{"type":"boolean","description":"reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43","name":"pagination.reverse","in":"query"}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.QueryAllAgreementResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs/allocation":{"get":{"tags":["Query"],"operationId":"StructsQuery_AllocationAll","parameters":[{"type":"string","format":"byte","description":"key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.","name":"pagination.key","in":"query"},{"type":"string","format":"uint64","description":"offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.","name":"pagination.offset","in":"query"},{"type":"string","format":"uint64","description":"limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.","name":"pagination.limit","in":"query"},{"type":"boolean","description":"count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.","name":"pagination.count_total","in":"query"},{"type":"boolean","description":"reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43","name":"pagination.reverse","in":"query"}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.QueryAllAllocationResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs/allocation/{id}":{"get":{"tags":["Query"],"summary":"Queries a list of Allocation items.","operationId":"StructsQuery_Allocation","parameters":[{"type":"string","name":"id","in":"path","required":true}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.QueryGetAllocationResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs/allocation_by_destination/{destinationId}":{"get":{"tags":["Query"],"operationId":"StructsQuery_AllocationAllByDestination","parameters":[{"type":"string","name":"destinationId","in":"path","required":true},{"type":"string","format":"byte","description":"key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.","name":"pagination.key","in":"query"},{"type":"string","format":"uint64","description":"offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.","name":"pagination.offset","in":"query"},{"type":"string","format":"uint64","description":"limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.","name":"pagination.limit","in":"query"},{"type":"boolean","description":"count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.","name":"pagination.count_total","in":"query"},{"type":"boolean","description":"reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43","name":"pagination.reverse","in":"query"}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.QueryAllAllocationResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs/allocation_by_source/{sourceId}":{"get":{"tags":["Query"],"operationId":"StructsQuery_AllocationAllBySource","parameters":[{"type":"string","name":"sourceId","in":"path","required":true},{"type":"string","format":"byte","description":"key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.","name":"pagination.key","in":"query"},{"type":"string","format":"uint64","description":"offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.","name":"pagination.offset","in":"query"},{"type":"string","format":"uint64","description":"limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.","name":"pagination.limit","in":"query"},{"type":"boolean","description":"count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.","name":"pagination.count_total","in":"query"},{"type":"boolean","description":"reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43","name":"pagination.reverse","in":"query"}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.QueryAllAllocationResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs/fleet":{"get":{"tags":["Query"],"operationId":"StructsQuery_FleetAll","parameters":[{"type":"string","format":"byte","description":"key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.","name":"pagination.key","in":"query"},{"type":"string","format":"uint64","description":"offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.","name":"pagination.offset","in":"query"},{"type":"string","format":"uint64","description":"limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.","name":"pagination.limit","in":"query"},{"type":"boolean","description":"count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.","name":"pagination.count_total","in":"query"},{"type":"boolean","description":"reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43","name":"pagination.reverse","in":"query"}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.QueryAllFleetResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs/fleet/{id}":{"get":{"tags":["Query"],"summary":"Queries a list of Fleet items.","operationId":"StructsQuery_Fleet","parameters":[{"type":"string","name":"id","in":"path","required":true}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.QueryGetFleetResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs/fleet_by_index/{index}":{"get":{"tags":["Query"],"operationId":"StructsQuery_FleetByIndex","parameters":[{"type":"string","format":"uint64","name":"index","in":"path","required":true}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.QueryGetFleetResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs/grid":{"get":{"tags":["Query"],"summary":"Queries a list of all Grid details","operationId":"StructsQuery_GridAll","parameters":[{"type":"string","format":"byte","description":"key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.","name":"pagination.key","in":"query"},{"type":"string","format":"uint64","description":"offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.","name":"pagination.offset","in":"query"},{"type":"string","format":"uint64","description":"limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.","name":"pagination.limit","in":"query"},{"type":"boolean","description":"count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.","name":"pagination.count_total","in":"query"},{"type":"boolean","description":"reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43","name":"pagination.reverse","in":"query"}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.QueryAllGridResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs/grid/{attributeId}":{"get":{"tags":["Query"],"summary":"Queries a specific Grid details","operationId":"StructsQuery_Grid","parameters":[{"type":"string","name":"attributeId","in":"path","required":true}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.QueryGetGridResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs/guild":{"get":{"tags":["Query"],"operationId":"StructsQuery_GuildAll","parameters":[{"type":"string","format":"byte","description":"key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.","name":"pagination.key","in":"query"},{"type":"string","format":"uint64","description":"offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.","name":"pagination.offset","in":"query"},{"type":"string","format":"uint64","description":"limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.","name":"pagination.limit","in":"query"},{"type":"boolean","description":"count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.","name":"pagination.count_total","in":"query"},{"type":"boolean","description":"reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43","name":"pagination.reverse","in":"query"}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.QueryAllGuildResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs/guild/{id}":{"get":{"tags":["Query"],"summary":"Queries a list of Guild items.","operationId":"StructsQuery_Guild","parameters":[{"type":"string","name":"id","in":"path","required":true}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.QueryGetGuildResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs/guild_bank_collateral_address":{"get":{"tags":["Query"],"operationId":"StructsQuery_GuildBankCollateralAddressAll","parameters":[{"type":"string","format":"byte","description":"key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.","name":"pagination.key","in":"query"},{"type":"string","format":"uint64","description":"offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.","name":"pagination.offset","in":"query"},{"type":"string","format":"uint64","description":"limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.","name":"pagination.limit","in":"query"},{"type":"boolean","description":"count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.","name":"pagination.count_total","in":"query"},{"type":"boolean","description":"reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43","name":"pagination.reverse","in":"query"}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.QueryAllGuildBankCollateralAddressResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs/guild_bank_collateral_address/{guildId}":{"get":{"tags":["Query"],"operationId":"StructsQuery_GuildBankCollateralAddress","parameters":[{"type":"string","name":"guildId","in":"path","required":true}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.QueryAllGuildBankCollateralAddressResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs/guild_membership_application":{"get":{"tags":["Query"],"operationId":"StructsQuery_GuildMembershipApplicationAll","parameters":[{"type":"string","format":"byte","description":"key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.","name":"pagination.key","in":"query"},{"type":"string","format":"uint64","description":"offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.","name":"pagination.offset","in":"query"},{"type":"string","format":"uint64","description":"limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.","name":"pagination.limit","in":"query"},{"type":"boolean","description":"count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.","name":"pagination.count_total","in":"query"},{"type":"boolean","description":"reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43","name":"pagination.reverse","in":"query"}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.QueryAllGuildMembershipApplicationResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs/guild_membership_application/{guildId}/{playerId}":{"get":{"tags":["Query"],"operationId":"StructsQuery_GuildMembershipApplication","parameters":[{"type":"string","name":"guildId","in":"path","required":true},{"type":"string","name":"playerId","in":"path","required":true}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.QueryGetGuildMembershipApplicationResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs/infusion":{"get":{"tags":["Query"],"operationId":"StructsQuery_InfusionAll","parameters":[{"type":"string","format":"byte","description":"key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.","name":"pagination.key","in":"query"},{"type":"string","format":"uint64","description":"offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.","name":"pagination.offset","in":"query"},{"type":"string","format":"uint64","description":"limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.","name":"pagination.limit","in":"query"},{"type":"boolean","description":"count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.","name":"pagination.count_total","in":"query"},{"type":"boolean","description":"reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43","name":"pagination.reverse","in":"query"}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.QueryAllInfusionResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs/infusion/{destinationId}/{address}":{"get":{"tags":["Query"],"summary":"Queries a list of Infusions.","operationId":"StructsQuery_Infusion","parameters":[{"type":"string","name":"destinationId","in":"path","required":true},{"type":"string","name":"address","in":"path","required":true}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.QueryGetInfusionResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs/infusion_by_destination/{destinationId}":{"get":{"tags":["Query"],"operationId":"StructsQuery_InfusionAllByDestination","parameters":[{"type":"string","name":"destinationId","in":"path","required":true},{"type":"string","format":"byte","description":"key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.","name":"pagination.key","in":"query"},{"type":"string","format":"uint64","description":"offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.","name":"pagination.offset","in":"query"},{"type":"string","format":"uint64","description":"limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.","name":"pagination.limit","in":"query"},{"type":"boolean","description":"count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.","name":"pagination.count_total","in":"query"},{"type":"boolean","description":"reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43","name":"pagination.reverse","in":"query"}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.QueryAllInfusionResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs/permission":{"get":{"tags":["Query"],"summary":"Queries a list of all Permissions","operationId":"StructsQuery_PermissionAll","parameters":[{"type":"string","format":"byte","description":"key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.","name":"pagination.key","in":"query"},{"type":"string","format":"uint64","description":"offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.","name":"pagination.offset","in":"query"},{"type":"string","format":"uint64","description":"limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.","name":"pagination.limit","in":"query"},{"type":"boolean","description":"count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.","name":"pagination.count_total","in":"query"},{"type":"boolean","description":"reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43","name":"pagination.reverse","in":"query"}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.QueryAllPermissionResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs/permission/object/{objectId}":{"get":{"tags":["Query"],"summary":"Queries a list of Permissions based on Object","operationId":"StructsQuery_PermissionByObject","parameters":[{"type":"string","name":"objectId","in":"path","required":true},{"type":"string","format":"byte","description":"key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.","name":"pagination.key","in":"query"},{"type":"string","format":"uint64","description":"offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.","name":"pagination.offset","in":"query"},{"type":"string","format":"uint64","description":"limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.","name":"pagination.limit","in":"query"},{"type":"boolean","description":"count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.","name":"pagination.count_total","in":"query"},{"type":"boolean","description":"reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43","name":"pagination.reverse","in":"query"}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.QueryAllPermissionResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs/permission/player/{playerId}":{"get":{"tags":["Query"],"summary":"Queries a list of Permissions based on the Player with the permissions","operationId":"StructsQuery_PermissionByPlayer","parameters":[{"type":"string","name":"playerId","in":"path","required":true},{"type":"string","format":"byte","description":"key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.","name":"pagination.key","in":"query"},{"type":"string","format":"uint64","description":"offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.","name":"pagination.offset","in":"query"},{"type":"string","format":"uint64","description":"limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.","name":"pagination.limit","in":"query"},{"type":"boolean","description":"count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.","name":"pagination.count_total","in":"query"},{"type":"boolean","description":"reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43","name":"pagination.reverse","in":"query"}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.QueryAllPermissionResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs/permission/{permissionId}":{"get":{"tags":["Query"],"summary":"Queries a specific Permission","operationId":"StructsQuery_Permission","parameters":[{"type":"string","name":"permissionId","in":"path","required":true}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.QueryGetPermissionResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs/planet":{"get":{"tags":["Query"],"operationId":"StructsQuery_PlanetAll","parameters":[{"type":"string","format":"byte","description":"key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.","name":"pagination.key","in":"query"},{"type":"string","format":"uint64","description":"offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.","name":"pagination.offset","in":"query"},{"type":"string","format":"uint64","description":"limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.","name":"pagination.limit","in":"query"},{"type":"boolean","description":"count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.","name":"pagination.count_total","in":"query"},{"type":"boolean","description":"reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43","name":"pagination.reverse","in":"query"}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.QueryAllPlanetResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs/planet/{id}":{"get":{"tags":["Query"],"summary":"Queries a list of Planet items.","operationId":"StructsQuery_Planet","parameters":[{"type":"string","name":"id","in":"path","required":true}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.QueryGetPlanetResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs/planet_attribute":{"get":{"tags":["Query"],"summary":"Queries a list of all Planet Attributes","operationId":"StructsQuery_PlanetAttributeAll","parameters":[{"type":"string","format":"byte","description":"key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.","name":"pagination.key","in":"query"},{"type":"string","format":"uint64","description":"offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.","name":"pagination.offset","in":"query"},{"type":"string","format":"uint64","description":"limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.","name":"pagination.limit","in":"query"},{"type":"boolean","description":"count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.","name":"pagination.count_total","in":"query"},{"type":"boolean","description":"reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43","name":"pagination.reverse","in":"query"}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.QueryAllPlanetAttributeResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs/planet_attribute/{planetId}/{attributeType}":{"get":{"tags":["Query"],"operationId":"StructsQuery_PlanetAttribute","parameters":[{"type":"string","name":"planetId","in":"path","required":true},{"type":"string","name":"attributeType","in":"path","required":true}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.QueryGetPlanetAttributeResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs/planet_by_player/{playerId}":{"get":{"tags":["Query"],"operationId":"StructsQuery_PlanetAllByPlayer","parameters":[{"type":"string","name":"playerId","in":"path","required":true},{"type":"string","format":"byte","description":"key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.","name":"pagination.key","in":"query"},{"type":"string","format":"uint64","description":"offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.","name":"pagination.offset","in":"query"},{"type":"string","format":"uint64","description":"limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.","name":"pagination.limit","in":"query"},{"type":"boolean","description":"count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.","name":"pagination.count_total","in":"query"},{"type":"boolean","description":"reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43","name":"pagination.reverse","in":"query"}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.QueryAllPlanetResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs/player":{"get":{"tags":["Query"],"operationId":"StructsQuery_PlayerAll","parameters":[{"type":"string","format":"byte","description":"key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.","name":"pagination.key","in":"query"},{"type":"string","format":"uint64","description":"offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.","name":"pagination.offset","in":"query"},{"type":"string","format":"uint64","description":"limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.","name":"pagination.limit","in":"query"},{"type":"boolean","description":"count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.","name":"pagination.count_total","in":"query"},{"type":"boolean","description":"reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43","name":"pagination.reverse","in":"query"}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.QueryAllPlayerResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs/player/{id}":{"get":{"tags":["Query"],"summary":"Queries a list of Player items.","operationId":"StructsQuery_Player","parameters":[{"type":"string","name":"id","in":"path","required":true}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.QueryGetPlayerResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs/player_halted":{"get":{"tags":["Query"],"operationId":"StructsQuery_PlayerHaltedAll","responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.QueryAllPlayerHaltedResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs/provider":{"get":{"tags":["Query"],"operationId":"StructsQuery_ProviderAll","parameters":[{"type":"string","format":"byte","description":"key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.","name":"pagination.key","in":"query"},{"type":"string","format":"uint64","description":"offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.","name":"pagination.offset","in":"query"},{"type":"string","format":"uint64","description":"limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.","name":"pagination.limit","in":"query"},{"type":"boolean","description":"count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.","name":"pagination.count_total","in":"query"},{"type":"boolean","description":"reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43","name":"pagination.reverse","in":"query"}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.QueryAllProviderResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs/provider/{id}":{"get":{"tags":["Query"],"summary":"Queries a list of Allocation items.","operationId":"StructsQuery_Provider","parameters":[{"type":"string","name":"id","in":"path","required":true}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.QueryGetProviderResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs/provider_collateral_address":{"get":{"tags":["Query"],"operationId":"StructsQuery_ProviderCollateralAddressAll","parameters":[{"type":"string","format":"byte","description":"key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.","name":"pagination.key","in":"query"},{"type":"string","format":"uint64","description":"offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.","name":"pagination.offset","in":"query"},{"type":"string","format":"uint64","description":"limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.","name":"pagination.limit","in":"query"},{"type":"boolean","description":"count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.","name":"pagination.count_total","in":"query"},{"type":"boolean","description":"reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43","name":"pagination.reverse","in":"query"}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.QueryAllProviderCollateralAddressResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs/provider_collateral_address/{providerId}":{"get":{"tags":["Query"],"operationId":"StructsQuery_ProviderCollateralAddress","parameters":[{"type":"string","name":"providerId","in":"path","required":true}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.QueryAllProviderCollateralAddressResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs/provider_earnings_address":{"get":{"tags":["Query"],"operationId":"StructsQuery_ProviderEarningsAddressAll","parameters":[{"type":"string","format":"byte","description":"key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.","name":"pagination.key","in":"query"},{"type":"string","format":"uint64","description":"offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.","name":"pagination.offset","in":"query"},{"type":"string","format":"uint64","description":"limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.","name":"pagination.limit","in":"query"},{"type":"boolean","description":"count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.","name":"pagination.count_total","in":"query"},{"type":"boolean","description":"reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43","name":"pagination.reverse","in":"query"}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.QueryAllProviderEarningsAddressResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs/provider_earnings_address/{providerId}":{"get":{"tags":["Query"],"summary":"TODO Requires a lookup table that I don't know if we care about\nrpc ProviderByCollateralAddress (QueryGetProviderByCollateralAddressRequest) returns (QueryGetProviderResponse) {\noption (google.api.http).get = \"/structs/provider_by_collateral_address/{address}\";\n}","operationId":"StructsQuery_ProviderEarningsAddress","parameters":[{"type":"string","name":"providerId","in":"path","required":true}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.QueryAllProviderEarningsAddressResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs/reactor":{"get":{"tags":["Query"],"operationId":"StructsQuery_ReactorAll","parameters":[{"type":"string","format":"byte","description":"key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.","name":"pagination.key","in":"query"},{"type":"string","format":"uint64","description":"offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.","name":"pagination.offset","in":"query"},{"type":"string","format":"uint64","description":"limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.","name":"pagination.limit","in":"query"},{"type":"boolean","description":"count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.","name":"pagination.count_total","in":"query"},{"type":"boolean","description":"reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43","name":"pagination.reverse","in":"query"}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.QueryAllReactorResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs/reactor/{id}":{"get":{"tags":["Query"],"summary":"Queries a list of Reactor items.","operationId":"StructsQuery_Reactor","parameters":[{"type":"string","name":"id","in":"path","required":true}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.QueryGetReactorResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs/struct":{"get":{"tags":["Query"],"operationId":"StructsQuery_StructAll","parameters":[{"type":"string","format":"byte","description":"key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.","name":"pagination.key","in":"query"},{"type":"string","format":"uint64","description":"offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.","name":"pagination.offset","in":"query"},{"type":"string","format":"uint64","description":"limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.","name":"pagination.limit","in":"query"},{"type":"boolean","description":"count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.","name":"pagination.count_total","in":"query"},{"type":"boolean","description":"reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43","name":"pagination.reverse","in":"query"}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.QueryAllStructResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs/struct/{id}":{"get":{"tags":["Query"],"summary":"Queries a list of Structs items.","operationId":"StructsQuery_Struct","parameters":[{"type":"string","name":"id","in":"path","required":true}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.QueryGetStructResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs/struct_attribute":{"get":{"tags":["Query"],"summary":"Queries a list of all Struct Attributes","operationId":"StructsQuery_StructAttributeAll","parameters":[{"type":"string","format":"byte","description":"key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.","name":"pagination.key","in":"query"},{"type":"string","format":"uint64","description":"offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.","name":"pagination.offset","in":"query"},{"type":"string","format":"uint64","description":"limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.","name":"pagination.limit","in":"query"},{"type":"boolean","description":"count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.","name":"pagination.count_total","in":"query"},{"type":"boolean","description":"reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43","name":"pagination.reverse","in":"query"}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.QueryAllStructAttributeResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs/struct_attribute/{structId}/{attributeType}":{"get":{"tags":["Query"],"operationId":"StructsQuery_StructAttribute","parameters":[{"type":"string","name":"structId","in":"path","required":true},{"type":"string","name":"attributeType","in":"path","required":true}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.QueryGetStructAttributeResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs/struct_type":{"get":{"tags":["Query"],"operationId":"StructsQuery_StructTypeAll","parameters":[{"type":"string","format":"byte","description":"key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.","name":"pagination.key","in":"query"},{"type":"string","format":"uint64","description":"offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.","name":"pagination.offset","in":"query"},{"type":"string","format":"uint64","description":"limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.","name":"pagination.limit","in":"query"},{"type":"boolean","description":"count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.","name":"pagination.count_total","in":"query"},{"type":"boolean","description":"reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43","name":"pagination.reverse","in":"query"}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.QueryAllStructTypeResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs/struct_type/{id}":{"get":{"tags":["Query"],"summary":"Queries a list of Struct Types items.","operationId":"StructsQuery_StructType","parameters":[{"type":"string","format":"uint64","name":"id","in":"path","required":true}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.QueryGetStructTypeResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs/structs/params":{"get":{"tags":["Query"],"summary":"Parameters queries the parameters of the module.","operationId":"StructsQuery_Params","responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.QueryParamsResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs/substation":{"get":{"tags":["Query"],"operationId":"StructsQuery_SubstationAll","parameters":[{"type":"string","format":"byte","description":"key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.","name":"pagination.key","in":"query"},{"type":"string","format":"uint64","description":"offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.","name":"pagination.offset","in":"query"},{"type":"string","format":"uint64","description":"limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.","name":"pagination.limit","in":"query"},{"type":"boolean","description":"count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.","name":"pagination.count_total","in":"query"},{"type":"boolean","description":"reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43","name":"pagination.reverse","in":"query"}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.QueryAllSubstationResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs/substation/{id}":{"get":{"tags":["Query"],"summary":"Queries a list of Substation items.","operationId":"StructsQuery_Substation","parameters":[{"type":"string","name":"id","in":"path","required":true}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.QueryGetSubstationResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}},"/structs/validate_signature/{address}/{proofPubKey}/{proofSignature}/{message}":{"get":{"tags":["Query"],"operationId":"StructsQuery_ValidateSignature","parameters":[{"type":"string","name":"address","in":"path","required":true},{"type":"string","name":"proofPubKey","in":"path","required":true},{"type":"string","name":"proofSignature","in":"path","required":true},{"type":"string","name":"message","in":"path","required":true}],"responses":{"200":{"description":"A successful response.","schema":{"$ref":"#/definitions/structs.structs.QueryValidateSignatureResponse"}},"default":{"description":"An unexpected error response.","schema":{"$ref":"#/definitions/google.rpc.Status"}}}}}},"definitions":{"cosmos.base.query.v1beta1.PageRequest":{"description":"message SomeRequest {\n Foo some_parameter = 1;\n PageRequest pagination = 2;\n }","type":"object","title":"PageRequest is to be embedded in gRPC request messages for efficient\npagination. Ex:","properties":{"count_total":{"description":"count_total is set to true to indicate that the result set should include\na count of the total number of items available for pagination in UIs.\ncount_total is only respected when offset is used. It is ignored when key\nis set.","type":"boolean"},"key":{"description":"key is a value returned in PageResponse.next_key to begin\nquerying the next page most efficiently. Only one of offset or key\nshould be set.","type":"string","format":"byte"},"limit":{"description":"limit is the total number of results to be returned in the result page.\nIf left empty it will default to a value to be set by each app.","type":"string","format":"uint64"},"offset":{"description":"offset is a numeric offset that can be used when key is unavailable.\nIt is less efficient than using key. Only one of offset or key should\nbe set.","type":"string","format":"uint64"},"reverse":{"description":"reverse is set to true if results are to be returned in the descending order.\n\nSince: cosmos-sdk 0.43","type":"boolean"}}},"cosmos.base.query.v1beta1.PageResponse":{"description":"PageResponse is to be embedded in gRPC response messages where the\ncorresponding request message has used PageRequest.\n\n message SomeResponse {\n repeated Bar results = 1;\n PageResponse page = 2;\n }","type":"object","properties":{"next_key":{"description":"next_key is the key to be passed to PageRequest.key to\nquery the next page most efficiently. It will be empty if\nthere are no more results.","type":"string","format":"byte"},"total":{"type":"string","format":"uint64","title":"total is total number of results available if PageRequest.count_total\nwas set, its value is undefined otherwise"}}},"cosmos.base.v1beta1.Coin":{"description":"Coin defines a token with a denomination and an amount.\n\nNOTE: The amount field is an Int which implements the custom method\nsignatures required by gogoproto.","type":"object","properties":{"amount":{"type":"string"},"denom":{"type":"string"}}},"google.protobuf.Any":{"type":"object","properties":{"@type":{"type":"string"}},"additionalProperties":{}},"google.rpc.Status":{"type":"object","properties":{"code":{"type":"integer","format":"int32"},"details":{"type":"array","items":{"type":"object","$ref":"#/definitions/google.protobuf.Any"}},"message":{"type":"string"}}},"structs.structs.Agreement":{"type":"object","properties":{"allocationId":{"type":"string"},"capacity":{"type":"string","format":"uint64"},"creator":{"type":"string"},"endBlock":{"type":"string","format":"uint64"},"id":{"type":"string"},"owner":{"type":"string"},"providerId":{"type":"string"},"startBlock":{"type":"string","format":"uint64"}}},"structs.structs.Allocation":{"type":"object","properties":{"controller":{"type":"string"},"creator":{"type":"string","title":"Who does this currently belong to"},"destinationId":{"type":"string"},"id":{"type":"string"},"index":{"type":"string","format":"uint64"},"locked":{"type":"boolean","title":"Locking will be needed for IBC"},"sourceObjectId":{"type":"string","title":"Core allocation details"},"type":{"$ref":"#/definitions/structs.structs.allocationType"}}},"structs.structs.Fleet":{"type":"object","properties":{"air":{"type":"array","items":{"type":"string"}},"airSlots":{"type":"string","format":"uint64"},"commandStruct":{"type":"string"},"id":{"type":"string"},"land":{"type":"array","items":{"type":"string"}},"landSlots":{"type":"string","format":"uint64"},"locationId":{"type":"string"},"locationListBackward":{"type":"string","title":"Towards End of List"},"locationListForward":{"type":"string","title":"Towards Planet"},"locationType":{"$ref":"#/definitions/structs.structs.objectType"},"owner":{"type":"string"},"space":{"type":"array","items":{"type":"string"}},"spaceSlots":{"type":"string","format":"uint64"},"status":{"$ref":"#/definitions/structs.structs.fleetStatus"},"water":{"type":"array","items":{"type":"string"}},"waterSlots":{"type":"string","format":"uint64"}}},"structs.structs.GridAttributes":{"type":"object","properties":{"allocationPointerEnd":{"type":"string","format":"uint64"},"allocationPointerStart":{"type":"string","format":"uint64"},"capacity":{"type":"string","format":"uint64"},"checkpointBlock":{"type":"string","format":"uint64"},"connectionCapacity":{"type":"string","format":"uint64"},"connectionCount":{"type":"string","format":"uint64"},"fuel":{"type":"string","format":"uint64"},"lastAction":{"type":"string","format":"uint64"},"load":{"type":"string","format":"uint64"},"nonce":{"type":"string","format":"uint64"},"ore":{"type":"string","format":"uint64"},"power":{"type":"string","format":"uint64"},"proxyNonce":{"type":"string","format":"uint64"},"ready":{"type":"string","format":"uint64"},"structsLoad":{"type":"string","format":"uint64"}}},"structs.structs.GridRecord":{"type":"object","properties":{"attributeId":{"type":"string"},"value":{"type":"string","format":"uint64"}}},"structs.structs.Guild":{"type":"object","properties":{"creator":{"type":"string"},"endpoint":{"type":"string"},"entrySubstationId":{"type":"string"},"id":{"type":"string"},"index":{"type":"string","format":"uint64"},"joinInfusionMinimum":{"type":"string","format":"uint64"},"joinInfusionMinimumBypassByInvite":{"$ref":"#/definitions/structs.structs.guildJoinBypassLevel"},"joinInfusionMinimumBypassByRequest":{"$ref":"#/definitions/structs.structs.guildJoinBypassLevel"},"owner":{"type":"string"},"primaryReactorId":{"type":"string"}}},"structs.structs.GuildMembershipApplication":{"type":"object","properties":{"guildId":{"type":"string"},"joinType":{"title":"Invite | Request","$ref":"#/definitions/structs.structs.guildJoinType"},"playerId":{"type":"string"},"proposer":{"type":"string"},"registrationStatus":{"$ref":"#/definitions/structs.structs.registrationStatus"},"substationId":{"type":"string"}}},"structs.structs.Infusion":{"type":"object","properties":{"address":{"type":"string"},"commission":{"type":"string"},"defusing":{"type":"string"},"destinationId":{"type":"string"},"destinationType":{"$ref":"#/definitions/structs.structs.objectType"},"fuel":{"type":"string","format":"uint64"},"playerId":{"type":"string"},"power":{"type":"string","format":"uint64"},"ratio":{"type":"string","format":"uint64"}}},"structs.structs.InternalAddressAssociation":{"type":"object","properties":{"address":{"type":"string"},"objectId":{"type":"string"}}},"structs.structs.MsgAddressRegister":{"type":"object","properties":{"address":{"type":"string"},"creator":{"type":"string"},"permissions":{"type":"string","format":"uint64"},"playerId":{"type":"string"},"proofPubKey":{"type":"string"},"proofSignature":{"type":"string"}}},"structs.structs.MsgAddressRegisterResponse":{"type":"object"},"structs.structs.MsgAddressRevoke":{"type":"object","properties":{"address":{"type":"string"},"creator":{"type":"string"}}},"structs.structs.MsgAddressRevokeResponse":{"type":"object"},"structs.structs.MsgAgreementCapacityDecrease":{"type":"object","properties":{"agreementId":{"type":"string"},"capacityDecrease":{"type":"string","format":"uint64"},"creator":{"type":"string"}}},"structs.structs.MsgAgreementCapacityIncrease":{"type":"object","properties":{"agreementId":{"type":"string"},"capacityIncrease":{"type":"string","format":"uint64"},"creator":{"type":"string"}}},"structs.structs.MsgAgreementClose":{"type":"object","properties":{"agreementId":{"type":"string"},"creator":{"type":"string"}}},"structs.structs.MsgAgreementDurationIncrease":{"type":"object","properties":{"agreementId":{"type":"string"},"creator":{"type":"string"},"durationIncrease":{"type":"string","format":"uint64"}}},"structs.structs.MsgAgreementOpen":{"type":"object","properties":{"capacity":{"type":"string","format":"uint64"},"creator":{"type":"string"},"duration":{"type":"string","format":"uint64"},"providerId":{"type":"string"}}},"structs.structs.MsgAgreementResponse":{"type":"object"},"structs.structs.MsgAllocationCreate":{"type":"object","properties":{"allocationType":{"$ref":"#/definitions/structs.structs.allocationType"},"controller":{"type":"string"},"creator":{"type":"string"},"power":{"type":"string","format":"uint64"},"sourceObjectId":{"type":"string"}}},"structs.structs.MsgAllocationCreateResponse":{"type":"object","properties":{"allocationId":{"type":"string"}}},"structs.structs.MsgAllocationDelete":{"type":"object","properties":{"allocationId":{"type":"string"},"creator":{"type":"string"}}},"structs.structs.MsgAllocationDeleteResponse":{"type":"object","properties":{"allocationId":{"type":"string"}}},"structs.structs.MsgAllocationTransfer":{"type":"object","properties":{"allocationId":{"type":"string"},"controller":{"type":"string"},"creator":{"type":"string"}}},"structs.structs.MsgAllocationTransferResponse":{"type":"object","properties":{"allocationId":{"type":"string"}}},"structs.structs.MsgAllocationUpdate":{"type":"object","properties":{"allocationId":{"type":"string"},"creator":{"type":"string"},"power":{"type":"string","format":"uint64"}}},"structs.structs.MsgAllocationUpdateResponse":{"type":"object","properties":{"allocationId":{"type":"string"}}},"structs.structs.MsgFleetMove":{"type":"object","properties":{"creator":{"type":"string"},"destinationLocationId":{"type":"string"},"fleetId":{"type":"string"}}},"structs.structs.MsgFleetMoveResponse":{"type":"object","properties":{"fleet":{"$ref":"#/definitions/structs.structs.Fleet"}}},"structs.structs.MsgGuildBankConfiscateAndBurn":{"type":"object","properties":{"address":{"type":"string"},"amountToken":{"type":"string","format":"uint64"},"creator":{"type":"string"}}},"structs.structs.MsgGuildBankConfiscateAndBurnResponse":{"type":"object"},"structs.structs.MsgGuildBankMint":{"type":"object","properties":{"amountAlpha":{"type":"string","format":"uint64"},"amountToken":{"type":"string","format":"uint64"},"creator":{"type":"string"}}},"structs.structs.MsgGuildBankMintResponse":{"type":"object"},"structs.structs.MsgGuildBankRedeem":{"type":"object","properties":{"amountToken":{"$ref":"#/definitions/cosmos.base.v1beta1.Coin"},"creator":{"type":"string"}}},"structs.structs.MsgGuildBankRedeemResponse":{"type":"object"},"structs.structs.MsgGuildCreate":{"type":"object","properties":{"creator":{"type":"string"},"endpoint":{"type":"string"},"entrySubstationId":{"type":"string"}}},"structs.structs.MsgGuildCreateResponse":{"type":"object","properties":{"guildId":{"type":"string"}}},"structs.structs.MsgGuildMembershipInvite":{"type":"object","properties":{"creator":{"type":"string"},"guildId":{"type":"string"},"playerId":{"type":"string"},"substationId":{"type":"string"}}},"structs.structs.MsgGuildMembershipInviteApprove":{"type":"object","properties":{"creator":{"type":"string"},"guildId":{"type":"string"},"playerId":{"type":"string"},"substationId":{"type":"string"}}},"structs.structs.MsgGuildMembershipInviteDeny":{"type":"object","properties":{"creator":{"type":"string"},"guildId":{"type":"string"},"playerId":{"type":"string"}}},"structs.structs.MsgGuildMembershipInviteRevoke":{"type":"object","properties":{"creator":{"type":"string"},"guildId":{"type":"string"},"playerId":{"type":"string"}}},"structs.structs.MsgGuildMembershipJoin":{"type":"object","properties":{"creator":{"type":"string"},"guildId":{"type":"string"},"infusionId":{"type":"array","items":{"type":"string"}},"playerId":{"type":"string"},"substationId":{"type":"string"}}},"structs.structs.MsgGuildMembershipJoinProxy":{"type":"object","properties":{"address":{"type":"string"},"creator":{"type":"string"},"proofPubKey":{"type":"string"},"proofSignature":{"type":"string"},"substationId":{"type":"string"}}},"structs.structs.MsgGuildMembershipKick":{"type":"object","properties":{"creator":{"type":"string"},"guildId":{"type":"string"},"playerId":{"type":"string"}}},"structs.structs.MsgGuildMembershipRequest":{"type":"object","properties":{"creator":{"type":"string"},"guildId":{"type":"string"},"playerId":{"type":"string"},"substationId":{"type":"string"}}},"structs.structs.MsgGuildMembershipRequestApprove":{"type":"object","properties":{"creator":{"type":"string"},"guildId":{"type":"string"},"playerId":{"type":"string"},"substationId":{"type":"string"}}},"structs.structs.MsgGuildMembershipRequestDeny":{"type":"object","properties":{"creator":{"type":"string"},"guildId":{"type":"string"},"playerId":{"type":"string"}}},"structs.structs.MsgGuildMembershipRequestRevoke":{"type":"object","properties":{"creator":{"type":"string"},"guildId":{"type":"string"},"playerId":{"type":"string"}}},"structs.structs.MsgGuildMembershipResponse":{"type":"object","properties":{"guildMembershipApplication":{"$ref":"#/definitions/structs.structs.GuildMembershipApplication"}}},"structs.structs.MsgGuildUpdateEndpoint":{"type":"object","properties":{"creator":{"type":"string"},"endpoint":{"type":"string"},"guildId":{"type":"string"}}},"structs.structs.MsgGuildUpdateEntrySubstationId":{"type":"object","properties":{"creator":{"type":"string"},"entrySubstationId":{"type":"string"},"guildId":{"type":"string"}}},"structs.structs.MsgGuildUpdateJoinInfusionMinimum":{"type":"object","properties":{"creator":{"type":"string"},"guildId":{"type":"string"},"joinInfusionMinimum":{"type":"string","format":"uint64"}}},"structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByInvite":{"type":"object","properties":{"creator":{"type":"string"},"guildId":{"type":"string"},"guildJoinBypassLevel":{"$ref":"#/definitions/structs.structs.guildJoinBypassLevel"}}},"structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByRequest":{"type":"object","properties":{"creator":{"type":"string"},"guildId":{"type":"string"},"guildJoinBypassLevel":{"$ref":"#/definitions/structs.structs.guildJoinBypassLevel"}}},"structs.structs.MsgGuildUpdateOwnerId":{"type":"object","properties":{"creator":{"type":"string"},"guildId":{"type":"string"},"owner":{"type":"string"}}},"structs.structs.MsgGuildUpdateResponse":{"type":"object"},"structs.structs.MsgPermissionGrantOnAddress":{"type":"object","properties":{"address":{"type":"string"},"creator":{"type":"string"},"permissions":{"type":"string","format":"uint64"}}},"structs.structs.MsgPermissionGrantOnObject":{"type":"object","properties":{"creator":{"type":"string"},"objectId":{"type":"string"},"permissions":{"type":"string","format":"uint64"},"playerId":{"type":"string"}}},"structs.structs.MsgPermissionResponse":{"type":"object"},"structs.structs.MsgPermissionRevokeOnAddress":{"type":"object","properties":{"address":{"type":"string"},"creator":{"type":"string"},"permissions":{"type":"string","format":"uint64"}}},"structs.structs.MsgPermissionRevokeOnObject":{"type":"object","properties":{"creator":{"type":"string"},"objectId":{"type":"string"},"permissions":{"type":"string","format":"uint64"},"playerId":{"type":"string"}}},"structs.structs.MsgPermissionSetOnAddress":{"type":"object","properties":{"address":{"type":"string"},"creator":{"type":"string"},"permissions":{"type":"string","format":"uint64"}}},"structs.structs.MsgPermissionSetOnObject":{"type":"object","properties":{"creator":{"type":"string"},"objectId":{"type":"string"},"permissions":{"type":"string","format":"uint64"},"playerId":{"type":"string"}}},"structs.structs.MsgPlanetExplore":{"type":"object","properties":{"creator":{"type":"string"},"playerId":{"type":"string"}}},"structs.structs.MsgPlanetExploreResponse":{"type":"object","properties":{"planet":{"$ref":"#/definitions/structs.structs.Planet"}}},"structs.structs.MsgPlanetRaidComplete":{"type":"object","properties":{"creator":{"type":"string"},"fleetId":{"type":"string"},"nonce":{"type":"string"},"proof":{"type":"string"}}},"structs.structs.MsgPlanetRaidCompleteResponse":{"type":"object","properties":{"fleet":{"$ref":"#/definitions/structs.structs.Fleet"},"oreStolen":{"type":"string","format":"uint64"},"planet":{"$ref":"#/definitions/structs.structs.Planet"}}},"structs.structs.MsgPlayerResume":{"type":"object","properties":{"creator":{"type":"string"},"playerId":{"type":"string"}}},"structs.structs.MsgPlayerResumeResponse":{"type":"object"},"structs.structs.MsgPlayerUpdatePrimaryAddress":{"type":"object","properties":{"creator":{"type":"string"},"playerId":{"type":"string"},"primaryAddress":{"type":"string"}}},"structs.structs.MsgPlayerUpdatePrimaryAddressResponse":{"type":"object"},"structs.structs.MsgProviderCreate":{"type":"object","properties":{"accessPolicy":{"$ref":"#/definitions/structs.structs.providerAccessPolicy"},"capacityMaximum":{"type":"string","format":"uint64"},"capacityMinimum":{"type":"string","format":"uint64"},"consumerCancellationPenalty":{"type":"string"},"creator":{"type":"string"},"durationMaximum":{"type":"string","format":"uint64"},"durationMinimum":{"type":"string","format":"uint64"},"providerCancellationPenalty":{"type":"string"},"rate":{"$ref":"#/definitions/cosmos.base.v1beta1.Coin"},"substationId":{"type":"string"}}},"structs.structs.MsgProviderDelete":{"type":"object","properties":{"creator":{"type":"string"},"providerId":{"type":"string"}}},"structs.structs.MsgProviderGuildGrant":{"type":"object","properties":{"creator":{"type":"string"},"guildId":{"type":"array","items":{"type":"string"}},"providerId":{"type":"string"}}},"structs.structs.MsgProviderGuildRevoke":{"type":"object","properties":{"creator":{"type":"string"},"guildId":{"type":"array","items":{"type":"string"}},"providerId":{"type":"string"}}},"structs.structs.MsgProviderResponse":{"type":"object"},"structs.structs.MsgProviderUpdateAccessPolicy":{"type":"object","properties":{"accessPolicy":{"$ref":"#/definitions/structs.structs.providerAccessPolicy"},"creator":{"type":"string"},"providerId":{"type":"string"}}},"structs.structs.MsgProviderUpdateCapacityMaximum":{"type":"object","properties":{"creator":{"type":"string"},"newMaximumCapacity":{"type":"string","format":"uint64"},"providerId":{"type":"string"}}},"structs.structs.MsgProviderUpdateCapacityMinimum":{"type":"object","properties":{"creator":{"type":"string"},"newMinimumCapacity":{"type":"string","format":"uint64"},"providerId":{"type":"string"}}},"structs.structs.MsgProviderUpdateDurationMaximum":{"type":"object","properties":{"creator":{"type":"string"},"newMaximumDuration":{"type":"string","format":"uint64"},"providerId":{"type":"string"}}},"structs.structs.MsgProviderUpdateDurationMinimum":{"type":"object","properties":{"creator":{"type":"string"},"newMinimumDuration":{"type":"string","format":"uint64"},"providerId":{"type":"string"}}},"structs.structs.MsgProviderWithdrawBalance":{"type":"object","properties":{"creator":{"type":"string"},"destinationAddress":{"type":"string"},"providerId":{"type":"string"}}},"structs.structs.MsgStructActivate":{"type":"object","properties":{"creator":{"type":"string"},"structId":{"type":"string"}}},"structs.structs.MsgStructAttack":{"type":"object","properties":{"creator":{"type":"string"},"operatingStructId":{"type":"string"},"targetStructId":{"type":"array","items":{"type":"string"}},"weaponSystem":{"type":"string"}}},"structs.structs.MsgStructAttackResponse":{"type":"object"},"structs.structs.MsgStructBuildCancel":{"type":"object","properties":{"creator":{"type":"string"},"structId":{"type":"string"}}},"structs.structs.MsgStructBuildComplete":{"type":"object","properties":{"creator":{"type":"string"},"nonce":{"type":"string"},"proof":{"type":"string"},"structId":{"type":"string"}}},"structs.structs.MsgStructBuildInitiate":{"type":"object","properties":{"creator":{"type":"string"},"operatingAmbit":{"title":"objectType locationType = 4;","$ref":"#/definitions/structs.structs.ambit"},"playerId":{"type":"string"},"slot":{"type":"string","format":"uint64"},"structTypeId":{"type":"string","format":"uint64"}}},"structs.structs.MsgStructDeactivate":{"type":"object","properties":{"creator":{"type":"string"},"structId":{"type":"string"}}},"structs.structs.MsgStructDefenseClear":{"type":"object","properties":{"creator":{"type":"string"},"defenderStructId":{"type":"string"}}},"structs.structs.MsgStructDefenseSet":{"type":"object","properties":{"creator":{"type":"string"},"defenderStructId":{"type":"string"},"protectedStructId":{"type":"string"}}},"structs.structs.MsgStructGeneratorInfuse":{"type":"object","properties":{"creator":{"type":"string"},"infuseAmount":{"type":"string"},"structId":{"type":"string"}}},"structs.structs.MsgStructGeneratorStatusResponse":{"type":"object"},"structs.structs.MsgStructMove":{"type":"object","properties":{"ambit":{"$ref":"#/definitions/structs.structs.ambit"},"creator":{"type":"string"},"locationType":{"$ref":"#/definitions/structs.structs.objectType"},"slot":{"type":"string","format":"uint64"},"structId":{"type":"string"}}},"structs.structs.MsgStructOreMinerComplete":{"type":"object","properties":{"creator":{"type":"string"},"nonce":{"type":"string"},"proof":{"type":"string"},"structId":{"type":"string"}}},"structs.structs.MsgStructOreMinerStatusResponse":{"type":"object","properties":{"struct":{"$ref":"#/definitions/structs.structs.Struct"}}},"structs.structs.MsgStructOreRefineryComplete":{"type":"object","properties":{"creator":{"type":"string"},"nonce":{"type":"string"},"proof":{"type":"string"},"structId":{"type":"string"}}},"structs.structs.MsgStructOreRefineryStatusResponse":{"type":"object","properties":{"struct":{"$ref":"#/definitions/structs.structs.Struct"}}},"structs.structs.MsgStructStatusResponse":{"type":"object","properties":{"struct":{"$ref":"#/definitions/structs.structs.Struct"}}},"structs.structs.MsgStructStealthActivate":{"type":"object","properties":{"creator":{"type":"string"},"structId":{"type":"string"}}},"structs.structs.MsgStructStealthDeactivate":{"type":"object","properties":{"creator":{"type":"string"},"structId":{"type":"string"}}},"structs.structs.MsgSubstationAllocationConnect":{"type":"object","properties":{"allocationId":{"type":"string"},"creator":{"type":"string"},"destinationId":{"type":"string"}}},"structs.structs.MsgSubstationAllocationConnectResponse":{"type":"object"},"structs.structs.MsgSubstationAllocationDisconnect":{"type":"object","properties":{"allocationId":{"type":"string"},"creator":{"type":"string"}}},"structs.structs.MsgSubstationAllocationDisconnectResponse":{"type":"object"},"structs.structs.MsgSubstationCreate":{"type":"object","properties":{"allocationId":{"type":"string"},"creator":{"type":"string"},"owner":{"type":"string"}}},"structs.structs.MsgSubstationCreateResponse":{"type":"object","properties":{"substationId":{"type":"string"}}},"structs.structs.MsgSubstationDelete":{"type":"object","properties":{"creator":{"type":"string"},"migrationSubstationId":{"type":"string"},"substationId":{"type":"string"}}},"structs.structs.MsgSubstationDeleteResponse":{"type":"object"},"structs.structs.MsgSubstationPlayerConnect":{"type":"object","properties":{"creator":{"type":"string"},"playerId":{"type":"string"},"substationId":{"type":"string"}}},"structs.structs.MsgSubstationPlayerConnectResponse":{"type":"object"},"structs.structs.MsgSubstationPlayerDisconnect":{"type":"object","properties":{"creator":{"type":"string"},"playerId":{"type":"string"}}},"structs.structs.MsgSubstationPlayerDisconnectResponse":{"type":"object"},"structs.structs.MsgSubstationPlayerMigrate":{"type":"object","properties":{"creator":{"type":"string"},"playerId":{"type":"array","items":{"type":"string"}},"substationId":{"type":"string"}}},"structs.structs.MsgSubstationPlayerMigrateResponse":{"type":"object"},"structs.structs.MsgUpdateParams":{"description":"MsgUpdateParams is the Msg/UpdateParams request type.","type":"object","properties":{"authority":{"description":"authority is the address that controls the module (defaults to x/gov unless overwritten).","type":"string"},"params":{"description":"params defines the module parameters to update.\n\nNOTE: All parameters must be supplied.","$ref":"#/definitions/structs.structs.Params"}}},"structs.structs.MsgUpdateParamsResponse":{"description":"MsgUpdateParamsResponse defines the response structure for executing a\nMsgUpdateParams message.","type":"object"},"structs.structs.Params":{"description":"Params defines the parameters for the module.","type":"object"},"structs.structs.PermissionRecord":{"type":"object","properties":{"permissionId":{"type":"string"},"value":{"type":"string","format":"uint64"}}},"structs.structs.Planet":{"type":"object","properties":{"air":{"type":"array","items":{"type":"string"}},"airSlots":{"type":"string","format":"uint64"},"creator":{"type":"string"},"id":{"type":"string"},"land":{"type":"array","items":{"type":"string"}},"landSlots":{"type":"string","format":"uint64"},"locationListLast":{"type":"string","title":"End of the line"},"locationListStart":{"type":"string","title":"First in line to battle planet"},"maxOre":{"type":"string","format":"uint64"},"owner":{"type":"string"},"space":{"type":"array","items":{"type":"string"}},"spaceSlots":{"type":"string","format":"uint64"},"status":{"$ref":"#/definitions/structs.structs.planetStatus"},"water":{"type":"array","items":{"type":"string"}},"waterSlots":{"type":"string","format":"uint64"}}},"structs.structs.PlanetAttributeRecord":{"type":"object","properties":{"attributeId":{"type":"string"},"value":{"type":"string","format":"uint64"}}},"structs.structs.PlanetAttributes":{"type":"object","properties":{"advancedLowOrbitBallisticsInterceptorNetworkQuantity":{"type":"string","format":"uint64"},"advancedOrbitalJammingStationQuantity":{"type":"string","format":"uint64"},"blockStartRaid":{"type":"string","format":"uint64"},"coordinatedGlobalShieldNetworkQuantity":{"type":"string","format":"uint64"},"defensiveCannonQuantity":{"type":"string","format":"uint64"},"lowOrbitBallisticsInterceptorNetworkQuantity":{"type":"string","format":"uint64"},"lowOrbitBallisticsInterceptorNetworkSuccessRateDenominator":{"type":"string","format":"uint64"},"lowOrbitBallisticsInterceptorNetworkSuccessRateNumerator":{"type":"string","format":"uint64"},"orbitalJammingStationQuantity":{"type":"string","format":"uint64"},"planetaryShield":{"type":"string","format":"uint64"},"repairNetworkQuantity":{"type":"string","format":"uint64"}}},"structs.structs.Player":{"type":"object","properties":{"creator":{"type":"string"},"fleetId":{"type":"string"},"guildId":{"type":"string"},"id":{"type":"string"},"index":{"type":"string","format":"uint64"},"planetId":{"type":"string"},"primaryAddress":{"type":"string"},"substationId":{"type":"string"}}},"structs.structs.PlayerInventory":{"type":"object","properties":{"rocks":{"$ref":"#/definitions/cosmos.base.v1beta1.Coin"}}},"structs.structs.Provider":{"type":"object","properties":{"accessPolicy":{"$ref":"#/definitions/structs.structs.providerAccessPolicy"},"capacityMaximum":{"type":"string","format":"uint64"},"capacityMinimum":{"type":"string","format":"uint64"},"consumerCancellationPenalty":{"type":"string"},"creator":{"type":"string"},"durationMaximum":{"type":"string","format":"uint64"},"durationMinimum":{"type":"string","format":"uint64"},"id":{"type":"string"},"index":{"type":"string","format":"uint64"},"owner":{"type":"string"},"providerCancellationPenalty":{"type":"string"},"rate":{"$ref":"#/definitions/cosmos.base.v1beta1.Coin"},"substationId":{"type":"string"}}},"structs.structs.QueryAddressResponse":{"type":"object","properties":{"address":{"type":"string"},"permissions":{"type":"string","format":"uint64"},"playerId":{"type":"string"}}},"structs.structs.QueryAllAddressResponse":{"type":"object","properties":{"address":{"type":"array","items":{"type":"object","$ref":"#/definitions/structs.structs.QueryAddressResponse"}},"pagination":{"$ref":"#/definitions/cosmos.base.query.v1beta1.PageResponse"}}},"structs.structs.QueryAllAgreementResponse":{"type":"object","properties":{"Agreement":{"type":"array","items":{"type":"object","$ref":"#/definitions/structs.structs.Agreement"}},"pagination":{"$ref":"#/definitions/cosmos.base.query.v1beta1.PageResponse"}}},"structs.structs.QueryAllAllocationResponse":{"type":"object","properties":{"Allocation":{"type":"array","items":{"type":"object","$ref":"#/definitions/structs.structs.Allocation"}},"pagination":{"$ref":"#/definitions/cosmos.base.query.v1beta1.PageResponse"},"status":{"type":"array","items":{"type":"string","format":"uint64"}}}},"structs.structs.QueryAllFleetResponse":{"type":"object","properties":{"Fleet":{"type":"array","items":{"type":"object","$ref":"#/definitions/structs.structs.Fleet"}},"pagination":{"$ref":"#/definitions/cosmos.base.query.v1beta1.PageResponse"}}},"structs.structs.QueryAllGridResponse":{"type":"object","properties":{"gridRecords":{"type":"array","items":{"type":"object","$ref":"#/definitions/structs.structs.GridRecord"}},"pagination":{"$ref":"#/definitions/cosmos.base.query.v1beta1.PageResponse"}}},"structs.structs.QueryAllGuildBankCollateralAddressResponse":{"type":"object","properties":{"internalAddressAssociation":{"type":"array","items":{"type":"object","$ref":"#/definitions/structs.structs.InternalAddressAssociation"}},"pagination":{"$ref":"#/definitions/cosmos.base.query.v1beta1.PageResponse"}}},"structs.structs.QueryAllGuildMembershipApplicationResponse":{"type":"object","properties":{"GuildMembershipApplication":{"type":"array","items":{"type":"object","$ref":"#/definitions/structs.structs.GuildMembershipApplication"}},"pagination":{"$ref":"#/definitions/cosmos.base.query.v1beta1.PageResponse"}}},"structs.structs.QueryAllGuildResponse":{"type":"object","properties":{"Guild":{"type":"array","items":{"type":"object","$ref":"#/definitions/structs.structs.Guild"}},"pagination":{"$ref":"#/definitions/cosmos.base.query.v1beta1.PageResponse"}}},"structs.structs.QueryAllInfusionResponse":{"type":"object","properties":{"Infusion":{"type":"array","items":{"type":"object","$ref":"#/definitions/structs.structs.Infusion"}},"pagination":{"$ref":"#/definitions/cosmos.base.query.v1beta1.PageResponse"},"status":{"type":"array","items":{"type":"string","format":"uint64"}}}},"structs.structs.QueryAllPermissionResponse":{"type":"object","properties":{"pagination":{"$ref":"#/definitions/cosmos.base.query.v1beta1.PageResponse"},"permissionRecords":{"type":"array","items":{"type":"object","$ref":"#/definitions/structs.structs.PermissionRecord"}}}},"structs.structs.QueryAllPlanetAttributeResponse":{"type":"object","properties":{"pagination":{"$ref":"#/definitions/cosmos.base.query.v1beta1.PageResponse"},"planetAttributeRecords":{"type":"array","items":{"type":"object","$ref":"#/definitions/structs.structs.PlanetAttributeRecord"}}}},"structs.structs.QueryAllPlanetResponse":{"type":"object","properties":{"Planet":{"type":"array","items":{"type":"object","$ref":"#/definitions/structs.structs.Planet"}},"pagination":{"$ref":"#/definitions/cosmos.base.query.v1beta1.PageResponse"}}},"structs.structs.QueryAllPlayerHaltedResponse":{"type":"object","properties":{"PlayerId":{"type":"array","items":{"type":"string"}}}},"structs.structs.QueryAllPlayerResponse":{"type":"object","properties":{"Player":{"type":"array","items":{"type":"object","$ref":"#/definitions/structs.structs.Player"}},"pagination":{"$ref":"#/definitions/cosmos.base.query.v1beta1.PageResponse"}}},"structs.structs.QueryAllProviderCollateralAddressResponse":{"type":"object","properties":{"internalAddressAssociation":{"type":"array","items":{"type":"object","$ref":"#/definitions/structs.structs.InternalAddressAssociation"}},"pagination":{"$ref":"#/definitions/cosmos.base.query.v1beta1.PageResponse"}}},"structs.structs.QueryAllProviderEarningsAddressResponse":{"type":"object","properties":{"internalAddressAssociation":{"type":"array","items":{"type":"object","$ref":"#/definitions/structs.structs.InternalAddressAssociation"}},"pagination":{"$ref":"#/definitions/cosmos.base.query.v1beta1.PageResponse"}}},"structs.structs.QueryAllProviderResponse":{"type":"object","properties":{"Provider":{"type":"array","items":{"type":"object","$ref":"#/definitions/structs.structs.Provider"}},"pagination":{"$ref":"#/definitions/cosmos.base.query.v1beta1.PageResponse"}}},"structs.structs.QueryAllReactorResponse":{"type":"object","properties":{"Reactor":{"type":"array","items":{"type":"object","$ref":"#/definitions/structs.structs.Reactor"}},"pagination":{"$ref":"#/definitions/cosmos.base.query.v1beta1.PageResponse"}}},"structs.structs.QueryAllStructAttributeResponse":{"type":"object","properties":{"pagination":{"$ref":"#/definitions/cosmos.base.query.v1beta1.PageResponse"},"structAttributeRecords":{"type":"array","items":{"type":"object","$ref":"#/definitions/structs.structs.StructAttributeRecord"}}}},"structs.structs.QueryAllStructResponse":{"type":"object","properties":{"Struct":{"type":"array","items":{"type":"object","$ref":"#/definitions/structs.structs.Struct"}},"pagination":{"$ref":"#/definitions/cosmos.base.query.v1beta1.PageResponse"}}},"structs.structs.QueryAllStructTypeResponse":{"type":"object","properties":{"StructType":{"type":"array","items":{"type":"object","$ref":"#/definitions/structs.structs.StructType"}},"pagination":{"$ref":"#/definitions/cosmos.base.query.v1beta1.PageResponse"}}},"structs.structs.QueryAllSubstationResponse":{"type":"object","properties":{"Substation":{"type":"array","items":{"type":"object","$ref":"#/definitions/structs.structs.Substation"}},"pagination":{"$ref":"#/definitions/cosmos.base.query.v1beta1.PageResponse"}}},"structs.structs.QueryBlockHeightResponse":{"type":"object","properties":{"blockHeight":{"type":"string","format":"uint64"}}},"structs.structs.QueryGetAgreementResponse":{"type":"object","properties":{"Agreement":{"$ref":"#/definitions/structs.structs.Agreement"}}},"structs.structs.QueryGetAllocationResponse":{"type":"object","properties":{"Allocation":{"$ref":"#/definitions/structs.structs.Allocation"},"gridAttributes":{"$ref":"#/definitions/structs.structs.GridAttributes"}}},"structs.structs.QueryGetFleetResponse":{"type":"object","properties":{"Fleet":{"$ref":"#/definitions/structs.structs.Fleet"}}},"structs.structs.QueryGetGridResponse":{"type":"object","title":"Generic Responses for Permissions","properties":{"gridRecord":{"$ref":"#/definitions/structs.structs.GridRecord"}}},"structs.structs.QueryGetGuildMembershipApplicationResponse":{"type":"object","properties":{"GuildMembershipApplication":{"$ref":"#/definitions/structs.structs.GuildMembershipApplication"}}},"structs.structs.QueryGetGuildResponse":{"type":"object","properties":{"Guild":{"$ref":"#/definitions/structs.structs.Guild"}}},"structs.structs.QueryGetInfusionResponse":{"type":"object","properties":{"Infusion":{"$ref":"#/definitions/structs.structs.Infusion"}}},"structs.structs.QueryGetPermissionResponse":{"type":"object","title":"Generic Responses for Permissions","properties":{"permissionRecord":{"$ref":"#/definitions/structs.structs.PermissionRecord"}}},"structs.structs.QueryGetPlanetAttributeResponse":{"type":"object","properties":{"attribute":{"type":"string","format":"uint64"}}},"structs.structs.QueryGetPlanetResponse":{"type":"object","properties":{"Planet":{"$ref":"#/definitions/structs.structs.Planet"},"gridAttributes":{"$ref":"#/definitions/structs.structs.GridAttributes"},"planetAttributes":{"$ref":"#/definitions/structs.structs.PlanetAttributes"}}},"structs.structs.QueryGetPlayerResponse":{"type":"object","properties":{"Player":{"$ref":"#/definitions/structs.structs.Player"},"gridAttributes":{"$ref":"#/definitions/structs.structs.GridAttributes"},"halted":{"type":"boolean"},"playerInventory":{"$ref":"#/definitions/structs.structs.PlayerInventory"}}},"structs.structs.QueryGetProviderResponse":{"type":"object","properties":{"Provider":{"$ref":"#/definitions/structs.structs.Provider"},"gridAttributes":{"$ref":"#/definitions/structs.structs.GridAttributes"}}},"structs.structs.QueryGetReactorResponse":{"type":"object","properties":{"Reactor":{"$ref":"#/definitions/structs.structs.Reactor"},"gridAttributes":{"$ref":"#/definitions/structs.structs.GridAttributes"}}},"structs.structs.QueryGetStructAttributeResponse":{"type":"object","properties":{"attribute":{"type":"string","format":"uint64"}}},"structs.structs.QueryGetStructResponse":{"type":"object","properties":{"Struct":{"$ref":"#/definitions/structs.structs.Struct"},"gridAttributes":{"$ref":"#/definitions/structs.structs.GridAttributes"},"structAttributes":{"$ref":"#/definitions/structs.structs.StructAttributes"},"structDefenders":{"type":"array","items":{"type":"string"}}}},"structs.structs.QueryGetStructTypeResponse":{"type":"object","properties":{"StructType":{"$ref":"#/definitions/structs.structs.StructType"}}},"structs.structs.QueryGetSubstationResponse":{"type":"object","properties":{"Substation":{"$ref":"#/definitions/structs.structs.Substation"},"gridAttributes":{"$ref":"#/definitions/structs.structs.GridAttributes"}}},"structs.structs.QueryParamsResponse":{"description":"QueryParamsResponse is response type for the Query/Params RPC method.","type":"object","properties":{"params":{"description":"params holds all the parameters of this module.","$ref":"#/definitions/structs.structs.Params"}}},"structs.structs.QueryValidateSignatureResponse":{"type":"object","properties":{"addressPubkeyMismatch":{"type":"boolean"},"pubkeyFormatError":{"type":"boolean"},"signatureFormatError":{"type":"boolean"},"signatureInvalid":{"type":"boolean"},"valid":{"type":"boolean"}}},"structs.structs.Reactor":{"type":"object","properties":{"defaultCommission":{"type":"string"},"guildId":{"type":"string"},"id":{"type":"string"},"rawAddress":{"type":"string","format":"byte"},"validator":{"type":"string"}}},"structs.structs.Struct":{"type":"object","properties":{"creator":{"type":"string","title":"Who is it"},"id":{"type":"string","title":"What it is"},"index":{"type":"string","format":"uint64"},"locationId":{"type":"string"},"locationType":{"title":"Where it is","$ref":"#/definitions/structs.structs.objectType"},"operatingAmbit":{"$ref":"#/definitions/structs.structs.ambit"},"owner":{"type":"string"},"slot":{"type":"string","format":"uint64"},"type":{"type":"string","format":"uint64"}}},"structs.structs.StructAttributeRecord":{"type":"object","properties":{"attributeId":{"type":"string"},"value":{"type":"string","format":"uint64"}}},"structs.structs.StructAttributes":{"type":"object","properties":{"blockStartBuild":{"type":"string","format":"uint64"},"blockStartOreMine":{"type":"string","format":"uint64"},"blockStartOreRefine":{"type":"string","format":"uint64"},"health":{"type":"string","format":"uint64"},"isBuilt":{"type":"boolean"},"isDestroyed":{"type":"boolean"},"isHidden":{"type":"boolean"},"isLocked":{"type":"boolean"},"isMaterialized":{"type":"boolean"},"isOnline":{"type":"boolean"},"protectedStructIndex":{"type":"string","format":"uint64"},"status":{"type":"string","format":"uint64"},"typeCount":{"type":"string","format":"uint64"}}},"structs.structs.StructType":{"type":"object","properties":{"activateCharge":{"type":"string","format":"uint64","title":"Charge uses"},"attackCounterable":{"type":"boolean","title":"For Indirect Combat Module"},"attackReduction":{"description":"For Defensive Cannon","type":"string","format":"uint64","title":"Tech Tree Attributes"},"buildCharge":{"type":"string","format":"uint64"},"buildDifficulty":{"type":"string","format":"uint64","title":"How much compute is needed to build"},"buildDraw":{"type":"string","format":"uint64","title":"How much energy the Struct consumes during building"},"buildLimit":{"type":"string","format":"uint64","title":"How many of this Struct Type a player can have"},"category":{"description":"Planet or Fleet","title":"Fundamental attributes","$ref":"#/definitions/structs.structs.objectType"},"counterAttack":{"type":"string","format":"uint64","title":"Counter"},"counterAttackSameAmbit":{"type":"string","format":"uint64","title":"Advanced Counter"},"defendChangeCharge":{"type":"string","format":"uint64"},"generatingRate":{"type":"string","format":"uint64","title":"Power Generation"},"guidedDefensiveSuccessRateDenominator":{"type":"string","format":"uint64"},"guidedDefensiveSuccessRateNumerator":{"type":"string","format":"uint64"},"id":{"type":"string","format":"uint64"},"maxHealth":{"type":"string","format":"uint64","title":"How much damage can it take"},"movable":{"type":"boolean","title":"Can the Struct change ambit?"},"moveCharge":{"type":"string","format":"uint64"},"oreMiningCharge":{"type":"string","format":"uint64"},"oreMiningDifficulty":{"type":"string","format":"uint64"},"oreRefiningCharge":{"type":"string","format":"uint64"},"oreRefiningDifficulty":{"type":"string","format":"uint64"},"oreReserveDefenses":{"$ref":"#/definitions/structs.structs.techOreReserveDefenses"},"passiveDraw":{"type":"string","format":"uint64","title":"How much energy the Struct consumes when active"},"passiveWeaponry":{"title":"Tech Tree Features","$ref":"#/definitions/structs.structs.techPassiveWeaponry"},"planetaryDefenses":{"$ref":"#/definitions/structs.structs.techPlanetaryDefenses"},"planetaryMining":{"$ref":"#/definitions/structs.structs.techPlanetaryMining"},"planetaryRefinery":{"$ref":"#/definitions/structs.structs.techPlanetaryRefineries"},"planetaryShieldContribution":{"type":"string","format":"uint64","title":"The shield that is added to the Planet"},"possibleAmbit":{"description":"Where can it be built and moved to. Usually only a single ambit but some Structs have multiple possible (i.e. Command Ship)","type":"string","format":"uint64","title":"Details about location and movement\nTODO move category to here and make it flag based too\nReplicate what was done for ambits flags"},"postDestructionDamage":{"type":"string","format":"uint64"},"powerGeneration":{"$ref":"#/definitions/structs.structs.techPowerGeneration"},"primaryWeapon":{"title":"Primary Weapon Configuration","$ref":"#/definitions/structs.structs.techActiveWeaponry"},"primaryWeaponAmbits":{"type":"string","format":"uint64"},"primaryWeaponBlockable":{"type":"boolean"},"primaryWeaponCharge":{"type":"string","format":"uint64"},"primaryWeaponControl":{"$ref":"#/definitions/structs.structs.techWeaponControl"},"primaryWeaponCounterable":{"type":"boolean"},"primaryWeaponDamage":{"type":"string","format":"uint64"},"primaryWeaponRecoilDamage":{"type":"string","format":"uint64"},"primaryWeaponShotSuccessRateDenominator":{"type":"string","format":"uint64"},"primaryWeaponShotSuccessRateNumerator":{"type":"string","format":"uint64"},"primaryWeaponShots":{"type":"string","format":"uint64"},"primaryWeaponTargets":{"type":"string","format":"uint64"},"secondaryWeapon":{"title":"Secondary Weapon Configuration","$ref":"#/definitions/structs.structs.techActiveWeaponry"},"secondaryWeaponAmbits":{"type":"string","format":"uint64"},"secondaryWeaponBlockable":{"type":"boolean"},"secondaryWeaponCharge":{"type":"string","format":"uint64"},"secondaryWeaponControl":{"$ref":"#/definitions/structs.structs.techWeaponControl"},"secondaryWeaponCounterable":{"type":"boolean"},"secondaryWeaponDamage":{"type":"string","format":"uint64"},"secondaryWeaponRecoilDamage":{"type":"string","format":"uint64"},"secondaryWeaponShotSuccessRateDenominator":{"type":"string","format":"uint64"},"secondaryWeaponShotSuccessRateNumerator":{"type":"string","format":"uint64"},"secondaryWeaponShots":{"type":"string","format":"uint64"},"secondaryWeaponTargets":{"type":"string","format":"uint64"},"slotBound":{"type":"boolean","title":"Does the Struct occupy a slot. Trying to find something to help set Command Ships apart"},"stealthActivateCharge":{"type":"string","format":"uint64"},"stealthSystems":{"type":"boolean","title":"For Stealth Mode"},"triggerRaidDefeatByDestruction":{"description":"I wish this was higher up in a different area of the definition\nbut I really don't feel like renumbering this entire thing again.","type":"boolean"},"type":{"type":"string"},"unguidedDefensiveSuccessRateDenominator":{"type":"string","format":"uint64"},"unguidedDefensiveSuccessRateNumerator":{"type":"string","format":"uint64"},"unitDefenses":{"$ref":"#/definitions/structs.structs.techUnitDefenses"}}},"structs.structs.Substation":{"type":"object","properties":{"creator":{"type":"string"},"id":{"type":"string"},"owner":{"type":"string"}}},"structs.structs.allocationType":{"type":"string","default":"static","enum":["static","dynamic","automated","providerAgreement"]},"structs.structs.ambit":{"type":"string","default":"none","enum":["none","water","land","air","space","local"]},"structs.structs.fleetStatus":{"type":"string","default":"onStation","enum":["onStation","away"]},"structs.structs.guildJoinBypassLevel":{"type":"string","title":"- closed: Feature off\n - permissioned: Only those with permissions can do it\n - member: All members of the guild can contribute","default":"closed","enum":["closed","permissioned","member"]},"structs.structs.guildJoinType":{"type":"string","default":"invite","enum":["invite","request","direct","proxy"]},"structs.structs.objectType":{"type":"string","default":"guild","enum":["guild","player","planet","reactor","substation","struct","allocation","infusion","address","fleet","provider","agreement"]},"structs.structs.planetStatus":{"type":"string","default":"active","enum":["active","complete"]},"structs.structs.providerAccessPolicy":{"type":"string","default":"openMarket","enum":["openMarket","guildMarket","closedMarket"]},"structs.structs.registrationStatus":{"type":"string","default":"proposed","enum":["proposed","approved","denied","revoked"]},"structs.structs.techActiveWeaponry":{"type":"string","default":"noActiveWeaponry","enum":["noActiveWeaponry","guidedWeaponry","unguidedWeaponry","attackRun","selfDestruct"]},"structs.structs.techOreReserveDefenses":{"type":"string","default":"noOreReserveDefenses","enum":["noOreReserveDefenses","coordinatedReserveResponseTracker","rapidResponsePackage","activeScanning","monitoringStation","oreBunker"]},"structs.structs.techPassiveWeaponry":{"type":"string","default":"noPassiveWeaponry","enum":["noPassiveWeaponry","counterAttack","strongCounterAttack","advancedCounterAttack","lastResort"]},"structs.structs.techPlanetaryDefenses":{"type":"string","title":"- lowOrbitBallisticInterceptorNetwork: advancedLowOrbitBallisticInterceptorNetwork = 3;\nrepairNetwork = 4;\ncoordinatedGlobalShieldNetwork = 5;\norbitalJammingStation = 6;\nadvancedOrbitalJammingStation = 7;","default":"noPlanetaryDefense","enum":["noPlanetaryDefense","defensiveCannon","lowOrbitBallisticInterceptorNetwork"]},"structs.structs.techPlanetaryMining":{"type":"string","default":"noPlanetaryMining","enum":["noPlanetaryMining","oreMiningRig"]},"structs.structs.techPlanetaryRefineries":{"type":"string","default":"noPlanetaryRefinery","enum":["noPlanetaryRefinery","oreRefinery"]},"structs.structs.techPowerGeneration":{"type":"string","default":"noPowerGeneration","enum":["noPowerGeneration","smallGenerator","mediumGenerator","largeGenerator"]},"structs.structs.techUnitDefenses":{"type":"string","default":"noUnitDefenses","enum":["noUnitDefenses","defensiveManeuver","signalJamming","armour","indirectCombatModule","stealthMode","perimeterFencing","reinforcedWalls"]},"structs.structs.techWeaponControl":{"type":"string","default":"noWeaponControl","enum":["noWeaponControl","guided","unguided"]}},"tags":[{"name":"Query"},{"name":"Msg"}]} \ No newline at end of file diff --git a/proto/structs/structs/address.proto b/proto/structs/structs/address.proto index c23d41d5..109b4ec7 100644 --- a/proto/structs/structs/address.proto +++ b/proto/structs/structs/address.proto @@ -28,4 +28,7 @@ message AddressActivity { google.protobuf.Timestamp blockTime = 3 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; } - +message InternalAddressAssociation { + string address = 1; + string objectId = 2; +} diff --git a/proto/structs/structs/agreement.proto b/proto/structs/structs/agreement.proto new file mode 100644 index 00000000..07045c7a --- /dev/null +++ b/proto/structs/structs/agreement.proto @@ -0,0 +1,29 @@ +syntax = "proto3"; + +package structs.structs; + +option go_package = "structs/x/structs/types"; + +import "cosmos_proto/cosmos.proto"; +import "gogoproto/gogo.proto"; +import "cosmos/base/v1beta1/coin.proto"; + + +message Agreement { + + option (gogoproto.equal) = true; + + string id = 1; + + string providerId = 2; + string allocationId = 3; + + uint64 capacity = 4; + + uint64 startBlock = 5; + uint64 endBlock = 6; + + string creator = 7; + string owner = 8; + +} diff --git a/proto/structs/structs/events.proto b/proto/structs/structs/events.proto index 25595df0..de4a6386 100644 --- a/proto/structs/structs/events.proto +++ b/proto/structs/structs/events.proto @@ -10,6 +10,7 @@ import "structs/structs/params.proto"; import "google/protobuf/timestamp.proto"; import "structs/structs/address.proto"; +import "structs/structs/agreement.proto"; import "structs/structs/allocation.proto"; import "structs/structs/fleet.proto"; import "structs/structs/grid.proto"; @@ -19,6 +20,7 @@ import "structs/structs/keys.proto"; import "structs/structs/permission.proto"; import "structs/structs/player.proto"; import "structs/structs/planet.proto"; +import "structs/structs/provider.proto"; import "structs/structs/reactor.proto"; import "structs/structs/struct.proto"; import "structs/structs/substation.proto"; @@ -38,12 +40,14 @@ option go_package = "structs/x/structs/types"; */ message EventAllocation { Allocation allocation = 1; } + message EventAgreement { Agreement agreement = 1; } message EventFleet { Fleet fleet = 1; } message EventGuild { Guild guild = 1; } message EventInfusion { Infusion infusion = 1; } message EventPlanet { Planet planet = 1; } message EventPlanetAttribute { PlanetAttributeRecord planetAttributeRecord = 1; } message EventPlayer { Player player = 1; } + message EventProvider { Provider provider = 1; } message EventReactor { Reactor reactor = 1; } message EventStruct { Struct structure = 1; } message EventStructAttribute { StructAttributeRecord structAttributeRecord = 1; } @@ -61,11 +65,29 @@ option go_package = "structs/x/structs/types"; message EventPermission { PermissionRecord permissionRecord = 1; } message EventGrid { GridRecord gridRecord = 1; } + message EventProviderGrantGuild { EventProviderGrantGuildDetail eventProviderGrantGuildDetail = 1;} + message EventProviderGrantGuildDetail { string providerId = 1; string guildId = 2;} + + message EventProviderRevokeGuild { EventProviderRevokeGuildDetail eventProviderRevokeGuildDetail = 1;} + message EventProviderRevokeGuildDetail { string providerId = 1; string guildId = 2;} + + message EventPlayerHalted { string playerId = 1; } + message EventPlayerResumed { string playerId = 1; } + message EventDelete { string objectId = 1; } message EventAddressAssociation { AddressAssociation addressAssociation = 1; } message EventAddressActivity { AddressActivity addressActivity = 1; } + message EventGuildBankMint { EventGuildBankMintDetail eventGuildBankMintDetail = 1;} + message EventGuildBankMintDetail { string guildId = 1; uint64 amountAlpha = 2; uint64 amountToken = 3; string playerId = 4;} + + message EventGuildBankRedeem { EventGuildBankRedeemDetail eventGuildBankRedeemDetail = 1;} + message EventGuildBankRedeemDetail { string guildId = 1; uint64 amountAlpha = 2; uint64 amountToken = 3; string playerId = 4;} + + message EventGuildBankConfiscateAndBurn { EventGuildBankConfiscateAndBurnDetail eventGuildBankConfiscateAndBurnDetail = 1;} + message EventGuildBankConfiscateAndBurnDetail { string guildId = 1; uint64 amountAlpha = 2; uint64 amountToken = 3; string address = 4;} + message EventGuildMembershipApplication { GuildMembershipApplication guildMembershipApplication = 1; } message EventOreMine { EventOreMineDetail eventOreMineDetail = 1; } diff --git a/proto/structs/structs/genesis.proto b/proto/structs/structs/genesis.proto index cf6e0080..1a22cbc0 100644 --- a/proto/structs/structs/genesis.proto +++ b/proto/structs/structs/genesis.proto @@ -8,6 +8,7 @@ import "gogoproto/gogo.proto"; import "structs/structs/params.proto"; import "structs/structs/address.proto"; +import "structs/structs/agreement.proto"; import "structs/structs/allocation.proto"; import "structs/structs/grid.proto"; import "structs/structs/guild.proto"; @@ -16,6 +17,7 @@ import "structs/structs/keys.proto"; import "structs/structs/permission.proto"; import "structs/structs/player.proto"; import "structs/structs/planet.proto"; +import "structs/structs/provider.proto"; import "structs/structs/reactor.proto"; import "structs/structs/struct.proto"; import "structs/structs/substation.proto"; @@ -31,7 +33,9 @@ message GenesisState { repeated Allocation allocationList = 3 [(gogoproto.nullable) = false]; - repeated Infusion infusionList = 4 [(gogoproto.nullable) = false]; + repeated Agreement agreementList = 4 [(gogoproto.nullable) = false]; + + repeated Infusion infusionList = 5 [(gogoproto.nullable) = false]; repeated Guild guildList = 6 [(gogoproto.nullable) = false]; uint64 guildCount = 7; @@ -40,21 +44,26 @@ message GenesisState { uint64 planetCount = 9; repeated Player playerList = 10 [(gogoproto.nullable) = false]; - uint64 playerCount = 11; + repeated string playerHalted = 11; + uint64 playerCount = 12; + + + repeated Provider providerList = 13 [(gogoproto.nullable) = false]; + uint64 providerCount = 14; - repeated Reactor reactorList = 12 [(gogoproto.nullable) = false]; - uint64 reactorCount = 13; + repeated Reactor reactorList = 15 [(gogoproto.nullable) = false]; + uint64 reactorCount = 16; - repeated Struct structList = 14 [(gogoproto.nullable) = false]; - uint64 structCount = 15; + repeated Struct structList = 17 [(gogoproto.nullable) = false]; + uint64 structCount = 18; - repeated Substation substationList = 16 [(gogoproto.nullable) = false]; - uint64 substationCount = 17; + repeated Substation substationList = 19 [(gogoproto.nullable) = false]; + uint64 substationCount = 20; - repeated PermissionRecord permissionList = 18; - repeated GridRecord gridList = 19; + repeated PermissionRecord permissionList = 21; + repeated GridRecord gridList = 22; - repeated AddressRecord addressList = 20; + repeated AddressRecord addressList = 23; } diff --git a/proto/structs/structs/grid.proto b/proto/structs/structs/grid.proto index 4cd34c01..c3fea23b 100644 --- a/proto/structs/structs/grid.proto +++ b/proto/structs/structs/grid.proto @@ -28,4 +28,5 @@ message GridAttributes { uint64 lastAction = 12; uint64 nonce = 13; uint64 ready = 14; + uint64 checkpointBlock = 15; } diff --git a/proto/structs/structs/keys.proto b/proto/structs/structs/keys.proto index bc836735..195b178d 100644 --- a/proto/structs/structs/keys.proto +++ b/proto/structs/structs/keys.proto @@ -20,6 +20,8 @@ enum objectType { infusion = 7; address = 8; fleet = 9; + provider = 10; + agreement = 11; } enum gridAttributeType { @@ -37,12 +39,14 @@ enum gridAttributeType { lastAction = 11; nonce = 12; ready = 13; + checkpointBlock = 14; } enum allocationType { - static = 0; - dynamic = 1; - automated = 2; + static = 0; + dynamic = 1; + automated = 2; + providerAgreement = 3; } @@ -213,4 +217,11 @@ enum techPowerGeneration { smallGenerator = 1; mediumGenerator = 2; largeGenerator = 3; -} \ No newline at end of file +} + + +enum providerAccessPolicy { + openMarket = 0; + guildMarket = 1; + closedMarket = 2; +} diff --git a/proto/structs/structs/provider.proto b/proto/structs/structs/provider.proto new file mode 100644 index 00000000..1b64c04d --- /dev/null +++ b/proto/structs/structs/provider.proto @@ -0,0 +1,50 @@ +syntax = "proto3"; + +package structs.structs; + +option go_package = "structs/x/structs/types"; + +import "cosmos_proto/cosmos.proto"; +import "gogoproto/gogo.proto"; +import "cosmos/base/v1beta1/coin.proto"; +import "amino/amino.proto"; +import "structs/structs/keys.proto"; + +message Provider { + + option (gogoproto.equal) = true; + + string id = 1; + uint64 index = 2; + + string substationId = 3; + + cosmos.base.v1beta1.Coin rate = 4 [ + (gogoproto.nullable) = false, + (amino.dont_omitempty) = true, + (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins" + ]; + + providerAccessPolicy accessPolicy = 5; + + uint64 capacityMinimum = 6; + uint64 capacityMaximum = 7; + uint64 durationMinimum = 8; + uint64 durationMaximum = 9; + + string providerCancellationPenalty = 10 [ + (cosmos_proto.scalar) = "cosmos.Dec", + (gogoproto.customtype) = "cosmossdk.io/math.LegacyDec", + (gogoproto.nullable) = false + ]; + + string consumerCancellationPenalty = 11 [ + (cosmos_proto.scalar) = "cosmos.Dec", + (gogoproto.customtype) = "cosmossdk.io/math.LegacyDec", + (gogoproto.nullable) = false + ]; + + string creator = 12; + string owner = 13; + +} diff --git a/proto/structs/structs/query.proto b/proto/structs/structs/query.proto index 3af2ebe1..c6659e90 100644 --- a/proto/structs/structs/query.proto +++ b/proto/structs/structs/query.proto @@ -9,6 +9,7 @@ import "cosmos/base/query/v1beta1/pagination.proto"; import "structs/structs/params.proto"; import "structs/structs/address.proto"; +import "structs/structs/agreement.proto"; import "structs/structs/allocation.proto"; import "structs/structs/fleet.proto"; import "structs/structs/grid.proto"; @@ -19,6 +20,7 @@ import "structs/structs/permission.proto"; import "structs/structs/player.proto"; import "structs/structs/planet.proto"; import "structs/structs/reactor.proto"; +import "structs/structs/provider.proto"; import "structs/structs/struct.proto"; import "structs/structs/substation.proto"; @@ -48,6 +50,19 @@ service Query { option (google.api.http).get = "/structs/address_by_player/{playerId}"; } + // Queries a list of Agreement items. + rpc Agreement (QueryGetAgreementRequest) returns (QueryGetAgreementResponse) { + option (google.api.http).get = "/structs/agreement/{id}"; + } + + rpc AgreementAll (QueryAllAgreementRequest) returns (QueryAllAgreementResponse) { + option (google.api.http).get = "/structs/agreement"; + } + + rpc AgreementAllByProvider (QueryAllAgreementByProviderRequest) returns (QueryAllAgreementResponse) { + option (google.api.http).get = "/structs/agreement_by_provider/{providerId}"; + } + // Queries a list of Allocation items. rpc Allocation (QueryGetAllocationRequest) returns (QueryGetAllocationResponse) { option (google.api.http).get = "/structs/allocation/{id}"; @@ -97,6 +112,20 @@ service Query { option (google.api.http).get = "/structs/guild"; } + rpc GuildBankCollateralAddress (QueryGetGuildBankCollateralAddressRequest) returns (QueryAllGuildBankCollateralAddressResponse) { + option (google.api.http).get = "/structs/guild_bank_collateral_address/{guildId}"; + } + + rpc GuildBankCollateralAddressAll (QueryAllGuildBankCollateralAddressRequest) returns (QueryAllGuildBankCollateralAddressResponse) { + option (google.api.http).get = "/structs/guild_bank_collateral_address"; + } + + /* TODO Requires a lookup table that I don't know if we care about + rpc GuildByBankCollateralAddress (QueryGetGuildByBankCollateralAddressRequest) returns (QueryGetGuildResponse) { + option (google.api.http).get = "/structs/guild_by_bank_collateral_address/{address}"; + } + */ + rpc GuildMembershipApplication (QueryGetGuildMembershipApplicationRequest) returns (QueryGetGuildMembershipApplicationResponse) { option (google.api.http).get = "/structs/guild_membership_application/{guildId}/{playerId}"; } @@ -147,6 +176,9 @@ service Query { option (google.api.http).get = "/structs/player"; } + rpc PlayerHaltedAll (QueryAllPlayerHaltedRequest) returns (QueryAllPlayerHaltedResponse) { + option (google.api.http).get = "/structs/player_halted"; + } // Queries a list of Planet items. rpc Planet (QueryGetPlanetRequest) returns (QueryGetPlanetResponse) { @@ -170,6 +202,42 @@ service Query { option (google.api.http).get = "/structs/planet_attribute"; } + // Queries a list of Allocation items. + rpc Provider (QueryGetProviderRequest) returns (QueryGetProviderResponse) { + option (google.api.http).get = "/structs/provider/{id}"; + } + + rpc ProviderAll (QueryAllProviderRequest) returns (QueryAllProviderResponse) { + option (google.api.http).get = "/structs/provider"; + } + + rpc ProviderCollateralAddress (QueryGetProviderCollateralAddressRequest) returns (QueryAllProviderCollateralAddressResponse) { + option (google.api.http).get = "/structs/provider_collateral_address/{providerId}"; + } + + rpc ProviderCollateralAddressAll (QueryAllProviderCollateralAddressRequest) returns (QueryAllProviderCollateralAddressResponse) { + option (google.api.http).get = "/structs/provider_collateral_address"; + } + + + /* TODO Requires a lookup table that I don't know if we care about + rpc ProviderByCollateralAddress (QueryGetProviderByCollateralAddressRequest) returns (QueryGetProviderResponse) { + option (google.api.http).get = "/structs/provider_by_collateral_address/{address}"; + } + */ + rpc ProviderEarningsAddress (QueryGetProviderEarningsAddressRequest) returns (QueryAllProviderEarningsAddressResponse) { + option (google.api.http).get = "/structs/provider_earnings_address/{providerId}"; + } + + rpc ProviderEarningsAddressAll (QueryAllProviderEarningsAddressRequest) returns (QueryAllProviderEarningsAddressResponse) { + option (google.api.http).get = "/structs/provider_earnings_address"; + } + + /* TODO Requires a lookup table that I don't know if we care about + rpc ProviderByEarningsAddress (QueryGetProviderByEarningsAddressRequest) returns (QueryGetProviderResponse) { + option (google.api.http).get = "/structs/provider_by_earnings_address/{address}"; + } + */ // Queries a list of Reactor items. rpc Reactor (QueryGetReactorRequest) returns (QueryGetReactorResponse) { option (google.api.http).get = "/structs/reactor/{id}"; @@ -263,6 +331,28 @@ message QueryAllAddressResponse { cosmos.base.query.v1beta1.PageResponse pagination = 2; } +message QueryGetAgreementRequest { + string id = 1; +} + +message QueryGetAgreementResponse { + Agreement Agreement = 1 [(gogoproto.nullable) = false]; +} + +message QueryAllAgreementRequest { + cosmos.base.query.v1beta1.PageRequest pagination = 1; +} + +message QueryAllAgreementByProviderRequest { + cosmos.base.query.v1beta1.PageRequest pagination = 1; + string providerId = 2; +} + +message QueryAllAgreementResponse { + repeated Agreement Agreement = 1 [(gogoproto.nullable) = false]; + cosmos.base.query.v1beta1.PageResponse pagination = 2; +} + message QueryGetAllocationRequest { string id = 1; } @@ -351,6 +441,24 @@ message QueryAllGuildResponse { cosmos.base.query.v1beta1.PageResponse pagination = 2; } +message QueryGetGuildBankCollateralAddressRequest { + string guildId = 1; +} + +message QueryAllGuildBankCollateralAddressRequest { + cosmos.base.query.v1beta1.PageRequest pagination = 1; +} + + +message QueryAllGuildBankCollateralAddressResponse { + repeated InternalAddressAssociation internalAddressAssociation = 1; + cosmos.base.query.v1beta1.PageResponse pagination = 2; +} + +message QueryGetGuildByBankCollateralAddressRequest { + string address = 1; +} + message QueryGetGuildMembershipApplicationRequest { string guildId = 1; @@ -477,6 +585,7 @@ message QueryGetPlayerResponse { Player Player = 1 [(gogoproto.nullable) = false]; GridAttributes gridAttributes = 2; PlayerInventory playerInventory = 3; + bool halted = 4; } message QueryAllPlayerRequest { @@ -488,6 +597,68 @@ message QueryAllPlayerResponse { cosmos.base.query.v1beta1.PageResponse pagination = 2; } + +message QueryAllPlayerHaltedRequest {} +message QueryAllPlayerHaltedResponse { repeated string PlayerId = 1 [(gogoproto.nullable) = false]; } + + +message QueryGetProviderRequest { + string id = 1; +} + +message QueryGetProviderResponse { + Provider Provider = 1 [(gogoproto.nullable) = false]; + GridAttributes gridAttributes = 2; +} + +message QueryAllProviderRequest { + cosmos.base.query.v1beta1.PageRequest pagination = 1; +} + +message QueryAllProviderResponse { + repeated Provider Provider = 1 [(gogoproto.nullable) = false]; + cosmos.base.query.v1beta1.PageResponse pagination = 2; +} + + +message QueryGetProviderCollateralAddressRequest { + string providerId = 1; +} + +message QueryAllProviderCollateralAddressRequest { + cosmos.base.query.v1beta1.PageRequest pagination = 1; +} + + +message QueryAllProviderCollateralAddressResponse { + repeated InternalAddressAssociation internalAddressAssociation = 1; + cosmos.base.query.v1beta1.PageResponse pagination = 2; +} + +message QueryGetProviderByCollateralAddressRequest { + string address = 1; +} + + + +message QueryGetProviderEarningsAddressRequest { + string providerId = 1; +} + +message QueryAllProviderEarningsAddressRequest { + cosmos.base.query.v1beta1.PageRequest pagination = 1; +} + + +message QueryAllProviderEarningsAddressResponse { + repeated InternalAddressAssociation internalAddressAssociation = 1; + cosmos.base.query.v1beta1.PageResponse pagination = 2; +} + +message QueryGetProviderByEarningsAddressRequest { + string address = 1; +} + message QueryGetReactorRequest { string id = 1; } diff --git a/proto/structs/structs/tx.proto b/proto/structs/structs/tx.proto index 870b505b..5edfefc4 100644 --- a/proto/structs/structs/tx.proto +++ b/proto/structs/structs/tx.proto @@ -7,6 +7,7 @@ import "cosmos/msg/v1/msg.proto"; import "cosmos_proto/cosmos.proto"; import "gogoproto/gogo.proto"; import "structs/structs/params.proto"; +import "cosmos/base/v1beta1/coin.proto"; import "structs/structs/keys.proto"; import "structs/structs/fleet.proto"; @@ -27,6 +28,12 @@ service Msg { rpc AddressRegister (MsgAddressRegister ) returns (MsgAddressRegisterResponse ); rpc AddressRevoke (MsgAddressRevoke ) returns (MsgAddressRevokeResponse ); + rpc AgreementOpen (MsgAgreementOpen ) returns (MsgAgreementResponse); + rpc AgreementClose (MsgAgreementClose ) returns (MsgAgreementResponse); + rpc AgreementCapacityIncrease (MsgAgreementCapacityIncrease ) returns (MsgAgreementResponse); + rpc AgreementCapacityDecrease (MsgAgreementCapacityDecrease ) returns (MsgAgreementResponse); + rpc AgreementDurationIncrease (MsgAgreementDurationIncrease ) returns (MsgAgreementResponse); + rpc AllocationCreate (MsgAllocationCreate ) returns (MsgAllocationCreateResponse ); rpc AllocationDelete (MsgAllocationDelete ) returns (MsgAllocationDeleteResponse ); rpc AllocationUpdate (MsgAllocationUpdate ) returns (MsgAllocationUpdateResponse ); @@ -35,6 +42,9 @@ service Msg { rpc FleetMove (MsgFleetMove ) returns (MsgFleetMoveResponse ); rpc GuildCreate (MsgGuildCreate ) returns (MsgGuildCreateResponse ); + rpc GuildBankMint (MsgGuildBankMint ) returns (MsgGuildBankMintResponse ); + rpc GuildBankRedeem (MsgGuildBankRedeem ) returns (MsgGuildBankRedeemResponse ); + rpc GuildBankConfiscateAndBurn (MsgGuildBankConfiscateAndBurn ) returns (MsgGuildBankConfiscateAndBurnResponse ); rpc GuildUpdateOwnerId (MsgGuildUpdateOwnerId ) returns (MsgGuildUpdateResponse ); rpc GuildUpdateEntrySubstationId (MsgGuildUpdateEntrySubstationId ) returns (MsgGuildUpdateResponse ); rpc GuildUpdateEndpoint (MsgGuildUpdateEndpoint ) returns (MsgGuildUpdateResponse ); @@ -63,16 +73,31 @@ service Msg { rpc PermissionSetOnObject (MsgPermissionSetOnObject ) returns (MsgPermissionResponse); - rpc PlanetExplore (MsgPlanetExplore ) returns (MsgPlanetExploreResponse ); - rpc PlanetRaidComplete (MsgPlanetRaidComplete ) returns (MsgPlanetRaidCompleteResponse ); + rpc PlanetExplore (MsgPlanetExplore ) returns (MsgPlanetExploreResponse ); + rpc PlanetRaidComplete (MsgPlanetRaidComplete ) returns (MsgPlanetRaidCompleteResponse ); + + rpc PlayerUpdatePrimaryAddress (MsgPlayerUpdatePrimaryAddress ) returns (MsgPlayerUpdatePrimaryAddressResponse ); + rpc PlayerResume (MsgPlayerResume ) returns (MsgPlayerResumeResponse ); + + rpc ProviderCreate (MsgProviderCreate ) returns (MsgProviderResponse); + rpc ProviderWithdrawBalance (MsgProviderWithdrawBalance ) returns (MsgProviderResponse); + rpc ProviderUpdateCapacityMinimum (MsgProviderUpdateCapacityMinimum ) returns (MsgProviderResponse); + rpc ProviderUpdateCapacityMaximum (MsgProviderUpdateCapacityMaximum ) returns (MsgProviderResponse); + rpc ProviderUpdateDurationMinimum (MsgProviderUpdateDurationMinimum ) returns (MsgProviderResponse); + rpc ProviderUpdateDurationMaximum (MsgProviderUpdateDurationMaximum ) returns (MsgProviderResponse); + rpc ProviderUpdateAccessPolicy (MsgProviderUpdateAccessPolicy ) returns (MsgProviderResponse); + rpc ProviderGuildGrant (MsgProviderGuildGrant ) returns (MsgProviderResponse); + rpc ProviderGuildRevoke (MsgProviderGuildRevoke ) returns (MsgProviderResponse); + rpc ProviderDelete (MsgProviderDelete ) returns (MsgProviderResponse); - rpc PlayerUpdatePrimaryAddress (MsgPlayerUpdatePrimaryAddress ) returns (MsgPlayerUpdatePrimaryAddressResponse ); rpc StructActivate (MsgStructActivate ) returns (MsgStructStatusResponse ); rpc StructDeactivate (MsgStructDeactivate ) returns (MsgStructStatusResponse ); rpc StructBuildInitiate (MsgStructBuildInitiate ) returns (MsgStructStatusResponse ); rpc StructBuildComplete (MsgStructBuildComplete ) returns (MsgStructStatusResponse ); + rpc StructBuildCancel (MsgStructBuildCancel ) returns (MsgStructStatusResponse ); + // Not MVP // rpc StructBuildCompleteAndStash (MsgStructBuildCompleteAndStash ) returns (MsgStructStatusResponse ); @@ -212,6 +237,43 @@ message MsgFleetMove { message MsgFleetMoveResponse { Fleet fleet = 1; } + +message MsgGuildBankMint { + option (cosmos.msg.v1.signer) = "creator"; + + string creator = 1; + uint64 amountAlpha = 2; + uint64 amountToken = 3; +} + +message MsgGuildBankMintResponse { } + + +message MsgGuildBankRedeem { + option (cosmos.msg.v1.signer) = "creator"; + + string creator = 1; + cosmos.base.v1beta1.Coin amountToken = 2 [ + (gogoproto.nullable) = false, + (amino.dont_omitempty) = true, + (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins" + ]; +} + +message MsgGuildBankRedeemResponse { } + +message MsgGuildBankConfiscateAndBurn { + option (cosmos.msg.v1.signer) = "creator"; + + string creator = 1; + string address = 2; + uint64 amountToken = 3; +} + +message MsgGuildBankConfiscateAndBurnResponse { } + + + message MsgGuildCreate { option (cosmos.msg.v1.signer) = "creator"; @@ -437,6 +499,7 @@ message MsgPlanetExplore { option (cosmos.msg.v1.signer) = "creator"; string creator = 1; + string playerId = 2; } message MsgPlanetExploreResponse { @@ -468,6 +531,15 @@ message MsgPlayerUpdatePrimaryAddress { message MsgPlayerUpdatePrimaryAddressResponse {} +message MsgPlayerResume { + option (cosmos.msg.v1.signer) = "creator"; + + string creator = 1; + string playerId = 2; +} + +message MsgPlayerResumeResponse {} + message MsgStructStatusResponse { Struct struct = 1 [(gogoproto.nullable) = false]; } @@ -494,9 +566,9 @@ message MsgStructBuildInitiate { string creator = 1; string playerId = 2; uint64 structTypeId = 3; - objectType locationType = 4; - ambit operatingAmbit = 5; - uint64 slot = 6; + //objectType locationType = 4; + ambit operatingAmbit = 4; + uint64 slot = 5; } @@ -509,6 +581,13 @@ message MsgStructBuildComplete { string nonce = 4; } +message MsgStructBuildCancel { + option (cosmos.msg.v1.signer) = "creator"; + + string creator = 1; + string structId = 2; +} + message MsgStructBuildCompleteAndStash { option (cosmos.msg.v1.signer) = "creator"; @@ -705,3 +784,151 @@ message MsgSubstationPlayerMigrate { message MsgSubstationPlayerMigrateResponse {} + +message MsgAgreementOpen { + option (cosmos.msg.v1.signer) = "creator"; + + string creator = 1; + string providerId = 2; + uint64 duration = 3; + uint64 capacity = 4; +} + +message MsgAgreementClose { + option (cosmos.msg.v1.signer) = "creator"; + + string creator = 1; + string agreementId = 2; +} + +message MsgAgreementCapacityIncrease { + option (cosmos.msg.v1.signer) = "creator"; + + string creator = 1; + string agreementId = 2; + uint64 capacityIncrease = 3; +} + +message MsgAgreementCapacityDecrease { + option (cosmos.msg.v1.signer) = "creator"; + + string creator = 1; + string agreementId = 2; + uint64 capacityDecrease = 3; +} + +message MsgAgreementDurationIncrease { + option (cosmos.msg.v1.signer) = "creator"; + + string creator = 1; + string agreementId = 2; + uint64 durationIncrease = 3; +} + +message MsgAgreementResponse {} + + +message MsgProviderCreate { + option (cosmos.msg.v1.signer) = "creator"; + + string creator = 1; + string substationId = 2; + + cosmos.base.v1beta1.Coin rate = 3 [ + (gogoproto.nullable) = false, + (amino.dont_omitempty) = true, + (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins" + ]; + + providerAccessPolicy accessPolicy = 4; + + string providerCancellationPenalty = 5 [ + (cosmos_proto.scalar) = "cosmos.Dec", + (gogoproto.customtype) = "cosmossdk.io/math.LegacyDec", + (gogoproto.nullable) = false + ]; + + string consumerCancellationPenalty = 6 [ + (cosmos_proto.scalar) = "cosmos.Dec", + (gogoproto.customtype) = "cosmossdk.io/math.LegacyDec", + (gogoproto.nullable) = false + ]; + + uint64 capacityMinimum = 7; + uint64 capacityMaximum = 8; + uint64 durationMinimum = 9; + uint64 durationMaximum = 10; +} + +message MsgProviderWithdrawBalance { + option (cosmos.msg.v1.signer) = "creator"; + + string creator = 1; + string providerId = 2; + string destinationAddress = 3; +} + +message MsgProviderUpdateCapacityMinimum { + option (cosmos.msg.v1.signer) = "creator"; + + string creator = 1; + string providerId = 2; + uint64 newMinimumCapacity = 3; +} + +message MsgProviderUpdateCapacityMaximum { + option (cosmos.msg.v1.signer) = "creator"; + + string creator = 1; + string providerId = 2; + uint64 newMaximumCapacity = 3; +} + +message MsgProviderUpdateDurationMinimum { + option (cosmos.msg.v1.signer) = "creator"; + + string creator = 1; + string providerId = 2; + uint64 newMinimumDuration = 3; +} + +message MsgProviderUpdateDurationMaximum { + option (cosmos.msg.v1.signer) = "creator"; + + string creator = 1; + string providerId = 2; + uint64 newMaximumDuration = 3; +} + +message MsgProviderUpdateAccessPolicy { + option (cosmos.msg.v1.signer) = "creator"; + + string creator = 1; + string providerId = 2; + providerAccessPolicy accessPolicy = 3; +} + +message MsgProviderGuildGrant { + option (cosmos.msg.v1.signer) = "creator"; + + string creator = 1; + string providerId = 2; + repeated string guildId = 3; +} + +message MsgProviderGuildRevoke { + option (cosmos.msg.v1.signer) = "creator"; + + string creator = 1; + string providerId = 2; + repeated string guildId = 3; +} + +message MsgProviderDelete { + option (cosmos.msg.v1.signer) = "creator"; + + string creator = 1; + string providerId = 2; +} + +message MsgProviderResponse {} diff --git a/x/structs/keeper/abci.go b/x/structs/keeper/abci.go index fb24a74c..6ef8032b 100644 --- a/x/structs/keeper/abci.go +++ b/x/structs/keeper/abci.go @@ -5,35 +5,51 @@ import ( abci "github.com/cometbft/cometbft/abci/types" sdk "github.com/cosmos/cosmos-sdk/types" "structs/x/structs/types" + ) // BeginBlocker will persist the current header and validator set as a historical entry // and prune the oldest entry based on the HistoricalEntries parameter func (k *Keeper) BeginBlocker(ctx context.Context) { + ctxSDK := sdk.UnwrapSDKContext(ctx) + + ctxSDK.Logger().Debug("Begin Block Processes") + k.EmitEventTime(ctx) k.EventAllGenesis(ctx) k.StructSweepDestroyed(ctx) + + ctxSDK.Logger().Debug("Begin Block Complete") } // Called every block, update validator set func (k *Keeper) EndBlocker(ctx context.Context) ([]abci.ValidatorUpdate, error) { + + ctxSDK := sdk.UnwrapSDKContext(ctx) + + ctxSDK.Logger().Debug("End Block Processes") + + k.AgreementExpirations(ctx) + /* Cascade all the possible failures across the grid * * This will mean that there will be some cases in which * devices have one last block of power before shutting down * but I think that's ok. We'll see how it goes in practice. */ - k.GridCascade(sdk.UnwrapSDKContext(ctx)) + k.GridCascade(ctx) + + ctxSDK.Logger().Debug("End Block Complete") return []abci.ValidatorUpdate{}, nil } - func (k Keeper) EmitEventTime(ctx context.Context) { ctxSDK := sdk.UnwrapSDKContext(ctx) + ctxSDK.Logger().Debug("Emit Event Time") _ = ctxSDK.EventManager().EmitTypedEvent(&types.EventTime{&types.EventTimeDetail{BlockHeight: ctxSDK.BlockHeight(), BlockTime: ctxSDK.HeaderInfo().Time }}) } @@ -42,6 +58,8 @@ func (k *Keeper) EventAllGenesis(ctx context.Context) { if ctxSDK.BlockHeight() > 1 { return } + ctxSDK.Logger().Info("Spewing Genesis Events") + // Player players := k.GetAllPlayer(ctx) for _, player := range players { diff --git a/x/structs/keeper/agreement.go b/x/structs/keeper/agreement.go new file mode 100644 index 00000000..c9c4a604 --- /dev/null +++ b/x/structs/keeper/agreement.go @@ -0,0 +1,123 @@ +package keeper + +import ( + //"encoding/binary" + "context" + + "github.com/cosmos/cosmos-sdk/runtime" + "cosmossdk.io/store/prefix" + storetypes "cosmossdk.io/store/types" + + sdk "github.com/cosmos/cosmos-sdk/types" + "structs/x/structs/types" + + //sdkerrors "cosmossdk.io/errors" + "fmt" + +) + +// AppendAgreement appends a agreement in the store with the ID of the related Allocation +func (k Keeper) AppendAgreement( + ctx context.Context, + agreement types.Agreement, +) (err error) { + k.SetAgreementProviderIndex(ctx, agreement.ProviderId, agreement.Id) + k.SetAgreementExpirationIndex(ctx, agreement.EndBlock, agreement.Id) + + store := prefix.NewStore(runtime.KVStoreAdapter(k.storeService.OpenKVStore(ctx)), types.KeyPrefix(types.AgreementKey)) + appendedValue := k.cdc.MustMarshal(&agreement) + store.Set([]byte(agreement.Id), appendedValue) + + ctxSDK := sdk.UnwrapSDKContext(ctx) + _ = ctxSDK.EventManager().EmitTypedEvent(&types.EventAgreement{Agreement: &agreement}) + + return nil +} + +func (k Keeper) SetAgreement(ctx context.Context, agreement types.Agreement) (types.Agreement, error){ + + store := prefix.NewStore(runtime.KVStoreAdapter(k.storeService.OpenKVStore(ctx)), types.KeyPrefix(types.AgreementKey)) + b := k.cdc.MustMarshal(&agreement) + store.Set([]byte(agreement.Id), b) + + ctxSDK := sdk.UnwrapSDKContext(ctx) + _ = ctxSDK.EventManager().EmitTypedEvent(&types.EventAgreement{Agreement: &agreement}) + + return agreement, nil +} + + + +// ImportAgreement set a specific agreement in the store +// Assumes Grid updates happen elsewhere +func (k Keeper) ImportAgreement(ctx context.Context, agreement types.Agreement){ + k.SetAgreementProviderIndex(ctx, agreement.ProviderId, agreement.Id) + + store := prefix.NewStore(runtime.KVStoreAdapter(k.storeService.OpenKVStore(ctx)), types.KeyPrefix(types.AgreementKey)) + b := k.cdc.MustMarshal(&agreement) + store.Set([]byte(agreement.Id), b) + + ctxSDK := sdk.UnwrapSDKContext(ctx) + _ = ctxSDK.EventManager().EmitTypedEvent(&types.EventAgreement{Agreement: &agreement}) +} + + + +// RemoveAgreement removes a agreement from the store +func (k Keeper) RemoveAgreement(ctx context.Context, agreement types.Agreement) { + store := prefix.NewStore(runtime.KVStoreAdapter(k.storeService.OpenKVStore(ctx)), types.KeyPrefix(types.AgreementKey)) + store.Delete([]byte(agreement.Id)) + + k.RemoveAgreementProviderIndex(ctx, agreement.ProviderId, agreement.Id) + + ctxSDK := sdk.UnwrapSDKContext(ctx) + _ = ctxSDK.EventManager().EmitTypedEvent(&types.EventDelete{ObjectId: agreement.Id}) +} + +func (k Keeper) AgreementExpirations(ctx context.Context) { + fmt.Printf("Checking for Expired Agreements \n") + + uctx := sdk.UnwrapSDKContext(ctx) + currentBlock := uint64(uctx.BlockHeight()) + + // Get List of Agreements + agreements := k.GetAllAgreementIdByExpirationIndex(ctx, currentBlock) + for _, agreementId := range agreements { + fmt.Printf("Expired Agreement %s \n", agreementId) + agreement := k.GetAgreementCacheFromId(ctx, agreementId) + agreement.GetProvider().Checkpoint() + agreement.Expire() + } + +} + +// GetAgreement returns a agreement from its id +func (k Keeper) GetAgreement(ctx context.Context, agreementId string) (val types.Agreement, found bool) { + store := prefix.NewStore(runtime.KVStoreAdapter(k.storeService.OpenKVStore(ctx)), types.KeyPrefix(types.AgreementKey)) + b := store.Get([]byte(agreementId)) + if b == nil { + return val, false + } + k.cdc.MustUnmarshal(b, &val) + + return val, true +} + +// GetAllAgreement returns all agreement +func (k Keeper) GetAllAgreement(ctx context.Context) (list []types.Agreement) { + store := prefix.NewStore(runtime.KVStoreAdapter(k.storeService.OpenKVStore(ctx)), types.KeyPrefix(types.AgreementKey)) + iterator := storetypes.KVStorePrefixIterator(store, []byte{}) + + defer iterator.Close() + + for ; iterator.Valid(); iterator.Next() { + var val types.Agreement + k.cdc.MustUnmarshal(iterator.Value(), &val) + + list = append(list, val) + } + + return +} + + diff --git a/x/structs/keeper/agreement_cache.go b/x/structs/keeper/agreement_cache.go new file mode 100644 index 00000000..2ab3d10a --- /dev/null +++ b/x/structs/keeper/agreement_cache.go @@ -0,0 +1,484 @@ +package keeper + +import ( + "context" + + sdk "github.com/cosmos/cosmos-sdk/types" + sdkerrors "cosmossdk.io/errors" + "structs/x/structs/types" + "cosmossdk.io/math" + "fmt" +) + +type AgreementCache struct { + AgreementId string + K *Keeper + Ctx context.Context + + AnyChange bool + + Ready bool + + AgreementLoaded bool + AgreementChanged bool + Agreement types.Agreement + + PreviousEndBlock uint64 + EndBlockChanged bool + + OwnerLoaded bool + Owner *PlayerCache + + ProviderLoaded bool + Provider *ProviderCache + + DurationRemaining uint64 + DurationRemainingLoaded bool + + DurationPast uint64 + DurationPastLoaded bool + + Duration uint64 + DurationLoaded bool + + CurrentBlock uint64 + CurrentBlockLoaded bool + + // TODO allocationCache + + +} + +// Build this initial Agreement Cache object +func (k *Keeper) GetAgreementCacheFromId(ctx context.Context, agreementId string) AgreementCache { + return AgreementCache{ + AgreementId: agreementId, + K: k, + Ctx: ctx, + + AnyChange: false, + + OwnerLoaded: false, + + ProviderLoaded: false, + + AgreementLoaded: false, + AgreementChanged: false, + + DurationRemainingLoaded: false, + DurationPastLoaded: false, + DurationLoaded: false, + + CurrentBlockLoaded: false, + } +} + +func (cache *AgreementCache) Commit() { + cache.AnyChange = false + + fmt.Printf("\n Updating Agreement From Cache (%s) \n", cache.AgreementId) + + if cache.AgreementChanged { + cache.K.SetAgreement(cache.Ctx, cache.Agreement) + cache.AgreementChanged = false + } + + if cache.Owner != nil && cache.GetOwner().IsChanged() { + cache.GetOwner().Commit() + } + + if cache.Provider != nil && cache.GetProvider().IsChanged() { + cache.GetProvider().Commit() + } + + if cache.EndBlockChanged { + if (cache.PreviousEndBlock > 0) { + cache.K.RemoveAgreementExpirationIndex(cache.Ctx, cache.PreviousEndBlock, cache.GetAgreementId()) + } + cache.K.SetAgreementExpirationIndex(cache.Ctx, cache.GetEndBlock(), cache.GetAgreementId()) + } + +} + +func (cache *AgreementCache) IsChanged() bool { + return cache.AnyChange +} + +func (cache *AgreementCache) Changed() { + cache.AnyChange = true +} + +/* Separate Loading functions for each of the underlying containers */ + +// Load the Agreement record +func (cache *AgreementCache) LoadAgreement() bool { + agreement, agreementFound := cache.K.GetAgreement(cache.Ctx, cache.AgreementId) + + if agreementFound { + cache.Agreement = agreement + cache.AgreementLoaded = true + } + + return agreementFound +} + +// Load the Player data +func (cache *AgreementCache) LoadOwner() bool { + newOwner, _ := cache.K.GetPlayerCacheFromId(cache.Ctx, cache.GetOwnerId()) + cache.Owner = &newOwner + cache.OwnerLoaded = true + return cache.OwnerLoaded +} + +func (cache *AgreementCache) LoadCurrentBlock() bool { + uctx := sdk.UnwrapSDKContext(cache.Ctx) + cache.CurrentBlock = uint64(uctx.BlockHeight()) + cache.CurrentBlockLoaded = true + return cache.CurrentBlockLoaded +} + +func (cache *AgreementCache) LoadDurationRemaining() bool { + cache.DurationRemaining = cache.GetEndBlock() - cache.GetCurrentBlock() + cache.DurationRemainingLoaded = true + return cache.DurationRemainingLoaded +} + +func (cache *AgreementCache) LoadDurationPast() bool { + cache.DurationPast = cache.GetCurrentBlock() - cache.GetStartBlock() + cache.DurationPastLoaded = true + return cache.DurationPastLoaded +} + +func (cache *AgreementCache) LoadDuration() bool { + cache.Duration = cache.GetEndBlock() - cache.GetStartBlock() + cache.DurationLoaded = true + return cache.DurationLoaded +} + +func (cache *AgreementCache) ManualLoadOwner(owner *PlayerCache) { + cache.Owner = owner + cache.OwnerLoaded = true +} + +// Load the Agreements Provider +func (cache *AgreementCache) LoadProvider() bool { + newProvider := cache.K.GetProviderCacheFromId(cache.Ctx, cache.GetProviderId()) + cache.Provider = &newProvider + cache.ProviderLoaded = true + return cache.ProviderLoaded +} + +func (cache *AgreementCache) ManualLoadProvider(provider *ProviderCache) { + cache.Provider = provider + cache.ProviderLoaded = true +} + + + +// Update Permission +func (cache *AgreementCache) CanUpdate(activePlayer *PlayerCache) (error) { + return cache.PermissionCheck(types.PermissionUpdate, activePlayer) +} + + +func (cache *AgreementCache) PermissionCheck(permission types.Permission, activePlayer *PlayerCache) (error) { + // Make sure the address calling this has permissions + if (!cache.K.PermissionHasOneOf(cache.Ctx, GetAddressPermissionIDBytes(activePlayer.GetActiveAddress()), permission)) { + return sdkerrors.Wrapf(types.ErrPermission, "Calling address (%s) has no (%d) permissions ", activePlayer.GetActiveAddress(), permission) + } + + if !activePlayer.HasPlayerAccount() { + return sdkerrors.Wrapf(types.ErrPermission, "Calling address (%s) has no Account", activePlayer.GetActiveAddress()) + } else { + if (activePlayer.GetPlayerId() != cache.GetOwnerId()) { + if (!cache.K.PermissionHasOneOf(cache.Ctx, GetObjectPermissionIDBytes(cache.GetAgreementId(), activePlayer.GetPlayerId()), permission)) { + return sdkerrors.Wrapf(types.ErrPermission, "Calling account (%s) has no (%d) permissions on target agreement (%s)", activePlayer.GetPlayerId(), permission, cache.GetAgreementId()) + } + } + } + return nil +} + + + + +/* Getters + * These will always perform a Load first on the appropriate data if it hasn't occurred yet. + */ + + +func (cache *AgreementCache) GetAgreement() types.Agreement { if !cache.AgreementLoaded { cache.LoadAgreement() }; return cache.Agreement } +func (cache *AgreementCache) GetAgreementId() string { return cache.AgreementId } + +func (cache *AgreementCache) GetCurrentBlock() uint64 { if !cache.CurrentBlockLoaded { cache.LoadCurrentBlock() }; return cache.CurrentBlock } + +// Get the Owner data +func (cache *AgreementCache) GetOwnerId() string { if !cache.AgreementLoaded { cache.LoadAgreement() }; return cache.Agreement.Owner } +func (cache *AgreementCache) GetOwner() *PlayerCache { if !cache.OwnerLoaded { cache.LoadOwner() }; return cache.Owner } + +// Get the Provider data +func (cache *AgreementCache) GetProviderId() string { if !cache.AgreementLoaded { cache.LoadAgreement() }; return cache.Agreement.ProviderId } +func (cache *AgreementCache) GetProvider() *ProviderCache { if !cache.ProviderLoaded { cache.LoadProvider() }; return cache.Provider } + + +func (cache *AgreementCache) GetAllocationId() string { if !cache.AgreementLoaded { cache.LoadAgreement() }; return cache.Agreement.AllocationId } +// TODO func GetAllocation() + +func (cache *AgreementCache) GetCapacity() uint64 { if !cache.AgreementLoaded { cache.LoadAgreement() }; return cache.Agreement.Capacity } +func (cache *AgreementCache) GetCapacityInt() math.Int { return math.NewIntFromUint64(cache.GetCapacity()) } +func (cache *AgreementCache) GetCapacityDec() math.LegacyDec { return math.LegacyNewDecFromInt(cache.GetCapacityInt()) } + +func (cache *AgreementCache) GetStartBlock() uint64 { if !cache.AgreementLoaded { cache.LoadAgreement() }; return cache.Agreement.StartBlock } +func (cache *AgreementCache) GetEndBlock() uint64 { if !cache.AgreementLoaded { cache.LoadAgreement() }; return cache.Agreement.EndBlock } + +func (cache *AgreementCache) GetCreator() string { if !cache.AgreementLoaded { cache.LoadAgreement() }; return cache.Agreement.Creator } + +func (cache *AgreementCache) GetDuration() uint64 { if !cache.DurationLoaded { cache.LoadDuration() }; return cache.Duration } +func (cache *AgreementCache) GetDurationInt() math.Int { return math.NewIntFromUint64(cache.GetDuration()) } + +func (cache *AgreementCache) GetDurationPast() uint64 { if !cache.DurationPastLoaded { cache.LoadDurationPast() }; return cache.DurationPast } +func (cache *AgreementCache) GetDurationPastInt() math.Int { return math.NewIntFromUint64(cache.GetDurationPast()) } +func (cache *AgreementCache) GetDurationPastDec() math.LegacyDec { return math.LegacyNewDecFromInt(cache.GetDurationPastInt()) } + +func (cache *AgreementCache) GetDurationRemaining() uint64 { if !cache.DurationRemainingLoaded { cache.LoadDurationRemaining() }; return cache.DurationRemaining } +func (cache *AgreementCache) GetDurationRemainingInt() math.Int { return math.NewIntFromUint64(cache.GetDurationRemaining()) } +func (cache *AgreementCache) GetDurationRemainingDec() math.LegacyDec { return math.LegacyNewDecFromInt(cache.GetDurationRemainingInt()) } + +func (cache *AgreementCache) GetOriginalCollateral() math.Int { + return cache.GetDurationInt().Mul(cache.GetProvider().GetRate().Amount).Mul(cache.GetCapacityInt()) +} + +func (cache *AgreementCache) GetRemainingCollateral() math.Int { + return cache.GetDurationRemainingInt().Mul(cache.GetProvider().GetRate().Amount).Mul(cache.GetCapacityInt()) +} +func (cache *AgreementCache) GetRemainingCollateralDec() math.LegacyDec { return math.LegacyNewDecFromInt(cache.GetRemainingCollateral()) } + +/* Committing Setters */ +func (cache *AgreementCache) PayoutVoidedProviderCancellationPenalty() { + rate := math.LegacyNewDecFromInt(cache.GetProvider().GetRate().Amount) + penalty := cache.GetDurationPastDec().Mul(rate).Mul(cache.GetCapacityDec()).Mul(cache.GetProvider().GetProviderCancellationPenalty()).TruncateInt() + penaltyCoin := sdk.NewCoins(sdk.NewCoin(cache.GetProvider().GetRate().Denom, penalty)) + + cache.K.bankKeeper.SendCoins(cache.Ctx, cache.GetProvider().GetCollateralPoolLocation(), cache.GetProvider().GetEarningsPoolLocation(), penaltyCoin) + +} + +func (cache *AgreementCache) PayoutProviderCancellationPenalty() { + rate := math.LegacyNewDecFromInt(cache.GetProvider().GetRate().Amount) + penalty := cache.GetDurationPastDec().Mul(rate).Mul(cache.GetCapacityDec()).Mul(cache.GetProvider().GetProviderCancellationPenalty()).TruncateInt() + penaltyCoin := sdk.NewCoins(sdk.NewCoin(cache.GetProvider().GetRate().Denom, penalty)) + + cache.K.bankKeeper.SendCoins(cache.Ctx, cache.GetProvider().GetCollateralPoolLocation(), cache.GetOwner().GetPrimaryAccount(), penaltyCoin) + +} + +func (cache *AgreementCache) PayoutConsumerCancellationPenaltyAndReturnCollateral() { + penalty := cache.GetRemainingCollateralDec().Mul(cache.GetProvider().GetConsumerCancellationPenalty()).TruncateInt() + penaltyCoin := sdk.NewCoins(sdk.NewCoin(cache.GetProvider().GetRate().Denom, penalty)) + + cache.K.bankKeeper.SendCoins(cache.Ctx, cache.GetProvider().GetCollateralPoolLocation(), cache.GetProvider().GetEarningsPoolLocation(), penaltyCoin) + + remainingCollateral := cache.GetRemainingCollateral().Sub(penalty) + remainingCollateralCoin := sdk.NewCoins(sdk.NewCoin(cache.GetProvider().GetRate().Denom, remainingCollateral)) + + cache.K.bankKeeper.SendCoins(cache.Ctx, cache.GetProvider().GetCollateralPoolLocation(), cache.GetOwner().GetPrimaryAccount(), remainingCollateralCoin) + +} + +func (cache *AgreementCache) ReturnRemainingCollateral() { + remainingCollateralCoin := sdk.NewCoins(sdk.NewCoin(cache.GetProvider().GetRate().Denom, cache.GetRemainingCollateral())) + + cache.K.bankKeeper.SendCoins(cache.Ctx, cache.GetProvider().GetCollateralPoolLocation(), cache.GetOwner().GetPrimaryAccount(), remainingCollateralCoin) +} + +func (cache *AgreementCache) PrematureCloseByProvider() (error) { + // Payout Cancellation Penalty + cache.PayoutProviderCancellationPenalty() + cache.ReturnRemainingCollateral() + + // Destroy the Allocation + cache.K.DestroyAllocation(cache.Ctx, cache.GetAllocationId()) + + // Decrease the Load on the Provider + cache.GetProvider().AgreementLoadDecrease(cache.GetCapacity()) + + // Destroy the Agreement + cache.K.RemoveAgreementExpirationIndex(cache.Ctx, cache.GetEndBlock(), cache.GetAgreementId()) + cache.K.RemoveAgreement(cache.Ctx, cache.GetAgreement()) + + return nil +} + +func (cache *AgreementCache) PrematureCloseByConsumer() (error){ + + cache.PayoutConsumerCancellationPenaltyAndReturnCollateral() + + // Destroy the Allocation + cache.K.DestroyAllocation(cache.Ctx, cache.GetAllocationId()) + + // Decrease the Load on the Provider + cache.GetProvider().AgreementLoadDecrease(cache.GetCapacity()) + + // Destroy the Agreement + cache.K.RemoveAgreementExpirationIndex(cache.Ctx, cache.GetEndBlock(), cache.GetAgreementId()) + cache.K.RemoveAgreement(cache.Ctx, cache.GetAgreement()) + + return nil + +} + +func (cache *AgreementCache) PrematureCloseByAllocation() (error){ + cache.PayoutProviderCancellationPenalty() + cache.ReturnRemainingCollateral() + + // Decrease the Load on the Provider + cache.GetProvider().AgreementLoadDecrease(cache.GetCapacity()) + cache.GetProvider().Commit() + + // Destroy the Agreement + cache.K.RemoveAgreementExpirationIndex(cache.Ctx, cache.GetEndBlock(), cache.GetAgreementId()) + cache.K.RemoveAgreement(cache.Ctx, cache.GetAgreement()) + + return nil + +} + + +func (cache *AgreementCache) Expire() (error){ + cache.PayoutVoidedProviderCancellationPenalty() + + // Decrease the Load on the Provider + cache.GetProvider().AgreementLoadDecrease(cache.GetCapacity()) + + // Destroy the Allocation + cache.K.DestroyAllocation(cache.Ctx, cache.GetAllocationId()) + + // Destroy the Agreement + cache.K.RemoveAgreementExpirationIndex(cache.Ctx, cache.GetEndBlock(), cache.GetAgreementId()) + cache.K.RemoveAgreement(cache.Ctx, cache.GetAgreement()) + + return nil + +} + +/* Setters - SET DOES NOT COMMIT() + */ + +func (cache *AgreementCache) ResetStartBlock() { + uctx := sdk.UnwrapSDKContext(cache.Ctx) + startBlock := uint64(uctx.BlockHeight()) + cache.SetStartBlock(startBlock) +} + + +func (cache *AgreementCache) SetStartBlock(startBlock uint64) { + if !cache.AgreementLoaded { + cache.LoadAgreement() + } + cache.Agreement.StartBlock = startBlock + + cache.DurationLoaded = false + cache.DurationPastLoaded = false + cache.DurationRemainingLoaded = false + + + cache.Changed() +} + +func (cache *AgreementCache) SetEndBlock(endBlock uint64) { + if !cache.AgreementLoaded { + cache.LoadAgreement() + } + + cache.PreviousEndBlock = cache.Agreement.EndBlock + cache.Agreement.EndBlock = endBlock + cache.EndBlockChanged = true + + cache.DurationLoaded = false + cache.DurationPastLoaded = false + cache.DurationRemainingLoaded = false + + cache.Changed() +} + +func (cache *AgreementCache) CapacityIncrease(amount uint64) (error){ + if cache.GetProvider().GetSubstation().GetAvailableCapacity() < amount { + return sdkerrors.Wrapf(types.ErrGridMalfunction, "Substation (%s) cannot afford the increase", cache.GetProvider().GetSubstationId()) + } + + cache.PayoutVoidedProviderCancellationPenalty() + + // new duration length + // remaining duration = end block - current block + // new duration = (remaining duration * old capacity) / new capacity .Truncate() + newCapacity := cache.GetCapacity() + amount + newDuration := (cache.GetDurationRemaining() * cache.GetCapacity()) / newCapacity + + cache.SetStartBlock(cache.GetCurrentBlock()) + cache.SetEndBlock(cache.GetStartBlock() + newDuration) + + // Provider Load Increase + cache.GetProvider().AgreementLoadIncrease(amount) + + cache.Agreement.Capacity = cache.GetCapacity() + amount + + // Increase the Allocation + allocation, allocationFound := cache.K.GetAllocation(cache.Ctx, cache.GetAllocationId()) + if allocationFound { + // TODO error handling + cache.K.SetAllocation(cache.Ctx, allocation, cache.GetCapacity()) + } + + cache.Changed() + + return nil +} + + +func (cache *AgreementCache) CapacityDecrease(amount uint64) (error){ + cache.PayoutVoidedProviderCancellationPenalty() + + // new duration length + // remaining duration = end block - current block + // new duration = (remaining duration * old capacity) / new capacity .Truncate() + if cache.GetCapacity() < amount { + return sdkerrors.Wrapf(types.ErrGridMalfunction, "Cannot decrease passed zero") + } + newCapacity := cache.GetCapacity() - amount + + newDuration := (cache.GetDurationRemaining() * cache.GetCapacity()) / newCapacity + + cache.SetStartBlock(cache.GetCurrentBlock() ) + cache.SetEndBlock(cache.GetStartBlock() + newDuration) + + // Provider Load Increase + cache.GetProvider().AgreementLoadDecrease(amount) + + cache.Agreement.Capacity = cache.GetCapacity() - amount + + // Decrease the Allocation + allocation, allocationFound := cache.K.GetAllocation(cache.Ctx, cache.GetAllocationId()) + if allocationFound { + // TODO error handling + cache.K.SetAllocation(cache.Ctx, allocation, cache.GetCapacity()) + } + + cache.Changed() + + return nil +} + + +func (cache *AgreementCache) DurationIncrease(amount uint64) (error){ + + newDuration := (cache.GetEndBlock() - cache.GetStartBlock()) + amount + verifyError := cache.GetProvider().AgreementVerify(newDuration, cache.GetCapacity()) + if verifyError != nil { + return verifyError + } + + cache.SetEndBlock(cache.GetEndBlock() + amount) + cache.Changed() + + return nil +} diff --git a/x/structs/keeper/agreement_index.go b/x/structs/keeper/agreement_index.go new file mode 100644 index 00000000..d857940e --- /dev/null +++ b/x/structs/keeper/agreement_index.go @@ -0,0 +1,125 @@ +package keeper + +import ( + "encoding/binary" + "context" + + "github.com/cosmos/cosmos-sdk/runtime" + "cosmossdk.io/store/prefix" + storetypes "cosmossdk.io/store/types" + + "structs/x/structs/types" + "strconv" + "fmt" + +) + +func AgreementProviderKeyPrefix(providerId string) []byte { + return []byte(types.AgreementProviderKey + providerId + "/") +} + +func AgreementExpirationKeyPrefix(block uint64) []byte { + return []byte(types.AgreementExpirationKey + strconv.FormatUint(block, 10) + "/") +} + +func (k Keeper) SetAgreementProviderIndex(ctx context.Context, providerId string, agreementId string) (err error) { + providerIndexStore := prefix.NewStore(runtime.KVStoreAdapter(k.storeService.OpenKVStore(ctx)), AgreementProviderKeyPrefix(providerId)) + + bz := make([]byte, 8) + binary.BigEndian.PutUint64(bz, 1) + + providerIndexStore.Set([]byte(agreementId), bz) + + return err +} + +func (k Keeper) RemoveAgreementProviderIndex(ctx context.Context, providerId string, agreementId string) (err error) { + providerIndexStore := prefix.NewStore(runtime.KVStoreAdapter(k.storeService.OpenKVStore(ctx)), AgreementProviderKeyPrefix(providerId)) + providerIndexStore.Delete([]byte(agreementId)) + + return err +} + + +func (k Keeper) GetAllAgreementIdByProviderIndex(ctx context.Context, providerId string) (list []string) { + providerIndexStore := prefix.NewStore(runtime.KVStoreAdapter(k.storeService.OpenKVStore(ctx)), AgreementProviderKeyPrefix(providerId)) + iterator := storetypes.KVStorePrefixIterator(providerIndexStore, []byte{}) + + defer iterator.Close() + + for ; iterator.Valid(); iterator.Next() { + list = append(list, string(iterator.Key())) + } + + return +} + +func (k Keeper) GetAllAgreementByProviderIndex(ctx context.Context, providerId string) (list []types.Agreement) { + providerIndexStore := prefix.NewStore(runtime.KVStoreAdapter(k.storeService.OpenKVStore(ctx)), AgreementProviderKeyPrefix(providerId)) + iterator := storetypes.KVStorePrefixIterator(providerIndexStore, []byte{}) + + defer iterator.Close() + + for ; iterator.Valid(); iterator.Next() { + val, found := k.GetAgreement(ctx, string(iterator.Key())) + if found { + list = append(list, val) + } + } + return +} + + + +func (k Keeper) SetAgreementExpirationIndex(ctx context.Context, block uint64, agreementId string) (err error) { + providerIndexStore := prefix.NewStore(runtime.KVStoreAdapter(k.storeService.OpenKVStore(ctx)), AgreementExpirationKeyPrefix(block)) + + fmt.Printf("New Agreement %s will expire on %d \n", agreementId, block) + + bz := make([]byte, 8) + binary.BigEndian.PutUint64(bz, 1) + + providerIndexStore.Set([]byte(agreementId), bz) + + return err +} + +func (k Keeper) RemoveAgreementExpirationIndex(ctx context.Context, block uint64, agreementId string) (err error) { + providerIndexStore := prefix.NewStore(runtime.KVStoreAdapter(k.storeService.OpenKVStore(ctx)), AgreementExpirationKeyPrefix(block)) + providerIndexStore.Delete([]byte(agreementId)) + + return err +} + + +func (k Keeper) GetAllAgreementIdByExpirationIndex(ctx context.Context, block uint64) (list []string) { + providerIndexStore := prefix.NewStore(runtime.KVStoreAdapter(k.storeService.OpenKVStore(ctx)), AgreementExpirationKeyPrefix(block)) + iterator := storetypes.KVStorePrefixIterator(providerIndexStore, []byte{}) + + defer iterator.Close() + + for ; iterator.Valid(); iterator.Next() { + list = append(list, string(iterator.Key())) + } + + return +} + +func (k Keeper) GetAllAgreementByExpirationIndex(ctx context.Context, block uint64) (list []types.Agreement) { + providerIndexStore := prefix.NewStore(runtime.KVStoreAdapter(k.storeService.OpenKVStore(ctx)), AgreementExpirationKeyPrefix(block)) + iterator := storetypes.KVStorePrefixIterator(providerIndexStore, []byte{}) + + defer iterator.Close() + + for ; iterator.Valid(); iterator.Next() { + val, found := k.GetAgreement(ctx, string(iterator.Key())) + if found { + list = append(list, val) + } + } + return +} + + + + diff --git a/x/structs/keeper/allocation.go b/x/structs/keeper/allocation.go index 504bcf9b..cf1ffbd2 100644 --- a/x/structs/keeper/allocation.go +++ b/x/structs/keeper/allocation.go @@ -22,7 +22,7 @@ func (k Keeper) AppendAllocation( ctx context.Context, allocation types.Allocation, power uint64, -) (allocationId string, finalPower uint64, err error) { +) (types.Allocation, uint64, error) { // Set the ID of the appended value allocation.Index = k.GetAllocationCount(ctx) @@ -37,7 +37,7 @@ func (k Keeper) AppendAllocation( // TODO - make a quicker lookup. This is going to get slow as allocation increase sourceAllocations := k.GetAllAllocationIdBySourceIndex(ctx, allocation.SourceObjectId) if (len(sourceAllocations) > 0) { - return allocation.Id, power, sdkerrors.Wrapf(types.ErrAllocationAppend, "Allocation Source (%s) cannot have an automated Allocation with other allocations in place", allocation.SourceObjectId) + return allocation, power, sdkerrors.Wrapf(types.ErrAllocationAppend, "Allocation Source (%s) cannot have an automated Allocation with other allocations in place", allocation.SourceObjectId) } // Update the Power definition to be the capacity of the source @@ -50,7 +50,7 @@ func (k Keeper) AppendAllocation( sourceLoad := k.GetGridAttribute(ctx, GetGridAttributeIDByObjectId(types.GridAttributeType_load, allocation.SourceObjectId)) availableCapacity := allocationSourceCapacity - sourceLoad if (availableCapacity < power) { - return allocation.Id, power, sdkerrors.Wrapf(types.ErrAllocationAppend, "Allocation Source (%s) does not have the capacity (%d) for the power (%d) defined in this allocation", allocation.SourceObjectId, availableCapacity, power) + return allocation, power, sdkerrors.Wrapf(types.ErrAllocationAppend, "Allocation Source (%s) does not have the capacity (%d) for the power (%d) defined in this allocation", allocation.SourceObjectId, availableCapacity, power) } } @@ -86,7 +86,7 @@ func (k Keeper) AppendAllocation( ctxSDK := sdk.UnwrapSDKContext(ctx) _ = ctxSDK.EventManager().EmitTypedEvent(&types.EventAllocation{Allocation: &allocation}) - return allocation.Id, power, nil + return allocation, power, nil } func (k Keeper) SetAllocationOnly(ctx context.Context, allocation types.Allocation) (types.Allocation, error){ @@ -280,6 +280,12 @@ func (k Keeper) DestroyAllocation(ctx context.Context, allocationId string) (des k.RemoveAllocationSourceIndex(ctx, allocation.SourceObjectId, allocation.Id) k.RemoveAllocationDestinationIndex(ctx, allocation.DestinationId, allocation.Id) + // Check for a related Agreement and close it + agreement := k.GetAgreementCacheFromId(ctx, GetObjectID(types.ObjectType_agreement, allocation.Index)) + if agreement.LoadAgreement() { + agreement.PrematureCloseByAllocation() + } + destroyed = true } else { destroyed = false diff --git a/x/structs/keeper/fleet_cache.go b/x/structs/keeper/fleet_cache.go index 902c0d60..9b61c859 100644 --- a/x/structs/keeper/fleet_cache.go +++ b/x/structs/keeper/fleet_cache.go @@ -370,6 +370,17 @@ func (cache *FleetCache) BuildInitiateReadiness(structure *types.Struct, structT sdkerrors.Wrapf(types.ErrStructAction, "Structs cannot be built unless Fleet is On Station") } + + if structType.Type != types.CommandStruct { + if !cache.HasCommandStruct() { + return sdkerrors.Wrapf(types.ErrGridMalfunction, "Fleet (%s) needs a Command Struct before deploy", cache.GetFleetId()) + } + + if cache.GetCommandStruct().IsOffline() { + return sdkerrors.Wrapf(types.ErrGridMalfunction, "Fleet (%s) needs an Online Command Struct before deploy", cache.GetFleetId()) + } + } + if (structType.Category != types.ObjectType_fleet) { sdkerrors.Wrapf(types.ErrStructAction, "Struct Type cannot exist in this location ") } diff --git a/x/structs/keeper/grid.go b/x/structs/keeper/grid.go index 3770dd15..530fba7f 100644 --- a/x/structs/keeper/grid.go +++ b/x/structs/keeper/grid.go @@ -223,5 +223,6 @@ func (k Keeper) GetGridAttributesByObject(ctx context.Context, objectId string) LastAction: k.GetGridAttribute(ctx, GetGridAttributeIDByObjectId(types.GridAttributeType_lastAction, objectId)), Nonce: k.GetGridAttribute(ctx, GetGridAttributeIDByObjectId(types.GridAttributeType_nonce, objectId)), Ready: k.GetGridAttribute(ctx, GetGridAttributeIDByObjectId(types.GridAttributeType_ready, objectId)), + CheckpointBlock: k.GetGridAttribute(ctx, GetGridAttributeIDByObjectId(types.GridAttributeType_checkpointBlock, objectId)), } } \ No newline at end of file diff --git a/x/structs/keeper/grid_cache.go b/x/structs/keeper/grid_cache.go new file mode 100644 index 00000000..cc0294ca --- /dev/null +++ b/x/structs/keeper/grid_cache.go @@ -0,0 +1,251 @@ +package keeper + +import ( + "context" + + //sdk "github.com/cosmos/cosmos-sdk/types" + //sdkerrors "cosmossdk.io/errors" + "structs/x/structs/types" + + "fmt" + +) + + +type GridCache struct { + ObjectId string + K *Keeper + Ctx context.Context + + AnyChange bool + + OreAttributeId string + OreLoaded bool + OreChanged bool + Ore uint64 + + FuelAttributeId string + FuelLoaded bool + FuelChanged bool + Fuel uint64 + + CapacityAttributeId string + CapacityLoaded bool + CapacityChanged bool + Capacity uint64 + + LoadAttributeId string + LoadLoaded bool + LoadChanged bool + Load uint64 + + StructsLoadAttributeId string + StructsLoadLoaded bool + StructsLoadChanged bool + StructsLoad uint64 + + PowerAttributeId string + PowerLoaded bool + PowerChanged bool + Power uint64 + + ConnectionCapacityAttributeId string + ConnectionCapacityLoaded bool + ConnectionCapacityChanged bool + ConnectionCapacity uint64 + + ConnectionCountAttributeId string + ConnectionCountLoaded bool + ConnectionCountChanged bool + ConnectionCount uint64 + + ReadyAttributeId string + ReadyLoaded bool + ReadyChanged bool + Ready uint64 + +} + +// Build this initial Grid Cache object +// This does no validation on the provided gridId +func (k *Keeper) GetGridCacheFromId(ctx context.Context, objectId string) (GridCache) { + return GridCache{ + ObjectId: objectId, + K: k, + Ctx: ctx, + + AnyChange: false, + + OreAttributeId: GetGridAttributeIDByObjectId(types.GridAttributeType_ore, objectId), + OreLoaded: false, + OreChanged: false, + + FuelAttributeId: GetGridAttributeIDByObjectId(types.GridAttributeType_fuel, objectId), + FuelLoaded: false, + FuelChanged: false, + + CapacityAttributeId: GetGridAttributeIDByObjectId(types.GridAttributeType_capacity, objectId), + CapacityLoaded: false, + CapacityChanged: false, + + LoadAttributeId: GetGridAttributeIDByObjectId(types.GridAttributeType_load, objectId), + LoadLoaded: false, + LoadChanged: false, + + StructsLoadAttributeId: GetGridAttributeIDByObjectId(types.GridAttributeType_structsLoad, objectId), + StructsLoadLoaded: false, + StructsLoadChanged: false, + + PowerAttributeId: GetGridAttributeIDByObjectId(types.GridAttributeType_power, objectId), + PowerLoaded: false, + PowerChanged: false, + + ConnectionCapacityAttributeId: GetGridAttributeIDByObjectId(types.GridAttributeType_connectionCapacity, objectId), + ConnectionCapacityLoaded: false, + ConnectionCapacityChanged: false, + + ConnectionCountAttributeId: GetGridAttributeIDByObjectId(types.GridAttributeType_connectionCount, objectId), + ConnectionCountLoaded: false, + ConnectionCountChanged: false, + + ReadyAttributeId: GetGridAttributeIDByObjectId(types.GridAttributeType_ready, objectId), + ReadyLoaded: false, + ReadyChanged: false, + + } +} + + + +func (cache *GridCache) Commit() () { + cache.AnyChange = false + + fmt.Printf("\n Updating Grid From Cache (%s) \n", cache.ObjectId) + + if (cache.OreChanged) { + cache.K.SetGridAttribute(cache.Ctx, cache.OreAttributeId, cache.Ore) + cache.OreChanged = false + } + + if (cache.FuelChanged) { + cache.K.SetGridAttribute(cache.Ctx, cache.FuelAttributeId, cache.Fuel) + cache.FuelChanged = false + } + + if (cache.CapacityChanged) { + cache.K.SetGridAttribute(cache.Ctx, cache.CapacityAttributeId, cache.Capacity) + cache.CapacityChanged = false + } + + if (cache.LoadChanged) { + cache.K.SetGridAttribute(cache.Ctx, cache.LoadAttributeId, cache.Load) + cache.LoadChanged = false + } + + if (cache.StructsLoadChanged) { + cache.K.SetGridAttribute(cache.Ctx, cache.StructsLoadAttributeId, cache.StructsLoad) + cache.StructsLoadChanged = false + } + + if (cache.PowerChanged) { + cache.K.SetGridAttribute(cache.Ctx, cache.PowerAttributeId, cache.Power) + cache.PowerChanged = false + } + + if (cache.ConnectionCapacityChanged) { + cache.K.SetGridAttribute(cache.Ctx, cache.ConnectionCapacityAttributeId, cache.ConnectionCapacity) + cache.ConnectionCapacityChanged = false + } + + if (cache.ConnectionCountChanged) { + cache.K.SetGridAttribute(cache.Ctx, cache.ConnectionCountAttributeId, cache.ConnectionCount) + cache.ConnectionCountChanged = false + } + + if (cache.ReadyChanged) { + cache.K.SetGridAttribute(cache.Ctx, cache.ReadyAttributeId, cache.Ready) + cache.ReadyChanged = false + } + +} + +func (cache *GridCache) IsChanged() bool { + return cache.AnyChange +} + +func (cache *GridCache) Changed() { + cache.AnyChange = true +} + +/* Separate Loading functions for each of the underlying containers */ + +func (cache *GridCache) LoadOre() { + cache.Ore = cache.K.GetGridAttribute(cache.Ctx, cache.OreAttributeId) + cache.OreLoaded = true +} + +func (cache *GridCache) LoadFuel() { + cache.Fuel = cache.K.GetGridAttribute(cache.Ctx, cache.FuelAttributeId) + cache.FuelLoaded = true +} + +func (cache *GridCache) LoadCapacity() { + cache.Capacity = cache.K.GetGridAttribute(cache.Ctx, cache.CapacityAttributeId) + cache.CapacityLoaded = true +} + +func (cache *GridCache) LoadLoad() { + cache.Load = cache.K.GetGridAttribute(cache.Ctx, cache.LoadAttributeId) + cache.LoadLoaded = true +} + +func (cache *GridCache) LoadStructsLoad() { + cache.StructsLoad = cache.K.GetGridAttribute(cache.Ctx, cache.StructsLoadAttributeId) + cache.StructsLoadLoaded = true +} + +func (cache *GridCache) LoadPower() { + cache.Power = cache.K.GetGridAttribute(cache.Ctx, cache.PowerAttributeId) + cache.PowerLoaded = true +} + +func (cache *GridCache) LoadConnectionCapacity() { + cache.ConnectionCapacity = cache.K.GetGridAttribute(cache.Ctx, cache.ConnectionCapacityAttributeId) + cache.ConnectionCapacityLoaded = true +} + +func (cache *GridCache) LoadConnectionCount() { + cache.ConnectionCount = cache.K.GetGridAttribute(cache.Ctx, cache.ConnectionCountAttributeId) + cache.ConnectionCountLoaded = true +} + +func (cache *GridCache) LoadReady() { + cache.Ready = cache.K.GetGridAttribute(cache.Ctx, cache.ReadyAttributeId) + cache.ReadyLoaded = true +} + + +/* Getters + * These will always perform a Load first on the appropriate data if it hasn't occurred yet. + */ + +func (cache *GridCache) GetObjectId() (string) { return cache.ObjectId } + +func (cache *GridCache) GetOre() (uint64) { if (!cache.OreLoaded) { cache.LoadOre() }; return cache.Ore } +func (cache *GridCache) GetFuel() (uint64) { if (!cache.FuelLoaded) { cache.LoadFuel() }; return cache.Fuel } +func (cache *GridCache) GetCapacity() (uint64) { if (!cache.CapacityLoaded) { cache.LoadCapacity() }; return cache.Capacity } +func (cache *GridCache) GetLoad() (uint64) { if (!cache.LoadLoaded) { cache.LoadLoad() }; return cache.Load } +func (cache *GridCache) GetStructsLoad() (uint64) { if (!cache.StructsLoadLoaded) { cache.LoadStructsLoad() }; return cache.StructsLoad } +func (cache *GridCache) GetPower() (uint64) { if (!cache.PowerLoaded) { cache.LoadPower() }; return cache.Power } + +func (cache *GridCache) GetConnectionCapacity() (uint64) { if (!cache.ConnectionCapacityLoaded) { cache.LoadConnectionCapacity() }; return cache.ConnectionCapacity } +func (cache *GridCache) GetConnectionCount() (uint64) { if (!cache.ConnectionCountLoaded) { cache.LoadConnectionCount() }; return cache.ConnectionCount } + +func (cache *GridCache) GetReady() (uint64) { if (!cache.ReadyLoaded) { cache.LoadReady() }; return cache.Ready } + +/* Setters - SET DOES NOT COMMIT() + * These will always perform a Load first on the appropriate data if it hasn't occurred yet. + */ + + + diff --git a/x/structs/keeper/guild.go b/x/structs/keeper/guild.go index 5eebf9a1..b7251bc2 100644 --- a/x/structs/keeper/guild.go +++ b/x/structs/keeper/guild.go @@ -11,8 +11,11 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "structs/x/structs/types" + banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" + authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" //"strconv" //"strings" + "fmt" ) // GetGuildCount get the total number of guild @@ -72,6 +75,28 @@ func (k Keeper) AppendGuild( permissionId := GetObjectPermissionIDBytes(guild.Id, player.Id) k.PermissionAdd(ctx, permissionId, types.PermissionAll) + // Setup the Guild Token + guildDenomMetadata := banktypes.Metadata{ + Name: "guild." + guild.Id, + Symbol: "guild." + guild.Id, + Description: "The currency of Guild " + guild.Id, + DenomUnits: []*banktypes.DenomUnit{ + {"uguild." + guild.Id, uint32(0), nil}, + {"guild." + guild.Id, uint32(6), nil}, + }, + Base: "uguild." + guild.Id, + Display: "uguild." + guild.Id, + } + + k.bankKeeper.SetDenomMetaData(ctx, guildDenomMetadata) + + fmt.Printf("Guild Collateral Pool: %s", types.GuildBankCollateralPool + guild.Id) + fmt.Printf("Guild Collateral Pool: %s", authtypes.NewModuleAddress(types.GuildBankCollateralPool + guild.Id)) + + guildCollateralAddress := authtypes.NewModuleAddress(types.GuildBankCollateralPool + guild.Id) + guildCollateralAccount := k.accountKeeper.NewAccountWithAddress(ctx, guildCollateralAddress) + k.accountKeeper.SetAccount(ctx, guildCollateralAccount) + ctxSDK := sdk.UnwrapSDKContext(ctx) _ = ctxSDK.EventManager().EmitTypedEvent(&types.EventGuild{Guild: &guild}) diff --git a/x/structs/keeper/guild_cache.go b/x/structs/keeper/guild_cache.go new file mode 100644 index 00000000..c5c2abba --- /dev/null +++ b/x/structs/keeper/guild_cache.go @@ -0,0 +1,291 @@ +package keeper + +import ( + "context" + + "structs/x/structs/types" + sdk "github.com/cosmos/cosmos-sdk/types" + sdkerrors "cosmossdk.io/errors" + + // Used in Randomness Orb + + "fmt" + "cosmossdk.io/math" + authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" +) + +/* + +message Guild { + string id = 1; + uint64 index = 2; + + string endpoint = 3; + + string creator = 4; + string owner = 5; + + uint64 joinInfusionMinimum = 6; + guildJoinBypassLevel joinInfusionMinimumBypassByRequest = 7 [(amino.dont_omitempty) = true]; + guildJoinBypassLevel joinInfusionMinimumBypassByInvite = 8 [(amino.dont_omitempty) = true]; + + string primaryReactorId = 9; + string entrySubstationId = 10; +*/ + +type GuildCache struct { + GuildId string + K *Keeper + Ctx context.Context + + AnyChange bool + Ready bool + + GuildLoaded bool + GuildChanged bool + Guild types.Guild + + OwnerLoaded bool + Owner *PlayerCache + + SubstationLoaded bool + Substation *SubstationCache +} + +// Build this initial Guild Cache object +func (k *Keeper) GetGuildCacheFromId(ctx context.Context, guildId string) GuildCache { + return GuildCache{ + GuildId: guildId, + K: k, + Ctx: ctx, + + AnyChange: false, + + OwnerLoaded: false, + + GuildLoaded: false, + GuildChanged: false, + + } +} + +func (cache *GuildCache) Commit() { + cache.AnyChange = false + + fmt.Printf("\n Updating Guild From Cache (%s) \n", cache.GuildId) + + if cache.GuildChanged { + cache.K.SetGuild(cache.Ctx, cache.Guild) + cache.GuildChanged = false + } + + if cache.Substation != nil && cache.GetSubstation().IsChanged() { + cache.GetSubstation().Commit() + } + + if cache.Owner != nil && cache.GetOwner().IsChanged() { + cache.GetOwner().Commit() + } + + +} + +func (cache *GuildCache) IsChanged() bool { + return cache.AnyChange +} + +func (cache *GuildCache) Changed() { + cache.AnyChange = true +} + +/* Separate Loading functions for each of the underlying containers */ + +// Load the Player data +func (cache *GuildCache) LoadOwner() bool { + newOwner, _ := cache.K.GetPlayerCacheFromId(cache.Ctx, cache.GetOwnerId()) + cache.Owner = &newOwner + cache.OwnerLoaded = true + return cache.OwnerLoaded +} + +func (cache *GuildCache) ManualLoadOwner(owner *PlayerCache) { + cache.Owner = owner + cache.OwnerLoaded = true +} + +// Load the Guild record +func (cache *GuildCache) LoadGuild() (bool) { + guild, guildFound := cache.K.GetGuild(cache.Ctx, cache.GuildId) + + if guildFound { + cache.Guild = guild + cache.GuildLoaded = true + } + + return cache.GuildLoaded +} + +// Load the Substation data +func (cache *GuildCache) LoadSubstation() bool { + newSubstation := cache.K.GetSubstationCacheFromId(cache.Ctx, cache.GetEntrySubstationId()) + cache.Substation = &newSubstation + cache.SubstationLoaded = true + return cache.SubstationLoaded +} + + + +/* Getters + * These will always perform a Load first on the appropriate data if it hasn't occurred yet. + */ +func (cache *GuildCache) GetGuild() types.Guild { if !cache.GuildLoaded { cache.LoadGuild() }; return cache.Guild } +func (cache *GuildCache) GetGuildId() string { return cache.GuildId } + +// Get the Owner data +func (cache *GuildCache) GetOwnerId() string { if !cache.GuildLoaded { cache.LoadGuild() }; return cache.Guild.Owner } +func (cache *GuildCache) GetOwner() *PlayerCache { if !cache.OwnerLoaded { cache.LoadOwner() }; return cache.Owner } + +func (cache *GuildCache) GetEntrySubstationId() string { if !cache.GuildLoaded { cache.LoadGuild() }; return cache.Guild.EntrySubstationId } +func (cache *GuildCache) GetSubstation() *SubstationCache {if !cache.SubstationLoaded { cache.LoadSubstation() }; return cache.Substation } + +func (cache *GuildCache) GetCreator() string { if !cache.GuildLoaded { cache.LoadGuild() }; return cache.Guild.Creator } + +func (cache *GuildCache) GetBankCollateralPool() sdk.AccAddress { return authtypes.NewModuleAddress(types.GuildBankCollateralPool + cache.GetGuildId()) } +func (cache *GuildCache) GetBankDenom() string { return "uguild." + cache.GetGuildId() } + + +/* Permissions */ + +// Delete Permission +func (cache *GuildCache) CanDelete(activePlayer *PlayerCache) (error) { + return cache.PermissionCheck(types.PermissionDelete, activePlayer) +} + +// Update Permission +func (cache *GuildCache) CanUpdate(activePlayer *PlayerCache) (error) { + return cache.PermissionCheck(types.PermissionUpdate, activePlayer) +} + +// Assets Permission +func (cache *GuildCache) CanAdministrateBank(activePlayer *PlayerCache) (error) { + return cache.PermissionCheck(types.PermissionAssets, activePlayer) +} + + +func (cache *GuildCache) PermissionCheck(permission types.Permission, activePlayer *PlayerCache) (error) { + // Make sure the address calling this has permissions + if (!cache.K.PermissionHasOneOf(cache.Ctx, GetAddressPermissionIDBytes(activePlayer.GetActiveAddress()), permission)) { + return sdkerrors.Wrapf(types.ErrPermission, "Calling address (%s) has no (%d) permissions ", activePlayer.GetActiveAddress(), permission) + } + + if !activePlayer.HasPlayerAccount() { + return sdkerrors.Wrapf(types.ErrPermission, "Calling address (%s) has no Account", activePlayer.GetActiveAddress()) + } else { + if (activePlayer.GetPlayerId() != cache.GetOwnerId()) { + if (!cache.K.PermissionHasOneOf(cache.Ctx, GetObjectPermissionIDBytes(cache.GetGuildId(), activePlayer.GetPlayerId()), permission)) { + return sdkerrors.Wrapf(types.ErrPermission, "Calling account (%s) has no (%d) permissions on target guild (%s)", activePlayer.GetPlayerId(), permission, cache.GetGuildId()) + } + } + } + return nil +} + + +/* Temporary Banking Infrastructure */ + +func (cache *GuildCache) BankMint(amountAlpha math.Int, amountToken math.Int, player *PlayerCache) (error) { + + alphaCollateralCoin := sdk.NewCoin("ualpha", amountAlpha) + alphaCollateralCoins := sdk.NewCoins(alphaCollateralCoin) + + + guildTokenCoin := sdk.NewCoin(cache.GetBankDenom(), amountToken) + guildTokenCoins := sdk.NewCoins(guildTokenCoin) + + // Try to Move Alpha From the Player to the Pool + if !cache.K.bankKeeper.HasBalance(cache.Ctx, player.GetPrimaryAccount(), alphaCollateralCoin) { + return sdkerrors.Wrapf(types.ErrGridMalfunction, "Player cannot afford the mint") + } + + errSend := cache.K.bankKeeper.SendCoins(cache.Ctx, player.GetPrimaryAccount(), cache.GetBankCollateralPool(), alphaCollateralCoins) + if errSend != nil { + return errSend + } + + // Mint new Guild Token + cache.K.bankKeeper.MintCoins(cache.Ctx, types.ModuleName, guildTokenCoins) + + // Move the new Guild Token to Player + cache.K.bankKeeper.SendCoinsFromModuleToAccount(cache.Ctx, types.ModuleName, player.GetPrimaryAccount(), guildTokenCoins) + + ctxSDK := sdk.UnwrapSDKContext(cache.Ctx) + _ = ctxSDK.EventManager().EmitTypedEvent(&types.EventGuildBankMint{&types.EventGuildBankMintDetail{GuildId: cache.GetGuildId(), AmountAlpha: amountAlpha.Uint64(), AmountToken: amountToken.Uint64(), PlayerId: player.GetPlayerId()}}) + + return nil +} + + +func (cache *GuildCache) BankRedeem(amountToken math.Int, player *PlayerCache) (error) { + + alphaCollateralBalance := cache.K.bankKeeper.SpendableCoin(cache.Ctx, cache.GetBankCollateralPool(), "ualpha") + guildTokenSupply := cache.K.bankKeeper.GetSupply(cache.Ctx, cache.GetBankDenom()) + + guildTokenCoin := sdk.NewCoin(cache.GetBankDenom(), amountToken) + guildTokenCoins := sdk.NewCoins(guildTokenCoin) + + // Try to Move Alpha From the Player to the Pool + if !cache.K.bankKeeper.HasBalance(cache.Ctx, player.GetPrimaryAccount(), guildTokenCoin) { + return sdkerrors.Wrapf(types.ErrGridMalfunction, "Player cannot afford the mint") + } + + // alphaAmount = amountToken / guildTokenSupply.Amount + amountTokenDec := math.LegacyNewDecFromInt(amountToken) + guildTokenSupplyDec := math.LegacyNewDecFromInt(guildTokenSupply.Amount) + alphaCollateralBalanceDec := math.LegacyNewDecFromInt(alphaCollateralBalance.Amount) + + alphaAmount := amountTokenDec.Quo(guildTokenSupplyDec).Mul(alphaCollateralBalanceDec).TruncateInt() + + + // Move the new coins back to the module + cache.K.bankKeeper.SendCoinsFromAccountToModule(cache.Ctx, player.GetPrimaryAccount(), types.ModuleName, guildTokenCoins) + // Burn the Guild Token + errBurn := cache.K.bankKeeper.BurnCoins(cache.Ctx, types.ModuleName, guildTokenCoins) + if errBurn != nil { + return errBurn + } + + // Move the Alpha to Player + alphaAmountCoin := sdk.NewCoin("ualpha", alphaAmount) + alphaAmountCoins := sdk.NewCoins(alphaAmountCoin) + cache.K.bankKeeper.SendCoins(cache.Ctx, cache.GetBankCollateralPool(), player.GetPrimaryAccount(), alphaAmountCoins) + + + ctxSDK := sdk.UnwrapSDKContext(cache.Ctx) + _ = ctxSDK.EventManager().EmitTypedEvent(&types.EventGuildBankRedeem{&types.EventGuildBankRedeemDetail{GuildId: cache.GetGuildId(), AmountAlpha: alphaAmount.Uint64(), AmountToken: amountToken.Uint64(), PlayerId: player.GetPlayerId()}}) + + return nil +} + + +func (cache *GuildCache) BankConfiscateAndBurn(amountToken math.Int, address string) (error) { + + guildTokenCoin := sdk.NewCoin(cache.GetBankDenom(), amountToken) + guildTokenCoins := sdk.NewCoins(guildTokenCoin) + + // Confiscate + playerAcc, _ := sdk.AccAddressFromBech32(address) + cache.K.bankKeeper.SendCoinsFromAccountToModule(cache.Ctx, playerAcc, types.ModuleName, guildTokenCoins) + + // Burn the Guild Token + errBurn := cache.K.bankKeeper.BurnCoins(cache.Ctx, types.ModuleName, guildTokenCoins) + if errBurn != nil { + return errBurn + } + + ctxSDK := sdk.UnwrapSDKContext(cache.Ctx) + _ = ctxSDK.EventManager().EmitTypedEvent(&types.EventGuildBankConfiscateAndBurn{&types.EventGuildBankConfiscateAndBurnDetail{GuildId: cache.GetGuildId(), AmountToken: amountToken.Uint64(), Address: address}}) + + return nil +} + + diff --git a/x/structs/keeper/msg_server_agreement_capacity_decrease.go b/x/structs/keeper/msg_server_agreement_capacity_decrease.go new file mode 100644 index 00000000..7d0dd078 --- /dev/null +++ b/x/structs/keeper/msg_server_agreement_capacity_decrease.go @@ -0,0 +1,36 @@ +package keeper + +import ( + "context" + sdk "github.com/cosmos/cosmos-sdk/types" + //sdkerrors "cosmossdk.io/errors" + "structs/x/structs/types" +) + +func (k msgServer) AgreementCapacityDecrease(goCtx context.Context, msg *types.MsgAgreementCapacityDecrease) (*types.MsgAgreementResponse, error) { + ctx := sdk.UnwrapSDKContext(goCtx) + + // Add an Active Address record to the + // indexer for UI requirements + k.AddressEmitActivity(ctx, msg.Creator) + activePlayer, _ := k.GetPlayerCacheFromAddress(ctx, msg.Creator) + + agreement := k.GetAgreementCacheFromId(ctx, msg.AgreementId) + + permissionError := agreement.CanUpdate(&activePlayer) + if (permissionError != nil) { + return &types.MsgAgreementResponse{}, permissionError + } + + // Checkpoint + agreement.GetProvider().Checkpoint() + + // Decrease capacity + // Decrease provider load + // which increases duration + agreement.CapacityDecrease(msg.CapacityDecrease) + + agreement.Commit() + + return &types.MsgAgreementResponse{}, nil +} diff --git a/x/structs/keeper/msg_server_agreement_capacity_increase.go b/x/structs/keeper/msg_server_agreement_capacity_increase.go new file mode 100644 index 00000000..159b1384 --- /dev/null +++ b/x/structs/keeper/msg_server_agreement_capacity_increase.go @@ -0,0 +1,36 @@ +package keeper + +import ( + "context" + sdk "github.com/cosmos/cosmos-sdk/types" + //sdkerrors "cosmossdk.io/errors" + "structs/x/structs/types" +) + +func (k msgServer) AgreementCapacityIncrease(goCtx context.Context, msg *types.MsgAgreementCapacityIncrease) (*types.MsgAgreementResponse, error) { + ctx := sdk.UnwrapSDKContext(goCtx) + + // Add an Active Address record to the + // indexer for UI requirements + k.AddressEmitActivity(ctx, msg.Creator) + activePlayer, _ := k.GetPlayerCacheFromAddress(ctx, msg.Creator) + + agreement := k.GetAgreementCacheFromId(ctx, msg.AgreementId) + + permissionError := agreement.CanUpdate(&activePlayer) + if (permissionError != nil) { + return &types.MsgAgreementResponse{}, permissionError + } + + // Checkpoint + agreement.GetProvider().Checkpoint() + + // increase capacity + // increase provider load + // which decreases duration + agreement.CapacityIncrease(msg.CapacityIncrease) + + agreement.Commit() + + return &types.MsgAgreementResponse{}, nil +} diff --git a/x/structs/keeper/msg_server_agreement_close.go b/x/structs/keeper/msg_server_agreement_close.go new file mode 100644 index 00000000..3f7b5059 --- /dev/null +++ b/x/structs/keeper/msg_server_agreement_close.go @@ -0,0 +1,33 @@ +package keeper + +import ( + "context" + sdk "github.com/cosmos/cosmos-sdk/types" + //sdkerrors "cosmossdk.io/errors" + "structs/x/structs/types" +) + +func (k msgServer) AgreementClose(goCtx context.Context, msg *types.MsgAgreementClose) (*types.MsgAgreementResponse, error) { + ctx := sdk.UnwrapSDKContext(goCtx) + + // Add an Active Address record to the + // indexer for UI requirements + k.AddressEmitActivity(ctx, msg.Creator) + activePlayer, _ := k.GetPlayerCacheFromAddress(ctx, msg.Creator) + + agreement := k.GetAgreementCacheFromId(ctx, msg.AgreementId) + + permissionError := agreement.CanUpdate(&activePlayer) + if (permissionError != nil) { + return &types.MsgAgreementResponse{}, permissionError + } + + // Checkpoint + agreement.GetProvider().Checkpoint() + errorParam := agreement.PrematureCloseByConsumer() + if (errorParam != nil) { + return &types.MsgAgreementResponse{}, errorParam + } + + return &types.MsgAgreementResponse{}, nil +} diff --git a/x/structs/keeper/msg_server_agreement_duration_increase.go b/x/structs/keeper/msg_server_agreement_duration_increase.go new file mode 100644 index 00000000..35ddef49 --- /dev/null +++ b/x/structs/keeper/msg_server_agreement_duration_increase.go @@ -0,0 +1,55 @@ +package keeper + +import ( + "context" + sdk "github.com/cosmos/cosmos-sdk/types" + sdkerrors "cosmossdk.io/errors" + "structs/x/structs/types" + "cosmossdk.io/math" +) + +func (k msgServer) AgreementDurationIncrease(goCtx context.Context, msg *types.MsgAgreementDurationIncrease) (*types.MsgAgreementResponse, error) { + ctx := sdk.UnwrapSDKContext(goCtx) + + // Add an Active Address record to the + // indexer for UI requirements + k.AddressEmitActivity(ctx, msg.Creator) + activePlayer, _ := k.GetPlayerCacheFromAddress(ctx, msg.Creator) + + agreement := k.GetAgreementCacheFromId(ctx, msg.AgreementId) + + permissionError := agreement.CanUpdate(&activePlayer) + if (permissionError != nil) { + return &types.MsgAgreementResponse{}, permissionError + } + + // increase duration by adding more collateral + paramError := agreement.DurationIncrease(msg.DurationIncrease) + if paramError != nil { + return &types.MsgAgreementResponse{}, paramError + } + + sourceAcc, errParam := sdk.AccAddressFromBech32(activePlayer.GetPrimaryAddress()) + if errParam != nil { + return &types.MsgAgreementResponse{}, errParam + } + + // Amount to be sent + collateralAmountCoin := sdk.NewCoin(agreement.GetProvider().GetRate().Denom, math.NewIntFromUint64(agreement.GetCapacity()).Mul(math.NewIntFromUint64(msg.DurationIncrease).Mul(agreement.GetProvider().GetRate().Amount))) + collateralAmountCoins := sdk.NewCoins(collateralAmountCoin) + + + if !k.bankKeeper.HasBalance(ctx, sourceAcc, collateralAmountCoin) { + return &types.MsgAgreementResponse{}, sdkerrors.Wrapf(types.ErrGridMalfunction, "Player cannot afford the agreement ") + } + + // move the funds from user to provider collateral pool + errSend := k.bankKeeper.SendCoins(ctx, sourceAcc, agreement.GetProvider().GetCollateralPoolLocation(), collateralAmountCoins) + if errSend != nil { + return &types.MsgAgreementResponse{}, errSend + } + + agreement.Commit() + + return &types.MsgAgreementResponse{}, nil +} diff --git a/x/structs/keeper/msg_server_agreement_open.go b/x/structs/keeper/msg_server_agreement_open.go new file mode 100644 index 00000000..4e19349e --- /dev/null +++ b/x/structs/keeper/msg_server_agreement_open.go @@ -0,0 +1,88 @@ +package keeper + +import ( + "context" + sdk "github.com/cosmos/cosmos-sdk/types" + sdkerrors "cosmossdk.io/errors" + "structs/x/structs/types" + "cosmossdk.io/math" +) + +/* +message MsgAgreementOpen { + option (cosmos.msg.v1.signer) = "creator"; + + string creator = 1; + string playerId = 2; + string providerId = 3; + uint64 duration = 4; + uint64 capacity = 5; +} +*/ + +func (k msgServer) AgreementOpen(goCtx context.Context, msg *types.MsgAgreementOpen) (*types.MsgAgreementResponse, error) { + ctx := sdk.UnwrapSDKContext(goCtx) + + // Add an Active Address record to the + // indexer for UI requirements + k.AddressEmitActivity(ctx, msg.Creator) + activePlayer, _ := k.GetPlayerCacheFromAddress(ctx, msg.Creator) + + provider := k.GetProviderCacheFromId(ctx, msg.ProviderId) + + permissionError := provider.CanOpenAgreement(&activePlayer) + if (permissionError != nil) { + return &types.MsgAgreementResponse{}, permissionError + } + + // Are agreement details valid? + // Does the substation have enough capacity? + paramError := provider.AgreementVerify(msg.Capacity, msg.Duration) + if (paramError != nil) { + return &types.MsgAgreementResponse{}, paramError + } + + // Does the activePlayer have enough for the collateral + duration := math.NewIntFromUint64(msg.Duration) + capacity := math.NewIntFromUint64(msg.Capacity) + collateralAmount := duration.Mul(capacity).Mul(provider.GetRate().Amount) + //balanceError := activePlayer.CanAffordAgreement(collateralAmount, provider.GetRate().Denom) + collateralAmountCoin := sdk.NewCoin(provider.GetRate().Denom, collateralAmount) + collateralAmountCoins := sdk.NewCoins(collateralAmountCoin) + sourceAcc, errParam := sdk.AccAddressFromBech32(activePlayer.GetPrimaryAddress()) + if errParam != nil { + return &types.MsgAgreementResponse{}, errParam + } + + if !k.bankKeeper.HasBalance(ctx, sourceAcc, collateralAmountCoin) { + return &types.MsgAgreementResponse{}, sdkerrors.Wrapf(types.ErrGridMalfunction, "Player cannot afford the agreement ") + } + + // move the funds from user to provider collateral pool + errSend := k.bankKeeper.SendCoins(ctx, sourceAcc, provider.GetCollateralPoolLocation(), collateralAmountCoins) + if errSend != nil { + return &types.MsgAgreementResponse{}, errSend + } + + // Create the allocation + allocation := types.CreateAllocationStub(types.AllocationType_providerAgreement, provider.GetSubstationId(), msg.Creator, activePlayer.GetPlayerId()) + allocation, _ , _ = k.AppendAllocation(ctx, allocation, msg.Capacity) + + // Build the Agreement range + startBlock := uint64(ctx.BlockHeight()) + uint64(1) + endBlock := startBlock + msg.Duration + + agreement := types.CreateBaseAgreement(msg.Creator, activePlayer.GetPlayerId(), msg.ProviderId, msg.Capacity, startBlock, endBlock, allocation.Id) + // Append the Agreement using the Allocations Id Index + agreement.Id = GetObjectID(types.ObjectType_agreement, allocation.Index) + k.AppendAgreement(ctx, agreement) + + checkpointError := provider.Checkpoint() + if checkpointError != nil { + return &types.MsgAgreementResponse{}, checkpointError + } + provider.AgreementLoadIncrease(msg.Capacity) + provider.Commit() + + return &types.MsgAgreementResponse{}, nil +} diff --git a/x/structs/keeper/msg_server_allocation_create.go b/x/structs/keeper/msg_server_allocation_create.go index 4c99b215..43b20666 100644 --- a/x/structs/keeper/msg_server_allocation_create.go +++ b/x/structs/keeper/msg_server_allocation_create.go @@ -44,10 +44,10 @@ func (k msgServer) AllocationCreate(goCtx context.Context, msg *types.MsgAllocat return &types.MsgAllocationCreateResponse{}, sdkerrors.Wrapf(types.ErrPermissionManageEnergy, "Calling address (%s) has no Energy Management permissions ", msg.Creator) } - allocationId, _ , err := k.AppendAllocation(ctx, allocation, msg.Power) + allocation, _ , err := k.AppendAllocation(ctx, allocation, msg.Power) return &types.MsgAllocationCreateResponse{ - AllocationId: allocationId, + AllocationId: allocation.Id, }, err } diff --git a/x/structs/keeper/msg_server_fleet_move.go b/x/structs/keeper/msg_server_fleet_move.go index c683c01a..cad33c0e 100644 --- a/x/structs/keeper/msg_server_fleet_move.go +++ b/x/structs/keeper/msg_server_fleet_move.go @@ -27,6 +27,10 @@ func (k msgServer) FleetMove(goCtx context.Context, msg *types.MsgFleetMove) (*t return &types.MsgFleetMoveResponse{}, permissionError } + if fleet.GetOwner().IsHalted() { + return &types.MsgFleetMoveResponse{}, sdkerrors.Wrapf(types.ErrPlayerHalted, "Cannot perform actions while Player (%s) is Halted", fleet.GetOwnerId()) + } + destination := k.GetPlanetCacheFromId(ctx, msg.DestinationLocationId) if (!destination.LoadPlanet()) { return &types.MsgFleetMoveResponse{}, sdkerrors.Wrapf(types.ErrGridMalfunction, "Planet (%s) wasn't found", msg.DestinationLocationId) diff --git a/x/structs/keeper/msg_server_guild_bank_confiscate_and_burn.go b/x/structs/keeper/msg_server_guild_bank_confiscate_and_burn.go new file mode 100644 index 00000000..2e9ea99e --- /dev/null +++ b/x/structs/keeper/msg_server_guild_bank_confiscate_and_burn.go @@ -0,0 +1,33 @@ +package keeper + +import ( + "context" + + sdk "github.com/cosmos/cosmos-sdk/types" + //sdkerrors "cosmossdk.io/errors" + "structs/x/structs/types" + "cosmossdk.io/math" + +) + +func (k msgServer) GuildBankConfiscateAndBurn(goCtx context.Context, msg *types.MsgGuildBankConfiscateAndBurn) (*types.MsgGuildBankConfiscateAndBurnResponse, error) { + ctx := sdk.UnwrapSDKContext(goCtx) + + // Add an Active Address record to the + // indexer for UI requirements + k.AddressEmitActivity(ctx, msg.Creator) + + activePlayer, _ := k.GetPlayerCacheFromAddress(ctx, msg.Creator) + + guild := k.GetGuildCacheFromId(ctx, activePlayer.GetGuildId()) + + permissionError := guild.CanAdministrateBank(&activePlayer) + if (permissionError != nil) { + return &types.MsgGuildBankConfiscateAndBurnResponse{}, permissionError + } + + amountTokenInt := math.NewIntFromUint64(msg.AmountToken) + err := guild.BankConfiscateAndBurn(amountTokenInt, msg.Address); + + return &types.MsgGuildBankConfiscateAndBurnResponse{}, err +} diff --git a/x/structs/keeper/msg_server_guild_bank_mint.go b/x/structs/keeper/msg_server_guild_bank_mint.go new file mode 100644 index 00000000..b0286c54 --- /dev/null +++ b/x/structs/keeper/msg_server_guild_bank_mint.go @@ -0,0 +1,34 @@ +package keeper + +import ( + "context" + + sdk "github.com/cosmos/cosmos-sdk/types" + //sdkerrors "cosmossdk.io/errors" + "structs/x/structs/types" + "cosmossdk.io/math" +) + +func (k msgServer) GuildBankMint(goCtx context.Context, msg *types.MsgGuildBankMint) (*types.MsgGuildBankMintResponse, error) { + ctx := sdk.UnwrapSDKContext(goCtx) + + // Add an Active Address record to the + // indexer for UI requirements + k.AddressEmitActivity(ctx, msg.Creator) + + activePlayer, _ := k.GetPlayerCacheFromAddress(ctx, msg.Creator) + + guild := k.GetGuildCacheFromId(ctx, activePlayer.GetGuildId()) + + permissionError := guild.CanAdministrateBank(&activePlayer) + if (permissionError != nil) { + return &types.MsgGuildBankMintResponse{}, permissionError + } + + amountAlphaInt := math.NewIntFromUint64(msg.AmountAlpha) + amountTokenInt := math.NewIntFromUint64(msg.AmountToken) + + err := guild.BankMint(amountAlphaInt, amountTokenInt, &activePlayer); + + return &types.MsgGuildBankMintResponse{}, err +} diff --git a/x/structs/keeper/msg_server_guild_bank_redeem.go b/x/structs/keeper/msg_server_guild_bank_redeem.go new file mode 100644 index 00000000..8410b547 --- /dev/null +++ b/x/structs/keeper/msg_server_guild_bank_redeem.go @@ -0,0 +1,37 @@ +package keeper + +import ( + "context" + + sdk "github.com/cosmos/cosmos-sdk/types" + sdkerrors "cosmossdk.io/errors" + "structs/x/structs/types" + "strings" + +) + +func (k msgServer) GuildBankRedeem(goCtx context.Context, msg *types.MsgGuildBankRedeem) (*types.MsgGuildBankRedeemResponse, error) { + ctx := sdk.UnwrapSDKContext(goCtx) + + // Add an Active Address record to the + // indexer for UI requirements + k.AddressEmitActivity(ctx, msg.Creator) + + activePlayer, lookupErr := k.GetPlayerCacheFromAddress(ctx, msg.Creator) + if lookupErr != nil { + return &types.MsgGuildBankRedeemResponse{}, sdkerrors.Wrapf(types.ErrObjectNotFound, "Player not found ") + } + + // TODO permission check on the address to look for Asset permissions + + guild := k.GetGuildCacheFromId(ctx, strings.Split(msg.AmountToken.Denom,".")[1]) + if !guild.LoadGuild() { + return &types.MsgGuildBankRedeemResponse{}, sdkerrors.Wrapf(types.ErrObjectNotFound, "Guild ID (%s) not found ", guild.GetGuildId()) + } + + err := guild.BankRedeem(msg.AmountToken.Amount, &activePlayer); + + + return &types.MsgGuildBankRedeemResponse{}, err +} + diff --git a/x/structs/keeper/msg_server_planet_explore.go b/x/structs/keeper/msg_server_planet_explore.go index 32113648..73f7913f 100644 --- a/x/structs/keeper/msg_server_planet_explore.go +++ b/x/structs/keeper/msg_server_planet_explore.go @@ -3,7 +3,7 @@ package keeper import ( "context" sdk "github.com/cosmos/cosmos-sdk/types" - //sdkerrors "cosmossdk.io/errors" + sdkerrors "cosmossdk.io/errors" "structs/x/structs/types" ) @@ -15,7 +15,7 @@ func (k msgServer) PlanetExplore(goCtx context.Context, msg *types.MsgPlanetExpl k.AddressEmitActivity(ctx, msg.Creator) // Load the Player record - player, playerLookupErr := k.GetPlayerCacheFromAddress(ctx, msg.Creator) + player, playerLookupErr := k.GetPlayerCacheFromId(ctx, msg.PlayerId) if (playerLookupErr != nil) { return &types.MsgPlanetExploreResponse{}, playerLookupErr } @@ -26,6 +26,10 @@ func (k msgServer) PlanetExplore(goCtx context.Context, msg *types.MsgPlanetExpl return &types.MsgPlanetExploreResponse{}, permissionError } + if player.IsHalted() { + return &types.MsgPlanetExploreResponse{}, sdkerrors.Wrapf(types.ErrPlayerHalted, "Cannot perform actions while Player (%s) is Halted", msg.PlayerId) + } + // Is the Player online? readinessError := player.ReadinessCheck() if (readinessError != nil) { diff --git a/x/structs/keeper/msg_server_planet_raid_complete.go b/x/structs/keeper/msg_server_planet_raid_complete.go index 4959164c..dab0fcc2 100644 --- a/x/structs/keeper/msg_server_planet_raid_complete.go +++ b/x/structs/keeper/msg_server_planet_raid_complete.go @@ -45,6 +45,10 @@ func (k msgServer) PlanetRaidComplete(goCtx context.Context, msg *types.MsgPlane return &types.MsgPlanetRaidCompleteResponse{}, permissionError } + if fleet.GetOwner().IsHalted() { + return &types.MsgPlanetRaidCompleteResponse{}, sdkerrors.Wrapf(types.ErrPlayerHalted, "Cannot perform actions while Player (%s) is Halted", fleet.GetOwnerId()) + } + // check that the fleet is Away if fleet.IsOnStation() { return &types.MsgPlanetRaidCompleteResponse{}, sdkerrors.Wrapf(types.ErrGridMalfunction, "Fleet cannot complete a Raid while On Station") @@ -67,6 +71,7 @@ func (k msgServer) PlanetRaidComplete(goCtx context.Context, msg *types.MsgPlane currentAge := uint64(ctx.BlockHeight()) - fleet.GetPlanet().GetBlockStartRaid() if (!types.HashBuildAndCheckDifficulty(hashInput, msg.Proof, currentAge, fleet.GetPlanet().GetPlanetaryShield())) { + fleet.GetOwner().Halt() _ = ctx.EventManager().EmitTypedEvent(&types.EventRaid{&types.EventRaidDetail{FleetId: fleet.GetFleetId(), PlanetId: raidedPlanet, Status: types.RaidStatus_ongoing}}) return &types.MsgPlanetRaidCompleteResponse{}, sdkerrors.Wrapf(types.ErrGridMalfunction, "Work failure for input (%s) when trying to complete a Raid on Planet %s", hashInput, fleet.GetPlanet().GetPlanetId()) } diff --git a/x/structs/keeper/msg_server_player_resume.go b/x/structs/keeper/msg_server_player_resume.go new file mode 100644 index 00000000..a29a6b64 --- /dev/null +++ b/x/structs/keeper/msg_server_player_resume.go @@ -0,0 +1,40 @@ +package keeper + +import ( + "context" + + sdk "github.com/cosmos/cosmos-sdk/types" + sdkerrors "cosmossdk.io/errors" + "structs/x/structs/types" + //"fmt" +) + +func (k msgServer) PlayerResume(goCtx context.Context, msg *types.MsgPlayerResume) (*types.MsgPlayerResumeResponse, error) { + ctx := sdk.UnwrapSDKContext(goCtx) + + // Add an Active Address record to the + // indexer for UI requirements + k.AddressEmitActivity(ctx, msg.Creator) + + // load player + player, playerLoadError := k.GetPlayerCacheFromId(ctx, msg.PlayerId) + if (playerLoadError != nil) { + return &types.MsgPlayerResumeResponse{}, playerLoadError + } + + // Check to see if the caller has permissions to proceed + permissionError := player.CanBeUpdatedBy(msg.Creator) + if (permissionError != nil) { + return &types.MsgPlayerResumeResponse{}, permissionError + } + + if (player.GetCharge() < types.PlayerResumeCharge) { + return &types.MsgPlayerResumeResponse{}, sdkerrors.Wrapf(types.ErrInsufficientCharge, "Resuming from Halt requires a charge of %d, but player (%s) only had %d", types.PlayerResumeCharge, msg.PlayerId , player.GetCharge()) + } + + player.Resume() + player.Discharge() + player.Commit() + + return &types.MsgPlayerResumeResponse{}, nil +} diff --git a/x/structs/keeper/msg_server_provider_create.go b/x/structs/keeper/msg_server_provider_create.go new file mode 100644 index 00000000..d278af0b --- /dev/null +++ b/x/structs/keeper/msg_server_provider_create.go @@ -0,0 +1,90 @@ +package keeper + +import ( + "context" + sdk "github.com/cosmos/cosmos-sdk/types" + //sdkerrors "cosmossdk.io/errors" + "structs/x/structs/types" +) + +/* + +message MsgProviderCreate { + option (cosmos.msg.v1.signer) = "creator"; + + string creator = 1; + string substationId = 2; + + cosmos.base.v1beta1.Coin rate = 3 [ (gogoproto.nullable) = false, (amino.dont_omitempty) = true, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; + + providerAccessPolicy accessPolicy = 4; + + string providerCancellationPenalty = 5 [ (cosmos_proto.scalar) = "cosmos.Dec", (gogoproto.customtype) = "cosmossdk.io/math.LegacyDec", (gogoproto.nullable) = false ]; + string consumerCancellationPenalty = 6 [(cosmos_proto.scalar) = "cosmos.Dec",(gogoproto.customtype) = "cosmossdk.io/math.LegacyDec", (gogoproto.nullable) = false ]; + + uint64 capacityMinimum = 7; + uint64 capacityMaximum = 8; + uint64 durationMinimum = 9; + uint64 durationMaximum = 10; +} +*/ + +func (k msgServer) ProviderCreate(goCtx context.Context, msg *types.MsgProviderCreate) (*types.MsgProviderResponse, error) { + ctx := sdk.UnwrapSDKContext(goCtx) + + // Add an Active Address record to the + // indexer for UI requirements + k.AddressEmitActivity(ctx, msg.Creator) + activePlayer, _ := k.GetPlayerCacheFromAddress(ctx, msg.Creator) + + substation := k.GetSubstationCacheFromId(ctx, msg.SubstationId) + + + permissionError := substation.CanCreateAllocations(&activePlayer) + if (permissionError != nil) { + return &types.MsgProviderResponse{}, permissionError + } + + // Create a Provider Object + provider := types.CreateBaseProvider(msg.Creator, activePlayer.GetPlayerId()) + + provider.SetSubstationId(msg.SubstationId) + + // TODO Check Denom exists + provider.SetRate(msg.Rate) + + // TODO Rate Denom whitelist? + + paramErr := provider.SetCapacityRange(msg.CapacityMinimum, msg.CapacityMaximum) + if paramErr != nil { + return &types.MsgProviderResponse{}, paramErr + } + + paramErr = provider.SetDurationRange(msg.DurationMinimum, msg.DurationMaximum ) + if paramErr != nil { + return &types.MsgProviderResponse{}, paramErr + } + + paramErr = provider.SetProviderCancellationPenalty(msg.ProviderCancellationPenalty) + if paramErr != nil { + return &types.MsgProviderResponse{}, paramErr + } + + paramErr = provider.SetConsumerCancellationPenalty(msg.ConsumerCancellationPenalty) + if paramErr != nil { + return &types.MsgProviderResponse{}, paramErr + } + + provider.SetAccessPolicy(msg.AccessPolicy) + + + // Provider Grid values are OK to leave uninitialized + // Unset Load is zero + // Unset CheckpointBlock is zero + + // Pass it to the Keeper + k.AppendProvider(ctx, provider) + + + return &types.MsgProviderResponse{}, nil +} diff --git a/x/structs/keeper/msg_server_provider_delete.go b/x/structs/keeper/msg_server_provider_delete.go new file mode 100644 index 00000000..77813fd2 --- /dev/null +++ b/x/structs/keeper/msg_server_provider_delete.go @@ -0,0 +1,31 @@ +package keeper + +import ( + "context" + sdk "github.com/cosmos/cosmos-sdk/types" + //sdkerrors "cosmossdk.io/errors" + "structs/x/structs/types" +) + +func (k msgServer) ProviderDelete(goCtx context.Context, msg *types.MsgProviderDelete) (*types.MsgProviderResponse, error) { + ctx := sdk.UnwrapSDKContext(goCtx) + + // Add an Active Address record to the + // indexer for UI requirements + k.AddressEmitActivity(ctx, msg.Creator) + activePlayer, _ := k.GetPlayerCacheFromAddress(ctx, msg.Creator) + + provider := k.GetProviderCacheFromId(ctx, msg.ProviderId) + + permissionError := provider.CanDelete(&activePlayer) + if (permissionError != nil) { + return &types.MsgProviderResponse{}, permissionError + } + + paramErr := provider.DeleteAndCommit() + if paramErr != nil { + return &types.MsgProviderResponse{}, paramErr + } + + return &types.MsgProviderResponse{}, nil +} diff --git a/x/structs/keeper/msg_server_provider_guild_grant.go b/x/structs/keeper/msg_server_provider_guild_grant.go new file mode 100644 index 00000000..ebb42c81 --- /dev/null +++ b/x/structs/keeper/msg_server_provider_guild_grant.go @@ -0,0 +1,31 @@ +package keeper + +import ( + "context" + sdk "github.com/cosmos/cosmos-sdk/types" + //sdkerrors "cosmossdk.io/errors" + "structs/x/structs/types" +) + +func (k msgServer) ProviderGuildGrant(goCtx context.Context, msg *types.MsgProviderGuildGrant) (*types.MsgProviderResponse, error) { + ctx := sdk.UnwrapSDKContext(goCtx) + + // Add an Active Address record to the + // indexer for UI requirements + k.AddressEmitActivity(ctx, msg.Creator) + activePlayer, _ := k.GetPlayerCacheFromAddress(ctx, msg.Creator) + + provider := k.GetProviderCacheFromId(ctx, msg.ProviderId) + + permissionError := provider.CanUpdate(&activePlayer) + if (permissionError != nil) { + return &types.MsgProviderResponse{}, permissionError + } + + paramErr := provider.GrantGuildsAndCommit(msg.GuildId) + if paramErr != nil { + return &types.MsgProviderResponse{}, paramErr + } + + return &types.MsgProviderResponse{}, nil +} diff --git a/x/structs/keeper/msg_server_provider_guild_revoke.go b/x/structs/keeper/msg_server_provider_guild_revoke.go new file mode 100644 index 00000000..cf922058 --- /dev/null +++ b/x/structs/keeper/msg_server_provider_guild_revoke.go @@ -0,0 +1,31 @@ +package keeper + +import ( + "context" + sdk "github.com/cosmos/cosmos-sdk/types" + //sdkerrors "cosmossdk.io/errors" + "structs/x/structs/types" +) + +func (k msgServer) ProviderGuildRevoke(goCtx context.Context, msg *types.MsgProviderGuildRevoke) (*types.MsgProviderResponse, error) { + ctx := sdk.UnwrapSDKContext(goCtx) + + // Add an Active Address record to the + // indexer for UI requirements + k.AddressEmitActivity(ctx, msg.Creator) + activePlayer, _ := k.GetPlayerCacheFromAddress(ctx, msg.Creator) + + provider := k.GetProviderCacheFromId(ctx, msg.ProviderId) + + permissionError := provider.CanUpdate(&activePlayer) + if (permissionError != nil) { + return &types.MsgProviderResponse{}, permissionError + } + + paramErr := provider.RevokeGuildsAndCommit(msg.GuildId) + if paramErr != nil { + return &types.MsgProviderResponse{}, paramErr + } + + return &types.MsgProviderResponse{}, nil +} diff --git a/x/structs/keeper/msg_server_provider_update_access_policy.go b/x/structs/keeper/msg_server_provider_update_access_policy.go new file mode 100644 index 00000000..5f304259 --- /dev/null +++ b/x/structs/keeper/msg_server_provider_update_access_policy.go @@ -0,0 +1,29 @@ +package keeper + +import ( + "context" + sdk "github.com/cosmos/cosmos-sdk/types" + //sdkerrors "cosmossdk.io/errors" + "structs/x/structs/types" +) + +func (k msgServer) ProviderUpdateAccessPolicy(goCtx context.Context, msg *types.MsgProviderUpdateAccessPolicy) (*types.MsgProviderResponse, error) { + ctx := sdk.UnwrapSDKContext(goCtx) + + // Add an Active Address record to the + // indexer for UI requirements + k.AddressEmitActivity(ctx, msg.Creator) + activePlayer, _ := k.GetPlayerCacheFromAddress(ctx, msg.Creator) + + provider := k.GetProviderCacheFromId(ctx, msg.ProviderId) + + permissionError := provider.CanUpdate(&activePlayer) + if (permissionError != nil) { + return &types.MsgProviderResponse{}, permissionError + } + + provider.SetAccessPolicy(msg.AccessPolicy) + provider.Commit() + + return &types.MsgProviderResponse{}, nil +} diff --git a/x/structs/keeper/msg_server_provider_update_capacity_maximum.go b/x/structs/keeper/msg_server_provider_update_capacity_maximum.go new file mode 100644 index 00000000..8576e7f2 --- /dev/null +++ b/x/structs/keeper/msg_server_provider_update_capacity_maximum.go @@ -0,0 +1,33 @@ +package keeper + +import ( + "context" + sdk "github.com/cosmos/cosmos-sdk/types" + //sdkerrors "cosmossdk.io/errors" + "structs/x/structs/types" +) + +func (k msgServer) ProviderUpdateCapacityMaximum(goCtx context.Context, msg *types.MsgProviderUpdateCapacityMaximum) (*types.MsgProviderResponse, error) { + ctx := sdk.UnwrapSDKContext(goCtx) + + // Add an Active Address record to the + // indexer for UI requirements + k.AddressEmitActivity(ctx, msg.Creator) + activePlayer, _ := k.GetPlayerCacheFromAddress(ctx, msg.Creator) + + provider := k.GetProviderCacheFromId(ctx, msg.ProviderId) + + permissionError := provider.CanUpdate(&activePlayer) + if (permissionError != nil) { + return &types.MsgProviderResponse{}, permissionError + } + + paramErr := provider.SetCapacityMaximum(msg.NewMaximumCapacity) + if paramErr != nil { + return &types.MsgProviderResponse{}, paramErr + } + + provider.Commit() + + return &types.MsgProviderResponse{}, nil +} diff --git a/x/structs/keeper/msg_server_provider_update_capacity_minimum.go b/x/structs/keeper/msg_server_provider_update_capacity_minimum.go new file mode 100644 index 00000000..e78361f7 --- /dev/null +++ b/x/structs/keeper/msg_server_provider_update_capacity_minimum.go @@ -0,0 +1,33 @@ +package keeper + +import ( + "context" + sdk "github.com/cosmos/cosmos-sdk/types" + //sdkerrors "cosmossdk.io/errors" + "structs/x/structs/types" +) + +func (k msgServer) ProviderUpdateCapacityMinimum(goCtx context.Context, msg *types.MsgProviderUpdateCapacityMinimum) (*types.MsgProviderResponse, error) { + ctx := sdk.UnwrapSDKContext(goCtx) + + // Add an Active Address record to the + // indexer for UI requirements + k.AddressEmitActivity(ctx, msg.Creator) + activePlayer, _ := k.GetPlayerCacheFromAddress(ctx, msg.Creator) + + provider := k.GetProviderCacheFromId(ctx, msg.ProviderId) + + permissionError := provider.CanUpdate(&activePlayer) + if (permissionError != nil) { + return &types.MsgProviderResponse{}, permissionError + } + + paramErr := provider.SetCapacityMinimum(msg.NewMinimumCapacity) + if paramErr != nil { + return &types.MsgProviderResponse{}, paramErr + } + + provider.Commit() + + return &types.MsgProviderResponse{}, nil +} diff --git a/x/structs/keeper/msg_server_provider_update_duration_maximum.go b/x/structs/keeper/msg_server_provider_update_duration_maximum.go new file mode 100644 index 00000000..d350b4cc --- /dev/null +++ b/x/structs/keeper/msg_server_provider_update_duration_maximum.go @@ -0,0 +1,33 @@ +package keeper + +import ( + "context" + sdk "github.com/cosmos/cosmos-sdk/types" + //sdkerrors "cosmossdk.io/errors" + "structs/x/structs/types" +) + +func (k msgServer) ProviderUpdateDurationMaximum(goCtx context.Context, msg *types.MsgProviderUpdateDurationMaximum) (*types.MsgProviderResponse, error) { + ctx := sdk.UnwrapSDKContext(goCtx) + + // Add an Active Address record to the + // indexer for UI requirements + k.AddressEmitActivity(ctx, msg.Creator) + activePlayer, _ := k.GetPlayerCacheFromAddress(ctx, msg.Creator) + + provider := k.GetProviderCacheFromId(ctx, msg.ProviderId) + + permissionError := provider.CanUpdate(&activePlayer) + if (permissionError != nil) { + return &types.MsgProviderResponse{}, permissionError + } + + paramErr := provider.SetDurationMaximum(msg.NewMaximumDuration) + if paramErr != nil { + return &types.MsgProviderResponse{}, paramErr + } + + provider.Commit() + + return &types.MsgProviderResponse{}, nil +} diff --git a/x/structs/keeper/msg_server_provider_update_duration_minimum.go b/x/structs/keeper/msg_server_provider_update_duration_minimum.go new file mode 100644 index 00000000..37cf1c7c --- /dev/null +++ b/x/structs/keeper/msg_server_provider_update_duration_minimum.go @@ -0,0 +1,33 @@ +package keeper + +import ( + "context" + sdk "github.com/cosmos/cosmos-sdk/types" + //sdkerrors "cosmossdk.io/errors" + "structs/x/structs/types" +) + +func (k msgServer) ProviderUpdateDurationMinimum(goCtx context.Context, msg *types.MsgProviderUpdateDurationMinimum) (*types.MsgProviderResponse, error) { + ctx := sdk.UnwrapSDKContext(goCtx) + + // Add an Active Address record to the + // indexer for UI requirements + k.AddressEmitActivity(ctx, msg.Creator) + activePlayer, _ := k.GetPlayerCacheFromAddress(ctx, msg.Creator) + + provider := k.GetProviderCacheFromId(ctx, msg.ProviderId) + + permissionError := provider.CanUpdate(&activePlayer) + if (permissionError != nil) { + return &types.MsgProviderResponse{}, permissionError + } + + paramErr := provider.SetDurationMinimum(msg.NewMinimumDuration) + if paramErr != nil { + return &types.MsgProviderResponse{}, paramErr + } + + provider.Commit() + + return &types.MsgProviderResponse{}, nil +} diff --git a/x/structs/keeper/msg_server_provider_withdraw_balance.go b/x/structs/keeper/msg_server_provider_withdraw_balance.go new file mode 100644 index 00000000..d64b6074 --- /dev/null +++ b/x/structs/keeper/msg_server_provider_withdraw_balance.go @@ -0,0 +1,40 @@ +package keeper + +import ( + "context" + sdk "github.com/cosmos/cosmos-sdk/types" + //sdkerrors "cosmossdk.io/errors" + "structs/x/structs/types" +) + +/* +message MsgProviderWithdrawBalance { + option (cosmos.msg.v1.signer) = "creator"; + + string creator = 1; + string providerId = 2; + string destinationAddress = 3; +} +*/ +func (k msgServer) ProviderWithdrawBalance(goCtx context.Context, msg *types.MsgProviderWithdrawBalance) (*types.MsgProviderResponse, error) { + ctx := sdk.UnwrapSDKContext(goCtx) + + // Add an Active Address record to the + // indexer for UI requirements + k.AddressEmitActivity(ctx, msg.Creator) + activePlayer, _ := k.GetPlayerCacheFromAddress(ctx, msg.Creator) + + provider := k.GetProviderCacheFromId(ctx, msg.ProviderId) + + permissionError := provider.CanWithdrawBalance(&activePlayer) + if (permissionError != nil) { + return &types.MsgProviderResponse{}, permissionError + } + + err := provider.WithdrawBalanceAndCommit(msg.DestinationAddress) + if (err != nil) { + return &types.MsgProviderResponse{}, err + } + + return &types.MsgProviderResponse{}, nil +} diff --git a/x/structs/keeper/msg_server_struct_activate.go b/x/structs/keeper/msg_server_struct_activate.go index fd36ef7e..fbb2645d 100644 --- a/x/structs/keeper/msg_server_struct_activate.go +++ b/x/structs/keeper/msg_server_struct_activate.go @@ -25,6 +25,10 @@ func (k msgServer) StructActivate(goCtx context.Context, msg *types.MsgStructAct return &types.MsgStructStatusResponse{}, permissionError } + if structure.GetOwner().IsHalted() { + return &types.MsgStructStatusResponse{}, sdkerrors.Wrapf(types.ErrPlayerHalted, "Struct (%s) cannot perform actions while Player (%s) is Halted", msg.StructId, structure.GetOwnerId()) + } + // Check Activation Readiness // Check Struct is Built // Check Struct is Offline diff --git a/x/structs/keeper/msg_server_struct_attack.go b/x/structs/keeper/msg_server_struct_attack.go index 18625132..71c48be8 100644 --- a/x/structs/keeper/msg_server_struct_attack.go +++ b/x/structs/keeper/msg_server_struct_attack.go @@ -27,6 +27,9 @@ func (k msgServer) StructAttack(goCtx context.Context, msg *types.MsgStructAttac return &types.MsgStructAttackResponse{}, permissionError } + if structure.GetOwner().IsHalted() { + return &types.MsgStructAttackResponse{}, sdkerrors.Wrapf(types.ErrPlayerHalted, "Struct (%s) cannot perform actions while Player (%s) is Halted", msg.OperatingStructId, structure.GetOwnerId()) + } // Is the Struct & Owner online? readinessError := structure.ReadinessCheck() @@ -35,6 +38,10 @@ func (k msgServer) StructAttack(goCtx context.Context, msg *types.MsgStructAttac return &types.MsgStructAttackResponse{}, readinessError } + if !structure.IsCommandable() { + k.DischargePlayer(ctx, structure.GetOwnerId()) + return &types.MsgStructAttackResponse{}, sdkerrors.Wrapf(types.ErrInsufficientCharge, "Commanding a Fleet Struct (%s) requires a Command Struct be Online", structure.GetStructId()) + } playerCharge := k.GetPlayerCharge(ctx, structure.GetOwnerId()) if (playerCharge < structure.GetStructType().GetWeaponCharge(types.TechWeaponSystem_enum[msg.WeaponSystem])) { diff --git a/x/structs/keeper/msg_server_struct_build_cancel.go b/x/structs/keeper/msg_server_struct_build_cancel.go new file mode 100644 index 00000000..487b3d83 --- /dev/null +++ b/x/structs/keeper/msg_server_struct_build_cancel.go @@ -0,0 +1,54 @@ +package keeper + +import ( + "context" + //"strconv" + sdk "github.com/cosmos/cosmos-sdk/types" + sdkerrors "cosmossdk.io/errors" + "structs/x/structs/types" +) + +func (k msgServer) StructBuildCancel(goCtx context.Context, msg *types.MsgStructBuildCancel) (*types.MsgStructStatusResponse, error) { + ctx := sdk.UnwrapSDKContext(goCtx) + + // Add an Active Address record to the + // indexer for UI requirements + k.AddressEmitActivity(ctx, msg.Creator) + + + // load struct + structure := k.GetStructCacheFromId(ctx, msg.StructId) + + // Check to see if the caller has permissions to proceed + permissionError := structure.CanBePlayedBy(msg.Creator) + if (permissionError != nil) { + return &types.MsgStructStatusResponse{}, permissionError + } + + if !structure.LoadStruct(){ + return &types.MsgStructStatusResponse{}, sdkerrors.Wrapf(types.ErrObjectNotFound, "Struct (%s) does not exist", msg.StructId) + } + + if structure.IsBuilt() { + structure.GetOwner().Discharge() + structure.GetOwner().Commit() + return &types.MsgStructStatusResponse{}, sdkerrors.Wrapf(types.ErrGridMalfunction, "Struct (%s) already built", msg.StructId) + } + + // Check Player Charge + if (structure.GetOwner().GetCharge() < structure.GetStructType().BuildCharge) { + err := sdkerrors.Wrapf(types.ErrInsufficientCharge, "Struct Type (%d) required a charge of %d to build, but player (%s) only had %d", structure.GetStructType().Id, structure.GetStructType().BuildCharge, structure.GetOwnerId(), structure.GetOwner().GetCharge() ) + structure.GetOwner().Discharge() + structure.GetOwner().Commit() + return &types.MsgStructStatusResponse{}, err + } + + if structure.GetOwner().IsOffline(){ + return &types.MsgStructStatusResponse{}, sdkerrors.Wrapf(types.ErrGridMalfunction, "The player (%s) is offline ",structure.GetOwnerId()) + } + + + structure.DestroyAndCommit() + + return &types.MsgStructStatusResponse{Struct: structure.GetStruct()}, nil +} diff --git a/x/structs/keeper/msg_server_struct_build_complete.go b/x/structs/keeper/msg_server_struct_build_complete.go index 8d415f26..ee339dd1 100644 --- a/x/structs/keeper/msg_server_struct_build_complete.go +++ b/x/structs/keeper/msg_server_struct_build_complete.go @@ -15,7 +15,6 @@ func (k msgServer) StructBuildComplete(goCtx context.Context, msg *types.MsgStru // indexer for UI requirements k.AddressEmitActivity(ctx, msg.Creator) - // load struct structure := k.GetStructCacheFromId(ctx, msg.StructId) @@ -29,6 +28,10 @@ func (k msgServer) StructBuildComplete(goCtx context.Context, msg *types.MsgStru return &types.MsgStructStatusResponse{}, sdkerrors.Wrapf(types.ErrObjectNotFound, "Struct (%s) does not exist", msg.StructId) } + if structure.GetOwner().IsHalted() { + return &types.MsgStructStatusResponse{}, sdkerrors.Wrapf(types.ErrPlayerHalted, "Struct (%s) cannot perform actions while Player (%s) is Halted", msg.StructId, structure.GetOwnerId()) + } + if structure.IsBuilt() { structure.GetOwner().Discharge() structure.GetOwner().Commit() @@ -37,12 +40,14 @@ func (k msgServer) StructBuildComplete(goCtx context.Context, msg *types.MsgStru // Check Player Charge + /* if (structure.GetOwner().GetCharge() < structure.GetStructType().ActivateCharge) { err := sdkerrors.Wrapf(types.ErrInsufficientCharge, "Struct Type (%d) required a charge of %d to build, but player (%s) only had %d", structure.GetStructType().Id, structure.GetStructType().ActivateCharge, structure.GetOwnerId(), structure.GetOwner().GetCharge() ) structure.GetOwner().Discharge() structure.GetOwner().Commit() return &types.MsgStructStatusResponse{}, err } + */ if structure.GetOwner().IsOffline(){ return &types.MsgStructStatusResponse{}, sdkerrors.Wrapf(types.ErrGridMalfunction, "The player (%s) is offline ",structure.GetOwnerId()) @@ -67,6 +72,7 @@ func (k msgServer) StructBuildComplete(goCtx context.Context, msg *types.MsgStru if (!types.HashBuildAndCheckDifficulty(hashInput, msg.Proof, currentAge, structure.GetStructType().BuildDifficulty)) { structure.GetOwner().StructsLoadIncrement(structure.GetStructType().BuildDraw) structure.GetOwner().Discharge() + structure.GetOwner().Halt() structure.GetOwner().Commit() return &types.MsgStructStatusResponse{}, sdkerrors.Wrapf(types.ErrStructBuildComplete, "Work failure for input (%s) when trying to build Struct %s", hashInput, structure.GetStructId()) } diff --git a/x/structs/keeper/msg_server_struct_build_initiate.go b/x/structs/keeper/msg_server_struct_build_initiate.go index 747e7077..22a1e396 100644 --- a/x/structs/keeper/msg_server_struct_build_initiate.go +++ b/x/structs/keeper/msg_server_struct_build_initiate.go @@ -35,6 +35,10 @@ func (k msgServer) StructBuildInitiate(goCtx context.Context, msg *types.MsgStru return &types.MsgStructStatusResponse{}, permissionError } + if owner.IsHalted() { + return &types.MsgStructStatusResponse{}, sdkerrors.Wrapf(types.ErrPlayerHalted, "Cannot perform actions while Player (%s) is Halted", msg.PlayerId) + } + // Load the Struct Type structType, structTypeFound := k.GetStructType(ctx, msg.StructTypeId) if !structTypeFound { @@ -70,12 +74,12 @@ func (k msgServer) StructBuildInitiate(goCtx context.Context, msg *types.MsgStru return &types.MsgStructStatusResponse{}, sdkerrors.Wrapf(types.ErrGridMalfunction, "Struct Type (%d) required a draw of %d during build, but player (%s) has %d available", msg.StructTypeId, structType.BuildDraw, owner.GetPlayerId(),owner.GetAvailableCapacity()) } - // todo actually verify the darn location + fmt.Printf("Trying to materialized a Struct \n") fmt.Printf("Struct Type: %s ", structType.Type) - fmt.Printf("Destination: %s %d", msg.LocationType, msg.Slot) - structure, err := k.InitiateStruct(ctx, msg.Creator, &owner, &structType, msg.LocationType, msg.OperatingAmbit, msg.Slot) + fmt.Printf("Destination: %d", msg.Slot) + structure, err := k.InitiateStruct(ctx, msg.Creator, &owner, &structType, msg.OperatingAmbit, msg.Slot) if (err != nil) { return &types.MsgStructStatusResponse{}, err } diff --git a/x/structs/keeper/msg_server_struct_deactivate.go b/x/structs/keeper/msg_server_struct_deactivate.go index 45347781..be70dae5 100644 --- a/x/structs/keeper/msg_server_struct_deactivate.go +++ b/x/structs/keeper/msg_server_struct_deactivate.go @@ -25,6 +25,10 @@ func (k msgServer) StructDeactivate(goCtx context.Context, msg *types.MsgStructD return &types.MsgStructStatusResponse{}, permissionError } + if structure.GetOwner().IsHalted() { + return &types.MsgStructStatusResponse{}, sdkerrors.Wrapf(types.ErrPlayerHalted, "Struct (%s) cannot perform actions while Player (%s) is Halted", msg.StructId, structure.GetOwnerId()) + } + if !structure.LoadStruct(){ return &types.MsgStructStatusResponse{}, sdkerrors.Wrapf(types.ErrObjectNotFound, "Struct (%s) does not exist", msg.StructId) } diff --git a/x/structs/keeper/msg_server_struct_defense_clear.go b/x/structs/keeper/msg_server_struct_defense_clear.go index 48ed6d11..aa3bc6e5 100644 --- a/x/structs/keeper/msg_server_struct_defense_clear.go +++ b/x/structs/keeper/msg_server_struct_defense_clear.go @@ -33,12 +33,22 @@ func (k msgServer) StructDefenseClear(goCtx context.Context, msg *types.MsgStruc return &types.MsgStructStatusResponse{}, sdkerrors.Wrapf(types.ErrObjectNotFound, "Struct (%s) does not exist", msg.DefenderStructId) } + if structure.GetOwner().IsHalted() { + return &types.MsgStructStatusResponse{}, sdkerrors.Wrapf(types.ErrPlayerHalted, "Struct (%s) cannot perform actions while Player (%s) is Halted", msg.DefenderStructId, structure.GetOwnerId()) + } + if structure.IsOffline() { structure.GetOwner().Discharge() structure.GetOwner().Commit() return &types.MsgStructStatusResponse{}, sdkerrors.Wrapf(types.ErrGridMalfunction, "Struct (%s) already built", msg.DefenderStructId) } + if !structure.IsCommandable() { + structure.GetOwner().Discharge() + structure.GetOwner().Commit() + return &types.MsgStructStatusResponse{}, sdkerrors.Wrapf(types.ErrInsufficientCharge, "Commanding a Fleet Struct (%s) requires a Command Struct be Online", structure.GetStructId()) + } + // Check Player Charge if (structure.GetOwner().GetCharge() < structure.GetStructType().DefendChangeCharge) { err := sdkerrors.Wrapf(types.ErrInsufficientCharge, "Struct Type (%d) required a charge of %d to change defensive stance, but player (%s) only had %d", structure.GetStructType().Id, structure.GetStructType().DefendChangeCharge, structure.GetOwnerId(), structure.GetOwner().GetCharge() ) diff --git a/x/structs/keeper/msg_server_struct_defense_set.go b/x/structs/keeper/msg_server_struct_defense_set.go index d1902d5f..e3b52f07 100644 --- a/x/structs/keeper/msg_server_struct_defense_set.go +++ b/x/structs/keeper/msg_server_struct_defense_set.go @@ -42,12 +42,21 @@ func (k msgServer) StructDefenseSet(goCtx context.Context, msg *types.MsgStructD return &types.MsgStructStatusResponse{}, sdkerrors.Wrapf(types.ErrObjectNotFound, "Struct (%s) does not exist", msg.DefenderStructId) } + if structure.GetOwner().IsHalted() { + return &types.MsgStructStatusResponse{}, sdkerrors.Wrapf(types.ErrPlayerHalted, "Struct (%s) cannot perform actions while Player (%s) is Halted", msg.DefenderStructId, structure.GetOwnerId()) + } + if structure.IsOffline() { structure.GetOwner().Discharge() structure.GetOwner().Commit() return &types.MsgStructStatusResponse{}, sdkerrors.Wrapf(types.ErrGridMalfunction, "Struct (%s) already built", msg.DefenderStructId) } + if !structure.IsCommandable() { + k.DischargePlayer(ctx, structure.GetOwnerId()) + return &types.MsgStructStatusResponse{}, sdkerrors.Wrapf(types.ErrInsufficientCharge, "Commanding a Fleet Struct (%s) requires a Command Struct be Online", structure.GetStructId()) + } + // Check Player Charge if (structure.GetOwner().GetCharge() < structure.GetStructType().DefendChangeCharge) { err := sdkerrors.Wrapf(types.ErrInsufficientCharge, "Struct Type (%d) required a charge of %d to change defensive stance, but player (%s) only had %d", structure.GetStructType().Id, structure.GetStructType().DefendChangeCharge, structure.GetOwnerId(), structure.GetOwner().GetCharge() ) diff --git a/x/structs/keeper/msg_server_struct_generator_infuse.go b/x/structs/keeper/msg_server_struct_generator_infuse.go index 886bd2a2..1eeb0301 100644 --- a/x/structs/keeper/msg_server_struct_generator_infuse.go +++ b/x/structs/keeper/msg_server_struct_generator_infuse.go @@ -77,7 +77,13 @@ func (k msgServer) StructGeneratorInfuse(goCtx context.Context, msg *types.MsgSt return &types.MsgStructGeneratorStatusResponse{}, sdkerrors.Wrapf(types.ErrStructInfuse, "Infuse amount (%s) is invalid", msg.InfuseAmount) } - if (infusionAmount[0].Denom != "alpha") { + if (infusionAmount[0].Denom == "ualpha") { + // All good + } else if (infusionAmount[0].Denom == "alpha") { + alphaUnitConversionInt := math.NewIntFromUint64(uint64(1000000)) + infusionAmount[0].Amount = infusionAmount[0].Amount.Mul(alphaUnitConversionInt) + infusionAmount[0].Denom = "ualpha" + } else { return &types.MsgStructGeneratorStatusResponse{}, sdkerrors.Wrapf(types.ErrStructInfuse, "Infuse amount (%s) is invalid, %s is not a fuel", msg.InfuseAmount, infusionAmount[0].Denom) } diff --git a/x/structs/keeper/msg_server_struct_move.go b/x/structs/keeper/msg_server_struct_move.go index f197294d..b3a90448 100644 --- a/x/structs/keeper/msg_server_struct_move.go +++ b/x/structs/keeper/msg_server_struct_move.go @@ -43,6 +43,10 @@ func (k msgServer) StructMove(goCtx context.Context, msg *types.MsgStructMove) ( return &types.MsgStructStatusResponse{}, permissionError } + if structure.GetOwner().IsHalted() { + return &types.MsgStructStatusResponse{}, sdkerrors.Wrapf(types.ErrPlayerHalted, "Struct (%s) cannot perform actions while Player (%s) is Halted", msg.StructId, structure.GetOwnerId()) + } + // Check Player Charge if structure.GetOwner().GetCharge() < structure.GetStructType().GetMoveCharge() { err := sdkerrors.Wrapf(types.ErrInsufficientCharge, "Struct Type (%d) required a charge of %d for movement, but player (%s) only had %d", structure.GetStructType().GetId(), structure.GetStructType().GetMoveCharge(), structure.GetOwnerId(), structure.GetOwner().GetCharge() ) diff --git a/x/structs/keeper/msg_server_struct_ore_miner_complete.go b/x/structs/keeper/msg_server_struct_ore_miner_complete.go index 8a25ff00..0164fa5f 100644 --- a/x/structs/keeper/msg_server_struct_ore_miner_complete.go +++ b/x/structs/keeper/msg_server_struct_ore_miner_complete.go @@ -26,6 +26,10 @@ func (k msgServer) StructOreMinerComplete(goCtx context.Context, msg *types.MsgS return &types.MsgStructOreMinerStatusResponse{}, permissionError } + if structure.GetOwner().IsHalted() { + return &types.MsgStructOreMinerStatusResponse{}, sdkerrors.Wrapf(types.ErrPlayerHalted, "Struct (%s) cannot perform actions while Player (%s) is Halted", msg.StructId, structure.GetOwnerId()) + } + // Is the Struct & Owner online? readinessError := structure.ReadinessCheck() if (readinessError != nil) { @@ -51,6 +55,7 @@ func (k msgServer) StructOreMinerComplete(goCtx context.Context, msg *types.MsgS currentAge := uint64(ctx.BlockHeight()) - structure.GetBlockStartOreMine() if (!types.HashBuildAndCheckDifficulty(hashInput, msg.Proof, currentAge, structure.GetStructType().GetOreMiningDifficulty())) { + structure.GetOwner().Halt() return &types.MsgStructOreMinerStatusResponse{}, sdkerrors.Wrapf(types.ErrStructMine, "Work failure for input (%s) when trying to mine on Struct %s", hashInput, structure.StructId) } diff --git a/x/structs/keeper/msg_server_struct_ore_refinery_complete.go b/x/structs/keeper/msg_server_struct_ore_refinery_complete.go index fc53492a..f60a0bb8 100644 --- a/x/structs/keeper/msg_server_struct_ore_refinery_complete.go +++ b/x/structs/keeper/msg_server_struct_ore_refinery_complete.go @@ -27,6 +27,10 @@ func (k msgServer) StructOreRefineryComplete(goCtx context.Context, msg *types.M return &types.MsgStructOreRefineryStatusResponse{}, permissionError } + if structure.GetOwner().IsHalted() { + return &types.MsgStructOreRefineryStatusResponse{}, sdkerrors.Wrapf(types.ErrPlayerHalted, "Struct (%s) cannot perform actions while Player (%s) is Halted", msg.StructId, structure.GetOwnerId()) + } + // Is the Struct & Owner online? readinessError := structure.ReadinessCheck() if (readinessError != nil) { @@ -52,6 +56,7 @@ func (k msgServer) StructOreRefineryComplete(goCtx context.Context, msg *types.M currentAge := uint64(ctx.BlockHeight()) - structure.GetBlockStartOreRefine() if (!types.HashBuildAndCheckDifficulty(hashInput, msg.Proof, currentAge, structure.GetStructType().GetOreRefiningDifficulty())) { + structure.GetOwner().Halt() return &types.MsgStructOreRefineryStatusResponse{}, sdkerrors.Wrapf(types.ErrStructRefine, "Work failure for input (%s) when trying to refine on Struct %s", hashInput, structure.StructId) } diff --git a/x/structs/keeper/msg_server_struct_stealth_activate.go b/x/structs/keeper/msg_server_struct_stealth_activate.go index da206235..52e0307e 100644 --- a/x/structs/keeper/msg_server_struct_stealth_activate.go +++ b/x/structs/keeper/msg_server_struct_stealth_activate.go @@ -16,65 +16,60 @@ func (k msgServer) StructStealthActivate(goCtx context.Context, msg *types.MsgSt // indexer for UI requirements k.AddressEmitActivity(ctx, msg.Creator) - callingPlayerIndex := k.GetPlayerIndexFromAddress(ctx, msg.Creator) - if (callingPlayerIndex == 0) { - return &types.MsgStructStatusResponse{}, sdkerrors.Wrapf(types.ErrPlayerRequired, "Struct actions requires Player account but none associated with %s", msg.Creator) - } - callingPlayerId := GetObjectID(types.ObjectType_player, callingPlayerIndex) - - addressPermissionId := GetAddressPermissionIDBytes(msg.Creator) - // Make sure the address calling this has Play permissions - if (!k.PermissionHasOneOf(ctx, addressPermissionId, types.PermissionPlay)) { - return &types.MsgStructStatusResponse{}, sdkerrors.Wrapf(types.ErrPermissionPlay, "Calling address (%s) has no play permissions ", msg.Creator) - } - structStatusAttributeId := GetStructAttributeIDByObjectId(types.StructAttributeType_status, msg.StructId) + structure := k.GetStructCacheFromId(ctx, msg.StructId) - // Is the Struct online? - if (!k.StructAttributeFlagHasOneOf(ctx, structStatusAttributeId, uint64(types.StructStateOnline))) { - k.DischargePlayer(ctx, callingPlayerId) - return &types.MsgStructStatusResponse{}, sdkerrors.Wrapf(types.ErrGridMalfunction, "Struct (%s) is not Online", msg.StructId) + permissionError := structure.CanBePlayedBy(msg.Creator) + if (permissionError != nil) { + return &types.MsgStructStatusResponse{}, permissionError } - // Is Struct Stealth Mode already activated? - if (k.StructAttributeFlagHasOneOf(ctx, structStatusAttributeId, uint64(types.StructStateHidden))) { - k.DischargePlayer(ctx, callingPlayerId) - return &types.MsgStructStatusResponse{}, sdkerrors.Wrapf(types.ErrGridMalfunction, "Struct (%s) already in stealth", msg.StructId) + if structure.GetOwner().IsHalted() { + return &types.MsgStructStatusResponse{}, sdkerrors.Wrapf(types.ErrPlayerHalted, "Struct (%s) cannot perform actions while Player (%s) is Halted", msg.StructId, structure.GetOwnerId()) } - structure, structureFound := k.GetStruct(ctx, msg.StructId) - if (!structureFound) { - return &types.MsgStructStatusResponse{}, sdkerrors.Wrapf(types.ErrObjectNotFound, "Struct (%s) not found", msg.StructId) + // Is the Struct & Owner online? + readinessError := structure.ReadinessCheck() + if (readinessError != nil) { + structure.GetOwner().Discharge() + structure.GetOwner().Commit() + return &types.MsgStructStatusResponse{}, readinessError } - if (callingPlayerId != structure.Owner) { - // Check permissions on Creator on Planet - playerPermissionId := GetObjectPermissionIDBytes(structure.Owner, callingPlayerId) - if (!k.PermissionHasOneOf(ctx, playerPermissionId, types.PermissionPlay)) { - return &types.MsgStructStatusResponse{}, sdkerrors.Wrapf(types.ErrPermissionPlay, "Calling account (%s) has no play permissions on target player (%s)", callingPlayerId, structure.Owner) - } + if !structure.IsCommandable() { + structure.GetOwner().Discharge() + structure.GetOwner().Commit() + return &types.MsgStructStatusResponse{}, sdkerrors.Wrapf(types.ErrInsufficientCharge, "Commanding a Fleet Struct (%s) requires a Command Struct be Online", structure.GetStructId()) } - // Load Struct Type - structType, structTypeFound := k.GetStructType(ctx, structure.Type) - if (!structTypeFound) { - return &types.MsgStructStatusResponse{}, sdkerrors.Wrapf(types.ErrObjectNotFound, "Struct Type (%d) was not found. No idea how this struct is missing its schematics. Pls tell an adult", structure.Type) + // Is Struct Stealth Mode already activated? + if structure.IsHidden() { + structure.GetOwner().Discharge() + structure.GetOwner().Commit() + return &types.MsgStructStatusResponse{}, sdkerrors.Wrapf(types.ErrGridMalfunction, "Struct (%s) already in stealth", msg.StructId) } - if (!structType.StealthSystems) { - k.DischargePlayer(ctx, callingPlayerId) + + if (!structure.GetStructType().HasStealthSystem()) { + structure.GetOwner().Discharge() + structure.GetOwner().Commit() return &types.MsgStructStatusResponse{}, sdkerrors.Wrapf(types.ErrGridMalfunction, "Struct (%s) has no stealth system", msg.StructId) } + // Check Sudo Player Charge - playerCharge := k.GetPlayerCharge(ctx, structure.Owner) - if (playerCharge < structType.StealthActivateCharge) { - k.DischargePlayer(ctx, structure.Owner) - return &types.MsgStructStatusResponse{}, sdkerrors.Wrapf(types.ErrInsufficientCharge, "Struct Type (%d) required a charge of %d for stealth mode, but player (%s) only had %d", structure.Type, structType.ActivateCharge, structure.Owner, playerCharge) + playerCharge := k.GetPlayerCharge(ctx, structure.GetOwnerId()) + if (playerCharge < structure.GetStructType().GetStealthActivateCharge()) { + structure.GetOwner().Discharge() + structure.GetOwner().Commit() + return &types.MsgStructStatusResponse{}, sdkerrors.Wrapf(types.ErrInsufficientCharge, "Struct Type (%d) required a charge of %d for stealth mode, but player (%s) only had %d", structure.GetTypeId(), structure.GetStructType().GetStealthActivateCharge(), structure.GetOwnerId(), playerCharge) } - // Set the struct status flag to include built - k.SetStructAttributeFlagAdd(ctx, structStatusAttributeId, uint64(types.StructStateHidden)) + structure.GetOwner().Discharge() + + // Set the struct status flag to include hidden + structure.StatusAddHidden() + structure.Commit() - return &types.MsgStructStatusResponse{Struct: structure}, nil + return &types.MsgStructStatusResponse{Struct: structure.GetStruct() }, nil } diff --git a/x/structs/keeper/msg_server_struct_stealth_deactivate.go b/x/structs/keeper/msg_server_struct_stealth_deactivate.go index ea6191d4..0da2d086 100644 --- a/x/structs/keeper/msg_server_struct_stealth_deactivate.go +++ b/x/structs/keeper/msg_server_struct_stealth_deactivate.go @@ -16,47 +16,61 @@ func (k msgServer) StructStealthDeactivate(goCtx context.Context, msg *types.Msg // indexer for UI requirements k.AddressEmitActivity(ctx, msg.Creator) - callingPlayerIndex := k.GetPlayerIndexFromAddress(ctx, msg.Creator) - if (callingPlayerIndex == 0) { - return &types.MsgStructStatusResponse{}, sdkerrors.Wrapf(types.ErrPlayerRequired, "Struct actions requires Player account but none associated with %s", msg.Creator) + + structure := k.GetStructCacheFromId(ctx, msg.StructId) + + permissionError := structure.CanBePlayedBy(msg.Creator) + if (permissionError != nil) { + return &types.MsgStructStatusResponse{}, permissionError } - callingPlayerId := GetObjectID(types.ObjectType_player, callingPlayerIndex) - addressPermissionId := GetAddressPermissionIDBytes(msg.Creator) - // Make sure the address calling this has Play permissions - if (!k.PermissionHasOneOf(ctx, addressPermissionId, types.PermissionPlay)) { - return &types.MsgStructStatusResponse{}, sdkerrors.Wrapf(types.ErrPermissionPlay, "Calling address (%s) has no play permissions ", msg.Creator) + if structure.GetOwner().IsHalted() { + return &types.MsgStructStatusResponse{}, sdkerrors.Wrapf(types.ErrPlayerHalted, "Struct (%s) cannot perform actions while Player (%s) is Halted", msg.StructId, structure.GetOwnerId()) } - structStatusAttributeId := GetStructAttributeIDByObjectId(types.StructAttributeType_status, msg.StructId) + // Is the Struct & Owner online? + readinessError := structure.ReadinessCheck() + if (readinessError != nil) { + structure.GetOwner().Discharge() + structure.GetOwner().Commit() + return &types.MsgStructStatusResponse{}, readinessError + } - // Is the Struct online? - if (!k.StructAttributeFlagHasOneOf(ctx, structStatusAttributeId, uint64(types.StructStateOnline))) { - k.DischargePlayer(ctx, callingPlayerId) - return &types.MsgStructStatusResponse{}, sdkerrors.Wrapf(types.ErrGridMalfunction, "Struct (%s) is not Online", msg.StructId) + if !structure.IsCommandable() { + structure.GetOwner().Discharge() + structure.GetOwner().Commit() + return &types.MsgStructStatusResponse{}, sdkerrors.Wrapf(types.ErrInsufficientCharge, "Commanding a Fleet Struct (%s) requires a Command Struct be Online", structure.GetStructId()) } - // Is Struct Stealth Mode not currently activated? - if (!k.StructAttributeFlagHasOneOf(ctx, structStatusAttributeId, uint64(types.StructStateHidden))) { - k.DischargePlayer(ctx, callingPlayerId) - return &types.MsgStructStatusResponse{}, sdkerrors.Wrapf(types.ErrGridMalfunction, "Struct (%s) not in stealth mode", msg.StructId) + // Is Struct Stealth Mode already activated? + if !structure.IsHidden() { + structure.GetOwner().Discharge() + structure.GetOwner().Commit() + return &types.MsgStructStatusResponse{}, sdkerrors.Wrapf(types.ErrGridMalfunction, "Struct (%s) already in out of stealth", msg.StructId) } - structure, structureFound := k.GetStruct(ctx, msg.StructId) - if (!structureFound) { - return &types.MsgStructStatusResponse{}, sdkerrors.Wrapf(types.ErrObjectNotFound, "Struct (%s) not found", msg.StructId) + + if (!structure.GetStructType().HasStealthSystem()) { + structure.GetOwner().Discharge() + structure.GetOwner().Commit() + return &types.MsgStructStatusResponse{}, sdkerrors.Wrapf(types.ErrGridMalfunction, "Struct (%s) has no stealth system", msg.StructId) } - if (callingPlayerId != structure.Owner) { - // Check permissions on Creator on Planet - playerPermissionId := GetObjectPermissionIDBytes(structure.Owner, callingPlayerId) - if (!k.PermissionHasOneOf(ctx, playerPermissionId, types.PermissionPlay)) { - return &types.MsgStructStatusResponse{}, sdkerrors.Wrapf(types.ErrPermissionPlay, "Calling account (%s) has no play permissions on target player (%s)", callingPlayerId, structure.Owner) - } + + // Check Sudo Player Charge + playerCharge := k.GetPlayerCharge(ctx, structure.GetOwnerId()) + if (playerCharge < structure.GetStructType().GetStealthActivateCharge()) { + structure.GetOwner().Discharge() + structure.GetOwner().Commit() + return &types.MsgStructStatusResponse{}, sdkerrors.Wrapf(types.ErrInsufficientCharge, "Struct Type (%d) required a charge of %d for stealth mode, but player (%s) only had %d", structure.GetTypeId(), structure.GetStructType().GetStealthActivateCharge(), structure.GetOwnerId(), playerCharge) } - // Set the struct status flag to include built - k.SetStructAttributeFlagRemove(ctx, structStatusAttributeId, uint64(types.StructStateHidden)) + structure.GetOwner().Discharge() + + // Set the struct status flag to include hidden + structure.StatusRemoveHidden() + structure.Commit() + + return &types.MsgStructStatusResponse{Struct: structure.GetStruct() }, nil - return &types.MsgStructStatusResponse{Struct: structure}, nil } diff --git a/x/structs/keeper/msg_server_substation_player_connect.go b/x/structs/keeper/msg_server_substation_player_connect.go index 53aec968..ccc43a72 100644 --- a/x/structs/keeper/msg_server_substation_player_connect.go +++ b/x/structs/keeper/msg_server_substation_player_connect.go @@ -27,15 +27,14 @@ func (k msgServer) SubstationPlayerConnect(goCtx context.Context, msg *types.Msg substationObjectPermissionId := GetObjectPermissionIDBytes(msg.SubstationId, player.Id) // check that the calling player has substation permissions if (!k.PermissionHasOneOf(ctx, substationObjectPermissionId, types.PermissionGrid)) { - return &types.MsgSubstationPlayerConnectResponse{}, sdkerrors.Wrapf(types.ErrPermissionSubstationPlayerConnect, "Calling player (%d) has no Substation Connect Player permissions ", player.Id) + return &types.MsgSubstationPlayerConnectResponse{}, sdkerrors.Wrapf(types.ErrPermissionSubstationPlayerConnect, "Calling player (%s) has no Energy Management permissions on Substation (%s) ", player.Id, msg.SubstationId) } - if (player.Id != msg.PlayerId) { // check that the calling player has target player permissions playerObjectPermissionId := GetObjectPermissionIDBytes(msg.PlayerId, player.Id) if (!k.PermissionHasOneOf(ctx, playerObjectPermissionId, types.PermissionGrid)) { - return &types.MsgSubstationPlayerConnectResponse{}, sdkerrors.Wrapf(types.ErrPermissionSubstationPlayerConnect, "Calling player (%d) has no Player Substation permissions ", player.Id) + return &types.MsgSubstationPlayerConnectResponse{}, sdkerrors.Wrapf(types.ErrPermissionSubstationPlayerConnect, "Calling player (%s) has no Energy Management permissions on target player (%s) ", player.Id, msg.PlayerId) } } diff --git a/x/structs/keeper/msg_server_substation_player_disconnect.go b/x/structs/keeper/msg_server_substation_player_disconnect.go index 0adb6a16..f240ecaf 100644 --- a/x/structs/keeper/msg_server_substation_player_disconnect.go +++ b/x/structs/keeper/msg_server_substation_player_disconnect.go @@ -21,19 +21,23 @@ func (k msgServer) SubstationPlayerDisconnect(goCtx context.Context, msg *types. targetPlayer, targetPlayerFound := k.GetPlayer(ctx, msg.PlayerId) if (!targetPlayerFound) { - return &types.MsgSubstationPlayerDisconnectResponse{}, sdkerrors.Wrapf(types.ErrObjectNotFound, "Target player (%d) could be be found", msg.PlayerId) - } - - substationObjectPermissionId := GetObjectPermissionIDBytes(player.SubstationId, player.Id) - // check that the calling player has substation permissions - if (!k.PermissionHasOneOf(ctx, substationObjectPermissionId, types.PermissionGrid)) { - return &types.MsgSubstationPlayerDisconnectResponse{}, sdkerrors.Wrapf(types.ErrPermissionSubstationPlayerConnect, "Calling player (%d) has no Substation Connect Player permissions ", player.Id) + return &types.MsgSubstationPlayerDisconnectResponse{}, sdkerrors.Wrapf(types.ErrObjectNotFound, "Target player (%s) could be be found", msg.PlayerId) } + // Check if the Calling Player isn't Target Player + // If they aren't they'll either need Grid Permission on the Player or on the Substation if (player.Id != msg.PlayerId) { - playerObjectPermissionId := GetObjectPermissionIDBytes(msg.PlayerId, player.Id) - if (!k.PermissionHasOneOf(ctx, playerObjectPermissionId, types.PermissionGrid)) { - return &types.MsgSubstationPlayerDisconnectResponse{}, sdkerrors.Wrapf(types.ErrPermissionSubstationPlayerConnect, "Calling player (%d) has no Player Substation permissions ", player.Id) + // check that the Calling Player has Grid Permissions on the Substation + substationObjectPermissionId := GetObjectPermissionIDBytes(player.SubstationId, player.Id) + if (!k.PermissionHasOneOf(ctx, substationObjectPermissionId, types.PermissionGrid)) { + + // Check that the Calling Player has Grid Permissions on the Target Player + playerObjectPermissionId := GetObjectPermissionIDBytes(msg.PlayerId, player.Id) + if (!k.PermissionHasOneOf(ctx, playerObjectPermissionId, types.PermissionGrid)) { + + // Calling Player has no authority over this process + return &types.MsgSubstationPlayerDisconnectResponse{}, sdkerrors.Wrapf(types.ErrPermissionSubstationPlayerConnect, "Calling player (%s) has no Energy Management permissions on Player (%s) or Substation (%s)", player.Id, targetPlayer.Id, player.SubstationId) + } } } @@ -43,7 +47,6 @@ func (k msgServer) SubstationPlayerDisconnect(goCtx context.Context, msg *types. return &types.MsgSubstationPlayerDisconnectResponse{}, sdkerrors.Wrapf(types.ErrPermissionManageEnergy, "Calling address (%s) has no Energy Management permissions ", msg.Creator) } - // connect to new substation // This call handles the disconnection from other substations as well k.SubstationDisconnectPlayer(ctx, targetPlayer) diff --git a/x/structs/keeper/msg_server_substation_player_migrate.go b/x/structs/keeper/msg_server_substation_player_migrate.go index 2ee9bb41..c5ebcfb0 100644 --- a/x/structs/keeper/msg_server_substation_player_migrate.go +++ b/x/structs/keeper/msg_server_substation_player_migrate.go @@ -22,7 +22,7 @@ func (k msgServer) SubstationPlayerMigrate(goCtx context.Context, msg *types.Msg substationObjectPermissionId := GetObjectPermissionIDBytes(msg.SubstationId, player.Id) // check that the calling player has substation permissions if (!k.PermissionHasOneOf(ctx, substationObjectPermissionId, types.PermissionGrid)) { - return &types.MsgSubstationPlayerMigrateResponse{}, sdkerrors.Wrapf(types.ErrPermissionSubstationPlayerConnect, "Calling player (%d) has no Substation Connect Player permissions ", player.Id) + return &types.MsgSubstationPlayerMigrateResponse{}, sdkerrors.Wrapf(types.ErrPermissionSubstationPlayerConnect, "Calling player (%s) has no Energy Management permissions on Substation (%s)", player.Id, msg.SubstationId) } // check that the account has energy management permissions @@ -45,7 +45,7 @@ func (k msgServer) SubstationPlayerMigrate(goCtx context.Context, msg *types.Msg // check that the calling player has target player permissions playerObjectPermissionId := GetObjectPermissionIDBytes(targetPlayerId, player.Id) if (!k.PermissionHasOneOf(ctx, playerObjectPermissionId, types.PermissionGrid)) { - return &types.MsgSubstationPlayerMigrateResponse{}, sdkerrors.Wrapf(types.ErrPermissionSubstationPlayerConnect, "Calling player (%s) has no Grid permissions on target (%s) ", player.Id, targetPlayerId) + return &types.MsgSubstationPlayerMigrateResponse{}, sdkerrors.Wrapf(types.ErrPermissionSubstationPlayerConnect, "Calling player (%s) has no Energy Management permissions on target (%s) ", player.Id, targetPlayerId) } } diff --git a/x/structs/keeper/planet_cache.go b/x/structs/keeper/planet_cache.go index 630fb0bb..3b8f4e05 100644 --- a/x/structs/keeper/planet_cache.go +++ b/x/structs/keeper/planet_cache.go @@ -632,7 +632,19 @@ func (cache *PlanetCache) BuildInitiateReadiness(structure *types.Struct, struct sdkerrors.Wrapf(types.ErrStructAction, "Command Structs can only be built directly in the fleet") } - if (structType.Category != types.ObjectType_planet && structType.Category != types.ObjectType_fleet) { + if cache.GetOwner().GetFleet().IsAway() { + sdkerrors.Wrapf(types.ErrStructAction, "Structs cannot be built unless Fleet is On Station") + } + + if !cache.GetOwner().GetFleet().HasCommandStruct() { + return sdkerrors.Wrapf(types.ErrGridMalfunction, "Fleet (%s) needs a Command Struct before deploy", cache.GetOwner().GetFleetId()) + } + + if cache.GetOwner().GetFleet().GetCommandStruct().IsOffline() { + return sdkerrors.Wrapf(types.ErrGridMalfunction, "Fleet (%s) needs an Online Command Struct before deploy", cache.GetOwner().GetFleetId()) + } + + if (structType.Category != types.ObjectType_planet) { sdkerrors.Wrapf(types.ErrStructAction, "Struct Type cannot exist in this location (%s) ") } @@ -682,7 +694,7 @@ func (cache *PlanetCache) MoveReadiness(structure *StructCache, ambit types.Ambi sdkerrors.Wrapf(types.ErrStructAction, "Command Structs can only be built directly in the fleet") } - if (structure.GetStructType().Category != types.ObjectType_planet && structure.GetStructType().Category != types.ObjectType_fleet) { + if (structure.GetStructType().Category != types.ObjectType_planet) { sdkerrors.Wrapf(types.ErrStructAction, "Struct Type cannot exist in this location (%s) ") } diff --git a/x/structs/keeper/player.go b/x/structs/keeper/player.go index 8feff1eb..1be4eb84 100644 --- a/x/structs/keeper/player.go +++ b/x/structs/keeper/player.go @@ -218,7 +218,7 @@ func (k Keeper) DischargePlayer(ctx context.Context, playerId string) { func (k Keeper) GetPlayerInventory(ctx context.Context, primaryAddress string) (types.PlayerInventory){ playerAcc, _ := sdk.AccAddressFromBech32(primaryAddress) - storage := k.bankKeeper.SpendableCoin(ctx, playerAcc, "alpha") + storage := k.bankKeeper.SpendableCoin(ctx, playerAcc, "ualpha") return types.PlayerInventory{Rocks: storage} diff --git a/x/structs/keeper/player_cache.go b/x/structs/keeper/player_cache.go index 7754f231..e6da496c 100644 --- a/x/structs/keeper/player_cache.go +++ b/x/structs/keeper/player_cache.go @@ -21,10 +21,16 @@ type PlayerCache struct { Ready bool + Halted bool + HaltLoaded bool + HaltChanged bool + PlayerLoaded bool PlayerChanged bool Player types.Player + ActiveAddress string + PlanetLoaded bool Planet *PlanetCache @@ -101,10 +107,13 @@ func (k *Keeper) GetPlayerCacheFromAddress(ctx context.Context, address string) index := k.GetPlayerIndexFromAddress(ctx, address) if (index == 0) { - return PlayerCache{}, sdkerrors.Wrapf(types.ErrObjectNotFound, "Player Account Not Found") + return PlayerCache{ActiveAddress: address}, sdkerrors.Wrapf(types.ErrObjectNotFound, "Player Account Not Found") } - return k.GetPlayerCacheFromId(ctx, GetObjectID(types.ObjectType_player, index)) + player, err := k.GetPlayerCacheFromId(ctx, GetObjectID(types.ObjectType_player, index)) + player.SetActiveAddress(address) + + return player, err } func (cache *PlayerCache) Commit() () { @@ -231,6 +240,11 @@ func (cache *PlayerCache) LoadStoredOre() { cache.StoredOreLoaded = true } +func (cache *PlayerCache) LoadHalted() { + cache.Halted = cache.K.IsPlayerHalted(cache.Ctx, cache.GetPlayerId()) + cache.HaltLoaded = true +} + func (cache *PlayerCache) GetPlayer() (types.Player, error) { if (!cache.PlayerLoaded) { @@ -246,6 +260,8 @@ func (cache *PlayerCache) GetPlayer() (types.Player, error) { func (cache *PlayerCache) GetPlayerId() (string) { return cache.PlayerId } func (cache *PlayerCache) GetPrimaryAddress() (string) { if (!cache.PlayerLoaded) { cache.LoadPlayer() }; return cache.Player.PrimaryAddress } +func (cache *PlayerCache) GetPrimaryAccount() (sdk.AccAddress) { acc, _ := sdk.AccAddressFromBech32(cache.GetPrimaryAddress()); return acc } +func (cache *PlayerCache) GetActiveAddress() (string) { return cache.ActiveAddress } func (cache *PlayerCache) GetSubstationId() (string) { if (!cache.PlayerLoaded) { cache.LoadPlayer() }; return cache.Player.SubstationId } func (cache *PlayerCache) GetIndex() (uint64) { if (!cache.PlayerLoaded) { cache.LoadPlayer() }; return cache.Player.Index } @@ -256,6 +272,9 @@ func (cache *PlayerCache) GetFleetId() (string) { if (!cache.PlayerLoade func (cache *PlayerCache) GetPlanet() (*PlanetCache) { if (!cache.PlanetLoaded) { cache.LoadPlanet() }; return cache.Planet } func (cache *PlayerCache) GetPlanetId() (string) { if (!cache.PlayerLoaded) { cache.LoadPlayer() }; return cache.Player.PlanetId } +func (cache *PlayerCache) GetGuildId() (string) { if (!cache.PlayerLoaded) { cache.LoadPlayer() }; return cache.Player.GuildId } + + func (cache *PlayerCache) GetStoredOre() (uint64) { if (!cache.StoredOreLoaded) { cache.LoadStoredOre() }; return cache.StoredOre } func (cache *PlayerCache) GetLoad() (uint64) { if (!cache.LoadLoaded) { cache.LoadLoad() }; return cache.Load } func (cache *PlayerCache) GetStructsLoad() (uint64) { if (!cache.StructsLoadLoaded) { cache.LoadStructsLoad() }; return cache.StructsLoad } @@ -348,6 +367,12 @@ func (cache *PlayerCache) Discharge() { cache.Changed() } + +func (cache *PlayerCache) SetActiveAddress(address string) { + cache.ActiveAddress = address +} + + func (cache *PlayerCache) SetPlanetId(planetId string) { if (!cache.PlayerLoaded) { cache.LoadPlayer() } @@ -377,13 +402,18 @@ func (cache *PlayerCache) SetPrimaryAddress(address string) { func (cache *PlayerCache) DepositRefinedAlpha() { // Got this far, let's reward the player with some fresh Alpha // Mint the new Alpha to the module - newAlpha, _ := sdk.ParseCoinsNormalized("1alpha") + newAlpha, _ := sdk.ParseCoinsNormalized("1000000ualpha") cache.K.bankKeeper.MintCoins(cache.Ctx, types.ModuleName, newAlpha) // Transfer the refined Alpha to the player playerAcc, _ := sdk.AccAddressFromBech32(cache.GetPrimaryAddress()) cache.K.bankKeeper.SendCoinsFromModuleToAccount(cache.Ctx, types.ModuleName, playerAcc, newAlpha) } +func (cache *PlayerCache) IsHalted() (bool){ + if (!cache.HaltLoaded) { cache.LoadHalted() }; + return cache.Halted +} + func (cache *PlayerCache) IsOnline() (online bool){ if ((cache.GetLoad() + cache.GetStructsLoad()) <= (cache.GetCapacity() + cache.GetCapacitySecondary())) { @@ -398,6 +428,10 @@ func (cache *PlayerCache) IsOffline() (bool){ return !cache.IsOnline() } +func (cache *PlayerCache) HasPlayerAccount() (bool){ + return cache.PlayerId != "" +} + func (cache *PlayerCache) HasPlanet() (bool){ return (cache.GetPlanetId() != "") } @@ -411,6 +445,11 @@ func (cache *PlayerCache) CanBePlayedBy(address string) (err error) { return cache.CanBeAdministratedBy(address, types.PermissionPlay) } +func (cache *PlayerCache) CanBeUpdatedBy(address string) (err error) { + return cache.CanBeAdministratedBy(address, types.PermissionUpdate) +} + + func (cache *PlayerCache) CanBeAdministratedBy(address string, permission types.Permission) (err error) { // Make sure the address calling this has request permissions @@ -461,4 +500,25 @@ func (cache *PlayerCache) CanSupportLoadAddition(additionalLoad uint64) (bool) { } return ((totalCapacity - totalLoad) >= additionalLoad) -} \ No newline at end of file +} + + +/* + Permanent without the need for commit. + Would rather it was consistent but should be ok. +*/ +func (cache *PlayerCache) Halt() () { + cache.K.PlayerHalt(cache.Ctx, cache.GetPlayerId()) + cache.Halted = true + cache.HaltLoaded = true +} + +/* + Permanent without the need for commit. + Would rather it was consistent but should be ok. +*/ +func (cache *PlayerCache) Resume() { + cache.K.PlayerResume(cache.Ctx, cache.GetPlayerId()) + cache.Halted = false + cache.HaltLoaded = true +} diff --git a/x/structs/keeper/player_halt.go b/x/structs/keeper/player_halt.go new file mode 100644 index 00000000..bf73c8bf --- /dev/null +++ b/x/structs/keeper/player_halt.go @@ -0,0 +1,64 @@ +package keeper + +import ( + "encoding/binary" + "context" + + "github.com/cosmos/cosmos-sdk/runtime" + "cosmossdk.io/store/prefix" + storetypes "cosmossdk.io/store/types" + sdk "github.com/cosmos/cosmos-sdk/types" + "structs/x/structs/types" +) + +func (k Keeper) PlayerHalt(ctx context.Context, playerId string) (err error) { + playerHaltStore := prefix.NewStore(runtime.KVStoreAdapter(k.storeService.OpenKVStore(ctx)), types.KeyPrefix(types.PlayerHaltKey)) + + bz := make([]byte, 8) + binary.BigEndian.PutUint64(bz, 1) + + playerHaltStore.Set([]byte(playerId), bz) + + ctxSDK := sdk.UnwrapSDKContext(ctx) + _ = ctxSDK.EventManager().EmitTypedEvent(&types.EventPlayerHalted{PlayerId: playerId}) + + return err +} + +func (k Keeper) PlayerResume(ctx context.Context, playerId string) (err error) { + playerHaltStore := prefix.NewStore(runtime.KVStoreAdapter(k.storeService.OpenKVStore(ctx)), types.KeyPrefix(types.PlayerHaltKey)) + playerHaltStore.Delete([]byte(playerId)) + + ctxSDK := sdk.UnwrapSDKContext(ctx) + _ = ctxSDK.EventManager().EmitTypedEvent(&types.EventPlayerResumed{PlayerId: playerId}) + + return err +} + + +func (k Keeper) IsPlayerHalted(ctx context.Context, playerId string) (bool) { + playerHaltStore := prefix.NewStore(runtime.KVStoreAdapter(k.storeService.OpenKVStore(ctx)), types.KeyPrefix(types.PlayerHaltKey)) + bz := playerHaltStore.Get(types.KeyPrefix(playerId)) + + return bz != nil +} + + +func (k Keeper) GetAllHaltedPlayerId(ctx context.Context) (list []string) { + playerHaltStore := prefix.NewStore(runtime.KVStoreAdapter(k.storeService.OpenKVStore(ctx)), types.KeyPrefix(types.PlayerHaltKey)) + iterator := storetypes.KVStorePrefixIterator(playerHaltStore, []byte{}) + + defer iterator.Close() + + for ; iterator.Valid(); iterator.Next() { + list = append(list, string(iterator.Key())) + } + + return +} + +func (k Keeper) SetAllHaltedPlayerId(ctx context.Context, list []string) { + for _, element := range list { + k.PlayerHalt(ctx, element) + } +} \ No newline at end of file diff --git a/x/structs/keeper/provider.go b/x/structs/keeper/provider.go new file mode 100644 index 00000000..6892c5c3 --- /dev/null +++ b/x/structs/keeper/provider.go @@ -0,0 +1,191 @@ +package keeper + +import ( + "context" + "encoding/binary" + + "cosmossdk.io/store/prefix" + storetypes "cosmossdk.io/store/types" + authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" + "github.com/cosmos/cosmos-sdk/runtime" + + "structs/x/structs/types" + + sdk "github.com/cosmos/cosmos-sdk/types" + //sdkerrors "cosmossdk.io/errors" + "fmt" +) + +// GetProviderCount get the total number of provider +func (k Keeper) GetProviderCount(ctx context.Context) uint64 { + store := prefix.NewStore(runtime.KVStoreAdapter(k.storeService.OpenKVStore(ctx)), []byte{}) + byteKey := types.KeyPrefix(types.ProviderCountKey) + bz := store.Get(byteKey) + + // Count doesn't exist: no element + if bz == nil || binary.BigEndian.Uint64(bz) == 0 { + return types.KeeperStartValue + } + + // Parse bytes + return binary.BigEndian.Uint64(bz) +} + +// SetProviderCount set the total number of provider +func (k Keeper) SetProviderCount(ctx context.Context, count uint64) { + store := prefix.NewStore(runtime.KVStoreAdapter(k.storeService.OpenKVStore(ctx)), []byte{}) + byteKey := types.KeyPrefix(types.ProviderCountKey) + bz := make([]byte, 8) + binary.BigEndian.PutUint64(bz, count) + store.Set(byteKey, bz) +} + +// AppendProvider appends a provider in the store with a new id +func (k Keeper) AppendProvider(ctx context.Context, provider types.Provider) (types.Provider, error) { + + // Define the provider id + count := k.GetProviderCount(ctx) + + // Set the ID of the appended value + provider.Id = GetObjectID(types.ObjectType_provider, count) + provider.Index = count + + store := prefix.NewStore(runtime.KVStoreAdapter(k.storeService.OpenKVStore(ctx)), types.KeyPrefix(types.ProviderKey)) + appendedValue := k.cdc.MustMarshal(&provider) + store.Set([]byte(provider.Id), appendedValue) + + k.SetProviderCount(ctx, count+1) + + ctxSDK := sdk.UnwrapSDKContext(ctx) + + // Set the Checkpoint to current block + k.SetGridAttribute(ctx, GetGridAttributeIDByObjectId(types.GridAttributeType_checkpointBlock, provider.Id), uint64(ctxSDK.BlockHeight())) + + // Create the Collateral Pool + fmt.Printf("Provider Collateral Pool: %s", types.ProviderCollateralPool + provider.Id) + fmt.Printf("Provider Collateral Pool: %s", authtypes.NewModuleAddress(types.ProviderCollateralPool + provider.Id)) + + providerCollateralAddress := authtypes.NewModuleAddress(types.ProviderCollateralPool + provider.Id) + providerCollateralAccount := k.accountKeeper.NewAccountWithAddress(ctx, providerCollateralAddress) + k.accountKeeper.SetAccount(ctx, providerCollateralAccount) + + // Create the Earnings Pool + fmt.Printf("Provider Earnings Pool: %s", types.ProviderEarningsPool + provider.Id) + fmt.Printf("Provider Earnings Pool: %s", authtypes.NewModuleAddress(types.ProviderEarningsPool + provider.Id)) + + providerEarningsAddress := authtypes.NewModuleAddress(types.ProviderEarningsPool + provider.Id) + providerEarningsAccount := k.accountKeeper.NewAccountWithAddress(ctx, providerEarningsAddress) + k.accountKeeper.SetAccount(ctx, providerEarningsAccount) + + _ = ctxSDK.EventManager().EmitTypedEvent(&types.EventProvider{Provider: &provider}) + + return provider, nil +} + +func (k Keeper) SetProvider(ctx context.Context, provider types.Provider) (types.Provider, error) { + + store := prefix.NewStore(runtime.KVStoreAdapter(k.storeService.OpenKVStore(ctx)), types.KeyPrefix(types.ProviderKey)) + b := k.cdc.MustMarshal(&provider) + store.Set([]byte(provider.Id), b) + + ctxSDK := sdk.UnwrapSDKContext(ctx) + _ = ctxSDK.EventManager().EmitTypedEvent(&types.EventProvider{Provider: &provider}) + + return provider, nil + +} + +// ImportProvider set a specific provider in the store +// Assumes Grid updates happen elsewhere +func (k Keeper) ImportProvider(ctx context.Context, provider types.Provider) { + + store := prefix.NewStore(runtime.KVStoreAdapter(k.storeService.OpenKVStore(ctx)), types.KeyPrefix(types.ProviderKey)) + b := k.cdc.MustMarshal(&provider) + store.Set([]byte(provider.Id), b) + + ctxSDK := sdk.UnwrapSDKContext(ctx) + _ = ctxSDK.EventManager().EmitTypedEvent(&types.EventProvider{Provider: &provider}) +} + +// RemoveProvider removes a provider from the store +func (k Keeper) RemoveProvider(ctx context.Context, providerId string) { + store := prefix.NewStore(runtime.KVStoreAdapter(k.storeService.OpenKVStore(ctx)), types.KeyPrefix(types.ProviderKey)) + store.Delete([]byte(providerId)) + + ctxSDK := sdk.UnwrapSDKContext(ctx) + _ = ctxSDK.EventManager().EmitTypedEvent(&types.EventDelete{ObjectId: providerId}) +} + +// DestroyProvider updates grid attributes before calling RemoveProvider +func (k Keeper) DestroyProvider(ctx context.Context, providerId string) (destroyed bool) { + provider, providerFound := k.GetProvider(ctx, providerId) + + _ = provider + if providerFound { + destroyed = true + } else { + destroyed = false + } + + return +} + +// GetProvider returns a provider from its id +func (k Keeper) GetProvider(ctx context.Context, providerId string) (val types.Provider, found bool) { + store := prefix.NewStore(runtime.KVStoreAdapter(k.storeService.OpenKVStore(ctx)), types.KeyPrefix(types.ProviderKey)) + b := store.Get([]byte(providerId)) + if b == nil { + return val, false + } + k.cdc.MustUnmarshal(b, &val) + + return val, true +} + +// GetAllProvider returns all provider +func (k Keeper) GetAllProvider(ctx context.Context) (list []types.Provider) { + store := prefix.NewStore(runtime.KVStoreAdapter(k.storeService.OpenKVStore(ctx)), types.KeyPrefix(types.ProviderKey)) + iterator := storetypes.KVStorePrefixIterator(store, []byte{}) + + defer iterator.Close() + + for ; iterator.Valid(); iterator.Next() { + var val types.Provider + k.cdc.MustUnmarshal(iterator.Value(), &val) + + list = append(list, val) + } + + return +} + + + +func (k Keeper) ProviderGrantGuild(ctx context.Context, providerId string, guildId string) { + store := prefix.NewStore(runtime.KVStoreAdapter(k.storeService.OpenKVStore(ctx)), []byte{}) + byteKey := types.KeyPrefix(types.ProviderGuildAccessKey + providerId + "/" + guildId) + bz := make([]byte, 8) + binary.BigEndian.PutUint64(bz, 1) + store.Set(byteKey, bz) + + ctxSDK := sdk.UnwrapSDKContext(ctx) + _ = ctxSDK.EventManager().EmitTypedEvent(&types.EventProviderGrantGuild{&types.EventProviderGrantGuildDetail{ProviderId: providerId, GuildId: guildId}}) + +} + +func (k Keeper) ProviderRevokeGuild(ctx context.Context, providerId string, guildId string) { + store := prefix.NewStore(runtime.KVStoreAdapter(k.storeService.OpenKVStore(ctx)), types.KeyPrefix(types.ProviderKey)) + store.Delete(types.KeyPrefix(types.ProviderGuildAccessKey + providerId + "/" + guildId)) + + ctxSDK := sdk.UnwrapSDKContext(ctx) + _ = ctxSDK.EventManager().EmitTypedEvent(&types.EventProviderRevokeGuild{&types.EventProviderRevokeGuildDetail{ProviderId: providerId, GuildId: guildId}}) +} + +func (k Keeper) ProviderGuildAccessAllowed(ctx context.Context, providerId string, guildId string) (bool) { + store := prefix.NewStore(runtime.KVStoreAdapter(k.storeService.OpenKVStore(ctx)), []byte{}) + byteKey := types.KeyPrefix(types.ProviderGuildAccessKey + providerId + "/" + guildId) + bz := store.Get(byteKey) + + // doesn't exist: no element + return bz != nil && binary.BigEndian.Uint64(bz) != 0 +} \ No newline at end of file diff --git a/x/structs/keeper/provider_cache.go b/x/structs/keeper/provider_cache.go new file mode 100644 index 00000000..a7031d01 --- /dev/null +++ b/x/structs/keeper/provider_cache.go @@ -0,0 +1,451 @@ +package keeper + +import ( + "context" + + "structs/x/structs/types" + sdk "github.com/cosmos/cosmos-sdk/types" + sdkerrors "cosmossdk.io/errors" + + // Used in Randomness Orb + + "fmt" + "cosmossdk.io/math" + authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" +) + +type ProviderCache struct { + ProviderId string + K *Keeper + Ctx context.Context + + AnyChange bool + + Ready bool + + ProviderLoaded bool + ProviderChanged bool + Provider types.Provider + + OwnerLoaded bool + Owner *PlayerCache + + SubstationLoaded bool + Substation *SubstationCache + + CheckpointBlockAttributeId string + CheckpointBlock uint64 + CheckpointBlockLoaded bool + CheckpointBlockChanged bool + + AgreementLoadAttributeId string + AgreementLoad uint64 + AgreementLoadLoaded bool + AgreementLoadChanged bool + + // AgreementCache[] + +} + +// Build this initial Provider Cache object +func (k *Keeper) GetProviderCacheFromId(ctx context.Context, providerId string) ProviderCache { + return ProviderCache{ + ProviderId: providerId, + K: k, + Ctx: ctx, + + AnyChange: false, + + OwnerLoaded: false, + + ProviderLoaded: false, + ProviderChanged: false, + + CheckpointBlockAttributeId: GetGridAttributeIDByObjectId(types.GridAttributeType_checkpointBlock, providerId), + + AgreementLoadAttributeId: GetGridAttributeIDByObjectId(types.GridAttributeType_load, providerId), + } +} + +func (cache *ProviderCache) Commit() { + cache.AnyChange = false + + fmt.Printf("\n Updating Provider From Cache (%s) \n", cache.ProviderId) + + if cache.ProviderChanged { + cache.K.SetProvider(cache.Ctx, cache.Provider) + cache.ProviderChanged = false + } + + if cache.Substation != nil && cache.GetSubstation().IsChanged() { + cache.GetSubstation().Commit() + } + + if cache.Owner != nil && cache.GetOwner().IsChanged() { + cache.GetOwner().Commit() + } + + if (cache.CheckpointBlockChanged) { + cache.K.SetGridAttribute(cache.Ctx, cache.CheckpointBlockAttributeId, cache.CheckpointBlock) + cache.CheckpointBlockChanged = false + } + + if (cache.AgreementLoadChanged) { + cache.K.SetGridAttribute(cache.Ctx, cache.AgreementLoadAttributeId, cache.AgreementLoad) + cache.AgreementLoadChanged = false + } + +} + +func (cache *ProviderCache) IsChanged() bool { + return cache.AnyChange +} + +func (cache *ProviderCache) Changed() { + cache.AnyChange = true +} + +/* Separate Loading functions for each of the underlying containers */ + +// Load the Player data +func (cache *ProviderCache) LoadOwner() bool { + newOwner, _ := cache.K.GetPlayerCacheFromId(cache.Ctx, cache.GetOwnerId()) + cache.Owner = &newOwner + cache.OwnerLoaded = true + return cache.OwnerLoaded +} + +func (cache *ProviderCache) ManualLoadOwner(owner *PlayerCache) { + cache.Owner = owner + cache.OwnerLoaded = true +} + +// Load the Provider record +func (cache *ProviderCache) LoadProvider() { + provider, providerFound := cache.K.GetProvider(cache.Ctx, cache.ProviderId) + + if providerFound { + cache.Provider = provider + cache.ProviderLoaded = true + } +} + +// Load the Substation data +func (cache *ProviderCache) LoadSubstation() bool { + newSubstation := cache.K.GetSubstationCacheFromId(cache.Ctx, cache.GetSubstationId()) + cache.Substation = &newSubstation + cache.SubstationLoaded = true + return cache.SubstationLoaded +} + +func (cache *ProviderCache) LoadCheckpointBlock() { + cache.CheckpointBlock = cache.K.GetGridAttribute(cache.Ctx, cache.CheckpointBlockAttributeId) + cache.CheckpointBlockLoaded = true +} + +func (cache *ProviderCache) LoadAgreementLoad() { + cache.AgreementLoad = cache.K.GetGridAttribute(cache.Ctx, cache.AgreementLoadAttributeId) + cache.AgreementLoadLoaded = true +} + + + +/* Getters + * These will always perform a Load first on the appropriate data if it hasn't occurred yet. + */ + + +func (cache *ProviderCache) GetProvider() types.Provider { if !cache.ProviderLoaded { cache.LoadProvider() }; return cache.Provider } +func (cache *ProviderCache) GetProviderId() string { return cache.ProviderId } + + +// Get the Owner data +func (cache *ProviderCache) GetOwnerId() string { if !cache.ProviderLoaded { cache.LoadProvider() }; return cache.Provider.Owner } +func (cache *ProviderCache) GetOwner() *PlayerCache { if !cache.OwnerLoaded { cache.LoadOwner() }; return cache.Owner } + +func (cache *ProviderCache) GetSubstationId() string { if !cache.ProviderLoaded { cache.LoadProvider() }; return cache.Provider.SubstationId } +func (cache *ProviderCache) GetSubstation() *SubstationCache {if !cache.SubstationLoaded { cache.LoadSubstation() }; return cache.Substation } + +func (cache *ProviderCache) GetRate() sdk.Coin { if !cache.ProviderLoaded { cache.LoadProvider() }; return cache.Provider.Rate } + +func (cache *ProviderCache) GetAccessPolicy() types.ProviderAccessPolicy { if !cache.ProviderLoaded { cache.LoadProvider() }; return cache.Provider.AccessPolicy } + +func (cache *ProviderCache) GetCapacityMinimum() uint64 { if !cache.ProviderLoaded { cache.LoadProvider() }; return cache.Provider.CapacityMinimum } +func (cache *ProviderCache) GetCapacityMaximum() uint64 { if !cache.ProviderLoaded { cache.LoadProvider() }; return cache.Provider.CapacityMaximum } +func (cache *ProviderCache) GetDurationMinimum() uint64 { if !cache.ProviderLoaded { cache.LoadProvider() }; return cache.Provider.DurationMinimum } +func (cache *ProviderCache) GetDurationMaximum() uint64 { if !cache.ProviderLoaded { cache.LoadProvider() }; return cache.Provider.DurationMaximum } + +func (cache *ProviderCache) GetProviderCancellationPenalty() math.LegacyDec { if !cache.ProviderLoaded { cache.LoadProvider() }; return cache.Provider.ProviderCancellationPenalty } +func (cache *ProviderCache) GetConsumerCancellationPenalty() math.LegacyDec { if !cache.ProviderLoaded { cache.LoadProvider() }; return cache.Provider.ConsumerCancellationPenalty } + +func (cache *ProviderCache) GetCreator() string { if !cache.ProviderLoaded { cache.LoadProvider() }; return cache.Provider.Creator } + +func (cache *ProviderCache) GetAgreementLoad() uint64 { if !cache.AgreementLoadLoaded { cache.LoadAgreementLoad() }; return cache.AgreementLoad } +func (cache *ProviderCache) GetCheckpointBlock() uint64 { if !cache.CheckpointBlockLoaded { cache.LoadCheckpointBlock() }; return cache.CheckpointBlock } + +func (cache *ProviderCache) GetCollateralPoolLocation() sdk.AccAddress { return authtypes.NewModuleAddress(types.ProviderCollateralPool + cache.GetProviderId()) } +func (cache *ProviderCache) GetEarningsPoolLocation() sdk.AccAddress { return authtypes.NewModuleAddress(types.ProviderEarningsPool + cache.GetProviderId()) } + +func (cache *ProviderCache) AgreementVerify(capacity uint64, duration uint64) (error) { + // min < capacity < max + if cache.GetCapacityMinimum() > capacity { + return sdkerrors.Wrapf(types.ErrInvalidParameters, "Capacity (%d) cannot be lower than Minimum Capacity (%d)", capacity, cache.GetCapacityMinimum()) + } + if capacity > cache.GetCapacityMaximum() { + return sdkerrors.Wrapf(types.ErrInvalidParameters, "Capacity (%d) cannot be greater than Maximum Capacity (%d)", capacity, cache.GetCapacityMaximum()) + } + + // min < duration < max + if cache.GetDurationMinimum() > duration { + return sdkerrors.Wrapf(types.ErrInvalidParameters, "Duration (%d) cannot be lower than Minimum Duration (%d)", duration, cache.GetDurationMinimum()) + } + if duration > cache.GetDurationMaximum() { + return sdkerrors.Wrapf(types.ErrInvalidParameters, "Duration (%d) cannot be greater than Maximum Duration (%d)", duration, cache.GetDurationMaximum()) + } + + // Can the Substation support the added capacity + substation := cache.K.GetSubstationCacheFromId(cache.Ctx, cache.GetSubstationId()) + if capacity > substation.GetAvailableCapacity(){ + return sdkerrors.Wrapf(types.ErrInvalidParameters, "Desired Capacity (%d) is beyond what the Substation (%s) can support (%d) for this Provider (%s)", capacity, substation.GetSubstationId(), substation.GetAvailableCapacity(), cache.GetProviderId()) + } + + return nil + +} + + +/* Permissions */ + +// Delete Permission +func (cache *ProviderCache) CanDelete(activePlayer *PlayerCache) (error) { + return cache.PermissionCheck(types.PermissionDelete, activePlayer) +} + +// Update Permission +func (cache *ProviderCache) CanUpdate(activePlayer *PlayerCache) (error) { + return cache.PermissionCheck(types.PermissionUpdate, activePlayer) +} + +// Assets Permission +func (cache *ProviderCache) CanWithdrawBalance(activePlayer *PlayerCache) (error) { + return cache.PermissionCheck(types.PermissionAssets, activePlayer) +} + + +func (cache *ProviderCache) PermissionCheck(permission types.Permission, activePlayer *PlayerCache) (error) { + // Make sure the address calling this has permissions + if (!cache.K.PermissionHasOneOf(cache.Ctx, GetAddressPermissionIDBytes(activePlayer.GetActiveAddress()), permission)) { + return sdkerrors.Wrapf(types.ErrPermission, "Calling address (%s) has no (%d) permissions ", activePlayer.GetActiveAddress(), permission) + } + + if !activePlayer.HasPlayerAccount() { + return sdkerrors.Wrapf(types.ErrPermission, "Calling address (%s) has no Account", activePlayer.GetActiveAddress()) + } else { + if (activePlayer.GetPlayerId() != cache.GetOwnerId()) { + if (!cache.K.PermissionHasOneOf(cache.Ctx, GetObjectPermissionIDBytes(cache.GetProviderId(), activePlayer.GetPlayerId()), permission)) { + return sdkerrors.Wrapf(types.ErrPermission, "Calling account (%s) has no (%d) permissions on target provider (%s)", activePlayer.GetPlayerId(), permission, cache.GetProviderId()) + } + } + } + return nil +} + +func (cache *ProviderCache) CanOpenAgreement(activePlayer *PlayerCache) (error) { + + if cache.GetAccessPolicy() == types.ProviderAccessPolicy_openMarket { + if !activePlayer.HasPlayerAccount() { + return sdkerrors.Wrapf(types.ErrPermission, "Calling address (%s) has no Account", activePlayer.GetActiveAddress()) + } + + } else if cache.GetAccessPolicy() == types.ProviderAccessPolicy_guildMarket { + if !cache.K.ProviderGuildAccessAllowed(cache.Ctx, cache.GetProviderId(), activePlayer.GetGuildId()) { + return sdkerrors.Wrapf(types.ErrPermission, "Calling account (%s) is not a member of an approved guild (%s)", activePlayer.GetPlayerId(), activePlayer.GetGuildId()) + } + + } else if cache.GetAccessPolicy() == types.ProviderAccessPolicy_closedMarket { + return sdkerrors.Wrapf(types.ErrPermission, "Provider (%s) is not accepting new Agreements", cache.GetProviderId()) + + } else { + return sdkerrors.Wrapf(types.ErrPermission, "We're not really sure why it's not allowed, but it isn't. Pls tell an adult") + } + + return nil +} + +/* Committing Setters */ + +func (cache *ProviderCache) WithdrawBalanceAndCommit(destinationAddress string) (error) { + + destinationAcc, errParam := sdk.AccAddressFromBech32(destinationAddress) + if errParam != nil { + return errParam + } + + // First handle the balances available via checkpoint + uctx := sdk.UnwrapSDKContext(cache.Ctx) + currentBlock := uint64(uctx.BlockHeight()) + blockDifference := currentBlock - cache.GetCheckpointBlock() + + blocks := math.LegacyNewDecFromInt(math.NewIntFromUint64(blockDifference)) + rate := math.LegacyNewDecFromInt(cache.GetRate().Amount) + load := math.LegacyNewDecFromInt(math.NewIntFromUint64(cache.GetAgreementLoad())) + + prePenaltyDeductionAmount := blocks.Mul(rate).Mul(load) + penaltyDeductionAmount := prePenaltyDeductionAmount.Mul(cache.GetProviderCancellationPenalty()) + + finalWithdrawBalance := prePenaltyDeductionAmount.Sub(penaltyDeductionAmount).TruncateInt() + + withdrawAmountCoin := sdk.NewCoins(sdk.NewCoin(cache.GetRate().Denom, finalWithdrawBalance)) + + errSend := cache.K.bankKeeper.SendCoins(cache.Ctx, cache.GetCollateralPoolLocation(), destinationAcc, withdrawAmountCoin) + if errSend != nil { + return errSend + } + + cache.SetCheckpointBlock(currentBlock) + + // Now handle the value available in the Earnings pool + // Get Balance + earningsBalances := cache.K.bankKeeper.SpendableCoins(cache.Ctx, cache.GetEarningsPoolLocation()) + // Transfer + errSend = cache.K.bankKeeper.SendCoins(cache.Ctx, cache.GetEarningsPoolLocation(), destinationAcc, earningsBalances) + if errSend != nil { + return errSend + } + + cache.Commit() + + return nil +} + + + +func (cache *ProviderCache) GrantGuildsAndCommit(guildIdSet []string) (error) { + for _, guildId := range guildIdSet { + _, found := cache.K.GetGuild(cache.Ctx, guildId) + if !found { + return sdkerrors.Wrapf(types.ErrObjectNotFound, "Guild ID (%s) not found ", guildId) + } + cache.K.ProviderGrantGuild(cache.Ctx, cache.GetProviderId(), guildId) + } + return nil +} + +func (cache *ProviderCache) RevokeGuildsAndCommit(guildIdSet []string) (error) { + for _, guildId := range guildIdSet { + cache.K.ProviderRevokeGuild(cache.Ctx, cache.GetProviderId(), guildId) + } + return nil +} + +func (cache *ProviderCache) DeleteAndCommit() (error) { + + // Get List of Agreements + agreements := cache.K.GetAllAgreementIdByProviderIndex(cache.Ctx, cache.GetProviderId()) + for _, agreementId := range agreements { + agreement := cache.K.GetAgreementCacheFromId(cache.Ctx, agreementId) + agreement.ManualLoadProvider(cache) + agreement.PrematureCloseByProvider() + } + + return nil +} + +/* Setters - SET DOES NOT COMMIT() + */ + + +func (cache *ProviderCache) ResetCheckpointBlock() { + uctx := sdk.UnwrapSDKContext(cache.Ctx) + cache.CheckpointBlock = uint64(uctx.BlockHeight()) + cache.CheckpointBlockLoaded = true + cache.CheckpointBlockChanged = true + cache.Changed() +} + +func (cache *ProviderCache) SetCheckpointBlock(block uint64) { + cache.CheckpointBlock = block + cache.CheckpointBlockLoaded = true + cache.CheckpointBlockChanged = true + cache.Changed() +} + +func (cache *ProviderCache) AgreementLoadIncrease(amount uint64) { + cache.AgreementLoad = cache.GetAgreementLoad() + amount + cache.AgreementLoadChanged = true +} + +func (cache *ProviderCache) AgreementLoadDecrease(amount uint64) { + if amount > cache.GetAgreementLoad() { + cache.AgreementLoad = 0 + } else { + cache.AgreementLoad = cache.GetAgreementLoad() - amount + } + cache.AgreementLoadChanged = true +} + +func (cache *ProviderCache) SetAccessPolicy(accessPolicy types.ProviderAccessPolicy) { + cache.Provider.SetAccessPolicy(accessPolicy) + cache.Changed() +} + +func (cache *ProviderCache) SetCapacityMaximum(maximum uint64) (error){ + paramError := cache.Provider.SetCapacityMaximum(maximum) + if paramError != nil { + cache.Changed() + } + return paramError +} + +func (cache *ProviderCache) SetCapacityMinimum(minimum uint64) (error){ + paramError := cache.Provider.SetCapacityMinimum(minimum) + if paramError != nil { + cache.Changed() + } + return paramError +} + +func (cache *ProviderCache) SetDurationMaximum(maximum uint64) (error){ + paramError := cache.Provider.SetDurationMaximum(maximum) + if paramError != nil { + cache.Changed() + } + return paramError +} + +func (cache *ProviderCache) SetDurationMinimum(minimum uint64) (error){ + paramError := cache.Provider.SetDurationMinimum(minimum) + if paramError != nil { + cache.Changed() + } + return paramError +} + + +func (cache *ProviderCache) Checkpoint() (error) { + + // First handle the balances available via checkpoint + uctx := sdk.UnwrapSDKContext(cache.Ctx) + currentBlock := uint64(uctx.BlockHeight()) + blockDifference := currentBlock - cache.GetCheckpointBlock() + + blocks := math.LegacyNewDecFromInt(math.NewIntFromUint64(blockDifference)) + rate := math.LegacyNewDecFromInt(cache.GetRate().Amount) + load := math.LegacyNewDecFromInt(math.NewIntFromUint64(cache.GetAgreementLoad())) + + prePenaltyDeductionAmount := blocks.Mul(rate).Mul(load) + penaltyDeductionAmount := prePenaltyDeductionAmount.Mul(cache.GetProviderCancellationPenalty()) + + checkpointBalance := prePenaltyDeductionAmount.Sub(penaltyDeductionAmount).TruncateInt() + + checkpointBalanceCoin := sdk.NewCoins(sdk.NewCoin(cache.GetRate().Denom, checkpointBalance)) + + errSend := cache.K.bankKeeper.SendCoins(cache.Ctx, cache.GetCollateralPoolLocation(), cache.GetEarningsPoolLocation(), checkpointBalanceCoin) + if errSend != nil { + return errSend + } + + cache.SetCheckpointBlock(currentBlock) + + return nil +} diff --git a/x/structs/keeper/query_agreement.go b/x/structs/keeper/query_agreement.go new file mode 100644 index 00000000..5cc3747e --- /dev/null +++ b/x/structs/keeper/query_agreement.go @@ -0,0 +1,85 @@ +package keeper + +import ( + "context" + + "github.com/cosmos/cosmos-sdk/runtime" + "cosmossdk.io/store/prefix" + sdk "github.com/cosmos/cosmos-sdk/types" + //sdkerrors "cosmossdk.io/errors" + "github.com/cosmos/cosmos-sdk/types/query" + "google.golang.org/grpc/codes" + "google.golang.org/grpc/status" + "structs/x/structs/types" +) + +func (k Keeper) AgreementAll(goCtx context.Context, req *types.QueryAllAgreementRequest) (*types.QueryAllAgreementResponse, error) { + if req == nil { + return nil, status.Error(codes.InvalidArgument, "invalid request") + } + + var agreements []types.Agreement + ctx := sdk.UnwrapSDKContext(goCtx) + + store := runtime.KVStoreAdapter(k.storeService.OpenKVStore(ctx)) + agreementStore := prefix.NewStore(store, types.KeyPrefix(types.AgreementKey)) + + pageRes, err := query.Paginate(agreementStore, req.Pagination, func(key []byte, value []byte) error { + var agreement types.Agreement + if err := k.cdc.Unmarshal(value, &agreement); err != nil { + return err + } + + agreements = append(agreements, agreement) + return nil + }) + + if err != nil { + return nil, status.Error(codes.Internal, err.Error()) + } + + return &types.QueryAllAgreementResponse{Agreement: agreements, Pagination: pageRes}, nil +} + +func (k Keeper) Agreement(goCtx context.Context, req *types.QueryGetAgreementRequest) (*types.QueryGetAgreementResponse, error) { + if req == nil { + return nil, status.Error(codes.InvalidArgument, "invalid request") + } + + ctx := sdk.UnwrapSDKContext(goCtx) + agreement, found := k.GetAgreement(ctx, req.Id) + if !found { + return nil, types.ErrObjectNotFound + } + + return &types.QueryGetAgreementResponse{Agreement: agreement}, nil +} + +func (k Keeper) AgreementAllByProvider(goCtx context.Context, req *types.QueryAllAgreementByProviderRequest) (*types.QueryAllAgreementResponse, error) { + if req == nil { + return nil, status.Error(codes.InvalidArgument, "invalid request") + } + + var agreements []types.Agreement + ctx := sdk.UnwrapSDKContext(goCtx) + + store := runtime.KVStoreAdapter(k.storeService.OpenKVStore(ctx)) + agreementStore := prefix.NewStore(store, AgreementProviderKeyPrefix(req.ProviderId)) + + pageRes, err := query.Paginate(agreementStore, req.Pagination, func(key []byte, value []byte) error { + agreement, found := k.GetAgreement(ctx, string(key)) + + if found { + agreements = append(agreements, agreement) + } + + return nil + }) + + if err != nil { + return nil, status.Error(codes.Internal, err.Error()) + } + + return &types.QueryAllAgreementResponse{Agreement: agreements, Pagination: pageRes}, nil +} + diff --git a/x/structs/keeper/query_guild.go b/x/structs/keeper/query_guild.go index bff76876..bb0216d9 100644 --- a/x/structs/keeper/query_guild.go +++ b/x/structs/keeper/query_guild.go @@ -15,6 +15,7 @@ import ( //"encoding/binary" //"strings" //"strconv" + authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" ) func (k Keeper) GuildAll(goCtx context.Context, req *types.QueryAllGuildRequest) (*types.QueryAllGuildResponse, error) { @@ -103,4 +104,51 @@ func (k Keeper) GuildMembershipApplicationAll(goCtx context.Context, req *types. } return &types.QueryAllGuildMembershipApplicationResponse{GuildMembershipApplication: guildMembershipApplications, Pagination: pageRes}, nil -} \ No newline at end of file +} + +func (k Keeper) GuildBankCollateralAddress(goCtx context.Context, req *types.QueryGetGuildBankCollateralAddressRequest) (*types.QueryAllGuildBankCollateralAddressResponse, error) { + if req == nil { + return nil, status.Error(codes.InvalidArgument, "invalid request") + } + + var addresses []*types.InternalAddressAssociation + address := authtypes.NewModuleAddress(types.GuildBankCollateralPool + req.GuildId).String() + addressAssociation := types.InternalAddressAssociation{Address: address, ObjectId: req.GuildId} + addresses = append(addresses, &addressAssociation) + + return &types.QueryAllGuildBankCollateralAddressResponse{InternalAddressAssociation: addresses}, nil +} + + +func (k Keeper) GuildBankCollateralAddressAll(goCtx context.Context, req *types.QueryAllGuildBankCollateralAddressRequest) (*types.QueryAllGuildBankCollateralAddressResponse, error) { + if req == nil { + return nil, status.Error(codes.InvalidArgument, "invalid request") + } + + var addresses []*types.InternalAddressAssociation + ctx := sdk.UnwrapSDKContext(goCtx) + + store := runtime.KVStoreAdapter(k.storeService.OpenKVStore(ctx)) + guildStore := prefix.NewStore(store, types.KeyPrefix(types.GuildKey)) + + pageRes, err := query.Paginate(guildStore, req.Pagination, func(key []byte, value []byte) error { + var guild types.Guild + if err := k.cdc.Unmarshal(value, &guild); err != nil { + return err + } + + address := authtypes.NewModuleAddress(types.GuildBankCollateralPool + guild.Id).String() + addressAssociation := types.InternalAddressAssociation{Address: address, ObjectId: guild.Id} + addresses = append(addresses, &addressAssociation) + + return nil + }) + + if err != nil { + return nil, status.Error(codes.Internal, err.Error()) + } + + return &types.QueryAllGuildBankCollateralAddressResponse{InternalAddressAssociation: addresses, Pagination: pageRes}, nil +} + + diff --git a/x/structs/keeper/query_player.go b/x/structs/keeper/query_player.go index b5901002..da2ceb72 100644 --- a/x/structs/keeper/query_player.go +++ b/x/structs/keeper/query_player.go @@ -58,6 +58,15 @@ func (k Keeper) Player(goCtx context.Context, req *types.QueryGetPlayerRequest) gridAttributes := k.GetGridAttributesByObject(ctx, req.Id) playerInventory := k.GetPlayerInventory(ctx, player.PrimaryAddress) + halted := k.IsPlayerHalted(ctx, req.Id) - return &types.QueryGetPlayerResponse{Player: player, GridAttributes: &gridAttributes, PlayerInventory: &playerInventory}, nil + return &types.QueryGetPlayerResponse{Player: player, GridAttributes: &gridAttributes, PlayerInventory: &playerInventory, Halted: halted}, nil } + + +func (k Keeper) PlayerHaltedAll(goCtx context.Context, req *types.QueryAllPlayerHaltedRequest) (*types.QueryAllPlayerHaltedResponse, error) { + ctx := sdk.UnwrapSDKContext(goCtx) + playerIds := k.GetAllHaltedPlayerId(ctx) + + return &types.QueryAllPlayerHaltedResponse{PlayerId: playerIds}, nil +} \ No newline at end of file diff --git a/x/structs/keeper/query_provider.go b/x/structs/keeper/query_provider.go new file mode 100644 index 00000000..5f95cd71 --- /dev/null +++ b/x/structs/keeper/query_provider.go @@ -0,0 +1,153 @@ +package keeper + +import ( + "context" + + "github.com/cosmos/cosmos-sdk/runtime" + "cosmossdk.io/store/prefix" + sdk "github.com/cosmos/cosmos-sdk/types" + //sdkerrors "cosmossdk.io/errors" + "github.com/cosmos/cosmos-sdk/types/query" + "google.golang.org/grpc/codes" + "google.golang.org/grpc/status" + "structs/x/structs/types" + authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" +) + +func (k Keeper) ProviderAll(goCtx context.Context, req *types.QueryAllProviderRequest) (*types.QueryAllProviderResponse, error) { + if req == nil { + return nil, status.Error(codes.InvalidArgument, "invalid request") + } + + var providers []types.Provider + ctx := sdk.UnwrapSDKContext(goCtx) + + store := runtime.KVStoreAdapter(k.storeService.OpenKVStore(ctx)) + providerStore := prefix.NewStore(store, types.KeyPrefix(types.ProviderKey)) + + pageRes, err := query.Paginate(providerStore, req.Pagination, func(key []byte, value []byte) error { + var provider types.Provider + if err := k.cdc.Unmarshal(value, &provider); err != nil { + return err + } + + providers = append(providers, provider) + return nil + }) + + if err != nil { + return nil, status.Error(codes.Internal, err.Error()) + } + + return &types.QueryAllProviderResponse{Provider: providers, Pagination: pageRes}, nil +} + +func (k Keeper) Provider(goCtx context.Context, req *types.QueryGetProviderRequest) (*types.QueryGetProviderResponse, error) { + if req == nil { + return nil, status.Error(codes.InvalidArgument, "invalid request") + } + + ctx := sdk.UnwrapSDKContext(goCtx) + provider, found := k.GetProvider(ctx, req.Id) + if !found { + return nil, types.ErrObjectNotFound + } + + gridAttributes := k.GetGridAttributesByObject(ctx, req.Id) + return &types.QueryGetProviderResponse{Provider: provider, GridAttributes: &gridAttributes}, nil +} + + + +func (k Keeper) ProviderCollateralAddress(goCtx context.Context, req *types.QueryGetProviderCollateralAddressRequest) (*types.QueryAllProviderCollateralAddressResponse, error) { + if req == nil { + return nil, status.Error(codes.InvalidArgument, "invalid request") + } + + var addresses []*types.InternalAddressAssociation + address := authtypes.NewModuleAddress(types.ProviderCollateralPool + req.ProviderId).String() + addressAssociation := types.InternalAddressAssociation{Address: address, ObjectId: req.ProviderId} + addresses = append(addresses, &addressAssociation) + + return &types.QueryAllProviderCollateralAddressResponse{InternalAddressAssociation: addresses}, nil +} + + +func (k Keeper) ProviderCollateralAddressAll(goCtx context.Context, req *types.QueryAllProviderCollateralAddressRequest) (*types.QueryAllProviderCollateralAddressResponse, error) { + if req == nil { + return nil, status.Error(codes.InvalidArgument, "invalid request") + } + + var addresses []*types.InternalAddressAssociation + ctx := sdk.UnwrapSDKContext(goCtx) + + store := runtime.KVStoreAdapter(k.storeService.OpenKVStore(ctx)) + providerStore := prefix.NewStore(store, types.KeyPrefix(types.ProviderKey)) + + pageRes, err := query.Paginate(providerStore, req.Pagination, func(key []byte, value []byte) error { + var provider types.Provider + if err := k.cdc.Unmarshal(value, &provider); err != nil { + return err + } + + address := authtypes.NewModuleAddress(types.ProviderCollateralPool + provider.Id).String() + addressAssociation := types.InternalAddressAssociation{Address: address, ObjectId: provider.Id} + addresses = append(addresses, &addressAssociation) + + return nil + }) + + if err != nil { + return nil, status.Error(codes.Internal, err.Error()) + } + + return &types.QueryAllProviderCollateralAddressResponse{InternalAddressAssociation: addresses, Pagination: pageRes}, nil +} + + + +func (k Keeper) ProviderEarningsAddress(goCtx context.Context, req *types.QueryGetProviderEarningsAddressRequest) (*types.QueryAllProviderEarningsAddressResponse, error) { + if req == nil { + return nil, status.Error(codes.InvalidArgument, "invalid request") + } + + var addresses []*types.InternalAddressAssociation + address := authtypes.NewModuleAddress(types.ProviderEarningsPool + req.ProviderId).String() + addressAssociation := types.InternalAddressAssociation{Address: address, ObjectId: req.ProviderId} + addresses = append(addresses, &addressAssociation) + + return &types.QueryAllProviderEarningsAddressResponse{InternalAddressAssociation: addresses}, nil +} + + +func (k Keeper) ProviderEarningsAddressAll(goCtx context.Context, req *types.QueryAllProviderEarningsAddressRequest) (*types.QueryAllProviderEarningsAddressResponse, error) { + if req == nil { + return nil, status.Error(codes.InvalidArgument, "invalid request") + } + + var addresses []*types.InternalAddressAssociation + ctx := sdk.UnwrapSDKContext(goCtx) + + store := runtime.KVStoreAdapter(k.storeService.OpenKVStore(ctx)) + providerStore := prefix.NewStore(store, types.KeyPrefix(types.ProviderKey)) + + pageRes, err := query.Paginate(providerStore, req.Pagination, func(key []byte, value []byte) error { + var provider types.Provider + if err := k.cdc.Unmarshal(value, &provider); err != nil { + return err + } + + address := authtypes.NewModuleAddress(types.ProviderEarningsPool + provider.Id).String() + addressAssociation := types.InternalAddressAssociation{Address: address, ObjectId: provider.Id} + addresses = append(addresses, &addressAssociation) + + return nil + }) + + if err != nil { + return nil, status.Error(codes.Internal, err.Error()) + } + + return &types.QueryAllProviderEarningsAddressResponse{InternalAddressAssociation: addresses, Pagination: pageRes}, nil +} + diff --git a/x/structs/keeper/struct_cache.go b/x/structs/keeper/struct_cache.go index 5e82c4fb..8bb0c1fc 100644 --- a/x/structs/keeper/struct_cache.go +++ b/x/structs/keeper/struct_cache.go @@ -115,11 +115,11 @@ func (k *Keeper) GetStructCacheFromId(ctx context.Context, structId string) (Str // Build this initial Struct Cache object // This does no validation on the provided structId -func (k *Keeper) InitiateStruct(ctx context.Context, creatorAddress string, owner *PlayerCache, structType *types.StructType, destinationType types.ObjectType, ambit types.Ambit, slot uint64) (StructCache, error) { +func (k *Keeper) InitiateStruct(ctx context.Context, creatorAddress string, owner *PlayerCache, structType *types.StructType, ambit types.Ambit, slot uint64) (StructCache, error) { - structure := types.CreateBaseStruct(structType, creatorAddress, owner.GetPlayerId(), destinationType, ambit) + structure := types.CreateBaseStruct(structType, creatorAddress, owner.GetPlayerId(), structType.Category, ambit) - switch destinationType { + switch structType.Category { case types.ObjectType_planet: err := owner.GetPlanet().BuildInitiateReadiness(&structure, structType, ambit, slot) @@ -155,7 +155,7 @@ func (k *Keeper) InitiateStruct(ctx context.Context, creatorAddress string, owne owner.BuildQuantityIncrement(structType.GetId()) - switch destinationType { + switch structType.Category { case types.ObjectType_planet: // Update the cross reference on the planet @@ -502,6 +502,19 @@ func (cache *StructCache) IsOnline() bool { return cache.GetStatus()&types.StructStateOnline != 0 } +func (cache *StructCache) IsCommandable() bool { + if cache.GetStructType().Category == types.ObjectType_fleet { + if !cache.GetFleet().HasCommandStruct() { + return false + } + + if cache.GetFleet().GetCommandStruct().IsOffline() { + return false + } + } + return true +} + func (cache *StructCache) IsOffline() bool { return !cache.IsOnline() } diff --git a/x/structs/keeper/substation_cache.go b/x/structs/keeper/substation_cache.go new file mode 100644 index 00000000..a7ec9a4d --- /dev/null +++ b/x/structs/keeper/substation_cache.go @@ -0,0 +1,207 @@ +package keeper + +import ( + "context" + + //sdk "github.com/cosmos/cosmos-sdk/types" + sdkerrors "cosmossdk.io/errors" + "structs/x/structs/types" + + "fmt" + +) + + +type SubstationCache struct { + SubstationId string + K *Keeper + Ctx context.Context + + Ready bool + + AnyChange bool + + SubstationLoaded bool + SubstationChanged bool + Substation types.Substation + + OwnerLoaded bool + OwnerChanged bool + Owner *PlayerCache + + GridLoaded bool + GridChanged bool + Grid *GridCache + +} + +// Build this initial Substation Cache object +// This does no validation on the provided substationId +func (k *Keeper) GetSubstationCacheFromId(ctx context.Context, substationId string) (SubstationCache) { + return SubstationCache{ + SubstationId: substationId, + K: k, + Ctx: ctx, + + AnyChange: false, + + } +} + +// Build this initial Substation Cache object +// This does no validation on the provided substationId +func (k *Keeper) InitiateSubstation(ctx context.Context, creatorAddress string, owner *PlayerCache, allocation types.Allocation) (SubstationCache, error) { + + // Append Substation + owner.LoadPlayer() + substation, _, _ := k.AppendSubstation(ctx, allocation, owner.Player) + + // Start to put the pieces together + substationCache := SubstationCache{ + SubstationId: substation.Id, + K: k, + Ctx: ctx, + + AnyChange: true, + + Substation: substation, + SubstationChanged: false, + SubstationLoaded: true, + + Owner: owner, + OwnerLoaded: true, + } + + return substationCache, nil +} + + +func (cache *SubstationCache) Commit() () { + cache.AnyChange = false + + fmt.Printf("\n Updating Substation From Cache (%s) \n", cache.SubstationId) + + if (cache.SubstationChanged) { + cache.K.SetSubstation(cache.Ctx, cache.Substation) + cache.SubstationChanged = false + } + + if (cache.Owner != nil && cache.GetOwner().IsChanged()) { + cache.GetOwner().Commit() + } + +} + +func (cache *SubstationCache) IsChanged() bool { + return cache.AnyChange +} + +func (cache *SubstationCache) Changed() { + cache.AnyChange = true +} + +/* Separate Loading functions for each of the underlying containers */ + +// Load the core Substation data +func (cache *SubstationCache) LoadSubstation() (bool) { + cache.Substation, cache.SubstationLoaded = cache.K.GetSubstation(cache.Ctx, cache.SubstationId) + return cache.SubstationLoaded +} + +// Load the Player data +func (cache *SubstationCache) LoadOwner() (bool) { + newOwner, _ := cache.K.GetPlayerCacheFromId(cache.Ctx, cache.GetOwnerId()) + cache.Owner = &newOwner + cache.OwnerLoaded = true + return cache.OwnerLoaded +} + +// Load the Grid cache object +func (cache *SubstationCache) LoadGrid() (bool) { + newGrid := cache.K.GetGridCacheFromId(cache.Ctx, cache.GetSubstationId()) + cache.Grid = &newGrid + cache.GridLoaded = true + return cache.GridLoaded +} + + +// Set the Owner data manually +// Useful for loading multiple defenders +func (cache *SubstationCache) ManualLoadOwner(owner *PlayerCache) { + cache.Owner = owner + cache.OwnerLoaded = true +} + + +/* Getters + * These will always perform a Load first on the appropriate data if it hasn't occurred yet. + */ + +func (cache *SubstationCache) GetSubstation() (types.Substation) { if (!cache.SubstationLoaded) { cache.LoadSubstation() }; return cache.Substation } +func (cache *SubstationCache) GetSubstationId() (string) { return cache.SubstationId } + +func (cache *SubstationCache) GetOwner() (*PlayerCache) { if (!cache.OwnerLoaded) { cache.LoadOwner() }; return cache.Owner } +func (cache *SubstationCache) GetOwnerId() (string) { if (!cache.SubstationLoaded) { cache.LoadSubstation() }; return cache.Substation.Owner } + +func (cache *SubstationCache) GetGrid() (*GridCache) { if (!cache.GridLoaded) { cache.LoadGrid() }; return cache.Grid } + +func (cache *SubstationCache) GetAvailableCapacity() (uint64) { return cache.GetGrid().GetCapacity() - cache.GetGrid().GetLoad() } + +/* Setters - SET DOES NOT COMMIT() + * These will always perform a Load first on the appropriate data if it hasn't occurred yet. + */ + +// Set the Owner Id data +func (cache *SubstationCache) SetOwnerId(owner string) { + if (!cache.SubstationLoaded) { cache.LoadSubstation() } + + cache.Substation.Owner = owner + cache.SubstationChanged = true + cache.Changed() + + // Player object might be stale now + cache.OwnerLoaded = false +} + + + +// Delete Permission +func (cache *SubstationCache) CanBeDeleteDBy(activePlayer *PlayerCache) (error) { + return cache.PermissionCheck(types.PermissionDelete, activePlayer); +} + +// Association Permission +func (cache *SubstationCache) CanManagePlayerConnections(activePlayer *PlayerCache) (error) { + return cache.PermissionCheck(types.PermissionAssociations, activePlayer) +} + +// Grid Permission +func (cache *SubstationCache) CanManageAllocationConnections(activePlayer *PlayerCache) (error) { + return cache.PermissionCheck(types.PermissionGrid, activePlayer) +} + +// Asset Permission +func (cache *SubstationCache) CanCreateAllocations(activePlayer *PlayerCache) (error) { + return cache.PermissionCheck(types.PermissionAssets, activePlayer) +} + +func (cache *SubstationCache) PermissionCheck(permission types.Permission, activePlayer *PlayerCache) (err error) { + // Make sure the address calling this has Play permissions + if (!cache.K.PermissionHasOneOf(cache.Ctx, GetAddressPermissionIDBytes(activePlayer.GetActiveAddress()), permission)) { + err = sdkerrors.Wrapf(types.ErrPermission, "Calling address (%s) has no (%d) permissions ", activePlayer.GetActiveAddress(), permission) + + } + + if !activePlayer.HasPlayerAccount() { + err = sdkerrors.Wrapf(types.ErrPermission, "Calling address (%s) has no Account", activePlayer.GetActiveAddress()) + } else { + if (activePlayer.GetPlayerId() != cache.GetOwnerId()) { + if (!cache.K.PermissionHasOneOf(cache.Ctx, GetObjectPermissionIDBytes(cache.GetSubstationId(), activePlayer.GetPlayerId()), permission)) { + err = sdkerrors.Wrapf(types.ErrPermission, "Calling account (%s) has no (%d) permissions on target substation (%s)", activePlayer.GetPlayerId(), permission, cache.GetSubstationId()) + } + } + } + return +} + + diff --git a/x/structs/module/autocli.go b/x/structs/module/autocli.go index 850f4e43..96a7b46e 100644 --- a/x/structs/module/autocli.go +++ b/x/structs/module/autocli.go @@ -35,6 +35,23 @@ func (am AppModule) AutoCLIOptions() *autocliv1.ModuleOptions { Short: "Returns all Addresses for a specific Player", PositionalArgs: []*autocliv1.PositionalArgDescriptor{{ProtoField: "playerId"}}, }, + { + RpcMethod: "Agreement", + Use: "agreement [agreement id]", + Short: "Show the details of a specific Agreement", + PositionalArgs: []*autocliv1.PositionalArgDescriptor{{ProtoField: "id"}}, + }, + { + RpcMethod: "AgreementAll", + Use: "agreement-all", + Short: "Returns all Agreements", + }, + { + RpcMethod: "AgreementAllByProvider", + Use: "agreement-all-by-provider [provider id]", + Short: "Returns all Agreements from a specific Provider", + PositionalArgs: []*autocliv1.PositionalArgDescriptor{{ProtoField: "providerId"}}, + }, { RpcMethod: "Allocation", Use: "allocation [allocation id]", @@ -97,6 +114,17 @@ func (am AppModule) AutoCLIOptions() *autocliv1.ModuleOptions { Use: "guild-all", Short: "Returns all Guilds", }, + { + RpcMethod: "GuildBankCollateralAddress", + Use: "guild-bank-collateral-address [guild id]", + Short: "Lookup a Guild Bank Collateral Address", + PositionalArgs: []*autocliv1.PositionalArgDescriptor{{ProtoField: "guildId"}}, + }, + { + RpcMethod: "GuildBankCollateralAddressAll", + Use: "guild-bank-collateral-address-all", + Short: "Show all Guild Bank Collateral Addresses", + }, { RpcMethod: "GuildMembershipApplication", Use: "guild-membership-application [guild id] [player id]", @@ -187,6 +215,39 @@ func (am AppModule) AutoCLIOptions() *autocliv1.ModuleOptions { RpcMethod: "PlayerAll", Use: "player-all", Short: "Returns all Players", + }, + { + RpcMethod: "Provider", + Use: "provider [provider id]", + Short: "Show the details of a specific Provider", + PositionalArgs: []*autocliv1.PositionalArgDescriptor{{ProtoField: "id"}}, + }, + { + RpcMethod: "ProviderAll", + Use: "provider-all", + Short: "Returns all Providers", + }, + { + RpcMethod: "ProviderCollateralAddress", + Use: "provider-collateral-address [provider id]", + Short: "Lookup a Provider Collateral Address", + PositionalArgs: []*autocliv1.PositionalArgDescriptor{{ProtoField: "providerId"}}, + }, + { + RpcMethod: "ProviderCollateralAddressAll", + Use: "provider-collateral-address-all", + Short: "Show All Provider Collateral Addresses", + }, + { + RpcMethod: "ProviderEarningsAddress", + Use: "provider-earnings-address [provider id]", + Short: "Lookup a Provider Earnings Address", + PositionalArgs: []*autocliv1.PositionalArgDescriptor{{ProtoField: "providerId"}}, + }, + { + RpcMethod: "ProviderEarningsAddressAll", + Use: "provider-earnings-address-all", + Short: "Show all Provider Earnings Addresses", }, { RpcMethod: "Reactor", @@ -285,12 +346,60 @@ func (am AppModule) AutoCLIOptions() *autocliv1.ModuleOptions { Short: "Update a dynamic Allocation", PositionalArgs: []*autocliv1.PositionalArgDescriptor{{ProtoField: "allocationId"}, {ProtoField: "power"}}, }, + { + RpcMethod: "AgreementOpen", + Use: "agreement-open [provider id] [duration] [capacity]", + Short: "Open an Agreement with an Energy Provider", + PositionalArgs: []*autocliv1.PositionalArgDescriptor{{ProtoField: "providerId"}, {ProtoField: "duration"}, {ProtoField: "capacity"}}, + }, + { + RpcMethod: "AgreementClose", + Use: "agreement-close [agreement id]", + Short: "Close an Agreement with an Energy Provider", + PositionalArgs: []*autocliv1.PositionalArgDescriptor{{ProtoField: "agreementId"}}, + }, + { + RpcMethod: "AgreementCapacityIncrease", + Use: "agreement-capacity-increase [agreement id] [capacity increase]", + Short: "Increase the Capacity of an established Agreement", + PositionalArgs: []*autocliv1.PositionalArgDescriptor{{ProtoField: "agreementId"}, {ProtoField: "capacityIncrease"}}, + }, + { + RpcMethod: "AgreementCapacityDecrease", + Use: "agreement-capacity-decrease [agreement id] [capacity decrease]", + Short: "Decrease the Capacity of an established Agreement", + PositionalArgs: []*autocliv1.PositionalArgDescriptor{{ProtoField: "agreementId"}, {ProtoField: "capacityDecrease"}}, + }, + { + RpcMethod: "AgreementDurationIncrease", + Use: "agreement-duration-increase [agreement id] [duration increase]", + Short: "Increase the Duration of an established Agreement", + PositionalArgs: []*autocliv1.PositionalArgDescriptor{{ProtoField: "agreementId"}, {ProtoField: "durationIncrease"}}, + }, { RpcMethod: "FleetMove", Use: "fleet-move [fleet id] [destination location id]", Short: "Move a fleet from one planet to another", PositionalArgs: []*autocliv1.PositionalArgDescriptor{{ProtoField: "fleetId"}, {ProtoField: "destinationLocationId"}}, }, + { + RpcMethod: "GuildBankMint", + Use: "guild-bank-mint [alpha amount] [token amount]", + Short: "Mint new Alpha-backed token for a guild", + PositionalArgs: []*autocliv1.PositionalArgDescriptor{{ProtoField: "amountAlpha"},{ProtoField: "amountToken"}}, + }, + { + RpcMethod: "GuildBankRedeem", + Use: "guild-bank-redeem [token]", + Short: "Redeem a Guild Token for the underlying Alpha asset", + PositionalArgs: []*autocliv1.PositionalArgDescriptor{{ProtoField: "amountToken"}}, + }, + { + RpcMethod: "GuildBankConfiscateAndBurn", + Use: "guild-bank-confiscate-and-burn [token amount] [address]", + Short: "Confiscate a Guild Token from an address and burn it", + PositionalArgs: []*autocliv1.PositionalArgDescriptor{{ProtoField: "amountToken"},{ProtoField: "address"}}, + }, { RpcMethod: "GuildCreate", Use: "guild-create [endpoint] [substation id]", @@ -437,8 +546,9 @@ func (am AppModule) AutoCLIOptions() *autocliv1.ModuleOptions { }, { RpcMethod: "PlanetExplore", - Use: "planet-explore", + Use: "planet-explore [player id]", Short: "Explore a new planet", + PositionalArgs: []*autocliv1.PositionalArgDescriptor{{ProtoField: "playerId"}}, }, { RpcMethod: "PlanetRaidComplete", @@ -452,6 +562,72 @@ func (am AppModule) AutoCLIOptions() *autocliv1.ModuleOptions { Short: "Revoke a set of permissions on from an address", PositionalArgs: []*autocliv1.PositionalArgDescriptor{{ProtoField: "primaryAddress"}}, }, + { + RpcMethod: "PlayerResume", + Use: "player-resume [player id]", + Short: "Resume a Halted Player", + PositionalArgs: []*autocliv1.PositionalArgDescriptor{{ProtoField: "playerId"}}, + }, + { + RpcMethod: "ProviderCreate", + Use: "provider-create [substation id] [rate] [access policy] [provider cancellation penalty] [consumer cancellation penalty] [capacity min] [capacity max] [duration min] [duration max]", + Short: "Create a new Energy Provider offering", + PositionalArgs: []*autocliv1.PositionalArgDescriptor{{ProtoField: "substationId"},{ProtoField: "rate"},{ProtoField: "accessPolicy"},{ProtoField: "providerCancellationPenalty"},{ProtoField: "consumerCancellationPenalty"},{ProtoField: "capacityMinimum"},{ProtoField: "capacityMaximum"},{ProtoField: "durationMinimum"},{ProtoField: "durationMaximum"}}, + }, + { + RpcMethod: "ProviderDelete", + Use: "provider-delete [provider id]", + Short: "Delete an Energy Provider and Cancel all Agreements", + PositionalArgs: []*autocliv1.PositionalArgDescriptor{{ProtoField: "providerId"}}, + }, + { + RpcMethod: "ProviderGuildGrant", + Use: "provider-guild-grant [provider id] [guild Id, guild Id 2,...]", + Short: "Grant a list of Guilds access to open Agreements with a Provider", + PositionalArgs: []*autocliv1.PositionalArgDescriptor{{ProtoField: "providerId"},{ProtoField: "guildId"}}, + }, + { + RpcMethod: "ProviderGuildRevoke", + Use: "provider-guild-revoke [provider id] [guild Id, guild Id 2,...]", + Short: "Revoke a list of Guilds from being able to open Agreements with a Provider", + PositionalArgs: []*autocliv1.PositionalArgDescriptor{{ProtoField: "providerId"},{ProtoField: "guildId"}}, + }, + { + RpcMethod: "ProviderUpdateAccessPolicy", + Use: "provider-update-access-policy [provider id] [access policy]", + Short: "Update the Access Policy of a Provider", + PositionalArgs: []*autocliv1.PositionalArgDescriptor{{ProtoField: "providerId"},{ProtoField: "accessPolicy"}}, + }, + { + RpcMethod: "ProviderUpdateCapacityMaximum", + Use: "provider-update-capacity-maximum [provider id] [new maximum capacity]", + Short: "Update the Maximum Capacity of a Provider", + PositionalArgs: []*autocliv1.PositionalArgDescriptor{{ProtoField: "providerId"},{ProtoField: "newMaximumCapacity"}}, + }, + { + RpcMethod: "ProviderUpdateCapacityMinimum", + Use: "provider-update-capacity-minimum [provider id] [new minimum capacity]", + Short: "Update the Minimum Capacity of a Provider", + PositionalArgs: []*autocliv1.PositionalArgDescriptor{{ProtoField: "providerId"},{ProtoField: "newMinimumCapacity"}}, + }, + { + RpcMethod: "ProviderUpdateDurationMaximum", + Use: "provider-update-duration-maximum [provider id] [new maximum duration]", + Short: "Update the Maximum Duration of a Provider", + PositionalArgs: []*autocliv1.PositionalArgDescriptor{{ProtoField: "providerId"},{ProtoField: "newMaximumDuration"}}, + }, + { + RpcMethod: "ProviderUpdateDurationMinimum", + Use: "provider-update-duration-minimum [provider id] [new minimum duration]", + Short: "Update the Minimum Duration of a Provider", + PositionalArgs: []*autocliv1.PositionalArgDescriptor{{ProtoField: "providerId"},{ProtoField: "newMinimumDuration"}}, + }, + { + RpcMethod: "ProviderWithdrawBalance", + Use: "provider-withdraw-balance [provider id] [destination address]", + Short: "Withdraw the pending earnings from a Provider", + PositionalArgs: []*autocliv1.PositionalArgDescriptor{{ProtoField: "providerId"},{ProtoField: "destinationAddress"}}, + }, { RpcMethod: "StructActivate", Use: "struct-activate [struct id]", @@ -476,11 +652,17 @@ func (am AppModule) AutoCLIOptions() *autocliv1.ModuleOptions { Short: "Bring a Struct online", PositionalArgs: []*autocliv1.PositionalArgDescriptor{{ProtoField: "structId"},{ProtoField: "proof"},{ProtoField: "nonce"}}, }, + { + RpcMethod: "StructBuildCancel", + Use: "struct-build-cancel [struct id]", + Short: "Cancel an unfinished Struct", + PositionalArgs: []*autocliv1.PositionalArgDescriptor{{ProtoField: "structId"}}, + }, { RpcMethod: "StructBuildInitiate", - Use: "struct-build-initiate [player id] [struct type id] [location type] [operating ambit] [slot]", + Use: "struct-build-initiate [player id] [struct type id] [operating ambit] [slot]", Short: "Initiate the construction of a Struct", - PositionalArgs: []*autocliv1.PositionalArgDescriptor{{ProtoField: "playerId"},{ProtoField: "structTypeId"},{ProtoField: "locationType"},{ProtoField: "operatingAmbit"},{ProtoField: "slot", Optional: true }}, + PositionalArgs: []*autocliv1.PositionalArgDescriptor{{ProtoField: "playerId"},{ProtoField: "structTypeId"},{ProtoField: "operatingAmbit"},{ProtoField: "slot", Optional: true }}, }, { RpcMethod: "StructDefenseClear", diff --git a/x/structs/module/genesis.go b/x/structs/module/genesis.go index 83d7cc86..e5c6c153 100644 --- a/x/structs/module/genesis.go +++ b/x/structs/module/genesis.go @@ -57,6 +57,7 @@ func InitGenesis(ctx sdk.Context, k keeper.Keeper, genState types.GenesisState) for _, elem := range genState.PlayerList { k.SetPlayer(ctx, elem) } + k.SetAllHaltedPlayerId(ctx, genState.PlayerHalted) k.SetReactorCount(ctx, genState.ReactorCount + k.GetReactorCount(ctx)) for _, elem := range genState.ReactorList { @@ -81,6 +82,15 @@ func InitGenesis(ctx sdk.Context, k keeper.Keeper, genState types.GenesisState) k.SetPermissionsByBytes(ctx, []byte(elem.PermissionId), types.Permission(elem.Value)) } + k.SetProviderCount(ctx, genState.ProviderCount + k.GetProviderCount(ctx)) + for _, elem := range genState.ProviderList { + k.ImportProvider(ctx, elem) + } + + for _, elem := range genState.AgreementList { + k.ImportAgreement(ctx, elem) + } + } // ExportGenesis returns the module's exported genesis. @@ -92,6 +102,8 @@ func ExportGenesis(ctx sdk.Context, k keeper.Keeper) *types.GenesisState { genesis.AddressList = k.GetAllAddressExport(ctx) + genesis.AgreementList = k.GetAllAgreement(ctx) + genesis.AllocationList = k.GetAllAllocation(ctx) genesis.InfusionList = k.GetAllInfusion(ctx) @@ -104,6 +116,10 @@ func ExportGenesis(ctx sdk.Context, k keeper.Keeper) *types.GenesisState { genesis.PlayerList = k.GetAllPlayer(ctx) genesis.PlayerCount = k.GetPlayerCount(ctx) + genesis.PlayerHalted = k.GetAllHaltedPlayerId(ctx) + + genesis.ProviderList = k.GetAllProvider(ctx) + genesis.ProviderCount = k.GetProviderCount(ctx) genesis.ReactorList = k.GetAllReactor(ctx) genesis.ReactorCount = k.GetReactorCount(ctx) diff --git a/x/structs/types/address.pb.go b/x/structs/types/address.pb.go index 3a95ee84..7f28b390 100644 --- a/x/structs/types/address.pb.go +++ b/x/structs/types/address.pb.go @@ -201,39 +201,94 @@ func (m *AddressActivity) GetBlockTime() time.Time { return time.Time{} } +type InternalAddressAssociation struct { + Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` + ObjectId string `protobuf:"bytes,2,opt,name=objectId,proto3" json:"objectId,omitempty"` +} + +func (m *InternalAddressAssociation) Reset() { *m = InternalAddressAssociation{} } +func (m *InternalAddressAssociation) String() string { return proto.CompactTextString(m) } +func (*InternalAddressAssociation) ProtoMessage() {} +func (*InternalAddressAssociation) Descriptor() ([]byte, []int) { + return fileDescriptor_dd6f1402b3e09446, []int{3} +} +func (m *InternalAddressAssociation) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *InternalAddressAssociation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_InternalAddressAssociation.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *InternalAddressAssociation) XXX_Merge(src proto.Message) { + xxx_messageInfo_InternalAddressAssociation.Merge(m, src) +} +func (m *InternalAddressAssociation) XXX_Size() int { + return m.Size() +} +func (m *InternalAddressAssociation) XXX_DiscardUnknown() { + xxx_messageInfo_InternalAddressAssociation.DiscardUnknown(m) +} + +var xxx_messageInfo_InternalAddressAssociation proto.InternalMessageInfo + +func (m *InternalAddressAssociation) GetAddress() string { + if m != nil { + return m.Address + } + return "" +} + +func (m *InternalAddressAssociation) GetObjectId() string { + if m != nil { + return m.ObjectId + } + return "" +} + func init() { proto.RegisterType((*AddressRecord)(nil), "structs.structs.AddressRecord") proto.RegisterType((*AddressAssociation)(nil), "structs.structs.AddressAssociation") proto.RegisterType((*AddressActivity)(nil), "structs.structs.AddressActivity") + proto.RegisterType((*InternalAddressAssociation)(nil), "structs.structs.InternalAddressAssociation") } func init() { proto.RegisterFile("structs/structs/address.proto", fileDescriptor_dd6f1402b3e09446) } var fileDescriptor_dd6f1402b3e09446 = []byte{ - // 360 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x91, 0xbf, 0x4e, 0xf3, 0x30, - 0x14, 0xc5, 0xe3, 0xaf, 0xdf, 0xbf, 0xba, 0x82, 0x8a, 0x08, 0x89, 0x28, 0x82, 0x34, 0x2a, 0x4b, - 0xc5, 0x90, 0x88, 0xf2, 0x04, 0xcd, 0x04, 0x62, 0x0b, 0x9d, 0xba, 0xb9, 0x89, 0x09, 0x56, 0x9b, - 0x38, 0x8a, 0x6f, 0x51, 0xf3, 0x16, 0xe5, 0x2d, 0x18, 0x18, 0x78, 0x8c, 0x8e, 0x1d, 0x99, 0x00, - 0xb5, 0x03, 0xaf, 0x81, 0x70, 0x6c, 0xa8, 0x0a, 0x62, 0x61, 0xc9, 0xcd, 0x3d, 0xf7, 0xde, 0xa3, - 0x9f, 0x7c, 0xf0, 0x81, 0x80, 0x62, 0x12, 0x81, 0xf0, 0x75, 0x25, 0x71, 0x5c, 0x50, 0x21, 0xbc, - 0xbc, 0xe0, 0xc0, 0xcd, 0xa6, 0x92, 0x3d, 0x55, 0xed, 0xdd, 0x84, 0x27, 0x5c, 0xce, 0xfc, 0xb7, - 0xbf, 0x6a, 0xcd, 0xde, 0x4f, 0x38, 0x4f, 0xc6, 0xd4, 0x27, 0x39, 0xf3, 0x49, 0x96, 0x71, 0x20, - 0xc0, 0x78, 0xa6, 0x4c, 0xec, 0x96, 0x9a, 0xca, 0x6e, 0x38, 0xb9, 0xf4, 0x81, 0xa5, 0x54, 0x00, - 0x49, 0x73, 0xb5, 0x60, 0x6f, 0x42, 0x8c, 0x68, 0xa9, 0x8f, 0x77, 0x48, 0xca, 0x32, 0xee, 0xcb, - 0x6f, 0x25, 0xb5, 0xcf, 0xf1, 0x56, 0xaf, 0xa2, 0x0c, 0x69, 0xc4, 0x8b, 0xd8, 0xb4, 0xf0, 0x3f, - 0x85, 0x6d, 0x21, 0x17, 0x75, 0xea, 0xa1, 0x6e, 0x4d, 0x17, 0x37, 0xf2, 0x31, 0x29, 0x69, 0x71, - 0x96, 0xc5, 0x74, 0x6a, 0xfd, 0x72, 0x51, 0xe7, 0x77, 0xb8, 0x2e, 0xb5, 0xef, 0x10, 0x36, 0x95, - 0x5b, 0x4f, 0x08, 0x1e, 0x31, 0x89, 0xfe, 0x13, 0x4b, 0x73, 0x80, 0xcd, 0x82, 0x26, 0x4c, 0x40, - 0x21, 0xbd, 0x2e, 0x80, 0xc0, 0x44, 0x58, 0x35, 0x17, 0x75, 0xb6, 0xbb, 0x87, 0xde, 0xc6, 0x8b, - 0x7a, 0x9f, 0x57, 0x83, 0x3f, 0xb7, 0x2f, 0xf7, 0x47, 0x28, 0xfc, 0xc2, 0xa5, 0x7d, 0x83, 0x70, - 0x53, 0xe3, 0x46, 0xc0, 0xae, 0x19, 0x94, 0xdf, 0xb3, 0x0e, 0xc7, 0x3c, 0x1a, 0x9d, 0x52, 0x96, - 0x5c, 0x81, 0x64, 0xad, 0x85, 0xeb, 0x92, 0x19, 0xe0, 0xba, 0x6c, 0xfb, 0x2c, 0xa5, 0x12, 0xb1, - 0xd1, 0xb5, 0xbd, 0x2a, 0x2f, 0x4f, 0xe7, 0xe5, 0xf5, 0x75, 0x5e, 0xc1, 0xff, 0xf9, 0x63, 0xcb, - 0x98, 0x3d, 0xb5, 0x50, 0xf8, 0x71, 0x16, 0x1c, 0xcf, 0x97, 0x0e, 0x5a, 0x2c, 0x1d, 0xf4, 0xbc, - 0x74, 0xd0, 0x6c, 0xe5, 0x18, 0x8b, 0x95, 0x63, 0x3c, 0xac, 0x1c, 0x63, 0xb0, 0xa7, 0x03, 0x9d, - 0xbe, 0x47, 0x0b, 0x65, 0x4e, 0xc5, 0xf0, 0xaf, 0xf4, 0x3e, 0x79, 0x0d, 0x00, 0x00, 0xff, 0xff, - 0x7b, 0x0e, 0x86, 0x4f, 0x7f, 0x02, 0x00, 0x00, + // 391 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x92, 0x3f, 0x8e, 0xd3, 0x40, + 0x14, 0xc6, 0x3d, 0x84, 0x3f, 0xc9, 0x44, 0x10, 0x61, 0x21, 0x61, 0x59, 0xe0, 0x58, 0xa6, 0x89, + 0x28, 0x6c, 0x11, 0x4e, 0x10, 0x57, 0x44, 0x74, 0x43, 0xaa, 0x74, 0x63, 0x7b, 0x30, 0x43, 0x6c, + 0x8f, 0x35, 0xf3, 0x82, 0xe2, 0x5b, 0x84, 0x5b, 0x50, 0x50, 0x70, 0x8c, 0x94, 0x29, 0xa9, 0x76, + 0x57, 0x49, 0xb1, 0xd7, 0x58, 0xed, 0xd8, 0xce, 0x46, 0xd9, 0xd5, 0x4a, 0xab, 0x6d, 0x3c, 0xfe, + 0xbe, 0x79, 0xf3, 0xe9, 0xa7, 0xf7, 0x1e, 0x7e, 0xaf, 0x40, 0x2e, 0x63, 0x50, 0x41, 0x7b, 0xd2, + 0x24, 0x91, 0x4c, 0x29, 0xbf, 0x94, 0x02, 0x84, 0x39, 0x68, 0x6c, 0xbf, 0x39, 0xed, 0x37, 0xa9, + 0x48, 0x85, 0xbe, 0x0b, 0xae, 0xff, 0xea, 0x32, 0xfb, 0x5d, 0x2a, 0x44, 0x9a, 0xb1, 0x80, 0x96, + 0x3c, 0xa0, 0x45, 0x21, 0x80, 0x02, 0x17, 0x45, 0x13, 0x62, 0x0f, 0x9b, 0x5b, 0xad, 0xa2, 0xe5, + 0xf7, 0x00, 0x78, 0xce, 0x14, 0xd0, 0xbc, 0x6c, 0x0a, 0xec, 0x53, 0x88, 0x05, 0xab, 0xda, 0xc7, + 0xaf, 0x69, 0xce, 0x0b, 0x11, 0xe8, 0x6f, 0x6d, 0x79, 0x5f, 0xf1, 0xcb, 0x49, 0x4d, 0x49, 0x58, + 0x2c, 0x64, 0x62, 0x5a, 0xf8, 0x45, 0x83, 0x6d, 0x21, 0x17, 0x8d, 0x7a, 0xa4, 0x95, 0xa6, 0x8b, + 0xfb, 0x65, 0x46, 0x2b, 0x26, 0xa7, 0x45, 0xc2, 0x56, 0xd6, 0x13, 0x17, 0x8d, 0x9e, 0x92, 0x63, + 0xcb, 0xfb, 0x8b, 0xb0, 0xd9, 0xa4, 0x4d, 0x94, 0x12, 0x31, 0xd7, 0xe8, 0x8f, 0x89, 0x34, 0xe7, + 0xd8, 0x94, 0x2c, 0xe5, 0x0a, 0xa4, 0xce, 0xfa, 0x06, 0x14, 0x96, 0xca, 0xea, 0xb8, 0x68, 0xf4, + 0x6a, 0xfc, 0xc1, 0x3f, 0xe9, 0xa8, 0x7f, 0xbb, 0x34, 0x7c, 0xf6, 0xe7, 0xf2, 0xdf, 0x47, 0x44, + 0xee, 0x48, 0xf1, 0x7e, 0x23, 0x3c, 0x68, 0x71, 0x63, 0xe0, 0xbf, 0x38, 0x54, 0xf7, 0xb3, 0x46, + 0x99, 0x88, 0x17, 0x5f, 0x18, 0x4f, 0x7f, 0x80, 0x66, 0xed, 0x90, 0x63, 0xcb, 0x0c, 0x71, 0x4f, + 0xcb, 0x19, 0xcf, 0x99, 0x46, 0xec, 0x8f, 0x6d, 0xbf, 0x9e, 0x97, 0xdf, 0xce, 0xcb, 0x9f, 0xb5, + 0xf3, 0x0a, 0xbb, 0x9b, 0xb3, 0xa1, 0xb1, 0x3e, 0x1f, 0x22, 0x72, 0xf3, 0xcc, 0x23, 0xd8, 0x9e, + 0x16, 0xc0, 0x64, 0x41, 0xb3, 0x07, 0x75, 0xd2, 0xc6, 0x5d, 0x11, 0xfd, 0x64, 0x31, 0x4c, 0x13, + 0x8d, 0xd6, 0x23, 0x07, 0x1d, 0x7e, 0xda, 0xec, 0x1c, 0xb4, 0xdd, 0x39, 0xe8, 0x62, 0xe7, 0xa0, + 0xf5, 0xde, 0x31, 0xb6, 0x7b, 0xc7, 0xf8, 0xbf, 0x77, 0x8c, 0xf9, 0xdb, 0x76, 0x49, 0x56, 0x87, + 0x75, 0x81, 0xaa, 0x64, 0x2a, 0x7a, 0xae, 0x79, 0x3f, 0x5f, 0x05, 0x00, 0x00, 0xff, 0xff, 0x5a, + 0x12, 0x92, 0x90, 0xd3, 0x02, 0x00, 0x00, } func (m *AddressRecord) Marshal() (dAtA []byte, err error) { @@ -354,6 +409,43 @@ func (m *AddressActivity) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } +func (m *InternalAddressAssociation) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *InternalAddressAssociation) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *InternalAddressAssociation) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.ObjectId) > 0 { + i -= len(m.ObjectId) + copy(dAtA[i:], m.ObjectId) + i = encodeVarintAddress(dAtA, i, uint64(len(m.ObjectId))) + i-- + dAtA[i] = 0x12 + } + if len(m.Address) > 0 { + i -= len(m.Address) + copy(dAtA[i:], m.Address) + i = encodeVarintAddress(dAtA, i, uint64(len(m.Address))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + func encodeVarintAddress(dAtA []byte, offset int, v uint64) int { offset -= sovAddress(v) base := offset @@ -418,6 +510,23 @@ func (m *AddressActivity) Size() (n int) { return n } +func (m *InternalAddressAssociation) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Address) + if l > 0 { + n += 1 + l + sovAddress(uint64(l)) + } + l = len(m.ObjectId) + if l > 0 { + n += 1 + l + sovAddress(uint64(l)) + } + return n +} + func sovAddress(x uint64) (n int) { return (math_bits.Len64(x|1) + 6) / 7 } @@ -779,6 +888,120 @@ func (m *AddressActivity) Unmarshal(dAtA []byte) error { } return nil } +func (m *InternalAddressAssociation) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAddress + } + if iNdEx >= l { + return 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 fmt.Errorf("proto: InternalAddressAssociation: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: InternalAddressAssociation: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAddress + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthAddress + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthAddress + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Address = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ObjectId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAddress + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthAddress + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthAddress + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ObjectId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipAddress(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthAddress + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} func skipAddress(dAtA []byte) (n int, err error) { l := len(dAtA) iNdEx := 0 diff --git a/x/structs/types/agreement.go b/x/structs/types/agreement.go new file mode 100644 index 00000000..e52d4f39 --- /dev/null +++ b/x/structs/types/agreement.go @@ -0,0 +1,25 @@ +package types + +import ( + //sdk "github.com/cosmos/cosmos-sdk/types" + //sdkerrors "cosmossdk.io/errors" + //"cosmossdk.io/math" +) + + + +func CreateBaseAgreement(creator string, owner string, providerId string, capacity uint64, startBlock uint64, endBlock uint64, allocationId string) (Agreement) { + return Agreement{ + Creator: creator, + Owner: owner, + + ProviderId: providerId, + + Capacity: capacity, + + StartBlock: startBlock, + EndBlock: endBlock, + + AllocationId: allocationId, + } +} diff --git a/x/structs/types/agreement.pb.go b/x/structs/types/agreement.pb.go new file mode 100644 index 00000000..b4c88289 --- /dev/null +++ b/x/structs/types/agreement.pb.go @@ -0,0 +1,680 @@ +// Code generated by protoc-gen-gogo. DO NOT EDIT. +// source: structs/structs/agreement.proto + +package types + +import ( + fmt "fmt" + _ "github.com/cosmos/cosmos-proto" + _ "github.com/cosmos/cosmos-sdk/types" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/cosmos/gogoproto/proto" + io "io" + math "math" + math_bits "math/bits" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package + +type Agreement struct { + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + ProviderId string `protobuf:"bytes,2,opt,name=providerId,proto3" json:"providerId,omitempty"` + AllocationId string `protobuf:"bytes,3,opt,name=allocationId,proto3" json:"allocationId,omitempty"` + Capacity uint64 `protobuf:"varint,4,opt,name=capacity,proto3" json:"capacity,omitempty"` + StartBlock uint64 `protobuf:"varint,5,opt,name=startBlock,proto3" json:"startBlock,omitempty"` + EndBlock uint64 `protobuf:"varint,6,opt,name=endBlock,proto3" json:"endBlock,omitempty"` + Creator string `protobuf:"bytes,7,opt,name=creator,proto3" json:"creator,omitempty"` + Owner string `protobuf:"bytes,8,opt,name=owner,proto3" json:"owner,omitempty"` +} + +func (m *Agreement) Reset() { *m = Agreement{} } +func (m *Agreement) String() string { return proto.CompactTextString(m) } +func (*Agreement) ProtoMessage() {} +func (*Agreement) Descriptor() ([]byte, []int) { + return fileDescriptor_7fda446516154598, []int{0} +} +func (m *Agreement) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *Agreement) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Agreement.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *Agreement) XXX_Merge(src proto.Message) { + xxx_messageInfo_Agreement.Merge(m, src) +} +func (m *Agreement) XXX_Size() int { + return m.Size() +} +func (m *Agreement) XXX_DiscardUnknown() { + xxx_messageInfo_Agreement.DiscardUnknown(m) +} + +var xxx_messageInfo_Agreement proto.InternalMessageInfo + +func (m *Agreement) GetId() string { + if m != nil { + return m.Id + } + return "" +} + +func (m *Agreement) GetProviderId() string { + if m != nil { + return m.ProviderId + } + return "" +} + +func (m *Agreement) GetAllocationId() string { + if m != nil { + return m.AllocationId + } + return "" +} + +func (m *Agreement) GetCapacity() uint64 { + if m != nil { + return m.Capacity + } + return 0 +} + +func (m *Agreement) GetStartBlock() uint64 { + if m != nil { + return m.StartBlock + } + return 0 +} + +func (m *Agreement) GetEndBlock() uint64 { + if m != nil { + return m.EndBlock + } + return 0 +} + +func (m *Agreement) GetCreator() string { + if m != nil { + return m.Creator + } + return "" +} + +func (m *Agreement) GetOwner() string { + if m != nil { + return m.Owner + } + return "" +} + +func init() { + proto.RegisterType((*Agreement)(nil), "structs.structs.Agreement") +} + +func init() { proto.RegisterFile("structs/structs/agreement.proto", fileDescriptor_7fda446516154598) } + +var fileDescriptor_7fda446516154598 = []byte{ + // 297 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x54, 0x91, 0xbf, 0x4e, 0xc3, 0x30, + 0x10, 0xc6, 0xeb, 0xd2, 0xbf, 0x16, 0x02, 0xc9, 0xaa, 0x84, 0xe9, 0xe0, 0x56, 0x9d, 0x3a, 0x35, + 0x8a, 0xd8, 0xd8, 0xe8, 0xd6, 0xb5, 0x23, 0x0b, 0x72, 0x6c, 0x2b, 0xb2, 0x48, 0x73, 0x91, 0x6d, + 0x0a, 0x7d, 0x0b, 0x1e, 0x81, 0xc7, 0x61, 0xec, 0xc8, 0x88, 0x92, 0x85, 0x85, 0x77, 0x40, 0xb1, + 0x93, 0xaa, 0x4c, 0xe7, 0xef, 0xf7, 0x7d, 0xe7, 0x93, 0xee, 0xf0, 0xcc, 0x3a, 0xf3, 0x22, 0x9c, + 0x8d, 0xda, 0xca, 0x53, 0xa3, 0xd4, 0x4e, 0xe5, 0x6e, 0x55, 0x18, 0x70, 0x40, 0xae, 0x1b, 0x63, + 0xd5, 0xd4, 0xe9, 0xad, 0x00, 0xbb, 0x03, 0xfb, 0xe4, 0xed, 0x28, 0x88, 0x90, 0x9d, 0x4e, 0x52, + 0x48, 0x21, 0xf0, 0xfa, 0xd5, 0x50, 0x16, 0x32, 0x51, 0xc2, 0xad, 0x8a, 0xf6, 0x71, 0xa2, 0x1c, + 0x8f, 0x23, 0x01, 0x3a, 0x0f, 0xfe, 0xe2, 0x17, 0xe1, 0xf1, 0x43, 0x3b, 0x95, 0x5c, 0xe1, 0xae, + 0x96, 0x14, 0xcd, 0xd1, 0x72, 0xbc, 0xed, 0x6a, 0x49, 0x18, 0xc6, 0x85, 0x81, 0xbd, 0x96, 0xca, + 0x6c, 0x24, 0xed, 0x7a, 0x7e, 0x46, 0xc8, 0x02, 0x5f, 0xf2, 0x2c, 0x03, 0xc1, 0x9d, 0x86, 0x7c, + 0x23, 0xe9, 0x85, 0x4f, 0xfc, 0x63, 0x64, 0x8a, 0x47, 0x82, 0x17, 0x5c, 0x68, 0x77, 0xa0, 0xbd, + 0x39, 0x5a, 0xf6, 0xb6, 0x27, 0x5d, 0xff, 0x6f, 0x1d, 0x37, 0x6e, 0x9d, 0x81, 0x78, 0xa6, 0x7d, + 0xef, 0x9e, 0x91, 0xba, 0x57, 0xe5, 0x32, 0xb8, 0x83, 0xd0, 0xdb, 0x6a, 0x42, 0xf1, 0x50, 0x18, + 0xc5, 0x1d, 0x18, 0x3a, 0xf4, 0x63, 0x5b, 0x49, 0x26, 0xb8, 0x0f, 0xaf, 0xb9, 0x32, 0x74, 0xe4, + 0x79, 0x10, 0xf7, 0xbd, 0x9f, 0x8f, 0x19, 0x5a, 0xc7, 0x9f, 0x25, 0x43, 0xc7, 0x92, 0xa1, 0xef, + 0x92, 0xa1, 0xf7, 0x8a, 0x75, 0x8e, 0x15, 0xeb, 0x7c, 0x55, 0xac, 0xf3, 0x78, 0xd3, 0x1e, 0xe1, + 0xed, 0x74, 0x0e, 0x77, 0x28, 0x94, 0x4d, 0x06, 0x7e, 0x53, 0x77, 0x7f, 0x01, 0x00, 0x00, 0xff, + 0xff, 0xd5, 0x1a, 0xd1, 0xe6, 0xae, 0x01, 0x00, 0x00, +} + +func (this *Agreement) Equal(that interface{}) bool { + if that == nil { + return this == nil + } + + that1, ok := that.(*Agreement) + if !ok { + that2, ok := that.(Agreement) + if ok { + that1 = &that2 + } else { + return false + } + } + if that1 == nil { + return this == nil + } else if this == nil { + return false + } + if this.Id != that1.Id { + return false + } + if this.ProviderId != that1.ProviderId { + return false + } + if this.AllocationId != that1.AllocationId { + return false + } + if this.Capacity != that1.Capacity { + return false + } + if this.StartBlock != that1.StartBlock { + return false + } + if this.EndBlock != that1.EndBlock { + return false + } + if this.Creator != that1.Creator { + return false + } + if this.Owner != that1.Owner { + return false + } + return true +} +func (m *Agreement) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Agreement) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *Agreement) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Owner) > 0 { + i -= len(m.Owner) + copy(dAtA[i:], m.Owner) + i = encodeVarintAgreement(dAtA, i, uint64(len(m.Owner))) + i-- + dAtA[i] = 0x42 + } + if len(m.Creator) > 0 { + i -= len(m.Creator) + copy(dAtA[i:], m.Creator) + i = encodeVarintAgreement(dAtA, i, uint64(len(m.Creator))) + i-- + dAtA[i] = 0x3a + } + if m.EndBlock != 0 { + i = encodeVarintAgreement(dAtA, i, uint64(m.EndBlock)) + i-- + dAtA[i] = 0x30 + } + if m.StartBlock != 0 { + i = encodeVarintAgreement(dAtA, i, uint64(m.StartBlock)) + i-- + dAtA[i] = 0x28 + } + if m.Capacity != 0 { + i = encodeVarintAgreement(dAtA, i, uint64(m.Capacity)) + i-- + dAtA[i] = 0x20 + } + if len(m.AllocationId) > 0 { + i -= len(m.AllocationId) + copy(dAtA[i:], m.AllocationId) + i = encodeVarintAgreement(dAtA, i, uint64(len(m.AllocationId))) + i-- + dAtA[i] = 0x1a + } + if len(m.ProviderId) > 0 { + i -= len(m.ProviderId) + copy(dAtA[i:], m.ProviderId) + i = encodeVarintAgreement(dAtA, i, uint64(len(m.ProviderId))) + i-- + dAtA[i] = 0x12 + } + if len(m.Id) > 0 { + i -= len(m.Id) + copy(dAtA[i:], m.Id) + i = encodeVarintAgreement(dAtA, i, uint64(len(m.Id))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func encodeVarintAgreement(dAtA []byte, offset int, v uint64) int { + offset -= sovAgreement(v) + base := offset + for v >= 1<<7 { + dAtA[offset] = uint8(v&0x7f | 0x80) + v >>= 7 + offset++ + } + dAtA[offset] = uint8(v) + return base +} +func (m *Agreement) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Id) + if l > 0 { + n += 1 + l + sovAgreement(uint64(l)) + } + l = len(m.ProviderId) + if l > 0 { + n += 1 + l + sovAgreement(uint64(l)) + } + l = len(m.AllocationId) + if l > 0 { + n += 1 + l + sovAgreement(uint64(l)) + } + if m.Capacity != 0 { + n += 1 + sovAgreement(uint64(m.Capacity)) + } + if m.StartBlock != 0 { + n += 1 + sovAgreement(uint64(m.StartBlock)) + } + if m.EndBlock != 0 { + n += 1 + sovAgreement(uint64(m.EndBlock)) + } + l = len(m.Creator) + if l > 0 { + n += 1 + l + sovAgreement(uint64(l)) + } + l = len(m.Owner) + if l > 0 { + n += 1 + l + sovAgreement(uint64(l)) + } + return n +} + +func sovAgreement(x uint64) (n int) { + return (math_bits.Len64(x|1) + 6) / 7 +} +func sozAgreement(x uint64) (n int) { + return sovAgreement(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +} +func (m *Agreement) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgreement + } + if iNdEx >= l { + return 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 fmt.Errorf("proto: Agreement: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Agreement: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgreement + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthAgreement + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthAgreement + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Id = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ProviderId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgreement + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthAgreement + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthAgreement + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ProviderId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AllocationId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgreement + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthAgreement + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthAgreement + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.AllocationId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Capacity", wireType) + } + m.Capacity = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgreement + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Capacity |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 5: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field StartBlock", wireType) + } + m.StartBlock = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgreement + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.StartBlock |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 6: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field EndBlock", wireType) + } + m.EndBlock = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgreement + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.EndBlock |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 7: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgreement + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthAgreement + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthAgreement + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Creator = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 8: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Owner", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgreement + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthAgreement + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthAgreement + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Owner = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipAgreement(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthAgreement + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func skipAgreement(dAtA []byte) (n int, err error) { + l := len(dAtA) + iNdEx := 0 + depth := 0 + for iNdEx < l { + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowAgreement + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + wireType := int(wire & 0x7) + switch wireType { + case 0: + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowAgreement + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + iNdEx++ + if dAtA[iNdEx-1] < 0x80 { + break + } + } + case 1: + iNdEx += 8 + case 2: + var length int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowAgreement + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + length |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if length < 0 { + return 0, ErrInvalidLengthAgreement + } + iNdEx += length + case 3: + depth++ + case 4: + if depth == 0 { + return 0, ErrUnexpectedEndOfGroupAgreement + } + depth-- + case 5: + iNdEx += 4 + default: + return 0, fmt.Errorf("proto: illegal wireType %d", wireType) + } + if iNdEx < 0 { + return 0, ErrInvalidLengthAgreement + } + if depth == 0 { + return iNdEx, nil + } + } + return 0, io.ErrUnexpectedEOF +} + +var ( + ErrInvalidLengthAgreement = fmt.Errorf("proto: negative length found during unmarshaling") + ErrIntOverflowAgreement = fmt.Errorf("proto: integer overflow") + ErrUnexpectedEndOfGroupAgreement = fmt.Errorf("proto: unexpected end of group") +) diff --git a/x/structs/types/codec.go b/x/structs/types/codec.go index a7838693..ec30851d 100644 --- a/x/structs/types/codec.go +++ b/x/structs/types/codec.go @@ -18,12 +18,21 @@ func RegisterInterfaces(registry cdctypes.InterfaceRegistry) { registry.RegisterImplementations((*sdk.Msg)(nil), &MsgAddressRegister{},) registry.RegisterImplementations((*sdk.Msg)(nil), &MsgAddressRevoke{},) + registry.RegisterImplementations((*sdk.Msg)(nil), &MsgAgreementOpen{},) + registry.RegisterImplementations((*sdk.Msg)(nil), &MsgAgreementClose{},) + registry.RegisterImplementations((*sdk.Msg)(nil), &MsgAgreementCapacityIncrease{},) + registry.RegisterImplementations((*sdk.Msg)(nil), &MsgAgreementCapacityDecrease{},) + registry.RegisterImplementations((*sdk.Msg)(nil), &MsgAgreementDurationIncrease{},) + registry.RegisterImplementations((*sdk.Msg)(nil), &MsgAllocationCreate{}, ) registry.RegisterImplementations((*sdk.Msg)(nil), &MsgAllocationDelete{}, ) registry.RegisterImplementations((*sdk.Msg)(nil), &MsgAllocationUpdate{}, ) registry.RegisterImplementations((*sdk.Msg)(nil), &MsgAllocationTransfer{}, ) registry.RegisterImplementations((*sdk.Msg)(nil), &MsgGuildCreate{},) + registry.RegisterImplementations((*sdk.Msg)(nil), &MsgGuildBankMint{},) + registry.RegisterImplementations((*sdk.Msg)(nil), &MsgGuildBankRedeem{},) + registry.RegisterImplementations((*sdk.Msg)(nil), &MsgGuildBankConfiscateAndBurn{},) registry.RegisterImplementations((*sdk.Msg)(nil), &MsgGuildUpdateEndpoint{}, ) registry.RegisterImplementations((*sdk.Msg)(nil), &MsgGuildUpdateEntrySubstationId{}, ) registry.RegisterImplementations((*sdk.Msg)(nil), &MsgGuildUpdateJoinInfusionMinimum{}, ) @@ -54,12 +63,26 @@ func RegisterInterfaces(registry cdctypes.InterfaceRegistry) { registry.RegisterImplementations((*sdk.Msg)(nil), &MsgPlanetRaidComplete{},) registry.RegisterImplementations((*sdk.Msg)(nil), &MsgPlayerUpdatePrimaryAddress{},) + registry.RegisterImplementations((*sdk.Msg)(nil), &MsgPlayerResume{},) + + registry.RegisterImplementations((*sdk.Msg)(nil), &MsgProviderCreate{},) + registry.RegisterImplementations((*sdk.Msg)(nil), &MsgProviderWithdrawBalance{},) + registry.RegisterImplementations((*sdk.Msg)(nil), &MsgProviderUpdateCapacityMinimum{},) + registry.RegisterImplementations((*sdk.Msg)(nil), &MsgProviderUpdateCapacityMaximum{},) + registry.RegisterImplementations((*sdk.Msg)(nil), &MsgProviderUpdateDurationMinimum{},) + registry.RegisterImplementations((*sdk.Msg)(nil), &MsgProviderUpdateDurationMaximum{},) + registry.RegisterImplementations((*sdk.Msg)(nil), &MsgProviderUpdateAccessPolicy{},) + registry.RegisterImplementations((*sdk.Msg)(nil), &MsgProviderGuildGrant{},) + registry.RegisterImplementations((*sdk.Msg)(nil), &MsgProviderGuildRevoke{},) + registry.RegisterImplementations((*sdk.Msg)(nil), &MsgProviderDelete{},) + registry.RegisterImplementations((*sdk.Msg)(nil), &MsgStructActivate{},) registry.RegisterImplementations((*sdk.Msg)(nil), &MsgStructDeactivate{},) registry.RegisterImplementations((*sdk.Msg)(nil), &MsgStructBuildInitiate{},) registry.RegisterImplementations((*sdk.Msg)(nil), &MsgStructBuildComplete{},) + registry.RegisterImplementations((*sdk.Msg)(nil), &MsgStructBuildCancel{},) // Not MVP //registry.RegisterImplementations((*sdk.Msg)(nil), &MsgStructBuildCompleteAndStash{},) diff --git a/x/structs/types/errors.go b/x/structs/types/errors.go index 0e4ca792..c50e3132 100644 --- a/x/structs/types/errors.go +++ b/x/structs/types/errors.go @@ -18,6 +18,8 @@ var ( var ( ErrGridMalfunction = sdkerrors.Register(ModuleName, 1800, "Grid malfunction") ErrInsufficientCharge = sdkerrors.Register(ModuleName, 1801, "Insufficient Charge for Action") + ErrPlayerHalted = sdkerrors.Register(ModuleName, 1802, "Player is currently Halted, must be Resumed before more actions") + ErrInvalidParameters = sdkerrors.Register(ModuleName, 1803, "Invalid Message Details") ErrObjectNotFound = sdkerrors.Register(ModuleName, 1900, "object not found") diff --git a/x/structs/types/events.pb.go b/x/structs/types/events.pb.go index a7355c71..2a5aee63 100644 --- a/x/structs/types/events.pb.go +++ b/x/structs/types/events.pb.go @@ -73,6 +73,50 @@ func (m *EventAllocation) GetAllocation() *Allocation { return nil } +type EventAgreement struct { + Agreement *Agreement `protobuf:"bytes,1,opt,name=agreement,proto3" json:"agreement,omitempty"` +} + +func (m *EventAgreement) Reset() { *m = EventAgreement{} } +func (m *EventAgreement) String() string { return proto.CompactTextString(m) } +func (*EventAgreement) ProtoMessage() {} +func (*EventAgreement) Descriptor() ([]byte, []int) { + return fileDescriptor_dd7c2ee201e0d8dd, []int{1} +} +func (m *EventAgreement) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *EventAgreement) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_EventAgreement.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *EventAgreement) XXX_Merge(src proto.Message) { + xxx_messageInfo_EventAgreement.Merge(m, src) +} +func (m *EventAgreement) XXX_Size() int { + return m.Size() +} +func (m *EventAgreement) XXX_DiscardUnknown() { + xxx_messageInfo_EventAgreement.DiscardUnknown(m) +} + +var xxx_messageInfo_EventAgreement proto.InternalMessageInfo + +func (m *EventAgreement) GetAgreement() *Agreement { + if m != nil { + return m.Agreement + } + return nil +} + type EventFleet struct { Fleet *Fleet `protobuf:"bytes,1,opt,name=fleet,proto3" json:"fleet,omitempty"` } @@ -81,7 +125,7 @@ func (m *EventFleet) Reset() { *m = EventFleet{} } func (m *EventFleet) String() string { return proto.CompactTextString(m) } func (*EventFleet) ProtoMessage() {} func (*EventFleet) Descriptor() ([]byte, []int) { - return fileDescriptor_dd7c2ee201e0d8dd, []int{1} + return fileDescriptor_dd7c2ee201e0d8dd, []int{2} } func (m *EventFleet) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -125,7 +169,7 @@ func (m *EventGuild) Reset() { *m = EventGuild{} } func (m *EventGuild) String() string { return proto.CompactTextString(m) } func (*EventGuild) ProtoMessage() {} func (*EventGuild) Descriptor() ([]byte, []int) { - return fileDescriptor_dd7c2ee201e0d8dd, []int{2} + return fileDescriptor_dd7c2ee201e0d8dd, []int{3} } func (m *EventGuild) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -169,7 +213,7 @@ func (m *EventInfusion) Reset() { *m = EventInfusion{} } func (m *EventInfusion) String() string { return proto.CompactTextString(m) } func (*EventInfusion) ProtoMessage() {} func (*EventInfusion) Descriptor() ([]byte, []int) { - return fileDescriptor_dd7c2ee201e0d8dd, []int{3} + return fileDescriptor_dd7c2ee201e0d8dd, []int{4} } func (m *EventInfusion) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -213,7 +257,7 @@ func (m *EventPlanet) Reset() { *m = EventPlanet{} } func (m *EventPlanet) String() string { return proto.CompactTextString(m) } func (*EventPlanet) ProtoMessage() {} func (*EventPlanet) Descriptor() ([]byte, []int) { - return fileDescriptor_dd7c2ee201e0d8dd, []int{4} + return fileDescriptor_dd7c2ee201e0d8dd, []int{5} } func (m *EventPlanet) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -257,7 +301,7 @@ func (m *EventPlanetAttribute) Reset() { *m = EventPlanetAttribute{} } func (m *EventPlanetAttribute) String() string { return proto.CompactTextString(m) } func (*EventPlanetAttribute) ProtoMessage() {} func (*EventPlanetAttribute) Descriptor() ([]byte, []int) { - return fileDescriptor_dd7c2ee201e0d8dd, []int{5} + return fileDescriptor_dd7c2ee201e0d8dd, []int{6} } func (m *EventPlanetAttribute) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -301,7 +345,7 @@ func (m *EventPlayer) Reset() { *m = EventPlayer{} } func (m *EventPlayer) String() string { return proto.CompactTextString(m) } func (*EventPlayer) ProtoMessage() {} func (*EventPlayer) Descriptor() ([]byte, []int) { - return fileDescriptor_dd7c2ee201e0d8dd, []int{6} + return fileDescriptor_dd7c2ee201e0d8dd, []int{7} } func (m *EventPlayer) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -337,6 +381,50 @@ func (m *EventPlayer) GetPlayer() *Player { return nil } +type EventProvider struct { + Provider *Provider `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"` +} + +func (m *EventProvider) Reset() { *m = EventProvider{} } +func (m *EventProvider) String() string { return proto.CompactTextString(m) } +func (*EventProvider) ProtoMessage() {} +func (*EventProvider) Descriptor() ([]byte, []int) { + return fileDescriptor_dd7c2ee201e0d8dd, []int{8} +} +func (m *EventProvider) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *EventProvider) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_EventProvider.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *EventProvider) XXX_Merge(src proto.Message) { + xxx_messageInfo_EventProvider.Merge(m, src) +} +func (m *EventProvider) XXX_Size() int { + return m.Size() +} +func (m *EventProvider) XXX_DiscardUnknown() { + xxx_messageInfo_EventProvider.DiscardUnknown(m) +} + +var xxx_messageInfo_EventProvider proto.InternalMessageInfo + +func (m *EventProvider) GetProvider() *Provider { + if m != nil { + return m.Provider + } + return nil +} + type EventReactor struct { Reactor *Reactor `protobuf:"bytes,1,opt,name=reactor,proto3" json:"reactor,omitempty"` } @@ -345,7 +433,7 @@ func (m *EventReactor) Reset() { *m = EventReactor{} } func (m *EventReactor) String() string { return proto.CompactTextString(m) } func (*EventReactor) ProtoMessage() {} func (*EventReactor) Descriptor() ([]byte, []int) { - return fileDescriptor_dd7c2ee201e0d8dd, []int{7} + return fileDescriptor_dd7c2ee201e0d8dd, []int{9} } func (m *EventReactor) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -389,7 +477,7 @@ func (m *EventStruct) Reset() { *m = EventStruct{} } func (m *EventStruct) String() string { return proto.CompactTextString(m) } func (*EventStruct) ProtoMessage() {} func (*EventStruct) Descriptor() ([]byte, []int) { - return fileDescriptor_dd7c2ee201e0d8dd, []int{8} + return fileDescriptor_dd7c2ee201e0d8dd, []int{10} } func (m *EventStruct) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -433,7 +521,7 @@ func (m *EventStructAttribute) Reset() { *m = EventStructAttribute{} } func (m *EventStructAttribute) String() string { return proto.CompactTextString(m) } func (*EventStructAttribute) ProtoMessage() {} func (*EventStructAttribute) Descriptor() ([]byte, []int) { - return fileDescriptor_dd7c2ee201e0d8dd, []int{9} + return fileDescriptor_dd7c2ee201e0d8dd, []int{11} } func (m *EventStructAttribute) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -477,7 +565,7 @@ func (m *EventStructDefender) Reset() { *m = EventStructDefender{} } func (m *EventStructDefender) String() string { return proto.CompactTextString(m) } func (*EventStructDefender) ProtoMessage() {} func (*EventStructDefender) Descriptor() ([]byte, []int) { - return fileDescriptor_dd7c2ee201e0d8dd, []int{10} + return fileDescriptor_dd7c2ee201e0d8dd, []int{12} } func (m *EventStructDefender) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -521,7 +609,7 @@ func (m *EventStructType) Reset() { *m = EventStructType{} } func (m *EventStructType) String() string { return proto.CompactTextString(m) } func (*EventStructType) ProtoMessage() {} func (*EventStructType) Descriptor() ([]byte, []int) { - return fileDescriptor_dd7c2ee201e0d8dd, []int{11} + return fileDescriptor_dd7c2ee201e0d8dd, []int{13} } func (m *EventStructType) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -565,7 +653,7 @@ func (m *EventSubstation) Reset() { *m = EventSubstation{} } func (m *EventSubstation) String() string { return proto.CompactTextString(m) } func (*EventSubstation) ProtoMessage() {} func (*EventSubstation) Descriptor() ([]byte, []int) { - return fileDescriptor_dd7c2ee201e0d8dd, []int{12} + return fileDescriptor_dd7c2ee201e0d8dd, []int{14} } func (m *EventSubstation) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -609,7 +697,7 @@ func (m *EventTime) Reset() { *m = EventTime{} } func (m *EventTime) String() string { return proto.CompactTextString(m) } func (*EventTime) ProtoMessage() {} func (*EventTime) Descriptor() ([]byte, []int) { - return fileDescriptor_dd7c2ee201e0d8dd, []int{13} + return fileDescriptor_dd7c2ee201e0d8dd, []int{15} } func (m *EventTime) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -654,7 +742,7 @@ func (m *EventTimeDetail) Reset() { *m = EventTimeDetail{} } func (m *EventTimeDetail) String() string { return proto.CompactTextString(m) } func (*EventTimeDetail) ProtoMessage() {} func (*EventTimeDetail) Descriptor() ([]byte, []int) { - return fileDescriptor_dd7c2ee201e0d8dd, []int{14} + return fileDescriptor_dd7c2ee201e0d8dd, []int{16} } func (m *EventTimeDetail) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -705,7 +793,7 @@ func (m *EventPermission) Reset() { *m = EventPermission{} } func (m *EventPermission) String() string { return proto.CompactTextString(m) } func (*EventPermission) ProtoMessage() {} func (*EventPermission) Descriptor() ([]byte, []int) { - return fileDescriptor_dd7c2ee201e0d8dd, []int{15} + return fileDescriptor_dd7c2ee201e0d8dd, []int{17} } func (m *EventPermission) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -749,7 +837,7 @@ func (m *EventGrid) Reset() { *m = EventGrid{} } func (m *EventGrid) String() string { return proto.CompactTextString(m) } func (*EventGrid) ProtoMessage() {} func (*EventGrid) Descriptor() ([]byte, []int) { - return fileDescriptor_dd7c2ee201e0d8dd, []int{16} + return fileDescriptor_dd7c2ee201e0d8dd, []int{18} } func (m *EventGrid) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -785,22 +873,22 @@ func (m *EventGrid) GetGridRecord() *GridRecord { return nil } -type EventDelete struct { - ObjectId string `protobuf:"bytes,1,opt,name=objectId,proto3" json:"objectId,omitempty"` +type EventProviderGrantGuild struct { + EventProviderGrantGuildDetail *EventProviderGrantGuildDetail `protobuf:"bytes,1,opt,name=eventProviderGrantGuildDetail,proto3" json:"eventProviderGrantGuildDetail,omitempty"` } -func (m *EventDelete) Reset() { *m = EventDelete{} } -func (m *EventDelete) String() string { return proto.CompactTextString(m) } -func (*EventDelete) ProtoMessage() {} -func (*EventDelete) Descriptor() ([]byte, []int) { - return fileDescriptor_dd7c2ee201e0d8dd, []int{17} +func (m *EventProviderGrantGuild) Reset() { *m = EventProviderGrantGuild{} } +func (m *EventProviderGrantGuild) String() string { return proto.CompactTextString(m) } +func (*EventProviderGrantGuild) ProtoMessage() {} +func (*EventProviderGrantGuild) Descriptor() ([]byte, []int) { + return fileDescriptor_dd7c2ee201e0d8dd, []int{19} } -func (m *EventDelete) XXX_Unmarshal(b []byte) error { +func (m *EventProviderGrantGuild) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *EventDelete) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *EventProviderGrantGuild) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_EventDelete.Marshal(b, m, deterministic) + return xxx_messageInfo_EventProviderGrantGuild.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -810,41 +898,42 @@ func (m *EventDelete) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) return b[:n], nil } } -func (m *EventDelete) XXX_Merge(src proto.Message) { - xxx_messageInfo_EventDelete.Merge(m, src) +func (m *EventProviderGrantGuild) XXX_Merge(src proto.Message) { + xxx_messageInfo_EventProviderGrantGuild.Merge(m, src) } -func (m *EventDelete) XXX_Size() int { +func (m *EventProviderGrantGuild) XXX_Size() int { return m.Size() } -func (m *EventDelete) XXX_DiscardUnknown() { - xxx_messageInfo_EventDelete.DiscardUnknown(m) +func (m *EventProviderGrantGuild) XXX_DiscardUnknown() { + xxx_messageInfo_EventProviderGrantGuild.DiscardUnknown(m) } -var xxx_messageInfo_EventDelete proto.InternalMessageInfo +var xxx_messageInfo_EventProviderGrantGuild proto.InternalMessageInfo -func (m *EventDelete) GetObjectId() string { +func (m *EventProviderGrantGuild) GetEventProviderGrantGuildDetail() *EventProviderGrantGuildDetail { if m != nil { - return m.ObjectId + return m.EventProviderGrantGuildDetail } - return "" + return nil } -type EventAddressAssociation struct { - AddressAssociation *AddressAssociation `protobuf:"bytes,1,opt,name=addressAssociation,proto3" json:"addressAssociation,omitempty"` +type EventProviderGrantGuildDetail struct { + ProviderId string `protobuf:"bytes,1,opt,name=providerId,proto3" json:"providerId,omitempty"` + GuildId string `protobuf:"bytes,2,opt,name=guildId,proto3" json:"guildId,omitempty"` } -func (m *EventAddressAssociation) Reset() { *m = EventAddressAssociation{} } -func (m *EventAddressAssociation) String() string { return proto.CompactTextString(m) } -func (*EventAddressAssociation) ProtoMessage() {} -func (*EventAddressAssociation) Descriptor() ([]byte, []int) { - return fileDescriptor_dd7c2ee201e0d8dd, []int{18} +func (m *EventProviderGrantGuildDetail) Reset() { *m = EventProviderGrantGuildDetail{} } +func (m *EventProviderGrantGuildDetail) String() string { return proto.CompactTextString(m) } +func (*EventProviderGrantGuildDetail) ProtoMessage() {} +func (*EventProviderGrantGuildDetail) Descriptor() ([]byte, []int) { + return fileDescriptor_dd7c2ee201e0d8dd, []int{20} } -func (m *EventAddressAssociation) XXX_Unmarshal(b []byte) error { +func (m *EventProviderGrantGuildDetail) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *EventAddressAssociation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *EventProviderGrantGuildDetail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_EventAddressAssociation.Marshal(b, m, deterministic) + return xxx_messageInfo_EventProviderGrantGuildDetail.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -854,41 +943,48 @@ func (m *EventAddressAssociation) XXX_Marshal(b []byte, deterministic bool) ([]b return b[:n], nil } } -func (m *EventAddressAssociation) XXX_Merge(src proto.Message) { - xxx_messageInfo_EventAddressAssociation.Merge(m, src) +func (m *EventProviderGrantGuildDetail) XXX_Merge(src proto.Message) { + xxx_messageInfo_EventProviderGrantGuildDetail.Merge(m, src) } -func (m *EventAddressAssociation) XXX_Size() int { +func (m *EventProviderGrantGuildDetail) XXX_Size() int { return m.Size() } -func (m *EventAddressAssociation) XXX_DiscardUnknown() { - xxx_messageInfo_EventAddressAssociation.DiscardUnknown(m) +func (m *EventProviderGrantGuildDetail) XXX_DiscardUnknown() { + xxx_messageInfo_EventProviderGrantGuildDetail.DiscardUnknown(m) } -var xxx_messageInfo_EventAddressAssociation proto.InternalMessageInfo +var xxx_messageInfo_EventProviderGrantGuildDetail proto.InternalMessageInfo -func (m *EventAddressAssociation) GetAddressAssociation() *AddressAssociation { +func (m *EventProviderGrantGuildDetail) GetProviderId() string { if m != nil { - return m.AddressAssociation + return m.ProviderId } - return nil + return "" } -type EventAddressActivity struct { - AddressActivity *AddressActivity `protobuf:"bytes,1,opt,name=addressActivity,proto3" json:"addressActivity,omitempty"` +func (m *EventProviderGrantGuildDetail) GetGuildId() string { + if m != nil { + return m.GuildId + } + return "" } -func (m *EventAddressActivity) Reset() { *m = EventAddressActivity{} } -func (m *EventAddressActivity) String() string { return proto.CompactTextString(m) } -func (*EventAddressActivity) ProtoMessage() {} -func (*EventAddressActivity) Descriptor() ([]byte, []int) { - return fileDescriptor_dd7c2ee201e0d8dd, []int{19} +type EventProviderRevokeGuild struct { + EventProviderRevokeGuildDetail *EventProviderRevokeGuildDetail `protobuf:"bytes,1,opt,name=eventProviderRevokeGuildDetail,proto3" json:"eventProviderRevokeGuildDetail,omitempty"` } -func (m *EventAddressActivity) XXX_Unmarshal(b []byte) error { + +func (m *EventProviderRevokeGuild) Reset() { *m = EventProviderRevokeGuild{} } +func (m *EventProviderRevokeGuild) String() string { return proto.CompactTextString(m) } +func (*EventProviderRevokeGuild) ProtoMessage() {} +func (*EventProviderRevokeGuild) Descriptor() ([]byte, []int) { + return fileDescriptor_dd7c2ee201e0d8dd, []int{21} +} +func (m *EventProviderRevokeGuild) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *EventAddressActivity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *EventProviderRevokeGuild) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_EventAddressActivity.Marshal(b, m, deterministic) + return xxx_messageInfo_EventProviderRevokeGuild.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -898,41 +994,42 @@ func (m *EventAddressActivity) XXX_Marshal(b []byte, deterministic bool) ([]byte return b[:n], nil } } -func (m *EventAddressActivity) XXX_Merge(src proto.Message) { - xxx_messageInfo_EventAddressActivity.Merge(m, src) +func (m *EventProviderRevokeGuild) XXX_Merge(src proto.Message) { + xxx_messageInfo_EventProviderRevokeGuild.Merge(m, src) } -func (m *EventAddressActivity) XXX_Size() int { +func (m *EventProviderRevokeGuild) XXX_Size() int { return m.Size() } -func (m *EventAddressActivity) XXX_DiscardUnknown() { - xxx_messageInfo_EventAddressActivity.DiscardUnknown(m) +func (m *EventProviderRevokeGuild) XXX_DiscardUnknown() { + xxx_messageInfo_EventProviderRevokeGuild.DiscardUnknown(m) } -var xxx_messageInfo_EventAddressActivity proto.InternalMessageInfo +var xxx_messageInfo_EventProviderRevokeGuild proto.InternalMessageInfo -func (m *EventAddressActivity) GetAddressActivity() *AddressActivity { +func (m *EventProviderRevokeGuild) GetEventProviderRevokeGuildDetail() *EventProviderRevokeGuildDetail { if m != nil { - return m.AddressActivity + return m.EventProviderRevokeGuildDetail } return nil } -type EventGuildMembershipApplication struct { - GuildMembershipApplication *GuildMembershipApplication `protobuf:"bytes,1,opt,name=guildMembershipApplication,proto3" json:"guildMembershipApplication,omitempty"` +type EventProviderRevokeGuildDetail struct { + ProviderId string `protobuf:"bytes,1,opt,name=providerId,proto3" json:"providerId,omitempty"` + GuildId string `protobuf:"bytes,2,opt,name=guildId,proto3" json:"guildId,omitempty"` } -func (m *EventGuildMembershipApplication) Reset() { *m = EventGuildMembershipApplication{} } -func (m *EventGuildMembershipApplication) String() string { return proto.CompactTextString(m) } -func (*EventGuildMembershipApplication) ProtoMessage() {} -func (*EventGuildMembershipApplication) Descriptor() ([]byte, []int) { - return fileDescriptor_dd7c2ee201e0d8dd, []int{20} +func (m *EventProviderRevokeGuildDetail) Reset() { *m = EventProviderRevokeGuildDetail{} } +func (m *EventProviderRevokeGuildDetail) String() string { return proto.CompactTextString(m) } +func (*EventProviderRevokeGuildDetail) ProtoMessage() {} +func (*EventProviderRevokeGuildDetail) Descriptor() ([]byte, []int) { + return fileDescriptor_dd7c2ee201e0d8dd, []int{22} } -func (m *EventGuildMembershipApplication) XXX_Unmarshal(b []byte) error { +func (m *EventProviderRevokeGuildDetail) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *EventGuildMembershipApplication) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *EventProviderRevokeGuildDetail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_EventGuildMembershipApplication.Marshal(b, m, deterministic) + return xxx_messageInfo_EventProviderRevokeGuildDetail.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -942,41 +1039,48 @@ func (m *EventGuildMembershipApplication) XXX_Marshal(b []byte, deterministic bo return b[:n], nil } } -func (m *EventGuildMembershipApplication) XXX_Merge(src proto.Message) { - xxx_messageInfo_EventGuildMembershipApplication.Merge(m, src) +func (m *EventProviderRevokeGuildDetail) XXX_Merge(src proto.Message) { + xxx_messageInfo_EventProviderRevokeGuildDetail.Merge(m, src) } -func (m *EventGuildMembershipApplication) XXX_Size() int { +func (m *EventProviderRevokeGuildDetail) XXX_Size() int { return m.Size() } -func (m *EventGuildMembershipApplication) XXX_DiscardUnknown() { - xxx_messageInfo_EventGuildMembershipApplication.DiscardUnknown(m) +func (m *EventProviderRevokeGuildDetail) XXX_DiscardUnknown() { + xxx_messageInfo_EventProviderRevokeGuildDetail.DiscardUnknown(m) } -var xxx_messageInfo_EventGuildMembershipApplication proto.InternalMessageInfo +var xxx_messageInfo_EventProviderRevokeGuildDetail proto.InternalMessageInfo -func (m *EventGuildMembershipApplication) GetGuildMembershipApplication() *GuildMembershipApplication { +func (m *EventProviderRevokeGuildDetail) GetProviderId() string { if m != nil { - return m.GuildMembershipApplication + return m.ProviderId } - return nil + return "" } -type EventOreMine struct { - EventOreMineDetail *EventOreMineDetail `protobuf:"bytes,1,opt,name=eventOreMineDetail,proto3" json:"eventOreMineDetail,omitempty"` +func (m *EventProviderRevokeGuildDetail) GetGuildId() string { + if m != nil { + return m.GuildId + } + return "" } -func (m *EventOreMine) Reset() { *m = EventOreMine{} } -func (m *EventOreMine) String() string { return proto.CompactTextString(m) } -func (*EventOreMine) ProtoMessage() {} -func (*EventOreMine) Descriptor() ([]byte, []int) { - return fileDescriptor_dd7c2ee201e0d8dd, []int{21} +type EventPlayerHalted struct { + PlayerId string `protobuf:"bytes,1,opt,name=playerId,proto3" json:"playerId,omitempty"` } -func (m *EventOreMine) XXX_Unmarshal(b []byte) error { + +func (m *EventPlayerHalted) Reset() { *m = EventPlayerHalted{} } +func (m *EventPlayerHalted) String() string { return proto.CompactTextString(m) } +func (*EventPlayerHalted) ProtoMessage() {} +func (*EventPlayerHalted) Descriptor() ([]byte, []int) { + return fileDescriptor_dd7c2ee201e0d8dd, []int{23} +} +func (m *EventPlayerHalted) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *EventOreMine) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *EventPlayerHalted) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_EventOreMine.Marshal(b, m, deterministic) + return xxx_messageInfo_EventPlayerHalted.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -986,43 +1090,41 @@ func (m *EventOreMine) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) return b[:n], nil } } -func (m *EventOreMine) XXX_Merge(src proto.Message) { - xxx_messageInfo_EventOreMine.Merge(m, src) +func (m *EventPlayerHalted) XXX_Merge(src proto.Message) { + xxx_messageInfo_EventPlayerHalted.Merge(m, src) } -func (m *EventOreMine) XXX_Size() int { +func (m *EventPlayerHalted) XXX_Size() int { return m.Size() } -func (m *EventOreMine) XXX_DiscardUnknown() { - xxx_messageInfo_EventOreMine.DiscardUnknown(m) +func (m *EventPlayerHalted) XXX_DiscardUnknown() { + xxx_messageInfo_EventPlayerHalted.DiscardUnknown(m) } -var xxx_messageInfo_EventOreMine proto.InternalMessageInfo +var xxx_messageInfo_EventPlayerHalted proto.InternalMessageInfo -func (m *EventOreMine) GetEventOreMineDetail() *EventOreMineDetail { +func (m *EventPlayerHalted) GetPlayerId() string { if m != nil { - return m.EventOreMineDetail + return m.PlayerId } - return nil + return "" } -type EventOreMineDetail struct { - PlayerId string `protobuf:"bytes,1,opt,name=playerId,proto3" json:"playerId,omitempty"` - PrimaryAddress string `protobuf:"bytes,2,opt,name=primaryAddress,proto3" json:"primaryAddress,omitempty"` - Amount uint64 `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"` +type EventPlayerResumed struct { + PlayerId string `protobuf:"bytes,1,opt,name=playerId,proto3" json:"playerId,omitempty"` } -func (m *EventOreMineDetail) Reset() { *m = EventOreMineDetail{} } -func (m *EventOreMineDetail) String() string { return proto.CompactTextString(m) } -func (*EventOreMineDetail) ProtoMessage() {} -func (*EventOreMineDetail) Descriptor() ([]byte, []int) { - return fileDescriptor_dd7c2ee201e0d8dd, []int{22} +func (m *EventPlayerResumed) Reset() { *m = EventPlayerResumed{} } +func (m *EventPlayerResumed) String() string { return proto.CompactTextString(m) } +func (*EventPlayerResumed) ProtoMessage() {} +func (*EventPlayerResumed) Descriptor() ([]byte, []int) { + return fileDescriptor_dd7c2ee201e0d8dd, []int{24} } -func (m *EventOreMineDetail) XXX_Unmarshal(b []byte) error { +func (m *EventPlayerResumed) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *EventOreMineDetail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *EventPlayerResumed) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_EventOreMineDetail.Marshal(b, m, deterministic) + return xxx_messageInfo_EventPlayerResumed.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -1032,55 +1134,41 @@ func (m *EventOreMineDetail) XXX_Marshal(b []byte, deterministic bool) ([]byte, return b[:n], nil } } -func (m *EventOreMineDetail) XXX_Merge(src proto.Message) { - xxx_messageInfo_EventOreMineDetail.Merge(m, src) +func (m *EventPlayerResumed) XXX_Merge(src proto.Message) { + xxx_messageInfo_EventPlayerResumed.Merge(m, src) } -func (m *EventOreMineDetail) XXX_Size() int { +func (m *EventPlayerResumed) XXX_Size() int { return m.Size() } -func (m *EventOreMineDetail) XXX_DiscardUnknown() { - xxx_messageInfo_EventOreMineDetail.DiscardUnknown(m) +func (m *EventPlayerResumed) XXX_DiscardUnknown() { + xxx_messageInfo_EventPlayerResumed.DiscardUnknown(m) } -var xxx_messageInfo_EventOreMineDetail proto.InternalMessageInfo +var xxx_messageInfo_EventPlayerResumed proto.InternalMessageInfo -func (m *EventOreMineDetail) GetPlayerId() string { +func (m *EventPlayerResumed) GetPlayerId() string { if m != nil { return m.PlayerId } return "" } -func (m *EventOreMineDetail) GetPrimaryAddress() string { - if m != nil { - return m.PrimaryAddress - } - return "" -} - -func (m *EventOreMineDetail) GetAmount() uint64 { - if m != nil { - return m.Amount - } - return 0 -} - -type EventAlphaRefine struct { - EventAlphaRefineDetail *EventAlphaRefineDetail `protobuf:"bytes,1,opt,name=eventAlphaRefineDetail,proto3" json:"eventAlphaRefineDetail,omitempty"` +type EventDelete struct { + ObjectId string `protobuf:"bytes,1,opt,name=objectId,proto3" json:"objectId,omitempty"` } -func (m *EventAlphaRefine) Reset() { *m = EventAlphaRefine{} } -func (m *EventAlphaRefine) String() string { return proto.CompactTextString(m) } -func (*EventAlphaRefine) ProtoMessage() {} -func (*EventAlphaRefine) Descriptor() ([]byte, []int) { - return fileDescriptor_dd7c2ee201e0d8dd, []int{23} +func (m *EventDelete) Reset() { *m = EventDelete{} } +func (m *EventDelete) String() string { return proto.CompactTextString(m) } +func (*EventDelete) ProtoMessage() {} +func (*EventDelete) Descriptor() ([]byte, []int) { + return fileDescriptor_dd7c2ee201e0d8dd, []int{25} } -func (m *EventAlphaRefine) XXX_Unmarshal(b []byte) error { +func (m *EventDelete) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *EventAlphaRefine) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *EventDelete) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_EventAlphaRefine.Marshal(b, m, deterministic) + return xxx_messageInfo_EventDelete.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -1090,43 +1178,41 @@ func (m *EventAlphaRefine) XXX_Marshal(b []byte, deterministic bool) ([]byte, er return b[:n], nil } } -func (m *EventAlphaRefine) XXX_Merge(src proto.Message) { - xxx_messageInfo_EventAlphaRefine.Merge(m, src) +func (m *EventDelete) XXX_Merge(src proto.Message) { + xxx_messageInfo_EventDelete.Merge(m, src) } -func (m *EventAlphaRefine) XXX_Size() int { +func (m *EventDelete) XXX_Size() int { return m.Size() } -func (m *EventAlphaRefine) XXX_DiscardUnknown() { - xxx_messageInfo_EventAlphaRefine.DiscardUnknown(m) +func (m *EventDelete) XXX_DiscardUnknown() { + xxx_messageInfo_EventDelete.DiscardUnknown(m) } -var xxx_messageInfo_EventAlphaRefine proto.InternalMessageInfo +var xxx_messageInfo_EventDelete proto.InternalMessageInfo -func (m *EventAlphaRefine) GetEventAlphaRefineDetail() *EventAlphaRefineDetail { +func (m *EventDelete) GetObjectId() string { if m != nil { - return m.EventAlphaRefineDetail + return m.ObjectId } - return nil + return "" } -type EventAlphaRefineDetail struct { - PlayerId string `protobuf:"bytes,1,opt,name=playerId,proto3" json:"playerId,omitempty"` - PrimaryAddress string `protobuf:"bytes,2,opt,name=primaryAddress,proto3" json:"primaryAddress,omitempty"` - Amount uint64 `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"` +type EventAddressAssociation struct { + AddressAssociation *AddressAssociation `protobuf:"bytes,1,opt,name=addressAssociation,proto3" json:"addressAssociation,omitempty"` } -func (m *EventAlphaRefineDetail) Reset() { *m = EventAlphaRefineDetail{} } -func (m *EventAlphaRefineDetail) String() string { return proto.CompactTextString(m) } -func (*EventAlphaRefineDetail) ProtoMessage() {} -func (*EventAlphaRefineDetail) Descriptor() ([]byte, []int) { - return fileDescriptor_dd7c2ee201e0d8dd, []int{24} +func (m *EventAddressAssociation) Reset() { *m = EventAddressAssociation{} } +func (m *EventAddressAssociation) String() string { return proto.CompactTextString(m) } +func (*EventAddressAssociation) ProtoMessage() {} +func (*EventAddressAssociation) Descriptor() ([]byte, []int) { + return fileDescriptor_dd7c2ee201e0d8dd, []int{26} } -func (m *EventAlphaRefineDetail) XXX_Unmarshal(b []byte) error { +func (m *EventAddressAssociation) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *EventAlphaRefineDetail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *EventAddressAssociation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_EventAlphaRefineDetail.Marshal(b, m, deterministic) + return xxx_messageInfo_EventAddressAssociation.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -1136,55 +1222,85 @@ func (m *EventAlphaRefineDetail) XXX_Marshal(b []byte, deterministic bool) ([]by return b[:n], nil } } -func (m *EventAlphaRefineDetail) XXX_Merge(src proto.Message) { - xxx_messageInfo_EventAlphaRefineDetail.Merge(m, src) +func (m *EventAddressAssociation) XXX_Merge(src proto.Message) { + xxx_messageInfo_EventAddressAssociation.Merge(m, src) } -func (m *EventAlphaRefineDetail) XXX_Size() int { +func (m *EventAddressAssociation) XXX_Size() int { return m.Size() } -func (m *EventAlphaRefineDetail) XXX_DiscardUnknown() { - xxx_messageInfo_EventAlphaRefineDetail.DiscardUnknown(m) +func (m *EventAddressAssociation) XXX_DiscardUnknown() { + xxx_messageInfo_EventAddressAssociation.DiscardUnknown(m) } -var xxx_messageInfo_EventAlphaRefineDetail proto.InternalMessageInfo +var xxx_messageInfo_EventAddressAssociation proto.InternalMessageInfo -func (m *EventAlphaRefineDetail) GetPlayerId() string { +func (m *EventAddressAssociation) GetAddressAssociation() *AddressAssociation { if m != nil { - return m.PlayerId + return m.AddressAssociation } - return "" + return nil } -func (m *EventAlphaRefineDetail) GetPrimaryAddress() string { - if m != nil { - return m.PrimaryAddress +type EventAddressActivity struct { + AddressActivity *AddressActivity `protobuf:"bytes,1,opt,name=addressActivity,proto3" json:"addressActivity,omitempty"` +} + +func (m *EventAddressActivity) Reset() { *m = EventAddressActivity{} } +func (m *EventAddressActivity) String() string { return proto.CompactTextString(m) } +func (*EventAddressActivity) ProtoMessage() {} +func (*EventAddressActivity) Descriptor() ([]byte, []int) { + return fileDescriptor_dd7c2ee201e0d8dd, []int{27} +} +func (m *EventAddressActivity) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *EventAddressActivity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_EventAddressActivity.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil } - return "" +} +func (m *EventAddressActivity) XXX_Merge(src proto.Message) { + xxx_messageInfo_EventAddressActivity.Merge(m, src) +} +func (m *EventAddressActivity) XXX_Size() int { + return m.Size() +} +func (m *EventAddressActivity) XXX_DiscardUnknown() { + xxx_messageInfo_EventAddressActivity.DiscardUnknown(m) } -func (m *EventAlphaRefineDetail) GetAmount() uint64 { +var xxx_messageInfo_EventAddressActivity proto.InternalMessageInfo + +func (m *EventAddressActivity) GetAddressActivity() *AddressActivity { if m != nil { - return m.Amount + return m.AddressActivity } - return 0 + return nil } -type EventAlphaInfuse struct { - EventAlphaInfuseDetail *EventAlphaInfuseDetail `protobuf:"bytes,1,opt,name=eventAlphaInfuseDetail,proto3" json:"eventAlphaInfuseDetail,omitempty"` +type EventGuildBankMint struct { + EventGuildBankMintDetail *EventGuildBankMintDetail `protobuf:"bytes,1,opt,name=eventGuildBankMintDetail,proto3" json:"eventGuildBankMintDetail,omitempty"` } -func (m *EventAlphaInfuse) Reset() { *m = EventAlphaInfuse{} } -func (m *EventAlphaInfuse) String() string { return proto.CompactTextString(m) } -func (*EventAlphaInfuse) ProtoMessage() {} -func (*EventAlphaInfuse) Descriptor() ([]byte, []int) { - return fileDescriptor_dd7c2ee201e0d8dd, []int{25} +func (m *EventGuildBankMint) Reset() { *m = EventGuildBankMint{} } +func (m *EventGuildBankMint) String() string { return proto.CompactTextString(m) } +func (*EventGuildBankMint) ProtoMessage() {} +func (*EventGuildBankMint) Descriptor() ([]byte, []int) { + return fileDescriptor_dd7c2ee201e0d8dd, []int{28} } -func (m *EventAlphaInfuse) XXX_Unmarshal(b []byte) error { +func (m *EventGuildBankMint) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *EventAlphaInfuse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *EventGuildBankMint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_EventAlphaInfuse.Marshal(b, m, deterministic) + return xxx_messageInfo_EventGuildBankMint.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -1194,43 +1310,44 @@ func (m *EventAlphaInfuse) XXX_Marshal(b []byte, deterministic bool) ([]byte, er return b[:n], nil } } -func (m *EventAlphaInfuse) XXX_Merge(src proto.Message) { - xxx_messageInfo_EventAlphaInfuse.Merge(m, src) +func (m *EventGuildBankMint) XXX_Merge(src proto.Message) { + xxx_messageInfo_EventGuildBankMint.Merge(m, src) } -func (m *EventAlphaInfuse) XXX_Size() int { +func (m *EventGuildBankMint) XXX_Size() int { return m.Size() } -func (m *EventAlphaInfuse) XXX_DiscardUnknown() { - xxx_messageInfo_EventAlphaInfuse.DiscardUnknown(m) +func (m *EventGuildBankMint) XXX_DiscardUnknown() { + xxx_messageInfo_EventGuildBankMint.DiscardUnknown(m) } -var xxx_messageInfo_EventAlphaInfuse proto.InternalMessageInfo +var xxx_messageInfo_EventGuildBankMint proto.InternalMessageInfo -func (m *EventAlphaInfuse) GetEventAlphaInfuseDetail() *EventAlphaInfuseDetail { +func (m *EventGuildBankMint) GetEventGuildBankMintDetail() *EventGuildBankMintDetail { if m != nil { - return m.EventAlphaInfuseDetail + return m.EventGuildBankMintDetail } return nil } -type EventAlphaInfuseDetail struct { - PlayerId string `protobuf:"bytes,1,opt,name=playerId,proto3" json:"playerId,omitempty"` - PrimaryAddress string `protobuf:"bytes,2,opt,name=primaryAddress,proto3" json:"primaryAddress,omitempty"` - Amount uint64 `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"` +type EventGuildBankMintDetail struct { + GuildId string `protobuf:"bytes,1,opt,name=guildId,proto3" json:"guildId,omitempty"` + AmountAlpha uint64 `protobuf:"varint,2,opt,name=amountAlpha,proto3" json:"amountAlpha,omitempty"` + AmountToken uint64 `protobuf:"varint,3,opt,name=amountToken,proto3" json:"amountToken,omitempty"` + PlayerId string `protobuf:"bytes,4,opt,name=playerId,proto3" json:"playerId,omitempty"` } -func (m *EventAlphaInfuseDetail) Reset() { *m = EventAlphaInfuseDetail{} } -func (m *EventAlphaInfuseDetail) String() string { return proto.CompactTextString(m) } -func (*EventAlphaInfuseDetail) ProtoMessage() {} -func (*EventAlphaInfuseDetail) Descriptor() ([]byte, []int) { - return fileDescriptor_dd7c2ee201e0d8dd, []int{26} +func (m *EventGuildBankMintDetail) Reset() { *m = EventGuildBankMintDetail{} } +func (m *EventGuildBankMintDetail) String() string { return proto.CompactTextString(m) } +func (*EventGuildBankMintDetail) ProtoMessage() {} +func (*EventGuildBankMintDetail) Descriptor() ([]byte, []int) { + return fileDescriptor_dd7c2ee201e0d8dd, []int{29} } -func (m *EventAlphaInfuseDetail) XXX_Unmarshal(b []byte) error { +func (m *EventGuildBankMintDetail) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *EventAlphaInfuseDetail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *EventGuildBankMintDetail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_EventAlphaInfuseDetail.Marshal(b, m, deterministic) + return xxx_messageInfo_EventGuildBankMintDetail.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -1240,55 +1357,62 @@ func (m *EventAlphaInfuseDetail) XXX_Marshal(b []byte, deterministic bool) ([]by return b[:n], nil } } -func (m *EventAlphaInfuseDetail) XXX_Merge(src proto.Message) { - xxx_messageInfo_EventAlphaInfuseDetail.Merge(m, src) +func (m *EventGuildBankMintDetail) XXX_Merge(src proto.Message) { + xxx_messageInfo_EventGuildBankMintDetail.Merge(m, src) } -func (m *EventAlphaInfuseDetail) XXX_Size() int { +func (m *EventGuildBankMintDetail) XXX_Size() int { return m.Size() } -func (m *EventAlphaInfuseDetail) XXX_DiscardUnknown() { - xxx_messageInfo_EventAlphaInfuseDetail.DiscardUnknown(m) +func (m *EventGuildBankMintDetail) XXX_DiscardUnknown() { + xxx_messageInfo_EventGuildBankMintDetail.DiscardUnknown(m) } -var xxx_messageInfo_EventAlphaInfuseDetail proto.InternalMessageInfo +var xxx_messageInfo_EventGuildBankMintDetail proto.InternalMessageInfo -func (m *EventAlphaInfuseDetail) GetPlayerId() string { +func (m *EventGuildBankMintDetail) GetGuildId() string { if m != nil { - return m.PlayerId + return m.GuildId } return "" } -func (m *EventAlphaInfuseDetail) GetPrimaryAddress() string { +func (m *EventGuildBankMintDetail) GetAmountAlpha() uint64 { if m != nil { - return m.PrimaryAddress + return m.AmountAlpha } - return "" + return 0 } -func (m *EventAlphaInfuseDetail) GetAmount() uint64 { +func (m *EventGuildBankMintDetail) GetAmountToken() uint64 { if m != nil { - return m.Amount + return m.AmountToken } return 0 } -type EventAlphaDefuse struct { - EventAlphaDefuseDetail *EventAlphaDefuseDetail `protobuf:"bytes,1,opt,name=eventAlphaDefuseDetail,proto3" json:"eventAlphaDefuseDetail,omitempty"` +func (m *EventGuildBankMintDetail) GetPlayerId() string { + if m != nil { + return m.PlayerId + } + return "" } -func (m *EventAlphaDefuse) Reset() { *m = EventAlphaDefuse{} } -func (m *EventAlphaDefuse) String() string { return proto.CompactTextString(m) } -func (*EventAlphaDefuse) ProtoMessage() {} -func (*EventAlphaDefuse) Descriptor() ([]byte, []int) { - return fileDescriptor_dd7c2ee201e0d8dd, []int{27} +type EventGuildBankRedeem struct { + EventGuildBankRedeemDetail *EventGuildBankRedeemDetail `protobuf:"bytes,1,opt,name=eventGuildBankRedeemDetail,proto3" json:"eventGuildBankRedeemDetail,omitempty"` } -func (m *EventAlphaDefuse) XXX_Unmarshal(b []byte) error { + +func (m *EventGuildBankRedeem) Reset() { *m = EventGuildBankRedeem{} } +func (m *EventGuildBankRedeem) String() string { return proto.CompactTextString(m) } +func (*EventGuildBankRedeem) ProtoMessage() {} +func (*EventGuildBankRedeem) Descriptor() ([]byte, []int) { + return fileDescriptor_dd7c2ee201e0d8dd, []int{30} +} +func (m *EventGuildBankRedeem) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *EventAlphaDefuse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *EventGuildBankRedeem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_EventAlphaDefuse.Marshal(b, m, deterministic) + return xxx_messageInfo_EventGuildBankRedeem.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -1298,42 +1422,44 @@ func (m *EventAlphaDefuse) XXX_Marshal(b []byte, deterministic bool) ([]byte, er return b[:n], nil } } -func (m *EventAlphaDefuse) XXX_Merge(src proto.Message) { - xxx_messageInfo_EventAlphaDefuse.Merge(m, src) +func (m *EventGuildBankRedeem) XXX_Merge(src proto.Message) { + xxx_messageInfo_EventGuildBankRedeem.Merge(m, src) } -func (m *EventAlphaDefuse) XXX_Size() int { +func (m *EventGuildBankRedeem) XXX_Size() int { return m.Size() } -func (m *EventAlphaDefuse) XXX_DiscardUnknown() { - xxx_messageInfo_EventAlphaDefuse.DiscardUnknown(m) +func (m *EventGuildBankRedeem) XXX_DiscardUnknown() { + xxx_messageInfo_EventGuildBankRedeem.DiscardUnknown(m) } -var xxx_messageInfo_EventAlphaDefuse proto.InternalMessageInfo +var xxx_messageInfo_EventGuildBankRedeem proto.InternalMessageInfo -func (m *EventAlphaDefuse) GetEventAlphaDefuseDetail() *EventAlphaDefuseDetail { +func (m *EventGuildBankRedeem) GetEventGuildBankRedeemDetail() *EventGuildBankRedeemDetail { if m != nil { - return m.EventAlphaDefuseDetail + return m.EventGuildBankRedeemDetail } return nil } -type EventAlphaDefuseDetail struct { - PrimaryAddress string `protobuf:"bytes,1,opt,name=primaryAddress,proto3" json:"primaryAddress,omitempty"` - Amount uint64 `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"` +type EventGuildBankRedeemDetail struct { + GuildId string `protobuf:"bytes,1,opt,name=guildId,proto3" json:"guildId,omitempty"` + AmountAlpha uint64 `protobuf:"varint,2,opt,name=amountAlpha,proto3" json:"amountAlpha,omitempty"` + AmountToken uint64 `protobuf:"varint,3,opt,name=amountToken,proto3" json:"amountToken,omitempty"` + PlayerId string `protobuf:"bytes,4,opt,name=playerId,proto3" json:"playerId,omitempty"` } -func (m *EventAlphaDefuseDetail) Reset() { *m = EventAlphaDefuseDetail{} } -func (m *EventAlphaDefuseDetail) String() string { return proto.CompactTextString(m) } -func (*EventAlphaDefuseDetail) ProtoMessage() {} -func (*EventAlphaDefuseDetail) Descriptor() ([]byte, []int) { - return fileDescriptor_dd7c2ee201e0d8dd, []int{28} +func (m *EventGuildBankRedeemDetail) Reset() { *m = EventGuildBankRedeemDetail{} } +func (m *EventGuildBankRedeemDetail) String() string { return proto.CompactTextString(m) } +func (*EventGuildBankRedeemDetail) ProtoMessage() {} +func (*EventGuildBankRedeemDetail) Descriptor() ([]byte, []int) { + return fileDescriptor_dd7c2ee201e0d8dd, []int{31} } -func (m *EventAlphaDefuseDetail) XXX_Unmarshal(b []byte) error { +func (m *EventGuildBankRedeemDetail) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *EventAlphaDefuseDetail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *EventGuildBankRedeemDetail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_EventAlphaDefuseDetail.Marshal(b, m, deterministic) + return xxx_messageInfo_EventGuildBankRedeemDetail.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -1343,48 +1469,62 @@ func (m *EventAlphaDefuseDetail) XXX_Marshal(b []byte, deterministic bool) ([]by return b[:n], nil } } -func (m *EventAlphaDefuseDetail) XXX_Merge(src proto.Message) { - xxx_messageInfo_EventAlphaDefuseDetail.Merge(m, src) +func (m *EventGuildBankRedeemDetail) XXX_Merge(src proto.Message) { + xxx_messageInfo_EventGuildBankRedeemDetail.Merge(m, src) } -func (m *EventAlphaDefuseDetail) XXX_Size() int { +func (m *EventGuildBankRedeemDetail) XXX_Size() int { return m.Size() } -func (m *EventAlphaDefuseDetail) XXX_DiscardUnknown() { - xxx_messageInfo_EventAlphaDefuseDetail.DiscardUnknown(m) +func (m *EventGuildBankRedeemDetail) XXX_DiscardUnknown() { + xxx_messageInfo_EventGuildBankRedeemDetail.DiscardUnknown(m) } -var xxx_messageInfo_EventAlphaDefuseDetail proto.InternalMessageInfo +var xxx_messageInfo_EventGuildBankRedeemDetail proto.InternalMessageInfo -func (m *EventAlphaDefuseDetail) GetPrimaryAddress() string { +func (m *EventGuildBankRedeemDetail) GetGuildId() string { if m != nil { - return m.PrimaryAddress + return m.GuildId } return "" } -func (m *EventAlphaDefuseDetail) GetAmount() uint64 { +func (m *EventGuildBankRedeemDetail) GetAmountAlpha() uint64 { if m != nil { - return m.Amount + return m.AmountAlpha } return 0 } -type EventOreTheft struct { - EventOreTheftDetail *EventOreTheftDetail `protobuf:"bytes,1,opt,name=eventOreTheftDetail,proto3" json:"eventOreTheftDetail,omitempty"` +func (m *EventGuildBankRedeemDetail) GetAmountToken() uint64 { + if m != nil { + return m.AmountToken + } + return 0 } -func (m *EventOreTheft) Reset() { *m = EventOreTheft{} } -func (m *EventOreTheft) String() string { return proto.CompactTextString(m) } -func (*EventOreTheft) ProtoMessage() {} -func (*EventOreTheft) Descriptor() ([]byte, []int) { - return fileDescriptor_dd7c2ee201e0d8dd, []int{29} +func (m *EventGuildBankRedeemDetail) GetPlayerId() string { + if m != nil { + return m.PlayerId + } + return "" } -func (m *EventOreTheft) XXX_Unmarshal(b []byte) error { + +type EventGuildBankConfiscateAndBurn struct { + EventGuildBankConfiscateAndBurnDetail *EventGuildBankConfiscateAndBurnDetail `protobuf:"bytes,1,opt,name=eventGuildBankConfiscateAndBurnDetail,proto3" json:"eventGuildBankConfiscateAndBurnDetail,omitempty"` +} + +func (m *EventGuildBankConfiscateAndBurn) Reset() { *m = EventGuildBankConfiscateAndBurn{} } +func (m *EventGuildBankConfiscateAndBurn) String() string { return proto.CompactTextString(m) } +func (*EventGuildBankConfiscateAndBurn) ProtoMessage() {} +func (*EventGuildBankConfiscateAndBurn) Descriptor() ([]byte, []int) { + return fileDescriptor_dd7c2ee201e0d8dd, []int{32} +} +func (m *EventGuildBankConfiscateAndBurn) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *EventOreTheft) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *EventGuildBankConfiscateAndBurn) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_EventOreTheft.Marshal(b, m, deterministic) + return xxx_messageInfo_EventGuildBankConfiscateAndBurn.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -1394,45 +1534,44 @@ func (m *EventOreTheft) XXX_Marshal(b []byte, deterministic bool) ([]byte, error return b[:n], nil } } -func (m *EventOreTheft) XXX_Merge(src proto.Message) { - xxx_messageInfo_EventOreTheft.Merge(m, src) +func (m *EventGuildBankConfiscateAndBurn) XXX_Merge(src proto.Message) { + xxx_messageInfo_EventGuildBankConfiscateAndBurn.Merge(m, src) } -func (m *EventOreTheft) XXX_Size() int { +func (m *EventGuildBankConfiscateAndBurn) XXX_Size() int { return m.Size() } -func (m *EventOreTheft) XXX_DiscardUnknown() { - xxx_messageInfo_EventOreTheft.DiscardUnknown(m) +func (m *EventGuildBankConfiscateAndBurn) XXX_DiscardUnknown() { + xxx_messageInfo_EventGuildBankConfiscateAndBurn.DiscardUnknown(m) } -var xxx_messageInfo_EventOreTheft proto.InternalMessageInfo +var xxx_messageInfo_EventGuildBankConfiscateAndBurn proto.InternalMessageInfo -func (m *EventOreTheft) GetEventOreTheftDetail() *EventOreTheftDetail { +func (m *EventGuildBankConfiscateAndBurn) GetEventGuildBankConfiscateAndBurnDetail() *EventGuildBankConfiscateAndBurnDetail { if m != nil { - return m.EventOreTheftDetail + return m.EventGuildBankConfiscateAndBurnDetail } return nil } -type EventOreTheftDetail struct { - VictimPrimaryAddress string `protobuf:"bytes,1,opt,name=victimPrimaryAddress,proto3" json:"victimPrimaryAddress,omitempty"` - VictimPlayerId string `protobuf:"bytes,2,opt,name=victimPlayerId,proto3" json:"victimPlayerId,omitempty"` - ThiefPrimaryAddress string `protobuf:"bytes,3,opt,name=thiefPrimaryAddress,proto3" json:"thiefPrimaryAddress,omitempty"` - ThiefPlayerId string `protobuf:"bytes,4,opt,name=thiefPlayerId,proto3" json:"thiefPlayerId,omitempty"` - Amount uint64 `protobuf:"varint,5,opt,name=amount,proto3" json:"amount,omitempty"` +type EventGuildBankConfiscateAndBurnDetail struct { + GuildId string `protobuf:"bytes,1,opt,name=guildId,proto3" json:"guildId,omitempty"` + AmountAlpha uint64 `protobuf:"varint,2,opt,name=amountAlpha,proto3" json:"amountAlpha,omitempty"` + AmountToken uint64 `protobuf:"varint,3,opt,name=amountToken,proto3" json:"amountToken,omitempty"` + Address string `protobuf:"bytes,4,opt,name=address,proto3" json:"address,omitempty"` } -func (m *EventOreTheftDetail) Reset() { *m = EventOreTheftDetail{} } -func (m *EventOreTheftDetail) String() string { return proto.CompactTextString(m) } -func (*EventOreTheftDetail) ProtoMessage() {} -func (*EventOreTheftDetail) Descriptor() ([]byte, []int) { - return fileDescriptor_dd7c2ee201e0d8dd, []int{30} +func (m *EventGuildBankConfiscateAndBurnDetail) Reset() { *m = EventGuildBankConfiscateAndBurnDetail{} } +func (m *EventGuildBankConfiscateAndBurnDetail) String() string { return proto.CompactTextString(m) } +func (*EventGuildBankConfiscateAndBurnDetail) ProtoMessage() {} +func (*EventGuildBankConfiscateAndBurnDetail) Descriptor() ([]byte, []int) { + return fileDescriptor_dd7c2ee201e0d8dd, []int{33} } -func (m *EventOreTheftDetail) XXX_Unmarshal(b []byte) error { +func (m *EventGuildBankConfiscateAndBurnDetail) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *EventOreTheftDetail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *EventGuildBankConfiscateAndBurnDetail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_EventOreTheftDetail.Marshal(b, m, deterministic) + return xxx_messageInfo_EventGuildBankConfiscateAndBurnDetail.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -1442,69 +1581,106 @@ func (m *EventOreTheftDetail) XXX_Marshal(b []byte, deterministic bool) ([]byte, return b[:n], nil } } -func (m *EventOreTheftDetail) XXX_Merge(src proto.Message) { - xxx_messageInfo_EventOreTheftDetail.Merge(m, src) +func (m *EventGuildBankConfiscateAndBurnDetail) XXX_Merge(src proto.Message) { + xxx_messageInfo_EventGuildBankConfiscateAndBurnDetail.Merge(m, src) } -func (m *EventOreTheftDetail) XXX_Size() int { +func (m *EventGuildBankConfiscateAndBurnDetail) XXX_Size() int { return m.Size() } -func (m *EventOreTheftDetail) XXX_DiscardUnknown() { - xxx_messageInfo_EventOreTheftDetail.DiscardUnknown(m) +func (m *EventGuildBankConfiscateAndBurnDetail) XXX_DiscardUnknown() { + xxx_messageInfo_EventGuildBankConfiscateAndBurnDetail.DiscardUnknown(m) } -var xxx_messageInfo_EventOreTheftDetail proto.InternalMessageInfo +var xxx_messageInfo_EventGuildBankConfiscateAndBurnDetail proto.InternalMessageInfo -func (m *EventOreTheftDetail) GetVictimPrimaryAddress() string { +func (m *EventGuildBankConfiscateAndBurnDetail) GetGuildId() string { if m != nil { - return m.VictimPrimaryAddress + return m.GuildId } return "" } -func (m *EventOreTheftDetail) GetVictimPlayerId() string { +func (m *EventGuildBankConfiscateAndBurnDetail) GetAmountAlpha() uint64 { if m != nil { - return m.VictimPlayerId + return m.AmountAlpha } - return "" + return 0 } -func (m *EventOreTheftDetail) GetThiefPrimaryAddress() string { +func (m *EventGuildBankConfiscateAndBurnDetail) GetAmountToken() uint64 { if m != nil { - return m.ThiefPrimaryAddress + return m.AmountToken } - return "" + return 0 } -func (m *EventOreTheftDetail) GetThiefPlayerId() string { +func (m *EventGuildBankConfiscateAndBurnDetail) GetAddress() string { if m != nil { - return m.ThiefPlayerId + return m.Address } return "" } -func (m *EventOreTheftDetail) GetAmount() uint64 { +type EventGuildMembershipApplication struct { + GuildMembershipApplication *GuildMembershipApplication `protobuf:"bytes,1,opt,name=guildMembershipApplication,proto3" json:"guildMembershipApplication,omitempty"` +} + +func (m *EventGuildMembershipApplication) Reset() { *m = EventGuildMembershipApplication{} } +func (m *EventGuildMembershipApplication) String() string { return proto.CompactTextString(m) } +func (*EventGuildMembershipApplication) ProtoMessage() {} +func (*EventGuildMembershipApplication) Descriptor() ([]byte, []int) { + return fileDescriptor_dd7c2ee201e0d8dd, []int{34} +} +func (m *EventGuildMembershipApplication) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *EventGuildMembershipApplication) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_EventGuildMembershipApplication.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *EventGuildMembershipApplication) XXX_Merge(src proto.Message) { + xxx_messageInfo_EventGuildMembershipApplication.Merge(m, src) +} +func (m *EventGuildMembershipApplication) XXX_Size() int { + return m.Size() +} +func (m *EventGuildMembershipApplication) XXX_DiscardUnknown() { + xxx_messageInfo_EventGuildMembershipApplication.DiscardUnknown(m) +} + +var xxx_messageInfo_EventGuildMembershipApplication proto.InternalMessageInfo + +func (m *EventGuildMembershipApplication) GetGuildMembershipApplication() *GuildMembershipApplication { if m != nil { - return m.Amount + return m.GuildMembershipApplication } - return 0 + return nil } -type EventOreMigrate struct { - EventOreMigrateDetail *EventOreMigrateDetail `protobuf:"bytes,1,opt,name=eventOreMigrateDetail,proto3" json:"eventOreMigrateDetail,omitempty"` +type EventOreMine struct { + EventOreMineDetail *EventOreMineDetail `protobuf:"bytes,1,opt,name=eventOreMineDetail,proto3" json:"eventOreMineDetail,omitempty"` } -func (m *EventOreMigrate) Reset() { *m = EventOreMigrate{} } -func (m *EventOreMigrate) String() string { return proto.CompactTextString(m) } -func (*EventOreMigrate) ProtoMessage() {} -func (*EventOreMigrate) Descriptor() ([]byte, []int) { - return fileDescriptor_dd7c2ee201e0d8dd, []int{31} +func (m *EventOreMine) Reset() { *m = EventOreMine{} } +func (m *EventOreMine) String() string { return proto.CompactTextString(m) } +func (*EventOreMine) ProtoMessage() {} +func (*EventOreMine) Descriptor() ([]byte, []int) { + return fileDescriptor_dd7c2ee201e0d8dd, []int{35} } -func (m *EventOreMigrate) XXX_Unmarshal(b []byte) error { +func (m *EventOreMine) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *EventOreMigrate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *EventOreMine) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_EventOreMigrate.Marshal(b, m, deterministic) + return xxx_messageInfo_EventOreMine.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -1514,44 +1690,43 @@ func (m *EventOreMigrate) XXX_Marshal(b []byte, deterministic bool) ([]byte, err return b[:n], nil } } -func (m *EventOreMigrate) XXX_Merge(src proto.Message) { - xxx_messageInfo_EventOreMigrate.Merge(m, src) +func (m *EventOreMine) XXX_Merge(src proto.Message) { + xxx_messageInfo_EventOreMine.Merge(m, src) } -func (m *EventOreMigrate) XXX_Size() int { +func (m *EventOreMine) XXX_Size() int { return m.Size() } -func (m *EventOreMigrate) XXX_DiscardUnknown() { - xxx_messageInfo_EventOreMigrate.DiscardUnknown(m) +func (m *EventOreMine) XXX_DiscardUnknown() { + xxx_messageInfo_EventOreMine.DiscardUnknown(m) } -var xxx_messageInfo_EventOreMigrate proto.InternalMessageInfo +var xxx_messageInfo_EventOreMine proto.InternalMessageInfo -func (m *EventOreMigrate) GetEventOreMigrateDetail() *EventOreMigrateDetail { +func (m *EventOreMine) GetEventOreMineDetail() *EventOreMineDetail { if m != nil { - return m.EventOreMigrateDetail + return m.EventOreMineDetail } return nil } -type EventOreMigrateDetail struct { - PlayerId string `protobuf:"bytes,1,opt,name=playerId,proto3" json:"playerId,omitempty"` - PrimaryAddress string `protobuf:"bytes,2,opt,name=primaryAddress,proto3" json:"primaryAddress,omitempty"` - OldPrimaryAddress string `protobuf:"bytes,3,opt,name=oldPrimaryAddress,proto3" json:"oldPrimaryAddress,omitempty"` - Amount uint64 `protobuf:"varint,4,opt,name=amount,proto3" json:"amount,omitempty"` +type EventOreMineDetail struct { + PlayerId string `protobuf:"bytes,1,opt,name=playerId,proto3" json:"playerId,omitempty"` + PrimaryAddress string `protobuf:"bytes,2,opt,name=primaryAddress,proto3" json:"primaryAddress,omitempty"` + Amount uint64 `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"` } -func (m *EventOreMigrateDetail) Reset() { *m = EventOreMigrateDetail{} } -func (m *EventOreMigrateDetail) String() string { return proto.CompactTextString(m) } -func (*EventOreMigrateDetail) ProtoMessage() {} -func (*EventOreMigrateDetail) Descriptor() ([]byte, []int) { - return fileDescriptor_dd7c2ee201e0d8dd, []int{32} +func (m *EventOreMineDetail) Reset() { *m = EventOreMineDetail{} } +func (m *EventOreMineDetail) String() string { return proto.CompactTextString(m) } +func (*EventOreMineDetail) ProtoMessage() {} +func (*EventOreMineDetail) Descriptor() ([]byte, []int) { + return fileDescriptor_dd7c2ee201e0d8dd, []int{36} } -func (m *EventOreMigrateDetail) XXX_Unmarshal(b []byte) error { +func (m *EventOreMineDetail) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *EventOreMigrateDetail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *EventOreMineDetail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_EventOreMigrateDetail.Marshal(b, m, deterministic) + return xxx_messageInfo_EventOreMineDetail.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -1561,62 +1736,55 @@ func (m *EventOreMigrateDetail) XXX_Marshal(b []byte, deterministic bool) ([]byt return b[:n], nil } } -func (m *EventOreMigrateDetail) XXX_Merge(src proto.Message) { - xxx_messageInfo_EventOreMigrateDetail.Merge(m, src) +func (m *EventOreMineDetail) XXX_Merge(src proto.Message) { + xxx_messageInfo_EventOreMineDetail.Merge(m, src) } -func (m *EventOreMigrateDetail) XXX_Size() int { +func (m *EventOreMineDetail) XXX_Size() int { return m.Size() } -func (m *EventOreMigrateDetail) XXX_DiscardUnknown() { - xxx_messageInfo_EventOreMigrateDetail.DiscardUnknown(m) +func (m *EventOreMineDetail) XXX_DiscardUnknown() { + xxx_messageInfo_EventOreMineDetail.DiscardUnknown(m) } -var xxx_messageInfo_EventOreMigrateDetail proto.InternalMessageInfo +var xxx_messageInfo_EventOreMineDetail proto.InternalMessageInfo -func (m *EventOreMigrateDetail) GetPlayerId() string { +func (m *EventOreMineDetail) GetPlayerId() string { if m != nil { return m.PlayerId } return "" } -func (m *EventOreMigrateDetail) GetPrimaryAddress() string { +func (m *EventOreMineDetail) GetPrimaryAddress() string { if m != nil { return m.PrimaryAddress } return "" } -func (m *EventOreMigrateDetail) GetOldPrimaryAddress() string { - if m != nil { - return m.OldPrimaryAddress - } - return "" -} - -func (m *EventOreMigrateDetail) GetAmount() uint64 { +func (m *EventOreMineDetail) GetAmount() uint64 { if m != nil { return m.Amount } return 0 } -type EventAttack struct { - EventAttackDetail *EventAttackDetail `protobuf:"bytes,1,opt,name=eventAttackDetail,proto3" json:"eventAttackDetail,omitempty"` +type EventAlphaRefine struct { + EventAlphaRefineDetail *EventAlphaRefineDetail `protobuf:"bytes,1,opt,name=eventAlphaRefineDetail,proto3" json:"eventAlphaRefineDetail,omitempty"` } -func (m *EventAttack) Reset() { *m = EventAttack{} } -func (m *EventAttack) String() string { return proto.CompactTextString(m) } -func (*EventAttack) ProtoMessage() {} -func (*EventAttack) Descriptor() ([]byte, []int) { - return fileDescriptor_dd7c2ee201e0d8dd, []int{33} +func (m *EventAlphaRefine) Reset() { *m = EventAlphaRefine{} } +func (m *EventAlphaRefine) String() string { return proto.CompactTextString(m) } +func (*EventAlphaRefine) ProtoMessage() {} +func (*EventAlphaRefine) Descriptor() ([]byte, []int) { + return fileDescriptor_dd7c2ee201e0d8dd, []int{37} } -func (m *EventAttack) XXX_Unmarshal(b []byte) error { +func (m *EventAlphaRefine) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *EventAttack) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *EventAlphaRefine) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_EventAttack.Marshal(b, m, deterministic) + return xxx_messageInfo_EventAlphaRefine.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -1626,58 +1794,43 @@ func (m *EventAttack) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) return b[:n], nil } } -func (m *EventAttack) XXX_Merge(src proto.Message) { - xxx_messageInfo_EventAttack.Merge(m, src) +func (m *EventAlphaRefine) XXX_Merge(src proto.Message) { + xxx_messageInfo_EventAlphaRefine.Merge(m, src) } -func (m *EventAttack) XXX_Size() int { +func (m *EventAlphaRefine) XXX_Size() int { return m.Size() } -func (m *EventAttack) XXX_DiscardUnknown() { - xxx_messageInfo_EventAttack.DiscardUnknown(m) +func (m *EventAlphaRefine) XXX_DiscardUnknown() { + xxx_messageInfo_EventAlphaRefine.DiscardUnknown(m) } -var xxx_messageInfo_EventAttack proto.InternalMessageInfo +var xxx_messageInfo_EventAlphaRefine proto.InternalMessageInfo -func (m *EventAttack) GetEventAttackDetail() *EventAttackDetail { +func (m *EventAlphaRefine) GetEventAlphaRefineDetail() *EventAlphaRefineDetail { if m != nil { - return m.EventAttackDetail + return m.EventAlphaRefineDetail } return nil } -type EventAttackDetail struct { - AttackerStructId string `protobuf:"bytes,1,opt,name=attackerStructId,proto3" json:"attackerStructId,omitempty"` - AttackerStructType uint64 `protobuf:"varint,2,opt,name=attackerStructType,proto3" json:"attackerStructType,omitempty"` - AttackerStructLocationType ObjectType `protobuf:"varint,3,opt,name=attackerStructLocationType,proto3,enum=structs.structs.ObjectType" json:"attackerStructLocationType,omitempty"` - AttackerStructLocationId string `protobuf:"bytes,4,opt,name=attackerStructLocationId,proto3" json:"attackerStructLocationId,omitempty"` - AttackerStructOperatingAmbit Ambit `protobuf:"varint,5,opt,name=attackerStructOperatingAmbit,proto3,enum=structs.structs.Ambit" json:"attackerStructOperatingAmbit,omitempty"` - AttackerStructSlot uint64 `protobuf:"varint,6,opt,name=attackerStructSlot,proto3" json:"attackerStructSlot,omitempty"` - WeaponSystem TechWeaponSystem `protobuf:"varint,7,opt,name=weaponSystem,proto3,enum=structs.structs.TechWeaponSystem" json:"weaponSystem,omitempty"` - WeaponControl TechWeaponControl `protobuf:"varint,8,opt,name=weaponControl,proto3,enum=structs.structs.TechWeaponControl" json:"weaponControl,omitempty"` - ActiveWeaponry TechActiveWeaponry `protobuf:"varint,9,opt,name=activeWeaponry,proto3,enum=structs.structs.TechActiveWeaponry" json:"activeWeaponry,omitempty"` - EventAttackShotDetail []*EventAttackShotDetail `protobuf:"bytes,10,rep,name=eventAttackShotDetail,proto3" json:"eventAttackShotDetail,omitempty"` - RecoilDamageToAttacker bool `protobuf:"varint,11,opt,name=recoilDamageToAttacker,proto3" json:"recoilDamageToAttacker,omitempty"` - RecoilDamage uint64 `protobuf:"varint,12,opt,name=recoilDamage,proto3" json:"recoilDamage,omitempty"` - RecoilDamageDestroyedAttacker bool `protobuf:"varint,13,opt,name=recoilDamageDestroyedAttacker,proto3" json:"recoilDamageDestroyedAttacker,omitempty"` - PlanetaryDefenseCannonDamageToAttacker bool `protobuf:"varint,14,opt,name=planetaryDefenseCannonDamageToAttacker,proto3" json:"planetaryDefenseCannonDamageToAttacker,omitempty"` - PlanetaryDefenseCannonDamage uint64 `protobuf:"varint,15,opt,name=planetaryDefenseCannonDamage,proto3" json:"planetaryDefenseCannonDamage,omitempty"` - PlanetaryDefenseCannonDamageDestroyedAttacker bool `protobuf:"varint,16,opt,name=planetaryDefenseCannonDamageDestroyedAttacker,proto3" json:"planetaryDefenseCannonDamageDestroyedAttacker,omitempty"` - AttackerPlayerId string `protobuf:"bytes,17,opt,name=attackerPlayerId,proto3" json:"attackerPlayerId,omitempty"` - TargetPlayerId string `protobuf:"bytes,18,opt,name=targetPlayerId,proto3" json:"targetPlayerId,omitempty"` +type EventAlphaRefineDetail struct { + PlayerId string `protobuf:"bytes,1,opt,name=playerId,proto3" json:"playerId,omitempty"` + PrimaryAddress string `protobuf:"bytes,2,opt,name=primaryAddress,proto3" json:"primaryAddress,omitempty"` + Amount uint64 `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"` } -func (m *EventAttackDetail) Reset() { *m = EventAttackDetail{} } -func (m *EventAttackDetail) String() string { return proto.CompactTextString(m) } -func (*EventAttackDetail) ProtoMessage() {} -func (*EventAttackDetail) Descriptor() ([]byte, []int) { - return fileDescriptor_dd7c2ee201e0d8dd, []int{34} +func (m *EventAlphaRefineDetail) Reset() { *m = EventAlphaRefineDetail{} } +func (m *EventAlphaRefineDetail) String() string { return proto.CompactTextString(m) } +func (*EventAlphaRefineDetail) ProtoMessage() {} +func (*EventAlphaRefineDetail) Descriptor() ([]byte, []int) { + return fileDescriptor_dd7c2ee201e0d8dd, []int{38} } -func (m *EventAttackDetail) XXX_Unmarshal(b []byte) error { +func (m *EventAlphaRefineDetail) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *EventAttackDetail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *EventAlphaRefineDetail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_EventAttackDetail.Marshal(b, m, deterministic) + return xxx_messageInfo_EventAlphaRefineDetail.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -1687,191 +1840,159 @@ func (m *EventAttackDetail) XXX_Marshal(b []byte, deterministic bool) ([]byte, e return b[:n], nil } } -func (m *EventAttackDetail) XXX_Merge(src proto.Message) { - xxx_messageInfo_EventAttackDetail.Merge(m, src) +func (m *EventAlphaRefineDetail) XXX_Merge(src proto.Message) { + xxx_messageInfo_EventAlphaRefineDetail.Merge(m, src) } -func (m *EventAttackDetail) XXX_Size() int { +func (m *EventAlphaRefineDetail) XXX_Size() int { return m.Size() } -func (m *EventAttackDetail) XXX_DiscardUnknown() { - xxx_messageInfo_EventAttackDetail.DiscardUnknown(m) +func (m *EventAlphaRefineDetail) XXX_DiscardUnknown() { + xxx_messageInfo_EventAlphaRefineDetail.DiscardUnknown(m) } -var xxx_messageInfo_EventAttackDetail proto.InternalMessageInfo +var xxx_messageInfo_EventAlphaRefineDetail proto.InternalMessageInfo -func (m *EventAttackDetail) GetAttackerStructId() string { +func (m *EventAlphaRefineDetail) GetPlayerId() string { if m != nil { - return m.AttackerStructId + return m.PlayerId } return "" } -func (m *EventAttackDetail) GetAttackerStructType() uint64 { - if m != nil { - return m.AttackerStructType - } - return 0 -} - -func (m *EventAttackDetail) GetAttackerStructLocationType() ObjectType { - if m != nil { - return m.AttackerStructLocationType - } - return ObjectType_guild -} - -func (m *EventAttackDetail) GetAttackerStructLocationId() string { +func (m *EventAlphaRefineDetail) GetPrimaryAddress() string { if m != nil { - return m.AttackerStructLocationId + return m.PrimaryAddress } return "" } -func (m *EventAttackDetail) GetAttackerStructOperatingAmbit() Ambit { - if m != nil { - return m.AttackerStructOperatingAmbit - } - return Ambit_none -} - -func (m *EventAttackDetail) GetAttackerStructSlot() uint64 { +func (m *EventAlphaRefineDetail) GetAmount() uint64 { if m != nil { - return m.AttackerStructSlot + return m.Amount } return 0 } -func (m *EventAttackDetail) GetWeaponSystem() TechWeaponSystem { - if m != nil { - return m.WeaponSystem - } - return TechWeaponSystem_primaryWeapon +type EventAlphaInfuse struct { + EventAlphaInfuseDetail *EventAlphaInfuseDetail `protobuf:"bytes,1,opt,name=eventAlphaInfuseDetail,proto3" json:"eventAlphaInfuseDetail,omitempty"` } -func (m *EventAttackDetail) GetWeaponControl() TechWeaponControl { - if m != nil { - return m.WeaponControl - } - return TechWeaponControl_noWeaponControl +func (m *EventAlphaInfuse) Reset() { *m = EventAlphaInfuse{} } +func (m *EventAlphaInfuse) String() string { return proto.CompactTextString(m) } +func (*EventAlphaInfuse) ProtoMessage() {} +func (*EventAlphaInfuse) Descriptor() ([]byte, []int) { + return fileDescriptor_dd7c2ee201e0d8dd, []int{39} } - -func (m *EventAttackDetail) GetActiveWeaponry() TechActiveWeaponry { - if m != nil { - return m.ActiveWeaponry +func (m *EventAlphaInfuse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *EventAlphaInfuse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_EventAlphaInfuse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil } - return TechActiveWeaponry_noActiveWeaponry +} +func (m *EventAlphaInfuse) XXX_Merge(src proto.Message) { + xxx_messageInfo_EventAlphaInfuse.Merge(m, src) +} +func (m *EventAlphaInfuse) XXX_Size() int { + return m.Size() +} +func (m *EventAlphaInfuse) XXX_DiscardUnknown() { + xxx_messageInfo_EventAlphaInfuse.DiscardUnknown(m) } -func (m *EventAttackDetail) GetEventAttackShotDetail() []*EventAttackShotDetail { +var xxx_messageInfo_EventAlphaInfuse proto.InternalMessageInfo + +func (m *EventAlphaInfuse) GetEventAlphaInfuseDetail() *EventAlphaInfuseDetail { if m != nil { - return m.EventAttackShotDetail + return m.EventAlphaInfuseDetail } return nil } -func (m *EventAttackDetail) GetRecoilDamageToAttacker() bool { - if m != nil { - return m.RecoilDamageToAttacker - } - return false +type EventAlphaInfuseDetail struct { + PlayerId string `protobuf:"bytes,1,opt,name=playerId,proto3" json:"playerId,omitempty"` + PrimaryAddress string `protobuf:"bytes,2,opt,name=primaryAddress,proto3" json:"primaryAddress,omitempty"` + Amount uint64 `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"` } -func (m *EventAttackDetail) GetRecoilDamage() uint64 { - if m != nil { - return m.RecoilDamage - } - return 0 +func (m *EventAlphaInfuseDetail) Reset() { *m = EventAlphaInfuseDetail{} } +func (m *EventAlphaInfuseDetail) String() string { return proto.CompactTextString(m) } +func (*EventAlphaInfuseDetail) ProtoMessage() {} +func (*EventAlphaInfuseDetail) Descriptor() ([]byte, []int) { + return fileDescriptor_dd7c2ee201e0d8dd, []int{40} } - -func (m *EventAttackDetail) GetRecoilDamageDestroyedAttacker() bool { - if m != nil { - return m.RecoilDamageDestroyedAttacker - } - return false +func (m *EventAlphaInfuseDetail) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) } - -func (m *EventAttackDetail) GetPlanetaryDefenseCannonDamageToAttacker() bool { - if m != nil { - return m.PlanetaryDefenseCannonDamageToAttacker +func (m *EventAlphaInfuseDetail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_EventAlphaInfuseDetail.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil } - return false } - -func (m *EventAttackDetail) GetPlanetaryDefenseCannonDamage() uint64 { - if m != nil { - return m.PlanetaryDefenseCannonDamage - } - return 0 +func (m *EventAlphaInfuseDetail) XXX_Merge(src proto.Message) { + xxx_messageInfo_EventAlphaInfuseDetail.Merge(m, src) +} +func (m *EventAlphaInfuseDetail) XXX_Size() int { + return m.Size() +} +func (m *EventAlphaInfuseDetail) XXX_DiscardUnknown() { + xxx_messageInfo_EventAlphaInfuseDetail.DiscardUnknown(m) } -func (m *EventAttackDetail) GetPlanetaryDefenseCannonDamageDestroyedAttacker() bool { +var xxx_messageInfo_EventAlphaInfuseDetail proto.InternalMessageInfo + +func (m *EventAlphaInfuseDetail) GetPlayerId() string { if m != nil { - return m.PlanetaryDefenseCannonDamageDestroyedAttacker + return m.PlayerId } - return false + return "" } -func (m *EventAttackDetail) GetAttackerPlayerId() string { +func (m *EventAlphaInfuseDetail) GetPrimaryAddress() string { if m != nil { - return m.AttackerPlayerId + return m.PrimaryAddress } return "" } -func (m *EventAttackDetail) GetTargetPlayerId() string { +func (m *EventAlphaInfuseDetail) GetAmount() uint64 { if m != nil { - return m.TargetPlayerId + return m.Amount } - return "" + return 0 } -type EventAttackShotDetail struct { - TargetStructId string `protobuf:"bytes,1,opt,name=targetStructId,proto3" json:"targetStructId,omitempty"` - TargetStructType uint64 `protobuf:"varint,2,opt,name=targetStructType,proto3" json:"targetStructType,omitempty"` - TargetStructLocationType ObjectType `protobuf:"varint,3,opt,name=targetStructLocationType,proto3,enum=structs.structs.ObjectType" json:"targetStructLocationType,omitempty"` - TargetStructLocationId string `protobuf:"bytes,4,opt,name=targetStructLocationId,proto3" json:"targetStructLocationId,omitempty"` - TargetStructOperatingAmbit Ambit `protobuf:"varint,5,opt,name=targetStructOperatingAmbit,proto3,enum=structs.structs.Ambit" json:"targetStructOperatingAmbit,omitempty"` - TargetStructSlot uint64 `protobuf:"varint,6,opt,name=targetStructSlot,proto3" json:"targetStructSlot,omitempty"` - Evaded bool `protobuf:"varint,7,opt,name=evaded,proto3" json:"evaded,omitempty"` - EvadedCause TechUnitDefenses `protobuf:"varint,8,opt,name=evadedCause,proto3,enum=structs.structs.TechUnitDefenses" json:"evadedCause,omitempty"` - EvadedByPlanetaryDefenses bool `protobuf:"varint,9,opt,name=evadedByPlanetaryDefenses,proto3" json:"evadedByPlanetaryDefenses,omitempty"` - EvadedByPlanetaryDefensesCause TechPlanetaryDefenses `protobuf:"varint,10,opt,name=evadedByPlanetaryDefensesCause,proto3,enum=structs.structs.TechPlanetaryDefenses" json:"evadedByPlanetaryDefensesCause,omitempty"` - Blocked bool `protobuf:"varint,11,opt,name=blocked,proto3" json:"blocked,omitempty"` - BlockedByStructId string `protobuf:"bytes,12,opt,name=blockedByStructId,proto3" json:"blockedByStructId,omitempty"` - BlockedByStructType uint64 `protobuf:"varint,13,opt,name=blockedByStructType,proto3" json:"blockedByStructType,omitempty"` - BlockedByStructLocationType ObjectType `protobuf:"varint,14,opt,name=blockedByStructLocationType,proto3,enum=structs.structs.ObjectType" json:"blockedByStructLocationType,omitempty"` - BlockedByStructLocationId string `protobuf:"bytes,15,opt,name=blockedByStructLocationId,proto3" json:"blockedByStructLocationId,omitempty"` - BlockedByStructOperatingAmbit Ambit `protobuf:"varint,16,opt,name=blockedByStructOperatingAmbit,proto3,enum=structs.structs.Ambit" json:"blockedByStructOperatingAmbit,omitempty"` - BlockedByStructSlot uint64 `protobuf:"varint,17,opt,name=blockedByStructSlot,proto3" json:"blockedByStructSlot,omitempty"` - BlockerDestroyed bool `protobuf:"varint,18,opt,name=blockerDestroyed,proto3" json:"blockerDestroyed,omitempty"` - EventAttackDefenderCounterDetail []*EventAttackDefenderCounterDetail `protobuf:"bytes,19,rep,name=eventAttackDefenderCounterDetail,proto3" json:"eventAttackDefenderCounterDetail,omitempty"` - DamageDealt uint64 `protobuf:"varint,20,opt,name=damageDealt,proto3" json:"damageDealt,omitempty"` - DamageReduction uint64 `protobuf:"varint,21,opt,name=damageReduction,proto3" json:"damageReduction,omitempty"` - DamageReductionCause TechUnitDefenses `protobuf:"varint,22,opt,name=damageReductionCause,proto3,enum=structs.structs.TechUnitDefenses" json:"damageReductionCause,omitempty"` - Damage uint64 `protobuf:"varint,23,opt,name=damage,proto3" json:"damage,omitempty"` - TargetCountered bool `protobuf:"varint,24,opt,name=targetCountered,proto3" json:"targetCountered,omitempty"` - TargetCounteredDamage uint64 `protobuf:"varint,25,opt,name=targetCounteredDamage,proto3" json:"targetCounteredDamage,omitempty"` - TargetCounterDestroyedAttacker bool `protobuf:"varint,26,opt,name=targetCounterDestroyedAttacker,proto3" json:"targetCounterDestroyedAttacker,omitempty"` - TargetCounterCause TechPassiveWeaponry `protobuf:"varint,27,opt,name=targetCounterCause,proto3,enum=structs.structs.TechPassiveWeaponry" json:"targetCounterCause,omitempty"` - TargetDestroyed bool `protobuf:"varint,28,opt,name=targetDestroyed,proto3" json:"targetDestroyed,omitempty"` - PostDestructionDamageToAttacker bool `protobuf:"varint,29,opt,name=postDestructionDamageToAttacker,proto3" json:"postDestructionDamageToAttacker,omitempty"` - PostDestructionDamage uint64 `protobuf:"varint,30,opt,name=postDestructionDamage,proto3" json:"postDestructionDamage,omitempty"` - PostDestructionDamageDestroyedAttacker bool `protobuf:"varint,31,opt,name=postDestructionDamageDestroyedAttacker,proto3" json:"postDestructionDamageDestroyedAttacker,omitempty"` - PostDestructionDamageCause TechPassiveWeaponry `protobuf:"varint,32,opt,name=postDestructionDamageCause,proto3,enum=structs.structs.TechPassiveWeaponry" json:"postDestructionDamageCause,omitempty"` +type EventAlphaDefuse struct { + EventAlphaDefuseDetail *EventAlphaDefuseDetail `protobuf:"bytes,1,opt,name=eventAlphaDefuseDetail,proto3" json:"eventAlphaDefuseDetail,omitempty"` } -func (m *EventAttackShotDetail) Reset() { *m = EventAttackShotDetail{} } -func (m *EventAttackShotDetail) String() string { return proto.CompactTextString(m) } -func (*EventAttackShotDetail) ProtoMessage() {} -func (*EventAttackShotDetail) Descriptor() ([]byte, []int) { - return fileDescriptor_dd7c2ee201e0d8dd, []int{35} +func (m *EventAlphaDefuse) Reset() { *m = EventAlphaDefuse{} } +func (m *EventAlphaDefuse) String() string { return proto.CompactTextString(m) } +func (*EventAlphaDefuse) ProtoMessage() {} +func (*EventAlphaDefuse) Descriptor() ([]byte, []int) { + return fileDescriptor_dd7c2ee201e0d8dd, []int{41} } -func (m *EventAttackShotDetail) XXX_Unmarshal(b []byte) error { +func (m *EventAlphaDefuse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *EventAttackShotDetail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *EventAlphaDefuse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_EventAttackShotDetail.Marshal(b, m, deterministic) + return xxx_messageInfo_EventAlphaDefuse.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -1881,265 +2002,260 @@ func (m *EventAttackShotDetail) XXX_Marshal(b []byte, deterministic bool) ([]byt return b[:n], nil } } -func (m *EventAttackShotDetail) XXX_Merge(src proto.Message) { - xxx_messageInfo_EventAttackShotDetail.Merge(m, src) +func (m *EventAlphaDefuse) XXX_Merge(src proto.Message) { + xxx_messageInfo_EventAlphaDefuse.Merge(m, src) } -func (m *EventAttackShotDetail) XXX_Size() int { +func (m *EventAlphaDefuse) XXX_Size() int { return m.Size() } -func (m *EventAttackShotDetail) XXX_DiscardUnknown() { - xxx_messageInfo_EventAttackShotDetail.DiscardUnknown(m) +func (m *EventAlphaDefuse) XXX_DiscardUnknown() { + xxx_messageInfo_EventAlphaDefuse.DiscardUnknown(m) } -var xxx_messageInfo_EventAttackShotDetail proto.InternalMessageInfo +var xxx_messageInfo_EventAlphaDefuse proto.InternalMessageInfo -func (m *EventAttackShotDetail) GetTargetStructId() string { +func (m *EventAlphaDefuse) GetEventAlphaDefuseDetail() *EventAlphaDefuseDetail { if m != nil { - return m.TargetStructId + return m.EventAlphaDefuseDetail } - return "" + return nil } -func (m *EventAttackShotDetail) GetTargetStructType() uint64 { - if m != nil { - return m.TargetStructType - } - return 0 +type EventAlphaDefuseDetail struct { + PrimaryAddress string `protobuf:"bytes,1,opt,name=primaryAddress,proto3" json:"primaryAddress,omitempty"` + Amount uint64 `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"` } -func (m *EventAttackShotDetail) GetTargetStructLocationType() ObjectType { - if m != nil { - return m.TargetStructLocationType - } - return ObjectType_guild +func (m *EventAlphaDefuseDetail) Reset() { *m = EventAlphaDefuseDetail{} } +func (m *EventAlphaDefuseDetail) String() string { return proto.CompactTextString(m) } +func (*EventAlphaDefuseDetail) ProtoMessage() {} +func (*EventAlphaDefuseDetail) Descriptor() ([]byte, []int) { + return fileDescriptor_dd7c2ee201e0d8dd, []int{42} } - -func (m *EventAttackShotDetail) GetTargetStructLocationId() string { - if m != nil { - return m.TargetStructLocationId +func (m *EventAlphaDefuseDetail) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *EventAlphaDefuseDetail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_EventAlphaDefuseDetail.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil } - return "" +} +func (m *EventAlphaDefuseDetail) XXX_Merge(src proto.Message) { + xxx_messageInfo_EventAlphaDefuseDetail.Merge(m, src) +} +func (m *EventAlphaDefuseDetail) XXX_Size() int { + return m.Size() +} +func (m *EventAlphaDefuseDetail) XXX_DiscardUnknown() { + xxx_messageInfo_EventAlphaDefuseDetail.DiscardUnknown(m) } -func (m *EventAttackShotDetail) GetTargetStructOperatingAmbit() Ambit { +var xxx_messageInfo_EventAlphaDefuseDetail proto.InternalMessageInfo + +func (m *EventAlphaDefuseDetail) GetPrimaryAddress() string { if m != nil { - return m.TargetStructOperatingAmbit + return m.PrimaryAddress } - return Ambit_none + return "" } -func (m *EventAttackShotDetail) GetTargetStructSlot() uint64 { +func (m *EventAlphaDefuseDetail) GetAmount() uint64 { if m != nil { - return m.TargetStructSlot + return m.Amount } return 0 } -func (m *EventAttackShotDetail) GetEvaded() bool { - if m != nil { - return m.Evaded - } - return false +type EventOreTheft struct { + EventOreTheftDetail *EventOreTheftDetail `protobuf:"bytes,1,opt,name=eventOreTheftDetail,proto3" json:"eventOreTheftDetail,omitempty"` } -func (m *EventAttackShotDetail) GetEvadedCause() TechUnitDefenses { - if m != nil { - return m.EvadedCause - } - return TechUnitDefenses_noUnitDefenses +func (m *EventOreTheft) Reset() { *m = EventOreTheft{} } +func (m *EventOreTheft) String() string { return proto.CompactTextString(m) } +func (*EventOreTheft) ProtoMessage() {} +func (*EventOreTheft) Descriptor() ([]byte, []int) { + return fileDescriptor_dd7c2ee201e0d8dd, []int{43} } - -func (m *EventAttackShotDetail) GetEvadedByPlanetaryDefenses() bool { - if m != nil { - return m.EvadedByPlanetaryDefenses - } - return false +func (m *EventOreTheft) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) } - -func (m *EventAttackShotDetail) GetEvadedByPlanetaryDefensesCause() TechPlanetaryDefenses { - if m != nil { - return m.EvadedByPlanetaryDefensesCause +func (m *EventOreTheft) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_EventOreTheft.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil } - return TechPlanetaryDefenses_noPlanetaryDefense } - -func (m *EventAttackShotDetail) GetBlocked() bool { - if m != nil { - return m.Blocked - } - return false +func (m *EventOreTheft) XXX_Merge(src proto.Message) { + xxx_messageInfo_EventOreTheft.Merge(m, src) } - -func (m *EventAttackShotDetail) GetBlockedByStructId() string { - if m != nil { - return m.BlockedByStructId - } - return "" +func (m *EventOreTheft) XXX_Size() int { + return m.Size() } - -func (m *EventAttackShotDetail) GetBlockedByStructType() uint64 { - if m != nil { - return m.BlockedByStructType - } - return 0 +func (m *EventOreTheft) XXX_DiscardUnknown() { + xxx_messageInfo_EventOreTheft.DiscardUnknown(m) } -func (m *EventAttackShotDetail) GetBlockedByStructLocationType() ObjectType { - if m != nil { - return m.BlockedByStructLocationType - } - return ObjectType_guild -} +var xxx_messageInfo_EventOreTheft proto.InternalMessageInfo -func (m *EventAttackShotDetail) GetBlockedByStructLocationId() string { +func (m *EventOreTheft) GetEventOreTheftDetail() *EventOreTheftDetail { if m != nil { - return m.BlockedByStructLocationId + return m.EventOreTheftDetail } - return "" + return nil } -func (m *EventAttackShotDetail) GetBlockedByStructOperatingAmbit() Ambit { - if m != nil { - return m.BlockedByStructOperatingAmbit - } - return Ambit_none +type EventOreTheftDetail struct { + VictimPrimaryAddress string `protobuf:"bytes,1,opt,name=victimPrimaryAddress,proto3" json:"victimPrimaryAddress,omitempty"` + VictimPlayerId string `protobuf:"bytes,2,opt,name=victimPlayerId,proto3" json:"victimPlayerId,omitempty"` + ThiefPrimaryAddress string `protobuf:"bytes,3,opt,name=thiefPrimaryAddress,proto3" json:"thiefPrimaryAddress,omitempty"` + ThiefPlayerId string `protobuf:"bytes,4,opt,name=thiefPlayerId,proto3" json:"thiefPlayerId,omitempty"` + Amount uint64 `protobuf:"varint,5,opt,name=amount,proto3" json:"amount,omitempty"` } -func (m *EventAttackShotDetail) GetBlockedByStructSlot() uint64 { - if m != nil { - return m.BlockedByStructSlot - } - return 0 +func (m *EventOreTheftDetail) Reset() { *m = EventOreTheftDetail{} } +func (m *EventOreTheftDetail) String() string { return proto.CompactTextString(m) } +func (*EventOreTheftDetail) ProtoMessage() {} +func (*EventOreTheftDetail) Descriptor() ([]byte, []int) { + return fileDescriptor_dd7c2ee201e0d8dd, []int{44} } - -func (m *EventAttackShotDetail) GetBlockerDestroyed() bool { - if m != nil { - return m.BlockerDestroyed - } - return false +func (m *EventOreTheftDetail) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) } - -func (m *EventAttackShotDetail) GetEventAttackDefenderCounterDetail() []*EventAttackDefenderCounterDetail { - if m != nil { - return m.EventAttackDefenderCounterDetail +func (m *EventOreTheftDetail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_EventOreTheftDetail.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil } - return nil } - -func (m *EventAttackShotDetail) GetDamageDealt() uint64 { - if m != nil { - return m.DamageDealt - } - return 0 +func (m *EventOreTheftDetail) XXX_Merge(src proto.Message) { + xxx_messageInfo_EventOreTheftDetail.Merge(m, src) +} +func (m *EventOreTheftDetail) XXX_Size() int { + return m.Size() +} +func (m *EventOreTheftDetail) XXX_DiscardUnknown() { + xxx_messageInfo_EventOreTheftDetail.DiscardUnknown(m) } -func (m *EventAttackShotDetail) GetDamageReduction() uint64 { +var xxx_messageInfo_EventOreTheftDetail proto.InternalMessageInfo + +func (m *EventOreTheftDetail) GetVictimPrimaryAddress() string { if m != nil { - return m.DamageReduction + return m.VictimPrimaryAddress } - return 0 + return "" } -func (m *EventAttackShotDetail) GetDamageReductionCause() TechUnitDefenses { +func (m *EventOreTheftDetail) GetVictimPlayerId() string { if m != nil { - return m.DamageReductionCause + return m.VictimPlayerId } - return TechUnitDefenses_noUnitDefenses + return "" } -func (m *EventAttackShotDetail) GetDamage() uint64 { +func (m *EventOreTheftDetail) GetThiefPrimaryAddress() string { if m != nil { - return m.Damage + return m.ThiefPrimaryAddress } - return 0 + return "" } -func (m *EventAttackShotDetail) GetTargetCountered() bool { +func (m *EventOreTheftDetail) GetThiefPlayerId() string { if m != nil { - return m.TargetCountered + return m.ThiefPlayerId } - return false + return "" } -func (m *EventAttackShotDetail) GetTargetCounteredDamage() uint64 { +func (m *EventOreTheftDetail) GetAmount() uint64 { if m != nil { - return m.TargetCounteredDamage + return m.Amount } return 0 } -func (m *EventAttackShotDetail) GetTargetCounterDestroyedAttacker() bool { - if m != nil { - return m.TargetCounterDestroyedAttacker - } - return false +type EventOreMigrate struct { + EventOreMigrateDetail *EventOreMigrateDetail `protobuf:"bytes,1,opt,name=eventOreMigrateDetail,proto3" json:"eventOreMigrateDetail,omitempty"` } -func (m *EventAttackShotDetail) GetTargetCounterCause() TechPassiveWeaponry { - if m != nil { - return m.TargetCounterCause - } - return TechPassiveWeaponry_noPassiveWeaponry +func (m *EventOreMigrate) Reset() { *m = EventOreMigrate{} } +func (m *EventOreMigrate) String() string { return proto.CompactTextString(m) } +func (*EventOreMigrate) ProtoMessage() {} +func (*EventOreMigrate) Descriptor() ([]byte, []int) { + return fileDescriptor_dd7c2ee201e0d8dd, []int{45} } - -func (m *EventAttackShotDetail) GetTargetDestroyed() bool { - if m != nil { - return m.TargetDestroyed - } - return false +func (m *EventOreMigrate) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) } - -func (m *EventAttackShotDetail) GetPostDestructionDamageToAttacker() bool { - if m != nil { - return m.PostDestructionDamageToAttacker +func (m *EventOreMigrate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_EventOreMigrate.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil } - return false } - -func (m *EventAttackShotDetail) GetPostDestructionDamage() uint64 { - if m != nil { - return m.PostDestructionDamage - } - return 0 +func (m *EventOreMigrate) XXX_Merge(src proto.Message) { + xxx_messageInfo_EventOreMigrate.Merge(m, src) } - -func (m *EventAttackShotDetail) GetPostDestructionDamageDestroyedAttacker() bool { - if m != nil { - return m.PostDestructionDamageDestroyedAttacker - } - return false +func (m *EventOreMigrate) XXX_Size() int { + return m.Size() +} +func (m *EventOreMigrate) XXX_DiscardUnknown() { + xxx_messageInfo_EventOreMigrate.DiscardUnknown(m) } -func (m *EventAttackShotDetail) GetPostDestructionDamageCause() TechPassiveWeaponry { +var xxx_messageInfo_EventOreMigrate proto.InternalMessageInfo + +func (m *EventOreMigrate) GetEventOreMigrateDetail() *EventOreMigrateDetail { if m != nil { - return m.PostDestructionDamageCause + return m.EventOreMigrateDetail } - return TechPassiveWeaponry_noPassiveWeaponry + return nil } -type EventAttackDefenderCounterDetail struct { - CounterByStructId string `protobuf:"bytes,1,opt,name=counterByStructId,proto3" json:"counterByStructId,omitempty"` - CounterByStructType uint64 `protobuf:"varint,2,opt,name=counterByStructType,proto3" json:"counterByStructType,omitempty"` - CounterByStructLocationType ObjectType `protobuf:"varint,3,opt,name=counterByStructLocationType,proto3,enum=structs.structs.ObjectType" json:"counterByStructLocationType,omitempty"` - CounterByStructLocationId string `protobuf:"bytes,4,opt,name=counterByStructLocationId,proto3" json:"counterByStructLocationId,omitempty"` - CounterByStructOperatingAmbit Ambit `protobuf:"varint,5,opt,name=counterByStructOperatingAmbit,proto3,enum=structs.structs.Ambit" json:"counterByStructOperatingAmbit,omitempty"` - CounterByStructSlot uint64 `protobuf:"varint,6,opt,name=counterByStructSlot,proto3" json:"counterByStructSlot,omitempty"` - CounterDamage uint64 `protobuf:"varint,7,opt,name=counterDamage,proto3" json:"counterDamage,omitempty"` - CounterDestroyedAttacker bool `protobuf:"varint,8,opt,name=counterDestroyedAttacker,proto3" json:"counterDestroyedAttacker,omitempty"` +type EventOreMigrateDetail struct { + PlayerId string `protobuf:"bytes,1,opt,name=playerId,proto3" json:"playerId,omitempty"` + PrimaryAddress string `protobuf:"bytes,2,opt,name=primaryAddress,proto3" json:"primaryAddress,omitempty"` + OldPrimaryAddress string `protobuf:"bytes,3,opt,name=oldPrimaryAddress,proto3" json:"oldPrimaryAddress,omitempty"` + Amount uint64 `protobuf:"varint,4,opt,name=amount,proto3" json:"amount,omitempty"` } -func (m *EventAttackDefenderCounterDetail) Reset() { *m = EventAttackDefenderCounterDetail{} } -func (m *EventAttackDefenderCounterDetail) String() string { return proto.CompactTextString(m) } -func (*EventAttackDefenderCounterDetail) ProtoMessage() {} -func (*EventAttackDefenderCounterDetail) Descriptor() ([]byte, []int) { - return fileDescriptor_dd7c2ee201e0d8dd, []int{36} +func (m *EventOreMigrateDetail) Reset() { *m = EventOreMigrateDetail{} } +func (m *EventOreMigrateDetail) String() string { return proto.CompactTextString(m) } +func (*EventOreMigrateDetail) ProtoMessage() {} +func (*EventOreMigrateDetail) Descriptor() ([]byte, []int) { + return fileDescriptor_dd7c2ee201e0d8dd, []int{46} } -func (m *EventAttackDefenderCounterDetail) XXX_Unmarshal(b []byte) error { +func (m *EventOreMigrateDetail) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *EventAttackDefenderCounterDetail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *EventOreMigrateDetail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_EventAttackDefenderCounterDetail.Marshal(b, m, deterministic) + return xxx_messageInfo_EventOreMigrateDetail.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -2149,90 +2265,62 @@ func (m *EventAttackDefenderCounterDetail) XXX_Marshal(b []byte, deterministic b return b[:n], nil } } -func (m *EventAttackDefenderCounterDetail) XXX_Merge(src proto.Message) { - xxx_messageInfo_EventAttackDefenderCounterDetail.Merge(m, src) +func (m *EventOreMigrateDetail) XXX_Merge(src proto.Message) { + xxx_messageInfo_EventOreMigrateDetail.Merge(m, src) } -func (m *EventAttackDefenderCounterDetail) XXX_Size() int { +func (m *EventOreMigrateDetail) XXX_Size() int { return m.Size() } -func (m *EventAttackDefenderCounterDetail) XXX_DiscardUnknown() { - xxx_messageInfo_EventAttackDefenderCounterDetail.DiscardUnknown(m) +func (m *EventOreMigrateDetail) XXX_DiscardUnknown() { + xxx_messageInfo_EventOreMigrateDetail.DiscardUnknown(m) } -var xxx_messageInfo_EventAttackDefenderCounterDetail proto.InternalMessageInfo +var xxx_messageInfo_EventOreMigrateDetail proto.InternalMessageInfo -func (m *EventAttackDefenderCounterDetail) GetCounterByStructId() string { +func (m *EventOreMigrateDetail) GetPlayerId() string { if m != nil { - return m.CounterByStructId + return m.PlayerId } return "" } -func (m *EventAttackDefenderCounterDetail) GetCounterByStructType() uint64 { - if m != nil { - return m.CounterByStructType - } - return 0 -} - -func (m *EventAttackDefenderCounterDetail) GetCounterByStructLocationType() ObjectType { - if m != nil { - return m.CounterByStructLocationType - } - return ObjectType_guild -} - -func (m *EventAttackDefenderCounterDetail) GetCounterByStructLocationId() string { +func (m *EventOreMigrateDetail) GetPrimaryAddress() string { if m != nil { - return m.CounterByStructLocationId + return m.PrimaryAddress } return "" } -func (m *EventAttackDefenderCounterDetail) GetCounterByStructOperatingAmbit() Ambit { - if m != nil { - return m.CounterByStructOperatingAmbit - } - return Ambit_none -} - -func (m *EventAttackDefenderCounterDetail) GetCounterByStructSlot() uint64 { +func (m *EventOreMigrateDetail) GetOldPrimaryAddress() string { if m != nil { - return m.CounterByStructSlot + return m.OldPrimaryAddress } - return 0 + return "" } -func (m *EventAttackDefenderCounterDetail) GetCounterDamage() uint64 { +func (m *EventOreMigrateDetail) GetAmount() uint64 { if m != nil { - return m.CounterDamage + return m.Amount } return 0 } -func (m *EventAttackDefenderCounterDetail) GetCounterDestroyedAttacker() bool { - if m != nil { - return m.CounterDestroyedAttacker - } - return false -} - -type EventRaid struct { - EventRaidDetail *EventRaidDetail `protobuf:"bytes,1,opt,name=eventRaidDetail,proto3" json:"eventRaidDetail,omitempty"` +type EventAttack struct { + EventAttackDetail *EventAttackDetail `protobuf:"bytes,1,opt,name=eventAttackDetail,proto3" json:"eventAttackDetail,omitempty"` } -func (m *EventRaid) Reset() { *m = EventRaid{} } -func (m *EventRaid) String() string { return proto.CompactTextString(m) } -func (*EventRaid) ProtoMessage() {} -func (*EventRaid) Descriptor() ([]byte, []int) { - return fileDescriptor_dd7c2ee201e0d8dd, []int{37} +func (m *EventAttack) Reset() { *m = EventAttack{} } +func (m *EventAttack) String() string { return proto.CompactTextString(m) } +func (*EventAttack) ProtoMessage() {} +func (*EventAttack) Descriptor() ([]byte, []int) { + return fileDescriptor_dd7c2ee201e0d8dd, []int{47} } -func (m *EventRaid) XXX_Unmarshal(b []byte) error { +func (m *EventAttack) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *EventRaid) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *EventAttack) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_EventRaid.Marshal(b, m, deterministic) + return xxx_messageInfo_EventAttack.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -2242,43 +2330,58 @@ func (m *EventRaid) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return b[:n], nil } } -func (m *EventRaid) XXX_Merge(src proto.Message) { - xxx_messageInfo_EventRaid.Merge(m, src) +func (m *EventAttack) XXX_Merge(src proto.Message) { + xxx_messageInfo_EventAttack.Merge(m, src) } -func (m *EventRaid) XXX_Size() int { +func (m *EventAttack) XXX_Size() int { return m.Size() } -func (m *EventRaid) XXX_DiscardUnknown() { - xxx_messageInfo_EventRaid.DiscardUnknown(m) +func (m *EventAttack) XXX_DiscardUnknown() { + xxx_messageInfo_EventAttack.DiscardUnknown(m) } -var xxx_messageInfo_EventRaid proto.InternalMessageInfo +var xxx_messageInfo_EventAttack proto.InternalMessageInfo -func (m *EventRaid) GetEventRaidDetail() *EventRaidDetail { +func (m *EventAttack) GetEventAttackDetail() *EventAttackDetail { if m != nil { - return m.EventRaidDetail + return m.EventAttackDetail } return nil } -type EventRaidDetail struct { - FleetId string `protobuf:"bytes,1,opt,name=fleetId,proto3" json:"fleetId,omitempty"` - PlanetId string `protobuf:"bytes,2,opt,name=planetId,proto3" json:"planetId,omitempty"` - Status RaidStatus `protobuf:"varint,3,opt,name=status,proto3,enum=structs.structs.RaidStatus" json:"status,omitempty"` +type EventAttackDetail struct { + AttackerStructId string `protobuf:"bytes,1,opt,name=attackerStructId,proto3" json:"attackerStructId,omitempty"` + AttackerStructType uint64 `protobuf:"varint,2,opt,name=attackerStructType,proto3" json:"attackerStructType,omitempty"` + AttackerStructLocationType ObjectType `protobuf:"varint,3,opt,name=attackerStructLocationType,proto3,enum=structs.structs.ObjectType" json:"attackerStructLocationType,omitempty"` + AttackerStructLocationId string `protobuf:"bytes,4,opt,name=attackerStructLocationId,proto3" json:"attackerStructLocationId,omitempty"` + AttackerStructOperatingAmbit Ambit `protobuf:"varint,5,opt,name=attackerStructOperatingAmbit,proto3,enum=structs.structs.Ambit" json:"attackerStructOperatingAmbit,omitempty"` + AttackerStructSlot uint64 `protobuf:"varint,6,opt,name=attackerStructSlot,proto3" json:"attackerStructSlot,omitempty"` + WeaponSystem TechWeaponSystem `protobuf:"varint,7,opt,name=weaponSystem,proto3,enum=structs.structs.TechWeaponSystem" json:"weaponSystem,omitempty"` + WeaponControl TechWeaponControl `protobuf:"varint,8,opt,name=weaponControl,proto3,enum=structs.structs.TechWeaponControl" json:"weaponControl,omitempty"` + ActiveWeaponry TechActiveWeaponry `protobuf:"varint,9,opt,name=activeWeaponry,proto3,enum=structs.structs.TechActiveWeaponry" json:"activeWeaponry,omitempty"` + EventAttackShotDetail []*EventAttackShotDetail `protobuf:"bytes,10,rep,name=eventAttackShotDetail,proto3" json:"eventAttackShotDetail,omitempty"` + RecoilDamageToAttacker bool `protobuf:"varint,11,opt,name=recoilDamageToAttacker,proto3" json:"recoilDamageToAttacker,omitempty"` + RecoilDamage uint64 `protobuf:"varint,12,opt,name=recoilDamage,proto3" json:"recoilDamage,omitempty"` + RecoilDamageDestroyedAttacker bool `protobuf:"varint,13,opt,name=recoilDamageDestroyedAttacker,proto3" json:"recoilDamageDestroyedAttacker,omitempty"` + PlanetaryDefenseCannonDamageToAttacker bool `protobuf:"varint,14,opt,name=planetaryDefenseCannonDamageToAttacker,proto3" json:"planetaryDefenseCannonDamageToAttacker,omitempty"` + PlanetaryDefenseCannonDamage uint64 `protobuf:"varint,15,opt,name=planetaryDefenseCannonDamage,proto3" json:"planetaryDefenseCannonDamage,omitempty"` + PlanetaryDefenseCannonDamageDestroyedAttacker bool `protobuf:"varint,16,opt,name=planetaryDefenseCannonDamageDestroyedAttacker,proto3" json:"planetaryDefenseCannonDamageDestroyedAttacker,omitempty"` + AttackerPlayerId string `protobuf:"bytes,17,opt,name=attackerPlayerId,proto3" json:"attackerPlayerId,omitempty"` + TargetPlayerId string `protobuf:"bytes,18,opt,name=targetPlayerId,proto3" json:"targetPlayerId,omitempty"` } -func (m *EventRaidDetail) Reset() { *m = EventRaidDetail{} } -func (m *EventRaidDetail) String() string { return proto.CompactTextString(m) } -func (*EventRaidDetail) ProtoMessage() {} -func (*EventRaidDetail) Descriptor() ([]byte, []int) { - return fileDescriptor_dd7c2ee201e0d8dd, []int{38} +func (m *EventAttackDetail) Reset() { *m = EventAttackDetail{} } +func (m *EventAttackDetail) String() string { return proto.CompactTextString(m) } +func (*EventAttackDetail) ProtoMessage() {} +func (*EventAttackDetail) Descriptor() ([]byte, []int) { + return fileDescriptor_dd7c2ee201e0d8dd, []int{48} } -func (m *EventRaidDetail) XXX_Unmarshal(b []byte) error { +func (m *EventAttackDetail) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *EventRaidDetail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *EventAttackDetail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_EventRaidDetail.Marshal(b, m, deterministic) + return xxx_messageInfo_EventAttackDetail.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -2288,877 +2391,851 @@ func (m *EventRaidDetail) XXX_Marshal(b []byte, deterministic bool) ([]byte, err return b[:n], nil } } -func (m *EventRaidDetail) XXX_Merge(src proto.Message) { - xxx_messageInfo_EventRaidDetail.Merge(m, src) +func (m *EventAttackDetail) XXX_Merge(src proto.Message) { + xxx_messageInfo_EventAttackDetail.Merge(m, src) } -func (m *EventRaidDetail) XXX_Size() int { +func (m *EventAttackDetail) XXX_Size() int { return m.Size() } -func (m *EventRaidDetail) XXX_DiscardUnknown() { - xxx_messageInfo_EventRaidDetail.DiscardUnknown(m) +func (m *EventAttackDetail) XXX_DiscardUnknown() { + xxx_messageInfo_EventAttackDetail.DiscardUnknown(m) } -var xxx_messageInfo_EventRaidDetail proto.InternalMessageInfo +var xxx_messageInfo_EventAttackDetail proto.InternalMessageInfo -func (m *EventRaidDetail) GetFleetId() string { +func (m *EventAttackDetail) GetAttackerStructId() string { if m != nil { - return m.FleetId + return m.AttackerStructId } return "" } -func (m *EventRaidDetail) GetPlanetId() string { +func (m *EventAttackDetail) GetAttackerStructType() uint64 { if m != nil { - return m.PlanetId + return m.AttackerStructType } - return "" + return 0 } -func (m *EventRaidDetail) GetStatus() RaidStatus { +func (m *EventAttackDetail) GetAttackerStructLocationType() ObjectType { if m != nil { - return m.Status + return m.AttackerStructLocationType } - return RaidStatus_initiated + return ObjectType_guild } -func init() { - proto.RegisterType((*EventAllocation)(nil), "structs.structs.EventAllocation") - proto.RegisterType((*EventFleet)(nil), "structs.structs.EventFleet") - proto.RegisterType((*EventGuild)(nil), "structs.structs.EventGuild") - proto.RegisterType((*EventInfusion)(nil), "structs.structs.EventInfusion") - proto.RegisterType((*EventPlanet)(nil), "structs.structs.EventPlanet") - proto.RegisterType((*EventPlanetAttribute)(nil), "structs.structs.EventPlanetAttribute") - proto.RegisterType((*EventPlayer)(nil), "structs.structs.EventPlayer") - proto.RegisterType((*EventReactor)(nil), "structs.structs.EventReactor") - proto.RegisterType((*EventStruct)(nil), "structs.structs.EventStruct") - proto.RegisterType((*EventStructAttribute)(nil), "structs.structs.EventStructAttribute") - proto.RegisterType((*EventStructDefender)(nil), "structs.structs.EventStructDefender") - proto.RegisterType((*EventStructType)(nil), "structs.structs.EventStructType") - proto.RegisterType((*EventSubstation)(nil), "structs.structs.EventSubstation") - proto.RegisterType((*EventTime)(nil), "structs.structs.EventTime") - proto.RegisterType((*EventTimeDetail)(nil), "structs.structs.EventTimeDetail") - proto.RegisterType((*EventPermission)(nil), "structs.structs.EventPermission") - proto.RegisterType((*EventGrid)(nil), "structs.structs.EventGrid") - proto.RegisterType((*EventDelete)(nil), "structs.structs.EventDelete") - proto.RegisterType((*EventAddressAssociation)(nil), "structs.structs.EventAddressAssociation") - proto.RegisterType((*EventAddressActivity)(nil), "structs.structs.EventAddressActivity") - proto.RegisterType((*EventGuildMembershipApplication)(nil), "structs.structs.EventGuildMembershipApplication") - proto.RegisterType((*EventOreMine)(nil), "structs.structs.EventOreMine") - proto.RegisterType((*EventOreMineDetail)(nil), "structs.structs.EventOreMineDetail") - proto.RegisterType((*EventAlphaRefine)(nil), "structs.structs.EventAlphaRefine") - proto.RegisterType((*EventAlphaRefineDetail)(nil), "structs.structs.EventAlphaRefineDetail") - proto.RegisterType((*EventAlphaInfuse)(nil), "structs.structs.EventAlphaInfuse") - proto.RegisterType((*EventAlphaInfuseDetail)(nil), "structs.structs.EventAlphaInfuseDetail") - proto.RegisterType((*EventAlphaDefuse)(nil), "structs.structs.EventAlphaDefuse") - proto.RegisterType((*EventAlphaDefuseDetail)(nil), "structs.structs.EventAlphaDefuseDetail") - proto.RegisterType((*EventOreTheft)(nil), "structs.structs.EventOreTheft") - proto.RegisterType((*EventOreTheftDetail)(nil), "structs.structs.EventOreTheftDetail") - proto.RegisterType((*EventOreMigrate)(nil), "structs.structs.EventOreMigrate") - proto.RegisterType((*EventOreMigrateDetail)(nil), "structs.structs.EventOreMigrateDetail") - proto.RegisterType((*EventAttack)(nil), "structs.structs.EventAttack") - proto.RegisterType((*EventAttackDetail)(nil), "structs.structs.EventAttackDetail") - proto.RegisterType((*EventAttackShotDetail)(nil), "structs.structs.EventAttackShotDetail") - proto.RegisterType((*EventAttackDefenderCounterDetail)(nil), "structs.structs.EventAttackDefenderCounterDetail") - proto.RegisterType((*EventRaid)(nil), "structs.structs.EventRaid") - proto.RegisterType((*EventRaidDetail)(nil), "structs.structs.EventRaidDetail") +func (m *EventAttackDetail) GetAttackerStructLocationId() string { + if m != nil { + return m.AttackerStructLocationId + } + return "" } -func init() { proto.RegisterFile("structs/structs/events.proto", fileDescriptor_dd7c2ee201e0d8dd) } - -var fileDescriptor_dd7c2ee201e0d8dd = []byte{ - // 2036 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x59, 0x5b, 0x73, 0x1c, 0x47, - 0x15, 0xf6, 0xfa, 0xba, 0x3a, 0xba, 0xb7, 0x65, 0x79, 0xbc, 0x96, 0x57, 0xcb, 0xd8, 0x25, 0x8c, - 0x09, 0x12, 0x71, 0x08, 0x0f, 0x81, 0xa2, 0x4a, 0x17, 0xdf, 0x00, 0x63, 0x55, 0x4b, 0x49, 0x28, - 0x0a, 0x12, 0x7a, 0x77, 0x5a, 0xab, 0xc1, 0xbb, 0x33, 0x5b, 0x33, 0xbd, 0x0e, 0x5b, 0x05, 0x7f, - 0x81, 0xca, 0x33, 0x2f, 0x14, 0x6f, 0x3c, 0xf2, 0x33, 0xf2, 0x98, 0x27, 0x8a, 0x27, 0x2e, 0xf6, - 0x03, 0x7f, 0x83, 0xea, 0xcb, 0xcc, 0xf4, 0x6d, 0x46, 0x8a, 0x2b, 0x95, 0x17, 0x69, 0xfb, 0x3b, - 0xdf, 0xf9, 0xa6, 0xfb, 0xf4, 0xe9, 0xd3, 0x67, 0x77, 0x60, 0x23, 0x67, 0xd9, 0x74, 0xc0, 0xf2, - 0x9d, 0xe2, 0x3f, 0x7d, 0x45, 0x13, 0x96, 0x6f, 0x4f, 0xb2, 0x94, 0xa5, 0x68, 0x59, 0xa1, 0xdb, - 0xea, 0x7f, 0x67, 0x95, 0x8c, 0xe3, 0x24, 0xdd, 0x11, 0x7f, 0x25, 0xa7, 0xb3, 0x36, 0x4c, 0x87, - 0xa9, 0xf8, 0xb8, 0xc3, 0x3f, 0x29, 0x74, 0x63, 0x98, 0xa6, 0xc3, 0x11, 0xdd, 0x21, 0x93, 0x78, - 0x87, 0x24, 0x49, 0xca, 0x08, 0x8b, 0xd3, 0x24, 0x2f, 0xac, 0xf6, 0x53, 0x27, 0x24, 0x23, 0xe3, - 0xc2, 0xba, 0xa9, 0x7c, 0xc5, 0xa8, 0x3f, 0x3d, 0xd9, 0x61, 0xf1, 0x98, 0xe6, 0x8c, 0x8c, 0x27, - 0x8a, 0x70, 0xc7, 0x76, 0x27, 0x51, 0x94, 0xd1, 0xbc, 0xf0, 0xef, 0x39, 0xe6, 0xd1, 0x28, 0x1d, - 0x88, 0x09, 0x28, 0xc6, 0x6d, 0x9b, 0x71, 0x32, 0xa2, 0x94, 0x29, 0x63, 0xc7, 0x36, 0x0e, 0xb3, - 0x38, 0xaa, 0x73, 0x1c, 0x4e, 0xe3, 0x51, 0x61, 0xec, 0xda, 0xc6, 0x38, 0x39, 0x99, 0xe6, 0xd5, - 0x53, 0x1d, 0xe1, 0x97, 0x74, 0x56, 0x3b, 0xe7, 0x09, 0xcd, 0xc6, 0x71, 0xae, 0x79, 0xbb, 0x31, - 0x1b, 0x91, 0x19, 0xcd, 0x1a, 0xac, 0x49, 0xb9, 0x24, 0x27, 0x60, 0x19, 0x25, 0x03, 0x96, 0xd6, - 0x3a, 0xcb, 0xff, 0x75, 0x53, 0xcb, 0xa7, 0xfd, 0x9c, 0x69, 0xe1, 0x0c, 0x7f, 0x01, 0xcb, 0x8f, - 0x78, 0xda, 0xec, 0x96, 0x71, 0x46, 0x3f, 0x02, 0xa8, 0xa2, 0x1e, 0xb4, 0x7a, 0xad, 0xfb, 0xf3, - 0x0f, 0x6f, 0x6f, 0x5b, 0xe9, 0xb4, 0x5d, 0x39, 0x60, 0x8d, 0x1e, 0x7e, 0x00, 0x20, 0xf4, 0x1e, - 0xf3, 0x5d, 0x41, 0xef, 0xc0, 0x15, 0xb1, 0x3d, 0x4a, 0x65, 0xdd, 0x51, 0x11, 0x34, 0x2c, 0x49, - 0xa5, 0xef, 0x13, 0xbe, 0x31, 0xdc, 0x57, 0xec, 0x50, 0xad, 0xaf, 0xa0, 0x61, 0x49, 0x0a, 0x1f, - 0xc3, 0xa2, 0xf0, 0x7d, 0xa6, 0xf6, 0x0d, 0xbd, 0x0f, 0xed, 0x62, 0x0f, 0x95, 0xc2, 0x2d, 0x47, - 0xa1, 0x20, 0xe3, 0x92, 0x1a, 0xfe, 0x04, 0xe6, 0x85, 0xce, 0xa1, 0xd8, 0x03, 0xb4, 0x03, 0x57, - 0xe5, 0x6e, 0x28, 0x8d, 0x9b, 0x8e, 0x86, 0x24, 0x62, 0x45, 0x0b, 0x19, 0xac, 0x69, 0xfe, 0xbb, - 0x8c, 0x65, 0x71, 0x7f, 0xca, 0x28, 0xfa, 0x35, 0xdc, 0x98, 0x98, 0x10, 0xa6, 0x83, 0x34, 0x2b, - 0x56, 0xb7, 0x55, 0xa3, 0x6b, 0xb1, 0xb1, 0x5f, 0x44, 0x9f, 0xf5, 0x8c, 0x66, 0x6a, 0xd6, 0x33, - 0x9a, 0x35, 0xcd, 0x7a, 0x46, 0x33, 0xac, 0x68, 0xe1, 0x1e, 0x2c, 0x08, 0x7f, 0x2c, 0x73, 0x0b, - 0x3d, 0x84, 0x6b, 0x2a, 0xcd, 0x94, 0x42, 0xe0, 0x28, 0x28, 0x2a, 0x2e, 0x88, 0xe1, 0x81, 0x9a, - 0xc3, 0x91, 0x20, 0xa0, 0xf7, 0x61, 0x4e, 0x52, 0xa7, 0x19, 0xad, 0x9d, 0x86, 0xe4, 0xe2, 0x8a, - 0x59, 0xc6, 0x4f, 0x5a, 0x8c, 0xf8, 0xe5, 0x26, 0x74, 0x46, 0xfc, 0x8e, 0x7c, 0x6c, 0xec, 0x17, - 0x09, 0x3f, 0x81, 0xeb, 0xda, 0x53, 0x0f, 0xe8, 0x09, 0x4d, 0x22, 0x9a, 0xa1, 0x27, 0xb0, 0x94, - 0x1b, 0x88, 0x7a, 0xda, 0x66, 0xcd, 0xd3, 0x0a, 0x1a, 0xb6, 0xdc, 0xca, 0x53, 0x26, 0x69, 0xc7, - 0xb3, 0x09, 0xe5, 0xa7, 0x2c, 0x2f, 0x47, 0xb5, 0xa7, 0xac, 0x72, 0xc0, 0x1a, 0xbd, 0xd2, 0x2b, - 0x8f, 0xb3, 0xd0, 0x2b, 0x47, 0xf5, 0x7a, 0x25, 0x05, 0x6b, 0xf4, 0xf0, 0x63, 0x98, 0x13, 0x7a, - 0xc7, 0xf1, 0x98, 0xa2, 0x9f, 0xc2, 0x32, 0x2d, 0x06, 0x07, 0x94, 0x91, 0x78, 0xa4, 0xe4, 0x7a, - 0x8e, 0xdc, 0x23, 0x93, 0x87, 0x6d, 0xc7, 0xf0, 0x33, 0x35, 0xd1, 0x0a, 0x42, 0x3d, 0x98, 0xef, - 0x8f, 0xd2, 0xc1, 0xcb, 0xa7, 0x34, 0x1e, 0x9e, 0xca, 0x73, 0x75, 0x09, 0xeb, 0x10, 0xda, 0x83, - 0x39, 0x31, 0xe4, 0x4e, 0xc1, 0x45, 0xf1, 0xe8, 0xce, 0xb6, 0xbc, 0x58, 0xb6, 0x8b, 0x8b, 0x65, - 0xfb, 0xb8, 0xb8, 0x58, 0xf6, 0xda, 0x5f, 0xfc, 0x6b, 0xf3, 0xc2, 0xe7, 0xff, 0xde, 0x6c, 0xe1, - 0xca, 0x2d, 0xfc, 0xad, 0x7a, 0xf0, 0x61, 0x59, 0x8b, 0xd1, 0x73, 0x58, 0xa9, 0x2a, 0xb3, 0x91, - 0x3d, 0xdf, 0x72, 0xcf, 0x87, 0x45, 0xc4, 0x8e, 0x6b, 0xf8, 0x54, 0xc5, 0xec, 0x49, 0x16, 0x47, - 0x3c, 0xfa, 0xfc, 0xaa, 0x31, 0x54, 0xdd, 0xe8, 0x3f, 0x29, 0x29, 0x58, 0xa3, 0x87, 0xdf, 0x51, - 0x27, 0xe7, 0x80, 0x8e, 0x28, 0xa3, 0xa8, 0x03, 0xed, 0xb4, 0xff, 0x3b, 0x3a, 0x60, 0xcf, 0xa4, - 0xd2, 0x1c, 0x2e, 0xc7, 0x61, 0x02, 0x37, 0x65, 0xb9, 0x96, 0xb7, 0xe6, 0x6e, 0x9e, 0xa7, 0x83, - 0x58, 0x26, 0xc0, 0x11, 0x20, 0xe2, 0xa0, 0x6a, 0x2a, 0x77, 0xdd, 0xf2, 0xed, 0x50, 0xb1, 0xc7, - 0x3d, 0xec, 0xab, 0xe3, 0x58, 0xd0, 0x07, 0x2c, 0x7e, 0x15, 0xb3, 0x19, 0xcf, 0x11, 0x62, 0x42, - 0xb5, 0x39, 0x62, 0xb9, 0x62, 0xdb, 0x31, 0xfc, 0x53, 0x0b, 0x36, 0xab, 0xba, 0xff, 0x9c, 0x8e, - 0xfb, 0x34, 0xcb, 0x4f, 0xe3, 0xc9, 0xee, 0x64, 0x32, 0x8a, 0xd5, 0x9d, 0xf4, 0x12, 0x3a, 0xc3, - 0x5a, 0xab, 0x7a, 0xf4, 0x77, 0xfd, 0x37, 0x84, 0xd7, 0x05, 0x37, 0xc8, 0x85, 0x03, 0x55, 0x0d, - 0x5f, 0x64, 0xf4, 0x79, 0x9c, 0x50, 0x1e, 0x59, 0xaa, 0x8d, 0x8d, 0x33, 0x71, 0xd7, 0x7f, 0x26, - 0x0c, 0x2a, 0xf6, 0xb8, 0x87, 0x13, 0x40, 0x2e, 0x93, 0xef, 0xbd, 0x2c, 0xc9, 0xd5, 0xde, 0x17, - 0x63, 0xb4, 0x05, 0x4b, 0x93, 0x2c, 0x1e, 0x93, 0x6c, 0xa6, 0x42, 0x2a, 0xce, 0xc6, 0x1c, 0xb6, - 0x50, 0xb4, 0x0e, 0x57, 0xc9, 0x38, 0x9d, 0x26, 0x2c, 0xb8, 0xd4, 0x6b, 0xdd, 0xbf, 0x8c, 0xd5, - 0x28, 0xcc, 0x61, 0x45, 0x5d, 0xf5, 0x93, 0x53, 0x82, 0xe9, 0x09, 0x5f, 0xda, 0xa7, 0xb0, 0x4e, - 0x2d, 0xcc, 0x58, 0xde, 0xb7, 0xfd, 0xcb, 0x73, 0xe8, 0xb8, 0x46, 0x26, 0x64, 0xb0, 0xee, 0xf7, - 0xf8, 0xe6, 0x96, 0x2a, 0x6e, 0x79, 0x6b, 0xa9, 0x12, 0x3b, 0xf7, 0x52, 0x75, 0x3a, 0xae, 0x91, - 0x31, 0x97, 0xaa, 0x5b, 0xbe, 0xb9, 0xa5, 0x1e, 0x50, 0x77, 0xa9, 0x12, 0x3b, 0xf7, 0x52, 0x75, - 0x3a, 0xae, 0x91, 0x09, 0x7f, 0xa9, 0x2f, 0x55, 0xb7, 0x78, 0x96, 0xd3, 0x3a, 0x63, 0x39, 0x17, - 0x8d, 0xe5, 0x0c, 0x55, 0x1f, 0xf7, 0x22, 0xa3, 0xc7, 0xa7, 0xf4, 0x84, 0xa1, 0x8f, 0xe0, 0x3a, - 0xd5, 0x01, 0x63, 0x21, 0xf7, 0x6a, 0x4f, 0x9f, 0xc6, 0xc5, 0x3e, 0x81, 0xf0, 0xbf, 0x2d, 0x75, - 0xe7, 0x9b, 0x38, 0x7a, 0x08, 0x6b, 0xaf, 0xe2, 0x01, 0x8b, 0xc7, 0x87, 0xbe, 0x65, 0x78, 0x6d, - 0x7c, 0xd1, 0x0a, 0x2f, 0x76, 0x59, 0xed, 0xa1, 0x89, 0xa2, 0xef, 0xc3, 0x75, 0x76, 0x1a, 0xd3, - 0x13, 0x4b, 0xfa, 0x92, 0x20, 0xfb, 0x4c, 0xe8, 0x1e, 0x2c, 0x4a, 0xb8, 0x10, 0xbe, 0x2c, 0xb8, - 0x26, 0xa8, 0x05, 0xf3, 0x8a, 0x11, 0xcc, 0x54, 0x5d, 0x82, 0xa2, 0xc6, 0x0c, 0x33, 0x22, 0xfb, - 0x28, 0x6a, 0x42, 0x46, 0x40, 0xb7, 0x1a, 0xca, 0x99, 0xc6, 0xc6, 0x7e, 0x91, 0xf0, 0xaf, 0x2d, - 0xb8, 0xe1, 0x75, 0xf8, 0x5a, 0x8e, 0xc0, 0x3b, 0xb0, 0x9a, 0x8e, 0x22, 0x6f, 0xf0, 0x5c, 0x83, - 0x16, 0x94, 0xcb, 0x46, 0x50, 0x3e, 0x55, 0xb7, 0xed, 0x2e, 0x63, 0x64, 0xf0, 0x12, 0x1d, 0xc2, - 0x2a, 0xad, 0x86, 0x46, 0x30, 0xc2, 0x9a, 0x63, 0xa2, 0x31, 0xb1, 0xeb, 0x1c, 0xfe, 0x63, 0x0e, - 0x56, 0x1d, 0x22, 0x7a, 0x00, 0x2b, 0x44, 0x8c, 0x69, 0x26, 0x9b, 0xba, 0x32, 0x10, 0x0e, 0x8e, - 0xb6, 0x01, 0x99, 0x98, 0xe8, 0x11, 0xe5, 0x41, 0xf1, 0x58, 0x50, 0x1f, 0x3a, 0x26, 0xfa, 0x73, - 0xf5, 0x75, 0x4c, 0xf8, 0xf1, 0x08, 0x2d, 0x79, 0xba, 0x11, 0xd9, 0x54, 0x70, 0xca, 0xde, 0x95, - 0xbf, 0xfd, 0xef, 0xef, 0x0f, 0x5a, 0xb8, 0x41, 0x05, 0x7d, 0x00, 0x81, 0xdf, 0x5a, 0x26, 0x65, - 0xad, 0x1d, 0x11, 0xd8, 0x30, 0x6d, 0x2f, 0x26, 0x34, 0x23, 0x2c, 0x4e, 0x86, 0xbb, 0xe3, 0x7e, - 0x2c, 0xb3, 0x76, 0xc9, 0xf3, 0x0d, 0x8f, 0x70, 0x6b, 0x31, 0xb9, 0x46, 0x09, 0x37, 0x64, 0x47, - 0xa3, 0x94, 0x05, 0x57, 0x7d, 0x21, 0xe3, 0x16, 0xf4, 0x08, 0x16, 0x3e, 0xa3, 0x64, 0x92, 0x26, - 0x47, 0xb3, 0x9c, 0xd1, 0x71, 0x70, 0x4d, 0x4c, 0xc1, 0x6d, 0x04, 0x19, 0x1d, 0x9c, 0x7e, 0xac, - 0x11, 0xb1, 0xe1, 0x86, 0x9e, 0xc2, 0xa2, 0x1c, 0xef, 0xa7, 0x09, 0xcb, 0xd2, 0x51, 0xd0, 0x16, - 0x3a, 0x61, 0x83, 0x8e, 0x62, 0x62, 0xd3, 0x11, 0xfd, 0x0c, 0x96, 0x08, 0xef, 0x88, 0xa8, 0x64, - 0x65, 0xb3, 0x60, 0x4e, 0x48, 0xdd, 0xf5, 0x4a, 0xed, 0x1a, 0x54, 0x6c, 0xb9, 0x96, 0xa7, 0x5c, - 0x66, 0xe0, 0xd1, 0x69, 0x5a, 0x94, 0x4d, 0xe8, 0x5d, 0xaa, 0x3f, 0xe5, 0x36, 0x1b, 0xfb, 0x45, - 0xd0, 0x0f, 0x61, 0x3d, 0xa3, 0x83, 0x34, 0x1e, 0x1d, 0x90, 0x31, 0x19, 0xd2, 0xe3, 0x74, 0x57, - 0xc5, 0x37, 0x98, 0xef, 0xb5, 0xee, 0xb7, 0x71, 0x8d, 0x15, 0x85, 0xb0, 0xa0, 0x5b, 0x82, 0x05, - 0xb1, 0x3b, 0x06, 0x86, 0x0e, 0xe0, 0x8e, 0x3e, 0x3e, 0xa0, 0x39, 0xcb, 0xd2, 0x19, 0x8d, 0xca, - 0x47, 0x2c, 0x8a, 0x47, 0x34, 0x93, 0xd0, 0x47, 0xb0, 0x25, 0xbf, 0x28, 0x93, 0x6c, 0x26, 0xbe, - 0x84, 0xe5, 0x74, 0x9f, 0x24, 0x49, 0x9a, 0x38, 0x33, 0x5e, 0x12, 0x72, 0xe7, 0x64, 0xa3, 0x3d, - 0xd8, 0x68, 0x62, 0x06, 0xcb, 0x62, 0x45, 0x8d, 0x1c, 0x14, 0xc1, 0xf7, 0x9a, 0xec, 0xee, 0x8a, - 0x57, 0xc4, 0x14, 0xbf, 0x9a, 0x93, 0x5e, 0x6e, 0xca, 0xbb, 0x63, 0xd5, 0x2c, 0x37, 0x87, 0x5a, - 0xfd, 0x65, 0x24, 0x1b, 0x52, 0x56, 0x32, 0x91, 0xac, 0xbf, 0x26, 0x1a, 0xfe, 0x79, 0x45, 0x55, - 0x77, 0x27, 0x23, 0x4a, 0x05, 0xab, 0xb4, 0x59, 0x28, 0x9f, 0x95, 0x8e, 0x68, 0x65, 0xcd, 0xc1, - 0xd1, 0x27, 0x10, 0xe8, 0xd8, 0x5b, 0x96, 0xb4, 0x5a, 0x0d, 0x9e, 0xc5, 0x3e, 0x5b, 0x59, 0xce, - 0x6a, 0xac, 0xe8, 0x37, 0xd0, 0xd1, 0x2d, 0x6f, 0x53, 0xca, 0x1a, 0x04, 0xec, 0x10, 0x69, 0x65, - 0xcc, 0xc1, 0xf9, 0x15, 0x47, 0x5f, 0x91, 0x88, 0x46, 0xa2, 0x7c, 0xb5, 0xb1, 0x1a, 0xa1, 0x7d, - 0x98, 0x97, 0x9f, 0xf6, 0xc9, 0x34, 0xa7, 0xaa, 0x26, 0xf9, 0x6b, 0xdb, 0x87, 0x49, 0xcc, 0x54, - 0x42, 0xe5, 0x58, 0xf7, 0x42, 0x3f, 0x86, 0x5b, 0x72, 0xb8, 0x37, 0x3b, 0xb4, 0x52, 0x2f, 0x17, - 0xb5, 0xa9, 0x8d, 0xeb, 0x09, 0x28, 0x81, 0x6e, 0xad, 0x51, 0xce, 0x0a, 0xc4, 0xac, 0xb6, 0xbc, - 0xb3, 0x72, 0x5c, 0xf0, 0x19, 0x6a, 0x28, 0x80, 0x6b, 0xe2, 0xcb, 0x3f, 0x8d, 0x54, 0x11, 0x2a, - 0x86, 0xbc, 0x6b, 0x50, 0x1f, 0xf7, 0x66, 0x65, 0x7a, 0x2e, 0xc8, 0xae, 0xc1, 0x31, 0xf0, 0x16, - 0xcd, 0x02, 0x45, 0xc2, 0x2d, 0x8a, 0x1d, 0xf0, 0x99, 0x50, 0x04, 0xb7, 0x2d, 0xd8, 0x48, 0xd5, - 0xa5, 0x73, 0xa7, 0x6a, 0x93, 0x0c, 0xdf, 0x8d, 0x1a, 0xf3, 0xb3, 0x48, 0x94, 0x9d, 0x39, 0x5c, - 0x4f, 0x40, 0x03, 0xb8, 0x63, 0x19, 0xad, 0xb4, 0x5d, 0x39, 0x4f, 0xda, 0x36, 0x6b, 0x78, 0x42, - 0x27, 0x92, 0x77, 0xd5, 0x1b, 0x3a, 0x91, 0xbf, 0x0f, 0x60, 0x45, 0xc2, 0x59, 0x59, 0xc0, 0x44, - 0xe9, 0x69, 0x63, 0x07, 0x47, 0x7f, 0x84, 0x9e, 0xd1, 0x6a, 0xc9, 0x5f, 0xd6, 0xf6, 0x79, 0x4b, - 0xc7, 0x69, 0xe2, 0x76, 0xbb, 0x2e, 0x6e, 0xb7, 0x77, 0x9b, 0xdb, 0x36, 0x8f, 0x23, 0x3e, 0x53, - 0x1a, 0xf5, 0x60, 0x3e, 0x52, 0xa5, 0x96, 0x8c, 0x58, 0xb0, 0x26, 0x16, 0xa5, 0x43, 0xe8, 0x3e, - 0x2c, 0xcb, 0x21, 0xa6, 0xd1, 0x74, 0x20, 0x7e, 0x97, 0xb8, 0x21, 0x58, 0x36, 0x8c, 0x3e, 0x84, - 0x35, 0x0b, 0x92, 0x27, 0x62, 0xfd, 0xbc, 0xe7, 0xd4, 0xeb, 0xce, 0xab, 0x81, 0xc4, 0x83, 0x9b, - 0xb2, 0xe1, 0x95, 0x23, 0x3e, 0x31, 0x59, 0x39, 0xd4, 0x8a, 0x68, 0x14, 0x04, 0x22, 0xc8, 0x36, - 0x8c, 0x7e, 0x00, 0x37, 0x2c, 0x48, 0xdd, 0x6b, 0xb7, 0x84, 0xa0, 0xdf, 0x88, 0x1e, 0x43, 0xd7, - 0x30, 0xb8, 0x37, 0x58, 0x47, 0x3c, 0xee, 0x0c, 0x16, 0x3a, 0x06, 0x64, 0x30, 0x64, 0x50, 0x6e, - 0x8b, 0xa0, 0xdc, 0xf3, 0x97, 0x09, 0x92, 0xe7, 0x7a, 0x1b, 0xe4, 0xf1, 0xaf, 0x56, 0x5f, 0xa5, - 0xd8, 0x86, 0xbe, 0xfa, 0x2a, 0xc3, 0x9e, 0xc2, 0xe6, 0x24, 0xcd, 0x25, 0x20, 0xe3, 0xea, 0x74, - 0x0b, 0x77, 0x84, 0xe7, 0x59, 0x34, 0x1e, 0x47, 0x2f, 0x25, 0xe8, 0xca, 0x38, 0x7a, 0x8d, 0xa2, - 0x69, 0xf1, 0x19, 0xdc, 0x78, 0x6e, 0xaa, 0xa6, 0xe5, 0x5c, 0x6c, 0x14, 0x41, 0xc7, 0xcb, 0x94, - 0xf1, 0xed, 0x7d, 0x85, 0xf8, 0x36, 0xe8, 0x84, 0x7f, 0xb9, 0x0c, 0xbd, 0xb3, 0xce, 0x19, 0xaf, - 0xc5, 0x03, 0x09, 0x68, 0xb5, 0x58, 0xb6, 0x0a, 0xae, 0x81, 0x17, 0x14, 0x0b, 0xd4, 0x1a, 0x06, - 0x9f, 0x89, 0xd7, 0x62, 0x0b, 0x7e, 0xcb, 0xb6, 0xa1, 0x49, 0x86, 0xd7, 0xe2, 0x1a, 0x73, 0xd9, - 0x3c, 0xd4, 0x13, 0x78, 0x2d, 0xb6, 0x8c, 0x6f, 0xd3, 0x42, 0x34, 0x6b, 0x78, 0x42, 0xa7, 0x35, - 0x12, 0x3e, 0x13, 0xba, 0x07, 0x8b, 0x0a, 0x56, 0xb9, 0x7a, 0x4d, 0x70, 0x4d, 0x90, 0x7f, 0x0b, - 0x1c, 0xd4, 0x9d, 0xf2, 0xb6, 0xc8, 0xca, 0x5a, 0x7b, 0xf9, 0x92, 0x01, 0x93, 0x38, 0x2a, 0x5f, - 0x32, 0xf0, 0xc1, 0x79, 0x5e, 0x32, 0x54, 0x3c, 0x6c, 0x3b, 0x86, 0x7f, 0x50, 0x3f, 0x73, 0x54, - 0x10, 0x6f, 0x07, 0xc4, 0x3b, 0xc5, 0x32, 0xbd, 0x8a, 0xa1, 0xfa, 0x21, 0x22, 0x11, 0xa6, 0x8b, - 0xe5, 0x0f, 0x11, 0x62, 0x8c, 0xde, 0x83, 0xab, 0x39, 0x23, 0x6c, 0x9a, 0xd7, 0x66, 0x4a, 0x46, - 0xe2, 0xe8, 0x48, 0x50, 0xb0, 0xa2, 0xee, 0xbd, 0xfb, 0xc5, 0xeb, 0x6e, 0xeb, 0xcb, 0xd7, 0xdd, - 0xd6, 0x7f, 0x5e, 0x77, 0x5b, 0x9f, 0xbf, 0xe9, 0x5e, 0xf8, 0xf2, 0x4d, 0xf7, 0xc2, 0x3f, 0xdf, - 0x74, 0x2f, 0xfc, 0xea, 0x66, 0xf1, 0xd6, 0xf5, 0xf7, 0xe5, 0xfb, 0x57, 0x36, 0x9b, 0xd0, 0xbc, - 0x7f, 0x55, 0xbc, 0xc5, 0x78, 0xef, 0xff, 0x01, 0x00, 0x00, 0xff, 0xff, 0xaf, 0xd5, 0xba, 0xb9, - 0xc2, 0x1f, 0x00, 0x00, +func (m *EventAttackDetail) GetAttackerStructOperatingAmbit() Ambit { + if m != nil { + return m.AttackerStructOperatingAmbit + } + return Ambit_none } -func (m *EventAllocation) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err +func (m *EventAttackDetail) GetAttackerStructSlot() uint64 { + if m != nil { + return m.AttackerStructSlot } - return dAtA[:n], nil + return 0 } -func (m *EventAllocation) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func (m *EventAttackDetail) GetWeaponSystem() TechWeaponSystem { + if m != nil { + return m.WeaponSystem + } + return TechWeaponSystem_primaryWeapon } -func (m *EventAllocation) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Allocation != nil { - { - size, err := m.Allocation.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintEvents(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa +func (m *EventAttackDetail) GetWeaponControl() TechWeaponControl { + if m != nil { + return m.WeaponControl } - return len(dAtA) - i, nil + return TechWeaponControl_noWeaponControl } -func (m *EventFleet) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err +func (m *EventAttackDetail) GetActiveWeaponry() TechActiveWeaponry { + if m != nil { + return m.ActiveWeaponry } - return dAtA[:n], nil + return TechActiveWeaponry_noActiveWeaponry } -func (m *EventFleet) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func (m *EventAttackDetail) GetEventAttackShotDetail() []*EventAttackShotDetail { + if m != nil { + return m.EventAttackShotDetail + } + return nil } -func (m *EventFleet) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Fleet != nil { - { - size, err := m.Fleet.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintEvents(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa +func (m *EventAttackDetail) GetRecoilDamageToAttacker() bool { + if m != nil { + return m.RecoilDamageToAttacker } - return len(dAtA) - i, nil + return false } -func (m *EventGuild) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err +func (m *EventAttackDetail) GetRecoilDamage() uint64 { + if m != nil { + return m.RecoilDamage } - return dAtA[:n], nil + return 0 } -func (m *EventGuild) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func (m *EventAttackDetail) GetRecoilDamageDestroyedAttacker() bool { + if m != nil { + return m.RecoilDamageDestroyedAttacker + } + return false } -func (m *EventGuild) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Guild != nil { - { - size, err := m.Guild.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintEvents(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa +func (m *EventAttackDetail) GetPlanetaryDefenseCannonDamageToAttacker() bool { + if m != nil { + return m.PlanetaryDefenseCannonDamageToAttacker } - return len(dAtA) - i, nil + return false } -func (m *EventInfusion) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err +func (m *EventAttackDetail) GetPlanetaryDefenseCannonDamage() uint64 { + if m != nil { + return m.PlanetaryDefenseCannonDamage } - return dAtA[:n], nil + return 0 } -func (m *EventInfusion) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func (m *EventAttackDetail) GetPlanetaryDefenseCannonDamageDestroyedAttacker() bool { + if m != nil { + return m.PlanetaryDefenseCannonDamageDestroyedAttacker + } + return false } -func (m *EventInfusion) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Infusion != nil { - { - size, err := m.Infusion.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintEvents(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa +func (m *EventAttackDetail) GetAttackerPlayerId() string { + if m != nil { + return m.AttackerPlayerId } - return len(dAtA) - i, nil + return "" } -func (m *EventPlanet) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err +func (m *EventAttackDetail) GetTargetPlayerId() string { + if m != nil { + return m.TargetPlayerId } - return dAtA[:n], nil + return "" } -func (m *EventPlanet) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +type EventAttackShotDetail struct { + TargetStructId string `protobuf:"bytes,1,opt,name=targetStructId,proto3" json:"targetStructId,omitempty"` + TargetStructType uint64 `protobuf:"varint,2,opt,name=targetStructType,proto3" json:"targetStructType,omitempty"` + TargetStructLocationType ObjectType `protobuf:"varint,3,opt,name=targetStructLocationType,proto3,enum=structs.structs.ObjectType" json:"targetStructLocationType,omitempty"` + TargetStructLocationId string `protobuf:"bytes,4,opt,name=targetStructLocationId,proto3" json:"targetStructLocationId,omitempty"` + TargetStructOperatingAmbit Ambit `protobuf:"varint,5,opt,name=targetStructOperatingAmbit,proto3,enum=structs.structs.Ambit" json:"targetStructOperatingAmbit,omitempty"` + TargetStructSlot uint64 `protobuf:"varint,6,opt,name=targetStructSlot,proto3" json:"targetStructSlot,omitempty"` + Evaded bool `protobuf:"varint,7,opt,name=evaded,proto3" json:"evaded,omitempty"` + EvadedCause TechUnitDefenses `protobuf:"varint,8,opt,name=evadedCause,proto3,enum=structs.structs.TechUnitDefenses" json:"evadedCause,omitempty"` + EvadedByPlanetaryDefenses bool `protobuf:"varint,9,opt,name=evadedByPlanetaryDefenses,proto3" json:"evadedByPlanetaryDefenses,omitempty"` + EvadedByPlanetaryDefensesCause TechPlanetaryDefenses `protobuf:"varint,10,opt,name=evadedByPlanetaryDefensesCause,proto3,enum=structs.structs.TechPlanetaryDefenses" json:"evadedByPlanetaryDefensesCause,omitempty"` + Blocked bool `protobuf:"varint,11,opt,name=blocked,proto3" json:"blocked,omitempty"` + BlockedByStructId string `protobuf:"bytes,12,opt,name=blockedByStructId,proto3" json:"blockedByStructId,omitempty"` + BlockedByStructType uint64 `protobuf:"varint,13,opt,name=blockedByStructType,proto3" json:"blockedByStructType,omitempty"` + BlockedByStructLocationType ObjectType `protobuf:"varint,14,opt,name=blockedByStructLocationType,proto3,enum=structs.structs.ObjectType" json:"blockedByStructLocationType,omitempty"` + BlockedByStructLocationId string `protobuf:"bytes,15,opt,name=blockedByStructLocationId,proto3" json:"blockedByStructLocationId,omitempty"` + BlockedByStructOperatingAmbit Ambit `protobuf:"varint,16,opt,name=blockedByStructOperatingAmbit,proto3,enum=structs.structs.Ambit" json:"blockedByStructOperatingAmbit,omitempty"` + BlockedByStructSlot uint64 `protobuf:"varint,17,opt,name=blockedByStructSlot,proto3" json:"blockedByStructSlot,omitempty"` + BlockerDestroyed bool `protobuf:"varint,18,opt,name=blockerDestroyed,proto3" json:"blockerDestroyed,omitempty"` + EventAttackDefenderCounterDetail []*EventAttackDefenderCounterDetail `protobuf:"bytes,19,rep,name=eventAttackDefenderCounterDetail,proto3" json:"eventAttackDefenderCounterDetail,omitempty"` + DamageDealt uint64 `protobuf:"varint,20,opt,name=damageDealt,proto3" json:"damageDealt,omitempty"` + DamageReduction uint64 `protobuf:"varint,21,opt,name=damageReduction,proto3" json:"damageReduction,omitempty"` + DamageReductionCause TechUnitDefenses `protobuf:"varint,22,opt,name=damageReductionCause,proto3,enum=structs.structs.TechUnitDefenses" json:"damageReductionCause,omitempty"` + Damage uint64 `protobuf:"varint,23,opt,name=damage,proto3" json:"damage,omitempty"` + TargetCountered bool `protobuf:"varint,24,opt,name=targetCountered,proto3" json:"targetCountered,omitempty"` + TargetCounteredDamage uint64 `protobuf:"varint,25,opt,name=targetCounteredDamage,proto3" json:"targetCounteredDamage,omitempty"` + TargetCounterDestroyedAttacker bool `protobuf:"varint,26,opt,name=targetCounterDestroyedAttacker,proto3" json:"targetCounterDestroyedAttacker,omitempty"` + TargetCounterCause TechPassiveWeaponry `protobuf:"varint,27,opt,name=targetCounterCause,proto3,enum=structs.structs.TechPassiveWeaponry" json:"targetCounterCause,omitempty"` + TargetDestroyed bool `protobuf:"varint,28,opt,name=targetDestroyed,proto3" json:"targetDestroyed,omitempty"` + PostDestructionDamageToAttacker bool `protobuf:"varint,29,opt,name=postDestructionDamageToAttacker,proto3" json:"postDestructionDamageToAttacker,omitempty"` + PostDestructionDamage uint64 `protobuf:"varint,30,opt,name=postDestructionDamage,proto3" json:"postDestructionDamage,omitempty"` + PostDestructionDamageDestroyedAttacker bool `protobuf:"varint,31,opt,name=postDestructionDamageDestroyedAttacker,proto3" json:"postDestructionDamageDestroyedAttacker,omitempty"` + PostDestructionDamageCause TechPassiveWeaponry `protobuf:"varint,32,opt,name=postDestructionDamageCause,proto3,enum=structs.structs.TechPassiveWeaponry" json:"postDestructionDamageCause,omitempty"` } -func (m *EventPlanet) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Planet != nil { - { - size, err := m.Planet.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintEvents(dAtA, i, uint64(size)) +func (m *EventAttackShotDetail) Reset() { *m = EventAttackShotDetail{} } +func (m *EventAttackShotDetail) String() string { return proto.CompactTextString(m) } +func (*EventAttackShotDetail) ProtoMessage() {} +func (*EventAttackShotDetail) Descriptor() ([]byte, []int) { + return fileDescriptor_dd7c2ee201e0d8dd, []int{49} +} +func (m *EventAttackShotDetail) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *EventAttackShotDetail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_EventAttackShotDetail.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err } - i-- - dAtA[i] = 0xa + return b[:n], nil } - return len(dAtA) - i, nil +} +func (m *EventAttackShotDetail) XXX_Merge(src proto.Message) { + xxx_messageInfo_EventAttackShotDetail.Merge(m, src) +} +func (m *EventAttackShotDetail) XXX_Size() int { + return m.Size() +} +func (m *EventAttackShotDetail) XXX_DiscardUnknown() { + xxx_messageInfo_EventAttackShotDetail.DiscardUnknown(m) } -func (m *EventPlanetAttribute) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err +var xxx_messageInfo_EventAttackShotDetail proto.InternalMessageInfo + +func (m *EventAttackShotDetail) GetTargetStructId() string { + if m != nil { + return m.TargetStructId } - return dAtA[:n], nil + return "" } -func (m *EventPlanetAttribute) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func (m *EventAttackShotDetail) GetTargetStructType() uint64 { + if m != nil { + return m.TargetStructType + } + return 0 } -func (m *EventPlanetAttribute) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.PlanetAttributeRecord != nil { - { - size, err := m.PlanetAttributeRecord.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintEvents(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa +func (m *EventAttackShotDetail) GetTargetStructLocationType() ObjectType { + if m != nil { + return m.TargetStructLocationType } - return len(dAtA) - i, nil + return ObjectType_guild } -func (m *EventPlayer) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err +func (m *EventAttackShotDetail) GetTargetStructLocationId() string { + if m != nil { + return m.TargetStructLocationId } - return dAtA[:n], nil + return "" } -func (m *EventPlayer) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func (m *EventAttackShotDetail) GetTargetStructOperatingAmbit() Ambit { + if m != nil { + return m.TargetStructOperatingAmbit + } + return Ambit_none } -func (m *EventPlayer) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Player != nil { - { - size, err := m.Player.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintEvents(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa +func (m *EventAttackShotDetail) GetTargetStructSlot() uint64 { + if m != nil { + return m.TargetStructSlot } - return len(dAtA) - i, nil + return 0 } -func (m *EventReactor) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err +func (m *EventAttackShotDetail) GetEvaded() bool { + if m != nil { + return m.Evaded } - return dAtA[:n], nil + return false } -func (m *EventReactor) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func (m *EventAttackShotDetail) GetEvadedCause() TechUnitDefenses { + if m != nil { + return m.EvadedCause + } + return TechUnitDefenses_noUnitDefenses } -func (m *EventReactor) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Reactor != nil { - { - size, err := m.Reactor.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintEvents(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa +func (m *EventAttackShotDetail) GetEvadedByPlanetaryDefenses() bool { + if m != nil { + return m.EvadedByPlanetaryDefenses } - return len(dAtA) - i, nil + return false } -func (m *EventStruct) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err +func (m *EventAttackShotDetail) GetEvadedByPlanetaryDefensesCause() TechPlanetaryDefenses { + if m != nil { + return m.EvadedByPlanetaryDefensesCause } - return dAtA[:n], nil + return TechPlanetaryDefenses_noPlanetaryDefense } -func (m *EventStruct) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func (m *EventAttackShotDetail) GetBlocked() bool { + if m != nil { + return m.Blocked + } + return false } -func (m *EventStruct) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Structure != nil { - { - size, err := m.Structure.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintEvents(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa +func (m *EventAttackShotDetail) GetBlockedByStructId() string { + if m != nil { + return m.BlockedByStructId } - return len(dAtA) - i, nil + return "" } -func (m *EventStructAttribute) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err +func (m *EventAttackShotDetail) GetBlockedByStructType() uint64 { + if m != nil { + return m.BlockedByStructType } - return dAtA[:n], nil + return 0 } -func (m *EventStructAttribute) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func (m *EventAttackShotDetail) GetBlockedByStructLocationType() ObjectType { + if m != nil { + return m.BlockedByStructLocationType + } + return ObjectType_guild } -func (m *EventStructAttribute) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.StructAttributeRecord != nil { - { - size, err := m.StructAttributeRecord.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintEvents(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa +func (m *EventAttackShotDetail) GetBlockedByStructLocationId() string { + if m != nil { + return m.BlockedByStructLocationId } - return len(dAtA) - i, nil + return "" } -func (m *EventStructDefender) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err +func (m *EventAttackShotDetail) GetBlockedByStructOperatingAmbit() Ambit { + if m != nil { + return m.BlockedByStructOperatingAmbit } - return dAtA[:n], nil + return Ambit_none } -func (m *EventStructDefender) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func (m *EventAttackShotDetail) GetBlockedByStructSlot() uint64 { + if m != nil { + return m.BlockedByStructSlot + } + return 0 } -func (m *EventStructDefender) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.StructDefender != nil { - { - size, err := m.StructDefender.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintEvents(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa +func (m *EventAttackShotDetail) GetBlockerDestroyed() bool { + if m != nil { + return m.BlockerDestroyed } - return len(dAtA) - i, nil + return false } -func (m *EventStructType) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err +func (m *EventAttackShotDetail) GetEventAttackDefenderCounterDetail() []*EventAttackDefenderCounterDetail { + if m != nil { + return m.EventAttackDefenderCounterDetail } - return dAtA[:n], nil + return nil } -func (m *EventStructType) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func (m *EventAttackShotDetail) GetDamageDealt() uint64 { + if m != nil { + return m.DamageDealt + } + return 0 } -func (m *EventStructType) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.StructType != nil { - { - size, err := m.StructType.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintEvents(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa +func (m *EventAttackShotDetail) GetDamageReduction() uint64 { + if m != nil { + return m.DamageReduction } - return len(dAtA) - i, nil + return 0 } -func (m *EventSubstation) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err +func (m *EventAttackShotDetail) GetDamageReductionCause() TechUnitDefenses { + if m != nil { + return m.DamageReductionCause } - return dAtA[:n], nil + return TechUnitDefenses_noUnitDefenses } -func (m *EventSubstation) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func (m *EventAttackShotDetail) GetDamage() uint64 { + if m != nil { + return m.Damage + } + return 0 } -func (m *EventSubstation) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Substation != nil { - { - size, err := m.Substation.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintEvents(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa +func (m *EventAttackShotDetail) GetTargetCountered() bool { + if m != nil { + return m.TargetCountered } - return len(dAtA) - i, nil + return false } -func (m *EventTime) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err +func (m *EventAttackShotDetail) GetTargetCounteredDamage() uint64 { + if m != nil { + return m.TargetCounteredDamage } - return dAtA[:n], nil + return 0 } -func (m *EventTime) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func (m *EventAttackShotDetail) GetTargetCounterDestroyedAttacker() bool { + if m != nil { + return m.TargetCounterDestroyedAttacker + } + return false } -func (m *EventTime) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.EventTimeDetail != nil { - { - size, err := m.EventTimeDetail.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintEvents(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa +func (m *EventAttackShotDetail) GetTargetCounterCause() TechPassiveWeaponry { + if m != nil { + return m.TargetCounterCause } - return len(dAtA) - i, nil + return TechPassiveWeaponry_noPassiveWeaponry } -func (m *EventTimeDetail) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err +func (m *EventAttackShotDetail) GetTargetDestroyed() bool { + if m != nil { + return m.TargetDestroyed } - return dAtA[:n], nil + return false } -func (m *EventTimeDetail) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func (m *EventAttackShotDetail) GetPostDestructionDamageToAttacker() bool { + if m != nil { + return m.PostDestructionDamageToAttacker + } + return false } -func (m *EventTimeDetail) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - n15, err15 := github_com_cosmos_gogoproto_types.StdTimeMarshalTo(m.BlockTime, dAtA[i-github_com_cosmos_gogoproto_types.SizeOfStdTime(m.BlockTime):]) - if err15 != nil { - return 0, err15 +func (m *EventAttackShotDetail) GetPostDestructionDamage() uint64 { + if m != nil { + return m.PostDestructionDamage } - i -= n15 - i = encodeVarintEvents(dAtA, i, uint64(n15)) - i-- - dAtA[i] = 0x12 - if m.BlockHeight != 0 { - i = encodeVarintEvents(dAtA, i, uint64(m.BlockHeight)) - i-- - dAtA[i] = 0x8 + return 0 +} + +func (m *EventAttackShotDetail) GetPostDestructionDamageDestroyedAttacker() bool { + if m != nil { + return m.PostDestructionDamageDestroyedAttacker } - return len(dAtA) - i, nil + return false } -func (m *EventPermission) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err +func (m *EventAttackShotDetail) GetPostDestructionDamageCause() TechPassiveWeaponry { + if m != nil { + return m.PostDestructionDamageCause } - return dAtA[:n], nil + return TechPassiveWeaponry_noPassiveWeaponry } -func (m *EventPermission) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +type EventAttackDefenderCounterDetail struct { + CounterByStructId string `protobuf:"bytes,1,opt,name=counterByStructId,proto3" json:"counterByStructId,omitempty"` + CounterByStructType uint64 `protobuf:"varint,2,opt,name=counterByStructType,proto3" json:"counterByStructType,omitempty"` + CounterByStructLocationType ObjectType `protobuf:"varint,3,opt,name=counterByStructLocationType,proto3,enum=structs.structs.ObjectType" json:"counterByStructLocationType,omitempty"` + CounterByStructLocationId string `protobuf:"bytes,4,opt,name=counterByStructLocationId,proto3" json:"counterByStructLocationId,omitempty"` + CounterByStructOperatingAmbit Ambit `protobuf:"varint,5,opt,name=counterByStructOperatingAmbit,proto3,enum=structs.structs.Ambit" json:"counterByStructOperatingAmbit,omitempty"` + CounterByStructSlot uint64 `protobuf:"varint,6,opt,name=counterByStructSlot,proto3" json:"counterByStructSlot,omitempty"` + CounterDamage uint64 `protobuf:"varint,7,opt,name=counterDamage,proto3" json:"counterDamage,omitempty"` + CounterDestroyedAttacker bool `protobuf:"varint,8,opt,name=counterDestroyedAttacker,proto3" json:"counterDestroyedAttacker,omitempty"` } -func (m *EventPermission) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.PermissionRecord != nil { - { - size, err := m.PermissionRecord.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintEvents(dAtA, i, uint64(size)) +func (m *EventAttackDefenderCounterDetail) Reset() { *m = EventAttackDefenderCounterDetail{} } +func (m *EventAttackDefenderCounterDetail) String() string { return proto.CompactTextString(m) } +func (*EventAttackDefenderCounterDetail) ProtoMessage() {} +func (*EventAttackDefenderCounterDetail) Descriptor() ([]byte, []int) { + return fileDescriptor_dd7c2ee201e0d8dd, []int{50} +} +func (m *EventAttackDefenderCounterDetail) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *EventAttackDefenderCounterDetail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_EventAttackDefenderCounterDetail.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err } - i-- - dAtA[i] = 0xa + return b[:n], nil } - return len(dAtA) - i, nil } - -func (m *EventGrid) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil +func (m *EventAttackDefenderCounterDetail) XXX_Merge(src proto.Message) { + xxx_messageInfo_EventAttackDefenderCounterDetail.Merge(m, src) } - -func (m *EventGrid) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func (m *EventAttackDefenderCounterDetail) XXX_Size() int { + return m.Size() +} +func (m *EventAttackDefenderCounterDetail) XXX_DiscardUnknown() { + xxx_messageInfo_EventAttackDefenderCounterDetail.DiscardUnknown(m) } -func (m *EventGrid) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.GridRecord != nil { - { - size, err := m.GridRecord.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintEvents(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa +var xxx_messageInfo_EventAttackDefenderCounterDetail proto.InternalMessageInfo + +func (m *EventAttackDefenderCounterDetail) GetCounterByStructId() string { + if m != nil { + return m.CounterByStructId } - return len(dAtA) - i, nil + return "" } -func (m *EventDelete) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err +func (m *EventAttackDefenderCounterDetail) GetCounterByStructType() uint64 { + if m != nil { + return m.CounterByStructType } - return dAtA[:n], nil + return 0 } -func (m *EventDelete) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func (m *EventAttackDefenderCounterDetail) GetCounterByStructLocationType() ObjectType { + if m != nil { + return m.CounterByStructLocationType + } + return ObjectType_guild } -func (m *EventDelete) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.ObjectId) > 0 { - i -= len(m.ObjectId) - copy(dAtA[i:], m.ObjectId) - i = encodeVarintEvents(dAtA, i, uint64(len(m.ObjectId))) - i-- - dAtA[i] = 0xa +func (m *EventAttackDefenderCounterDetail) GetCounterByStructLocationId() string { + if m != nil { + return m.CounterByStructLocationId } - return len(dAtA) - i, nil + return "" } -func (m *EventAddressAssociation) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err +func (m *EventAttackDefenderCounterDetail) GetCounterByStructOperatingAmbit() Ambit { + if m != nil { + return m.CounterByStructOperatingAmbit } - return dAtA[:n], nil + return Ambit_none } -func (m *EventAddressAssociation) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func (m *EventAttackDefenderCounterDetail) GetCounterByStructSlot() uint64 { + if m != nil { + return m.CounterByStructSlot + } + return 0 } -func (m *EventAddressAssociation) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.AddressAssociation != nil { - { - size, err := m.AddressAssociation.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintEvents(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa +func (m *EventAttackDefenderCounterDetail) GetCounterDamage() uint64 { + if m != nil { + return m.CounterDamage } - return len(dAtA) - i, nil + return 0 } -func (m *EventAddressActivity) Marshal() (dAtA []byte, err error) { +func (m *EventAttackDefenderCounterDetail) GetCounterDestroyedAttacker() bool { + if m != nil { + return m.CounterDestroyedAttacker + } + return false +} + +type EventRaid struct { + EventRaidDetail *EventRaidDetail `protobuf:"bytes,1,opt,name=eventRaidDetail,proto3" json:"eventRaidDetail,omitempty"` +} + +func (m *EventRaid) Reset() { *m = EventRaid{} } +func (m *EventRaid) String() string { return proto.CompactTextString(m) } +func (*EventRaid) ProtoMessage() {} +func (*EventRaid) Descriptor() ([]byte, []int) { + return fileDescriptor_dd7c2ee201e0d8dd, []int{51} +} +func (m *EventRaid) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *EventRaid) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_EventRaid.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *EventRaid) XXX_Merge(src proto.Message) { + xxx_messageInfo_EventRaid.Merge(m, src) +} +func (m *EventRaid) XXX_Size() int { + return m.Size() +} +func (m *EventRaid) XXX_DiscardUnknown() { + xxx_messageInfo_EventRaid.DiscardUnknown(m) +} + +var xxx_messageInfo_EventRaid proto.InternalMessageInfo + +func (m *EventRaid) GetEventRaidDetail() *EventRaidDetail { + if m != nil { + return m.EventRaidDetail + } + return nil +} + +type EventRaidDetail struct { + FleetId string `protobuf:"bytes,1,opt,name=fleetId,proto3" json:"fleetId,omitempty"` + PlanetId string `protobuf:"bytes,2,opt,name=planetId,proto3" json:"planetId,omitempty"` + Status RaidStatus `protobuf:"varint,3,opt,name=status,proto3,enum=structs.structs.RaidStatus" json:"status,omitempty"` +} + +func (m *EventRaidDetail) Reset() { *m = EventRaidDetail{} } +func (m *EventRaidDetail) String() string { return proto.CompactTextString(m) } +func (*EventRaidDetail) ProtoMessage() {} +func (*EventRaidDetail) Descriptor() ([]byte, []int) { + return fileDescriptor_dd7c2ee201e0d8dd, []int{52} +} +func (m *EventRaidDetail) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *EventRaidDetail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_EventRaidDetail.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *EventRaidDetail) XXX_Merge(src proto.Message) { + xxx_messageInfo_EventRaidDetail.Merge(m, src) +} +func (m *EventRaidDetail) XXX_Size() int { + return m.Size() +} +func (m *EventRaidDetail) XXX_DiscardUnknown() { + xxx_messageInfo_EventRaidDetail.DiscardUnknown(m) +} + +var xxx_messageInfo_EventRaidDetail proto.InternalMessageInfo + +func (m *EventRaidDetail) GetFleetId() string { + if m != nil { + return m.FleetId + } + return "" +} + +func (m *EventRaidDetail) GetPlanetId() string { + if m != nil { + return m.PlanetId + } + return "" +} + +func (m *EventRaidDetail) GetStatus() RaidStatus { + if m != nil { + return m.Status + } + return RaidStatus_initiated +} + +func init() { + proto.RegisterType((*EventAllocation)(nil), "structs.structs.EventAllocation") + proto.RegisterType((*EventAgreement)(nil), "structs.structs.EventAgreement") + proto.RegisterType((*EventFleet)(nil), "structs.structs.EventFleet") + proto.RegisterType((*EventGuild)(nil), "structs.structs.EventGuild") + proto.RegisterType((*EventInfusion)(nil), "structs.structs.EventInfusion") + proto.RegisterType((*EventPlanet)(nil), "structs.structs.EventPlanet") + proto.RegisterType((*EventPlanetAttribute)(nil), "structs.structs.EventPlanetAttribute") + proto.RegisterType((*EventPlayer)(nil), "structs.structs.EventPlayer") + proto.RegisterType((*EventProvider)(nil), "structs.structs.EventProvider") + proto.RegisterType((*EventReactor)(nil), "structs.structs.EventReactor") + proto.RegisterType((*EventStruct)(nil), "structs.structs.EventStruct") + proto.RegisterType((*EventStructAttribute)(nil), "structs.structs.EventStructAttribute") + proto.RegisterType((*EventStructDefender)(nil), "structs.structs.EventStructDefender") + proto.RegisterType((*EventStructType)(nil), "structs.structs.EventStructType") + proto.RegisterType((*EventSubstation)(nil), "structs.structs.EventSubstation") + proto.RegisterType((*EventTime)(nil), "structs.structs.EventTime") + proto.RegisterType((*EventTimeDetail)(nil), "structs.structs.EventTimeDetail") + proto.RegisterType((*EventPermission)(nil), "structs.structs.EventPermission") + proto.RegisterType((*EventGrid)(nil), "structs.structs.EventGrid") + proto.RegisterType((*EventProviderGrantGuild)(nil), "structs.structs.EventProviderGrantGuild") + proto.RegisterType((*EventProviderGrantGuildDetail)(nil), "structs.structs.EventProviderGrantGuildDetail") + proto.RegisterType((*EventProviderRevokeGuild)(nil), "structs.structs.EventProviderRevokeGuild") + proto.RegisterType((*EventProviderRevokeGuildDetail)(nil), "structs.structs.EventProviderRevokeGuildDetail") + proto.RegisterType((*EventPlayerHalted)(nil), "structs.structs.EventPlayerHalted") + proto.RegisterType((*EventPlayerResumed)(nil), "structs.structs.EventPlayerResumed") + proto.RegisterType((*EventDelete)(nil), "structs.structs.EventDelete") + proto.RegisterType((*EventAddressAssociation)(nil), "structs.structs.EventAddressAssociation") + proto.RegisterType((*EventAddressActivity)(nil), "structs.structs.EventAddressActivity") + proto.RegisterType((*EventGuildBankMint)(nil), "structs.structs.EventGuildBankMint") + proto.RegisterType((*EventGuildBankMintDetail)(nil), "structs.structs.EventGuildBankMintDetail") + proto.RegisterType((*EventGuildBankRedeem)(nil), "structs.structs.EventGuildBankRedeem") + proto.RegisterType((*EventGuildBankRedeemDetail)(nil), "structs.structs.EventGuildBankRedeemDetail") + proto.RegisterType((*EventGuildBankConfiscateAndBurn)(nil), "structs.structs.EventGuildBankConfiscateAndBurn") + proto.RegisterType((*EventGuildBankConfiscateAndBurnDetail)(nil), "structs.structs.EventGuildBankConfiscateAndBurnDetail") + proto.RegisterType((*EventGuildMembershipApplication)(nil), "structs.structs.EventGuildMembershipApplication") + proto.RegisterType((*EventOreMine)(nil), "structs.structs.EventOreMine") + proto.RegisterType((*EventOreMineDetail)(nil), "structs.structs.EventOreMineDetail") + proto.RegisterType((*EventAlphaRefine)(nil), "structs.structs.EventAlphaRefine") + proto.RegisterType((*EventAlphaRefineDetail)(nil), "structs.structs.EventAlphaRefineDetail") + proto.RegisterType((*EventAlphaInfuse)(nil), "structs.structs.EventAlphaInfuse") + proto.RegisterType((*EventAlphaInfuseDetail)(nil), "structs.structs.EventAlphaInfuseDetail") + proto.RegisterType((*EventAlphaDefuse)(nil), "structs.structs.EventAlphaDefuse") + proto.RegisterType((*EventAlphaDefuseDetail)(nil), "structs.structs.EventAlphaDefuseDetail") + proto.RegisterType((*EventOreTheft)(nil), "structs.structs.EventOreTheft") + proto.RegisterType((*EventOreTheftDetail)(nil), "structs.structs.EventOreTheftDetail") + proto.RegisterType((*EventOreMigrate)(nil), "structs.structs.EventOreMigrate") + proto.RegisterType((*EventOreMigrateDetail)(nil), "structs.structs.EventOreMigrateDetail") + proto.RegisterType((*EventAttack)(nil), "structs.structs.EventAttack") + proto.RegisterType((*EventAttackDetail)(nil), "structs.structs.EventAttackDetail") + proto.RegisterType((*EventAttackShotDetail)(nil), "structs.structs.EventAttackShotDetail") + proto.RegisterType((*EventAttackDefenderCounterDetail)(nil), "structs.structs.EventAttackDefenderCounterDetail") + proto.RegisterType((*EventRaid)(nil), "structs.structs.EventRaid") + proto.RegisterType((*EventRaidDetail)(nil), "structs.structs.EventRaidDetail") +} + +func init() { proto.RegisterFile("structs/structs/events.proto", fileDescriptor_dd7c2ee201e0d8dd) } + +var fileDescriptor_dd7c2ee201e0d8dd = []byte{ + // 2364 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x5a, 0xcd, 0x73, 0x1c, 0x47, + 0x15, 0xf7, 0xc6, 0x5f, 0xd2, 0x93, 0x25, 0x4b, 0x6d, 0x5b, 0x1e, 0xaf, 0xad, 0x95, 0x18, 0x3b, + 0xc6, 0x31, 0x41, 0x4a, 0x1c, 0x92, 0xa2, 0x02, 0x45, 0x95, 0x3e, 0x6c, 0xcb, 0x01, 0x63, 0x55, + 0x4b, 0x49, 0x20, 0x05, 0x09, 0xbd, 0x3b, 0x4f, 0xab, 0x41, 0xbb, 0x33, 0x5b, 0x33, 0xbd, 0x32, + 0x5b, 0xc0, 0x89, 0x2b, 0x05, 0xa9, 0x82, 0xe2, 0xc0, 0x25, 0xc5, 0x8d, 0x63, 0xfe, 0x8c, 0x1c, + 0x73, 0xa2, 0x38, 0xf1, 0x61, 0x1f, 0xf8, 0x37, 0xa8, 0xfe, 0x98, 0xd9, 0xee, 0x99, 0x9e, 0xd9, + 0x8d, 0x81, 0x70, 0x91, 0xb6, 0x7f, 0xef, 0xf7, 0x7e, 0xd3, 0xef, 0xf5, 0xeb, 0x37, 0x3d, 0xb3, + 0x0b, 0x37, 0x52, 0x9e, 0x0c, 0x3b, 0x3c, 0xdd, 0xc8, 0xfe, 0xe3, 0x09, 0x46, 0x3c, 0x5d, 0x1f, + 0x24, 0x31, 0x8f, 0xc9, 0x45, 0x8d, 0xae, 0xeb, 0xff, 0xcd, 0x25, 0xd6, 0x0f, 0xa3, 0x78, 0x43, + 0xfe, 0x55, 0x9c, 0xe6, 0xe5, 0x6e, 0xdc, 0x8d, 0xe5, 0xc7, 0x0d, 0xf1, 0x49, 0xa3, 0x37, 0xba, + 0x71, 0xdc, 0xed, 0xe1, 0x06, 0x1b, 0x84, 0x1b, 0x2c, 0x8a, 0x62, 0xce, 0x78, 0x18, 0x47, 0x69, + 0x66, 0x2d, 0x5e, 0x75, 0xc0, 0x12, 0xd6, 0xcf, 0xac, 0xab, 0xda, 0x57, 0x8e, 0xda, 0xc3, 0xc3, + 0x0d, 0x1e, 0xf6, 0x31, 0xe5, 0xac, 0x3f, 0xd0, 0x84, 0x95, 0xa2, 0x3b, 0x0b, 0x82, 0x04, 0xd3, + 0xdc, 0xbf, 0x64, 0xee, 0x26, 0x88, 0x7d, 0x8c, 0xb8, 0x26, 0xac, 0x95, 0x08, 0xbd, 0x5e, 0xdc, + 0x91, 0x33, 0xd4, 0x8c, 0xeb, 0x45, 0xc6, 0x61, 0x0f, 0x31, 0x73, 0x6f, 0x16, 0x8d, 0xdd, 0x24, + 0x0c, 0xaa, 0x1c, 0xbb, 0xc3, 0xb0, 0x97, 0x19, 0x5b, 0x45, 0x63, 0x18, 0x1d, 0x0e, 0xd3, 0xf1, + 0x55, 0x4b, 0xc2, 0xc7, 0x38, 0x4a, 0xab, 0xe6, 0x3c, 0xc0, 0xa4, 0x1f, 0xa6, 0x86, 0x77, 0x39, + 0xa9, 0x3d, 0x36, 0xc2, 0xa4, 0xc6, 0x1a, 0xe5, 0x21, 0x95, 0x66, 0x36, 0x48, 0xe2, 0x93, 0x30, + 0xc8, 0xbd, 0x4b, 0x19, 0x4f, 0x90, 0x75, 0x78, 0x5c, 0x29, 0xae, 0xfe, 0x57, 0x4d, 0x3d, 0x1d, + 0xb6, 0x53, 0x6e, 0xa4, 0xdb, 0xff, 0x3e, 0x5c, 0xbc, 0x2f, 0xea, 0x6e, 0x33, 0x5f, 0x07, 0xf2, + 0x2d, 0x80, 0xf1, 0xaa, 0x78, 0x8d, 0xb5, 0xc6, 0x9d, 0xb9, 0x7b, 0xd7, 0xd7, 0x0b, 0xf5, 0xb8, + 0x3e, 0x76, 0xa0, 0x06, 0xdd, 0x7f, 0x07, 0x16, 0x94, 0x5e, 0xb6, 0xf0, 0xe4, 0x9b, 0x30, 0x9b, + 0x57, 0x81, 0x56, 0x6b, 0x96, 0xd5, 0x32, 0x06, 0x1d, 0x93, 0xfd, 0xb7, 0x01, 0xa4, 0xd6, 0x03, + 0x51, 0x01, 0xe4, 0x55, 0x38, 0x2b, 0x4b, 0x41, 0x6b, 0x2c, 0x97, 0x34, 0x24, 0x8d, 0x2a, 0x52, + 0xee, 0xfb, 0x50, 0x14, 0x81, 0xf0, 0x95, 0xd5, 0x50, 0xe9, 0x2b, 0x69, 0x54, 0x91, 0xfc, 0x07, + 0x30, 0x2f, 0x7d, 0x1f, 0xe9, 0x1a, 0x21, 0x6f, 0xc2, 0x4c, 0x56, 0x2f, 0x5a, 0xe1, 0x5a, 0x49, + 0x21, 0x23, 0xd3, 0x9c, 0xea, 0x7f, 0x07, 0xe6, 0xa4, 0xce, 0x9e, 0x5c, 0x6f, 0xb2, 0x01, 0xe7, + 0xd4, 0xca, 0x6b, 0x8d, 0xab, 0x25, 0x0d, 0x45, 0xa4, 0x9a, 0xe6, 0x73, 0xb8, 0x6c, 0xf8, 0x6f, + 0x72, 0x9e, 0x84, 0xed, 0x21, 0x47, 0xf2, 0x23, 0xb8, 0x32, 0xb0, 0x21, 0x8a, 0x9d, 0x38, 0xc9, + 0xa2, 0xbb, 0x5d, 0xa1, 0x5b, 0x60, 0x53, 0xb7, 0x88, 0x39, 0xeb, 0x11, 0x26, 0x7a, 0xd6, 0x23, + 0x4c, 0xea, 0x66, 0x3d, 0xc2, 0x84, 0x6a, 0x5a, 0x9e, 0xbd, 0x3d, 0x5d, 0xc7, 0x22, 0x7b, 0x59, + 0x4d, 0x57, 0x66, 0x2f, 0x23, 0xd3, 0x9c, 0xea, 0x6f, 0xc1, 0x05, 0xa9, 0x43, 0x55, 0xbd, 0x93, + 0x7b, 0x70, 0x5e, 0x97, 0xbe, 0x56, 0xf1, 0x4a, 0x2a, 0x9a, 0x4a, 0x33, 0xa2, 0xbf, 0xa3, 0x63, + 0xd9, 0x97, 0x04, 0xf2, 0x26, 0xcc, 0x2a, 0xea, 0x30, 0xc1, 0xca, 0x70, 0x14, 0x97, 0x8e, 0x99, + 0xf9, 0x3a, 0x28, 0x8b, 0xb5, 0x0e, 0xa9, 0x0d, 0x4d, 0x58, 0x87, 0x7d, 0x17, 0x9b, 0xba, 0x45, + 0xfc, 0x0f, 0xe1, 0x92, 0x71, 0xd5, 0x1d, 0x3c, 0xc4, 0x48, 0x64, 0xf3, 0x21, 0x2c, 0xa4, 0x16, + 0xa2, 0xaf, 0xb6, 0x5a, 0x71, 0xb5, 0x8c, 0x46, 0x0b, 0x6e, 0xf9, 0xce, 0x57, 0xb4, 0x83, 0xd1, + 0x00, 0xc5, 0xce, 0x4f, 0xf3, 0x51, 0xe5, 0xce, 0x1f, 0x3b, 0x50, 0x83, 0x3e, 0xd6, 0xcb, 0x5b, + 0x8c, 0xd4, 0xcb, 0x47, 0xd5, 0x7a, 0x39, 0x85, 0x1a, 0x74, 0xff, 0x7d, 0x98, 0x95, 0x7a, 0x07, + 0x61, 0x1f, 0xc9, 0x3b, 0x70, 0x11, 0xb3, 0xc1, 0x0e, 0x72, 0x16, 0xf6, 0xb4, 0xdc, 0x5a, 0x49, + 0xee, 0xbe, 0xcd, 0xa3, 0x45, 0x47, 0xff, 0xa9, 0x9e, 0xe8, 0x18, 0x22, 0x6b, 0x30, 0xd7, 0xee, + 0xc5, 0x9d, 0xe3, 0x5d, 0x0c, 0xbb, 0x47, 0x6a, 0x7f, 0x9e, 0xa6, 0x26, 0x44, 0xb6, 0x60, 0x56, + 0x0e, 0x85, 0x93, 0xf7, 0x92, 0xee, 0x62, 0xea, 0x6e, 0xb9, 0x9e, 0xdd, 0x2d, 0xd7, 0x0f, 0xb2, + 0xbb, 0xe5, 0xd6, 0xcc, 0x67, 0x7f, 0x5b, 0x3d, 0xf5, 0xf1, 0xdf, 0x57, 0x1b, 0x74, 0xec, 0xe6, + 0xff, 0x44, 0x5f, 0x78, 0x2f, 0xbf, 0x7f, 0x90, 0xc7, 0xb0, 0x38, 0xbe, 0x9b, 0x58, 0xd5, 0xf3, + 0x95, 0xf2, 0x1e, 0x29, 0x10, 0x69, 0xc9, 0xd5, 0xdf, 0xd5, 0x39, 0x7b, 0x98, 0x84, 0x81, 0xc8, + 0xbe, 0xb8, 0x3d, 0x5a, 0xaa, 0xe5, 0xec, 0x3f, 0xcc, 0x29, 0xd4, 0xa0, 0xfb, 0xbf, 0x6d, 0xc0, + 0x55, 0x6b, 0x1b, 0x3f, 0x4c, 0x58, 0xd6, 0x4d, 0x39, 0xac, 0xa0, 0xdb, 0x64, 0x2d, 0xcd, 0xba, + 0x7b, 0x69, 0xaa, 0xbc, 0x68, 0xbd, 0xa8, 0xff, 0x43, 0x58, 0xa9, 0xf5, 0x27, 0x2d, 0x80, 0xac, + 0x79, 0x3c, 0x52, 0xf1, 0xce, 0x52, 0x03, 0x21, 0x1e, 0x9c, 0x97, 0xfd, 0xfd, 0x51, 0x20, 0x17, + 0x70, 0x96, 0x66, 0x43, 0xff, 0x77, 0x0d, 0xf0, 0x2c, 0x6d, 0x8a, 0x27, 0xf1, 0x31, 0xaa, 0x68, + 0x9f, 0x42, 0x0b, 0x2b, 0x6c, 0x56, 0xb8, 0x1b, 0xf5, 0xe1, 0x96, 0xdc, 0xe8, 0x04, 0x59, 0xff, + 0x03, 0x68, 0xd5, 0x2b, 0xfc, 0x07, 0x11, 0x6f, 0xc0, 0x92, 0xd1, 0xe4, 0x77, 0x59, 0x8f, 0x63, + 0x40, 0x9a, 0x30, 0xa3, 0x7a, 0x78, 0x2e, 0x96, 0x8f, 0xfd, 0xd7, 0x80, 0x18, 0x0e, 0x14, 0xd3, + 0x61, 0x7f, 0x82, 0xc7, 0x2b, 0xba, 0xf7, 0xee, 0x60, 0x0f, 0x39, 0x0a, 0x6a, 0xdc, 0xfe, 0x29, + 0x76, 0xf8, 0x98, 0x9a, 0x8d, 0xfd, 0x48, 0xd7, 0xda, 0xa6, 0x3a, 0x4c, 0x6e, 0xa6, 0x69, 0xdc, + 0x09, 0x55, 0x0b, 0xd9, 0x07, 0xc2, 0x4a, 0xa8, 0xce, 0xf8, 0xcd, 0xf2, 0x31, 0xa2, 0x44, 0xa5, + 0x0e, 0x77, 0xbf, 0xad, 0x1b, 0x7a, 0x46, 0xef, 0xf0, 0xf0, 0x24, 0xe4, 0x23, 0xd1, 0x65, 0x98, + 0x0d, 0x55, 0x76, 0x99, 0x82, 0x2b, 0x2d, 0x3a, 0xfa, 0x3f, 0xd7, 0x09, 0x93, 0xeb, 0xb5, 0xc5, + 0xa2, 0xe3, 0xc7, 0x61, 0xc4, 0x09, 0x82, 0x87, 0x25, 0xd4, 0x2a, 0xa3, 0x57, 0xdc, 0x65, 0xe4, + 0x70, 0xa0, 0x95, 0x52, 0xfe, 0xef, 0xb3, 0x82, 0x76, 0x18, 0xcd, 0xaa, 0x68, 0x58, 0x55, 0x21, + 0xda, 0x20, 0xeb, 0xc7, 0x43, 0x71, 0x1a, 0x1c, 0x1c, 0x31, 0x59, 0x33, 0x67, 0xa8, 0x09, 0x8d, + 0x19, 0x07, 0xf1, 0x31, 0x46, 0xde, 0x69, 0x93, 0x21, 0x21, 0xab, 0x24, 0xce, 0x14, 0x4a, 0xe2, + 0x57, 0x0d, 0x9d, 0xf8, 0x7c, 0x5a, 0x14, 0x03, 0xc4, 0x3e, 0x39, 0x86, 0x26, 0x3a, 0x70, 0x2b, + 0x31, 0x5f, 0x9b, 0x90, 0x18, 0xd3, 0x85, 0xd6, 0xc8, 0xf9, 0x7f, 0x68, 0x40, 0xb3, 0xda, 0xf5, + 0xff, 0x98, 0x9e, 0x4f, 0x1b, 0xb0, 0x6a, 0x4f, 0x6c, 0x3b, 0x8e, 0x0e, 0xc3, 0xb4, 0xc3, 0x38, + 0x6e, 0x46, 0xc1, 0xd6, 0x30, 0x89, 0xc8, 0xaf, 0x1b, 0xf0, 0x32, 0xd6, 0x73, 0xac, 0xac, 0xbd, + 0x35, 0x21, 0x6b, 0x15, 0xde, 0x74, 0xba, 0x8b, 0xf8, 0x9f, 0x34, 0xe0, 0xe5, 0xa9, 0x04, 0xff, + 0xc7, 0x69, 0xf5, 0xe0, 0xbc, 0xde, 0x80, 0x3a, 0xab, 0xd9, 0xd0, 0xff, 0x8d, 0x95, 0xd4, 0xc7, + 0xd8, 0x6f, 0x63, 0x92, 0x1e, 0x85, 0x83, 0xcd, 0xc1, 0xa0, 0x17, 0xea, 0x27, 0x9e, 0x63, 0x68, + 0x76, 0x2b, 0xad, 0x95, 0xe5, 0x57, 0x2d, 0x48, 0x6b, 0xe4, 0xfc, 0x8e, 0x3e, 0xd7, 0x3e, 0x49, + 0xf0, 0x71, 0x18, 0xa1, 0xe8, 0x70, 0x68, 0x8c, 0xad, 0xd5, 0xbb, 0xe9, 0x5e, 0x3d, 0x8b, 0x4a, + 0x1d, 0xee, 0xfe, 0x40, 0x77, 0x1f, 0x0b, 0xad, 0x6b, 0xd7, 0xe4, 0x36, 0x2c, 0x0c, 0x92, 0xb0, + 0xcf, 0x92, 0x91, 0x6e, 0x6d, 0xfa, 0x96, 0x51, 0x40, 0xc9, 0x32, 0x9c, 0x53, 0x89, 0xd7, 0xcb, + 0xa0, 0x47, 0x7e, 0x0a, 0x8b, 0xfa, 0x41, 0x72, 0x70, 0xc4, 0x28, 0x1e, 0x8a, 0xd0, 0x3e, 0x82, + 0x65, 0x2c, 0x60, 0x56, 0x78, 0x5f, 0x75, 0x87, 0x57, 0xa2, 0xd3, 0x0a, 0x19, 0x9f, 0xc3, 0xb2, + 0xdb, 0xe3, 0xcb, 0x0b, 0x55, 0x3e, 0xf7, 0x15, 0x42, 0x55, 0xd8, 0xd4, 0xa1, 0x9a, 0x74, 0x5a, + 0x21, 0x63, 0x87, 0x6a, 0x5a, 0xbe, 0xbc, 0x50, 0x77, 0xb0, 0x1c, 0xaa, 0xc2, 0xa6, 0x0e, 0xd5, + 0xa4, 0xd3, 0x0a, 0x19, 0xff, 0x07, 0x66, 0xa8, 0xa6, 0xc5, 0x11, 0x4e, 0x63, 0x42, 0x38, 0x2f, + 0x59, 0xe1, 0x74, 0xf5, 0xb3, 0xe9, 0x93, 0x04, 0x0f, 0x8e, 0xf0, 0x90, 0x93, 0xf7, 0xe0, 0x12, + 0x9a, 0x80, 0x15, 0xc8, 0xad, 0xca, 0xdd, 0x67, 0x70, 0xa9, 0x4b, 0xc0, 0xff, 0x67, 0x43, 0x3f, + 0xbd, 0xd9, 0x38, 0xb9, 0x07, 0x97, 0x4f, 0xc2, 0x0e, 0x0f, 0xfb, 0x7b, 0xae, 0x30, 0x9c, 0x36, + 0x11, 0xb4, 0xc6, 0xb3, 0x55, 0xd6, 0x6b, 0x68, 0xa3, 0xe4, 0x35, 0xb8, 0xc4, 0x8f, 0x42, 0x3c, + 0x2c, 0x48, 0x9f, 0x96, 0x64, 0x97, 0x89, 0xdc, 0x82, 0x79, 0x05, 0xdb, 0x77, 0x24, 0x1b, 0x34, + 0x92, 0x79, 0xd6, 0x4a, 0x66, 0xac, 0x1f, 0x67, 0x64, 0x8f, 0xe9, 0x26, 0x4c, 0x3d, 0x11, 0xa3, + 0x0d, 0x59, 0x09, 0xbd, 0x5d, 0xd3, 0xce, 0x0c, 0x36, 0x75, 0x8b, 0xf8, 0x7f, 0x6a, 0xc0, 0x15, + 0xa7, 0xc3, 0x7f, 0x65, 0x0b, 0xbc, 0x0a, 0x4b, 0x71, 0x2f, 0x70, 0x26, 0xaf, 0x6c, 0x30, 0x92, + 0x72, 0xc6, 0x4a, 0xca, 0x47, 0xfa, 0xd4, 0xbb, 0xc9, 0x39, 0xeb, 0x1c, 0x93, 0x3d, 0x58, 0xc2, + 0xf1, 0xd0, 0x4a, 0x86, 0x5f, 0xb1, 0x4d, 0x0c, 0x26, 0x2d, 0x3b, 0xfb, 0x7f, 0x99, 0xd5, 0x47, + 0x77, 0x13, 0x25, 0x77, 0x61, 0x91, 0xc9, 0x31, 0x26, 0xea, 0xf1, 0x3c, 0x4f, 0x44, 0x09, 0x27, + 0xeb, 0x40, 0x6c, 0x4c, 0x3e, 0xed, 0xab, 0x8d, 0xe2, 0xb0, 0x90, 0x36, 0x34, 0x6d, 0xf4, 0x7b, + 0xfa, 0x65, 0x9f, 0xf4, 0x13, 0x19, 0x5a, 0x70, 0x3c, 0x57, 0xaa, 0xc3, 0xbd, 0xa0, 0x6c, 0x9d, + 0xfd, 0xf3, 0xbf, 0x3e, 0xbd, 0xdb, 0xa0, 0x35, 0x2a, 0xe4, 0x6d, 0xf0, 0xdc, 0xd6, 0xbc, 0x28, + 0x2b, 0xed, 0x84, 0xc1, 0x0d, 0xdb, 0xf6, 0x64, 0x80, 0x09, 0xe3, 0x61, 0xd4, 0xdd, 0xec, 0xb7, + 0x43, 0x55, 0xb5, 0x0b, 0x8e, 0x77, 0x7e, 0x4c, 0x58, 0xb3, 0xc9, 0xd5, 0x4a, 0x94, 0x53, 0xb6, + 0xdf, 0x8b, 0xb9, 0x77, 0xce, 0x95, 0x32, 0x61, 0x21, 0xf7, 0xe1, 0xc2, 0x53, 0x64, 0x83, 0x38, + 0xda, 0x1f, 0xa5, 0x1c, 0xfb, 0xde, 0x79, 0x39, 0x85, 0xf2, 0x23, 0x3d, 0xc7, 0xce, 0xd1, 0xfb, + 0x06, 0x91, 0x5a, 0x6e, 0x64, 0x17, 0xe6, 0xd5, 0x78, 0x3b, 0x8e, 0x78, 0x12, 0xf7, 0xbc, 0x19, + 0xa9, 0xe3, 0xd7, 0xe8, 0x68, 0x26, 0xb5, 0x1d, 0xc9, 0x77, 0x61, 0x81, 0x89, 0x27, 0x13, 0x54, + 0xac, 0x64, 0xe4, 0xcd, 0x4a, 0xa9, 0x9b, 0x4e, 0xa9, 0x4d, 0x8b, 0x4a, 0x0b, 0xae, 0xf9, 0x2e, + 0x57, 0x15, 0xb8, 0x7f, 0x14, 0x67, 0x6d, 0x13, 0xd6, 0x4e, 0x57, 0xef, 0xf2, 0x22, 0x9b, 0xba, + 0x45, 0xc8, 0x5b, 0xb0, 0x9c, 0x60, 0x27, 0x0e, 0x7b, 0x3b, 0xac, 0xcf, 0xba, 0x78, 0x10, 0x6f, + 0xea, 0xfc, 0x7a, 0x73, 0x6b, 0x8d, 0x3b, 0x33, 0xb4, 0xc2, 0x4a, 0x7c, 0xb8, 0x60, 0x5a, 0xbc, + 0x0b, 0x72, 0x75, 0x2c, 0x8c, 0xec, 0xc0, 0x8a, 0x39, 0xde, 0xc1, 0x94, 0x27, 0xf1, 0x08, 0x83, + 0xfc, 0x12, 0xf3, 0xf2, 0x12, 0xf5, 0x24, 0xf2, 0x1e, 0xdc, 0x56, 0xaf, 0x4e, 0x59, 0x32, 0x92, + 0xaf, 0xd3, 0x52, 0xdc, 0x66, 0x51, 0x14, 0x47, 0xa5, 0x19, 0x2f, 0x48, 0xb9, 0x29, 0xd9, 0x64, + 0x0b, 0x6e, 0xd4, 0x31, 0xbd, 0x8b, 0x32, 0xa2, 0x5a, 0x0e, 0x09, 0xe0, 0xeb, 0x75, 0xf6, 0x72, + 0xc4, 0x8b, 0x72, 0x8a, 0x5f, 0xcc, 0xc9, 0x6c, 0x37, 0xf9, 0xbd, 0x63, 0xc9, 0x6e, 0x37, 0x7b, + 0x46, 0xff, 0xe5, 0x2c, 0xe9, 0x22, 0xcf, 0x99, 0x44, 0xf5, 0x5f, 0x1b, 0xf5, 0xff, 0xb8, 0xa8, + 0xbb, 0x7b, 0xa9, 0x22, 0x72, 0x85, 0x42, 0x6b, 0x2b, 0xa0, 0x62, 0x56, 0x26, 0x62, 0xb4, 0xb5, + 0x12, 0x4e, 0x3e, 0x04, 0xcf, 0xc4, 0x5e, 0xb0, 0xa5, 0x55, 0x6a, 0x88, 0x2a, 0x76, 0xd9, 0xf2, + 0x76, 0x56, 0x61, 0x25, 0x3f, 0x86, 0xa6, 0x69, 0x79, 0x91, 0x56, 0x56, 0x23, 0x50, 0x4c, 0x91, + 0xd1, 0xc6, 0x4a, 0xb8, 0xb8, 0xc5, 0xe1, 0x09, 0x0b, 0x30, 0x90, 0xed, 0x6b, 0x86, 0xea, 0x11, + 0xd9, 0x86, 0x39, 0xf5, 0x69, 0x9b, 0x0d, 0x53, 0xd4, 0x3d, 0xc9, 0xdd, 0xdb, 0xde, 0x8d, 0x42, + 0xae, 0x0b, 0x2a, 0xa5, 0xa6, 0x17, 0xf9, 0x36, 0x5c, 0x53, 0xc3, 0xad, 0xd1, 0x5e, 0xa1, 0xf4, + 0x52, 0xd9, 0x9b, 0x66, 0x68, 0x35, 0x81, 0x44, 0xd0, 0xaa, 0x34, 0xaa, 0x59, 0x81, 0x9c, 0xd5, + 0x6d, 0xe7, 0xac, 0x4a, 0x2e, 0x74, 0x82, 0x9a, 0x78, 0xbc, 0x94, 0xaf, 0x71, 0x31, 0xd0, 0x4d, + 0x28, 0x1b, 0x8a, 0x53, 0x83, 0xfe, 0xb8, 0x35, 0xca, 0xcb, 0xf3, 0x82, 0x3a, 0x35, 0x94, 0x0c, + 0xe2, 0x88, 0x56, 0x00, 0x65, 0xc1, 0xcd, 0xcb, 0x15, 0x70, 0x99, 0x48, 0x00, 0xd7, 0x0b, 0xb0, + 0x55, 0xaa, 0x0b, 0x53, 0x97, 0x6a, 0x9d, 0x8c, 0x58, 0x8d, 0x0a, 0xf3, 0xa3, 0x40, 0xb6, 0x9d, + 0x59, 0x5a, 0x4d, 0x20, 0x1d, 0x58, 0x29, 0x18, 0x0b, 0x65, 0xbb, 0x38, 0x4d, 0xd9, 0xd6, 0x6b, + 0x38, 0x52, 0x27, 0x8b, 0x77, 0xc9, 0x99, 0x3a, 0x59, 0xbf, 0x77, 0x61, 0x51, 0xc1, 0x49, 0xde, + 0xc0, 0x64, 0xeb, 0x99, 0xa1, 0x25, 0x9c, 0xfc, 0x12, 0xd6, 0xac, 0xa3, 0x96, 0xfa, 0x8e, 0x64, + 0x5b, 0x1c, 0xe9, 0x04, 0x4d, 0xde, 0xdd, 0x2e, 0xc9, 0xbb, 0xdb, 0xeb, 0xf5, 0xc7, 0x36, 0x87, + 0x23, 0x9d, 0x28, 0x4d, 0xd6, 0x60, 0x2e, 0xd0, 0xad, 0x96, 0xf5, 0xb8, 0x77, 0x59, 0xbd, 0xe0, + 0x30, 0x20, 0x72, 0x07, 0x2e, 0xaa, 0x21, 0xc5, 0x60, 0xd8, 0x91, 0xef, 0x25, 0xae, 0x48, 0x56, + 0x11, 0x26, 0xef, 0xc2, 0xe5, 0x02, 0xa4, 0x76, 0xc4, 0xf2, 0xb4, 0xfb, 0xd4, 0xe9, 0x2e, 0xba, + 0x81, 0xc2, 0xbd, 0xab, 0xea, 0xc0, 0xab, 0x46, 0x62, 0x62, 0xaa, 0x73, 0xe8, 0x88, 0x30, 0xf0, + 0x3c, 0x99, 0xe4, 0x22, 0x4c, 0xbe, 0x01, 0x57, 0x0a, 0x90, 0xbe, 0xaf, 0x5d, 0x93, 0x82, 0x6e, + 0x23, 0x79, 0x00, 0x2d, 0xcb, 0x50, 0xbe, 0x83, 0x35, 0xe5, 0xe5, 0x26, 0xb0, 0xc8, 0x01, 0x10, + 0x8b, 0xa1, 0x92, 0x72, 0x5d, 0x26, 0xe5, 0x96, 0xbb, 0x4d, 0xb0, 0x34, 0x35, 0x8f, 0x41, 0x0e, + 0xff, 0x71, 0xf4, 0xe3, 0x12, 0xbb, 0x61, 0x46, 0x3f, 0xae, 0xb0, 0x5d, 0x58, 0x1d, 0xc4, 0xa9, + 0x02, 0x54, 0x5e, 0x4b, 0xa7, 0x85, 0x15, 0xe9, 0x39, 0x89, 0x26, 0xf2, 0xe8, 0xa4, 0x78, 0x2d, + 0x95, 0x47, 0xa7, 0x51, 0x1e, 0x5a, 0x5c, 0x86, 0x72, 0x3e, 0x57, 0xf5, 0xa1, 0x65, 0x2a, 0x36, + 0x09, 0xa0, 0xe9, 0x64, 0xaa, 0xfc, 0xae, 0x7d, 0x81, 0xfc, 0xd6, 0xe8, 0xf8, 0x9f, 0x9c, 0x81, + 0xb5, 0x49, 0xfb, 0x4c, 0xf4, 0xe2, 0x8e, 0x02, 0x8c, 0x5e, 0xac, 0x8e, 0x0a, 0x65, 0x83, 0x68, + 0x28, 0x05, 0xd0, 0x38, 0x30, 0xb8, 0x4c, 0xa2, 0x17, 0x17, 0xe0, 0x17, 0x3c, 0x36, 0xd4, 0xc9, + 0x88, 0x5e, 0x5c, 0x61, 0xce, 0x0f, 0x0f, 0xd5, 0x04, 0xd1, 0x8b, 0x0b, 0xc6, 0x17, 0x39, 0x42, + 0xd4, 0x6b, 0x38, 0x52, 0x67, 0x1c, 0x24, 0x5c, 0x26, 0x72, 0x0b, 0xe6, 0x35, 0xac, 0x6b, 0xf5, + 0xbc, 0xe4, 0xda, 0xa0, 0x78, 0x0a, 0xec, 0x54, 0xed, 0xf2, 0x19, 0x59, 0x95, 0x95, 0xf6, 0xfc, + 0xeb, 0x62, 0xca, 0xc2, 0x20, 0xff, 0xba, 0x58, 0x0c, 0xa6, 0xf9, 0xba, 0x78, 0xcc, 0xa3, 0x45, + 0x47, 0xff, 0x17, 0xfa, 0x35, 0xc7, 0x18, 0x12, 0xc7, 0x01, 0xf9, 0x2b, 0x93, 0xf1, 0xbb, 0x6c, + 0x3d, 0xd4, 0x2f, 0x22, 0x22, 0x69, 0x7a, 0x29, 0x7f, 0x11, 0x21, 0xc7, 0xe4, 0x0d, 0x38, 0x97, + 0x72, 0xc6, 0x87, 0x69, 0x65, 0xa5, 0x24, 0x2c, 0x0c, 0xf6, 0x25, 0x85, 0x6a, 0xea, 0xd6, 0xeb, + 0x9f, 0x3d, 0x6b, 0x35, 0x3e, 0x7f, 0xd6, 0x6a, 0xfc, 0xe3, 0x59, 0xab, 0xf1, 0xf1, 0xf3, 0xd6, + 0xa9, 0xcf, 0x9f, 0xb7, 0x4e, 0xfd, 0xf5, 0x79, 0xeb, 0xd4, 0x07, 0x57, 0xb3, 0xdf, 0xf4, 0xfc, + 0x2c, 0xff, 0x75, 0x0f, 0x1f, 0x0d, 0x30, 0x6d, 0x9f, 0x93, 0xdf, 0x47, 0xbf, 0xf1, 0xef, 0x00, + 0x00, 0x00, 0xff, 0xff, 0x42, 0xa7, 0x70, 0xad, 0x61, 0x26, 0x00, 0x00, +} + +func (m *EventAllocation) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -3168,19 +3245,19 @@ func (m *EventAddressActivity) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *EventAddressActivity) MarshalTo(dAtA []byte) (int, error) { +func (m *EventAllocation) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *EventAddressActivity) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *EventAllocation) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.AddressActivity != nil { + if m.Allocation != nil { { - size, err := m.AddressActivity.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Allocation.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -3193,7 +3270,7 @@ func (m *EventAddressActivity) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *EventGuildMembershipApplication) Marshal() (dAtA []byte, err error) { +func (m *EventAgreement) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -3203,19 +3280,19 @@ func (m *EventGuildMembershipApplication) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *EventGuildMembershipApplication) MarshalTo(dAtA []byte) (int, error) { +func (m *EventAgreement) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *EventGuildMembershipApplication) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *EventAgreement) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.GuildMembershipApplication != nil { + if m.Agreement != nil { { - size, err := m.GuildMembershipApplication.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Agreement.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -3228,7 +3305,7 @@ func (m *EventGuildMembershipApplication) MarshalToSizedBuffer(dAtA []byte) (int return len(dAtA) - i, nil } -func (m *EventOreMine) Marshal() (dAtA []byte, err error) { +func (m *EventFleet) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -3238,19 +3315,19 @@ func (m *EventOreMine) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *EventOreMine) MarshalTo(dAtA []byte) (int, error) { +func (m *EventFleet) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *EventOreMine) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *EventFleet) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.EventOreMineDetail != nil { + if m.Fleet != nil { { - size, err := m.EventOreMineDetail.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Fleet.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -3263,7 +3340,7 @@ func (m *EventOreMine) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *EventOreMineDetail) Marshal() (dAtA []byte, err error) { +func (m *EventGuild) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -3273,39 +3350,32 @@ func (m *EventOreMineDetail) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *EventOreMineDetail) MarshalTo(dAtA []byte) (int, error) { +func (m *EventGuild) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *EventOreMineDetail) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *EventGuild) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.Amount != 0 { - i = encodeVarintEvents(dAtA, i, uint64(m.Amount)) - i-- - dAtA[i] = 0x18 - } - if len(m.PrimaryAddress) > 0 { - i -= len(m.PrimaryAddress) - copy(dAtA[i:], m.PrimaryAddress) - i = encodeVarintEvents(dAtA, i, uint64(len(m.PrimaryAddress))) - i-- - dAtA[i] = 0x12 - } - if len(m.PlayerId) > 0 { - i -= len(m.PlayerId) - copy(dAtA[i:], m.PlayerId) - i = encodeVarintEvents(dAtA, i, uint64(len(m.PlayerId))) + if m.Guild != nil { + { + size, err := m.Guild.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintEvents(dAtA, i, uint64(size)) + } i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *EventAlphaRefine) Marshal() (dAtA []byte, err error) { +func (m *EventInfusion) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -3315,19 +3385,19 @@ func (m *EventAlphaRefine) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *EventAlphaRefine) MarshalTo(dAtA []byte) (int, error) { +func (m *EventInfusion) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *EventAlphaRefine) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *EventInfusion) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.EventAlphaRefineDetail != nil { + if m.Infusion != nil { { - size, err := m.EventAlphaRefineDetail.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Infusion.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -3340,7 +3410,7 @@ func (m *EventAlphaRefine) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *EventAlphaRefineDetail) Marshal() (dAtA []byte, err error) { +func (m *EventPlanet) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -3350,39 +3420,32 @@ func (m *EventAlphaRefineDetail) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *EventAlphaRefineDetail) MarshalTo(dAtA []byte) (int, error) { +func (m *EventPlanet) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *EventAlphaRefineDetail) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *EventPlanet) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.Amount != 0 { - i = encodeVarintEvents(dAtA, i, uint64(m.Amount)) - i-- - dAtA[i] = 0x18 - } - if len(m.PrimaryAddress) > 0 { - i -= len(m.PrimaryAddress) - copy(dAtA[i:], m.PrimaryAddress) - i = encodeVarintEvents(dAtA, i, uint64(len(m.PrimaryAddress))) - i-- - dAtA[i] = 0x12 - } - if len(m.PlayerId) > 0 { - i -= len(m.PlayerId) - copy(dAtA[i:], m.PlayerId) - i = encodeVarintEvents(dAtA, i, uint64(len(m.PlayerId))) + if m.Planet != nil { + { + size, err := m.Planet.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintEvents(dAtA, i, uint64(size)) + } i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *EventAlphaInfuse) Marshal() (dAtA []byte, err error) { +func (m *EventPlanetAttribute) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -3392,19 +3455,19 @@ func (m *EventAlphaInfuse) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *EventAlphaInfuse) MarshalTo(dAtA []byte) (int, error) { +func (m *EventPlanetAttribute) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *EventAlphaInfuse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *EventPlanetAttribute) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.EventAlphaInfuseDetail != nil { + if m.PlanetAttributeRecord != nil { { - size, err := m.EventAlphaInfuseDetail.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.PlanetAttributeRecord.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -3417,7 +3480,7 @@ func (m *EventAlphaInfuse) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *EventAlphaInfuseDetail) Marshal() (dAtA []byte, err error) { +func (m *EventPlayer) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -3427,39 +3490,32 @@ func (m *EventAlphaInfuseDetail) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *EventAlphaInfuseDetail) MarshalTo(dAtA []byte) (int, error) { +func (m *EventPlayer) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *EventAlphaInfuseDetail) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *EventPlayer) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.Amount != 0 { - i = encodeVarintEvents(dAtA, i, uint64(m.Amount)) - i-- - dAtA[i] = 0x18 - } - if len(m.PrimaryAddress) > 0 { - i -= len(m.PrimaryAddress) - copy(dAtA[i:], m.PrimaryAddress) - i = encodeVarintEvents(dAtA, i, uint64(len(m.PrimaryAddress))) - i-- - dAtA[i] = 0x12 - } - if len(m.PlayerId) > 0 { - i -= len(m.PlayerId) - copy(dAtA[i:], m.PlayerId) - i = encodeVarintEvents(dAtA, i, uint64(len(m.PlayerId))) + if m.Player != nil { + { + size, err := m.Player.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintEvents(dAtA, i, uint64(size)) + } i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *EventAlphaDefuse) Marshal() (dAtA []byte, err error) { +func (m *EventProvider) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -3469,19 +3525,19 @@ func (m *EventAlphaDefuse) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *EventAlphaDefuse) MarshalTo(dAtA []byte) (int, error) { +func (m *EventProvider) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *EventAlphaDefuse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *EventProvider) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.EventAlphaDefuseDetail != nil { + if m.Provider != nil { { - size, err := m.EventAlphaDefuseDetail.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Provider.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -3494,7 +3550,7 @@ func (m *EventAlphaDefuse) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *EventAlphaDefuseDetail) Marshal() (dAtA []byte, err error) { +func (m *EventReactor) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -3504,32 +3560,32 @@ func (m *EventAlphaDefuseDetail) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *EventAlphaDefuseDetail) MarshalTo(dAtA []byte) (int, error) { +func (m *EventReactor) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *EventAlphaDefuseDetail) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *EventReactor) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.Amount != 0 { - i = encodeVarintEvents(dAtA, i, uint64(m.Amount)) - i-- - dAtA[i] = 0x10 - } - if len(m.PrimaryAddress) > 0 { - i -= len(m.PrimaryAddress) - copy(dAtA[i:], m.PrimaryAddress) - i = encodeVarintEvents(dAtA, i, uint64(len(m.PrimaryAddress))) + if m.Reactor != nil { + { + size, err := m.Reactor.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintEvents(dAtA, i, uint64(size)) + } i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *EventOreTheft) Marshal() (dAtA []byte, err error) { +func (m *EventStruct) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -3539,19 +3595,19 @@ func (m *EventOreTheft) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *EventOreTheft) MarshalTo(dAtA []byte) (int, error) { +func (m *EventStruct) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *EventOreTheft) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *EventStruct) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.EventOreTheftDetail != nil { + if m.Structure != nil { { - size, err := m.EventOreTheftDetail.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Structure.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -3564,7 +3620,7 @@ func (m *EventOreTheft) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *EventOreTheftDetail) Marshal() (dAtA []byte, err error) { +func (m *EventStructAttribute) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -3574,53 +3630,32 @@ func (m *EventOreTheftDetail) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *EventOreTheftDetail) MarshalTo(dAtA []byte) (int, error) { +func (m *EventStructAttribute) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *EventOreTheftDetail) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *EventStructAttribute) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.Amount != 0 { - i = encodeVarintEvents(dAtA, i, uint64(m.Amount)) - i-- - dAtA[i] = 0x28 - } - if len(m.ThiefPlayerId) > 0 { - i -= len(m.ThiefPlayerId) - copy(dAtA[i:], m.ThiefPlayerId) - i = encodeVarintEvents(dAtA, i, uint64(len(m.ThiefPlayerId))) - i-- - dAtA[i] = 0x22 - } - if len(m.ThiefPrimaryAddress) > 0 { - i -= len(m.ThiefPrimaryAddress) - copy(dAtA[i:], m.ThiefPrimaryAddress) - i = encodeVarintEvents(dAtA, i, uint64(len(m.ThiefPrimaryAddress))) - i-- - dAtA[i] = 0x1a - } - if len(m.VictimPlayerId) > 0 { - i -= len(m.VictimPlayerId) - copy(dAtA[i:], m.VictimPlayerId) - i = encodeVarintEvents(dAtA, i, uint64(len(m.VictimPlayerId))) - i-- - dAtA[i] = 0x12 - } - if len(m.VictimPrimaryAddress) > 0 { - i -= len(m.VictimPrimaryAddress) - copy(dAtA[i:], m.VictimPrimaryAddress) - i = encodeVarintEvents(dAtA, i, uint64(len(m.VictimPrimaryAddress))) + if m.StructAttributeRecord != nil { + { + size, err := m.StructAttributeRecord.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintEvents(dAtA, i, uint64(size)) + } i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *EventOreMigrate) Marshal() (dAtA []byte, err error) { +func (m *EventStructDefender) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -3630,19 +3665,19 @@ func (m *EventOreMigrate) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *EventOreMigrate) MarshalTo(dAtA []byte) (int, error) { +func (m *EventStructDefender) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *EventOreMigrate) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *EventStructDefender) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.EventOreMigrateDetail != nil { + if m.StructDefender != nil { { - size, err := m.EventOreMigrateDetail.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.StructDefender.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -3655,7 +3690,7 @@ func (m *EventOreMigrate) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *EventOreMigrateDetail) Marshal() (dAtA []byte, err error) { +func (m *EventStructType) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -3665,46 +3700,67 @@ func (m *EventOreMigrateDetail) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *EventOreMigrateDetail) MarshalTo(dAtA []byte) (int, error) { +func (m *EventStructType) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *EventOreMigrateDetail) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *EventStructType) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.Amount != 0 { - i = encodeVarintEvents(dAtA, i, uint64(m.Amount)) - i-- - dAtA[i] = 0x20 - } - if len(m.OldPrimaryAddress) > 0 { - i -= len(m.OldPrimaryAddress) - copy(dAtA[i:], m.OldPrimaryAddress) - i = encodeVarintEvents(dAtA, i, uint64(len(m.OldPrimaryAddress))) + if m.StructType != nil { + { + size, err := m.StructType.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintEvents(dAtA, i, uint64(size)) + } i-- - dAtA[i] = 0x1a + dAtA[i] = 0xa } - if len(m.PrimaryAddress) > 0 { - i -= len(m.PrimaryAddress) - copy(dAtA[i:], m.PrimaryAddress) - i = encodeVarintEvents(dAtA, i, uint64(len(m.PrimaryAddress))) - i-- - dAtA[i] = 0x12 + return len(dAtA) - i, nil +} + +func (m *EventSubstation) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - if len(m.PlayerId) > 0 { - i -= len(m.PlayerId) - copy(dAtA[i:], m.PlayerId) - i = encodeVarintEvents(dAtA, i, uint64(len(m.PlayerId))) + return dAtA[:n], nil +} + +func (m *EventSubstation) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *EventSubstation) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Substation != nil { + { + size, err := m.Substation.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintEvents(dAtA, i, uint64(size)) + } i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *EventAttack) Marshal() (dAtA []byte, err error) { +func (m *EventTime) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -3714,19 +3770,19 @@ func (m *EventAttack) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *EventAttack) MarshalTo(dAtA []byte) (int, error) { +func (m *EventTime) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *EventAttack) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *EventTime) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.EventAttackDetail != nil { + if m.EventTimeDetail != nil { { - size, err := m.EventAttackDetail.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.EventTimeDetail.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -3739,7 +3795,7 @@ func (m *EventAttack) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *EventAttackDetail) Marshal() (dAtA []byte, err error) { +func (m *EventTimeDetail) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -3749,153 +3805,247 @@ func (m *EventAttackDetail) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *EventAttackDetail) MarshalTo(dAtA []byte) (int, error) { +func (m *EventTimeDetail) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *EventAttackDetail) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *EventTimeDetail) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.TargetPlayerId) > 0 { - i -= len(m.TargetPlayerId) - copy(dAtA[i:], m.TargetPlayerId) - i = encodeVarintEvents(dAtA, i, uint64(len(m.TargetPlayerId))) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0x92 + n17, err17 := github_com_cosmos_gogoproto_types.StdTimeMarshalTo(m.BlockTime, dAtA[i-github_com_cosmos_gogoproto_types.SizeOfStdTime(m.BlockTime):]) + if err17 != nil { + return 0, err17 } - if len(m.AttackerPlayerId) > 0 { - i -= len(m.AttackerPlayerId) - copy(dAtA[i:], m.AttackerPlayerId) - i = encodeVarintEvents(dAtA, i, uint64(len(m.AttackerPlayerId))) - i-- - dAtA[i] = 0x1 + i -= n17 + i = encodeVarintEvents(dAtA, i, uint64(n17)) + i-- + dAtA[i] = 0x12 + if m.BlockHeight != 0 { + i = encodeVarintEvents(dAtA, i, uint64(m.BlockHeight)) i-- - dAtA[i] = 0x8a + dAtA[i] = 0x8 } - if m.PlanetaryDefenseCannonDamageDestroyedAttacker { - i-- - if m.PlanetaryDefenseCannonDamageDestroyedAttacker { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0x80 + return len(dAtA) - i, nil +} + +func (m *EventPermission) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - if m.PlanetaryDefenseCannonDamage != 0 { - i = encodeVarintEvents(dAtA, i, uint64(m.PlanetaryDefenseCannonDamage)) - i-- - dAtA[i] = 0x78 - } - if m.PlanetaryDefenseCannonDamageToAttacker { - i-- - if m.PlanetaryDefenseCannonDamageToAttacker { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x70 - } - if m.RecoilDamageDestroyedAttacker { - i-- - if m.RecoilDamageDestroyedAttacker { - dAtA[i] = 1 - } else { - dAtA[i] = 0 + return dAtA[:n], nil +} + +func (m *EventPermission) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *EventPermission) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.PermissionRecord != nil { + { + size, err := m.PermissionRecord.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintEvents(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x68 + dAtA[i] = 0xa } - if m.RecoilDamage != 0 { - i = encodeVarintEvents(dAtA, i, uint64(m.RecoilDamage)) - i-- - dAtA[i] = 0x60 + return len(dAtA) - i, nil +} + +func (m *EventGrid) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - if m.RecoilDamageToAttacker { - i-- - if m.RecoilDamageToAttacker { - dAtA[i] = 1 - } else { - dAtA[i] = 0 + return dAtA[:n], nil +} + +func (m *EventGrid) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *EventGrid) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.GridRecord != nil { + { + size, err := m.GridRecord.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintEvents(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x58 + dAtA[i] = 0xa } - if len(m.EventAttackShotDetail) > 0 { - for iNdEx := len(m.EventAttackShotDetail) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.EventAttackShotDetail[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintEvents(dAtA, i, uint64(size)) + return len(dAtA) - i, nil +} + +func (m *EventProviderGrantGuild) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *EventProviderGrantGuild) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *EventProviderGrantGuild) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.EventProviderGrantGuildDetail != nil { + { + size, err := m.EventProviderGrantGuildDetail.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err } - i-- - dAtA[i] = 0x52 + i -= size + i = encodeVarintEvents(dAtA, i, uint64(size)) } - } - if m.ActiveWeaponry != 0 { - i = encodeVarintEvents(dAtA, i, uint64(m.ActiveWeaponry)) i-- - dAtA[i] = 0x48 + dAtA[i] = 0xa } - if m.WeaponControl != 0 { - i = encodeVarintEvents(dAtA, i, uint64(m.WeaponControl)) - i-- - dAtA[i] = 0x40 + return len(dAtA) - i, nil +} + +func (m *EventProviderGrantGuildDetail) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - if m.WeaponSystem != 0 { - i = encodeVarintEvents(dAtA, i, uint64(m.WeaponSystem)) + return dAtA[:n], nil +} + +func (m *EventProviderGrantGuildDetail) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *EventProviderGrantGuildDetail) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.GuildId) > 0 { + i -= len(m.GuildId) + copy(dAtA[i:], m.GuildId) + i = encodeVarintEvents(dAtA, i, uint64(len(m.GuildId))) i-- - dAtA[i] = 0x38 + dAtA[i] = 0x12 } - if m.AttackerStructSlot != 0 { - i = encodeVarintEvents(dAtA, i, uint64(m.AttackerStructSlot)) + if len(m.ProviderId) > 0 { + i -= len(m.ProviderId) + copy(dAtA[i:], m.ProviderId) + i = encodeVarintEvents(dAtA, i, uint64(len(m.ProviderId))) i-- - dAtA[i] = 0x30 + dAtA[i] = 0xa } - if m.AttackerStructOperatingAmbit != 0 { - i = encodeVarintEvents(dAtA, i, uint64(m.AttackerStructOperatingAmbit)) - i-- - dAtA[i] = 0x28 + return len(dAtA) - i, nil +} + +func (m *EventProviderRevokeGuild) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - if len(m.AttackerStructLocationId) > 0 { - i -= len(m.AttackerStructLocationId) - copy(dAtA[i:], m.AttackerStructLocationId) - i = encodeVarintEvents(dAtA, i, uint64(len(m.AttackerStructLocationId))) + return dAtA[:n], nil +} + +func (m *EventProviderRevokeGuild) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *EventProviderRevokeGuild) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.EventProviderRevokeGuildDetail != nil { + { + size, err := m.EventProviderRevokeGuildDetail.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintEvents(dAtA, i, uint64(size)) + } i-- - dAtA[i] = 0x22 + dAtA[i] = 0xa } - if m.AttackerStructLocationType != 0 { - i = encodeVarintEvents(dAtA, i, uint64(m.AttackerStructLocationType)) - i-- - dAtA[i] = 0x18 + return len(dAtA) - i, nil +} + +func (m *EventProviderRevokeGuildDetail) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - if m.AttackerStructType != 0 { - i = encodeVarintEvents(dAtA, i, uint64(m.AttackerStructType)) + return dAtA[:n], nil +} + +func (m *EventProviderRevokeGuildDetail) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *EventProviderRevokeGuildDetail) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.GuildId) > 0 { + i -= len(m.GuildId) + copy(dAtA[i:], m.GuildId) + i = encodeVarintEvents(dAtA, i, uint64(len(m.GuildId))) i-- - dAtA[i] = 0x10 + dAtA[i] = 0x12 } - if len(m.AttackerStructId) > 0 { - i -= len(m.AttackerStructId) - copy(dAtA[i:], m.AttackerStructId) - i = encodeVarintEvents(dAtA, i, uint64(len(m.AttackerStructId))) + if len(m.ProviderId) > 0 { + i -= len(m.ProviderId) + copy(dAtA[i:], m.ProviderId) + i = encodeVarintEvents(dAtA, i, uint64(len(m.ProviderId))) i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *EventAttackShotDetail) Marshal() (dAtA []byte, err error) { +func (m *EventPlayerHalted) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -3905,276 +4055,57 @@ func (m *EventAttackShotDetail) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *EventAttackShotDetail) MarshalTo(dAtA []byte) (int, error) { +func (m *EventPlayerHalted) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *EventAttackShotDetail) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *EventPlayerHalted) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.PostDestructionDamageCause != 0 { - i = encodeVarintEvents(dAtA, i, uint64(m.PostDestructionDamageCause)) - i-- - dAtA[i] = 0x2 + if len(m.PlayerId) > 0 { + i -= len(m.PlayerId) + copy(dAtA[i:], m.PlayerId) + i = encodeVarintEvents(dAtA, i, uint64(len(m.PlayerId))) i-- - dAtA[i] = 0x80 + dAtA[i] = 0xa } - if m.PostDestructionDamageDestroyedAttacker { - i-- - if m.PostDestructionDamageDestroyedAttacker { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0xf8 + return len(dAtA) - i, nil +} + +func (m *EventPlayerResumed) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - if m.PostDestructionDamage != 0 { - i = encodeVarintEvents(dAtA, i, uint64(m.PostDestructionDamage)) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0xf0 - } - if m.PostDestructionDamageToAttacker { - i-- - if m.PostDestructionDamageToAttacker { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0xe8 - } - if m.TargetDestroyed { - i-- - if m.TargetDestroyed { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0xe0 - } - if m.TargetCounterCause != 0 { - i = encodeVarintEvents(dAtA, i, uint64(m.TargetCounterCause)) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0xd8 - } - if m.TargetCounterDestroyedAttacker { - i-- - if m.TargetCounterDestroyedAttacker { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0xd0 - } - if m.TargetCounteredDamage != 0 { - i = encodeVarintEvents(dAtA, i, uint64(m.TargetCounteredDamage)) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0xc8 - } - if m.TargetCountered { - i-- - if m.TargetCountered { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0xc0 - } - if m.Damage != 0 { - i = encodeVarintEvents(dAtA, i, uint64(m.Damage)) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0xb8 - } - if m.DamageReductionCause != 0 { - i = encodeVarintEvents(dAtA, i, uint64(m.DamageReductionCause)) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0xb0 - } - if m.DamageReduction != 0 { - i = encodeVarintEvents(dAtA, i, uint64(m.DamageReduction)) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0xa8 - } - if m.DamageDealt != 0 { - i = encodeVarintEvents(dAtA, i, uint64(m.DamageDealt)) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0xa0 - } - if len(m.EventAttackDefenderCounterDetail) > 0 { - for iNdEx := len(m.EventAttackDefenderCounterDetail) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.EventAttackDefenderCounterDetail[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintEvents(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0x9a - } - } - if m.BlockerDestroyed { - i-- - if m.BlockerDestroyed { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0x90 - } - if m.BlockedByStructSlot != 0 { - i = encodeVarintEvents(dAtA, i, uint64(m.BlockedByStructSlot)) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0x88 - } - if m.BlockedByStructOperatingAmbit != 0 { - i = encodeVarintEvents(dAtA, i, uint64(m.BlockedByStructOperatingAmbit)) - i-- - dAtA[i] = 0x1 - i-- - dAtA[i] = 0x80 - } - if len(m.BlockedByStructLocationId) > 0 { - i -= len(m.BlockedByStructLocationId) - copy(dAtA[i:], m.BlockedByStructLocationId) - i = encodeVarintEvents(dAtA, i, uint64(len(m.BlockedByStructLocationId))) - i-- - dAtA[i] = 0x7a - } - if m.BlockedByStructLocationType != 0 { - i = encodeVarintEvents(dAtA, i, uint64(m.BlockedByStructLocationType)) - i-- - dAtA[i] = 0x70 - } - if m.BlockedByStructType != 0 { - i = encodeVarintEvents(dAtA, i, uint64(m.BlockedByStructType)) - i-- - dAtA[i] = 0x68 - } - if len(m.BlockedByStructId) > 0 { - i -= len(m.BlockedByStructId) - copy(dAtA[i:], m.BlockedByStructId) - i = encodeVarintEvents(dAtA, i, uint64(len(m.BlockedByStructId))) - i-- - dAtA[i] = 0x62 - } - if m.Blocked { - i-- - if m.Blocked { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x58 - } - if m.EvadedByPlanetaryDefensesCause != 0 { - i = encodeVarintEvents(dAtA, i, uint64(m.EvadedByPlanetaryDefensesCause)) - i-- - dAtA[i] = 0x50 - } - if m.EvadedByPlanetaryDefenses { - i-- - if m.EvadedByPlanetaryDefenses { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x48 - } - if m.EvadedCause != 0 { - i = encodeVarintEvents(dAtA, i, uint64(m.EvadedCause)) - i-- - dAtA[i] = 0x40 - } - if m.Evaded { - i-- - if m.Evaded { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x38 - } - if m.TargetStructSlot != 0 { - i = encodeVarintEvents(dAtA, i, uint64(m.TargetStructSlot)) - i-- - dAtA[i] = 0x30 - } - if m.TargetStructOperatingAmbit != 0 { - i = encodeVarintEvents(dAtA, i, uint64(m.TargetStructOperatingAmbit)) - i-- - dAtA[i] = 0x28 - } - if len(m.TargetStructLocationId) > 0 { - i -= len(m.TargetStructLocationId) - copy(dAtA[i:], m.TargetStructLocationId) - i = encodeVarintEvents(dAtA, i, uint64(len(m.TargetStructLocationId))) - i-- - dAtA[i] = 0x22 - } - if m.TargetStructLocationType != 0 { - i = encodeVarintEvents(dAtA, i, uint64(m.TargetStructLocationType)) - i-- - dAtA[i] = 0x18 - } - if m.TargetStructType != 0 { - i = encodeVarintEvents(dAtA, i, uint64(m.TargetStructType)) - i-- - dAtA[i] = 0x10 - } - if len(m.TargetStructId) > 0 { - i -= len(m.TargetStructId) - copy(dAtA[i:], m.TargetStructId) - i = encodeVarintEvents(dAtA, i, uint64(len(m.TargetStructId))) + return dAtA[:n], nil +} + +func (m *EventPlayerResumed) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *EventPlayerResumed) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.PlayerId) > 0 { + i -= len(m.PlayerId) + copy(dAtA[i:], m.PlayerId) + i = encodeVarintEvents(dAtA, i, uint64(len(m.PlayerId))) i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *EventAttackDefenderCounterDetail) Marshal() (dAtA []byte, err error) { +func (m *EventDelete) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -4184,69 +4115,179 @@ func (m *EventAttackDefenderCounterDetail) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *EventAttackDefenderCounterDetail) MarshalTo(dAtA []byte) (int, error) { +func (m *EventDelete) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *EventAttackDefenderCounterDetail) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *EventDelete) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.CounterDestroyedAttacker { - i-- - if m.CounterDestroyedAttacker { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } + if len(m.ObjectId) > 0 { + i -= len(m.ObjectId) + copy(dAtA[i:], m.ObjectId) + i = encodeVarintEvents(dAtA, i, uint64(len(m.ObjectId))) i-- - dAtA[i] = 0x40 + dAtA[i] = 0xa } - if m.CounterDamage != 0 { - i = encodeVarintEvents(dAtA, i, uint64(m.CounterDamage)) + return len(dAtA) - i, nil +} + +func (m *EventAddressAssociation) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *EventAddressAssociation) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *EventAddressAssociation) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.AddressAssociation != nil { + { + size, err := m.AddressAssociation.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintEvents(dAtA, i, uint64(size)) + } i-- - dAtA[i] = 0x38 + dAtA[i] = 0xa } - if m.CounterByStructSlot != 0 { - i = encodeVarintEvents(dAtA, i, uint64(m.CounterByStructSlot)) + return len(dAtA) - i, nil +} + +func (m *EventAddressActivity) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *EventAddressActivity) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *EventAddressActivity) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.AddressActivity != nil { + { + size, err := m.AddressActivity.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintEvents(dAtA, i, uint64(size)) + } i-- - dAtA[i] = 0x30 + dAtA[i] = 0xa } - if m.CounterByStructOperatingAmbit != 0 { - i = encodeVarintEvents(dAtA, i, uint64(m.CounterByStructOperatingAmbit)) + return len(dAtA) - i, nil +} + +func (m *EventGuildBankMint) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *EventGuildBankMint) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *EventGuildBankMint) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.EventGuildBankMintDetail != nil { + { + size, err := m.EventGuildBankMintDetail.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintEvents(dAtA, i, uint64(size)) + } i-- - dAtA[i] = 0x28 + dAtA[i] = 0xa } - if len(m.CounterByStructLocationId) > 0 { - i -= len(m.CounterByStructLocationId) - copy(dAtA[i:], m.CounterByStructLocationId) - i = encodeVarintEvents(dAtA, i, uint64(len(m.CounterByStructLocationId))) + return len(dAtA) - i, nil +} + +func (m *EventGuildBankMintDetail) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *EventGuildBankMintDetail) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *EventGuildBankMintDetail) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.PlayerId) > 0 { + i -= len(m.PlayerId) + copy(dAtA[i:], m.PlayerId) + i = encodeVarintEvents(dAtA, i, uint64(len(m.PlayerId))) i-- dAtA[i] = 0x22 } - if m.CounterByStructLocationType != 0 { - i = encodeVarintEvents(dAtA, i, uint64(m.CounterByStructLocationType)) + if m.AmountToken != 0 { + i = encodeVarintEvents(dAtA, i, uint64(m.AmountToken)) i-- dAtA[i] = 0x18 } - if m.CounterByStructType != 0 { - i = encodeVarintEvents(dAtA, i, uint64(m.CounterByStructType)) + if m.AmountAlpha != 0 { + i = encodeVarintEvents(dAtA, i, uint64(m.AmountAlpha)) i-- dAtA[i] = 0x10 } - if len(m.CounterByStructId) > 0 { - i -= len(m.CounterByStructId) - copy(dAtA[i:], m.CounterByStructId) - i = encodeVarintEvents(dAtA, i, uint64(len(m.CounterByStructId))) + if len(m.GuildId) > 0 { + i -= len(m.GuildId) + copy(dAtA[i:], m.GuildId) + i = encodeVarintEvents(dAtA, i, uint64(len(m.GuildId))) i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *EventRaid) Marshal() (dAtA []byte, err error) { +func (m *EventGuildBankRedeem) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -4256,19 +4297,19 @@ func (m *EventRaid) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *EventRaid) MarshalTo(dAtA []byte) (int, error) { +func (m *EventGuildBankRedeem) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *EventRaid) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *EventGuildBankRedeem) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.EventRaidDetail != nil { + if m.EventGuildBankRedeemDetail != nil { { - size, err := m.EventRaidDetail.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.EventGuildBankRedeemDetail.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -4281,7 +4322,7 @@ func (m *EventRaid) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *EventRaidDetail) Marshal() (dAtA []byte, err error) { +func (m *EventGuildBankRedeemDetail) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -4291,799 +4332,3440 @@ func (m *EventRaidDetail) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *EventRaidDetail) MarshalTo(dAtA []byte) (int, error) { +func (m *EventGuildBankRedeemDetail) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *EventRaidDetail) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *EventGuildBankRedeemDetail) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.Status != 0 { - i = encodeVarintEvents(dAtA, i, uint64(m.Status)) + if len(m.PlayerId) > 0 { + i -= len(m.PlayerId) + copy(dAtA[i:], m.PlayerId) + i = encodeVarintEvents(dAtA, i, uint64(len(m.PlayerId))) + i-- + dAtA[i] = 0x22 + } + if m.AmountToken != 0 { + i = encodeVarintEvents(dAtA, i, uint64(m.AmountToken)) i-- dAtA[i] = 0x18 } - if len(m.PlanetId) > 0 { - i -= len(m.PlanetId) - copy(dAtA[i:], m.PlanetId) - i = encodeVarintEvents(dAtA, i, uint64(len(m.PlanetId))) + if m.AmountAlpha != 0 { + i = encodeVarintEvents(dAtA, i, uint64(m.AmountAlpha)) i-- - dAtA[i] = 0x12 + dAtA[i] = 0x10 } - if len(m.FleetId) > 0 { - i -= len(m.FleetId) - copy(dAtA[i:], m.FleetId) - i = encodeVarintEvents(dAtA, i, uint64(len(m.FleetId))) + if len(m.GuildId) > 0 { + i -= len(m.GuildId) + copy(dAtA[i:], m.GuildId) + i = encodeVarintEvents(dAtA, i, uint64(len(m.GuildId))) i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func encodeVarintEvents(dAtA []byte, offset int, v uint64) int { - offset -= sovEvents(v) - base := offset - for v >= 1<<7 { - dAtA[offset] = uint8(v&0x7f | 0x80) - v >>= 7 - offset++ +func (m *EventGuildBankConfiscateAndBurn) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - dAtA[offset] = uint8(v) - return base + return dAtA[:n], nil } -func (m *EventAllocation) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Allocation != nil { - l = m.Allocation.Size() - n += 1 + l + sovEvents(uint64(l)) - } - return n + +func (m *EventGuildBankConfiscateAndBurn) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *EventFleet) Size() (n int) { - if m == nil { - return 0 - } +func (m *EventGuildBankConfiscateAndBurn) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - if m.Fleet != nil { - l = m.Fleet.Size() - n += 1 + l + sovEvents(uint64(l)) + if m.EventGuildBankConfiscateAndBurnDetail != nil { + { + size, err := m.EventGuildBankConfiscateAndBurnDetail.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintEvents(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa } - return n + return len(dAtA) - i, nil } -func (m *EventGuild) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Guild != nil { - l = m.Guild.Size() - n += 1 + l + sovEvents(uint64(l)) +func (m *EventGuildBankConfiscateAndBurnDetail) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - return n + return dAtA[:n], nil } -func (m *EventInfusion) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Infusion != nil { - l = m.Infusion.Size() - n += 1 + l + sovEvents(uint64(l)) - } - return n +func (m *EventGuildBankConfiscateAndBurnDetail) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *EventPlanet) Size() (n int) { - if m == nil { - return 0 - } +func (m *EventGuildBankConfiscateAndBurnDetail) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - if m.Planet != nil { - l = m.Planet.Size() - n += 1 + l + sovEvents(uint64(l)) + if len(m.Address) > 0 { + i -= len(m.Address) + copy(dAtA[i:], m.Address) + i = encodeVarintEvents(dAtA, i, uint64(len(m.Address))) + i-- + dAtA[i] = 0x22 } - return n -} - -func (m *EventPlanetAttribute) Size() (n int) { - if m == nil { - return 0 + if m.AmountToken != 0 { + i = encodeVarintEvents(dAtA, i, uint64(m.AmountToken)) + i-- + dAtA[i] = 0x18 } - var l int - _ = l - if m.PlanetAttributeRecord != nil { - l = m.PlanetAttributeRecord.Size() - n += 1 + l + sovEvents(uint64(l)) + if m.AmountAlpha != 0 { + i = encodeVarintEvents(dAtA, i, uint64(m.AmountAlpha)) + i-- + dAtA[i] = 0x10 } - return n + if len(m.GuildId) > 0 { + i -= len(m.GuildId) + copy(dAtA[i:], m.GuildId) + i = encodeVarintEvents(dAtA, i, uint64(len(m.GuildId))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil } -func (m *EventPlayer) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Player != nil { - l = m.Player.Size() - n += 1 + l + sovEvents(uint64(l)) +func (m *EventGuildMembershipApplication) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - return n + return dAtA[:n], nil } -func (m *EventReactor) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Reactor != nil { - l = m.Reactor.Size() - n += 1 + l + sovEvents(uint64(l)) - } - return n +func (m *EventGuildMembershipApplication) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *EventStruct) Size() (n int) { - if m == nil { - return 0 - } +func (m *EventGuildMembershipApplication) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - if m.Structure != nil { - l = m.Structure.Size() - n += 1 + l + sovEvents(uint64(l)) + if m.GuildMembershipApplication != nil { + { + size, err := m.GuildMembershipApplication.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintEvents(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa } - return n + return len(dAtA) - i, nil } -func (m *EventStructAttribute) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.StructAttributeRecord != nil { - l = m.StructAttributeRecord.Size() - n += 1 + l + sovEvents(uint64(l)) +func (m *EventOreMine) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - return n + return dAtA[:n], nil } -func (m *EventStructDefender) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.StructDefender != nil { - l = m.StructDefender.Size() - n += 1 + l + sovEvents(uint64(l)) - } - return n +func (m *EventOreMine) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *EventStructType) Size() (n int) { - if m == nil { - return 0 - } +func (m *EventOreMine) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - if m.StructType != nil { - l = m.StructType.Size() - n += 1 + l + sovEvents(uint64(l)) + if m.EventOreMineDetail != nil { + { + size, err := m.EventOreMineDetail.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintEvents(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa } - return n + return len(dAtA) - i, nil } -func (m *EventSubstation) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Substation != nil { - l = m.Substation.Size() - n += 1 + l + sovEvents(uint64(l)) +func (m *EventOreMineDetail) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - return n + return dAtA[:n], nil } -func (m *EventTime) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.EventTimeDetail != nil { - l = m.EventTimeDetail.Size() - n += 1 + l + sovEvents(uint64(l)) - } - return n +func (m *EventOreMineDetail) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *EventTimeDetail) Size() (n int) { - if m == nil { - return 0 - } +func (m *EventOreMineDetail) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - if m.BlockHeight != 0 { - n += 1 + sovEvents(uint64(m.BlockHeight)) + if m.Amount != 0 { + i = encodeVarintEvents(dAtA, i, uint64(m.Amount)) + i-- + dAtA[i] = 0x18 } - l = github_com_cosmos_gogoproto_types.SizeOfStdTime(m.BlockTime) - n += 1 + l + sovEvents(uint64(l)) - return n -} - -func (m *EventPermission) Size() (n int) { - if m == nil { - return 0 + if len(m.PrimaryAddress) > 0 { + i -= len(m.PrimaryAddress) + copy(dAtA[i:], m.PrimaryAddress) + i = encodeVarintEvents(dAtA, i, uint64(len(m.PrimaryAddress))) + i-- + dAtA[i] = 0x12 } - var l int - _ = l - if m.PermissionRecord != nil { - l = m.PermissionRecord.Size() - n += 1 + l + sovEvents(uint64(l)) + if len(m.PlayerId) > 0 { + i -= len(m.PlayerId) + copy(dAtA[i:], m.PlayerId) + i = encodeVarintEvents(dAtA, i, uint64(len(m.PlayerId))) + i-- + dAtA[i] = 0xa } - return n + return len(dAtA) - i, nil } -func (m *EventGrid) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.GridRecord != nil { - l = m.GridRecord.Size() - n += 1 + l + sovEvents(uint64(l)) +func (m *EventAlphaRefine) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - return n + return dAtA[:n], nil } -func (m *EventDelete) Size() (n int) { - if m == nil { - return 0 - } +func (m *EventAlphaRefine) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *EventAlphaRefine) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - l = len(m.ObjectId) - if l > 0 { - n += 1 + l + sovEvents(uint64(l)) + if m.EventAlphaRefineDetail != nil { + { + size, err := m.EventAlphaRefineDetail.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintEvents(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa } - return n + return len(dAtA) - i, nil } -func (m *EventAddressAssociation) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.AddressAssociation != nil { - l = m.AddressAssociation.Size() - n += 1 + l + sovEvents(uint64(l)) +func (m *EventAlphaRefineDetail) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - return n + return dAtA[:n], nil } -func (m *EventAddressActivity) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.AddressActivity != nil { - l = m.AddressActivity.Size() - n += 1 + l + sovEvents(uint64(l)) - } - return n +func (m *EventAlphaRefineDetail) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *EventGuildMembershipApplication) Size() (n int) { - if m == nil { - return 0 - } +func (m *EventAlphaRefineDetail) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - if m.GuildMembershipApplication != nil { - l = m.GuildMembershipApplication.Size() - n += 1 + l + sovEvents(uint64(l)) + if m.Amount != 0 { + i = encodeVarintEvents(dAtA, i, uint64(m.Amount)) + i-- + dAtA[i] = 0x18 } - return n -} - -func (m *EventOreMine) Size() (n int) { - if m == nil { - return 0 + if len(m.PrimaryAddress) > 0 { + i -= len(m.PrimaryAddress) + copy(dAtA[i:], m.PrimaryAddress) + i = encodeVarintEvents(dAtA, i, uint64(len(m.PrimaryAddress))) + i-- + dAtA[i] = 0x12 } - var l int - _ = l - if m.EventOreMineDetail != nil { - l = m.EventOreMineDetail.Size() - n += 1 + l + sovEvents(uint64(l)) + if len(m.PlayerId) > 0 { + i -= len(m.PlayerId) + copy(dAtA[i:], m.PlayerId) + i = encodeVarintEvents(dAtA, i, uint64(len(m.PlayerId))) + i-- + dAtA[i] = 0xa } - return n + return len(dAtA) - i, nil } -func (m *EventOreMineDetail) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.PlayerId) - if l > 0 { - n += 1 + l + sovEvents(uint64(l)) - } - l = len(m.PrimaryAddress) - if l > 0 { - n += 1 + l + sovEvents(uint64(l)) - } - if m.Amount != 0 { - n += 1 + sovEvents(uint64(m.Amount)) +func (m *EventAlphaInfuse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - return n + return dAtA[:n], nil } -func (m *EventAlphaRefine) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.EventAlphaRefineDetail != nil { - l = m.EventAlphaRefineDetail.Size() - n += 1 + l + sovEvents(uint64(l)) - } - return n +func (m *EventAlphaInfuse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *EventAlphaRefineDetail) Size() (n int) { - if m == nil { - return 0 - } +func (m *EventAlphaInfuse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - l = len(m.PlayerId) - if l > 0 { - n += 1 + l + sovEvents(uint64(l)) - } - l = len(m.PrimaryAddress) - if l > 0 { - n += 1 + l + sovEvents(uint64(l)) - } - if m.Amount != 0 { - n += 1 + sovEvents(uint64(m.Amount)) + if m.EventAlphaInfuseDetail != nil { + { + size, err := m.EventAlphaInfuseDetail.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintEvents(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa } - return n + return len(dAtA) - i, nil } -func (m *EventAlphaInfuse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.EventAlphaInfuseDetail != nil { - l = m.EventAlphaInfuseDetail.Size() - n += 1 + l + sovEvents(uint64(l)) +func (m *EventAlphaInfuseDetail) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - return n + return dAtA[:n], nil } -func (m *EventAlphaInfuseDetail) Size() (n int) { - if m == nil { - return 0 - } +func (m *EventAlphaInfuseDetail) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *EventAlphaInfuseDetail) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - l = len(m.PlayerId) - if l > 0 { - n += 1 + l + sovEvents(uint64(l)) + if m.Amount != 0 { + i = encodeVarintEvents(dAtA, i, uint64(m.Amount)) + i-- + dAtA[i] = 0x18 } - l = len(m.PrimaryAddress) - if l > 0 { - n += 1 + l + sovEvents(uint64(l)) + if len(m.PrimaryAddress) > 0 { + i -= len(m.PrimaryAddress) + copy(dAtA[i:], m.PrimaryAddress) + i = encodeVarintEvents(dAtA, i, uint64(len(m.PrimaryAddress))) + i-- + dAtA[i] = 0x12 } - if m.Amount != 0 { - n += 1 + sovEvents(uint64(m.Amount)) + if len(m.PlayerId) > 0 { + i -= len(m.PlayerId) + copy(dAtA[i:], m.PlayerId) + i = encodeVarintEvents(dAtA, i, uint64(len(m.PlayerId))) + i-- + dAtA[i] = 0xa } - return n + return len(dAtA) - i, nil } -func (m *EventAlphaDefuse) Size() (n int) { - if m == nil { - return 0 +func (m *EventAlphaDefuse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } + return dAtA[:n], nil +} + +func (m *EventAlphaDefuse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *EventAlphaDefuse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l if m.EventAlphaDefuseDetail != nil { - l = m.EventAlphaDefuseDetail.Size() - n += 1 + l + sovEvents(uint64(l)) + { + size, err := m.EventAlphaDefuseDetail.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintEvents(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa } - return n + return len(dAtA) - i, nil } -func (m *EventAlphaDefuseDetail) Size() (n int) { - if m == nil { - return 0 +func (m *EventAlphaDefuseDetail) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } + return dAtA[:n], nil +} + +func (m *EventAlphaDefuseDetail) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *EventAlphaDefuseDetail) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - l = len(m.PrimaryAddress) - if l > 0 { - n += 1 + l + sovEvents(uint64(l)) - } if m.Amount != 0 { - n += 1 + sovEvents(uint64(m.Amount)) + i = encodeVarintEvents(dAtA, i, uint64(m.Amount)) + i-- + dAtA[i] = 0x10 } - return n -} - -func (m *EventOreTheft) Size() (n int) { - if m == nil { - return 0 + if len(m.PrimaryAddress) > 0 { + i -= len(m.PrimaryAddress) + copy(dAtA[i:], m.PrimaryAddress) + i = encodeVarintEvents(dAtA, i, uint64(len(m.PrimaryAddress))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *EventOreTheft) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } + return dAtA[:n], nil +} + +func (m *EventOreTheft) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *EventOreTheft) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l if m.EventOreTheftDetail != nil { - l = m.EventOreTheftDetail.Size() - n += 1 + l + sovEvents(uint64(l)) + { + size, err := m.EventOreTheftDetail.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintEvents(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa } - return n + return len(dAtA) - i, nil } -func (m *EventOreTheftDetail) Size() (n int) { - if m == nil { - return 0 +func (m *EventOreTheftDetail) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } + return dAtA[:n], nil +} + +func (m *EventOreTheftDetail) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *EventOreTheftDetail) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - l = len(m.VictimPrimaryAddress) - if l > 0 { - n += 1 + l + sovEvents(uint64(l)) + if m.Amount != 0 { + i = encodeVarintEvents(dAtA, i, uint64(m.Amount)) + i-- + dAtA[i] = 0x28 } - l = len(m.VictimPlayerId) - if l > 0 { - n += 1 + l + sovEvents(uint64(l)) + if len(m.ThiefPlayerId) > 0 { + i -= len(m.ThiefPlayerId) + copy(dAtA[i:], m.ThiefPlayerId) + i = encodeVarintEvents(dAtA, i, uint64(len(m.ThiefPlayerId))) + i-- + dAtA[i] = 0x22 } - l = len(m.ThiefPrimaryAddress) - if l > 0 { - n += 1 + l + sovEvents(uint64(l)) + if len(m.ThiefPrimaryAddress) > 0 { + i -= len(m.ThiefPrimaryAddress) + copy(dAtA[i:], m.ThiefPrimaryAddress) + i = encodeVarintEvents(dAtA, i, uint64(len(m.ThiefPrimaryAddress))) + i-- + dAtA[i] = 0x1a } - l = len(m.ThiefPlayerId) - if l > 0 { - n += 1 + l + sovEvents(uint64(l)) + if len(m.VictimPlayerId) > 0 { + i -= len(m.VictimPlayerId) + copy(dAtA[i:], m.VictimPlayerId) + i = encodeVarintEvents(dAtA, i, uint64(len(m.VictimPlayerId))) + i-- + dAtA[i] = 0x12 } - if m.Amount != 0 { - n += 1 + sovEvents(uint64(m.Amount)) + if len(m.VictimPrimaryAddress) > 0 { + i -= len(m.VictimPrimaryAddress) + copy(dAtA[i:], m.VictimPrimaryAddress) + i = encodeVarintEvents(dAtA, i, uint64(len(m.VictimPrimaryAddress))) + i-- + dAtA[i] = 0xa } - return n + return len(dAtA) - i, nil } -func (m *EventOreMigrate) Size() (n int) { - if m == nil { - return 0 +func (m *EventOreMigrate) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } + return dAtA[:n], nil +} + +func (m *EventOreMigrate) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *EventOreMigrate) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l if m.EventOreMigrateDetail != nil { - l = m.EventOreMigrateDetail.Size() - n += 1 + l + sovEvents(uint64(l)) + { + size, err := m.EventOreMigrateDetail.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintEvents(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa } - return n + return len(dAtA) - i, nil } -func (m *EventOreMigrateDetail) Size() (n int) { - if m == nil { - return 0 +func (m *EventOreMigrateDetail) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } + return dAtA[:n], nil +} + +func (m *EventOreMigrateDetail) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *EventOreMigrateDetail) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - l = len(m.PlayerId) - if l > 0 { - n += 1 + l + sovEvents(uint64(l)) + if m.Amount != 0 { + i = encodeVarintEvents(dAtA, i, uint64(m.Amount)) + i-- + dAtA[i] = 0x20 } - l = len(m.PrimaryAddress) - if l > 0 { - n += 1 + l + sovEvents(uint64(l)) + if len(m.OldPrimaryAddress) > 0 { + i -= len(m.OldPrimaryAddress) + copy(dAtA[i:], m.OldPrimaryAddress) + i = encodeVarintEvents(dAtA, i, uint64(len(m.OldPrimaryAddress))) + i-- + dAtA[i] = 0x1a } - l = len(m.OldPrimaryAddress) - if l > 0 { - n += 1 + l + sovEvents(uint64(l)) + if len(m.PrimaryAddress) > 0 { + i -= len(m.PrimaryAddress) + copy(dAtA[i:], m.PrimaryAddress) + i = encodeVarintEvents(dAtA, i, uint64(len(m.PrimaryAddress))) + i-- + dAtA[i] = 0x12 } - if m.Amount != 0 { - n += 1 + sovEvents(uint64(m.Amount)) + if len(m.PlayerId) > 0 { + i -= len(m.PlayerId) + copy(dAtA[i:], m.PlayerId) + i = encodeVarintEvents(dAtA, i, uint64(len(m.PlayerId))) + i-- + dAtA[i] = 0xa } - return n + return len(dAtA) - i, nil } -func (m *EventAttack) Size() (n int) { - if m == nil { - return 0 +func (m *EventAttack) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } + return dAtA[:n], nil +} + +func (m *EventAttack) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *EventAttack) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l if m.EventAttackDetail != nil { - l = m.EventAttackDetail.Size() - n += 1 + l + sovEvents(uint64(l)) + { + size, err := m.EventAttackDetail.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintEvents(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa } - return n + return len(dAtA) - i, nil } -func (m *EventAttackDetail) Size() (n int) { - if m == nil { - return 0 +func (m *EventAttackDetail) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } + return dAtA[:n], nil +} + +func (m *EventAttackDetail) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *EventAttackDetail) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - l = len(m.AttackerStructId) - if l > 0 { - n += 1 + l + sovEvents(uint64(l)) - } - if m.AttackerStructType != 0 { - n += 1 + sovEvents(uint64(m.AttackerStructType)) + if len(m.TargetPlayerId) > 0 { + i -= len(m.TargetPlayerId) + copy(dAtA[i:], m.TargetPlayerId) + i = encodeVarintEvents(dAtA, i, uint64(len(m.TargetPlayerId))) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x92 } - if m.AttackerStructLocationType != 0 { - n += 1 + sovEvents(uint64(m.AttackerStructLocationType)) + if len(m.AttackerPlayerId) > 0 { + i -= len(m.AttackerPlayerId) + copy(dAtA[i:], m.AttackerPlayerId) + i = encodeVarintEvents(dAtA, i, uint64(len(m.AttackerPlayerId))) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x8a } - l = len(m.AttackerStructLocationId) - if l > 0 { - n += 1 + l + sovEvents(uint64(l)) + if m.PlanetaryDefenseCannonDamageDestroyedAttacker { + i-- + if m.PlanetaryDefenseCannonDamageDestroyedAttacker { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x80 } - if m.AttackerStructOperatingAmbit != 0 { - n += 1 + sovEvents(uint64(m.AttackerStructOperatingAmbit)) + if m.PlanetaryDefenseCannonDamage != 0 { + i = encodeVarintEvents(dAtA, i, uint64(m.PlanetaryDefenseCannonDamage)) + i-- + dAtA[i] = 0x78 } - if m.AttackerStructSlot != 0 { - n += 1 + sovEvents(uint64(m.AttackerStructSlot)) + if m.PlanetaryDefenseCannonDamageToAttacker { + i-- + if m.PlanetaryDefenseCannonDamageToAttacker { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x70 } - if m.WeaponSystem != 0 { - n += 1 + sovEvents(uint64(m.WeaponSystem)) + if m.RecoilDamageDestroyedAttacker { + i-- + if m.RecoilDamageDestroyedAttacker { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x68 } - if m.WeaponControl != 0 { - n += 1 + sovEvents(uint64(m.WeaponControl)) + if m.RecoilDamage != 0 { + i = encodeVarintEvents(dAtA, i, uint64(m.RecoilDamage)) + i-- + dAtA[i] = 0x60 } - if m.ActiveWeaponry != 0 { - n += 1 + sovEvents(uint64(m.ActiveWeaponry)) + if m.RecoilDamageToAttacker { + i-- + if m.RecoilDamageToAttacker { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x58 } if len(m.EventAttackShotDetail) > 0 { - for _, e := range m.EventAttackShotDetail { - l = e.Size() - n += 1 + l + sovEvents(uint64(l)) + for iNdEx := len(m.EventAttackShotDetail) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.EventAttackShotDetail[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintEvents(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x52 } } - if m.RecoilDamageToAttacker { - n += 2 + if m.ActiveWeaponry != 0 { + i = encodeVarintEvents(dAtA, i, uint64(m.ActiveWeaponry)) + i-- + dAtA[i] = 0x48 } - if m.RecoilDamage != 0 { - n += 1 + sovEvents(uint64(m.RecoilDamage)) + if m.WeaponControl != 0 { + i = encodeVarintEvents(dAtA, i, uint64(m.WeaponControl)) + i-- + dAtA[i] = 0x40 } - if m.RecoilDamageDestroyedAttacker { - n += 2 + if m.WeaponSystem != 0 { + i = encodeVarintEvents(dAtA, i, uint64(m.WeaponSystem)) + i-- + dAtA[i] = 0x38 } - if m.PlanetaryDefenseCannonDamageToAttacker { - n += 2 + if m.AttackerStructSlot != 0 { + i = encodeVarintEvents(dAtA, i, uint64(m.AttackerStructSlot)) + i-- + dAtA[i] = 0x30 } - if m.PlanetaryDefenseCannonDamage != 0 { - n += 1 + sovEvents(uint64(m.PlanetaryDefenseCannonDamage)) + if m.AttackerStructOperatingAmbit != 0 { + i = encodeVarintEvents(dAtA, i, uint64(m.AttackerStructOperatingAmbit)) + i-- + dAtA[i] = 0x28 } - if m.PlanetaryDefenseCannonDamageDestroyedAttacker { - n += 3 + if len(m.AttackerStructLocationId) > 0 { + i -= len(m.AttackerStructLocationId) + copy(dAtA[i:], m.AttackerStructLocationId) + i = encodeVarintEvents(dAtA, i, uint64(len(m.AttackerStructLocationId))) + i-- + dAtA[i] = 0x22 } - l = len(m.AttackerPlayerId) - if l > 0 { - n += 2 + l + sovEvents(uint64(l)) + if m.AttackerStructLocationType != 0 { + i = encodeVarintEvents(dAtA, i, uint64(m.AttackerStructLocationType)) + i-- + dAtA[i] = 0x18 } - l = len(m.TargetPlayerId) - if l > 0 { - n += 2 + l + sovEvents(uint64(l)) + if m.AttackerStructType != 0 { + i = encodeVarintEvents(dAtA, i, uint64(m.AttackerStructType)) + i-- + dAtA[i] = 0x10 } - return n + if len(m.AttackerStructId) > 0 { + i -= len(m.AttackerStructId) + copy(dAtA[i:], m.AttackerStructId) + i = encodeVarintEvents(dAtA, i, uint64(len(m.AttackerStructId))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil } -func (m *EventAttackShotDetail) Size() (n int) { - if m == nil { - return 0 +func (m *EventAttackShotDetail) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } + return dAtA[:n], nil +} + +func (m *EventAttackShotDetail) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *EventAttackShotDetail) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - l = len(m.TargetStructId) - if l > 0 { - n += 1 + l + sovEvents(uint64(l)) - } - if m.TargetStructType != 0 { - n += 1 + sovEvents(uint64(m.TargetStructType)) + if m.PostDestructionDamageCause != 0 { + i = encodeVarintEvents(dAtA, i, uint64(m.PostDestructionDamageCause)) + i-- + dAtA[i] = 0x2 + i-- + dAtA[i] = 0x80 } - if m.TargetStructLocationType != 0 { - n += 1 + sovEvents(uint64(m.TargetStructLocationType)) + if m.PostDestructionDamageDestroyedAttacker { + i-- + if m.PostDestructionDamageDestroyedAttacker { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xf8 } - l = len(m.TargetStructLocationId) - if l > 0 { - n += 1 + l + sovEvents(uint64(l)) + if m.PostDestructionDamage != 0 { + i = encodeVarintEvents(dAtA, i, uint64(m.PostDestructionDamage)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xf0 } - if m.TargetStructOperatingAmbit != 0 { - n += 1 + sovEvents(uint64(m.TargetStructOperatingAmbit)) + if m.PostDestructionDamageToAttacker { + i-- + if m.PostDestructionDamageToAttacker { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xe8 } - if m.TargetStructSlot != 0 { - n += 1 + sovEvents(uint64(m.TargetStructSlot)) + if m.TargetDestroyed { + i-- + if m.TargetDestroyed { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xe0 } - if m.Evaded { - n += 2 + if m.TargetCounterCause != 0 { + i = encodeVarintEvents(dAtA, i, uint64(m.TargetCounterCause)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xd8 } - if m.EvadedCause != 0 { - n += 1 + sovEvents(uint64(m.EvadedCause)) + if m.TargetCounterDestroyedAttacker { + i-- + if m.TargetCounterDestroyedAttacker { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xd0 } - if m.EvadedByPlanetaryDefenses { - n += 2 + if m.TargetCounteredDamage != 0 { + i = encodeVarintEvents(dAtA, i, uint64(m.TargetCounteredDamage)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xc8 } - if m.EvadedByPlanetaryDefensesCause != 0 { - n += 1 + sovEvents(uint64(m.EvadedByPlanetaryDefensesCause)) + if m.TargetCountered { + i-- + if m.TargetCountered { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xc0 } - if m.Blocked { - n += 2 + if m.Damage != 0 { + i = encodeVarintEvents(dAtA, i, uint64(m.Damage)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xb8 } - l = len(m.BlockedByStructId) - if l > 0 { - n += 1 + l + sovEvents(uint64(l)) + if m.DamageReductionCause != 0 { + i = encodeVarintEvents(dAtA, i, uint64(m.DamageReductionCause)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xb0 } - if m.BlockedByStructType != 0 { - n += 1 + sovEvents(uint64(m.BlockedByStructType)) + if m.DamageReduction != 0 { + i = encodeVarintEvents(dAtA, i, uint64(m.DamageReduction)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xa8 } - if m.BlockedByStructLocationType != 0 { - n += 1 + sovEvents(uint64(m.BlockedByStructLocationType)) + if m.DamageDealt != 0 { + i = encodeVarintEvents(dAtA, i, uint64(m.DamageDealt)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xa0 } - l = len(m.BlockedByStructLocationId) - if l > 0 { - n += 1 + l + sovEvents(uint64(l)) + if len(m.EventAttackDefenderCounterDetail) > 0 { + for iNdEx := len(m.EventAttackDefenderCounterDetail) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.EventAttackDefenderCounterDetail[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintEvents(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x9a + } } - if m.BlockedByStructOperatingAmbit != 0 { - n += 2 + sovEvents(uint64(m.BlockedByStructOperatingAmbit)) + if m.BlockerDestroyed { + i-- + if m.BlockerDestroyed { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x90 } if m.BlockedByStructSlot != 0 { - n += 2 + sovEvents(uint64(m.BlockedByStructSlot)) + i = encodeVarintEvents(dAtA, i, uint64(m.BlockedByStructSlot)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x88 } - if m.BlockerDestroyed { - n += 3 + if m.BlockedByStructOperatingAmbit != 0 { + i = encodeVarintEvents(dAtA, i, uint64(m.BlockedByStructOperatingAmbit)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x80 } - if len(m.EventAttackDefenderCounterDetail) > 0 { - for _, e := range m.EventAttackDefenderCounterDetail { - l = e.Size() - n += 2 + l + sovEvents(uint64(l)) + if len(m.BlockedByStructLocationId) > 0 { + i -= len(m.BlockedByStructLocationId) + copy(dAtA[i:], m.BlockedByStructLocationId) + i = encodeVarintEvents(dAtA, i, uint64(len(m.BlockedByStructLocationId))) + i-- + dAtA[i] = 0x7a + } + if m.BlockedByStructLocationType != 0 { + i = encodeVarintEvents(dAtA, i, uint64(m.BlockedByStructLocationType)) + i-- + dAtA[i] = 0x70 + } + if m.BlockedByStructType != 0 { + i = encodeVarintEvents(dAtA, i, uint64(m.BlockedByStructType)) + i-- + dAtA[i] = 0x68 + } + if len(m.BlockedByStructId) > 0 { + i -= len(m.BlockedByStructId) + copy(dAtA[i:], m.BlockedByStructId) + i = encodeVarintEvents(dAtA, i, uint64(len(m.BlockedByStructId))) + i-- + dAtA[i] = 0x62 + } + if m.Blocked { + i-- + if m.Blocked { + dAtA[i] = 1 + } else { + dAtA[i] = 0 } + i-- + dAtA[i] = 0x58 } - if m.DamageDealt != 0 { - n += 2 + sovEvents(uint64(m.DamageDealt)) + if m.EvadedByPlanetaryDefensesCause != 0 { + i = encodeVarintEvents(dAtA, i, uint64(m.EvadedByPlanetaryDefensesCause)) + i-- + dAtA[i] = 0x50 } - if m.DamageReduction != 0 { - n += 2 + sovEvents(uint64(m.DamageReduction)) + if m.EvadedByPlanetaryDefenses { + i-- + if m.EvadedByPlanetaryDefenses { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x48 } - if m.DamageReductionCause != 0 { - n += 2 + sovEvents(uint64(m.DamageReductionCause)) + if m.EvadedCause != 0 { + i = encodeVarintEvents(dAtA, i, uint64(m.EvadedCause)) + i-- + dAtA[i] = 0x40 } - if m.Damage != 0 { - n += 2 + sovEvents(uint64(m.Damage)) + if m.Evaded { + i-- + if m.Evaded { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x38 } - if m.TargetCountered { - n += 3 + if m.TargetStructSlot != 0 { + i = encodeVarintEvents(dAtA, i, uint64(m.TargetStructSlot)) + i-- + dAtA[i] = 0x30 } - if m.TargetCounteredDamage != 0 { - n += 2 + sovEvents(uint64(m.TargetCounteredDamage)) + if m.TargetStructOperatingAmbit != 0 { + i = encodeVarintEvents(dAtA, i, uint64(m.TargetStructOperatingAmbit)) + i-- + dAtA[i] = 0x28 } - if m.TargetCounterDestroyedAttacker { - n += 3 + if len(m.TargetStructLocationId) > 0 { + i -= len(m.TargetStructLocationId) + copy(dAtA[i:], m.TargetStructLocationId) + i = encodeVarintEvents(dAtA, i, uint64(len(m.TargetStructLocationId))) + i-- + dAtA[i] = 0x22 } - if m.TargetCounterCause != 0 { - n += 2 + sovEvents(uint64(m.TargetCounterCause)) + if m.TargetStructLocationType != 0 { + i = encodeVarintEvents(dAtA, i, uint64(m.TargetStructLocationType)) + i-- + dAtA[i] = 0x18 } - if m.TargetDestroyed { - n += 3 + if m.TargetStructType != 0 { + i = encodeVarintEvents(dAtA, i, uint64(m.TargetStructType)) + i-- + dAtA[i] = 0x10 } - if m.PostDestructionDamageToAttacker { - n += 3 + if len(m.TargetStructId) > 0 { + i -= len(m.TargetStructId) + copy(dAtA[i:], m.TargetStructId) + i = encodeVarintEvents(dAtA, i, uint64(len(m.TargetStructId))) + i-- + dAtA[i] = 0xa } - if m.PostDestructionDamage != 0 { - n += 2 + sovEvents(uint64(m.PostDestructionDamage)) + return len(dAtA) - i, nil +} + +func (m *EventAttackDefenderCounterDetail) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - if m.PostDestructionDamageDestroyedAttacker { - n += 3 + return dAtA[:n], nil +} + +func (m *EventAttackDefenderCounterDetail) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *EventAttackDefenderCounterDetail) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.CounterDestroyedAttacker { + i-- + if m.CounterDestroyedAttacker { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x40 } - if m.PostDestructionDamageCause != 0 { - n += 2 + sovEvents(uint64(m.PostDestructionDamageCause)) + if m.CounterDamage != 0 { + i = encodeVarintEvents(dAtA, i, uint64(m.CounterDamage)) + i-- + dAtA[i] = 0x38 + } + if m.CounterByStructSlot != 0 { + i = encodeVarintEvents(dAtA, i, uint64(m.CounterByStructSlot)) + i-- + dAtA[i] = 0x30 + } + if m.CounterByStructOperatingAmbit != 0 { + i = encodeVarintEvents(dAtA, i, uint64(m.CounterByStructOperatingAmbit)) + i-- + dAtA[i] = 0x28 + } + if len(m.CounterByStructLocationId) > 0 { + i -= len(m.CounterByStructLocationId) + copy(dAtA[i:], m.CounterByStructLocationId) + i = encodeVarintEvents(dAtA, i, uint64(len(m.CounterByStructLocationId))) + i-- + dAtA[i] = 0x22 + } + if m.CounterByStructLocationType != 0 { + i = encodeVarintEvents(dAtA, i, uint64(m.CounterByStructLocationType)) + i-- + dAtA[i] = 0x18 + } + if m.CounterByStructType != 0 { + i = encodeVarintEvents(dAtA, i, uint64(m.CounterByStructType)) + i-- + dAtA[i] = 0x10 + } + if len(m.CounterByStructId) > 0 { + i -= len(m.CounterByStructId) + copy(dAtA[i:], m.CounterByStructId) + i = encodeVarintEvents(dAtA, i, uint64(len(m.CounterByStructId))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *EventRaid) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *EventRaid) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *EventRaid) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.EventRaidDetail != nil { + { + size, err := m.EventRaidDetail.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintEvents(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *EventRaidDetail) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *EventRaidDetail) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *EventRaidDetail) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Status != 0 { + i = encodeVarintEvents(dAtA, i, uint64(m.Status)) + i-- + dAtA[i] = 0x18 + } + if len(m.PlanetId) > 0 { + i -= len(m.PlanetId) + copy(dAtA[i:], m.PlanetId) + i = encodeVarintEvents(dAtA, i, uint64(len(m.PlanetId))) + i-- + dAtA[i] = 0x12 + } + if len(m.FleetId) > 0 { + i -= len(m.FleetId) + copy(dAtA[i:], m.FleetId) + i = encodeVarintEvents(dAtA, i, uint64(len(m.FleetId))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func encodeVarintEvents(dAtA []byte, offset int, v uint64) int { + offset -= sovEvents(v) + base := offset + for v >= 1<<7 { + dAtA[offset] = uint8(v&0x7f | 0x80) + v >>= 7 + offset++ + } + dAtA[offset] = uint8(v) + return base +} +func (m *EventAllocation) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Allocation != nil { + l = m.Allocation.Size() + n += 1 + l + sovEvents(uint64(l)) + } + return n +} + +func (m *EventAgreement) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Agreement != nil { + l = m.Agreement.Size() + n += 1 + l + sovEvents(uint64(l)) + } + return n +} + +func (m *EventFleet) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Fleet != nil { + l = m.Fleet.Size() + n += 1 + l + sovEvents(uint64(l)) + } + return n +} + +func (m *EventGuild) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Guild != nil { + l = m.Guild.Size() + n += 1 + l + sovEvents(uint64(l)) + } + return n +} + +func (m *EventInfusion) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Infusion != nil { + l = m.Infusion.Size() + n += 1 + l + sovEvents(uint64(l)) + } + return n +} + +func (m *EventPlanet) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Planet != nil { + l = m.Planet.Size() + n += 1 + l + sovEvents(uint64(l)) + } + return n +} + +func (m *EventPlanetAttribute) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.PlanetAttributeRecord != nil { + l = m.PlanetAttributeRecord.Size() + n += 1 + l + sovEvents(uint64(l)) + } + return n +} + +func (m *EventPlayer) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Player != nil { + l = m.Player.Size() + n += 1 + l + sovEvents(uint64(l)) + } + return n +} + +func (m *EventProvider) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Provider != nil { + l = m.Provider.Size() + n += 1 + l + sovEvents(uint64(l)) + } + return n +} + +func (m *EventReactor) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Reactor != nil { + l = m.Reactor.Size() + n += 1 + l + sovEvents(uint64(l)) + } + return n +} + +func (m *EventStruct) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Structure != nil { + l = m.Structure.Size() + n += 1 + l + sovEvents(uint64(l)) + } + return n +} + +func (m *EventStructAttribute) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.StructAttributeRecord != nil { + l = m.StructAttributeRecord.Size() + n += 1 + l + sovEvents(uint64(l)) + } + return n +} + +func (m *EventStructDefender) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.StructDefender != nil { + l = m.StructDefender.Size() + n += 1 + l + sovEvents(uint64(l)) + } + return n +} + +func (m *EventStructType) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.StructType != nil { + l = m.StructType.Size() + n += 1 + l + sovEvents(uint64(l)) + } + return n +} + +func (m *EventSubstation) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Substation != nil { + l = m.Substation.Size() + n += 1 + l + sovEvents(uint64(l)) + } + return n +} + +func (m *EventTime) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.EventTimeDetail != nil { + l = m.EventTimeDetail.Size() + n += 1 + l + sovEvents(uint64(l)) + } + return n +} + +func (m *EventTimeDetail) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.BlockHeight != 0 { + n += 1 + sovEvents(uint64(m.BlockHeight)) + } + l = github_com_cosmos_gogoproto_types.SizeOfStdTime(m.BlockTime) + n += 1 + l + sovEvents(uint64(l)) + return n +} + +func (m *EventPermission) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.PermissionRecord != nil { + l = m.PermissionRecord.Size() + n += 1 + l + sovEvents(uint64(l)) + } + return n +} + +func (m *EventGrid) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.GridRecord != nil { + l = m.GridRecord.Size() + n += 1 + l + sovEvents(uint64(l)) + } + return n +} + +func (m *EventProviderGrantGuild) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.EventProviderGrantGuildDetail != nil { + l = m.EventProviderGrantGuildDetail.Size() + n += 1 + l + sovEvents(uint64(l)) + } + return n +} + +func (m *EventProviderGrantGuildDetail) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ProviderId) + if l > 0 { + n += 1 + l + sovEvents(uint64(l)) + } + l = len(m.GuildId) + if l > 0 { + n += 1 + l + sovEvents(uint64(l)) + } + return n +} + +func (m *EventProviderRevokeGuild) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.EventProviderRevokeGuildDetail != nil { + l = m.EventProviderRevokeGuildDetail.Size() + n += 1 + l + sovEvents(uint64(l)) + } + return n +} + +func (m *EventProviderRevokeGuildDetail) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ProviderId) + if l > 0 { + n += 1 + l + sovEvents(uint64(l)) + } + l = len(m.GuildId) + if l > 0 { + n += 1 + l + sovEvents(uint64(l)) + } + return n +} + +func (m *EventPlayerHalted) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.PlayerId) + if l > 0 { + n += 1 + l + sovEvents(uint64(l)) + } + return n +} + +func (m *EventPlayerResumed) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.PlayerId) + if l > 0 { + n += 1 + l + sovEvents(uint64(l)) + } + return n +} + +func (m *EventDelete) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ObjectId) + if l > 0 { + n += 1 + l + sovEvents(uint64(l)) + } + return n +} + +func (m *EventAddressAssociation) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.AddressAssociation != nil { + l = m.AddressAssociation.Size() + n += 1 + l + sovEvents(uint64(l)) + } + return n +} + +func (m *EventAddressActivity) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.AddressActivity != nil { + l = m.AddressActivity.Size() + n += 1 + l + sovEvents(uint64(l)) + } + return n +} + +func (m *EventGuildBankMint) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.EventGuildBankMintDetail != nil { + l = m.EventGuildBankMintDetail.Size() + n += 1 + l + sovEvents(uint64(l)) + } + return n +} + +func (m *EventGuildBankMintDetail) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.GuildId) + if l > 0 { + n += 1 + l + sovEvents(uint64(l)) + } + if m.AmountAlpha != 0 { + n += 1 + sovEvents(uint64(m.AmountAlpha)) + } + if m.AmountToken != 0 { + n += 1 + sovEvents(uint64(m.AmountToken)) + } + l = len(m.PlayerId) + if l > 0 { + n += 1 + l + sovEvents(uint64(l)) + } + return n +} + +func (m *EventGuildBankRedeem) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.EventGuildBankRedeemDetail != nil { + l = m.EventGuildBankRedeemDetail.Size() + n += 1 + l + sovEvents(uint64(l)) + } + return n +} + +func (m *EventGuildBankRedeemDetail) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.GuildId) + if l > 0 { + n += 1 + l + sovEvents(uint64(l)) + } + if m.AmountAlpha != 0 { + n += 1 + sovEvents(uint64(m.AmountAlpha)) + } + if m.AmountToken != 0 { + n += 1 + sovEvents(uint64(m.AmountToken)) + } + l = len(m.PlayerId) + if l > 0 { + n += 1 + l + sovEvents(uint64(l)) + } + return n +} + +func (m *EventGuildBankConfiscateAndBurn) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.EventGuildBankConfiscateAndBurnDetail != nil { + l = m.EventGuildBankConfiscateAndBurnDetail.Size() + n += 1 + l + sovEvents(uint64(l)) + } + return n +} + +func (m *EventGuildBankConfiscateAndBurnDetail) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.GuildId) + if l > 0 { + n += 1 + l + sovEvents(uint64(l)) + } + if m.AmountAlpha != 0 { + n += 1 + sovEvents(uint64(m.AmountAlpha)) + } + if m.AmountToken != 0 { + n += 1 + sovEvents(uint64(m.AmountToken)) + } + l = len(m.Address) + if l > 0 { + n += 1 + l + sovEvents(uint64(l)) + } + return n +} + +func (m *EventGuildMembershipApplication) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.GuildMembershipApplication != nil { + l = m.GuildMembershipApplication.Size() + n += 1 + l + sovEvents(uint64(l)) + } + return n +} + +func (m *EventOreMine) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.EventOreMineDetail != nil { + l = m.EventOreMineDetail.Size() + n += 1 + l + sovEvents(uint64(l)) + } + return n +} + +func (m *EventOreMineDetail) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.PlayerId) + if l > 0 { + n += 1 + l + sovEvents(uint64(l)) + } + l = len(m.PrimaryAddress) + if l > 0 { + n += 1 + l + sovEvents(uint64(l)) + } + if m.Amount != 0 { + n += 1 + sovEvents(uint64(m.Amount)) + } + return n +} + +func (m *EventAlphaRefine) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.EventAlphaRefineDetail != nil { + l = m.EventAlphaRefineDetail.Size() + n += 1 + l + sovEvents(uint64(l)) + } + return n +} + +func (m *EventAlphaRefineDetail) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.PlayerId) + if l > 0 { + n += 1 + l + sovEvents(uint64(l)) + } + l = len(m.PrimaryAddress) + if l > 0 { + n += 1 + l + sovEvents(uint64(l)) + } + if m.Amount != 0 { + n += 1 + sovEvents(uint64(m.Amount)) + } + return n +} + +func (m *EventAlphaInfuse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.EventAlphaInfuseDetail != nil { + l = m.EventAlphaInfuseDetail.Size() + n += 1 + l + sovEvents(uint64(l)) + } + return n +} + +func (m *EventAlphaInfuseDetail) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.PlayerId) + if l > 0 { + n += 1 + l + sovEvents(uint64(l)) + } + l = len(m.PrimaryAddress) + if l > 0 { + n += 1 + l + sovEvents(uint64(l)) + } + if m.Amount != 0 { + n += 1 + sovEvents(uint64(m.Amount)) + } + return n +} + +func (m *EventAlphaDefuse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.EventAlphaDefuseDetail != nil { + l = m.EventAlphaDefuseDetail.Size() + n += 1 + l + sovEvents(uint64(l)) + } + return n +} + +func (m *EventAlphaDefuseDetail) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.PrimaryAddress) + if l > 0 { + n += 1 + l + sovEvents(uint64(l)) + } + if m.Amount != 0 { + n += 1 + sovEvents(uint64(m.Amount)) + } + return n +} + +func (m *EventOreTheft) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.EventOreTheftDetail != nil { + l = m.EventOreTheftDetail.Size() + n += 1 + l + sovEvents(uint64(l)) + } + return n +} + +func (m *EventOreTheftDetail) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.VictimPrimaryAddress) + if l > 0 { + n += 1 + l + sovEvents(uint64(l)) + } + l = len(m.VictimPlayerId) + if l > 0 { + n += 1 + l + sovEvents(uint64(l)) + } + l = len(m.ThiefPrimaryAddress) + if l > 0 { + n += 1 + l + sovEvents(uint64(l)) + } + l = len(m.ThiefPlayerId) + if l > 0 { + n += 1 + l + sovEvents(uint64(l)) + } + if m.Amount != 0 { + n += 1 + sovEvents(uint64(m.Amount)) + } + return n +} + +func (m *EventOreMigrate) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.EventOreMigrateDetail != nil { + l = m.EventOreMigrateDetail.Size() + n += 1 + l + sovEvents(uint64(l)) + } + return n +} + +func (m *EventOreMigrateDetail) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.PlayerId) + if l > 0 { + n += 1 + l + sovEvents(uint64(l)) + } + l = len(m.PrimaryAddress) + if l > 0 { + n += 1 + l + sovEvents(uint64(l)) + } + l = len(m.OldPrimaryAddress) + if l > 0 { + n += 1 + l + sovEvents(uint64(l)) + } + if m.Amount != 0 { + n += 1 + sovEvents(uint64(m.Amount)) + } + return n +} + +func (m *EventAttack) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.EventAttackDetail != nil { + l = m.EventAttackDetail.Size() + n += 1 + l + sovEvents(uint64(l)) + } + return n +} + +func (m *EventAttackDetail) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.AttackerStructId) + if l > 0 { + n += 1 + l + sovEvents(uint64(l)) + } + if m.AttackerStructType != 0 { + n += 1 + sovEvents(uint64(m.AttackerStructType)) + } + if m.AttackerStructLocationType != 0 { + n += 1 + sovEvents(uint64(m.AttackerStructLocationType)) + } + l = len(m.AttackerStructLocationId) + if l > 0 { + n += 1 + l + sovEvents(uint64(l)) + } + if m.AttackerStructOperatingAmbit != 0 { + n += 1 + sovEvents(uint64(m.AttackerStructOperatingAmbit)) + } + if m.AttackerStructSlot != 0 { + n += 1 + sovEvents(uint64(m.AttackerStructSlot)) + } + if m.WeaponSystem != 0 { + n += 1 + sovEvents(uint64(m.WeaponSystem)) + } + if m.WeaponControl != 0 { + n += 1 + sovEvents(uint64(m.WeaponControl)) + } + if m.ActiveWeaponry != 0 { + n += 1 + sovEvents(uint64(m.ActiveWeaponry)) + } + if len(m.EventAttackShotDetail) > 0 { + for _, e := range m.EventAttackShotDetail { + l = e.Size() + n += 1 + l + sovEvents(uint64(l)) + } + } + if m.RecoilDamageToAttacker { + n += 2 + } + if m.RecoilDamage != 0 { + n += 1 + sovEvents(uint64(m.RecoilDamage)) + } + if m.RecoilDamageDestroyedAttacker { + n += 2 + } + if m.PlanetaryDefenseCannonDamageToAttacker { + n += 2 + } + if m.PlanetaryDefenseCannonDamage != 0 { + n += 1 + sovEvents(uint64(m.PlanetaryDefenseCannonDamage)) + } + if m.PlanetaryDefenseCannonDamageDestroyedAttacker { + n += 3 + } + l = len(m.AttackerPlayerId) + if l > 0 { + n += 2 + l + sovEvents(uint64(l)) + } + l = len(m.TargetPlayerId) + if l > 0 { + n += 2 + l + sovEvents(uint64(l)) + } + return n +} + +func (m *EventAttackShotDetail) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.TargetStructId) + if l > 0 { + n += 1 + l + sovEvents(uint64(l)) + } + if m.TargetStructType != 0 { + n += 1 + sovEvents(uint64(m.TargetStructType)) + } + if m.TargetStructLocationType != 0 { + n += 1 + sovEvents(uint64(m.TargetStructLocationType)) + } + l = len(m.TargetStructLocationId) + if l > 0 { + n += 1 + l + sovEvents(uint64(l)) + } + if m.TargetStructOperatingAmbit != 0 { + n += 1 + sovEvents(uint64(m.TargetStructOperatingAmbit)) + } + if m.TargetStructSlot != 0 { + n += 1 + sovEvents(uint64(m.TargetStructSlot)) + } + if m.Evaded { + n += 2 + } + if m.EvadedCause != 0 { + n += 1 + sovEvents(uint64(m.EvadedCause)) + } + if m.EvadedByPlanetaryDefenses { + n += 2 + } + if m.EvadedByPlanetaryDefensesCause != 0 { + n += 1 + sovEvents(uint64(m.EvadedByPlanetaryDefensesCause)) + } + if m.Blocked { + n += 2 + } + l = len(m.BlockedByStructId) + if l > 0 { + n += 1 + l + sovEvents(uint64(l)) + } + if m.BlockedByStructType != 0 { + n += 1 + sovEvents(uint64(m.BlockedByStructType)) + } + if m.BlockedByStructLocationType != 0 { + n += 1 + sovEvents(uint64(m.BlockedByStructLocationType)) + } + l = len(m.BlockedByStructLocationId) + if l > 0 { + n += 1 + l + sovEvents(uint64(l)) + } + if m.BlockedByStructOperatingAmbit != 0 { + n += 2 + sovEvents(uint64(m.BlockedByStructOperatingAmbit)) + } + if m.BlockedByStructSlot != 0 { + n += 2 + sovEvents(uint64(m.BlockedByStructSlot)) + } + if m.BlockerDestroyed { + n += 3 + } + if len(m.EventAttackDefenderCounterDetail) > 0 { + for _, e := range m.EventAttackDefenderCounterDetail { + l = e.Size() + n += 2 + l + sovEvents(uint64(l)) + } + } + if m.DamageDealt != 0 { + n += 2 + sovEvents(uint64(m.DamageDealt)) + } + if m.DamageReduction != 0 { + n += 2 + sovEvents(uint64(m.DamageReduction)) + } + if m.DamageReductionCause != 0 { + n += 2 + sovEvents(uint64(m.DamageReductionCause)) + } + if m.Damage != 0 { + n += 2 + sovEvents(uint64(m.Damage)) + } + if m.TargetCountered { + n += 3 + } + if m.TargetCounteredDamage != 0 { + n += 2 + sovEvents(uint64(m.TargetCounteredDamage)) + } + if m.TargetCounterDestroyedAttacker { + n += 3 + } + if m.TargetCounterCause != 0 { + n += 2 + sovEvents(uint64(m.TargetCounterCause)) + } + if m.TargetDestroyed { + n += 3 + } + if m.PostDestructionDamageToAttacker { + n += 3 + } + if m.PostDestructionDamage != 0 { + n += 2 + sovEvents(uint64(m.PostDestructionDamage)) + } + if m.PostDestructionDamageDestroyedAttacker { + n += 3 + } + if m.PostDestructionDamageCause != 0 { + n += 2 + sovEvents(uint64(m.PostDestructionDamageCause)) + } + return n +} + +func (m *EventAttackDefenderCounterDetail) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.CounterByStructId) + if l > 0 { + n += 1 + l + sovEvents(uint64(l)) + } + if m.CounterByStructType != 0 { + n += 1 + sovEvents(uint64(m.CounterByStructType)) + } + if m.CounterByStructLocationType != 0 { + n += 1 + sovEvents(uint64(m.CounterByStructLocationType)) + } + l = len(m.CounterByStructLocationId) + if l > 0 { + n += 1 + l + sovEvents(uint64(l)) + } + if m.CounterByStructOperatingAmbit != 0 { + n += 1 + sovEvents(uint64(m.CounterByStructOperatingAmbit)) + } + if m.CounterByStructSlot != 0 { + n += 1 + sovEvents(uint64(m.CounterByStructSlot)) + } + if m.CounterDamage != 0 { + n += 1 + sovEvents(uint64(m.CounterDamage)) + } + if m.CounterDestroyedAttacker { + n += 2 + } + return n +} + +func (m *EventRaid) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.EventRaidDetail != nil { + l = m.EventRaidDetail.Size() + n += 1 + l + sovEvents(uint64(l)) + } + return n +} + +func (m *EventRaidDetail) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.FleetId) + if l > 0 { + n += 1 + l + sovEvents(uint64(l)) + } + l = len(m.PlanetId) + if l > 0 { + n += 1 + l + sovEvents(uint64(l)) + } + if m.Status != 0 { + n += 1 + sovEvents(uint64(m.Status)) + } + return n +} + +func sovEvents(x uint64) (n int) { + return (math_bits.Len64(x|1) + 6) / 7 +} +func sozEvents(x uint64) (n int) { + return sovEvents(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +} +func (m *EventAllocation) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return 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 fmt.Errorf("proto: EventAllocation: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: EventAllocation: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Allocation", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthEvents + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthEvents + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Allocation == nil { + m.Allocation = &Allocation{} + } + if err := m.Allocation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipEvents(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthEvents + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *EventAgreement) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return 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 fmt.Errorf("proto: EventAgreement: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: EventAgreement: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Agreement", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthEvents + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthEvents + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Agreement == nil { + m.Agreement = &Agreement{} + } + if err := m.Agreement.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipEvents(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthEvents + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *EventFleet) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return 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 fmt.Errorf("proto: EventFleet: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: EventFleet: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Fleet", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthEvents + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthEvents + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Fleet == nil { + m.Fleet = &Fleet{} + } + if err := m.Fleet.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipEvents(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthEvents + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *EventGuild) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return 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 fmt.Errorf("proto: EventGuild: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: EventGuild: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Guild", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthEvents + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthEvents + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Guild == nil { + m.Guild = &Guild{} + } + if err := m.Guild.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipEvents(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthEvents + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *EventInfusion) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return 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 fmt.Errorf("proto: EventInfusion: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: EventInfusion: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Infusion", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthEvents + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthEvents + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Infusion == nil { + m.Infusion = &Infusion{} + } + if err := m.Infusion.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipEvents(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthEvents + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *EventPlanet) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return 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 fmt.Errorf("proto: EventPlanet: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: EventPlanet: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Planet", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthEvents + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthEvents + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Planet == nil { + m.Planet = &Planet{} + } + if err := m.Planet.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipEvents(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthEvents + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *EventPlanetAttribute) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return 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 fmt.Errorf("proto: EventPlanetAttribute: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: EventPlanetAttribute: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field PlanetAttributeRecord", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthEvents + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthEvents + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.PlanetAttributeRecord == nil { + m.PlanetAttributeRecord = &PlanetAttributeRecord{} + } + if err := m.PlanetAttributeRecord.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipEvents(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthEvents + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *EventPlayer) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return 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 fmt.Errorf("proto: EventPlayer: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: EventPlayer: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Player", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthEvents + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthEvents + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Player == nil { + m.Player = &Player{} + } + if err := m.Player.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipEvents(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthEvents + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *EventProvider) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return 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 fmt.Errorf("proto: EventProvider: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: EventProvider: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Provider", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthEvents + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthEvents + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Provider == nil { + m.Provider = &Provider{} + } + if err := m.Provider.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipEvents(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthEvents + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *EventReactor) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return 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 fmt.Errorf("proto: EventReactor: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: EventReactor: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Reactor", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthEvents + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthEvents + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Reactor == nil { + m.Reactor = &Reactor{} + } + if err := m.Reactor.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipEvents(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthEvents + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *EventStruct) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return 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 fmt.Errorf("proto: EventStruct: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: EventStruct: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Structure", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthEvents + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthEvents + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Structure == nil { + m.Structure = &Struct{} + } + if err := m.Structure.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipEvents(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthEvents + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *EventStructAttribute) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return 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 fmt.Errorf("proto: EventStructAttribute: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: EventStructAttribute: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field StructAttributeRecord", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthEvents + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthEvents + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.StructAttributeRecord == nil { + m.StructAttributeRecord = &StructAttributeRecord{} + } + if err := m.StructAttributeRecord.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipEvents(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthEvents + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *EventStructDefender) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return 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 fmt.Errorf("proto: EventStructDefender: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: EventStructDefender: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field StructDefender", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthEvents + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthEvents + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.StructDefender == nil { + m.StructDefender = &StructDefender{} + } + if err := m.StructDefender.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipEvents(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthEvents + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } } - return n -} -func (m *EventAttackDefenderCounterDetail) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.CounterByStructId) - if l > 0 { - n += 1 + l + sovEvents(uint64(l)) - } - if m.CounterByStructType != 0 { - n += 1 + sovEvents(uint64(m.CounterByStructType)) - } - if m.CounterByStructLocationType != 0 { - n += 1 + sovEvents(uint64(m.CounterByStructLocationType)) - } - l = len(m.CounterByStructLocationId) - if l > 0 { - n += 1 + l + sovEvents(uint64(l)) - } - if m.CounterByStructOperatingAmbit != 0 { - n += 1 + sovEvents(uint64(m.CounterByStructOperatingAmbit)) - } - if m.CounterByStructSlot != 0 { - n += 1 + sovEvents(uint64(m.CounterByStructSlot)) - } - if m.CounterDamage != 0 { - n += 1 + sovEvents(uint64(m.CounterDamage)) - } - if m.CounterDestroyedAttacker { - n += 2 + if iNdEx > l { + return io.ErrUnexpectedEOF } - return n + return nil } - -func (m *EventRaid) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.EventRaidDetail != nil { - l = m.EventRaidDetail.Size() - n += 1 + l + sovEvents(uint64(l)) +func (m *EventStructType) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return 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 fmt.Errorf("proto: EventStructType: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: EventStructType: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field StructType", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthEvents + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthEvents + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.StructType == nil { + m.StructType = &StructType{} + } + if err := m.StructType.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipEvents(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthEvents + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } } - return n -} -func (m *EventRaidDetail) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.FleetId) - if l > 0 { - n += 1 + l + sovEvents(uint64(l)) - } - l = len(m.PlanetId) - if l > 0 { - n += 1 + l + sovEvents(uint64(l)) - } - if m.Status != 0 { - n += 1 + sovEvents(uint64(m.Status)) + if iNdEx > l { + return io.ErrUnexpectedEOF } - return n -} - -func sovEvents(x uint64) (n int) { - return (math_bits.Len64(x|1) + 6) / 7 -} -func sozEvents(x uint64) (n int) { - return sovEvents(uint64((x << 1) ^ uint64((int64(x) >> 63)))) + return nil } -func (m *EventAllocation) Unmarshal(dAtA []byte) error { +func (m *EventSubstation) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -5106,15 +7788,15 @@ func (m *EventAllocation) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: EventAllocation: wiretype end group for non-group") + return fmt.Errorf("proto: EventSubstation: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: EventAllocation: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: EventSubstation: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Allocation", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Substation", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -5141,10 +7823,10 @@ func (m *EventAllocation) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Allocation == nil { - m.Allocation = &Allocation{} + if m.Substation == nil { + m.Substation = &Substation{} } - if err := m.Allocation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Substation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -5169,7 +7851,7 @@ func (m *EventAllocation) Unmarshal(dAtA []byte) error { } return nil } -func (m *EventFleet) Unmarshal(dAtA []byte) error { +func (m *EventTime) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -5192,15 +7874,15 @@ func (m *EventFleet) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: EventFleet: wiretype end group for non-group") + return fmt.Errorf("proto: EventTime: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: EventFleet: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: EventTime: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Fleet", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field EventTimeDetail", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -5227,10 +7909,10 @@ func (m *EventFleet) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Fleet == nil { - m.Fleet = &Fleet{} + if m.EventTimeDetail == nil { + m.EventTimeDetail = &EventTimeDetail{} } - if err := m.Fleet.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.EventTimeDetail.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -5255,7 +7937,7 @@ func (m *EventFleet) Unmarshal(dAtA []byte) error { } return nil } -func (m *EventGuild) Unmarshal(dAtA []byte) error { +func (m *EventTimeDetail) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -5278,15 +7960,34 @@ func (m *EventGuild) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: EventGuild: wiretype end group for non-group") + return fmt.Errorf("proto: EventTimeDetail: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: EventGuild: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: EventTimeDetail: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field BlockHeight", wireType) + } + m.BlockHeight = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.BlockHeight |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Guild", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field BlockTime", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -5313,10 +8014,7 @@ func (m *EventGuild) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Guild == nil { - m.Guild = &Guild{} - } - if err := m.Guild.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := github_com_cosmos_gogoproto_types.StdTimeUnmarshal(&m.BlockTime, dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -5341,7 +8039,7 @@ func (m *EventGuild) Unmarshal(dAtA []byte) error { } return nil } -func (m *EventInfusion) Unmarshal(dAtA []byte) error { +func (m *EventPermission) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -5364,15 +8062,15 @@ func (m *EventInfusion) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: EventInfusion: wiretype end group for non-group") + return fmt.Errorf("proto: EventPermission: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: EventInfusion: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: EventPermission: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Infusion", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field PermissionRecord", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -5399,10 +8097,10 @@ func (m *EventInfusion) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Infusion == nil { - m.Infusion = &Infusion{} + if m.PermissionRecord == nil { + m.PermissionRecord = &PermissionRecord{} } - if err := m.Infusion.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.PermissionRecord.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -5427,7 +8125,7 @@ func (m *EventInfusion) Unmarshal(dAtA []byte) error { } return nil } -func (m *EventPlanet) Unmarshal(dAtA []byte) error { +func (m *EventGrid) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -5450,15 +8148,15 @@ func (m *EventPlanet) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: EventPlanet: wiretype end group for non-group") + return fmt.Errorf("proto: EventGrid: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: EventPlanet: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: EventGrid: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Planet", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field GridRecord", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -5485,10 +8183,10 @@ func (m *EventPlanet) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Planet == nil { - m.Planet = &Planet{} + if m.GridRecord == nil { + m.GridRecord = &GridRecord{} } - if err := m.Planet.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.GridRecord.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -5513,7 +8211,7 @@ func (m *EventPlanet) Unmarshal(dAtA []byte) error { } return nil } -func (m *EventPlanetAttribute) Unmarshal(dAtA []byte) error { +func (m *EventProviderGrantGuild) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -5536,15 +8234,15 @@ func (m *EventPlanetAttribute) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: EventPlanetAttribute: wiretype end group for non-group") + return fmt.Errorf("proto: EventProviderGrantGuild: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: EventPlanetAttribute: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: EventProviderGrantGuild: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PlanetAttributeRecord", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field EventProviderGrantGuildDetail", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -5571,10 +8269,10 @@ func (m *EventPlanetAttribute) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.PlanetAttributeRecord == nil { - m.PlanetAttributeRecord = &PlanetAttributeRecord{} + if m.EventProviderGrantGuildDetail == nil { + m.EventProviderGrantGuildDetail = &EventProviderGrantGuildDetail{} } - if err := m.PlanetAttributeRecord.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.EventProviderGrantGuildDetail.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -5599,7 +8297,7 @@ func (m *EventPlanetAttribute) Unmarshal(dAtA []byte) error { } return nil } -func (m *EventPlayer) Unmarshal(dAtA []byte) error { +func (m *EventProviderGrantGuildDetail) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -5622,17 +8320,17 @@ func (m *EventPlayer) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: EventPlayer: wiretype end group for non-group") + return fmt.Errorf("proto: EventProviderGrantGuildDetail: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: EventPlayer: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: EventProviderGrantGuildDetail: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Player", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ProviderId", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowEvents @@ -5642,27 +8340,55 @@ func (m *EventPlayer) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthEvents } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthEvents } if postIndex > l { return io.ErrUnexpectedEOF } - if m.Player == nil { - m.Player = &Player{} + m.ProviderId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field GuildId", wireType) } - if err := m.Player.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthEvents + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthEvents + } + if postIndex > l { + return io.ErrUnexpectedEOF } + m.GuildId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -5685,7 +8411,7 @@ func (m *EventPlayer) Unmarshal(dAtA []byte) error { } return nil } -func (m *EventReactor) Unmarshal(dAtA []byte) error { +func (m *EventProviderRevokeGuild) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -5708,15 +8434,15 @@ func (m *EventReactor) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: EventReactor: wiretype end group for non-group") + return fmt.Errorf("proto: EventProviderRevokeGuild: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: EventReactor: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: EventProviderRevokeGuild: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Reactor", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field EventProviderRevokeGuildDetail", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -5743,10 +8469,10 @@ func (m *EventReactor) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Reactor == nil { - m.Reactor = &Reactor{} + if m.EventProviderRevokeGuildDetail == nil { + m.EventProviderRevokeGuildDetail = &EventProviderRevokeGuildDetail{} } - if err := m.Reactor.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.EventProviderRevokeGuildDetail.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -5771,7 +8497,7 @@ func (m *EventReactor) Unmarshal(dAtA []byte) error { } return nil } -func (m *EventStruct) Unmarshal(dAtA []byte) error { +func (m *EventProviderRevokeGuildDetail) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -5794,17 +8520,17 @@ func (m *EventStruct) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: EventStruct: wiretype end group for non-group") + return fmt.Errorf("proto: EventProviderRevokeGuildDetail: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: EventStruct: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: EventProviderRevokeGuildDetail: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Structure", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ProviderId", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowEvents @@ -5814,27 +8540,55 @@ func (m *EventStruct) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthEvents } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthEvents } if postIndex > l { return io.ErrUnexpectedEOF } - if m.Structure == nil { - m.Structure = &Struct{} + m.ProviderId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field GuildId", wireType) } - if err := m.Structure.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthEvents + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthEvents + } + if postIndex > l { + return io.ErrUnexpectedEOF } + m.GuildId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -5857,7 +8611,7 @@ func (m *EventStruct) Unmarshal(dAtA []byte) error { } return nil } -func (m *EventStructAttribute) Unmarshal(dAtA []byte) error { +func (m *EventPlayerHalted) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -5880,17 +8634,17 @@ func (m *EventStructAttribute) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: EventStructAttribute: wiretype end group for non-group") + return fmt.Errorf("proto: EventPlayerHalted: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: EventStructAttribute: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: EventPlayerHalted: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field StructAttributeRecord", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field PlayerId", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowEvents @@ -5900,27 +8654,23 @@ func (m *EventStructAttribute) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthEvents } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthEvents } if postIndex > l { return io.ErrUnexpectedEOF } - if m.StructAttributeRecord == nil { - m.StructAttributeRecord = &StructAttributeRecord{} - } - if err := m.StructAttributeRecord.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } + m.PlayerId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -5943,7 +8693,7 @@ func (m *EventStructAttribute) Unmarshal(dAtA []byte) error { } return nil } -func (m *EventStructDefender) Unmarshal(dAtA []byte) error { +func (m *EventPlayerResumed) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -5966,17 +8716,17 @@ func (m *EventStructDefender) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: EventStructDefender: wiretype end group for non-group") + return fmt.Errorf("proto: EventPlayerResumed: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: EventStructDefender: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: EventPlayerResumed: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field StructDefender", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field PlayerId", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowEvents @@ -5986,27 +8736,23 @@ func (m *EventStructDefender) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthEvents } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthEvents } if postIndex > l { return io.ErrUnexpectedEOF } - if m.StructDefender == nil { - m.StructDefender = &StructDefender{} - } - if err := m.StructDefender.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } + m.PlayerId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -6029,7 +8775,7 @@ func (m *EventStructDefender) Unmarshal(dAtA []byte) error { } return nil } -func (m *EventStructType) Unmarshal(dAtA []byte) error { +func (m *EventDelete) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -6052,17 +8798,17 @@ func (m *EventStructType) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: EventStructType: wiretype end group for non-group") + return fmt.Errorf("proto: EventDelete: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: EventStructType: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: EventDelete: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field StructType", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ObjectId", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowEvents @@ -6072,27 +8818,23 @@ func (m *EventStructType) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthEvents } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthEvents } if postIndex > l { return io.ErrUnexpectedEOF } - if m.StructType == nil { - m.StructType = &StructType{} - } - if err := m.StructType.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } + m.ObjectId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -6115,7 +8857,7 @@ func (m *EventStructType) Unmarshal(dAtA []byte) error { } return nil } -func (m *EventSubstation) Unmarshal(dAtA []byte) error { +func (m *EventAddressAssociation) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -6138,15 +8880,15 @@ func (m *EventSubstation) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: EventSubstation: wiretype end group for non-group") + return fmt.Errorf("proto: EventAddressAssociation: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: EventSubstation: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: EventAddressAssociation: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Substation", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field AddressAssociation", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -6173,10 +8915,10 @@ func (m *EventSubstation) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Substation == nil { - m.Substation = &Substation{} + if m.AddressAssociation == nil { + m.AddressAssociation = &AddressAssociation{} } - if err := m.Substation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.AddressAssociation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -6201,7 +8943,7 @@ func (m *EventSubstation) Unmarshal(dAtA []byte) error { } return nil } -func (m *EventTime) Unmarshal(dAtA []byte) error { +func (m *EventAddressActivity) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -6224,15 +8966,15 @@ func (m *EventTime) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: EventTime: wiretype end group for non-group") + return fmt.Errorf("proto: EventAddressActivity: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: EventTime: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: EventAddressActivity: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field EventTimeDetail", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field AddressActivity", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -6259,10 +9001,10 @@ func (m *EventTime) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.EventTimeDetail == nil { - m.EventTimeDetail = &EventTimeDetail{} + if m.AddressActivity == nil { + m.AddressActivity = &AddressActivity{} } - if err := m.EventTimeDetail.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.AddressActivity.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -6287,7 +9029,7 @@ func (m *EventTime) Unmarshal(dAtA []byte) error { } return nil } -func (m *EventTimeDetail) Unmarshal(dAtA []byte) error { +func (m *EventGuildBankMint) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -6301,43 +9043,24 @@ func (m *EventTimeDetail) Unmarshal(dAtA []byte) error { return 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 fmt.Errorf("proto: EventTimeDetail: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: EventTimeDetail: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field BlockHeight", wireType) - } - m.BlockHeight = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowEvents - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.BlockHeight |= int64(b&0x7F) << shift - if b < 0x80 { - break - } + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break } - case 2: + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: EventGuildBankMint: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: EventGuildBankMint: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field BlockTime", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field EventGuildBankMintDetail", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -6364,7 +9087,10 @@ func (m *EventTimeDetail) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if err := github_com_cosmos_gogoproto_types.StdTimeUnmarshal(&m.BlockTime, dAtA[iNdEx:postIndex]); err != nil { + if m.EventGuildBankMintDetail == nil { + m.EventGuildBankMintDetail = &EventGuildBankMintDetail{} + } + if err := m.EventGuildBankMintDetail.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -6389,7 +9115,7 @@ func (m *EventTimeDetail) Unmarshal(dAtA []byte) error { } return nil } -func (m *EventPermission) Unmarshal(dAtA []byte) error { +func (m *EventGuildBankMintDetail) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -6412,17 +9138,17 @@ func (m *EventPermission) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: EventPermission: wiretype end group for non-group") + return fmt.Errorf("proto: EventGuildBankMintDetail: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: EventPermission: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: EventGuildBankMintDetail: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PermissionRecord", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field GuildId", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowEvents @@ -6432,27 +9158,93 @@ func (m *EventPermission) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthEvents } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthEvents } if postIndex > l { return io.ErrUnexpectedEOF } - if m.PermissionRecord == nil { - m.PermissionRecord = &PermissionRecord{} + m.GuildId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field AmountAlpha", wireType) } - if err := m.PermissionRecord.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err + m.AmountAlpha = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.AmountAlpha |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field AmountToken", wireType) + } + m.AmountToken = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.AmountToken |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field PlayerId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthEvents } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthEvents + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.PlayerId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -6475,7 +9267,7 @@ func (m *EventPermission) Unmarshal(dAtA []byte) error { } return nil } -func (m *EventGrid) Unmarshal(dAtA []byte) error { +func (m *EventGuildBankRedeem) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -6498,15 +9290,15 @@ func (m *EventGrid) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: EventGrid: wiretype end group for non-group") + return fmt.Errorf("proto: EventGuildBankRedeem: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: EventGrid: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: EventGuildBankRedeem: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field GridRecord", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field EventGuildBankRedeemDetail", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -6533,10 +9325,10 @@ func (m *EventGrid) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.GridRecord == nil { - m.GridRecord = &GridRecord{} + if m.EventGuildBankRedeemDetail == nil { + m.EventGuildBankRedeemDetail = &EventGuildBankRedeemDetail{} } - if err := m.GridRecord.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.EventGuildBankRedeemDetail.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -6561,7 +9353,7 @@ func (m *EventGrid) Unmarshal(dAtA []byte) error { } return nil } -func (m *EventDelete) Unmarshal(dAtA []byte) error { +func (m *EventGuildBankRedeemDetail) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -6584,15 +9376,15 @@ func (m *EventDelete) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: EventDelete: wiretype end group for non-group") + return fmt.Errorf("proto: EventGuildBankRedeemDetail: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: EventDelete: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: EventGuildBankRedeemDetail: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ObjectId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field GuildId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -6620,7 +9412,77 @@ func (m *EventDelete) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.ObjectId = string(dAtA[iNdEx:postIndex]) + m.GuildId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field AmountAlpha", wireType) + } + m.AmountAlpha = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.AmountAlpha |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field AmountToken", wireType) + } + m.AmountToken = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.AmountToken |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field PlayerId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthEvents + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthEvents + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.PlayerId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -6643,7 +9505,7 @@ func (m *EventDelete) Unmarshal(dAtA []byte) error { } return nil } -func (m *EventAddressAssociation) Unmarshal(dAtA []byte) error { +func (m *EventGuildBankConfiscateAndBurn) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -6666,15 +9528,15 @@ func (m *EventAddressAssociation) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: EventAddressAssociation: wiretype end group for non-group") + return fmt.Errorf("proto: EventGuildBankConfiscateAndBurn: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: EventAddressAssociation: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: EventGuildBankConfiscateAndBurn: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AddressAssociation", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field EventGuildBankConfiscateAndBurnDetail", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -6701,10 +9563,10 @@ func (m *EventAddressAssociation) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.AddressAssociation == nil { - m.AddressAssociation = &AddressAssociation{} + if m.EventGuildBankConfiscateAndBurnDetail == nil { + m.EventGuildBankConfiscateAndBurnDetail = &EventGuildBankConfiscateAndBurnDetail{} } - if err := m.AddressAssociation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.EventGuildBankConfiscateAndBurnDetail.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -6729,7 +9591,7 @@ func (m *EventAddressAssociation) Unmarshal(dAtA []byte) error { } return nil } -func (m *EventAddressActivity) Unmarshal(dAtA []byte) error { +func (m *EventGuildBankConfiscateAndBurnDetail) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -6752,17 +9614,17 @@ func (m *EventAddressActivity) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: EventAddressActivity: wiretype end group for non-group") + return fmt.Errorf("proto: EventGuildBankConfiscateAndBurnDetail: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: EventAddressActivity: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: EventGuildBankConfiscateAndBurnDetail: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AddressActivity", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field GuildId", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowEvents @@ -6772,27 +9634,93 @@ func (m *EventAddressActivity) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthEvents } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthEvents } if postIndex > l { return io.ErrUnexpectedEOF } - if m.AddressActivity == nil { - m.AddressActivity = &AddressActivity{} + m.GuildId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field AmountAlpha", wireType) } - if err := m.AddressActivity.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err + m.AmountAlpha = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.AmountAlpha |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field AmountToken", wireType) + } + m.AmountToken = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.AmountToken |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvents + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthEvents + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthEvents + } + if postIndex > l { + return io.ErrUnexpectedEOF } + m.Address = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex diff --git a/x/structs/types/expected_keepers.go b/x/structs/types/expected_keepers.go index a1a66c51..9f002d49 100644 --- a/x/structs/types/expected_keepers.go +++ b/x/structs/types/expected_keepers.go @@ -8,6 +8,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" //auth "github.com/cosmos/cosmos-sdk/x/auth/types" staking "github.com/cosmos/cosmos-sdk/x/staking/types" + banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" ) // StakingKeeper defines the expected interface for the Staking module. @@ -54,6 +55,7 @@ type StakingHooks interface { type AccountKeeper interface { // Methods imported from account should be defined here GetAccount(context.Context, sdk.AccAddress) sdk.AccountI + GetModuleAddress(string) sdk.AccAddress NewAccountWithAddress(context.Context, sdk.AccAddress) sdk.AccountI SetAccount(context.Context, sdk.AccountI) } @@ -61,9 +63,14 @@ type AccountKeeper interface { // BankKeeper defines the expected interface for the Bank module. type BankKeeper interface { // Methods imported from bank should be defined here + SetDenomMetaData(context.Context, banktypes.Metadata) + GetDenomMetaData(context.Context, string) (banktypes.Metadata, bool) + GetSupply(context.Context, string) sdk.Coin + HasBalance(context.Context, sdk.AccAddress, sdk.Coin) bool SpendableCoins(context.Context, sdk.AccAddress) sdk.Coins SpendableCoin(context.Context, sdk.AccAddress, string) sdk.Coin SendCoins(context.Context, sdk.AccAddress, sdk.AccAddress, sdk.Coins) error + SendCoinsFromModuleToModule(context.Context, string, string, sdk.Coins) error SendCoinsFromAccountToModule(context.Context, sdk.AccAddress, string, sdk.Coins) error SendCoinsFromModuleToAccount(context.Context, string, sdk.AccAddress, sdk.Coins) error MintCoins(context.Context, string, sdk.Coins) error diff --git a/x/structs/types/genesis.pb.go b/x/structs/types/genesis.pb.go index 0f67c52a..d7c25826 100644 --- a/x/structs/types/genesis.pb.go +++ b/x/structs/types/genesis.pb.go @@ -30,22 +30,26 @@ type GenesisState struct { Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` PortId string `protobuf:"bytes,2,opt,name=port_id,json=portId,proto3" json:"port_id,omitempty"` AllocationList []Allocation `protobuf:"bytes,3,rep,name=allocationList,proto3" json:"allocationList"` - InfusionList []Infusion `protobuf:"bytes,4,rep,name=infusionList,proto3" json:"infusionList"` + AgreementList []Agreement `protobuf:"bytes,4,rep,name=agreementList,proto3" json:"agreementList"` + InfusionList []Infusion `protobuf:"bytes,5,rep,name=infusionList,proto3" json:"infusionList"` GuildList []Guild `protobuf:"bytes,6,rep,name=guildList,proto3" json:"guildList"` GuildCount uint64 `protobuf:"varint,7,opt,name=guildCount,proto3" json:"guildCount,omitempty"` PlanetList []Planet `protobuf:"bytes,8,rep,name=planetList,proto3" json:"planetList"` PlanetCount uint64 `protobuf:"varint,9,opt,name=planetCount,proto3" json:"planetCount,omitempty"` PlayerList []Player `protobuf:"bytes,10,rep,name=playerList,proto3" json:"playerList"` - PlayerCount uint64 `protobuf:"varint,11,opt,name=playerCount,proto3" json:"playerCount,omitempty"` - ReactorList []Reactor `protobuf:"bytes,12,rep,name=reactorList,proto3" json:"reactorList"` - ReactorCount uint64 `protobuf:"varint,13,opt,name=reactorCount,proto3" json:"reactorCount,omitempty"` - StructList []Struct `protobuf:"bytes,14,rep,name=structList,proto3" json:"structList"` - StructCount uint64 `protobuf:"varint,15,opt,name=structCount,proto3" json:"structCount,omitempty"` - SubstationList []Substation `protobuf:"bytes,16,rep,name=substationList,proto3" json:"substationList"` - SubstationCount uint64 `protobuf:"varint,17,opt,name=substationCount,proto3" json:"substationCount,omitempty"` - PermissionList []*PermissionRecord `protobuf:"bytes,18,rep,name=permissionList,proto3" json:"permissionList,omitempty"` - GridList []*GridRecord `protobuf:"bytes,19,rep,name=gridList,proto3" json:"gridList,omitempty"` - AddressList []*AddressRecord `protobuf:"bytes,20,rep,name=addressList,proto3" json:"addressList,omitempty"` + PlayerHalted []string `protobuf:"bytes,11,rep,name=playerHalted,proto3" json:"playerHalted,omitempty"` + PlayerCount uint64 `protobuf:"varint,12,opt,name=playerCount,proto3" json:"playerCount,omitempty"` + ProviderList []Provider `protobuf:"bytes,13,rep,name=providerList,proto3" json:"providerList"` + ProviderCount uint64 `protobuf:"varint,14,opt,name=providerCount,proto3" json:"providerCount,omitempty"` + ReactorList []Reactor `protobuf:"bytes,15,rep,name=reactorList,proto3" json:"reactorList"` + ReactorCount uint64 `protobuf:"varint,16,opt,name=reactorCount,proto3" json:"reactorCount,omitempty"` + StructList []Struct `protobuf:"bytes,17,rep,name=structList,proto3" json:"structList"` + StructCount uint64 `protobuf:"varint,18,opt,name=structCount,proto3" json:"structCount,omitempty"` + SubstationList []Substation `protobuf:"bytes,19,rep,name=substationList,proto3" json:"substationList"` + SubstationCount uint64 `protobuf:"varint,20,opt,name=substationCount,proto3" json:"substationCount,omitempty"` + PermissionList []*PermissionRecord `protobuf:"bytes,21,rep,name=permissionList,proto3" json:"permissionList,omitempty"` + GridList []*GridRecord `protobuf:"bytes,22,rep,name=gridList,proto3" json:"gridList,omitempty"` + AddressList []*AddressRecord `protobuf:"bytes,23,rep,name=addressList,proto3" json:"addressList,omitempty"` } func (m *GenesisState) Reset() { *m = GenesisState{} } @@ -102,6 +106,13 @@ func (m *GenesisState) GetAllocationList() []Allocation { return nil } +func (m *GenesisState) GetAgreementList() []Agreement { + if m != nil { + return m.AgreementList + } + return nil +} + func (m *GenesisState) GetInfusionList() []Infusion { if m != nil { return m.InfusionList @@ -144,6 +155,13 @@ func (m *GenesisState) GetPlayerList() []Player { return nil } +func (m *GenesisState) GetPlayerHalted() []string { + if m != nil { + return m.PlayerHalted + } + return nil +} + func (m *GenesisState) GetPlayerCount() uint64 { if m != nil { return m.PlayerCount @@ -151,6 +169,20 @@ func (m *GenesisState) GetPlayerCount() uint64 { return 0 } +func (m *GenesisState) GetProviderList() []Provider { + if m != nil { + return m.ProviderList + } + return nil +} + +func (m *GenesisState) GetProviderCount() uint64 { + if m != nil { + return m.ProviderCount + } + return 0 +} + func (m *GenesisState) GetReactorList() []Reactor { if m != nil { return m.ReactorList @@ -221,44 +253,50 @@ func init() { func init() { proto.RegisterFile("structs/structs/genesis.proto", fileDescriptor_39407fc37d8c4705) } var fileDescriptor_39407fc37d8c4705 = []byte{ - // 591 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x94, 0xcf, 0x6e, 0x13, 0x31, - 0x10, 0xc6, 0xb3, 0xb4, 0x4a, 0x13, 0x27, 0x34, 0xd4, 0x54, 0x24, 0xa4, 0xb0, 0x2c, 0x3d, 0x45, - 0x1c, 0x12, 0x51, 0x0e, 0x48, 0x95, 0x90, 0x20, 0x3d, 0x44, 0x91, 0x38, 0xa0, 0xcd, 0x8d, 0x0b, - 0xda, 0x66, 0x4d, 0xb4, 0x22, 0x59, 0x47, 0xb6, 0x23, 0xb1, 0x6f, 0x81, 0xc4, 0x4b, 0x70, 0xe4, - 0x31, 0x7a, 0xec, 0x91, 0x13, 0x42, 0xc9, 0x81, 0xd7, 0x40, 0x1e, 0xcf, 0xfe, 0xc9, 0x9a, 0xed, - 0x25, 0x8e, 0x67, 0xe6, 0xfb, 0x7e, 0xb6, 0xc7, 0x6b, 0xf2, 0x54, 0x2a, 0xb1, 0x99, 0x2b, 0x39, - 0x4a, 0xc7, 0x05, 0x8b, 0x99, 0x8c, 0xe4, 0x70, 0x2d, 0xb8, 0xe2, 0xb4, 0x83, 0xe1, 0x21, 0x8e, - 0xfd, 0x93, 0x60, 0x15, 0xc5, 0x7c, 0x04, 0xbf, 0xa6, 0xa6, 0x7f, 0xba, 0xe0, 0x0b, 0x0e, 0x7f, - 0x47, 0xfa, 0x1f, 0x46, 0x9f, 0x94, 0x8d, 0xd7, 0x81, 0x08, 0x56, 0xe8, 0xdb, 0xb7, 0xb0, 0x41, - 0x18, 0x0a, 0x26, 0xd3, 0xb4, 0x67, 0xa5, 0x97, 0x4b, 0x3e, 0x0f, 0x54, 0xc4, 0x63, 0xac, 0xe8, - 0x5b, 0xeb, 0x16, 0x51, 0x88, 0xb9, 0x33, 0x2b, 0xb7, 0x89, 0x96, 0x69, 0xd2, 0x2d, 0x27, 0xa3, - 0xf8, 0xf3, 0x46, 0xde, 0x61, 0xfc, 0x85, 0x25, 0x95, 0xcb, 0x5a, 0x33, 0xb1, 0x8a, 0x64, 0x41, - 0x6d, 0xef, 0x7a, 0x19, 0x24, 0x4c, 0xdc, 0x91, 0x8d, 0x99, 0xaa, 0x3a, 0x13, 0xc1, 0x82, 0xb9, - 0xe2, 0x95, 0x62, 0x33, 0x56, 0x2d, 0x4d, 0x6e, 0xae, 0xa5, 0x2a, 0x9c, 0xd8, 0xf9, 0xf7, 0x06, - 0x69, 0x4f, 0x4c, 0x73, 0x67, 0x2a, 0x50, 0x8c, 0x5e, 0x92, 0xba, 0xe9, 0x49, 0xcf, 0xf1, 0x9c, - 0x41, 0xeb, 0xa2, 0x3b, 0x2c, 0x35, 0x7b, 0xf8, 0x01, 0xd2, 0xe3, 0xe6, 0xcd, 0xef, 0x67, 0xb5, - 0x1f, 0x7f, 0x7f, 0xbe, 0x70, 0x7c, 0x54, 0xd0, 0x2e, 0x39, 0x5a, 0x73, 0xa1, 0x3e, 0x45, 0x61, - 0xef, 0x9e, 0xe7, 0x0c, 0x9a, 0x7e, 0x5d, 0x4f, 0xa7, 0x21, 0x9d, 0x92, 0xe3, 0xbc, 0x57, 0xef, - 0x23, 0xa9, 0x7a, 0x07, 0xde, 0xc1, 0xa0, 0x75, 0x71, 0x66, 0x99, 0xbf, 0xcb, 0xca, 0xc6, 0x87, - 0x1a, 0xe0, 0x97, 0x84, 0xf4, 0x8a, 0xb4, 0xd3, 0xde, 0x80, 0xd1, 0x21, 0x18, 0x3d, 0xb6, 0x8c, - 0xa6, 0x58, 0x84, 0x36, 0x7b, 0x22, 0x7a, 0x49, 0x9a, 0xd0, 0x7d, 0x70, 0xa8, 0x83, 0xc3, 0x23, - 0xcb, 0x61, 0xa2, 0x2b, 0x50, 0x9e, 0x97, 0x53, 0x97, 0x10, 0x98, 0x5c, 0xf1, 0x4d, 0xac, 0x7a, - 0x47, 0x9e, 0x33, 0x38, 0xf4, 0x0b, 0x11, 0xfa, 0x86, 0x10, 0xd3, 0x40, 0x30, 0x6f, 0x80, 0xf9, - 0x7f, 0x0e, 0x11, 0x4a, 0xd0, 0xbd, 0x20, 0xa0, 0x1e, 0x69, 0x99, 0x99, 0xf1, 0x6f, 0x82, 0x7f, - 0x31, 0x84, 0x80, 0x84, 0x09, 0x00, 0x90, 0x6a, 0x40, 0xc2, 0x44, 0x01, 0x80, 0x02, 0x04, 0x24, - 0x4c, 0x18, 0x40, 0x2b, 0x03, 0xa4, 0x21, 0xfa, 0x96, 0xb4, 0xf0, 0x92, 0x01, 0xa1, 0x0d, 0x84, - 0x9e, 0x45, 0xf0, 0x4d, 0x0d, 0x22, 0x8a, 0x12, 0x7a, 0x4e, 0xda, 0x38, 0x35, 0x90, 0xfb, 0x00, - 0xd9, 0x8b, 0xe9, 0x6d, 0x18, 0x27, 0x80, 0x1c, 0x57, 0x6c, 0x63, 0x06, 0x63, 0xba, 0x8d, 0x5c, - 0xa0, 0xb7, 0x61, 0x66, 0x86, 0xd0, 0x31, 0xdb, 0x28, 0x84, 0xf4, 0xa5, 0xcb, 0xaf, 0x3b, 0x40, - 0x1e, 0x54, 0x5c, 0xba, 0x59, 0x56, 0x96, 0x5e, 0xba, 0x7d, 0x21, 0x1d, 0x90, 0x4e, 0x1e, 0x31, - 0xc0, 0x13, 0x00, 0x96, 0xc3, 0x1a, 0x9a, 0x7f, 0xfe, 0x00, 0xa5, 0x00, 0x7d, 0x6e, 0x37, 0x28, - 0x2b, 0xf3, 0xd9, 0x9c, 0x8b, 0xd0, 0x2f, 0x09, 0xe9, 0x6b, 0xd2, 0xd0, 0xcf, 0x17, 0x98, 0x3c, - 0xac, 0x58, 0xf9, 0x44, 0x44, 0x21, 0xca, 0xb3, 0x62, 0xdd, 0x3f, 0x7c, 0x38, 0x41, 0x7b, 0x0a, - 0x5a, 0xd7, 0xfe, 0xd4, 0x4c, 0x0d, 0xca, 0x8b, 0x92, 0xf1, 0xcb, 0x9b, 0xad, 0xeb, 0xdc, 0x6e, - 0x5d, 0xe7, 0xcf, 0xd6, 0x75, 0xbe, 0xed, 0xdc, 0xda, 0xed, 0xce, 0xad, 0xfd, 0xda, 0xb9, 0xb5, - 0x8f, 0xdd, 0xf4, 0x25, 0xf9, 0x9a, 0xbd, 0x29, 0x2a, 0x59, 0x33, 0x79, 0x5d, 0x87, 0xf7, 0xe4, - 0xd5, 0xbf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x91, 0xae, 0x3a, 0xb3, 0x3b, 0x06, 0x00, 0x00, + // 673 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x55, 0x4f, 0x4f, 0x14, 0x31, + 0x14, 0xdf, 0x11, 0x5c, 0xd8, 0xee, 0x02, 0x52, 0x91, 0x1d, 0x17, 0x1d, 0x46, 0xe2, 0x61, 0xe2, + 0x61, 0x89, 0x78, 0x30, 0x21, 0x31, 0x51, 0x48, 0x44, 0x12, 0x0f, 0x64, 0xb8, 0x79, 0x31, 0xc3, + 0x4e, 0xdd, 0x4c, 0xdc, 0x9d, 0x4e, 0xda, 0xae, 0x71, 0xbe, 0x85, 0x1f, 0xc3, 0xa3, 0x1f, 0x83, + 0x23, 0x47, 0x4f, 0xc6, 0xc0, 0xc1, 0xc4, 0x4f, 0x61, 0xfa, 0xda, 0xce, 0xbf, 0x3a, 0x5c, 0xe8, + 0xf6, 0xbd, 0xdf, 0x9f, 0x37, 0xef, 0xb5, 0x05, 0x3d, 0xe6, 0x82, 0x2d, 0x26, 0x82, 0xef, 0x9b, + 0x75, 0x4a, 0x52, 0xc2, 0x13, 0x3e, 0xce, 0x18, 0x15, 0x14, 0x6f, 0xe8, 0xf0, 0x58, 0xaf, 0xa3, + 0xcd, 0x68, 0x9e, 0xa4, 0x74, 0x1f, 0xfe, 0x2a, 0xcc, 0x68, 0x6b, 0x4a, 0xa7, 0x14, 0x7e, 0xee, + 0xcb, 0x5f, 0x3a, 0xfa, 0xa8, 0x29, 0x9c, 0x45, 0x2c, 0x9a, 0x6b, 0xdd, 0x91, 0x65, 0x1b, 0xc5, + 0x31, 0x23, 0xdc, 0xa4, 0x77, 0xad, 0xf4, 0x94, 0x11, 0x32, 0x27, 0xa9, 0xd0, 0x00, 0xdf, 0x02, + 0xcc, 0x66, 0x74, 0x12, 0x89, 0x84, 0xa6, 0x1a, 0x31, 0xb2, 0x3e, 0x8c, 0x25, 0xb1, 0xce, 0xed, + 0x58, 0xb9, 0x45, 0x32, 0x33, 0x49, 0xaf, 0x99, 0x4c, 0xd2, 0x4f, 0x0b, 0x7e, 0x8b, 0xf0, 0x67, + 0x92, 0xf3, 0xb6, 0xb2, 0x32, 0xc2, 0xe6, 0x09, 0xaf, 0xb0, 0xed, 0xb6, 0xcc, 0xa2, 0x9c, 0xb0, + 0x5b, 0xb2, 0x29, 0x11, 0x6d, 0x95, 0x65, 0x8c, 0x7e, 0x49, 0xe2, 0x82, 0x6d, 0x35, 0x95, 0x91, + 0x68, 0x22, 0x68, 0xab, 0xb8, 0x5a, 0xdb, 0x4a, 0xe7, 0x8b, 0x0b, 0x2e, 0x2a, 0x1d, 0xdd, 0xfb, + 0xdb, 0x43, 0x83, 0x13, 0x75, 0x3a, 0xce, 0x45, 0x24, 0x08, 0x3e, 0x44, 0x5d, 0x35, 0x54, 0xd7, + 0xf1, 0x9d, 0xa0, 0x7f, 0x30, 0x1c, 0x37, 0x4e, 0xcb, 0xf8, 0x0c, 0xd2, 0x47, 0xbd, 0xcb, 0x5f, + 0xbb, 0x9d, 0xef, 0x7f, 0x7e, 0x3c, 0x73, 0x42, 0xcd, 0xc0, 0x43, 0xb4, 0x92, 0x51, 0x26, 0x3e, + 0x26, 0xb1, 0x7b, 0xc7, 0x77, 0x82, 0x5e, 0xd8, 0x95, 0xdb, 0xd3, 0x18, 0x9f, 0xa2, 0xf5, 0x72, + 0x96, 0xef, 0x13, 0x2e, 0xdc, 0x25, 0x7f, 0x29, 0xe8, 0x1f, 0xec, 0x58, 0xe2, 0x6f, 0x0a, 0xd8, + 0xd1, 0xb2, 0x34, 0x08, 0x1b, 0x44, 0xfc, 0x16, 0xad, 0x15, 0xe7, 0x06, 0x94, 0x96, 0x41, 0x69, + 0x64, 0x2b, 0x19, 0x94, 0x16, 0xaa, 0xd3, 0xf0, 0x31, 0x1a, 0x98, 0x33, 0x00, 0x32, 0x77, 0x41, + 0xe6, 0xa1, 0x25, 0x73, 0xaa, 0x41, 0x5a, 0xa5, 0x46, 0xc2, 0x87, 0xa8, 0x07, 0xa7, 0x0c, 0x14, + 0xba, 0xa0, 0xb0, 0x6d, 0x29, 0x9c, 0x48, 0x84, 0xa6, 0x97, 0x70, 0xec, 0x21, 0x04, 0x9b, 0x63, + 0xba, 0x48, 0x85, 0xbb, 0xe2, 0x3b, 0xc1, 0x72, 0x58, 0x89, 0xe0, 0x57, 0x08, 0xa9, 0x83, 0x02, + 0xe2, 0xab, 0x20, 0xfe, 0x9f, 0x61, 0x00, 0x44, 0xab, 0x57, 0x08, 0xd8, 0x47, 0x7d, 0xb5, 0x53, + 0xfa, 0x3d, 0xd0, 0xaf, 0x86, 0xb4, 0x41, 0x4e, 0x18, 0x18, 0xa0, 0x76, 0x83, 0x9c, 0xb0, 0x8a, + 0x81, 0x26, 0xe0, 0x3d, 0x34, 0x50, 0xbb, 0x77, 0xd1, 0x4c, 0x90, 0xd8, 0xed, 0xfb, 0x4b, 0x41, + 0x2f, 0xac, 0xc5, 0x74, 0x11, 0x39, 0x61, 0xaa, 0x88, 0x41, 0x51, 0x84, 0x09, 0xc9, 0x31, 0x98, + 0x03, 0x0f, 0x65, 0xac, 0xb5, 0x8c, 0xe1, 0x4c, 0x83, 0xcc, 0x18, 0xaa, 0x24, 0xfc, 0x14, 0xad, + 0x99, 0xbd, 0x32, 0x5a, 0x07, 0xa3, 0x7a, 0x10, 0xbf, 0x46, 0x7d, 0x7d, 0x77, 0xc0, 0x69, 0x03, + 0x9c, 0x5c, 0xcb, 0x29, 0x54, 0x18, 0x6d, 0x54, 0xa5, 0xc8, 0x4f, 0xd6, 0x5b, 0x65, 0x73, 0x0f, + 0x6c, 0x6a, 0x31, 0xd9, 0x55, 0xa5, 0x04, 0x26, 0x9b, 0x2d, 0x5d, 0x3d, 0x87, 0xd5, 0x74, 0xb5, + 0x24, 0xc8, 0x8e, 0xa9, 0x9d, 0x72, 0xc0, 0xaa, 0x63, 0x95, 0x90, 0xbc, 0x4b, 0xe5, 0x2d, 0x06, + 0x93, 0xfb, 0x2d, 0x77, 0xe9, 0xbc, 0x80, 0x99, 0xbb, 0x54, 0x27, 0xe2, 0x00, 0x6d, 0x94, 0x11, + 0x65, 0xb8, 0x05, 0x86, 0xcd, 0xb0, 0x34, 0x2d, 0x5f, 0x3d, 0x30, 0x7d, 0x00, 0xa6, 0x4f, 0xec, + 0x41, 0x15, 0xb0, 0x90, 0x4c, 0x28, 0x8b, 0xc3, 0x06, 0x11, 0xbf, 0x44, 0xab, 0xf2, 0xd5, 0x06, + 0x91, 0xed, 0x96, 0xca, 0x4f, 0x58, 0x12, 0x6b, 0x7a, 0x01, 0x96, 0xf3, 0xd3, 0xff, 0x50, 0x80, + 0x3b, 0x04, 0xae, 0x67, 0xdf, 0x7b, 0x85, 0xd1, 0xf4, 0x2a, 0xe5, 0xe8, 0xf9, 0xe5, 0xb5, 0xe7, + 0x5c, 0x5d, 0x7b, 0xce, 0xef, 0x6b, 0xcf, 0xf9, 0x76, 0xe3, 0x75, 0xae, 0x6e, 0xbc, 0xce, 0xcf, + 0x1b, 0xaf, 0xf3, 0x61, 0x68, 0x1e, 0xc8, 0xaf, 0xc5, 0x53, 0x29, 0xf2, 0x8c, 0xf0, 0x8b, 0x2e, + 0x3c, 0x93, 0x2f, 0xfe, 0x05, 0x00, 0x00, 0xff, 0xff, 0x8c, 0x33, 0x1b, 0xed, 0x53, 0x07, 0x00, + 0x00, } func (m *GenesisState) Marshal() (dAtA []byte, err error) { @@ -294,7 +332,7 @@ func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error) { i-- dAtA[i] = 0x1 i-- - dAtA[i] = 0xa2 + dAtA[i] = 0xba } } if len(m.GridList) > 0 { @@ -310,7 +348,7 @@ func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error) { i-- dAtA[i] = 0x1 i-- - dAtA[i] = 0x9a + dAtA[i] = 0xb2 } } if len(m.PermissionList) > 0 { @@ -326,7 +364,7 @@ func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error) { i-- dAtA[i] = 0x1 i-- - dAtA[i] = 0x92 + dAtA[i] = 0xaa } } if m.SubstationCount != 0 { @@ -334,7 +372,7 @@ func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error) { i-- dAtA[i] = 0x1 i-- - dAtA[i] = 0x88 + dAtA[i] = 0xa0 } if len(m.SubstationList) > 0 { for iNdEx := len(m.SubstationList) - 1; iNdEx >= 0; iNdEx-- { @@ -349,13 +387,15 @@ func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error) { i-- dAtA[i] = 0x1 i-- - dAtA[i] = 0x82 + dAtA[i] = 0x9a } } if m.StructCount != 0 { i = encodeVarintGenesis(dAtA, i, uint64(m.StructCount)) i-- - dAtA[i] = 0x78 + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x90 } if len(m.StructList) > 0 { for iNdEx := len(m.StructList) - 1; iNdEx >= 0; iNdEx-- { @@ -368,13 +408,17 @@ func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintGenesis(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x72 + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x8a } } if m.ReactorCount != 0 { i = encodeVarintGenesis(dAtA, i, uint64(m.ReactorCount)) i-- - dAtA[i] = 0x68 + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x80 } if len(m.ReactorList) > 0 { for iNdEx := len(m.ReactorList) - 1; iNdEx >= 0; iNdEx-- { @@ -387,13 +431,41 @@ func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintGenesis(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x62 + dAtA[i] = 0x7a + } + } + if m.ProviderCount != 0 { + i = encodeVarintGenesis(dAtA, i, uint64(m.ProviderCount)) + i-- + dAtA[i] = 0x70 + } + if len(m.ProviderList) > 0 { + for iNdEx := len(m.ProviderList) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.ProviderList[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintGenesis(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x6a } } if m.PlayerCount != 0 { i = encodeVarintGenesis(dAtA, i, uint64(m.PlayerCount)) i-- - dAtA[i] = 0x58 + dAtA[i] = 0x60 + } + if len(m.PlayerHalted) > 0 { + for iNdEx := len(m.PlayerHalted) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.PlayerHalted[iNdEx]) + copy(dAtA[i:], m.PlayerHalted[iNdEx]) + i = encodeVarintGenesis(dAtA, i, uint64(len(m.PlayerHalted[iNdEx]))) + i-- + dAtA[i] = 0x5a + } } if len(m.PlayerList) > 0 { for iNdEx := len(m.PlayerList) - 1; iNdEx >= 0; iNdEx-- { @@ -458,6 +530,20 @@ func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintGenesis(dAtA, i, uint64(size)) } i-- + dAtA[i] = 0x2a + } + } + if len(m.AgreementList) > 0 { + for iNdEx := len(m.AgreementList) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.AgreementList[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintGenesis(dAtA, i, uint64(size)) + } + i-- dAtA[i] = 0x22 } } @@ -524,6 +610,12 @@ func (m *GenesisState) Size() (n int) { n += 1 + l + sovGenesis(uint64(l)) } } + if len(m.AgreementList) > 0 { + for _, e := range m.AgreementList { + l = e.Size() + n += 1 + l + sovGenesis(uint64(l)) + } + } if len(m.InfusionList) > 0 { for _, e := range m.InfusionList { l = e.Size() @@ -554,9 +646,24 @@ func (m *GenesisState) Size() (n int) { n += 1 + l + sovGenesis(uint64(l)) } } + if len(m.PlayerHalted) > 0 { + for _, s := range m.PlayerHalted { + l = len(s) + n += 1 + l + sovGenesis(uint64(l)) + } + } if m.PlayerCount != 0 { n += 1 + sovGenesis(uint64(m.PlayerCount)) } + if len(m.ProviderList) > 0 { + for _, e := range m.ProviderList { + l = e.Size() + n += 1 + l + sovGenesis(uint64(l)) + } + } + if m.ProviderCount != 0 { + n += 1 + sovGenesis(uint64(m.ProviderCount)) + } if len(m.ReactorList) > 0 { for _, e := range m.ReactorList { l = e.Size() @@ -564,16 +671,16 @@ func (m *GenesisState) Size() (n int) { } } if m.ReactorCount != 0 { - n += 1 + sovGenesis(uint64(m.ReactorCount)) + n += 2 + sovGenesis(uint64(m.ReactorCount)) } if len(m.StructList) > 0 { for _, e := range m.StructList { l = e.Size() - n += 1 + l + sovGenesis(uint64(l)) + n += 2 + l + sovGenesis(uint64(l)) } } if m.StructCount != 0 { - n += 1 + sovGenesis(uint64(m.StructCount)) + n += 2 + sovGenesis(uint64(m.StructCount)) } if len(m.SubstationList) > 0 { for _, e := range m.SubstationList { @@ -740,6 +847,40 @@ func (m *GenesisState) Unmarshal(dAtA []byte) error { } iNdEx = postIndex case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AgreementList", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenesis + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenesis + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthGenesis + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.AgreementList = append(m.AgreementList, Agreement{}) + if err := m.AgreementList[len(m.AgreementList)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 5: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field InfusionList", wireType) } @@ -914,6 +1055,38 @@ func (m *GenesisState) Unmarshal(dAtA []byte) error { } iNdEx = postIndex case 11: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field PlayerHalted", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenesis + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthGenesis + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthGenesis + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.PlayerHalted = append(m.PlayerHalted, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 12: if wireType != 0 { return fmt.Errorf("proto: wrong wireType = %d for field PlayerCount", wireType) } @@ -932,7 +1105,60 @@ func (m *GenesisState) Unmarshal(dAtA []byte) error { break } } - case 12: + case 13: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ProviderList", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenesis + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenesis + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthGenesis + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ProviderList = append(m.ProviderList, Provider{}) + if err := m.ProviderList[len(m.ProviderList)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 14: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ProviderCount", wireType) + } + m.ProviderCount = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenesis + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.ProviderCount |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 15: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field ReactorList", wireType) } @@ -966,7 +1192,7 @@ func (m *GenesisState) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex - case 13: + case 16: if wireType != 0 { return fmt.Errorf("proto: wrong wireType = %d for field ReactorCount", wireType) } @@ -985,7 +1211,7 @@ func (m *GenesisState) Unmarshal(dAtA []byte) error { break } } - case 14: + case 17: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field StructList", wireType) } @@ -1019,7 +1245,7 @@ func (m *GenesisState) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex - case 15: + case 18: if wireType != 0 { return fmt.Errorf("proto: wrong wireType = %d for field StructCount", wireType) } @@ -1038,7 +1264,7 @@ func (m *GenesisState) Unmarshal(dAtA []byte) error { break } } - case 16: + case 19: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field SubstationList", wireType) } @@ -1072,7 +1298,7 @@ func (m *GenesisState) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex - case 17: + case 20: if wireType != 0 { return fmt.Errorf("proto: wrong wireType = %d for field SubstationCount", wireType) } @@ -1091,7 +1317,7 @@ func (m *GenesisState) Unmarshal(dAtA []byte) error { break } } - case 18: + case 21: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field PermissionList", wireType) } @@ -1125,7 +1351,7 @@ func (m *GenesisState) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex - case 19: + case 22: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field GridList", wireType) } @@ -1159,7 +1385,7 @@ func (m *GenesisState) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex - case 20: + case 23: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field AddressList", wireType) } diff --git a/x/structs/types/genesis_struct_type.go b/x/structs/types/genesis_struct_type.go index 1fafc707..405c1f7a 100644 --- a/x/structs/types/genesis_struct_type.go +++ b/x/structs/types/genesis_struct_type.go @@ -102,8 +102,8 @@ structType = StructType{ TriggerRaidDefeatByDestruction: true, BuildLimit: 1, BuildDifficulty: 200, - BuildDraw: 100, - PassiveDraw: 50, + BuildDraw: 50000, + PassiveDraw: 50000, MaxHealth: 6, PossibleAmbit: 30, @@ -145,7 +145,7 @@ structType = StructType{ PowerGeneration: TechPowerGeneration_noPowerGeneration, ActivateCharge: 20, - BuildCharge: 1, + BuildCharge: 8, DefendChangeCharge: 1, MoveCharge: 8, OreMiningCharge: 0, @@ -176,7 +176,6 @@ structType = StructType{ genesisStructTypes = append(genesisStructTypes, structType) - // Struct Type: Galactic Battleship structType = StructType{ Id: 2, @@ -185,8 +184,8 @@ structType = StructType{ BuildLimit: 0, BuildDifficulty: 765, - BuildDraw: 375, - PassiveDraw: 225, + BuildDraw: 135000, + PassiveDraw: 135000, MaxHealth: 3, PossibleAmbit: 16, @@ -228,7 +227,7 @@ structType = StructType{ PowerGeneration: TechPowerGeneration_noPowerGeneration, ActivateCharge: 20, - BuildCharge: 1, + BuildCharge: 8, DefendChangeCharge: 1, MoveCharge: 0, OreMiningCharge: 0, @@ -259,7 +258,6 @@ structType = StructType{ genesisStructTypes = append(genesisStructTypes, structType) - // Struct Type: Star Fighter structType = StructType{ Id: 3, @@ -268,8 +266,8 @@ structType = StructType{ BuildLimit: 0, BuildDifficulty: 250, - BuildDraw: 200, - PassiveDraw: 100, + BuildDraw: 100000, + PassiveDraw: 100000, MaxHealth: 3, PossibleAmbit: 16, @@ -311,7 +309,7 @@ structType = StructType{ PowerGeneration: TechPowerGeneration_noPowerGeneration, ActivateCharge: 20, - BuildCharge: 1, + BuildCharge: 8, DefendChangeCharge: 1, MoveCharge: 0, OreMiningCharge: 0, @@ -342,7 +340,6 @@ structType = StructType{ genesisStructTypes = append(genesisStructTypes, structType) - // Struct Type: Space Frigate structType = StructType{ Id: 4, @@ -351,8 +348,8 @@ structType = StructType{ BuildLimit: 0, BuildDifficulty: 450, - BuildDraw: 150, - PassiveDraw: 75, + BuildDraw: 75000, + PassiveDraw: 75000, MaxHealth: 3, PossibleAmbit: 16, @@ -394,7 +391,7 @@ structType = StructType{ PowerGeneration: TechPowerGeneration_noPowerGeneration, ActivateCharge: 20, - BuildCharge: 1, + BuildCharge: 8, DefendChangeCharge: 1, MoveCharge: 0, OreMiningCharge: 0, @@ -425,7 +422,6 @@ structType = StructType{ genesisStructTypes = append(genesisStructTypes, structType) - // Struct Type: Fighter Jet structType = StructType{ Id: 5, @@ -434,8 +430,8 @@ structType = StructType{ BuildLimit: 0, BuildDifficulty: 215, - BuildDraw: 225, - PassiveDraw: 150, + BuildDraw: 60000, + PassiveDraw: 60000, MaxHealth: 3, PossibleAmbit: 8, @@ -477,7 +473,7 @@ structType = StructType{ PowerGeneration: TechPowerGeneration_noPowerGeneration, ActivateCharge: 20, - BuildCharge: 1, + BuildCharge: 8, DefendChangeCharge: 1, MoveCharge: 0, OreMiningCharge: 0, @@ -508,7 +504,6 @@ structType = StructType{ genesisStructTypes = append(genesisStructTypes, structType) - // Struct Type: Stealth Bomber structType = StructType{ Id: 6, @@ -517,8 +512,8 @@ structType = StructType{ BuildLimit: 0, BuildDifficulty: 455, - BuildDraw: 200, - PassiveDraw: 125, + BuildDraw: 125000, + PassiveDraw: 125000, MaxHealth: 3, PossibleAmbit: 8, @@ -560,7 +555,7 @@ structType = StructType{ PowerGeneration: TechPowerGeneration_noPowerGeneration, ActivateCharge: 20, - BuildCharge: 1, + BuildCharge: 8, DefendChangeCharge: 1, MoveCharge: 0, OreMiningCharge: 0, @@ -591,7 +586,6 @@ structType = StructType{ genesisStructTypes = append(genesisStructTypes, structType) - // Struct Type: High Altitude Interceptor structType = StructType{ Id: 7, @@ -600,8 +594,8 @@ structType = StructType{ BuildLimit: 0, BuildDifficulty: 460, - BuildDraw: 225, - PassiveDraw: 125, + BuildDraw: 125000, + PassiveDraw: 125000, MaxHealth: 3, PossibleAmbit: 8, @@ -643,7 +637,7 @@ structType = StructType{ PowerGeneration: TechPowerGeneration_noPowerGeneration, ActivateCharge: 20, - BuildCharge: 1, + BuildCharge: 8, DefendChangeCharge: 1, MoveCharge: 0, OreMiningCharge: 0, @@ -674,7 +668,6 @@ structType = StructType{ genesisStructTypes = append(genesisStructTypes, structType) - // Struct Type: Artillery structType = StructType{ Id: 8, @@ -683,8 +676,8 @@ structType = StructType{ BuildLimit: 0, BuildDifficulty: 305, - BuildDraw: 125, - PassiveDraw: 75, + BuildDraw: 75000, + PassiveDraw: 75000, MaxHealth: 3, PossibleAmbit: 4, @@ -726,7 +719,7 @@ structType = StructType{ PowerGeneration: TechPowerGeneration_noPowerGeneration, ActivateCharge: 20, - BuildCharge: 1, + BuildCharge: 8, DefendChangeCharge: 1, MoveCharge: 0, OreMiningCharge: 0, @@ -757,7 +750,6 @@ structType = StructType{ genesisStructTypes = append(genesisStructTypes, structType) - // Struct Type: Tank structType = StructType{ Id: 9, @@ -766,8 +758,8 @@ structType = StructType{ BuildLimit: 0, BuildDifficulty: 220, - BuildDraw: 200, - PassiveDraw: 75, + BuildDraw: 75000, + PassiveDraw: 75000, MaxHealth: 3, PossibleAmbit: 4, @@ -809,7 +801,7 @@ structType = StructType{ PowerGeneration: TechPowerGeneration_noPowerGeneration, ActivateCharge: 20, - BuildCharge: 1, + BuildCharge: 8, DefendChangeCharge: 1, MoveCharge: 0, OreMiningCharge: 0, @@ -840,7 +832,6 @@ structType = StructType{ genesisStructTypes = append(genesisStructTypes, structType) - // Struct Type: SAM Launcher structType = StructType{ Id: 10, @@ -849,8 +840,8 @@ structType = StructType{ BuildLimit: 0, BuildDifficulty: 450, - BuildDraw: 150, - PassiveDraw: 75, + BuildDraw: 75000, + PassiveDraw: 75000, MaxHealth: 3, PossibleAmbit: 4, @@ -892,7 +883,7 @@ structType = StructType{ PowerGeneration: TechPowerGeneration_noPowerGeneration, ActivateCharge: 20, - BuildCharge: 1, + BuildCharge: 8, DefendChangeCharge: 1, MoveCharge: 0, OreMiningCharge: 0, @@ -923,7 +914,6 @@ structType = StructType{ genesisStructTypes = append(genesisStructTypes, structType) - // Struct Type: Cruiser structType = StructType{ Id: 11, @@ -932,8 +922,8 @@ structType = StructType{ BuildLimit: 0, BuildDifficulty: 515, - BuildDraw: 325, - PassiveDraw: 200, + BuildDraw: 110000, + PassiveDraw: 110000, MaxHealth: 3, PossibleAmbit: 2, @@ -975,7 +965,7 @@ structType = StructType{ PowerGeneration: TechPowerGeneration_noPowerGeneration, ActivateCharge: 20, - BuildCharge: 1, + BuildCharge: 8, DefendChangeCharge: 1, MoveCharge: 0, OreMiningCharge: 0, @@ -1006,7 +996,6 @@ structType = StructType{ genesisStructTypes = append(genesisStructTypes, structType) - // Struct Type: Destroyer structType = StructType{ Id: 12, @@ -1015,8 +1004,8 @@ structType = StructType{ BuildLimit: 0, BuildDifficulty: 600, - BuildDraw: 200, - PassiveDraw: 100, + BuildDraw: 100000, + PassiveDraw: 100000, MaxHealth: 3, PossibleAmbit: 2, @@ -1058,7 +1047,7 @@ structType = StructType{ PowerGeneration: TechPowerGeneration_noPowerGeneration, ActivateCharge: 20, - BuildCharge: 1, + BuildCharge: 8, DefendChangeCharge: 1, MoveCharge: 0, OreMiningCharge: 0, @@ -1089,7 +1078,6 @@ structType = StructType{ genesisStructTypes = append(genesisStructTypes, structType) - // Struct Type: Sub structType = StructType{ Id: 13, @@ -1098,8 +1086,8 @@ structType = StructType{ BuildLimit: 0, BuildDifficulty: 455, - BuildDraw: 200, - PassiveDraw: 125, + BuildDraw: 125000, + PassiveDraw: 125000, MaxHealth: 3, PossibleAmbit: 2, @@ -1141,7 +1129,7 @@ structType = StructType{ PowerGeneration: TechPowerGeneration_noPowerGeneration, ActivateCharge: 20, - BuildCharge: 1, + BuildCharge: 8, DefendChangeCharge: 1, MoveCharge: 0, OreMiningCharge: 0, @@ -1172,7 +1160,6 @@ structType = StructType{ genesisStructTypes = append(genesisStructTypes, structType) - // Struct Type: Mine Shaft structType = StructType{ Id: 14, @@ -1181,8 +1168,8 @@ structType = StructType{ BuildLimit: 1, BuildDifficulty: 700, - BuildDraw: 100, - PassiveDraw: 500, + BuildDraw: 500000, + PassiveDraw: 500000, MaxHealth: 3, PossibleAmbit: 4, @@ -1224,7 +1211,7 @@ structType = StructType{ PowerGeneration: TechPowerGeneration_noPowerGeneration, ActivateCharge: 20, - BuildCharge: 1, + BuildCharge: 8, DefendChangeCharge: 1, MoveCharge: 0, OreMiningCharge: 20, @@ -1255,17 +1242,16 @@ structType = StructType{ genesisStructTypes = append(genesisStructTypes, structType) - -// Struct Type: Deep Ocean Minig Rig +// Struct Type: Deep Ocean Mining Rig structType = StructType{ Id: 15, - Type: "Deep Ocean Minig Rig", + Type: "Deep Ocean Mining Rig", Category: ObjectType_planet, BuildLimit: 1, BuildDifficulty: 700, - BuildDraw: 100, - PassiveDraw: 500, + BuildDraw: 500000, + PassiveDraw: 500000, MaxHealth: 3, PossibleAmbit: 2, @@ -1307,7 +1293,7 @@ structType = StructType{ PowerGeneration: TechPowerGeneration_noPowerGeneration, ActivateCharge: 20, - BuildCharge: 1, + BuildCharge: 8, DefendChangeCharge: 1, MoveCharge: 0, OreMiningCharge: 20, @@ -1338,7 +1324,6 @@ structType = StructType{ genesisStructTypes = append(genesisStructTypes, structType) - // Struct Type: Ore Refinery structType = StructType{ Id: 16, @@ -1347,8 +1332,8 @@ structType = StructType{ BuildLimit: 1, BuildDifficulty: 700, - BuildDraw: 100, - PassiveDraw: 500, + BuildDraw: 500000, + PassiveDraw: 500000, MaxHealth: 3, PossibleAmbit: 4, @@ -1390,7 +1375,7 @@ structType = StructType{ PowerGeneration: TechPowerGeneration_noPowerGeneration, ActivateCharge: 20, - BuildCharge: 1, + BuildCharge: 8, DefendChangeCharge: 1, MoveCharge: 0, OreMiningCharge: 0, @@ -1421,7 +1406,6 @@ structType = StructType{ genesisStructTypes = append(genesisStructTypes, structType) - // Struct Type: Water Cooled Ore Refinery structType = StructType{ Id: 17, @@ -1430,8 +1414,8 @@ structType = StructType{ BuildLimit: 1, BuildDifficulty: 700, - BuildDraw: 100, - PassiveDraw: 500, + BuildDraw: 500000, + PassiveDraw: 500000, MaxHealth: 3, PossibleAmbit: 2, @@ -1473,7 +1457,7 @@ structType = StructType{ PowerGeneration: TechPowerGeneration_noPowerGeneration, ActivateCharge: 20, - BuildCharge: 1, + BuildCharge: 8, DefendChangeCharge: 1, MoveCharge: 0, OreMiningCharge: 0, @@ -1503,9 +1487,7 @@ structType = StructType{ } genesisStructTypes = append(genesisStructTypes, structType) - - -// Struct Type: Orbital Shield Generator + // Struct Type: Orbital Shield Generator structType = StructType{ Id: 18, Type: "Orbital Shield Generator", @@ -1513,8 +1495,8 @@ structType = StructType{ BuildLimit: 1, BuildDifficulty: 720, - BuildDraw: 100, - PassiveDraw: 200, + BuildDraw: 200000, + PassiveDraw: 200000, MaxHealth: 3, PossibleAmbit: 16, @@ -1556,7 +1538,7 @@ structType = StructType{ PowerGeneration: TechPowerGeneration_noPowerGeneration, ActivateCharge: 20, - BuildCharge: 1, + BuildCharge: 8, DefendChangeCharge: 1, MoveCharge: 0, OreMiningCharge: 0, @@ -1586,8 +1568,6 @@ structType = StructType{ } genesisStructTypes = append(genesisStructTypes, structType) - - // Struct Type: Jamming Satellite structType = StructType{ Id: 19, @@ -1596,8 +1576,8 @@ structType = StructType{ BuildLimit: 1, BuildDifficulty: 2880, - BuildDraw: 450, - PassiveDraw: 600, + BuildDraw: 600000, + PassiveDraw: 600000, MaxHealth: 3, PossibleAmbit: 16, @@ -1639,7 +1619,7 @@ structType = StructType{ PowerGeneration: TechPowerGeneration_noPowerGeneration, ActivateCharge: 20, - BuildCharge: 1, + BuildCharge: 8, DefendChangeCharge: 1, MoveCharge: 0, OreMiningCharge: 0, @@ -1670,7 +1650,6 @@ structType = StructType{ genesisStructTypes = append(genesisStructTypes, structType) - // Struct Type: Ore Bunker structType = StructType{ Id: 20, @@ -1679,8 +1658,8 @@ structType = StructType{ BuildLimit: 1, BuildDifficulty: 3600, - BuildDraw: 200, - PassiveDraw: 750, + BuildDraw: 750000, + PassiveDraw: 750000, MaxHealth: 3, PossibleAmbit: 4, @@ -1722,7 +1701,7 @@ structType = StructType{ PowerGeneration: TechPowerGeneration_noPowerGeneration, ActivateCharge: 20, - BuildCharge: 1, + BuildCharge: 8, DefendChangeCharge: 1, MoveCharge: 0, OreMiningCharge: 0, @@ -1753,7 +1732,6 @@ structType = StructType{ genesisStructTypes = append(genesisStructTypes, structType) - // Struct Type: Defense Cannon structType = StructType{ Id: 21, @@ -1762,8 +1740,8 @@ structType = StructType{ BuildLimit: 1, BuildDifficulty: 2880, - BuildDraw: 450, - PassiveDraw: 600, + BuildDraw: 600000, + PassiveDraw: 600000, MaxHealth: 3, PossibleAmbit: 4, @@ -1805,7 +1783,7 @@ structType = StructType{ PowerGeneration: TechPowerGeneration_noPowerGeneration, ActivateCharge: 20, - BuildCharge: 1, + BuildCharge: 8, DefendChangeCharge: 1, MoveCharge: 0, OreMiningCharge: 0, @@ -1836,7 +1814,6 @@ structType = StructType{ genesisStructTypes = append(genesisStructTypes, structType) - // Struct Type: Offshore Defensive Turret structType = StructType{ Id: 22, @@ -1845,8 +1822,8 @@ structType = StructType{ BuildLimit: 1, BuildDifficulty: 2880, - BuildDraw: 450, - PassiveDraw: 600, + BuildDraw: 600000, + PassiveDraw: 600000, MaxHealth: 3, PossibleAmbit: 2, @@ -1888,7 +1865,7 @@ structType = StructType{ PowerGeneration: TechPowerGeneration_noPowerGeneration, ActivateCharge: 20, - BuildCharge: 1, + BuildCharge: 8, DefendChangeCharge: 1, MoveCharge: 0, OreMiningCharge: 0, @@ -1919,7 +1896,6 @@ structType = StructType{ genesisStructTypes = append(genesisStructTypes, structType) - // Struct Type: Small Generator structType = StructType{ Id: 23, @@ -1928,8 +1904,8 @@ structType = StructType{ BuildLimit: 1, BuildDifficulty: 700, - BuildDraw: 500, - PassiveDraw: 500, + BuildDraw: 500000, + PassiveDraw: 500000, MaxHealth: 3, PossibleAmbit: 4, @@ -1971,7 +1947,7 @@ structType = StructType{ PowerGeneration: TechPowerGeneration_smallGenerator, ActivateCharge: 20, - BuildCharge: 1, + BuildCharge: 8, DefendChangeCharge: 1, MoveCharge: 0, OreMiningCharge: 0, @@ -1986,7 +1962,7 @@ structType = StructType{ CounterAttackSameAmbit: 0, PostDestructionDamage: 0, - GeneratingRate: 200, + GeneratingRate: 2, PlanetaryShieldContribution: 0, OreMiningDifficulty: 0, @@ -2002,7 +1978,6 @@ structType = StructType{ genesisStructTypes = append(genesisStructTypes, structType) - // Struct Type: Grid Booster structType = StructType{ Id: 24, @@ -2011,8 +1986,8 @@ structType = StructType{ BuildLimit: 1, BuildDifficulty: 1440, - BuildDraw: 50000, - PassiveDraw: 5000, + BuildDraw: 10000000, + PassiveDraw: 10000000, MaxHealth: 3, PossibleAmbit: 4, @@ -2054,7 +2029,7 @@ structType = StructType{ PowerGeneration: TechPowerGeneration_mediumGenerator, ActivateCharge: 20, - BuildCharge: 1, + BuildCharge: 8, DefendChangeCharge: 1, MoveCharge: 0, OreMiningCharge: 0, @@ -2069,7 +2044,7 @@ structType = StructType{ CounterAttackSameAmbit: 0, PostDestructionDamage: 0, - GeneratingRate: 500, + GeneratingRate: 5, PlanetaryShieldContribution: 0, OreMiningDifficulty: 0, @@ -2085,7 +2060,6 @@ structType = StructType{ genesisStructTypes = append(genesisStructTypes, structType) - // Struct Type: Full-Scale Power Plant structType = StructType{ Id: 25, @@ -2094,8 +2068,8 @@ structType = StructType{ BuildLimit: 1, BuildDifficulty: 5000, - BuildDraw: 500000, - PassiveDraw: 50000, + BuildDraw: 100000000, + PassiveDraw: 100000000, MaxHealth: 3, PossibleAmbit: 4, @@ -2137,7 +2111,7 @@ structType = StructType{ PowerGeneration: TechPowerGeneration_largeGenerator, ActivateCharge: 20, - BuildCharge: 1, + BuildCharge: 8, DefendChangeCharge: 1, MoveCharge: 0, OreMiningCharge: 0, @@ -2152,7 +2126,7 @@ structType = StructType{ CounterAttackSameAmbit: 0, PostDestructionDamage: 0, - GeneratingRate: 1000, + GeneratingRate: 10, PlanetaryShieldContribution: 0, OreMiningDifficulty: 0, @@ -2168,7 +2142,6 @@ structType = StructType{ genesisStructTypes = append(genesisStructTypes, structType) - // Struct Type: Deep Sea Generator structType = StructType{ Id: 26, @@ -2177,8 +2150,8 @@ structType = StructType{ BuildLimit: 1, BuildDifficulty: 700, - BuildDraw: 500, - PassiveDraw: 500, + BuildDraw: 500000, + PassiveDraw: 500000, MaxHealth: 3, PossibleAmbit: 2, @@ -2220,7 +2193,7 @@ structType = StructType{ PowerGeneration: TechPowerGeneration_smallGenerator, ActivateCharge: 20, - BuildCharge: 1, + BuildCharge: 8, DefendChangeCharge: 1, MoveCharge: 0, OreMiningCharge: 0, @@ -2235,7 +2208,7 @@ structType = StructType{ CounterAttackSameAmbit: 0, PostDestructionDamage: 0, - GeneratingRate: 200, + GeneratingRate: 2, PlanetaryShieldContribution: 0, OreMiningDifficulty: 0, @@ -2250,8 +2223,6 @@ structType = StructType{ } genesisStructTypes = append(genesisStructTypes, structType) - - // Struct Type: Off-Shore Power Plant structType = StructType{ Id: 27, @@ -2260,8 +2231,8 @@ structType = StructType{ BuildLimit: 1, BuildDifficulty: 1440, - BuildDraw: 50000, - PassiveDraw: 5000, + BuildDraw: 10000000, + PassiveDraw: 10000000, MaxHealth: 3, PossibleAmbit: 2, @@ -2303,7 +2274,7 @@ structType = StructType{ PowerGeneration: TechPowerGeneration_mediumGenerator, ActivateCharge: 20, - BuildCharge: 1, + BuildCharge: 8, DefendChangeCharge: 1, MoveCharge: 0, OreMiningCharge: 0, @@ -2318,7 +2289,7 @@ structType = StructType{ CounterAttackSameAmbit: 0, PostDestructionDamage: 0, - GeneratingRate: 500, + GeneratingRate: 5, PlanetaryShieldContribution: 0, OreMiningDifficulty: 0, @@ -2333,8 +2304,6 @@ structType = StructType{ } genesisStructTypes = append(genesisStructTypes, structType) - - // Struct Type: Heavy Water Power Generator structType = StructType{ Id: 28, @@ -2343,8 +2312,8 @@ structType = StructType{ BuildLimit: 1, BuildDifficulty: 5000, - BuildDraw: 500000, - PassiveDraw: 50000, + BuildDraw: 100000000, + PassiveDraw: 100000000, MaxHealth: 3, PossibleAmbit: 2, @@ -2386,7 +2355,7 @@ structType = StructType{ PowerGeneration: TechPowerGeneration_largeGenerator, ActivateCharge: 20, - BuildCharge: 1, + BuildCharge: 8, DefendChangeCharge: 1, MoveCharge: 0, OreMiningCharge: 0, @@ -2401,7 +2370,7 @@ structType = StructType{ CounterAttackSameAmbit: 0, PostDestructionDamage: 0, - GeneratingRate: 1000, + GeneratingRate: 10, PlanetaryShieldContribution: 0, OreMiningDifficulty: 0, @@ -2417,9 +2386,6 @@ structType = StructType{ genesisStructTypes = append(genesisStructTypes, structType) - - - return } diff --git a/x/structs/types/grid.pb.go b/x/structs/types/grid.pb.go index 7e408a5a..c344bbcc 100644 --- a/x/structs/types/grid.pb.go +++ b/x/structs/types/grid.pb.go @@ -90,6 +90,7 @@ type GridAttributes struct { LastAction uint64 `protobuf:"varint,12,opt,name=lastAction,proto3" json:"lastAction,omitempty"` Nonce uint64 `protobuf:"varint,13,opt,name=nonce,proto3" json:"nonce,omitempty"` Ready uint64 `protobuf:"varint,14,opt,name=ready,proto3" json:"ready,omitempty"` + CheckpointBlock uint64 `protobuf:"varint,15,opt,name=checkpointBlock,proto3" json:"checkpointBlock,omitempty"` } func (m *GridAttributes) Reset() { *m = GridAttributes{} } @@ -223,6 +224,13 @@ func (m *GridAttributes) GetReady() uint64 { return 0 } +func (m *GridAttributes) GetCheckpointBlock() uint64 { + if m != nil { + return m.CheckpointBlock + } + return 0 +} + func init() { proto.RegisterType((*GridRecord)(nil), "structs.structs.GridRecord") proto.RegisterType((*GridAttributes)(nil), "structs.structs.GridAttributes") @@ -231,31 +239,32 @@ func init() { func init() { proto.RegisterFile("structs/structs/grid.proto", fileDescriptor_e87ac0223f374538) } var fileDescriptor_e87ac0223f374538 = []byte{ - // 372 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x92, 0xcf, 0x4e, 0xc2, 0x40, - 0x10, 0xc6, 0xa9, 0x14, 0x84, 0x41, 0xc1, 0x6c, 0x88, 0x6e, 0x38, 0x34, 0x84, 0x13, 0x27, 0x88, - 0x9a, 0x78, 0xc7, 0x3f, 0x31, 0x26, 0xc6, 0x98, 0x7a, 0xf3, 0xb6, 0x6c, 0x57, 0xd2, 0xa4, 0xd9, - 0x6d, 0xb6, 0x5b, 0xa5, 0x6f, 0xe1, 0x63, 0x79, 0xe4, 0xe8, 0xd1, 0xc0, 0x8b, 0x98, 0x9d, 0xb6, - 0xd8, 0x28, 0x9e, 0x76, 0xbe, 0xdf, 0xf7, 0xcd, 0x76, 0xba, 0x19, 0x18, 0x24, 0x46, 0xa7, 0xdc, - 0x24, 0xd3, 0xf2, 0x5c, 0xe8, 0x30, 0x98, 0xc4, 0x5a, 0x19, 0x45, 0x7a, 0x05, 0x9b, 0x14, 0xe7, - 0xa0, 0xbf, 0x50, 0x0b, 0x85, 0xde, 0xd4, 0x56, 0x79, 0x6c, 0x74, 0x0d, 0x70, 0xab, 0xc3, 0xc0, - 0x17, 0x5c, 0xe9, 0x80, 0x0c, 0xa1, 0xc3, 0x8c, 0xd1, 0xe1, 0x3c, 0x35, 0xe2, 0x2e, 0xa0, 0xce, - 0xd0, 0x19, 0xb7, 0xfd, 0x2a, 0x22, 0x7d, 0x68, 0xbc, 0xb2, 0x28, 0x15, 0x74, 0x6f, 0xe8, 0x8c, - 0x5d, 0x3f, 0x17, 0xa3, 0x55, 0x1d, 0xba, 0xf6, 0x9a, 0x59, 0x99, 0x4c, 0xc8, 0x11, 0xd4, 0x95, - 0x16, 0x78, 0x85, 0xeb, 0xdb, 0x92, 0x10, 0x70, 0x5f, 0x52, 0x11, 0x15, 0x9d, 0x58, 0x93, 0x01, - 0xb4, 0x38, 0x8b, 0x19, 0x0f, 0x4d, 0x46, 0xeb, 0xc8, 0xb7, 0xda, 0xe6, 0x23, 0xc5, 0x02, 0xea, - 0xe6, 0x79, 0x5b, 0xdb, 0x01, 0x8b, 0xff, 0xb9, 0xb7, 0x56, 0x03, 0xad, 0x2a, 0xb2, 0x03, 0xc6, - 0xea, 0x4d, 0x68, 0xda, 0xcc, 0x07, 0x44, 0x41, 0x26, 0x40, 0xb8, 0x92, 0x52, 0x70, 0x13, 0x2a, - 0x79, 0x55, 0x7e, 0x71, 0x1f, 0x23, 0x3b, 0x1c, 0x32, 0x86, 0x5e, 0x85, 0xaa, 0x54, 0x1a, 0xda, - 0xc2, 0xf0, 0x6f, 0x4c, 0x2e, 0xe0, 0x98, 0x45, 0x91, 0xe2, 0xcc, 0xa2, 0x47, 0x15, 0x4a, 0x23, - 0xf4, 0x93, 0x61, 0xda, 0xd0, 0x36, 0x36, 0xfc, 0xe3, 0x92, 0x33, 0xe8, 0xff, 0x71, 0x6e, 0x64, - 0x40, 0x01, 0xbb, 0x76, 0x7a, 0xc4, 0x03, 0x88, 0xb5, 0x5a, 0x66, 0x0f, 0x4a, 0x72, 0x41, 0x3b, - 0x98, 0xac, 0x10, 0xeb, 0x47, 0x2c, 0x31, 0x33, 0x1c, 0x8f, 0x1e, 0xe4, 0xfe, 0x0f, 0xb1, 0x6f, - 0x23, 0xb1, 0xf5, 0x30, 0x7f, 0x1b, 0x14, 0x96, 0x6a, 0xc1, 0x82, 0x8c, 0x76, 0x73, 0x8a, 0xe2, - 0xf2, 0xf4, 0x63, 0xed, 0x39, 0xab, 0xb5, 0xe7, 0x7c, 0xad, 0x3d, 0xe7, 0x7d, 0xe3, 0xd5, 0x56, - 0x1b, 0xaf, 0xf6, 0xb9, 0xf1, 0x6a, 0xcf, 0x27, 0xe5, 0xb6, 0x2d, 0xb7, 0x7b, 0x67, 0xb2, 0x58, - 0x24, 0xf3, 0x26, 0xae, 0xd4, 0xf9, 0x77, 0x00, 0x00, 0x00, 0xff, 0xff, 0xb0, 0xa5, 0x57, 0x08, - 0x97, 0x02, 0x00, 0x00, + // 394 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x92, 0x41, 0xaf, 0xd2, 0x40, + 0x10, 0xc7, 0xa9, 0x14, 0x84, 0x41, 0xc1, 0x6c, 0x88, 0x6e, 0x38, 0x34, 0x84, 0x13, 0x27, 0x88, + 0x9a, 0x78, 0x07, 0x35, 0xc6, 0xc4, 0x18, 0x53, 0x6f, 0xde, 0x96, 0xed, 0x8a, 0x0d, 0xcd, 0x4e, + 0xb3, 0xdd, 0x2a, 0xfd, 0x16, 0x7e, 0x2c, 0x8f, 0x1c, 0x3d, 0xbe, 0xc0, 0xb7, 0x78, 0xa7, 0x97, + 0x9d, 0xb6, 0xbc, 0xbe, 0xf7, 0x78, 0xa7, 0x9d, 0xf9, 0xfd, 0xff, 0xb3, 0x3b, 0x3b, 0x19, 0x98, + 0x64, 0xd6, 0xe4, 0xd2, 0x66, 0xcb, 0xfa, 0xdc, 0x9a, 0x38, 0x5a, 0xa4, 0x06, 0x2d, 0xb2, 0x51, + 0xc5, 0x16, 0xd5, 0x39, 0x19, 0x6f, 0x71, 0x8b, 0xa4, 0x2d, 0x5d, 0x54, 0xda, 0x66, 0x1f, 0x00, + 0x3e, 0x99, 0x38, 0x0a, 0x95, 0x44, 0x13, 0xb1, 0x29, 0x0c, 0x84, 0xb5, 0x26, 0xde, 0xe4, 0x56, + 0x7d, 0x8e, 0xb8, 0x37, 0xf5, 0xe6, 0xfd, 0xb0, 0x89, 0xd8, 0x18, 0x3a, 0xbf, 0x45, 0x92, 0x2b, + 0xfe, 0x64, 0xea, 0xcd, 0xfd, 0xb0, 0x4c, 0x66, 0xd7, 0x6d, 0x18, 0xba, 0x6b, 0x56, 0xb5, 0x33, + 0x63, 0x2f, 0xa0, 0x8d, 0x46, 0xd1, 0x15, 0x7e, 0xe8, 0x42, 0xc6, 0xc0, 0xff, 0x99, 0xab, 0xa4, + 0xaa, 0xa4, 0x98, 0x4d, 0xa0, 0x27, 0x45, 0x2a, 0x64, 0x6c, 0x0b, 0xde, 0x26, 0x7e, 0xce, 0x9d, + 0x3f, 0x41, 0x11, 0x71, 0xbf, 0xf4, 0xbb, 0xd8, 0x35, 0x58, 0xfd, 0xe7, 0x8b, 0x93, 0x3a, 0x24, + 0x35, 0x91, 0x6b, 0x30, 0xc5, 0x3f, 0xca, 0xf0, 0x6e, 0xd9, 0x20, 0x25, 0x6c, 0x01, 0x4c, 0xa2, + 0xd6, 0x4a, 0xda, 0x18, 0xf5, 0xfb, 0xfa, 0xc5, 0xa7, 0x64, 0xb9, 0xa0, 0xb0, 0x39, 0x8c, 0x1a, + 0x14, 0x73, 0x6d, 0x79, 0x8f, 0xcc, 0xf7, 0x31, 0x7b, 0x07, 0x2f, 0x45, 0x92, 0xa0, 0x14, 0x0e, + 0x7d, 0xc3, 0x58, 0x5b, 0x65, 0xbe, 0x5b, 0x61, 0x2c, 0xef, 0x53, 0xc1, 0x23, 0x2a, 0x7b, 0x03, + 0xe3, 0x07, 0xca, 0x47, 0x1d, 0x71, 0xa0, 0xaa, 0x8b, 0x1a, 0x0b, 0x00, 0x52, 0x83, 0xfb, 0xe2, + 0x2b, 0x6a, 0xa9, 0xf8, 0x80, 0x9c, 0x0d, 0xe2, 0xf4, 0x44, 0x64, 0x76, 0x45, 0xed, 0xf1, 0x67, + 0xa5, 0x7e, 0x4b, 0xdc, 0x6c, 0x34, 0x95, 0x3e, 0x2f, 0x67, 0x43, 0x89, 0xa3, 0x46, 0x89, 0xa8, + 0xe0, 0xc3, 0x92, 0x52, 0x42, 0x13, 0xf8, 0xa5, 0xe4, 0x2e, 0x75, 0xcf, 0xaf, 0x13, 0x94, 0x3b, + 0x3e, 0xaa, 0x26, 0x70, 0x17, 0xaf, 0x5f, 0xff, 0x3b, 0x06, 0xde, 0xe1, 0x18, 0x78, 0x57, 0xc7, + 0xc0, 0xfb, 0x7b, 0x0a, 0x5a, 0x87, 0x53, 0xd0, 0xfa, 0x7f, 0x0a, 0x5a, 0x3f, 0x5e, 0xd5, 0x7b, + 0xb9, 0x3f, 0x6f, 0xa8, 0x2d, 0x52, 0x95, 0x6d, 0xba, 0xb4, 0x7c, 0x6f, 0x6f, 0x02, 0x00, 0x00, + 0xff, 0xff, 0x49, 0xf3, 0x53, 0x1b, 0xc1, 0x02, 0x00, 0x00, } func (m *GridRecord) Marshal() (dAtA []byte, err error) { @@ -313,6 +322,11 @@ func (m *GridAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = i var l int _ = l + if m.CheckpointBlock != 0 { + i = encodeVarintGrid(dAtA, i, uint64(m.CheckpointBlock)) + i-- + dAtA[i] = 0x78 + } if m.Ready != 0 { i = encodeVarintGrid(dAtA, i, uint64(m.Ready)) i-- @@ -461,6 +475,9 @@ func (m *GridAttributes) Size() (n int) { if m.Ready != 0 { n += 1 + sovGrid(uint64(m.Ready)) } + if m.CheckpointBlock != 0 { + n += 1 + sovGrid(uint64(m.CheckpointBlock)) + } return n } @@ -866,6 +883,25 @@ func (m *GridAttributes) Unmarshal(dAtA []byte) error { break } } + case 15: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field CheckpointBlock", wireType) + } + m.CheckpointBlock = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGrid + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.CheckpointBlock |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } default: iNdEx = preIndex skippy, err := skipGrid(dAtA[iNdEx:]) diff --git a/x/structs/types/infusion.go b/x/structs/types/infusion.go index 36b51a43..2c874543 100644 --- a/x/structs/types/infusion.go +++ b/x/structs/types/infusion.go @@ -17,6 +17,8 @@ func (a *Infusion) SetCommission(newCommission math.LegacyDec) ( oldRatio = a.Ratio oldInfusionPower = a.Power + + oldCommissionPower = a.Commission.Mul(math.LegacyNewDecFromInt(math.NewIntFromUint64(oldInfusionPower))).RoundInt().Uint64() oldPlayerPower = a.Power - oldCommissionPower diff --git a/x/structs/types/keys.go b/x/structs/types/keys.go index d60ed91d..09ec89da 100644 --- a/x/structs/types/keys.go +++ b/x/structs/types/keys.go @@ -46,6 +46,10 @@ const ( // This annoys me but whatever CommandStruct = "Command" + + // Punishment Charge + PlayerResumeCharge = 666 + ) var ( @@ -76,7 +80,8 @@ const ( ReactorCountKey = "Reactor/count/" ReactorValidatorKey = "Reactor/validator/" - ReactorFuelToEnergyConversion = 100 + // 1 gram of alpha (1,000,000 microgams) = 1,000 watts of energy (1,000,000 milliwatts) + ReactorFuelToEnergyConversion = 1 ) const ( @@ -106,14 +111,18 @@ const ( GuildKey = "Guild/value/" GuildCountKey = "Guild/count/" GuildMembershipApplicationKey = "Guild/membershipApplication/" + + GuildBankCollateralPool = "structs/Guild/Collateral/" ) const ( PlayerKey = "Player/value/" PlayerCountKey = "Player/count/" + PlayerHaltKey = "Player/halt/" - PlayerPassiveDraw = 25 + // 25,000 milliwatts + PlayerPassiveDraw = 25000 ) const ( @@ -137,7 +146,8 @@ const ( StructAttributeKey = "Struct/attribute/" StructDestroyedQueueKey = "Struct/destroyed/" - StructFuelToEnergyConversion = 200 + // No longer needed. Part of Struct Type Def + //StructFuelToEnergyConversion = 200 ) const ( @@ -145,6 +155,22 @@ const ( StructTypeCountKey = "StructType/count/" ) +const ( + ProviderKey = "Provider/value/" + ProviderCountKey = "Provider/count/" + + ProviderGuildAccessKey = "Provider/guild/" + + ProviderCollateralPool = "structs/Provider/Collateral/" + ProviderEarningsPool = "structs/Provider/Earnings/" +) + +const ( + AgreementKey = "Agreement/value/" + AgreementCountKey = "Agreement/count/" + AgreementProviderKey = "Agreement/source/" + AgreementExpirationKey = "Agreement/expiration/" +) /* @@ -164,8 +190,11 @@ var ObjectType_enum = map[string]ObjectType{ "infusion": ObjectType_infusion, "address": ObjectType_address, "fleet": ObjectType_fleet, + "provider": ObjectType_provider, + "agreement": ObjectType_agreement, } + // Doing the same for GridAttributeType var GridAttributeType_enum = map[string]GridAttributeType{ "ore": GridAttributeType_ore, @@ -182,14 +211,16 @@ var GridAttributeType_enum = map[string]GridAttributeType{ "lastAction": GridAttributeType_lastAction, "nonce": GridAttributeType_nonce, "ready": GridAttributeType_ready, + "checkpointBlock": GridAttributeType_checkpointBlock, } // Doing the same for AllocationType var AllocationType_enum = map[string]AllocationType{ - "static": AllocationType_static, - "dynamic": AllocationType_dynamic, - "automated": AllocationType_automated, + "static": AllocationType_static, + "dynamic": AllocationType_dynamic, + "automated": AllocationType_automated, + "providerAgreement": AllocationType_providerAgreement, } @@ -372,3 +403,10 @@ var TechPowerGeneration_enum = map[string]TechPowerGeneration { "largeGenerator": TechPowerGeneration_largeGenerator, } + + +var ProviderAccessPolicy_enum = map[string]ProviderAccessPolicy { + "openMarket": ProviderAccessPolicy_openMarket, + "guildMarket": ProviderAccessPolicy_guildMarket, + "closedMarket": ProviderAccessPolicy_closedMarket, +} diff --git a/x/structs/types/keys.pb.go b/x/structs/types/keys.pb.go index 00b77ba9..3b9d3a4d 100644 --- a/x/structs/types/keys.pb.go +++ b/x/structs/types/keys.pb.go @@ -34,19 +34,23 @@ const ( ObjectType_infusion ObjectType = 7 ObjectType_address ObjectType = 8 ObjectType_fleet ObjectType = 9 + ObjectType_provider ObjectType = 10 + ObjectType_agreement ObjectType = 11 ) var ObjectType_name = map[int32]string{ - 0: "guild", - 1: "player", - 2: "planet", - 3: "reactor", - 4: "substation", - 5: "struct", - 6: "allocation", - 7: "infusion", - 8: "address", - 9: "fleet", + 0: "guild", + 1: "player", + 2: "planet", + 3: "reactor", + 4: "substation", + 5: "struct", + 6: "allocation", + 7: "infusion", + 8: "address", + 9: "fleet", + 10: "provider", + 11: "agreement", } var ObjectType_value = map[string]int32{ @@ -60,6 +64,8 @@ var ObjectType_value = map[string]int32{ "infusion": 7, "address": 8, "fleet": 9, + "provider": 10, + "agreement": 11, } func (x ObjectType) String() string { @@ -87,6 +93,7 @@ const ( GridAttributeType_lastAction GridAttributeType = 11 GridAttributeType_nonce GridAttributeType = 12 GridAttributeType_ready GridAttributeType = 13 + GridAttributeType_checkpointBlock GridAttributeType = 14 ) var GridAttributeType_name = map[int32]string{ @@ -104,6 +111,7 @@ var GridAttributeType_name = map[int32]string{ 11: "lastAction", 12: "nonce", 13: "ready", + 14: "checkpointBlock", } var GridAttributeType_value = map[string]int32{ @@ -121,6 +129,7 @@ var GridAttributeType_value = map[string]int32{ "lastAction": 11, "nonce": 12, "ready": 13, + "checkpointBlock": 14, } func (x GridAttributeType) String() string { @@ -134,21 +143,24 @@ func (GridAttributeType) EnumDescriptor() ([]byte, []int) { type AllocationType int32 const ( - AllocationType_static AllocationType = 0 - AllocationType_dynamic AllocationType = 1 - AllocationType_automated AllocationType = 2 + AllocationType_static AllocationType = 0 + AllocationType_dynamic AllocationType = 1 + AllocationType_automated AllocationType = 2 + AllocationType_providerAgreement AllocationType = 3 ) var AllocationType_name = map[int32]string{ 0: "static", 1: "dynamic", 2: "automated", + 3: "providerAgreement", } var AllocationType_value = map[string]int32{ - "static": 0, - "dynamic": 1, - "automated": 2, + "static": 0, + "dynamic": 1, + "automated": 2, + "providerAgreement": 3, } func (x AllocationType) String() string { @@ -803,6 +815,34 @@ func (TechPowerGeneration) EnumDescriptor() ([]byte, []int) { return fileDescriptor_d2b5c851dc116405, []int{22} } +type ProviderAccessPolicy int32 + +const ( + ProviderAccessPolicy_openMarket ProviderAccessPolicy = 0 + ProviderAccessPolicy_guildMarket ProviderAccessPolicy = 1 + ProviderAccessPolicy_closedMarket ProviderAccessPolicy = 2 +) + +var ProviderAccessPolicy_name = map[int32]string{ + 0: "openMarket", + 1: "guildMarket", + 2: "closedMarket", +} + +var ProviderAccessPolicy_value = map[string]int32{ + "openMarket": 0, + "guildMarket": 1, + "closedMarket": 2, +} + +func (x ProviderAccessPolicy) String() string { + return proto.EnumName(ProviderAccessPolicy_name, int32(x)) +} + +func (ProviderAccessPolicy) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_d2b5c851dc116405, []int{23} +} + func init() { proto.RegisterEnum("structs.structs.ObjectType", ObjectType_name, ObjectType_value) proto.RegisterEnum("structs.structs.GridAttributeType", GridAttributeType_name, GridAttributeType_value) @@ -827,101 +867,106 @@ func init() { proto.RegisterEnum("structs.structs.TechPlanetaryMining", TechPlanetaryMining_name, TechPlanetaryMining_value) proto.RegisterEnum("structs.structs.TechPlanetaryRefineries", TechPlanetaryRefineries_name, TechPlanetaryRefineries_value) proto.RegisterEnum("structs.structs.TechPowerGeneration", TechPowerGeneration_name, TechPowerGeneration_value) + proto.RegisterEnum("structs.structs.ProviderAccessPolicy", ProviderAccessPolicy_name, ProviderAccessPolicy_value) } func init() { proto.RegisterFile("structs/structs/keys.proto", fileDescriptor_d2b5c851dc116405) } var fileDescriptor_d2b5c851dc116405 = []byte{ - // 1450 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x56, 0xcd, 0x6e, 0x1c, 0xc7, - 0x11, 0xde, 0xd9, 0x3f, 0x72, 0x8b, 0xa4, 0xd8, 0x6c, 0xfe, 0x29, 0x0a, 0x42, 0x40, 0x08, 0xa4, - 0x24, 0x83, 0x40, 0x4a, 0x90, 0x1c, 0x04, 0x21, 0x50, 0xc2, 0x1f, 0x49, 0x90, 0x20, 0x4a, 0x0a, - 0x29, 0x41, 0x40, 0x6e, 0xbd, 0x3d, 0xb5, 0xc3, 0x0e, 0x67, 0xba, 0x27, 0xdd, 0x3d, 0x4b, 0x6d, - 0xae, 0xbe, 0x1b, 0xbe, 0xfb, 0x19, 0x7c, 0xf1, 0x53, 0xf8, 0xa8, 0xa3, 0xe1, 0x93, 0x21, 0x3d, - 0x82, 0x5f, 0xc0, 0xa8, 0xee, 0xd9, 0x5d, 0x2e, 0x09, 0x18, 0xd6, 0x69, 0x77, 0xbe, 0x9e, 0xaa, - 0xfa, 0xba, 0xea, 0xab, 0xaa, 0x81, 0x5b, 0xce, 0xdb, 0x5a, 0x7a, 0x77, 0x7f, 0xfa, 0x7b, 0x8e, - 0x13, 0x77, 0xaf, 0xb2, 0xc6, 0x1b, 0xbe, 0xde, 0x60, 0xf7, 0x9a, 0xdf, 0x5b, 0x5b, 0xb9, 0xc9, - 0x4d, 0x38, 0xbb, 0x4f, 0xff, 0xe2, 0x6b, 0xe9, 0x97, 0x09, 0x80, 0x19, 0xfe, 0x17, 0xa5, 0x7f, - 0x33, 0xa9, 0x90, 0x0f, 0xa0, 0x97, 0xd7, 0xaa, 0xc8, 0x58, 0x8b, 0x03, 0xf4, 0xab, 0x42, 0x4c, - 0xd0, 0xb2, 0xa4, 0xf9, 0xaf, 0xd1, 0xb3, 0x36, 0x5f, 0x81, 0x25, 0x8b, 0x42, 0x7a, 0x63, 0x59, - 0x87, 0xdf, 0x00, 0x70, 0xf5, 0xd0, 0x79, 0xe1, 0x95, 0xd1, 0xac, 0x4b, 0x2f, 0xc6, 0x78, 0xac, - 0x47, 0x67, 0xa2, 0x28, 0x8c, 0x8c, 0x67, 0x7d, 0xbe, 0x0a, 0xcb, 0x4a, 0x8f, 0x6a, 0x47, 0x4f, - 0x4b, 0xe4, 0x46, 0x64, 0x99, 0x45, 0xe7, 0xd8, 0x32, 0x85, 0x1d, 0x15, 0x88, 0x9e, 0x0d, 0xd2, - 0x9f, 0x12, 0xd8, 0xc8, 0xad, 0xca, 0xf6, 0xbd, 0xb7, 0x6a, 0x58, 0x7b, 0x0c, 0xbc, 0x96, 0xa0, - 0x63, 0x2c, 0xb2, 0x16, 0x5f, 0x86, 0xee, 0xa8, 0xc6, 0x82, 0x25, 0xe4, 0x4e, 0x8a, 0x4a, 0x48, - 0xe5, 0x27, 0xac, 0x4d, 0x78, 0x61, 0x44, 0xc6, 0x3a, 0x7c, 0x1d, 0x56, 0x9a, 0x2b, 0xbf, 0x20, - 0xa0, 0x4b, 0xce, 0x2b, 0x73, 0x81, 0x96, 0xf5, 0xf8, 0x0e, 0x70, 0x69, 0xb4, 0x46, 0x49, 0x94, - 0x0e, 0xa7, 0xd6, 0x7d, 0xbe, 0x09, 0xeb, 0x97, 0x70, 0x53, 0x6b, 0xcf, 0x96, 0xf8, 0x2d, 0xd8, - 0x99, 0xf3, 0x7f, 0x6d, 0x94, 0xf6, 0x68, 0x4f, 0xbd, 0xb0, 0x9e, 0x2d, 0xf3, 0x9b, 0xb0, 0x75, - 0xed, 0xec, 0xb1, 0xce, 0xd8, 0x80, 0x6e, 0x5d, 0x59, 0xf3, 0x7e, 0xf2, 0xd2, 0x68, 0x89, 0x0c, - 0xe8, 0xb9, 0x10, 0xce, 0xef, 0x07, 0xd7, 0x6c, 0x85, 0xd8, 0xe8, 0x70, 0xb4, 0x4a, 0x7f, 0x2d, - 0x8a, 0x6c, 0xc2, 0xd6, 0xd2, 0x07, 0x70, 0x63, 0xee, 0x2f, 0xdc, 0x38, 0x64, 0x52, 0x78, 0x25, - 0x59, 0x8b, 0x72, 0x95, 0x4d, 0xb4, 0x28, 0x95, 0x64, 0x09, 0x5f, 0x83, 0x81, 0xa8, 0xbd, 0x29, - 0x85, 0xc7, 0x8c, 0xb5, 0xd3, 0x7f, 0xc1, 0x56, 0xa8, 0xd8, 0x73, 0xa3, 0xf4, 0xc1, 0xa4, 0x12, - 0xce, 0xbd, 0xc0, 0x31, 0x16, 0x64, 0x2f, 0x0b, 0xe3, 0x90, 0x4a, 0xc9, 0x60, 0xb5, 0x42, 0x5b, - 0x2a, 0x47, 0xb9, 0xc7, 0x2c, 0x16, 0xb4, 0xc4, 0x72, 0x88, 0x96, 0xb5, 0xd3, 0x7f, 0xc2, 0xda, - 0xcc, 0xc3, 0x34, 0xb4, 0xd2, 0x63, 0xe5, 0x31, 0x86, 0xb6, 0xf8, 0xbf, 0x1a, 0x9d, 0x8f, 0x56, - 0x99, 0xb2, 0x28, 0x49, 0x06, 0x94, 0x55, 0xba, 0x27, 0xeb, 0xa4, 0xcf, 0x80, 0x5b, 0xcc, 0x95, - 0xf3, 0x36, 0xd0, 0x3f, 0xf5, 0xc2, 0xd7, 0x8e, 0xea, 0x53, 0x59, 0x53, 0x35, 0x14, 0x56, 0x61, - 0x59, 0x54, 0x95, 0x35, 0xe3, 0x69, 0xf8, 0x0c, 0xb5, 0xa2, 0x0b, 0xc4, 0x08, 0x63, 0x73, 0x8e, - 0x19, 0xeb, 0xa4, 0x8f, 0xa1, 0x27, 0xca, 0xa1, 0xf2, 0x54, 0x4f, 0x6d, 0x34, 0x31, 0x18, 0x40, - 0xef, 0x42, 0xf8, 0x20, 0x43, 0x2a, 0xb2, 0xd0, 0x64, 0xb4, 0x04, 0x1d, 0xa1, 0x48, 0x80, 0x03, - 0xe8, 0xb9, 0x4a, 0x48, 0x8c, 0x75, 0xa6, 0x0c, 0x16, 0xac, 0x97, 0x22, 0x80, 0x15, 0x2a, 0x6b, - 0x98, 0xac, 0xc1, 0x40, 0x69, 0xe5, 0x55, 0xc8, 0x58, 0xb8, 0x92, 0xd1, 0xb9, 0x51, 0x3a, 0x67, - 0x6d, 0xbe, 0x05, 0x4c, 0x78, 0x2f, 0xe4, 0x39, 0xda, 0x23, 0x1c, 0x61, 0x78, 0x25, 0xe1, 0x1c, - 0x6e, 0x04, 0xfb, 0x5a, 0x4a, 0x74, 0x6e, 0x54, 0x17, 0xac, 0xc3, 0x37, 0x60, 0x2d, 0xc3, 0x52, - 0x15, 0xca, 0x0b, 0xab, 0xfe, 0x8f, 0x19, 0xeb, 0xa6, 0x7f, 0x84, 0xd5, 0xd8, 0x16, 0x4d, 0x20, - 0x80, 0xbe, 0x90, 0x5e, 0x8d, 0x31, 0x5e, 0x58, 0x9a, 0xb2, 0x2a, 0xd0, 0x23, 0x4b, 0xd2, 0xbb, - 0xb0, 0x12, 0x04, 0x3e, 0x67, 0x14, 0xf3, 0x44, 0x9a, 0x08, 0xa2, 0x16, 0x17, 0x62, 0xc2, 0x92, - 0xf4, 0xeb, 0x04, 0x36, 0xa3, 0x7a, 0x17, 0xf5, 0x0f, 0xd0, 0x3f, 0x43, 0x51, 0xf8, 0xb3, 0xd8, - 0x98, 0x2e, 0xb8, 0x61, 0x09, 0x09, 0x77, 0x58, 0x18, 0x79, 0x1e, 0x74, 0x79, 0x10, 0x3a, 0xb7, - 0xcd, 0xb7, 0x61, 0x63, 0x0e, 0xbe, 0xb2, 0x78, 0xac, 0x34, 0xb2, 0x0e, 0xdf, 0x85, 0xcd, 0x05, - 0xf8, 0x04, 0x47, 0x74, 0xd0, 0x25, 0x31, 0xd3, 0x30, 0x40, 0xe9, 0x31, 0x3b, 0x0d, 0xc1, 0x9f, - 0xe9, 0x0c, 0xdf, 0xb3, 0x1e, 0xf1, 0xf4, 0x93, 0x0a, 0x63, 0x47, 0xf4, 0xd3, 0x1f, 0x3a, 0xb0, - 0x19, 0x2f, 0xbc, 0xc8, 0x6e, 0x13, 0xd6, 0x23, 0x2c, 0xec, 0xe4, 0xf4, 0x4c, 0x61, 0x98, 0x1f, - 0xbf, 0x81, 0x6d, 0x8b, 0x95, 0x50, 0xf6, 0x25, 0xfa, 0x0b, 0x63, 0xcf, 0xff, 0x5d, 0x0b, 0xed, - 0xa9, 0xdd, 0x12, 0xfe, 0x5b, 0xd8, 0xcd, 0x70, 0x84, 0xda, 0xa9, 0x31, 0x1e, 0x0a, 0xad, 0x8d, - 0x9e, 0x1d, 0xb6, 0x79, 0x0a, 0x77, 0xa5, 0x31, 0x36, 0x53, 0x9a, 0x8a, 0xf1, 0xb4, 0x30, 0x43, - 0x51, 0x44, 0xa7, 0x57, 0x1d, 0x75, 0xf8, 0x5f, 0xe0, 0xcf, 0x85, 0xb9, 0x78, 0x65, 0x87, 0xca, - 0x1f, 0x88, 0xa2, 0x50, 0xce, 0x2b, 0xe9, 0x9e, 0x51, 0x33, 0x4a, 0xac, 0xbc, 0xb9, 0x16, 0xba, - 0xcb, 0x1f, 0xc0, 0xdf, 0x45, 0x36, 0x16, 0x5a, 0x62, 0xf6, 0xe2, 0x73, 0x2c, 0x7b, 0xfc, 0x1f, - 0xf0, 0xe0, 0xd7, 0xc4, 0x6a, 0x34, 0x73, 0x22, 0x3c, 0xbe, 0xac, 0x4b, 0xb4, 0x82, 0x06, 0x65, - 0x9f, 0x3f, 0x82, 0x87, 0x9f, 0x69, 0x7d, 0x84, 0xda, 0x94, 0x94, 0x04, 0x63, 0xd9, 0x12, 0xbf, - 0x0d, 0xbf, 0x33, 0x64, 0x2c, 0x8a, 0xe7, 0xa2, 0x2c, 0x95, 0xce, 0x1b, 0xf5, 0xcc, 0x08, 0x2e, - 0xf3, 0x3f, 0xc1, 0x9d, 0xe9, 0xd5, 0x5e, 0xfd, 0xe2, 0xab, 0x03, 0xd2, 0xf7, 0x5c, 0x0a, 0x27, - 0x42, 0x65, 0x0c, 0xd2, 0x87, 0xc0, 0x3c, 0xca, 0xb3, 0x77, 0x28, 0x2a, 0xa3, 0x4f, 0x27, 0xce, - 0x63, 0x49, 0x9a, 0xaf, 0xac, 0x2a, 0x85, 0x9d, 0x44, 0x98, 0xb5, 0xa8, 0xd6, 0x0e, 0xa5, 0xd1, - 0xd9, 0x1c, 0x4c, 0xd2, 0x03, 0xd8, 0x98, 0xdb, 0x1e, 0x1a, 0xed, 0xad, 0x29, 0xe8, 0x4d, 0x6d, - 0x16, 0xa0, 0x28, 0xde, 0xbc, 0x56, 0x59, 0xe8, 0xb2, 0x55, 0x58, 0xae, 0x75, 0xf3, 0xd4, 0x4e, - 0x6b, 0xe0, 0xe4, 0x63, 0x3f, 0x34, 0x50, 0x34, 0xb3, 0x13, 0xea, 0x4f, 0x6d, 0x16, 0x31, 0xd6, - 0x22, 0xfe, 0xd1, 0x6e, 0x86, 0x25, 0xf4, 0xe6, 0xd4, 0xdb, 0x0c, 0x6d, 0x87, 0x69, 0x19, 0xfa, - 0xfb, 0xa4, 0xd6, 0xac, 0x43, 0x93, 0xd0, 0x61, 0x31, 0x3a, 0xc2, 0x66, 0x4b, 0x75, 0xd3, 0x2f, - 0x12, 0xd8, 0xa4, 0xb8, 0xaf, 0x85, 0x73, 0x97, 0x03, 0x6f, 0xc3, 0x86, 0x36, 0x57, 0x40, 0xd6, - 0xa2, 0x8c, 0x48, 0xea, 0x06, 0xb4, 0xfb, 0xc1, 0x2d, 0x4b, 0xa8, 0xaf, 0x9c, 0xb7, 0x46, 0xe7, - 0x87, 0x0b, 0x07, 0x6d, 0xea, 0x80, 0x69, 0x41, 0x16, 0x8f, 0x3a, 0xd3, 0xad, 0x70, 0x82, 0xce, - 0x58, 0x62, 0xf1, 0x6d, 0x12, 0xb3, 0xff, 0x56, 0x2b, 0x7f, 0x14, 0x5a, 0x03, 0x1d, 0xdd, 0x52, - 0x9b, 0xcb, 0x08, 0x6b, 0x11, 0xad, 0x59, 0xeb, 0x1c, 0x0b, 0x8d, 0xf5, 0x38, 0x4c, 0xc6, 0x0d, - 0x58, 0x73, 0x2a, 0xd7, 0xb3, 0x92, 0xb3, 0x76, 0x18, 0x46, 0xb6, 0x34, 0x35, 0x4d, 0xc9, 0x9b, - 0xb0, 0xa5, 0x74, 0x1c, 0xdd, 0x87, 0xa6, 0x1c, 0x0a, 0x7f, 0x6c, 0xb2, 0xba, 0xa0, 0xde, 0x0f, - 0xdb, 0x32, 0x4c, 0x96, 0x63, 0x93, 0x21, 0xeb, 0x51, 0x1a, 0x2b, 0xb4, 0xaa, 0x44, 0x8f, 0xf6, - 0x09, 0x6a, 0x49, 0xce, 0xc2, 0x82, 0xb4, 0xa8, 0xf4, 0xc8, 0x58, 0x89, 0xd9, 0x3b, 0x51, 0x14, - 0x8e, 0x2d, 0xa5, 0xdf, 0x24, 0xb0, 0x43, 0xa4, 0xc3, 0x2c, 0x71, 0x68, 0xc7, 0x38, 0xa3, 0x7e, - 0x13, 0xb6, 0xb4, 0xb9, 0x8e, 0xb3, 0x16, 0xbf, 0x03, 0xb7, 0x2f, 0xb5, 0x77, 0x73, 0x7e, 0x82, - 0xae, 0x32, 0xda, 0xe1, 0x1b, 0x1b, 0x26, 0x31, 0x4b, 0xc8, 0x81, 0x15, 0x95, 0xca, 0xa6, 0x27, - 0xaf, 0x85, 0x3c, 0x17, 0x39, 0xb2, 0x36, 0x65, 0x25, 0x0e, 0xd9, 0x53, 0x29, 0xb4, 0x26, 0x7a, - 0x1d, 0xca, 0x4a, 0x69, 0xb4, 0xf2, 0xc6, 0xce, 0xe5, 0xce, 0xba, 0x61, 0xcc, 0x5a, 0x3c, 0xa8, - 0x35, 0xf9, 0xec, 0xa5, 0x25, 0x6c, 0x87, 0x4a, 0x4f, 0x47, 0xd5, 0x8c, 0xed, 0x0e, 0x70, 0x6d, - 0xae, 0xc2, 0x51, 0xeb, 0x57, 0xe6, 0x14, 0x4b, 0xf8, 0x1f, 0xe0, 0xf7, 0xd7, 0x3a, 0xf9, 0x7a, - 0x23, 0xb3, 0x76, 0xfa, 0x36, 0x86, 0x3b, 0xf5, 0xc6, 0x8a, 0x1c, 0x9f, 0x08, 0x49, 0xbb, 0x43, - 0xa1, 0x23, 0xc1, 0x68, 0x73, 0x0d, 0x8e, 0x7b, 0x20, 0x33, 0x41, 0x53, 0x34, 0xef, 0x85, 0xce, - 0x69, 0x3f, 0xd3, 0x2d, 0xc2, 0xee, 0x38, 0x10, 0x0e, 0x59, 0x27, 0x7d, 0xd4, 0xe8, 0x75, 0x4a, - 0xf7, 0x58, 0x51, 0x12, 0x1a, 0xbd, 0x2e, 0x82, 0x71, 0xf5, 0x9b, 0xb0, 0x01, 0x94, 0xce, 0x4f, - 0x54, 0xce, 0x92, 0xf4, 0x10, 0x76, 0x17, 0xec, 0xe3, 0x1a, 0xb0, 0x33, 0x62, 0x57, 0x0f, 0x48, - 0xf5, 0xeb, 0xb0, 0x62, 0xa6, 0x0b, 0x83, 0x9a, 0x2d, 0x55, 0x0d, 0x09, 0xfa, 0xae, 0x7a, 0x8a, - 0x1a, 0xe3, 0xe6, 0x6f, 0x48, 0x2c, 0x82, 0xb1, 0x5d, 0x5d, 0x29, 0x8a, 0xa2, 0x01, 0x8d, 0x8d, - 0x9b, 0xab, 0xc4, 0x4c, 0xd5, 0xe5, 0x1c, 0x0c, 0xb5, 0x2d, 0x84, 0xcd, 0x71, 0x8e, 0x75, 0x0e, - 0xfe, 0xfa, 0xdd, 0xc7, 0xbd, 0xe4, 0xc3, 0xc7, 0xbd, 0xe4, 0xc7, 0x8f, 0x7b, 0xc9, 0x57, 0x9f, - 0xf6, 0x5a, 0x1f, 0x3e, 0xed, 0xb5, 0xbe, 0xff, 0xb4, 0xd7, 0xfa, 0xcf, 0xee, 0xf4, 0xb3, 0xf7, - 0xfd, 0xec, 0x03, 0x98, 0xb6, 0x95, 0x1b, 0xf6, 0xc3, 0xb7, 0xed, 0xdf, 0x7e, 0x0e, 0x00, 0x00, - 0xff, 0xff, 0xe4, 0x6b, 0x15, 0x04, 0x20, 0x0b, 0x00, 0x00, + // 1519 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x56, 0x4f, 0x6f, 0x64, 0x47, + 0x11, 0x9f, 0x37, 0xe3, 0xb1, 0x3d, 0x65, 0x7b, 0xdd, 0x6e, 0x7b, 0xff, 0xb0, 0x08, 0x4b, 0x11, + 0x4a, 0x80, 0x27, 0x94, 0x80, 0xe0, 0x10, 0x45, 0x28, 0xe0, 0xf1, 0x26, 0xd1, 0x46, 0xeb, 0xdd, + 0xc5, 0x4e, 0x14, 0x89, 0x5b, 0x4f, 0xbf, 0x9a, 0xe7, 0x66, 0xde, 0xeb, 0x7a, 0x74, 0xf7, 0x1b, + 0xef, 0x70, 0xe5, 0xc2, 0x91, 0x3b, 0x1f, 0x01, 0x71, 0xe1, 0x53, 0x70, 0xcc, 0x11, 0x71, 0x42, + 0xbb, 0x5f, 0x04, 0x55, 0xf7, 0x9b, 0x19, 0x8f, 0x2d, 0x21, 0x72, 0x9a, 0x79, 0xbf, 0xea, 0xae, + 0xfa, 0x75, 0xf5, 0xaf, 0xaa, 0x1a, 0x9e, 0xfa, 0xe0, 0x5a, 0x1d, 0xfc, 0x47, 0xcb, 0xdf, 0x19, + 0x2e, 0xfc, 0x87, 0x8d, 0xa3, 0x40, 0xf2, 0xb0, 0xc3, 0x3e, 0xec, 0x7e, 0x9f, 0x9e, 0x94, 0x54, + 0x52, 0xb4, 0x7d, 0xc4, 0xff, 0xd2, 0xb2, 0xfc, 0x6f, 0x19, 0x00, 0x4d, 0x7e, 0x8f, 0x3a, 0x7c, + 0xb5, 0x68, 0x50, 0x8e, 0x60, 0x58, 0xb6, 0xa6, 0x2a, 0x44, 0x4f, 0x02, 0x6c, 0x37, 0x95, 0x5a, + 0xa0, 0x13, 0x59, 0xf7, 0xdf, 0x62, 0x10, 0x7d, 0xb9, 0x07, 0x3b, 0x0e, 0x95, 0x0e, 0xe4, 0xc4, + 0x40, 0x3e, 0x00, 0xf0, 0xed, 0xc4, 0x07, 0x15, 0x0c, 0x59, 0xb1, 0xc5, 0x0b, 0x53, 0x3c, 0x31, + 0x64, 0x9b, 0xaa, 0x2a, 0xd2, 0xc9, 0xb6, 0x2d, 0xf7, 0x61, 0xd7, 0xd8, 0x69, 0xeb, 0xf9, 0x6b, + 0x87, 0xdd, 0xa8, 0xa2, 0x70, 0xe8, 0xbd, 0xd8, 0xe5, 0xb0, 0xd3, 0x0a, 0x31, 0x88, 0x11, 0xaf, + 0x6a, 0x1c, 0xcd, 0x4d, 0x81, 0x4e, 0x80, 0x3c, 0x80, 0x91, 0x2a, 0x1d, 0x62, 0x8d, 0x36, 0x88, + 0xbd, 0xfc, 0xcf, 0x7d, 0x38, 0x2a, 0x9d, 0x29, 0xce, 0x42, 0x70, 0x66, 0xd2, 0x06, 0x8c, 0xa4, + 0x77, 0x60, 0x40, 0x0e, 0x45, 0x4f, 0xee, 0xc2, 0xd6, 0xb4, 0xc5, 0x4a, 0x64, 0xec, 0x45, 0xab, + 0x46, 0x69, 0x13, 0x16, 0xa2, 0xcf, 0x78, 0x45, 0xaa, 0x10, 0x03, 0x79, 0x08, 0x7b, 0x5d, 0x3e, + 0x5e, 0x30, 0xb0, 0xc5, 0x91, 0x1b, 0xba, 0x41, 0x27, 0x86, 0xf2, 0x11, 0x48, 0x4d, 0xd6, 0xa2, + 0x66, 0xbe, 0xe7, 0xcb, 0xdd, 0xdb, 0xf2, 0x18, 0x0e, 0x6f, 0xe1, 0xd4, 0xda, 0x20, 0x76, 0xe4, + 0x53, 0x78, 0xb4, 0x3e, 0xdc, 0x6b, 0x32, 0x36, 0xa0, 0xbb, 0x0a, 0xca, 0x05, 0xb1, 0x2b, 0x9f, + 0xc0, 0xc9, 0x3d, 0xdb, 0x67, 0xb6, 0x10, 0x23, 0x4e, 0x49, 0xe3, 0xe8, 0xcd, 0xe2, 0x25, 0x59, + 0x8d, 0x02, 0xf8, 0xbb, 0x52, 0x3e, 0x9c, 0x45, 0xd7, 0x62, 0x8f, 0xd9, 0xd8, 0x68, 0xda, 0xe7, + 0xbf, 0x0e, 0x55, 0xb1, 0x10, 0x07, 0x91, 0xc0, 0x35, 0xea, 0x59, 0xc3, 0xae, 0xc6, 0x15, 0xe9, + 0x99, 0x78, 0x90, 0xbf, 0x82, 0x07, 0xeb, 0x20, 0x31, 0x0d, 0x31, 0xf7, 0x2a, 0x18, 0x2d, 0x7a, + 0x9c, 0xdd, 0x62, 0x61, 0x55, 0x6d, 0xb4, 0xc8, 0x62, 0x12, 0xdb, 0x40, 0xb5, 0x0a, 0x58, 0x88, + 0xbe, 0x7c, 0x08, 0x47, 0xcb, 0x0c, 0x9f, 0xad, 0x72, 0x3b, 0xc8, 0x7f, 0x03, 0x27, 0xf1, 0xea, + 0xbf, 0x24, 0x63, 0xc7, 0x8b, 0x46, 0x79, 0xff, 0x02, 0xe7, 0x58, 0xb1, 0x5b, 0x5d, 0x91, 0x47, + 0xd6, 0x84, 0x80, 0xfd, 0x06, 0x5d, 0x6d, 0x3c, 0x5f, 0x22, 0x16, 0x49, 0x19, 0x35, 0xd6, 0x13, + 0x74, 0xa2, 0x9f, 0xff, 0x1a, 0x0e, 0x56, 0x1e, 0x96, 0x8c, 0x8c, 0x9d, 0x9b, 0x80, 0x89, 0x91, + 0xc3, 0x3f, 0xb4, 0xe8, 0x43, 0xda, 0x55, 0x18, 0x87, 0x9a, 0xf5, 0xc4, 0x37, 0xc0, 0x39, 0x11, + 0x83, 0xfc, 0x39, 0x48, 0x87, 0xa5, 0xf1, 0xc1, 0xc5, 0x53, 0x5d, 0x05, 0x15, 0x5a, 0xdf, 0x29, + 0xa2, 0xe9, 0x28, 0xec, 0xc3, 0xae, 0x6a, 0x98, 0xff, 0x32, 0x7c, 0x81, 0xd6, 0xc4, 0x73, 0xc5, + 0x08, 0x73, 0x9a, 0x61, 0x21, 0x06, 0xf9, 0x67, 0x30, 0x54, 0xf5, 0xc4, 0x04, 0xbe, 0x7b, 0x4b, + 0x96, 0x19, 0x8c, 0x60, 0x78, 0xa3, 0x42, 0xd4, 0x33, 0x0b, 0x42, 0x59, 0xde, 0xb4, 0x03, 0x03, + 0x65, 0x58, 0xc9, 0x23, 0x18, 0xfa, 0x46, 0x69, 0x4c, 0x9a, 0xe0, 0xc4, 0x56, 0x62, 0x98, 0x23, + 0x80, 0x53, 0xa6, 0xe8, 0x98, 0x1c, 0xc0, 0xc8, 0x58, 0x13, 0x4c, 0x4c, 0x64, 0x3c, 0x12, 0xd9, + 0x92, 0x8c, 0x2d, 0x45, 0x5f, 0x9e, 0x80, 0x50, 0x21, 0x28, 0x3d, 0x43, 0xf7, 0x0c, 0xa7, 0x18, + 0x97, 0x64, 0x52, 0xc2, 0x83, 0xb8, 0xbf, 0xd5, 0x1a, 0xbd, 0x9f, 0xb6, 0x95, 0x18, 0xc8, 0x23, + 0x38, 0x28, 0xb0, 0x36, 0x95, 0x09, 0xca, 0x99, 0x3f, 0x62, 0x21, 0xb6, 0xf2, 0x1f, 0xc3, 0x7e, + 0xaa, 0xaf, 0x2e, 0x10, 0xc0, 0xb6, 0xd2, 0xc1, 0xcc, 0x31, 0x1d, 0x58, 0x53, 0xdd, 0x54, 0x18, + 0x50, 0x64, 0xf9, 0x07, 0xb0, 0x17, 0x2b, 0x65, 0xcd, 0x28, 0xe5, 0x89, 0xf5, 0x13, 0x0b, 0x40, + 0xdd, 0xa8, 0x85, 0xc8, 0xf2, 0xbf, 0x66, 0x70, 0x9c, 0x94, 0xbe, 0x59, 0x2b, 0x00, 0xdb, 0xd7, + 0xa8, 0xaa, 0x70, 0x9d, 0x2a, 0xdc, 0x47, 0x37, 0x22, 0x63, 0x8d, 0x4d, 0x58, 0x59, 0x51, 0xc3, + 0xe3, 0xd8, 0x02, 0xa2, 0x52, 0xd6, 0xe0, 0x2b, 0x87, 0x17, 0xc6, 0xa2, 0x18, 0xc8, 0xc7, 0x70, + 0xbc, 0x01, 0x5f, 0xe2, 0x94, 0x0d, 0x5b, 0x2c, 0x7c, 0xee, 0x2a, 0xa8, 0x03, 0x16, 0x57, 0x31, + 0xf8, 0x73, 0x5b, 0xe0, 0x1b, 0x31, 0x64, 0x9e, 0x61, 0xd1, 0x60, 0xaa, 0x9e, 0xed, 0xfc, 0xdf, + 0x03, 0x38, 0x4e, 0x07, 0xde, 0x64, 0x77, 0x0c, 0x87, 0x09, 0x56, 0x6e, 0x71, 0x75, 0x6d, 0x30, + 0x36, 0xa2, 0xef, 0xc1, 0x43, 0x87, 0x8d, 0x32, 0xee, 0x25, 0x86, 0x1b, 0x72, 0xb3, 0xdf, 0xb6, + 0xca, 0x06, 0x2e, 0xcd, 0x4c, 0x7e, 0x1f, 0x1e, 0x17, 0x38, 0x45, 0xeb, 0xcd, 0x1c, 0xcf, 0x95, + 0xb5, 0x64, 0x57, 0xc6, 0xbe, 0xcc, 0xe1, 0x03, 0x4d, 0xe4, 0x0a, 0x63, 0xf9, 0x32, 0xbe, 0xa8, + 0x68, 0xa2, 0xaa, 0xe4, 0xf4, 0xae, 0xa3, 0x81, 0xfc, 0x19, 0xfc, 0xb4, 0xa2, 0x9b, 0x57, 0x6e, + 0x62, 0xc2, 0x58, 0x55, 0x95, 0xf1, 0xc1, 0x68, 0xff, 0x9c, 0x0b, 0x57, 0x63, 0x13, 0xe8, 0x5e, + 0xe8, 0x2d, 0xf9, 0x31, 0xfc, 0x52, 0x15, 0x73, 0x65, 0x35, 0x16, 0x2f, 0xbe, 0xcb, 0xce, 0xa1, + 0xfc, 0x15, 0x7c, 0xfc, 0xff, 0xc4, 0xea, 0x34, 0x73, 0xa9, 0x02, 0xbe, 0x6c, 0x6b, 0x74, 0x8a, + 0x3b, 0xee, 0xb6, 0xfc, 0x14, 0x3e, 0xf9, 0x8e, 0xbb, 0x9f, 0xa1, 0xa5, 0x9a, 0x93, 0x40, 0x4e, + 0xec, 0xc8, 0xf7, 0xe0, 0x07, 0xc4, 0x9b, 0x55, 0xf5, 0xa5, 0xaa, 0x6b, 0x63, 0xcb, 0x4e, 0x3d, + 0x2b, 0x82, 0xbb, 0xf2, 0x27, 0xf0, 0xfe, 0xf2, 0x68, 0xaf, 0xfe, 0xe7, 0xd2, 0x11, 0xeb, 0x7b, + 0x2d, 0x85, 0x4b, 0x65, 0x0a, 0x01, 0xf9, 0x27, 0x20, 0x02, 0xea, 0xeb, 0x6f, 0x50, 0x35, 0x64, + 0xaf, 0x16, 0x3e, 0x60, 0xcd, 0x9a, 0x6f, 0x9c, 0xa9, 0x95, 0x5b, 0x24, 0x58, 0xf4, 0xf8, 0xae, + 0x3d, 0x6a, 0xb2, 0xc5, 0x1a, 0xcc, 0xf2, 0x31, 0x1c, 0xad, 0xf7, 0x9e, 0x93, 0x0d, 0x8e, 0x2a, + 0x5e, 0x69, 0x69, 0x03, 0x4a, 0xe2, 0x2d, 0x5b, 0x53, 0xc4, 0x2a, 0xdb, 0x87, 0xdd, 0xd6, 0x76, + 0x5f, 0xfd, 0xbc, 0x05, 0xc9, 0x3e, 0xce, 0x62, 0x01, 0xa5, 0x6d, 0x6e, 0xc1, 0xf5, 0x69, 0x69, + 0x13, 0x13, 0x3d, 0xe6, 0x9f, 0xf6, 0xad, 0xb0, 0x8c, 0x57, 0x2e, 0xbd, 0xad, 0xd0, 0x7e, 0x6c, + 0xa2, 0xb1, 0xbe, 0x2f, 0x5b, 0x2b, 0x06, 0xdc, 0x09, 0x3d, 0x56, 0xd3, 0x67, 0xd8, 0x8d, 0xbb, + 0xad, 0xfc, 0x4f, 0x19, 0x1c, 0x73, 0xdc, 0xd7, 0xca, 0xfb, 0xdb, 0x81, 0x1f, 0xc2, 0x91, 0xa5, + 0x3b, 0xa0, 0xe8, 0x71, 0x46, 0x34, 0x57, 0x03, 0xba, 0xb3, 0xe8, 0x56, 0x64, 0x5c, 0x57, 0x3e, + 0x38, 0xb2, 0xe5, 0xf9, 0x86, 0xa1, 0xcf, 0x15, 0xb0, 0xbc, 0x90, 0x4d, 0xd3, 0x60, 0x39, 0x41, + 0x2e, 0xd1, 0x93, 0x63, 0x16, 0xff, 0xc8, 0x52, 0xf6, 0xbf, 0xb6, 0x26, 0x3c, 0x8b, 0xa5, 0x81, + 0x9e, 0x4f, 0x69, 0xe9, 0x36, 0x22, 0x7a, 0x4c, 0x6b, 0x55, 0x3a, 0x17, 0xca, 0x62, 0x3b, 0x8f, + 0x9d, 0xf1, 0x08, 0x0e, 0xbc, 0x29, 0xed, 0xea, 0xca, 0x45, 0x3f, 0x36, 0x23, 0x57, 0x53, 0xcb, + 0x5d, 0xf2, 0x09, 0x9c, 0x18, 0x9b, 0x5a, 0xf7, 0x39, 0xd5, 0x13, 0x15, 0x2e, 0xa8, 0x68, 0x2b, + 0xae, 0xfd, 0x38, 0x59, 0x63, 0x67, 0xb9, 0xa0, 0x02, 0xc5, 0x90, 0xd3, 0xd8, 0xa0, 0x33, 0x35, + 0x06, 0x74, 0x9f, 0xa3, 0xd5, 0xec, 0x2c, 0x0e, 0x53, 0x87, 0xc6, 0x4e, 0xc9, 0x69, 0x2c, 0xbe, + 0x51, 0x55, 0xe5, 0xc5, 0x4e, 0xfe, 0xf7, 0x0c, 0x1e, 0x31, 0xe9, 0xd8, 0x4b, 0x3c, 0xba, 0x39, + 0xae, 0xa8, 0x3f, 0x81, 0x13, 0x4b, 0xf7, 0x71, 0xd1, 0x93, 0xef, 0xc3, 0x7b, 0xb7, 0xca, 0xbb, + 0xb3, 0x5f, 0xa2, 0x6f, 0xc8, 0x7a, 0xfc, 0xca, 0xc5, 0x4e, 0x2c, 0x32, 0x76, 0xe0, 0x54, 0x63, + 0x8a, 0xa5, 0xe5, 0xb5, 0xd2, 0x33, 0x55, 0xa2, 0xe8, 0x73, 0x56, 0x52, 0x93, 0xbd, 0xd2, 0xca, + 0x5a, 0xa6, 0x37, 0xe0, 0xac, 0xd4, 0x64, 0x4d, 0x20, 0xb7, 0x96, 0xbb, 0xd8, 0x8a, 0x6d, 0xd6, + 0xe1, 0xb8, 0xb5, 0xec, 0x73, 0x98, 0xd7, 0xf0, 0x30, 0xde, 0xf4, 0xb2, 0x55, 0xad, 0xd8, 0x3e, + 0x02, 0x69, 0xe9, 0x2e, 0x9c, 0xb4, 0x7e, 0xa7, 0x4f, 0x89, 0x4c, 0xfe, 0x08, 0x7e, 0x78, 0xaf, + 0x92, 0xef, 0x17, 0xb2, 0xe8, 0xe7, 0x5f, 0xa7, 0x70, 0x57, 0x81, 0x9c, 0x2a, 0xf1, 0x73, 0xa5, + 0x79, 0x76, 0x18, 0xf4, 0x2c, 0x18, 0x4b, 0xf7, 0xe0, 0x34, 0x07, 0x0a, 0x8a, 0x9a, 0xe2, 0x7e, + 0xaf, 0x6c, 0xc9, 0xf3, 0x99, 0x4f, 0x11, 0x67, 0xc7, 0x58, 0x79, 0x14, 0x83, 0xfc, 0xd3, 0x4e, + 0xaf, 0x4b, 0xba, 0x17, 0x86, 0x93, 0xd0, 0xe9, 0x75, 0x13, 0x4c, 0xa3, 0x9f, 0xe2, 0x04, 0x30, + 0xb6, 0xbc, 0x34, 0xa5, 0xc8, 0xf2, 0x73, 0x78, 0xbc, 0xb1, 0x3f, 0x8d, 0x01, 0xb7, 0x22, 0x76, + 0xd7, 0xc0, 0xaa, 0x3f, 0x84, 0x3d, 0x5a, 0x0e, 0x0c, 0x2e, 0xb6, 0xdc, 0x74, 0x24, 0xf8, 0x0d, + 0xf6, 0x05, 0x5a, 0x4c, 0x93, 0xbf, 0x23, 0xb1, 0x09, 0xa6, 0x72, 0xf5, 0xb5, 0xaa, 0xaa, 0x0e, + 0x24, 0x97, 0x26, 0x57, 0x8d, 0x85, 0x69, 0xeb, 0x35, 0x18, 0xef, 0xb6, 0x52, 0xae, 0xc4, 0x35, + 0xc6, 0xaf, 0x8b, 0x93, 0xd5, 0xbb, 0x27, 0x36, 0xc7, 0xd7, 0x54, 0x19, 0xbd, 0xe0, 0x12, 0xa2, + 0x06, 0xed, 0x85, 0x72, 0x33, 0x0c, 0x89, 0x63, 0x7c, 0xc6, 0x74, 0x40, 0xc6, 0x47, 0x4f, 0x2f, + 0xa0, 0x0e, 0xe9, 0x8f, 0x7f, 0xfe, 0xcf, 0xb7, 0xa7, 0xd9, 0xb7, 0x6f, 0x4f, 0xb3, 0xff, 0xbc, + 0x3d, 0xcd, 0xfe, 0xf2, 0xee, 0xb4, 0xf7, 0xed, 0xbb, 0xd3, 0xde, 0xbf, 0xde, 0x9d, 0xf6, 0x7e, + 0xf7, 0x78, 0xf9, 0x14, 0x7f, 0xb3, 0x7a, 0x94, 0xf3, 0xe0, 0xf3, 0x93, 0xed, 0xf8, 0xde, 0xfe, + 0xc5, 0x7f, 0x03, 0x00, 0x00, 0xff, 0xff, 0x51, 0x1e, 0x7e, 0xdf, 0xb4, 0x0b, 0x00, 0x00, } diff --git a/x/structs/types/packet.pb.go b/x/structs/types/packet.pb.go index 472a89f1..279928d3 100644 --- a/x/structs/types/packet.pb.go +++ b/x/structs/types/packet.pb.go @@ -24,7 +24,6 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package type StructsPacketData struct { // Types that are valid to be assigned to Packet: - // // *StructsPacketData_NoData Packet isStructsPacketData_Packet `protobuf_oneof:"packet"` } diff --git a/x/structs/types/provider.go b/x/structs/types/provider.go new file mode 100644 index 00000000..8427b2cf --- /dev/null +++ b/x/structs/types/provider.go @@ -0,0 +1,152 @@ +package types + +import ( + sdk "github.com/cosmos/cosmos-sdk/types" + sdkerrors "cosmossdk.io/errors" + "cosmossdk.io/math" +) + + + +func CreateBaseProvider(creator string, owner string) (Provider) { + return Provider{ + Creator: creator, + Owner: owner, + + } +} + +func (provider *Provider) SetSubstationId(substationId string) error { + provider.SubstationId = substationId + return nil +} + +func (provider *Provider) SetRate(rate sdk.Coin) error { + provider.Rate = rate + return nil +} + +func (provider *Provider) SetCapacityRange(minimum uint64, maximum uint64) error { + if minimum > maximum { + return sdkerrors.Wrapf(ErrInvalidParameters, "Minimum Capacity (%d) cannot be larger than Maximum Capacity (%d)", minimum, maximum) + } + + if minimum == 0 { + provider.CapacityMinimum = 1 + } else { + provider.CapacityMinimum = minimum + } + + if maximum == 0 { + provider.CapacityMaximum = 1 + } else { + provider.CapacityMaximum = maximum + } + + return nil +} + +func (provider *Provider) SetCapacityMaximum(maximum uint64) error { + if provider.CapacityMinimum > maximum { + return sdkerrors.Wrapf(ErrInvalidParameters, "Minimum Capacity (%d) cannot be larger than Maximum Capacity (%d)", provider.CapacityMinimum, maximum) + } + + if maximum == 0 { + provider.CapacityMaximum = 1 + } else { + provider.CapacityMaximum = maximum + } + + return nil +} + +func (provider *Provider) SetCapacityMinimum(minimum uint64) error { + if minimum > provider.CapacityMaximum { + return sdkerrors.Wrapf(ErrInvalidParameters, "Minimum Capacity (%d) cannot be larger than Maximum Capacity (%d)", minimum, provider.CapacityMaximum) + } + + if minimum == 0 { + provider.CapacityMinimum = 1 + } else { + provider.CapacityMinimum = minimum + } + + return nil +} + + +func (provider *Provider) SetDurationRange(minimum uint64, maximum uint64) error { + if minimum > maximum { + return sdkerrors.Wrapf(ErrInvalidParameters, "Minimum Duration (%d) cannot be larger than Maximum Duration (%d)", minimum, maximum) + } + + if minimum == 0 { + provider.DurationMinimum = 1 + } else { + provider.DurationMinimum = minimum + } + + if maximum == 0 { + provider.DurationMaximum = 1 + } else { + provider.DurationMaximum = maximum + } + + return nil +} + +func (provider *Provider) SetDurationMaximum(maximum uint64) error { + if provider.DurationMinimum > maximum { + return sdkerrors.Wrapf(ErrInvalidParameters, "Minimum Duration (%d) cannot be larger than Maximum Duration (%d)", provider.DurationMinimum, maximum) + } + + if maximum == 0 { + provider.DurationMaximum = 1 + } else { + provider.DurationMaximum = maximum + } + return nil +} + +func (provider *Provider) SetDurationMinimum(minimum uint64) error { + if minimum > provider.DurationMaximum { + return sdkerrors.Wrapf(ErrInvalidParameters, "Minimum Duration (%d) cannot be larger than Maximum Duration (%d)", minimum, provider.DurationMaximum) + } + + if minimum == 0 { + provider.DurationMinimum = 1 + } else { + provider.DurationMinimum = minimum + } + return nil +} + + +func (provider *Provider) SetProviderCancellationPenalty(penalty math.LegacyDec) error { + one, _ := math.LegacyNewDecFromStr("1.0") + + // 1 <= Provider Cancellation Policy => 0 + if (!penalty.GTE(math.LegacyZeroDec())) || (!penalty.LTE(one)) { + return sdkerrors.Wrapf(ErrInvalidParameters, "Provider Cancellation Penalty (%f) must be between 1 and 0", penalty) + } + + provider.ProviderCancellationPenalty = penalty + return nil +} + + +func (provider *Provider) SetConsumerCancellationPenalty(penalty math.LegacyDec) error { + one, _ := math.LegacyNewDecFromStr("1.0") + + // 1 <= Provider Cancellation Policy => 0 + if (!penalty.GTE(math.LegacyZeroDec())) || (!penalty.LTE(one)) { + return sdkerrors.Wrapf(ErrInvalidParameters, "Consumer Cancellation Penalty (%f) must be between 1 and 0", penalty) + } + + provider.ConsumerCancellationPenalty = penalty + return nil +} + +func (provider *Provider) SetAccessPolicy(accessPolicy ProviderAccessPolicy) { + provider.AccessPolicy = accessPolicy +} diff --git a/x/structs/types/provider.pb.go b/x/structs/types/provider.pb.go new file mode 100644 index 00000000..fc619c0a --- /dev/null +++ b/x/structs/types/provider.pb.go @@ -0,0 +1,911 @@ +// Code generated by protoc-gen-gogo. DO NOT EDIT. +// source: structs/structs/provider.proto + +package types + +import ( + cosmossdk_io_math "cosmossdk.io/math" + fmt "fmt" + _ "github.com/cosmos/cosmos-proto" + types "github.com/cosmos/cosmos-sdk/types" + _ "github.com/cosmos/cosmos-sdk/types/tx/amino" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/cosmos/gogoproto/proto" + io "io" + math "math" + math_bits "math/bits" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package + +type Provider struct { + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Index uint64 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"` + SubstationId string `protobuf:"bytes,3,opt,name=substationId,proto3" json:"substationId,omitempty"` + Rate types.Coin `protobuf:"bytes,4,opt,name=rate,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"rate"` + AccessPolicy ProviderAccessPolicy `protobuf:"varint,5,opt,name=accessPolicy,proto3,enum=structs.structs.ProviderAccessPolicy" json:"accessPolicy,omitempty"` + CapacityMinimum uint64 `protobuf:"varint,6,opt,name=capacityMinimum,proto3" json:"capacityMinimum,omitempty"` + CapacityMaximum uint64 `protobuf:"varint,7,opt,name=capacityMaximum,proto3" json:"capacityMaximum,omitempty"` + DurationMinimum uint64 `protobuf:"varint,8,opt,name=durationMinimum,proto3" json:"durationMinimum,omitempty"` + DurationMaximum uint64 `protobuf:"varint,9,opt,name=durationMaximum,proto3" json:"durationMaximum,omitempty"` + ProviderCancellationPenalty cosmossdk_io_math.LegacyDec `protobuf:"bytes,10,opt,name=providerCancellationPenalty,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"providerCancellationPenalty"` + ConsumerCancellationPenalty cosmossdk_io_math.LegacyDec `protobuf:"bytes,11,opt,name=consumerCancellationPenalty,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"consumerCancellationPenalty"` + Creator string `protobuf:"bytes,12,opt,name=creator,proto3" json:"creator,omitempty"` + Owner string `protobuf:"bytes,13,opt,name=owner,proto3" json:"owner,omitempty"` +} + +func (m *Provider) Reset() { *m = Provider{} } +func (m *Provider) String() string { return proto.CompactTextString(m) } +func (*Provider) ProtoMessage() {} +func (*Provider) Descriptor() ([]byte, []int) { + return fileDescriptor_8276b5888e8b3af8, []int{0} +} +func (m *Provider) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *Provider) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Provider.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *Provider) XXX_Merge(src proto.Message) { + xxx_messageInfo_Provider.Merge(m, src) +} +func (m *Provider) XXX_Size() int { + return m.Size() +} +func (m *Provider) XXX_DiscardUnknown() { + xxx_messageInfo_Provider.DiscardUnknown(m) +} + +var xxx_messageInfo_Provider proto.InternalMessageInfo + +func (m *Provider) GetId() string { + if m != nil { + return m.Id + } + return "" +} + +func (m *Provider) GetIndex() uint64 { + if m != nil { + return m.Index + } + return 0 +} + +func (m *Provider) GetSubstationId() string { + if m != nil { + return m.SubstationId + } + return "" +} + +func (m *Provider) GetRate() types.Coin { + if m != nil { + return m.Rate + } + return types.Coin{} +} + +func (m *Provider) GetAccessPolicy() ProviderAccessPolicy { + if m != nil { + return m.AccessPolicy + } + return ProviderAccessPolicy_openMarket +} + +func (m *Provider) GetCapacityMinimum() uint64 { + if m != nil { + return m.CapacityMinimum + } + return 0 +} + +func (m *Provider) GetCapacityMaximum() uint64 { + if m != nil { + return m.CapacityMaximum + } + return 0 +} + +func (m *Provider) GetDurationMinimum() uint64 { + if m != nil { + return m.DurationMinimum + } + return 0 +} + +func (m *Provider) GetDurationMaximum() uint64 { + if m != nil { + return m.DurationMaximum + } + return 0 +} + +func (m *Provider) GetCreator() string { + if m != nil { + return m.Creator + } + return "" +} + +func (m *Provider) GetOwner() string { + if m != nil { + return m.Owner + } + return "" +} + +func init() { + proto.RegisterType((*Provider)(nil), "structs.structs.Provider") +} + +func init() { proto.RegisterFile("structs/structs/provider.proto", fileDescriptor_8276b5888e8b3af8) } + +var fileDescriptor_8276b5888e8b3af8 = []byte{ + // 505 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x53, 0x4d, 0x6b, 0x14, 0x31, + 0x18, 0xde, 0xd4, 0xdd, 0x7e, 0xa4, 0x6b, 0x8b, 0x43, 0xc1, 0x74, 0x0b, 0xb3, 0x4b, 0x41, 0x18, + 0x84, 0x66, 0xd8, 0x8a, 0x17, 0x6f, 0x6e, 0x7b, 0x29, 0x28, 0x2c, 0x73, 0xf4, 0x22, 0x99, 0x4c, + 0xd8, 0x86, 0xdd, 0x49, 0x96, 0x24, 0x53, 0x77, 0xfe, 0x85, 0x3f, 0xc1, 0xa3, 0x78, 0xf2, 0xe0, + 0x8f, 0xe8, 0x45, 0x28, 0x9e, 0xc4, 0x43, 0x95, 0xdd, 0x83, 0xfe, 0x0c, 0x99, 0x24, 0x23, 0xee, + 0x20, 0x3d, 0x78, 0x99, 0xcc, 0xfb, 0xbc, 0x4f, 0x9e, 0xf7, 0x33, 0x30, 0xd4, 0x46, 0x15, 0xd4, + 0xe8, 0xb8, 0x3e, 0xe7, 0x4a, 0x5e, 0xf1, 0x8c, 0x29, 0x3c, 0x57, 0xd2, 0xc8, 0x60, 0xdf, 0xe3, + 0xd8, 0x9f, 0xbd, 0x43, 0x2a, 0x75, 0x2e, 0xf5, 0x6b, 0xeb, 0x8e, 0x9d, 0xe1, 0xb8, 0xbd, 0x83, + 0x89, 0x9c, 0x48, 0x87, 0x57, 0x7f, 0x1e, 0x0d, 0x1d, 0x27, 0x4e, 0x89, 0x66, 0xf1, 0xd5, 0x30, + 0x65, 0x86, 0x0c, 0x63, 0x2a, 0xb9, 0xf0, 0xfe, 0x07, 0x24, 0xe7, 0x42, 0xc6, 0xf6, 0xeb, 0xa1, + 0x5e, 0x33, 0xa9, 0x29, 0x2b, 0x7d, 0x90, 0xe3, 0xcf, 0x1d, 0xb8, 0x3d, 0xf6, 0x39, 0x06, 0x7b, + 0x70, 0x83, 0x67, 0x08, 0x0c, 0x40, 0xb4, 0x93, 0x6c, 0xf0, 0x2c, 0x38, 0x80, 0x1d, 0x2e, 0x32, + 0xb6, 0x40, 0x1b, 0x03, 0x10, 0xb5, 0x13, 0x67, 0x04, 0xc7, 0xb0, 0xab, 0x8b, 0x54, 0x1b, 0x62, + 0xb8, 0x14, 0x17, 0x19, 0xba, 0x67, 0xf9, 0x6b, 0x58, 0x90, 0xc1, 0xb6, 0x22, 0x86, 0xa1, 0xf6, + 0x00, 0x44, 0xbb, 0xa7, 0x87, 0xd8, 0x17, 0x56, 0x25, 0x8d, 0x7d, 0xd2, 0xf8, 0x4c, 0x72, 0x31, + 0x7a, 0x7a, 0x7d, 0xdb, 0x6f, 0x7d, 0xf8, 0xde, 0x8f, 0x26, 0xdc, 0x5c, 0x16, 0x29, 0xa6, 0x32, + 0xf7, 0x5d, 0xf0, 0xc7, 0x89, 0xce, 0xa6, 0xb1, 0x29, 0xe7, 0x4c, 0xdb, 0x0b, 0xfa, 0xfd, 0xcf, + 0x8f, 0x8f, 0x41, 0x62, 0xd5, 0x83, 0x0b, 0xd8, 0x25, 0x94, 0x32, 0xad, 0xc7, 0x72, 0xc6, 0x69, + 0x89, 0x3a, 0x03, 0x10, 0xed, 0x9d, 0x3e, 0xc2, 0x8d, 0x26, 0xe3, 0x7a, 0x08, 0xcf, 0xff, 0x22, + 0x27, 0x6b, 0x57, 0x83, 0x08, 0xee, 0x53, 0x32, 0x27, 0x94, 0x9b, 0xf2, 0x25, 0x17, 0x3c, 0x2f, + 0x72, 0xb4, 0x69, 0x8b, 0x6e, 0xc2, 0x6b, 0x4c, 0xb2, 0xb0, 0xcc, 0xad, 0x06, 0xd3, 0xc1, 0x15, + 0x33, 0x2b, 0x94, 0x6d, 0x49, 0xad, 0xb9, 0xed, 0x98, 0x0d, 0x78, 0x8d, 0xe9, 0x35, 0x77, 0x1a, + 0x4c, 0xaf, 0xa9, 0xe1, 0x51, 0x5d, 0xcd, 0x19, 0x11, 0x94, 0xcd, 0x66, 0xd6, 0x3d, 0x66, 0x82, + 0xcc, 0x4c, 0x89, 0x60, 0x35, 0x8b, 0xd1, 0xb0, 0x6a, 0xea, 0xb7, 0xdb, 0xfe, 0x91, 0x6b, 0xa1, + 0xce, 0xa6, 0x98, 0xcb, 0x38, 0x27, 0xe6, 0x12, 0xbf, 0x60, 0x13, 0x42, 0xcb, 0x73, 0x46, 0xbf, + 0x7c, 0x3a, 0x81, 0x7e, 0x2a, 0xe7, 0x8c, 0x26, 0x77, 0xa9, 0x56, 0x41, 0xa9, 0x14, 0xba, 0xc8, + 0xff, 0x1d, 0x74, 0xf7, 0xbf, 0x83, 0xde, 0xa1, 0x1a, 0x20, 0xb8, 0x45, 0x15, 0x23, 0x46, 0x2a, + 0xd4, 0xb5, 0x1b, 0x56, 0x9b, 0xd5, 0x5a, 0xca, 0x37, 0x82, 0x29, 0x74, 0xdf, 0xe2, 0xce, 0x78, + 0xd6, 0xfe, 0xf5, 0xae, 0x0f, 0x46, 0xc3, 0xeb, 0x65, 0x08, 0x6e, 0x96, 0x21, 0xf8, 0xb1, 0x0c, + 0xc1, 0xdb, 0x55, 0xd8, 0xba, 0x59, 0x85, 0xad, 0xaf, 0xab, 0xb0, 0xf5, 0xea, 0x61, 0xbd, 0xfd, + 0x8b, 0x3f, 0xef, 0xc0, 0xae, 0x55, 0xba, 0x69, 0x5f, 0xc2, 0x93, 0xdf, 0x01, 0x00, 0x00, 0xff, + 0xff, 0x33, 0x27, 0xd6, 0x12, 0xbc, 0x03, 0x00, 0x00, +} + +func (this *Provider) Equal(that interface{}) bool { + if that == nil { + return this == nil + } + + that1, ok := that.(*Provider) + if !ok { + that2, ok := that.(Provider) + if ok { + that1 = &that2 + } else { + return false + } + } + if that1 == nil { + return this == nil + } else if this == nil { + return false + } + if this.Id != that1.Id { + return false + } + if this.Index != that1.Index { + return false + } + if this.SubstationId != that1.SubstationId { + return false + } + if !this.Rate.Equal(&that1.Rate) { + return false + } + if this.AccessPolicy != that1.AccessPolicy { + return false + } + if this.CapacityMinimum != that1.CapacityMinimum { + return false + } + if this.CapacityMaximum != that1.CapacityMaximum { + return false + } + if this.DurationMinimum != that1.DurationMinimum { + return false + } + if this.DurationMaximum != that1.DurationMaximum { + return false + } + if !this.ProviderCancellationPenalty.Equal(that1.ProviderCancellationPenalty) { + return false + } + if !this.ConsumerCancellationPenalty.Equal(that1.ConsumerCancellationPenalty) { + return false + } + if this.Creator != that1.Creator { + return false + } + if this.Owner != that1.Owner { + return false + } + return true +} +func (m *Provider) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Provider) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *Provider) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Owner) > 0 { + i -= len(m.Owner) + copy(dAtA[i:], m.Owner) + i = encodeVarintProvider(dAtA, i, uint64(len(m.Owner))) + i-- + dAtA[i] = 0x6a + } + if len(m.Creator) > 0 { + i -= len(m.Creator) + copy(dAtA[i:], m.Creator) + i = encodeVarintProvider(dAtA, i, uint64(len(m.Creator))) + i-- + dAtA[i] = 0x62 + } + { + size := m.ConsumerCancellationPenalty.Size() + i -= size + if _, err := m.ConsumerCancellationPenalty.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + i = encodeVarintProvider(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x5a + { + size := m.ProviderCancellationPenalty.Size() + i -= size + if _, err := m.ProviderCancellationPenalty.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + i = encodeVarintProvider(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x52 + if m.DurationMaximum != 0 { + i = encodeVarintProvider(dAtA, i, uint64(m.DurationMaximum)) + i-- + dAtA[i] = 0x48 + } + if m.DurationMinimum != 0 { + i = encodeVarintProvider(dAtA, i, uint64(m.DurationMinimum)) + i-- + dAtA[i] = 0x40 + } + if m.CapacityMaximum != 0 { + i = encodeVarintProvider(dAtA, i, uint64(m.CapacityMaximum)) + i-- + dAtA[i] = 0x38 + } + if m.CapacityMinimum != 0 { + i = encodeVarintProvider(dAtA, i, uint64(m.CapacityMinimum)) + i-- + dAtA[i] = 0x30 + } + if m.AccessPolicy != 0 { + i = encodeVarintProvider(dAtA, i, uint64(m.AccessPolicy)) + i-- + dAtA[i] = 0x28 + } + { + size, err := m.Rate.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintProvider(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x22 + if len(m.SubstationId) > 0 { + i -= len(m.SubstationId) + copy(dAtA[i:], m.SubstationId) + i = encodeVarintProvider(dAtA, i, uint64(len(m.SubstationId))) + i-- + dAtA[i] = 0x1a + } + if m.Index != 0 { + i = encodeVarintProvider(dAtA, i, uint64(m.Index)) + i-- + dAtA[i] = 0x10 + } + if len(m.Id) > 0 { + i -= len(m.Id) + copy(dAtA[i:], m.Id) + i = encodeVarintProvider(dAtA, i, uint64(len(m.Id))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func encodeVarintProvider(dAtA []byte, offset int, v uint64) int { + offset -= sovProvider(v) + base := offset + for v >= 1<<7 { + dAtA[offset] = uint8(v&0x7f | 0x80) + v >>= 7 + offset++ + } + dAtA[offset] = uint8(v) + return base +} +func (m *Provider) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Id) + if l > 0 { + n += 1 + l + sovProvider(uint64(l)) + } + if m.Index != 0 { + n += 1 + sovProvider(uint64(m.Index)) + } + l = len(m.SubstationId) + if l > 0 { + n += 1 + l + sovProvider(uint64(l)) + } + l = m.Rate.Size() + n += 1 + l + sovProvider(uint64(l)) + if m.AccessPolicy != 0 { + n += 1 + sovProvider(uint64(m.AccessPolicy)) + } + if m.CapacityMinimum != 0 { + n += 1 + sovProvider(uint64(m.CapacityMinimum)) + } + if m.CapacityMaximum != 0 { + n += 1 + sovProvider(uint64(m.CapacityMaximum)) + } + if m.DurationMinimum != 0 { + n += 1 + sovProvider(uint64(m.DurationMinimum)) + } + if m.DurationMaximum != 0 { + n += 1 + sovProvider(uint64(m.DurationMaximum)) + } + l = m.ProviderCancellationPenalty.Size() + n += 1 + l + sovProvider(uint64(l)) + l = m.ConsumerCancellationPenalty.Size() + n += 1 + l + sovProvider(uint64(l)) + l = len(m.Creator) + if l > 0 { + n += 1 + l + sovProvider(uint64(l)) + } + l = len(m.Owner) + if l > 0 { + n += 1 + l + sovProvider(uint64(l)) + } + return n +} + +func sovProvider(x uint64) (n int) { + return (math_bits.Len64(x|1) + 6) / 7 +} +func sozProvider(x uint64) (n int) { + return sovProvider(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +} +func (m *Provider) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowProvider + } + if iNdEx >= l { + return 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 fmt.Errorf("proto: Provider: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Provider: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowProvider + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthProvider + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthProvider + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Id = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Index", wireType) + } + m.Index = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowProvider + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Index |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SubstationId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowProvider + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthProvider + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthProvider + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.SubstationId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Rate", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowProvider + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthProvider + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthProvider + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.Rate.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 5: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field AccessPolicy", wireType) + } + m.AccessPolicy = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowProvider + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.AccessPolicy |= ProviderAccessPolicy(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 6: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field CapacityMinimum", wireType) + } + m.CapacityMinimum = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowProvider + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.CapacityMinimum |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 7: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field CapacityMaximum", wireType) + } + m.CapacityMaximum = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowProvider + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.CapacityMaximum |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 8: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field DurationMinimum", wireType) + } + m.DurationMinimum = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowProvider + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.DurationMinimum |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 9: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field DurationMaximum", wireType) + } + m.DurationMaximum = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowProvider + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.DurationMaximum |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 10: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ProviderCancellationPenalty", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowProvider + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthProvider + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthProvider + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.ProviderCancellationPenalty.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 11: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ConsumerCancellationPenalty", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowProvider + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthProvider + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthProvider + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.ConsumerCancellationPenalty.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 12: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowProvider + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthProvider + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthProvider + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Creator = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 13: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Owner", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowProvider + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthProvider + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthProvider + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Owner = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipProvider(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthProvider + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func skipProvider(dAtA []byte) (n int, err error) { + l := len(dAtA) + iNdEx := 0 + depth := 0 + for iNdEx < l { + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowProvider + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + wireType := int(wire & 0x7) + switch wireType { + case 0: + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowProvider + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + iNdEx++ + if dAtA[iNdEx-1] < 0x80 { + break + } + } + case 1: + iNdEx += 8 + case 2: + var length int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowProvider + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + length |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if length < 0 { + return 0, ErrInvalidLengthProvider + } + iNdEx += length + case 3: + depth++ + case 4: + if depth == 0 { + return 0, ErrUnexpectedEndOfGroupProvider + } + depth-- + case 5: + iNdEx += 4 + default: + return 0, fmt.Errorf("proto: illegal wireType %d", wireType) + } + if iNdEx < 0 { + return 0, ErrInvalidLengthProvider + } + if depth == 0 { + return iNdEx, nil + } + } + return 0, io.ErrUnexpectedEOF +} + +var ( + ErrInvalidLengthProvider = fmt.Errorf("proto: negative length found during unmarshaling") + ErrIntOverflowProvider = fmt.Errorf("proto: integer overflow") + ErrUnexpectedEndOfGroupProvider = fmt.Errorf("proto: unexpected end of group") +) diff --git a/x/structs/types/query.pb.go b/x/structs/types/query.pb.go index f3004c8b..5edd51f6 100644 --- a/x/structs/types/query.pb.go +++ b/x/structs/types/query.pb.go @@ -446,6 +446,242 @@ func (m *QueryAllAddressResponse) GetPagination() *query.PageResponse { return nil } +type QueryGetAgreementRequest struct { + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` +} + +func (m *QueryGetAgreementRequest) Reset() { *m = QueryGetAgreementRequest{} } +func (m *QueryGetAgreementRequest) String() string { return proto.CompactTextString(m) } +func (*QueryGetAgreementRequest) ProtoMessage() {} +func (*QueryGetAgreementRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_ec69a82c62500e60, []int{9} +} +func (m *QueryGetAgreementRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *QueryGetAgreementRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_QueryGetAgreementRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *QueryGetAgreementRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryGetAgreementRequest.Merge(m, src) +} +func (m *QueryGetAgreementRequest) XXX_Size() int { + return m.Size() +} +func (m *QueryGetAgreementRequest) XXX_DiscardUnknown() { + xxx_messageInfo_QueryGetAgreementRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_QueryGetAgreementRequest proto.InternalMessageInfo + +func (m *QueryGetAgreementRequest) GetId() string { + if m != nil { + return m.Id + } + return "" +} + +type QueryGetAgreementResponse struct { + Agreement Agreement `protobuf:"bytes,1,opt,name=Agreement,proto3" json:"Agreement"` +} + +func (m *QueryGetAgreementResponse) Reset() { *m = QueryGetAgreementResponse{} } +func (m *QueryGetAgreementResponse) String() string { return proto.CompactTextString(m) } +func (*QueryGetAgreementResponse) ProtoMessage() {} +func (*QueryGetAgreementResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_ec69a82c62500e60, []int{10} +} +func (m *QueryGetAgreementResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *QueryGetAgreementResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_QueryGetAgreementResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *QueryGetAgreementResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryGetAgreementResponse.Merge(m, src) +} +func (m *QueryGetAgreementResponse) XXX_Size() int { + return m.Size() +} +func (m *QueryGetAgreementResponse) XXX_DiscardUnknown() { + xxx_messageInfo_QueryGetAgreementResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_QueryGetAgreementResponse proto.InternalMessageInfo + +func (m *QueryGetAgreementResponse) GetAgreement() Agreement { + if m != nil { + return m.Agreement + } + return Agreement{} +} + +type QueryAllAgreementRequest struct { + Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` +} + +func (m *QueryAllAgreementRequest) Reset() { *m = QueryAllAgreementRequest{} } +func (m *QueryAllAgreementRequest) String() string { return proto.CompactTextString(m) } +func (*QueryAllAgreementRequest) ProtoMessage() {} +func (*QueryAllAgreementRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_ec69a82c62500e60, []int{11} +} +func (m *QueryAllAgreementRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *QueryAllAgreementRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_QueryAllAgreementRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *QueryAllAgreementRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryAllAgreementRequest.Merge(m, src) +} +func (m *QueryAllAgreementRequest) XXX_Size() int { + return m.Size() +} +func (m *QueryAllAgreementRequest) XXX_DiscardUnknown() { + xxx_messageInfo_QueryAllAgreementRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_QueryAllAgreementRequest proto.InternalMessageInfo + +func (m *QueryAllAgreementRequest) GetPagination() *query.PageRequest { + if m != nil { + return m.Pagination + } + return nil +} + +type QueryAllAgreementByProviderRequest struct { + Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` + ProviderId string `protobuf:"bytes,2,opt,name=providerId,proto3" json:"providerId,omitempty"` +} + +func (m *QueryAllAgreementByProviderRequest) Reset() { *m = QueryAllAgreementByProviderRequest{} } +func (m *QueryAllAgreementByProviderRequest) String() string { return proto.CompactTextString(m) } +func (*QueryAllAgreementByProviderRequest) ProtoMessage() {} +func (*QueryAllAgreementByProviderRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_ec69a82c62500e60, []int{12} +} +func (m *QueryAllAgreementByProviderRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *QueryAllAgreementByProviderRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_QueryAllAgreementByProviderRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *QueryAllAgreementByProviderRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryAllAgreementByProviderRequest.Merge(m, src) +} +func (m *QueryAllAgreementByProviderRequest) XXX_Size() int { + return m.Size() +} +func (m *QueryAllAgreementByProviderRequest) XXX_DiscardUnknown() { + xxx_messageInfo_QueryAllAgreementByProviderRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_QueryAllAgreementByProviderRequest proto.InternalMessageInfo + +func (m *QueryAllAgreementByProviderRequest) GetPagination() *query.PageRequest { + if m != nil { + return m.Pagination + } + return nil +} + +func (m *QueryAllAgreementByProviderRequest) GetProviderId() string { + if m != nil { + return m.ProviderId + } + return "" +} + +type QueryAllAgreementResponse struct { + Agreement []Agreement `protobuf:"bytes,1,rep,name=Agreement,proto3" json:"Agreement"` + Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` +} + +func (m *QueryAllAgreementResponse) Reset() { *m = QueryAllAgreementResponse{} } +func (m *QueryAllAgreementResponse) String() string { return proto.CompactTextString(m) } +func (*QueryAllAgreementResponse) ProtoMessage() {} +func (*QueryAllAgreementResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_ec69a82c62500e60, []int{13} +} +func (m *QueryAllAgreementResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *QueryAllAgreementResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_QueryAllAgreementResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *QueryAllAgreementResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryAllAgreementResponse.Merge(m, src) +} +func (m *QueryAllAgreementResponse) XXX_Size() int { + return m.Size() +} +func (m *QueryAllAgreementResponse) XXX_DiscardUnknown() { + xxx_messageInfo_QueryAllAgreementResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_QueryAllAgreementResponse proto.InternalMessageInfo + +func (m *QueryAllAgreementResponse) GetAgreement() []Agreement { + if m != nil { + return m.Agreement + } + return nil +} + +func (m *QueryAllAgreementResponse) GetPagination() *query.PageResponse { + if m != nil { + return m.Pagination + } + return nil +} + type QueryGetAllocationRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` } @@ -454,7 +690,7 @@ func (m *QueryGetAllocationRequest) Reset() { *m = QueryGetAllocationReq func (m *QueryGetAllocationRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetAllocationRequest) ProtoMessage() {} func (*QueryGetAllocationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_ec69a82c62500e60, []int{9} + return fileDescriptor_ec69a82c62500e60, []int{14} } func (m *QueryGetAllocationRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -499,7 +735,7 @@ func (m *QueryGetAllocationResponse) Reset() { *m = QueryGetAllocationRe func (m *QueryGetAllocationResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetAllocationResponse) ProtoMessage() {} func (*QueryGetAllocationResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_ec69a82c62500e60, []int{10} + return fileDescriptor_ec69a82c62500e60, []int{15} } func (m *QueryGetAllocationResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -550,7 +786,7 @@ func (m *QueryAllAllocationRequest) Reset() { *m = QueryAllAllocationReq func (m *QueryAllAllocationRequest) String() string { return proto.CompactTextString(m) } func (*QueryAllAllocationRequest) ProtoMessage() {} func (*QueryAllAllocationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_ec69a82c62500e60, []int{11} + return fileDescriptor_ec69a82c62500e60, []int{16} } func (m *QueryAllAllocationRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -595,7 +831,7 @@ func (m *QueryAllAllocationBySourceRequest) Reset() { *m = QueryAllAlloc func (m *QueryAllAllocationBySourceRequest) String() string { return proto.CompactTextString(m) } func (*QueryAllAllocationBySourceRequest) ProtoMessage() {} func (*QueryAllAllocationBySourceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_ec69a82c62500e60, []int{12} + return fileDescriptor_ec69a82c62500e60, []int{17} } func (m *QueryAllAllocationBySourceRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -649,7 +885,7 @@ func (m *QueryAllAllocationByDestinationRequest) Reset() { func (m *QueryAllAllocationByDestinationRequest) String() string { return proto.CompactTextString(m) } func (*QueryAllAllocationByDestinationRequest) ProtoMessage() {} func (*QueryAllAllocationByDestinationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_ec69a82c62500e60, []int{13} + return fileDescriptor_ec69a82c62500e60, []int{18} } func (m *QueryAllAllocationByDestinationRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -702,7 +938,7 @@ func (m *QueryAllAllocationResponse) Reset() { *m = QueryAllAllocationRe func (m *QueryAllAllocationResponse) String() string { return proto.CompactTextString(m) } func (*QueryAllAllocationResponse) ProtoMessage() {} func (*QueryAllAllocationResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_ec69a82c62500e60, []int{14} + return fileDescriptor_ec69a82c62500e60, []int{19} } func (m *QueryAllAllocationResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -760,7 +996,7 @@ func (m *QueryGetFleetRequest) Reset() { *m = QueryGetFleetRequest{} } func (m *QueryGetFleetRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetFleetRequest) ProtoMessage() {} func (*QueryGetFleetRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_ec69a82c62500e60, []int{15} + return fileDescriptor_ec69a82c62500e60, []int{20} } func (m *QueryGetFleetRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -804,7 +1040,7 @@ func (m *QueryGetFleetResponse) Reset() { *m = QueryGetFleetResponse{} } func (m *QueryGetFleetResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetFleetResponse) ProtoMessage() {} func (*QueryGetFleetResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_ec69a82c62500e60, []int{16} + return fileDescriptor_ec69a82c62500e60, []int{21} } func (m *QueryGetFleetResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -848,7 +1084,7 @@ func (m *QueryGetFleetByIndexRequest) Reset() { *m = QueryGetFleetByInde func (m *QueryGetFleetByIndexRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetFleetByIndexRequest) ProtoMessage() {} func (*QueryGetFleetByIndexRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_ec69a82c62500e60, []int{17} + return fileDescriptor_ec69a82c62500e60, []int{22} } func (m *QueryGetFleetByIndexRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -892,7 +1128,7 @@ func (m *QueryAllFleetRequest) Reset() { *m = QueryAllFleetRequest{} } func (m *QueryAllFleetRequest) String() string { return proto.CompactTextString(m) } func (*QueryAllFleetRequest) ProtoMessage() {} func (*QueryAllFleetRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_ec69a82c62500e60, []int{18} + return fileDescriptor_ec69a82c62500e60, []int{23} } func (m *QueryAllFleetRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -937,7 +1173,7 @@ func (m *QueryAllFleetResponse) Reset() { *m = QueryAllFleetResponse{} } func (m *QueryAllFleetResponse) String() string { return proto.CompactTextString(m) } func (*QueryAllFleetResponse) ProtoMessage() {} func (*QueryAllFleetResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_ec69a82c62500e60, []int{19} + return fileDescriptor_ec69a82c62500e60, []int{24} } func (m *QueryAllFleetResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -988,7 +1224,7 @@ func (m *QueryGetGridRequest) Reset() { *m = QueryGetGridRequest{} } func (m *QueryGetGridRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetGridRequest) ProtoMessage() {} func (*QueryGetGridRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_ec69a82c62500e60, []int{20} + return fileDescriptor_ec69a82c62500e60, []int{25} } func (m *QueryGetGridRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1032,7 +1268,7 @@ func (m *QueryAllGridRequest) Reset() { *m = QueryAllGridRequest{} } func (m *QueryAllGridRequest) String() string { return proto.CompactTextString(m) } func (*QueryAllGridRequest) ProtoMessage() {} func (*QueryAllGridRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_ec69a82c62500e60, []int{21} + return fileDescriptor_ec69a82c62500e60, []int{26} } func (m *QueryAllGridRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1077,7 +1313,7 @@ func (m *QueryGetGridResponse) Reset() { *m = QueryGetGridResponse{} } func (m *QueryGetGridResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetGridResponse) ProtoMessage() {} func (*QueryGetGridResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_ec69a82c62500e60, []int{22} + return fileDescriptor_ec69a82c62500e60, []int{27} } func (m *QueryGetGridResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1122,7 +1358,7 @@ func (m *QueryAllGridResponse) Reset() { *m = QueryAllGridResponse{} } func (m *QueryAllGridResponse) String() string { return proto.CompactTextString(m) } func (*QueryAllGridResponse) ProtoMessage() {} func (*QueryAllGridResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_ec69a82c62500e60, []int{23} + return fileDescriptor_ec69a82c62500e60, []int{28} } func (m *QueryAllGridResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1173,7 +1409,7 @@ func (m *QueryGetGuildRequest) Reset() { *m = QueryGetGuildRequest{} } func (m *QueryGetGuildRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetGuildRequest) ProtoMessage() {} func (*QueryGetGuildRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_ec69a82c62500e60, []int{24} + return fileDescriptor_ec69a82c62500e60, []int{29} } func (m *QueryGetGuildRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1217,7 +1453,7 @@ func (m *QueryGetGuildResponse) Reset() { *m = QueryGetGuildResponse{} } func (m *QueryGetGuildResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetGuildResponse) ProtoMessage() {} func (*QueryGetGuildResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_ec69a82c62500e60, []int{25} + return fileDescriptor_ec69a82c62500e60, []int{30} } func (m *QueryGetGuildResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1261,7 +1497,7 @@ func (m *QueryAllGuildRequest) Reset() { *m = QueryAllGuildRequest{} } func (m *QueryAllGuildRequest) String() string { return proto.CompactTextString(m) } func (*QueryAllGuildRequest) ProtoMessage() {} func (*QueryAllGuildRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_ec69a82c62500e60, []int{26} + return fileDescriptor_ec69a82c62500e60, []int{31} } func (m *QueryAllGuildRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1306,7 +1542,7 @@ func (m *QueryAllGuildResponse) Reset() { *m = QueryAllGuildResponse{} } func (m *QueryAllGuildResponse) String() string { return proto.CompactTextString(m) } func (*QueryAllGuildResponse) ProtoMessage() {} func (*QueryAllGuildResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_ec69a82c62500e60, []int{27} + return fileDescriptor_ec69a82c62500e60, []int{32} } func (m *QueryAllGuildResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1349,27 +1585,26 @@ func (m *QueryAllGuildResponse) GetPagination() *query.PageResponse { return nil } -type QueryGetGuildMembershipApplicationRequest struct { - GuildId string `protobuf:"bytes,1,opt,name=guildId,proto3" json:"guildId,omitempty"` - PlayerId string `protobuf:"bytes,2,opt,name=playerId,proto3" json:"playerId,omitempty"` +type QueryGetGuildBankCollateralAddressRequest struct { + GuildId string `protobuf:"bytes,1,opt,name=guildId,proto3" json:"guildId,omitempty"` } -func (m *QueryGetGuildMembershipApplicationRequest) Reset() { - *m = QueryGetGuildMembershipApplicationRequest{} +func (m *QueryGetGuildBankCollateralAddressRequest) Reset() { + *m = QueryGetGuildBankCollateralAddressRequest{} } -func (m *QueryGetGuildMembershipApplicationRequest) String() string { +func (m *QueryGetGuildBankCollateralAddressRequest) String() string { return proto.CompactTextString(m) } -func (*QueryGetGuildMembershipApplicationRequest) ProtoMessage() {} -func (*QueryGetGuildMembershipApplicationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_ec69a82c62500e60, []int{28} +func (*QueryGetGuildBankCollateralAddressRequest) ProtoMessage() {} +func (*QueryGetGuildBankCollateralAddressRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_ec69a82c62500e60, []int{33} } -func (m *QueryGetGuildMembershipApplicationRequest) XXX_Unmarshal(b []byte) error { +func (m *QueryGetGuildBankCollateralAddressRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *QueryGetGuildMembershipApplicationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *QueryGetGuildBankCollateralAddressRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_QueryGetGuildMembershipApplicationRequest.Marshal(b, m, deterministic) + return xxx_messageInfo_QueryGetGuildBankCollateralAddressRequest.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -1379,52 +1614,45 @@ func (m *QueryGetGuildMembershipApplicationRequest) XXX_Marshal(b []byte, determ return b[:n], nil } } -func (m *QueryGetGuildMembershipApplicationRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryGetGuildMembershipApplicationRequest.Merge(m, src) +func (m *QueryGetGuildBankCollateralAddressRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryGetGuildBankCollateralAddressRequest.Merge(m, src) } -func (m *QueryGetGuildMembershipApplicationRequest) XXX_Size() int { +func (m *QueryGetGuildBankCollateralAddressRequest) XXX_Size() int { return m.Size() } -func (m *QueryGetGuildMembershipApplicationRequest) XXX_DiscardUnknown() { - xxx_messageInfo_QueryGetGuildMembershipApplicationRequest.DiscardUnknown(m) +func (m *QueryGetGuildBankCollateralAddressRequest) XXX_DiscardUnknown() { + xxx_messageInfo_QueryGetGuildBankCollateralAddressRequest.DiscardUnknown(m) } -var xxx_messageInfo_QueryGetGuildMembershipApplicationRequest proto.InternalMessageInfo +var xxx_messageInfo_QueryGetGuildBankCollateralAddressRequest proto.InternalMessageInfo -func (m *QueryGetGuildMembershipApplicationRequest) GetGuildId() string { +func (m *QueryGetGuildBankCollateralAddressRequest) GetGuildId() string { if m != nil { return m.GuildId } return "" } -func (m *QueryGetGuildMembershipApplicationRequest) GetPlayerId() string { - if m != nil { - return m.PlayerId - } - return "" -} - -type QueryGetGuildMembershipApplicationResponse struct { - GuildMembershipApplication GuildMembershipApplication `protobuf:"bytes,1,opt,name=GuildMembershipApplication,proto3" json:"GuildMembershipApplication"` +type QueryAllGuildBankCollateralAddressRequest struct { + Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` } -func (m *QueryGetGuildMembershipApplicationResponse) Reset() { - *m = QueryGetGuildMembershipApplicationResponse{} +func (m *QueryAllGuildBankCollateralAddressRequest) Reset() { + *m = QueryAllGuildBankCollateralAddressRequest{} } -func (m *QueryGetGuildMembershipApplicationResponse) String() string { +func (m *QueryAllGuildBankCollateralAddressRequest) String() string { return proto.CompactTextString(m) } -func (*QueryGetGuildMembershipApplicationResponse) ProtoMessage() {} -func (*QueryGetGuildMembershipApplicationResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_ec69a82c62500e60, []int{29} +func (*QueryAllGuildBankCollateralAddressRequest) ProtoMessage() {} +func (*QueryAllGuildBankCollateralAddressRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_ec69a82c62500e60, []int{34} } -func (m *QueryGetGuildMembershipApplicationResponse) XXX_Unmarshal(b []byte) error { +func (m *QueryAllGuildBankCollateralAddressRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *QueryGetGuildMembershipApplicationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *QueryAllGuildBankCollateralAddressRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_QueryGetGuildMembershipApplicationResponse.Marshal(b, m, deterministic) + return xxx_messageInfo_QueryAllGuildBankCollateralAddressRequest.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -1434,45 +1662,46 @@ func (m *QueryGetGuildMembershipApplicationResponse) XXX_Marshal(b []byte, deter return b[:n], nil } } -func (m *QueryGetGuildMembershipApplicationResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryGetGuildMembershipApplicationResponse.Merge(m, src) +func (m *QueryAllGuildBankCollateralAddressRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryAllGuildBankCollateralAddressRequest.Merge(m, src) } -func (m *QueryGetGuildMembershipApplicationResponse) XXX_Size() int { +func (m *QueryAllGuildBankCollateralAddressRequest) XXX_Size() int { return m.Size() } -func (m *QueryGetGuildMembershipApplicationResponse) XXX_DiscardUnknown() { - xxx_messageInfo_QueryGetGuildMembershipApplicationResponse.DiscardUnknown(m) +func (m *QueryAllGuildBankCollateralAddressRequest) XXX_DiscardUnknown() { + xxx_messageInfo_QueryAllGuildBankCollateralAddressRequest.DiscardUnknown(m) } -var xxx_messageInfo_QueryGetGuildMembershipApplicationResponse proto.InternalMessageInfo +var xxx_messageInfo_QueryAllGuildBankCollateralAddressRequest proto.InternalMessageInfo -func (m *QueryGetGuildMembershipApplicationResponse) GetGuildMembershipApplication() GuildMembershipApplication { +func (m *QueryAllGuildBankCollateralAddressRequest) GetPagination() *query.PageRequest { if m != nil { - return m.GuildMembershipApplication + return m.Pagination } - return GuildMembershipApplication{} + return nil } -type QueryAllGuildMembershipApplicationRequest struct { - Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` +type QueryAllGuildBankCollateralAddressResponse struct { + InternalAddressAssociation []*InternalAddressAssociation `protobuf:"bytes,1,rep,name=internalAddressAssociation,proto3" json:"internalAddressAssociation,omitempty"` + Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` } -func (m *QueryAllGuildMembershipApplicationRequest) Reset() { - *m = QueryAllGuildMembershipApplicationRequest{} +func (m *QueryAllGuildBankCollateralAddressResponse) Reset() { + *m = QueryAllGuildBankCollateralAddressResponse{} } -func (m *QueryAllGuildMembershipApplicationRequest) String() string { +func (m *QueryAllGuildBankCollateralAddressResponse) String() string { return proto.CompactTextString(m) } -func (*QueryAllGuildMembershipApplicationRequest) ProtoMessage() {} -func (*QueryAllGuildMembershipApplicationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_ec69a82c62500e60, []int{30} +func (*QueryAllGuildBankCollateralAddressResponse) ProtoMessage() {} +func (*QueryAllGuildBankCollateralAddressResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_ec69a82c62500e60, []int{35} } -func (m *QueryAllGuildMembershipApplicationRequest) XXX_Unmarshal(b []byte) error { +func (m *QueryAllGuildBankCollateralAddressResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *QueryAllGuildMembershipApplicationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *QueryAllGuildBankCollateralAddressResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_QueryAllGuildMembershipApplicationRequest.Marshal(b, m, deterministic) + return xxx_messageInfo_QueryAllGuildBankCollateralAddressResponse.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -1482,10 +1711,217 @@ func (m *QueryAllGuildMembershipApplicationRequest) XXX_Marshal(b []byte, determ return b[:n], nil } } -func (m *QueryAllGuildMembershipApplicationRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryAllGuildMembershipApplicationRequest.Merge(m, src) +func (m *QueryAllGuildBankCollateralAddressResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryAllGuildBankCollateralAddressResponse.Merge(m, src) } -func (m *QueryAllGuildMembershipApplicationRequest) XXX_Size() int { +func (m *QueryAllGuildBankCollateralAddressResponse) XXX_Size() int { + return m.Size() +} +func (m *QueryAllGuildBankCollateralAddressResponse) XXX_DiscardUnknown() { + xxx_messageInfo_QueryAllGuildBankCollateralAddressResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_QueryAllGuildBankCollateralAddressResponse proto.InternalMessageInfo + +func (m *QueryAllGuildBankCollateralAddressResponse) GetInternalAddressAssociation() []*InternalAddressAssociation { + if m != nil { + return m.InternalAddressAssociation + } + return nil +} + +func (m *QueryAllGuildBankCollateralAddressResponse) GetPagination() *query.PageResponse { + if m != nil { + return m.Pagination + } + return nil +} + +type QueryGetGuildByBankCollateralAddressRequest struct { + Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` +} + +func (m *QueryGetGuildByBankCollateralAddressRequest) Reset() { + *m = QueryGetGuildByBankCollateralAddressRequest{} +} +func (m *QueryGetGuildByBankCollateralAddressRequest) String() string { + return proto.CompactTextString(m) +} +func (*QueryGetGuildByBankCollateralAddressRequest) ProtoMessage() {} +func (*QueryGetGuildByBankCollateralAddressRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_ec69a82c62500e60, []int{36} +} +func (m *QueryGetGuildByBankCollateralAddressRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *QueryGetGuildByBankCollateralAddressRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_QueryGetGuildByBankCollateralAddressRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *QueryGetGuildByBankCollateralAddressRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryGetGuildByBankCollateralAddressRequest.Merge(m, src) +} +func (m *QueryGetGuildByBankCollateralAddressRequest) XXX_Size() int { + return m.Size() +} +func (m *QueryGetGuildByBankCollateralAddressRequest) XXX_DiscardUnknown() { + xxx_messageInfo_QueryGetGuildByBankCollateralAddressRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_QueryGetGuildByBankCollateralAddressRequest proto.InternalMessageInfo + +func (m *QueryGetGuildByBankCollateralAddressRequest) GetAddress() string { + if m != nil { + return m.Address + } + return "" +} + +type QueryGetGuildMembershipApplicationRequest struct { + GuildId string `protobuf:"bytes,1,opt,name=guildId,proto3" json:"guildId,omitempty"` + PlayerId string `protobuf:"bytes,2,opt,name=playerId,proto3" json:"playerId,omitempty"` +} + +func (m *QueryGetGuildMembershipApplicationRequest) Reset() { + *m = QueryGetGuildMembershipApplicationRequest{} +} +func (m *QueryGetGuildMembershipApplicationRequest) String() string { + return proto.CompactTextString(m) +} +func (*QueryGetGuildMembershipApplicationRequest) ProtoMessage() {} +func (*QueryGetGuildMembershipApplicationRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_ec69a82c62500e60, []int{37} +} +func (m *QueryGetGuildMembershipApplicationRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *QueryGetGuildMembershipApplicationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_QueryGetGuildMembershipApplicationRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *QueryGetGuildMembershipApplicationRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryGetGuildMembershipApplicationRequest.Merge(m, src) +} +func (m *QueryGetGuildMembershipApplicationRequest) XXX_Size() int { + return m.Size() +} +func (m *QueryGetGuildMembershipApplicationRequest) XXX_DiscardUnknown() { + xxx_messageInfo_QueryGetGuildMembershipApplicationRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_QueryGetGuildMembershipApplicationRequest proto.InternalMessageInfo + +func (m *QueryGetGuildMembershipApplicationRequest) GetGuildId() string { + if m != nil { + return m.GuildId + } + return "" +} + +func (m *QueryGetGuildMembershipApplicationRequest) GetPlayerId() string { + if m != nil { + return m.PlayerId + } + return "" +} + +type QueryGetGuildMembershipApplicationResponse struct { + GuildMembershipApplication GuildMembershipApplication `protobuf:"bytes,1,opt,name=GuildMembershipApplication,proto3" json:"GuildMembershipApplication"` +} + +func (m *QueryGetGuildMembershipApplicationResponse) Reset() { + *m = QueryGetGuildMembershipApplicationResponse{} +} +func (m *QueryGetGuildMembershipApplicationResponse) String() string { + return proto.CompactTextString(m) +} +func (*QueryGetGuildMembershipApplicationResponse) ProtoMessage() {} +func (*QueryGetGuildMembershipApplicationResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_ec69a82c62500e60, []int{38} +} +func (m *QueryGetGuildMembershipApplicationResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *QueryGetGuildMembershipApplicationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_QueryGetGuildMembershipApplicationResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *QueryGetGuildMembershipApplicationResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryGetGuildMembershipApplicationResponse.Merge(m, src) +} +func (m *QueryGetGuildMembershipApplicationResponse) XXX_Size() int { + return m.Size() +} +func (m *QueryGetGuildMembershipApplicationResponse) XXX_DiscardUnknown() { + xxx_messageInfo_QueryGetGuildMembershipApplicationResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_QueryGetGuildMembershipApplicationResponse proto.InternalMessageInfo + +func (m *QueryGetGuildMembershipApplicationResponse) GetGuildMembershipApplication() GuildMembershipApplication { + if m != nil { + return m.GuildMembershipApplication + } + return GuildMembershipApplication{} +} + +type QueryAllGuildMembershipApplicationRequest struct { + Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` +} + +func (m *QueryAllGuildMembershipApplicationRequest) Reset() { + *m = QueryAllGuildMembershipApplicationRequest{} +} +func (m *QueryAllGuildMembershipApplicationRequest) String() string { + return proto.CompactTextString(m) +} +func (*QueryAllGuildMembershipApplicationRequest) ProtoMessage() {} +func (*QueryAllGuildMembershipApplicationRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_ec69a82c62500e60, []int{39} +} +func (m *QueryAllGuildMembershipApplicationRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *QueryAllGuildMembershipApplicationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_QueryAllGuildMembershipApplicationRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *QueryAllGuildMembershipApplicationRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryAllGuildMembershipApplicationRequest.Merge(m, src) +} +func (m *QueryAllGuildMembershipApplicationRequest) XXX_Size() int { return m.Size() } func (m *QueryAllGuildMembershipApplicationRequest) XXX_DiscardUnknown() { @@ -1514,7 +1950,7 @@ func (m *QueryAllGuildMembershipApplicationResponse) String() string { } func (*QueryAllGuildMembershipApplicationResponse) ProtoMessage() {} func (*QueryAllGuildMembershipApplicationResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_ec69a82c62500e60, []int{31} + return fileDescriptor_ec69a82c62500e60, []int{40} } func (m *QueryAllGuildMembershipApplicationResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1566,7 +2002,7 @@ func (m *QueryGetInfusionRequest) Reset() { *m = QueryGetInfusionRequest func (m *QueryGetInfusionRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetInfusionRequest) ProtoMessage() {} func (*QueryGetInfusionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_ec69a82c62500e60, []int{32} + return fileDescriptor_ec69a82c62500e60, []int{41} } func (m *QueryGetInfusionRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1617,7 +2053,7 @@ func (m *QueryGetInfusionResponse) Reset() { *m = QueryGetInfusionRespon func (m *QueryGetInfusionResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetInfusionResponse) ProtoMessage() {} func (*QueryGetInfusionResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_ec69a82c62500e60, []int{33} + return fileDescriptor_ec69a82c62500e60, []int{42} } func (m *QueryGetInfusionResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1662,7 +2098,7 @@ func (m *QueryAllInfusionByDestinationRequest) Reset() { *m = QueryAllIn func (m *QueryAllInfusionByDestinationRequest) String() string { return proto.CompactTextString(m) } func (*QueryAllInfusionByDestinationRequest) ProtoMessage() {} func (*QueryAllInfusionByDestinationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_ec69a82c62500e60, []int{34} + return fileDescriptor_ec69a82c62500e60, []int{43} } func (m *QueryAllInfusionByDestinationRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1713,7 +2149,7 @@ func (m *QueryAllInfusionRequest) Reset() { *m = QueryAllInfusionRequest func (m *QueryAllInfusionRequest) String() string { return proto.CompactTextString(m) } func (*QueryAllInfusionRequest) ProtoMessage() {} func (*QueryAllInfusionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_ec69a82c62500e60, []int{35} + return fileDescriptor_ec69a82c62500e60, []int{44} } func (m *QueryAllInfusionRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1759,7 +2195,7 @@ func (m *QueryAllInfusionResponse) Reset() { *m = QueryAllInfusionRespon func (m *QueryAllInfusionResponse) String() string { return proto.CompactTextString(m) } func (*QueryAllInfusionResponse) ProtoMessage() {} func (*QueryAllInfusionResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_ec69a82c62500e60, []int{36} + return fileDescriptor_ec69a82c62500e60, []int{45} } func (m *QueryAllInfusionResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1817,7 +2253,7 @@ func (m *QueryGetPermissionRequest) Reset() { *m = QueryGetPermissionReq func (m *QueryGetPermissionRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetPermissionRequest) ProtoMessage() {} func (*QueryGetPermissionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_ec69a82c62500e60, []int{37} + return fileDescriptor_ec69a82c62500e60, []int{46} } func (m *QueryGetPermissionRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1862,7 +2298,7 @@ func (m *QueryAllPermissionByObjectRequest) Reset() { *m = QueryAllPermi func (m *QueryAllPermissionByObjectRequest) String() string { return proto.CompactTextString(m) } func (*QueryAllPermissionByObjectRequest) ProtoMessage() {} func (*QueryAllPermissionByObjectRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_ec69a82c62500e60, []int{38} + return fileDescriptor_ec69a82c62500e60, []int{47} } func (m *QueryAllPermissionByObjectRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1914,7 +2350,7 @@ func (m *QueryAllPermissionByPlayerRequest) Reset() { *m = QueryAllPermi func (m *QueryAllPermissionByPlayerRequest) String() string { return proto.CompactTextString(m) } func (*QueryAllPermissionByPlayerRequest) ProtoMessage() {} func (*QueryAllPermissionByPlayerRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_ec69a82c62500e60, []int{39} + return fileDescriptor_ec69a82c62500e60, []int{48} } func (m *QueryAllPermissionByPlayerRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1965,7 +2401,7 @@ func (m *QueryAllPermissionRequest) Reset() { *m = QueryAllPermissionReq func (m *QueryAllPermissionRequest) String() string { return proto.CompactTextString(m) } func (*QueryAllPermissionRequest) ProtoMessage() {} func (*QueryAllPermissionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_ec69a82c62500e60, []int{40} + return fileDescriptor_ec69a82c62500e60, []int{49} } func (m *QueryAllPermissionRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2010,7 +2446,7 @@ func (m *QueryGetPermissionResponse) Reset() { *m = QueryGetPermissionRe func (m *QueryGetPermissionResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetPermissionResponse) ProtoMessage() {} func (*QueryGetPermissionResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_ec69a82c62500e60, []int{41} + return fileDescriptor_ec69a82c62500e60, []int{50} } func (m *QueryGetPermissionResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2055,7 +2491,7 @@ func (m *QueryAllPermissionResponse) Reset() { *m = QueryAllPermissionRe func (m *QueryAllPermissionResponse) String() string { return proto.CompactTextString(m) } func (*QueryAllPermissionResponse) ProtoMessage() {} func (*QueryAllPermissionResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_ec69a82c62500e60, []int{42} + return fileDescriptor_ec69a82c62500e60, []int{51} } func (m *QueryAllPermissionResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2106,7 +2542,7 @@ func (m *QueryGetPlanetRequest) Reset() { *m = QueryGetPlanetRequest{} } func (m *QueryGetPlanetRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetPlanetRequest) ProtoMessage() {} func (*QueryGetPlanetRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_ec69a82c62500e60, []int{43} + return fileDescriptor_ec69a82c62500e60, []int{52} } func (m *QueryGetPlanetRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2152,7 +2588,7 @@ func (m *QueryGetPlanetResponse) Reset() { *m = QueryGetPlanetResponse{} func (m *QueryGetPlanetResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetPlanetResponse) ProtoMessage() {} func (*QueryGetPlanetResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_ec69a82c62500e60, []int{44} + return fileDescriptor_ec69a82c62500e60, []int{53} } func (m *QueryGetPlanetResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2210,7 +2646,7 @@ func (m *QueryAllPlanetRequest) Reset() { *m = QueryAllPlanetRequest{} } func (m *QueryAllPlanetRequest) String() string { return proto.CompactTextString(m) } func (*QueryAllPlanetRequest) ProtoMessage() {} func (*QueryAllPlanetRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_ec69a82c62500e60, []int{45} + return fileDescriptor_ec69a82c62500e60, []int{54} } func (m *QueryAllPlanetRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2255,7 +2691,7 @@ func (m *QueryAllPlanetByPlayerRequest) Reset() { *m = QueryAllPlanetByP func (m *QueryAllPlanetByPlayerRequest) String() string { return proto.CompactTextString(m) } func (*QueryAllPlanetByPlayerRequest) ProtoMessage() {} func (*QueryAllPlanetByPlayerRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_ec69a82c62500e60, []int{46} + return fileDescriptor_ec69a82c62500e60, []int{55} } func (m *QueryAllPlanetByPlayerRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2307,7 +2743,7 @@ func (m *QueryAllPlanetResponse) Reset() { *m = QueryAllPlanetResponse{} func (m *QueryAllPlanetResponse) String() string { return proto.CompactTextString(m) } func (*QueryAllPlanetResponse) ProtoMessage() {} func (*QueryAllPlanetResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_ec69a82c62500e60, []int{47} + return fileDescriptor_ec69a82c62500e60, []int{56} } func (m *QueryAllPlanetResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2359,7 +2795,7 @@ func (m *QueryGetPlanetAttributeRequest) Reset() { *m = QueryGetPlanetAt func (m *QueryGetPlanetAttributeRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetPlanetAttributeRequest) ProtoMessage() {} func (*QueryGetPlanetAttributeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_ec69a82c62500e60, []int{48} + return fileDescriptor_ec69a82c62500e60, []int{57} } func (m *QueryGetPlanetAttributeRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2410,7 +2846,7 @@ func (m *QueryGetPlanetAttributeResponse) Reset() { *m = QueryGetPlanetA func (m *QueryGetPlanetAttributeResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetPlanetAttributeResponse) ProtoMessage() {} func (*QueryGetPlanetAttributeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_ec69a82c62500e60, []int{49} + return fileDescriptor_ec69a82c62500e60, []int{58} } func (m *QueryGetPlanetAttributeResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2454,7 +2890,7 @@ func (m *QueryAllPlanetAttributeRequest) Reset() { *m = QueryAllPlanetAt func (m *QueryAllPlanetAttributeRequest) String() string { return proto.CompactTextString(m) } func (*QueryAllPlanetAttributeRequest) ProtoMessage() {} func (*QueryAllPlanetAttributeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_ec69a82c62500e60, []int{50} + return fileDescriptor_ec69a82c62500e60, []int{59} } func (m *QueryAllPlanetAttributeRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2499,7 +2935,7 @@ func (m *QueryAllPlanetAttributeResponse) Reset() { *m = QueryAllPlanetA func (m *QueryAllPlanetAttributeResponse) String() string { return proto.CompactTextString(m) } func (*QueryAllPlanetAttributeResponse) ProtoMessage() {} func (*QueryAllPlanetAttributeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_ec69a82c62500e60, []int{51} + return fileDescriptor_ec69a82c62500e60, []int{60} } func (m *QueryAllPlanetAttributeResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2550,7 +2986,7 @@ func (m *QueryGetPlayerRequest) Reset() { *m = QueryGetPlayerRequest{} } func (m *QueryGetPlayerRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetPlayerRequest) ProtoMessage() {} func (*QueryGetPlayerRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_ec69a82c62500e60, []int{52} + return fileDescriptor_ec69a82c62500e60, []int{61} } func (m *QueryGetPlayerRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2590,13 +3026,14 @@ type QueryGetPlayerResponse struct { Player Player `protobuf:"bytes,1,opt,name=Player,proto3" json:"Player"` GridAttributes *GridAttributes `protobuf:"bytes,2,opt,name=gridAttributes,proto3" json:"gridAttributes,omitempty"` PlayerInventory *PlayerInventory `protobuf:"bytes,3,opt,name=playerInventory,proto3" json:"playerInventory,omitempty"` + Halted bool `protobuf:"varint,4,opt,name=halted,proto3" json:"halted,omitempty"` } func (m *QueryGetPlayerResponse) Reset() { *m = QueryGetPlayerResponse{} } func (m *QueryGetPlayerResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetPlayerResponse) ProtoMessage() {} func (*QueryGetPlayerResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_ec69a82c62500e60, []int{53} + return fileDescriptor_ec69a82c62500e60, []int{62} } func (m *QueryGetPlayerResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2646,6 +3083,13 @@ func (m *QueryGetPlayerResponse) GetPlayerInventory() *PlayerInventory { return nil } +func (m *QueryGetPlayerResponse) GetHalted() bool { + if m != nil { + return m.Halted + } + return false +} + type QueryAllPlayerRequest struct { Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` } @@ -2654,7 +3098,7 @@ func (m *QueryAllPlayerRequest) Reset() { *m = QueryAllPlayerRequest{} } func (m *QueryAllPlayerRequest) String() string { return proto.CompactTextString(m) } func (*QueryAllPlayerRequest) ProtoMessage() {} func (*QueryAllPlayerRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_ec69a82c62500e60, []int{54} + return fileDescriptor_ec69a82c62500e60, []int{63} } func (m *QueryAllPlayerRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2699,7 +3143,7 @@ func (m *QueryAllPlayerResponse) Reset() { *m = QueryAllPlayerResponse{} func (m *QueryAllPlayerResponse) String() string { return proto.CompactTextString(m) } func (*QueryAllPlayerResponse) ProtoMessage() {} func (*QueryAllPlayerResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_ec69a82c62500e60, []int{55} + return fileDescriptor_ec69a82c62500e60, []int{64} } func (m *QueryAllPlayerResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2742,22 +3186,21 @@ func (m *QueryAllPlayerResponse) GetPagination() *query.PageResponse { return nil } -type QueryGetReactorRequest struct { - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` +type QueryAllPlayerHaltedRequest struct { } -func (m *QueryGetReactorRequest) Reset() { *m = QueryGetReactorRequest{} } -func (m *QueryGetReactorRequest) String() string { return proto.CompactTextString(m) } -func (*QueryGetReactorRequest) ProtoMessage() {} -func (*QueryGetReactorRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_ec69a82c62500e60, []int{56} +func (m *QueryAllPlayerHaltedRequest) Reset() { *m = QueryAllPlayerHaltedRequest{} } +func (m *QueryAllPlayerHaltedRequest) String() string { return proto.CompactTextString(m) } +func (*QueryAllPlayerHaltedRequest) ProtoMessage() {} +func (*QueryAllPlayerHaltedRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_ec69a82c62500e60, []int{65} } -func (m *QueryGetReactorRequest) XXX_Unmarshal(b []byte) error { +func (m *QueryAllPlayerHaltedRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *QueryGetReactorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *QueryAllPlayerHaltedRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_QueryGetReactorRequest.Marshal(b, m, deterministic) + return xxx_messageInfo_QueryAllPlayerHaltedRequest.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -2767,42 +3210,34 @@ func (m *QueryGetReactorRequest) XXX_Marshal(b []byte, deterministic bool) ([]by return b[:n], nil } } -func (m *QueryGetReactorRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryGetReactorRequest.Merge(m, src) +func (m *QueryAllPlayerHaltedRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryAllPlayerHaltedRequest.Merge(m, src) } -func (m *QueryGetReactorRequest) XXX_Size() int { +func (m *QueryAllPlayerHaltedRequest) XXX_Size() int { return m.Size() } -func (m *QueryGetReactorRequest) XXX_DiscardUnknown() { - xxx_messageInfo_QueryGetReactorRequest.DiscardUnknown(m) +func (m *QueryAllPlayerHaltedRequest) XXX_DiscardUnknown() { + xxx_messageInfo_QueryAllPlayerHaltedRequest.DiscardUnknown(m) } -var xxx_messageInfo_QueryGetReactorRequest proto.InternalMessageInfo - -func (m *QueryGetReactorRequest) GetId() string { - if m != nil { - return m.Id - } - return "" -} +var xxx_messageInfo_QueryAllPlayerHaltedRequest proto.InternalMessageInfo -type QueryGetReactorResponse struct { - Reactor Reactor `protobuf:"bytes,1,opt,name=Reactor,proto3" json:"Reactor"` - GridAttributes *GridAttributes `protobuf:"bytes,2,opt,name=gridAttributes,proto3" json:"gridAttributes,omitempty"` +type QueryAllPlayerHaltedResponse struct { + PlayerId []string `protobuf:"bytes,1,rep,name=PlayerId,proto3" json:"PlayerId,omitempty"` } -func (m *QueryGetReactorResponse) Reset() { *m = QueryGetReactorResponse{} } -func (m *QueryGetReactorResponse) String() string { return proto.CompactTextString(m) } -func (*QueryGetReactorResponse) ProtoMessage() {} -func (*QueryGetReactorResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_ec69a82c62500e60, []int{57} +func (m *QueryAllPlayerHaltedResponse) Reset() { *m = QueryAllPlayerHaltedResponse{} } +func (m *QueryAllPlayerHaltedResponse) String() string { return proto.CompactTextString(m) } +func (*QueryAllPlayerHaltedResponse) ProtoMessage() {} +func (*QueryAllPlayerHaltedResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_ec69a82c62500e60, []int{66} } -func (m *QueryGetReactorResponse) XXX_Unmarshal(b []byte) error { +func (m *QueryAllPlayerHaltedResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *QueryGetReactorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *QueryAllPlayerHaltedResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_QueryGetReactorResponse.Marshal(b, m, deterministic) + return xxx_messageInfo_QueryAllPlayerHaltedResponse.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -2812,48 +3247,41 @@ func (m *QueryGetReactorResponse) XXX_Marshal(b []byte, deterministic bool) ([]b return b[:n], nil } } -func (m *QueryGetReactorResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryGetReactorResponse.Merge(m, src) +func (m *QueryAllPlayerHaltedResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryAllPlayerHaltedResponse.Merge(m, src) } -func (m *QueryGetReactorResponse) XXX_Size() int { +func (m *QueryAllPlayerHaltedResponse) XXX_Size() int { return m.Size() } -func (m *QueryGetReactorResponse) XXX_DiscardUnknown() { - xxx_messageInfo_QueryGetReactorResponse.DiscardUnknown(m) +func (m *QueryAllPlayerHaltedResponse) XXX_DiscardUnknown() { + xxx_messageInfo_QueryAllPlayerHaltedResponse.DiscardUnknown(m) } -var xxx_messageInfo_QueryGetReactorResponse proto.InternalMessageInfo - -func (m *QueryGetReactorResponse) GetReactor() Reactor { - if m != nil { - return m.Reactor - } - return Reactor{} -} +var xxx_messageInfo_QueryAllPlayerHaltedResponse proto.InternalMessageInfo -func (m *QueryGetReactorResponse) GetGridAttributes() *GridAttributes { +func (m *QueryAllPlayerHaltedResponse) GetPlayerId() []string { if m != nil { - return m.GridAttributes + return m.PlayerId } return nil } -type QueryAllReactorRequest struct { - Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` +type QueryGetProviderRequest struct { + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` } -func (m *QueryAllReactorRequest) Reset() { *m = QueryAllReactorRequest{} } -func (m *QueryAllReactorRequest) String() string { return proto.CompactTextString(m) } -func (*QueryAllReactorRequest) ProtoMessage() {} -func (*QueryAllReactorRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_ec69a82c62500e60, []int{58} +func (m *QueryGetProviderRequest) Reset() { *m = QueryGetProviderRequest{} } +func (m *QueryGetProviderRequest) String() string { return proto.CompactTextString(m) } +func (*QueryGetProviderRequest) ProtoMessage() {} +func (*QueryGetProviderRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_ec69a82c62500e60, []int{67} } -func (m *QueryAllReactorRequest) XXX_Unmarshal(b []byte) error { +func (m *QueryGetProviderRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *QueryAllReactorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *QueryGetProviderRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_QueryAllReactorRequest.Marshal(b, m, deterministic) + return xxx_messageInfo_QueryGetProviderRequest.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -2863,42 +3291,42 @@ func (m *QueryAllReactorRequest) XXX_Marshal(b []byte, deterministic bool) ([]by return b[:n], nil } } -func (m *QueryAllReactorRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryAllReactorRequest.Merge(m, src) +func (m *QueryGetProviderRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryGetProviderRequest.Merge(m, src) } -func (m *QueryAllReactorRequest) XXX_Size() int { +func (m *QueryGetProviderRequest) XXX_Size() int { return m.Size() } -func (m *QueryAllReactorRequest) XXX_DiscardUnknown() { - xxx_messageInfo_QueryAllReactorRequest.DiscardUnknown(m) +func (m *QueryGetProviderRequest) XXX_DiscardUnknown() { + xxx_messageInfo_QueryGetProviderRequest.DiscardUnknown(m) } -var xxx_messageInfo_QueryAllReactorRequest proto.InternalMessageInfo +var xxx_messageInfo_QueryGetProviderRequest proto.InternalMessageInfo -func (m *QueryAllReactorRequest) GetPagination() *query.PageRequest { +func (m *QueryGetProviderRequest) GetId() string { if m != nil { - return m.Pagination + return m.Id } - return nil + return "" } -type QueryAllReactorResponse struct { - Reactor []Reactor `protobuf:"bytes,1,rep,name=Reactor,proto3" json:"Reactor"` - Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` +type QueryGetProviderResponse struct { + Provider Provider `protobuf:"bytes,1,opt,name=Provider,proto3" json:"Provider"` + GridAttributes *GridAttributes `protobuf:"bytes,2,opt,name=gridAttributes,proto3" json:"gridAttributes,omitempty"` } -func (m *QueryAllReactorResponse) Reset() { *m = QueryAllReactorResponse{} } -func (m *QueryAllReactorResponse) String() string { return proto.CompactTextString(m) } -func (*QueryAllReactorResponse) ProtoMessage() {} -func (*QueryAllReactorResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_ec69a82c62500e60, []int{59} +func (m *QueryGetProviderResponse) Reset() { *m = QueryGetProviderResponse{} } +func (m *QueryGetProviderResponse) String() string { return proto.CompactTextString(m) } +func (*QueryGetProviderResponse) ProtoMessage() {} +func (*QueryGetProviderResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_ec69a82c62500e60, []int{68} } -func (m *QueryAllReactorResponse) XXX_Unmarshal(b []byte) error { +func (m *QueryGetProviderResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *QueryAllReactorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *QueryGetProviderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_QueryAllReactorResponse.Marshal(b, m, deterministic) + return xxx_messageInfo_QueryGetProviderResponse.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -2908,48 +3336,48 @@ func (m *QueryAllReactorResponse) XXX_Marshal(b []byte, deterministic bool) ([]b return b[:n], nil } } -func (m *QueryAllReactorResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryAllReactorResponse.Merge(m, src) +func (m *QueryGetProviderResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryGetProviderResponse.Merge(m, src) } -func (m *QueryAllReactorResponse) XXX_Size() int { +func (m *QueryGetProviderResponse) XXX_Size() int { return m.Size() } -func (m *QueryAllReactorResponse) XXX_DiscardUnknown() { - xxx_messageInfo_QueryAllReactorResponse.DiscardUnknown(m) +func (m *QueryGetProviderResponse) XXX_DiscardUnknown() { + xxx_messageInfo_QueryGetProviderResponse.DiscardUnknown(m) } -var xxx_messageInfo_QueryAllReactorResponse proto.InternalMessageInfo +var xxx_messageInfo_QueryGetProviderResponse proto.InternalMessageInfo -func (m *QueryAllReactorResponse) GetReactor() []Reactor { +func (m *QueryGetProviderResponse) GetProvider() Provider { if m != nil { - return m.Reactor + return m.Provider } - return nil + return Provider{} } -func (m *QueryAllReactorResponse) GetPagination() *query.PageResponse { +func (m *QueryGetProviderResponse) GetGridAttributes() *GridAttributes { if m != nil { - return m.Pagination + return m.GridAttributes } return nil } -type QueryGetStructRequest struct { - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` +type QueryAllProviderRequest struct { + Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` } -func (m *QueryGetStructRequest) Reset() { *m = QueryGetStructRequest{} } -func (m *QueryGetStructRequest) String() string { return proto.CompactTextString(m) } -func (*QueryGetStructRequest) ProtoMessage() {} -func (*QueryGetStructRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_ec69a82c62500e60, []int{60} +func (m *QueryAllProviderRequest) Reset() { *m = QueryAllProviderRequest{} } +func (m *QueryAllProviderRequest) String() string { return proto.CompactTextString(m) } +func (*QueryAllProviderRequest) ProtoMessage() {} +func (*QueryAllProviderRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_ec69a82c62500e60, []int{69} } -func (m *QueryGetStructRequest) XXX_Unmarshal(b []byte) error { +func (m *QueryAllProviderRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *QueryGetStructRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *QueryAllProviderRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_QueryGetStructRequest.Marshal(b, m, deterministic) + return xxx_messageInfo_QueryAllProviderRequest.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -2959,44 +3387,42 @@ func (m *QueryGetStructRequest) XXX_Marshal(b []byte, deterministic bool) ([]byt return b[:n], nil } } -func (m *QueryGetStructRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryGetStructRequest.Merge(m, src) +func (m *QueryAllProviderRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryAllProviderRequest.Merge(m, src) } -func (m *QueryGetStructRequest) XXX_Size() int { +func (m *QueryAllProviderRequest) XXX_Size() int { return m.Size() } -func (m *QueryGetStructRequest) XXX_DiscardUnknown() { - xxx_messageInfo_QueryGetStructRequest.DiscardUnknown(m) +func (m *QueryAllProviderRequest) XXX_DiscardUnknown() { + xxx_messageInfo_QueryAllProviderRequest.DiscardUnknown(m) } -var xxx_messageInfo_QueryGetStructRequest proto.InternalMessageInfo +var xxx_messageInfo_QueryAllProviderRequest proto.InternalMessageInfo -func (m *QueryGetStructRequest) GetId() string { +func (m *QueryAllProviderRequest) GetPagination() *query.PageRequest { if m != nil { - return m.Id + return m.Pagination } - return "" + return nil } -type QueryGetStructResponse struct { - Struct Struct `protobuf:"bytes,1,opt,name=Struct,proto3" json:"Struct"` - StructAttributes *StructAttributes `protobuf:"bytes,2,opt,name=structAttributes,proto3" json:"structAttributes,omitempty"` - GridAttributes *GridAttributes `protobuf:"bytes,3,opt,name=gridAttributes,proto3" json:"gridAttributes,omitempty"` - StructDefenders []string `protobuf:"bytes,4,rep,name=structDefenders,proto3" json:"structDefenders,omitempty"` +type QueryAllProviderResponse struct { + Provider []Provider `protobuf:"bytes,1,rep,name=Provider,proto3" json:"Provider"` + Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` } -func (m *QueryGetStructResponse) Reset() { *m = QueryGetStructResponse{} } -func (m *QueryGetStructResponse) String() string { return proto.CompactTextString(m) } -func (*QueryGetStructResponse) ProtoMessage() {} -func (*QueryGetStructResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_ec69a82c62500e60, []int{61} +func (m *QueryAllProviderResponse) Reset() { *m = QueryAllProviderResponse{} } +func (m *QueryAllProviderResponse) String() string { return proto.CompactTextString(m) } +func (*QueryAllProviderResponse) ProtoMessage() {} +func (*QueryAllProviderResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_ec69a82c62500e60, []int{70} } -func (m *QueryGetStructResponse) XXX_Unmarshal(b []byte) error { +func (m *QueryAllProviderResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *QueryGetStructResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *QueryAllProviderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_QueryGetStructResponse.Marshal(b, m, deterministic) + return xxx_messageInfo_QueryAllProviderResponse.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -3006,62 +3432,96 @@ func (m *QueryGetStructResponse) XXX_Marshal(b []byte, deterministic bool) ([]by return b[:n], nil } } -func (m *QueryGetStructResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryGetStructResponse.Merge(m, src) +func (m *QueryAllProviderResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryAllProviderResponse.Merge(m, src) } -func (m *QueryGetStructResponse) XXX_Size() int { +func (m *QueryAllProviderResponse) XXX_Size() int { return m.Size() } -func (m *QueryGetStructResponse) XXX_DiscardUnknown() { - xxx_messageInfo_QueryGetStructResponse.DiscardUnknown(m) +func (m *QueryAllProviderResponse) XXX_DiscardUnknown() { + xxx_messageInfo_QueryAllProviderResponse.DiscardUnknown(m) } -var xxx_messageInfo_QueryGetStructResponse proto.InternalMessageInfo +var xxx_messageInfo_QueryAllProviderResponse proto.InternalMessageInfo -func (m *QueryGetStructResponse) GetStruct() Struct { +func (m *QueryAllProviderResponse) GetProvider() []Provider { if m != nil { - return m.Struct + return m.Provider } - return Struct{} + return nil } -func (m *QueryGetStructResponse) GetStructAttributes() *StructAttributes { +func (m *QueryAllProviderResponse) GetPagination() *query.PageResponse { if m != nil { - return m.StructAttributes + return m.Pagination } return nil } -func (m *QueryGetStructResponse) GetGridAttributes() *GridAttributes { - if m != nil { - return m.GridAttributes +type QueryGetProviderCollateralAddressRequest struct { + ProviderId string `protobuf:"bytes,1,opt,name=providerId,proto3" json:"providerId,omitempty"` +} + +func (m *QueryGetProviderCollateralAddressRequest) Reset() { + *m = QueryGetProviderCollateralAddressRequest{} +} +func (m *QueryGetProviderCollateralAddressRequest) String() string { return proto.CompactTextString(m) } +func (*QueryGetProviderCollateralAddressRequest) ProtoMessage() {} +func (*QueryGetProviderCollateralAddressRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_ec69a82c62500e60, []int{71} +} +func (m *QueryGetProviderCollateralAddressRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *QueryGetProviderCollateralAddressRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_QueryGetProviderCollateralAddressRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil } - return nil +} +func (m *QueryGetProviderCollateralAddressRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryGetProviderCollateralAddressRequest.Merge(m, src) +} +func (m *QueryGetProviderCollateralAddressRequest) XXX_Size() int { + return m.Size() +} +func (m *QueryGetProviderCollateralAddressRequest) XXX_DiscardUnknown() { + xxx_messageInfo_QueryGetProviderCollateralAddressRequest.DiscardUnknown(m) } -func (m *QueryGetStructResponse) GetStructDefenders() []string { +var xxx_messageInfo_QueryGetProviderCollateralAddressRequest proto.InternalMessageInfo + +func (m *QueryGetProviderCollateralAddressRequest) GetProviderId() string { if m != nil { - return m.StructDefenders + return m.ProviderId } - return nil + return "" } -type QueryAllStructRequest struct { +type QueryAllProviderCollateralAddressRequest struct { Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` } -func (m *QueryAllStructRequest) Reset() { *m = QueryAllStructRequest{} } -func (m *QueryAllStructRequest) String() string { return proto.CompactTextString(m) } -func (*QueryAllStructRequest) ProtoMessage() {} -func (*QueryAllStructRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_ec69a82c62500e60, []int{62} +func (m *QueryAllProviderCollateralAddressRequest) Reset() { + *m = QueryAllProviderCollateralAddressRequest{} } -func (m *QueryAllStructRequest) XXX_Unmarshal(b []byte) error { +func (m *QueryAllProviderCollateralAddressRequest) String() string { return proto.CompactTextString(m) } +func (*QueryAllProviderCollateralAddressRequest) ProtoMessage() {} +func (*QueryAllProviderCollateralAddressRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_ec69a82c62500e60, []int{72} +} +func (m *QueryAllProviderCollateralAddressRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *QueryAllStructRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *QueryAllProviderCollateralAddressRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_QueryAllStructRequest.Marshal(b, m, deterministic) + return xxx_messageInfo_QueryAllProviderCollateralAddressRequest.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -3071,42 +3531,46 @@ func (m *QueryAllStructRequest) XXX_Marshal(b []byte, deterministic bool) ([]byt return b[:n], nil } } -func (m *QueryAllStructRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryAllStructRequest.Merge(m, src) +func (m *QueryAllProviderCollateralAddressRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryAllProviderCollateralAddressRequest.Merge(m, src) } -func (m *QueryAllStructRequest) XXX_Size() int { +func (m *QueryAllProviderCollateralAddressRequest) XXX_Size() int { return m.Size() } -func (m *QueryAllStructRequest) XXX_DiscardUnknown() { - xxx_messageInfo_QueryAllStructRequest.DiscardUnknown(m) +func (m *QueryAllProviderCollateralAddressRequest) XXX_DiscardUnknown() { + xxx_messageInfo_QueryAllProviderCollateralAddressRequest.DiscardUnknown(m) } -var xxx_messageInfo_QueryAllStructRequest proto.InternalMessageInfo +var xxx_messageInfo_QueryAllProviderCollateralAddressRequest proto.InternalMessageInfo -func (m *QueryAllStructRequest) GetPagination() *query.PageRequest { +func (m *QueryAllProviderCollateralAddressRequest) GetPagination() *query.PageRequest { if m != nil { return m.Pagination } return nil } -type QueryAllStructResponse struct { - Struct []Struct `protobuf:"bytes,1,rep,name=Struct,proto3" json:"Struct"` - Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` +type QueryAllProviderCollateralAddressResponse struct { + InternalAddressAssociation []*InternalAddressAssociation `protobuf:"bytes,1,rep,name=internalAddressAssociation,proto3" json:"internalAddressAssociation,omitempty"` + Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` } -func (m *QueryAllStructResponse) Reset() { *m = QueryAllStructResponse{} } -func (m *QueryAllStructResponse) String() string { return proto.CompactTextString(m) } -func (*QueryAllStructResponse) ProtoMessage() {} -func (*QueryAllStructResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_ec69a82c62500e60, []int{63} +func (m *QueryAllProviderCollateralAddressResponse) Reset() { + *m = QueryAllProviderCollateralAddressResponse{} } -func (m *QueryAllStructResponse) XXX_Unmarshal(b []byte) error { +func (m *QueryAllProviderCollateralAddressResponse) String() string { + return proto.CompactTextString(m) +} +func (*QueryAllProviderCollateralAddressResponse) ProtoMessage() {} +func (*QueryAllProviderCollateralAddressResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_ec69a82c62500e60, []int{73} +} +func (m *QueryAllProviderCollateralAddressResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *QueryAllStructResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *QueryAllProviderCollateralAddressResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_QueryAllStructResponse.Marshal(b, m, deterministic) + return xxx_messageInfo_QueryAllProviderCollateralAddressResponse.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -3116,49 +3580,52 @@ func (m *QueryAllStructResponse) XXX_Marshal(b []byte, deterministic bool) ([]by return b[:n], nil } } -func (m *QueryAllStructResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryAllStructResponse.Merge(m, src) +func (m *QueryAllProviderCollateralAddressResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryAllProviderCollateralAddressResponse.Merge(m, src) } -func (m *QueryAllStructResponse) XXX_Size() int { +func (m *QueryAllProviderCollateralAddressResponse) XXX_Size() int { return m.Size() } -func (m *QueryAllStructResponse) XXX_DiscardUnknown() { - xxx_messageInfo_QueryAllStructResponse.DiscardUnknown(m) +func (m *QueryAllProviderCollateralAddressResponse) XXX_DiscardUnknown() { + xxx_messageInfo_QueryAllProviderCollateralAddressResponse.DiscardUnknown(m) } -var xxx_messageInfo_QueryAllStructResponse proto.InternalMessageInfo +var xxx_messageInfo_QueryAllProviderCollateralAddressResponse proto.InternalMessageInfo -func (m *QueryAllStructResponse) GetStruct() []Struct { +func (m *QueryAllProviderCollateralAddressResponse) GetInternalAddressAssociation() []*InternalAddressAssociation { if m != nil { - return m.Struct + return m.InternalAddressAssociation } return nil } -func (m *QueryAllStructResponse) GetPagination() *query.PageResponse { +func (m *QueryAllProviderCollateralAddressResponse) GetPagination() *query.PageResponse { if m != nil { return m.Pagination } return nil } -type QueryGetStructAttributeRequest struct { - StructId string `protobuf:"bytes,1,opt,name=structId,proto3" json:"structId,omitempty"` - AttributeType string `protobuf:"bytes,2,opt,name=attributeType,proto3" json:"attributeType,omitempty"` +type QueryGetProviderByCollateralAddressRequest struct { + Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` } -func (m *QueryGetStructAttributeRequest) Reset() { *m = QueryGetStructAttributeRequest{} } -func (m *QueryGetStructAttributeRequest) String() string { return proto.CompactTextString(m) } -func (*QueryGetStructAttributeRequest) ProtoMessage() {} -func (*QueryGetStructAttributeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_ec69a82c62500e60, []int{64} +func (m *QueryGetProviderByCollateralAddressRequest) Reset() { + *m = QueryGetProviderByCollateralAddressRequest{} } -func (m *QueryGetStructAttributeRequest) XXX_Unmarshal(b []byte) error { +func (m *QueryGetProviderByCollateralAddressRequest) String() string { + return proto.CompactTextString(m) +} +func (*QueryGetProviderByCollateralAddressRequest) ProtoMessage() {} +func (*QueryGetProviderByCollateralAddressRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_ec69a82c62500e60, []int{74} +} +func (m *QueryGetProviderByCollateralAddressRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *QueryGetStructAttributeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *QueryGetProviderByCollateralAddressRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_QueryGetStructAttributeRequest.Marshal(b, m, deterministic) + return xxx_messageInfo_QueryGetProviderByCollateralAddressRequest.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -3168,48 +3635,43 @@ func (m *QueryGetStructAttributeRequest) XXX_Marshal(b []byte, deterministic boo return b[:n], nil } } -func (m *QueryGetStructAttributeRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryGetStructAttributeRequest.Merge(m, src) +func (m *QueryGetProviderByCollateralAddressRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryGetProviderByCollateralAddressRequest.Merge(m, src) } -func (m *QueryGetStructAttributeRequest) XXX_Size() int { +func (m *QueryGetProviderByCollateralAddressRequest) XXX_Size() int { return m.Size() } -func (m *QueryGetStructAttributeRequest) XXX_DiscardUnknown() { - xxx_messageInfo_QueryGetStructAttributeRequest.DiscardUnknown(m) +func (m *QueryGetProviderByCollateralAddressRequest) XXX_DiscardUnknown() { + xxx_messageInfo_QueryGetProviderByCollateralAddressRequest.DiscardUnknown(m) } -var xxx_messageInfo_QueryGetStructAttributeRequest proto.InternalMessageInfo +var xxx_messageInfo_QueryGetProviderByCollateralAddressRequest proto.InternalMessageInfo -func (m *QueryGetStructAttributeRequest) GetStructId() string { +func (m *QueryGetProviderByCollateralAddressRequest) GetAddress() string { if m != nil { - return m.StructId + return m.Address } return "" } -func (m *QueryGetStructAttributeRequest) GetAttributeType() string { - if m != nil { - return m.AttributeType - } - return "" +type QueryGetProviderEarningsAddressRequest struct { + ProviderId string `protobuf:"bytes,1,opt,name=providerId,proto3" json:"providerId,omitempty"` } -type QueryGetStructAttributeResponse struct { - Attribute uint64 `protobuf:"varint,1,opt,name=attribute,proto3" json:"attribute,omitempty"` +func (m *QueryGetProviderEarningsAddressRequest) Reset() { + *m = QueryGetProviderEarningsAddressRequest{} } - -func (m *QueryGetStructAttributeResponse) Reset() { *m = QueryGetStructAttributeResponse{} } -func (m *QueryGetStructAttributeResponse) String() string { return proto.CompactTextString(m) } -func (*QueryGetStructAttributeResponse) ProtoMessage() {} -func (*QueryGetStructAttributeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_ec69a82c62500e60, []int{65} +func (m *QueryGetProviderEarningsAddressRequest) String() string { return proto.CompactTextString(m) } +func (*QueryGetProviderEarningsAddressRequest) ProtoMessage() {} +func (*QueryGetProviderEarningsAddressRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_ec69a82c62500e60, []int{75} } -func (m *QueryGetStructAttributeResponse) XXX_Unmarshal(b []byte) error { +func (m *QueryGetProviderEarningsAddressRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *QueryGetStructAttributeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *QueryGetProviderEarningsAddressRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_QueryGetStructAttributeResponse.Marshal(b, m, deterministic) + return xxx_messageInfo_QueryGetProviderEarningsAddressRequest.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -3219,41 +3681,43 @@ func (m *QueryGetStructAttributeResponse) XXX_Marshal(b []byte, deterministic bo return b[:n], nil } } -func (m *QueryGetStructAttributeResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryGetStructAttributeResponse.Merge(m, src) +func (m *QueryGetProviderEarningsAddressRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryGetProviderEarningsAddressRequest.Merge(m, src) } -func (m *QueryGetStructAttributeResponse) XXX_Size() int { +func (m *QueryGetProviderEarningsAddressRequest) XXX_Size() int { return m.Size() } -func (m *QueryGetStructAttributeResponse) XXX_DiscardUnknown() { - xxx_messageInfo_QueryGetStructAttributeResponse.DiscardUnknown(m) +func (m *QueryGetProviderEarningsAddressRequest) XXX_DiscardUnknown() { + xxx_messageInfo_QueryGetProviderEarningsAddressRequest.DiscardUnknown(m) } -var xxx_messageInfo_QueryGetStructAttributeResponse proto.InternalMessageInfo +var xxx_messageInfo_QueryGetProviderEarningsAddressRequest proto.InternalMessageInfo -func (m *QueryGetStructAttributeResponse) GetAttribute() uint64 { +func (m *QueryGetProviderEarningsAddressRequest) GetProviderId() string { if m != nil { - return m.Attribute + return m.ProviderId } - return 0 + return "" } -type QueryAllStructAttributeRequest struct { +type QueryAllProviderEarningsAddressRequest struct { Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` } -func (m *QueryAllStructAttributeRequest) Reset() { *m = QueryAllStructAttributeRequest{} } -func (m *QueryAllStructAttributeRequest) String() string { return proto.CompactTextString(m) } -func (*QueryAllStructAttributeRequest) ProtoMessage() {} -func (*QueryAllStructAttributeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_ec69a82c62500e60, []int{66} +func (m *QueryAllProviderEarningsAddressRequest) Reset() { + *m = QueryAllProviderEarningsAddressRequest{} } -func (m *QueryAllStructAttributeRequest) XXX_Unmarshal(b []byte) error { +func (m *QueryAllProviderEarningsAddressRequest) String() string { return proto.CompactTextString(m) } +func (*QueryAllProviderEarningsAddressRequest) ProtoMessage() {} +func (*QueryAllProviderEarningsAddressRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_ec69a82c62500e60, []int{76} +} +func (m *QueryAllProviderEarningsAddressRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *QueryAllStructAttributeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *QueryAllProviderEarningsAddressRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_QueryAllStructAttributeRequest.Marshal(b, m, deterministic) + return xxx_messageInfo_QueryAllProviderEarningsAddressRequest.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -3263,42 +3727,44 @@ func (m *QueryAllStructAttributeRequest) XXX_Marshal(b []byte, deterministic boo return b[:n], nil } } -func (m *QueryAllStructAttributeRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryAllStructAttributeRequest.Merge(m, src) +func (m *QueryAllProviderEarningsAddressRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryAllProviderEarningsAddressRequest.Merge(m, src) } -func (m *QueryAllStructAttributeRequest) XXX_Size() int { +func (m *QueryAllProviderEarningsAddressRequest) XXX_Size() int { return m.Size() } -func (m *QueryAllStructAttributeRequest) XXX_DiscardUnknown() { - xxx_messageInfo_QueryAllStructAttributeRequest.DiscardUnknown(m) +func (m *QueryAllProviderEarningsAddressRequest) XXX_DiscardUnknown() { + xxx_messageInfo_QueryAllProviderEarningsAddressRequest.DiscardUnknown(m) } -var xxx_messageInfo_QueryAllStructAttributeRequest proto.InternalMessageInfo +var xxx_messageInfo_QueryAllProviderEarningsAddressRequest proto.InternalMessageInfo -func (m *QueryAllStructAttributeRequest) GetPagination() *query.PageRequest { +func (m *QueryAllProviderEarningsAddressRequest) GetPagination() *query.PageRequest { if m != nil { return m.Pagination } return nil } -type QueryAllStructAttributeResponse struct { - StructAttributeRecords []*StructAttributeRecord `protobuf:"bytes,1,rep,name=structAttributeRecords,proto3" json:"structAttributeRecords,omitempty"` - Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` +type QueryAllProviderEarningsAddressResponse struct { + InternalAddressAssociation []*InternalAddressAssociation `protobuf:"bytes,1,rep,name=internalAddressAssociation,proto3" json:"internalAddressAssociation,omitempty"` + Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` } -func (m *QueryAllStructAttributeResponse) Reset() { *m = QueryAllStructAttributeResponse{} } -func (m *QueryAllStructAttributeResponse) String() string { return proto.CompactTextString(m) } -func (*QueryAllStructAttributeResponse) ProtoMessage() {} -func (*QueryAllStructAttributeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_ec69a82c62500e60, []int{67} +func (m *QueryAllProviderEarningsAddressResponse) Reset() { + *m = QueryAllProviderEarningsAddressResponse{} } -func (m *QueryAllStructAttributeResponse) XXX_Unmarshal(b []byte) error { +func (m *QueryAllProviderEarningsAddressResponse) String() string { return proto.CompactTextString(m) } +func (*QueryAllProviderEarningsAddressResponse) ProtoMessage() {} +func (*QueryAllProviderEarningsAddressResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_ec69a82c62500e60, []int{77} +} +func (m *QueryAllProviderEarningsAddressResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *QueryAllStructAttributeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *QueryAllProviderEarningsAddressResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_QueryAllStructAttributeResponse.Marshal(b, m, deterministic) + return xxx_messageInfo_QueryAllProviderEarningsAddressResponse.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -3308,48 +3774,50 @@ func (m *QueryAllStructAttributeResponse) XXX_Marshal(b []byte, deterministic bo return b[:n], nil } } -func (m *QueryAllStructAttributeResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryAllStructAttributeResponse.Merge(m, src) +func (m *QueryAllProviderEarningsAddressResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryAllProviderEarningsAddressResponse.Merge(m, src) } -func (m *QueryAllStructAttributeResponse) XXX_Size() int { +func (m *QueryAllProviderEarningsAddressResponse) XXX_Size() int { return m.Size() } -func (m *QueryAllStructAttributeResponse) XXX_DiscardUnknown() { - xxx_messageInfo_QueryAllStructAttributeResponse.DiscardUnknown(m) +func (m *QueryAllProviderEarningsAddressResponse) XXX_DiscardUnknown() { + xxx_messageInfo_QueryAllProviderEarningsAddressResponse.DiscardUnknown(m) } -var xxx_messageInfo_QueryAllStructAttributeResponse proto.InternalMessageInfo +var xxx_messageInfo_QueryAllProviderEarningsAddressResponse proto.InternalMessageInfo -func (m *QueryAllStructAttributeResponse) GetStructAttributeRecords() []*StructAttributeRecord { +func (m *QueryAllProviderEarningsAddressResponse) GetInternalAddressAssociation() []*InternalAddressAssociation { if m != nil { - return m.StructAttributeRecords + return m.InternalAddressAssociation } return nil } -func (m *QueryAllStructAttributeResponse) GetPagination() *query.PageResponse { +func (m *QueryAllProviderEarningsAddressResponse) GetPagination() *query.PageResponse { if m != nil { return m.Pagination } return nil } -type QueryGetStructTypeRequest struct { - Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` +type QueryGetProviderByEarningsAddressRequest struct { + Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` } -func (m *QueryGetStructTypeRequest) Reset() { *m = QueryGetStructTypeRequest{} } -func (m *QueryGetStructTypeRequest) String() string { return proto.CompactTextString(m) } -func (*QueryGetStructTypeRequest) ProtoMessage() {} -func (*QueryGetStructTypeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_ec69a82c62500e60, []int{68} +func (m *QueryGetProviderByEarningsAddressRequest) Reset() { + *m = QueryGetProviderByEarningsAddressRequest{} } -func (m *QueryGetStructTypeRequest) XXX_Unmarshal(b []byte) error { +func (m *QueryGetProviderByEarningsAddressRequest) String() string { return proto.CompactTextString(m) } +func (*QueryGetProviderByEarningsAddressRequest) ProtoMessage() {} +func (*QueryGetProviderByEarningsAddressRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_ec69a82c62500e60, []int{78} +} +func (m *QueryGetProviderByEarningsAddressRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *QueryGetStructTypeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *QueryGetProviderByEarningsAddressRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_QueryGetStructTypeRequest.Marshal(b, m, deterministic) + return xxx_messageInfo_QueryGetProviderByEarningsAddressRequest.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -3359,41 +3827,41 @@ func (m *QueryGetStructTypeRequest) XXX_Marshal(b []byte, deterministic bool) ([ return b[:n], nil } } -func (m *QueryGetStructTypeRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryGetStructTypeRequest.Merge(m, src) +func (m *QueryGetProviderByEarningsAddressRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryGetProviderByEarningsAddressRequest.Merge(m, src) } -func (m *QueryGetStructTypeRequest) XXX_Size() int { +func (m *QueryGetProviderByEarningsAddressRequest) XXX_Size() int { return m.Size() } -func (m *QueryGetStructTypeRequest) XXX_DiscardUnknown() { - xxx_messageInfo_QueryGetStructTypeRequest.DiscardUnknown(m) +func (m *QueryGetProviderByEarningsAddressRequest) XXX_DiscardUnknown() { + xxx_messageInfo_QueryGetProviderByEarningsAddressRequest.DiscardUnknown(m) } -var xxx_messageInfo_QueryGetStructTypeRequest proto.InternalMessageInfo +var xxx_messageInfo_QueryGetProviderByEarningsAddressRequest proto.InternalMessageInfo -func (m *QueryGetStructTypeRequest) GetId() uint64 { +func (m *QueryGetProviderByEarningsAddressRequest) GetAddress() string { if m != nil { - return m.Id + return m.Address } - return 0 + return "" } -type QueryGetStructTypeResponse struct { - StructType StructType `protobuf:"bytes,1,opt,name=StructType,proto3" json:"StructType"` +type QueryGetReactorRequest struct { + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` } -func (m *QueryGetStructTypeResponse) Reset() { *m = QueryGetStructTypeResponse{} } -func (m *QueryGetStructTypeResponse) String() string { return proto.CompactTextString(m) } -func (*QueryGetStructTypeResponse) ProtoMessage() {} -func (*QueryGetStructTypeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_ec69a82c62500e60, []int{69} +func (m *QueryGetReactorRequest) Reset() { *m = QueryGetReactorRequest{} } +func (m *QueryGetReactorRequest) String() string { return proto.CompactTextString(m) } +func (*QueryGetReactorRequest) ProtoMessage() {} +func (*QueryGetReactorRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_ec69a82c62500e60, []int{79} } -func (m *QueryGetStructTypeResponse) XXX_Unmarshal(b []byte) error { +func (m *QueryGetReactorRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *QueryGetStructTypeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *QueryGetReactorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_QueryGetStructTypeResponse.Marshal(b, m, deterministic) + return xxx_messageInfo_QueryGetReactorRequest.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -3403,41 +3871,42 @@ func (m *QueryGetStructTypeResponse) XXX_Marshal(b []byte, deterministic bool) ( return b[:n], nil } } -func (m *QueryGetStructTypeResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryGetStructTypeResponse.Merge(m, src) +func (m *QueryGetReactorRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryGetReactorRequest.Merge(m, src) } -func (m *QueryGetStructTypeResponse) XXX_Size() int { +func (m *QueryGetReactorRequest) XXX_Size() int { return m.Size() } -func (m *QueryGetStructTypeResponse) XXX_DiscardUnknown() { - xxx_messageInfo_QueryGetStructTypeResponse.DiscardUnknown(m) +func (m *QueryGetReactorRequest) XXX_DiscardUnknown() { + xxx_messageInfo_QueryGetReactorRequest.DiscardUnknown(m) } -var xxx_messageInfo_QueryGetStructTypeResponse proto.InternalMessageInfo +var xxx_messageInfo_QueryGetReactorRequest proto.InternalMessageInfo -func (m *QueryGetStructTypeResponse) GetStructType() StructType { +func (m *QueryGetReactorRequest) GetId() string { if m != nil { - return m.StructType + return m.Id } - return StructType{} + return "" } -type QueryAllStructTypeRequest struct { - Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` +type QueryGetReactorResponse struct { + Reactor Reactor `protobuf:"bytes,1,opt,name=Reactor,proto3" json:"Reactor"` + GridAttributes *GridAttributes `protobuf:"bytes,2,opt,name=gridAttributes,proto3" json:"gridAttributes,omitempty"` } -func (m *QueryAllStructTypeRequest) Reset() { *m = QueryAllStructTypeRequest{} } -func (m *QueryAllStructTypeRequest) String() string { return proto.CompactTextString(m) } -func (*QueryAllStructTypeRequest) ProtoMessage() {} -func (*QueryAllStructTypeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_ec69a82c62500e60, []int{70} +func (m *QueryGetReactorResponse) Reset() { *m = QueryGetReactorResponse{} } +func (m *QueryGetReactorResponse) String() string { return proto.CompactTextString(m) } +func (*QueryGetReactorResponse) ProtoMessage() {} +func (*QueryGetReactorResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_ec69a82c62500e60, []int{80} } -func (m *QueryAllStructTypeRequest) XXX_Unmarshal(b []byte) error { +func (m *QueryGetReactorResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *QueryAllStructTypeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *QueryGetReactorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_QueryAllStructTypeRequest.Marshal(b, m, deterministic) + return xxx_messageInfo_QueryGetReactorResponse.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -3447,42 +3916,48 @@ func (m *QueryAllStructTypeRequest) XXX_Marshal(b []byte, deterministic bool) ([ return b[:n], nil } } -func (m *QueryAllStructTypeRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryAllStructTypeRequest.Merge(m, src) +func (m *QueryGetReactorResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryGetReactorResponse.Merge(m, src) } -func (m *QueryAllStructTypeRequest) XXX_Size() int { +func (m *QueryGetReactorResponse) XXX_Size() int { return m.Size() } -func (m *QueryAllStructTypeRequest) XXX_DiscardUnknown() { - xxx_messageInfo_QueryAllStructTypeRequest.DiscardUnknown(m) +func (m *QueryGetReactorResponse) XXX_DiscardUnknown() { + xxx_messageInfo_QueryGetReactorResponse.DiscardUnknown(m) } -var xxx_messageInfo_QueryAllStructTypeRequest proto.InternalMessageInfo +var xxx_messageInfo_QueryGetReactorResponse proto.InternalMessageInfo -func (m *QueryAllStructTypeRequest) GetPagination() *query.PageRequest { +func (m *QueryGetReactorResponse) GetReactor() Reactor { if m != nil { - return m.Pagination + return m.Reactor + } + return Reactor{} +} + +func (m *QueryGetReactorResponse) GetGridAttributes() *GridAttributes { + if m != nil { + return m.GridAttributes } return nil } -type QueryAllStructTypeResponse struct { - StructType []StructType `protobuf:"bytes,1,rep,name=StructType,proto3" json:"StructType"` - Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` +type QueryAllReactorRequest struct { + Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` } -func (m *QueryAllStructTypeResponse) Reset() { *m = QueryAllStructTypeResponse{} } -func (m *QueryAllStructTypeResponse) String() string { return proto.CompactTextString(m) } -func (*QueryAllStructTypeResponse) ProtoMessage() {} -func (*QueryAllStructTypeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_ec69a82c62500e60, []int{71} +func (m *QueryAllReactorRequest) Reset() { *m = QueryAllReactorRequest{} } +func (m *QueryAllReactorRequest) String() string { return proto.CompactTextString(m) } +func (*QueryAllReactorRequest) ProtoMessage() {} +func (*QueryAllReactorRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_ec69a82c62500e60, []int{81} } -func (m *QueryAllStructTypeResponse) XXX_Unmarshal(b []byte) error { +func (m *QueryAllReactorRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *QueryAllStructTypeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *QueryAllReactorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_QueryAllStructTypeResponse.Marshal(b, m, deterministic) + return xxx_messageInfo_QueryAllReactorRequest.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -3492,48 +3967,42 @@ func (m *QueryAllStructTypeResponse) XXX_Marshal(b []byte, deterministic bool) ( return b[:n], nil } } -func (m *QueryAllStructTypeResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryAllStructTypeResponse.Merge(m, src) +func (m *QueryAllReactorRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryAllReactorRequest.Merge(m, src) } -func (m *QueryAllStructTypeResponse) XXX_Size() int { +func (m *QueryAllReactorRequest) XXX_Size() int { return m.Size() } -func (m *QueryAllStructTypeResponse) XXX_DiscardUnknown() { - xxx_messageInfo_QueryAllStructTypeResponse.DiscardUnknown(m) +func (m *QueryAllReactorRequest) XXX_DiscardUnknown() { + xxx_messageInfo_QueryAllReactorRequest.DiscardUnknown(m) } -var xxx_messageInfo_QueryAllStructTypeResponse proto.InternalMessageInfo - -func (m *QueryAllStructTypeResponse) GetStructType() []StructType { - if m != nil { - return m.StructType - } - return nil -} +var xxx_messageInfo_QueryAllReactorRequest proto.InternalMessageInfo -func (m *QueryAllStructTypeResponse) GetPagination() *query.PageResponse { +func (m *QueryAllReactorRequest) GetPagination() *query.PageRequest { if m != nil { return m.Pagination } return nil } -type QueryGetSubstationRequest struct { - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` +type QueryAllReactorResponse struct { + Reactor []Reactor `protobuf:"bytes,1,rep,name=Reactor,proto3" json:"Reactor"` + Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` } -func (m *QueryGetSubstationRequest) Reset() { *m = QueryGetSubstationRequest{} } -func (m *QueryGetSubstationRequest) String() string { return proto.CompactTextString(m) } -func (*QueryGetSubstationRequest) ProtoMessage() {} -func (*QueryGetSubstationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_ec69a82c62500e60, []int{72} +func (m *QueryAllReactorResponse) Reset() { *m = QueryAllReactorResponse{} } +func (m *QueryAllReactorResponse) String() string { return proto.CompactTextString(m) } +func (*QueryAllReactorResponse) ProtoMessage() {} +func (*QueryAllReactorResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_ec69a82c62500e60, []int{82} } -func (m *QueryGetSubstationRequest) XXX_Unmarshal(b []byte) error { +func (m *QueryAllReactorResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *QueryGetSubstationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *QueryAllReactorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_QueryGetSubstationRequest.Marshal(b, m, deterministic) + return xxx_messageInfo_QueryAllReactorResponse.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -3543,42 +4012,48 @@ func (m *QueryGetSubstationRequest) XXX_Marshal(b []byte, deterministic bool) ([ return b[:n], nil } } -func (m *QueryGetSubstationRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryGetSubstationRequest.Merge(m, src) +func (m *QueryAllReactorResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryAllReactorResponse.Merge(m, src) } -func (m *QueryGetSubstationRequest) XXX_Size() int { +func (m *QueryAllReactorResponse) XXX_Size() int { return m.Size() } -func (m *QueryGetSubstationRequest) XXX_DiscardUnknown() { - xxx_messageInfo_QueryGetSubstationRequest.DiscardUnknown(m) +func (m *QueryAllReactorResponse) XXX_DiscardUnknown() { + xxx_messageInfo_QueryAllReactorResponse.DiscardUnknown(m) } -var xxx_messageInfo_QueryGetSubstationRequest proto.InternalMessageInfo +var xxx_messageInfo_QueryAllReactorResponse proto.InternalMessageInfo -func (m *QueryGetSubstationRequest) GetId() string { +func (m *QueryAllReactorResponse) GetReactor() []Reactor { if m != nil { - return m.Id + return m.Reactor } - return "" + return nil } -type QueryGetSubstationResponse struct { - Substation Substation `protobuf:"bytes,1,opt,name=Substation,proto3" json:"Substation"` - GridAttributes *GridAttributes `protobuf:"bytes,2,opt,name=gridAttributes,proto3" json:"gridAttributes,omitempty"` +func (m *QueryAllReactorResponse) GetPagination() *query.PageResponse { + if m != nil { + return m.Pagination + } + return nil } -func (m *QueryGetSubstationResponse) Reset() { *m = QueryGetSubstationResponse{} } -func (m *QueryGetSubstationResponse) String() string { return proto.CompactTextString(m) } -func (*QueryGetSubstationResponse) ProtoMessage() {} -func (*QueryGetSubstationResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_ec69a82c62500e60, []int{73} +type QueryGetStructRequest struct { + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` } -func (m *QueryGetSubstationResponse) XXX_Unmarshal(b []byte) error { + +func (m *QueryGetStructRequest) Reset() { *m = QueryGetStructRequest{} } +func (m *QueryGetStructRequest) String() string { return proto.CompactTextString(m) } +func (*QueryGetStructRequest) ProtoMessage() {} +func (*QueryGetStructRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_ec69a82c62500e60, []int{83} +} +func (m *QueryGetStructRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *QueryGetSubstationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *QueryGetStructRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_QueryGetSubstationResponse.Marshal(b, m, deterministic) + return xxx_messageInfo_QueryGetStructRequest.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -3588,48 +4063,109 @@ func (m *QueryGetSubstationResponse) XXX_Marshal(b []byte, deterministic bool) ( return b[:n], nil } } -func (m *QueryGetSubstationResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryGetSubstationResponse.Merge(m, src) +func (m *QueryGetStructRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryGetStructRequest.Merge(m, src) } -func (m *QueryGetSubstationResponse) XXX_Size() int { +func (m *QueryGetStructRequest) XXX_Size() int { return m.Size() } -func (m *QueryGetSubstationResponse) XXX_DiscardUnknown() { - xxx_messageInfo_QueryGetSubstationResponse.DiscardUnknown(m) +func (m *QueryGetStructRequest) XXX_DiscardUnknown() { + xxx_messageInfo_QueryGetStructRequest.DiscardUnknown(m) } -var xxx_messageInfo_QueryGetSubstationResponse proto.InternalMessageInfo +var xxx_messageInfo_QueryGetStructRequest proto.InternalMessageInfo -func (m *QueryGetSubstationResponse) GetSubstation() Substation { +func (m *QueryGetStructRequest) GetId() string { if m != nil { - return m.Substation + return m.Id } - return Substation{} + return "" } -func (m *QueryGetSubstationResponse) GetGridAttributes() *GridAttributes { +type QueryGetStructResponse struct { + Struct Struct `protobuf:"bytes,1,opt,name=Struct,proto3" json:"Struct"` + StructAttributes *StructAttributes `protobuf:"bytes,2,opt,name=structAttributes,proto3" json:"structAttributes,omitempty"` + GridAttributes *GridAttributes `protobuf:"bytes,3,opt,name=gridAttributes,proto3" json:"gridAttributes,omitempty"` + StructDefenders []string `protobuf:"bytes,4,rep,name=structDefenders,proto3" json:"structDefenders,omitempty"` +} + +func (m *QueryGetStructResponse) Reset() { *m = QueryGetStructResponse{} } +func (m *QueryGetStructResponse) String() string { return proto.CompactTextString(m) } +func (*QueryGetStructResponse) ProtoMessage() {} +func (*QueryGetStructResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_ec69a82c62500e60, []int{84} +} +func (m *QueryGetStructResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *QueryGetStructResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_QueryGetStructResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *QueryGetStructResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryGetStructResponse.Merge(m, src) +} +func (m *QueryGetStructResponse) XXX_Size() int { + return m.Size() +} +func (m *QueryGetStructResponse) XXX_DiscardUnknown() { + xxx_messageInfo_QueryGetStructResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_QueryGetStructResponse proto.InternalMessageInfo + +func (m *QueryGetStructResponse) GetStruct() Struct { + if m != nil { + return m.Struct + } + return Struct{} +} + +func (m *QueryGetStructResponse) GetStructAttributes() *StructAttributes { + if m != nil { + return m.StructAttributes + } + return nil +} + +func (m *QueryGetStructResponse) GetGridAttributes() *GridAttributes { if m != nil { return m.GridAttributes } return nil } -type QueryAllSubstationRequest struct { +func (m *QueryGetStructResponse) GetStructDefenders() []string { + if m != nil { + return m.StructDefenders + } + return nil +} + +type QueryAllStructRequest struct { Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` } -func (m *QueryAllSubstationRequest) Reset() { *m = QueryAllSubstationRequest{} } -func (m *QueryAllSubstationRequest) String() string { return proto.CompactTextString(m) } -func (*QueryAllSubstationRequest) ProtoMessage() {} -func (*QueryAllSubstationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_ec69a82c62500e60, []int{74} +func (m *QueryAllStructRequest) Reset() { *m = QueryAllStructRequest{} } +func (m *QueryAllStructRequest) String() string { return proto.CompactTextString(m) } +func (*QueryAllStructRequest) ProtoMessage() {} +func (*QueryAllStructRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_ec69a82c62500e60, []int{85} } -func (m *QueryAllSubstationRequest) XXX_Unmarshal(b []byte) error { +func (m *QueryAllStructRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *QueryAllSubstationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *QueryAllStructRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_QueryAllSubstationRequest.Marshal(b, m, deterministic) + return xxx_messageInfo_QueryAllStructRequest.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -3639,42 +4175,42 @@ func (m *QueryAllSubstationRequest) XXX_Marshal(b []byte, deterministic bool) ([ return b[:n], nil } } -func (m *QueryAllSubstationRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryAllSubstationRequest.Merge(m, src) +func (m *QueryAllStructRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryAllStructRequest.Merge(m, src) } -func (m *QueryAllSubstationRequest) XXX_Size() int { +func (m *QueryAllStructRequest) XXX_Size() int { return m.Size() } -func (m *QueryAllSubstationRequest) XXX_DiscardUnknown() { - xxx_messageInfo_QueryAllSubstationRequest.DiscardUnknown(m) +func (m *QueryAllStructRequest) XXX_DiscardUnknown() { + xxx_messageInfo_QueryAllStructRequest.DiscardUnknown(m) } -var xxx_messageInfo_QueryAllSubstationRequest proto.InternalMessageInfo +var xxx_messageInfo_QueryAllStructRequest proto.InternalMessageInfo -func (m *QueryAllSubstationRequest) GetPagination() *query.PageRequest { +func (m *QueryAllStructRequest) GetPagination() *query.PageRequest { if m != nil { return m.Pagination } return nil } -type QueryAllSubstationResponse struct { - Substation []Substation `protobuf:"bytes,1,rep,name=Substation,proto3" json:"Substation"` +type QueryAllStructResponse struct { + Struct []Struct `protobuf:"bytes,1,rep,name=Struct,proto3" json:"Struct"` Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` } -func (m *QueryAllSubstationResponse) Reset() { *m = QueryAllSubstationResponse{} } -func (m *QueryAllSubstationResponse) String() string { return proto.CompactTextString(m) } -func (*QueryAllSubstationResponse) ProtoMessage() {} -func (*QueryAllSubstationResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_ec69a82c62500e60, []int{75} +func (m *QueryAllStructResponse) Reset() { *m = QueryAllStructResponse{} } +func (m *QueryAllStructResponse) String() string { return proto.CompactTextString(m) } +func (*QueryAllStructResponse) ProtoMessage() {} +func (*QueryAllStructResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_ec69a82c62500e60, []int{86} } -func (m *QueryAllSubstationResponse) XXX_Unmarshal(b []byte) error { +func (m *QueryAllStructResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *QueryAllSubstationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *QueryAllStructResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_QueryAllSubstationResponse.Marshal(b, m, deterministic) + return xxx_messageInfo_QueryAllStructResponse.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -3684,51 +4220,49 @@ func (m *QueryAllSubstationResponse) XXX_Marshal(b []byte, deterministic bool) ( return b[:n], nil } } -func (m *QueryAllSubstationResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryAllSubstationResponse.Merge(m, src) +func (m *QueryAllStructResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryAllStructResponse.Merge(m, src) } -func (m *QueryAllSubstationResponse) XXX_Size() int { +func (m *QueryAllStructResponse) XXX_Size() int { return m.Size() } -func (m *QueryAllSubstationResponse) XXX_DiscardUnknown() { - xxx_messageInfo_QueryAllSubstationResponse.DiscardUnknown(m) +func (m *QueryAllStructResponse) XXX_DiscardUnknown() { + xxx_messageInfo_QueryAllStructResponse.DiscardUnknown(m) } -var xxx_messageInfo_QueryAllSubstationResponse proto.InternalMessageInfo +var xxx_messageInfo_QueryAllStructResponse proto.InternalMessageInfo -func (m *QueryAllSubstationResponse) GetSubstation() []Substation { +func (m *QueryAllStructResponse) GetStruct() []Struct { if m != nil { - return m.Substation + return m.Struct } return nil } -func (m *QueryAllSubstationResponse) GetPagination() *query.PageResponse { +func (m *QueryAllStructResponse) GetPagination() *query.PageResponse { if m != nil { return m.Pagination } return nil } -type QueryValidateSignatureRequest struct { - Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` - Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` - ProofPubKey string `protobuf:"bytes,3,opt,name=proofPubKey,proto3" json:"proofPubKey,omitempty"` - ProofSignature string `protobuf:"bytes,4,opt,name=proofSignature,proto3" json:"proofSignature,omitempty"` +type QueryGetStructAttributeRequest struct { + StructId string `protobuf:"bytes,1,opt,name=structId,proto3" json:"structId,omitempty"` + AttributeType string `protobuf:"bytes,2,opt,name=attributeType,proto3" json:"attributeType,omitempty"` } -func (m *QueryValidateSignatureRequest) Reset() { *m = QueryValidateSignatureRequest{} } -func (m *QueryValidateSignatureRequest) String() string { return proto.CompactTextString(m) } -func (*QueryValidateSignatureRequest) ProtoMessage() {} -func (*QueryValidateSignatureRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_ec69a82c62500e60, []int{76} +func (m *QueryGetStructAttributeRequest) Reset() { *m = QueryGetStructAttributeRequest{} } +func (m *QueryGetStructAttributeRequest) String() string { return proto.CompactTextString(m) } +func (*QueryGetStructAttributeRequest) ProtoMessage() {} +func (*QueryGetStructAttributeRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_ec69a82c62500e60, []int{87} } -func (m *QueryValidateSignatureRequest) XXX_Unmarshal(b []byte) error { +func (m *QueryGetStructAttributeRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *QueryValidateSignatureRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *QueryGetStructAttributeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_QueryValidateSignatureRequest.Marshal(b, m, deterministic) + return xxx_messageInfo_QueryGetStructAttributeRequest.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -3738,66 +4272,48 @@ func (m *QueryValidateSignatureRequest) XXX_Marshal(b []byte, deterministic bool return b[:n], nil } } -func (m *QueryValidateSignatureRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryValidateSignatureRequest.Merge(m, src) +func (m *QueryGetStructAttributeRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryGetStructAttributeRequest.Merge(m, src) } -func (m *QueryValidateSignatureRequest) XXX_Size() int { +func (m *QueryGetStructAttributeRequest) XXX_Size() int { return m.Size() } -func (m *QueryValidateSignatureRequest) XXX_DiscardUnknown() { - xxx_messageInfo_QueryValidateSignatureRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_QueryValidateSignatureRequest proto.InternalMessageInfo - -func (m *QueryValidateSignatureRequest) GetAddress() string { - if m != nil { - return m.Address - } - return "" +func (m *QueryGetStructAttributeRequest) XXX_DiscardUnknown() { + xxx_messageInfo_QueryGetStructAttributeRequest.DiscardUnknown(m) } -func (m *QueryValidateSignatureRequest) GetMessage() string { - if m != nil { - return m.Message - } - return "" -} +var xxx_messageInfo_QueryGetStructAttributeRequest proto.InternalMessageInfo -func (m *QueryValidateSignatureRequest) GetProofPubKey() string { +func (m *QueryGetStructAttributeRequest) GetStructId() string { if m != nil { - return m.ProofPubKey + return m.StructId } return "" } -func (m *QueryValidateSignatureRequest) GetProofSignature() string { +func (m *QueryGetStructAttributeRequest) GetAttributeType() string { if m != nil { - return m.ProofSignature + return m.AttributeType } return "" } -type QueryValidateSignatureResponse struct { - PubkeyFormatError bool `protobuf:"varint,1,opt,name=pubkeyFormatError,proto3" json:"pubkeyFormatError,omitempty"` - SignatureFormatError bool `protobuf:"varint,2,opt,name=signatureFormatError,proto3" json:"signatureFormatError,omitempty"` - AddressPubkeyMismatch bool `protobuf:"varint,3,opt,name=addressPubkeyMismatch,proto3" json:"addressPubkeyMismatch,omitempty"` - SignatureInvalid bool `protobuf:"varint,4,opt,name=signatureInvalid,proto3" json:"signatureInvalid,omitempty"` - Valid bool `protobuf:"varint,5,opt,name=valid,proto3" json:"valid,omitempty"` +type QueryGetStructAttributeResponse struct { + Attribute uint64 `protobuf:"varint,1,opt,name=attribute,proto3" json:"attribute,omitempty"` } -func (m *QueryValidateSignatureResponse) Reset() { *m = QueryValidateSignatureResponse{} } -func (m *QueryValidateSignatureResponse) String() string { return proto.CompactTextString(m) } -func (*QueryValidateSignatureResponse) ProtoMessage() {} -func (*QueryValidateSignatureResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_ec69a82c62500e60, []int{77} +func (m *QueryGetStructAttributeResponse) Reset() { *m = QueryGetStructAttributeResponse{} } +func (m *QueryGetStructAttributeResponse) String() string { return proto.CompactTextString(m) } +func (*QueryGetStructAttributeResponse) ProtoMessage() {} +func (*QueryGetStructAttributeResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_ec69a82c62500e60, []int{88} } -func (m *QueryValidateSignatureResponse) XXX_Unmarshal(b []byte) error { +func (m *QueryGetStructAttributeResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *QueryValidateSignatureResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *QueryGetStructAttributeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_QueryValidateSignatureResponse.Marshal(b, m, deterministic) + return xxx_messageInfo_QueryGetStructAttributeResponse.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -3807,3365 +4323,3057 @@ func (m *QueryValidateSignatureResponse) XXX_Marshal(b []byte, deterministic boo return b[:n], nil } } -func (m *QueryValidateSignatureResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryValidateSignatureResponse.Merge(m, src) +func (m *QueryGetStructAttributeResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryGetStructAttributeResponse.Merge(m, src) } -func (m *QueryValidateSignatureResponse) XXX_Size() int { +func (m *QueryGetStructAttributeResponse) XXX_Size() int { return m.Size() } -func (m *QueryValidateSignatureResponse) XXX_DiscardUnknown() { - xxx_messageInfo_QueryValidateSignatureResponse.DiscardUnknown(m) +func (m *QueryGetStructAttributeResponse) XXX_DiscardUnknown() { + xxx_messageInfo_QueryGetStructAttributeResponse.DiscardUnknown(m) } -var xxx_messageInfo_QueryValidateSignatureResponse proto.InternalMessageInfo +var xxx_messageInfo_QueryGetStructAttributeResponse proto.InternalMessageInfo -func (m *QueryValidateSignatureResponse) GetPubkeyFormatError() bool { +func (m *QueryGetStructAttributeResponse) GetAttribute() uint64 { if m != nil { - return m.PubkeyFormatError + return m.Attribute } - return false + return 0 } -func (m *QueryValidateSignatureResponse) GetSignatureFormatError() bool { - if m != nil { - return m.SignatureFormatError - } - return false +type QueryAllStructAttributeRequest struct { + Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` } -func (m *QueryValidateSignatureResponse) GetAddressPubkeyMismatch() bool { - if m != nil { - return m.AddressPubkeyMismatch - } - return false +func (m *QueryAllStructAttributeRequest) Reset() { *m = QueryAllStructAttributeRequest{} } +func (m *QueryAllStructAttributeRequest) String() string { return proto.CompactTextString(m) } +func (*QueryAllStructAttributeRequest) ProtoMessage() {} +func (*QueryAllStructAttributeRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_ec69a82c62500e60, []int{89} } - -func (m *QueryValidateSignatureResponse) GetSignatureInvalid() bool { - if m != nil { - return m.SignatureInvalid - } - return false +func (m *QueryAllStructAttributeRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) } - -func (m *QueryValidateSignatureResponse) GetValid() bool { - if m != nil { - return m.Valid +func (m *QueryAllStructAttributeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_QueryAllStructAttributeRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil } - return false } - -func init() { - proto.RegisterType((*QueryParamsRequest)(nil), "structs.structs.QueryParamsRequest") - proto.RegisterType((*QueryParamsResponse)(nil), "structs.structs.QueryParamsResponse") - proto.RegisterType((*QueryBlockHeight)(nil), "structs.structs.QueryBlockHeight") - proto.RegisterType((*QueryBlockHeightResponse)(nil), "structs.structs.QueryBlockHeightResponse") - proto.RegisterType((*QueryGetAddressRequest)(nil), "structs.structs.QueryGetAddressRequest") - proto.RegisterType((*QueryAllAddressByPlayerRequest)(nil), "structs.structs.QueryAllAddressByPlayerRequest") - proto.RegisterType((*QueryAllAddressRequest)(nil), "structs.structs.QueryAllAddressRequest") - proto.RegisterType((*QueryAddressResponse)(nil), "structs.structs.QueryAddressResponse") - proto.RegisterType((*QueryAllAddressResponse)(nil), "structs.structs.QueryAllAddressResponse") - proto.RegisterType((*QueryGetAllocationRequest)(nil), "structs.structs.QueryGetAllocationRequest") - proto.RegisterType((*QueryGetAllocationResponse)(nil), "structs.structs.QueryGetAllocationResponse") - proto.RegisterType((*QueryAllAllocationRequest)(nil), "structs.structs.QueryAllAllocationRequest") - proto.RegisterType((*QueryAllAllocationBySourceRequest)(nil), "structs.structs.QueryAllAllocationBySourceRequest") - proto.RegisterType((*QueryAllAllocationByDestinationRequest)(nil), "structs.structs.QueryAllAllocationByDestinationRequest") - proto.RegisterType((*QueryAllAllocationResponse)(nil), "structs.structs.QueryAllAllocationResponse") - proto.RegisterType((*QueryGetFleetRequest)(nil), "structs.structs.QueryGetFleetRequest") - proto.RegisterType((*QueryGetFleetResponse)(nil), "structs.structs.QueryGetFleetResponse") - proto.RegisterType((*QueryGetFleetByIndexRequest)(nil), "structs.structs.QueryGetFleetByIndexRequest") - proto.RegisterType((*QueryAllFleetRequest)(nil), "structs.structs.QueryAllFleetRequest") - proto.RegisterType((*QueryAllFleetResponse)(nil), "structs.structs.QueryAllFleetResponse") - proto.RegisterType((*QueryGetGridRequest)(nil), "structs.structs.QueryGetGridRequest") - proto.RegisterType((*QueryAllGridRequest)(nil), "structs.structs.QueryAllGridRequest") - proto.RegisterType((*QueryGetGridResponse)(nil), "structs.structs.QueryGetGridResponse") - proto.RegisterType((*QueryAllGridResponse)(nil), "structs.structs.QueryAllGridResponse") - proto.RegisterType((*QueryGetGuildRequest)(nil), "structs.structs.QueryGetGuildRequest") - proto.RegisterType((*QueryGetGuildResponse)(nil), "structs.structs.QueryGetGuildResponse") - proto.RegisterType((*QueryAllGuildRequest)(nil), "structs.structs.QueryAllGuildRequest") - proto.RegisterType((*QueryAllGuildResponse)(nil), "structs.structs.QueryAllGuildResponse") - proto.RegisterType((*QueryGetGuildMembershipApplicationRequest)(nil), "structs.structs.QueryGetGuildMembershipApplicationRequest") - proto.RegisterType((*QueryGetGuildMembershipApplicationResponse)(nil), "structs.structs.QueryGetGuildMembershipApplicationResponse") - proto.RegisterType((*QueryAllGuildMembershipApplicationRequest)(nil), "structs.structs.QueryAllGuildMembershipApplicationRequest") - proto.RegisterType((*QueryAllGuildMembershipApplicationResponse)(nil), "structs.structs.QueryAllGuildMembershipApplicationResponse") - proto.RegisterType((*QueryGetInfusionRequest)(nil), "structs.structs.QueryGetInfusionRequest") - proto.RegisterType((*QueryGetInfusionResponse)(nil), "structs.structs.QueryGetInfusionResponse") - proto.RegisterType((*QueryAllInfusionByDestinationRequest)(nil), "structs.structs.QueryAllInfusionByDestinationRequest") - proto.RegisterType((*QueryAllInfusionRequest)(nil), "structs.structs.QueryAllInfusionRequest") - proto.RegisterType((*QueryAllInfusionResponse)(nil), "structs.structs.QueryAllInfusionResponse") - proto.RegisterType((*QueryGetPermissionRequest)(nil), "structs.structs.QueryGetPermissionRequest") - proto.RegisterType((*QueryAllPermissionByObjectRequest)(nil), "structs.structs.QueryAllPermissionByObjectRequest") - proto.RegisterType((*QueryAllPermissionByPlayerRequest)(nil), "structs.structs.QueryAllPermissionByPlayerRequest") - proto.RegisterType((*QueryAllPermissionRequest)(nil), "structs.structs.QueryAllPermissionRequest") - proto.RegisterType((*QueryGetPermissionResponse)(nil), "structs.structs.QueryGetPermissionResponse") - proto.RegisterType((*QueryAllPermissionResponse)(nil), "structs.structs.QueryAllPermissionResponse") - proto.RegisterType((*QueryGetPlanetRequest)(nil), "structs.structs.QueryGetPlanetRequest") - proto.RegisterType((*QueryGetPlanetResponse)(nil), "structs.structs.QueryGetPlanetResponse") - proto.RegisterType((*QueryAllPlanetRequest)(nil), "structs.structs.QueryAllPlanetRequest") - proto.RegisterType((*QueryAllPlanetByPlayerRequest)(nil), "structs.structs.QueryAllPlanetByPlayerRequest") - proto.RegisterType((*QueryAllPlanetResponse)(nil), "structs.structs.QueryAllPlanetResponse") - proto.RegisterType((*QueryGetPlanetAttributeRequest)(nil), "structs.structs.QueryGetPlanetAttributeRequest") - proto.RegisterType((*QueryGetPlanetAttributeResponse)(nil), "structs.structs.QueryGetPlanetAttributeResponse") - proto.RegisterType((*QueryAllPlanetAttributeRequest)(nil), "structs.structs.QueryAllPlanetAttributeRequest") - proto.RegisterType((*QueryAllPlanetAttributeResponse)(nil), "structs.structs.QueryAllPlanetAttributeResponse") - proto.RegisterType((*QueryGetPlayerRequest)(nil), "structs.structs.QueryGetPlayerRequest") - proto.RegisterType((*QueryGetPlayerResponse)(nil), "structs.structs.QueryGetPlayerResponse") - proto.RegisterType((*QueryAllPlayerRequest)(nil), "structs.structs.QueryAllPlayerRequest") - proto.RegisterType((*QueryAllPlayerResponse)(nil), "structs.structs.QueryAllPlayerResponse") - proto.RegisterType((*QueryGetReactorRequest)(nil), "structs.structs.QueryGetReactorRequest") - proto.RegisterType((*QueryGetReactorResponse)(nil), "structs.structs.QueryGetReactorResponse") - proto.RegisterType((*QueryAllReactorRequest)(nil), "structs.structs.QueryAllReactorRequest") - proto.RegisterType((*QueryAllReactorResponse)(nil), "structs.structs.QueryAllReactorResponse") - proto.RegisterType((*QueryGetStructRequest)(nil), "structs.structs.QueryGetStructRequest") - proto.RegisterType((*QueryGetStructResponse)(nil), "structs.structs.QueryGetStructResponse") - proto.RegisterType((*QueryAllStructRequest)(nil), "structs.structs.QueryAllStructRequest") - proto.RegisterType((*QueryAllStructResponse)(nil), "structs.structs.QueryAllStructResponse") - proto.RegisterType((*QueryGetStructAttributeRequest)(nil), "structs.structs.QueryGetStructAttributeRequest") - proto.RegisterType((*QueryGetStructAttributeResponse)(nil), "structs.structs.QueryGetStructAttributeResponse") - proto.RegisterType((*QueryAllStructAttributeRequest)(nil), "structs.structs.QueryAllStructAttributeRequest") - proto.RegisterType((*QueryAllStructAttributeResponse)(nil), "structs.structs.QueryAllStructAttributeResponse") - proto.RegisterType((*QueryGetStructTypeRequest)(nil), "structs.structs.QueryGetStructTypeRequest") - proto.RegisterType((*QueryGetStructTypeResponse)(nil), "structs.structs.QueryGetStructTypeResponse") - proto.RegisterType((*QueryAllStructTypeRequest)(nil), "structs.structs.QueryAllStructTypeRequest") - proto.RegisterType((*QueryAllStructTypeResponse)(nil), "structs.structs.QueryAllStructTypeResponse") - proto.RegisterType((*QueryGetSubstationRequest)(nil), "structs.structs.QueryGetSubstationRequest") - proto.RegisterType((*QueryGetSubstationResponse)(nil), "structs.structs.QueryGetSubstationResponse") - proto.RegisterType((*QueryAllSubstationRequest)(nil), "structs.structs.QueryAllSubstationRequest") - proto.RegisterType((*QueryAllSubstationResponse)(nil), "structs.structs.QueryAllSubstationResponse") - proto.RegisterType((*QueryValidateSignatureRequest)(nil), "structs.structs.QueryValidateSignatureRequest") - proto.RegisterType((*QueryValidateSignatureResponse)(nil), "structs.structs.QueryValidateSignatureResponse") +func (m *QueryAllStructAttributeRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryAllStructAttributeRequest.Merge(m, src) } - -func init() { proto.RegisterFile("structs/structs/query.proto", fileDescriptor_ec69a82c62500e60) } - -var fileDescriptor_ec69a82c62500e60 = []byte{ - // 2989 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x5b, 0xcb, 0x6f, 0x1c, 0x49, - 0x19, 0x4f, 0x7b, 0x9c, 0xc4, 0x2e, 0x27, 0x4e, 0x5c, 0xf1, 0x63, 0x32, 0x4e, 0x1c, 0xbb, 0xd7, - 0xaf, 0x75, 0xb2, 0xee, 0xc4, 0xc9, 0xb2, 0xab, 0x6c, 0x50, 0x64, 0x6b, 0x89, 0x09, 0xab, 0xb0, - 0xde, 0xc9, 0x6a, 0x11, 0x48, 0xc4, 0xf4, 0x78, 0x2a, 0x93, 0x21, 0xe3, 0xe9, 0x49, 0x77, 0x4f, - 0xc8, 0x68, 0x34, 0x17, 0x5e, 0xcb, 0x05, 0x89, 0x15, 0x2b, 0x84, 0xd0, 0xb2, 0x1c, 0xe0, 0x10, - 0x71, 0x42, 0x08, 0xad, 0x38, 0x21, 0x6e, 0xac, 0x10, 0x87, 0x95, 0xb8, 0xc0, 0x05, 0xa1, 0x64, - 0xa5, 0xe5, 0x6f, 0xe0, 0x84, 0xba, 0x1e, 0x5d, 0xd5, 0xf5, 0xe8, 0xe9, 0xb1, 0xda, 0xec, 0x25, - 0x93, 0xae, 0xfa, 0xaa, 0xbe, 0xdf, 0xf7, 0xa8, 0xaa, 0xaf, 0xea, 0xfb, 0x0c, 0x66, 0x83, 0xd0, - 0x6f, 0xef, 0x85, 0x81, 0xc3, 0x7e, 0x1f, 0xb5, 0x91, 0xdf, 0x59, 0x6f, 0xf9, 0x5e, 0xe8, 0xc1, - 0x53, 0xb4, 0x71, 0x9d, 0xfe, 0x96, 0x26, 0xdc, 0xfd, 0x7a, 0xd3, 0x73, 0xf0, 0xbf, 0x84, 0xa6, - 0x34, 0x59, 0xf3, 0x6a, 0x1e, 0xfe, 0xaf, 0x13, 0xfd, 0x8f, 0xb6, 0x9e, 0xab, 0x79, 0x5e, 0xad, - 0x81, 0x1c, 0xb7, 0x55, 0x77, 0xdc, 0x66, 0xd3, 0x0b, 0xdd, 0xb0, 0xee, 0x35, 0x03, 0xda, 0xbb, - 0xb6, 0xe7, 0x05, 0xfb, 0x5e, 0xe0, 0x54, 0xdc, 0x00, 0x11, 0x86, 0xce, 0xe3, 0x2b, 0x15, 0x14, - 0xba, 0x57, 0x9c, 0x96, 0x5b, 0xab, 0x37, 0x31, 0x31, 0x9b, 0x49, 0x06, 0xd8, 0x72, 0x7d, 0x77, - 0x9f, 0xcd, 0x74, 0x5e, 0xee, 0x75, 0xab, 0x55, 0x1f, 0x05, 0xac, 0x7b, 0x5e, 0xe9, 0x6e, 0x34, - 0xbc, 0x3d, 0x71, 0x7a, 0x45, 0xfe, 0xfb, 0x0d, 0x84, 0x42, 0xda, 0x59, 0x92, 0x3b, 0x6b, 0x7e, - 0xbd, 0x6a, 0x1a, 0x58, 0x6b, 0xd7, 0x1b, 0xac, 0x73, 0x4e, 0xee, 0xac, 0x37, 0xef, 0xb7, 0x03, - 0xce, 0x55, 0x99, 0xf8, 0x21, 0xea, 0x18, 0x31, 0xb7, 0x90, 0xbf, 0x5f, 0x0f, 0x82, 0x34, 0x95, - 0x34, 0xdc, 0x0e, 0xf2, 0x53, 0x7a, 0x9b, 0xb1, 0x48, 0x8a, 0xc2, 0x7c, 0xe4, 0xee, 0x85, 0x9e, - 0x71, 0x30, 0xf9, 0x35, 0x41, 0x0b, 0xda, 0x95, 0x20, 0x14, 0xd4, 0x69, 0x4f, 0x02, 0xf8, 0x56, - 0x64, 0xcf, 0x1d, 0x6c, 0xa4, 0x32, 0x7a, 0xd4, 0x46, 0x41, 0x68, 0xbf, 0x05, 0xce, 0x24, 0x5a, - 0x83, 0x96, 0xd7, 0x0c, 0x10, 0xbc, 0x0e, 0x8e, 0x11, 0x63, 0x16, 0xad, 0x79, 0x6b, 0x75, 0x6c, - 0x63, 0x66, 0x5d, 0xf2, 0xb7, 0x75, 0x32, 0x60, 0x6b, 0xf4, 0xe3, 0x7f, 0x5d, 0x38, 0xf2, 0xf4, - 0xb3, 0xdf, 0xad, 0x59, 0x65, 0x3a, 0xc2, 0x86, 0xe0, 0x34, 0x9e, 0x72, 0xab, 0xe1, 0xed, 0x3d, - 0xfc, 0x32, 0xaa, 0xd7, 0x1e, 0x84, 0xf6, 0x0d, 0x50, 0x94, 0xdb, 0x62, 0x5e, 0xf3, 0x60, 0xac, - 0xc2, 0x9b, 0x31, 0xc3, 0xe1, 0xb2, 0xd8, 0x64, 0x6f, 0x80, 0x69, 0x3c, 0x7a, 0x1b, 0x85, 0x9b, - 0xc4, 0x89, 0x28, 0x7c, 0x58, 0x04, 0xc7, 0xa9, 0x5b, 0xe1, 0x71, 0xa3, 0x65, 0xf6, 0x69, 0x7f, - 0xdf, 0x02, 0x73, 0x78, 0xd0, 0x66, 0xa3, 0x41, 0x07, 0x6d, 0x75, 0x76, 0xb0, 0x35, 0xd8, 0xe0, - 0x12, 0x18, 0x21, 0xe6, 0xb9, 0x5d, 0xa5, 0xa3, 0xe3, 0x6f, 0x78, 0x0b, 0x00, 0xee, 0xef, 0xc5, - 0x21, 0xac, 0x84, 0xe5, 0x75, 0xb2, 0x38, 0xd6, 0xa3, 0xc5, 0xb1, 0x4e, 0x56, 0x23, 0x5d, 0x1c, - 0xeb, 0x3b, 0x6e, 0x0d, 0xd1, 0x79, 0xcb, 0xc2, 0x48, 0xfb, 0x5b, 0x14, 0x3a, 0x47, 0xc1, 0xb8, - 0x27, 0x39, 0x58, 0x07, 0xe6, 0xd0, 0x04, 0x93, 0x84, 0x03, 0x9b, 0x9e, 0xaa, 0xd5, 0xa8, 0x9a, - 0x84, 0xdc, 0x43, 0x92, 0xdc, 0xf3, 0x60, 0x8c, 0x3b, 0x75, 0x50, 0x2c, 0x10, 0x63, 0x08, 0x4d, - 0xf6, 0xaf, 0x2d, 0x30, 0xa3, 0x88, 0x44, 0x79, 0xde, 0x14, 0x79, 0x16, 0x56, 0xc7, 0x36, 0x96, - 0x14, 0xbf, 0xd1, 0x61, 0xe5, 0xd0, 0xb6, 0x35, 0x6a, 0x5f, 0xe9, 0xab, 0x14, 0x3a, 0x8b, 0xa8, - 0x95, 0x8b, 0xe0, 0x6c, 0xec, 0x32, 0xf1, 0xc6, 0xc2, 0x54, 0x3f, 0x0e, 0x86, 0xea, 0xcc, 0xe4, - 0x43, 0xf5, 0xaa, 0xfd, 0xd4, 0x02, 0x25, 0x1d, 0x35, 0x95, 0x6a, 0x13, 0x00, 0xde, 0x4a, 0x2d, - 0x35, 0xab, 0x08, 0xc6, 0x49, 0xb6, 0x86, 0xa3, 0x45, 0x51, 0x16, 0x06, 0xc1, 0x6d, 0x30, 0x1e, - 0x6d, 0x50, 0x9b, 0x61, 0xe8, 0xd7, 0x2b, 0xed, 0x10, 0x05, 0x54, 0xb6, 0x0b, 0xca, 0x34, 0xdb, - 0x09, 0xb2, 0xb2, 0x34, 0xcc, 0xde, 0xa3, 0x72, 0x45, 0xca, 0x57, 0xe4, 0xca, 0xcb, 0xa5, 0xde, - 0xb5, 0xc0, 0x82, 0xca, 0x65, 0xab, 0x73, 0xd7, 0x6b, 0xfb, 0x7b, 0x28, 0x67, 0x6e, 0x91, 0x3b, - 0x06, 0x78, 0x62, 0xee, 0x8e, 0xec, 0xdb, 0xfe, 0x99, 0x05, 0x96, 0x75, 0x48, 0x5e, 0x47, 0x41, - 0x48, 0xc7, 0xe7, 0x0d, 0x67, 0x11, 0x9c, 0xac, 0xf2, 0xd9, 0x63, 0x4c, 0xc9, 0x46, 0xfb, 0xcf, - 0xcc, 0x65, 0x24, 0x43, 0x18, 0x5c, 0xa6, 0x70, 0x10, 0x97, 0xc9, 0x67, 0x29, 0xc0, 0x69, 0x70, - 0x2c, 0x3a, 0x09, 0xda, 0xd1, 0x6a, 0x2e, 0xac, 0x0e, 0x97, 0xe9, 0x97, 0xbd, 0x4c, 0x37, 0x8e, - 0x6d, 0x14, 0xde, 0x8a, 0x4e, 0x56, 0xd3, 0xea, 0x78, 0x03, 0x4c, 0x49, 0x74, 0x54, 0xc8, 0x0d, - 0x70, 0x14, 0x37, 0x50, 0x65, 0x4f, 0x2b, 0xf2, 0xe1, 0x5e, 0x2a, 0x1a, 0x21, 0xb5, 0xaf, 0x82, - 0xd9, 0xc4, 0x64, 0x5b, 0x9d, 0xdb, 0xcd, 0x2a, 0x7a, 0xc2, 0x78, 0x4f, 0x82, 0xa3, 0xf5, 0xe8, - 0x9b, 0x9e, 0x02, 0xe4, 0xc3, 0xbe, 0xc7, 0xb6, 0xb8, 0x46, 0x23, 0x81, 0x34, 0x2f, 0x7f, 0x7f, - 0xdf, 0xa2, 0x22, 0x72, 0x06, 0xaa, 0x88, 0x85, 0x8c, 0x22, 0xe6, 0xb7, 0x87, 0xbd, 0x42, 0xcf, - 0xe6, 0x6d, 0x14, 0x46, 0xbb, 0x02, 0x93, 0x7a, 0x1e, 0x8c, 0xb9, 0x6c, 0x43, 0x88, 0x4f, 0x2e, - 0xb1, 0xc9, 0xfe, 0x26, 0x1d, 0xb8, 0xd9, 0x68, 0x88, 0x03, 0xf3, 0x52, 0xd7, 0x5d, 0xee, 0x38, - 0x64, 0x7a, 0xaa, 0xac, 0xd7, 0x00, 0xa8, 0xe1, 0xef, 0x3d, 0xcf, 0xaf, 0x1a, 0xf7, 0xc9, 0xed, - 0x98, 0xa4, 0x2c, 0x90, 0xdb, 0x1f, 0x5a, 0xdc, 0xc8, 0x89, 0x59, 0xbf, 0x08, 0xc6, 0x38, 0x59, - 0x60, 0x5c, 0x4b, 0xc2, 0xb4, 0x22, 0x7d, 0x7e, 0xd6, 0x10, 0x96, 0xcb, 0x76, 0x14, 0x4f, 0x66, - 0x58, 0x2e, 0x94, 0x8e, 0xfb, 0x12, 0x6e, 0x30, 0x2e, 0x17, 0xdc, 0xcb, 0x7c, 0x09, 0x7f, 0x88, - 0x9e, 0x9f, 0x60, 0x7a, 0x18, 0x9e, 0x6f, 0x44, 0x5b, 0xc8, 0x88, 0x36, 0x3f, 0x5d, 0xbb, 0xe0, - 0xc5, 0x84, 0x0e, 0xef, 0xa0, 0xfd, 0x0a, 0xf2, 0x83, 0x07, 0xf5, 0xd6, 0x66, 0xab, 0xd5, 0xa8, - 0x27, 0x4f, 0xbd, 0x22, 0x38, 0x8e, 0x03, 0xfc, 0x78, 0x2d, 0xb0, 0xcf, 0xb4, 0x40, 0xc7, 0xfe, - 0x95, 0x05, 0xd6, 0xb2, 0xf0, 0xa0, 0xea, 0x78, 0x04, 0x4a, 0x66, 0x2a, 0x6a, 0x80, 0x8b, 0x7a, - 0x1d, 0x69, 0x87, 0x50, 0xc5, 0xa5, 0x4c, 0x6a, 0x07, 0x54, 0x09, 0xcc, 0x34, 0xa9, 0x4a, 0xc8, - 0xcb, 0x21, 0xfe, 0xc3, 0xd4, 0xd2, 0x87, 0x6b, 0x46, 0xb5, 0x14, 0x72, 0x57, 0x4b, 0x7e, 0x4e, - 0xf6, 0x75, 0x1a, 0xc7, 0x6e, 0xa3, 0xf0, 0x36, 0xbd, 0x03, 0x32, 0x6d, 0x2a, 0x31, 0x80, 0xa5, - 0x89, 0x01, 0xc4, 0x08, 0x7b, 0x28, 0x79, 0xf9, 0xf8, 0x1a, 0xbd, 0xee, 0x24, 0xa6, 0x8e, 0x77, - 0xc9, 0x11, 0xd6, 0x46, 0xed, 0x74, 0x56, 0x51, 0x10, 0x23, 0xa0, 0xea, 0x88, 0x07, 0x44, 0xeb, - 0x75, 0x91, 0x99, 0x27, 0x26, 0xd2, 0x45, 0x43, 0xd9, 0x24, 0xc8, 0xeb, 0x96, 0xe3, 0xf2, 0x2b, - 0x81, 0xac, 0xca, 0xbc, 0x1c, 0xf3, 0x8f, 0x16, 0xd5, 0x69, 0x82, 0x87, 0x56, 0xa7, 0x85, 0x81, - 0x74, 0x7a, 0xf8, 0x81, 0xd6, 0x4d, 0x7e, 0x17, 0xd9, 0x89, 0x2f, 0x52, 0x4c, 0x3f, 0x36, 0x38, - 0xc1, 0x6f, 0x57, 0xb1, 0x9d, 0x12, 0x6d, 0x89, 0x78, 0x9c, 0xcf, 0xb0, 0xd5, 0x79, 0xb3, 0xf2, - 0x6d, 0xb4, 0x17, 0x0a, 0xd7, 0x59, 0x0f, 0x37, 0xf0, 0xeb, 0x2c, 0xfb, 0xce, 0xcd, 0xd0, 0x26, - 0x24, 0xff, 0xff, 0x8b, 0xb5, 0x70, 0x11, 0x52, 0x95, 0x9a, 0x97, 0xd3, 0x3d, 0xe4, 0xf7, 0x42, - 0x91, 0x09, 0xf5, 0xba, 0x3b, 0xe0, 0x74, 0x4b, 0x68, 0x15, 0xa2, 0x9e, 0x05, 0xf5, 0xb9, 0x44, - 0x22, 0x2c, 0x2b, 0x43, 0xed, 0x8f, 0x84, 0x2b, 0x85, 0x86, 0xdb, 0x9b, 0x60, 0x42, 0x1e, 0xc2, - 0xa2, 0xa1, 0x0c, 0xec, 0xd4, 0xb1, 0xf9, 0x6d, 0xa4, 0x2b, 0x3c, 0xe2, 0xd9, 0xc1, 0x0f, 0x5a, - 0xa6, 0xd0, 0xe8, 0x33, 0x8b, 0x3f, 0xe4, 0x30, 0x4a, 0x2a, 0xdd, 0xcb, 0xe0, 0x18, 0x69, 0x31, - 0x3f, 0x38, 0xe1, 0x6e, 0xba, 0x7a, 0x29, 0x71, 0x6e, 0xf7, 0x6a, 0x6c, 0x4b, 0x3c, 0xa5, 0x30, - 0x55, 0xc1, 0x64, 0x4b, 0x89, 0xb0, 0xac, 0x0c, 0xb5, 0x77, 0x79, 0x58, 0x95, 0x54, 0x49, 0x5e, - 0x9e, 0xf9, 0x3d, 0x0b, 0x9c, 0x4f, 0x72, 0xf8, 0x3c, 0x16, 0xe1, 0xcf, 0x2d, 0xfe, 0xbc, 0x95, - 0x62, 0xd0, 0xc2, 0x20, 0x06, 0xcd, 0xc9, 0x29, 0x2b, 0xf4, 0xf9, 0x2f, 0x76, 0xb5, 0xd8, 0x3a, - 0x49, 0x05, 0x35, 0x51, 0x98, 0x50, 0x10, 0xfe, 0x8e, 0x8e, 0xcf, 0xf8, 0x42, 0xf5, 0x76, 0xa7, - 0x85, 0xd8, 0x23, 0x40, 0xa2, 0xd1, 0xbe, 0x09, 0x2e, 0x18, 0x79, 0x50, 0x35, 0x9c, 0x03, 0xa3, - 0xf1, 0x18, 0x7a, 0xa9, 0xe5, 0x0d, 0xf6, 0x03, 0xfe, 0x46, 0x69, 0x00, 0x99, 0x97, 0xbf, 0xfc, - 0xd5, 0xa2, 0x58, 0x75, 0xac, 0x28, 0xd6, 0x7b, 0x60, 0xba, 0x25, 0x77, 0x89, 0xdb, 0xcc, 0x72, - 0xbf, 0x95, 0x40, 0xf7, 0x1a, 0xc3, 0x2c, 0x87, 0xb5, 0xe1, 0x08, 0x3e, 0x2f, 0x6f, 0x38, 0x9f, - 0x26, 0x37, 0x1c, 0x4c, 0x99, 0xf0, 0xcf, 0x0e, 0xf2, 0xd3, 0x36, 0x9c, 0x0e, 0xf2, 0x05, 0xff, - 0xec, 0x20, 0x3f, 0xbf, 0x0d, 0xe7, 0x2b, 0xe0, 0x14, 0x5d, 0x8e, 0xcd, 0xc7, 0xa8, 0x19, 0x7a, - 0x7e, 0x87, 0xee, 0x37, 0xf3, 0x06, 0x20, 0x31, 0x5d, 0x59, 0x1e, 0x28, 0xed, 0x36, 0x82, 0x3e, - 0xf2, 0xf2, 0x1e, 0x69, 0x9d, 0x9b, 0xf4, 0x58, 0x18, 0x44, 0x8f, 0x39, 0xf9, 0xc2, 0x2a, 0xb7, - 0x70, 0x99, 0xe4, 0x4b, 0x4c, 0xce, 0xf0, 0x81, 0xc5, 0x03, 0xfe, 0x98, 0x94, 0x4a, 0xf1, 0x2a, - 0x38, 0x4e, 0x9b, 0xa8, 0x96, 0x8a, 0x8a, 0x18, 0xb4, 0x9f, 0xca, 0xc1, 0xc8, 0xf3, 0x7b, 0xd9, - 0x15, 0x32, 0x05, 0x92, 0x20, 0x79, 0x59, 0xf1, 0x03, 0xe1, 0xe5, 0x3e, 0x55, 0x01, 0x85, 0xc1, - 0x14, 0x90, 0xff, 0xaa, 0xbe, 0x8b, 0x59, 0x9a, 0x0c, 0xf9, 0xde, 0x10, 0xb7, 0x39, 0xa3, 0xe4, - 0xde, 0x48, 0x5a, 0x8c, 0xab, 0x9a, 0x74, 0x33, 0x6f, 0x24, 0x5f, 0xd1, 0xe9, 0x4f, 0xfa, 0x15, - 0x33, 0x2e, 0x18, 0x26, 0x10, 0x4f, 0x7f, 0x79, 0xa8, 0xc6, 0x27, 0x0a, 0x07, 0xdb, 0x24, 0x56, - 0x01, 0xcd, 0xf3, 0xbe, 0x8e, 0xee, 0xa3, 0x66, 0x15, 0xf9, 0x41, 0x71, 0x78, 0xbe, 0xb0, 0x3a, - 0x5a, 0x96, 0x9b, 0xc5, 0x2d, 0x20, 0xa9, 0xbc, 0xc3, 0xd8, 0x02, 0x52, 0x94, 0x5e, 0xc8, 0xae, - 0xf4, 0xc3, 0x38, 0xea, 0x25, 0xe3, 0x08, 0x47, 0x3d, 0x81, 0xc2, 0x8f, 0x7a, 0xf6, 0x3d, 0xf8, - 0x51, 0xaf, 0xf0, 0x18, 0xf4, 0xa8, 0x37, 0x80, 0x3c, 0x8c, 0xa3, 0xde, 0x84, 0xf5, 0x1e, 0x98, - 0x0e, 0xe4, 0xae, 0xf4, 0xa3, 0xfe, 0xae, 0x8e, 0xbc, 0x6c, 0x98, 0xe5, 0x50, 0xf2, 0x78, 0x04, - 0x41, 0x64, 0x0d, 0x75, 0x63, 0x18, 0xc6, 0x1b, 0xc3, 0x2e, 0xbf, 0xae, 0x89, 0xc4, 0x3c, 0x27, - 0xc3, 0x5b, 0x8d, 0xcf, 0xd3, 0x9c, 0x84, 0xe5, 0x64, 0x78, 0x8b, 0x78, 0xe9, 0x54, 0xd1, 0xe4, - 0x65, 0xbf, 0xa7, 0xc2, 0x3d, 0x30, 0x83, 0x18, 0x85, 0x81, 0xc5, 0x38, 0x1c, 0xeb, 0xc4, 0xf5, - 0x06, 0x59, 0xb2, 0xac, 0x22, 0xb5, 0x20, 0x57, 0xdc, 0x6a, 0x36, 0x4f, 0x4c, 0x12, 0xcb, 0x15, - 0xb7, 0x1c, 0x4a, 0x96, 0x55, 0x95, 0xeb, 0x50, 0xec, 0xdc, 0x5f, 0x1f, 0x85, 0x83, 0xe8, 0x23, - 0x27, 0x3b, 0xff, 0x92, 0xdd, 0x36, 0xdf, 0x71, 0x1b, 0xf5, 0xaa, 0x1b, 0xa2, 0xbb, 0xf5, 0x5a, - 0xd3, 0x0d, 0xdb, 0x3e, 0xea, 0x5b, 0x88, 0x11, 0xf5, 0xec, 0xa3, 0x20, 0x70, 0x6b, 0x6c, 0x67, - 0x65, 0x9f, 0xb8, 0xd6, 0xc0, 0xf7, 0xbc, 0xfb, 0x3b, 0xed, 0xca, 0x1b, 0x88, 0x84, 0xbf, 0xa3, - 0x65, 0xb1, 0x09, 0x2e, 0x83, 0x71, 0xfc, 0x19, 0xb3, 0x2b, 0x0e, 0x63, 0x22, 0xa9, 0xd5, 0xfe, - 0x2f, 0x2b, 0xf6, 0xd0, 0xe0, 0xa3, 0xea, 0xbc, 0x04, 0x26, 0x5a, 0xed, 0xca, 0x43, 0xd4, 0xb9, - 0xe5, 0xf9, 0xfb, 0x6e, 0xf8, 0x25, 0xdf, 0xa7, 0xb1, 0xde, 0x48, 0x59, 0xed, 0x80, 0x1b, 0x60, - 0x32, 0x60, 0x53, 0x88, 0x03, 0x86, 0xf0, 0x00, 0x6d, 0x1f, 0xbc, 0x06, 0xa6, 0xa8, 0xcc, 0x3b, - 0x78, 0xbe, 0x3b, 0xf5, 0x60, 0xdf, 0x0d, 0xf7, 0x1e, 0x60, 0xc1, 0x46, 0xca, 0xfa, 0x4e, 0xb8, - 0x06, 0x4e, 0xc7, 0xb3, 0xdd, 0x6e, 0x3e, 0x8e, 0xf0, 0x63, 0x21, 0x47, 0xca, 0x4a, 0x3b, 0x9c, - 0x04, 0x47, 0x09, 0xc1, 0x51, 0x4c, 0x40, 0x3e, 0x36, 0xfe, 0x70, 0x19, 0x1c, 0xc5, 0xc2, 0xc3, - 0x10, 0x8c, 0x6f, 0xa3, 0x50, 0xa8, 0xb1, 0x81, 0x0b, 0xfa, 0xfa, 0x0b, 0x81, 0xa4, 0xf4, 0x62, - 0x5f, 0x12, 0xa6, 0x43, 0x7b, 0xf2, 0xbb, 0x7f, 0xff, 0xf4, 0xa7, 0x43, 0xe3, 0xf0, 0x84, 0x83, - 0xab, 0x73, 0x1e, 0x10, 0x1e, 0x21, 0x38, 0x46, 0x8a, 0x81, 0xe0, 0x0b, 0xfa, 0xa9, 0x12, 0x15, - 0x47, 0xa5, 0xc5, 0x74, 0x22, 0xca, 0xea, 0x02, 0x66, 0x75, 0x16, 0xce, 0x38, 0xfa, 0x22, 0x33, - 0xd8, 0x03, 0xc7, 0x69, 0x15, 0x09, 0x5c, 0xd1, 0xcf, 0xa8, 0x54, 0x0b, 0x95, 0xb2, 0x55, 0xa3, - 0xd8, 0x36, 0xe6, 0x7d, 0x0e, 0x96, 0xe4, 0xd2, 0x35, 0xa7, 0x4b, 0xff, 0xd3, 0x83, 0x1d, 0x00, - 0xe8, 0xb0, 0xcd, 0x46, 0xc3, 0x84, 0x40, 0x29, 0xfa, 0x29, 0xad, 0xf6, 0x27, 0xa4, 0x20, 0x8a, - 0x18, 0x04, 0x84, 0xa7, 0x65, 0x10, 0xf0, 0x43, 0x0b, 0x40, 0xce, 0x9b, 0x3d, 0xfb, 0x40, 0xa7, - 0xdf, 0xd4, 0xd2, 0x03, 0xd1, 0x00, 0x58, 0x5e, 0xc2, 0x58, 0x56, 0xe0, 0x92, 0x8c, 0x65, 0xb7, - 0xd2, 0xd9, 0x25, 0x97, 0x51, 0xa7, 0xcb, 0x1e, 0x97, 0x7a, 0xf0, 0x5d, 0x4b, 0xac, 0x7e, 0x80, - 0x6b, 0x66, 0xf3, 0xc8, 0x15, 0x2c, 0xa5, 0x8b, 0x99, 0x68, 0x29, 0xac, 0x79, 0x0c, 0xab, 0x04, - 0x8b, 0x9a, 0x1a, 0x42, 0xa7, 0x5b, 0xaf, 0xf6, 0xe0, 0x0f, 0x2c, 0x70, 0x92, 0x0f, 0x8c, 0x2c, - 0xb5, 0x66, 0x16, 0x3a, 0x2b, 0x18, 0x6d, 0xc5, 0x87, 0x3d, 0x8b, 0xc1, 0x4c, 0xc1, 0x33, 0x1a, - 0x30, 0xf0, 0xb7, 0x16, 0x98, 0x4a, 0xe0, 0x60, 0xb5, 0x34, 0x70, 0x23, 0x03, 0x0f, 0xa9, 0xf0, - 0x66, 0x30, 0x5c, 0x97, 0x31, 0xae, 0x35, 0xb8, 0xaa, 0xc1, 0x15, 0x99, 0x8f, 0x94, 0xda, 0x38, - 0x5d, 0x56, 0x72, 0xd3, 0x83, 0x7f, 0xb2, 0x40, 0x49, 0x02, 0x2b, 0x24, 0x98, 0xe0, 0x2b, 0x99, - 0x10, 0xab, 0x29, 0xa9, 0xc1, 0x60, 0x5f, 0xc7, 0xb0, 0xaf, 0xc1, 0x0d, 0x03, 0x6c, 0x21, 0x8f, - 0xe5, 0x74, 0x13, 0x49, 0xad, 0x1e, 0x0c, 0x68, 0xd1, 0x06, 0x5c, 0x32, 0x7a, 0x93, 0x58, 0x46, - 0x52, 0x5a, 0xee, 0x47, 0x66, 0x34, 0x31, 0xae, 0x48, 0x25, 0xae, 0xf6, 0x63, 0x0b, 0x9c, 0x10, - 0x2b, 0x5a, 0xe0, 0xa5, 0xf4, 0x59, 0x93, 0x85, 0x2f, 0x99, 0x31, 0xac, 0x60, 0x0c, 0x0b, 0xf0, - 0x42, 0x12, 0x43, 0xa4, 0x12, 0x5c, 0x2b, 0xe3, 0x74, 0xf1, 0x4f, 0x0f, 0x3e, 0x02, 0x23, 0x78, - 0x64, 0xe4, 0xf4, 0x4b, 0x46, 0xcd, 0x67, 0xd1, 0x83, 0x5c, 0x14, 0x63, 0x4f, 0x63, 0x0c, 0xa7, - 0xe1, 0x78, 0x12, 0x03, 0x7c, 0x02, 0x86, 0xa3, 0xb8, 0x0a, 0x2e, 0x1a, 0x65, 0x11, 0xaa, 0x51, - 0x4a, 0x4b, 0x7d, 0xa8, 0x28, 0xb3, 0x17, 0x30, 0xb3, 0xf3, 0x70, 0x36, 0x51, 0xe9, 0xeb, 0x74, - 0x85, 0x7a, 0x97, 0x1e, 0xdc, 0x07, 0xc7, 0x71, 0x44, 0xd7, 0x68, 0x98, 0x98, 0x27, 0x4b, 0x61, - 0x4a, 0x4b, 0x7d, 0xa8, 0x28, 0xf3, 0x29, 0xcc, 0xfc, 0x14, 0x3c, 0x99, 0x60, 0x1e, 0x39, 0x18, - 0x29, 0x78, 0x48, 0x91, 0x41, 0xa8, 0xd6, 0x48, 0x31, 0x6e, 0xa2, 0xe6, 0x42, 0xe3, 0x60, 0xb8, - 0x92, 0x81, 0x38, 0xd8, 0x23, 0x30, 0x82, 0xa9, 0xd3, 0x0d, 0x9a, 0x85, 0xaf, 0x5c, 0xeb, 0xa1, - 0x31, 0x28, 0xe6, 0x0b, 0xff, 0x69, 0xa5, 0xa5, 0xf7, 0xe1, 0xf5, 0x74, 0xb1, 0xd2, 0xea, 0x15, - 0x4a, 0xaf, 0x1d, 0x68, 0x2c, 0xc5, 0xbb, 0x85, 0xf1, 0xde, 0x80, 0xd7, 0x93, 0x78, 0x77, 0xf7, - 0xe3, 0x51, 0xbb, 0x2e, 0x1f, 0xe6, 0x74, 0x69, 0x3d, 0x48, 0x4f, 0x3c, 0xa4, 0xfe, 0x62, 0x81, - 0xf3, 0x66, 0x56, 0x91, 0x92, 0xaf, 0xa7, 0x6b, 0xef, 0x20, 0xe2, 0x65, 0x2a, 0xaa, 0xd0, 0x1c, - 0xb7, 0x69, 0xe2, 0xc1, 0xf7, 0x2d, 0x9e, 0xfd, 0x86, 0xab, 0x46, 0xbd, 0x4a, 0x89, 0x79, 0x53, - 0xdc, 0xa7, 0x29, 0x59, 0xb0, 0xaf, 0x62, 0x40, 0x2f, 0xc1, 0x8b, 0x4a, 0xd1, 0xbc, 0xbc, 0xf7, - 0x0a, 0x11, 0x52, 0x0f, 0x8c, 0xb1, 0x89, 0x22, 0x6d, 0x9a, 0xa3, 0x8d, 0x8c, 0xc0, 0x34, 0x79, - 0x7f, 0xfb, 0x2c, 0x06, 0x76, 0x06, 0x4e, 0x28, 0xc0, 0xe0, 0x47, 0x16, 0x28, 0x0a, 0xfc, 0x93, - 0x67, 0xd8, 0xcb, 0x7d, 0x59, 0x68, 0x4f, 0xb0, 0x01, 0x90, 0xbd, 0x8a, 0x91, 0x6d, 0xc0, 0xcb, - 0x0a, 0xb2, 0x7e, 0xa7, 0xd7, 0x7b, 0x16, 0x00, 0x3c, 0x7d, 0x9b, 0x12, 0x3d, 0x29, 0x69, 0xef, - 0x94, 0xe8, 0x49, 0xcd, 0x27, 0xdb, 0x6b, 0x18, 0xe1, 0x22, 0xb4, 0x35, 0x7f, 0xcd, 0xe0, 0x74, - 0xc5, 0xfa, 0x83, 0x1e, 0xfc, 0x8d, 0x05, 0xa0, 0x5a, 0x78, 0x90, 0x12, 0xbc, 0x18, 0xab, 0x14, - 0x52, 0xa2, 0x00, 0x0d, 0x46, 0x75, 0x25, 0x08, 0x18, 0x49, 0x71, 0x83, 0xd3, 0x65, 0x45, 0x0e, - 0x2a, 0x4c, 0x1a, 0x19, 0x67, 0x83, 0x99, 0x0c, 0x8e, 0xf3, 0x83, 0xa9, 0xc6, 0xc7, 0x51, 0x54, - 0xca, 0x67, 0x49, 0x8f, 0x4a, 0x33, 0x1b, 0x59, 0x8f, 0x4c, 0x3d, 0x51, 0x38, 0x32, 0xf8, 0x1d, - 0x96, 0xba, 0x81, 0xe6, 0x03, 0x2a, 0xa9, 0x95, 0x95, 0xbe, 0x74, 0x94, 0xef, 0x39, 0xcc, 0x77, - 0x1a, 0x4e, 0x4a, 0x7f, 0x08, 0x43, 0x8e, 0xb2, 0x36, 0x18, 0x25, 0xf4, 0x91, 0xec, 0xe6, 0x43, - 0x2a, 0x13, 0x6f, 0x25, 0x23, 0x65, 0xcf, 0x60, 0xde, 0x13, 0xf0, 0x94, 0xc4, 0x9b, 0xca, 0xdb, - 0x44, 0x61, 0xba, 0xbc, 0x3c, 0x5b, 0x9f, 0x2e, 0xaf, 0x90, 0xed, 0xd6, 0xcb, 0xdb, 0x64, 0xb1, - 0x21, 0x91, 0xb7, 0x49, 0x82, 0xb1, 0x54, 0x79, 0xfb, 0xf3, 0x56, 0x32, 0xed, 0x7a, 0x79, 0x23, - 0x29, 0x7f, 0x61, 0x81, 0x89, 0x98, 0x6f, 0xbc, 0x1a, 0xd6, 0xfb, 0xcc, 0x2b, 0xaf, 0x84, 0xcc, - 0x38, 0x2e, 0x61, 0x1c, 0xcb, 0x70, 0x51, 0xc2, 0xa1, 0xbf, 0x24, 0xfe, 0xde, 0x02, 0xa7, 0xa4, - 0xf4, 0xb1, 0xe9, 0x0a, 0x6b, 0x4c, 0xe1, 0x97, 0x2e, 0x67, 0x1f, 0x40, 0x41, 0xde, 0xc0, 0x20, - 0xbf, 0x00, 0xaf, 0xc9, 0x20, 0xe3, 0x78, 0x12, 0x83, 0xc4, 0x55, 0x00, 0x3d, 0x21, 0xca, 0x7c, - 0xbb, 0xd3, 0x42, 0xbd, 0x48, 0xa3, 0x50, 0x9a, 0x39, 0x32, 0xa9, 0xd3, 0x47, 0x45, 0x59, 0x71, - 0x9b, 0x73, 0xf3, 0xf6, 0x02, 0xc6, 0x3d, 0x0b, 0xcf, 0x1a, 0x71, 0xc3, 0x6e, 0x9c, 0xc2, 0x4b, - 0x79, 0x11, 0x49, 0xa6, 0x16, 0x4b, 0xab, 0xfd, 0x09, 0x29, 0x80, 0xf3, 0x18, 0xc0, 0x0c, 0x9c, - 0x92, 0xff, 0x3c, 0x8d, 0xb8, 0x78, 0x07, 0x00, 0x3a, 0x22, 0xfd, 0x3d, 0x24, 0x1b, 0x7f, 0x35, - 0x41, 0xa9, 0x79, 0x0f, 0xa1, 0xfc, 0xa3, 0x65, 0x4d, 0x33, 0x4a, 0xe6, 0x65, 0x9d, 0xc8, 0x89, - 0xa5, 0x2c, 0xeb, 0x64, 0x66, 0x4b, 0xb3, 0xac, 0xc9, 0x6f, 0xbc, 0xac, 0x69, 0x56, 0x24, 0x75, - 0x59, 0x67, 0xe2, 0xad, 0x64, 0xd5, 0x34, 0xcb, 0x9a, 0xfc, 0xe2, 0x95, 0x23, 0x65, 0x63, 0x52, - 0x56, 0x8e, 0x3e, 0xd9, 0x94, 0xb2, 0x72, 0x0c, 0x29, 0x23, 0xcd, 0xca, 0x21, 0xbf, 0xe2, 0xca, - 0x61, 0x49, 0x35, 0xfd, 0xca, 0x91, 0x66, 0x4e, 0x5f, 0x39, 0x83, 0xe1, 0x36, 0xa7, 0xba, 0x34, - 0x2b, 0x47, 0xc6, 0x0d, 0x7f, 0x64, 0x89, 0x39, 0x95, 0x94, 0x90, 0x4b, 0x49, 0xfa, 0xa4, 0x84, - 0x5c, 0x6a, 0xea, 0xc6, 0x0c, 0x25, 0xec, 0xb4, 0x10, 0xf1, 0xa9, 0x1f, 0x5a, 0xe0, 0x24, 0x1f, - 0x99, 0x1e, 0x1b, 0x64, 0x46, 0xa3, 0x4d, 0x24, 0x19, 0x9d, 0x1b, 0xa3, 0xc1, 0x8f, 0x78, 0x42, - 0x2a, 0x21, 0x45, 0x27, 0x72, 0x82, 0x24, 0x4d, 0x27, 0x4a, 0x9a, 0x43, 0xf3, 0x88, 0xc7, 0xff, - 0x72, 0x95, 0x3f, 0xe2, 0xf1, 0x81, 0x7d, 0x54, 0x92, 0x15, 0x8c, 0x36, 0xe7, 0xa2, 0x09, 0x97, - 0x38, 0x18, 0xf8, 0x37, 0x0b, 0x4c, 0x28, 0xf9, 0x05, 0xd3, 0x71, 0x6a, 0x4a, 0x94, 0x94, 0x9c, - 0xcc, 0xf4, 0x14, 0xd3, 0x3b, 0x18, 0xd3, 0x0e, 0xfc, 0x6a, 0x8c, 0xe9, 0x31, 0xa5, 0xdd, 0x8d, - 0x13, 0x04, 0xfc, 0xda, 0xe5, 0x74, 0x85, 0xfc, 0x09, 0xfb, 0x8a, 0x27, 0xed, 0x39, 0x5d, 0x9a, - 0x7c, 0xe9, 0x6d, 0x5d, 0xf9, 0xf8, 0xd9, 0x9c, 0xf5, 0xc9, 0xb3, 0x39, 0xeb, 0xdf, 0xcf, 0xe6, - 0xac, 0x9f, 0x3c, 0x9f, 0x3b, 0xf2, 0xc9, 0xf3, 0xb9, 0x23, 0xff, 0x78, 0x3e, 0x77, 0xe4, 0x1b, - 0x33, 0x8c, 0xd1, 0x93, 0x98, 0x65, 0xe4, 0x12, 0x41, 0xe5, 0x18, 0xfe, 0x4b, 0xe2, 0xab, 0xff, - 0x0b, 0x00, 0x00, 0xff, 0xff, 0x28, 0xdb, 0x43, 0xd9, 0x9a, 0x3e, 0x00, 0x00, +func (m *QueryAllStructAttributeRequest) XXX_Size() int { + return m.Size() +} +func (m *QueryAllStructAttributeRequest) XXX_DiscardUnknown() { + xxx_messageInfo_QueryAllStructAttributeRequest.DiscardUnknown(m) } -// Reference imports to suppress errors if they are not otherwise used. -var _ context.Context -var _ grpc.ClientConn - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the grpc package it is being compiled against. -const _ = grpc.SupportPackageIsVersion4 +var xxx_messageInfo_QueryAllStructAttributeRequest proto.InternalMessageInfo -// QueryClient is the client API for Query service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type QueryClient interface { - GetBlockHeight(ctx context.Context, in *QueryBlockHeight, opts ...grpc.CallOption) (*QueryBlockHeightResponse, error) - // Parameters queries the parameters of the module. - Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) - // Queries for Addresses. - Address(ctx context.Context, in *QueryGetAddressRequest, opts ...grpc.CallOption) (*QueryAddressResponse, error) - AddressAll(ctx context.Context, in *QueryAllAddressRequest, opts ...grpc.CallOption) (*QueryAllAddressResponse, error) - AddressAllByPlayer(ctx context.Context, in *QueryAllAddressByPlayerRequest, opts ...grpc.CallOption) (*QueryAllAddressResponse, error) - // Queries a list of Allocation items. - Allocation(ctx context.Context, in *QueryGetAllocationRequest, opts ...grpc.CallOption) (*QueryGetAllocationResponse, error) - AllocationAll(ctx context.Context, in *QueryAllAllocationRequest, opts ...grpc.CallOption) (*QueryAllAllocationResponse, error) - AllocationAllBySource(ctx context.Context, in *QueryAllAllocationBySourceRequest, opts ...grpc.CallOption) (*QueryAllAllocationResponse, error) - AllocationAllByDestination(ctx context.Context, in *QueryAllAllocationByDestinationRequest, opts ...grpc.CallOption) (*QueryAllAllocationResponse, error) - // Queries a list of Fleet items. - Fleet(ctx context.Context, in *QueryGetFleetRequest, opts ...grpc.CallOption) (*QueryGetFleetResponse, error) - FleetByIndex(ctx context.Context, in *QueryGetFleetByIndexRequest, opts ...grpc.CallOption) (*QueryGetFleetResponse, error) - FleetAll(ctx context.Context, in *QueryAllFleetRequest, opts ...grpc.CallOption) (*QueryAllFleetResponse, error) - // Queries a specific Grid details - Grid(ctx context.Context, in *QueryGetGridRequest, opts ...grpc.CallOption) (*QueryGetGridResponse, error) - // Queries a list of all Grid details - GridAll(ctx context.Context, in *QueryAllGridRequest, opts ...grpc.CallOption) (*QueryAllGridResponse, error) - // Queries a list of Guild items. - Guild(ctx context.Context, in *QueryGetGuildRequest, opts ...grpc.CallOption) (*QueryGetGuildResponse, error) - GuildAll(ctx context.Context, in *QueryAllGuildRequest, opts ...grpc.CallOption) (*QueryAllGuildResponse, error) - GuildMembershipApplication(ctx context.Context, in *QueryGetGuildMembershipApplicationRequest, opts ...grpc.CallOption) (*QueryGetGuildMembershipApplicationResponse, error) - GuildMembershipApplicationAll(ctx context.Context, in *QueryAllGuildMembershipApplicationRequest, opts ...grpc.CallOption) (*QueryAllGuildMembershipApplicationResponse, error) - // Queries a list of Infusions. - Infusion(ctx context.Context, in *QueryGetInfusionRequest, opts ...grpc.CallOption) (*QueryGetInfusionResponse, error) - InfusionAll(ctx context.Context, in *QueryAllInfusionRequest, opts ...grpc.CallOption) (*QueryAllInfusionResponse, error) - InfusionAllByDestination(ctx context.Context, in *QueryAllInfusionByDestinationRequest, opts ...grpc.CallOption) (*QueryAllInfusionResponse, error) - // Queries a specific Permission - Permission(ctx context.Context, in *QueryGetPermissionRequest, opts ...grpc.CallOption) (*QueryGetPermissionResponse, error) - // Queries a list of Permissions based on Object - PermissionByObject(ctx context.Context, in *QueryAllPermissionByObjectRequest, opts ...grpc.CallOption) (*QueryAllPermissionResponse, error) - // Queries a list of Permissions based on the Player with the permissions - PermissionByPlayer(ctx context.Context, in *QueryAllPermissionByPlayerRequest, opts ...grpc.CallOption) (*QueryAllPermissionResponse, error) - // Queries a list of all Permissions - PermissionAll(ctx context.Context, in *QueryAllPermissionRequest, opts ...grpc.CallOption) (*QueryAllPermissionResponse, error) - // Queries a list of Player items. - Player(ctx context.Context, in *QueryGetPlayerRequest, opts ...grpc.CallOption) (*QueryGetPlayerResponse, error) - PlayerAll(ctx context.Context, in *QueryAllPlayerRequest, opts ...grpc.CallOption) (*QueryAllPlayerResponse, error) - // Queries a list of Planet items. - Planet(ctx context.Context, in *QueryGetPlanetRequest, opts ...grpc.CallOption) (*QueryGetPlanetResponse, error) - PlanetAll(ctx context.Context, in *QueryAllPlanetRequest, opts ...grpc.CallOption) (*QueryAllPlanetResponse, error) - PlanetAllByPlayer(ctx context.Context, in *QueryAllPlanetByPlayerRequest, opts ...grpc.CallOption) (*QueryAllPlanetResponse, error) - PlanetAttribute(ctx context.Context, in *QueryGetPlanetAttributeRequest, opts ...grpc.CallOption) (*QueryGetPlanetAttributeResponse, error) - // Queries a list of all Planet Attributes - PlanetAttributeAll(ctx context.Context, in *QueryAllPlanetAttributeRequest, opts ...grpc.CallOption) (*QueryAllPlanetAttributeResponse, error) - // Queries a list of Reactor items. - Reactor(ctx context.Context, in *QueryGetReactorRequest, opts ...grpc.CallOption) (*QueryGetReactorResponse, error) - ReactorAll(ctx context.Context, in *QueryAllReactorRequest, opts ...grpc.CallOption) (*QueryAllReactorResponse, error) - // Queries a list of Structs items. - Struct(ctx context.Context, in *QueryGetStructRequest, opts ...grpc.CallOption) (*QueryGetStructResponse, error) - StructAll(ctx context.Context, in *QueryAllStructRequest, opts ...grpc.CallOption) (*QueryAllStructResponse, error) - StructAttribute(ctx context.Context, in *QueryGetStructAttributeRequest, opts ...grpc.CallOption) (*QueryGetStructAttributeResponse, error) - // Queries a list of all Struct Attributes - StructAttributeAll(ctx context.Context, in *QueryAllStructAttributeRequest, opts ...grpc.CallOption) (*QueryAllStructAttributeResponse, error) - // Queries a list of Struct Types items. - StructType(ctx context.Context, in *QueryGetStructTypeRequest, opts ...grpc.CallOption) (*QueryGetStructTypeResponse, error) - StructTypeAll(ctx context.Context, in *QueryAllStructTypeRequest, opts ...grpc.CallOption) (*QueryAllStructTypeResponse, error) - // Queries a list of Substation items. - Substation(ctx context.Context, in *QueryGetSubstationRequest, opts ...grpc.CallOption) (*QueryGetSubstationResponse, error) - SubstationAll(ctx context.Context, in *QueryAllSubstationRequest, opts ...grpc.CallOption) (*QueryAllSubstationResponse, error) - ValidateSignature(ctx context.Context, in *QueryValidateSignatureRequest, opts ...grpc.CallOption) (*QueryValidateSignatureResponse, error) +func (m *QueryAllStructAttributeRequest) GetPagination() *query.PageRequest { + if m != nil { + return m.Pagination + } + return nil } -type queryClient struct { - cc grpc1.ClientConn +type QueryAllStructAttributeResponse struct { + StructAttributeRecords []*StructAttributeRecord `protobuf:"bytes,1,rep,name=structAttributeRecords,proto3" json:"structAttributeRecords,omitempty"` + Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` } -func NewQueryClient(cc grpc1.ClientConn) QueryClient { - return &queryClient{cc} +func (m *QueryAllStructAttributeResponse) Reset() { *m = QueryAllStructAttributeResponse{} } +func (m *QueryAllStructAttributeResponse) String() string { return proto.CompactTextString(m) } +func (*QueryAllStructAttributeResponse) ProtoMessage() {} +func (*QueryAllStructAttributeResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_ec69a82c62500e60, []int{90} } - -func (c *queryClient) GetBlockHeight(ctx context.Context, in *QueryBlockHeight, opts ...grpc.CallOption) (*QueryBlockHeightResponse, error) { - out := new(QueryBlockHeightResponse) - err := c.cc.Invoke(ctx, "/structs.structs.Query/GetBlockHeight", in, out, opts...) - if err != nil { - return nil, err +func (m *QueryAllStructAttributeResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *QueryAllStructAttributeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_QueryAllStructAttributeResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil } - return out, nil +} +func (m *QueryAllStructAttributeResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryAllStructAttributeResponse.Merge(m, src) +} +func (m *QueryAllStructAttributeResponse) XXX_Size() int { + return m.Size() +} +func (m *QueryAllStructAttributeResponse) XXX_DiscardUnknown() { + xxx_messageInfo_QueryAllStructAttributeResponse.DiscardUnknown(m) } -func (c *queryClient) Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) { - out := new(QueryParamsResponse) - err := c.cc.Invoke(ctx, "/structs.structs.Query/Params", in, out, opts...) - if err != nil { - return nil, err +var xxx_messageInfo_QueryAllStructAttributeResponse proto.InternalMessageInfo + +func (m *QueryAllStructAttributeResponse) GetStructAttributeRecords() []*StructAttributeRecord { + if m != nil { + return m.StructAttributeRecords } - return out, nil + return nil } -func (c *queryClient) Address(ctx context.Context, in *QueryGetAddressRequest, opts ...grpc.CallOption) (*QueryAddressResponse, error) { - out := new(QueryAddressResponse) - err := c.cc.Invoke(ctx, "/structs.structs.Query/Address", in, out, opts...) - if err != nil { - return nil, err +func (m *QueryAllStructAttributeResponse) GetPagination() *query.PageResponse { + if m != nil { + return m.Pagination } - return out, nil + return nil } -func (c *queryClient) AddressAll(ctx context.Context, in *QueryAllAddressRequest, opts ...grpc.CallOption) (*QueryAllAddressResponse, error) { - out := new(QueryAllAddressResponse) - err := c.cc.Invoke(ctx, "/structs.structs.Query/AddressAll", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil +type QueryGetStructTypeRequest struct { + Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` } -func (c *queryClient) AddressAllByPlayer(ctx context.Context, in *QueryAllAddressByPlayerRequest, opts ...grpc.CallOption) (*QueryAllAddressResponse, error) { - out := new(QueryAllAddressResponse) - err := c.cc.Invoke(ctx, "/structs.structs.Query/AddressAllByPlayer", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil +func (m *QueryGetStructTypeRequest) Reset() { *m = QueryGetStructTypeRequest{} } +func (m *QueryGetStructTypeRequest) String() string { return proto.CompactTextString(m) } +func (*QueryGetStructTypeRequest) ProtoMessage() {} +func (*QueryGetStructTypeRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_ec69a82c62500e60, []int{91} } - -func (c *queryClient) Allocation(ctx context.Context, in *QueryGetAllocationRequest, opts ...grpc.CallOption) (*QueryGetAllocationResponse, error) { - out := new(QueryGetAllocationResponse) - err := c.cc.Invoke(ctx, "/structs.structs.Query/Allocation", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil +func (m *QueryGetStructTypeRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) } - -func (c *queryClient) AllocationAll(ctx context.Context, in *QueryAllAllocationRequest, opts ...grpc.CallOption) (*QueryAllAllocationResponse, error) { - out := new(QueryAllAllocationResponse) - err := c.cc.Invoke(ctx, "/structs.structs.Query/AllocationAll", in, out, opts...) - if err != nil { - return nil, err +func (m *QueryGetStructTypeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_QueryGetStructTypeRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil } - return out, nil } - -func (c *queryClient) AllocationAllBySource(ctx context.Context, in *QueryAllAllocationBySourceRequest, opts ...grpc.CallOption) (*QueryAllAllocationResponse, error) { - out := new(QueryAllAllocationResponse) - err := c.cc.Invoke(ctx, "/structs.structs.Query/AllocationAllBySource", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil +func (m *QueryGetStructTypeRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryGetStructTypeRequest.Merge(m, src) } - -func (c *queryClient) AllocationAllByDestination(ctx context.Context, in *QueryAllAllocationByDestinationRequest, opts ...grpc.CallOption) (*QueryAllAllocationResponse, error) { - out := new(QueryAllAllocationResponse) - err := c.cc.Invoke(ctx, "/structs.structs.Query/AllocationAllByDestination", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil +func (m *QueryGetStructTypeRequest) XXX_Size() int { + return m.Size() +} +func (m *QueryGetStructTypeRequest) XXX_DiscardUnknown() { + xxx_messageInfo_QueryGetStructTypeRequest.DiscardUnknown(m) } -func (c *queryClient) Fleet(ctx context.Context, in *QueryGetFleetRequest, opts ...grpc.CallOption) (*QueryGetFleetResponse, error) { - out := new(QueryGetFleetResponse) - err := c.cc.Invoke(ctx, "/structs.structs.Query/Fleet", in, out, opts...) - if err != nil { - return nil, err +var xxx_messageInfo_QueryGetStructTypeRequest proto.InternalMessageInfo + +func (m *QueryGetStructTypeRequest) GetId() uint64 { + if m != nil { + return m.Id } - return out, nil + return 0 } -func (c *queryClient) FleetByIndex(ctx context.Context, in *QueryGetFleetByIndexRequest, opts ...grpc.CallOption) (*QueryGetFleetResponse, error) { - out := new(QueryGetFleetResponse) - err := c.cc.Invoke(ctx, "/structs.structs.Query/FleetByIndex", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil +type QueryGetStructTypeResponse struct { + StructType StructType `protobuf:"bytes,1,opt,name=StructType,proto3" json:"StructType"` } -func (c *queryClient) FleetAll(ctx context.Context, in *QueryAllFleetRequest, opts ...grpc.CallOption) (*QueryAllFleetResponse, error) { - out := new(QueryAllFleetResponse) - err := c.cc.Invoke(ctx, "/structs.structs.Query/FleetAll", in, out, opts...) - if err != nil { - return nil, err +func (m *QueryGetStructTypeResponse) Reset() { *m = QueryGetStructTypeResponse{} } +func (m *QueryGetStructTypeResponse) String() string { return proto.CompactTextString(m) } +func (*QueryGetStructTypeResponse) ProtoMessage() {} +func (*QueryGetStructTypeResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_ec69a82c62500e60, []int{92} +} +func (m *QueryGetStructTypeResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *QueryGetStructTypeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_QueryGetStructTypeResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil } - return out, nil +} +func (m *QueryGetStructTypeResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryGetStructTypeResponse.Merge(m, src) +} +func (m *QueryGetStructTypeResponse) XXX_Size() int { + return m.Size() +} +func (m *QueryGetStructTypeResponse) XXX_DiscardUnknown() { + xxx_messageInfo_QueryGetStructTypeResponse.DiscardUnknown(m) } -func (c *queryClient) Grid(ctx context.Context, in *QueryGetGridRequest, opts ...grpc.CallOption) (*QueryGetGridResponse, error) { - out := new(QueryGetGridResponse) - err := c.cc.Invoke(ctx, "/structs.structs.Query/Grid", in, out, opts...) - if err != nil { - return nil, err +var xxx_messageInfo_QueryGetStructTypeResponse proto.InternalMessageInfo + +func (m *QueryGetStructTypeResponse) GetStructType() StructType { + if m != nil { + return m.StructType } - return out, nil + return StructType{} } -func (c *queryClient) GridAll(ctx context.Context, in *QueryAllGridRequest, opts ...grpc.CallOption) (*QueryAllGridResponse, error) { - out := new(QueryAllGridResponse) - err := c.cc.Invoke(ctx, "/structs.structs.Query/GridAll", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil +type QueryAllStructTypeRequest struct { + Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` } -func (c *queryClient) Guild(ctx context.Context, in *QueryGetGuildRequest, opts ...grpc.CallOption) (*QueryGetGuildResponse, error) { - out := new(QueryGetGuildResponse) - err := c.cc.Invoke(ctx, "/structs.structs.Query/Guild", in, out, opts...) - if err != nil { - return nil, err +func (m *QueryAllStructTypeRequest) Reset() { *m = QueryAllStructTypeRequest{} } +func (m *QueryAllStructTypeRequest) String() string { return proto.CompactTextString(m) } +func (*QueryAllStructTypeRequest) ProtoMessage() {} +func (*QueryAllStructTypeRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_ec69a82c62500e60, []int{93} +} +func (m *QueryAllStructTypeRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *QueryAllStructTypeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_QueryAllStructTypeRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil } - return out, nil +} +func (m *QueryAllStructTypeRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryAllStructTypeRequest.Merge(m, src) +} +func (m *QueryAllStructTypeRequest) XXX_Size() int { + return m.Size() +} +func (m *QueryAllStructTypeRequest) XXX_DiscardUnknown() { + xxx_messageInfo_QueryAllStructTypeRequest.DiscardUnknown(m) } -func (c *queryClient) GuildAll(ctx context.Context, in *QueryAllGuildRequest, opts ...grpc.CallOption) (*QueryAllGuildResponse, error) { - out := new(QueryAllGuildResponse) - err := c.cc.Invoke(ctx, "/structs.structs.Query/GuildAll", in, out, opts...) - if err != nil { - return nil, err +var xxx_messageInfo_QueryAllStructTypeRequest proto.InternalMessageInfo + +func (m *QueryAllStructTypeRequest) GetPagination() *query.PageRequest { + if m != nil { + return m.Pagination } - return out, nil + return nil } -func (c *queryClient) GuildMembershipApplication(ctx context.Context, in *QueryGetGuildMembershipApplicationRequest, opts ...grpc.CallOption) (*QueryGetGuildMembershipApplicationResponse, error) { - out := new(QueryGetGuildMembershipApplicationResponse) - err := c.cc.Invoke(ctx, "/structs.structs.Query/GuildMembershipApplication", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil +type QueryAllStructTypeResponse struct { + StructType []StructType `protobuf:"bytes,1,rep,name=StructType,proto3" json:"StructType"` + Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` } -func (c *queryClient) GuildMembershipApplicationAll(ctx context.Context, in *QueryAllGuildMembershipApplicationRequest, opts ...grpc.CallOption) (*QueryAllGuildMembershipApplicationResponse, error) { - out := new(QueryAllGuildMembershipApplicationResponse) - err := c.cc.Invoke(ctx, "/structs.structs.Query/GuildMembershipApplicationAll", in, out, opts...) - if err != nil { - return nil, err +func (m *QueryAllStructTypeResponse) Reset() { *m = QueryAllStructTypeResponse{} } +func (m *QueryAllStructTypeResponse) String() string { return proto.CompactTextString(m) } +func (*QueryAllStructTypeResponse) ProtoMessage() {} +func (*QueryAllStructTypeResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_ec69a82c62500e60, []int{94} +} +func (m *QueryAllStructTypeResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *QueryAllStructTypeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_QueryAllStructTypeResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil } - return out, nil +} +func (m *QueryAllStructTypeResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryAllStructTypeResponse.Merge(m, src) +} +func (m *QueryAllStructTypeResponse) XXX_Size() int { + return m.Size() +} +func (m *QueryAllStructTypeResponse) XXX_DiscardUnknown() { + xxx_messageInfo_QueryAllStructTypeResponse.DiscardUnknown(m) } -func (c *queryClient) Infusion(ctx context.Context, in *QueryGetInfusionRequest, opts ...grpc.CallOption) (*QueryGetInfusionResponse, error) { - out := new(QueryGetInfusionResponse) - err := c.cc.Invoke(ctx, "/structs.structs.Query/Infusion", in, out, opts...) - if err != nil { - return nil, err +var xxx_messageInfo_QueryAllStructTypeResponse proto.InternalMessageInfo + +func (m *QueryAllStructTypeResponse) GetStructType() []StructType { + if m != nil { + return m.StructType } - return out, nil + return nil } -func (c *queryClient) InfusionAll(ctx context.Context, in *QueryAllInfusionRequest, opts ...grpc.CallOption) (*QueryAllInfusionResponse, error) { - out := new(QueryAllInfusionResponse) - err := c.cc.Invoke(ctx, "/structs.structs.Query/InfusionAll", in, out, opts...) - if err != nil { - return nil, err +func (m *QueryAllStructTypeResponse) GetPagination() *query.PageResponse { + if m != nil { + return m.Pagination } - return out, nil + return nil } -func (c *queryClient) InfusionAllByDestination(ctx context.Context, in *QueryAllInfusionByDestinationRequest, opts ...grpc.CallOption) (*QueryAllInfusionResponse, error) { - out := new(QueryAllInfusionResponse) - err := c.cc.Invoke(ctx, "/structs.structs.Query/InfusionAllByDestination", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil +type QueryGetSubstationRequest struct { + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` } -func (c *queryClient) Permission(ctx context.Context, in *QueryGetPermissionRequest, opts ...grpc.CallOption) (*QueryGetPermissionResponse, error) { - out := new(QueryGetPermissionResponse) - err := c.cc.Invoke(ctx, "/structs.structs.Query/Permission", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil +func (m *QueryGetSubstationRequest) Reset() { *m = QueryGetSubstationRequest{} } +func (m *QueryGetSubstationRequest) String() string { return proto.CompactTextString(m) } +func (*QueryGetSubstationRequest) ProtoMessage() {} +func (*QueryGetSubstationRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_ec69a82c62500e60, []int{95} } - -func (c *queryClient) PermissionByObject(ctx context.Context, in *QueryAllPermissionByObjectRequest, opts ...grpc.CallOption) (*QueryAllPermissionResponse, error) { - out := new(QueryAllPermissionResponse) - err := c.cc.Invoke(ctx, "/structs.structs.Query/PermissionByObject", in, out, opts...) - if err != nil { - return nil, err +func (m *QueryGetSubstationRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *QueryGetSubstationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_QueryGetSubstationRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil } - return out, nil +} +func (m *QueryGetSubstationRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryGetSubstationRequest.Merge(m, src) +} +func (m *QueryGetSubstationRequest) XXX_Size() int { + return m.Size() +} +func (m *QueryGetSubstationRequest) XXX_DiscardUnknown() { + xxx_messageInfo_QueryGetSubstationRequest.DiscardUnknown(m) } -func (c *queryClient) PermissionByPlayer(ctx context.Context, in *QueryAllPermissionByPlayerRequest, opts ...grpc.CallOption) (*QueryAllPermissionResponse, error) { - out := new(QueryAllPermissionResponse) - err := c.cc.Invoke(ctx, "/structs.structs.Query/PermissionByPlayer", in, out, opts...) - if err != nil { - return nil, err +var xxx_messageInfo_QueryGetSubstationRequest proto.InternalMessageInfo + +func (m *QueryGetSubstationRequest) GetId() string { + if m != nil { + return m.Id } - return out, nil + return "" } -func (c *queryClient) PermissionAll(ctx context.Context, in *QueryAllPermissionRequest, opts ...grpc.CallOption) (*QueryAllPermissionResponse, error) { - out := new(QueryAllPermissionResponse) - err := c.cc.Invoke(ctx, "/structs.structs.Query/PermissionAll", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil +type QueryGetSubstationResponse struct { + Substation Substation `protobuf:"bytes,1,opt,name=Substation,proto3" json:"Substation"` + GridAttributes *GridAttributes `protobuf:"bytes,2,opt,name=gridAttributes,proto3" json:"gridAttributes,omitempty"` } -func (c *queryClient) Player(ctx context.Context, in *QueryGetPlayerRequest, opts ...grpc.CallOption) (*QueryGetPlayerResponse, error) { - out := new(QueryGetPlayerResponse) - err := c.cc.Invoke(ctx, "/structs.structs.Query/Player", in, out, opts...) - if err != nil { - return nil, err +func (m *QueryGetSubstationResponse) Reset() { *m = QueryGetSubstationResponse{} } +func (m *QueryGetSubstationResponse) String() string { return proto.CompactTextString(m) } +func (*QueryGetSubstationResponse) ProtoMessage() {} +func (*QueryGetSubstationResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_ec69a82c62500e60, []int{96} +} +func (m *QueryGetSubstationResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *QueryGetSubstationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_QueryGetSubstationResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil } - return out, nil +} +func (m *QueryGetSubstationResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryGetSubstationResponse.Merge(m, src) +} +func (m *QueryGetSubstationResponse) XXX_Size() int { + return m.Size() +} +func (m *QueryGetSubstationResponse) XXX_DiscardUnknown() { + xxx_messageInfo_QueryGetSubstationResponse.DiscardUnknown(m) } -func (c *queryClient) PlayerAll(ctx context.Context, in *QueryAllPlayerRequest, opts ...grpc.CallOption) (*QueryAllPlayerResponse, error) { - out := new(QueryAllPlayerResponse) - err := c.cc.Invoke(ctx, "/structs.structs.Query/PlayerAll", in, out, opts...) - if err != nil { - return nil, err +var xxx_messageInfo_QueryGetSubstationResponse proto.InternalMessageInfo + +func (m *QueryGetSubstationResponse) GetSubstation() Substation { + if m != nil { + return m.Substation } - return out, nil + return Substation{} } -func (c *queryClient) Planet(ctx context.Context, in *QueryGetPlanetRequest, opts ...grpc.CallOption) (*QueryGetPlanetResponse, error) { - out := new(QueryGetPlanetResponse) - err := c.cc.Invoke(ctx, "/structs.structs.Query/Planet", in, out, opts...) - if err != nil { - return nil, err +func (m *QueryGetSubstationResponse) GetGridAttributes() *GridAttributes { + if m != nil { + return m.GridAttributes } - return out, nil + return nil } -func (c *queryClient) PlanetAll(ctx context.Context, in *QueryAllPlanetRequest, opts ...grpc.CallOption) (*QueryAllPlanetResponse, error) { - out := new(QueryAllPlanetResponse) - err := c.cc.Invoke(ctx, "/structs.structs.Query/PlanetAll", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil +type QueryAllSubstationRequest struct { + Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` } -func (c *queryClient) PlanetAllByPlayer(ctx context.Context, in *QueryAllPlanetByPlayerRequest, opts ...grpc.CallOption) (*QueryAllPlanetResponse, error) { - out := new(QueryAllPlanetResponse) - err := c.cc.Invoke(ctx, "/structs.structs.Query/PlanetAllByPlayer", in, out, opts...) - if err != nil { - return nil, err +func (m *QueryAllSubstationRequest) Reset() { *m = QueryAllSubstationRequest{} } +func (m *QueryAllSubstationRequest) String() string { return proto.CompactTextString(m) } +func (*QueryAllSubstationRequest) ProtoMessage() {} +func (*QueryAllSubstationRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_ec69a82c62500e60, []int{97} +} +func (m *QueryAllSubstationRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *QueryAllSubstationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_QueryAllSubstationRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil } - return out, nil +} +func (m *QueryAllSubstationRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryAllSubstationRequest.Merge(m, src) +} +func (m *QueryAllSubstationRequest) XXX_Size() int { + return m.Size() +} +func (m *QueryAllSubstationRequest) XXX_DiscardUnknown() { + xxx_messageInfo_QueryAllSubstationRequest.DiscardUnknown(m) } -func (c *queryClient) PlanetAttribute(ctx context.Context, in *QueryGetPlanetAttributeRequest, opts ...grpc.CallOption) (*QueryGetPlanetAttributeResponse, error) { - out := new(QueryGetPlanetAttributeResponse) - err := c.cc.Invoke(ctx, "/structs.structs.Query/PlanetAttribute", in, out, opts...) - if err != nil { - return nil, err +var xxx_messageInfo_QueryAllSubstationRequest proto.InternalMessageInfo + +func (m *QueryAllSubstationRequest) GetPagination() *query.PageRequest { + if m != nil { + return m.Pagination } - return out, nil + return nil } -func (c *queryClient) PlanetAttributeAll(ctx context.Context, in *QueryAllPlanetAttributeRequest, opts ...grpc.CallOption) (*QueryAllPlanetAttributeResponse, error) { - out := new(QueryAllPlanetAttributeResponse) - err := c.cc.Invoke(ctx, "/structs.structs.Query/PlanetAttributeAll", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil +type QueryAllSubstationResponse struct { + Substation []Substation `protobuf:"bytes,1,rep,name=Substation,proto3" json:"Substation"` + Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` } -func (c *queryClient) Reactor(ctx context.Context, in *QueryGetReactorRequest, opts ...grpc.CallOption) (*QueryGetReactorResponse, error) { - out := new(QueryGetReactorResponse) - err := c.cc.Invoke(ctx, "/structs.structs.Query/Reactor", in, out, opts...) - if err != nil { - return nil, err +func (m *QueryAllSubstationResponse) Reset() { *m = QueryAllSubstationResponse{} } +func (m *QueryAllSubstationResponse) String() string { return proto.CompactTextString(m) } +func (*QueryAllSubstationResponse) ProtoMessage() {} +func (*QueryAllSubstationResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_ec69a82c62500e60, []int{98} +} +func (m *QueryAllSubstationResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *QueryAllSubstationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_QueryAllSubstationResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil } - return out, nil +} +func (m *QueryAllSubstationResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryAllSubstationResponse.Merge(m, src) +} +func (m *QueryAllSubstationResponse) XXX_Size() int { + return m.Size() +} +func (m *QueryAllSubstationResponse) XXX_DiscardUnknown() { + xxx_messageInfo_QueryAllSubstationResponse.DiscardUnknown(m) } -func (c *queryClient) ReactorAll(ctx context.Context, in *QueryAllReactorRequest, opts ...grpc.CallOption) (*QueryAllReactorResponse, error) { - out := new(QueryAllReactorResponse) - err := c.cc.Invoke(ctx, "/structs.structs.Query/ReactorAll", in, out, opts...) - if err != nil { - return nil, err +var xxx_messageInfo_QueryAllSubstationResponse proto.InternalMessageInfo + +func (m *QueryAllSubstationResponse) GetSubstation() []Substation { + if m != nil { + return m.Substation } - return out, nil + return nil } -func (c *queryClient) Struct(ctx context.Context, in *QueryGetStructRequest, opts ...grpc.CallOption) (*QueryGetStructResponse, error) { - out := new(QueryGetStructResponse) - err := c.cc.Invoke(ctx, "/structs.structs.Query/Struct", in, out, opts...) - if err != nil { - return nil, err +func (m *QueryAllSubstationResponse) GetPagination() *query.PageResponse { + if m != nil { + return m.Pagination } - return out, nil + return nil } -func (c *queryClient) StructAll(ctx context.Context, in *QueryAllStructRequest, opts ...grpc.CallOption) (*QueryAllStructResponse, error) { - out := new(QueryAllStructResponse) - err := c.cc.Invoke(ctx, "/structs.structs.Query/StructAll", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil +type QueryValidateSignatureRequest struct { + Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` + Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` + ProofPubKey string `protobuf:"bytes,3,opt,name=proofPubKey,proto3" json:"proofPubKey,omitempty"` + ProofSignature string `protobuf:"bytes,4,opt,name=proofSignature,proto3" json:"proofSignature,omitempty"` } -func (c *queryClient) StructAttribute(ctx context.Context, in *QueryGetStructAttributeRequest, opts ...grpc.CallOption) (*QueryGetStructAttributeResponse, error) { - out := new(QueryGetStructAttributeResponse) - err := c.cc.Invoke(ctx, "/structs.structs.Query/StructAttribute", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil +func (m *QueryValidateSignatureRequest) Reset() { *m = QueryValidateSignatureRequest{} } +func (m *QueryValidateSignatureRequest) String() string { return proto.CompactTextString(m) } +func (*QueryValidateSignatureRequest) ProtoMessage() {} +func (*QueryValidateSignatureRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_ec69a82c62500e60, []int{99} } - -func (c *queryClient) StructAttributeAll(ctx context.Context, in *QueryAllStructAttributeRequest, opts ...grpc.CallOption) (*QueryAllStructAttributeResponse, error) { - out := new(QueryAllStructAttributeResponse) - err := c.cc.Invoke(ctx, "/structs.structs.Query/StructAttributeAll", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil +func (m *QueryValidateSignatureRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) } - -func (c *queryClient) StructType(ctx context.Context, in *QueryGetStructTypeRequest, opts ...grpc.CallOption) (*QueryGetStructTypeResponse, error) { - out := new(QueryGetStructTypeResponse) - err := c.cc.Invoke(ctx, "/structs.structs.Query/StructType", in, out, opts...) - if err != nil { - return nil, err +func (m *QueryValidateSignatureRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_QueryValidateSignatureRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil } - return out, nil } - -func (c *queryClient) StructTypeAll(ctx context.Context, in *QueryAllStructTypeRequest, opts ...grpc.CallOption) (*QueryAllStructTypeResponse, error) { - out := new(QueryAllStructTypeResponse) - err := c.cc.Invoke(ctx, "/structs.structs.Query/StructTypeAll", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil +func (m *QueryValidateSignatureRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryValidateSignatureRequest.Merge(m, src) +} +func (m *QueryValidateSignatureRequest) XXX_Size() int { + return m.Size() +} +func (m *QueryValidateSignatureRequest) XXX_DiscardUnknown() { + xxx_messageInfo_QueryValidateSignatureRequest.DiscardUnknown(m) } -func (c *queryClient) Substation(ctx context.Context, in *QueryGetSubstationRequest, opts ...grpc.CallOption) (*QueryGetSubstationResponse, error) { - out := new(QueryGetSubstationResponse) - err := c.cc.Invoke(ctx, "/structs.structs.Query/Substation", in, out, opts...) - if err != nil { - return nil, err +var xxx_messageInfo_QueryValidateSignatureRequest proto.InternalMessageInfo + +func (m *QueryValidateSignatureRequest) GetAddress() string { + if m != nil { + return m.Address } - return out, nil + return "" } -func (c *queryClient) SubstationAll(ctx context.Context, in *QueryAllSubstationRequest, opts ...grpc.CallOption) (*QueryAllSubstationResponse, error) { - out := new(QueryAllSubstationResponse) - err := c.cc.Invoke(ctx, "/structs.structs.Query/SubstationAll", in, out, opts...) - if err != nil { - return nil, err +func (m *QueryValidateSignatureRequest) GetMessage() string { + if m != nil { + return m.Message } - return out, nil + return "" } -func (c *queryClient) ValidateSignature(ctx context.Context, in *QueryValidateSignatureRequest, opts ...grpc.CallOption) (*QueryValidateSignatureResponse, error) { - out := new(QueryValidateSignatureResponse) - err := c.cc.Invoke(ctx, "/structs.structs.Query/ValidateSignature", in, out, opts...) - if err != nil { - return nil, err +func (m *QueryValidateSignatureRequest) GetProofPubKey() string { + if m != nil { + return m.ProofPubKey } - return out, nil + return "" } -// QueryServer is the server API for Query service. -type QueryServer interface { - GetBlockHeight(context.Context, *QueryBlockHeight) (*QueryBlockHeightResponse, error) - // Parameters queries the parameters of the module. - Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) - // Queries for Addresses. - Address(context.Context, *QueryGetAddressRequest) (*QueryAddressResponse, error) - AddressAll(context.Context, *QueryAllAddressRequest) (*QueryAllAddressResponse, error) - AddressAllByPlayer(context.Context, *QueryAllAddressByPlayerRequest) (*QueryAllAddressResponse, error) - // Queries a list of Allocation items. - Allocation(context.Context, *QueryGetAllocationRequest) (*QueryGetAllocationResponse, error) - AllocationAll(context.Context, *QueryAllAllocationRequest) (*QueryAllAllocationResponse, error) - AllocationAllBySource(context.Context, *QueryAllAllocationBySourceRequest) (*QueryAllAllocationResponse, error) - AllocationAllByDestination(context.Context, *QueryAllAllocationByDestinationRequest) (*QueryAllAllocationResponse, error) - // Queries a list of Fleet items. - Fleet(context.Context, *QueryGetFleetRequest) (*QueryGetFleetResponse, error) - FleetByIndex(context.Context, *QueryGetFleetByIndexRequest) (*QueryGetFleetResponse, error) - FleetAll(context.Context, *QueryAllFleetRequest) (*QueryAllFleetResponse, error) - // Queries a specific Grid details - Grid(context.Context, *QueryGetGridRequest) (*QueryGetGridResponse, error) - // Queries a list of all Grid details - GridAll(context.Context, *QueryAllGridRequest) (*QueryAllGridResponse, error) - // Queries a list of Guild items. - Guild(context.Context, *QueryGetGuildRequest) (*QueryGetGuildResponse, error) - GuildAll(context.Context, *QueryAllGuildRequest) (*QueryAllGuildResponse, error) - GuildMembershipApplication(context.Context, *QueryGetGuildMembershipApplicationRequest) (*QueryGetGuildMembershipApplicationResponse, error) - GuildMembershipApplicationAll(context.Context, *QueryAllGuildMembershipApplicationRequest) (*QueryAllGuildMembershipApplicationResponse, error) - // Queries a list of Infusions. - Infusion(context.Context, *QueryGetInfusionRequest) (*QueryGetInfusionResponse, error) - InfusionAll(context.Context, *QueryAllInfusionRequest) (*QueryAllInfusionResponse, error) - InfusionAllByDestination(context.Context, *QueryAllInfusionByDestinationRequest) (*QueryAllInfusionResponse, error) - // Queries a specific Permission - Permission(context.Context, *QueryGetPermissionRequest) (*QueryGetPermissionResponse, error) - // Queries a list of Permissions based on Object - PermissionByObject(context.Context, *QueryAllPermissionByObjectRequest) (*QueryAllPermissionResponse, error) - // Queries a list of Permissions based on the Player with the permissions - PermissionByPlayer(context.Context, *QueryAllPermissionByPlayerRequest) (*QueryAllPermissionResponse, error) - // Queries a list of all Permissions - PermissionAll(context.Context, *QueryAllPermissionRequest) (*QueryAllPermissionResponse, error) - // Queries a list of Player items. - Player(context.Context, *QueryGetPlayerRequest) (*QueryGetPlayerResponse, error) - PlayerAll(context.Context, *QueryAllPlayerRequest) (*QueryAllPlayerResponse, error) - // Queries a list of Planet items. - Planet(context.Context, *QueryGetPlanetRequest) (*QueryGetPlanetResponse, error) - PlanetAll(context.Context, *QueryAllPlanetRequest) (*QueryAllPlanetResponse, error) - PlanetAllByPlayer(context.Context, *QueryAllPlanetByPlayerRequest) (*QueryAllPlanetResponse, error) - PlanetAttribute(context.Context, *QueryGetPlanetAttributeRequest) (*QueryGetPlanetAttributeResponse, error) - // Queries a list of all Planet Attributes - PlanetAttributeAll(context.Context, *QueryAllPlanetAttributeRequest) (*QueryAllPlanetAttributeResponse, error) - // Queries a list of Reactor items. - Reactor(context.Context, *QueryGetReactorRequest) (*QueryGetReactorResponse, error) - ReactorAll(context.Context, *QueryAllReactorRequest) (*QueryAllReactorResponse, error) - // Queries a list of Structs items. - Struct(context.Context, *QueryGetStructRequest) (*QueryGetStructResponse, error) - StructAll(context.Context, *QueryAllStructRequest) (*QueryAllStructResponse, error) - StructAttribute(context.Context, *QueryGetStructAttributeRequest) (*QueryGetStructAttributeResponse, error) - // Queries a list of all Struct Attributes - StructAttributeAll(context.Context, *QueryAllStructAttributeRequest) (*QueryAllStructAttributeResponse, error) - // Queries a list of Struct Types items. - StructType(context.Context, *QueryGetStructTypeRequest) (*QueryGetStructTypeResponse, error) - StructTypeAll(context.Context, *QueryAllStructTypeRequest) (*QueryAllStructTypeResponse, error) - // Queries a list of Substation items. - Substation(context.Context, *QueryGetSubstationRequest) (*QueryGetSubstationResponse, error) - SubstationAll(context.Context, *QueryAllSubstationRequest) (*QueryAllSubstationResponse, error) - ValidateSignature(context.Context, *QueryValidateSignatureRequest) (*QueryValidateSignatureResponse, error) +func (m *QueryValidateSignatureRequest) GetProofSignature() string { + if m != nil { + return m.ProofSignature + } + return "" } -// UnimplementedQueryServer can be embedded to have forward compatible implementations. -type UnimplementedQueryServer struct { +type QueryValidateSignatureResponse struct { + PubkeyFormatError bool `protobuf:"varint,1,opt,name=pubkeyFormatError,proto3" json:"pubkeyFormatError,omitempty"` + SignatureFormatError bool `protobuf:"varint,2,opt,name=signatureFormatError,proto3" json:"signatureFormatError,omitempty"` + AddressPubkeyMismatch bool `protobuf:"varint,3,opt,name=addressPubkeyMismatch,proto3" json:"addressPubkeyMismatch,omitempty"` + SignatureInvalid bool `protobuf:"varint,4,opt,name=signatureInvalid,proto3" json:"signatureInvalid,omitempty"` + Valid bool `protobuf:"varint,5,opt,name=valid,proto3" json:"valid,omitempty"` } -func (*UnimplementedQueryServer) GetBlockHeight(ctx context.Context, req *QueryBlockHeight) (*QueryBlockHeightResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetBlockHeight not implemented") -} -func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method Params not implemented") -} -func (*UnimplementedQueryServer) Address(ctx context.Context, req *QueryGetAddressRequest) (*QueryAddressResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method Address not implemented") -} -func (*UnimplementedQueryServer) AddressAll(ctx context.Context, req *QueryAllAddressRequest) (*QueryAllAddressResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method AddressAll not implemented") -} -func (*UnimplementedQueryServer) AddressAllByPlayer(ctx context.Context, req *QueryAllAddressByPlayerRequest) (*QueryAllAddressResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method AddressAllByPlayer not implemented") -} -func (*UnimplementedQueryServer) Allocation(ctx context.Context, req *QueryGetAllocationRequest) (*QueryGetAllocationResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method Allocation not implemented") +func (m *QueryValidateSignatureResponse) Reset() { *m = QueryValidateSignatureResponse{} } +func (m *QueryValidateSignatureResponse) String() string { return proto.CompactTextString(m) } +func (*QueryValidateSignatureResponse) ProtoMessage() {} +func (*QueryValidateSignatureResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_ec69a82c62500e60, []int{100} } -func (*UnimplementedQueryServer) AllocationAll(ctx context.Context, req *QueryAllAllocationRequest) (*QueryAllAllocationResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method AllocationAll not implemented") +func (m *QueryValidateSignatureResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) } -func (*UnimplementedQueryServer) AllocationAllBySource(ctx context.Context, req *QueryAllAllocationBySourceRequest) (*QueryAllAllocationResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method AllocationAllBySource not implemented") +func (m *QueryValidateSignatureResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_QueryValidateSignatureResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } } -func (*UnimplementedQueryServer) AllocationAllByDestination(ctx context.Context, req *QueryAllAllocationByDestinationRequest) (*QueryAllAllocationResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method AllocationAllByDestination not implemented") +func (m *QueryValidateSignatureResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryValidateSignatureResponse.Merge(m, src) } -func (*UnimplementedQueryServer) Fleet(ctx context.Context, req *QueryGetFleetRequest) (*QueryGetFleetResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method Fleet not implemented") +func (m *QueryValidateSignatureResponse) XXX_Size() int { + return m.Size() } -func (*UnimplementedQueryServer) FleetByIndex(ctx context.Context, req *QueryGetFleetByIndexRequest) (*QueryGetFleetResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method FleetByIndex not implemented") +func (m *QueryValidateSignatureResponse) XXX_DiscardUnknown() { + xxx_messageInfo_QueryValidateSignatureResponse.DiscardUnknown(m) } -func (*UnimplementedQueryServer) FleetAll(ctx context.Context, req *QueryAllFleetRequest) (*QueryAllFleetResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method FleetAll not implemented") + +var xxx_messageInfo_QueryValidateSignatureResponse proto.InternalMessageInfo + +func (m *QueryValidateSignatureResponse) GetPubkeyFormatError() bool { + if m != nil { + return m.PubkeyFormatError + } + return false } -func (*UnimplementedQueryServer) Grid(ctx context.Context, req *QueryGetGridRequest) (*QueryGetGridResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method Grid not implemented") + +func (m *QueryValidateSignatureResponse) GetSignatureFormatError() bool { + if m != nil { + return m.SignatureFormatError + } + return false } -func (*UnimplementedQueryServer) GridAll(ctx context.Context, req *QueryAllGridRequest) (*QueryAllGridResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GridAll not implemented") + +func (m *QueryValidateSignatureResponse) GetAddressPubkeyMismatch() bool { + if m != nil { + return m.AddressPubkeyMismatch + } + return false } -func (*UnimplementedQueryServer) Guild(ctx context.Context, req *QueryGetGuildRequest) (*QueryGetGuildResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method Guild not implemented") + +func (m *QueryValidateSignatureResponse) GetSignatureInvalid() bool { + if m != nil { + return m.SignatureInvalid + } + return false } -func (*UnimplementedQueryServer) GuildAll(ctx context.Context, req *QueryAllGuildRequest) (*QueryAllGuildResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GuildAll not implemented") + +func (m *QueryValidateSignatureResponse) GetValid() bool { + if m != nil { + return m.Valid + } + return false } -func (*UnimplementedQueryServer) GuildMembershipApplication(ctx context.Context, req *QueryGetGuildMembershipApplicationRequest) (*QueryGetGuildMembershipApplicationResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GuildMembershipApplication not implemented") -} -func (*UnimplementedQueryServer) GuildMembershipApplicationAll(ctx context.Context, req *QueryAllGuildMembershipApplicationRequest) (*QueryAllGuildMembershipApplicationResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GuildMembershipApplicationAll not implemented") -} -func (*UnimplementedQueryServer) Infusion(ctx context.Context, req *QueryGetInfusionRequest) (*QueryGetInfusionResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method Infusion not implemented") + +func init() { + proto.RegisterType((*QueryParamsRequest)(nil), "structs.structs.QueryParamsRequest") + proto.RegisterType((*QueryParamsResponse)(nil), "structs.structs.QueryParamsResponse") + proto.RegisterType((*QueryBlockHeight)(nil), "structs.structs.QueryBlockHeight") + proto.RegisterType((*QueryBlockHeightResponse)(nil), "structs.structs.QueryBlockHeightResponse") + proto.RegisterType((*QueryGetAddressRequest)(nil), "structs.structs.QueryGetAddressRequest") + proto.RegisterType((*QueryAllAddressByPlayerRequest)(nil), "structs.structs.QueryAllAddressByPlayerRequest") + proto.RegisterType((*QueryAllAddressRequest)(nil), "structs.structs.QueryAllAddressRequest") + proto.RegisterType((*QueryAddressResponse)(nil), "structs.structs.QueryAddressResponse") + proto.RegisterType((*QueryAllAddressResponse)(nil), "structs.structs.QueryAllAddressResponse") + proto.RegisterType((*QueryGetAgreementRequest)(nil), "structs.structs.QueryGetAgreementRequest") + proto.RegisterType((*QueryGetAgreementResponse)(nil), "structs.structs.QueryGetAgreementResponse") + proto.RegisterType((*QueryAllAgreementRequest)(nil), "structs.structs.QueryAllAgreementRequest") + proto.RegisterType((*QueryAllAgreementByProviderRequest)(nil), "structs.structs.QueryAllAgreementByProviderRequest") + proto.RegisterType((*QueryAllAgreementResponse)(nil), "structs.structs.QueryAllAgreementResponse") + proto.RegisterType((*QueryGetAllocationRequest)(nil), "structs.structs.QueryGetAllocationRequest") + proto.RegisterType((*QueryGetAllocationResponse)(nil), "structs.structs.QueryGetAllocationResponse") + proto.RegisterType((*QueryAllAllocationRequest)(nil), "structs.structs.QueryAllAllocationRequest") + proto.RegisterType((*QueryAllAllocationBySourceRequest)(nil), "structs.structs.QueryAllAllocationBySourceRequest") + proto.RegisterType((*QueryAllAllocationByDestinationRequest)(nil), "structs.structs.QueryAllAllocationByDestinationRequest") + proto.RegisterType((*QueryAllAllocationResponse)(nil), "structs.structs.QueryAllAllocationResponse") + proto.RegisterType((*QueryGetFleetRequest)(nil), "structs.structs.QueryGetFleetRequest") + proto.RegisterType((*QueryGetFleetResponse)(nil), "structs.structs.QueryGetFleetResponse") + proto.RegisterType((*QueryGetFleetByIndexRequest)(nil), "structs.structs.QueryGetFleetByIndexRequest") + proto.RegisterType((*QueryAllFleetRequest)(nil), "structs.structs.QueryAllFleetRequest") + proto.RegisterType((*QueryAllFleetResponse)(nil), "structs.structs.QueryAllFleetResponse") + proto.RegisterType((*QueryGetGridRequest)(nil), "structs.structs.QueryGetGridRequest") + proto.RegisterType((*QueryAllGridRequest)(nil), "structs.structs.QueryAllGridRequest") + proto.RegisterType((*QueryGetGridResponse)(nil), "structs.structs.QueryGetGridResponse") + proto.RegisterType((*QueryAllGridResponse)(nil), "structs.structs.QueryAllGridResponse") + proto.RegisterType((*QueryGetGuildRequest)(nil), "structs.structs.QueryGetGuildRequest") + proto.RegisterType((*QueryGetGuildResponse)(nil), "structs.structs.QueryGetGuildResponse") + proto.RegisterType((*QueryAllGuildRequest)(nil), "structs.structs.QueryAllGuildRequest") + proto.RegisterType((*QueryAllGuildResponse)(nil), "structs.structs.QueryAllGuildResponse") + proto.RegisterType((*QueryGetGuildBankCollateralAddressRequest)(nil), "structs.structs.QueryGetGuildBankCollateralAddressRequest") + proto.RegisterType((*QueryAllGuildBankCollateralAddressRequest)(nil), "structs.structs.QueryAllGuildBankCollateralAddressRequest") + proto.RegisterType((*QueryAllGuildBankCollateralAddressResponse)(nil), "structs.structs.QueryAllGuildBankCollateralAddressResponse") + proto.RegisterType((*QueryGetGuildByBankCollateralAddressRequest)(nil), "structs.structs.QueryGetGuildByBankCollateralAddressRequest") + proto.RegisterType((*QueryGetGuildMembershipApplicationRequest)(nil), "structs.structs.QueryGetGuildMembershipApplicationRequest") + proto.RegisterType((*QueryGetGuildMembershipApplicationResponse)(nil), "structs.structs.QueryGetGuildMembershipApplicationResponse") + proto.RegisterType((*QueryAllGuildMembershipApplicationRequest)(nil), "structs.structs.QueryAllGuildMembershipApplicationRequest") + proto.RegisterType((*QueryAllGuildMembershipApplicationResponse)(nil), "structs.structs.QueryAllGuildMembershipApplicationResponse") + proto.RegisterType((*QueryGetInfusionRequest)(nil), "structs.structs.QueryGetInfusionRequest") + proto.RegisterType((*QueryGetInfusionResponse)(nil), "structs.structs.QueryGetInfusionResponse") + proto.RegisterType((*QueryAllInfusionByDestinationRequest)(nil), "structs.structs.QueryAllInfusionByDestinationRequest") + proto.RegisterType((*QueryAllInfusionRequest)(nil), "structs.structs.QueryAllInfusionRequest") + proto.RegisterType((*QueryAllInfusionResponse)(nil), "structs.structs.QueryAllInfusionResponse") + proto.RegisterType((*QueryGetPermissionRequest)(nil), "structs.structs.QueryGetPermissionRequest") + proto.RegisterType((*QueryAllPermissionByObjectRequest)(nil), "structs.structs.QueryAllPermissionByObjectRequest") + proto.RegisterType((*QueryAllPermissionByPlayerRequest)(nil), "structs.structs.QueryAllPermissionByPlayerRequest") + proto.RegisterType((*QueryAllPermissionRequest)(nil), "structs.structs.QueryAllPermissionRequest") + proto.RegisterType((*QueryGetPermissionResponse)(nil), "structs.structs.QueryGetPermissionResponse") + proto.RegisterType((*QueryAllPermissionResponse)(nil), "structs.structs.QueryAllPermissionResponse") + proto.RegisterType((*QueryGetPlanetRequest)(nil), "structs.structs.QueryGetPlanetRequest") + proto.RegisterType((*QueryGetPlanetResponse)(nil), "structs.structs.QueryGetPlanetResponse") + proto.RegisterType((*QueryAllPlanetRequest)(nil), "structs.structs.QueryAllPlanetRequest") + proto.RegisterType((*QueryAllPlanetByPlayerRequest)(nil), "structs.structs.QueryAllPlanetByPlayerRequest") + proto.RegisterType((*QueryAllPlanetResponse)(nil), "structs.structs.QueryAllPlanetResponse") + proto.RegisterType((*QueryGetPlanetAttributeRequest)(nil), "structs.structs.QueryGetPlanetAttributeRequest") + proto.RegisterType((*QueryGetPlanetAttributeResponse)(nil), "structs.structs.QueryGetPlanetAttributeResponse") + proto.RegisterType((*QueryAllPlanetAttributeRequest)(nil), "structs.structs.QueryAllPlanetAttributeRequest") + proto.RegisterType((*QueryAllPlanetAttributeResponse)(nil), "structs.structs.QueryAllPlanetAttributeResponse") + proto.RegisterType((*QueryGetPlayerRequest)(nil), "structs.structs.QueryGetPlayerRequest") + proto.RegisterType((*QueryGetPlayerResponse)(nil), "structs.structs.QueryGetPlayerResponse") + proto.RegisterType((*QueryAllPlayerRequest)(nil), "structs.structs.QueryAllPlayerRequest") + proto.RegisterType((*QueryAllPlayerResponse)(nil), "structs.structs.QueryAllPlayerResponse") + proto.RegisterType((*QueryAllPlayerHaltedRequest)(nil), "structs.structs.QueryAllPlayerHaltedRequest") + proto.RegisterType((*QueryAllPlayerHaltedResponse)(nil), "structs.structs.QueryAllPlayerHaltedResponse") + proto.RegisterType((*QueryGetProviderRequest)(nil), "structs.structs.QueryGetProviderRequest") + proto.RegisterType((*QueryGetProviderResponse)(nil), "structs.structs.QueryGetProviderResponse") + proto.RegisterType((*QueryAllProviderRequest)(nil), "structs.structs.QueryAllProviderRequest") + proto.RegisterType((*QueryAllProviderResponse)(nil), "structs.structs.QueryAllProviderResponse") + proto.RegisterType((*QueryGetProviderCollateralAddressRequest)(nil), "structs.structs.QueryGetProviderCollateralAddressRequest") + proto.RegisterType((*QueryAllProviderCollateralAddressRequest)(nil), "structs.structs.QueryAllProviderCollateralAddressRequest") + proto.RegisterType((*QueryAllProviderCollateralAddressResponse)(nil), "structs.structs.QueryAllProviderCollateralAddressResponse") + proto.RegisterType((*QueryGetProviderByCollateralAddressRequest)(nil), "structs.structs.QueryGetProviderByCollateralAddressRequest") + proto.RegisterType((*QueryGetProviderEarningsAddressRequest)(nil), "structs.structs.QueryGetProviderEarningsAddressRequest") + proto.RegisterType((*QueryAllProviderEarningsAddressRequest)(nil), "structs.structs.QueryAllProviderEarningsAddressRequest") + proto.RegisterType((*QueryAllProviderEarningsAddressResponse)(nil), "structs.structs.QueryAllProviderEarningsAddressResponse") + proto.RegisterType((*QueryGetProviderByEarningsAddressRequest)(nil), "structs.structs.QueryGetProviderByEarningsAddressRequest") + proto.RegisterType((*QueryGetReactorRequest)(nil), "structs.structs.QueryGetReactorRequest") + proto.RegisterType((*QueryGetReactorResponse)(nil), "structs.structs.QueryGetReactorResponse") + proto.RegisterType((*QueryAllReactorRequest)(nil), "structs.structs.QueryAllReactorRequest") + proto.RegisterType((*QueryAllReactorResponse)(nil), "structs.structs.QueryAllReactorResponse") + proto.RegisterType((*QueryGetStructRequest)(nil), "structs.structs.QueryGetStructRequest") + proto.RegisterType((*QueryGetStructResponse)(nil), "structs.structs.QueryGetStructResponse") + proto.RegisterType((*QueryAllStructRequest)(nil), "structs.structs.QueryAllStructRequest") + proto.RegisterType((*QueryAllStructResponse)(nil), "structs.structs.QueryAllStructResponse") + proto.RegisterType((*QueryGetStructAttributeRequest)(nil), "structs.structs.QueryGetStructAttributeRequest") + proto.RegisterType((*QueryGetStructAttributeResponse)(nil), "structs.structs.QueryGetStructAttributeResponse") + proto.RegisterType((*QueryAllStructAttributeRequest)(nil), "structs.structs.QueryAllStructAttributeRequest") + proto.RegisterType((*QueryAllStructAttributeResponse)(nil), "structs.structs.QueryAllStructAttributeResponse") + proto.RegisterType((*QueryGetStructTypeRequest)(nil), "structs.structs.QueryGetStructTypeRequest") + proto.RegisterType((*QueryGetStructTypeResponse)(nil), "structs.structs.QueryGetStructTypeResponse") + proto.RegisterType((*QueryAllStructTypeRequest)(nil), "structs.structs.QueryAllStructTypeRequest") + proto.RegisterType((*QueryAllStructTypeResponse)(nil), "structs.structs.QueryAllStructTypeResponse") + proto.RegisterType((*QueryGetSubstationRequest)(nil), "structs.structs.QueryGetSubstationRequest") + proto.RegisterType((*QueryGetSubstationResponse)(nil), "structs.structs.QueryGetSubstationResponse") + proto.RegisterType((*QueryAllSubstationRequest)(nil), "structs.structs.QueryAllSubstationRequest") + proto.RegisterType((*QueryAllSubstationResponse)(nil), "structs.structs.QueryAllSubstationResponse") + proto.RegisterType((*QueryValidateSignatureRequest)(nil), "structs.structs.QueryValidateSignatureRequest") + proto.RegisterType((*QueryValidateSignatureResponse)(nil), "structs.structs.QueryValidateSignatureResponse") } -func (*UnimplementedQueryServer) InfusionAll(ctx context.Context, req *QueryAllInfusionRequest) (*QueryAllInfusionResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method InfusionAll not implemented") + +func init() { proto.RegisterFile("structs/structs/query.proto", fileDescriptor_ec69a82c62500e60) } + +var fileDescriptor_ec69a82c62500e60 = []byte{ + // 3661 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x5c, 0xed, 0x6f, 0x1c, 0x47, + 0x19, 0xcf, 0xf8, 0xf2, 0x62, 0x8f, 0xf3, 0xe6, 0xa9, 0x63, 0x3b, 0x9b, 0xc4, 0x71, 0xb6, 0x89, + 0x7d, 0x76, 0x52, 0x5f, 0xe3, 0xb4, 0xa4, 0x4d, 0x0b, 0xad, 0x4d, 0x1b, 0x37, 0xad, 0x4a, 0xdd, + 0x4b, 0x55, 0x04, 0x88, 0x9a, 0x3d, 0xdf, 0xe4, 0x72, 0xf8, 0xbc, 0x77, 0xd9, 0xdd, 0x0b, 0x3d, + 0x59, 0x27, 0x04, 0x05, 0xca, 0x07, 0x40, 0x54, 0x54, 0x08, 0xa1, 0x52, 0x90, 0xe8, 0x87, 0x8a, + 0x0f, 0x08, 0xf1, 0xa1, 0x02, 0x21, 0x21, 0x24, 0x84, 0xa8, 0x10, 0x88, 0x4a, 0x7c, 0x81, 0x2f, + 0xbc, 0xa4, 0x48, 0xe5, 0x6f, 0x40, 0x7c, 0x40, 0x3b, 0x3b, 0xb3, 0x33, 0x3b, 0x2f, 0xbb, 0x7b, + 0xee, 0x1a, 0xd4, 0x2f, 0x75, 0x77, 0xf6, 0x99, 0x79, 0x7e, 0xcf, 0xcb, 0xcc, 0x3c, 0x33, 0xfb, + 0xbb, 0xc0, 0x13, 0x7e, 0xe0, 0x75, 0x37, 0x02, 0xbf, 0xc2, 0xfe, 0xde, 0xea, 0x62, 0xaf, 0xb7, + 0xd8, 0xf1, 0xda, 0x41, 0x1b, 0x1d, 0xa1, 0x8d, 0x8b, 0xf4, 0xaf, 0x35, 0xe6, 0x6c, 0x35, 0xdd, + 0x76, 0x85, 0xfc, 0x37, 0x92, 0xb1, 0xc6, 0x1b, 0xed, 0x46, 0x9b, 0xfc, 0x6f, 0x25, 0xfc, 0x3f, + 0xda, 0x7a, 0xb2, 0xd1, 0x6e, 0x37, 0x5a, 0xb8, 0xe2, 0x74, 0x9a, 0x15, 0xc7, 0x75, 0xdb, 0x81, + 0x13, 0x34, 0xdb, 0xae, 0x4f, 0xdf, 0x2e, 0x6c, 0xb4, 0xfd, 0xad, 0xb6, 0x5f, 0xa9, 0x39, 0x3e, + 0x8e, 0x14, 0x56, 0x6e, 0x5f, 0xac, 0xe1, 0xc0, 0xb9, 0x58, 0xe9, 0x38, 0x8d, 0xa6, 0x4b, 0x84, + 0xd9, 0x48, 0x32, 0xc0, 0x8e, 0xe3, 0x39, 0x5b, 0x6c, 0xa4, 0x53, 0xf2, 0x5b, 0xa7, 0x5e, 0xf7, + 0xb0, 0xcf, 0x5e, 0x9f, 0x56, 0x5e, 0x37, 0x3c, 0x8c, 0xb7, 0xb0, 0x1b, 0x50, 0x81, 0x19, 0x45, + 0xa0, 0xd5, 0x6a, 0x6f, 0x88, 0xfa, 0x15, 0x07, 0xdd, 0x68, 0x61, 0xcc, 0xba, 0x5b, 0xf2, 0xcb, + 0x86, 0xd7, 0xac, 0x9b, 0x3a, 0x36, 0xba, 0xcd, 0x16, 0x7b, 0x39, 0x2d, 0xbf, 0x6c, 0xba, 0x37, + 0xba, 0x3e, 0xd7, 0xaa, 0x0c, 0xbc, 0x89, 0x7b, 0xbe, 0x09, 0x73, 0x07, 0x7b, 0x5b, 0x4d, 0xdf, + 0x4f, 0xf3, 0x59, 0xcb, 0xe9, 0x61, 0x2f, 0xe5, 0xad, 0x1b, 0x9b, 0xa4, 0x78, 0xd4, 0xc3, 0xce, + 0x46, 0xd0, 0xf6, 0x4c, 0xc0, 0x3b, 0x5e, 0xfb, 0x76, 0xb3, 0x6e, 0x1e, 0x3c, 0xfa, 0x6b, 0x82, + 0xee, 0x77, 0x6b, 0x7e, 0x20, 0xb8, 0xdb, 0x1e, 0x87, 0xe8, 0xd9, 0x30, 0x21, 0xd6, 0x48, 0x94, + 0xab, 0xf8, 0x56, 0x17, 0xfb, 0x81, 0xfd, 0x2c, 0xbc, 0x2b, 0xd1, 0xea, 0x77, 0xda, 0xae, 0x8f, + 0xd1, 0x15, 0xb8, 0x3f, 0xca, 0x86, 0x29, 0x30, 0x03, 0xca, 0xa3, 0x4b, 0x93, 0x8b, 0x52, 0xc2, + 0x2e, 0x46, 0x1d, 0x56, 0x46, 0xde, 0xfe, 0xeb, 0xe9, 0x3d, 0x6f, 0xbe, 0xf7, 0x93, 0x05, 0x50, + 0xa5, 0x3d, 0x6c, 0x04, 0x8f, 0x92, 0x21, 0x57, 0x5a, 0xed, 0x8d, 0xcd, 0x27, 0x70, 0xb3, 0x71, + 0x33, 0xb0, 0x1f, 0x86, 0x53, 0x72, 0x5b, 0xac, 0x6b, 0x06, 0x8e, 0xd6, 0x78, 0x33, 0x51, 0xb8, + 0xb7, 0x2a, 0x36, 0xd9, 0x4b, 0x70, 0x82, 0xf4, 0x5e, 0xc5, 0xc1, 0x72, 0x94, 0x85, 0x14, 0x3e, + 0x9a, 0x82, 0x07, 0x68, 0x5e, 0x92, 0x7e, 0x23, 0x55, 0xf6, 0x68, 0x7f, 0x09, 0xc0, 0x69, 0xd2, + 0x69, 0xb9, 0xd5, 0xa2, 0x9d, 0x56, 0x7a, 0x6b, 0x24, 0x5a, 0xac, 0xb3, 0x05, 0x87, 0xa3, 0xf0, + 0x5d, 0xab, 0xd3, 0xde, 0xf1, 0x33, 0xba, 0x0a, 0x21, 0x9f, 0x30, 0x53, 0x43, 0xc4, 0x09, 0xb3, + 0x8b, 0xd1, 0xec, 0x5a, 0x0c, 0x67, 0xd7, 0x62, 0x34, 0x9d, 0xe9, 0xec, 0x5a, 0x5c, 0x73, 0x1a, + 0x98, 0x8e, 0x5b, 0x15, 0x7a, 0xda, 0x9f, 0xa1, 0xd0, 0x39, 0x0a, 0xa6, 0x3d, 0xa9, 0x01, 0xec, + 0x58, 0x83, 0x0b, 0xc7, 0x23, 0x0d, 0x6c, 0x78, 0xea, 0x56, 0xa3, 0x6b, 0x12, 0x76, 0x0f, 0x49, + 0x76, 0xcf, 0xc0, 0x51, 0x9e, 0xf4, 0xfe, 0x54, 0x29, 0x0a, 0x86, 0xd0, 0x64, 0xff, 0x10, 0xc0, + 0x49, 0xc5, 0x24, 0xaa, 0xf3, 0x11, 0x51, 0x67, 0xa9, 0x3c, 0xba, 0x74, 0x4e, 0xc9, 0x1b, 0x1d, + 0x56, 0x0e, 0x6d, 0x55, 0xe3, 0xf6, 0xb9, 0x4c, 0xa7, 0xd0, 0x51, 0x44, 0xaf, 0x2c, 0xd0, 0x84, + 0x0b, 0x53, 0x86, 0xad, 0x4c, 0xcc, 0xf3, 0x87, 0xe1, 0x50, 0x93, 0x45, 0x7c, 0xa8, 0x59, 0xb7, + 0x3f, 0x05, 0x8f, 0x6b, 0x64, 0xa9, 0x49, 0x1f, 0x81, 0x23, 0x71, 0x23, 0x8d, 0x92, 0xa5, 0x18, + 0x15, 0x4b, 0xac, 0xec, 0x0d, 0xe7, 0x43, 0x95, 0x77, 0xb1, 0x6b, 0x14, 0x48, 0xe8, 0x2d, 0x19, + 0x48, 0x51, 0x29, 0xf0, 0x35, 0x00, 0x6d, 0x45, 0xc9, 0x4a, 0x6f, 0x8d, 0x2e, 0x20, 0x05, 0xab, + 0x43, 0xd3, 0x10, 0xb2, 0xb5, 0x29, 0xce, 0x20, 0xa1, 0xc5, 0x7e, 0x03, 0x50, 0x87, 0x26, 0x6d, + 0xd6, 0x3b, 0xb4, 0x34, 0xa0, 0x43, 0x8b, 0x4b, 0x91, 0xf3, 0x42, 0xd8, 0xe3, 0xbd, 0xc9, 0x94, + 0x23, 0x6f, 0x02, 0x68, 0xe9, 0xa4, 0xa9, 0x51, 0xcb, 0x10, 0xf2, 0x56, 0xea, 0xda, 0x13, 0xaa, + 0x55, 0xb1, 0x08, 0x35, 0x4b, 0xe8, 0x84, 0x56, 0xe1, 0xe1, 0x70, 0x8f, 0x5b, 0x0e, 0x02, 0xaf, + 0x59, 0xeb, 0x06, 0xd8, 0xa7, 0xb6, 0x9d, 0x56, 0x86, 0x59, 0x4d, 0x88, 0x55, 0xa5, 0x6e, 0xf6, + 0x86, 0xe0, 0x7d, 0xc5, 0xae, 0xa2, 0x52, 0xee, 0x65, 0x00, 0xcf, 0xa8, 0x5a, 0x56, 0x7a, 0xd7, + 0xdb, 0x5d, 0x6f, 0x03, 0x17, 0x9d, 0x71, 0x16, 0x1c, 0xf6, 0xc9, 0xc0, 0x7c, 0xc5, 0x62, 0xcf, + 0xf6, 0xb7, 0x01, 0x9c, 0xd5, 0x21, 0x79, 0x0c, 0xfb, 0x01, 0xed, 0x5f, 0x34, 0x9c, 0xb3, 0xf0, + 0x50, 0x9d, 0x8f, 0x1e, 0x63, 0x4a, 0x36, 0xda, 0xbf, 0x62, 0x29, 0x23, 0x05, 0xc2, 0x90, 0x32, + 0xa5, 0x9d, 0xa4, 0x4c, 0x31, 0x53, 0x01, 0x4d, 0xc0, 0xfd, 0x61, 0xb1, 0xd0, 0x0d, 0x17, 0xfc, + 0x52, 0x79, 0x6f, 0x95, 0x3e, 0xd9, 0xb3, 0x74, 0x6f, 0x59, 0xc5, 0xc1, 0xd5, 0xb0, 0x38, 0x33, + 0xcd, 0x8e, 0xa7, 0xe0, 0x31, 0x49, 0x8e, 0x1a, 0xb9, 0x04, 0xf7, 0x91, 0x06, 0xea, 0xec, 0x09, + 0xc5, 0x3e, 0xf2, 0x96, 0x9a, 0x16, 0x89, 0xda, 0x97, 0xe0, 0x89, 0xc4, 0x60, 0x2b, 0xbd, 0x6b, + 0x6e, 0x1d, 0xbf, 0xc8, 0x74, 0x8f, 0xc3, 0x7d, 0xcd, 0xf0, 0x99, 0x16, 0x0a, 0xd1, 0x83, 0xfd, + 0x02, 0xdb, 0x05, 0x5b, 0xad, 0x04, 0xd2, 0xa2, 0xf2, 0xfd, 0x55, 0x40, 0x4d, 0xe4, 0x0a, 0x54, + 0x13, 0x4b, 0x39, 0x4d, 0x2c, 0x6e, 0x0d, 0xbb, 0x4c, 0xcb, 0xb7, 0x55, 0x1c, 0x84, 0xab, 0x02, + 0xb3, 0x7a, 0x06, 0x8e, 0x3a, 0x6c, 0x41, 0x88, 0x8b, 0x1b, 0xb1, 0xc9, 0xfe, 0x34, 0xed, 0xb8, + 0xdc, 0x6a, 0x89, 0x1d, 0x8b, 0x72, 0xd7, 0x75, 0x9e, 0x38, 0xd1, 0xf0, 0xd4, 0x59, 0x0f, 0x41, + 0xd8, 0x20, 0xcf, 0x1b, 0x6d, 0xaf, 0x6e, 0x5c, 0x27, 0x57, 0x63, 0x91, 0xaa, 0x20, 0x6e, 0xbf, + 0x0e, 0x78, 0x90, 0x13, 0xa3, 0x7e, 0x18, 0x8e, 0x72, 0x31, 0xdf, 0x38, 0x97, 0x84, 0x61, 0x45, + 0xf9, 0xe2, 0xa2, 0x21, 0x4c, 0x97, 0xd5, 0xf0, 0x48, 0x92, 0x63, 0xba, 0x50, 0x39, 0x9e, 0x4b, + 0xa4, 0xc1, 0x38, 0x5d, 0xc8, 0x5b, 0x96, 0x4b, 0xe4, 0x41, 0xcc, 0xfc, 0x84, 0xd2, 0xdd, 0xc8, + 0x7c, 0x23, 0xda, 0x52, 0x4e, 0xb4, 0xc5, 0xf9, 0xfa, 0x71, 0x38, 0x9f, 0xf0, 0xe1, 0x8a, 0xe3, + 0x6e, 0x7e, 0xb4, 0xdd, 0x6a, 0x39, 0x01, 0xf6, 0x9c, 0x96, 0x7a, 0x4c, 0x20, 0x67, 0xc4, 0x78, + 0x2e, 0xb0, 0x47, 0xdb, 0xa7, 0xc3, 0x30, 0xe3, 0x52, 0x87, 0x29, 0xca, 0xa5, 0x77, 0x00, 0x5c, + 0xc8, 0xa3, 0x95, 0xfa, 0x79, 0x13, 0x5a, 0x4d, 0x37, 0xc0, 0x9e, 0x1b, 0xbf, 0x5a, 0xf6, 0xfd, + 0xf6, 0x46, 0x53, 0xdc, 0x39, 0xce, 0x2b, 0xce, 0xbf, 0x66, 0xec, 0x52, 0x4d, 0x19, 0xae, 0xb8, + 0x00, 0xad, 0xc2, 0xf3, 0xc9, 0x00, 0xf5, 0xb2, 0x42, 0x64, 0x38, 0xc9, 0x39, 0x52, 0xa4, 0x9f, + 0xc6, 0x5b, 0x35, 0xec, 0xf9, 0x37, 0x9b, 0x9d, 0xe5, 0x4e, 0xa7, 0xd5, 0x4c, 0xd6, 0x37, 0xc6, + 0x48, 0xa7, 0x9d, 0x7a, 0xec, 0xef, 0xb3, 0x80, 0x64, 0xe8, 0xa0, 0x01, 0xb9, 0x05, 0x2d, 0xb3, + 0x14, 0xcd, 0x8b, 0xf3, 0xfa, 0xd9, 0xa0, 0xed, 0x42, 0xa7, 0x48, 0xca, 0xa0, 0x4a, 0x9e, 0xa6, + 0x3a, 0xa1, 0xa8, 0x3c, 0xfd, 0x97, 0x9c, 0xa7, 0xef, 0xcf, 0x2d, 0xa5, 0xc2, 0xdd, 0x52, 0x5c, + 0xb6, 0x7e, 0x82, 0x1e, 0x6a, 0x57, 0x71, 0x70, 0x8d, 0x5e, 0x18, 0x31, 0x6f, 0x2a, 0xd5, 0x1e, + 0xd0, 0x54, 0x7b, 0x62, 0xfe, 0x0e, 0x25, 0xf3, 0xf7, 0xe3, 0xfc, 0x28, 0xca, 0x87, 0x8e, 0xf7, + 0xc3, 0x61, 0xd6, 0x46, 0xe3, 0x74, 0x5c, 0x33, 0x91, 0x23, 0x01, 0xea, 0x8e, 0xb8, 0x43, 0xb8, + 0x32, 0x9f, 0x65, 0xe1, 0x89, 0x85, 0x74, 0x75, 0x6f, 0x3e, 0x0b, 0x8a, 0xba, 0xf2, 0x70, 0xf8, + 0xfd, 0x80, 0xec, 0xca, 0xa2, 0x12, 0xf3, 0x67, 0x80, 0x9f, 0xaa, 0x33, 0x7c, 0x5a, 0x1a, 0xc8, + 0xa7, 0xbb, 0x5f, 0x52, 0x3f, 0xc2, 0x4f, 0x9d, 0x6b, 0xf1, 0xad, 0x0a, 0xf3, 0x8f, 0x0d, 0x0f, + 0xf2, 0xab, 0x96, 0x38, 0x4e, 0x89, 0xb6, 0xc4, 0xc9, 0x8b, 0x8f, 0xb0, 0xd2, 0x7b, 0xa6, 0xf6, + 0x59, 0xbc, 0x11, 0x08, 0x77, 0x5b, 0x6d, 0xd2, 0xc0, 0xef, 0xb6, 0xd8, 0x73, 0x61, 0x81, 0x36, + 0x21, 0xf9, 0xdf, 0xdf, 0xb2, 0x09, 0x47, 0x5e, 0xd5, 0xa9, 0x45, 0x25, 0xdd, 0x26, 0xbf, 0x01, + 0x10, 0x95, 0xd0, 0xac, 0x7b, 0x1a, 0x1e, 0xed, 0x08, 0xad, 0x42, 0x7d, 0x7b, 0x46, 0xbd, 0x3b, + 0x95, 0x04, 0xab, 0x4a, 0x57, 0xfb, 0x2d, 0xe1, 0xf0, 0xa8, 0xd1, 0xf6, 0x0c, 0x1c, 0x93, 0xbb, + 0xb0, 0xba, 0x37, 0x87, 0x3a, 0xb5, 0x6f, 0x71, 0x0b, 0xe9, 0x1c, 0xaf, 0x6d, 0xd7, 0xc8, 0xed, + 0xb7, 0xa9, 0x08, 0x7e, 0x0f, 0xf0, 0x5b, 0x5d, 0x26, 0x49, 0xad, 0xbb, 0x1f, 0xee, 0x8f, 0x5a, + 0xcc, 0xb7, 0xcf, 0xe4, 0x35, 0x9d, 0xbd, 0x54, 0xb8, 0xb0, 0x1b, 0x14, 0x12, 0x4b, 0x32, 0xa4, + 0x30, 0x54, 0xc9, 0x14, 0x4b, 0x49, 0xb0, 0xaa, 0x74, 0xb5, 0xd7, 0x79, 0x01, 0x9d, 0x74, 0x49, + 0x51, 0x99, 0xf9, 0x12, 0x80, 0xa7, 0x92, 0x1a, 0xfe, 0x1f, 0x93, 0xf0, 0x3b, 0x80, 0xdf, 0x75, + 0xa7, 0x04, 0xb4, 0x34, 0x48, 0x40, 0x0b, 0x4a, 0xca, 0x1a, 0xfd, 0x16, 0x10, 0xa7, 0x5a, 0x1c, + 0x9d, 0xa4, 0x83, 0x5c, 0x1c, 0x24, 0x1c, 0x44, 0x9e, 0xc3, 0xed, 0x33, 0x3e, 0x3a, 0x3f, 0xd7, + 0xeb, 0x60, 0x76, 0xdd, 0x93, 0x68, 0xb4, 0x1f, 0x81, 0xa7, 0x8d, 0x3a, 0xa8, 0x1b, 0x4e, 0xc2, + 0x91, 0xb8, 0x0f, 0xbd, 0xbe, 0xe0, 0x0d, 0xf6, 0x4d, 0xfe, 0xc1, 0xc2, 0x00, 0xb2, 0xa8, 0x7c, + 0xf9, 0x1d, 0xa0, 0x58, 0x75, 0xaa, 0x28, 0xd6, 0x17, 0xe0, 0x44, 0x47, 0x7e, 0x25, 0x2e, 0x33, + 0xb3, 0x59, 0x33, 0x81, 0xae, 0x35, 0x86, 0x51, 0x76, 0x6b, 0xc1, 0x11, 0x72, 0x5e, 0x5e, 0x70, + 0xfe, 0x93, 0x5c, 0x70, 0x88, 0x64, 0x22, 0x3f, 0x7b, 0xd8, 0x4b, 0x5b, 0x70, 0x7a, 0xd8, 0x13, + 0xf2, 0xb3, 0x87, 0xbd, 0xe2, 0x16, 0x9c, 0x27, 0xe1, 0x11, 0x3a, 0x1d, 0xdd, 0xdb, 0xd8, 0x0d, + 0xda, 0x5e, 0x8f, 0xae, 0x37, 0x33, 0x06, 0x20, 0xb1, 0x5c, 0x55, 0xee, 0x18, 0x16, 0x1e, 0x37, + 0x9d, 0x56, 0x80, 0xeb, 0x53, 0x7b, 0x67, 0x40, 0x79, 0xb8, 0x4a, 0x9f, 0xa4, 0x55, 0xa8, 0x57, + 0xf8, 0x67, 0x01, 0x79, 0xfe, 0x9b, 0xfc, 0x5b, 0x1a, 0xc4, 0xbf, 0x05, 0xe5, 0xc8, 0x29, 0x7a, + 0xa5, 0x18, 0x23, 0x7b, 0x82, 0xf8, 0x84, 0x7d, 0x04, 0x7d, 0x14, 0x9e, 0xd4, 0xbf, 0x8e, 0xbf, + 0x50, 0x0e, 0xaf, 0xf1, 0xd5, 0xb3, 0x54, 0x1e, 0x61, 0x65, 0x23, 0x6b, 0xb5, 0xe7, 0xf9, 0xf1, + 0x41, 0xfe, 0xea, 0x22, 0xa7, 0xe1, 0x0f, 0x00, 0x3f, 0x0f, 0x70, 0x59, 0x5e, 0xbb, 0xb2, 0x36, + 0xe3, 0x79, 0x80, 0x09, 0xc4, 0x20, 0xe8, 0x73, 0x71, 0x5f, 0x10, 0x84, 0x0a, 0x7e, 0x97, 0xbe, + 0x21, 0x71, 0x2f, 0x24, 0x74, 0x68, 0xbd, 0x50, 0x1a, 0xd4, 0x0b, 0x05, 0x25, 0xcd, 0x93, 0xb0, + 0x2c, 0xc7, 0xc9, 0x78, 0x7b, 0x91, 0xfc, 0x24, 0x06, 0x94, 0x4f, 0x62, 0x1e, 0x1d, 0x4b, 0xb0, + 0x76, 0xd7, 0x6f, 0x99, 0xfe, 0x01, 0xf8, 0x9d, 0x41, 0x8a, 0xd2, 0x0f, 0xf4, 0x25, 0xd3, 0x55, + 0x7e, 0x6f, 0x13, 0x27, 0x44, 0x6f, 0x07, 0x77, 0x4c, 0x4f, 0xd0, 0x6f, 0x48, 0xc2, 0x38, 0x8f, + 0x3b, 0x9e, 0xdb, 0x74, 0x1b, 0xfe, 0x80, 0x91, 0xee, 0xf0, 0xaf, 0x51, 0x19, 0x23, 0x15, 0x15, + 0xe7, 0xbf, 0x01, 0x38, 0x97, 0xa9, 0xf2, 0x03, 0x1d, 0xe5, 0xc7, 0xd4, 0x99, 0xb8, 0xd2, 0x33, + 0x78, 0xd5, 0x1c, 0xe3, 0x32, 0xdf, 0xfe, 0xab, 0x11, 0xf3, 0xc6, 0xb4, 0x44, 0xbf, 0x06, 0xf8, + 0x72, 0x1e, 0x8b, 0x52, 0x0f, 0x3e, 0x00, 0x0f, 0xd0, 0x26, 0x1a, 0xb2, 0x29, 0xc5, 0x5d, 0xf4, + 0x3d, 0x5d, 0x99, 0x98, 0x78, 0x71, 0xcb, 0xb3, 0xc0, 0x29, 0x91, 0x0c, 0x29, 0x2a, 0xa5, 0x5e, + 0x13, 0x38, 0x1e, 0xa9, 0x0e, 0x28, 0x0d, 0xe6, 0x80, 0xe2, 0x4b, 0xbe, 0xeb, 0x44, 0xa5, 0x29, + 0x90, 0xaf, 0x0c, 0xf1, 0x98, 0x33, 0x49, 0x5e, 0x92, 0x44, 0x2d, 0xc6, 0x92, 0x2f, 0x7a, 0xcd, + 0x4a, 0x92, 0xe8, 0x29, 0x3c, 0x1a, 0x46, 0xef, 0x95, 0x30, 0x9e, 0x31, 0x0c, 0x20, 0x1e, 0x0d, + 0xe5, 0xae, 0x9a, 0x9c, 0x28, 0xed, 0xac, 0x82, 0x2c, 0x43, 0x4a, 0x29, 0x7c, 0x0c, 0xdf, 0xc0, + 0x6e, 0x1d, 0x7b, 0xfe, 0xd4, 0xde, 0xb0, 0x52, 0xa9, 0xca, 0xcd, 0x62, 0x1d, 0x98, 0x74, 0xde, + 0x6e, 0xd4, 0x81, 0x29, 0x4e, 0x2f, 0xe5, 0x77, 0xfa, 0x6e, 0x9c, 0x03, 0xa5, 0xe0, 0x08, 0xe7, + 0xc0, 0x08, 0x0a, 0x3f, 0x07, 0xb2, 0xe7, 0xc1, 0xcf, 0x81, 0x8a, 0x8e, 0x41, 0xcf, 0x81, 0x06, + 0x90, 0xbb, 0x71, 0x0e, 0x34, 0x61, 0x7d, 0x01, 0x4e, 0xf8, 0xf2, 0xab, 0xf4, 0x73, 0xe0, 0x75, + 0x9d, 0x78, 0xd5, 0x30, 0xca, 0xae, 0xd0, 0x79, 0x22, 0x04, 0x61, 0x34, 0xd4, 0x85, 0x61, 0x2f, + 0x59, 0x18, 0xd6, 0xf9, 0x5d, 0x9e, 0x28, 0xcc, 0xa9, 0x19, 0xbc, 0xd5, 0xf8, 0x95, 0x9a, 0x8b, + 0x30, 0x6a, 0x06, 0x6f, 0x11, 0x6f, 0x24, 0x55, 0x34, 0x45, 0xc5, 0xef, 0x4d, 0xe1, 0x92, 0x30, + 0x87, 0x19, 0xa5, 0x81, 0xcd, 0xd8, 0x9d, 0xe8, 0xc4, 0xcc, 0xd4, 0x3c, 0x64, 0x2b, 0x51, 0x5a, + 0xb0, 0x2b, 0x6e, 0x35, 0x87, 0x27, 0x16, 0x89, 0xed, 0x8a, 0x5b, 0x76, 0x85, 0x6c, 0xa5, 0xda, + 0xb5, 0x2b, 0x71, 0xce, 0xf6, 0x47, 0x69, 0x27, 0xfe, 0x28, 0x28, 0xce, 0xdf, 0x63, 0x57, 0x91, + 0xcf, 0x3b, 0xad, 0x66, 0xdd, 0x09, 0xf0, 0xf5, 0x66, 0xc3, 0x75, 0x82, 0xae, 0x87, 0x33, 0x0b, + 0xb4, 0xf0, 0xcd, 0x16, 0xf6, 0x7d, 0xa7, 0xc1, 0x56, 0x56, 0xf6, 0x48, 0x58, 0xa9, 0x5e, 0xbb, + 0x7d, 0x63, 0xad, 0x5b, 0x7b, 0x0a, 0x47, 0x77, 0x23, 0x23, 0x55, 0xb1, 0x09, 0xcd, 0xc2, 0xc3, + 0xe4, 0x31, 0x56, 0x47, 0x6e, 0x3f, 0x46, 0xaa, 0x52, 0xab, 0xfd, 0x6f, 0x46, 0x0b, 0xd6, 0xe0, + 0xa3, 0xee, 0xbc, 0x00, 0xc7, 0x3a, 0xdd, 0xda, 0x26, 0xee, 0x5d, 0x6d, 0x7b, 0x5b, 0x4e, 0xf0, + 0xb8, 0xe7, 0xd1, 0x5a, 0x6f, 0xb8, 0xaa, 0xbe, 0x40, 0x4b, 0x70, 0xdc, 0x67, 0x43, 0x88, 0x1d, + 0x86, 0x48, 0x07, 0xed, 0x3b, 0x74, 0x1f, 0x3c, 0x46, 0x6d, 0x5e, 0x23, 0xe3, 0x3d, 0xdd, 0xf4, + 0xb7, 0x9c, 0x60, 0xe3, 0x26, 0x31, 0x6c, 0xb8, 0xaa, 0x7f, 0x89, 0x16, 0xe0, 0xd1, 0x78, 0xb4, + 0x6b, 0xee, 0xed, 0x10, 0x3f, 0xbd, 0xe2, 0x51, 0xda, 0xd1, 0x38, 0xdc, 0x17, 0x09, 0xec, 0x23, + 0x02, 0xd1, 0xc3, 0xd2, 0xcf, 0x1f, 0x85, 0xfb, 0x88, 0xf1, 0x28, 0x80, 0x87, 0x57, 0x71, 0x20, + 0xb0, 0xb1, 0xd1, 0x19, 0x3d, 0x53, 0x57, 0x10, 0xb1, 0xe6, 0x33, 0x45, 0x98, 0x0f, 0xed, 0xf1, + 0x2f, 0xfe, 0xe9, 0x9f, 0xdf, 0x1a, 0x3a, 0x8c, 0x0e, 0x56, 0x08, 0x8f, 0xfb, 0x66, 0xa4, 0x23, + 0x80, 0xfb, 0x23, 0xda, 0x38, 0xba, 0x5b, 0x3f, 0x54, 0x82, 0x9b, 0x6e, 0x9d, 0x4d, 0x17, 0xa2, + 0xaa, 0x4e, 0x13, 0x55, 0xc7, 0xd1, 0x64, 0x45, 0xff, 0x7b, 0x06, 0xd4, 0x87, 0x07, 0xe8, 0x19, + 0x01, 0xcd, 0xe9, 0x47, 0x54, 0x78, 0xe5, 0x56, 0x3e, 0xde, 0xb2, 0x6d, 0x13, 0xdd, 0x27, 0x91, + 0x25, 0xff, 0x4a, 0xa2, 0xb2, 0x4d, 0xff, 0xa7, 0x8f, 0x7a, 0x10, 0xb2, 0xb3, 0x51, 0xab, 0x65, + 0x42, 0xa0, 0xd0, 0xc3, 0xad, 0x72, 0xb6, 0x20, 0x05, 0x31, 0x45, 0x40, 0x20, 0x74, 0x54, 0x06, + 0x81, 0x5e, 0x07, 0x10, 0x71, 0xdd, 0xec, 0x9b, 0x00, 0xaa, 0x64, 0x0d, 0x2d, 0x7d, 0x3d, 0x18, + 0x00, 0xcb, 0x3d, 0x04, 0xcb, 0x1c, 0x3a, 0x27, 0x63, 0x59, 0xaf, 0xf5, 0xd6, 0xa3, 0x9b, 0xca, + 0xca, 0x36, 0xfb, 0xf2, 0xd0, 0x47, 0x2f, 0x01, 0x81, 0x0c, 0x8c, 0xe6, 0xcd, 0xd1, 0x91, 0x98, + 0xd3, 0xd6, 0x42, 0x1e, 0x51, 0x63, 0x82, 0xc4, 0xbf, 0x55, 0xa9, 0x6c, 0x37, 0xeb, 0x7d, 0xf4, + 0x05, 0x00, 0x0f, 0xc6, 0xdd, 0xc2, 0x20, 0xcd, 0x9b, 0xed, 0xcd, 0x09, 0x44, 0xc7, 0x7c, 0xb6, + 0x2d, 0x02, 0x64, 0x1c, 0x21, 0x15, 0x08, 0xfa, 0x31, 0x80, 0x13, 0x22, 0x06, 0xce, 0xde, 0x46, + 0x97, 0xb2, 0x55, 0x28, 0x5c, 0xef, 0x81, 0x70, 0x5d, 0x22, 0xb8, 0xee, 0x41, 0xe7, 0x55, 0x5c, + 0x24, 0x6c, 0x74, 0xe8, 0xca, 0x36, 0xbf, 0xe6, 0xe8, 0xa3, 0x97, 0x81, 0xc8, 0x5f, 0x45, 0x29, + 0x01, 0x91, 0x39, 0xc8, 0xd6, 0xf9, 0x5c, 0xb2, 0x14, 0xdc, 0x0c, 0x01, 0x67, 0xa1, 0x29, 0xcd, + 0x0f, 0x89, 0xa2, 0xf0, 0x7d, 0x19, 0xc0, 0x43, 0xbc, 0x63, 0x18, 0xbf, 0x14, 0xe3, 0xf3, 0x82, + 0xd1, 0x72, 0x76, 0xed, 0x13, 0x04, 0xcc, 0x31, 0x74, 0x97, 0x06, 0x0c, 0xfa, 0x11, 0x80, 0xc7, + 0x12, 0x38, 0x18, 0x1b, 0x1a, 0x2d, 0xe5, 0xd0, 0x21, 0x51, 0xa7, 0x07, 0xc3, 0x75, 0x2f, 0xc1, + 0xb5, 0x80, 0xca, 0x1a, 0x5c, 0x61, 0x08, 0x23, 0xb2, 0x74, 0x65, 0x9b, 0x91, 0xa6, 0xfb, 0xe8, + 0x97, 0x00, 0x5a, 0x12, 0x58, 0x81, 0x38, 0x82, 0x2e, 0xe7, 0x42, 0xac, 0x52, 0x4d, 0x06, 0x83, + 0x7d, 0x85, 0xc0, 0xbe, 0x0f, 0x2d, 0x19, 0x60, 0x0b, 0xfc, 0x94, 0xca, 0x76, 0x82, 0xac, 0xd2, + 0x47, 0x3e, 0xa5, 0xdd, 0xa2, 0x73, 0xc6, 0x6c, 0x12, 0x89, 0xc0, 0xd6, 0x6c, 0x96, 0x98, 0x31, + 0xc4, 0xe4, 0x67, 0x69, 0x51, 0xaa, 0x7d, 0x1d, 0xc0, 0x83, 0x22, 0x27, 0x19, 0x5d, 0x48, 0x1f, + 0x35, 0x49, 0x5d, 0xce, 0x8d, 0x61, 0x8e, 0x60, 0x38, 0x83, 0x4e, 0x27, 0x31, 0x84, 0x2e, 0x21, + 0x6c, 0xe7, 0xca, 0x36, 0xf9, 0xd3, 0x47, 0xb7, 0xe0, 0x30, 0xe9, 0x19, 0x26, 0xfd, 0x39, 0xa3, + 0xe7, 0xf3, 0xf8, 0x41, 0xa6, 0x35, 0xdb, 0x13, 0x04, 0xc3, 0x51, 0x74, 0x38, 0x89, 0x01, 0xbd, + 0x08, 0xf7, 0x86, 0x25, 0x31, 0x3a, 0x6b, 0xb4, 0x45, 0xe0, 0x13, 0x5b, 0xe7, 0x32, 0xa4, 0xa8, + 0xb2, 0xbb, 0x89, 0xb2, 0x53, 0xe8, 0x44, 0xe2, 0xe7, 0x7e, 0x95, 0x6d, 0x81, 0xb1, 0xdc, 0x47, + 0x5b, 0xf0, 0x00, 0x29, 0xc6, 0x5b, 0x2d, 0x93, 0xf2, 0x24, 0x99, 0xd9, 0x3a, 0x97, 0x21, 0x45, + 0x95, 0x1f, 0x23, 0xca, 0x8f, 0xa0, 0x43, 0x09, 0xe5, 0x61, 0x82, 0x45, 0x94, 0xd5, 0x14, 0x1b, + 0x04, 0xbe, 0x6d, 0x4a, 0x70, 0x13, 0xac, 0x59, 0x4d, 0x82, 0x11, 0x86, 0x62, 0x94, 0x60, 0xb7, + 0xe0, 0x30, 0x91, 0x4e, 0x0f, 0x68, 0x1e, 0xbd, 0x32, 0x5b, 0x57, 0x13, 0x50, 0xa2, 0x17, 0xfd, + 0x11, 0x50, 0xda, 0x9e, 0x96, 0x9e, 0x89, 0xae, 0xa4, 0x9b, 0x95, 0xc6, 0xe9, 0xb4, 0x1e, 0x4a, + 0x87, 0x96, 0xca, 0x7a, 0xb5, 0x1f, 0x20, 0x78, 0x97, 0xd0, 0xbd, 0x49, 0xbc, 0xeb, 0x35, 0xc7, + 0xdd, 0x5c, 0xdf, 0x88, 0xbb, 0xad, 0xc7, 0x15, 0x17, 0x25, 0x7a, 0xf6, 0xd1, 0xdb, 0x00, 0x9e, + 0x32, 0x2b, 0x08, 0x5d, 0x7b, 0x65, 0x47, 0xc0, 0x0a, 0x30, 0x6a, 0x91, 0x18, 0x55, 0x46, 0xb3, + 0xf9, 0x8c, 0x42, 0x7f, 0x01, 0x69, 0x9c, 0xca, 0xac, 0xe0, 0xa4, 0x91, 0x44, 0x4d, 0x76, 0xe4, + 0x62, 0xc0, 0xda, 0x2b, 0xc4, 0x8e, 0x87, 0xd1, 0x15, 0xc9, 0x8e, 0xad, 0xb8, 0xd7, 0xba, 0xc3, + 0xbb, 0xf1, 0xd8, 0x88, 0xc5, 0xdf, 0x6f, 0x59, 0x98, 0xb4, 0xaa, 0x72, 0x84, 0x69, 0x27, 0xe6, + 0xe5, 0x62, 0xb2, 0x6a, 0xca, 0xd8, 0x34, 0xf3, 0xd0, 0xab, 0x80, 0x53, 0x0e, 0x51, 0xd9, 0xe8, + 0x57, 0x89, 0x0d, 0x69, 0xcd, 0xe7, 0x90, 0x34, 0x96, 0x68, 0xec, 0x67, 0xcd, 0xf2, 0xc6, 0x28, + 0x9c, 0x3c, 0xfa, 0x70, 0x94, 0x0d, 0x14, 0x7a, 0xd3, 0x5c, 0xc5, 0xe7, 0x04, 0xa6, 0x21, 0x5b, + 0xda, 0xc7, 0x09, 0xb0, 0xbb, 0xd0, 0x98, 0x02, 0x0c, 0xbd, 0x05, 0xe0, 0x94, 0xa0, 0x3f, 0x59, + 0x60, 0xdc, 0x9f, 0xa9, 0x42, 0x5b, 0x5e, 0x0c, 0x80, 0x4c, 0x5d, 0x3f, 0x18, 0xb2, 0xac, 0xd2, + 0xe2, 0x15, 0x00, 0x21, 0xe7, 0xcc, 0xa5, 0x94, 0xb6, 0x0a, 0xd7, 0x30, 0xa5, 0xb4, 0x55, 0x49, + 0x7c, 0xf6, 0x02, 0x41, 0x78, 0x16, 0xd9, 0x9a, 0xdf, 0x9b, 0x57, 0xb6, 0x45, 0xd2, 0x67, 0x1f, + 0xbd, 0x01, 0x20, 0x52, 0xd9, 0x9e, 0x29, 0x95, 0xa5, 0x91, 0x1a, 0x9a, 0x52, 0xa2, 0x69, 0x30, + 0xaa, 0x33, 0x41, 0xc0, 0x18, 0x31, 0x4a, 0x2b, 0xdb, 0x8c, 0x59, 0xaa, 0xc2, 0xa4, 0x27, 0xce, + 0x7c, 0x30, 0x93, 0x87, 0xce, 0xe2, 0x60, 0xaa, 0xe7, 0xce, 0xf0, 0xc8, 0xc0, 0x47, 0x49, 0x3f, + 0x32, 0xe4, 0x0e, 0xb2, 0x1e, 0x99, 0xba, 0xdd, 0x73, 0x64, 0xe8, 0x73, 0x8c, 0x17, 0x83, 0xcc, + 0xd5, 0x43, 0xd2, 0x2b, 0x73, 0x99, 0x72, 0x54, 0xef, 0x49, 0xa2, 0x77, 0x02, 0x8d, 0x4b, 0xff, + 0x54, 0x41, 0x54, 0x67, 0x74, 0xe1, 0x48, 0x24, 0x1f, 0xda, 0x6e, 0xae, 0x20, 0x72, 0xe9, 0x56, + 0xe8, 0x3e, 0xf6, 0x24, 0xd1, 0x3d, 0x86, 0x8e, 0x48, 0xba, 0xd1, 0x37, 0x00, 0x3c, 0x22, 0x32, + 0x6c, 0x42, 0xed, 0x17, 0x32, 0x46, 0x4d, 0x50, 0x75, 0xac, 0x7b, 0x72, 0x4a, 0x53, 0x24, 0xd3, + 0x04, 0xc9, 0x14, 0x9a, 0x90, 0x90, 0xac, 0x47, 0xa4, 0x28, 0x1a, 0x00, 0x17, 0x07, 0xe9, 0x01, + 0xe0, 0x9c, 0xcd, 0xf4, 0x00, 0x08, 0x9c, 0x47, 0x7d, 0x00, 0x5c, 0x76, 0x92, 0x88, 0x02, 0xe0, + 0x46, 0xa5, 0x7b, 0x6a, 0x00, 0xb2, 0x75, 0x2b, 0x7c, 0x4b, 0x7d, 0x00, 0x42, 0x2b, 0xbf, 0x0b, + 0xe0, 0x58, 0xac, 0x37, 0x9e, 0x9e, 0x8b, 0x19, 0xe3, 0xca, 0x53, 0x33, 0x37, 0x8e, 0x0b, 0x04, + 0xc7, 0x2c, 0x3a, 0x2b, 0xe1, 0xd0, 0xdf, 0x06, 0xfd, 0x34, 0xca, 0x0e, 0x91, 0x2d, 0x68, 0xba, + 0xab, 0x32, 0x12, 0x39, 0xad, 0x7b, 0xf3, 0x77, 0xa0, 0x20, 0x1f, 0x26, 0x20, 0x3f, 0x84, 0xee, + 0x93, 0x41, 0xc6, 0xa7, 0x0f, 0x02, 0x92, 0x70, 0x41, 0xfb, 0xc2, 0x99, 0xe4, 0xb9, 0x5e, 0x07, + 0xf7, 0x43, 0x8f, 0x22, 0x69, 0xe4, 0x30, 0xa4, 0x95, 0x0c, 0x17, 0xe5, 0xc5, 0x6d, 0x66, 0x68, + 0xda, 0x67, 0x08, 0xee, 0x13, 0xe8, 0xb8, 0x11, 0x37, 0xfa, 0x3c, 0x27, 0x52, 0xa5, 0xd4, 0x25, + 0xf2, 0xdd, 0xd1, 0x7c, 0x0e, 0x49, 0xf3, 0xfc, 0x8a, 0x6f, 0x8b, 0xc2, 0x34, 0xef, 0xc3, 0x51, + 0xd6, 0x27, 0xbd, 0x04, 0xc9, 0x89, 0x41, 0xc3, 0x16, 0xd3, 0x94, 0x20, 0x0c, 0x03, 0xfa, 0x03, + 0x80, 0xc7, 0x8d, 0xd4, 0x27, 0xf4, 0x60, 0xa6, 0x9d, 0xc6, 0x43, 0xc0, 0x95, 0x4c, 0x78, 0xe6, + 0x33, 0xc0, 0x83, 0x04, 0xef, 0x25, 0x74, 0x51, 0xc1, 0xab, 0x3d, 0xd6, 0x88, 0x97, 0x6e, 0xbf, + 0x06, 0xf0, 0xa4, 0x51, 0x41, 0xe8, 0xe0, 0x07, 0x77, 0x82, 0xeb, 0xfd, 0x9b, 0xa4, 0x99, 0xe7, + 0x66, 0x93, 0xd0, 0x6f, 0x00, 0x9c, 0x34, 0x10, 0x95, 0x4c, 0x17, 0x4f, 0x99, 0xbc, 0x2c, 0xeb, + 0x81, 0x4c, 0xf8, 0x06, 0x4e, 0x94, 0x7d, 0x99, 0x80, 0xbf, 0x88, 0x2a, 0x2a, 0x78, 0x4c, 0xbb, + 0xe8, 0xa3, 0xf1, 0x0b, 0x00, 0x2d, 0xc3, 0xe0, 0x61, 0x2c, 0x2e, 0x0f, 0x8e, 0xe8, 0xfd, 0x9a, + 0xa2, 0xa9, 0x28, 0x4d, 0xa6, 0xa0, 0xed, 0x98, 0xc7, 0x93, 0xf2, 0x59, 0x24, 0xc9, 0x2f, 0xb2, + 0xca, 0xd9, 0x82, 0x14, 0xc9, 0x29, 0x82, 0x64, 0x12, 0x1d, 0x93, 0xff, 0xb5, 0xa3, 0x68, 0x5d, + 0xe8, 0x41, 0x48, 0x7b, 0xa4, 0x7f, 0x14, 0xc9, 0xa7, 0x5f, 0x65, 0x29, 0x69, 0x3e, 0x8a, 0x50, + 0xfd, 0xe1, 0x96, 0x4f, 0x69, 0x25, 0xe6, 0x2d, 0x3f, 0x41, 0x8c, 0x49, 0xd9, 0xf2, 0x93, 0xf4, + 0x16, 0xcd, 0x96, 0x1f, 0xfd, 0x8d, 0xb7, 0x7c, 0x4a, 0x8d, 0x48, 0xdd, 0xf2, 0x73, 0xe9, 0x56, + 0xa8, 0x35, 0x9a, 0x2d, 0x3f, 0xfa, 0x4b, 0x76, 0x55, 0x89, 0x92, 0x91, 0xb2, 0xab, 0xea, 0x19, + 0x27, 0x29, 0xbb, 0xaa, 0x81, 0x37, 0xa2, 0xd9, 0x55, 0xa3, 0xbf, 0xe2, 0xae, 0xca, 0x98, 0x35, + 0xfa, 0x5d, 0x55, 0x1a, 0x39, 0x7d, 0x57, 0x1d, 0x0c, 0xb7, 0x99, 0xef, 0xa2, 0xd9, 0x55, 0x65, + 0xdc, 0xe8, 0xab, 0x40, 0x24, 0x56, 0xa4, 0x9c, 0x0f, 0x15, 0xe6, 0x47, 0xca, 0xf9, 0x50, 0xe5, + 0x6f, 0x98, 0xa1, 0x04, 0xbd, 0x0e, 0x8e, 0x72, 0xea, 0x2b, 0x00, 0x1e, 0xe2, 0x3d, 0xd3, 0x0f, + 0x32, 0xb9, 0xd1, 0x68, 0xd9, 0x24, 0xc6, 0xe4, 0x26, 0x68, 0xc8, 0xe7, 0x20, 0x81, 0x4f, 0x90, + 0xe2, 0x13, 0x99, 0x25, 0x91, 0xe6, 0x13, 0x85, 0xeb, 0xa0, 0xf9, 0x1c, 0xc4, 0xff, 0xa1, 0x33, + 0xfe, 0x39, 0x88, 0x77, 0xcc, 0x70, 0x49, 0x5e, 0x30, 0x5a, 0xe2, 0x85, 0xe6, 0x6c, 0xc7, 0xc1, + 0xa0, 0xdf, 0x03, 0x38, 0xa6, 0x90, 0x0c, 0x4c, 0xa5, 0xb6, 0x89, 0x2d, 0x61, 0x55, 0x72, 0xcb, + 0x53, 0x4c, 0xcf, 0x13, 0x4c, 0x6b, 0xe8, 0x63, 0x31, 0xa6, 0xdb, 0x54, 0x76, 0x3d, 0x66, 0x09, + 0xf0, 0x3b, 0x22, 0xb2, 0xa1, 0x31, 0x12, 0x05, 0x7b, 0x8a, 0x07, 0xed, 0x57, 0xb6, 0x29, 0x03, + 0xa3, 0xbf, 0x72, 0xf1, 0xed, 0x3b, 0xd3, 0xe0, 0x9d, 0x3b, 0xd3, 0xe0, 0xef, 0x77, 0xa6, 0xc1, + 0x37, 0xdf, 0x9d, 0xde, 0xf3, 0xce, 0xbb, 0xd3, 0x7b, 0xfe, 0xfc, 0xee, 0xf4, 0x9e, 0x4f, 0x4e, + 0x32, 0x45, 0x2f, 0xc6, 0x2a, 0xc3, 0x94, 0xf0, 0x6b, 0xfb, 0xc9, 0x3f, 0x3c, 0x77, 0xe9, 0xbf, + 0x01, 0x00, 0x00, 0xff, 0xff, 0x3f, 0x5c, 0x12, 0x79, 0x0a, 0x51, 0x00, 0x00, } -func (*UnimplementedQueryServer) InfusionAllByDestination(ctx context.Context, req *QueryAllInfusionByDestinationRequest) (*QueryAllInfusionResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method InfusionAllByDestination not implemented") + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// QueryClient is the client API for Query service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type QueryClient interface { + GetBlockHeight(ctx context.Context, in *QueryBlockHeight, opts ...grpc.CallOption) (*QueryBlockHeightResponse, error) + // Parameters queries the parameters of the module. + Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) + // Queries for Addresses. + Address(ctx context.Context, in *QueryGetAddressRequest, opts ...grpc.CallOption) (*QueryAddressResponse, error) + AddressAll(ctx context.Context, in *QueryAllAddressRequest, opts ...grpc.CallOption) (*QueryAllAddressResponse, error) + AddressAllByPlayer(ctx context.Context, in *QueryAllAddressByPlayerRequest, opts ...grpc.CallOption) (*QueryAllAddressResponse, error) + // Queries a list of Agreement items. + Agreement(ctx context.Context, in *QueryGetAgreementRequest, opts ...grpc.CallOption) (*QueryGetAgreementResponse, error) + AgreementAll(ctx context.Context, in *QueryAllAgreementRequest, opts ...grpc.CallOption) (*QueryAllAgreementResponse, error) + AgreementAllByProvider(ctx context.Context, in *QueryAllAgreementByProviderRequest, opts ...grpc.CallOption) (*QueryAllAgreementResponse, error) + // Queries a list of Allocation items. + Allocation(ctx context.Context, in *QueryGetAllocationRequest, opts ...grpc.CallOption) (*QueryGetAllocationResponse, error) + AllocationAll(ctx context.Context, in *QueryAllAllocationRequest, opts ...grpc.CallOption) (*QueryAllAllocationResponse, error) + AllocationAllBySource(ctx context.Context, in *QueryAllAllocationBySourceRequest, opts ...grpc.CallOption) (*QueryAllAllocationResponse, error) + AllocationAllByDestination(ctx context.Context, in *QueryAllAllocationByDestinationRequest, opts ...grpc.CallOption) (*QueryAllAllocationResponse, error) + // Queries a list of Fleet items. + Fleet(ctx context.Context, in *QueryGetFleetRequest, opts ...grpc.CallOption) (*QueryGetFleetResponse, error) + FleetByIndex(ctx context.Context, in *QueryGetFleetByIndexRequest, opts ...grpc.CallOption) (*QueryGetFleetResponse, error) + FleetAll(ctx context.Context, in *QueryAllFleetRequest, opts ...grpc.CallOption) (*QueryAllFleetResponse, error) + // Queries a specific Grid details + Grid(ctx context.Context, in *QueryGetGridRequest, opts ...grpc.CallOption) (*QueryGetGridResponse, error) + // Queries a list of all Grid details + GridAll(ctx context.Context, in *QueryAllGridRequest, opts ...grpc.CallOption) (*QueryAllGridResponse, error) + // Queries a list of Guild items. + Guild(ctx context.Context, in *QueryGetGuildRequest, opts ...grpc.CallOption) (*QueryGetGuildResponse, error) + GuildAll(ctx context.Context, in *QueryAllGuildRequest, opts ...grpc.CallOption) (*QueryAllGuildResponse, error) + GuildBankCollateralAddress(ctx context.Context, in *QueryGetGuildBankCollateralAddressRequest, opts ...grpc.CallOption) (*QueryAllGuildBankCollateralAddressResponse, error) + GuildBankCollateralAddressAll(ctx context.Context, in *QueryAllGuildBankCollateralAddressRequest, opts ...grpc.CallOption) (*QueryAllGuildBankCollateralAddressResponse, error) + GuildMembershipApplication(ctx context.Context, in *QueryGetGuildMembershipApplicationRequest, opts ...grpc.CallOption) (*QueryGetGuildMembershipApplicationResponse, error) + GuildMembershipApplicationAll(ctx context.Context, in *QueryAllGuildMembershipApplicationRequest, opts ...grpc.CallOption) (*QueryAllGuildMembershipApplicationResponse, error) + // Queries a list of Infusions. + Infusion(ctx context.Context, in *QueryGetInfusionRequest, opts ...grpc.CallOption) (*QueryGetInfusionResponse, error) + InfusionAll(ctx context.Context, in *QueryAllInfusionRequest, opts ...grpc.CallOption) (*QueryAllInfusionResponse, error) + InfusionAllByDestination(ctx context.Context, in *QueryAllInfusionByDestinationRequest, opts ...grpc.CallOption) (*QueryAllInfusionResponse, error) + // Queries a specific Permission + Permission(ctx context.Context, in *QueryGetPermissionRequest, opts ...grpc.CallOption) (*QueryGetPermissionResponse, error) + // Queries a list of Permissions based on Object + PermissionByObject(ctx context.Context, in *QueryAllPermissionByObjectRequest, opts ...grpc.CallOption) (*QueryAllPermissionResponse, error) + // Queries a list of Permissions based on the Player with the permissions + PermissionByPlayer(ctx context.Context, in *QueryAllPermissionByPlayerRequest, opts ...grpc.CallOption) (*QueryAllPermissionResponse, error) + // Queries a list of all Permissions + PermissionAll(ctx context.Context, in *QueryAllPermissionRequest, opts ...grpc.CallOption) (*QueryAllPermissionResponse, error) + // Queries a list of Player items. + Player(ctx context.Context, in *QueryGetPlayerRequest, opts ...grpc.CallOption) (*QueryGetPlayerResponse, error) + PlayerAll(ctx context.Context, in *QueryAllPlayerRequest, opts ...grpc.CallOption) (*QueryAllPlayerResponse, error) + PlayerHaltedAll(ctx context.Context, in *QueryAllPlayerHaltedRequest, opts ...grpc.CallOption) (*QueryAllPlayerHaltedResponse, error) + // Queries a list of Planet items. + Planet(ctx context.Context, in *QueryGetPlanetRequest, opts ...grpc.CallOption) (*QueryGetPlanetResponse, error) + PlanetAll(ctx context.Context, in *QueryAllPlanetRequest, opts ...grpc.CallOption) (*QueryAllPlanetResponse, error) + PlanetAllByPlayer(ctx context.Context, in *QueryAllPlanetByPlayerRequest, opts ...grpc.CallOption) (*QueryAllPlanetResponse, error) + PlanetAttribute(ctx context.Context, in *QueryGetPlanetAttributeRequest, opts ...grpc.CallOption) (*QueryGetPlanetAttributeResponse, error) + // Queries a list of all Planet Attributes + PlanetAttributeAll(ctx context.Context, in *QueryAllPlanetAttributeRequest, opts ...grpc.CallOption) (*QueryAllPlanetAttributeResponse, error) + // Queries a list of Allocation items. + Provider(ctx context.Context, in *QueryGetProviderRequest, opts ...grpc.CallOption) (*QueryGetProviderResponse, error) + ProviderAll(ctx context.Context, in *QueryAllProviderRequest, opts ...grpc.CallOption) (*QueryAllProviderResponse, error) + ProviderCollateralAddress(ctx context.Context, in *QueryGetProviderCollateralAddressRequest, opts ...grpc.CallOption) (*QueryAllProviderCollateralAddressResponse, error) + ProviderCollateralAddressAll(ctx context.Context, in *QueryAllProviderCollateralAddressRequest, opts ...grpc.CallOption) (*QueryAllProviderCollateralAddressResponse, error) + // TODO Requires a lookup table that I don't know if we care about + // rpc ProviderByCollateralAddress (QueryGetProviderByCollateralAddressRequest) returns (QueryGetProviderResponse) { + // option (google.api.http).get = "/structs/provider_by_collateral_address/{address}"; + // } + ProviderEarningsAddress(ctx context.Context, in *QueryGetProviderEarningsAddressRequest, opts ...grpc.CallOption) (*QueryAllProviderEarningsAddressResponse, error) + ProviderEarningsAddressAll(ctx context.Context, in *QueryAllProviderEarningsAddressRequest, opts ...grpc.CallOption) (*QueryAllProviderEarningsAddressResponse, error) + // Queries a list of Reactor items. + Reactor(ctx context.Context, in *QueryGetReactorRequest, opts ...grpc.CallOption) (*QueryGetReactorResponse, error) + ReactorAll(ctx context.Context, in *QueryAllReactorRequest, opts ...grpc.CallOption) (*QueryAllReactorResponse, error) + // Queries a list of Structs items. + Struct(ctx context.Context, in *QueryGetStructRequest, opts ...grpc.CallOption) (*QueryGetStructResponse, error) + StructAll(ctx context.Context, in *QueryAllStructRequest, opts ...grpc.CallOption) (*QueryAllStructResponse, error) + StructAttribute(ctx context.Context, in *QueryGetStructAttributeRequest, opts ...grpc.CallOption) (*QueryGetStructAttributeResponse, error) + // Queries a list of all Struct Attributes + StructAttributeAll(ctx context.Context, in *QueryAllStructAttributeRequest, opts ...grpc.CallOption) (*QueryAllStructAttributeResponse, error) + // Queries a list of Struct Types items. + StructType(ctx context.Context, in *QueryGetStructTypeRequest, opts ...grpc.CallOption) (*QueryGetStructTypeResponse, error) + StructTypeAll(ctx context.Context, in *QueryAllStructTypeRequest, opts ...grpc.CallOption) (*QueryAllStructTypeResponse, error) + // Queries a list of Substation items. + Substation(ctx context.Context, in *QueryGetSubstationRequest, opts ...grpc.CallOption) (*QueryGetSubstationResponse, error) + SubstationAll(ctx context.Context, in *QueryAllSubstationRequest, opts ...grpc.CallOption) (*QueryAllSubstationResponse, error) + ValidateSignature(ctx context.Context, in *QueryValidateSignatureRequest, opts ...grpc.CallOption) (*QueryValidateSignatureResponse, error) } -func (*UnimplementedQueryServer) Permission(ctx context.Context, req *QueryGetPermissionRequest) (*QueryGetPermissionResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method Permission not implemented") + +type queryClient struct { + cc grpc1.ClientConn } -func (*UnimplementedQueryServer) PermissionByObject(ctx context.Context, req *QueryAllPermissionByObjectRequest) (*QueryAllPermissionResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method PermissionByObject not implemented") + +func NewQueryClient(cc grpc1.ClientConn) QueryClient { + return &queryClient{cc} } -func (*UnimplementedQueryServer) PermissionByPlayer(ctx context.Context, req *QueryAllPermissionByPlayerRequest) (*QueryAllPermissionResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method PermissionByPlayer not implemented") + +func (c *queryClient) GetBlockHeight(ctx context.Context, in *QueryBlockHeight, opts ...grpc.CallOption) (*QueryBlockHeightResponse, error) { + out := new(QueryBlockHeightResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Query/GetBlockHeight", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil } -func (*UnimplementedQueryServer) PermissionAll(ctx context.Context, req *QueryAllPermissionRequest) (*QueryAllPermissionResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method PermissionAll not implemented") + +func (c *queryClient) Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) { + out := new(QueryParamsResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Query/Params", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil } -func (*UnimplementedQueryServer) Player(ctx context.Context, req *QueryGetPlayerRequest) (*QueryGetPlayerResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method Player not implemented") + +func (c *queryClient) Address(ctx context.Context, in *QueryGetAddressRequest, opts ...grpc.CallOption) (*QueryAddressResponse, error) { + out := new(QueryAddressResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Query/Address", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil } -func (*UnimplementedQueryServer) PlayerAll(ctx context.Context, req *QueryAllPlayerRequest) (*QueryAllPlayerResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method PlayerAll not implemented") + +func (c *queryClient) AddressAll(ctx context.Context, in *QueryAllAddressRequest, opts ...grpc.CallOption) (*QueryAllAddressResponse, error) { + out := new(QueryAllAddressResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Query/AddressAll", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil } -func (*UnimplementedQueryServer) Planet(ctx context.Context, req *QueryGetPlanetRequest) (*QueryGetPlanetResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method Planet not implemented") + +func (c *queryClient) AddressAllByPlayer(ctx context.Context, in *QueryAllAddressByPlayerRequest, opts ...grpc.CallOption) (*QueryAllAddressResponse, error) { + out := new(QueryAllAddressResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Query/AddressAllByPlayer", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil } -func (*UnimplementedQueryServer) PlanetAll(ctx context.Context, req *QueryAllPlanetRequest) (*QueryAllPlanetResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method PlanetAll not implemented") + +func (c *queryClient) Agreement(ctx context.Context, in *QueryGetAgreementRequest, opts ...grpc.CallOption) (*QueryGetAgreementResponse, error) { + out := new(QueryGetAgreementResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Query/Agreement", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil } -func (*UnimplementedQueryServer) PlanetAllByPlayer(ctx context.Context, req *QueryAllPlanetByPlayerRequest) (*QueryAllPlanetResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method PlanetAllByPlayer not implemented") + +func (c *queryClient) AgreementAll(ctx context.Context, in *QueryAllAgreementRequest, opts ...grpc.CallOption) (*QueryAllAgreementResponse, error) { + out := new(QueryAllAgreementResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Query/AgreementAll", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil } -func (*UnimplementedQueryServer) PlanetAttribute(ctx context.Context, req *QueryGetPlanetAttributeRequest) (*QueryGetPlanetAttributeResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method PlanetAttribute not implemented") -} -func (*UnimplementedQueryServer) PlanetAttributeAll(ctx context.Context, req *QueryAllPlanetAttributeRequest) (*QueryAllPlanetAttributeResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method PlanetAttributeAll not implemented") -} -func (*UnimplementedQueryServer) Reactor(ctx context.Context, req *QueryGetReactorRequest) (*QueryGetReactorResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method Reactor not implemented") -} -func (*UnimplementedQueryServer) ReactorAll(ctx context.Context, req *QueryAllReactorRequest) (*QueryAllReactorResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ReactorAll not implemented") -} -func (*UnimplementedQueryServer) Struct(ctx context.Context, req *QueryGetStructRequest) (*QueryGetStructResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method Struct not implemented") -} -func (*UnimplementedQueryServer) StructAll(ctx context.Context, req *QueryAllStructRequest) (*QueryAllStructResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method StructAll not implemented") -} -func (*UnimplementedQueryServer) StructAttribute(ctx context.Context, req *QueryGetStructAttributeRequest) (*QueryGetStructAttributeResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method StructAttribute not implemented") -} -func (*UnimplementedQueryServer) StructAttributeAll(ctx context.Context, req *QueryAllStructAttributeRequest) (*QueryAllStructAttributeResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method StructAttributeAll not implemented") -} -func (*UnimplementedQueryServer) StructType(ctx context.Context, req *QueryGetStructTypeRequest) (*QueryGetStructTypeResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method StructType not implemented") -} -func (*UnimplementedQueryServer) StructTypeAll(ctx context.Context, req *QueryAllStructTypeRequest) (*QueryAllStructTypeResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method StructTypeAll not implemented") -} -func (*UnimplementedQueryServer) Substation(ctx context.Context, req *QueryGetSubstationRequest) (*QueryGetSubstationResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method Substation not implemented") -} -func (*UnimplementedQueryServer) SubstationAll(ctx context.Context, req *QueryAllSubstationRequest) (*QueryAllSubstationResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SubstationAll not implemented") -} -func (*UnimplementedQueryServer) ValidateSignature(ctx context.Context, req *QueryValidateSignatureRequest) (*QueryValidateSignatureResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ValidateSignature not implemented") + +func (c *queryClient) AgreementAllByProvider(ctx context.Context, in *QueryAllAgreementByProviderRequest, opts ...grpc.CallOption) (*QueryAllAgreementResponse, error) { + out := new(QueryAllAgreementResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Query/AgreementAllByProvider", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil } -func RegisterQueryServer(s grpc1.Server, srv QueryServer) { - s.RegisterService(&_Query_serviceDesc, srv) +func (c *queryClient) Allocation(ctx context.Context, in *QueryGetAllocationRequest, opts ...grpc.CallOption) (*QueryGetAllocationResponse, error) { + out := new(QueryGetAllocationResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Query/Allocation", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil } -func _Query_GetBlockHeight_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(QueryBlockHeight) - if err := dec(in); err != nil { +func (c *queryClient) AllocationAll(ctx context.Context, in *QueryAllAllocationRequest, opts ...grpc.CallOption) (*QueryAllAllocationResponse, error) { + out := new(QueryAllAllocationResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Query/AllocationAll", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(QueryServer).GetBlockHeight(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/structs.structs.Query/GetBlockHeight", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(QueryServer).GetBlockHeight(ctx, req.(*QueryBlockHeight)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Query_Params_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(QueryParamsRequest) - if err := dec(in); err != nil { +func (c *queryClient) AllocationAllBySource(ctx context.Context, in *QueryAllAllocationBySourceRequest, opts ...grpc.CallOption) (*QueryAllAllocationResponse, error) { + out := new(QueryAllAllocationResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Query/AllocationAllBySource", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(QueryServer).Params(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/structs.structs.Query/Params", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(QueryServer).Params(ctx, req.(*QueryParamsRequest)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Query_Address_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(QueryGetAddressRequest) - if err := dec(in); err != nil { +func (c *queryClient) AllocationAllByDestination(ctx context.Context, in *QueryAllAllocationByDestinationRequest, opts ...grpc.CallOption) (*QueryAllAllocationResponse, error) { + out := new(QueryAllAllocationResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Query/AllocationAllByDestination", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(QueryServer).Address(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/structs.structs.Query/Address", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(QueryServer).Address(ctx, req.(*QueryGetAddressRequest)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Query_AddressAll_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(QueryAllAddressRequest) - if err := dec(in); err != nil { +func (c *queryClient) Fleet(ctx context.Context, in *QueryGetFleetRequest, opts ...grpc.CallOption) (*QueryGetFleetResponse, error) { + out := new(QueryGetFleetResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Query/Fleet", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(QueryServer).AddressAll(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/structs.structs.Query/AddressAll", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(QueryServer).AddressAll(ctx, req.(*QueryAllAddressRequest)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Query_AddressAllByPlayer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(QueryAllAddressByPlayerRequest) - if err := dec(in); err != nil { +func (c *queryClient) FleetByIndex(ctx context.Context, in *QueryGetFleetByIndexRequest, opts ...grpc.CallOption) (*QueryGetFleetResponse, error) { + out := new(QueryGetFleetResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Query/FleetByIndex", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(QueryServer).AddressAllByPlayer(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/structs.structs.Query/AddressAllByPlayer", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(QueryServer).AddressAllByPlayer(ctx, req.(*QueryAllAddressByPlayerRequest)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Query_Allocation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(QueryGetAllocationRequest) - if err := dec(in); err != nil { +func (c *queryClient) FleetAll(ctx context.Context, in *QueryAllFleetRequest, opts ...grpc.CallOption) (*QueryAllFleetResponse, error) { + out := new(QueryAllFleetResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Query/FleetAll", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(QueryServer).Allocation(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/structs.structs.Query/Allocation", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(QueryServer).Allocation(ctx, req.(*QueryGetAllocationRequest)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Query_AllocationAll_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(QueryAllAllocationRequest) - if err := dec(in); err != nil { +func (c *queryClient) Grid(ctx context.Context, in *QueryGetGridRequest, opts ...grpc.CallOption) (*QueryGetGridResponse, error) { + out := new(QueryGetGridResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Query/Grid", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(QueryServer).AllocationAll(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/structs.structs.Query/AllocationAll", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(QueryServer).AllocationAll(ctx, req.(*QueryAllAllocationRequest)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Query_AllocationAllBySource_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(QueryAllAllocationBySourceRequest) - if err := dec(in); err != nil { +func (c *queryClient) GridAll(ctx context.Context, in *QueryAllGridRequest, opts ...grpc.CallOption) (*QueryAllGridResponse, error) { + out := new(QueryAllGridResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Query/GridAll", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(QueryServer).AllocationAllBySource(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/structs.structs.Query/AllocationAllBySource", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(QueryServer).AllocationAllBySource(ctx, req.(*QueryAllAllocationBySourceRequest)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Query_AllocationAllByDestination_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(QueryAllAllocationByDestinationRequest) - if err := dec(in); err != nil { +func (c *queryClient) Guild(ctx context.Context, in *QueryGetGuildRequest, opts ...grpc.CallOption) (*QueryGetGuildResponse, error) { + out := new(QueryGetGuildResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Query/Guild", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(QueryServer).AllocationAllByDestination(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/structs.structs.Query/AllocationAllByDestination", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(QueryServer).AllocationAllByDestination(ctx, req.(*QueryAllAllocationByDestinationRequest)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Query_Fleet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(QueryGetFleetRequest) - if err := dec(in); err != nil { +func (c *queryClient) GuildAll(ctx context.Context, in *QueryAllGuildRequest, opts ...grpc.CallOption) (*QueryAllGuildResponse, error) { + out := new(QueryAllGuildResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Query/GuildAll", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(QueryServer).Fleet(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/structs.structs.Query/Fleet", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(QueryServer).Fleet(ctx, req.(*QueryGetFleetRequest)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Query_FleetByIndex_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(QueryGetFleetByIndexRequest) - if err := dec(in); err != nil { +func (c *queryClient) GuildBankCollateralAddress(ctx context.Context, in *QueryGetGuildBankCollateralAddressRequest, opts ...grpc.CallOption) (*QueryAllGuildBankCollateralAddressResponse, error) { + out := new(QueryAllGuildBankCollateralAddressResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Query/GuildBankCollateralAddress", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(QueryServer).FleetByIndex(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/structs.structs.Query/FleetByIndex", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(QueryServer).FleetByIndex(ctx, req.(*QueryGetFleetByIndexRequest)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Query_FleetAll_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(QueryAllFleetRequest) - if err := dec(in); err != nil { +func (c *queryClient) GuildBankCollateralAddressAll(ctx context.Context, in *QueryAllGuildBankCollateralAddressRequest, opts ...grpc.CallOption) (*QueryAllGuildBankCollateralAddressResponse, error) { + out := new(QueryAllGuildBankCollateralAddressResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Query/GuildBankCollateralAddressAll", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(QueryServer).FleetAll(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/structs.structs.Query/FleetAll", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(QueryServer).FleetAll(ctx, req.(*QueryAllFleetRequest)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Query_Grid_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(QueryGetGridRequest) - if err := dec(in); err != nil { +func (c *queryClient) GuildMembershipApplication(ctx context.Context, in *QueryGetGuildMembershipApplicationRequest, opts ...grpc.CallOption) (*QueryGetGuildMembershipApplicationResponse, error) { + out := new(QueryGetGuildMembershipApplicationResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Query/GuildMembershipApplication", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(QueryServer).Grid(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/structs.structs.Query/Grid", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(QueryServer).Grid(ctx, req.(*QueryGetGridRequest)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Query_GridAll_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(QueryAllGridRequest) - if err := dec(in); err != nil { +func (c *queryClient) GuildMembershipApplicationAll(ctx context.Context, in *QueryAllGuildMembershipApplicationRequest, opts ...grpc.CallOption) (*QueryAllGuildMembershipApplicationResponse, error) { + out := new(QueryAllGuildMembershipApplicationResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Query/GuildMembershipApplicationAll", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(QueryServer).GridAll(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/structs.structs.Query/GridAll", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(QueryServer).GridAll(ctx, req.(*QueryAllGridRequest)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Query_Guild_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(QueryGetGuildRequest) - if err := dec(in); err != nil { +func (c *queryClient) Infusion(ctx context.Context, in *QueryGetInfusionRequest, opts ...grpc.CallOption) (*QueryGetInfusionResponse, error) { + out := new(QueryGetInfusionResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Query/Infusion", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(QueryServer).Guild(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/structs.structs.Query/Guild", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(QueryServer).Guild(ctx, req.(*QueryGetGuildRequest)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Query_GuildAll_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(QueryAllGuildRequest) - if err := dec(in); err != nil { +func (c *queryClient) InfusionAll(ctx context.Context, in *QueryAllInfusionRequest, opts ...grpc.CallOption) (*QueryAllInfusionResponse, error) { + out := new(QueryAllInfusionResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Query/InfusionAll", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(QueryServer).GuildAll(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/structs.structs.Query/GuildAll", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(QueryServer).GuildAll(ctx, req.(*QueryAllGuildRequest)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Query_GuildMembershipApplication_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(QueryGetGuildMembershipApplicationRequest) - if err := dec(in); err != nil { +func (c *queryClient) InfusionAllByDestination(ctx context.Context, in *QueryAllInfusionByDestinationRequest, opts ...grpc.CallOption) (*QueryAllInfusionResponse, error) { + out := new(QueryAllInfusionResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Query/InfusionAllByDestination", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(QueryServer).GuildMembershipApplication(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/structs.structs.Query/GuildMembershipApplication", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(QueryServer).GuildMembershipApplication(ctx, req.(*QueryGetGuildMembershipApplicationRequest)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Query_GuildMembershipApplicationAll_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(QueryAllGuildMembershipApplicationRequest) - if err := dec(in); err != nil { +func (c *queryClient) Permission(ctx context.Context, in *QueryGetPermissionRequest, opts ...grpc.CallOption) (*QueryGetPermissionResponse, error) { + out := new(QueryGetPermissionResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Query/Permission", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(QueryServer).GuildMembershipApplicationAll(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/structs.structs.Query/GuildMembershipApplicationAll", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(QueryServer).GuildMembershipApplicationAll(ctx, req.(*QueryAllGuildMembershipApplicationRequest)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Query_Infusion_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(QueryGetInfusionRequest) - if err := dec(in); err != nil { +func (c *queryClient) PermissionByObject(ctx context.Context, in *QueryAllPermissionByObjectRequest, opts ...grpc.CallOption) (*QueryAllPermissionResponse, error) { + out := new(QueryAllPermissionResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Query/PermissionByObject", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(QueryServer).Infusion(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/structs.structs.Query/Infusion", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(QueryServer).Infusion(ctx, req.(*QueryGetInfusionRequest)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Query_InfusionAll_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(QueryAllInfusionRequest) - if err := dec(in); err != nil { +func (c *queryClient) PermissionByPlayer(ctx context.Context, in *QueryAllPermissionByPlayerRequest, opts ...grpc.CallOption) (*QueryAllPermissionResponse, error) { + out := new(QueryAllPermissionResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Query/PermissionByPlayer", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(QueryServer).InfusionAll(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/structs.structs.Query/InfusionAll", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(QueryServer).InfusionAll(ctx, req.(*QueryAllInfusionRequest)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Query_InfusionAllByDestination_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(QueryAllInfusionByDestinationRequest) - if err := dec(in); err != nil { +func (c *queryClient) PermissionAll(ctx context.Context, in *QueryAllPermissionRequest, opts ...grpc.CallOption) (*QueryAllPermissionResponse, error) { + out := new(QueryAllPermissionResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Query/PermissionAll", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(QueryServer).InfusionAllByDestination(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/structs.structs.Query/InfusionAllByDestination", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(QueryServer).InfusionAllByDestination(ctx, req.(*QueryAllInfusionByDestinationRequest)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Query_Permission_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(QueryGetPermissionRequest) - if err := dec(in); err != nil { +func (c *queryClient) Player(ctx context.Context, in *QueryGetPlayerRequest, opts ...grpc.CallOption) (*QueryGetPlayerResponse, error) { + out := new(QueryGetPlayerResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Query/Player", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(QueryServer).Permission(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/structs.structs.Query/Permission", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(QueryServer).Permission(ctx, req.(*QueryGetPermissionRequest)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Query_PermissionByObject_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(QueryAllPermissionByObjectRequest) - if err := dec(in); err != nil { +func (c *queryClient) PlayerAll(ctx context.Context, in *QueryAllPlayerRequest, opts ...grpc.CallOption) (*QueryAllPlayerResponse, error) { + out := new(QueryAllPlayerResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Query/PlayerAll", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(QueryServer).PermissionByObject(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/structs.structs.Query/PermissionByObject", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(QueryServer).PermissionByObject(ctx, req.(*QueryAllPermissionByObjectRequest)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Query_PermissionByPlayer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(QueryAllPermissionByPlayerRequest) - if err := dec(in); err != nil { +func (c *queryClient) PlayerHaltedAll(ctx context.Context, in *QueryAllPlayerHaltedRequest, opts ...grpc.CallOption) (*QueryAllPlayerHaltedResponse, error) { + out := new(QueryAllPlayerHaltedResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Query/PlayerHaltedAll", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(QueryServer).PermissionByPlayer(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/structs.structs.Query/PermissionByPlayer", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(QueryServer).PermissionByPlayer(ctx, req.(*QueryAllPermissionByPlayerRequest)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Query_PermissionAll_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(QueryAllPermissionRequest) - if err := dec(in); err != nil { +func (c *queryClient) Planet(ctx context.Context, in *QueryGetPlanetRequest, opts ...grpc.CallOption) (*QueryGetPlanetResponse, error) { + out := new(QueryGetPlanetResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Query/Planet", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(QueryServer).PermissionAll(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/structs.structs.Query/PermissionAll", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(QueryServer).PermissionAll(ctx, req.(*QueryAllPermissionRequest)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Query_Player_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(QueryGetPlayerRequest) - if err := dec(in); err != nil { +func (c *queryClient) PlanetAll(ctx context.Context, in *QueryAllPlanetRequest, opts ...grpc.CallOption) (*QueryAllPlanetResponse, error) { + out := new(QueryAllPlanetResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Query/PlanetAll", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(QueryServer).Player(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/structs.structs.Query/Player", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(QueryServer).Player(ctx, req.(*QueryGetPlayerRequest)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Query_PlayerAll_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(QueryAllPlayerRequest) - if err := dec(in); err != nil { +func (c *queryClient) PlanetAllByPlayer(ctx context.Context, in *QueryAllPlanetByPlayerRequest, opts ...grpc.CallOption) (*QueryAllPlanetResponse, error) { + out := new(QueryAllPlanetResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Query/PlanetAllByPlayer", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(QueryServer).PlayerAll(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/structs.structs.Query/PlayerAll", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(QueryServer).PlayerAll(ctx, req.(*QueryAllPlayerRequest)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Query_Planet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(QueryGetPlanetRequest) - if err := dec(in); err != nil { +func (c *queryClient) PlanetAttribute(ctx context.Context, in *QueryGetPlanetAttributeRequest, opts ...grpc.CallOption) (*QueryGetPlanetAttributeResponse, error) { + out := new(QueryGetPlanetAttributeResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Query/PlanetAttribute", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(QueryServer).Planet(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/structs.structs.Query/Planet", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(QueryServer).Planet(ctx, req.(*QueryGetPlanetRequest)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Query_PlanetAll_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(QueryAllPlanetRequest) - if err := dec(in); err != nil { +func (c *queryClient) PlanetAttributeAll(ctx context.Context, in *QueryAllPlanetAttributeRequest, opts ...grpc.CallOption) (*QueryAllPlanetAttributeResponse, error) { + out := new(QueryAllPlanetAttributeResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Query/PlanetAttributeAll", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(QueryServer).PlanetAll(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/structs.structs.Query/PlanetAll", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(QueryServer).PlanetAll(ctx, req.(*QueryAllPlanetRequest)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Query_PlanetAllByPlayer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(QueryAllPlanetByPlayerRequest) - if err := dec(in); err != nil { +func (c *queryClient) Provider(ctx context.Context, in *QueryGetProviderRequest, opts ...grpc.CallOption) (*QueryGetProviderResponse, error) { + out := new(QueryGetProviderResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Query/Provider", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(QueryServer).PlanetAllByPlayer(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/structs.structs.Query/PlanetAllByPlayer", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(QueryServer).PlanetAllByPlayer(ctx, req.(*QueryAllPlanetByPlayerRequest)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Query_PlanetAttribute_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(QueryGetPlanetAttributeRequest) - if err := dec(in); err != nil { +func (c *queryClient) ProviderAll(ctx context.Context, in *QueryAllProviderRequest, opts ...grpc.CallOption) (*QueryAllProviderResponse, error) { + out := new(QueryAllProviderResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Query/ProviderAll", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(QueryServer).PlanetAttribute(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/structs.structs.Query/PlanetAttribute", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(QueryServer).PlanetAttribute(ctx, req.(*QueryGetPlanetAttributeRequest)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Query_PlanetAttributeAll_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(QueryAllPlanetAttributeRequest) - if err := dec(in); err != nil { +func (c *queryClient) ProviderCollateralAddress(ctx context.Context, in *QueryGetProviderCollateralAddressRequest, opts ...grpc.CallOption) (*QueryAllProviderCollateralAddressResponse, error) { + out := new(QueryAllProviderCollateralAddressResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Query/ProviderCollateralAddress", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(QueryServer).PlanetAttributeAll(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/structs.structs.Query/PlanetAttributeAll", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(QueryServer).PlanetAttributeAll(ctx, req.(*QueryAllPlanetAttributeRequest)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Query_Reactor_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(QueryGetReactorRequest) - if err := dec(in); err != nil { +func (c *queryClient) ProviderCollateralAddressAll(ctx context.Context, in *QueryAllProviderCollateralAddressRequest, opts ...grpc.CallOption) (*QueryAllProviderCollateralAddressResponse, error) { + out := new(QueryAllProviderCollateralAddressResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Query/ProviderCollateralAddressAll", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(QueryServer).Reactor(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/structs.structs.Query/Reactor", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(QueryServer).Reactor(ctx, req.(*QueryGetReactorRequest)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Query_ReactorAll_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(QueryAllReactorRequest) - if err := dec(in); err != nil { +func (c *queryClient) ProviderEarningsAddress(ctx context.Context, in *QueryGetProviderEarningsAddressRequest, opts ...grpc.CallOption) (*QueryAllProviderEarningsAddressResponse, error) { + out := new(QueryAllProviderEarningsAddressResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Query/ProviderEarningsAddress", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(QueryServer).ReactorAll(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/structs.structs.Query/ReactorAll", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(QueryServer).ReactorAll(ctx, req.(*QueryAllReactorRequest)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Query_Struct_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(QueryGetStructRequest) - if err := dec(in); err != nil { +func (c *queryClient) ProviderEarningsAddressAll(ctx context.Context, in *QueryAllProviderEarningsAddressRequest, opts ...grpc.CallOption) (*QueryAllProviderEarningsAddressResponse, error) { + out := new(QueryAllProviderEarningsAddressResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Query/ProviderEarningsAddressAll", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(QueryServer).Struct(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/structs.structs.Query/Struct", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(QueryServer).Struct(ctx, req.(*QueryGetStructRequest)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Query_StructAll_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(QueryAllStructRequest) - if err := dec(in); err != nil { +func (c *queryClient) Reactor(ctx context.Context, in *QueryGetReactorRequest, opts ...grpc.CallOption) (*QueryGetReactorResponse, error) { + out := new(QueryGetReactorResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Query/Reactor", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(QueryServer).StructAll(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/structs.structs.Query/StructAll", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(QueryServer).StructAll(ctx, req.(*QueryAllStructRequest)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Query_StructAttribute_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(QueryGetStructAttributeRequest) - if err := dec(in); err != nil { +func (c *queryClient) ReactorAll(ctx context.Context, in *QueryAllReactorRequest, opts ...grpc.CallOption) (*QueryAllReactorResponse, error) { + out := new(QueryAllReactorResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Query/ReactorAll", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(QueryServer).StructAttribute(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/structs.structs.Query/StructAttribute", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(QueryServer).StructAttribute(ctx, req.(*QueryGetStructAttributeRequest)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Query_StructAttributeAll_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(QueryAllStructAttributeRequest) - if err := dec(in); err != nil { +func (c *queryClient) Struct(ctx context.Context, in *QueryGetStructRequest, opts ...grpc.CallOption) (*QueryGetStructResponse, error) { + out := new(QueryGetStructResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Query/Struct", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(QueryServer).StructAttributeAll(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/structs.structs.Query/StructAttributeAll", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(QueryServer).StructAttributeAll(ctx, req.(*QueryAllStructAttributeRequest)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Query_StructType_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(QueryGetStructTypeRequest) - if err := dec(in); err != nil { +func (c *queryClient) StructAll(ctx context.Context, in *QueryAllStructRequest, opts ...grpc.CallOption) (*QueryAllStructResponse, error) { + out := new(QueryAllStructResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Query/StructAll", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(QueryServer).StructType(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/structs.structs.Query/StructType", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(QueryServer).StructType(ctx, req.(*QueryGetStructTypeRequest)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Query_StructTypeAll_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(QueryAllStructTypeRequest) - if err := dec(in); err != nil { +func (c *queryClient) StructAttribute(ctx context.Context, in *QueryGetStructAttributeRequest, opts ...grpc.CallOption) (*QueryGetStructAttributeResponse, error) { + out := new(QueryGetStructAttributeResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Query/StructAttribute", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(QueryServer).StructTypeAll(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/structs.structs.Query/StructTypeAll", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(QueryServer).StructTypeAll(ctx, req.(*QueryAllStructTypeRequest)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Query_Substation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(QueryGetSubstationRequest) - if err := dec(in); err != nil { +func (c *queryClient) StructAttributeAll(ctx context.Context, in *QueryAllStructAttributeRequest, opts ...grpc.CallOption) (*QueryAllStructAttributeResponse, error) { + out := new(QueryAllStructAttributeResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Query/StructAttributeAll", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(QueryServer).Substation(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/structs.structs.Query/Substation", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(QueryServer).Substation(ctx, req.(*QueryGetSubstationRequest)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Query_SubstationAll_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(QueryAllSubstationRequest) - if err := dec(in); err != nil { +func (c *queryClient) StructType(ctx context.Context, in *QueryGetStructTypeRequest, opts ...grpc.CallOption) (*QueryGetStructTypeResponse, error) { + out := new(QueryGetStructTypeResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Query/StructType", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(QueryServer).SubstationAll(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/structs.structs.Query/SubstationAll", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(QueryServer).SubstationAll(ctx, req.(*QueryAllSubstationRequest)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Query_ValidateSignature_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(QueryValidateSignatureRequest) - if err := dec(in); err != nil { +func (c *queryClient) StructTypeAll(ctx context.Context, in *QueryAllStructTypeRequest, opts ...grpc.CallOption) (*QueryAllStructTypeResponse, error) { + out := new(QueryAllStructTypeResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Query/StructTypeAll", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(QueryServer).ValidateSignature(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/structs.structs.Query/ValidateSignature", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(QueryServer).ValidateSignature(ctx, req.(*QueryValidateSignatureRequest)) - } - return interceptor(ctx, in, info, handler) -} - -var _Query_serviceDesc = grpc.ServiceDesc{ - ServiceName: "structs.structs.Query", - HandlerType: (*QueryServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetBlockHeight", - Handler: _Query_GetBlockHeight_Handler, - }, - { - MethodName: "Params", - Handler: _Query_Params_Handler, - }, - { - MethodName: "Address", - Handler: _Query_Address_Handler, - }, - { - MethodName: "AddressAll", - Handler: _Query_AddressAll_Handler, - }, - { - MethodName: "AddressAllByPlayer", - Handler: _Query_AddressAllByPlayer_Handler, - }, - { - MethodName: "Allocation", - Handler: _Query_Allocation_Handler, - }, - { - MethodName: "AllocationAll", - Handler: _Query_AllocationAll_Handler, - }, - { - MethodName: "AllocationAllBySource", - Handler: _Query_AllocationAllBySource_Handler, - }, - { - MethodName: "AllocationAllByDestination", - Handler: _Query_AllocationAllByDestination_Handler, - }, - { - MethodName: "Fleet", - Handler: _Query_Fleet_Handler, - }, - { - MethodName: "FleetByIndex", - Handler: _Query_FleetByIndex_Handler, - }, - { - MethodName: "FleetAll", - Handler: _Query_FleetAll_Handler, - }, - { - MethodName: "Grid", - Handler: _Query_Grid_Handler, - }, - { - MethodName: "GridAll", - Handler: _Query_GridAll_Handler, - }, - { - MethodName: "Guild", - Handler: _Query_Guild_Handler, - }, - { - MethodName: "GuildAll", - Handler: _Query_GuildAll_Handler, - }, - { - MethodName: "GuildMembershipApplication", - Handler: _Query_GuildMembershipApplication_Handler, - }, - { - MethodName: "GuildMembershipApplicationAll", - Handler: _Query_GuildMembershipApplicationAll_Handler, - }, - { - MethodName: "Infusion", - Handler: _Query_Infusion_Handler, - }, - { - MethodName: "InfusionAll", - Handler: _Query_InfusionAll_Handler, - }, - { - MethodName: "InfusionAllByDestination", - Handler: _Query_InfusionAllByDestination_Handler, - }, - { - MethodName: "Permission", - Handler: _Query_Permission_Handler, - }, - { - MethodName: "PermissionByObject", - Handler: _Query_PermissionByObject_Handler, - }, - { - MethodName: "PermissionByPlayer", - Handler: _Query_PermissionByPlayer_Handler, - }, - { - MethodName: "PermissionAll", - Handler: _Query_PermissionAll_Handler, - }, - { - MethodName: "Player", - Handler: _Query_Player_Handler, - }, - { - MethodName: "PlayerAll", - Handler: _Query_PlayerAll_Handler, - }, - { - MethodName: "Planet", - Handler: _Query_Planet_Handler, - }, - { - MethodName: "PlanetAll", - Handler: _Query_PlanetAll_Handler, - }, - { - MethodName: "PlanetAllByPlayer", - Handler: _Query_PlanetAllByPlayer_Handler, - }, - { - MethodName: "PlanetAttribute", - Handler: _Query_PlanetAttribute_Handler, - }, - { - MethodName: "PlanetAttributeAll", - Handler: _Query_PlanetAttributeAll_Handler, - }, - { - MethodName: "Reactor", - Handler: _Query_Reactor_Handler, - }, - { - MethodName: "ReactorAll", - Handler: _Query_ReactorAll_Handler, - }, - { - MethodName: "Struct", - Handler: _Query_Struct_Handler, - }, - { - MethodName: "StructAll", - Handler: _Query_StructAll_Handler, - }, - { - MethodName: "StructAttribute", - Handler: _Query_StructAttribute_Handler, - }, - { - MethodName: "StructAttributeAll", - Handler: _Query_StructAttributeAll_Handler, - }, - { - MethodName: "StructType", - Handler: _Query_StructType_Handler, - }, - { - MethodName: "StructTypeAll", - Handler: _Query_StructTypeAll_Handler, - }, - { - MethodName: "Substation", - Handler: _Query_Substation_Handler, - }, - { - MethodName: "SubstationAll", - Handler: _Query_SubstationAll_Handler, - }, - { - MethodName: "ValidateSignature", - Handler: _Query_ValidateSignature_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "structs/structs/query.proto", + return out, nil } -func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) +func (c *queryClient) Substation(ctx context.Context, in *QueryGetSubstationRequest, opts ...grpc.CallOption) (*QueryGetSubstationResponse, error) { + out := new(QueryGetSubstationResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Query/Substation", in, out, opts...) if err != nil { return nil, err } - return dAtA[:n], nil + return out, nil } -func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - return len(dAtA) - i, nil -} - -func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) +func (c *queryClient) SubstationAll(ctx context.Context, in *QueryAllSubstationRequest, opts ...grpc.CallOption) (*QueryAllSubstationResponse, error) { + out := new(QueryAllSubstationResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Query/SubstationAll", in, out, opts...) if err != nil { return nil, err } - return dAtA[:n], nil -} - -func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - { - size, err := m.Params.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintQuery(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - return len(dAtA) - i, nil + return out, nil } -func (m *QueryBlockHeight) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) +func (c *queryClient) ValidateSignature(ctx context.Context, in *QueryValidateSignatureRequest, opts ...grpc.CallOption) (*QueryValidateSignatureResponse, error) { + out := new(QueryValidateSignatureResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Query/ValidateSignature", in, out, opts...) if err != nil { return nil, err } - return dAtA[:n], nil + return out, nil } -func (m *QueryBlockHeight) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +// QueryServer is the server API for Query service. +type QueryServer interface { + GetBlockHeight(context.Context, *QueryBlockHeight) (*QueryBlockHeightResponse, error) + // Parameters queries the parameters of the module. + Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) + // Queries for Addresses. + Address(context.Context, *QueryGetAddressRequest) (*QueryAddressResponse, error) + AddressAll(context.Context, *QueryAllAddressRequest) (*QueryAllAddressResponse, error) + AddressAllByPlayer(context.Context, *QueryAllAddressByPlayerRequest) (*QueryAllAddressResponse, error) + // Queries a list of Agreement items. + Agreement(context.Context, *QueryGetAgreementRequest) (*QueryGetAgreementResponse, error) + AgreementAll(context.Context, *QueryAllAgreementRequest) (*QueryAllAgreementResponse, error) + AgreementAllByProvider(context.Context, *QueryAllAgreementByProviderRequest) (*QueryAllAgreementResponse, error) + // Queries a list of Allocation items. + Allocation(context.Context, *QueryGetAllocationRequest) (*QueryGetAllocationResponse, error) + AllocationAll(context.Context, *QueryAllAllocationRequest) (*QueryAllAllocationResponse, error) + AllocationAllBySource(context.Context, *QueryAllAllocationBySourceRequest) (*QueryAllAllocationResponse, error) + AllocationAllByDestination(context.Context, *QueryAllAllocationByDestinationRequest) (*QueryAllAllocationResponse, error) + // Queries a list of Fleet items. + Fleet(context.Context, *QueryGetFleetRequest) (*QueryGetFleetResponse, error) + FleetByIndex(context.Context, *QueryGetFleetByIndexRequest) (*QueryGetFleetResponse, error) + FleetAll(context.Context, *QueryAllFleetRequest) (*QueryAllFleetResponse, error) + // Queries a specific Grid details + Grid(context.Context, *QueryGetGridRequest) (*QueryGetGridResponse, error) + // Queries a list of all Grid details + GridAll(context.Context, *QueryAllGridRequest) (*QueryAllGridResponse, error) + // Queries a list of Guild items. + Guild(context.Context, *QueryGetGuildRequest) (*QueryGetGuildResponse, error) + GuildAll(context.Context, *QueryAllGuildRequest) (*QueryAllGuildResponse, error) + GuildBankCollateralAddress(context.Context, *QueryGetGuildBankCollateralAddressRequest) (*QueryAllGuildBankCollateralAddressResponse, error) + GuildBankCollateralAddressAll(context.Context, *QueryAllGuildBankCollateralAddressRequest) (*QueryAllGuildBankCollateralAddressResponse, error) + GuildMembershipApplication(context.Context, *QueryGetGuildMembershipApplicationRequest) (*QueryGetGuildMembershipApplicationResponse, error) + GuildMembershipApplicationAll(context.Context, *QueryAllGuildMembershipApplicationRequest) (*QueryAllGuildMembershipApplicationResponse, error) + // Queries a list of Infusions. + Infusion(context.Context, *QueryGetInfusionRequest) (*QueryGetInfusionResponse, error) + InfusionAll(context.Context, *QueryAllInfusionRequest) (*QueryAllInfusionResponse, error) + InfusionAllByDestination(context.Context, *QueryAllInfusionByDestinationRequest) (*QueryAllInfusionResponse, error) + // Queries a specific Permission + Permission(context.Context, *QueryGetPermissionRequest) (*QueryGetPermissionResponse, error) + // Queries a list of Permissions based on Object + PermissionByObject(context.Context, *QueryAllPermissionByObjectRequest) (*QueryAllPermissionResponse, error) + // Queries a list of Permissions based on the Player with the permissions + PermissionByPlayer(context.Context, *QueryAllPermissionByPlayerRequest) (*QueryAllPermissionResponse, error) + // Queries a list of all Permissions + PermissionAll(context.Context, *QueryAllPermissionRequest) (*QueryAllPermissionResponse, error) + // Queries a list of Player items. + Player(context.Context, *QueryGetPlayerRequest) (*QueryGetPlayerResponse, error) + PlayerAll(context.Context, *QueryAllPlayerRequest) (*QueryAllPlayerResponse, error) + PlayerHaltedAll(context.Context, *QueryAllPlayerHaltedRequest) (*QueryAllPlayerHaltedResponse, error) + // Queries a list of Planet items. + Planet(context.Context, *QueryGetPlanetRequest) (*QueryGetPlanetResponse, error) + PlanetAll(context.Context, *QueryAllPlanetRequest) (*QueryAllPlanetResponse, error) + PlanetAllByPlayer(context.Context, *QueryAllPlanetByPlayerRequest) (*QueryAllPlanetResponse, error) + PlanetAttribute(context.Context, *QueryGetPlanetAttributeRequest) (*QueryGetPlanetAttributeResponse, error) + // Queries a list of all Planet Attributes + PlanetAttributeAll(context.Context, *QueryAllPlanetAttributeRequest) (*QueryAllPlanetAttributeResponse, error) + // Queries a list of Allocation items. + Provider(context.Context, *QueryGetProviderRequest) (*QueryGetProviderResponse, error) + ProviderAll(context.Context, *QueryAllProviderRequest) (*QueryAllProviderResponse, error) + ProviderCollateralAddress(context.Context, *QueryGetProviderCollateralAddressRequest) (*QueryAllProviderCollateralAddressResponse, error) + ProviderCollateralAddressAll(context.Context, *QueryAllProviderCollateralAddressRequest) (*QueryAllProviderCollateralAddressResponse, error) + // TODO Requires a lookup table that I don't know if we care about + // rpc ProviderByCollateralAddress (QueryGetProviderByCollateralAddressRequest) returns (QueryGetProviderResponse) { + // option (google.api.http).get = "/structs/provider_by_collateral_address/{address}"; + // } + ProviderEarningsAddress(context.Context, *QueryGetProviderEarningsAddressRequest) (*QueryAllProviderEarningsAddressResponse, error) + ProviderEarningsAddressAll(context.Context, *QueryAllProviderEarningsAddressRequest) (*QueryAllProviderEarningsAddressResponse, error) + // Queries a list of Reactor items. + Reactor(context.Context, *QueryGetReactorRequest) (*QueryGetReactorResponse, error) + ReactorAll(context.Context, *QueryAllReactorRequest) (*QueryAllReactorResponse, error) + // Queries a list of Structs items. + Struct(context.Context, *QueryGetStructRequest) (*QueryGetStructResponse, error) + StructAll(context.Context, *QueryAllStructRequest) (*QueryAllStructResponse, error) + StructAttribute(context.Context, *QueryGetStructAttributeRequest) (*QueryGetStructAttributeResponse, error) + // Queries a list of all Struct Attributes + StructAttributeAll(context.Context, *QueryAllStructAttributeRequest) (*QueryAllStructAttributeResponse, error) + // Queries a list of Struct Types items. + StructType(context.Context, *QueryGetStructTypeRequest) (*QueryGetStructTypeResponse, error) + StructTypeAll(context.Context, *QueryAllStructTypeRequest) (*QueryAllStructTypeResponse, error) + // Queries a list of Substation items. + Substation(context.Context, *QueryGetSubstationRequest) (*QueryGetSubstationResponse, error) + SubstationAll(context.Context, *QueryAllSubstationRequest) (*QueryAllSubstationResponse, error) + ValidateSignature(context.Context, *QueryValidateSignatureRequest) (*QueryValidateSignatureResponse, error) } -func (m *QueryBlockHeight) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - return len(dAtA) - i, nil +// UnimplementedQueryServer can be embedded to have forward compatible implementations. +type UnimplementedQueryServer struct { } -func (m *QueryBlockHeightResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil +func (*UnimplementedQueryServer) GetBlockHeight(ctx context.Context, req *QueryBlockHeight) (*QueryBlockHeightResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetBlockHeight not implemented") } - -func (m *QueryBlockHeightResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method Params not implemented") } - -func (m *QueryBlockHeightResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.BlockHeight != 0 { - i = encodeVarintQuery(dAtA, i, uint64(m.BlockHeight)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil +func (*UnimplementedQueryServer) Address(ctx context.Context, req *QueryGetAddressRequest) (*QueryAddressResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method Address not implemented") } - -func (m *QueryGetAddressRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil +func (*UnimplementedQueryServer) AddressAll(ctx context.Context, req *QueryAllAddressRequest) (*QueryAllAddressResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method AddressAll not implemented") } - -func (m *QueryGetAddressRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func (*UnimplementedQueryServer) AddressAllByPlayer(ctx context.Context, req *QueryAllAddressByPlayerRequest) (*QueryAllAddressResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method AddressAllByPlayer not implemented") } - -func (m *QueryGetAddressRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Address) > 0 { - i -= len(m.Address) - copy(dAtA[i:], m.Address) - i = encodeVarintQuery(dAtA, i, uint64(len(m.Address))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil +func (*UnimplementedQueryServer) Agreement(ctx context.Context, req *QueryGetAgreementRequest) (*QueryGetAgreementResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method Agreement not implemented") } - -func (m *QueryAllAddressByPlayerRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil +func (*UnimplementedQueryServer) AgreementAll(ctx context.Context, req *QueryAllAgreementRequest) (*QueryAllAgreementResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method AgreementAll not implemented") } - -func (m *QueryAllAddressByPlayerRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func (*UnimplementedQueryServer) AgreementAllByProvider(ctx context.Context, req *QueryAllAgreementByProviderRequest) (*QueryAllAgreementResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method AgreementAllByProvider not implemented") } - -func (m *QueryAllAddressByPlayerRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Pagination != nil { - { - size, err := m.Pagination.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintQuery(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if len(m.PlayerId) > 0 { - i -= len(m.PlayerId) - copy(dAtA[i:], m.PlayerId) - i = encodeVarintQuery(dAtA, i, uint64(len(m.PlayerId))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil +func (*UnimplementedQueryServer) Allocation(ctx context.Context, req *QueryGetAllocationRequest) (*QueryGetAllocationResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method Allocation not implemented") } - -func (m *QueryAllAddressRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil +func (*UnimplementedQueryServer) AllocationAll(ctx context.Context, req *QueryAllAllocationRequest) (*QueryAllAllocationResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method AllocationAll not implemented") } - -func (m *QueryAllAddressRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func (*UnimplementedQueryServer) AllocationAllBySource(ctx context.Context, req *QueryAllAllocationBySourceRequest) (*QueryAllAllocationResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method AllocationAllBySource not implemented") } - -func (m *QueryAllAddressRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Pagination != nil { - { - size, err := m.Pagination.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintQuery(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil +func (*UnimplementedQueryServer) AllocationAllByDestination(ctx context.Context, req *QueryAllAllocationByDestinationRequest) (*QueryAllAllocationResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method AllocationAllByDestination not implemented") } - -func (m *QueryAddressResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil +func (*UnimplementedQueryServer) Fleet(ctx context.Context, req *QueryGetFleetRequest) (*QueryGetFleetResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method Fleet not implemented") +} +func (*UnimplementedQueryServer) FleetByIndex(ctx context.Context, req *QueryGetFleetByIndexRequest) (*QueryGetFleetResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method FleetByIndex not implemented") +} +func (*UnimplementedQueryServer) FleetAll(ctx context.Context, req *QueryAllFleetRequest) (*QueryAllFleetResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method FleetAll not implemented") +} +func (*UnimplementedQueryServer) Grid(ctx context.Context, req *QueryGetGridRequest) (*QueryGetGridResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method Grid not implemented") +} +func (*UnimplementedQueryServer) GridAll(ctx context.Context, req *QueryAllGridRequest) (*QueryAllGridResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GridAll not implemented") +} +func (*UnimplementedQueryServer) Guild(ctx context.Context, req *QueryGetGuildRequest) (*QueryGetGuildResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method Guild not implemented") +} +func (*UnimplementedQueryServer) GuildAll(ctx context.Context, req *QueryAllGuildRequest) (*QueryAllGuildResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GuildAll not implemented") +} +func (*UnimplementedQueryServer) GuildBankCollateralAddress(ctx context.Context, req *QueryGetGuildBankCollateralAddressRequest) (*QueryAllGuildBankCollateralAddressResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GuildBankCollateralAddress not implemented") +} +func (*UnimplementedQueryServer) GuildBankCollateralAddressAll(ctx context.Context, req *QueryAllGuildBankCollateralAddressRequest) (*QueryAllGuildBankCollateralAddressResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GuildBankCollateralAddressAll not implemented") +} +func (*UnimplementedQueryServer) GuildMembershipApplication(ctx context.Context, req *QueryGetGuildMembershipApplicationRequest) (*QueryGetGuildMembershipApplicationResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GuildMembershipApplication not implemented") +} +func (*UnimplementedQueryServer) GuildMembershipApplicationAll(ctx context.Context, req *QueryAllGuildMembershipApplicationRequest) (*QueryAllGuildMembershipApplicationResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GuildMembershipApplicationAll not implemented") +} +func (*UnimplementedQueryServer) Infusion(ctx context.Context, req *QueryGetInfusionRequest) (*QueryGetInfusionResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method Infusion not implemented") +} +func (*UnimplementedQueryServer) InfusionAll(ctx context.Context, req *QueryAllInfusionRequest) (*QueryAllInfusionResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method InfusionAll not implemented") +} +func (*UnimplementedQueryServer) InfusionAllByDestination(ctx context.Context, req *QueryAllInfusionByDestinationRequest) (*QueryAllInfusionResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method InfusionAllByDestination not implemented") +} +func (*UnimplementedQueryServer) Permission(ctx context.Context, req *QueryGetPermissionRequest) (*QueryGetPermissionResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method Permission not implemented") +} +func (*UnimplementedQueryServer) PermissionByObject(ctx context.Context, req *QueryAllPermissionByObjectRequest) (*QueryAllPermissionResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method PermissionByObject not implemented") +} +func (*UnimplementedQueryServer) PermissionByPlayer(ctx context.Context, req *QueryAllPermissionByPlayerRequest) (*QueryAllPermissionResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method PermissionByPlayer not implemented") +} +func (*UnimplementedQueryServer) PermissionAll(ctx context.Context, req *QueryAllPermissionRequest) (*QueryAllPermissionResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method PermissionAll not implemented") +} +func (*UnimplementedQueryServer) Player(ctx context.Context, req *QueryGetPlayerRequest) (*QueryGetPlayerResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method Player not implemented") +} +func (*UnimplementedQueryServer) PlayerAll(ctx context.Context, req *QueryAllPlayerRequest) (*QueryAllPlayerResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method PlayerAll not implemented") +} +func (*UnimplementedQueryServer) PlayerHaltedAll(ctx context.Context, req *QueryAllPlayerHaltedRequest) (*QueryAllPlayerHaltedResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method PlayerHaltedAll not implemented") +} +func (*UnimplementedQueryServer) Planet(ctx context.Context, req *QueryGetPlanetRequest) (*QueryGetPlanetResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method Planet not implemented") +} +func (*UnimplementedQueryServer) PlanetAll(ctx context.Context, req *QueryAllPlanetRequest) (*QueryAllPlanetResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method PlanetAll not implemented") +} +func (*UnimplementedQueryServer) PlanetAllByPlayer(ctx context.Context, req *QueryAllPlanetByPlayerRequest) (*QueryAllPlanetResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method PlanetAllByPlayer not implemented") +} +func (*UnimplementedQueryServer) PlanetAttribute(ctx context.Context, req *QueryGetPlanetAttributeRequest) (*QueryGetPlanetAttributeResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method PlanetAttribute not implemented") +} +func (*UnimplementedQueryServer) PlanetAttributeAll(ctx context.Context, req *QueryAllPlanetAttributeRequest) (*QueryAllPlanetAttributeResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method PlanetAttributeAll not implemented") +} +func (*UnimplementedQueryServer) Provider(ctx context.Context, req *QueryGetProviderRequest) (*QueryGetProviderResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method Provider not implemented") +} +func (*UnimplementedQueryServer) ProviderAll(ctx context.Context, req *QueryAllProviderRequest) (*QueryAllProviderResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ProviderAll not implemented") +} +func (*UnimplementedQueryServer) ProviderCollateralAddress(ctx context.Context, req *QueryGetProviderCollateralAddressRequest) (*QueryAllProviderCollateralAddressResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ProviderCollateralAddress not implemented") +} +func (*UnimplementedQueryServer) ProviderCollateralAddressAll(ctx context.Context, req *QueryAllProviderCollateralAddressRequest) (*QueryAllProviderCollateralAddressResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ProviderCollateralAddressAll not implemented") +} +func (*UnimplementedQueryServer) ProviderEarningsAddress(ctx context.Context, req *QueryGetProviderEarningsAddressRequest) (*QueryAllProviderEarningsAddressResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ProviderEarningsAddress not implemented") +} +func (*UnimplementedQueryServer) ProviderEarningsAddressAll(ctx context.Context, req *QueryAllProviderEarningsAddressRequest) (*QueryAllProviderEarningsAddressResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ProviderEarningsAddressAll not implemented") +} +func (*UnimplementedQueryServer) Reactor(ctx context.Context, req *QueryGetReactorRequest) (*QueryGetReactorResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method Reactor not implemented") +} +func (*UnimplementedQueryServer) ReactorAll(ctx context.Context, req *QueryAllReactorRequest) (*QueryAllReactorResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ReactorAll not implemented") +} +func (*UnimplementedQueryServer) Struct(ctx context.Context, req *QueryGetStructRequest) (*QueryGetStructResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method Struct not implemented") +} +func (*UnimplementedQueryServer) StructAll(ctx context.Context, req *QueryAllStructRequest) (*QueryAllStructResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method StructAll not implemented") +} +func (*UnimplementedQueryServer) StructAttribute(ctx context.Context, req *QueryGetStructAttributeRequest) (*QueryGetStructAttributeResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method StructAttribute not implemented") +} +func (*UnimplementedQueryServer) StructAttributeAll(ctx context.Context, req *QueryAllStructAttributeRequest) (*QueryAllStructAttributeResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method StructAttributeAll not implemented") +} +func (*UnimplementedQueryServer) StructType(ctx context.Context, req *QueryGetStructTypeRequest) (*QueryGetStructTypeResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method StructType not implemented") +} +func (*UnimplementedQueryServer) StructTypeAll(ctx context.Context, req *QueryAllStructTypeRequest) (*QueryAllStructTypeResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method StructTypeAll not implemented") +} +func (*UnimplementedQueryServer) Substation(ctx context.Context, req *QueryGetSubstationRequest) (*QueryGetSubstationResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method Substation not implemented") +} +func (*UnimplementedQueryServer) SubstationAll(ctx context.Context, req *QueryAllSubstationRequest) (*QueryAllSubstationResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method SubstationAll not implemented") +} +func (*UnimplementedQueryServer) ValidateSignature(ctx context.Context, req *QueryValidateSignatureRequest) (*QueryValidateSignatureResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ValidateSignature not implemented") } -func (m *QueryAddressResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func RegisterQueryServer(s grpc1.Server, srv QueryServer) { + s.RegisterService(&_Query_serviceDesc, srv) } -func (m *QueryAddressResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Permissions != 0 { - i = encodeVarintQuery(dAtA, i, uint64(m.Permissions)) - i-- - dAtA[i] = 0x18 +func _Query_GetBlockHeight_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(QueryBlockHeight) + if err := dec(in); err != nil { + return nil, err } - if len(m.PlayerId) > 0 { - i -= len(m.PlayerId) - copy(dAtA[i:], m.PlayerId) - i = encodeVarintQuery(dAtA, i, uint64(len(m.PlayerId))) - i-- - dAtA[i] = 0x12 + if interceptor == nil { + return srv.(QueryServer).GetBlockHeight(ctx, in) } - if len(m.Address) > 0 { - i -= len(m.Address) - copy(dAtA[i:], m.Address) - i = encodeVarintQuery(dAtA, i, uint64(len(m.Address))) - i-- - dAtA[i] = 0xa + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Query/GetBlockHeight", } - return len(dAtA) - i, nil + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServer).GetBlockHeight(ctx, req.(*QueryBlockHeight)) + } + return interceptor(ctx, in, info, handler) } -func (m *QueryAllAddressResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { +func _Query_Params_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(QueryParamsRequest) + if err := dec(in); err != nil { return nil, err } - return dAtA[:n], nil -} - -func (m *QueryAllAddressResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *QueryAllAddressResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Pagination != nil { - { - size, err := m.Pagination.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintQuery(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 + if interceptor == nil { + return srv.(QueryServer).Params(ctx, in) } - if len(m.Address) > 0 { - for iNdEx := len(m.Address) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Address[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintQuery(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Query/Params", } - return len(dAtA) - i, nil + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServer).Params(ctx, req.(*QueryParamsRequest)) + } + return interceptor(ctx, in, info, handler) } -func (m *QueryGetAllocationRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { +func _Query_Address_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(QueryGetAddressRequest) + if err := dec(in); err != nil { return nil, err } - return dAtA[:n], nil -} - -func (m *QueryGetAllocationRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) + if interceptor == nil { + return srv.(QueryServer).Address(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Query/Address", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServer).Address(ctx, req.(*QueryGetAddressRequest)) + } + return interceptor(ctx, in, info, handler) } -func (m *QueryGetAllocationRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Id) > 0 { - i -= len(m.Id) - copy(dAtA[i:], m.Id) - i = encodeVarintQuery(dAtA, i, uint64(len(m.Id))) - i-- - dAtA[i] = 0xa +func _Query_AddressAll_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(QueryAllAddressRequest) + if err := dec(in); err != nil { + return nil, err } - return len(dAtA) - i, nil + if interceptor == nil { + return srv.(QueryServer).AddressAll(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Query/AddressAll", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServer).AddressAll(ctx, req.(*QueryAllAddressRequest)) + } + return interceptor(ctx, in, info, handler) } -func (m *QueryGetAllocationResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { +func _Query_AddressAllByPlayer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(QueryAllAddressByPlayerRequest) + if err := dec(in); err != nil { return nil, err } - return dAtA[:n], nil + if interceptor == nil { + return srv.(QueryServer).AddressAllByPlayer(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Query/AddressAllByPlayer", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServer).AddressAllByPlayer(ctx, req.(*QueryAllAddressByPlayerRequest)) + } + return interceptor(ctx, in, info, handler) } -func (m *QueryGetAllocationResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func _Query_Agreement_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(QueryGetAgreementRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServer).Agreement(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Query/Agreement", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServer).Agreement(ctx, req.(*QueryGetAgreementRequest)) + } + return interceptor(ctx, in, info, handler) } -func (m *QueryGetAllocationResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.GridAttributes != nil { - { - size, err := m.GridAttributes.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintQuery(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 +func _Query_AgreementAll_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(QueryAllAgreementRequest) + if err := dec(in); err != nil { + return nil, err } - { - size, err := m.Allocation.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintQuery(dAtA, i, uint64(size)) + if interceptor == nil { + return srv.(QueryServer).AgreementAll(ctx, in) } - i-- - dAtA[i] = 0xa - return len(dAtA) - i, nil + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Query/AgreementAll", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServer).AgreementAll(ctx, req.(*QueryAllAgreementRequest)) + } + return interceptor(ctx, in, info, handler) } -func (m *QueryAllAllocationRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { +func _Query_AgreementAllByProvider_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(QueryAllAgreementByProviderRequest) + if err := dec(in); err != nil { return nil, err } - return dAtA[:n], nil + if interceptor == nil { + return srv.(QueryServer).AgreementAllByProvider(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Query/AgreementAllByProvider", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServer).AgreementAllByProvider(ctx, req.(*QueryAllAgreementByProviderRequest)) + } + return interceptor(ctx, in, info, handler) } -func (m *QueryAllAllocationRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func _Query_Allocation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(QueryGetAllocationRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServer).Allocation(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Query/Allocation", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServer).Allocation(ctx, req.(*QueryGetAllocationRequest)) + } + return interceptor(ctx, in, info, handler) } -func (m *QueryAllAllocationRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Pagination != nil { - { - size, err := m.Pagination.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintQuery(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa +func _Query_AllocationAll_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(QueryAllAllocationRequest) + if err := dec(in); err != nil { + return nil, err } - return len(dAtA) - i, nil + if interceptor == nil { + return srv.(QueryServer).AllocationAll(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Query/AllocationAll", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServer).AllocationAll(ctx, req.(*QueryAllAllocationRequest)) + } + return interceptor(ctx, in, info, handler) } -func (m *QueryAllAllocationBySourceRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { +func _Query_AllocationAllBySource_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(QueryAllAllocationBySourceRequest) + if err := dec(in); err != nil { return nil, err } - return dAtA[:n], nil + if interceptor == nil { + return srv.(QueryServer).AllocationAllBySource(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Query/AllocationAllBySource", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServer).AllocationAllBySource(ctx, req.(*QueryAllAllocationBySourceRequest)) + } + return interceptor(ctx, in, info, handler) } -func (m *QueryAllAllocationBySourceRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func _Query_AllocationAllByDestination_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(QueryAllAllocationByDestinationRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServer).AllocationAllByDestination(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Query/AllocationAllByDestination", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServer).AllocationAllByDestination(ctx, req.(*QueryAllAllocationByDestinationRequest)) + } + return interceptor(ctx, in, info, handler) } -func (m *QueryAllAllocationBySourceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.SourceId) > 0 { - i -= len(m.SourceId) - copy(dAtA[i:], m.SourceId) - i = encodeVarintQuery(dAtA, i, uint64(len(m.SourceId))) - i-- - dAtA[i] = 0x12 +func _Query_Fleet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(QueryGetFleetRequest) + if err := dec(in); err != nil { + return nil, err } - if m.Pagination != nil { - { - size, err := m.Pagination.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintQuery(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa + if interceptor == nil { + return srv.(QueryServer).Fleet(ctx, in) } - return len(dAtA) - i, nil + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Query/Fleet", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServer).Fleet(ctx, req.(*QueryGetFleetRequest)) + } + return interceptor(ctx, in, info, handler) } -func (m *QueryAllAllocationByDestinationRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { +func _Query_FleetByIndex_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(QueryGetFleetByIndexRequest) + if err := dec(in); err != nil { return nil, err } - return dAtA[:n], nil + if interceptor == nil { + return srv.(QueryServer).FleetByIndex(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Query/FleetByIndex", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServer).FleetByIndex(ctx, req.(*QueryGetFleetByIndexRequest)) + } + return interceptor(ctx, in, info, handler) } -func (m *QueryAllAllocationByDestinationRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *QueryAllAllocationByDestinationRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.DestinationId) > 0 { - i -= len(m.DestinationId) - copy(dAtA[i:], m.DestinationId) - i = encodeVarintQuery(dAtA, i, uint64(len(m.DestinationId))) - i-- - dAtA[i] = 0x12 +func _Query_FleetAll_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(QueryAllFleetRequest) + if err := dec(in); err != nil { + return nil, err } - if m.Pagination != nil { - { - size, err := m.Pagination.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintQuery(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa + if interceptor == nil { + return srv.(QueryServer).FleetAll(ctx, in) } - return len(dAtA) - i, nil + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Query/FleetAll", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServer).FleetAll(ctx, req.(*QueryAllFleetRequest)) + } + return interceptor(ctx, in, info, handler) } -func (m *QueryAllAllocationResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { +func _Query_Grid_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(QueryGetGridRequest) + if err := dec(in); err != nil { return nil, err } - return dAtA[:n], nil -} - -func (m *QueryAllAllocationResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *QueryAllAllocationResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Status) > 0 { - dAtA11 := make([]byte, len(m.Status)*10) - var j10 int - for _, num := range m.Status { - for num >= 1<<7 { - dAtA11[j10] = uint8(uint64(num)&0x7f | 0x80) - num >>= 7 - j10++ - } - dAtA11[j10] = uint8(num) - j10++ - } - i -= j10 - copy(dAtA[i:], dAtA11[:j10]) - i = encodeVarintQuery(dAtA, i, uint64(j10)) - i-- - dAtA[i] = 0x1a + if interceptor == nil { + return srv.(QueryServer).Grid(ctx, in) } - if m.Pagination != nil { - { - size, err := m.Pagination.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintQuery(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Query/Grid", } - if len(m.Allocation) > 0 { - for iNdEx := len(m.Allocation) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Allocation[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintQuery(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServer).Grid(ctx, req.(*QueryGetGridRequest)) } - return len(dAtA) - i, nil + return interceptor(ctx, in, info, handler) } -func (m *QueryGetFleetRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { +func _Query_GridAll_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(QueryAllGridRequest) + if err := dec(in); err != nil { return nil, err } - return dAtA[:n], nil -} - -func (m *QueryGetFleetRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *QueryGetFleetRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Id) > 0 { - i -= len(m.Id) - copy(dAtA[i:], m.Id) - i = encodeVarintQuery(dAtA, i, uint64(len(m.Id))) - i-- - dAtA[i] = 0xa + if interceptor == nil { + return srv.(QueryServer).GridAll(ctx, in) } - return len(dAtA) - i, nil + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Query/GridAll", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServer).GridAll(ctx, req.(*QueryAllGridRequest)) + } + return interceptor(ctx, in, info, handler) } -func (m *QueryGetFleetResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { +func _Query_Guild_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(QueryGetGuildRequest) + if err := dec(in); err != nil { return nil, err } - return dAtA[:n], nil -} - -func (m *QueryGetFleetResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *QueryGetFleetResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - { - size, err := m.Fleet.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintQuery(dAtA, i, uint64(size)) + if interceptor == nil { + return srv.(QueryServer).Guild(ctx, in) } - i-- - dAtA[i] = 0xa - return len(dAtA) - i, nil + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Query/Guild", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServer).Guild(ctx, req.(*QueryGetGuildRequest)) + } + return interceptor(ctx, in, info, handler) } -func (m *QueryGetFleetByIndexRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { +func _Query_GuildAll_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(QueryAllGuildRequest) + if err := dec(in); err != nil { return nil, err } - return dAtA[:n], nil + if interceptor == nil { + return srv.(QueryServer).GuildAll(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Query/GuildAll", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServer).GuildAll(ctx, req.(*QueryAllGuildRequest)) + } + return interceptor(ctx, in, info, handler) } -func (m *QueryGetFleetByIndexRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func _Query_GuildBankCollateralAddress_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(QueryGetGuildBankCollateralAddressRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServer).GuildBankCollateralAddress(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Query/GuildBankCollateralAddress", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServer).GuildBankCollateralAddress(ctx, req.(*QueryGetGuildBankCollateralAddressRequest)) + } + return interceptor(ctx, in, info, handler) } -func (m *QueryGetFleetByIndexRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Index != 0 { - i = encodeVarintQuery(dAtA, i, uint64(m.Index)) - i-- - dAtA[i] = 0x8 +func _Query_GuildBankCollateralAddressAll_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(QueryAllGuildBankCollateralAddressRequest) + if err := dec(in); err != nil { + return nil, err } - return len(dAtA) - i, nil + if interceptor == nil { + return srv.(QueryServer).GuildBankCollateralAddressAll(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Query/GuildBankCollateralAddressAll", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServer).GuildBankCollateralAddressAll(ctx, req.(*QueryAllGuildBankCollateralAddressRequest)) + } + return interceptor(ctx, in, info, handler) } -func (m *QueryAllFleetRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { +func _Query_GuildMembershipApplication_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(QueryGetGuildMembershipApplicationRequest) + if err := dec(in); err != nil { return nil, err } - return dAtA[:n], nil + if interceptor == nil { + return srv.(QueryServer).GuildMembershipApplication(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Query/GuildMembershipApplication", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServer).GuildMembershipApplication(ctx, req.(*QueryGetGuildMembershipApplicationRequest)) + } + return interceptor(ctx, in, info, handler) } -func (m *QueryAllFleetRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *QueryAllFleetRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Pagination != nil { - { - size, err := m.Pagination.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintQuery(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa +func _Query_GuildMembershipApplicationAll_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(QueryAllGuildMembershipApplicationRequest) + if err := dec(in); err != nil { + return nil, err } - return len(dAtA) - i, nil + if interceptor == nil { + return srv.(QueryServer).GuildMembershipApplicationAll(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Query/GuildMembershipApplicationAll", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServer).GuildMembershipApplicationAll(ctx, req.(*QueryAllGuildMembershipApplicationRequest)) + } + return interceptor(ctx, in, info, handler) } -func (m *QueryAllFleetResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { +func _Query_Infusion_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(QueryGetInfusionRequest) + if err := dec(in); err != nil { return nil, err } - return dAtA[:n], nil -} - -func (m *QueryAllFleetResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *QueryAllFleetResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Pagination != nil { - { - size, err := m.Pagination.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintQuery(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 + if interceptor == nil { + return srv.(QueryServer).Infusion(ctx, in) } - if len(m.Fleet) > 0 { - for iNdEx := len(m.Fleet) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Fleet[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintQuery(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Query/Infusion", } - return len(dAtA) - i, nil + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServer).Infusion(ctx, req.(*QueryGetInfusionRequest)) + } + return interceptor(ctx, in, info, handler) } -func (m *QueryGetGridRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { +func _Query_InfusionAll_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(QueryAllInfusionRequest) + if err := dec(in); err != nil { return nil, err } - return dAtA[:n], nil -} - -func (m *QueryGetGridRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) + if interceptor == nil { + return srv.(QueryServer).InfusionAll(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Query/InfusionAll", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServer).InfusionAll(ctx, req.(*QueryAllInfusionRequest)) + } + return interceptor(ctx, in, info, handler) } -func (m *QueryGetGridRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.AttributeId) > 0 { - i -= len(m.AttributeId) - copy(dAtA[i:], m.AttributeId) - i = encodeVarintQuery(dAtA, i, uint64(len(m.AttributeId))) - i-- - dAtA[i] = 0xa +func _Query_InfusionAllByDestination_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(QueryAllInfusionByDestinationRequest) + if err := dec(in); err != nil { + return nil, err } - return len(dAtA) - i, nil + if interceptor == nil { + return srv.(QueryServer).InfusionAllByDestination(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Query/InfusionAllByDestination", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServer).InfusionAllByDestination(ctx, req.(*QueryAllInfusionByDestinationRequest)) + } + return interceptor(ctx, in, info, handler) } -func (m *QueryAllGridRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { +func _Query_Permission_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(QueryGetPermissionRequest) + if err := dec(in); err != nil { return nil, err } - return dAtA[:n], nil + if interceptor == nil { + return srv.(QueryServer).Permission(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Query/Permission", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServer).Permission(ctx, req.(*QueryGetPermissionRequest)) + } + return interceptor(ctx, in, info, handler) } -func (m *QueryAllGridRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func _Query_PermissionByObject_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(QueryAllPermissionByObjectRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServer).PermissionByObject(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Query/PermissionByObject", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServer).PermissionByObject(ctx, req.(*QueryAllPermissionByObjectRequest)) + } + return interceptor(ctx, in, info, handler) } -func (m *QueryAllGridRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Pagination != nil { - { - size, err := m.Pagination.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintQuery(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa +func _Query_PermissionByPlayer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(QueryAllPermissionByPlayerRequest) + if err := dec(in); err != nil { + return nil, err } - return len(dAtA) - i, nil + if interceptor == nil { + return srv.(QueryServer).PermissionByPlayer(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Query/PermissionByPlayer", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServer).PermissionByPlayer(ctx, req.(*QueryAllPermissionByPlayerRequest)) + } + return interceptor(ctx, in, info, handler) } -func (m *QueryGetGridResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { +func _Query_PermissionAll_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(QueryAllPermissionRequest) + if err := dec(in); err != nil { return nil, err } - return dAtA[:n], nil + if interceptor == nil { + return srv.(QueryServer).PermissionAll(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Query/PermissionAll", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServer).PermissionAll(ctx, req.(*QueryAllPermissionRequest)) + } + return interceptor(ctx, in, info, handler) } -func (m *QueryGetGridResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func _Query_Player_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(QueryGetPlayerRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServer).Player(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Query/Player", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServer).Player(ctx, req.(*QueryGetPlayerRequest)) + } + return interceptor(ctx, in, info, handler) } -func (m *QueryGetGridResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.GridRecord != nil { - { - size, err := m.GridRecord.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintQuery(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa +func _Query_PlayerAll_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(QueryAllPlayerRequest) + if err := dec(in); err != nil { + return nil, err } - return len(dAtA) - i, nil + if interceptor == nil { + return srv.(QueryServer).PlayerAll(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Query/PlayerAll", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServer).PlayerAll(ctx, req.(*QueryAllPlayerRequest)) + } + return interceptor(ctx, in, info, handler) } -func (m *QueryAllGridResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { +func _Query_PlayerHaltedAll_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(QueryAllPlayerHaltedRequest) + if err := dec(in); err != nil { return nil, err } - return dAtA[:n], nil -} - -func (m *QueryAllGridResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) + if interceptor == nil { + return srv.(QueryServer).PlayerHaltedAll(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Query/PlayerHaltedAll", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServer).PlayerHaltedAll(ctx, req.(*QueryAllPlayerHaltedRequest)) + } + return interceptor(ctx, in, info, handler) } -func (m *QueryAllGridResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Pagination != nil { - { - size, err := m.Pagination.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintQuery(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 +func _Query_Planet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(QueryGetPlanetRequest) + if err := dec(in); err != nil { + return nil, err } - if len(m.GridRecords) > 0 { - for iNdEx := len(m.GridRecords) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.GridRecords[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintQuery(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } + if interceptor == nil { + return srv.(QueryServer).Planet(ctx, in) } - return len(dAtA) - i, nil + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Query/Planet", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServer).Planet(ctx, req.(*QueryGetPlanetRequest)) + } + return interceptor(ctx, in, info, handler) } -func (m *QueryGetGuildRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { +func _Query_PlanetAll_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(QueryAllPlanetRequest) + if err := dec(in); err != nil { return nil, err } - return dAtA[:n], nil + if interceptor == nil { + return srv.(QueryServer).PlanetAll(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Query/PlanetAll", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServer).PlanetAll(ctx, req.(*QueryAllPlanetRequest)) + } + return interceptor(ctx, in, info, handler) } -func (m *QueryGetGuildRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func _Query_PlanetAllByPlayer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(QueryAllPlanetByPlayerRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServer).PlanetAllByPlayer(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Query/PlanetAllByPlayer", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServer).PlanetAllByPlayer(ctx, req.(*QueryAllPlanetByPlayerRequest)) + } + return interceptor(ctx, in, info, handler) } -func (m *QueryGetGuildRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Id) > 0 { - i -= len(m.Id) - copy(dAtA[i:], m.Id) - i = encodeVarintQuery(dAtA, i, uint64(len(m.Id))) - i-- - dAtA[i] = 0xa +func _Query_PlanetAttribute_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(QueryGetPlanetAttributeRequest) + if err := dec(in); err != nil { + return nil, err } - return len(dAtA) - i, nil + if interceptor == nil { + return srv.(QueryServer).PlanetAttribute(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Query/PlanetAttribute", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServer).PlanetAttribute(ctx, req.(*QueryGetPlanetAttributeRequest)) + } + return interceptor(ctx, in, info, handler) } -func (m *QueryGetGuildResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { +func _Query_PlanetAttributeAll_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(QueryAllPlanetAttributeRequest) + if err := dec(in); err != nil { return nil, err } - return dAtA[:n], nil + if interceptor == nil { + return srv.(QueryServer).PlanetAttributeAll(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Query/PlanetAttributeAll", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServer).PlanetAttributeAll(ctx, req.(*QueryAllPlanetAttributeRequest)) + } + return interceptor(ctx, in, info, handler) } -func (m *QueryGetGuildResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func _Query_Provider_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(QueryGetProviderRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServer).Provider(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Query/Provider", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServer).Provider(ctx, req.(*QueryGetProviderRequest)) + } + return interceptor(ctx, in, info, handler) } -func (m *QueryGetGuildResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - { - size, err := m.Guild.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintQuery(dAtA, i, uint64(size)) +func _Query_ProviderAll_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(QueryAllProviderRequest) + if err := dec(in); err != nil { + return nil, err } - i-- - dAtA[i] = 0xa - return len(dAtA) - i, nil + if interceptor == nil { + return srv.(QueryServer).ProviderAll(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Query/ProviderAll", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServer).ProviderAll(ctx, req.(*QueryAllProviderRequest)) + } + return interceptor(ctx, in, info, handler) } -func (m *QueryAllGuildRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { +func _Query_ProviderCollateralAddress_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(QueryGetProviderCollateralAddressRequest) + if err := dec(in); err != nil { return nil, err } - return dAtA[:n], nil + if interceptor == nil { + return srv.(QueryServer).ProviderCollateralAddress(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Query/ProviderCollateralAddress", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServer).ProviderCollateralAddress(ctx, req.(*QueryGetProviderCollateralAddressRequest)) + } + return interceptor(ctx, in, info, handler) } -func (m *QueryAllGuildRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func _Query_ProviderCollateralAddressAll_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(QueryAllProviderCollateralAddressRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServer).ProviderCollateralAddressAll(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Query/ProviderCollateralAddressAll", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServer).ProviderCollateralAddressAll(ctx, req.(*QueryAllProviderCollateralAddressRequest)) + } + return interceptor(ctx, in, info, handler) } -func (m *QueryAllGuildRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Pagination != nil { - { - size, err := m.Pagination.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintQuery(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa +func _Query_ProviderEarningsAddress_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(QueryGetProviderEarningsAddressRequest) + if err := dec(in); err != nil { + return nil, err } - return len(dAtA) - i, nil + if interceptor == nil { + return srv.(QueryServer).ProviderEarningsAddress(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Query/ProviderEarningsAddress", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServer).ProviderEarningsAddress(ctx, req.(*QueryGetProviderEarningsAddressRequest)) + } + return interceptor(ctx, in, info, handler) } -func (m *QueryAllGuildResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { +func _Query_ProviderEarningsAddressAll_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(QueryAllProviderEarningsAddressRequest) + if err := dec(in); err != nil { return nil, err } - return dAtA[:n], nil -} - -func (m *QueryAllGuildResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *QueryAllGuildResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Pagination != nil { - { - size, err := m.Pagination.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintQuery(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 + if interceptor == nil { + return srv.(QueryServer).ProviderEarningsAddressAll(ctx, in) } - if len(m.Guild) > 0 { - for iNdEx := len(m.Guild) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Guild[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintQuery(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Query/ProviderEarningsAddressAll", } - return len(dAtA) - i, nil + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServer).ProviderEarningsAddressAll(ctx, req.(*QueryAllProviderEarningsAddressRequest)) + } + return interceptor(ctx, in, info, handler) } -func (m *QueryGetGuildMembershipApplicationRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { +func _Query_Reactor_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(QueryGetReactorRequest) + if err := dec(in); err != nil { return nil, err } - return dAtA[:n], nil + if interceptor == nil { + return srv.(QueryServer).Reactor(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Query/Reactor", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServer).Reactor(ctx, req.(*QueryGetReactorRequest)) + } + return interceptor(ctx, in, info, handler) } -func (m *QueryGetGuildMembershipApplicationRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func _Query_ReactorAll_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(QueryAllReactorRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServer).ReactorAll(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Query/ReactorAll", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServer).ReactorAll(ctx, req.(*QueryAllReactorRequest)) + } + return interceptor(ctx, in, info, handler) } -func (m *QueryGetGuildMembershipApplicationRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.PlayerId) > 0 { - i -= len(m.PlayerId) - copy(dAtA[i:], m.PlayerId) - i = encodeVarintQuery(dAtA, i, uint64(len(m.PlayerId))) - i-- - dAtA[i] = 0x12 +func _Query_Struct_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(QueryGetStructRequest) + if err := dec(in); err != nil { + return nil, err } - if len(m.GuildId) > 0 { - i -= len(m.GuildId) - copy(dAtA[i:], m.GuildId) - i = encodeVarintQuery(dAtA, i, uint64(len(m.GuildId))) - i-- - dAtA[i] = 0xa + if interceptor == nil { + return srv.(QueryServer).Struct(ctx, in) } - return len(dAtA) - i, nil + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Query/Struct", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServer).Struct(ctx, req.(*QueryGetStructRequest)) + } + return interceptor(ctx, in, info, handler) } -func (m *QueryGetGuildMembershipApplicationResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { +func _Query_StructAll_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(QueryAllStructRequest) + if err := dec(in); err != nil { return nil, err } - return dAtA[:n], nil + if interceptor == nil { + return srv.(QueryServer).StructAll(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Query/StructAll", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServer).StructAll(ctx, req.(*QueryAllStructRequest)) + } + return interceptor(ctx, in, info, handler) } -func (m *QueryGetGuildMembershipApplicationResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func _Query_StructAttribute_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(QueryGetStructAttributeRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServer).StructAttribute(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Query/StructAttribute", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServer).StructAttribute(ctx, req.(*QueryGetStructAttributeRequest)) + } + return interceptor(ctx, in, info, handler) } -func (m *QueryGetGuildMembershipApplicationResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - { - size, err := m.GuildMembershipApplication.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintQuery(dAtA, i, uint64(size)) +func _Query_StructAttributeAll_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(QueryAllStructAttributeRequest) + if err := dec(in); err != nil { + return nil, err } - i-- - dAtA[i] = 0xa - return len(dAtA) - i, nil + if interceptor == nil { + return srv.(QueryServer).StructAttributeAll(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Query/StructAttributeAll", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServer).StructAttributeAll(ctx, req.(*QueryAllStructAttributeRequest)) + } + return interceptor(ctx, in, info, handler) } -func (m *QueryAllGuildMembershipApplicationRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { +func _Query_StructType_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(QueryGetStructTypeRequest) + if err := dec(in); err != nil { return nil, err } - return dAtA[:n], nil + if interceptor == nil { + return srv.(QueryServer).StructType(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Query/StructType", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServer).StructType(ctx, req.(*QueryGetStructTypeRequest)) + } + return interceptor(ctx, in, info, handler) } -func (m *QueryAllGuildMembershipApplicationRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func _Query_StructTypeAll_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(QueryAllStructTypeRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServer).StructTypeAll(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Query/StructTypeAll", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServer).StructTypeAll(ctx, req.(*QueryAllStructTypeRequest)) + } + return interceptor(ctx, in, info, handler) } -func (m *QueryAllGuildMembershipApplicationRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Pagination != nil { - { - size, err := m.Pagination.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintQuery(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *QueryAllGuildMembershipApplicationResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { +func _Query_Substation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(QueryGetSubstationRequest) + if err := dec(in); err != nil { return nil, err } - return dAtA[:n], nil -} - -func (m *QueryAllGuildMembershipApplicationResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *QueryAllGuildMembershipApplicationResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Pagination != nil { - { - size, err := m.Pagination.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintQuery(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if len(m.GuildMembershipApplication) > 0 { - for iNdEx := len(m.GuildMembershipApplication) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.GuildMembershipApplication[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintQuery(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil -} - -func (m *QueryGetInfusionRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err + if interceptor == nil { + return srv.(QueryServer).Substation(ctx, in) } - return dAtA[:n], nil -} - -func (m *QueryGetInfusionRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *QueryGetInfusionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Address) > 0 { - i -= len(m.Address) - copy(dAtA[i:], m.Address) - i = encodeVarintQuery(dAtA, i, uint64(len(m.Address))) - i-- - dAtA[i] = 0x12 + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Query/Substation", } - if len(m.DestinationId) > 0 { - i -= len(m.DestinationId) - copy(dAtA[i:], m.DestinationId) - i = encodeVarintQuery(dAtA, i, uint64(len(m.DestinationId))) - i-- - dAtA[i] = 0xa + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServer).Substation(ctx, req.(*QueryGetSubstationRequest)) } - return len(dAtA) - i, nil + return interceptor(ctx, in, info, handler) } -func (m *QueryGetInfusionResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { +func _Query_SubstationAll_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(QueryAllSubstationRequest) + if err := dec(in); err != nil { return nil, err } - return dAtA[:n], nil -} - -func (m *QueryGetInfusionResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *QueryGetInfusionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - { - size, err := m.Infusion.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintQuery(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - return len(dAtA) - i, nil -} - -func (m *QueryAllInfusionByDestinationRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err + if interceptor == nil { + return srv.(QueryServer).SubstationAll(ctx, in) } - return dAtA[:n], nil -} - -func (m *QueryAllInfusionByDestinationRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *QueryAllInfusionByDestinationRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Pagination != nil { - { - size, err := m.Pagination.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintQuery(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Query/SubstationAll", } - if len(m.DestinationId) > 0 { - i -= len(m.DestinationId) - copy(dAtA[i:], m.DestinationId) - i = encodeVarintQuery(dAtA, i, uint64(len(m.DestinationId))) - i-- - dAtA[i] = 0xa + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServer).SubstationAll(ctx, req.(*QueryAllSubstationRequest)) } - return len(dAtA) - i, nil + return interceptor(ctx, in, info, handler) } -func (m *QueryAllInfusionRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { +func _Query_ValidateSignature_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(QueryValidateSignatureRequest) + if err := dec(in); err != nil { return nil, err } - return dAtA[:n], nil -} - -func (m *QueryAllInfusionRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *QueryAllInfusionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Pagination != nil { - { - size, err := m.Pagination.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintQuery(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa + if interceptor == nil { + return srv.(QueryServer).ValidateSignature(ctx, in) } - return len(dAtA) - i, nil -} - -func (m *QueryAllInfusionResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Query/ValidateSignature", } - return dAtA[:n], nil -} - -func (m *QueryAllInfusionResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServer).ValidateSignature(ctx, req.(*QueryValidateSignatureRequest)) + } + return interceptor(ctx, in, info, handler) } -func (m *QueryAllInfusionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Status) > 0 { - dAtA29 := make([]byte, len(m.Status)*10) - var j28 int - for _, num := range m.Status { - for num >= 1<<7 { - dAtA29[j28] = uint8(uint64(num)&0x7f | 0x80) - num >>= 7 - j28++ - } - dAtA29[j28] = uint8(num) - j28++ - } - i -= j28 - copy(dAtA[i:], dAtA29[:j28]) - i = encodeVarintQuery(dAtA, i, uint64(j28)) - i-- - dAtA[i] = 0x1a - } - if m.Pagination != nil { +var _Query_serviceDesc = grpc.ServiceDesc{ + ServiceName: "structs.structs.Query", + HandlerType: (*QueryServer)(nil), + Methods: []grpc.MethodDesc{ { - size, err := m.Pagination.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintQuery(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } - if len(m.Infusion) > 0 { - for iNdEx := len(m.Infusion) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Infusion[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintQuery(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - } - return len(dAtA) - i, nil + MethodName: "GetBlockHeight", + Handler: _Query_GetBlockHeight_Handler, + }, + { + MethodName: "Params", + Handler: _Query_Params_Handler, + }, + { + MethodName: "Address", + Handler: _Query_Address_Handler, + }, + { + MethodName: "AddressAll", + Handler: _Query_AddressAll_Handler, + }, + { + MethodName: "AddressAllByPlayer", + Handler: _Query_AddressAllByPlayer_Handler, + }, + { + MethodName: "Agreement", + Handler: _Query_Agreement_Handler, + }, + { + MethodName: "AgreementAll", + Handler: _Query_AgreementAll_Handler, + }, + { + MethodName: "AgreementAllByProvider", + Handler: _Query_AgreementAllByProvider_Handler, + }, + { + MethodName: "Allocation", + Handler: _Query_Allocation_Handler, + }, + { + MethodName: "AllocationAll", + Handler: _Query_AllocationAll_Handler, + }, + { + MethodName: "AllocationAllBySource", + Handler: _Query_AllocationAllBySource_Handler, + }, + { + MethodName: "AllocationAllByDestination", + Handler: _Query_AllocationAllByDestination_Handler, + }, + { + MethodName: "Fleet", + Handler: _Query_Fleet_Handler, + }, + { + MethodName: "FleetByIndex", + Handler: _Query_FleetByIndex_Handler, + }, + { + MethodName: "FleetAll", + Handler: _Query_FleetAll_Handler, + }, + { + MethodName: "Grid", + Handler: _Query_Grid_Handler, + }, + { + MethodName: "GridAll", + Handler: _Query_GridAll_Handler, + }, + { + MethodName: "Guild", + Handler: _Query_Guild_Handler, + }, + { + MethodName: "GuildAll", + Handler: _Query_GuildAll_Handler, + }, + { + MethodName: "GuildBankCollateralAddress", + Handler: _Query_GuildBankCollateralAddress_Handler, + }, + { + MethodName: "GuildBankCollateralAddressAll", + Handler: _Query_GuildBankCollateralAddressAll_Handler, + }, + { + MethodName: "GuildMembershipApplication", + Handler: _Query_GuildMembershipApplication_Handler, + }, + { + MethodName: "GuildMembershipApplicationAll", + Handler: _Query_GuildMembershipApplicationAll_Handler, + }, + { + MethodName: "Infusion", + Handler: _Query_Infusion_Handler, + }, + { + MethodName: "InfusionAll", + Handler: _Query_InfusionAll_Handler, + }, + { + MethodName: "InfusionAllByDestination", + Handler: _Query_InfusionAllByDestination_Handler, + }, + { + MethodName: "Permission", + Handler: _Query_Permission_Handler, + }, + { + MethodName: "PermissionByObject", + Handler: _Query_PermissionByObject_Handler, + }, + { + MethodName: "PermissionByPlayer", + Handler: _Query_PermissionByPlayer_Handler, + }, + { + MethodName: "PermissionAll", + Handler: _Query_PermissionAll_Handler, + }, + { + MethodName: "Player", + Handler: _Query_Player_Handler, + }, + { + MethodName: "PlayerAll", + Handler: _Query_PlayerAll_Handler, + }, + { + MethodName: "PlayerHaltedAll", + Handler: _Query_PlayerHaltedAll_Handler, + }, + { + MethodName: "Planet", + Handler: _Query_Planet_Handler, + }, + { + MethodName: "PlanetAll", + Handler: _Query_PlanetAll_Handler, + }, + { + MethodName: "PlanetAllByPlayer", + Handler: _Query_PlanetAllByPlayer_Handler, + }, + { + MethodName: "PlanetAttribute", + Handler: _Query_PlanetAttribute_Handler, + }, + { + MethodName: "PlanetAttributeAll", + Handler: _Query_PlanetAttributeAll_Handler, + }, + { + MethodName: "Provider", + Handler: _Query_Provider_Handler, + }, + { + MethodName: "ProviderAll", + Handler: _Query_ProviderAll_Handler, + }, + { + MethodName: "ProviderCollateralAddress", + Handler: _Query_ProviderCollateralAddress_Handler, + }, + { + MethodName: "ProviderCollateralAddressAll", + Handler: _Query_ProviderCollateralAddressAll_Handler, + }, + { + MethodName: "ProviderEarningsAddress", + Handler: _Query_ProviderEarningsAddress_Handler, + }, + { + MethodName: "ProviderEarningsAddressAll", + Handler: _Query_ProviderEarningsAddressAll_Handler, + }, + { + MethodName: "Reactor", + Handler: _Query_Reactor_Handler, + }, + { + MethodName: "ReactorAll", + Handler: _Query_ReactorAll_Handler, + }, + { + MethodName: "Struct", + Handler: _Query_Struct_Handler, + }, + { + MethodName: "StructAll", + Handler: _Query_StructAll_Handler, + }, + { + MethodName: "StructAttribute", + Handler: _Query_StructAttribute_Handler, + }, + { + MethodName: "StructAttributeAll", + Handler: _Query_StructAttributeAll_Handler, + }, + { + MethodName: "StructType", + Handler: _Query_StructType_Handler, + }, + { + MethodName: "StructTypeAll", + Handler: _Query_StructTypeAll_Handler, + }, + { + MethodName: "Substation", + Handler: _Query_Substation_Handler, + }, + { + MethodName: "SubstationAll", + Handler: _Query_SubstationAll_Handler, + }, + { + MethodName: "ValidateSignature", + Handler: _Query_ValidateSignature_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "structs/structs/query.proto", } -func (m *QueryGetPermissionRequest) Marshal() (dAtA []byte, err error) { +func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -7175,27 +7383,20 @@ func (m *QueryGetPermissionRequest) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *QueryGetPermissionRequest) MarshalTo(dAtA []byte) (int, error) { +func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *QueryGetPermissionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.PermissionId) > 0 { - i -= len(m.PermissionId) - copy(dAtA[i:], m.PermissionId) - i = encodeVarintQuery(dAtA, i, uint64(len(m.PermissionId))) - i-- - dAtA[i] = 0xa - } return len(dAtA) - i, nil } -func (m *QueryAllPermissionByObjectRequest) Marshal() (dAtA []byte, err error) { +func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -7205,39 +7406,111 @@ func (m *QueryAllPermissionByObjectRequest) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *QueryAllPermissionByObjectRequest) MarshalTo(dAtA []byte) (int, error) { +func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *QueryAllPermissionByObjectRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.Pagination != nil { - { - size, err := m.Pagination.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintQuery(dAtA, i, uint64(size)) + { + size, err := m.Params.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err } - i-- - dAtA[i] = 0x12 + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) } - if len(m.ObjectId) > 0 { - i -= len(m.ObjectId) - copy(dAtA[i:], m.ObjectId) - i = encodeVarintQuery(dAtA, i, uint64(len(m.ObjectId))) + i-- + dAtA[i] = 0xa + return len(dAtA) - i, nil +} + +func (m *QueryBlockHeight) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *QueryBlockHeight) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *QueryBlockHeight) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + return len(dAtA) - i, nil +} + +func (m *QueryBlockHeightResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *QueryBlockHeightResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *QueryBlockHeightResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.BlockHeight != 0 { + i = encodeVarintQuery(dAtA, i, uint64(m.BlockHeight)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *QueryGetAddressRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *QueryGetAddressRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *QueryGetAddressRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Address) > 0 { + i -= len(m.Address) + copy(dAtA[i:], m.Address) + i = encodeVarintQuery(dAtA, i, uint64(len(m.Address))) i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *QueryAllPermissionByPlayerRequest) Marshal() (dAtA []byte, err error) { +func (m *QueryAllAddressByPlayerRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -7247,12 +7520,12 @@ func (m *QueryAllPermissionByPlayerRequest) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *QueryAllPermissionByPlayerRequest) MarshalTo(dAtA []byte) (int, error) { +func (m *QueryAllAddressByPlayerRequest) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *QueryAllPermissionByPlayerRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *QueryAllAddressByPlayerRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -7279,7 +7552,7 @@ func (m *QueryAllPermissionByPlayerRequest) MarshalToSizedBuffer(dAtA []byte) (i return len(dAtA) - i, nil } -func (m *QueryAllPermissionRequest) Marshal() (dAtA []byte, err error) { +func (m *QueryAllAddressRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -7289,12 +7562,12 @@ func (m *QueryAllPermissionRequest) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *QueryAllPermissionRequest) MarshalTo(dAtA []byte) (int, error) { +func (m *QueryAllAddressRequest) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *QueryAllPermissionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *QueryAllAddressRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -7314,7 +7587,7 @@ func (m *QueryAllPermissionRequest) MarshalToSizedBuffer(dAtA []byte) (int, erro return len(dAtA) - i, nil } -func (m *QueryGetPermissionResponse) Marshal() (dAtA []byte, err error) { +func (m *QueryAddressResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -7324,32 +7597,39 @@ func (m *QueryGetPermissionResponse) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *QueryGetPermissionResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *QueryAddressResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *QueryGetPermissionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *QueryAddressResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.PermissionRecord != nil { - { - size, err := m.PermissionRecord.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintQuery(dAtA, i, uint64(size)) - } + if m.Permissions != 0 { + i = encodeVarintQuery(dAtA, i, uint64(m.Permissions)) + i-- + dAtA[i] = 0x18 + } + if len(m.PlayerId) > 0 { + i -= len(m.PlayerId) + copy(dAtA[i:], m.PlayerId) + i = encodeVarintQuery(dAtA, i, uint64(len(m.PlayerId))) + i-- + dAtA[i] = 0x12 + } + if len(m.Address) > 0 { + i -= len(m.Address) + copy(dAtA[i:], m.Address) + i = encodeVarintQuery(dAtA, i, uint64(len(m.Address))) i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *QueryAllPermissionResponse) Marshal() (dAtA []byte, err error) { +func (m *QueryAllAddressResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -7359,12 +7639,12 @@ func (m *QueryAllPermissionResponse) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *QueryAllPermissionResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *QueryAllAddressResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *QueryAllPermissionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *QueryAllAddressResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -7381,10 +7661,10 @@ func (m *QueryAllPermissionResponse) MarshalToSizedBuffer(dAtA []byte) (int, err i-- dAtA[i] = 0x12 } - if len(m.PermissionRecords) > 0 { - for iNdEx := len(m.PermissionRecords) - 1; iNdEx >= 0; iNdEx-- { + if len(m.Address) > 0 { + for iNdEx := len(m.Address) - 1; iNdEx >= 0; iNdEx-- { { - size, err := m.PermissionRecords[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Address[iNdEx].MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -7398,7 +7678,7 @@ func (m *QueryAllPermissionResponse) MarshalToSizedBuffer(dAtA []byte) (int, err return len(dAtA) - i, nil } -func (m *QueryGetPlanetRequest) Marshal() (dAtA []byte, err error) { +func (m *QueryGetAgreementRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -7408,12 +7688,12 @@ func (m *QueryGetPlanetRequest) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *QueryGetPlanetRequest) MarshalTo(dAtA []byte) (int, error) { +func (m *QueryGetAgreementRequest) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *QueryGetPlanetRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *QueryGetAgreementRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -7428,7 +7708,7 @@ func (m *QueryGetPlanetRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *QueryGetPlanetResponse) Marshal() (dAtA []byte, err error) { +func (m *QueryGetAgreementResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -7438,42 +7718,18 @@ func (m *QueryGetPlanetResponse) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *QueryGetPlanetResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *QueryGetAgreementResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *QueryGetPlanetResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *QueryGetAgreementResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.PlanetAttributes != nil { - { - size, err := m.PlanetAttributes.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintQuery(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - if m.GridAttributes != nil { - { - size, err := m.GridAttributes.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintQuery(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } { - size, err := m.Planet.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Agreement.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -7485,7 +7741,7 @@ func (m *QueryGetPlanetResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) return len(dAtA) - i, nil } -func (m *QueryAllPlanetRequest) Marshal() (dAtA []byte, err error) { +func (m *QueryAllAgreementRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -7495,12 +7751,12 @@ func (m *QueryAllPlanetRequest) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *QueryAllPlanetRequest) MarshalTo(dAtA []byte) (int, error) { +func (m *QueryAllAgreementRequest) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *QueryAllPlanetRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *QueryAllAgreementRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -7520,7 +7776,7 @@ func (m *QueryAllPlanetRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *QueryAllPlanetByPlayerRequest) Marshal() (dAtA []byte, err error) { +func (m *QueryAllAgreementByProviderRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -7530,16 +7786,23 @@ func (m *QueryAllPlanetByPlayerRequest) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *QueryAllPlanetByPlayerRequest) MarshalTo(dAtA []byte) (int, error) { +func (m *QueryAllAgreementByProviderRequest) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *QueryAllPlanetByPlayerRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *QueryAllAgreementByProviderRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l + if len(m.ProviderId) > 0 { + i -= len(m.ProviderId) + copy(dAtA[i:], m.ProviderId) + i = encodeVarintQuery(dAtA, i, uint64(len(m.ProviderId))) + i-- + dAtA[i] = 0x12 + } if m.Pagination != nil { { size, err := m.Pagination.MarshalToSizedBuffer(dAtA[:i]) @@ -7550,19 +7813,12 @@ func (m *QueryAllPlanetByPlayerRequest) MarshalToSizedBuffer(dAtA []byte) (int, i = encodeVarintQuery(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x12 - } - if len(m.PlayerId) > 0 { - i -= len(m.PlayerId) - copy(dAtA[i:], m.PlayerId) - i = encodeVarintQuery(dAtA, i, uint64(len(m.PlayerId))) - i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *QueryAllPlanetResponse) Marshal() (dAtA []byte, err error) { +func (m *QueryAllAgreementResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -7572,12 +7828,12 @@ func (m *QueryAllPlanetResponse) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *QueryAllPlanetResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *QueryAllAgreementResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *QueryAllPlanetResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *QueryAllAgreementResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -7594,10 +7850,10 @@ func (m *QueryAllPlanetResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) i-- dAtA[i] = 0x12 } - if len(m.Planet) > 0 { - for iNdEx := len(m.Planet) - 1; iNdEx >= 0; iNdEx-- { + if len(m.Agreement) > 0 { + for iNdEx := len(m.Agreement) - 1; iNdEx >= 0; iNdEx-- { { - size, err := m.Planet[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Agreement[iNdEx].MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -7611,7 +7867,7 @@ func (m *QueryAllPlanetResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) return len(dAtA) - i, nil } -func (m *QueryGetPlanetAttributeRequest) Marshal() (dAtA []byte, err error) { +func (m *QueryGetAllocationRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -7621,34 +7877,27 @@ func (m *QueryGetPlanetAttributeRequest) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *QueryGetPlanetAttributeRequest) MarshalTo(dAtA []byte) (int, error) { +func (m *QueryGetAllocationRequest) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *QueryGetPlanetAttributeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *QueryGetAllocationRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.AttributeType) > 0 { - i -= len(m.AttributeType) - copy(dAtA[i:], m.AttributeType) - i = encodeVarintQuery(dAtA, i, uint64(len(m.AttributeType))) - i-- - dAtA[i] = 0x12 - } - if len(m.PlanetId) > 0 { - i -= len(m.PlanetId) - copy(dAtA[i:], m.PlanetId) - i = encodeVarintQuery(dAtA, i, uint64(len(m.PlanetId))) + if len(m.Id) > 0 { + i -= len(m.Id) + copy(dAtA[i:], m.Id) + i = encodeVarintQuery(dAtA, i, uint64(len(m.Id))) i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *QueryGetPlanetAttributeResponse) Marshal() (dAtA []byte, err error) { +func (m *QueryGetAllocationResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -7658,25 +7907,42 @@ func (m *QueryGetPlanetAttributeResponse) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *QueryGetPlanetAttributeResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *QueryGetAllocationResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *QueryGetPlanetAttributeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *QueryGetAllocationResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.Attribute != 0 { - i = encodeVarintQuery(dAtA, i, uint64(m.Attribute)) + if m.GridAttributes != nil { + { + size, err := m.GridAttributes.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) + } i-- - dAtA[i] = 0x8 + dAtA[i] = 0x12 + } + { + size, err := m.Allocation.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) } + i-- + dAtA[i] = 0xa return len(dAtA) - i, nil } -func (m *QueryAllPlanetAttributeRequest) Marshal() (dAtA []byte, err error) { +func (m *QueryAllAllocationRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -7686,12 +7952,12 @@ func (m *QueryAllPlanetAttributeRequest) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *QueryAllPlanetAttributeRequest) MarshalTo(dAtA []byte) (int, error) { +func (m *QueryAllAllocationRequest) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *QueryAllPlanetAttributeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *QueryAllAllocationRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -7711,7 +7977,7 @@ func (m *QueryAllPlanetAttributeRequest) MarshalToSizedBuffer(dAtA []byte) (int, return len(dAtA) - i, nil } -func (m *QueryAllPlanetAttributeResponse) Marshal() (dAtA []byte, err error) { +func (m *QueryAllAllocationBySourceRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -7721,16 +7987,23 @@ func (m *QueryAllPlanetAttributeResponse) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *QueryAllPlanetAttributeResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *QueryAllAllocationBySourceRequest) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *QueryAllPlanetAttributeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *QueryAllAllocationBySourceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l + if len(m.SourceId) > 0 { + i -= len(m.SourceId) + copy(dAtA[i:], m.SourceId) + i = encodeVarintQuery(dAtA, i, uint64(len(m.SourceId))) + i-- + dAtA[i] = 0x12 + } if m.Pagination != nil { { size, err := m.Pagination.MarshalToSizedBuffer(dAtA[:i]) @@ -7741,12 +8014,107 @@ func (m *QueryAllPlanetAttributeResponse) MarshalToSizedBuffer(dAtA []byte) (int i = encodeVarintQuery(dAtA, i, uint64(size)) } i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *QueryAllAllocationByDestinationRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *QueryAllAllocationByDestinationRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *QueryAllAllocationByDestinationRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.DestinationId) > 0 { + i -= len(m.DestinationId) + copy(dAtA[i:], m.DestinationId) + i = encodeVarintQuery(dAtA, i, uint64(len(m.DestinationId))) + i-- dAtA[i] = 0x12 } - if len(m.PlanetAttributeRecords) > 0 { - for iNdEx := len(m.PlanetAttributeRecords) - 1; iNdEx >= 0; iNdEx-- { + if m.Pagination != nil { + { + size, err := m.Pagination.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *QueryAllAllocationResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *QueryAllAllocationResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *QueryAllAllocationResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Status) > 0 { + dAtA15 := make([]byte, len(m.Status)*10) + var j14 int + for _, num := range m.Status { + for num >= 1<<7 { + dAtA15[j14] = uint8(uint64(num)&0x7f | 0x80) + num >>= 7 + j14++ + } + dAtA15[j14] = uint8(num) + j14++ + } + i -= j14 + copy(dAtA[i:], dAtA15[:j14]) + i = encodeVarintQuery(dAtA, i, uint64(j14)) + i-- + dAtA[i] = 0x1a + } + if m.Pagination != nil { + { + size, err := m.Pagination.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if len(m.Allocation) > 0 { + for iNdEx := len(m.Allocation) - 1; iNdEx >= 0; iNdEx-- { { - size, err := m.PlanetAttributeRecords[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Allocation[iNdEx].MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -7760,7 +8128,7 @@ func (m *QueryAllPlanetAttributeResponse) MarshalToSizedBuffer(dAtA []byte) (int return len(dAtA) - i, nil } -func (m *QueryGetPlayerRequest) Marshal() (dAtA []byte, err error) { +func (m *QueryGetFleetRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -7770,12 +8138,12 @@ func (m *QueryGetPlayerRequest) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *QueryGetPlayerRequest) MarshalTo(dAtA []byte) (int, error) { +func (m *QueryGetFleetRequest) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *QueryGetPlayerRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *QueryGetFleetRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -7790,7 +8158,7 @@ func (m *QueryGetPlayerRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *QueryGetPlayerResponse) Marshal() (dAtA []byte, err error) { +func (m *QueryGetFleetResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -7800,42 +8168,18 @@ func (m *QueryGetPlayerResponse) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *QueryGetPlayerResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *QueryGetFleetResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *QueryGetPlayerResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *QueryGetFleetResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.PlayerInventory != nil { - { - size, err := m.PlayerInventory.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintQuery(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - if m.GridAttributes != nil { - { - size, err := m.GridAttributes.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintQuery(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } { - size, err := m.Player.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Fleet.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -7847,7 +8191,7 @@ func (m *QueryGetPlayerResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) return len(dAtA) - i, nil } -func (m *QueryAllPlayerRequest) Marshal() (dAtA []byte, err error) { +func (m *QueryGetFleetByIndexRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -7857,12 +8201,40 @@ func (m *QueryAllPlayerRequest) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *QueryAllPlayerRequest) MarshalTo(dAtA []byte) (int, error) { +func (m *QueryGetFleetByIndexRequest) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *QueryAllPlayerRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *QueryGetFleetByIndexRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Index != 0 { + i = encodeVarintQuery(dAtA, i, uint64(m.Index)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *QueryAllFleetRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *QueryAllFleetRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *QueryAllFleetRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -7882,7 +8254,7 @@ func (m *QueryAllPlayerRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *QueryAllPlayerResponse) Marshal() (dAtA []byte, err error) { +func (m *QueryAllFleetResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -7892,12 +8264,12 @@ func (m *QueryAllPlayerResponse) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *QueryAllPlayerResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *QueryAllFleetResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *QueryAllPlayerResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *QueryAllFleetResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -7914,10 +8286,10 @@ func (m *QueryAllPlayerResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) i-- dAtA[i] = 0x12 } - if len(m.Player) > 0 { - for iNdEx := len(m.Player) - 1; iNdEx >= 0; iNdEx-- { + if len(m.Fleet) > 0 { + for iNdEx := len(m.Fleet) - 1; iNdEx >= 0; iNdEx-- { { - size, err := m.Player[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Fleet[iNdEx].MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -7931,7 +8303,7 @@ func (m *QueryAllPlayerResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) return len(dAtA) - i, nil } -func (m *QueryGetReactorRequest) Marshal() (dAtA []byte, err error) { +func (m *QueryGetGridRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -7941,27 +8313,27 @@ func (m *QueryGetReactorRequest) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *QueryGetReactorRequest) MarshalTo(dAtA []byte) (int, error) { +func (m *QueryGetGridRequest) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *QueryGetReactorRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *QueryGetGridRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.Id) > 0 { - i -= len(m.Id) - copy(dAtA[i:], m.Id) - i = encodeVarintQuery(dAtA, i, uint64(len(m.Id))) + if len(m.AttributeId) > 0 { + i -= len(m.AttributeId) + copy(dAtA[i:], m.AttributeId) + i = encodeVarintQuery(dAtA, i, uint64(len(m.AttributeId))) i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *QueryGetReactorResponse) Marshal() (dAtA []byte, err error) { +func (m *QueryAllGridRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -7971,19 +8343,19 @@ func (m *QueryGetReactorResponse) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *QueryGetReactorResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *QueryAllGridRequest) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *QueryGetReactorResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *QueryAllGridRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.GridAttributes != nil { + if m.Pagination != nil { { - size, err := m.GridAttributes.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Pagination.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -7991,22 +8363,12 @@ func (m *QueryGetReactorResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) i = encodeVarintQuery(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x12 - } - { - size, err := m.Reactor.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintQuery(dAtA, i, uint64(size)) + dAtA[i] = 0xa } - i-- - dAtA[i] = 0xa return len(dAtA) - i, nil } -func (m *QueryAllReactorRequest) Marshal() (dAtA []byte, err error) { +func (m *QueryGetGridResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -8016,19 +8378,19 @@ func (m *QueryAllReactorRequest) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *QueryAllReactorRequest) MarshalTo(dAtA []byte) (int, error) { +func (m *QueryGetGridResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *QueryAllReactorRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *QueryGetGridResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.Pagination != nil { + if m.GridRecord != nil { { - size, err := m.Pagination.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.GridRecord.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -8041,7 +8403,7 @@ func (m *QueryAllReactorRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) return len(dAtA) - i, nil } -func (m *QueryAllReactorResponse) Marshal() (dAtA []byte, err error) { +func (m *QueryAllGridResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -8051,12 +8413,12 @@ func (m *QueryAllReactorResponse) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *QueryAllReactorResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *QueryAllGridResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *QueryAllReactorResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *QueryAllGridResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -8073,10 +8435,10 @@ func (m *QueryAllReactorResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) i-- dAtA[i] = 0x12 } - if len(m.Reactor) > 0 { - for iNdEx := len(m.Reactor) - 1; iNdEx >= 0; iNdEx-- { + if len(m.GridRecords) > 0 { + for iNdEx := len(m.GridRecords) - 1; iNdEx >= 0; iNdEx-- { { - size, err := m.Reactor[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + size, err := m.GridRecords[iNdEx].MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -8090,7 +8452,7 @@ func (m *QueryAllReactorResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) return len(dAtA) - i, nil } -func (m *QueryGetStructRequest) Marshal() (dAtA []byte, err error) { +func (m *QueryGetGuildRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -8100,12 +8462,12 @@ func (m *QueryGetStructRequest) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *QueryGetStructRequest) MarshalTo(dAtA []byte) (int, error) { +func (m *QueryGetGuildRequest) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *QueryGetStructRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *QueryGetGuildRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -8120,7 +8482,7 @@ func (m *QueryGetStructRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *QueryGetStructResponse) Marshal() (dAtA []byte, err error) { +func (m *QueryGetGuildResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -8130,51 +8492,18 @@ func (m *QueryGetStructResponse) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *QueryGetStructResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *QueryGetGuildResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *QueryGetStructResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *QueryGetGuildResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.StructDefenders) > 0 { - for iNdEx := len(m.StructDefenders) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.StructDefenders[iNdEx]) - copy(dAtA[i:], m.StructDefenders[iNdEx]) - i = encodeVarintQuery(dAtA, i, uint64(len(m.StructDefenders[iNdEx]))) - i-- - dAtA[i] = 0x22 - } - } - if m.GridAttributes != nil { - { - size, err := m.GridAttributes.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintQuery(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x1a - } - if m.StructAttributes != nil { - { - size, err := m.StructAttributes.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintQuery(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } { - size, err := m.Struct.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Guild.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -8186,7 +8515,7 @@ func (m *QueryGetStructResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) return len(dAtA) - i, nil } -func (m *QueryAllStructRequest) Marshal() (dAtA []byte, err error) { +func (m *QueryAllGuildRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -8196,12 +8525,12 @@ func (m *QueryAllStructRequest) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *QueryAllStructRequest) MarshalTo(dAtA []byte) (int, error) { +func (m *QueryAllGuildRequest) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *QueryAllStructRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *QueryAllGuildRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -8221,7 +8550,7 @@ func (m *QueryAllStructRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *QueryAllStructResponse) Marshal() (dAtA []byte, err error) { +func (m *QueryAllGuildResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -8231,12 +8560,12 @@ func (m *QueryAllStructResponse) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *QueryAllStructResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *QueryAllGuildResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *QueryAllStructResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *QueryAllGuildResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -8253,10 +8582,10 @@ func (m *QueryAllStructResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) i-- dAtA[i] = 0x12 } - if len(m.Struct) > 0 { - for iNdEx := len(m.Struct) - 1; iNdEx >= 0; iNdEx-- { + if len(m.Guild) > 0 { + for iNdEx := len(m.Guild) - 1; iNdEx >= 0; iNdEx-- { { - size, err := m.Struct[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Guild[iNdEx].MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -8270,7 +8599,7 @@ func (m *QueryAllStructResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) return len(dAtA) - i, nil } -func (m *QueryGetStructAttributeRequest) Marshal() (dAtA []byte, err error) { +func (m *QueryGetGuildBankCollateralAddressRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -8280,62 +8609,27 @@ func (m *QueryGetStructAttributeRequest) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *QueryGetStructAttributeRequest) MarshalTo(dAtA []byte) (int, error) { +func (m *QueryGetGuildBankCollateralAddressRequest) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *QueryGetStructAttributeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *QueryGetGuildBankCollateralAddressRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.AttributeType) > 0 { - i -= len(m.AttributeType) - copy(dAtA[i:], m.AttributeType) - i = encodeVarintQuery(dAtA, i, uint64(len(m.AttributeType))) - i-- - dAtA[i] = 0x12 - } - if len(m.StructId) > 0 { - i -= len(m.StructId) - copy(dAtA[i:], m.StructId) - i = encodeVarintQuery(dAtA, i, uint64(len(m.StructId))) + if len(m.GuildId) > 0 { + i -= len(m.GuildId) + copy(dAtA[i:], m.GuildId) + i = encodeVarintQuery(dAtA, i, uint64(len(m.GuildId))) i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *QueryGetStructAttributeResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *QueryGetStructAttributeResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *QueryGetStructAttributeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Attribute != 0 { - i = encodeVarintQuery(dAtA, i, uint64(m.Attribute)) - i-- - dAtA[i] = 0x8 - } - return len(dAtA) - i, nil -} - -func (m *QueryAllStructAttributeRequest) Marshal() (dAtA []byte, err error) { +func (m *QueryAllGuildBankCollateralAddressRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -8345,12 +8639,12 @@ func (m *QueryAllStructAttributeRequest) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *QueryAllStructAttributeRequest) MarshalTo(dAtA []byte) (int, error) { +func (m *QueryAllGuildBankCollateralAddressRequest) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *QueryAllStructAttributeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *QueryAllGuildBankCollateralAddressRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -8370,7 +8664,7 @@ func (m *QueryAllStructAttributeRequest) MarshalToSizedBuffer(dAtA []byte) (int, return len(dAtA) - i, nil } -func (m *QueryAllStructAttributeResponse) Marshal() (dAtA []byte, err error) { +func (m *QueryAllGuildBankCollateralAddressResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -8380,12 +8674,12 @@ func (m *QueryAllStructAttributeResponse) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *QueryAllStructAttributeResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *QueryAllGuildBankCollateralAddressResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *QueryAllStructAttributeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *QueryAllGuildBankCollateralAddressResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -8402,10 +8696,10 @@ func (m *QueryAllStructAttributeResponse) MarshalToSizedBuffer(dAtA []byte) (int i-- dAtA[i] = 0x12 } - if len(m.StructAttributeRecords) > 0 { - for iNdEx := len(m.StructAttributeRecords) - 1; iNdEx >= 0; iNdEx-- { + if len(m.InternalAddressAssociation) > 0 { + for iNdEx := len(m.InternalAddressAssociation) - 1; iNdEx >= 0; iNdEx-- { { - size, err := m.StructAttributeRecords[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + size, err := m.InternalAddressAssociation[iNdEx].MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -8419,7 +8713,7 @@ func (m *QueryAllStructAttributeResponse) MarshalToSizedBuffer(dAtA []byte) (int return len(dAtA) - i, nil } -func (m *QueryGetStructTypeRequest) Marshal() (dAtA []byte, err error) { +func (m *QueryGetGuildByBankCollateralAddressRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -8429,25 +8723,27 @@ func (m *QueryGetStructTypeRequest) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *QueryGetStructTypeRequest) MarshalTo(dAtA []byte) (int, error) { +func (m *QueryGetGuildByBankCollateralAddressRequest) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *QueryGetStructTypeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *QueryGetGuildByBankCollateralAddressRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.Id != 0 { - i = encodeVarintQuery(dAtA, i, uint64(m.Id)) + if len(m.Address) > 0 { + i -= len(m.Address) + copy(dAtA[i:], m.Address) + i = encodeVarintQuery(dAtA, i, uint64(len(m.Address))) i-- - dAtA[i] = 0x8 + dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *QueryGetStructTypeResponse) Marshal() (dAtA []byte, err error) { +func (m *QueryGetGuildMembershipApplicationRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -8457,18 +8753,55 @@ func (m *QueryGetStructTypeResponse) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *QueryGetStructTypeResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *QueryGetGuildMembershipApplicationRequest) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *QueryGetStructTypeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *QueryGetGuildMembershipApplicationRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.PlayerId) > 0 { + i -= len(m.PlayerId) + copy(dAtA[i:], m.PlayerId) + i = encodeVarintQuery(dAtA, i, uint64(len(m.PlayerId))) + i-- + dAtA[i] = 0x12 + } + if len(m.GuildId) > 0 { + i -= len(m.GuildId) + copy(dAtA[i:], m.GuildId) + i = encodeVarintQuery(dAtA, i, uint64(len(m.GuildId))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *QueryGetGuildMembershipApplicationResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *QueryGetGuildMembershipApplicationResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *QueryGetGuildMembershipApplicationResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l { - size, err := m.StructType.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.GuildMembershipApplication.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -8480,7 +8813,7 @@ func (m *QueryGetStructTypeResponse) MarshalToSizedBuffer(dAtA []byte) (int, err return len(dAtA) - i, nil } -func (m *QueryAllStructTypeRequest) Marshal() (dAtA []byte, err error) { +func (m *QueryAllGuildMembershipApplicationRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -8490,12 +8823,12 @@ func (m *QueryAllStructTypeRequest) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *QueryAllStructTypeRequest) MarshalTo(dAtA []byte) (int, error) { +func (m *QueryAllGuildMembershipApplicationRequest) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *QueryAllStructTypeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *QueryAllGuildMembershipApplicationRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -8515,7 +8848,7 @@ func (m *QueryAllStructTypeRequest) MarshalToSizedBuffer(dAtA []byte) (int, erro return len(dAtA) - i, nil } -func (m *QueryAllStructTypeResponse) Marshal() (dAtA []byte, err error) { +func (m *QueryAllGuildMembershipApplicationResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -8525,12 +8858,12 @@ func (m *QueryAllStructTypeResponse) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *QueryAllStructTypeResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *QueryAllGuildMembershipApplicationResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *QueryAllStructTypeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *QueryAllGuildMembershipApplicationResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -8547,10 +8880,10 @@ func (m *QueryAllStructTypeResponse) MarshalToSizedBuffer(dAtA []byte) (int, err i-- dAtA[i] = 0x12 } - if len(m.StructType) > 0 { - for iNdEx := len(m.StructType) - 1; iNdEx >= 0; iNdEx-- { + if len(m.GuildMembershipApplication) > 0 { + for iNdEx := len(m.GuildMembershipApplication) - 1; iNdEx >= 0; iNdEx-- { { - size, err := m.StructType[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + size, err := m.GuildMembershipApplication[iNdEx].MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -8564,7 +8897,7 @@ func (m *QueryAllStructTypeResponse) MarshalToSizedBuffer(dAtA []byte) (int, err return len(dAtA) - i, nil } -func (m *QueryGetSubstationRequest) Marshal() (dAtA []byte, err error) { +func (m *QueryGetInfusionRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -8574,27 +8907,34 @@ func (m *QueryGetSubstationRequest) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *QueryGetSubstationRequest) MarshalTo(dAtA []byte) (int, error) { +func (m *QueryGetInfusionRequest) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *QueryGetSubstationRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *QueryGetInfusionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.Id) > 0 { - i -= len(m.Id) - copy(dAtA[i:], m.Id) - i = encodeVarintQuery(dAtA, i, uint64(len(m.Id))) + if len(m.Address) > 0 { + i -= len(m.Address) + copy(dAtA[i:], m.Address) + i = encodeVarintQuery(dAtA, i, uint64(len(m.Address))) + i-- + dAtA[i] = 0x12 + } + if len(m.DestinationId) > 0 { + i -= len(m.DestinationId) + copy(dAtA[i:], m.DestinationId) + i = encodeVarintQuery(dAtA, i, uint64(len(m.DestinationId))) i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *QueryGetSubstationResponse) Marshal() (dAtA []byte, err error) { +func (m *QueryGetInfusionResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -8604,30 +8944,18 @@ func (m *QueryGetSubstationResponse) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *QueryGetSubstationResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *QueryGetInfusionResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *QueryGetSubstationResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *QueryGetInfusionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.GridAttributes != nil { - { - size, err := m.GridAttributes.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintQuery(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - } { - size, err := m.Substation.MarshalToSizedBuffer(dAtA[:i]) + size, err := m.Infusion.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } @@ -8639,7 +8967,7 @@ func (m *QueryGetSubstationResponse) MarshalToSizedBuffer(dAtA []byte) (int, err return len(dAtA) - i, nil } -func (m *QueryAllSubstationRequest) Marshal() (dAtA []byte, err error) { +func (m *QueryAllInfusionByDestinationRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -8649,12 +8977,12 @@ func (m *QueryAllSubstationRequest) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *QueryAllSubstationRequest) MarshalTo(dAtA []byte) (int, error) { +func (m *QueryAllInfusionByDestinationRequest) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *QueryAllSubstationRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *QueryAllInfusionByDestinationRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -8669,12 +8997,19 @@ func (m *QueryAllSubstationRequest) MarshalToSizedBuffer(dAtA []byte) (int, erro i = encodeVarintQuery(dAtA, i, uint64(size)) } i-- + dAtA[i] = 0x12 + } + if len(m.DestinationId) > 0 { + i -= len(m.DestinationId) + copy(dAtA[i:], m.DestinationId) + i = encodeVarintQuery(dAtA, i, uint64(len(m.DestinationId))) + i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *QueryAllSubstationResponse) Marshal() (dAtA []byte, err error) { +func (m *QueryAllInfusionRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -8684,12 +9019,12 @@ func (m *QueryAllSubstationResponse) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *QueryAllSubstationResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *QueryAllInfusionRequest) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *QueryAllSubstationResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *QueryAllInfusionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -8704,26 +9039,12 @@ func (m *QueryAllSubstationResponse) MarshalToSizedBuffer(dAtA []byte) (int, err i = encodeVarintQuery(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x12 - } - if len(m.Substation) > 0 { - for iNdEx := len(m.Substation) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.Substation[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintQuery(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } + dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *QueryValidateSignatureRequest) Marshal() (dAtA []byte, err error) { +func (m *QueryAllInfusionResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -8733,48 +9054,64 @@ func (m *QueryValidateSignatureRequest) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *QueryValidateSignatureRequest) MarshalTo(dAtA []byte) (int, error) { +func (m *QueryAllInfusionResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *QueryValidateSignatureRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *QueryAllInfusionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.ProofSignature) > 0 { - i -= len(m.ProofSignature) - copy(dAtA[i:], m.ProofSignature) - i = encodeVarintQuery(dAtA, i, uint64(len(m.ProofSignature))) - i-- - dAtA[i] = 0x22 - } - if len(m.ProofPubKey) > 0 { - i -= len(m.ProofPubKey) - copy(dAtA[i:], m.ProofPubKey) - i = encodeVarintQuery(dAtA, i, uint64(len(m.ProofPubKey))) + if len(m.Status) > 0 { + dAtA35 := make([]byte, len(m.Status)*10) + var j34 int + for _, num := range m.Status { + for num >= 1<<7 { + dAtA35[j34] = uint8(uint64(num)&0x7f | 0x80) + num >>= 7 + j34++ + } + dAtA35[j34] = uint8(num) + j34++ + } + i -= j34 + copy(dAtA[i:], dAtA35[:j34]) + i = encodeVarintQuery(dAtA, i, uint64(j34)) i-- dAtA[i] = 0x1a } - if len(m.Message) > 0 { - i -= len(m.Message) - copy(dAtA[i:], m.Message) - i = encodeVarintQuery(dAtA, i, uint64(len(m.Message))) + if m.Pagination != nil { + { + size, err := m.Pagination.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) + } i-- dAtA[i] = 0x12 } - if len(m.Address) > 0 { - i -= len(m.Address) - copy(dAtA[i:], m.Address) - i = encodeVarintQuery(dAtA, i, uint64(len(m.Address))) - i-- - dAtA[i] = 0xa + if len(m.Infusion) > 0 { + for iNdEx := len(m.Infusion) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Infusion[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } } return len(dAtA) - i, nil } -func (m *QueryValidateSignatureResponse) Marshal() (dAtA []byte, err error) { +func (m *QueryGetPermissionRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -8784,1290 +9121,5744 @@ func (m *QueryValidateSignatureResponse) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *QueryValidateSignatureResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *QueryGetPermissionRequest) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *QueryValidateSignatureResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *QueryGetPermissionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.Valid { - i-- - if m.Valid { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x28 - } - if m.SignatureInvalid { - i-- - if m.SignatureInvalid { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } + if len(m.PermissionId) > 0 { + i -= len(m.PermissionId) + copy(dAtA[i:], m.PermissionId) + i = encodeVarintQuery(dAtA, i, uint64(len(m.PermissionId))) i-- - dAtA[i] = 0x20 + dAtA[i] = 0xa } - if m.AddressPubkeyMismatch { - i-- - if m.AddressPubkeyMismatch { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x18 + return len(dAtA) - i, nil +} + +func (m *QueryAllPermissionByObjectRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - if m.SignatureFormatError { - i-- - if m.SignatureFormatError { - dAtA[i] = 1 - } else { - dAtA[i] = 0 + return dAtA[:n], nil +} + +func (m *QueryAllPermissionByObjectRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *QueryAllPermissionByObjectRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Pagination != nil { + { + size, err := m.Pagination.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x10 + dAtA[i] = 0x12 } - if m.PubkeyFormatError { - i-- - if m.PubkeyFormatError { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } + if len(m.ObjectId) > 0 { + i -= len(m.ObjectId) + copy(dAtA[i:], m.ObjectId) + i = encodeVarintQuery(dAtA, i, uint64(len(m.ObjectId))) i-- - dAtA[i] = 0x8 + dAtA[i] = 0xa } return len(dAtA) - i, nil } -func encodeVarintQuery(dAtA []byte, offset int, v uint64) int { - offset -= sovQuery(v) - base := offset - for v >= 1<<7 { - dAtA[offset] = uint8(v&0x7f | 0x80) - v >>= 7 - offset++ +func (m *QueryAllPermissionByPlayerRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - dAtA[offset] = uint8(v) - return base + return dAtA[:n], nil } -func (m *QueryParamsRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - return n + +func (m *QueryAllPermissionByPlayerRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *QueryParamsResponse) Size() (n int) { - if m == nil { - return 0 - } +func (m *QueryAllPermissionByPlayerRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - l = m.Params.Size() - n += 1 + l + sovQuery(uint64(l)) - return n + if m.Pagination != nil { + { + size, err := m.Pagination.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if len(m.PlayerId) > 0 { + i -= len(m.PlayerId) + copy(dAtA[i:], m.PlayerId) + i = encodeVarintQuery(dAtA, i, uint64(len(m.PlayerId))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil } -func (m *QueryBlockHeight) Size() (n int) { - if m == nil { - return 0 +func (m *QueryAllPermissionRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - var l int - _ = l - return n + return dAtA[:n], nil } -func (m *QueryBlockHeightResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.BlockHeight != 0 { - n += 1 + sovQuery(uint64(m.BlockHeight)) - } - return n +func (m *QueryAllPermissionRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *QueryGetAddressRequest) Size() (n int) { - if m == nil { - return 0 - } +func (m *QueryAllPermissionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - l = len(m.Address) - if l > 0 { - n += 1 + l + sovQuery(uint64(l)) + if m.Pagination != nil { + { + size, err := m.Pagination.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa } - return n + return len(dAtA) - i, nil } -func (m *QueryAllAddressByPlayerRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.PlayerId) - if l > 0 { - n += 1 + l + sovQuery(uint64(l)) - } - if m.Pagination != nil { - l = m.Pagination.Size() - n += 1 + l + sovQuery(uint64(l)) +func (m *QueryGetPermissionResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - return n + return dAtA[:n], nil } -func (m *QueryAllAddressRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Pagination != nil { - l = m.Pagination.Size() - n += 1 + l + sovQuery(uint64(l)) - } - return n +func (m *QueryGetPermissionResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *QueryAddressResponse) Size() (n int) { - if m == nil { - return 0 - } +func (m *QueryGetPermissionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - l = len(m.Address) - if l > 0 { - n += 1 + l + sovQuery(uint64(l)) - } - l = len(m.PlayerId) - if l > 0 { - n += 1 + l + sovQuery(uint64(l)) - } - if m.Permissions != 0 { - n += 1 + sovQuery(uint64(m.Permissions)) + if m.PermissionRecord != nil { + { + size, err := m.PermissionRecord.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa } - return n + return len(dAtA) - i, nil } -func (m *QueryAllAddressResponse) Size() (n int) { - if m == nil { - return 0 +func (m *QueryAllPermissionResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } + return dAtA[:n], nil +} + +func (m *QueryAllPermissionResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *QueryAllPermissionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - if len(m.Address) > 0 { - for _, e := range m.Address { - l = e.Size() - n += 1 + l + sovQuery(uint64(l)) + if m.Pagination != nil { + { + size, err := m.Pagination.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) } + i-- + dAtA[i] = 0x12 } - if m.Pagination != nil { - l = m.Pagination.Size() - n += 1 + l + sovQuery(uint64(l)) + if len(m.PermissionRecords) > 0 { + for iNdEx := len(m.PermissionRecords) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.PermissionRecords[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } } - return n + return len(dAtA) - i, nil } -func (m *QueryGetAllocationRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Id) - if l > 0 { - n += 1 + l + sovQuery(uint64(l)) +func (m *QueryGetPlanetRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - return n + return dAtA[:n], nil } -func (m *QueryGetAllocationResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = m.Allocation.Size() - n += 1 + l + sovQuery(uint64(l)) - if m.GridAttributes != nil { - l = m.GridAttributes.Size() - n += 1 + l + sovQuery(uint64(l)) - } - return n +func (m *QueryGetPlanetRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *QueryAllAllocationRequest) Size() (n int) { - if m == nil { - return 0 - } +func (m *QueryGetPlanetRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - if m.Pagination != nil { - l = m.Pagination.Size() - n += 1 + l + sovQuery(uint64(l)) + if len(m.Id) > 0 { + i -= len(m.Id) + copy(dAtA[i:], m.Id) + i = encodeVarintQuery(dAtA, i, uint64(len(m.Id))) + i-- + dAtA[i] = 0xa } - return n + return len(dAtA) - i, nil } -func (m *QueryAllAllocationBySourceRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Pagination != nil { - l = m.Pagination.Size() - n += 1 + l + sovQuery(uint64(l)) - } - l = len(m.SourceId) - if l > 0 { - n += 1 + l + sovQuery(uint64(l)) +func (m *QueryGetPlanetResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - return n + return dAtA[:n], nil } -func (m *QueryAllAllocationByDestinationRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Pagination != nil { - l = m.Pagination.Size() - n += 1 + l + sovQuery(uint64(l)) - } - l = len(m.DestinationId) - if l > 0 { - n += 1 + l + sovQuery(uint64(l)) - } - return n +func (m *QueryGetPlanetResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *QueryAllAllocationResponse) Size() (n int) { - if m == nil { - return 0 - } +func (m *QueryGetPlanetResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - if len(m.Allocation) > 0 { - for _, e := range m.Allocation { - l = e.Size() - n += 1 + l + sovQuery(uint64(l)) + if m.PlanetAttributes != nil { + { + size, err := m.PlanetAttributes.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) } + i-- + dAtA[i] = 0x1a } - if m.Pagination != nil { - l = m.Pagination.Size() - n += 1 + l + sovQuery(uint64(l)) + if m.GridAttributes != nil { + { + size, err := m.GridAttributes.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 } - if len(m.Status) > 0 { - l = 0 - for _, e := range m.Status { - l += sovQuery(uint64(e)) + { + size, err := m.Planet.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err } - n += 1 + sovQuery(uint64(l)) + l + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) } - return n + i-- + dAtA[i] = 0xa + return len(dAtA) - i, nil } -func (m *QueryGetFleetRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Id) - if l > 0 { - n += 1 + l + sovQuery(uint64(l)) +func (m *QueryAllPlanetRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - return n + return dAtA[:n], nil } -func (m *QueryGetFleetResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = m.Fleet.Size() - n += 1 + l + sovQuery(uint64(l)) - return n +func (m *QueryAllPlanetRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *QueryGetFleetByIndexRequest) Size() (n int) { - if m == nil { - return 0 - } +func (m *QueryAllPlanetRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - if m.Index != 0 { - n += 1 + sovQuery(uint64(m.Index)) + if m.Pagination != nil { + { + size, err := m.Pagination.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa } - return n + return len(dAtA) - i, nil } -func (m *QueryAllFleetRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Pagination != nil { - l = m.Pagination.Size() - n += 1 + l + sovQuery(uint64(l)) +func (m *QueryAllPlanetByPlayerRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - return n + return dAtA[:n], nil } -func (m *QueryAllFleetResponse) Size() (n int) { - if m == nil { - return 0 - } +func (m *QueryAllPlanetByPlayerRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *QueryAllPlanetByPlayerRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - if len(m.Fleet) > 0 { - for _, e := range m.Fleet { - l = e.Size() - n += 1 + l + sovQuery(uint64(l)) + if m.Pagination != nil { + { + size, err := m.Pagination.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) } + i-- + dAtA[i] = 0x12 } - if m.Pagination != nil { - l = m.Pagination.Size() - n += 1 + l + sovQuery(uint64(l)) + if len(m.PlayerId) > 0 { + i -= len(m.PlayerId) + copy(dAtA[i:], m.PlayerId) + i = encodeVarintQuery(dAtA, i, uint64(len(m.PlayerId))) + i-- + dAtA[i] = 0xa } - return n + return len(dAtA) - i, nil } -func (m *QueryGetGridRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.AttributeId) - if l > 0 { - n += 1 + l + sovQuery(uint64(l)) +func (m *QueryAllPlanetResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - return n + return dAtA[:n], nil } -func (m *QueryAllGridRequest) Size() (n int) { - if m == nil { - return 0 - } +func (m *QueryAllPlanetResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *QueryAllPlanetResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l if m.Pagination != nil { - l = m.Pagination.Size() - n += 1 + l + sovQuery(uint64(l)) + { + size, err := m.Pagination.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 } - return n + if len(m.Planet) > 0 { + for iNdEx := len(m.Planet) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Planet[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil } -func (m *QueryGetGridResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.GridRecord != nil { - l = m.GridRecord.Size() - n += 1 + l + sovQuery(uint64(l)) +func (m *QueryGetPlanetAttributeRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - return n + return dAtA[:n], nil } -func (m *QueryAllGridResponse) Size() (n int) { - if m == nil { - return 0 - } +func (m *QueryGetPlanetAttributeRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *QueryGetPlanetAttributeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - if len(m.GridRecords) > 0 { - for _, e := range m.GridRecords { - l = e.Size() - n += 1 + l + sovQuery(uint64(l)) - } + if len(m.AttributeType) > 0 { + i -= len(m.AttributeType) + copy(dAtA[i:], m.AttributeType) + i = encodeVarintQuery(dAtA, i, uint64(len(m.AttributeType))) + i-- + dAtA[i] = 0x12 } - if m.Pagination != nil { - l = m.Pagination.Size() - n += 1 + l + sovQuery(uint64(l)) + if len(m.PlanetId) > 0 { + i -= len(m.PlanetId) + copy(dAtA[i:], m.PlanetId) + i = encodeVarintQuery(dAtA, i, uint64(len(m.PlanetId))) + i-- + dAtA[i] = 0xa } - return n + return len(dAtA) - i, nil } -func (m *QueryGetGuildRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Id) - if l > 0 { - n += 1 + l + sovQuery(uint64(l)) +func (m *QueryGetPlanetAttributeResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - return n + return dAtA[:n], nil } -func (m *QueryGetGuildResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = m.Guild.Size() - n += 1 + l + sovQuery(uint64(l)) - return n +func (m *QueryGetPlanetAttributeResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *QueryAllGuildRequest) Size() (n int) { - if m == nil { - return 0 - } +func (m *QueryGetPlanetAttributeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - if m.Pagination != nil { - l = m.Pagination.Size() - n += 1 + l + sovQuery(uint64(l)) + if m.Attribute != 0 { + i = encodeVarintQuery(dAtA, i, uint64(m.Attribute)) + i-- + dAtA[i] = 0x8 } - return n + return len(dAtA) - i, nil } -func (m *QueryAllGuildResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.Guild) > 0 { - for _, e := range m.Guild { - l = e.Size() - n += 1 + l + sovQuery(uint64(l)) - } - } - if m.Pagination != nil { - l = m.Pagination.Size() - n += 1 + l + sovQuery(uint64(l)) +func (m *QueryAllPlanetAttributeRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - return n + return dAtA[:n], nil } -func (m *QueryGetGuildMembershipApplicationRequest) Size() (n int) { - if m == nil { - return 0 - } +func (m *QueryAllPlanetAttributeRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *QueryAllPlanetAttributeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - l = len(m.GuildId) - if l > 0 { - n += 1 + l + sovQuery(uint64(l)) - } - l = len(m.PlayerId) - if l > 0 { - n += 1 + l + sovQuery(uint64(l)) + if m.Pagination != nil { + { + size, err := m.Pagination.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa } - return n + return len(dAtA) - i, nil } -func (m *QueryGetGuildMembershipApplicationResponse) Size() (n int) { - if m == nil { - return 0 +func (m *QueryAllPlanetAttributeResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - var l int - _ = l - l = m.GuildMembershipApplication.Size() - n += 1 + l + sovQuery(uint64(l)) - return n + return dAtA[:n], nil } -func (m *QueryAllGuildMembershipApplicationRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Pagination != nil { - l = m.Pagination.Size() - n += 1 + l + sovQuery(uint64(l)) - } - return n +func (m *QueryAllPlanetAttributeResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *QueryAllGuildMembershipApplicationResponse) Size() (n int) { - if m == nil { - return 0 - } +func (m *QueryAllPlanetAttributeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - if len(m.GuildMembershipApplication) > 0 { - for _, e := range m.GuildMembershipApplication { - l = e.Size() - n += 1 + l + sovQuery(uint64(l)) + if m.Pagination != nil { + { + size, err := m.Pagination.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) } + i-- + dAtA[i] = 0x12 } - if m.Pagination != nil { - l = m.Pagination.Size() - n += 1 + l + sovQuery(uint64(l)) + if len(m.PlanetAttributeRecords) > 0 { + for iNdEx := len(m.PlanetAttributeRecords) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.PlanetAttributeRecords[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } } - return n + return len(dAtA) - i, nil } -func (m *QueryGetInfusionRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.DestinationId) - if l > 0 { - n += 1 + l + sovQuery(uint64(l)) - } - l = len(m.Address) - if l > 0 { - n += 1 + l + sovQuery(uint64(l)) +func (m *QueryGetPlayerRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - return n + return dAtA[:n], nil } -func (m *QueryGetInfusionResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = m.Infusion.Size() - n += 1 + l + sovQuery(uint64(l)) - return n +func (m *QueryGetPlayerRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *QueryAllInfusionByDestinationRequest) Size() (n int) { - if m == nil { - return 0 - } +func (m *QueryGetPlayerRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - l = len(m.DestinationId) - if l > 0 { - n += 1 + l + sovQuery(uint64(l)) - } - if m.Pagination != nil { - l = m.Pagination.Size() - n += 1 + l + sovQuery(uint64(l)) + if len(m.Id) > 0 { + i -= len(m.Id) + copy(dAtA[i:], m.Id) + i = encodeVarintQuery(dAtA, i, uint64(len(m.Id))) + i-- + dAtA[i] = 0xa } - return n + return len(dAtA) - i, nil } -func (m *QueryAllInfusionRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Pagination != nil { - l = m.Pagination.Size() - n += 1 + l + sovQuery(uint64(l)) +func (m *QueryGetPlayerResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - return n + return dAtA[:n], nil } -func (m *QueryAllInfusionResponse) Size() (n int) { - if m == nil { - return 0 - } +func (m *QueryGetPlayerResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *QueryGetPlayerResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - if len(m.Infusion) > 0 { - for _, e := range m.Infusion { - l = e.Size() - n += 1 + l + sovQuery(uint64(l)) + if m.Halted { + i-- + if m.Halted { + dAtA[i] = 1 + } else { + dAtA[i] = 0 } + i-- + dAtA[i] = 0x20 } - if m.Pagination != nil { - l = m.Pagination.Size() - n += 1 + l + sovQuery(uint64(l)) + if m.PlayerInventory != nil { + { + size, err := m.PlayerInventory.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a } - if len(m.Status) > 0 { - l = 0 - for _, e := range m.Status { - l += sovQuery(uint64(e)) + if m.GridAttributes != nil { + { + size, err := m.GridAttributes.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) } - n += 1 + sovQuery(uint64(l)) + l + i-- + dAtA[i] = 0x12 } - return n + { + size, err := m.Player.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + return len(dAtA) - i, nil } -func (m *QueryGetPermissionRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.PermissionId) - if l > 0 { - n += 1 + l + sovQuery(uint64(l)) +func (m *QueryAllPlayerRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - return n + return dAtA[:n], nil } -func (m *QueryAllPermissionByObjectRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.ObjectId) - if l > 0 { - n += 1 + l + sovQuery(uint64(l)) - } - if m.Pagination != nil { - l = m.Pagination.Size() - n += 1 + l + sovQuery(uint64(l)) - } - return n +func (m *QueryAllPlayerRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *QueryAllPermissionByPlayerRequest) Size() (n int) { - if m == nil { - return 0 - } +func (m *QueryAllPlayerRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - l = len(m.PlayerId) - if l > 0 { - n += 1 + l + sovQuery(uint64(l)) - } if m.Pagination != nil { - l = m.Pagination.Size() - n += 1 + l + sovQuery(uint64(l)) + { + size, err := m.Pagination.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa } - return n + return len(dAtA) - i, nil } -func (m *QueryAllPermissionRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Pagination != nil { - l = m.Pagination.Size() - n += 1 + l + sovQuery(uint64(l)) +func (m *QueryAllPlayerResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - return n + return dAtA[:n], nil } -func (m *QueryGetPermissionResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.PermissionRecord != nil { - l = m.PermissionRecord.Size() - n += 1 + l + sovQuery(uint64(l)) - } - return n +func (m *QueryAllPlayerResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *QueryAllPermissionResponse) Size() (n int) { - if m == nil { - return 0 - } +func (m *QueryAllPlayerResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - if len(m.PermissionRecords) > 0 { - for _, e := range m.PermissionRecords { - l = e.Size() - n += 1 + l + sovQuery(uint64(l)) + if m.Pagination != nil { + { + size, err := m.Pagination.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) } + i-- + dAtA[i] = 0x12 } - if m.Pagination != nil { - l = m.Pagination.Size() - n += 1 + l + sovQuery(uint64(l)) + if len(m.Player) > 0 { + for iNdEx := len(m.Player) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Player[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } } - return n + return len(dAtA) - i, nil } -func (m *QueryGetPlanetRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Id) - if l > 0 { - n += 1 + l + sovQuery(uint64(l)) +func (m *QueryAllPlayerHaltedRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - return n + return dAtA[:n], nil } -func (m *QueryGetPlanetResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = m.Planet.Size() - n += 1 + l + sovQuery(uint64(l)) - if m.GridAttributes != nil { - l = m.GridAttributes.Size() - n += 1 + l + sovQuery(uint64(l)) - } - if m.PlanetAttributes != nil { - l = m.PlanetAttributes.Size() - n += 1 + l + sovQuery(uint64(l)) - } - return n +func (m *QueryAllPlayerHaltedRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *QueryAllPlanetRequest) Size() (n int) { - if m == nil { - return 0 - } +func (m *QueryAllPlayerHaltedRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - if m.Pagination != nil { - l = m.Pagination.Size() - n += 1 + l + sovQuery(uint64(l)) - } - return n + return len(dAtA) - i, nil } -func (m *QueryAllPlanetByPlayerRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.PlayerId) - if l > 0 { - n += 1 + l + sovQuery(uint64(l)) - } - if m.Pagination != nil { - l = m.Pagination.Size() - n += 1 + l + sovQuery(uint64(l)) +func (m *QueryAllPlayerHaltedResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - return n + return dAtA[:n], nil } -func (m *QueryAllPlanetResponse) Size() (n int) { - if m == nil { - return 0 - } +func (m *QueryAllPlayerHaltedResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *QueryAllPlayerHaltedResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - if len(m.Planet) > 0 { - for _, e := range m.Planet { - l = e.Size() - n += 1 + l + sovQuery(uint64(l)) + if len(m.PlayerId) > 0 { + for iNdEx := len(m.PlayerId) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.PlayerId[iNdEx]) + copy(dAtA[i:], m.PlayerId[iNdEx]) + i = encodeVarintQuery(dAtA, i, uint64(len(m.PlayerId[iNdEx]))) + i-- + dAtA[i] = 0xa } } - if m.Pagination != nil { - l = m.Pagination.Size() - n += 1 + l + sovQuery(uint64(l)) - } - return n + return len(dAtA) - i, nil } -func (m *QueryGetPlanetAttributeRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.PlanetId) - if l > 0 { - n += 1 + l + sovQuery(uint64(l)) - } - l = len(m.AttributeType) - if l > 0 { - n += 1 + l + sovQuery(uint64(l)) +func (m *QueryGetProviderRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - return n + return dAtA[:n], nil } -func (m *QueryGetPlanetAttributeResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Attribute != 0 { - n += 1 + sovQuery(uint64(m.Attribute)) - } - return n +func (m *QueryGetProviderRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *QueryAllPlanetAttributeRequest) Size() (n int) { - if m == nil { - return 0 - } +func (m *QueryGetProviderRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - if m.Pagination != nil { - l = m.Pagination.Size() - n += 1 + l + sovQuery(uint64(l)) + if len(m.Id) > 0 { + i -= len(m.Id) + copy(dAtA[i:], m.Id) + i = encodeVarintQuery(dAtA, i, uint64(len(m.Id))) + i-- + dAtA[i] = 0xa } - return n + return len(dAtA) - i, nil } -func (m *QueryAllPlanetAttributeResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.PlanetAttributeRecords) > 0 { - for _, e := range m.PlanetAttributeRecords { - l = e.Size() - n += 1 + l + sovQuery(uint64(l)) - } - } - if m.Pagination != nil { - l = m.Pagination.Size() - n += 1 + l + sovQuery(uint64(l)) +func (m *QueryGetProviderResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - return n + return dAtA[:n], nil } -func (m *QueryGetPlayerRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Id) - if l > 0 { - n += 1 + l + sovQuery(uint64(l)) - } - return n +func (m *QueryGetProviderResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *QueryGetPlayerResponse) Size() (n int) { - if m == nil { - return 0 - } +func (m *QueryGetProviderResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - l = m.Player.Size() - n += 1 + l + sovQuery(uint64(l)) if m.GridAttributes != nil { - l = m.GridAttributes.Size() - n += 1 + l + sovQuery(uint64(l)) + { + size, err := m.GridAttributes.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 } - if m.PlayerInventory != nil { - l = m.PlayerInventory.Size() - n += 1 + l + sovQuery(uint64(l)) + { + size, err := m.Provider.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) } - return n + i-- + dAtA[i] = 0xa + return len(dAtA) - i, nil } -func (m *QueryAllPlayerRequest) Size() (n int) { - if m == nil { - return 0 +func (m *QueryAllProviderRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } + return dAtA[:n], nil +} + +func (m *QueryAllProviderRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *QueryAllProviderRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l if m.Pagination != nil { - l = m.Pagination.Size() - n += 1 + l + sovQuery(uint64(l)) + { + size, err := m.Pagination.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa } - return n + return len(dAtA) - i, nil } -func (m *QueryAllPlayerResponse) Size() (n int) { - if m == nil { - return 0 +func (m *QueryAllProviderResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } + return dAtA[:n], nil +} + +func (m *QueryAllProviderResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *QueryAllProviderResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - if len(m.Player) > 0 { - for _, e := range m.Player { - l = e.Size() - n += 1 + l + sovQuery(uint64(l)) + if m.Pagination != nil { + { + size, err := m.Pagination.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) } + i-- + dAtA[i] = 0x12 } - if m.Pagination != nil { - l = m.Pagination.Size() - n += 1 + l + sovQuery(uint64(l)) + if len(m.Provider) > 0 { + for iNdEx := len(m.Provider) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Provider[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } } - return n + return len(dAtA) - i, nil } -func (m *QueryGetReactorRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Id) - if l > 0 { - n += 1 + l + sovQuery(uint64(l)) +func (m *QueryGetProviderCollateralAddressRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - return n + return dAtA[:n], nil } -func (m *QueryGetReactorResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = m.Reactor.Size() - n += 1 + l + sovQuery(uint64(l)) - if m.GridAttributes != nil { - l = m.GridAttributes.Size() - n += 1 + l + sovQuery(uint64(l)) - } - return n +func (m *QueryGetProviderCollateralAddressRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *QueryAllReactorRequest) Size() (n int) { - if m == nil { - return 0 - } +func (m *QueryGetProviderCollateralAddressRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - if m.Pagination != nil { - l = m.Pagination.Size() - n += 1 + l + sovQuery(uint64(l)) + if len(m.ProviderId) > 0 { + i -= len(m.ProviderId) + copy(dAtA[i:], m.ProviderId) + i = encodeVarintQuery(dAtA, i, uint64(len(m.ProviderId))) + i-- + dAtA[i] = 0xa } - return n + return len(dAtA) - i, nil } -func (m *QueryAllReactorResponse) Size() (n int) { - if m == nil { - return 0 +func (m *QueryAllProviderCollateralAddressRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } + return dAtA[:n], nil +} + +func (m *QueryAllProviderCollateralAddressRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *QueryAllProviderCollateralAddressRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - if len(m.Reactor) > 0 { - for _, e := range m.Reactor { - l = e.Size() - n += 1 + l + sovQuery(uint64(l)) - } - } if m.Pagination != nil { - l = m.Pagination.Size() - n += 1 + l + sovQuery(uint64(l)) + { + size, err := m.Pagination.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa } - return n + return len(dAtA) - i, nil } -func (m *QueryGetStructRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Id) - if l > 0 { - n += 1 + l + sovQuery(uint64(l)) +func (m *QueryAllProviderCollateralAddressResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - return n + return dAtA[:n], nil } -func (m *QueryGetStructResponse) Size() (n int) { - if m == nil { - return 0 - } +func (m *QueryAllProviderCollateralAddressResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *QueryAllProviderCollateralAddressResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - l = m.Struct.Size() - n += 1 + l + sovQuery(uint64(l)) - if m.StructAttributes != nil { - l = m.StructAttributes.Size() - n += 1 + l + sovQuery(uint64(l)) - } - if m.GridAttributes != nil { - l = m.GridAttributes.Size() - n += 1 + l + sovQuery(uint64(l)) + if m.Pagination != nil { + { + size, err := m.Pagination.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 } - if len(m.StructDefenders) > 0 { - for _, s := range m.StructDefenders { - l = len(s) - n += 1 + l + sovQuery(uint64(l)) + if len(m.InternalAddressAssociation) > 0 { + for iNdEx := len(m.InternalAddressAssociation) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.InternalAddressAssociation[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa } } - return n + return len(dAtA) - i, nil } -func (m *QueryAllStructRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Pagination != nil { - l = m.Pagination.Size() - n += 1 + l + sovQuery(uint64(l)) +func (m *QueryGetProviderByCollateralAddressRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - return n + return dAtA[:n], nil } -func (m *QueryAllStructResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if len(m.Struct) > 0 { - for _, e := range m.Struct { - l = e.Size() - n += 1 + l + sovQuery(uint64(l)) - } - } - if m.Pagination != nil { - l = m.Pagination.Size() - n += 1 + l + sovQuery(uint64(l)) - } - return n +func (m *QueryGetProviderByCollateralAddressRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *QueryGetStructAttributeRequest) Size() (n int) { - if m == nil { - return 0 - } +func (m *QueryGetProviderByCollateralAddressRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - l = len(m.StructId) - if l > 0 { - n += 1 + l + sovQuery(uint64(l)) - } - l = len(m.AttributeType) - if l > 0 { - n += 1 + l + sovQuery(uint64(l)) + if len(m.Address) > 0 { + i -= len(m.Address) + copy(dAtA[i:], m.Address) + i = encodeVarintQuery(dAtA, i, uint64(len(m.Address))) + i-- + dAtA[i] = 0xa } - return n + return len(dAtA) - i, nil } -func (m *QueryGetStructAttributeResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Attribute != 0 { - n += 1 + sovQuery(uint64(m.Attribute)) +func (m *QueryGetProviderEarningsAddressRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - return n + return dAtA[:n], nil } -func (m *QueryAllStructAttributeRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Pagination != nil { - l = m.Pagination.Size() - n += 1 + l + sovQuery(uint64(l)) - } - return n +func (m *QueryGetProviderEarningsAddressRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *QueryAllStructAttributeResponse) Size() (n int) { - if m == nil { - return 0 - } +func (m *QueryGetProviderEarningsAddressRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - if len(m.StructAttributeRecords) > 0 { - for _, e := range m.StructAttributeRecords { - l = e.Size() - n += 1 + l + sovQuery(uint64(l)) - } - } - if m.Pagination != nil { - l = m.Pagination.Size() - n += 1 + l + sovQuery(uint64(l)) + if len(m.ProviderId) > 0 { + i -= len(m.ProviderId) + copy(dAtA[i:], m.ProviderId) + i = encodeVarintQuery(dAtA, i, uint64(len(m.ProviderId))) + i-- + dAtA[i] = 0xa } - return n + return len(dAtA) - i, nil } -func (m *QueryGetStructTypeRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Id != 0 { - n += 1 + sovQuery(uint64(m.Id)) +func (m *QueryAllProviderEarningsAddressRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - return n + return dAtA[:n], nil } -func (m *QueryGetStructTypeResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = m.StructType.Size() - n += 1 + l + sovQuery(uint64(l)) - return n +func (m *QueryAllProviderEarningsAddressRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *QueryAllStructTypeRequest) Size() (n int) { - if m == nil { - return 0 - } +func (m *QueryAllProviderEarningsAddressRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l if m.Pagination != nil { - l = m.Pagination.Size() - n += 1 + l + sovQuery(uint64(l)) + { + size, err := m.Pagination.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa } - return n + return len(dAtA) - i, nil } -func (m *QueryAllStructTypeResponse) Size() (n int) { - if m == nil { - return 0 +func (m *QueryAllProviderEarningsAddressResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } + return dAtA[:n], nil +} + +func (m *QueryAllProviderEarningsAddressResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *QueryAllProviderEarningsAddressResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - if len(m.StructType) > 0 { - for _, e := range m.StructType { - l = e.Size() - n += 1 + l + sovQuery(uint64(l)) + if m.Pagination != nil { + { + size, err := m.Pagination.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) } + i-- + dAtA[i] = 0x12 } - if m.Pagination != nil { - l = m.Pagination.Size() - n += 1 + l + sovQuery(uint64(l)) + if len(m.InternalAddressAssociation) > 0 { + for iNdEx := len(m.InternalAddressAssociation) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.InternalAddressAssociation[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } } - return n + return len(dAtA) - i, nil } -func (m *QueryGetSubstationRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Id) - if l > 0 { - n += 1 + l + sovQuery(uint64(l)) +func (m *QueryGetProviderByEarningsAddressRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - return n + return dAtA[:n], nil } -func (m *QueryGetSubstationResponse) Size() (n int) { - if m == nil { - return 0 +func (m *QueryGetProviderByEarningsAddressRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *QueryGetProviderByEarningsAddressRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Address) > 0 { + i -= len(m.Address) + copy(dAtA[i:], m.Address) + i = encodeVarintQuery(dAtA, i, uint64(len(m.Address))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *QueryGetReactorRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } + return dAtA[:n], nil +} + +func (m *QueryGetReactorRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *QueryGetReactorRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Id) > 0 { + i -= len(m.Id) + copy(dAtA[i:], m.Id) + i = encodeVarintQuery(dAtA, i, uint64(len(m.Id))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *QueryGetReactorResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *QueryGetReactorResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *QueryGetReactorResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - l = m.Substation.Size() - n += 1 + l + sovQuery(uint64(l)) if m.GridAttributes != nil { - l = m.GridAttributes.Size() - n += 1 + l + sovQuery(uint64(l)) + { + size, err := m.GridAttributes.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 } - return n + { + size, err := m.Reactor.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + return len(dAtA) - i, nil } -func (m *QueryAllSubstationRequest) Size() (n int) { - if m == nil { - return 0 +func (m *QueryAllReactorRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } + return dAtA[:n], nil +} + +func (m *QueryAllReactorRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *QueryAllReactorRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l if m.Pagination != nil { - l = m.Pagination.Size() - n += 1 + l + sovQuery(uint64(l)) + { + size, err := m.Pagination.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa } - return n + return len(dAtA) - i, nil } -func (m *QueryAllSubstationResponse) Size() (n int) { - if m == nil { - return 0 +func (m *QueryAllReactorResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } + return dAtA[:n], nil +} + +func (m *QueryAllReactorResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *QueryAllReactorResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - if len(m.Substation) > 0 { - for _, e := range m.Substation { - l = e.Size() - n += 1 + l + sovQuery(uint64(l)) + if m.Pagination != nil { + { + size, err := m.Pagination.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if len(m.Reactor) > 0 { + for iNdEx := len(m.Reactor) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Reactor[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *QueryGetStructRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *QueryGetStructRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *QueryGetStructRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Id) > 0 { + i -= len(m.Id) + copy(dAtA[i:], m.Id) + i = encodeVarintQuery(dAtA, i, uint64(len(m.Id))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *QueryGetStructResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *QueryGetStructResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *QueryGetStructResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.StructDefenders) > 0 { + for iNdEx := len(m.StructDefenders) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.StructDefenders[iNdEx]) + copy(dAtA[i:], m.StructDefenders[iNdEx]) + i = encodeVarintQuery(dAtA, i, uint64(len(m.StructDefenders[iNdEx]))) + i-- + dAtA[i] = 0x22 + } + } + if m.GridAttributes != nil { + { + size, err := m.GridAttributes.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a + } + if m.StructAttributes != nil { + { + size, err := m.StructAttributes.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + { + size, err := m.Struct.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + return len(dAtA) - i, nil +} + +func (m *QueryAllStructRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *QueryAllStructRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *QueryAllStructRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Pagination != nil { + { + size, err := m.Pagination.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *QueryAllStructResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *QueryAllStructResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *QueryAllStructResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Pagination != nil { + { + size, err := m.Pagination.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if len(m.Struct) > 0 { + for iNdEx := len(m.Struct) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Struct[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *QueryGetStructAttributeRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *QueryGetStructAttributeRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *QueryGetStructAttributeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.AttributeType) > 0 { + i -= len(m.AttributeType) + copy(dAtA[i:], m.AttributeType) + i = encodeVarintQuery(dAtA, i, uint64(len(m.AttributeType))) + i-- + dAtA[i] = 0x12 + } + if len(m.StructId) > 0 { + i -= len(m.StructId) + copy(dAtA[i:], m.StructId) + i = encodeVarintQuery(dAtA, i, uint64(len(m.StructId))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *QueryGetStructAttributeResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *QueryGetStructAttributeResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *QueryGetStructAttributeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Attribute != 0 { + i = encodeVarintQuery(dAtA, i, uint64(m.Attribute)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *QueryAllStructAttributeRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *QueryAllStructAttributeRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *QueryAllStructAttributeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Pagination != nil { + { + size, err := m.Pagination.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *QueryAllStructAttributeResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *QueryAllStructAttributeResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *QueryAllStructAttributeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Pagination != nil { + { + size, err := m.Pagination.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if len(m.StructAttributeRecords) > 0 { + for iNdEx := len(m.StructAttributeRecords) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.StructAttributeRecords[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *QueryGetStructTypeRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *QueryGetStructTypeRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *QueryGetStructTypeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Id != 0 { + i = encodeVarintQuery(dAtA, i, uint64(m.Id)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *QueryGetStructTypeResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *QueryGetStructTypeResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *QueryGetStructTypeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + { + size, err := m.StructType.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + return len(dAtA) - i, nil +} + +func (m *QueryAllStructTypeRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *QueryAllStructTypeRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *QueryAllStructTypeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Pagination != nil { + { + size, err := m.Pagination.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *QueryAllStructTypeResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *QueryAllStructTypeResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *QueryAllStructTypeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Pagination != nil { + { + size, err := m.Pagination.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if len(m.StructType) > 0 { + for iNdEx := len(m.StructType) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.StructType[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *QueryGetSubstationRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *QueryGetSubstationRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *QueryGetSubstationRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Id) > 0 { + i -= len(m.Id) + copy(dAtA[i:], m.Id) + i = encodeVarintQuery(dAtA, i, uint64(len(m.Id))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *QueryGetSubstationResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *QueryGetSubstationResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *QueryGetSubstationResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.GridAttributes != nil { + { + size, err := m.GridAttributes.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + { + size, err := m.Substation.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + return len(dAtA) - i, nil +} + +func (m *QueryAllSubstationRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *QueryAllSubstationRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *QueryAllSubstationRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Pagination != nil { + { + size, err := m.Pagination.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *QueryAllSubstationResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *QueryAllSubstationResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *QueryAllSubstationResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Pagination != nil { + { + size, err := m.Pagination.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if len(m.Substation) > 0 { + for iNdEx := len(m.Substation) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Substation[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *QueryValidateSignatureRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *QueryValidateSignatureRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *QueryValidateSignatureRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.ProofSignature) > 0 { + i -= len(m.ProofSignature) + copy(dAtA[i:], m.ProofSignature) + i = encodeVarintQuery(dAtA, i, uint64(len(m.ProofSignature))) + i-- + dAtA[i] = 0x22 + } + if len(m.ProofPubKey) > 0 { + i -= len(m.ProofPubKey) + copy(dAtA[i:], m.ProofPubKey) + i = encodeVarintQuery(dAtA, i, uint64(len(m.ProofPubKey))) + i-- + dAtA[i] = 0x1a + } + if len(m.Message) > 0 { + i -= len(m.Message) + copy(dAtA[i:], m.Message) + i = encodeVarintQuery(dAtA, i, uint64(len(m.Message))) + i-- + dAtA[i] = 0x12 + } + if len(m.Address) > 0 { + i -= len(m.Address) + copy(dAtA[i:], m.Address) + i = encodeVarintQuery(dAtA, i, uint64(len(m.Address))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *QueryValidateSignatureResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *QueryValidateSignatureResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *QueryValidateSignatureResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Valid { + i-- + if m.Valid { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x28 + } + if m.SignatureInvalid { + i-- + if m.SignatureInvalid { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x20 + } + if m.AddressPubkeyMismatch { + i-- + if m.AddressPubkeyMismatch { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x18 + } + if m.SignatureFormatError { + i-- + if m.SignatureFormatError { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x10 + } + if m.PubkeyFormatError { + i-- + if m.PubkeyFormatError { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func encodeVarintQuery(dAtA []byte, offset int, v uint64) int { + offset -= sovQuery(v) + base := offset + for v >= 1<<7 { + dAtA[offset] = uint8(v&0x7f | 0x80) + v >>= 7 + offset++ + } + dAtA[offset] = uint8(v) + return base +} +func (m *QueryParamsRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *QueryParamsResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = m.Params.Size() + n += 1 + l + sovQuery(uint64(l)) + return n +} + +func (m *QueryBlockHeight) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *QueryBlockHeightResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.BlockHeight != 0 { + n += 1 + sovQuery(uint64(m.BlockHeight)) + } + return n +} + +func (m *QueryGetAddressRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Address) + if l > 0 { + n += 1 + l + sovQuery(uint64(l)) + } + return n +} + +func (m *QueryAllAddressByPlayerRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.PlayerId) + if l > 0 { + n += 1 + l + sovQuery(uint64(l)) + } + if m.Pagination != nil { + l = m.Pagination.Size() + n += 1 + l + sovQuery(uint64(l)) + } + return n +} + +func (m *QueryAllAddressRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Pagination != nil { + l = m.Pagination.Size() + n += 1 + l + sovQuery(uint64(l)) + } + return n +} + +func (m *QueryAddressResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Address) + if l > 0 { + n += 1 + l + sovQuery(uint64(l)) + } + l = len(m.PlayerId) + if l > 0 { + n += 1 + l + sovQuery(uint64(l)) + } + if m.Permissions != 0 { + n += 1 + sovQuery(uint64(m.Permissions)) + } + return n +} + +func (m *QueryAllAddressResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Address) > 0 { + for _, e := range m.Address { + l = e.Size() + n += 1 + l + sovQuery(uint64(l)) + } + } + if m.Pagination != nil { + l = m.Pagination.Size() + n += 1 + l + sovQuery(uint64(l)) + } + return n +} + +func (m *QueryGetAgreementRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Id) + if l > 0 { + n += 1 + l + sovQuery(uint64(l)) + } + return n +} + +func (m *QueryGetAgreementResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = m.Agreement.Size() + n += 1 + l + sovQuery(uint64(l)) + return n +} + +func (m *QueryAllAgreementRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Pagination != nil { + l = m.Pagination.Size() + n += 1 + l + sovQuery(uint64(l)) + } + return n +} + +func (m *QueryAllAgreementByProviderRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Pagination != nil { + l = m.Pagination.Size() + n += 1 + l + sovQuery(uint64(l)) + } + l = len(m.ProviderId) + if l > 0 { + n += 1 + l + sovQuery(uint64(l)) + } + return n +} + +func (m *QueryAllAgreementResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Agreement) > 0 { + for _, e := range m.Agreement { + l = e.Size() + n += 1 + l + sovQuery(uint64(l)) + } + } + if m.Pagination != nil { + l = m.Pagination.Size() + n += 1 + l + sovQuery(uint64(l)) + } + return n +} + +func (m *QueryGetAllocationRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Id) + if l > 0 { + n += 1 + l + sovQuery(uint64(l)) + } + return n +} + +func (m *QueryGetAllocationResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = m.Allocation.Size() + n += 1 + l + sovQuery(uint64(l)) + if m.GridAttributes != nil { + l = m.GridAttributes.Size() + n += 1 + l + sovQuery(uint64(l)) + } + return n +} + +func (m *QueryAllAllocationRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Pagination != nil { + l = m.Pagination.Size() + n += 1 + l + sovQuery(uint64(l)) + } + return n +} + +func (m *QueryAllAllocationBySourceRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Pagination != nil { + l = m.Pagination.Size() + n += 1 + l + sovQuery(uint64(l)) + } + l = len(m.SourceId) + if l > 0 { + n += 1 + l + sovQuery(uint64(l)) + } + return n +} + +func (m *QueryAllAllocationByDestinationRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Pagination != nil { + l = m.Pagination.Size() + n += 1 + l + sovQuery(uint64(l)) + } + l = len(m.DestinationId) + if l > 0 { + n += 1 + l + sovQuery(uint64(l)) + } + return n +} + +func (m *QueryAllAllocationResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Allocation) > 0 { + for _, e := range m.Allocation { + l = e.Size() + n += 1 + l + sovQuery(uint64(l)) + } + } + if m.Pagination != nil { + l = m.Pagination.Size() + n += 1 + l + sovQuery(uint64(l)) + } + if len(m.Status) > 0 { + l = 0 + for _, e := range m.Status { + l += sovQuery(uint64(e)) + } + n += 1 + sovQuery(uint64(l)) + l + } + return n +} + +func (m *QueryGetFleetRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Id) + if l > 0 { + n += 1 + l + sovQuery(uint64(l)) + } + return n +} + +func (m *QueryGetFleetResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = m.Fleet.Size() + n += 1 + l + sovQuery(uint64(l)) + return n +} + +func (m *QueryGetFleetByIndexRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Index != 0 { + n += 1 + sovQuery(uint64(m.Index)) + } + return n +} + +func (m *QueryAllFleetRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Pagination != nil { + l = m.Pagination.Size() + n += 1 + l + sovQuery(uint64(l)) + } + return n +} + +func (m *QueryAllFleetResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Fleet) > 0 { + for _, e := range m.Fleet { + l = e.Size() + n += 1 + l + sovQuery(uint64(l)) + } + } + if m.Pagination != nil { + l = m.Pagination.Size() + n += 1 + l + sovQuery(uint64(l)) + } + return n +} + +func (m *QueryGetGridRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.AttributeId) + if l > 0 { + n += 1 + l + sovQuery(uint64(l)) + } + return n +} + +func (m *QueryAllGridRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Pagination != nil { + l = m.Pagination.Size() + n += 1 + l + sovQuery(uint64(l)) + } + return n +} + +func (m *QueryGetGridResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.GridRecord != nil { + l = m.GridRecord.Size() + n += 1 + l + sovQuery(uint64(l)) + } + return n +} + +func (m *QueryAllGridResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.GridRecords) > 0 { + for _, e := range m.GridRecords { + l = e.Size() + n += 1 + l + sovQuery(uint64(l)) + } + } + if m.Pagination != nil { + l = m.Pagination.Size() + n += 1 + l + sovQuery(uint64(l)) + } + return n +} + +func (m *QueryGetGuildRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Id) + if l > 0 { + n += 1 + l + sovQuery(uint64(l)) + } + return n +} + +func (m *QueryGetGuildResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = m.Guild.Size() + n += 1 + l + sovQuery(uint64(l)) + return n +} + +func (m *QueryAllGuildRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Pagination != nil { + l = m.Pagination.Size() + n += 1 + l + sovQuery(uint64(l)) + } + return n +} + +func (m *QueryAllGuildResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Guild) > 0 { + for _, e := range m.Guild { + l = e.Size() + n += 1 + l + sovQuery(uint64(l)) + } + } + if m.Pagination != nil { + l = m.Pagination.Size() + n += 1 + l + sovQuery(uint64(l)) + } + return n +} + +func (m *QueryGetGuildBankCollateralAddressRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.GuildId) + if l > 0 { + n += 1 + l + sovQuery(uint64(l)) + } + return n +} + +func (m *QueryAllGuildBankCollateralAddressRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Pagination != nil { + l = m.Pagination.Size() + n += 1 + l + sovQuery(uint64(l)) + } + return n +} + +func (m *QueryAllGuildBankCollateralAddressResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.InternalAddressAssociation) > 0 { + for _, e := range m.InternalAddressAssociation { + l = e.Size() + n += 1 + l + sovQuery(uint64(l)) + } + } + if m.Pagination != nil { + l = m.Pagination.Size() + n += 1 + l + sovQuery(uint64(l)) + } + return n +} + +func (m *QueryGetGuildByBankCollateralAddressRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Address) + if l > 0 { + n += 1 + l + sovQuery(uint64(l)) + } + return n +} + +func (m *QueryGetGuildMembershipApplicationRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.GuildId) + if l > 0 { + n += 1 + l + sovQuery(uint64(l)) + } + l = len(m.PlayerId) + if l > 0 { + n += 1 + l + sovQuery(uint64(l)) + } + return n +} + +func (m *QueryGetGuildMembershipApplicationResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = m.GuildMembershipApplication.Size() + n += 1 + l + sovQuery(uint64(l)) + return n +} + +func (m *QueryAllGuildMembershipApplicationRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Pagination != nil { + l = m.Pagination.Size() + n += 1 + l + sovQuery(uint64(l)) + } + return n +} + +func (m *QueryAllGuildMembershipApplicationResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.GuildMembershipApplication) > 0 { + for _, e := range m.GuildMembershipApplication { + l = e.Size() + n += 1 + l + sovQuery(uint64(l)) + } + } + if m.Pagination != nil { + l = m.Pagination.Size() + n += 1 + l + sovQuery(uint64(l)) + } + return n +} + +func (m *QueryGetInfusionRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.DestinationId) + if l > 0 { + n += 1 + l + sovQuery(uint64(l)) + } + l = len(m.Address) + if l > 0 { + n += 1 + l + sovQuery(uint64(l)) + } + return n +} + +func (m *QueryGetInfusionResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = m.Infusion.Size() + n += 1 + l + sovQuery(uint64(l)) + return n +} + +func (m *QueryAllInfusionByDestinationRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.DestinationId) + if l > 0 { + n += 1 + l + sovQuery(uint64(l)) + } + if m.Pagination != nil { + l = m.Pagination.Size() + n += 1 + l + sovQuery(uint64(l)) + } + return n +} + +func (m *QueryAllInfusionRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Pagination != nil { + l = m.Pagination.Size() + n += 1 + l + sovQuery(uint64(l)) + } + return n +} + +func (m *QueryAllInfusionResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Infusion) > 0 { + for _, e := range m.Infusion { + l = e.Size() + n += 1 + l + sovQuery(uint64(l)) + } + } + if m.Pagination != nil { + l = m.Pagination.Size() + n += 1 + l + sovQuery(uint64(l)) + } + if len(m.Status) > 0 { + l = 0 + for _, e := range m.Status { + l += sovQuery(uint64(e)) + } + n += 1 + sovQuery(uint64(l)) + l + } + return n +} + +func (m *QueryGetPermissionRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.PermissionId) + if l > 0 { + n += 1 + l + sovQuery(uint64(l)) + } + return n +} + +func (m *QueryAllPermissionByObjectRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ObjectId) + if l > 0 { + n += 1 + l + sovQuery(uint64(l)) + } + if m.Pagination != nil { + l = m.Pagination.Size() + n += 1 + l + sovQuery(uint64(l)) + } + return n +} + +func (m *QueryAllPermissionByPlayerRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.PlayerId) + if l > 0 { + n += 1 + l + sovQuery(uint64(l)) + } + if m.Pagination != nil { + l = m.Pagination.Size() + n += 1 + l + sovQuery(uint64(l)) + } + return n +} + +func (m *QueryAllPermissionRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Pagination != nil { + l = m.Pagination.Size() + n += 1 + l + sovQuery(uint64(l)) + } + return n +} + +func (m *QueryGetPermissionResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.PermissionRecord != nil { + l = m.PermissionRecord.Size() + n += 1 + l + sovQuery(uint64(l)) + } + return n +} + +func (m *QueryAllPermissionResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.PermissionRecords) > 0 { + for _, e := range m.PermissionRecords { + l = e.Size() + n += 1 + l + sovQuery(uint64(l)) + } + } + if m.Pagination != nil { + l = m.Pagination.Size() + n += 1 + l + sovQuery(uint64(l)) + } + return n +} + +func (m *QueryGetPlanetRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Id) + if l > 0 { + n += 1 + l + sovQuery(uint64(l)) + } + return n +} + +func (m *QueryGetPlanetResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = m.Planet.Size() + n += 1 + l + sovQuery(uint64(l)) + if m.GridAttributes != nil { + l = m.GridAttributes.Size() + n += 1 + l + sovQuery(uint64(l)) + } + if m.PlanetAttributes != nil { + l = m.PlanetAttributes.Size() + n += 1 + l + sovQuery(uint64(l)) + } + return n +} + +func (m *QueryAllPlanetRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Pagination != nil { + l = m.Pagination.Size() + n += 1 + l + sovQuery(uint64(l)) + } + return n +} + +func (m *QueryAllPlanetByPlayerRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.PlayerId) + if l > 0 { + n += 1 + l + sovQuery(uint64(l)) + } + if m.Pagination != nil { + l = m.Pagination.Size() + n += 1 + l + sovQuery(uint64(l)) + } + return n +} + +func (m *QueryAllPlanetResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Planet) > 0 { + for _, e := range m.Planet { + l = e.Size() + n += 1 + l + sovQuery(uint64(l)) + } + } + if m.Pagination != nil { + l = m.Pagination.Size() + n += 1 + l + sovQuery(uint64(l)) + } + return n +} + +func (m *QueryGetPlanetAttributeRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.PlanetId) + if l > 0 { + n += 1 + l + sovQuery(uint64(l)) + } + l = len(m.AttributeType) + if l > 0 { + n += 1 + l + sovQuery(uint64(l)) + } + return n +} + +func (m *QueryGetPlanetAttributeResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Attribute != 0 { + n += 1 + sovQuery(uint64(m.Attribute)) + } + return n +} + +func (m *QueryAllPlanetAttributeRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Pagination != nil { + l = m.Pagination.Size() + n += 1 + l + sovQuery(uint64(l)) + } + return n +} + +func (m *QueryAllPlanetAttributeResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.PlanetAttributeRecords) > 0 { + for _, e := range m.PlanetAttributeRecords { + l = e.Size() + n += 1 + l + sovQuery(uint64(l)) + } + } + if m.Pagination != nil { + l = m.Pagination.Size() + n += 1 + l + sovQuery(uint64(l)) + } + return n +} + +func (m *QueryGetPlayerRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Id) + if l > 0 { + n += 1 + l + sovQuery(uint64(l)) + } + return n +} + +func (m *QueryGetPlayerResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = m.Player.Size() + n += 1 + l + sovQuery(uint64(l)) + if m.GridAttributes != nil { + l = m.GridAttributes.Size() + n += 1 + l + sovQuery(uint64(l)) + } + if m.PlayerInventory != nil { + l = m.PlayerInventory.Size() + n += 1 + l + sovQuery(uint64(l)) + } + if m.Halted { + n += 2 + } + return n +} + +func (m *QueryAllPlayerRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Pagination != nil { + l = m.Pagination.Size() + n += 1 + l + sovQuery(uint64(l)) + } + return n +} + +func (m *QueryAllPlayerResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Player) > 0 { + for _, e := range m.Player { + l = e.Size() + n += 1 + l + sovQuery(uint64(l)) + } + } + if m.Pagination != nil { + l = m.Pagination.Size() + n += 1 + l + sovQuery(uint64(l)) + } + return n +} + +func (m *QueryAllPlayerHaltedRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *QueryAllPlayerHaltedResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.PlayerId) > 0 { + for _, s := range m.PlayerId { + l = len(s) + n += 1 + l + sovQuery(uint64(l)) + } + } + return n +} + +func (m *QueryGetProviderRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Id) + if l > 0 { + n += 1 + l + sovQuery(uint64(l)) + } + return n +} + +func (m *QueryGetProviderResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = m.Provider.Size() + n += 1 + l + sovQuery(uint64(l)) + if m.GridAttributes != nil { + l = m.GridAttributes.Size() + n += 1 + l + sovQuery(uint64(l)) + } + return n +} + +func (m *QueryAllProviderRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Pagination != nil { + l = m.Pagination.Size() + n += 1 + l + sovQuery(uint64(l)) + } + return n +} + +func (m *QueryAllProviderResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Provider) > 0 { + for _, e := range m.Provider { + l = e.Size() + n += 1 + l + sovQuery(uint64(l)) + } + } + if m.Pagination != nil { + l = m.Pagination.Size() + n += 1 + l + sovQuery(uint64(l)) + } + return n +} + +func (m *QueryGetProviderCollateralAddressRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ProviderId) + if l > 0 { + n += 1 + l + sovQuery(uint64(l)) + } + return n +} + +func (m *QueryAllProviderCollateralAddressRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Pagination != nil { + l = m.Pagination.Size() + n += 1 + l + sovQuery(uint64(l)) + } + return n +} + +func (m *QueryAllProviderCollateralAddressResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.InternalAddressAssociation) > 0 { + for _, e := range m.InternalAddressAssociation { + l = e.Size() + n += 1 + l + sovQuery(uint64(l)) + } + } + if m.Pagination != nil { + l = m.Pagination.Size() + n += 1 + l + sovQuery(uint64(l)) + } + return n +} + +func (m *QueryGetProviderByCollateralAddressRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Address) + if l > 0 { + n += 1 + l + sovQuery(uint64(l)) + } + return n +} + +func (m *QueryGetProviderEarningsAddressRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ProviderId) + if l > 0 { + n += 1 + l + sovQuery(uint64(l)) + } + return n +} + +func (m *QueryAllProviderEarningsAddressRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Pagination != nil { + l = m.Pagination.Size() + n += 1 + l + sovQuery(uint64(l)) + } + return n +} + +func (m *QueryAllProviderEarningsAddressResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.InternalAddressAssociation) > 0 { + for _, e := range m.InternalAddressAssociation { + l = e.Size() + n += 1 + l + sovQuery(uint64(l)) + } + } + if m.Pagination != nil { + l = m.Pagination.Size() + n += 1 + l + sovQuery(uint64(l)) + } + return n +} + +func (m *QueryGetProviderByEarningsAddressRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Address) + if l > 0 { + n += 1 + l + sovQuery(uint64(l)) + } + return n +} + +func (m *QueryGetReactorRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Id) + if l > 0 { + n += 1 + l + sovQuery(uint64(l)) + } + return n +} + +func (m *QueryGetReactorResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = m.Reactor.Size() + n += 1 + l + sovQuery(uint64(l)) + if m.GridAttributes != nil { + l = m.GridAttributes.Size() + n += 1 + l + sovQuery(uint64(l)) + } + return n +} + +func (m *QueryAllReactorRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Pagination != nil { + l = m.Pagination.Size() + n += 1 + l + sovQuery(uint64(l)) + } + return n +} + +func (m *QueryAllReactorResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Reactor) > 0 { + for _, e := range m.Reactor { + l = e.Size() + n += 1 + l + sovQuery(uint64(l)) + } + } + if m.Pagination != nil { + l = m.Pagination.Size() + n += 1 + l + sovQuery(uint64(l)) + } + return n +} + +func (m *QueryGetStructRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Id) + if l > 0 { + n += 1 + l + sovQuery(uint64(l)) + } + return n +} + +func (m *QueryGetStructResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = m.Struct.Size() + n += 1 + l + sovQuery(uint64(l)) + if m.StructAttributes != nil { + l = m.StructAttributes.Size() + n += 1 + l + sovQuery(uint64(l)) + } + if m.GridAttributes != nil { + l = m.GridAttributes.Size() + n += 1 + l + sovQuery(uint64(l)) + } + if len(m.StructDefenders) > 0 { + for _, s := range m.StructDefenders { + l = len(s) + n += 1 + l + sovQuery(uint64(l)) + } + } + return n +} + +func (m *QueryAllStructRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Pagination != nil { + l = m.Pagination.Size() + n += 1 + l + sovQuery(uint64(l)) + } + return n +} + +func (m *QueryAllStructResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Struct) > 0 { + for _, e := range m.Struct { + l = e.Size() + n += 1 + l + sovQuery(uint64(l)) + } + } + if m.Pagination != nil { + l = m.Pagination.Size() + n += 1 + l + sovQuery(uint64(l)) + } + return n +} + +func (m *QueryGetStructAttributeRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.StructId) + if l > 0 { + n += 1 + l + sovQuery(uint64(l)) + } + l = len(m.AttributeType) + if l > 0 { + n += 1 + l + sovQuery(uint64(l)) + } + return n +} + +func (m *QueryGetStructAttributeResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Attribute != 0 { + n += 1 + sovQuery(uint64(m.Attribute)) + } + return n +} + +func (m *QueryAllStructAttributeRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Pagination != nil { + l = m.Pagination.Size() + n += 1 + l + sovQuery(uint64(l)) + } + return n +} + +func (m *QueryAllStructAttributeResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.StructAttributeRecords) > 0 { + for _, e := range m.StructAttributeRecords { + l = e.Size() + n += 1 + l + sovQuery(uint64(l)) + } + } + if m.Pagination != nil { + l = m.Pagination.Size() + n += 1 + l + sovQuery(uint64(l)) + } + return n +} + +func (m *QueryGetStructTypeRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Id != 0 { + n += 1 + sovQuery(uint64(m.Id)) + } + return n +} + +func (m *QueryGetStructTypeResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = m.StructType.Size() + n += 1 + l + sovQuery(uint64(l)) + return n +} + +func (m *QueryAllStructTypeRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Pagination != nil { + l = m.Pagination.Size() + n += 1 + l + sovQuery(uint64(l)) + } + return n +} + +func (m *QueryAllStructTypeResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.StructType) > 0 { + for _, e := range m.StructType { + l = e.Size() + n += 1 + l + sovQuery(uint64(l)) + } + } + if m.Pagination != nil { + l = m.Pagination.Size() + n += 1 + l + sovQuery(uint64(l)) + } + return n +} + +func (m *QueryGetSubstationRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Id) + if l > 0 { + n += 1 + l + sovQuery(uint64(l)) + } + return n +} + +func (m *QueryGetSubstationResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = m.Substation.Size() + n += 1 + l + sovQuery(uint64(l)) + if m.GridAttributes != nil { + l = m.GridAttributes.Size() + n += 1 + l + sovQuery(uint64(l)) + } + return n +} + +func (m *QueryAllSubstationRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Pagination != nil { + l = m.Pagination.Size() + n += 1 + l + sovQuery(uint64(l)) + } + return n +} + +func (m *QueryAllSubstationResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Substation) > 0 { + for _, e := range m.Substation { + l = e.Size() + n += 1 + l + sovQuery(uint64(l)) + } + } + if m.Pagination != nil { + l = m.Pagination.Size() + n += 1 + l + sovQuery(uint64(l)) + } + return n +} + +func (m *QueryValidateSignatureRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Address) + if l > 0 { + n += 1 + l + sovQuery(uint64(l)) + } + l = len(m.Message) + if l > 0 { + n += 1 + l + sovQuery(uint64(l)) + } + l = len(m.ProofPubKey) + if l > 0 { + n += 1 + l + sovQuery(uint64(l)) + } + l = len(m.ProofSignature) + if l > 0 { + n += 1 + l + sovQuery(uint64(l)) + } + return n +} + +func (m *QueryValidateSignatureResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.PubkeyFormatError { + n += 2 + } + if m.SignatureFormatError { + n += 2 + } + if m.AddressPubkeyMismatch { + n += 2 + } + if m.SignatureInvalid { + n += 2 + } + if m.Valid { + n += 2 + } + return n +} + +func sovQuery(x uint64) (n int) { + return (math_bits.Len64(x|1) + 6) / 7 +} +func sozQuery(x uint64) (n int) { + return sovQuery(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +} +func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return 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 fmt.Errorf("proto: QueryParamsRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: QueryParamsRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipQuery(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthQuery + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return 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 fmt.Errorf("proto: QueryParamsResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: QueryParamsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Params", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.Params.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipQuery(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthQuery + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *QueryBlockHeight) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return 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 fmt.Errorf("proto: QueryBlockHeight: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: QueryBlockHeight: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipQuery(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthQuery + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *QueryBlockHeightResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return 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 fmt.Errorf("proto: QueryBlockHeightResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: QueryBlockHeightResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field BlockHeight", wireType) + } + m.BlockHeight = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.BlockHeight |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skipQuery(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthQuery + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *QueryGetAddressRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return 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 fmt.Errorf("proto: QueryGetAddressRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: QueryGetAddressRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Address = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipQuery(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthQuery + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *QueryAllAddressByPlayerRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return 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 fmt.Errorf("proto: QueryAllAddressByPlayerRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: QueryAllAddressByPlayerRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field PlayerId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.PlayerId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Pagination", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Pagination == nil { + m.Pagination = &query.PageRequest{} + } + if err := m.Pagination.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipQuery(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthQuery + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *QueryAllAddressRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return 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 fmt.Errorf("proto: QueryAllAddressRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: QueryAllAddressRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Pagination", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Pagination == nil { + m.Pagination = &query.PageRequest{} + } + if err := m.Pagination.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipQuery(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthQuery + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *QueryAddressResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return 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 fmt.Errorf("proto: QueryAddressResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: QueryAddressResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Address = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field PlayerId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.PlayerId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Permissions", wireType) + } + m.Permissions = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Permissions |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skipQuery(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthQuery + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *QueryAllAddressResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return 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 fmt.Errorf("proto: QueryAllAddressResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: QueryAllAddressResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Address = append(m.Address, &QueryAddressResponse{}) + if err := m.Address[len(m.Address)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Pagination", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Pagination == nil { + m.Pagination = &query.PageResponse{} + } + if err := m.Pagination.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipQuery(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthQuery + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *QueryGetAgreementRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return 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 fmt.Errorf("proto: QueryGetAgreementRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: QueryGetAgreementRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Id = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipQuery(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthQuery + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *QueryGetAgreementResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return 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 fmt.Errorf("proto: QueryGetAgreementResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: QueryGetAgreementResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Agreement", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.Agreement.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipQuery(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthQuery + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *QueryAllAgreementRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return 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 fmt.Errorf("proto: QueryAllAgreementRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: QueryAllAgreementRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Pagination", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Pagination == nil { + m.Pagination = &query.PageRequest{} + } + if err := m.Pagination.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipQuery(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthQuery + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *QueryAllAgreementByProviderRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return 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 fmt.Errorf("proto: QueryAllAgreementByProviderRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: QueryAllAgreementByProviderRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Pagination", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Pagination == nil { + m.Pagination = &query.PageRequest{} + } + if err := m.Pagination.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ProviderId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ProviderId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipQuery(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthQuery + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *QueryAllAgreementResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return 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 fmt.Errorf("proto: QueryAllAgreementResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: QueryAllAgreementResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Agreement", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Agreement = append(m.Agreement, Agreement{}) + if err := m.Agreement[len(m.Agreement)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Pagination", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Pagination == nil { + m.Pagination = &query.PageResponse{} + } + if err := m.Pagination.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipQuery(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthQuery + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *QueryGetAllocationRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return 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 fmt.Errorf("proto: QueryGetAllocationRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: QueryGetAllocationRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Id = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipQuery(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthQuery + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *QueryGetAllocationResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return 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 fmt.Errorf("proto: QueryGetAllocationResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: QueryGetAllocationResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Allocation", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.Allocation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field GridAttributes", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.GridAttributes == nil { + m.GridAttributes = &GridAttributes{} + } + if err := m.GridAttributes.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipQuery(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthQuery + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *QueryAllAllocationRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return 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 fmt.Errorf("proto: QueryAllAllocationRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: QueryAllAllocationRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Pagination", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Pagination == nil { + m.Pagination = &query.PageRequest{} + } + if err := m.Pagination.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipQuery(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthQuery + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *QueryAllAllocationBySourceRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return 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 fmt.Errorf("proto: QueryAllAllocationBySourceRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: QueryAllAllocationBySourceRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Pagination", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Pagination == nil { + m.Pagination = &query.PageRequest{} + } + if err := m.Pagination.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SourceId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.SourceId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipQuery(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthQuery + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *QueryAllAllocationByDestinationRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return 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 fmt.Errorf("proto: QueryAllAllocationByDestinationRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: QueryAllAllocationByDestinationRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Pagination", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Pagination == nil { + m.Pagination = &query.PageRequest{} + } + if err := m.Pagination.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field DestinationId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.DestinationId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipQuery(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthQuery + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *QueryAllAllocationResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return 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 fmt.Errorf("proto: QueryAllAllocationResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: QueryAllAllocationResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Allocation", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Allocation = append(m.Allocation, Allocation{}) + if err := m.Allocation[len(m.Allocation)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Pagination", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Pagination == nil { + m.Pagination = &query.PageResponse{} + } + if err := m.Pagination.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType == 0 { + var v uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.Status = append(m.Status, v) + } else if wireType == 2 { + var packedLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + packedLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if packedLen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + packedLen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + var elementCount int + var count int + for _, integer := range dAtA[iNdEx:postIndex] { + if integer < 128 { + count++ + } + } + elementCount = count + if elementCount != 0 && len(m.Status) == 0 { + m.Status = make([]uint64, 0, elementCount) + } + for iNdEx < postIndex { + var v uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.Status = append(m.Status, v) + } + } else { + return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) + } + default: + iNdEx = preIndex + skippy, err := skipQuery(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthQuery + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy } } - if m.Pagination != nil { - l = m.Pagination.Size() - n += 1 + l + sovQuery(uint64(l)) - } - return n -} - -func (m *QueryValidateSignatureRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Address) - if l > 0 { - n += 1 + l + sovQuery(uint64(l)) - } - l = len(m.Message) - if l > 0 { - n += 1 + l + sovQuery(uint64(l)) - } - l = len(m.ProofPubKey) - if l > 0 { - n += 1 + l + sovQuery(uint64(l)) - } - l = len(m.ProofSignature) - if l > 0 { - n += 1 + l + sovQuery(uint64(l)) - } - return n -} -func (m *QueryValidateSignatureResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.PubkeyFormatError { - n += 2 - } - if m.SignatureFormatError { - n += 2 - } - if m.AddressPubkeyMismatch { - n += 2 - } - if m.SignatureInvalid { - n += 2 - } - if m.Valid { - n += 2 + if iNdEx > l { + return io.ErrUnexpectedEOF } - return n -} - -func sovQuery(x uint64) (n int) { - return (math_bits.Len64(x|1) + 6) / 7 -} -func sozQuery(x uint64) (n int) { - return sovQuery(uint64((x << 1) ^ uint64((int64(x) >> 63)))) + return nil } -func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error { +func (m *QueryGetFleetRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -10090,12 +14881,44 @@ func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: QueryParamsRequest: wiretype end group for non-group") + return fmt.Errorf("proto: QueryGetFleetRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: QueryParamsRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: QueryGetFleetRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Id = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipQuery(dAtA[iNdEx:]) @@ -10117,7 +14940,7 @@ func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error { +func (m *QueryGetFleetResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -10140,15 +14963,15 @@ func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: QueryParamsResponse: wiretype end group for non-group") + return fmt.Errorf("proto: QueryGetFleetResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: QueryParamsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: QueryGetFleetResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Params", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Fleet", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -10175,7 +14998,7 @@ func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if err := m.Params.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Fleet.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -10200,7 +15023,76 @@ func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *QueryBlockHeight) Unmarshal(dAtA []byte) error { +func (m *QueryGetFleetByIndexRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return 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 fmt.Errorf("proto: QueryGetFleetByIndexRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: QueryGetFleetByIndexRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Index", wireType) + } + m.Index = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Index |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skipQuery(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthQuery + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *QueryAllFleetRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -10210,25 +15102,61 @@ func (m *QueryBlockHeight) Unmarshal(dAtA []byte) error { if shift >= 64 { return ErrIntOverflowQuery } - if iNdEx >= l { + if iNdEx >= l { + return 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 fmt.Errorf("proto: QueryAllFleetRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: QueryAllFleetRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Pagination", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break + if m.Pagination == nil { + m.Pagination = &query.PageRequest{} } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: QueryBlockHeight: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: QueryBlockHeight: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { + if err := m.Pagination.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipQuery(dAtA[iNdEx:]) @@ -10250,7 +15178,7 @@ func (m *QueryBlockHeight) Unmarshal(dAtA []byte) error { } return nil } -func (m *QueryBlockHeightResponse) Unmarshal(dAtA []byte) error { +func (m *QueryAllFleetResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -10273,17 +15201,17 @@ func (m *QueryBlockHeightResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: QueryBlockHeightResponse: wiretype end group for non-group") + return fmt.Errorf("proto: QueryAllFleetResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: QueryBlockHeightResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: QueryAllFleetResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field BlockHeight", wireType) + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Fleet", wireType) } - m.BlockHeight = 0 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowQuery @@ -10293,11 +15221,62 @@ func (m *QueryBlockHeightResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.BlockHeight |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Fleet = append(m.Fleet, Fleet{}) + if err := m.Fleet[len(m.Fleet)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Pagination", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } + if msglen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Pagination == nil { + m.Pagination = &query.PageResponse{} + } + if err := m.Pagination.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipQuery(dAtA[iNdEx:]) @@ -10319,7 +15298,7 @@ func (m *QueryBlockHeightResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *QueryGetAddressRequest) Unmarshal(dAtA []byte) error { +func (m *QueryGetGridRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -10342,15 +15321,15 @@ func (m *QueryGetAddressRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: QueryGetAddressRequest: wiretype end group for non-group") + return fmt.Errorf("proto: QueryGetGridRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: QueryGetAddressRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: QueryGetGridRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field AttributeId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -10378,7 +15357,7 @@ func (m *QueryGetAddressRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Address = string(dAtA[iNdEx:postIndex]) + m.AttributeId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -10401,7 +15380,7 @@ func (m *QueryGetAddressRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *QueryAllAddressByPlayerRequest) Unmarshal(dAtA []byte) error { +func (m *QueryAllGridRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -10424,45 +15403,13 @@ func (m *QueryAllAddressByPlayerRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: QueryAllAddressByPlayerRequest: wiretype end group for non-group") + return fmt.Errorf("proto: QueryAllGridRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: QueryAllAddressByPlayerRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: QueryAllGridRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PlayerId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthQuery - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthQuery - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.PlayerId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Pagination", wireType) } @@ -10519,7 +15466,7 @@ func (m *QueryAllAddressByPlayerRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *QueryAllAddressRequest) Unmarshal(dAtA []byte) error { +func (m *QueryGetGridResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -10542,15 +15489,15 @@ func (m *QueryAllAddressRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: QueryAllAddressRequest: wiretype end group for non-group") + return fmt.Errorf("proto: QueryGetGridResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: QueryAllAddressRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: QueryGetGridResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Pagination", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field GridRecord", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -10577,10 +15524,10 @@ func (m *QueryAllAddressRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Pagination == nil { - m.Pagination = &query.PageRequest{} + if m.GridRecord == nil { + m.GridRecord = &GridRecord{} } - if err := m.Pagination.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.GridRecord.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -10605,7 +15552,7 @@ func (m *QueryAllAddressRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *QueryAddressResponse) Unmarshal(dAtA []byte) error { +func (m *QueryAllGridResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -10628,17 +15575,17 @@ func (m *QueryAddressResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: QueryAddressResponse: wiretype end group for non-group") + return fmt.Errorf("proto: QueryAllGridResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: QueryAddressResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: QueryAllGridResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field GridRecords", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowQuery @@ -10648,27 +15595,115 @@ func (m *QueryAddressResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthQuery } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.GridRecords = append(m.GridRecords, &GridRecord{}) + if err := m.GridRecords[len(m.GridRecords)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Pagination", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthQuery } if postIndex > l { return io.ErrUnexpectedEOF } - m.Address = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: + if m.Pagination == nil { + m.Pagination = &query.PageResponse{} + } + if err := m.Pagination.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipQuery(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthQuery + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *QueryGetGuildRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return 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 fmt.Errorf("proto: QueryGetGuildRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: QueryGetGuildRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PlayerId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -10696,27 +15731,8 @@ func (m *QueryAddressResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.PlayerId = string(dAtA[iNdEx:postIndex]) + m.Id = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Permissions", wireType) - } - m.Permissions = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Permissions |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } default: iNdEx = preIndex skippy, err := skipQuery(dAtA[iNdEx:]) @@ -10738,7 +15754,7 @@ func (m *QueryAddressResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *QueryAllAddressResponse) Unmarshal(dAtA []byte) error { +func (m *QueryGetGuildResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -10761,49 +15777,15 @@ func (m *QueryAllAddressResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: QueryAllAddressResponse: wiretype end group for non-group") + return fmt.Errorf("proto: QueryGetGuildResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: QueryAllAddressResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: QueryGetGuildResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthQuery - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthQuery - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Address = append(m.Address, &QueryAddressResponse{}) - if err := m.Address[len(m.Address)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Pagination", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Guild", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -10830,10 +15812,7 @@ func (m *QueryAllAddressResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Pagination == nil { - m.Pagination = &query.PageResponse{} - } - if err := m.Pagination.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Guild.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -10858,7 +15837,7 @@ func (m *QueryAllAddressResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *QueryGetAllocationRequest) Unmarshal(dAtA []byte) error { +func (m *QueryAllGuildRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -10881,17 +15860,17 @@ func (m *QueryGetAllocationRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: QueryGetAllocationRequest: wiretype end group for non-group") + return fmt.Errorf("proto: QueryAllGuildRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: QueryGetAllocationRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: QueryAllGuildRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Pagination", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowQuery @@ -10901,23 +15880,27 @@ func (m *QueryGetAllocationRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthQuery } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthQuery } if postIndex > l { return io.ErrUnexpectedEOF } - m.Id = string(dAtA[iNdEx:postIndex]) + if m.Pagination == nil { + m.Pagination = &query.PageRequest{} + } + if err := m.Pagination.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } iNdEx = postIndex default: iNdEx = preIndex @@ -10940,7 +15923,7 @@ func (m *QueryGetAllocationRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *QueryGetAllocationResponse) Unmarshal(dAtA []byte) error { +func (m *QueryAllGuildResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -10963,15 +15946,15 @@ func (m *QueryGetAllocationResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: QueryGetAllocationResponse: wiretype end group for non-group") + return fmt.Errorf("proto: QueryAllGuildResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: QueryGetAllocationResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: QueryAllGuildResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Allocation", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Guild", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -10998,13 +15981,14 @@ func (m *QueryGetAllocationResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if err := m.Allocation.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + m.Guild = append(m.Guild, Guild{}) + if err := m.Guild[len(m.Guild)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field GridAttributes", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Pagination", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -11031,10 +16015,10 @@ func (m *QueryGetAllocationResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.GridAttributes == nil { - m.GridAttributes = &GridAttributes{} + if m.Pagination == nil { + m.Pagination = &query.PageResponse{} } - if err := m.GridAttributes.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Pagination.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -11059,7 +16043,7 @@ func (m *QueryGetAllocationResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *QueryAllAllocationRequest) Unmarshal(dAtA []byte) error { +func (m *QueryGetGuildBankCollateralAddressRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -11082,17 +16066,17 @@ func (m *QueryAllAllocationRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: QueryAllAllocationRequest: wiretype end group for non-group") + return fmt.Errorf("proto: QueryGetGuildBankCollateralAddressRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: QueryAllAllocationRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: QueryGetGuildBankCollateralAddressRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Pagination", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field GuildId", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowQuery @@ -11102,27 +16086,23 @@ func (m *QueryAllAllocationRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthQuery } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthQuery } if postIndex > l { return io.ErrUnexpectedEOF } - if m.Pagination == nil { - m.Pagination = &query.PageRequest{} - } - if err := m.Pagination.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } + m.GuildId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -11145,7 +16125,7 @@ func (m *QueryAllAllocationRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *QueryAllAllocationBySourceRequest) Unmarshal(dAtA []byte) error { +func (m *QueryAllGuildBankCollateralAddressRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -11168,10 +16148,10 @@ func (m *QueryAllAllocationBySourceRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: QueryAllAllocationBySourceRequest: wiretype end group for non-group") + return fmt.Errorf("proto: QueryAllGuildBankCollateralAddressRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: QueryAllAllocationBySourceRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: QueryAllGuildBankCollateralAddressRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -11210,38 +16190,6 @@ func (m *QueryAllAllocationBySourceRequest) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field SourceId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthQuery - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthQuery - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.SourceId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipQuery(dAtA[iNdEx:]) @@ -11263,7 +16211,7 @@ func (m *QueryAllAllocationBySourceRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *QueryAllAllocationByDestinationRequest) Unmarshal(dAtA []byte) error { +func (m *QueryAllGuildBankCollateralAddressResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -11286,13 +16234,47 @@ func (m *QueryAllAllocationByDestinationRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: QueryAllAllocationByDestinationRequest: wiretype end group for non-group") + return fmt.Errorf("proto: QueryAllGuildBankCollateralAddressResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: QueryAllAllocationByDestinationRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: QueryAllGuildBankCollateralAddressResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field InternalAddressAssociation", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.InternalAddressAssociation = append(m.InternalAddressAssociation, &InternalAddressAssociation{}) + if err := m.InternalAddressAssociation[len(m.InternalAddressAssociation)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Pagination", wireType) } @@ -11322,15 +16304,65 @@ func (m *QueryAllAllocationByDestinationRequest) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.Pagination == nil { - m.Pagination = &query.PageRequest{} + m.Pagination = &query.PageResponse{} } if err := m.Pagination.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } - iNdEx = postIndex - case 2: + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipQuery(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthQuery + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *QueryGetGuildByBankCollateralAddressRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return 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 fmt.Errorf("proto: QueryGetGuildByBankCollateralAddressRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: QueryGetGuildByBankCollateralAddressRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field DestinationId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -11358,7 +16390,7 @@ func (m *QueryAllAllocationByDestinationRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.DestinationId = string(dAtA[iNdEx:postIndex]) + m.Address = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -11381,7 +16413,7 @@ func (m *QueryAllAllocationByDestinationRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *QueryAllAllocationResponse) Unmarshal(dAtA []byte) error { +func (m *QueryGetGuildMembershipApplicationRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -11404,17 +16436,17 @@ func (m *QueryAllAllocationResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: QueryAllAllocationResponse: wiretype end group for non-group") + return fmt.Errorf("proto: QueryGetGuildMembershipApplicationRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: QueryAllAllocationResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: QueryGetGuildMembershipApplicationRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Allocation", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field GuildId", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowQuery @@ -11424,31 +16456,29 @@ func (m *QueryAllAllocationResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthQuery } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthQuery } if postIndex > l { return io.ErrUnexpectedEOF } - m.Allocation = append(m.Allocation, Allocation{}) - if err := m.Allocation[len(m.Allocation)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } + m.GuildId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Pagination", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field PlayerId", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowQuery @@ -11458,104 +16488,24 @@ func (m *QueryAllAllocationResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthQuery } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthQuery } if postIndex > l { return io.ErrUnexpectedEOF } - if m.Pagination == nil { - m.Pagination = &query.PageResponse{} - } - if err := m.Pagination.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } + m.PlayerId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 3: - if wireType == 0 { - var v uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.Status = append(m.Status, v) - } else if wireType == 2 { - var packedLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - packedLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if packedLen < 0 { - return ErrInvalidLengthQuery - } - postIndex := iNdEx + packedLen - if postIndex < 0 { - return ErrInvalidLengthQuery - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - var elementCount int - var count int - for _, integer := range dAtA[iNdEx:postIndex] { - if integer < 128 { - count++ - } - } - elementCount = count - if elementCount != 0 && len(m.Status) == 0 { - m.Status = make([]uint64, 0, elementCount) - } - for iNdEx < postIndex { - var v uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.Status = append(m.Status, v) - } - } else { - return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) - } default: iNdEx = preIndex skippy, err := skipQuery(dAtA[iNdEx:]) @@ -11577,7 +16527,7 @@ func (m *QueryAllAllocationResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *QueryGetFleetRequest) Unmarshal(dAtA []byte) error { +func (m *QueryGetGuildMembershipApplicationResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -11600,17 +16550,17 @@ func (m *QueryGetFleetRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: QueryGetFleetRequest: wiretype end group for non-group") + return fmt.Errorf("proto: QueryGetGuildMembershipApplicationResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: QueryGetFleetRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: QueryGetGuildMembershipApplicationResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field GuildMembershipApplication", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowQuery @@ -11620,23 +16570,24 @@ func (m *QueryGetFleetRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthQuery } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthQuery } if postIndex > l { return io.ErrUnexpectedEOF } - m.Id = string(dAtA[iNdEx:postIndex]) + if err := m.GuildMembershipApplication.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } iNdEx = postIndex default: iNdEx = preIndex @@ -11659,7 +16610,7 @@ func (m *QueryGetFleetRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *QueryGetFleetResponse) Unmarshal(dAtA []byte) error { +func (m *QueryAllGuildMembershipApplicationRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -11682,15 +16633,15 @@ func (m *QueryGetFleetResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: QueryGetFleetResponse: wiretype end group for non-group") + return fmt.Errorf("proto: QueryAllGuildMembershipApplicationRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: QueryGetFleetResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: QueryAllGuildMembershipApplicationRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Fleet", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Pagination", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -11717,7 +16668,10 @@ func (m *QueryGetFleetResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if err := m.Fleet.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if m.Pagination == nil { + m.Pagination = &query.PageRequest{} + } + if err := m.Pagination.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -11742,7 +16696,7 @@ func (m *QueryGetFleetResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *QueryGetFleetByIndexRequest) Unmarshal(dAtA []byte) error { +func (m *QueryAllGuildMembershipApplicationResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -11765,17 +16719,17 @@ func (m *QueryGetFleetByIndexRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: QueryGetFleetByIndexRequest: wiretype end group for non-group") + return fmt.Errorf("proto: QueryAllGuildMembershipApplicationResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: QueryGetFleetByIndexRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: QueryAllGuildMembershipApplicationResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Index", wireType) + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field GuildMembershipApplication", wireType) } - m.Index = 0 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowQuery @@ -11785,62 +16739,27 @@ func (m *QueryGetFleetByIndexRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Index |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - default: - iNdEx = preIndex - skippy, err := skipQuery(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { + if msglen < 0 { return ErrInvalidLengthQuery } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *QueryAllFleetRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthQuery } - if iNdEx >= l { + if postIndex > l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break + m.GuildMembershipApplication = append(m.GuildMembershipApplication, GuildMembershipApplication{}) + if err := m.GuildMembershipApplication[len(m.GuildMembershipApplication)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: QueryAllFleetRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: QueryAllFleetRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: + iNdEx = postIndex + case 2: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Pagination", wireType) } @@ -11870,7 +16789,7 @@ func (m *QueryAllFleetRequest) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.Pagination == nil { - m.Pagination = &query.PageRequest{} + m.Pagination = &query.PageResponse{} } if err := m.Pagination.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -11897,7 +16816,7 @@ func (m *QueryAllFleetRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *QueryAllFleetResponse) Unmarshal(dAtA []byte) error { +func (m *QueryGetInfusionRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -11920,17 +16839,17 @@ func (m *QueryAllFleetResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: QueryAllFleetResponse: wiretype end group for non-group") + return fmt.Errorf("proto: QueryGetInfusionRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: QueryAllFleetResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: QueryGetInfusionRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Fleet", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field DestinationId", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowQuery @@ -11940,31 +16859,29 @@ func (m *QueryAllFleetResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthQuery } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthQuery } if postIndex > l { return io.ErrUnexpectedEOF } - m.Fleet = append(m.Fleet, Fleet{}) - if err := m.Fleet[len(m.Fleet)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } + m.DestinationId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Pagination", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowQuery @@ -11974,27 +16891,23 @@ func (m *QueryAllFleetResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthQuery } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthQuery } if postIndex > l { return io.ErrUnexpectedEOF } - if m.Pagination == nil { - m.Pagination = &query.PageResponse{} - } - if err := m.Pagination.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } + m.Address = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -12017,7 +16930,7 @@ func (m *QueryAllFleetResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *QueryGetGridRequest) Unmarshal(dAtA []byte) error { +func (m *QueryGetInfusionResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -12040,17 +16953,17 @@ func (m *QueryGetGridRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: QueryGetGridRequest: wiretype end group for non-group") + return fmt.Errorf("proto: QueryGetInfusionResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: QueryGetGridRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: QueryGetInfusionResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AttributeId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Infusion", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowQuery @@ -12060,23 +16973,24 @@ func (m *QueryGetGridRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthQuery } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthQuery } if postIndex > l { return io.ErrUnexpectedEOF } - m.AttributeId = string(dAtA[iNdEx:postIndex]) + if err := m.Infusion.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } iNdEx = postIndex default: iNdEx = preIndex @@ -12099,7 +17013,7 @@ func (m *QueryGetGridRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *QueryAllGridRequest) Unmarshal(dAtA []byte) error { +func (m *QueryAllInfusionByDestinationRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -12122,13 +17036,45 @@ func (m *QueryAllGridRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: QueryAllGridRequest: wiretype end group for non-group") + return fmt.Errorf("proto: QueryAllInfusionByDestinationRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: QueryAllGridRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: QueryAllInfusionByDestinationRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field DestinationId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.DestinationId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Pagination", wireType) } @@ -12185,7 +17131,7 @@ func (m *QueryAllGridRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *QueryGetGridResponse) Unmarshal(dAtA []byte) error { +func (m *QueryAllInfusionRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -12208,15 +17154,15 @@ func (m *QueryGetGridResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: QueryGetGridResponse: wiretype end group for non-group") + return fmt.Errorf("proto: QueryAllInfusionRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: QueryGetGridResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: QueryAllInfusionRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field GridRecord", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Pagination", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -12243,10 +17189,10 @@ func (m *QueryGetGridResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.GridRecord == nil { - m.GridRecord = &GridRecord{} + if m.Pagination == nil { + m.Pagination = &query.PageRequest{} } - if err := m.GridRecord.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Pagination.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -12271,7 +17217,7 @@ func (m *QueryGetGridResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *QueryAllGridResponse) Unmarshal(dAtA []byte) error { +func (m *QueryAllInfusionResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -12294,15 +17240,15 @@ func (m *QueryAllGridResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: QueryAllGridResponse: wiretype end group for non-group") + return fmt.Errorf("proto: QueryAllInfusionResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: QueryAllGridResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: QueryAllInfusionResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field GridRecords", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Infusion", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -12329,8 +17275,8 @@ func (m *QueryAllGridResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.GridRecords = append(m.GridRecords, &GridRecord{}) - if err := m.GridRecords[len(m.GridRecords)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + m.Infusion = append(m.Infusion, Infusion{}) + if err := m.Infusion[len(m.Infusion)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -12370,88 +17316,82 @@ func (m *QueryAllGridResponse) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipQuery(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthQuery - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *QueryGetGuildRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return 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 fmt.Errorf("proto: QueryGetGuildRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: QueryGetGuildRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery + case 3: + if wireType == 0 { + var v uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } } - if iNdEx >= l { + m.Status = append(m.Status, v) + } else if wireType == 2 { + var packedLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + packedLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if packedLen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + packedLen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break + var elementCount int + var count int + for _, integer := range dAtA[iNdEx:postIndex] { + if integer < 128 { + count++ + } } + elementCount = count + if elementCount != 0 && len(m.Status) == 0 { + m.Status = make([]uint64, 0, elementCount) + } + for iNdEx < postIndex { + var v uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.Status = append(m.Status, v) + } + } else { + return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthQuery - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthQuery - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Id = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipQuery(dAtA[iNdEx:]) @@ -12473,7 +17413,7 @@ func (m *QueryGetGuildRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *QueryGetGuildResponse) Unmarshal(dAtA []byte) error { +func (m *QueryGetPermissionRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -12496,17 +17436,17 @@ func (m *QueryGetGuildResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: QueryGetGuildResponse: wiretype end group for non-group") + return fmt.Errorf("proto: QueryGetPermissionRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: QueryGetGuildResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: QueryGetPermissionRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Guild", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field PermissionId", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowQuery @@ -12516,24 +17456,23 @@ func (m *QueryGetGuildResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthQuery } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthQuery } if postIndex > l { return io.ErrUnexpectedEOF } - if err := m.Guild.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } + m.PermissionId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -12556,7 +17495,7 @@ func (m *QueryGetGuildResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *QueryAllGuildRequest) Unmarshal(dAtA []byte) error { +func (m *QueryAllPermissionByObjectRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -12579,13 +17518,45 @@ func (m *QueryAllGuildRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: QueryAllGuildRequest: wiretype end group for non-group") + return fmt.Errorf("proto: QueryAllPermissionByObjectRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: QueryAllGuildRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: QueryAllPermissionByObjectRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ObjectId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ObjectId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Pagination", wireType) } @@ -12642,7 +17613,7 @@ func (m *QueryAllGuildRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *QueryAllGuildResponse) Unmarshal(dAtA []byte) error { +func (m *QueryAllPermissionByPlayerRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -12665,17 +17636,17 @@ func (m *QueryAllGuildResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: QueryAllGuildResponse: wiretype end group for non-group") + return fmt.Errorf("proto: QueryAllPermissionByPlayerRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: QueryAllGuildResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: QueryAllPermissionByPlayerRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Guild", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field PlayerId", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowQuery @@ -12685,25 +17656,23 @@ func (m *QueryAllGuildResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthQuery } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthQuery } if postIndex > l { return io.ErrUnexpectedEOF } - m.Guild = append(m.Guild, Guild{}) - if err := m.Guild[len(m.Guild)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } + m.PlayerId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { @@ -12735,7 +17704,7 @@ func (m *QueryAllGuildResponse) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.Pagination == nil { - m.Pagination = &query.PageResponse{} + m.Pagination = &query.PageRequest{} } if err := m.Pagination.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -12762,7 +17731,7 @@ func (m *QueryAllGuildResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *QueryGetGuildMembershipApplicationRequest) Unmarshal(dAtA []byte) error { +func (m *QueryAllPermissionRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -12785,17 +17754,17 @@ func (m *QueryGetGuildMembershipApplicationRequest) Unmarshal(dAtA []byte) error fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: QueryGetGuildMembershipApplicationRequest: wiretype end group for non-group") + return fmt.Errorf("proto: QueryAllPermissionRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: QueryGetGuildMembershipApplicationRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: QueryAllPermissionRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field GuildId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Pagination", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowQuery @@ -12805,55 +17774,27 @@ func (m *QueryGetGuildMembershipApplicationRequest) Unmarshal(dAtA []byte) error } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthQuery } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthQuery } if postIndex > l { return io.ErrUnexpectedEOF } - m.GuildId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PlayerId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthQuery - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthQuery + if m.Pagination == nil { + m.Pagination = &query.PageRequest{} } - if postIndex > l { - return io.ErrUnexpectedEOF + if err := m.Pagination.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err } - m.PlayerId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -12876,7 +17817,7 @@ func (m *QueryGetGuildMembershipApplicationRequest) Unmarshal(dAtA []byte) error } return nil } -func (m *QueryGetGuildMembershipApplicationResponse) Unmarshal(dAtA []byte) error { +func (m *QueryGetPermissionResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -12899,15 +17840,15 @@ func (m *QueryGetGuildMembershipApplicationResponse) Unmarshal(dAtA []byte) erro fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: QueryGetGuildMembershipApplicationResponse: wiretype end group for non-group") + return fmt.Errorf("proto: QueryGetPermissionResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: QueryGetGuildMembershipApplicationResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: QueryGetPermissionResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field GuildMembershipApplication", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field PermissionRecord", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -12934,7 +17875,10 @@ func (m *QueryGetGuildMembershipApplicationResponse) Unmarshal(dAtA []byte) erro if postIndex > l { return io.ErrUnexpectedEOF } - if err := m.GuildMembershipApplication.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if m.PermissionRecord == nil { + m.PermissionRecord = &PermissionRecord{} + } + if err := m.PermissionRecord.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -12959,7 +17903,7 @@ func (m *QueryGetGuildMembershipApplicationResponse) Unmarshal(dAtA []byte) erro } return nil } -func (m *QueryAllGuildMembershipApplicationRequest) Unmarshal(dAtA []byte) error { +func (m *QueryAllPermissionResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -12982,13 +17926,47 @@ func (m *QueryAllGuildMembershipApplicationRequest) Unmarshal(dAtA []byte) error fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: QueryAllGuildMembershipApplicationRequest: wiretype end group for non-group") + return fmt.Errorf("proto: QueryAllPermissionResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: QueryAllGuildMembershipApplicationRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: QueryAllPermissionResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field PermissionRecords", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.PermissionRecords = append(m.PermissionRecords, &PermissionRecord{}) + if err := m.PermissionRecords[len(m.PermissionRecords)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Pagination", wireType) } @@ -13018,7 +17996,7 @@ func (m *QueryAllGuildMembershipApplicationRequest) Unmarshal(dAtA []byte) error return io.ErrUnexpectedEOF } if m.Pagination == nil { - m.Pagination = &query.PageRequest{} + m.Pagination = &query.PageResponse{} } if err := m.Pagination.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -13045,7 +18023,7 @@ func (m *QueryAllGuildMembershipApplicationRequest) Unmarshal(dAtA []byte) error } return nil } -func (m *QueryAllGuildMembershipApplicationResponse) Unmarshal(dAtA []byte) error { +func (m *QueryGetPlanetRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -13068,51 +18046,17 @@ func (m *QueryAllGuildMembershipApplicationResponse) Unmarshal(dAtA []byte) erro fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: QueryAllGuildMembershipApplicationResponse: wiretype end group for non-group") + return fmt.Errorf("proto: QueryGetPlanetRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: QueryAllGuildMembershipApplicationResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: QueryGetPlanetRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field GuildMembershipApplication", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthQuery - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthQuery - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.GuildMembershipApplication = append(m.GuildMembershipApplication, GuildMembershipApplication{}) - if err := m.GuildMembershipApplication[len(m.GuildMembershipApplication)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Pagination", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowQuery @@ -13122,27 +18066,23 @@ func (m *QueryAllGuildMembershipApplicationResponse) Unmarshal(dAtA []byte) erro } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthQuery } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthQuery } if postIndex > l { return io.ErrUnexpectedEOF } - if m.Pagination == nil { - m.Pagination = &query.PageResponse{} - } - if err := m.Pagination.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } + m.Id = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -13165,7 +18105,7 @@ func (m *QueryAllGuildMembershipApplicationResponse) Unmarshal(dAtA []byte) erro } return nil } -func (m *QueryGetInfusionRequest) Unmarshal(dAtA []byte) error { +func (m *QueryGetPlanetResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -13188,17 +18128,17 @@ func (m *QueryGetInfusionRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: QueryGetInfusionRequest: wiretype end group for non-group") + return fmt.Errorf("proto: QueryGetPlanetResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: QueryGetInfusionRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: QueryGetPlanetResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field DestinationId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Planet", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowQuery @@ -13208,29 +18148,30 @@ func (m *QueryGetInfusionRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthQuery } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthQuery } if postIndex > l { return io.ErrUnexpectedEOF } - m.DestinationId = string(dAtA[iNdEx:postIndex]) + if err := m.Planet.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field GridAttributes", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowQuery @@ -13240,23 +18181,63 @@ func (m *QueryGetInfusionRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthQuery } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthQuery } if postIndex > l { return io.ErrUnexpectedEOF } - m.Address = string(dAtA[iNdEx:postIndex]) + if m.GridAttributes == nil { + m.GridAttributes = &GridAttributes{} + } + if err := m.GridAttributes.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field PlanetAttributes", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.PlanetAttributes == nil { + m.PlanetAttributes = &PlanetAttributes{} + } + if err := m.PlanetAttributes.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } iNdEx = postIndex default: iNdEx = preIndex @@ -13279,7 +18260,7 @@ func (m *QueryGetInfusionRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *QueryGetInfusionResponse) Unmarshal(dAtA []byte) error { +func (m *QueryAllPlanetRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -13302,15 +18283,15 @@ func (m *QueryGetInfusionResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: QueryGetInfusionResponse: wiretype end group for non-group") + return fmt.Errorf("proto: QueryAllPlanetRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: QueryGetInfusionResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: QueryAllPlanetRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Infusion", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Pagination", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -13337,7 +18318,10 @@ func (m *QueryGetInfusionResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if err := m.Infusion.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if m.Pagination == nil { + m.Pagination = &query.PageRequest{} + } + if err := m.Pagination.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -13362,7 +18346,7 @@ func (m *QueryGetInfusionResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *QueryAllInfusionByDestinationRequest) Unmarshal(dAtA []byte) error { +func (m *QueryAllPlanetByPlayerRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -13385,15 +18369,15 @@ func (m *QueryAllInfusionByDestinationRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: QueryAllInfusionByDestinationRequest: wiretype end group for non-group") + return fmt.Errorf("proto: QueryAllPlanetByPlayerRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: QueryAllInfusionByDestinationRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: QueryAllPlanetByPlayerRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field DestinationId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field PlayerId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -13421,7 +18405,7 @@ func (m *QueryAllInfusionByDestinationRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.DestinationId = string(dAtA[iNdEx:postIndex]) + m.PlayerId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { @@ -13480,7 +18464,7 @@ func (m *QueryAllInfusionByDestinationRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *QueryAllInfusionRequest) Unmarshal(dAtA []byte) error { +func (m *QueryAllPlanetResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -13503,13 +18487,47 @@ func (m *QueryAllInfusionRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: QueryAllInfusionRequest: wiretype end group for non-group") + return fmt.Errorf("proto: QueryAllPlanetResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: QueryAllInfusionRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: QueryAllPlanetResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Planet", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Planet = append(m.Planet, Planet{}) + if err := m.Planet[len(m.Planet)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Pagination", wireType) } @@ -13539,7 +18557,7 @@ func (m *QueryAllInfusionRequest) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.Pagination == nil { - m.Pagination = &query.PageRequest{} + m.Pagination = &query.PageResponse{} } if err := m.Pagination.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -13566,7 +18584,7 @@ func (m *QueryAllInfusionRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *QueryAllInfusionResponse) Unmarshal(dAtA []byte) error { +func (m *QueryGetPlanetAttributeRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -13589,17 +18607,17 @@ func (m *QueryAllInfusionResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: QueryAllInfusionResponse: wiretype end group for non-group") + return fmt.Errorf("proto: QueryGetPlanetAttributeRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: QueryAllInfusionResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: QueryGetPlanetAttributeRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Infusion", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field PlanetId", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowQuery @@ -13609,31 +18627,29 @@ func (m *QueryAllInfusionResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthQuery } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthQuery } if postIndex > l { return io.ErrUnexpectedEOF } - m.Infusion = append(m.Infusion, Infusion{}) - if err := m.Infusion[len(m.Infusion)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } + m.PlanetId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Pagination", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field AttributeType", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowQuery @@ -13643,103 +18659,92 @@ func (m *QueryAllInfusionResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthQuery } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthQuery } if postIndex > l { return io.ErrUnexpectedEOF } - if m.Pagination == nil { - m.Pagination = &query.PageResponse{} - } - if err := m.Pagination.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + m.AttributeType = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipQuery(dAtA[iNdEx:]) + if err != nil { return err } - iNdEx = postIndex - case 3: - if wireType == 0 { - var v uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.Status = append(m.Status, v) - } else if wireType == 2 { - var packedLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - packedLen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if packedLen < 0 { - return ErrInvalidLengthQuery - } - postIndex := iNdEx + packedLen - if postIndex < 0 { - return ErrInvalidLengthQuery + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthQuery + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *QueryGetPlanetAttributeResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return 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 fmt.Errorf("proto: QueryGetPlanetAttributeResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: QueryGetPlanetAttributeResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Attribute", wireType) + } + m.Attribute = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery } - if postIndex > l { + if iNdEx >= l { return io.ErrUnexpectedEOF } - var elementCount int - var count int - for _, integer := range dAtA[iNdEx:postIndex] { - if integer < 128 { - count++ - } - } - elementCount = count - if elementCount != 0 && len(m.Status) == 0 { - m.Status = make([]uint64, 0, elementCount) - } - for iNdEx < postIndex { - var v uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.Status = append(m.Status, v) + b := dAtA[iNdEx] + iNdEx++ + m.Attribute |= uint64(b&0x7F) << shift + if b < 0x80 { + break } - } else { - return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) } default: iNdEx = preIndex @@ -13762,7 +18767,7 @@ func (m *QueryAllInfusionResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *QueryGetPermissionRequest) Unmarshal(dAtA []byte) error { +func (m *QueryAllPlanetAttributeRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -13785,17 +18790,17 @@ func (m *QueryGetPermissionRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: QueryGetPermissionRequest: wiretype end group for non-group") + return fmt.Errorf("proto: QueryAllPlanetAttributeRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: QueryGetPermissionRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: QueryAllPlanetAttributeRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PermissionId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Pagination", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowQuery @@ -13805,23 +18810,27 @@ func (m *QueryGetPermissionRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthQuery } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthQuery } if postIndex > l { return io.ErrUnexpectedEOF } - m.PermissionId = string(dAtA[iNdEx:postIndex]) + if m.Pagination == nil { + m.Pagination = &query.PageRequest{} + } + if err := m.Pagination.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } iNdEx = postIndex default: iNdEx = preIndex @@ -13844,7 +18853,7 @@ func (m *QueryGetPermissionRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *QueryAllPermissionByObjectRequest) Unmarshal(dAtA []byte) error { +func (m *QueryAllPlanetAttributeResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -13867,17 +18876,17 @@ func (m *QueryAllPermissionByObjectRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: QueryAllPermissionByObjectRequest: wiretype end group for non-group") + return fmt.Errorf("proto: QueryAllPlanetAttributeResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: QueryAllPermissionByObjectRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: QueryAllPlanetAttributeResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ObjectId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field PlanetAttributeRecords", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowQuery @@ -13887,23 +18896,25 @@ func (m *QueryAllPermissionByObjectRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthQuery } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthQuery } if postIndex > l { return io.ErrUnexpectedEOF } - m.ObjectId = string(dAtA[iNdEx:postIndex]) + m.PlanetAttributeRecords = append(m.PlanetAttributeRecords, &PlanetAttributeRecord{}) + if err := m.PlanetAttributeRecords[len(m.PlanetAttributeRecords)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } iNdEx = postIndex case 2: if wireType != 2 { @@ -13935,7 +18946,7 @@ func (m *QueryAllPermissionByObjectRequest) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.Pagination == nil { - m.Pagination = &query.PageRequest{} + m.Pagination = &query.PageResponse{} } if err := m.Pagination.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -13962,7 +18973,7 @@ func (m *QueryAllPermissionByObjectRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *QueryAllPermissionByPlayerRequest) Unmarshal(dAtA []byte) error { +func (m *QueryGetPlayerRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -13985,15 +18996,15 @@ func (m *QueryAllPermissionByPlayerRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: QueryAllPermissionByPlayerRequest: wiretype end group for non-group") + return fmt.Errorf("proto: QueryGetPlayerRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: QueryAllPermissionByPlayerRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: QueryGetPlayerRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PlayerId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -14021,43 +19032,7 @@ func (m *QueryAllPermissionByPlayerRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.PlayerId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Pagination", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthQuery - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthQuery - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Pagination == nil { - m.Pagination = &query.PageRequest{} - } - if err := m.Pagination.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } + m.Id = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -14080,7 +19055,7 @@ func (m *QueryAllPermissionByPlayerRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *QueryAllPermissionRequest) Unmarshal(dAtA []byte) error { +func (m *QueryGetPlayerResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -14103,15 +19078,84 @@ func (m *QueryAllPermissionRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: QueryAllPermissionRequest: wiretype end group for non-group") + return fmt.Errorf("proto: QueryGetPlayerResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: QueryAllPermissionRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: QueryGetPlayerResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Pagination", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Player", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.Player.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field GridAttributes", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.GridAttributes == nil { + m.GridAttributes = &GridAttributes{} + } + if err := m.GridAttributes.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field PlayerInventory", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -14128,23 +19172,43 @@ func (m *QueryAllPermissionRequest) Unmarshal(dAtA []byte) error { break } } - if msglen < 0 { - return ErrInvalidLengthQuery - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthQuery - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Pagination == nil { - m.Pagination = &query.PageRequest{} - } - if err := m.Pagination.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex + if msglen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.PlayerInventory == nil { + m.PlayerInventory = &PlayerInventory{} + } + if err := m.PlayerInventory.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Halted", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.Halted = bool(v != 0) default: iNdEx = preIndex skippy, err := skipQuery(dAtA[iNdEx:]) @@ -14166,7 +19230,7 @@ func (m *QueryAllPermissionRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *QueryGetPermissionResponse) Unmarshal(dAtA []byte) error { +func (m *QueryAllPlayerRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -14189,15 +19253,15 @@ func (m *QueryGetPermissionResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: QueryGetPermissionResponse: wiretype end group for non-group") + return fmt.Errorf("proto: QueryAllPlayerRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: QueryGetPermissionResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: QueryAllPlayerRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PermissionRecord", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Pagination", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -14224,10 +19288,10 @@ func (m *QueryGetPermissionResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.PermissionRecord == nil { - m.PermissionRecord = &PermissionRecord{} + if m.Pagination == nil { + m.Pagination = &query.PageRequest{} } - if err := m.PermissionRecord.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Pagination.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -14252,7 +19316,7 @@ func (m *QueryGetPermissionResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *QueryAllPermissionResponse) Unmarshal(dAtA []byte) error { +func (m *QueryAllPlayerResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -14275,15 +19339,15 @@ func (m *QueryAllPermissionResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: QueryAllPermissionResponse: wiretype end group for non-group") + return fmt.Errorf("proto: QueryAllPlayerResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: QueryAllPermissionResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: QueryAllPlayerResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PermissionRecords", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Player", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -14310,8 +19374,8 @@ func (m *QueryAllPermissionResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.PermissionRecords = append(m.PermissionRecords, &PermissionRecord{}) - if err := m.PermissionRecords[len(m.PermissionRecords)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + m.Player = append(m.Player, Player{}) + if err := m.Player[len(m.Player)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -14372,7 +19436,7 @@ func (m *QueryAllPermissionResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *QueryGetPlanetRequest) Unmarshal(dAtA []byte) error { +func (m *QueryAllPlayerHaltedRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -14395,44 +19459,12 @@ func (m *QueryGetPlanetRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: QueryGetPlanetRequest: wiretype end group for non-group") + return fmt.Errorf("proto: QueryAllPlayerHaltedRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: QueryGetPlanetRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: QueryAllPlayerHaltedRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthQuery - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthQuery - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Id = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipQuery(dAtA[iNdEx:]) @@ -14454,7 +19486,7 @@ func (m *QueryGetPlanetRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *QueryGetPlanetResponse) Unmarshal(dAtA []byte) error { +func (m *QueryAllPlayerHaltedResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -14477,86 +19509,17 @@ func (m *QueryGetPlanetResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: QueryGetPlanetResponse: wiretype end group for non-group") + return fmt.Errorf("proto: QueryAllPlayerHaltedResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: QueryGetPlanetResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: QueryAllPlayerHaltedResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Planet", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthQuery - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthQuery - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if err := m.Planet.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field GridAttributes", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthQuery - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthQuery - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.GridAttributes == nil { - m.GridAttributes = &GridAttributes{} - } - if err := m.GridAttributes.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PlanetAttributes", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field PlayerId", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowQuery @@ -14566,27 +19529,23 @@ func (m *QueryGetPlanetResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthQuery } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthQuery } if postIndex > l { return io.ErrUnexpectedEOF } - if m.PlanetAttributes == nil { - m.PlanetAttributes = &PlanetAttributes{} - } - if err := m.PlanetAttributes.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } + m.PlayerId = append(m.PlayerId, string(dAtA[iNdEx:postIndex])) iNdEx = postIndex default: iNdEx = preIndex @@ -14609,7 +19568,7 @@ func (m *QueryGetPlanetResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *QueryAllPlanetRequest) Unmarshal(dAtA []byte) error { +func (m *QueryGetProviderRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -14632,17 +19591,17 @@ func (m *QueryAllPlanetRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: QueryAllPlanetRequest: wiretype end group for non-group") + return fmt.Errorf("proto: QueryGetProviderRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: QueryAllPlanetRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: QueryGetProviderRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Pagination", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowQuery @@ -14652,27 +19611,23 @@ func (m *QueryAllPlanetRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthQuery } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthQuery } if postIndex > l { return io.ErrUnexpectedEOF } - if m.Pagination == nil { - m.Pagination = &query.PageRequest{} - } - if err := m.Pagination.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } + m.Id = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -14695,7 +19650,7 @@ func (m *QueryAllPlanetRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *QueryAllPlanetByPlayerRequest) Unmarshal(dAtA []byte) error { +func (m *QueryGetProviderResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -14718,17 +19673,17 @@ func (m *QueryAllPlanetByPlayerRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: QueryAllPlanetByPlayerRequest: wiretype end group for non-group") + return fmt.Errorf("proto: QueryGetProviderResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: QueryAllPlanetByPlayerRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: QueryGetProviderResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PlayerId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Provider", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowQuery @@ -14738,27 +19693,28 @@ func (m *QueryAllPlanetByPlayerRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthQuery } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthQuery } if postIndex > l { return io.ErrUnexpectedEOF } - m.PlayerId = string(dAtA[iNdEx:postIndex]) + if err := m.Provider.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Pagination", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field GridAttributes", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -14785,10 +19741,10 @@ func (m *QueryAllPlanetByPlayerRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Pagination == nil { - m.Pagination = &query.PageRequest{} + if m.GridAttributes == nil { + m.GridAttributes = &GridAttributes{} } - if err := m.Pagination.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.GridAttributes.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -14813,7 +19769,7 @@ func (m *QueryAllPlanetByPlayerRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *QueryAllPlanetResponse) Unmarshal(dAtA []byte) error { +func (m *QueryAllProviderRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -14835,48 +19791,14 @@ func (m *QueryAllPlanetResponse) Unmarshal(dAtA []byte) error { } fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: QueryAllPlanetResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: QueryAllPlanetResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Planet", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthQuery - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthQuery - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Planet = append(m.Planet, Planet{}) - if err := m.Planet[len(m.Planet)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: + if wireType == 4 { + return fmt.Errorf("proto: QueryAllProviderRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: QueryAllProviderRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Pagination", wireType) } @@ -14906,7 +19828,7 @@ func (m *QueryAllPlanetResponse) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } if m.Pagination == nil { - m.Pagination = &query.PageResponse{} + m.Pagination = &query.PageRequest{} } if err := m.Pagination.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -14933,7 +19855,7 @@ func (m *QueryAllPlanetResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *QueryGetPlanetAttributeRequest) Unmarshal(dAtA []byte) error { +func (m *QueryAllProviderResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -14956,17 +19878,17 @@ func (m *QueryGetPlanetAttributeRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: QueryGetPlanetAttributeRequest: wiretype end group for non-group") + return fmt.Errorf("proto: QueryAllProviderResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: QueryGetPlanetAttributeRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: QueryAllProviderResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PlanetId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Provider", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowQuery @@ -14976,29 +19898,31 @@ func (m *QueryGetPlanetAttributeRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthQuery } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthQuery } if postIndex > l { return io.ErrUnexpectedEOF } - m.PlanetId = string(dAtA[iNdEx:postIndex]) + m.Provider = append(m.Provider, Provider{}) + if err := m.Provider[len(m.Provider)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AttributeType", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Pagination", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowQuery @@ -15008,23 +19932,27 @@ func (m *QueryGetPlanetAttributeRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthQuery } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthQuery } if postIndex > l { return io.ErrUnexpectedEOF } - m.AttributeType = string(dAtA[iNdEx:postIndex]) + if m.Pagination == nil { + m.Pagination = &query.PageResponse{} + } + if err := m.Pagination.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } iNdEx = postIndex default: iNdEx = preIndex @@ -15047,7 +19975,7 @@ func (m *QueryGetPlanetAttributeRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *QueryGetPlanetAttributeResponse) Unmarshal(dAtA []byte) error { +func (m *QueryGetProviderCollateralAddressRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -15070,17 +19998,17 @@ func (m *QueryGetPlanetAttributeResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: QueryGetPlanetAttributeResponse: wiretype end group for non-group") + return fmt.Errorf("proto: QueryGetProviderCollateralAddressRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: QueryGetPlanetAttributeResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: QueryGetProviderCollateralAddressRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Attribute", wireType) + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ProviderId", wireType) } - m.Attribute = 0 + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowQuery @@ -15090,11 +20018,24 @@ func (m *QueryGetPlanetAttributeResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Attribute |= uint64(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ProviderId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipQuery(dAtA[iNdEx:]) @@ -15116,7 +20057,7 @@ func (m *QueryGetPlanetAttributeResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *QueryAllPlanetAttributeRequest) Unmarshal(dAtA []byte) error { +func (m *QueryAllProviderCollateralAddressRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -15139,10 +20080,10 @@ func (m *QueryAllPlanetAttributeRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: QueryAllPlanetAttributeRequest: wiretype end group for non-group") + return fmt.Errorf("proto: QueryAllProviderCollateralAddressRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: QueryAllPlanetAttributeRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: QueryAllProviderCollateralAddressRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -15202,7 +20143,7 @@ func (m *QueryAllPlanetAttributeRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *QueryAllPlanetAttributeResponse) Unmarshal(dAtA []byte) error { +func (m *QueryAllProviderCollateralAddressResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -15225,15 +20166,15 @@ func (m *QueryAllPlanetAttributeResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: QueryAllPlanetAttributeResponse: wiretype end group for non-group") + return fmt.Errorf("proto: QueryAllProviderCollateralAddressResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: QueryAllPlanetAttributeResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: QueryAllProviderCollateralAddressResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PlanetAttributeRecords", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field InternalAddressAssociation", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -15260,8 +20201,8 @@ func (m *QueryAllPlanetAttributeResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.PlanetAttributeRecords = append(m.PlanetAttributeRecords, &PlanetAttributeRecord{}) - if err := m.PlanetAttributeRecords[len(m.PlanetAttributeRecords)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + m.InternalAddressAssociation = append(m.InternalAddressAssociation, &InternalAddressAssociation{}) + if err := m.InternalAddressAssociation[len(m.InternalAddressAssociation)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -15322,7 +20263,7 @@ func (m *QueryAllPlanetAttributeResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *QueryGetPlayerRequest) Unmarshal(dAtA []byte) error { +func (m *QueryGetProviderByCollateralAddressRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -15345,15 +20286,15 @@ func (m *QueryGetPlayerRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: QueryGetPlayerRequest: wiretype end group for non-group") + return fmt.Errorf("proto: QueryGetProviderByCollateralAddressRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: QueryGetPlayerRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: QueryGetProviderByCollateralAddressRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -15381,7 +20322,7 @@ func (m *QueryGetPlayerRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Id = string(dAtA[iNdEx:postIndex]) + m.Address = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -15404,7 +20345,7 @@ func (m *QueryGetPlayerRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *QueryGetPlayerResponse) Unmarshal(dAtA []byte) error { +func (m *QueryGetProviderEarningsAddressRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -15427,86 +20368,17 @@ func (m *QueryGetPlayerResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: QueryGetPlayerResponse: wiretype end group for non-group") + return fmt.Errorf("proto: QueryGetProviderEarningsAddressRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: QueryGetPlayerResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: QueryGetProviderEarningsAddressRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Player", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthQuery - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthQuery - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if err := m.Player.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field GridAttributes", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowQuery - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthQuery - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthQuery - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.GridAttributes == nil { - m.GridAttributes = &GridAttributes{} - } - if err := m.GridAttributes.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PlayerInventory", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ProviderId", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowQuery @@ -15516,27 +20388,23 @@ func (m *QueryGetPlayerResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthQuery } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthQuery } if postIndex > l { return io.ErrUnexpectedEOF } - if m.PlayerInventory == nil { - m.PlayerInventory = &PlayerInventory{} - } - if err := m.PlayerInventory.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } + m.ProviderId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -15559,7 +20427,7 @@ func (m *QueryGetPlayerResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *QueryAllPlayerRequest) Unmarshal(dAtA []byte) error { +func (m *QueryAllProviderEarningsAddressRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -15582,10 +20450,10 @@ func (m *QueryAllPlayerRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: QueryAllPlayerRequest: wiretype end group for non-group") + return fmt.Errorf("proto: QueryAllProviderEarningsAddressRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: QueryAllPlayerRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: QueryAllProviderEarningsAddressRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -15645,7 +20513,7 @@ func (m *QueryAllPlayerRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *QueryAllPlayerResponse) Unmarshal(dAtA []byte) error { +func (m *QueryAllProviderEarningsAddressResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -15668,15 +20536,15 @@ func (m *QueryAllPlayerResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: QueryAllPlayerResponse: wiretype end group for non-group") + return fmt.Errorf("proto: QueryAllProviderEarningsAddressResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: QueryAllPlayerResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: QueryAllProviderEarningsAddressResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Player", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field InternalAddressAssociation", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -15703,8 +20571,8 @@ func (m *QueryAllPlayerResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Player = append(m.Player, Player{}) - if err := m.Player[len(m.Player)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + m.InternalAddressAssociation = append(m.InternalAddressAssociation, &InternalAddressAssociation{}) + if err := m.InternalAddressAssociation[len(m.InternalAddressAssociation)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -15765,6 +20633,88 @@ func (m *QueryAllPlayerResponse) Unmarshal(dAtA []byte) error { } return nil } +func (m *QueryGetProviderByEarningsAddressRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return 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 fmt.Errorf("proto: QueryGetProviderByEarningsAddressRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: QueryGetProviderByEarningsAddressRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Address = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipQuery(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthQuery + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} func (m *QueryGetReactorRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 diff --git a/x/structs/types/query.pb.gw.go b/x/structs/types/query.pb.gw.go index 7fd9216f..33f7f821 100644 --- a/x/structs/types/query.pb.gw.go +++ b/x/structs/types/query.pb.gw.go @@ -231,6 +231,168 @@ func local_request_Query_AddressAllByPlayer_0(ctx context.Context, marshaler run } +func request_Query_Agreement_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryGetAgreementRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["id"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id") + } + + protoReq.Id, err = runtime.String(val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id", err) + } + + msg, err := client.Agreement(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_Query_Agreement_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryGetAgreementRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["id"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id") + } + + protoReq.Id, err = runtime.String(val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id", err) + } + + msg, err := server.Agreement(ctx, &protoReq) + return msg, metadata, err + +} + +var ( + filter_Query_AgreementAll_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)} +) + +func request_Query_AgreementAll_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryAllAgreementRequest + var metadata runtime.ServerMetadata + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Query_AgreementAll_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.AgreementAll(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_Query_AgreementAll_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryAllAgreementRequest + var metadata runtime.ServerMetadata + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Query_AgreementAll_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.AgreementAll(ctx, &protoReq) + return msg, metadata, err + +} + +var ( + filter_Query_AgreementAllByProvider_0 = &utilities.DoubleArray{Encoding: map[string]int{"providerId": 0}, Base: []int{1, 1, 0}, Check: []int{0, 1, 2}} +) + +func request_Query_AgreementAllByProvider_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryAllAgreementByProviderRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["providerId"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "providerId") + } + + protoReq.ProviderId, err = runtime.String(val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "providerId", err) + } + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Query_AgreementAllByProvider_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.AgreementAllByProvider(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_Query_AgreementAllByProvider_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryAllAgreementByProviderRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["providerId"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "providerId") + } + + protoReq.ProviderId, err = runtime.String(val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "providerId", err) + } + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Query_AgreementAllByProvider_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.AgreementAllByProvider(ctx, &protoReq) + return msg, metadata, err + +} + func request_Query_Allocation_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq QueryGetAllocationRequest var metadata runtime.ServerMetadata @@ -789,6 +951,96 @@ func local_request_Query_GuildAll_0(ctx context.Context, marshaler runtime.Marsh } +func request_Query_GuildBankCollateralAddress_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryGetGuildBankCollateralAddressRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["guildId"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "guildId") + } + + protoReq.GuildId, err = runtime.String(val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "guildId", err) + } + + msg, err := client.GuildBankCollateralAddress(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_Query_GuildBankCollateralAddress_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryGetGuildBankCollateralAddressRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["guildId"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "guildId") + } + + protoReq.GuildId, err = runtime.String(val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "guildId", err) + } + + msg, err := server.GuildBankCollateralAddress(ctx, &protoReq) + return msg, metadata, err + +} + +var ( + filter_Query_GuildBankCollateralAddressAll_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)} +) + +func request_Query_GuildBankCollateralAddressAll_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryAllGuildBankCollateralAddressRequest + var metadata runtime.ServerMetadata + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Query_GuildBankCollateralAddressAll_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.GuildBankCollateralAddressAll(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_Query_GuildBankCollateralAddressAll_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryAllGuildBankCollateralAddressRequest + var metadata runtime.ServerMetadata + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Query_GuildBankCollateralAddressAll_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.GuildBankCollateralAddressAll(ctx, &protoReq) + return msg, metadata, err + +} + func request_Query_GuildMembershipApplication_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq QueryGetGuildMembershipApplicationRequest var metadata runtime.ServerMetadata @@ -1409,6 +1661,24 @@ func local_request_Query_PlayerAll_0(ctx context.Context, marshaler runtime.Mars } +func request_Query_PlayerHaltedAll_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryAllPlayerHaltedRequest + var metadata runtime.ServerMetadata + + msg, err := client.PlayerHaltedAll(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_Query_PlayerHaltedAll_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryAllPlayerHaltedRequest + var metadata runtime.ServerMetadata + + msg, err := server.PlayerHaltedAll(ctx, &protoReq) + return msg, metadata, err + +} + func request_Query_Planet_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq QueryGetPlanetRequest var metadata runtime.ServerMetadata @@ -1683,8 +1953,8 @@ func local_request_Query_PlanetAttributeAll_0(ctx context.Context, marshaler run } -func request_Query_Reactor_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq QueryGetReactorRequest +func request_Query_Provider_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryGetProviderRequest var metadata runtime.ServerMetadata var ( @@ -1705,13 +1975,13 @@ func request_Query_Reactor_0(ctx context.Context, marshaler runtime.Marshaler, c return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id", err) } - msg, err := client.Reactor(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + msg, err := client.Provider(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) return msg, metadata, err } -func local_request_Query_Reactor_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq QueryGetReactorRequest +func local_request_Query_Provider_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryGetProviderRequest var metadata runtime.ServerMetadata var ( @@ -1732,49 +2002,49 @@ func local_request_Query_Reactor_0(ctx context.Context, marshaler runtime.Marsha return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id", err) } - msg, err := server.Reactor(ctx, &protoReq) + msg, err := server.Provider(ctx, &protoReq) return msg, metadata, err } var ( - filter_Query_ReactorAll_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)} + filter_Query_ProviderAll_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)} ) -func request_Query_ReactorAll_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq QueryAllReactorRequest +func request_Query_ProviderAll_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryAllProviderRequest var metadata runtime.ServerMetadata if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Query_ReactorAll_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Query_ProviderAll_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - msg, err := client.ReactorAll(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + msg, err := client.ProviderAll(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) return msg, metadata, err } -func local_request_Query_ReactorAll_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq QueryAllReactorRequest +func local_request_Query_ProviderAll_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryAllProviderRequest var metadata runtime.ServerMetadata if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Query_ReactorAll_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Query_ProviderAll_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - msg, err := server.ReactorAll(ctx, &protoReq) + msg, err := server.ProviderAll(ctx, &protoReq) return msg, metadata, err } -func request_Query_Struct_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq QueryGetStructRequest +func request_Query_ProviderCollateralAddress_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryGetProviderCollateralAddressRequest var metadata runtime.ServerMetadata var ( @@ -1784,24 +2054,24 @@ func request_Query_Struct_0(ctx context.Context, marshaler runtime.Marshaler, cl _ = err ) - val, ok = pathParams["id"] + val, ok = pathParams["providerId"] if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id") + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "providerId") } - protoReq.Id, err = runtime.String(val) + protoReq.ProviderId, err = runtime.String(val) if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id", err) + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "providerId", err) } - msg, err := client.Struct(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + msg, err := client.ProviderCollateralAddress(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) return msg, metadata, err } -func local_request_Query_Struct_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq QueryGetStructRequest +func local_request_Query_ProviderCollateralAddress_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryGetProviderCollateralAddressRequest var metadata runtime.ServerMetadata var ( @@ -1811,59 +2081,329 @@ func local_request_Query_Struct_0(ctx context.Context, marshaler runtime.Marshal _ = err ) - val, ok = pathParams["id"] + val, ok = pathParams["providerId"] if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id") + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "providerId") } - protoReq.Id, err = runtime.String(val) + protoReq.ProviderId, err = runtime.String(val) if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id", err) + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "providerId", err) } - msg, err := server.Struct(ctx, &protoReq) + msg, err := server.ProviderCollateralAddress(ctx, &protoReq) return msg, metadata, err } var ( - filter_Query_StructAll_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)} + filter_Query_ProviderCollateralAddressAll_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)} ) -func request_Query_StructAll_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq QueryAllStructRequest +func request_Query_ProviderCollateralAddressAll_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryAllProviderCollateralAddressRequest var metadata runtime.ServerMetadata if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Query_StructAll_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Query_ProviderCollateralAddressAll_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - msg, err := client.StructAll(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + msg, err := client.ProviderCollateralAddressAll(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) return msg, metadata, err } -func local_request_Query_StructAll_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq QueryAllStructRequest +func local_request_Query_ProviderCollateralAddressAll_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryAllProviderCollateralAddressRequest var metadata runtime.ServerMetadata if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Query_StructAll_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Query_ProviderCollateralAddressAll_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - msg, err := server.StructAll(ctx, &protoReq) + msg, err := server.ProviderCollateralAddressAll(ctx, &protoReq) return msg, metadata, err } -func request_Query_StructAttribute_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func request_Query_ProviderEarningsAddress_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryGetProviderEarningsAddressRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["providerId"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "providerId") + } + + protoReq.ProviderId, err = runtime.String(val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "providerId", err) + } + + msg, err := client.ProviderEarningsAddress(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_Query_ProviderEarningsAddress_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryGetProviderEarningsAddressRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["providerId"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "providerId") + } + + protoReq.ProviderId, err = runtime.String(val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "providerId", err) + } + + msg, err := server.ProviderEarningsAddress(ctx, &protoReq) + return msg, metadata, err + +} + +var ( + filter_Query_ProviderEarningsAddressAll_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)} +) + +func request_Query_ProviderEarningsAddressAll_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryAllProviderEarningsAddressRequest + var metadata runtime.ServerMetadata + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Query_ProviderEarningsAddressAll_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.ProviderEarningsAddressAll(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_Query_ProviderEarningsAddressAll_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryAllProviderEarningsAddressRequest + var metadata runtime.ServerMetadata + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Query_ProviderEarningsAddressAll_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.ProviderEarningsAddressAll(ctx, &protoReq) + return msg, metadata, err + +} + +func request_Query_Reactor_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryGetReactorRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["id"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id") + } + + protoReq.Id, err = runtime.String(val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id", err) + } + + msg, err := client.Reactor(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_Query_Reactor_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryGetReactorRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["id"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id") + } + + protoReq.Id, err = runtime.String(val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id", err) + } + + msg, err := server.Reactor(ctx, &protoReq) + return msg, metadata, err + +} + +var ( + filter_Query_ReactorAll_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)} +) + +func request_Query_ReactorAll_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryAllReactorRequest + var metadata runtime.ServerMetadata + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Query_ReactorAll_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.ReactorAll(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_Query_ReactorAll_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryAllReactorRequest + var metadata runtime.ServerMetadata + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Query_ReactorAll_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.ReactorAll(ctx, &protoReq) + return msg, metadata, err + +} + +func request_Query_Struct_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryGetStructRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["id"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id") + } + + protoReq.Id, err = runtime.String(val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id", err) + } + + msg, err := client.Struct(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_Query_Struct_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryGetStructRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["id"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "id") + } + + protoReq.Id, err = runtime.String(val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "id", err) + } + + msg, err := server.Struct(ctx, &protoReq) + return msg, metadata, err + +} + +var ( + filter_Query_StructAll_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)} +) + +func request_Query_StructAll_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryAllStructRequest + var metadata runtime.ServerMetadata + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Query_StructAll_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.StructAll(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_Query_StructAll_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryAllStructRequest + var metadata runtime.ServerMetadata + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Query_StructAll_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.StructAll(ctx, &protoReq) + return msg, metadata, err + +} + +func request_Query_StructAttribute_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq QueryGetStructAttributeRequest var metadata runtime.ServerMetadata @@ -2396,6 +2936,75 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv }) + mux.Handle("GET", pattern_Query_Agreement_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_Query_Agreement_0(rctx, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Query_Agreement_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_Query_AgreementAll_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_Query_AgreementAll_0(rctx, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Query_AgreementAll_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_Query_AgreementAllByProvider_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_Query_AgreementAllByProvider_0(rctx, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Query_AgreementAllByProvider_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + mux.Handle("GET", pattern_Query_Allocation_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() @@ -2649,6 +3258,52 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv }) + mux.Handle("GET", pattern_Query_GuildBankCollateralAddress_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_Query_GuildBankCollateralAddress_0(rctx, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Query_GuildBankCollateralAddress_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_Query_GuildBankCollateralAddressAll_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_Query_GuildBankCollateralAddressAll_0(rctx, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Query_GuildBankCollateralAddressAll_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + mux.Handle("GET", pattern_Query_GuildMembershipApplication_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() @@ -2844,7 +3499,168 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_Query_PermissionAll_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_Query_PermissionAll_0(rctx, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Query_PermissionAll_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_Query_Player_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_Query_Player_0(rctx, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Query_Player_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_Query_PlayerAll_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_Query_PlayerAll_0(rctx, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Query_PlayerAll_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_Query_PlayerHaltedAll_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_Query_PlayerHaltedAll_0(rctx, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Query_PlayerHaltedAll_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_Query_Planet_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_Query_Planet_0(rctx, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Query_Planet_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_Query_PlanetAll_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_Query_PlanetAll_0(rctx, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Query_PlanetAll_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_Query_PlanetAllByPlayer_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_Query_PlanetAllByPlayer_0(rctx, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Query_PlanetAllByPlayer_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_Query_PlanetAttribute_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_Query_PlanetAttribute_0(rctx, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) ctx = runtime.NewServerMetadataContext(ctx, md) if err != nil { @@ -2852,11 +3668,11 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv return } - forward_Query_PermissionAll_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_Query_PlanetAttribute_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_Query_Player_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_Query_PlanetAttributeAll_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream @@ -2867,7 +3683,7 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_Query_Player_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_Query_PlanetAttributeAll_0(rctx, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) ctx = runtime.NewServerMetadataContext(ctx, md) if err != nil { @@ -2875,11 +3691,11 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv return } - forward_Query_Player_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_Query_PlanetAttributeAll_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_Query_PlayerAll_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_Query_Provider_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream @@ -2890,7 +3706,7 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_Query_PlayerAll_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_Query_Provider_0(rctx, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) ctx = runtime.NewServerMetadataContext(ctx, md) if err != nil { @@ -2898,11 +3714,11 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv return } - forward_Query_PlayerAll_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_Query_Provider_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_Query_Planet_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_Query_ProviderAll_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream @@ -2913,7 +3729,7 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_Query_Planet_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_Query_ProviderAll_0(rctx, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) ctx = runtime.NewServerMetadataContext(ctx, md) if err != nil { @@ -2921,11 +3737,11 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv return } - forward_Query_Planet_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_Query_ProviderAll_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_Query_PlanetAll_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_Query_ProviderCollateralAddress_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream @@ -2936,7 +3752,7 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_Query_PlanetAll_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_Query_ProviderCollateralAddress_0(rctx, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) ctx = runtime.NewServerMetadataContext(ctx, md) if err != nil { @@ -2944,11 +3760,11 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv return } - forward_Query_PlanetAll_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_Query_ProviderCollateralAddress_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_Query_PlanetAllByPlayer_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_Query_ProviderCollateralAddressAll_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream @@ -2959,7 +3775,7 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_Query_PlanetAllByPlayer_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_Query_ProviderCollateralAddressAll_0(rctx, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) ctx = runtime.NewServerMetadataContext(ctx, md) if err != nil { @@ -2967,11 +3783,11 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv return } - forward_Query_PlanetAllByPlayer_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_Query_ProviderCollateralAddressAll_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_Query_PlanetAttribute_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_Query_ProviderEarningsAddress_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream @@ -2982,7 +3798,7 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_Query_PlanetAttribute_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_Query_ProviderEarningsAddress_0(rctx, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) ctx = runtime.NewServerMetadataContext(ctx, md) if err != nil { @@ -2990,11 +3806,11 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv return } - forward_Query_PlanetAttribute_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_Query_ProviderEarningsAddress_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_Query_PlanetAttributeAll_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_Query_ProviderEarningsAddressAll_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream @@ -3005,7 +3821,7 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_Query_PlanetAttributeAll_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_Query_ProviderEarningsAddressAll_0(rctx, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) ctx = runtime.NewServerMetadataContext(ctx, md) if err != nil { @@ -3013,7 +3829,7 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv return } - forward_Query_PlanetAttributeAll_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_Query_ProviderEarningsAddressAll_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) @@ -3411,6 +4227,66 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie }) + mux.Handle("GET", pattern_Query_Agreement_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_Query_Agreement_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Query_Agreement_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_Query_AgreementAll_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_Query_AgreementAll_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Query_AgreementAll_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_Query_AgreementAllByProvider_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_Query_AgreementAllByProvider_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Query_AgreementAllByProvider_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + mux.Handle("GET", pattern_Query_Allocation_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() @@ -3631,6 +4507,46 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie }) + mux.Handle("GET", pattern_Query_GuildBankCollateralAddress_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_Query_GuildBankCollateralAddress_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Query_GuildBankCollateralAddress_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_Query_GuildBankCollateralAddressAll_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_Query_GuildBankCollateralAddressAll_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Query_GuildBankCollateralAddressAll_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + mux.Handle("GET", pattern_Query_GuildMembershipApplication_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() @@ -3851,6 +4767,26 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie }) + mux.Handle("GET", pattern_Query_PlayerHaltedAll_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_Query_PlayerHaltedAll_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Query_PlayerHaltedAll_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + mux.Handle("GET", pattern_Query_Planet_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() @@ -3951,6 +4887,126 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie }) + mux.Handle("GET", pattern_Query_Provider_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_Query_Provider_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Query_Provider_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_Query_ProviderAll_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_Query_ProviderAll_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Query_ProviderAll_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_Query_ProviderCollateralAddress_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_Query_ProviderCollateralAddress_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Query_ProviderCollateralAddress_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_Query_ProviderCollateralAddressAll_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_Query_ProviderCollateralAddressAll_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Query_ProviderCollateralAddressAll_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_Query_ProviderEarningsAddress_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_Query_ProviderEarningsAddress_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Query_ProviderEarningsAddress_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_Query_ProviderEarningsAddressAll_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_Query_ProviderEarningsAddressAll_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Query_ProviderEarningsAddressAll_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + mux.Handle("GET", pattern_Query_Reactor_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() @@ -4185,6 +5241,12 @@ var ( pattern_Query_AddressAllByPlayer_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 1, 5, 2}, []string{"structs", "address_by_player", "playerId"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_Query_Agreement_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 1, 5, 2}, []string{"structs", "agreement", "id"}, "", runtime.AssumeColonVerbOpt(false))) + + pattern_Query_AgreementAll_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"structs", "agreement"}, "", runtime.AssumeColonVerbOpt(false))) + + pattern_Query_AgreementAllByProvider_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 1, 5, 2}, []string{"structs", "agreement_by_provider", "providerId"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_Query_Allocation_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 1, 5, 2}, []string{"structs", "allocation", "id"}, "", runtime.AssumeColonVerbOpt(false))) pattern_Query_AllocationAll_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"structs", "allocation"}, "", runtime.AssumeColonVerbOpt(false))) @@ -4207,6 +5269,10 @@ var ( pattern_Query_GuildAll_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"structs", "guild"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_Query_GuildBankCollateralAddress_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 1, 5, 2}, []string{"structs", "guild_bank_collateral_address", "guildId"}, "", runtime.AssumeColonVerbOpt(false))) + + pattern_Query_GuildBankCollateralAddressAll_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"structs", "guild_bank_collateral_address"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_Query_GuildMembershipApplication_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 1, 5, 2, 1, 0, 4, 1, 5, 3}, []string{"structs", "guild_membership_application", "guildId", "playerId"}, "", runtime.AssumeColonVerbOpt(false))) pattern_Query_GuildMembershipApplicationAll_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"structs", "guild_membership_application"}, "", runtime.AssumeColonVerbOpt(false))) @@ -4229,6 +5295,8 @@ var ( pattern_Query_PlayerAll_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"structs", "player"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_Query_PlayerHaltedAll_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"structs", "player_halted"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_Query_Planet_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 1, 5, 2}, []string{"structs", "planet", "id"}, "", runtime.AssumeColonVerbOpt(false))) pattern_Query_PlanetAll_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"structs", "planet"}, "", runtime.AssumeColonVerbOpt(false))) @@ -4239,6 +5307,18 @@ var ( pattern_Query_PlanetAttributeAll_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"structs", "planet_attribute"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_Query_Provider_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 1, 5, 2}, []string{"structs", "provider", "id"}, "", runtime.AssumeColonVerbOpt(false))) + + pattern_Query_ProviderAll_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"structs", "provider"}, "", runtime.AssumeColonVerbOpt(false))) + + pattern_Query_ProviderCollateralAddress_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 1, 5, 2}, []string{"structs", "provider_collateral_address", "providerId"}, "", runtime.AssumeColonVerbOpt(false))) + + pattern_Query_ProviderCollateralAddressAll_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"structs", "provider_collateral_address"}, "", runtime.AssumeColonVerbOpt(false))) + + pattern_Query_ProviderEarningsAddress_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 1, 5, 2}, []string{"structs", "provider_earnings_address", "providerId"}, "", runtime.AssumeColonVerbOpt(false))) + + pattern_Query_ProviderEarningsAddressAll_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"structs", "provider_earnings_address"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_Query_Reactor_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 1, 5, 2}, []string{"structs", "reactor", "id"}, "", runtime.AssumeColonVerbOpt(false))) pattern_Query_ReactorAll_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"structs", "reactor"}, "", runtime.AssumeColonVerbOpt(false))) @@ -4273,6 +5353,12 @@ var ( forward_Query_AddressAllByPlayer_0 = runtime.ForwardResponseMessage + forward_Query_Agreement_0 = runtime.ForwardResponseMessage + + forward_Query_AgreementAll_0 = runtime.ForwardResponseMessage + + forward_Query_AgreementAllByProvider_0 = runtime.ForwardResponseMessage + forward_Query_Allocation_0 = runtime.ForwardResponseMessage forward_Query_AllocationAll_0 = runtime.ForwardResponseMessage @@ -4295,6 +5381,10 @@ var ( forward_Query_GuildAll_0 = runtime.ForwardResponseMessage + forward_Query_GuildBankCollateralAddress_0 = runtime.ForwardResponseMessage + + forward_Query_GuildBankCollateralAddressAll_0 = runtime.ForwardResponseMessage + forward_Query_GuildMembershipApplication_0 = runtime.ForwardResponseMessage forward_Query_GuildMembershipApplicationAll_0 = runtime.ForwardResponseMessage @@ -4317,6 +5407,8 @@ var ( forward_Query_PlayerAll_0 = runtime.ForwardResponseMessage + forward_Query_PlayerHaltedAll_0 = runtime.ForwardResponseMessage + forward_Query_Planet_0 = runtime.ForwardResponseMessage forward_Query_PlanetAll_0 = runtime.ForwardResponseMessage @@ -4327,6 +5419,18 @@ var ( forward_Query_PlanetAttributeAll_0 = runtime.ForwardResponseMessage + forward_Query_Provider_0 = runtime.ForwardResponseMessage + + forward_Query_ProviderAll_0 = runtime.ForwardResponseMessage + + forward_Query_ProviderCollateralAddress_0 = runtime.ForwardResponseMessage + + forward_Query_ProviderCollateralAddressAll_0 = runtime.ForwardResponseMessage + + forward_Query_ProviderEarningsAddress_0 = runtime.ForwardResponseMessage + + forward_Query_ProviderEarningsAddressAll_0 = runtime.ForwardResponseMessage + forward_Query_Reactor_0 = runtime.ForwardResponseMessage forward_Query_ReactorAll_0 = runtime.ForwardResponseMessage diff --git a/x/structs/types/struct_type.go b/x/structs/types/struct_type.go index 2007b959..8102cdf5 100644 --- a/x/structs/types/struct_type.go +++ b/x/structs/types/struct_type.go @@ -24,6 +24,10 @@ func (structType *StructType) VerifyWeaponSystem(weaponSystem TechWeaponSystem) return } +func (structType *StructType) HasStealthSystem() (bool) { + return (structType.UnitDefenses == TechUnitDefenses_stealthMode) +} + func (structType *StructType) HasOreMiningSystem() (bool) { return (structType.PlanetaryMining != TechPlanetaryMining_noPlanetaryMining) } diff --git a/x/structs/types/substation.go b/x/structs/types/substation.go index cfbd3f21..b29d57ae 100644 --- a/x/structs/types/substation.go +++ b/x/structs/types/substation.go @@ -6,3 +6,10 @@ import ( // sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" ) + +func CreateBaseSubstation(creator string, owner string) (Substation) { + return Substation{ + Creator: creator, + Owner: owner, + } +} diff --git a/x/structs/types/tx.pb.go b/x/structs/types/tx.pb.go index 14dae9e5..6c4131df 100644 --- a/x/structs/types/tx.pb.go +++ b/x/structs/types/tx.pb.go @@ -5,8 +5,10 @@ package types import ( context "context" + cosmossdk_io_math "cosmossdk.io/math" fmt "fmt" _ "github.com/cosmos/cosmos-proto" + types "github.com/cosmos/cosmos-sdk/types" _ "github.com/cosmos/cosmos-sdk/types/msgservice" _ "github.com/cosmos/cosmos-sdk/types/tx/amino" _ "github.com/cosmos/gogoproto/gogoproto" @@ -862,6 +864,286 @@ func (m *MsgFleetMoveResponse) GetFleet() *Fleet { return nil } +type MsgGuildBankMint struct { + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + AmountAlpha uint64 `protobuf:"varint,2,opt,name=amountAlpha,proto3" json:"amountAlpha,omitempty"` + AmountToken uint64 `protobuf:"varint,3,opt,name=amountToken,proto3" json:"amountToken,omitempty"` +} + +func (m *MsgGuildBankMint) Reset() { *m = MsgGuildBankMint{} } +func (m *MsgGuildBankMint) String() string { return proto.CompactTextString(m) } +func (*MsgGuildBankMint) ProtoMessage() {} +func (*MsgGuildBankMint) Descriptor() ([]byte, []int) { + return fileDescriptor_38fd6c203bede659, []int{16} +} +func (m *MsgGuildBankMint) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgGuildBankMint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgGuildBankMint.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *MsgGuildBankMint) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgGuildBankMint.Merge(m, src) +} +func (m *MsgGuildBankMint) XXX_Size() int { + return m.Size() +} +func (m *MsgGuildBankMint) XXX_DiscardUnknown() { + xxx_messageInfo_MsgGuildBankMint.DiscardUnknown(m) +} + +var xxx_messageInfo_MsgGuildBankMint proto.InternalMessageInfo + +func (m *MsgGuildBankMint) GetCreator() string { + if m != nil { + return m.Creator + } + return "" +} + +func (m *MsgGuildBankMint) GetAmountAlpha() uint64 { + if m != nil { + return m.AmountAlpha + } + return 0 +} + +func (m *MsgGuildBankMint) GetAmountToken() uint64 { + if m != nil { + return m.AmountToken + } + return 0 +} + +type MsgGuildBankMintResponse struct { +} + +func (m *MsgGuildBankMintResponse) Reset() { *m = MsgGuildBankMintResponse{} } +func (m *MsgGuildBankMintResponse) String() string { return proto.CompactTextString(m) } +func (*MsgGuildBankMintResponse) ProtoMessage() {} +func (*MsgGuildBankMintResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_38fd6c203bede659, []int{17} +} +func (m *MsgGuildBankMintResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgGuildBankMintResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgGuildBankMintResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *MsgGuildBankMintResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgGuildBankMintResponse.Merge(m, src) +} +func (m *MsgGuildBankMintResponse) XXX_Size() int { + return m.Size() +} +func (m *MsgGuildBankMintResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MsgGuildBankMintResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_MsgGuildBankMintResponse proto.InternalMessageInfo + +type MsgGuildBankRedeem struct { + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + AmountToken types.Coin `protobuf:"bytes,2,opt,name=amountToken,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"amountToken"` +} + +func (m *MsgGuildBankRedeem) Reset() { *m = MsgGuildBankRedeem{} } +func (m *MsgGuildBankRedeem) String() string { return proto.CompactTextString(m) } +func (*MsgGuildBankRedeem) ProtoMessage() {} +func (*MsgGuildBankRedeem) Descriptor() ([]byte, []int) { + return fileDescriptor_38fd6c203bede659, []int{18} +} +func (m *MsgGuildBankRedeem) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgGuildBankRedeem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgGuildBankRedeem.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *MsgGuildBankRedeem) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgGuildBankRedeem.Merge(m, src) +} +func (m *MsgGuildBankRedeem) XXX_Size() int { + return m.Size() +} +func (m *MsgGuildBankRedeem) XXX_DiscardUnknown() { + xxx_messageInfo_MsgGuildBankRedeem.DiscardUnknown(m) +} + +var xxx_messageInfo_MsgGuildBankRedeem proto.InternalMessageInfo + +func (m *MsgGuildBankRedeem) GetCreator() string { + if m != nil { + return m.Creator + } + return "" +} + +func (m *MsgGuildBankRedeem) GetAmountToken() types.Coin { + if m != nil { + return m.AmountToken + } + return types.Coin{} +} + +type MsgGuildBankRedeemResponse struct { +} + +func (m *MsgGuildBankRedeemResponse) Reset() { *m = MsgGuildBankRedeemResponse{} } +func (m *MsgGuildBankRedeemResponse) String() string { return proto.CompactTextString(m) } +func (*MsgGuildBankRedeemResponse) ProtoMessage() {} +func (*MsgGuildBankRedeemResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_38fd6c203bede659, []int{19} +} +func (m *MsgGuildBankRedeemResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgGuildBankRedeemResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgGuildBankRedeemResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *MsgGuildBankRedeemResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgGuildBankRedeemResponse.Merge(m, src) +} +func (m *MsgGuildBankRedeemResponse) XXX_Size() int { + return m.Size() +} +func (m *MsgGuildBankRedeemResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MsgGuildBankRedeemResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_MsgGuildBankRedeemResponse proto.InternalMessageInfo + +type MsgGuildBankConfiscateAndBurn struct { + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` + AmountToken uint64 `protobuf:"varint,3,opt,name=amountToken,proto3" json:"amountToken,omitempty"` +} + +func (m *MsgGuildBankConfiscateAndBurn) Reset() { *m = MsgGuildBankConfiscateAndBurn{} } +func (m *MsgGuildBankConfiscateAndBurn) String() string { return proto.CompactTextString(m) } +func (*MsgGuildBankConfiscateAndBurn) ProtoMessage() {} +func (*MsgGuildBankConfiscateAndBurn) Descriptor() ([]byte, []int) { + return fileDescriptor_38fd6c203bede659, []int{20} +} +func (m *MsgGuildBankConfiscateAndBurn) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgGuildBankConfiscateAndBurn) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgGuildBankConfiscateAndBurn.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *MsgGuildBankConfiscateAndBurn) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgGuildBankConfiscateAndBurn.Merge(m, src) +} +func (m *MsgGuildBankConfiscateAndBurn) XXX_Size() int { + return m.Size() +} +func (m *MsgGuildBankConfiscateAndBurn) XXX_DiscardUnknown() { + xxx_messageInfo_MsgGuildBankConfiscateAndBurn.DiscardUnknown(m) +} + +var xxx_messageInfo_MsgGuildBankConfiscateAndBurn proto.InternalMessageInfo + +func (m *MsgGuildBankConfiscateAndBurn) GetCreator() string { + if m != nil { + return m.Creator + } + return "" +} + +func (m *MsgGuildBankConfiscateAndBurn) GetAddress() string { + if m != nil { + return m.Address + } + return "" +} + +func (m *MsgGuildBankConfiscateAndBurn) GetAmountToken() uint64 { + if m != nil { + return m.AmountToken + } + return 0 +} + +type MsgGuildBankConfiscateAndBurnResponse struct { +} + +func (m *MsgGuildBankConfiscateAndBurnResponse) Reset() { *m = MsgGuildBankConfiscateAndBurnResponse{} } +func (m *MsgGuildBankConfiscateAndBurnResponse) String() string { return proto.CompactTextString(m) } +func (*MsgGuildBankConfiscateAndBurnResponse) ProtoMessage() {} +func (*MsgGuildBankConfiscateAndBurnResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_38fd6c203bede659, []int{21} +} +func (m *MsgGuildBankConfiscateAndBurnResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgGuildBankConfiscateAndBurnResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgGuildBankConfiscateAndBurnResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *MsgGuildBankConfiscateAndBurnResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgGuildBankConfiscateAndBurnResponse.Merge(m, src) +} +func (m *MsgGuildBankConfiscateAndBurnResponse) XXX_Size() int { + return m.Size() +} +func (m *MsgGuildBankConfiscateAndBurnResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MsgGuildBankConfiscateAndBurnResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_MsgGuildBankConfiscateAndBurnResponse proto.InternalMessageInfo + type MsgGuildCreate struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` Endpoint string `protobuf:"bytes,2,opt,name=endpoint,proto3" json:"endpoint,omitempty"` @@ -872,7 +1154,7 @@ func (m *MsgGuildCreate) Reset() { *m = MsgGuildCreate{} } func (m *MsgGuildCreate) String() string { return proto.CompactTextString(m) } func (*MsgGuildCreate) ProtoMessage() {} func (*MsgGuildCreate) Descriptor() ([]byte, []int) { - return fileDescriptor_38fd6c203bede659, []int{16} + return fileDescriptor_38fd6c203bede659, []int{22} } func (m *MsgGuildCreate) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -930,7 +1212,7 @@ func (m *MsgGuildCreateResponse) Reset() { *m = MsgGuildCreateResponse{} func (m *MsgGuildCreateResponse) String() string { return proto.CompactTextString(m) } func (*MsgGuildCreateResponse) ProtoMessage() {} func (*MsgGuildCreateResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_38fd6c203bede659, []int{17} + return fileDescriptor_38fd6c203bede659, []int{23} } func (m *MsgGuildCreateResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -976,7 +1258,7 @@ func (m *MsgGuildUpdateOwnerId) Reset() { *m = MsgGuildUpdateOwnerId{} } func (m *MsgGuildUpdateOwnerId) String() string { return proto.CompactTextString(m) } func (*MsgGuildUpdateOwnerId) ProtoMessage() {} func (*MsgGuildUpdateOwnerId) Descriptor() ([]byte, []int) { - return fileDescriptor_38fd6c203bede659, []int{18} + return fileDescriptor_38fd6c203bede659, []int{24} } func (m *MsgGuildUpdateOwnerId) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1036,7 +1318,7 @@ func (m *MsgGuildUpdateEntrySubstationId) Reset() { *m = MsgGuildUpdateE func (m *MsgGuildUpdateEntrySubstationId) String() string { return proto.CompactTextString(m) } func (*MsgGuildUpdateEntrySubstationId) ProtoMessage() {} func (*MsgGuildUpdateEntrySubstationId) Descriptor() ([]byte, []int) { - return fileDescriptor_38fd6c203bede659, []int{19} + return fileDescriptor_38fd6c203bede659, []int{25} } func (m *MsgGuildUpdateEntrySubstationId) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1096,7 +1378,7 @@ func (m *MsgGuildUpdateEndpoint) Reset() { *m = MsgGuildUpdateEndpoint{} func (m *MsgGuildUpdateEndpoint) String() string { return proto.CompactTextString(m) } func (*MsgGuildUpdateEndpoint) ProtoMessage() {} func (*MsgGuildUpdateEndpoint) Descriptor() ([]byte, []int) { - return fileDescriptor_38fd6c203bede659, []int{20} + return fileDescriptor_38fd6c203bede659, []int{26} } func (m *MsgGuildUpdateEndpoint) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1156,7 +1438,7 @@ func (m *MsgGuildUpdateJoinInfusionMinimum) Reset() { *m = MsgGuildUpdat func (m *MsgGuildUpdateJoinInfusionMinimum) String() string { return proto.CompactTextString(m) } func (*MsgGuildUpdateJoinInfusionMinimum) ProtoMessage() {} func (*MsgGuildUpdateJoinInfusionMinimum) Descriptor() ([]byte, []int) { - return fileDescriptor_38fd6c203bede659, []int{21} + return fileDescriptor_38fd6c203bede659, []int{27} } func (m *MsgGuildUpdateJoinInfusionMinimum) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1220,7 +1502,7 @@ func (m *MsgGuildUpdateJoinInfusionMinimumBypassByRequest) String() string { } func (*MsgGuildUpdateJoinInfusionMinimumBypassByRequest) ProtoMessage() {} func (*MsgGuildUpdateJoinInfusionMinimumBypassByRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_38fd6c203bede659, []int{22} + return fileDescriptor_38fd6c203bede659, []int{28} } func (m *MsgGuildUpdateJoinInfusionMinimumBypassByRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1284,7 +1566,7 @@ func (m *MsgGuildUpdateJoinInfusionMinimumBypassByInvite) String() string { } func (*MsgGuildUpdateJoinInfusionMinimumBypassByInvite) ProtoMessage() {} func (*MsgGuildUpdateJoinInfusionMinimumBypassByInvite) Descriptor() ([]byte, []int) { - return fileDescriptor_38fd6c203bede659, []int{23} + return fileDescriptor_38fd6c203bede659, []int{29} } func (m *MsgGuildUpdateJoinInfusionMinimumBypassByInvite) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1341,7 +1623,7 @@ func (m *MsgGuildUpdateResponse) Reset() { *m = MsgGuildUpdateResponse{} func (m *MsgGuildUpdateResponse) String() string { return proto.CompactTextString(m) } func (*MsgGuildUpdateResponse) ProtoMessage() {} func (*MsgGuildUpdateResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_38fd6c203bede659, []int{24} + return fileDescriptor_38fd6c203bede659, []int{30} } func (m *MsgGuildUpdateResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1381,7 +1663,7 @@ func (m *MsgGuildMembershipInvite) Reset() { *m = MsgGuildMembershipInvi func (m *MsgGuildMembershipInvite) String() string { return proto.CompactTextString(m) } func (*MsgGuildMembershipInvite) ProtoMessage() {} func (*MsgGuildMembershipInvite) Descriptor() ([]byte, []int) { - return fileDescriptor_38fd6c203bede659, []int{25} + return fileDescriptor_38fd6c203bede659, []int{31} } func (m *MsgGuildMembershipInvite) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1449,7 +1731,7 @@ func (m *MsgGuildMembershipInviteApprove) Reset() { *m = MsgGuildMembers func (m *MsgGuildMembershipInviteApprove) String() string { return proto.CompactTextString(m) } func (*MsgGuildMembershipInviteApprove) ProtoMessage() {} func (*MsgGuildMembershipInviteApprove) Descriptor() ([]byte, []int) { - return fileDescriptor_38fd6c203bede659, []int{26} + return fileDescriptor_38fd6c203bede659, []int{32} } func (m *MsgGuildMembershipInviteApprove) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1516,7 +1798,7 @@ func (m *MsgGuildMembershipInviteDeny) Reset() { *m = MsgGuildMembership func (m *MsgGuildMembershipInviteDeny) String() string { return proto.CompactTextString(m) } func (*MsgGuildMembershipInviteDeny) ProtoMessage() {} func (*MsgGuildMembershipInviteDeny) Descriptor() ([]byte, []int) { - return fileDescriptor_38fd6c203bede659, []int{27} + return fileDescriptor_38fd6c203bede659, []int{33} } func (m *MsgGuildMembershipInviteDeny) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1576,7 +1858,7 @@ func (m *MsgGuildMembershipInviteRevoke) Reset() { *m = MsgGuildMembersh func (m *MsgGuildMembershipInviteRevoke) String() string { return proto.CompactTextString(m) } func (*MsgGuildMembershipInviteRevoke) ProtoMessage() {} func (*MsgGuildMembershipInviteRevoke) Descriptor() ([]byte, []int) { - return fileDescriptor_38fd6c203bede659, []int{28} + return fileDescriptor_38fd6c203bede659, []int{34} } func (m *MsgGuildMembershipInviteRevoke) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1638,7 +1920,7 @@ func (m *MsgGuildMembershipJoin) Reset() { *m = MsgGuildMembershipJoin{} func (m *MsgGuildMembershipJoin) String() string { return proto.CompactTextString(m) } func (*MsgGuildMembershipJoin) ProtoMessage() {} func (*MsgGuildMembershipJoin) Descriptor() ([]byte, []int) { - return fileDescriptor_38fd6c203bede659, []int{29} + return fileDescriptor_38fd6c203bede659, []int{35} } func (m *MsgGuildMembershipJoin) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1714,7 +1996,7 @@ func (m *MsgGuildMembershipJoinProxy) Reset() { *m = MsgGuildMembershipJ func (m *MsgGuildMembershipJoinProxy) String() string { return proto.CompactTextString(m) } func (*MsgGuildMembershipJoinProxy) ProtoMessage() {} func (*MsgGuildMembershipJoinProxy) Descriptor() ([]byte, []int) { - return fileDescriptor_38fd6c203bede659, []int{30} + return fileDescriptor_38fd6c203bede659, []int{36} } func (m *MsgGuildMembershipJoinProxy) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1788,7 +2070,7 @@ func (m *MsgGuildMembershipKick) Reset() { *m = MsgGuildMembershipKick{} func (m *MsgGuildMembershipKick) String() string { return proto.CompactTextString(m) } func (*MsgGuildMembershipKick) ProtoMessage() {} func (*MsgGuildMembershipKick) Descriptor() ([]byte, []int) { - return fileDescriptor_38fd6c203bede659, []int{31} + return fileDescriptor_38fd6c203bede659, []int{37} } func (m *MsgGuildMembershipKick) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1849,7 +2131,7 @@ func (m *MsgGuildMembershipRequest) Reset() { *m = MsgGuildMembershipReq func (m *MsgGuildMembershipRequest) String() string { return proto.CompactTextString(m) } func (*MsgGuildMembershipRequest) ProtoMessage() {} func (*MsgGuildMembershipRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_38fd6c203bede659, []int{32} + return fileDescriptor_38fd6c203bede659, []int{38} } func (m *MsgGuildMembershipRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1917,7 +2199,7 @@ func (m *MsgGuildMembershipRequestApprove) Reset() { *m = MsgGuildMember func (m *MsgGuildMembershipRequestApprove) String() string { return proto.CompactTextString(m) } func (*MsgGuildMembershipRequestApprove) ProtoMessage() {} func (*MsgGuildMembershipRequestApprove) Descriptor() ([]byte, []int) { - return fileDescriptor_38fd6c203bede659, []int{33} + return fileDescriptor_38fd6c203bede659, []int{39} } func (m *MsgGuildMembershipRequestApprove) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1984,7 +2266,7 @@ func (m *MsgGuildMembershipRequestDeny) Reset() { *m = MsgGuildMembershi func (m *MsgGuildMembershipRequestDeny) String() string { return proto.CompactTextString(m) } func (*MsgGuildMembershipRequestDeny) ProtoMessage() {} func (*MsgGuildMembershipRequestDeny) Descriptor() ([]byte, []int) { - return fileDescriptor_38fd6c203bede659, []int{34} + return fileDescriptor_38fd6c203bede659, []int{40} } func (m *MsgGuildMembershipRequestDeny) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2044,7 +2326,7 @@ func (m *MsgGuildMembershipRequestRevoke) Reset() { *m = MsgGuildMembers func (m *MsgGuildMembershipRequestRevoke) String() string { return proto.CompactTextString(m) } func (*MsgGuildMembershipRequestRevoke) ProtoMessage() {} func (*MsgGuildMembershipRequestRevoke) Descriptor() ([]byte, []int) { - return fileDescriptor_38fd6c203bede659, []int{35} + return fileDescriptor_38fd6c203bede659, []int{41} } func (m *MsgGuildMembershipRequestRevoke) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2102,7 +2384,7 @@ func (m *MsgGuildMembershipResponse) Reset() { *m = MsgGuildMembershipRe func (m *MsgGuildMembershipResponse) String() string { return proto.CompactTextString(m) } func (*MsgGuildMembershipResponse) ProtoMessage() {} func (*MsgGuildMembershipResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_38fd6c203bede659, []int{36} + return fileDescriptor_38fd6c203bede659, []int{42} } func (m *MsgGuildMembershipResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2149,7 +2431,7 @@ func (m *MsgPermissionGrantOnObject) Reset() { *m = MsgPermissionGrantOn func (m *MsgPermissionGrantOnObject) String() string { return proto.CompactTextString(m) } func (*MsgPermissionGrantOnObject) ProtoMessage() {} func (*MsgPermissionGrantOnObject) Descriptor() ([]byte, []int) { - return fileDescriptor_38fd6c203bede659, []int{37} + return fileDescriptor_38fd6c203bede659, []int{43} } func (m *MsgPermissionGrantOnObject) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2216,7 +2498,7 @@ func (m *MsgPermissionGrantOnAddress) Reset() { *m = MsgPermissionGrantO func (m *MsgPermissionGrantOnAddress) String() string { return proto.CompactTextString(m) } func (*MsgPermissionGrantOnAddress) ProtoMessage() {} func (*MsgPermissionGrantOnAddress) Descriptor() ([]byte, []int) { - return fileDescriptor_38fd6c203bede659, []int{38} + return fileDescriptor_38fd6c203bede659, []int{44} } func (m *MsgPermissionGrantOnAddress) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2277,7 +2559,7 @@ func (m *MsgPermissionRevokeOnObject) Reset() { *m = MsgPermissionRevoke func (m *MsgPermissionRevokeOnObject) String() string { return proto.CompactTextString(m) } func (*MsgPermissionRevokeOnObject) ProtoMessage() {} func (*MsgPermissionRevokeOnObject) Descriptor() ([]byte, []int) { - return fileDescriptor_38fd6c203bede659, []int{39} + return fileDescriptor_38fd6c203bede659, []int{45} } func (m *MsgPermissionRevokeOnObject) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2344,7 +2626,7 @@ func (m *MsgPermissionRevokeOnAddress) Reset() { *m = MsgPermissionRevok func (m *MsgPermissionRevokeOnAddress) String() string { return proto.CompactTextString(m) } func (*MsgPermissionRevokeOnAddress) ProtoMessage() {} func (*MsgPermissionRevokeOnAddress) Descriptor() ([]byte, []int) { - return fileDescriptor_38fd6c203bede659, []int{40} + return fileDescriptor_38fd6c203bede659, []int{46} } func (m *MsgPermissionRevokeOnAddress) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2405,7 +2687,7 @@ func (m *MsgPermissionSetOnObject) Reset() { *m = MsgPermissionSetOnObje func (m *MsgPermissionSetOnObject) String() string { return proto.CompactTextString(m) } func (*MsgPermissionSetOnObject) ProtoMessage() {} func (*MsgPermissionSetOnObject) Descriptor() ([]byte, []int) { - return fileDescriptor_38fd6c203bede659, []int{41} + return fileDescriptor_38fd6c203bede659, []int{47} } func (m *MsgPermissionSetOnObject) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2472,7 +2754,7 @@ func (m *MsgPermissionSetOnAddress) Reset() { *m = MsgPermissionSetOnAdd func (m *MsgPermissionSetOnAddress) String() string { return proto.CompactTextString(m) } func (*MsgPermissionSetOnAddress) ProtoMessage() {} func (*MsgPermissionSetOnAddress) Descriptor() ([]byte, []int) { - return fileDescriptor_38fd6c203bede659, []int{42} + return fileDescriptor_38fd6c203bede659, []int{48} } func (m *MsgPermissionSetOnAddress) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2529,7 +2811,7 @@ func (m *MsgPermissionResponse) Reset() { *m = MsgPermissionResponse{} } func (m *MsgPermissionResponse) String() string { return proto.CompactTextString(m) } func (*MsgPermissionResponse) ProtoMessage() {} func (*MsgPermissionResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_38fd6c203bede659, []int{43} + return fileDescriptor_38fd6c203bede659, []int{49} } func (m *MsgPermissionResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2559,14 +2841,15 @@ func (m *MsgPermissionResponse) XXX_DiscardUnknown() { var xxx_messageInfo_MsgPermissionResponse proto.InternalMessageInfo type MsgPlanetExplore struct { - Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + PlayerId string `protobuf:"bytes,2,opt,name=playerId,proto3" json:"playerId,omitempty"` } func (m *MsgPlanetExplore) Reset() { *m = MsgPlanetExplore{} } func (m *MsgPlanetExplore) String() string { return proto.CompactTextString(m) } func (*MsgPlanetExplore) ProtoMessage() {} func (*MsgPlanetExplore) Descriptor() ([]byte, []int) { - return fileDescriptor_38fd6c203bede659, []int{44} + return fileDescriptor_38fd6c203bede659, []int{50} } func (m *MsgPlanetExplore) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2602,6 +2885,13 @@ func (m *MsgPlanetExplore) GetCreator() string { return "" } +func (m *MsgPlanetExplore) GetPlayerId() string { + if m != nil { + return m.PlayerId + } + return "" +} + type MsgPlanetExploreResponse struct { Planet Planet `protobuf:"bytes,1,opt,name=planet,proto3" json:"planet"` } @@ -2610,7 +2900,7 @@ func (m *MsgPlanetExploreResponse) Reset() { *m = MsgPlanetExploreRespon func (m *MsgPlanetExploreResponse) String() string { return proto.CompactTextString(m) } func (*MsgPlanetExploreResponse) ProtoMessage() {} func (*MsgPlanetExploreResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_38fd6c203bede659, []int{45} + return fileDescriptor_38fd6c203bede659, []int{51} } func (m *MsgPlanetExploreResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2657,7 +2947,7 @@ func (m *MsgPlanetRaidComplete) Reset() { *m = MsgPlanetRaidComplete{} } func (m *MsgPlanetRaidComplete) String() string { return proto.CompactTextString(m) } func (*MsgPlanetRaidComplete) ProtoMessage() {} func (*MsgPlanetRaidComplete) Descriptor() ([]byte, []int) { - return fileDescriptor_38fd6c203bede659, []int{46} + return fileDescriptor_38fd6c203bede659, []int{52} } func (m *MsgPlanetRaidComplete) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2724,7 +3014,7 @@ func (m *MsgPlanetRaidCompleteResponse) Reset() { *m = MsgPlanetRaidComp func (m *MsgPlanetRaidCompleteResponse) String() string { return proto.CompactTextString(m) } func (*MsgPlanetRaidCompleteResponse) ProtoMessage() {} func (*MsgPlanetRaidCompleteResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_38fd6c203bede659, []int{47} + return fileDescriptor_38fd6c203bede659, []int{53} } func (m *MsgPlanetRaidCompleteResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2784,7 +3074,7 @@ func (m *MsgPlayerUpdatePrimaryAddress) Reset() { *m = MsgPlayerUpdatePr func (m *MsgPlayerUpdatePrimaryAddress) String() string { return proto.CompactTextString(m) } func (*MsgPlayerUpdatePrimaryAddress) ProtoMessage() {} func (*MsgPlayerUpdatePrimaryAddress) Descriptor() ([]byte, []int) { - return fileDescriptor_38fd6c203bede659, []int{48} + return fileDescriptor_38fd6c203bede659, []int{54} } func (m *MsgPlayerUpdatePrimaryAddress) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2841,7 +3131,7 @@ func (m *MsgPlayerUpdatePrimaryAddressResponse) Reset() { *m = MsgPlayer func (m *MsgPlayerUpdatePrimaryAddressResponse) String() string { return proto.CompactTextString(m) } func (*MsgPlayerUpdatePrimaryAddressResponse) ProtoMessage() {} func (*MsgPlayerUpdatePrimaryAddressResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_38fd6c203bede659, []int{49} + return fileDescriptor_38fd6c203bede659, []int{55} } func (m *MsgPlayerUpdatePrimaryAddressResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2870,7 +3160,95 @@ func (m *MsgPlayerUpdatePrimaryAddressResponse) XXX_DiscardUnknown() { var xxx_messageInfo_MsgPlayerUpdatePrimaryAddressResponse proto.InternalMessageInfo -type MsgStructStatusResponse struct { +type MsgPlayerResume struct { + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + PlayerId string `protobuf:"bytes,2,opt,name=playerId,proto3" json:"playerId,omitempty"` +} + +func (m *MsgPlayerResume) Reset() { *m = MsgPlayerResume{} } +func (m *MsgPlayerResume) String() string { return proto.CompactTextString(m) } +func (*MsgPlayerResume) ProtoMessage() {} +func (*MsgPlayerResume) Descriptor() ([]byte, []int) { + return fileDescriptor_38fd6c203bede659, []int{56} +} +func (m *MsgPlayerResume) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgPlayerResume) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgPlayerResume.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *MsgPlayerResume) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgPlayerResume.Merge(m, src) +} +func (m *MsgPlayerResume) XXX_Size() int { + return m.Size() +} +func (m *MsgPlayerResume) XXX_DiscardUnknown() { + xxx_messageInfo_MsgPlayerResume.DiscardUnknown(m) +} + +var xxx_messageInfo_MsgPlayerResume proto.InternalMessageInfo + +func (m *MsgPlayerResume) GetCreator() string { + if m != nil { + return m.Creator + } + return "" +} + +func (m *MsgPlayerResume) GetPlayerId() string { + if m != nil { + return m.PlayerId + } + return "" +} + +type MsgPlayerResumeResponse struct { +} + +func (m *MsgPlayerResumeResponse) Reset() { *m = MsgPlayerResumeResponse{} } +func (m *MsgPlayerResumeResponse) String() string { return proto.CompactTextString(m) } +func (*MsgPlayerResumeResponse) ProtoMessage() {} +func (*MsgPlayerResumeResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_38fd6c203bede659, []int{57} +} +func (m *MsgPlayerResumeResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgPlayerResumeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgPlayerResumeResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *MsgPlayerResumeResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgPlayerResumeResponse.Merge(m, src) +} +func (m *MsgPlayerResumeResponse) XXX_Size() int { + return m.Size() +} +func (m *MsgPlayerResumeResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MsgPlayerResumeResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_MsgPlayerResumeResponse proto.InternalMessageInfo + +type MsgStructStatusResponse struct { Struct Struct `protobuf:"bytes,1,opt,name=struct,proto3" json:"struct"` } @@ -2878,7 +3256,7 @@ func (m *MsgStructStatusResponse) Reset() { *m = MsgStructStatusResponse func (m *MsgStructStatusResponse) String() string { return proto.CompactTextString(m) } func (*MsgStructStatusResponse) ProtoMessage() {} func (*MsgStructStatusResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_38fd6c203bede659, []int{50} + return fileDescriptor_38fd6c203bede659, []int{58} } func (m *MsgStructStatusResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2923,7 +3301,7 @@ func (m *MsgStructActivate) Reset() { *m = MsgStructActivate{} } func (m *MsgStructActivate) String() string { return proto.CompactTextString(m) } func (*MsgStructActivate) ProtoMessage() {} func (*MsgStructActivate) Descriptor() ([]byte, []int) { - return fileDescriptor_38fd6c203bede659, []int{51} + return fileDescriptor_38fd6c203bede659, []int{59} } func (m *MsgStructActivate) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2975,7 +3353,7 @@ func (m *MsgStructDeactivate) Reset() { *m = MsgStructDeactivate{} } func (m *MsgStructDeactivate) String() string { return proto.CompactTextString(m) } func (*MsgStructDeactivate) ProtoMessage() {} func (*MsgStructDeactivate) Descriptor() ([]byte, []int) { - return fileDescriptor_38fd6c203bede659, []int{52} + return fileDescriptor_38fd6c203bede659, []int{60} } func (m *MsgStructDeactivate) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3019,19 +3397,19 @@ func (m *MsgStructDeactivate) GetStructId() string { } type MsgStructBuildInitiate struct { - Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` - PlayerId string `protobuf:"bytes,2,opt,name=playerId,proto3" json:"playerId,omitempty"` - StructTypeId uint64 `protobuf:"varint,3,opt,name=structTypeId,proto3" json:"structTypeId,omitempty"` - LocationType ObjectType `protobuf:"varint,4,opt,name=locationType,proto3,enum=structs.structs.ObjectType" json:"locationType,omitempty"` - OperatingAmbit Ambit `protobuf:"varint,5,opt,name=operatingAmbit,proto3,enum=structs.structs.Ambit" json:"operatingAmbit,omitempty"` - Slot uint64 `protobuf:"varint,6,opt,name=slot,proto3" json:"slot,omitempty"` + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + PlayerId string `protobuf:"bytes,2,opt,name=playerId,proto3" json:"playerId,omitempty"` + StructTypeId uint64 `protobuf:"varint,3,opt,name=structTypeId,proto3" json:"structTypeId,omitempty"` + // objectType locationType = 4; + OperatingAmbit Ambit `protobuf:"varint,4,opt,name=operatingAmbit,proto3,enum=structs.structs.Ambit" json:"operatingAmbit,omitempty"` + Slot uint64 `protobuf:"varint,5,opt,name=slot,proto3" json:"slot,omitempty"` } func (m *MsgStructBuildInitiate) Reset() { *m = MsgStructBuildInitiate{} } func (m *MsgStructBuildInitiate) String() string { return proto.CompactTextString(m) } func (*MsgStructBuildInitiate) ProtoMessage() {} func (*MsgStructBuildInitiate) Descriptor() ([]byte, []int) { - return fileDescriptor_38fd6c203bede659, []int{53} + return fileDescriptor_38fd6c203bede659, []int{61} } func (m *MsgStructBuildInitiate) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3081,13 +3459,6 @@ func (m *MsgStructBuildInitiate) GetStructTypeId() uint64 { return 0 } -func (m *MsgStructBuildInitiate) GetLocationType() ObjectType { - if m != nil { - return m.LocationType - } - return ObjectType_guild -} - func (m *MsgStructBuildInitiate) GetOperatingAmbit() Ambit { if m != nil { return m.OperatingAmbit @@ -3113,7 +3484,7 @@ func (m *MsgStructBuildComplete) Reset() { *m = MsgStructBuildComplete{} func (m *MsgStructBuildComplete) String() string { return proto.CompactTextString(m) } func (*MsgStructBuildComplete) ProtoMessage() {} func (*MsgStructBuildComplete) Descriptor() ([]byte, []int) { - return fileDescriptor_38fd6c203bede659, []int{54} + return fileDescriptor_38fd6c203bede659, []int{62} } func (m *MsgStructBuildComplete) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3170,6 +3541,58 @@ func (m *MsgStructBuildComplete) GetNonce() string { return "" } +type MsgStructBuildCancel struct { + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + StructId string `protobuf:"bytes,2,opt,name=structId,proto3" json:"structId,omitempty"` +} + +func (m *MsgStructBuildCancel) Reset() { *m = MsgStructBuildCancel{} } +func (m *MsgStructBuildCancel) String() string { return proto.CompactTextString(m) } +func (*MsgStructBuildCancel) ProtoMessage() {} +func (*MsgStructBuildCancel) Descriptor() ([]byte, []int) { + return fileDescriptor_38fd6c203bede659, []int{63} +} +func (m *MsgStructBuildCancel) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgStructBuildCancel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgStructBuildCancel.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *MsgStructBuildCancel) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgStructBuildCancel.Merge(m, src) +} +func (m *MsgStructBuildCancel) XXX_Size() int { + return m.Size() +} +func (m *MsgStructBuildCancel) XXX_DiscardUnknown() { + xxx_messageInfo_MsgStructBuildCancel.DiscardUnknown(m) +} + +var xxx_messageInfo_MsgStructBuildCancel proto.InternalMessageInfo + +func (m *MsgStructBuildCancel) GetCreator() string { + if m != nil { + return m.Creator + } + return "" +} + +func (m *MsgStructBuildCancel) GetStructId() string { + if m != nil { + return m.StructId + } + return "" +} + type MsgStructBuildCompleteAndStash struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` StructId string `protobuf:"bytes,2,opt,name=structId,proto3" json:"structId,omitempty"` @@ -3184,7 +3607,7 @@ func (m *MsgStructBuildCompleteAndStash) Reset() { *m = MsgStructBuildCo func (m *MsgStructBuildCompleteAndStash) String() string { return proto.CompactTextString(m) } func (*MsgStructBuildCompleteAndStash) ProtoMessage() {} func (*MsgStructBuildCompleteAndStash) Descriptor() ([]byte, []int) { - return fileDescriptor_38fd6c203bede659, []int{55} + return fileDescriptor_38fd6c203bede659, []int{64} } func (m *MsgStructBuildCompleteAndStash) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3272,7 +3695,7 @@ func (m *MsgStructDefenseSet) Reset() { *m = MsgStructDefenseSet{} } func (m *MsgStructDefenseSet) String() string { return proto.CompactTextString(m) } func (*MsgStructDefenseSet) ProtoMessage() {} func (*MsgStructDefenseSet) Descriptor() ([]byte, []int) { - return fileDescriptor_38fd6c203bede659, []int{56} + return fileDescriptor_38fd6c203bede659, []int{65} } func (m *MsgStructDefenseSet) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3331,7 +3754,7 @@ func (m *MsgStructDefenseClear) Reset() { *m = MsgStructDefenseClear{} } func (m *MsgStructDefenseClear) String() string { return proto.CompactTextString(m) } func (*MsgStructDefenseClear) ProtoMessage() {} func (*MsgStructDefenseClear) Descriptor() ([]byte, []int) { - return fileDescriptor_38fd6c203bede659, []int{57} + return fileDescriptor_38fd6c203bede659, []int{66} } func (m *MsgStructDefenseClear) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3386,7 +3809,7 @@ func (m *MsgStructMove) Reset() { *m = MsgStructMove{} } func (m *MsgStructMove) String() string { return proto.CompactTextString(m) } func (*MsgStructMove) ProtoMessage() {} func (*MsgStructMove) Descriptor() ([]byte, []int) { - return fileDescriptor_38fd6c203bede659, []int{58} + return fileDescriptor_38fd6c203bede659, []int{67} } func (m *MsgStructMove) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3461,7 +3884,7 @@ func (m *MsgStructAttack) Reset() { *m = MsgStructAttack{} } func (m *MsgStructAttack) String() string { return proto.CompactTextString(m) } func (*MsgStructAttack) ProtoMessage() {} func (*MsgStructAttack) Descriptor() ([]byte, []int) { - return fileDescriptor_38fd6c203bede659, []int{59} + return fileDescriptor_38fd6c203bede659, []int{68} } func (m *MsgStructAttack) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3525,7 +3948,7 @@ func (m *MsgStructAttackResponse) Reset() { *m = MsgStructAttackResponse func (m *MsgStructAttackResponse) String() string { return proto.CompactTextString(m) } func (*MsgStructAttackResponse) ProtoMessage() {} func (*MsgStructAttackResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_38fd6c203bede659, []int{60} + return fileDescriptor_38fd6c203bede659, []int{69} } func (m *MsgStructAttackResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3563,7 +3986,7 @@ func (m *MsgStructStealthActivate) Reset() { *m = MsgStructStealthActiva func (m *MsgStructStealthActivate) String() string { return proto.CompactTextString(m) } func (*MsgStructStealthActivate) ProtoMessage() {} func (*MsgStructStealthActivate) Descriptor() ([]byte, []int) { - return fileDescriptor_38fd6c203bede659, []int{61} + return fileDescriptor_38fd6c203bede659, []int{70} } func (m *MsgStructStealthActivate) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3615,7 +4038,7 @@ func (m *MsgStructStealthDeactivate) Reset() { *m = MsgStructStealthDeac func (m *MsgStructStealthDeactivate) String() string { return proto.CompactTextString(m) } func (*MsgStructStealthDeactivate) ProtoMessage() {} func (*MsgStructStealthDeactivate) Descriptor() ([]byte, []int) { - return fileDescriptor_38fd6c203bede659, []int{62} + return fileDescriptor_38fd6c203bede659, []int{71} } func (m *MsgStructStealthDeactivate) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3668,7 +4091,7 @@ func (m *MsgStructGeneratorInfuse) Reset() { *m = MsgStructGeneratorInfu func (m *MsgStructGeneratorInfuse) String() string { return proto.CompactTextString(m) } func (*MsgStructGeneratorInfuse) ProtoMessage() {} func (*MsgStructGeneratorInfuse) Descriptor() ([]byte, []int) { - return fileDescriptor_38fd6c203bede659, []int{63} + return fileDescriptor_38fd6c203bede659, []int{72} } func (m *MsgStructGeneratorInfuse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3725,7 +4148,7 @@ func (m *MsgStructGeneratorStatusResponse) Reset() { *m = MsgStructGener func (m *MsgStructGeneratorStatusResponse) String() string { return proto.CompactTextString(m) } func (*MsgStructGeneratorStatusResponse) ProtoMessage() {} func (*MsgStructGeneratorStatusResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_38fd6c203bede659, []int{64} + return fileDescriptor_38fd6c203bede659, []int{73} } func (m *MsgStructGeneratorStatusResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3765,7 +4188,7 @@ func (m *MsgStructOreMinerComplete) Reset() { *m = MsgStructOreMinerComp func (m *MsgStructOreMinerComplete) String() string { return proto.CompactTextString(m) } func (*MsgStructOreMinerComplete) ProtoMessage() {} func (*MsgStructOreMinerComplete) Descriptor() ([]byte, []int) { - return fileDescriptor_38fd6c203bede659, []int{65} + return fileDescriptor_38fd6c203bede659, []int{74} } func (m *MsgStructOreMinerComplete) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3830,7 +4253,7 @@ func (m *MsgStructOreMinerStatusResponse) Reset() { *m = MsgStructOreMin func (m *MsgStructOreMinerStatusResponse) String() string { return proto.CompactTextString(m) } func (*MsgStructOreMinerStatusResponse) ProtoMessage() {} func (*MsgStructOreMinerStatusResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_38fd6c203bede659, []int{66} + return fileDescriptor_38fd6c203bede659, []int{75} } func (m *MsgStructOreMinerStatusResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3877,7 +4300,7 @@ func (m *MsgStructOreRefineryComplete) Reset() { *m = MsgStructOreRefine func (m *MsgStructOreRefineryComplete) String() string { return proto.CompactTextString(m) } func (*MsgStructOreRefineryComplete) ProtoMessage() {} func (*MsgStructOreRefineryComplete) Descriptor() ([]byte, []int) { - return fileDescriptor_38fd6c203bede659, []int{67} + return fileDescriptor_38fd6c203bede659, []int{76} } func (m *MsgStructOreRefineryComplete) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3942,7 +4365,7 @@ func (m *MsgStructOreRefineryStatusResponse) Reset() { *m = MsgStructOre func (m *MsgStructOreRefineryStatusResponse) String() string { return proto.CompactTextString(m) } func (*MsgStructOreRefineryStatusResponse) ProtoMessage() {} func (*MsgStructOreRefineryStatusResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_38fd6c203bede659, []int{68} + return fileDescriptor_38fd6c203bede659, []int{77} } func (m *MsgStructOreRefineryStatusResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -3990,7 +4413,7 @@ func (m *MsgStructStorageStash) Reset() { *m = MsgStructStorageStash{} } func (m *MsgStructStorageStash) String() string { return proto.CompactTextString(m) } func (*MsgStructStorageStash) ProtoMessage() {} func (*MsgStructStorageStash) Descriptor() ([]byte, []int) { - return fileDescriptor_38fd6c203bede659, []int{69} + return fileDescriptor_38fd6c203bede659, []int{78} } func (m *MsgStructStorageStash) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -4067,7 +4490,7 @@ func (m *MsgStructStorageRecall) Reset() { *m = MsgStructStorageRecall{} func (m *MsgStructStorageRecall) String() string { return proto.CompactTextString(m) } func (*MsgStructStorageRecall) ProtoMessage() {} func (*MsgStructStorageRecall) Descriptor() ([]byte, []int) { - return fileDescriptor_38fd6c203bede659, []int{70} + return fileDescriptor_38fd6c203bede659, []int{79} } func (m *MsgStructStorageRecall) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -4148,7 +4571,7 @@ func (m *MsgSubstationCreate) Reset() { *m = MsgSubstationCreate{} } func (m *MsgSubstationCreate) String() string { return proto.CompactTextString(m) } func (*MsgSubstationCreate) ProtoMessage() {} func (*MsgSubstationCreate) Descriptor() ([]byte, []int) { - return fileDescriptor_38fd6c203bede659, []int{71} + return fileDescriptor_38fd6c203bede659, []int{80} } func (m *MsgSubstationCreate) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -4206,7 +4629,7 @@ func (m *MsgSubstationCreateResponse) Reset() { *m = MsgSubstationCreate func (m *MsgSubstationCreateResponse) String() string { return proto.CompactTextString(m) } func (*MsgSubstationCreateResponse) ProtoMessage() {} func (*MsgSubstationCreateResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_38fd6c203bede659, []int{72} + return fileDescriptor_38fd6c203bede659, []int{81} } func (m *MsgSubstationCreateResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -4252,7 +4675,7 @@ func (m *MsgSubstationDelete) Reset() { *m = MsgSubstationDelete{} } func (m *MsgSubstationDelete) String() string { return proto.CompactTextString(m) } func (*MsgSubstationDelete) ProtoMessage() {} func (*MsgSubstationDelete) Descriptor() ([]byte, []int) { - return fileDescriptor_38fd6c203bede659, []int{73} + return fileDescriptor_38fd6c203bede659, []int{82} } func (m *MsgSubstationDelete) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -4309,7 +4732,7 @@ func (m *MsgSubstationDeleteResponse) Reset() { *m = MsgSubstationDelete func (m *MsgSubstationDeleteResponse) String() string { return proto.CompactTextString(m) } func (*MsgSubstationDeleteResponse) ProtoMessage() {} func (*MsgSubstationDeleteResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_38fd6c203bede659, []int{74} + return fileDescriptor_38fd6c203bede659, []int{83} } func (m *MsgSubstationDeleteResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -4348,7 +4771,7 @@ func (m *MsgSubstationAllocationConnect) Reset() { *m = MsgSubstationAll func (m *MsgSubstationAllocationConnect) String() string { return proto.CompactTextString(m) } func (*MsgSubstationAllocationConnect) ProtoMessage() {} func (*MsgSubstationAllocationConnect) Descriptor() ([]byte, []int) { - return fileDescriptor_38fd6c203bede659, []int{75} + return fileDescriptor_38fd6c203bede659, []int{84} } func (m *MsgSubstationAllocationConnect) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -4407,7 +4830,7 @@ func (m *MsgSubstationAllocationConnectResponse) Reset() { func (m *MsgSubstationAllocationConnectResponse) String() string { return proto.CompactTextString(m) } func (*MsgSubstationAllocationConnectResponse) ProtoMessage() {} func (*MsgSubstationAllocationConnectResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_38fd6c203bede659, []int{76} + return fileDescriptor_38fd6c203bede659, []int{85} } func (m *MsgSubstationAllocationConnectResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -4445,7 +4868,7 @@ func (m *MsgSubstationAllocationDisconnect) Reset() { *m = MsgSubstation func (m *MsgSubstationAllocationDisconnect) String() string { return proto.CompactTextString(m) } func (*MsgSubstationAllocationDisconnect) ProtoMessage() {} func (*MsgSubstationAllocationDisconnect) Descriptor() ([]byte, []int) { - return fileDescriptor_38fd6c203bede659, []int{77} + return fileDescriptor_38fd6c203bede659, []int{86} } func (m *MsgSubstationAllocationDisconnect) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -4499,7 +4922,7 @@ func (m *MsgSubstationAllocationDisconnectResponse) String() string { } func (*MsgSubstationAllocationDisconnectResponse) ProtoMessage() {} func (*MsgSubstationAllocationDisconnectResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_38fd6c203bede659, []int{78} + return fileDescriptor_38fd6c203bede659, []int{87} } func (m *MsgSubstationAllocationDisconnectResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -4538,7 +4961,7 @@ func (m *MsgSubstationPlayerConnect) Reset() { *m = MsgSubstationPlayerC func (m *MsgSubstationPlayerConnect) String() string { return proto.CompactTextString(m) } func (*MsgSubstationPlayerConnect) ProtoMessage() {} func (*MsgSubstationPlayerConnect) Descriptor() ([]byte, []int) { - return fileDescriptor_38fd6c203bede659, []int{79} + return fileDescriptor_38fd6c203bede659, []int{88} } func (m *MsgSubstationPlayerConnect) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -4595,7 +5018,7 @@ func (m *MsgSubstationPlayerConnectResponse) Reset() { *m = MsgSubstatio func (m *MsgSubstationPlayerConnectResponse) String() string { return proto.CompactTextString(m) } func (*MsgSubstationPlayerConnectResponse) ProtoMessage() {} func (*MsgSubstationPlayerConnectResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_38fd6c203bede659, []int{80} + return fileDescriptor_38fd6c203bede659, []int{89} } func (m *MsgSubstationPlayerConnectResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -4633,7 +5056,7 @@ func (m *MsgSubstationPlayerDisconnect) Reset() { *m = MsgSubstationPlay func (m *MsgSubstationPlayerDisconnect) String() string { return proto.CompactTextString(m) } func (*MsgSubstationPlayerDisconnect) ProtoMessage() {} func (*MsgSubstationPlayerDisconnect) Descriptor() ([]byte, []int) { - return fileDescriptor_38fd6c203bede659, []int{81} + return fileDescriptor_38fd6c203bede659, []int{90} } func (m *MsgSubstationPlayerDisconnect) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -4683,7 +5106,7 @@ func (m *MsgSubstationPlayerDisconnectResponse) Reset() { *m = MsgSubsta func (m *MsgSubstationPlayerDisconnectResponse) String() string { return proto.CompactTextString(m) } func (*MsgSubstationPlayerDisconnectResponse) ProtoMessage() {} func (*MsgSubstationPlayerDisconnectResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_38fd6c203bede659, []int{82} + return fileDescriptor_38fd6c203bede659, []int{91} } func (m *MsgSubstationPlayerDisconnectResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -4722,7 +5145,7 @@ func (m *MsgSubstationPlayerMigrate) Reset() { *m = MsgSubstationPlayerM func (m *MsgSubstationPlayerMigrate) String() string { return proto.CompactTextString(m) } func (*MsgSubstationPlayerMigrate) ProtoMessage() {} func (*MsgSubstationPlayerMigrate) Descriptor() ([]byte, []int) { - return fileDescriptor_38fd6c203bede659, []int{83} + return fileDescriptor_38fd6c203bede659, []int{92} } func (m *MsgSubstationPlayerMigrate) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -4779,7 +5202,7 @@ func (m *MsgSubstationPlayerMigrateResponse) Reset() { *m = MsgSubstatio func (m *MsgSubstationPlayerMigrateResponse) String() string { return proto.CompactTextString(m) } func (*MsgSubstationPlayerMigrateResponse) ProtoMessage() {} func (*MsgSubstationPlayerMigrateResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_38fd6c203bede659, []int{84} + return fileDescriptor_38fd6c203bede659, []int{93} } func (m *MsgSubstationPlayerMigrateResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -4808,4387 +5231,8248 @@ func (m *MsgSubstationPlayerMigrateResponse) XXX_DiscardUnknown() { var xxx_messageInfo_MsgSubstationPlayerMigrateResponse proto.InternalMessageInfo -func init() { - proto.RegisterType((*MsgUpdateParams)(nil), "structs.structs.MsgUpdateParams") - proto.RegisterType((*MsgUpdateParamsResponse)(nil), "structs.structs.MsgUpdateParamsResponse") - proto.RegisterType((*MsgAddressRegister)(nil), "structs.structs.MsgAddressRegister") - proto.RegisterType((*MsgAddressRegisterResponse)(nil), "structs.structs.MsgAddressRegisterResponse") - proto.RegisterType((*MsgAddressRevoke)(nil), "structs.structs.MsgAddressRevoke") - proto.RegisterType((*MsgAddressRevokeResponse)(nil), "structs.structs.MsgAddressRevokeResponse") - proto.RegisterType((*MsgAllocationCreate)(nil), "structs.structs.MsgAllocationCreate") - proto.RegisterType((*MsgAllocationCreateResponse)(nil), "structs.structs.MsgAllocationCreateResponse") - proto.RegisterType((*MsgAllocationDelete)(nil), "structs.structs.MsgAllocationDelete") - proto.RegisterType((*MsgAllocationDeleteResponse)(nil), "structs.structs.MsgAllocationDeleteResponse") - proto.RegisterType((*MsgAllocationUpdate)(nil), "structs.structs.MsgAllocationUpdate") - proto.RegisterType((*MsgAllocationUpdateResponse)(nil), "structs.structs.MsgAllocationUpdateResponse") - proto.RegisterType((*MsgAllocationTransfer)(nil), "structs.structs.MsgAllocationTransfer") - proto.RegisterType((*MsgAllocationTransferResponse)(nil), "structs.structs.MsgAllocationTransferResponse") - proto.RegisterType((*MsgFleetMove)(nil), "structs.structs.MsgFleetMove") - proto.RegisterType((*MsgFleetMoveResponse)(nil), "structs.structs.MsgFleetMoveResponse") - proto.RegisterType((*MsgGuildCreate)(nil), "structs.structs.MsgGuildCreate") - proto.RegisterType((*MsgGuildCreateResponse)(nil), "structs.structs.MsgGuildCreateResponse") - proto.RegisterType((*MsgGuildUpdateOwnerId)(nil), "structs.structs.MsgGuildUpdateOwnerId") - proto.RegisterType((*MsgGuildUpdateEntrySubstationId)(nil), "structs.structs.MsgGuildUpdateEntrySubstationId") - proto.RegisterType((*MsgGuildUpdateEndpoint)(nil), "structs.structs.MsgGuildUpdateEndpoint") - proto.RegisterType((*MsgGuildUpdateJoinInfusionMinimum)(nil), "structs.structs.MsgGuildUpdateJoinInfusionMinimum") - proto.RegisterType((*MsgGuildUpdateJoinInfusionMinimumBypassByRequest)(nil), "structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByRequest") - proto.RegisterType((*MsgGuildUpdateJoinInfusionMinimumBypassByInvite)(nil), "structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByInvite") - proto.RegisterType((*MsgGuildUpdateResponse)(nil), "structs.structs.MsgGuildUpdateResponse") - proto.RegisterType((*MsgGuildMembershipInvite)(nil), "structs.structs.MsgGuildMembershipInvite") - proto.RegisterType((*MsgGuildMembershipInviteApprove)(nil), "structs.structs.MsgGuildMembershipInviteApprove") - proto.RegisterType((*MsgGuildMembershipInviteDeny)(nil), "structs.structs.MsgGuildMembershipInviteDeny") - proto.RegisterType((*MsgGuildMembershipInviteRevoke)(nil), "structs.structs.MsgGuildMembershipInviteRevoke") - proto.RegisterType((*MsgGuildMembershipJoin)(nil), "structs.structs.MsgGuildMembershipJoin") - proto.RegisterType((*MsgGuildMembershipJoinProxy)(nil), "structs.structs.MsgGuildMembershipJoinProxy") - proto.RegisterType((*MsgGuildMembershipKick)(nil), "structs.structs.MsgGuildMembershipKick") - proto.RegisterType((*MsgGuildMembershipRequest)(nil), "structs.structs.MsgGuildMembershipRequest") - proto.RegisterType((*MsgGuildMembershipRequestApprove)(nil), "structs.structs.MsgGuildMembershipRequestApprove") - proto.RegisterType((*MsgGuildMembershipRequestDeny)(nil), "structs.structs.MsgGuildMembershipRequestDeny") - proto.RegisterType((*MsgGuildMembershipRequestRevoke)(nil), "structs.structs.MsgGuildMembershipRequestRevoke") - proto.RegisterType((*MsgGuildMembershipResponse)(nil), "structs.structs.MsgGuildMembershipResponse") - proto.RegisterType((*MsgPermissionGrantOnObject)(nil), "structs.structs.MsgPermissionGrantOnObject") - proto.RegisterType((*MsgPermissionGrantOnAddress)(nil), "structs.structs.MsgPermissionGrantOnAddress") - proto.RegisterType((*MsgPermissionRevokeOnObject)(nil), "structs.structs.MsgPermissionRevokeOnObject") - proto.RegisterType((*MsgPermissionRevokeOnAddress)(nil), "structs.structs.MsgPermissionRevokeOnAddress") - proto.RegisterType((*MsgPermissionSetOnObject)(nil), "structs.structs.MsgPermissionSetOnObject") - proto.RegisterType((*MsgPermissionSetOnAddress)(nil), "structs.structs.MsgPermissionSetOnAddress") - proto.RegisterType((*MsgPermissionResponse)(nil), "structs.structs.MsgPermissionResponse") - proto.RegisterType((*MsgPlanetExplore)(nil), "structs.structs.MsgPlanetExplore") - proto.RegisterType((*MsgPlanetExploreResponse)(nil), "structs.structs.MsgPlanetExploreResponse") - proto.RegisterType((*MsgPlanetRaidComplete)(nil), "structs.structs.MsgPlanetRaidComplete") - proto.RegisterType((*MsgPlanetRaidCompleteResponse)(nil), "structs.structs.MsgPlanetRaidCompleteResponse") - proto.RegisterType((*MsgPlayerUpdatePrimaryAddress)(nil), "structs.structs.MsgPlayerUpdatePrimaryAddress") - proto.RegisterType((*MsgPlayerUpdatePrimaryAddressResponse)(nil), "structs.structs.MsgPlayerUpdatePrimaryAddressResponse") - proto.RegisterType((*MsgStructStatusResponse)(nil), "structs.structs.MsgStructStatusResponse") - proto.RegisterType((*MsgStructActivate)(nil), "structs.structs.MsgStructActivate") - proto.RegisterType((*MsgStructDeactivate)(nil), "structs.structs.MsgStructDeactivate") - proto.RegisterType((*MsgStructBuildInitiate)(nil), "structs.structs.MsgStructBuildInitiate") - proto.RegisterType((*MsgStructBuildComplete)(nil), "structs.structs.MsgStructBuildComplete") - proto.RegisterType((*MsgStructBuildCompleteAndStash)(nil), "structs.structs.MsgStructBuildCompleteAndStash") - proto.RegisterType((*MsgStructDefenseSet)(nil), "structs.structs.MsgStructDefenseSet") - proto.RegisterType((*MsgStructDefenseClear)(nil), "structs.structs.MsgStructDefenseClear") - proto.RegisterType((*MsgStructMove)(nil), "structs.structs.MsgStructMove") - proto.RegisterType((*MsgStructAttack)(nil), "structs.structs.MsgStructAttack") - proto.RegisterType((*MsgStructAttackResponse)(nil), "structs.structs.MsgStructAttackResponse") - proto.RegisterType((*MsgStructStealthActivate)(nil), "structs.structs.MsgStructStealthActivate") - proto.RegisterType((*MsgStructStealthDeactivate)(nil), "structs.structs.MsgStructStealthDeactivate") - proto.RegisterType((*MsgStructGeneratorInfuse)(nil), "structs.structs.MsgStructGeneratorInfuse") - proto.RegisterType((*MsgStructGeneratorStatusResponse)(nil), "structs.structs.MsgStructGeneratorStatusResponse") - proto.RegisterType((*MsgStructOreMinerComplete)(nil), "structs.structs.MsgStructOreMinerComplete") - proto.RegisterType((*MsgStructOreMinerStatusResponse)(nil), "structs.structs.MsgStructOreMinerStatusResponse") - proto.RegisterType((*MsgStructOreRefineryComplete)(nil), "structs.structs.MsgStructOreRefineryComplete") - proto.RegisterType((*MsgStructOreRefineryStatusResponse)(nil), "structs.structs.MsgStructOreRefineryStatusResponse") - proto.RegisterType((*MsgStructStorageStash)(nil), "structs.structs.MsgStructStorageStash") - proto.RegisterType((*MsgStructStorageRecall)(nil), "structs.structs.MsgStructStorageRecall") - proto.RegisterType((*MsgSubstationCreate)(nil), "structs.structs.MsgSubstationCreate") - proto.RegisterType((*MsgSubstationCreateResponse)(nil), "structs.structs.MsgSubstationCreateResponse") - proto.RegisterType((*MsgSubstationDelete)(nil), "structs.structs.MsgSubstationDelete") - proto.RegisterType((*MsgSubstationDeleteResponse)(nil), "structs.structs.MsgSubstationDeleteResponse") - proto.RegisterType((*MsgSubstationAllocationConnect)(nil), "structs.structs.MsgSubstationAllocationConnect") - proto.RegisterType((*MsgSubstationAllocationConnectResponse)(nil), "structs.structs.MsgSubstationAllocationConnectResponse") - proto.RegisterType((*MsgSubstationAllocationDisconnect)(nil), "structs.structs.MsgSubstationAllocationDisconnect") - proto.RegisterType((*MsgSubstationAllocationDisconnectResponse)(nil), "structs.structs.MsgSubstationAllocationDisconnectResponse") - proto.RegisterType((*MsgSubstationPlayerConnect)(nil), "structs.structs.MsgSubstationPlayerConnect") - proto.RegisterType((*MsgSubstationPlayerConnectResponse)(nil), "structs.structs.MsgSubstationPlayerConnectResponse") - proto.RegisterType((*MsgSubstationPlayerDisconnect)(nil), "structs.structs.MsgSubstationPlayerDisconnect") - proto.RegisterType((*MsgSubstationPlayerDisconnectResponse)(nil), "structs.structs.MsgSubstationPlayerDisconnectResponse") - proto.RegisterType((*MsgSubstationPlayerMigrate)(nil), "structs.structs.MsgSubstationPlayerMigrate") - proto.RegisterType((*MsgSubstationPlayerMigrateResponse)(nil), "structs.structs.MsgSubstationPlayerMigrateResponse") +type MsgAgreementOpen struct { + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + ProviderId string `protobuf:"bytes,2,opt,name=providerId,proto3" json:"providerId,omitempty"` + Duration uint64 `protobuf:"varint,3,opt,name=duration,proto3" json:"duration,omitempty"` + Capacity uint64 `protobuf:"varint,4,opt,name=capacity,proto3" json:"capacity,omitempty"` } -func init() { proto.RegisterFile("structs/structs/tx.proto", fileDescriptor_38fd6c203bede659) } - -var fileDescriptor_38fd6c203bede659 = []byte{ - // 2928 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x5c, 0xdd, 0x6f, 0xdc, 0x58, - 0x15, 0xaf, 0x33, 0x49, 0x77, 0x73, 0x9a, 0x66, 0x5b, 0x37, 0x69, 0x26, 0x6e, 0x3b, 0xcd, 0x0e, - 0xdd, 0xb4, 0x4d, 0xd2, 0x24, 0xcd, 0x2e, 0x8b, 0x94, 0x07, 0x20, 0x69, 0x96, 0x2a, 0xec, 0x46, - 0xcd, 0xce, 0x14, 0x96, 0x2d, 0xda, 0x05, 0x67, 0xe6, 0x66, 0xea, 0xc6, 0x63, 0x7b, 0x6d, 0x4f, - 0xda, 0x11, 0x94, 0x42, 0xf9, 0x06, 0x09, 0x2d, 0x48, 0x08, 0x21, 0xbe, 0x24, 0xe0, 0x61, 0x1f, - 0x2b, 0xc1, 0x13, 0x88, 0xf7, 0xbe, 0x00, 0x2b, 0x1e, 0x10, 0xe2, 0xa1, 0x42, 0x2d, 0x52, 0xff, - 0x00, 0xfe, 0x01, 0xe4, 0x7b, 0xaf, 0x3d, 0xbe, 0xd7, 0xd7, 0xf6, 0xf5, 0x24, 0xdb, 0xf6, 0xa5, - 0x93, 0x7b, 0xef, 0xb9, 0xe7, 0xf7, 0x3b, 0xc7, 0xf7, 0xfb, 0x1c, 0x15, 0xca, 0x9e, 0xef, 0x76, - 0x1a, 0xbe, 0xb7, 0x10, 0xfe, 0xfa, 0xb7, 0xe6, 0x1d, 0xd7, 0xf6, 0x6d, 0xf5, 0x05, 0x5a, 0x33, - 0x4f, 0x7f, 0xb5, 0xa3, 0x7a, 0xdb, 0xb0, 0xec, 0x05, 0xfc, 0x2f, 0x91, 0xd1, 0x26, 0x1a, 0xb6, - 0xd7, 0xb6, 0xbd, 0x85, 0xb6, 0xd7, 0x5a, 0xd8, 0xbd, 0x18, 0xfc, 0xd0, 0x86, 0x49, 0xd2, 0xf0, - 0x25, 0x5c, 0x5a, 0x20, 0x05, 0xda, 0x34, 0xd6, 0xb2, 0x5b, 0x36, 0xa9, 0x0f, 0xfe, 0xa2, 0xb5, - 0x27, 0x79, 0x1e, 0x8e, 0xee, 0xea, 0xed, 0xb0, 0x8f, 0xc6, 0xb7, 0xee, 0xa0, 0x6e, 0xd8, 0x76, - 0x82, 0x6f, 0xdb, 0x36, 0x11, 0xf2, 0xd3, 0x1a, 0x5b, 0x1d, 0xc3, 0x6c, 0xa6, 0x62, 0x9a, 0xba, - 0x15, 0x75, 0x4d, 0xb4, 0x92, 0x5f, 0xd2, 0x5a, 0xfd, 0xb3, 0x02, 0x2f, 0x6c, 0x78, 0xad, 0xcf, - 0x39, 0x4d, 0xdd, 0x47, 0x9b, 0x98, 0xab, 0xfa, 0x2a, 0x0c, 0xeb, 0x1d, 0xff, 0xba, 0xed, 0x1a, - 0x7e, 0xb7, 0xac, 0x4c, 0x29, 0xe7, 0x86, 0x57, 0xcb, 0xff, 0xf8, 0xe3, 0x85, 0x31, 0x6a, 0xfe, - 0x4a, 0xb3, 0xe9, 0x22, 0xcf, 0xab, 0xfb, 0xae, 0x61, 0xb5, 0x6a, 0x3d, 0x51, 0x75, 0x19, 0x0e, - 0x12, 0x6b, 0xcb, 0x03, 0x53, 0xca, 0xb9, 0x43, 0x4b, 0x13, 0xf3, 0x9c, 0xeb, 0xe7, 0x09, 0xc0, - 0xea, 0xf0, 0xfd, 0x07, 0xa7, 0x0f, 0x7c, 0xf0, 0xf8, 0xde, 0x8c, 0x52, 0xa3, 0x3d, 0x96, 0x5f, - 0xb9, 0xfb, 0xf8, 0xde, 0x4c, 0x4f, 0xd7, 0x0f, 0x1e, 0xdf, 0x9b, 0x79, 0x31, 0x24, 0x7c, 0x2b, - 0xa2, 0xce, 0x31, 0xad, 0x4e, 0xc2, 0x04, 0x57, 0x55, 0x43, 0x9e, 0x63, 0x5b, 0x1e, 0xaa, 0x3e, - 0x50, 0x40, 0xdd, 0xf0, 0x5a, 0x94, 0x6c, 0x0d, 0xb5, 0x0c, 0xcf, 0x47, 0xae, 0x5a, 0x86, 0xe7, - 0x1a, 0x2e, 0xd2, 0x7d, 0xdb, 0x25, 0x96, 0xd5, 0xc2, 0xa2, 0xaa, 0xc1, 0xf3, 0x8e, 0xa9, 0x77, - 0x91, 0xbb, 0xde, 0xc4, 0xfc, 0x87, 0x6b, 0x51, 0x39, 0xe8, 0xa5, 0x13, 0x45, 0xe5, 0x12, 0xe9, - 0x45, 0x8b, 0xea, 0x14, 0x1c, 0x72, 0x5c, 0xdb, 0xde, 0xde, 0xec, 0x6c, 0xbd, 0x8e, 0xba, 0xe5, - 0x41, 0xdc, 0x1a, 0xaf, 0x52, 0xa7, 0x61, 0x14, 0x17, 0xeb, 0x46, 0xcb, 0xd2, 0xfd, 0x8e, 0x8b, - 0xca, 0x43, 0x58, 0x88, 0xab, 0xc5, 0x9a, 0x90, 0xdb, 0x36, 0x3c, 0xcf, 0xb0, 0x2d, 0xaf, 0x7c, - 0x70, 0x4a, 0x39, 0x37, 0x58, 0x8b, 0x57, 0x2d, 0x8f, 0x04, 0x3e, 0x0a, 0xf9, 0x56, 0x4f, 0x82, - 0x96, 0xb4, 0x2f, 0x32, 0xff, 0x2a, 0x1c, 0x89, 0xb7, 0xee, 0xda, 0x3b, 0x28, 0xc3, 0xf6, 0x98, - 0x7d, 0x03, 0x8c, 0x7d, 0x1c, 0xa6, 0x06, 0x65, 0x5e, 0x6b, 0x84, 0xf8, 0x5f, 0x05, 0x8e, 0x05, - 0x8d, 0xa6, 0x69, 0x37, 0x74, 0xdf, 0xb0, 0xad, 0x4b, 0x41, 0xa7, 0x2c, 0xd4, 0x0a, 0x40, 0xc3, - 0xb6, 0x7c, 0xd7, 0x36, 0x4d, 0xe4, 0x52, 0xe0, 0x58, 0x4d, 0xe0, 0x39, 0xcf, 0xee, 0xb8, 0x0d, - 0x74, 0x65, 0xeb, 0x06, 0x6a, 0xf8, 0xeb, 0x4d, 0xea, 0x7c, 0xae, 0x56, 0xbd, 0x0c, 0xa3, 0x7a, - 0x84, 0x7a, 0xb5, 0xeb, 0x20, 0xfc, 0x19, 0x46, 0x97, 0x4e, 0x27, 0xc6, 0x1f, 0x2b, 0x56, 0xe3, - 0xba, 0xa9, 0x63, 0x30, 0xe4, 0xd8, 0x37, 0x91, 0x8b, 0xbf, 0xd0, 0x60, 0x8d, 0x14, 0x38, 0x17, - 0xac, 0xc0, 0x09, 0x81, 0x95, 0xa1, 0x17, 0xd4, 0x2a, 0x8c, 0xf4, 0x94, 0xae, 0x37, 0xa9, 0xc9, - 0x4c, 0x5d, 0x55, 0xe7, 0x1c, 0xb5, 0x86, 0x4c, 0x94, 0xe9, 0x28, 0x5e, 0xe9, 0x40, 0x52, 0x69, - 0x0e, 0x4b, 0x02, 0x51, 0x88, 0xe5, 0x4d, 0x8e, 0x25, 0x99, 0x65, 0x7b, 0x63, 0xd9, 0xf3, 0x70, - 0x49, 0xde, 0xc3, 0x04, 0xb8, 0x10, 0xf7, 0x6f, 0x2a, 0x30, 0xce, 0xe8, 0xb8, 0xea, 0xea, 0x96, - 0xb7, 0x9d, 0x39, 0xff, 0x65, 0xe8, 0xb3, 0x23, 0xb6, 0xc4, 0x8f, 0x58, 0xce, 0x90, 0x4b, 0x70, - 0x4a, 0x48, 0xa2, 0x90, 0x29, 0xdf, 0x51, 0x60, 0x64, 0xc3, 0x6b, 0x7d, 0x26, 0xd8, 0x0c, 0x36, - 0xec, 0xdd, 0x9c, 0x59, 0x8c, 0xf7, 0x8c, 0x88, 0x7c, 0x58, 0x54, 0x5f, 0x81, 0xf1, 0x26, 0xf2, - 0x7c, 0xc3, 0xc2, 0x5a, 0xdf, 0xe8, 0x21, 0x12, 0x13, 0xc4, 0x8d, 0x9c, 0x35, 0x6b, 0x30, 0x16, - 0xe7, 0x11, 0x19, 0x31, 0x07, 0x43, 0x18, 0x06, 0xb3, 0x39, 0xb4, 0x74, 0x3c, 0x31, 0xe9, 0x70, - 0x97, 0x1a, 0x11, 0xaa, 0xde, 0x55, 0x60, 0x74, 0xc3, 0x6b, 0x5d, 0x0e, 0xb6, 0xaf, 0xdc, 0x05, - 0x42, 0x83, 0xe7, 0x91, 0xd5, 0x74, 0x6c, 0xc3, 0xf2, 0xc3, 0x25, 0x39, 0x2c, 0xab, 0x73, 0x70, - 0x14, 0x59, 0xbe, 0xdb, 0xad, 0x77, 0xb6, 0x3c, 0x9f, 0x35, 0x27, 0xd9, 0xc0, 0x99, 0xb2, 0x04, - 0xc7, 0x59, 0x0e, 0x91, 0x31, 0x65, 0x78, 0x0e, 0xef, 0xac, 0xd1, 0xc7, 0x08, 0x8b, 0x55, 0x1b, - 0x8f, 0x28, 0xdc, 0x87, 0x0c, 0xc8, 0x2b, 0x37, 0xad, 0x70, 0x6f, 0x48, 0xff, 0x1e, 0xa1, 0xb2, - 0x01, 0x46, 0x59, 0x30, 0x0d, 0xec, 0xa0, 0x3b, 0x25, 0x4c, 0x0a, 0x1c, 0xc9, 0x1f, 0x2b, 0x70, - 0x9a, 0x45, 0x7c, 0x8d, 0x37, 0xab, 0x2f, 0xec, 0xbd, 0x38, 0x6e, 0xb7, 0xe7, 0xb8, 0x90, 0x12, - 0xfd, 0x1c, 0xfd, 0x30, 0x89, 0x7f, 0xde, 0x12, 0xfb, 0x79, 0x39, 0xdc, 0x9f, 0x29, 0xf0, 0x22, - 0x0b, 0xfc, 0x59, 0xdb, 0xb0, 0xd6, 0xad, 0xed, 0x4e, 0xb0, 0x33, 0x6e, 0x18, 0x96, 0xd1, 0xee, - 0xb4, 0xfb, 0xe2, 0xb0, 0x08, 0xc7, 0x6e, 0x24, 0x55, 0xd1, 0xe5, 0x49, 0xd4, 0xc4, 0x31, 0xfb, - 0xbb, 0x02, 0x8b, 0xb9, 0xcc, 0x56, 0xbb, 0x8e, 0xee, 0x79, 0xab, 0xdd, 0x1a, 0x7a, 0xaf, 0x83, - 0xbc, 0xfe, 0x9c, 0xf5, 0x36, 0x8c, 0xe1, 0x3f, 0x03, 0xf5, 0x44, 0xdf, 0x1b, 0x68, 0x17, 0x99, - 0x98, 0xe9, 0xe8, 0xd2, 0x4b, 0x89, 0x59, 0x27, 0x12, 0xae, 0x09, 0x55, 0x70, 0x16, 0xfd, 0x4d, - 0x81, 0x05, 0x69, 0x8b, 0xd6, 0xad, 0x5d, 0xc3, 0x47, 0xcf, 0xb6, 0x41, 0x65, 0x7e, 0xd0, 0x46, - 0x47, 0x96, 0x5f, 0x2a, 0xf8, 0x3c, 0x83, 0x9b, 0x36, 0x50, 0x7b, 0x0b, 0xb9, 0xde, 0x75, 0xc3, - 0xd9, 0x83, 0x4d, 0xf1, 0x33, 0x64, 0x89, 0x3b, 0x43, 0x56, 0x61, 0xc4, 0x8b, 0x4f, 0x39, 0x72, - 0x54, 0x64, 0xea, 0x38, 0xe2, 0xbf, 0x8b, 0xad, 0x00, 0x3c, 0xbd, 0x15, 0xc7, 0x71, 0x73, 0x77, - 0x83, 0x27, 0xc2, 0xf2, 0xab, 0x70, 0x32, 0x8d, 0xe4, 0x1a, 0xb2, 0xba, 0xfb, 0xcd, 0x90, 0x43, - 0xff, 0x1a, 0x54, 0xd2, 0xd0, 0x65, 0x4e, 0xbd, 0x7b, 0xc6, 0xff, 0x93, 0xd2, 0x1b, 0x5d, 0x3d, - 0x02, 0xc1, 0x80, 0x7c, 0x1a, 0x9f, 0x26, 0x38, 0xa0, 0x18, 0x74, 0xa6, 0xae, 0x37, 0xcb, 0x43, - 0x53, 0xa5, 0xe0, 0x80, 0xd2, 0xab, 0xe1, 0xc8, 0xff, 0x55, 0xc1, 0x47, 0x2d, 0x01, 0xf9, 0x4d, - 0xd7, 0xbe, 0xd5, 0xed, 0xe7, 0xc2, 0x90, 0x60, 0x59, 0x12, 0xb0, 0xdc, 0xb7, 0x4b, 0x53, 0xfa, - 0xf6, 0xd4, 0x33, 0xe7, 0x75, 0xa3, 0xb1, 0xf3, 0x11, 0x0f, 0x82, 0x5f, 0x29, 0x30, 0x99, 0x04, - 0xde, 0xcb, 0x6a, 0xbf, 0xbf, 0x53, 0xf4, 0xf7, 0x0a, 0x4c, 0xa5, 0xf2, 0x7b, 0x76, 0x56, 0x92, - 0xdb, 0xf8, 0xbc, 0x2c, 0x66, 0xf9, 0x04, 0x96, 0x92, 0x3b, 0xa2, 0xd5, 0x96, 0xc2, 0x3f, 0x91, - 0xb5, 0xe4, 0xfb, 0x0a, 0xbe, 0xd2, 0x27, 0x18, 0xd0, 0xb3, 0xe9, 0x0e, 0x68, 0x2d, 0xb6, 0x69, - 0xc5, 0x71, 0x4c, 0x83, 0x1c, 0xd7, 0xe9, 0xe9, 0x7b, 0x36, 0xb1, 0x6d, 0x5e, 0x4e, 0xed, 0x52, - 0xcb, 0x50, 0x57, 0xfd, 0x35, 0xe1, 0xb2, 0x19, 0x3d, 0x3f, 0x5c, 0x76, 0x75, 0xcb, 0xbf, 0x62, - 0x91, 0x4b, 0x77, 0xf6, 0x99, 0xdd, 0x0e, 0xaf, 0xeb, 0xf4, 0xcc, 0x1e, 0x96, 0x33, 0x87, 0x0b, - 0xf7, 0xfc, 0x31, 0x98, 0xf7, 0xfc, 0xf1, 0x0d, 0xb2, 0x76, 0x25, 0x08, 0xd2, 0xc7, 0x89, 0xbe, - 0xd6, 0x2e, 0x8e, 0x43, 0x29, 0x8f, 0xc3, 0x6f, 0x78, 0x0e, 0x64, 0x98, 0x3c, 0x43, 0x5e, 0xba, - 0xab, 0xe0, 0xdd, 0x39, 0xc9, 0xf0, 0x49, 0xba, 0x89, 0x1e, 0xb3, 0x7a, 0x24, 0xea, 0xe8, 0x59, - 0x1a, 0x49, 0x77, 0xf0, 0xe2, 0xcd, 0xb1, 0x7b, 0x92, 0xfe, 0x99, 0xc0, 0x57, 0xcb, 0xf8, 0x37, - 0xa2, 0xe7, 0xd3, 0x65, 0xfc, 0x88, 0xb7, 0x89, 0x5f, 0x73, 0x5f, 0xbb, 0xe5, 0x98, 0xb6, 0x9b, - 0xb1, 0x04, 0x71, 0x4a, 0xdf, 0x24, 0x3e, 0x8f, 0xf7, 0x8d, 0x56, 0x92, 0x8f, 0xc3, 0x41, 0xf2, - 0x44, 0x4c, 0x57, 0x0d, 0xc1, 0x43, 0x2d, 0x6e, 0x5e, 0x1d, 0xbc, 0xff, 0xe0, 0xf4, 0x81, 0x1a, - 0x15, 0xae, 0x7e, 0x9b, 0xbc, 0xaa, 0x90, 0xb6, 0x9a, 0x6e, 0x34, 0x2f, 0xd9, 0x6d, 0x27, 0xe7, - 0xe9, 0x2a, 0xfd, 0x4d, 0x62, 0x0c, 0x86, 0xf0, 0x66, 0x1e, 0xde, 0x81, 0x71, 0x21, 0xa8, 0xb5, - 0x6c, 0xab, 0x81, 0xe8, 0x76, 0x41, 0x0a, 0x9c, 0x69, 0x1f, 0x28, 0x78, 0xa3, 0x48, 0xf2, 0x88, - 0x0c, 0x5c, 0x92, 0x7a, 0x93, 0xa0, 0xe6, 0x11, 0xd1, 0x98, 0x53, 0x06, 0x0a, 0x38, 0x45, 0x3d, - 0x09, 0xc3, 0xb6, 0x8b, 0xea, 0xbe, 0x6d, 0x22, 0x8b, 0x7e, 0xea, 0x5e, 0x45, 0xf5, 0x87, 0x11, - 0xd5, 0x2e, 0x72, 0xe9, 0x3b, 0xb5, 0x6b, 0xb4, 0x75, 0xb7, 0x9b, 0x3f, 0xc0, 0xb2, 0x1e, 0xa4, - 0xf1, 0xf9, 0x28, 0xae, 0x27, 0x7c, 0x1a, 0x65, 0x6b, 0x39, 0xc7, 0x9d, 0x85, 0x97, 0x32, 0xc9, - 0x44, 0x03, 0x6f, 0x13, 0xbf, 0xab, 0xd7, 0xb1, 0xdd, 0x75, 0x5f, 0xf7, 0x3b, 0x5e, 0x7c, 0xec, - 0x10, 0x7f, 0xa4, 0x8e, 0x1d, 0xd2, 0x2d, 0x74, 0x13, 0xa9, 0xad, 0xbe, 0x05, 0x47, 0x23, 0x8d, - 0x2b, 0x0d, 0xdf, 0xd8, 0xcd, 0x7d, 0xf9, 0x21, 0x1d, 0x7b, 0xb6, 0x87, 0x65, 0xce, 0xa6, 0xb7, - 0xf1, 0x33, 0x25, 0x51, 0xbc, 0x86, 0xf4, 0xfd, 0x54, 0xfd, 0xd3, 0x01, 0x7c, 0x9e, 0xa4, 0xf6, - 0xe0, 0xed, 0xdc, 0x32, 0x7c, 0x23, 0x57, 0x7d, 0xea, 0x57, 0x0b, 0x8e, 0x44, 0x58, 0xd9, 0xd5, - 0xae, 0x83, 0xe8, 0xca, 0x35, 0x58, 0x63, 0xea, 0xd4, 0x4f, 0xc1, 0x88, 0xe0, 0x29, 0xfb, 0x44, - 0xc2, 0xcb, 0x64, 0x29, 0xc4, 0xcf, 0xd8, 0x4c, 0x07, 0xf5, 0x93, 0x30, 0x6a, 0x3b, 0xc8, 0xd5, - 0x7d, 0xc3, 0x6a, 0xad, 0xb4, 0xb7, 0x0c, 0x1f, 0x1f, 0x9d, 0x47, 0x05, 0x93, 0x40, 0x0f, 0x5a, - 0x6b, 0x9c, 0xb4, 0xaa, 0xc2, 0xa0, 0x67, 0xda, 0x3e, 0x0d, 0x40, 0xe0, 0xbf, 0x39, 0xbf, 0x7c, - 0x4f, 0xe1, 0xfd, 0x22, 0xb1, 0x10, 0x64, 0xb8, 0x7d, 0x0f, 0x4b, 0xc1, 0x6f, 0x07, 0xf0, 0xfd, - 0x4f, 0x40, 0x65, 0xc5, 0x6a, 0xd6, 0x7d, 0xdd, 0xbb, 0xfe, 0xd1, 0x53, 0x52, 0x97, 0x60, 0xcc, - 0xf3, 0x6d, 0x57, 0x6f, 0xa1, 0xb5, 0xde, 0x3b, 0x2a, 0xbe, 0x7e, 0x05, 0x42, 0xc2, 0x36, 0x75, - 0x39, 0x18, 0x0a, 0xb8, 0x9e, 0x7c, 0xa3, 0x83, 0x99, 0xdf, 0x88, 0x91, 0x0d, 0xf6, 0x17, 0x5a, - 0xae, 0x07, 0x1f, 0xea, 0x39, 0xb2, 0xbf, 0xc4, 0xaa, 0x92, 0xaf, 0x67, 0xf1, 0x39, 0xb2, 0x8d, - 0x2c, 0x0f, 0xd5, 0x51, 0xd6, 0xd6, 0x3b, 0x03, 0x47, 0x9a, 0x81, 0x5c, 0x13, 0xb9, 0x75, 0xd6, - 0x43, 0x89, 0x7a, 0x75, 0x0e, 0x8e, 0x3a, 0xae, 0xed, 0xa3, 0x86, 0x8f, 0x9a, 0x91, 0x30, 0x7d, - 0x4f, 0x4c, 0x34, 0x70, 0xcc, 0x76, 0xf0, 0x86, 0xc2, 0x10, 0xbb, 0x64, 0x22, 0xdd, 0xdd, 0x1f, - 0x6a, 0x1c, 0xd8, 0x3f, 0x15, 0x38, 0x1c, 0xa1, 0xe5, 0x3c, 0xa5, 0x67, 0x0d, 0x8d, 0x3d, 0xcf, - 0xd0, 0x39, 0x18, 0xd2, 0x25, 0x26, 0x26, 0x11, 0x92, 0x98, 0x8f, 0x7f, 0x20, 0x31, 0x5c, 0xba, - 0xb8, 0xfa, 0xbe, 0x9e, 0x79, 0xe1, 0x9d, 0x83, 0xa3, 0xd1, 0x8c, 0xe7, 0x3c, 0x98, 0x6c, 0x08, - 0x36, 0x1a, 0x5f, 0x77, 0x5b, 0xc8, 0x8f, 0x7d, 0xda, 0x52, 0xb0, 0xd1, 0xb0, 0xb5, 0xc1, 0xd2, - 0x76, 0x13, 0xe9, 0x8e, 0x6d, 0xd5, 0xbb, 0x9e, 0x8f, 0xda, 0xe1, 0x6d, 0x2f, 0x5e, 0xc7, 0xb1, - 0x9e, 0x8c, 0xed, 0x31, 0x84, 0x74, 0xb4, 0xfd, 0xbc, 0x8b, 0xcf, 0x2e, 0xe1, 0xf6, 0x83, 0x74, - 0xd3, 0xbf, 0xbe, 0xaf, 0x7b, 0xc6, 0x97, 0xf1, 0xdd, 0x86, 0xd1, 0xbf, 0xcf, 0x5b, 0xc7, 0x5d, - 0x25, 0x66, 0xc2, 0x65, 0x64, 0x05, 0x6e, 0xb5, 0x5d, 0xfc, 0x88, 0xda, 0xef, 0xb0, 0xab, 0xc2, - 0x08, 0x7e, 0xc8, 0x41, 0x2b, 0x6d, 0xbb, 0x13, 0xbd, 0x98, 0x33, 0x75, 0x1c, 0x89, 0x2a, 0xbe, - 0xf5, 0x73, 0x1c, 0xd8, 0xed, 0x3c, 0x38, 0xa0, 0x4c, 0x46, 0x42, 0x57, 0x5c, 0xb4, 0x61, 0x58, - 0xc8, 0x7d, 0x6a, 0xcb, 0xf9, 0x17, 0xf0, 0x15, 0x9c, 0x25, 0xb3, 0x3f, 0xe7, 0x8f, 0x1f, 0x91, - 0x8b, 0x50, 0xa4, 0xba, 0x86, 0xb6, 0x03, 0xe5, 0xdd, 0xa7, 0x66, 0xea, 0x17, 0xa1, 0x2a, 0xe2, - 0xb3, 0x3f, 0xd6, 0xfe, 0x45, 0x89, 0x2d, 0xac, 0x75, 0xba, 0x31, 0xec, 0x61, 0x37, 0xac, 0x00, - 0x98, 0x7c, 0xd0, 0x30, 0x56, 0xd3, 0x5b, 0xd1, 0x06, 0x8b, 0xac, 0x68, 0x43, 0xa9, 0x2b, 0xda, - 0xbf, 0xe3, 0x27, 0x0c, 0xca, 0xbf, 0x86, 0x1a, 0xba, 0x69, 0x3e, 0xab, 0x06, 0x04, 0xe8, 0xe1, - 0x0a, 0x82, 0x97, 0xea, 0xe7, 0x6b, 0x51, 0x99, 0x33, 0x8e, 0x04, 0xd6, 0x7b, 0x51, 0xb6, 0xdc, - 0x30, 0x68, 0x14, 0x2d, 0x1c, 0x88, 0x45, 0x0b, 0x13, 0xc1, 0xe3, 0x92, 0x64, 0x52, 0x00, 0x0f, - 0x1c, 0x8f, 0x46, 0x33, 0x0f, 0x76, 0x4a, 0xf2, 0xc1, 0x2e, 0x3a, 0x4a, 0x44, 0x75, 0x32, 0xb9, - 0x0b, 0x8c, 0xd6, 0x01, 0xc1, 0x7b, 0xf0, 0x2b, 0x30, 0xde, 0x36, 0x5a, 0x2e, 0x2e, 0x0a, 0xc2, - 0x92, 0xe2, 0x46, 0xce, 0xb8, 0x53, 0x9c, 0x71, 0x6c, 0xc6, 0x43, 0xf5, 0x27, 0x0a, 0x39, 0x28, - 0x46, 0xed, 0xb1, 0x0c, 0x0e, 0xdb, 0xb2, 0xb2, 0x5f, 0x22, 0x64, 0x52, 0x03, 0xce, 0xc0, 0xe1, - 0x26, 0x73, 0xfa, 0x23, 0xdc, 0xd9, 0x4a, 0x8e, 0xf3, 0x39, 0x98, 0xce, 0xe6, 0x14, 0xd1, 0xb7, - 0x71, 0xfc, 0x53, 0x24, 0xb9, 0x66, 0x78, 0x8d, 0xfd, 0x30, 0x80, 0xa3, 0x36, 0x0b, 0xe7, 0x73, - 0x01, 0x23, 0x76, 0xdf, 0x22, 0x8f, 0x85, 0x3d, 0x69, 0x72, 0xc5, 0x94, 0x72, 0x6c, 0xee, 0xe0, - 0x90, 0x7f, 0x3f, 0x3d, 0x43, 0x96, 0x54, 0x31, 0x8b, 0x88, 0x6c, 0x03, 0xdf, 0xc8, 0x79, 0x29, - 0x29, 0x37, 0x66, 0xdc, 0xed, 0x84, 0x37, 0xed, 0x74, 0x90, 0x3c, 0xd7, 0x6d, 0xe0, 0x11, 0x8f, - 0xf6, 0xd5, 0x75, 0xa5, 0xc2, 0xae, 0xa3, 0x2c, 0x42, 0xb2, 0x4b, 0xff, 0x5b, 0x84, 0xd2, 0x86, - 0xd7, 0x52, 0xaf, 0xc1, 0x08, 0x93, 0x30, 0x38, 0x95, 0x58, 0x2e, 0xb9, 0xac, 0x3c, 0xed, 0x5c, - 0x9e, 0x44, 0xb4, 0x0a, 0x35, 0xe0, 0x05, 0x3e, 0x67, 0xef, 0x63, 0xa2, 0xce, 0x9c, 0x90, 0x36, - 0x2b, 0x21, 0x14, 0x81, 0xbc, 0x03, 0x87, 0xd9, 0xd4, 0xb8, 0x17, 0x33, 0x7b, 0x07, 0x22, 0xda, - 0xf9, 0x5c, 0x91, 0x48, 0xfd, 0x36, 0x1c, 0x49, 0xa4, 0xc1, 0x9d, 0x11, 0x76, 0xe7, 0xa4, 0xb4, - 0x39, 0x19, 0x29, 0x31, 0x0e, 0x5d, 0x89, 0x73, 0x70, 0x88, 0x54, 0x1e, 0x0e, 0x97, 0x2e, 0xc6, - 0xe0, 0xd0, 0x3c, 0xb0, 0x1c, 0x1c, 0x22, 0x95, 0x87, 0xc3, 0xa5, 0x76, 0x99, 0xa0, 0x0a, 0x52, - 0xb6, 0xa6, 0xb3, 0x75, 0x84, 0x72, 0xda, 0xbc, 0x9c, 0x5c, 0x84, 0xf6, 0x26, 0x0c, 0xf7, 0xb2, - 0xaa, 0x4e, 0x89, 0x3a, 0x47, 0xcd, 0xda, 0x4b, 0x99, 0xcd, 0x91, 0xca, 0xb7, 0xe0, 0x50, 0x3c, - 0xb3, 0xe9, 0xb4, 0xa8, 0x57, 0x4c, 0x40, 0x3b, 0x9b, 0x23, 0x10, 0x29, 0x46, 0xa0, 0x0a, 0x52, - 0x8f, 0xa6, 0x53, 0xbb, 0x33, 0x72, 0x19, 0x30, 0xdc, 0x07, 0xe8, 0xc2, 0xc9, 0xcc, 0x7c, 0xa3, - 0xc5, 0x1c, 0x45, 0x89, 0x1e, 0xf2, 0xd0, 0x2d, 0x38, 0x26, 0xca, 0x2b, 0x3a, 0x9b, 0x8b, 0x48, - 0x04, 0xe5, 0x81, 0x6e, 0x43, 0x25, 0x27, 0x8f, 0x68, 0x29, 0x47, 0x95, 0xa0, 0x8f, 0x3c, 0xfc, - 0xcf, 0x15, 0x98, 0x2b, 0x94, 0x5b, 0xf3, 0xe9, 0xe2, 0x6c, 0x58, 0x0d, 0xf2, 0xdc, 0x7e, 0xa1, - 0xc0, 0x85, 0x62, 0x99, 0x4c, 0x2b, 0xfd, 0x93, 0xa3, 0x2a, 0xe4, 0xd9, 0xd9, 0x30, 0x2e, 0xce, - 0xd4, 0x39, 0x9f, 0xaa, 0x81, 0x17, 0x15, 0xef, 0x12, 0x69, 0x01, 0xd7, 0xdb, 0x74, 0x36, 0xa4, - 0xe5, 0xde, 0x2c, 0x4a, 0xe3, 0xd2, 0x1e, 0xc5, 0xe0, 0x6f, 0xc2, 0x64, 0x7a, 0x56, 0xcd, 0x05, - 0x69, 0xec, 0x40, 0xbc, 0x18, 0xf0, 0x57, 0xe0, 0x44, 0x56, 0x42, 0xcd, 0x82, 0x34, 0x34, 0xdd, - 0x39, 0x0b, 0x81, 0xef, 0xd0, 0x75, 0x80, 0x4b, 0xa6, 0x39, 0x2b, 0xa1, 0x23, 0x10, 0x2c, 0x06, - 0xd6, 0x81, 0x72, 0x6a, 0xf2, 0xcb, 0x9c, 0x24, 0x22, 0x96, 0xde, 0xab, 0x8d, 0x38, 0x49, 0x45, - 0xc6, 0xc6, 0x40, 0xb0, 0x18, 0xd8, 0x7b, 0x70, 0x3c, 0x25, 0x31, 0x65, 0x46, 0x4a, 0x0d, 0x99, - 0xa5, 0x85, 0x20, 0xef, 0xc0, 0xa9, 0xec, 0x5c, 0x93, 0x8b, 0xf2, 0xc8, 0x7d, 0x4d, 0x9d, 0x2e, - 0x68, 0x19, 0x69, 0x24, 0xf3, 0xf2, 0xe8, 0xc5, 0x27, 0x4f, 0x72, 0xd1, 0x60, 0x53, 0x48, 0x16, - 0xe5, 0xc1, 0xfb, 0x99, 0x3e, 0x0e, 0x94, 0x53, 0x53, 0x22, 0x84, 0x23, 0x3a, 0x4d, 0x5a, 0x9b, - 0xce, 0x96, 0x8e, 0x10, 0x2d, 0x98, 0x48, 0xcb, 0x12, 0x99, 0x95, 0x02, 0x24, 0xc2, 0xd2, 0x78, - 0x2e, 0x4c, 0xa6, 0xa7, 0x33, 0x5c, 0xc8, 0x53, 0xc2, 0x88, 0x4b, 0x63, 0x32, 0x5e, 0xe5, 0x92, - 0x3c, 0xe6, 0xe4, 0x20, 0x0b, 0x5a, 0x69, 0xc2, 0xf1, 0x94, 0x8c, 0x84, 0x99, 0x6c, 0x0d, 0x71, - 0x59, 0x69, 0xb4, 0x1b, 0x30, 0x2e, 0xce, 0xce, 0x38, 0x2f, 0x01, 0x56, 0xd0, 0xb2, 0x77, 0xe0, - 0x30, 0x9b, 0xd1, 0x20, 0xbc, 0x7b, 0x31, 0x22, 0xe2, 0xbb, 0x97, 0x38, 0xb7, 0xc1, 0x04, 0x55, - 0x90, 0xa0, 0x30, 0x9d, 0xae, 0x20, 0x2e, 0x27, 0xbe, 0x43, 0x64, 0x24, 0x1a, 0x04, 0xd7, 0xf7, - 0x8c, 0xe0, 0x7e, 0x9a, 0xba, 0x14, 0x79, 0xed, 0xd5, 0x62, 0xf2, 0x11, 0x8d, 0x77, 0x61, 0x94, - 0x0b, 0xad, 0x57, 0x45, 0x9a, 0x58, 0x19, 0xf1, 0xa5, 0x5c, 0x18, 0xf4, 0xdf, 0x82, 0x23, 0x89, - 0x08, 0xfb, 0x99, 0xf4, 0xde, 0x3d, 0xa9, 0x02, 0x18, 0xd7, 0xe1, 0x98, 0x28, 0xd2, 0x7e, 0x36, - 0x5d, 0x01, 0x23, 0xd8, 0x37, 0x52, 0x34, 0x46, 0xf2, 0x90, 0xa2, 0x41, 0xd2, 0x97, 0xdf, 0xa2, - 0xa8, 0x6b, 0xa6, 0xdf, 0x42, 0xa9, 0x02, 0x18, 0xdb, 0xa0, 0x0a, 0x02, 0xa8, 0xd3, 0xb9, 0x28, - 0x58, 0xae, 0x00, 0xce, 0xe7, 0x01, 0x62, 0xa1, 0xd3, 0x4a, 0x7a, 0x3f, 0x7c, 0x61, 0x96, 0xd7, - 0x7b, 0x0d, 0x46, 0x98, 0xc8, 0xe5, 0x54, 0xc6, 0xc8, 0xc5, 0x12, 0x59, 0xba, 0xd9, 0x40, 0xa2, - 0x6a, 0xc2, 0xb8, 0x38, 0x8a, 0x78, 0x3e, 0x8b, 0x1e, 0x23, 0x5a, 0xc0, 0x12, 0x07, 0x26, 0xd2, - 0x62, 0x8a, 0xb3, 0xb9, 0x78, 0x7d, 0xcd, 0x99, 0x4e, 0x68, 0x1f, 0x1f, 0x62, 0xcc, 0xb0, 0x8f, - 0x13, 0xd5, 0x2e, 0x4a, 0x88, 0x72, 0xb0, 0xbb, 0x70, 0x3c, 0x25, 0x60, 0x38, 0x93, 0xae, 0x8c, - 0x97, 0xd5, 0x16, 0xf3, 0x65, 0x39, 0xdc, 0x3b, 0x30, 0x99, 0x1e, 0xc0, 0xbb, 0x90, 0xa9, 0x8e, - 0x17, 0xd7, 0x5e, 0x96, 0x12, 0x4f, 0xcc, 0xb5, 0x23, 0x89, 0xb8, 0x8d, 0x78, 0x3e, 0x73, 0x52, - 0xe2, 0x87, 0xb0, 0xd4, 0x50, 0x0c, 0x83, 0x93, 0xf5, 0xb0, 0xc7, 0x4b, 0xe5, 0xe1, 0x70, 0x0f, - 0x7b, 0xdf, 0x55, 0xe0, 0x44, 0x56, 0x48, 0x64, 0x21, 0x5b, 0x5b, 0xa2, 0x83, 0xf6, 0x89, 0x82, - 0x1d, 0x22, 0x26, 0xef, 0x2b, 0x50, 0xc9, 0x09, 0x6f, 0x2c, 0xc9, 0xea, 0xee, 0xf5, 0xd1, 0x96, - 0x8b, 0xf7, 0x89, 0x5d, 0x83, 0x27, 0xd2, 0x22, 0x1a, 0xb3, 0xd9, 0x6a, 0x19, 0xe1, 0x94, 0x91, - 0x96, 0x1d, 0xa5, 0xc0, 0x07, 0x8b, 0x8c, 0x18, 0xc5, 0xbc, 0x8c, 0xce, 0x98, 0x1f, 0x5e, 0x2d, - 0x26, 0x9f, 0xe5, 0x83, 0x30, 0x34, 0x21, 0xe5, 0x03, 0x2a, 0x2c, 0xe7, 0x03, 0x2e, 0xdc, 0xa0, - 0x0d, 0x7d, 0xfd, 0xf1, 0xbd, 0x19, 0x65, 0xf5, 0xe2, 0xfd, 0x87, 0x15, 0xe5, 0xc3, 0x87, 0x15, - 0xe5, 0x3f, 0x0f, 0x2b, 0xca, 0xfb, 0x8f, 0x2a, 0x07, 0x3e, 0x7c, 0x54, 0x39, 0xf0, 0xaf, 0x47, - 0x95, 0x03, 0xd7, 0x26, 0x92, 0xff, 0x43, 0x80, 0xdf, 0x75, 0x90, 0xb7, 0x75, 0x10, 0xff, 0xe7, - 0x06, 0x2f, 0xff, 0x3f, 0x00, 0x00, 0xff, 0xff, 0x0f, 0xd7, 0xf5, 0x4a, 0x16, 0x42, 0x00, 0x00, +func (m *MsgAgreementOpen) Reset() { *m = MsgAgreementOpen{} } +func (m *MsgAgreementOpen) String() string { return proto.CompactTextString(m) } +func (*MsgAgreementOpen) ProtoMessage() {} +func (*MsgAgreementOpen) Descriptor() ([]byte, []int) { + return fileDescriptor_38fd6c203bede659, []int{94} +} +func (m *MsgAgreementOpen) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgAgreementOpen) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgAgreementOpen.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *MsgAgreementOpen) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgAgreementOpen.Merge(m, src) +} +func (m *MsgAgreementOpen) XXX_Size() int { + return m.Size() +} +func (m *MsgAgreementOpen) XXX_DiscardUnknown() { + xxx_messageInfo_MsgAgreementOpen.DiscardUnknown(m) } -// Reference imports to suppress errors if they are not otherwise used. -var _ context.Context -var _ grpc.ClientConn - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the grpc package it is being compiled against. -const _ = grpc.SupportPackageIsVersion4 +var xxx_messageInfo_MsgAgreementOpen proto.InternalMessageInfo -// MsgClient is the client API for Msg service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type MsgClient interface { - // UpdateParams defines a (governance) operation for updating the module - // parameters. The authority defaults to the x/gov module account. - UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error) - AddressRegister(ctx context.Context, in *MsgAddressRegister, opts ...grpc.CallOption) (*MsgAddressRegisterResponse, error) - AddressRevoke(ctx context.Context, in *MsgAddressRevoke, opts ...grpc.CallOption) (*MsgAddressRevokeResponse, error) - AllocationCreate(ctx context.Context, in *MsgAllocationCreate, opts ...grpc.CallOption) (*MsgAllocationCreateResponse, error) - AllocationDelete(ctx context.Context, in *MsgAllocationDelete, opts ...grpc.CallOption) (*MsgAllocationDeleteResponse, error) - AllocationUpdate(ctx context.Context, in *MsgAllocationUpdate, opts ...grpc.CallOption) (*MsgAllocationUpdateResponse, error) - AllocationTransfer(ctx context.Context, in *MsgAllocationTransfer, opts ...grpc.CallOption) (*MsgAllocationTransferResponse, error) - FleetMove(ctx context.Context, in *MsgFleetMove, opts ...grpc.CallOption) (*MsgFleetMoveResponse, error) - GuildCreate(ctx context.Context, in *MsgGuildCreate, opts ...grpc.CallOption) (*MsgGuildCreateResponse, error) - GuildUpdateOwnerId(ctx context.Context, in *MsgGuildUpdateOwnerId, opts ...grpc.CallOption) (*MsgGuildUpdateResponse, error) - GuildUpdateEntrySubstationId(ctx context.Context, in *MsgGuildUpdateEntrySubstationId, opts ...grpc.CallOption) (*MsgGuildUpdateResponse, error) - GuildUpdateEndpoint(ctx context.Context, in *MsgGuildUpdateEndpoint, opts ...grpc.CallOption) (*MsgGuildUpdateResponse, error) - GuildUpdateJoinInfusionMinimum(ctx context.Context, in *MsgGuildUpdateJoinInfusionMinimum, opts ...grpc.CallOption) (*MsgGuildUpdateResponse, error) - GuildUpdateJoinInfusionMinimumBypassByInvite(ctx context.Context, in *MsgGuildUpdateJoinInfusionMinimumBypassByInvite, opts ...grpc.CallOption) (*MsgGuildUpdateResponse, error) - GuildUpdateJoinInfusionMinimumBypassByRequest(ctx context.Context, in *MsgGuildUpdateJoinInfusionMinimumBypassByRequest, opts ...grpc.CallOption) (*MsgGuildUpdateResponse, error) - GuildMembershipInvite(ctx context.Context, in *MsgGuildMembershipInvite, opts ...grpc.CallOption) (*MsgGuildMembershipResponse, error) - GuildMembershipInviteApprove(ctx context.Context, in *MsgGuildMembershipInviteApprove, opts ...grpc.CallOption) (*MsgGuildMembershipResponse, error) - GuildMembershipInviteDeny(ctx context.Context, in *MsgGuildMembershipInviteDeny, opts ...grpc.CallOption) (*MsgGuildMembershipResponse, error) - GuildMembershipInviteRevoke(ctx context.Context, in *MsgGuildMembershipInviteRevoke, opts ...grpc.CallOption) (*MsgGuildMembershipResponse, error) - GuildMembershipJoin(ctx context.Context, in *MsgGuildMembershipJoin, opts ...grpc.CallOption) (*MsgGuildMembershipResponse, error) - GuildMembershipJoinProxy(ctx context.Context, in *MsgGuildMembershipJoinProxy, opts ...grpc.CallOption) (*MsgGuildMembershipResponse, error) - GuildMembershipKick(ctx context.Context, in *MsgGuildMembershipKick, opts ...grpc.CallOption) (*MsgGuildMembershipResponse, error) - GuildMembershipRequest(ctx context.Context, in *MsgGuildMembershipRequest, opts ...grpc.CallOption) (*MsgGuildMembershipResponse, error) - GuildMembershipRequestApprove(ctx context.Context, in *MsgGuildMembershipRequestApprove, opts ...grpc.CallOption) (*MsgGuildMembershipResponse, error) - GuildMembershipRequestDeny(ctx context.Context, in *MsgGuildMembershipRequestDeny, opts ...grpc.CallOption) (*MsgGuildMembershipResponse, error) - GuildMembershipRequestRevoke(ctx context.Context, in *MsgGuildMembershipRequestRevoke, opts ...grpc.CallOption) (*MsgGuildMembershipResponse, error) - PermissionGrantOnAddress(ctx context.Context, in *MsgPermissionGrantOnAddress, opts ...grpc.CallOption) (*MsgPermissionResponse, error) - PermissionGrantOnObject(ctx context.Context, in *MsgPermissionGrantOnObject, opts ...grpc.CallOption) (*MsgPermissionResponse, error) - PermissionRevokeOnAddress(ctx context.Context, in *MsgPermissionRevokeOnAddress, opts ...grpc.CallOption) (*MsgPermissionResponse, error) - PermissionRevokeOnObject(ctx context.Context, in *MsgPermissionRevokeOnObject, opts ...grpc.CallOption) (*MsgPermissionResponse, error) - PermissionSetOnAddress(ctx context.Context, in *MsgPermissionSetOnAddress, opts ...grpc.CallOption) (*MsgPermissionResponse, error) - PermissionSetOnObject(ctx context.Context, in *MsgPermissionSetOnObject, opts ...grpc.CallOption) (*MsgPermissionResponse, error) - PlanetExplore(ctx context.Context, in *MsgPlanetExplore, opts ...grpc.CallOption) (*MsgPlanetExploreResponse, error) - PlanetRaidComplete(ctx context.Context, in *MsgPlanetRaidComplete, opts ...grpc.CallOption) (*MsgPlanetRaidCompleteResponse, error) - PlayerUpdatePrimaryAddress(ctx context.Context, in *MsgPlayerUpdatePrimaryAddress, opts ...grpc.CallOption) (*MsgPlayerUpdatePrimaryAddressResponse, error) - StructActivate(ctx context.Context, in *MsgStructActivate, opts ...grpc.CallOption) (*MsgStructStatusResponse, error) - StructDeactivate(ctx context.Context, in *MsgStructDeactivate, opts ...grpc.CallOption) (*MsgStructStatusResponse, error) - StructBuildInitiate(ctx context.Context, in *MsgStructBuildInitiate, opts ...grpc.CallOption) (*MsgStructStatusResponse, error) - StructBuildComplete(ctx context.Context, in *MsgStructBuildComplete, opts ...grpc.CallOption) (*MsgStructStatusResponse, error) - StructDefenseSet(ctx context.Context, in *MsgStructDefenseSet, opts ...grpc.CallOption) (*MsgStructStatusResponse, error) - StructDefenseClear(ctx context.Context, in *MsgStructDefenseClear, opts ...grpc.CallOption) (*MsgStructStatusResponse, error) - StructMove(ctx context.Context, in *MsgStructMove, opts ...grpc.CallOption) (*MsgStructStatusResponse, error) - StructAttack(ctx context.Context, in *MsgStructAttack, opts ...grpc.CallOption) (*MsgStructAttackResponse, error) - StructStealthActivate(ctx context.Context, in *MsgStructStealthActivate, opts ...grpc.CallOption) (*MsgStructStatusResponse, error) - StructStealthDeactivate(ctx context.Context, in *MsgStructStealthDeactivate, opts ...grpc.CallOption) (*MsgStructStatusResponse, error) - StructGeneratorInfuse(ctx context.Context, in *MsgStructGeneratorInfuse, opts ...grpc.CallOption) (*MsgStructGeneratorStatusResponse, error) - StructOreMinerComplete(ctx context.Context, in *MsgStructOreMinerComplete, opts ...grpc.CallOption) (*MsgStructOreMinerStatusResponse, error) - StructOreRefineryComplete(ctx context.Context, in *MsgStructOreRefineryComplete, opts ...grpc.CallOption) (*MsgStructOreRefineryStatusResponse, error) - SubstationCreate(ctx context.Context, in *MsgSubstationCreate, opts ...grpc.CallOption) (*MsgSubstationCreateResponse, error) - SubstationDelete(ctx context.Context, in *MsgSubstationDelete, opts ...grpc.CallOption) (*MsgSubstationDeleteResponse, error) - SubstationAllocationConnect(ctx context.Context, in *MsgSubstationAllocationConnect, opts ...grpc.CallOption) (*MsgSubstationAllocationConnectResponse, error) - SubstationAllocationDisconnect(ctx context.Context, in *MsgSubstationAllocationDisconnect, opts ...grpc.CallOption) (*MsgSubstationAllocationDisconnectResponse, error) - SubstationPlayerConnect(ctx context.Context, in *MsgSubstationPlayerConnect, opts ...grpc.CallOption) (*MsgSubstationPlayerConnectResponse, error) - SubstationPlayerDisconnect(ctx context.Context, in *MsgSubstationPlayerDisconnect, opts ...grpc.CallOption) (*MsgSubstationPlayerDisconnectResponse, error) - SubstationPlayerMigrate(ctx context.Context, in *MsgSubstationPlayerMigrate, opts ...grpc.CallOption) (*MsgSubstationPlayerMigrateResponse, error) +func (m *MsgAgreementOpen) GetCreator() string { + if m != nil { + return m.Creator + } + return "" } -type msgClient struct { - cc grpc1.ClientConn +func (m *MsgAgreementOpen) GetProviderId() string { + if m != nil { + return m.ProviderId + } + return "" } -func NewMsgClient(cc grpc1.ClientConn) MsgClient { - return &msgClient{cc} +func (m *MsgAgreementOpen) GetDuration() uint64 { + if m != nil { + return m.Duration + } + return 0 } -func (c *msgClient) UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error) { - out := new(MsgUpdateParamsResponse) - err := c.cc.Invoke(ctx, "/structs.structs.Msg/UpdateParams", in, out, opts...) - if err != nil { - return nil, err +func (m *MsgAgreementOpen) GetCapacity() uint64 { + if m != nil { + return m.Capacity } - return out, nil + return 0 } -func (c *msgClient) AddressRegister(ctx context.Context, in *MsgAddressRegister, opts ...grpc.CallOption) (*MsgAddressRegisterResponse, error) { - out := new(MsgAddressRegisterResponse) - err := c.cc.Invoke(ctx, "/structs.structs.Msg/AddressRegister", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil +type MsgAgreementClose struct { + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + AgreementId string `protobuf:"bytes,2,opt,name=agreementId,proto3" json:"agreementId,omitempty"` } -func (c *msgClient) AddressRevoke(ctx context.Context, in *MsgAddressRevoke, opts ...grpc.CallOption) (*MsgAddressRevokeResponse, error) { - out := new(MsgAddressRevokeResponse) - err := c.cc.Invoke(ctx, "/structs.structs.Msg/AddressRevoke", in, out, opts...) - if err != nil { - return nil, err +func (m *MsgAgreementClose) Reset() { *m = MsgAgreementClose{} } +func (m *MsgAgreementClose) String() string { return proto.CompactTextString(m) } +func (*MsgAgreementClose) ProtoMessage() {} +func (*MsgAgreementClose) Descriptor() ([]byte, []int) { + return fileDescriptor_38fd6c203bede659, []int{95} +} +func (m *MsgAgreementClose) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgAgreementClose) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgAgreementClose.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil } - return out, nil +} +func (m *MsgAgreementClose) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgAgreementClose.Merge(m, src) +} +func (m *MsgAgreementClose) XXX_Size() int { + return m.Size() +} +func (m *MsgAgreementClose) XXX_DiscardUnknown() { + xxx_messageInfo_MsgAgreementClose.DiscardUnknown(m) } -func (c *msgClient) AllocationCreate(ctx context.Context, in *MsgAllocationCreate, opts ...grpc.CallOption) (*MsgAllocationCreateResponse, error) { - out := new(MsgAllocationCreateResponse) - err := c.cc.Invoke(ctx, "/structs.structs.Msg/AllocationCreate", in, out, opts...) - if err != nil { - return nil, err +var xxx_messageInfo_MsgAgreementClose proto.InternalMessageInfo + +func (m *MsgAgreementClose) GetCreator() string { + if m != nil { + return m.Creator } - return out, nil + return "" } -func (c *msgClient) AllocationDelete(ctx context.Context, in *MsgAllocationDelete, opts ...grpc.CallOption) (*MsgAllocationDeleteResponse, error) { - out := new(MsgAllocationDeleteResponse) - err := c.cc.Invoke(ctx, "/structs.structs.Msg/AllocationDelete", in, out, opts...) - if err != nil { - return nil, err +func (m *MsgAgreementClose) GetAgreementId() string { + if m != nil { + return m.AgreementId } - return out, nil + return "" } -func (c *msgClient) AllocationUpdate(ctx context.Context, in *MsgAllocationUpdate, opts ...grpc.CallOption) (*MsgAllocationUpdateResponse, error) { - out := new(MsgAllocationUpdateResponse) - err := c.cc.Invoke(ctx, "/structs.structs.Msg/AllocationUpdate", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil +type MsgAgreementCapacityIncrease struct { + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + AgreementId string `protobuf:"bytes,2,opt,name=agreementId,proto3" json:"agreementId,omitempty"` + CapacityIncrease uint64 `protobuf:"varint,3,opt,name=capacityIncrease,proto3" json:"capacityIncrease,omitempty"` } -func (c *msgClient) AllocationTransfer(ctx context.Context, in *MsgAllocationTransfer, opts ...grpc.CallOption) (*MsgAllocationTransferResponse, error) { - out := new(MsgAllocationTransferResponse) - err := c.cc.Invoke(ctx, "/structs.structs.Msg/AllocationTransfer", in, out, opts...) - if err != nil { - return nil, err +func (m *MsgAgreementCapacityIncrease) Reset() { *m = MsgAgreementCapacityIncrease{} } +func (m *MsgAgreementCapacityIncrease) String() string { return proto.CompactTextString(m) } +func (*MsgAgreementCapacityIncrease) ProtoMessage() {} +func (*MsgAgreementCapacityIncrease) Descriptor() ([]byte, []int) { + return fileDescriptor_38fd6c203bede659, []int{96} +} +func (m *MsgAgreementCapacityIncrease) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgAgreementCapacityIncrease) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgAgreementCapacityIncrease.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil } - return out, nil +} +func (m *MsgAgreementCapacityIncrease) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgAgreementCapacityIncrease.Merge(m, src) +} +func (m *MsgAgreementCapacityIncrease) XXX_Size() int { + return m.Size() +} +func (m *MsgAgreementCapacityIncrease) XXX_DiscardUnknown() { + xxx_messageInfo_MsgAgreementCapacityIncrease.DiscardUnknown(m) } -func (c *msgClient) FleetMove(ctx context.Context, in *MsgFleetMove, opts ...grpc.CallOption) (*MsgFleetMoveResponse, error) { - out := new(MsgFleetMoveResponse) - err := c.cc.Invoke(ctx, "/structs.structs.Msg/FleetMove", in, out, opts...) - if err != nil { - return nil, err +var xxx_messageInfo_MsgAgreementCapacityIncrease proto.InternalMessageInfo + +func (m *MsgAgreementCapacityIncrease) GetCreator() string { + if m != nil { + return m.Creator } - return out, nil + return "" } -func (c *msgClient) GuildCreate(ctx context.Context, in *MsgGuildCreate, opts ...grpc.CallOption) (*MsgGuildCreateResponse, error) { - out := new(MsgGuildCreateResponse) - err := c.cc.Invoke(ctx, "/structs.structs.Msg/GuildCreate", in, out, opts...) - if err != nil { - return nil, err +func (m *MsgAgreementCapacityIncrease) GetAgreementId() string { + if m != nil { + return m.AgreementId } - return out, nil + return "" } -func (c *msgClient) GuildUpdateOwnerId(ctx context.Context, in *MsgGuildUpdateOwnerId, opts ...grpc.CallOption) (*MsgGuildUpdateResponse, error) { - out := new(MsgGuildUpdateResponse) - err := c.cc.Invoke(ctx, "/structs.structs.Msg/GuildUpdateOwnerId", in, out, opts...) - if err != nil { - return nil, err +func (m *MsgAgreementCapacityIncrease) GetCapacityIncrease() uint64 { + if m != nil { + return m.CapacityIncrease } - return out, nil + return 0 } -func (c *msgClient) GuildUpdateEntrySubstationId(ctx context.Context, in *MsgGuildUpdateEntrySubstationId, opts ...grpc.CallOption) (*MsgGuildUpdateResponse, error) { - out := new(MsgGuildUpdateResponse) - err := c.cc.Invoke(ctx, "/structs.structs.Msg/GuildUpdateEntrySubstationId", in, out, opts...) - if err != nil { - return nil, err +type MsgAgreementCapacityDecrease struct { + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + AgreementId string `protobuf:"bytes,2,opt,name=agreementId,proto3" json:"agreementId,omitempty"` + CapacityDecrease uint64 `protobuf:"varint,3,opt,name=capacityDecrease,proto3" json:"capacityDecrease,omitempty"` +} + +func (m *MsgAgreementCapacityDecrease) Reset() { *m = MsgAgreementCapacityDecrease{} } +func (m *MsgAgreementCapacityDecrease) String() string { return proto.CompactTextString(m) } +func (*MsgAgreementCapacityDecrease) ProtoMessage() {} +func (*MsgAgreementCapacityDecrease) Descriptor() ([]byte, []int) { + return fileDescriptor_38fd6c203bede659, []int{97} +} +func (m *MsgAgreementCapacityDecrease) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgAgreementCapacityDecrease) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgAgreementCapacityDecrease.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil } - return out, nil +} +func (m *MsgAgreementCapacityDecrease) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgAgreementCapacityDecrease.Merge(m, src) +} +func (m *MsgAgreementCapacityDecrease) XXX_Size() int { + return m.Size() +} +func (m *MsgAgreementCapacityDecrease) XXX_DiscardUnknown() { + xxx_messageInfo_MsgAgreementCapacityDecrease.DiscardUnknown(m) } -func (c *msgClient) GuildUpdateEndpoint(ctx context.Context, in *MsgGuildUpdateEndpoint, opts ...grpc.CallOption) (*MsgGuildUpdateResponse, error) { - out := new(MsgGuildUpdateResponse) - err := c.cc.Invoke(ctx, "/structs.structs.Msg/GuildUpdateEndpoint", in, out, opts...) - if err != nil { - return nil, err +var xxx_messageInfo_MsgAgreementCapacityDecrease proto.InternalMessageInfo + +func (m *MsgAgreementCapacityDecrease) GetCreator() string { + if m != nil { + return m.Creator } - return out, nil + return "" } -func (c *msgClient) GuildUpdateJoinInfusionMinimum(ctx context.Context, in *MsgGuildUpdateJoinInfusionMinimum, opts ...grpc.CallOption) (*MsgGuildUpdateResponse, error) { - out := new(MsgGuildUpdateResponse) - err := c.cc.Invoke(ctx, "/structs.structs.Msg/GuildUpdateJoinInfusionMinimum", in, out, opts...) - if err != nil { - return nil, err +func (m *MsgAgreementCapacityDecrease) GetAgreementId() string { + if m != nil { + return m.AgreementId } - return out, nil + return "" } -func (c *msgClient) GuildUpdateJoinInfusionMinimumBypassByInvite(ctx context.Context, in *MsgGuildUpdateJoinInfusionMinimumBypassByInvite, opts ...grpc.CallOption) (*MsgGuildUpdateResponse, error) { - out := new(MsgGuildUpdateResponse) - err := c.cc.Invoke(ctx, "/structs.structs.Msg/GuildUpdateJoinInfusionMinimumBypassByInvite", in, out, opts...) - if err != nil { - return nil, err +func (m *MsgAgreementCapacityDecrease) GetCapacityDecrease() uint64 { + if m != nil { + return m.CapacityDecrease } - return out, nil + return 0 } -func (c *msgClient) GuildUpdateJoinInfusionMinimumBypassByRequest(ctx context.Context, in *MsgGuildUpdateJoinInfusionMinimumBypassByRequest, opts ...grpc.CallOption) (*MsgGuildUpdateResponse, error) { - out := new(MsgGuildUpdateResponse) - err := c.cc.Invoke(ctx, "/structs.structs.Msg/GuildUpdateJoinInfusionMinimumBypassByRequest", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil +type MsgAgreementDurationIncrease struct { + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + AgreementId string `protobuf:"bytes,2,opt,name=agreementId,proto3" json:"agreementId,omitempty"` + DurationIncrease uint64 `protobuf:"varint,3,opt,name=durationIncrease,proto3" json:"durationIncrease,omitempty"` } -func (c *msgClient) GuildMembershipInvite(ctx context.Context, in *MsgGuildMembershipInvite, opts ...grpc.CallOption) (*MsgGuildMembershipResponse, error) { - out := new(MsgGuildMembershipResponse) - err := c.cc.Invoke(ctx, "/structs.structs.Msg/GuildMembershipInvite", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil +func (m *MsgAgreementDurationIncrease) Reset() { *m = MsgAgreementDurationIncrease{} } +func (m *MsgAgreementDurationIncrease) String() string { return proto.CompactTextString(m) } +func (*MsgAgreementDurationIncrease) ProtoMessage() {} +func (*MsgAgreementDurationIncrease) Descriptor() ([]byte, []int) { + return fileDescriptor_38fd6c203bede659, []int{98} } - -func (c *msgClient) GuildMembershipInviteApprove(ctx context.Context, in *MsgGuildMembershipInviteApprove, opts ...grpc.CallOption) (*MsgGuildMembershipResponse, error) { - out := new(MsgGuildMembershipResponse) - err := c.cc.Invoke(ctx, "/structs.structs.Msg/GuildMembershipInviteApprove", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil +func (m *MsgAgreementDurationIncrease) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) } - -func (c *msgClient) GuildMembershipInviteDeny(ctx context.Context, in *MsgGuildMembershipInviteDeny, opts ...grpc.CallOption) (*MsgGuildMembershipResponse, error) { - out := new(MsgGuildMembershipResponse) - err := c.cc.Invoke(ctx, "/structs.structs.Msg/GuildMembershipInviteDeny", in, out, opts...) - if err != nil { - return nil, err +func (m *MsgAgreementDurationIncrease) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgAgreementDurationIncrease.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil } - return out, nil +} +func (m *MsgAgreementDurationIncrease) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgAgreementDurationIncrease.Merge(m, src) +} +func (m *MsgAgreementDurationIncrease) XXX_Size() int { + return m.Size() +} +func (m *MsgAgreementDurationIncrease) XXX_DiscardUnknown() { + xxx_messageInfo_MsgAgreementDurationIncrease.DiscardUnknown(m) } -func (c *msgClient) GuildMembershipInviteRevoke(ctx context.Context, in *MsgGuildMembershipInviteRevoke, opts ...grpc.CallOption) (*MsgGuildMembershipResponse, error) { - out := new(MsgGuildMembershipResponse) - err := c.cc.Invoke(ctx, "/structs.structs.Msg/GuildMembershipInviteRevoke", in, out, opts...) - if err != nil { - return nil, err +var xxx_messageInfo_MsgAgreementDurationIncrease proto.InternalMessageInfo + +func (m *MsgAgreementDurationIncrease) GetCreator() string { + if m != nil { + return m.Creator } - return out, nil + return "" } -func (c *msgClient) GuildMembershipJoin(ctx context.Context, in *MsgGuildMembershipJoin, opts ...grpc.CallOption) (*MsgGuildMembershipResponse, error) { - out := new(MsgGuildMembershipResponse) - err := c.cc.Invoke(ctx, "/structs.structs.Msg/GuildMembershipJoin", in, out, opts...) - if err != nil { - return nil, err +func (m *MsgAgreementDurationIncrease) GetAgreementId() string { + if m != nil { + return m.AgreementId } - return out, nil + return "" } -func (c *msgClient) GuildMembershipJoinProxy(ctx context.Context, in *MsgGuildMembershipJoinProxy, opts ...grpc.CallOption) (*MsgGuildMembershipResponse, error) { - out := new(MsgGuildMembershipResponse) - err := c.cc.Invoke(ctx, "/structs.structs.Msg/GuildMembershipJoinProxy", in, out, opts...) - if err != nil { - return nil, err +func (m *MsgAgreementDurationIncrease) GetDurationIncrease() uint64 { + if m != nil { + return m.DurationIncrease } - return out, nil + return 0 } -func (c *msgClient) GuildMembershipKick(ctx context.Context, in *MsgGuildMembershipKick, opts ...grpc.CallOption) (*MsgGuildMembershipResponse, error) { - out := new(MsgGuildMembershipResponse) - err := c.cc.Invoke(ctx, "/structs.structs.Msg/GuildMembershipKick", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil +type MsgAgreementResponse struct { } -func (c *msgClient) GuildMembershipRequest(ctx context.Context, in *MsgGuildMembershipRequest, opts ...grpc.CallOption) (*MsgGuildMembershipResponse, error) { - out := new(MsgGuildMembershipResponse) - err := c.cc.Invoke(ctx, "/structs.structs.Msg/GuildMembershipRequest", in, out, opts...) - if err != nil { - return nil, err +func (m *MsgAgreementResponse) Reset() { *m = MsgAgreementResponse{} } +func (m *MsgAgreementResponse) String() string { return proto.CompactTextString(m) } +func (*MsgAgreementResponse) ProtoMessage() {} +func (*MsgAgreementResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_38fd6c203bede659, []int{99} +} +func (m *MsgAgreementResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgAgreementResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgAgreementResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil } - return out, nil +} +func (m *MsgAgreementResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgAgreementResponse.Merge(m, src) +} +func (m *MsgAgreementResponse) XXX_Size() int { + return m.Size() +} +func (m *MsgAgreementResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MsgAgreementResponse.DiscardUnknown(m) } -func (c *msgClient) GuildMembershipRequestApprove(ctx context.Context, in *MsgGuildMembershipRequestApprove, opts ...grpc.CallOption) (*MsgGuildMembershipResponse, error) { - out := new(MsgGuildMembershipResponse) - err := c.cc.Invoke(ctx, "/structs.structs.Msg/GuildMembershipRequestApprove", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil +var xxx_messageInfo_MsgAgreementResponse proto.InternalMessageInfo + +type MsgProviderCreate struct { + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + SubstationId string `protobuf:"bytes,2,opt,name=substationId,proto3" json:"substationId,omitempty"` + Rate types.Coin `protobuf:"bytes,3,opt,name=rate,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"rate"` + AccessPolicy ProviderAccessPolicy `protobuf:"varint,4,opt,name=accessPolicy,proto3,enum=structs.structs.ProviderAccessPolicy" json:"accessPolicy,omitempty"` + ProviderCancellationPenalty cosmossdk_io_math.LegacyDec `protobuf:"bytes,5,opt,name=providerCancellationPenalty,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"providerCancellationPenalty"` + ConsumerCancellationPenalty cosmossdk_io_math.LegacyDec `protobuf:"bytes,6,opt,name=consumerCancellationPenalty,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"consumerCancellationPenalty"` + CapacityMinimum uint64 `protobuf:"varint,7,opt,name=capacityMinimum,proto3" json:"capacityMinimum,omitempty"` + CapacityMaximum uint64 `protobuf:"varint,8,opt,name=capacityMaximum,proto3" json:"capacityMaximum,omitempty"` + DurationMinimum uint64 `protobuf:"varint,9,opt,name=durationMinimum,proto3" json:"durationMinimum,omitempty"` + DurationMaximum uint64 `protobuf:"varint,10,opt,name=durationMaximum,proto3" json:"durationMaximum,omitempty"` } -func (c *msgClient) GuildMembershipRequestDeny(ctx context.Context, in *MsgGuildMembershipRequestDeny, opts ...grpc.CallOption) (*MsgGuildMembershipResponse, error) { - out := new(MsgGuildMembershipResponse) - err := c.cc.Invoke(ctx, "/structs.structs.Msg/GuildMembershipRequestDeny", in, out, opts...) - if err != nil { - return nil, err +func (m *MsgProviderCreate) Reset() { *m = MsgProviderCreate{} } +func (m *MsgProviderCreate) String() string { return proto.CompactTextString(m) } +func (*MsgProviderCreate) ProtoMessage() {} +func (*MsgProviderCreate) Descriptor() ([]byte, []int) { + return fileDescriptor_38fd6c203bede659, []int{100} +} +func (m *MsgProviderCreate) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgProviderCreate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgProviderCreate.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil } - return out, nil +} +func (m *MsgProviderCreate) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgProviderCreate.Merge(m, src) +} +func (m *MsgProviderCreate) XXX_Size() int { + return m.Size() +} +func (m *MsgProviderCreate) XXX_DiscardUnknown() { + xxx_messageInfo_MsgProviderCreate.DiscardUnknown(m) } -func (c *msgClient) GuildMembershipRequestRevoke(ctx context.Context, in *MsgGuildMembershipRequestRevoke, opts ...grpc.CallOption) (*MsgGuildMembershipResponse, error) { - out := new(MsgGuildMembershipResponse) - err := c.cc.Invoke(ctx, "/structs.structs.Msg/GuildMembershipRequestRevoke", in, out, opts...) - if err != nil { - return nil, err +var xxx_messageInfo_MsgProviderCreate proto.InternalMessageInfo + +func (m *MsgProviderCreate) GetCreator() string { + if m != nil { + return m.Creator } - return out, nil + return "" } -func (c *msgClient) PermissionGrantOnAddress(ctx context.Context, in *MsgPermissionGrantOnAddress, opts ...grpc.CallOption) (*MsgPermissionResponse, error) { - out := new(MsgPermissionResponse) - err := c.cc.Invoke(ctx, "/structs.structs.Msg/PermissionGrantOnAddress", in, out, opts...) - if err != nil { - return nil, err +func (m *MsgProviderCreate) GetSubstationId() string { + if m != nil { + return m.SubstationId } - return out, nil + return "" } -func (c *msgClient) PermissionGrantOnObject(ctx context.Context, in *MsgPermissionGrantOnObject, opts ...grpc.CallOption) (*MsgPermissionResponse, error) { - out := new(MsgPermissionResponse) - err := c.cc.Invoke(ctx, "/structs.structs.Msg/PermissionGrantOnObject", in, out, opts...) - if err != nil { - return nil, err +func (m *MsgProviderCreate) GetRate() types.Coin { + if m != nil { + return m.Rate } - return out, nil + return types.Coin{} } -func (c *msgClient) PermissionRevokeOnAddress(ctx context.Context, in *MsgPermissionRevokeOnAddress, opts ...grpc.CallOption) (*MsgPermissionResponse, error) { - out := new(MsgPermissionResponse) - err := c.cc.Invoke(ctx, "/structs.structs.Msg/PermissionRevokeOnAddress", in, out, opts...) - if err != nil { - return nil, err +func (m *MsgProviderCreate) GetAccessPolicy() ProviderAccessPolicy { + if m != nil { + return m.AccessPolicy } - return out, nil + return ProviderAccessPolicy_openMarket } -func (c *msgClient) PermissionRevokeOnObject(ctx context.Context, in *MsgPermissionRevokeOnObject, opts ...grpc.CallOption) (*MsgPermissionResponse, error) { - out := new(MsgPermissionResponse) - err := c.cc.Invoke(ctx, "/structs.structs.Msg/PermissionRevokeOnObject", in, out, opts...) - if err != nil { - return nil, err +func (m *MsgProviderCreate) GetCapacityMinimum() uint64 { + if m != nil { + return m.CapacityMinimum } - return out, nil + return 0 } -func (c *msgClient) PermissionSetOnAddress(ctx context.Context, in *MsgPermissionSetOnAddress, opts ...grpc.CallOption) (*MsgPermissionResponse, error) { - out := new(MsgPermissionResponse) - err := c.cc.Invoke(ctx, "/structs.structs.Msg/PermissionSetOnAddress", in, out, opts...) - if err != nil { - return nil, err +func (m *MsgProviderCreate) GetCapacityMaximum() uint64 { + if m != nil { + return m.CapacityMaximum } - return out, nil + return 0 } -func (c *msgClient) PermissionSetOnObject(ctx context.Context, in *MsgPermissionSetOnObject, opts ...grpc.CallOption) (*MsgPermissionResponse, error) { - out := new(MsgPermissionResponse) - err := c.cc.Invoke(ctx, "/structs.structs.Msg/PermissionSetOnObject", in, out, opts...) - if err != nil { - return nil, err +func (m *MsgProviderCreate) GetDurationMinimum() uint64 { + if m != nil { + return m.DurationMinimum } - return out, nil + return 0 } -func (c *msgClient) PlanetExplore(ctx context.Context, in *MsgPlanetExplore, opts ...grpc.CallOption) (*MsgPlanetExploreResponse, error) { - out := new(MsgPlanetExploreResponse) - err := c.cc.Invoke(ctx, "/structs.structs.Msg/PlanetExplore", in, out, opts...) - if err != nil { - return nil, err +func (m *MsgProviderCreate) GetDurationMaximum() uint64 { + if m != nil { + return m.DurationMaximum } - return out, nil + return 0 } -func (c *msgClient) PlanetRaidComplete(ctx context.Context, in *MsgPlanetRaidComplete, opts ...grpc.CallOption) (*MsgPlanetRaidCompleteResponse, error) { - out := new(MsgPlanetRaidCompleteResponse) - err := c.cc.Invoke(ctx, "/structs.structs.Msg/PlanetRaidComplete", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil +type MsgProviderWithdrawBalance struct { + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + ProviderId string `protobuf:"bytes,2,opt,name=providerId,proto3" json:"providerId,omitempty"` + DestinationAddress string `protobuf:"bytes,3,opt,name=destinationAddress,proto3" json:"destinationAddress,omitempty"` } -func (c *msgClient) PlayerUpdatePrimaryAddress(ctx context.Context, in *MsgPlayerUpdatePrimaryAddress, opts ...grpc.CallOption) (*MsgPlayerUpdatePrimaryAddressResponse, error) { - out := new(MsgPlayerUpdatePrimaryAddressResponse) - err := c.cc.Invoke(ctx, "/structs.structs.Msg/PlayerUpdatePrimaryAddress", in, out, opts...) - if err != nil { - return nil, err +func (m *MsgProviderWithdrawBalance) Reset() { *m = MsgProviderWithdrawBalance{} } +func (m *MsgProviderWithdrawBalance) String() string { return proto.CompactTextString(m) } +func (*MsgProviderWithdrawBalance) ProtoMessage() {} +func (*MsgProviderWithdrawBalance) Descriptor() ([]byte, []int) { + return fileDescriptor_38fd6c203bede659, []int{101} +} +func (m *MsgProviderWithdrawBalance) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgProviderWithdrawBalance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgProviderWithdrawBalance.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil } - return out, nil +} +func (m *MsgProviderWithdrawBalance) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgProviderWithdrawBalance.Merge(m, src) +} +func (m *MsgProviderWithdrawBalance) XXX_Size() int { + return m.Size() +} +func (m *MsgProviderWithdrawBalance) XXX_DiscardUnknown() { + xxx_messageInfo_MsgProviderWithdrawBalance.DiscardUnknown(m) } -func (c *msgClient) StructActivate(ctx context.Context, in *MsgStructActivate, opts ...grpc.CallOption) (*MsgStructStatusResponse, error) { - out := new(MsgStructStatusResponse) - err := c.cc.Invoke(ctx, "/structs.structs.Msg/StructActivate", in, out, opts...) - if err != nil { - return nil, err +var xxx_messageInfo_MsgProviderWithdrawBalance proto.InternalMessageInfo + +func (m *MsgProviderWithdrawBalance) GetCreator() string { + if m != nil { + return m.Creator } - return out, nil + return "" } -func (c *msgClient) StructDeactivate(ctx context.Context, in *MsgStructDeactivate, opts ...grpc.CallOption) (*MsgStructStatusResponse, error) { - out := new(MsgStructStatusResponse) - err := c.cc.Invoke(ctx, "/structs.structs.Msg/StructDeactivate", in, out, opts...) - if err != nil { - return nil, err +func (m *MsgProviderWithdrawBalance) GetProviderId() string { + if m != nil { + return m.ProviderId } - return out, nil + return "" } -func (c *msgClient) StructBuildInitiate(ctx context.Context, in *MsgStructBuildInitiate, opts ...grpc.CallOption) (*MsgStructStatusResponse, error) { - out := new(MsgStructStatusResponse) - err := c.cc.Invoke(ctx, "/structs.structs.Msg/StructBuildInitiate", in, out, opts...) - if err != nil { - return nil, err +func (m *MsgProviderWithdrawBalance) GetDestinationAddress() string { + if m != nil { + return m.DestinationAddress } - return out, nil + return "" } -func (c *msgClient) StructBuildComplete(ctx context.Context, in *MsgStructBuildComplete, opts ...grpc.CallOption) (*MsgStructStatusResponse, error) { - out := new(MsgStructStatusResponse) - err := c.cc.Invoke(ctx, "/structs.structs.Msg/StructBuildComplete", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil +type MsgProviderUpdateCapacityMinimum struct { + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + ProviderId string `protobuf:"bytes,2,opt,name=providerId,proto3" json:"providerId,omitempty"` + NewMinimumCapacity uint64 `protobuf:"varint,3,opt,name=newMinimumCapacity,proto3" json:"newMinimumCapacity,omitempty"` } -func (c *msgClient) StructDefenseSet(ctx context.Context, in *MsgStructDefenseSet, opts ...grpc.CallOption) (*MsgStructStatusResponse, error) { - out := new(MsgStructStatusResponse) - err := c.cc.Invoke(ctx, "/structs.structs.Msg/StructDefenseSet", in, out, opts...) - if err != nil { - return nil, err +func (m *MsgProviderUpdateCapacityMinimum) Reset() { *m = MsgProviderUpdateCapacityMinimum{} } +func (m *MsgProviderUpdateCapacityMinimum) String() string { return proto.CompactTextString(m) } +func (*MsgProviderUpdateCapacityMinimum) ProtoMessage() {} +func (*MsgProviderUpdateCapacityMinimum) Descriptor() ([]byte, []int) { + return fileDescriptor_38fd6c203bede659, []int{102} +} +func (m *MsgProviderUpdateCapacityMinimum) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgProviderUpdateCapacityMinimum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgProviderUpdateCapacityMinimum.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil } - return out, nil +} +func (m *MsgProviderUpdateCapacityMinimum) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgProviderUpdateCapacityMinimum.Merge(m, src) +} +func (m *MsgProviderUpdateCapacityMinimum) XXX_Size() int { + return m.Size() +} +func (m *MsgProviderUpdateCapacityMinimum) XXX_DiscardUnknown() { + xxx_messageInfo_MsgProviderUpdateCapacityMinimum.DiscardUnknown(m) } -func (c *msgClient) StructDefenseClear(ctx context.Context, in *MsgStructDefenseClear, opts ...grpc.CallOption) (*MsgStructStatusResponse, error) { - out := new(MsgStructStatusResponse) - err := c.cc.Invoke(ctx, "/structs.structs.Msg/StructDefenseClear", in, out, opts...) - if err != nil { - return nil, err +var xxx_messageInfo_MsgProviderUpdateCapacityMinimum proto.InternalMessageInfo + +func (m *MsgProviderUpdateCapacityMinimum) GetCreator() string { + if m != nil { + return m.Creator } - return out, nil + return "" } -func (c *msgClient) StructMove(ctx context.Context, in *MsgStructMove, opts ...grpc.CallOption) (*MsgStructStatusResponse, error) { - out := new(MsgStructStatusResponse) - err := c.cc.Invoke(ctx, "/structs.structs.Msg/StructMove", in, out, opts...) - if err != nil { - return nil, err +func (m *MsgProviderUpdateCapacityMinimum) GetProviderId() string { + if m != nil { + return m.ProviderId } - return out, nil + return "" } -func (c *msgClient) StructAttack(ctx context.Context, in *MsgStructAttack, opts ...grpc.CallOption) (*MsgStructAttackResponse, error) { - out := new(MsgStructAttackResponse) - err := c.cc.Invoke(ctx, "/structs.structs.Msg/StructAttack", in, out, opts...) - if err != nil { - return nil, err +func (m *MsgProviderUpdateCapacityMinimum) GetNewMinimumCapacity() uint64 { + if m != nil { + return m.NewMinimumCapacity } - return out, nil + return 0 } -func (c *msgClient) StructStealthActivate(ctx context.Context, in *MsgStructStealthActivate, opts ...grpc.CallOption) (*MsgStructStatusResponse, error) { - out := new(MsgStructStatusResponse) - err := c.cc.Invoke(ctx, "/structs.structs.Msg/StructStealthActivate", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil +type MsgProviderUpdateCapacityMaximum struct { + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + ProviderId string `protobuf:"bytes,2,opt,name=providerId,proto3" json:"providerId,omitempty"` + NewMaximumCapacity uint64 `protobuf:"varint,3,opt,name=newMaximumCapacity,proto3" json:"newMaximumCapacity,omitempty"` } -func (c *msgClient) StructStealthDeactivate(ctx context.Context, in *MsgStructStealthDeactivate, opts ...grpc.CallOption) (*MsgStructStatusResponse, error) { - out := new(MsgStructStatusResponse) - err := c.cc.Invoke(ctx, "/structs.structs.Msg/StructStealthDeactivate", in, out, opts...) - if err != nil { - return nil, err +func (m *MsgProviderUpdateCapacityMaximum) Reset() { *m = MsgProviderUpdateCapacityMaximum{} } +func (m *MsgProviderUpdateCapacityMaximum) String() string { return proto.CompactTextString(m) } +func (*MsgProviderUpdateCapacityMaximum) ProtoMessage() {} +func (*MsgProviderUpdateCapacityMaximum) Descriptor() ([]byte, []int) { + return fileDescriptor_38fd6c203bede659, []int{103} +} +func (m *MsgProviderUpdateCapacityMaximum) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgProviderUpdateCapacityMaximum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgProviderUpdateCapacityMaximum.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil } - return out, nil +} +func (m *MsgProviderUpdateCapacityMaximum) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgProviderUpdateCapacityMaximum.Merge(m, src) +} +func (m *MsgProviderUpdateCapacityMaximum) XXX_Size() int { + return m.Size() +} +func (m *MsgProviderUpdateCapacityMaximum) XXX_DiscardUnknown() { + xxx_messageInfo_MsgProviderUpdateCapacityMaximum.DiscardUnknown(m) } -func (c *msgClient) StructGeneratorInfuse(ctx context.Context, in *MsgStructGeneratorInfuse, opts ...grpc.CallOption) (*MsgStructGeneratorStatusResponse, error) { - out := new(MsgStructGeneratorStatusResponse) - err := c.cc.Invoke(ctx, "/structs.structs.Msg/StructGeneratorInfuse", in, out, opts...) - if err != nil { - return nil, err +var xxx_messageInfo_MsgProviderUpdateCapacityMaximum proto.InternalMessageInfo + +func (m *MsgProviderUpdateCapacityMaximum) GetCreator() string { + if m != nil { + return m.Creator } - return out, nil + return "" } -func (c *msgClient) StructOreMinerComplete(ctx context.Context, in *MsgStructOreMinerComplete, opts ...grpc.CallOption) (*MsgStructOreMinerStatusResponse, error) { - out := new(MsgStructOreMinerStatusResponse) - err := c.cc.Invoke(ctx, "/structs.structs.Msg/StructOreMinerComplete", in, out, opts...) - if err != nil { - return nil, err +func (m *MsgProviderUpdateCapacityMaximum) GetProviderId() string { + if m != nil { + return m.ProviderId } - return out, nil + return "" } -func (c *msgClient) StructOreRefineryComplete(ctx context.Context, in *MsgStructOreRefineryComplete, opts ...grpc.CallOption) (*MsgStructOreRefineryStatusResponse, error) { - out := new(MsgStructOreRefineryStatusResponse) - err := c.cc.Invoke(ctx, "/structs.structs.Msg/StructOreRefineryComplete", in, out, opts...) - if err != nil { - return nil, err +func (m *MsgProviderUpdateCapacityMaximum) GetNewMaximumCapacity() uint64 { + if m != nil { + return m.NewMaximumCapacity } - return out, nil + return 0 } -func (c *msgClient) SubstationCreate(ctx context.Context, in *MsgSubstationCreate, opts ...grpc.CallOption) (*MsgSubstationCreateResponse, error) { - out := new(MsgSubstationCreateResponse) - err := c.cc.Invoke(ctx, "/structs.structs.Msg/SubstationCreate", in, out, opts...) - if err != nil { - return nil, err +type MsgProviderUpdateDurationMinimum struct { + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + ProviderId string `protobuf:"bytes,2,opt,name=providerId,proto3" json:"providerId,omitempty"` + NewMinimumDuration uint64 `protobuf:"varint,3,opt,name=newMinimumDuration,proto3" json:"newMinimumDuration,omitempty"` +} + +func (m *MsgProviderUpdateDurationMinimum) Reset() { *m = MsgProviderUpdateDurationMinimum{} } +func (m *MsgProviderUpdateDurationMinimum) String() string { return proto.CompactTextString(m) } +func (*MsgProviderUpdateDurationMinimum) ProtoMessage() {} +func (*MsgProviderUpdateDurationMinimum) Descriptor() ([]byte, []int) { + return fileDescriptor_38fd6c203bede659, []int{104} +} +func (m *MsgProviderUpdateDurationMinimum) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgProviderUpdateDurationMinimum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgProviderUpdateDurationMinimum.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil } - return out, nil +} +func (m *MsgProviderUpdateDurationMinimum) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgProviderUpdateDurationMinimum.Merge(m, src) +} +func (m *MsgProviderUpdateDurationMinimum) XXX_Size() int { + return m.Size() +} +func (m *MsgProviderUpdateDurationMinimum) XXX_DiscardUnknown() { + xxx_messageInfo_MsgProviderUpdateDurationMinimum.DiscardUnknown(m) } -func (c *msgClient) SubstationDelete(ctx context.Context, in *MsgSubstationDelete, opts ...grpc.CallOption) (*MsgSubstationDeleteResponse, error) { - out := new(MsgSubstationDeleteResponse) - err := c.cc.Invoke(ctx, "/structs.structs.Msg/SubstationDelete", in, out, opts...) - if err != nil { - return nil, err +var xxx_messageInfo_MsgProviderUpdateDurationMinimum proto.InternalMessageInfo + +func (m *MsgProviderUpdateDurationMinimum) GetCreator() string { + if m != nil { + return m.Creator } - return out, nil + return "" } -func (c *msgClient) SubstationAllocationConnect(ctx context.Context, in *MsgSubstationAllocationConnect, opts ...grpc.CallOption) (*MsgSubstationAllocationConnectResponse, error) { - out := new(MsgSubstationAllocationConnectResponse) - err := c.cc.Invoke(ctx, "/structs.structs.Msg/SubstationAllocationConnect", in, out, opts...) - if err != nil { - return nil, err +func (m *MsgProviderUpdateDurationMinimum) GetProviderId() string { + if m != nil { + return m.ProviderId } - return out, nil + return "" } -func (c *msgClient) SubstationAllocationDisconnect(ctx context.Context, in *MsgSubstationAllocationDisconnect, opts ...grpc.CallOption) (*MsgSubstationAllocationDisconnectResponse, error) { - out := new(MsgSubstationAllocationDisconnectResponse) - err := c.cc.Invoke(ctx, "/structs.structs.Msg/SubstationAllocationDisconnect", in, out, opts...) - if err != nil { - return nil, err +func (m *MsgProviderUpdateDurationMinimum) GetNewMinimumDuration() uint64 { + if m != nil { + return m.NewMinimumDuration } - return out, nil + return 0 } -func (c *msgClient) SubstationPlayerConnect(ctx context.Context, in *MsgSubstationPlayerConnect, opts ...grpc.CallOption) (*MsgSubstationPlayerConnectResponse, error) { - out := new(MsgSubstationPlayerConnectResponse) - err := c.cc.Invoke(ctx, "/structs.structs.Msg/SubstationPlayerConnect", in, out, opts...) - if err != nil { - return nil, err +type MsgProviderUpdateDurationMaximum struct { + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + ProviderId string `protobuf:"bytes,2,opt,name=providerId,proto3" json:"providerId,omitempty"` + NewMaximumDuration uint64 `protobuf:"varint,3,opt,name=newMaximumDuration,proto3" json:"newMaximumDuration,omitempty"` +} + +func (m *MsgProviderUpdateDurationMaximum) Reset() { *m = MsgProviderUpdateDurationMaximum{} } +func (m *MsgProviderUpdateDurationMaximum) String() string { return proto.CompactTextString(m) } +func (*MsgProviderUpdateDurationMaximum) ProtoMessage() {} +func (*MsgProviderUpdateDurationMaximum) Descriptor() ([]byte, []int) { + return fileDescriptor_38fd6c203bede659, []int{105} +} +func (m *MsgProviderUpdateDurationMaximum) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgProviderUpdateDurationMaximum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgProviderUpdateDurationMaximum.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil } - return out, nil +} +func (m *MsgProviderUpdateDurationMaximum) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgProviderUpdateDurationMaximum.Merge(m, src) +} +func (m *MsgProviderUpdateDurationMaximum) XXX_Size() int { + return m.Size() +} +func (m *MsgProviderUpdateDurationMaximum) XXX_DiscardUnknown() { + xxx_messageInfo_MsgProviderUpdateDurationMaximum.DiscardUnknown(m) } -func (c *msgClient) SubstationPlayerDisconnect(ctx context.Context, in *MsgSubstationPlayerDisconnect, opts ...grpc.CallOption) (*MsgSubstationPlayerDisconnectResponse, error) { - out := new(MsgSubstationPlayerDisconnectResponse) - err := c.cc.Invoke(ctx, "/structs.structs.Msg/SubstationPlayerDisconnect", in, out, opts...) - if err != nil { - return nil, err +var xxx_messageInfo_MsgProviderUpdateDurationMaximum proto.InternalMessageInfo + +func (m *MsgProviderUpdateDurationMaximum) GetCreator() string { + if m != nil { + return m.Creator } - return out, nil + return "" } -func (c *msgClient) SubstationPlayerMigrate(ctx context.Context, in *MsgSubstationPlayerMigrate, opts ...grpc.CallOption) (*MsgSubstationPlayerMigrateResponse, error) { - out := new(MsgSubstationPlayerMigrateResponse) - err := c.cc.Invoke(ctx, "/structs.structs.Msg/SubstationPlayerMigrate", in, out, opts...) - if err != nil { - return nil, err +func (m *MsgProviderUpdateDurationMaximum) GetProviderId() string { + if m != nil { + return m.ProviderId } - return out, nil + return "" } -// MsgServer is the server API for Msg service. -type MsgServer interface { - // UpdateParams defines a (governance) operation for updating the module - // parameters. The authority defaults to the x/gov module account. - UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error) - AddressRegister(context.Context, *MsgAddressRegister) (*MsgAddressRegisterResponse, error) - AddressRevoke(context.Context, *MsgAddressRevoke) (*MsgAddressRevokeResponse, error) - AllocationCreate(context.Context, *MsgAllocationCreate) (*MsgAllocationCreateResponse, error) - AllocationDelete(context.Context, *MsgAllocationDelete) (*MsgAllocationDeleteResponse, error) - AllocationUpdate(context.Context, *MsgAllocationUpdate) (*MsgAllocationUpdateResponse, error) - AllocationTransfer(context.Context, *MsgAllocationTransfer) (*MsgAllocationTransferResponse, error) - FleetMove(context.Context, *MsgFleetMove) (*MsgFleetMoveResponse, error) - GuildCreate(context.Context, *MsgGuildCreate) (*MsgGuildCreateResponse, error) - GuildUpdateOwnerId(context.Context, *MsgGuildUpdateOwnerId) (*MsgGuildUpdateResponse, error) - GuildUpdateEntrySubstationId(context.Context, *MsgGuildUpdateEntrySubstationId) (*MsgGuildUpdateResponse, error) - GuildUpdateEndpoint(context.Context, *MsgGuildUpdateEndpoint) (*MsgGuildUpdateResponse, error) - GuildUpdateJoinInfusionMinimum(context.Context, *MsgGuildUpdateJoinInfusionMinimum) (*MsgGuildUpdateResponse, error) - GuildUpdateJoinInfusionMinimumBypassByInvite(context.Context, *MsgGuildUpdateJoinInfusionMinimumBypassByInvite) (*MsgGuildUpdateResponse, error) - GuildUpdateJoinInfusionMinimumBypassByRequest(context.Context, *MsgGuildUpdateJoinInfusionMinimumBypassByRequest) (*MsgGuildUpdateResponse, error) - GuildMembershipInvite(context.Context, *MsgGuildMembershipInvite) (*MsgGuildMembershipResponse, error) - GuildMembershipInviteApprove(context.Context, *MsgGuildMembershipInviteApprove) (*MsgGuildMembershipResponse, error) - GuildMembershipInviteDeny(context.Context, *MsgGuildMembershipInviteDeny) (*MsgGuildMembershipResponse, error) - GuildMembershipInviteRevoke(context.Context, *MsgGuildMembershipInviteRevoke) (*MsgGuildMembershipResponse, error) - GuildMembershipJoin(context.Context, *MsgGuildMembershipJoin) (*MsgGuildMembershipResponse, error) - GuildMembershipJoinProxy(context.Context, *MsgGuildMembershipJoinProxy) (*MsgGuildMembershipResponse, error) - GuildMembershipKick(context.Context, *MsgGuildMembershipKick) (*MsgGuildMembershipResponse, error) - GuildMembershipRequest(context.Context, *MsgGuildMembershipRequest) (*MsgGuildMembershipResponse, error) - GuildMembershipRequestApprove(context.Context, *MsgGuildMembershipRequestApprove) (*MsgGuildMembershipResponse, error) - GuildMembershipRequestDeny(context.Context, *MsgGuildMembershipRequestDeny) (*MsgGuildMembershipResponse, error) - GuildMembershipRequestRevoke(context.Context, *MsgGuildMembershipRequestRevoke) (*MsgGuildMembershipResponse, error) - PermissionGrantOnAddress(context.Context, *MsgPermissionGrantOnAddress) (*MsgPermissionResponse, error) - PermissionGrantOnObject(context.Context, *MsgPermissionGrantOnObject) (*MsgPermissionResponse, error) - PermissionRevokeOnAddress(context.Context, *MsgPermissionRevokeOnAddress) (*MsgPermissionResponse, error) - PermissionRevokeOnObject(context.Context, *MsgPermissionRevokeOnObject) (*MsgPermissionResponse, error) - PermissionSetOnAddress(context.Context, *MsgPermissionSetOnAddress) (*MsgPermissionResponse, error) - PermissionSetOnObject(context.Context, *MsgPermissionSetOnObject) (*MsgPermissionResponse, error) - PlanetExplore(context.Context, *MsgPlanetExplore) (*MsgPlanetExploreResponse, error) - PlanetRaidComplete(context.Context, *MsgPlanetRaidComplete) (*MsgPlanetRaidCompleteResponse, error) - PlayerUpdatePrimaryAddress(context.Context, *MsgPlayerUpdatePrimaryAddress) (*MsgPlayerUpdatePrimaryAddressResponse, error) - StructActivate(context.Context, *MsgStructActivate) (*MsgStructStatusResponse, error) - StructDeactivate(context.Context, *MsgStructDeactivate) (*MsgStructStatusResponse, error) - StructBuildInitiate(context.Context, *MsgStructBuildInitiate) (*MsgStructStatusResponse, error) - StructBuildComplete(context.Context, *MsgStructBuildComplete) (*MsgStructStatusResponse, error) - StructDefenseSet(context.Context, *MsgStructDefenseSet) (*MsgStructStatusResponse, error) - StructDefenseClear(context.Context, *MsgStructDefenseClear) (*MsgStructStatusResponse, error) - StructMove(context.Context, *MsgStructMove) (*MsgStructStatusResponse, error) - StructAttack(context.Context, *MsgStructAttack) (*MsgStructAttackResponse, error) - StructStealthActivate(context.Context, *MsgStructStealthActivate) (*MsgStructStatusResponse, error) - StructStealthDeactivate(context.Context, *MsgStructStealthDeactivate) (*MsgStructStatusResponse, error) - StructGeneratorInfuse(context.Context, *MsgStructGeneratorInfuse) (*MsgStructGeneratorStatusResponse, error) - StructOreMinerComplete(context.Context, *MsgStructOreMinerComplete) (*MsgStructOreMinerStatusResponse, error) - StructOreRefineryComplete(context.Context, *MsgStructOreRefineryComplete) (*MsgStructOreRefineryStatusResponse, error) - SubstationCreate(context.Context, *MsgSubstationCreate) (*MsgSubstationCreateResponse, error) - SubstationDelete(context.Context, *MsgSubstationDelete) (*MsgSubstationDeleteResponse, error) - SubstationAllocationConnect(context.Context, *MsgSubstationAllocationConnect) (*MsgSubstationAllocationConnectResponse, error) - SubstationAllocationDisconnect(context.Context, *MsgSubstationAllocationDisconnect) (*MsgSubstationAllocationDisconnectResponse, error) - SubstationPlayerConnect(context.Context, *MsgSubstationPlayerConnect) (*MsgSubstationPlayerConnectResponse, error) - SubstationPlayerDisconnect(context.Context, *MsgSubstationPlayerDisconnect) (*MsgSubstationPlayerDisconnectResponse, error) - SubstationPlayerMigrate(context.Context, *MsgSubstationPlayerMigrate) (*MsgSubstationPlayerMigrateResponse, error) +func (m *MsgProviderUpdateDurationMaximum) GetNewMaximumDuration() uint64 { + if m != nil { + return m.NewMaximumDuration + } + return 0 } -// UnimplementedMsgServer can be embedded to have forward compatible implementations. -type UnimplementedMsgServer struct { +type MsgProviderUpdateAccessPolicy struct { + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + ProviderId string `protobuf:"bytes,2,opt,name=providerId,proto3" json:"providerId,omitempty"` + AccessPolicy ProviderAccessPolicy `protobuf:"varint,3,opt,name=accessPolicy,proto3,enum=structs.structs.ProviderAccessPolicy" json:"accessPolicy,omitempty"` } -func (*UnimplementedMsgServer) UpdateParams(ctx context.Context, req *MsgUpdateParams) (*MsgUpdateParamsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UpdateParams not implemented") +func (m *MsgProviderUpdateAccessPolicy) Reset() { *m = MsgProviderUpdateAccessPolicy{} } +func (m *MsgProviderUpdateAccessPolicy) String() string { return proto.CompactTextString(m) } +func (*MsgProviderUpdateAccessPolicy) ProtoMessage() {} +func (*MsgProviderUpdateAccessPolicy) Descriptor() ([]byte, []int) { + return fileDescriptor_38fd6c203bede659, []int{106} } -func (*UnimplementedMsgServer) AddressRegister(ctx context.Context, req *MsgAddressRegister) (*MsgAddressRegisterResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method AddressRegister not implemented") +func (m *MsgProviderUpdateAccessPolicy) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) } -func (*UnimplementedMsgServer) AddressRevoke(ctx context.Context, req *MsgAddressRevoke) (*MsgAddressRevokeResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method AddressRevoke not implemented") -} -func (*UnimplementedMsgServer) AllocationCreate(ctx context.Context, req *MsgAllocationCreate) (*MsgAllocationCreateResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method AllocationCreate not implemented") -} -func (*UnimplementedMsgServer) AllocationDelete(ctx context.Context, req *MsgAllocationDelete) (*MsgAllocationDeleteResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method AllocationDelete not implemented") -} -func (*UnimplementedMsgServer) AllocationUpdate(ctx context.Context, req *MsgAllocationUpdate) (*MsgAllocationUpdateResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method AllocationUpdate not implemented") -} -func (*UnimplementedMsgServer) AllocationTransfer(ctx context.Context, req *MsgAllocationTransfer) (*MsgAllocationTransferResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method AllocationTransfer not implemented") -} -func (*UnimplementedMsgServer) FleetMove(ctx context.Context, req *MsgFleetMove) (*MsgFleetMoveResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method FleetMove not implemented") -} -func (*UnimplementedMsgServer) GuildCreate(ctx context.Context, req *MsgGuildCreate) (*MsgGuildCreateResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GuildCreate not implemented") -} -func (*UnimplementedMsgServer) GuildUpdateOwnerId(ctx context.Context, req *MsgGuildUpdateOwnerId) (*MsgGuildUpdateResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GuildUpdateOwnerId not implemented") -} -func (*UnimplementedMsgServer) GuildUpdateEntrySubstationId(ctx context.Context, req *MsgGuildUpdateEntrySubstationId) (*MsgGuildUpdateResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GuildUpdateEntrySubstationId not implemented") -} -func (*UnimplementedMsgServer) GuildUpdateEndpoint(ctx context.Context, req *MsgGuildUpdateEndpoint) (*MsgGuildUpdateResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GuildUpdateEndpoint not implemented") -} -func (*UnimplementedMsgServer) GuildUpdateJoinInfusionMinimum(ctx context.Context, req *MsgGuildUpdateJoinInfusionMinimum) (*MsgGuildUpdateResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GuildUpdateJoinInfusionMinimum not implemented") -} -func (*UnimplementedMsgServer) GuildUpdateJoinInfusionMinimumBypassByInvite(ctx context.Context, req *MsgGuildUpdateJoinInfusionMinimumBypassByInvite) (*MsgGuildUpdateResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GuildUpdateJoinInfusionMinimumBypassByInvite not implemented") +func (m *MsgProviderUpdateAccessPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgProviderUpdateAccessPolicy.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } } -func (*UnimplementedMsgServer) GuildUpdateJoinInfusionMinimumBypassByRequest(ctx context.Context, req *MsgGuildUpdateJoinInfusionMinimumBypassByRequest) (*MsgGuildUpdateResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GuildUpdateJoinInfusionMinimumBypassByRequest not implemented") +func (m *MsgProviderUpdateAccessPolicy) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgProviderUpdateAccessPolicy.Merge(m, src) } -func (*UnimplementedMsgServer) GuildMembershipInvite(ctx context.Context, req *MsgGuildMembershipInvite) (*MsgGuildMembershipResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GuildMembershipInvite not implemented") +func (m *MsgProviderUpdateAccessPolicy) XXX_Size() int { + return m.Size() } -func (*UnimplementedMsgServer) GuildMembershipInviteApprove(ctx context.Context, req *MsgGuildMembershipInviteApprove) (*MsgGuildMembershipResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GuildMembershipInviteApprove not implemented") +func (m *MsgProviderUpdateAccessPolicy) XXX_DiscardUnknown() { + xxx_messageInfo_MsgProviderUpdateAccessPolicy.DiscardUnknown(m) } -func (*UnimplementedMsgServer) GuildMembershipInviteDeny(ctx context.Context, req *MsgGuildMembershipInviteDeny) (*MsgGuildMembershipResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GuildMembershipInviteDeny not implemented") + +var xxx_messageInfo_MsgProviderUpdateAccessPolicy proto.InternalMessageInfo + +func (m *MsgProviderUpdateAccessPolicy) GetCreator() string { + if m != nil { + return m.Creator + } + return "" } -func (*UnimplementedMsgServer) GuildMembershipInviteRevoke(ctx context.Context, req *MsgGuildMembershipInviteRevoke) (*MsgGuildMembershipResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GuildMembershipInviteRevoke not implemented") + +func (m *MsgProviderUpdateAccessPolicy) GetProviderId() string { + if m != nil { + return m.ProviderId + } + return "" } -func (*UnimplementedMsgServer) GuildMembershipJoin(ctx context.Context, req *MsgGuildMembershipJoin) (*MsgGuildMembershipResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GuildMembershipJoin not implemented") + +func (m *MsgProviderUpdateAccessPolicy) GetAccessPolicy() ProviderAccessPolicy { + if m != nil { + return m.AccessPolicy + } + return ProviderAccessPolicy_openMarket } -func (*UnimplementedMsgServer) GuildMembershipJoinProxy(ctx context.Context, req *MsgGuildMembershipJoinProxy) (*MsgGuildMembershipResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GuildMembershipJoinProxy not implemented") + +type MsgProviderGuildGrant struct { + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + ProviderId string `protobuf:"bytes,2,opt,name=providerId,proto3" json:"providerId,omitempty"` + GuildId []string `protobuf:"bytes,3,rep,name=guildId,proto3" json:"guildId,omitempty"` } -func (*UnimplementedMsgServer) GuildMembershipKick(ctx context.Context, req *MsgGuildMembershipKick) (*MsgGuildMembershipResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GuildMembershipKick not implemented") + +func (m *MsgProviderGuildGrant) Reset() { *m = MsgProviderGuildGrant{} } +func (m *MsgProviderGuildGrant) String() string { return proto.CompactTextString(m) } +func (*MsgProviderGuildGrant) ProtoMessage() {} +func (*MsgProviderGuildGrant) Descriptor() ([]byte, []int) { + return fileDescriptor_38fd6c203bede659, []int{107} } -func (*UnimplementedMsgServer) GuildMembershipRequest(ctx context.Context, req *MsgGuildMembershipRequest) (*MsgGuildMembershipResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GuildMembershipRequest not implemented") +func (m *MsgProviderGuildGrant) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) } -func (*UnimplementedMsgServer) GuildMembershipRequestApprove(ctx context.Context, req *MsgGuildMembershipRequestApprove) (*MsgGuildMembershipResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GuildMembershipRequestApprove not implemented") +func (m *MsgProviderGuildGrant) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgProviderGuildGrant.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } } -func (*UnimplementedMsgServer) GuildMembershipRequestDeny(ctx context.Context, req *MsgGuildMembershipRequestDeny) (*MsgGuildMembershipResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GuildMembershipRequestDeny not implemented") +func (m *MsgProviderGuildGrant) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgProviderGuildGrant.Merge(m, src) } -func (*UnimplementedMsgServer) GuildMembershipRequestRevoke(ctx context.Context, req *MsgGuildMembershipRequestRevoke) (*MsgGuildMembershipResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GuildMembershipRequestRevoke not implemented") +func (m *MsgProviderGuildGrant) XXX_Size() int { + return m.Size() } -func (*UnimplementedMsgServer) PermissionGrantOnAddress(ctx context.Context, req *MsgPermissionGrantOnAddress) (*MsgPermissionResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method PermissionGrantOnAddress not implemented") +func (m *MsgProviderGuildGrant) XXX_DiscardUnknown() { + xxx_messageInfo_MsgProviderGuildGrant.DiscardUnknown(m) } -func (*UnimplementedMsgServer) PermissionGrantOnObject(ctx context.Context, req *MsgPermissionGrantOnObject) (*MsgPermissionResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method PermissionGrantOnObject not implemented") + +var xxx_messageInfo_MsgProviderGuildGrant proto.InternalMessageInfo + +func (m *MsgProviderGuildGrant) GetCreator() string { + if m != nil { + return m.Creator + } + return "" } -func (*UnimplementedMsgServer) PermissionRevokeOnAddress(ctx context.Context, req *MsgPermissionRevokeOnAddress) (*MsgPermissionResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method PermissionRevokeOnAddress not implemented") + +func (m *MsgProviderGuildGrant) GetProviderId() string { + if m != nil { + return m.ProviderId + } + return "" } -func (*UnimplementedMsgServer) PermissionRevokeOnObject(ctx context.Context, req *MsgPermissionRevokeOnObject) (*MsgPermissionResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method PermissionRevokeOnObject not implemented") + +func (m *MsgProviderGuildGrant) GetGuildId() []string { + if m != nil { + return m.GuildId + } + return nil } -func (*UnimplementedMsgServer) PermissionSetOnAddress(ctx context.Context, req *MsgPermissionSetOnAddress) (*MsgPermissionResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method PermissionSetOnAddress not implemented") + +type MsgProviderGuildRevoke struct { + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + ProviderId string `protobuf:"bytes,2,opt,name=providerId,proto3" json:"providerId,omitempty"` + GuildId []string `protobuf:"bytes,3,rep,name=guildId,proto3" json:"guildId,omitempty"` } -func (*UnimplementedMsgServer) PermissionSetOnObject(ctx context.Context, req *MsgPermissionSetOnObject) (*MsgPermissionResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method PermissionSetOnObject not implemented") + +func (m *MsgProviderGuildRevoke) Reset() { *m = MsgProviderGuildRevoke{} } +func (m *MsgProviderGuildRevoke) String() string { return proto.CompactTextString(m) } +func (*MsgProviderGuildRevoke) ProtoMessage() {} +func (*MsgProviderGuildRevoke) Descriptor() ([]byte, []int) { + return fileDescriptor_38fd6c203bede659, []int{108} } -func (*UnimplementedMsgServer) PlanetExplore(ctx context.Context, req *MsgPlanetExplore) (*MsgPlanetExploreResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method PlanetExplore not implemented") +func (m *MsgProviderGuildRevoke) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) } -func (*UnimplementedMsgServer) PlanetRaidComplete(ctx context.Context, req *MsgPlanetRaidComplete) (*MsgPlanetRaidCompleteResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method PlanetRaidComplete not implemented") +func (m *MsgProviderGuildRevoke) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgProviderGuildRevoke.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } } -func (*UnimplementedMsgServer) PlayerUpdatePrimaryAddress(ctx context.Context, req *MsgPlayerUpdatePrimaryAddress) (*MsgPlayerUpdatePrimaryAddressResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method PlayerUpdatePrimaryAddress not implemented") +func (m *MsgProviderGuildRevoke) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgProviderGuildRevoke.Merge(m, src) } -func (*UnimplementedMsgServer) StructActivate(ctx context.Context, req *MsgStructActivate) (*MsgStructStatusResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method StructActivate not implemented") +func (m *MsgProviderGuildRevoke) XXX_Size() int { + return m.Size() } -func (*UnimplementedMsgServer) StructDeactivate(ctx context.Context, req *MsgStructDeactivate) (*MsgStructStatusResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method StructDeactivate not implemented") +func (m *MsgProviderGuildRevoke) XXX_DiscardUnknown() { + xxx_messageInfo_MsgProviderGuildRevoke.DiscardUnknown(m) } -func (*UnimplementedMsgServer) StructBuildInitiate(ctx context.Context, req *MsgStructBuildInitiate) (*MsgStructStatusResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method StructBuildInitiate not implemented") + +var xxx_messageInfo_MsgProviderGuildRevoke proto.InternalMessageInfo + +func (m *MsgProviderGuildRevoke) GetCreator() string { + if m != nil { + return m.Creator + } + return "" } -func (*UnimplementedMsgServer) StructBuildComplete(ctx context.Context, req *MsgStructBuildComplete) (*MsgStructStatusResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method StructBuildComplete not implemented") + +func (m *MsgProviderGuildRevoke) GetProviderId() string { + if m != nil { + return m.ProviderId + } + return "" } -func (*UnimplementedMsgServer) StructDefenseSet(ctx context.Context, req *MsgStructDefenseSet) (*MsgStructStatusResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method StructDefenseSet not implemented") + +func (m *MsgProviderGuildRevoke) GetGuildId() []string { + if m != nil { + return m.GuildId + } + return nil } -func (*UnimplementedMsgServer) StructDefenseClear(ctx context.Context, req *MsgStructDefenseClear) (*MsgStructStatusResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method StructDefenseClear not implemented") + +type MsgProviderDelete struct { + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + ProviderId string `protobuf:"bytes,2,opt,name=providerId,proto3" json:"providerId,omitempty"` } -func (*UnimplementedMsgServer) StructMove(ctx context.Context, req *MsgStructMove) (*MsgStructStatusResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method StructMove not implemented") + +func (m *MsgProviderDelete) Reset() { *m = MsgProviderDelete{} } +func (m *MsgProviderDelete) String() string { return proto.CompactTextString(m) } +func (*MsgProviderDelete) ProtoMessage() {} +func (*MsgProviderDelete) Descriptor() ([]byte, []int) { + return fileDescriptor_38fd6c203bede659, []int{109} } -func (*UnimplementedMsgServer) StructAttack(ctx context.Context, req *MsgStructAttack) (*MsgStructAttackResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method StructAttack not implemented") +func (m *MsgProviderDelete) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) } -func (*UnimplementedMsgServer) StructStealthActivate(ctx context.Context, req *MsgStructStealthActivate) (*MsgStructStatusResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method StructStealthActivate not implemented") +func (m *MsgProviderDelete) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgProviderDelete.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } } -func (*UnimplementedMsgServer) StructStealthDeactivate(ctx context.Context, req *MsgStructStealthDeactivate) (*MsgStructStatusResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method StructStealthDeactivate not implemented") +func (m *MsgProviderDelete) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgProviderDelete.Merge(m, src) } -func (*UnimplementedMsgServer) StructGeneratorInfuse(ctx context.Context, req *MsgStructGeneratorInfuse) (*MsgStructGeneratorStatusResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method StructGeneratorInfuse not implemented") +func (m *MsgProviderDelete) XXX_Size() int { + return m.Size() } -func (*UnimplementedMsgServer) StructOreMinerComplete(ctx context.Context, req *MsgStructOreMinerComplete) (*MsgStructOreMinerStatusResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method StructOreMinerComplete not implemented") +func (m *MsgProviderDelete) XXX_DiscardUnknown() { + xxx_messageInfo_MsgProviderDelete.DiscardUnknown(m) } -func (*UnimplementedMsgServer) StructOreRefineryComplete(ctx context.Context, req *MsgStructOreRefineryComplete) (*MsgStructOreRefineryStatusResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method StructOreRefineryComplete not implemented") + +var xxx_messageInfo_MsgProviderDelete proto.InternalMessageInfo + +func (m *MsgProviderDelete) GetCreator() string { + if m != nil { + return m.Creator + } + return "" } -func (*UnimplementedMsgServer) SubstationCreate(ctx context.Context, req *MsgSubstationCreate) (*MsgSubstationCreateResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SubstationCreate not implemented") + +func (m *MsgProviderDelete) GetProviderId() string { + if m != nil { + return m.ProviderId + } + return "" } -func (*UnimplementedMsgServer) SubstationDelete(ctx context.Context, req *MsgSubstationDelete) (*MsgSubstationDeleteResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SubstationDelete not implemented") + +type MsgProviderResponse struct { } -func (*UnimplementedMsgServer) SubstationAllocationConnect(ctx context.Context, req *MsgSubstationAllocationConnect) (*MsgSubstationAllocationConnectResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SubstationAllocationConnect not implemented") + +func (m *MsgProviderResponse) Reset() { *m = MsgProviderResponse{} } +func (m *MsgProviderResponse) String() string { return proto.CompactTextString(m) } +func (*MsgProviderResponse) ProtoMessage() {} +func (*MsgProviderResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_38fd6c203bede659, []int{110} } -func (*UnimplementedMsgServer) SubstationAllocationDisconnect(ctx context.Context, req *MsgSubstationAllocationDisconnect) (*MsgSubstationAllocationDisconnectResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SubstationAllocationDisconnect not implemented") +func (m *MsgProviderResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) } -func (*UnimplementedMsgServer) SubstationPlayerConnect(ctx context.Context, req *MsgSubstationPlayerConnect) (*MsgSubstationPlayerConnectResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SubstationPlayerConnect not implemented") +func (m *MsgProviderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgProviderResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } } -func (*UnimplementedMsgServer) SubstationPlayerDisconnect(ctx context.Context, req *MsgSubstationPlayerDisconnect) (*MsgSubstationPlayerDisconnectResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SubstationPlayerDisconnect not implemented") +func (m *MsgProviderResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgProviderResponse.Merge(m, src) } -func (*UnimplementedMsgServer) SubstationPlayerMigrate(ctx context.Context, req *MsgSubstationPlayerMigrate) (*MsgSubstationPlayerMigrateResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SubstationPlayerMigrate not implemented") +func (m *MsgProviderResponse) XXX_Size() int { + return m.Size() } - -func RegisterMsgServer(s grpc1.Server, srv MsgServer) { - s.RegisterService(&_Msg_serviceDesc, srv) +func (m *MsgProviderResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MsgProviderResponse.DiscardUnknown(m) } -func _Msg_UpdateParams_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgUpdateParams) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MsgServer).UpdateParams(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/structs.structs.Msg/UpdateParams", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).UpdateParams(ctx, req.(*MsgUpdateParams)) - } - return interceptor(ctx, in, info, handler) -} +var xxx_messageInfo_MsgProviderResponse proto.InternalMessageInfo -func _Msg_AddressRegister_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgAddressRegister) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(MsgServer).AddressRegister(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/structs.structs.Msg/AddressRegister", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).AddressRegister(ctx, req.(*MsgAddressRegister)) - } - return interceptor(ctx, in, info, handler) +func init() { + proto.RegisterType((*MsgUpdateParams)(nil), "structs.structs.MsgUpdateParams") + proto.RegisterType((*MsgUpdateParamsResponse)(nil), "structs.structs.MsgUpdateParamsResponse") + proto.RegisterType((*MsgAddressRegister)(nil), "structs.structs.MsgAddressRegister") + proto.RegisterType((*MsgAddressRegisterResponse)(nil), "structs.structs.MsgAddressRegisterResponse") + proto.RegisterType((*MsgAddressRevoke)(nil), "structs.structs.MsgAddressRevoke") + proto.RegisterType((*MsgAddressRevokeResponse)(nil), "structs.structs.MsgAddressRevokeResponse") + proto.RegisterType((*MsgAllocationCreate)(nil), "structs.structs.MsgAllocationCreate") + proto.RegisterType((*MsgAllocationCreateResponse)(nil), "structs.structs.MsgAllocationCreateResponse") + proto.RegisterType((*MsgAllocationDelete)(nil), "structs.structs.MsgAllocationDelete") + proto.RegisterType((*MsgAllocationDeleteResponse)(nil), "structs.structs.MsgAllocationDeleteResponse") + proto.RegisterType((*MsgAllocationUpdate)(nil), "structs.structs.MsgAllocationUpdate") + proto.RegisterType((*MsgAllocationUpdateResponse)(nil), "structs.structs.MsgAllocationUpdateResponse") + proto.RegisterType((*MsgAllocationTransfer)(nil), "structs.structs.MsgAllocationTransfer") + proto.RegisterType((*MsgAllocationTransferResponse)(nil), "structs.structs.MsgAllocationTransferResponse") + proto.RegisterType((*MsgFleetMove)(nil), "structs.structs.MsgFleetMove") + proto.RegisterType((*MsgFleetMoveResponse)(nil), "structs.structs.MsgFleetMoveResponse") + proto.RegisterType((*MsgGuildBankMint)(nil), "structs.structs.MsgGuildBankMint") + proto.RegisterType((*MsgGuildBankMintResponse)(nil), "structs.structs.MsgGuildBankMintResponse") + proto.RegisterType((*MsgGuildBankRedeem)(nil), "structs.structs.MsgGuildBankRedeem") + proto.RegisterType((*MsgGuildBankRedeemResponse)(nil), "structs.structs.MsgGuildBankRedeemResponse") + proto.RegisterType((*MsgGuildBankConfiscateAndBurn)(nil), "structs.structs.MsgGuildBankConfiscateAndBurn") + proto.RegisterType((*MsgGuildBankConfiscateAndBurnResponse)(nil), "structs.structs.MsgGuildBankConfiscateAndBurnResponse") + proto.RegisterType((*MsgGuildCreate)(nil), "structs.structs.MsgGuildCreate") + proto.RegisterType((*MsgGuildCreateResponse)(nil), "structs.structs.MsgGuildCreateResponse") + proto.RegisterType((*MsgGuildUpdateOwnerId)(nil), "structs.structs.MsgGuildUpdateOwnerId") + proto.RegisterType((*MsgGuildUpdateEntrySubstationId)(nil), "structs.structs.MsgGuildUpdateEntrySubstationId") + proto.RegisterType((*MsgGuildUpdateEndpoint)(nil), "structs.structs.MsgGuildUpdateEndpoint") + proto.RegisterType((*MsgGuildUpdateJoinInfusionMinimum)(nil), "structs.structs.MsgGuildUpdateJoinInfusionMinimum") + proto.RegisterType((*MsgGuildUpdateJoinInfusionMinimumBypassByRequest)(nil), "structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByRequest") + proto.RegisterType((*MsgGuildUpdateJoinInfusionMinimumBypassByInvite)(nil), "structs.structs.MsgGuildUpdateJoinInfusionMinimumBypassByInvite") + proto.RegisterType((*MsgGuildUpdateResponse)(nil), "structs.structs.MsgGuildUpdateResponse") + proto.RegisterType((*MsgGuildMembershipInvite)(nil), "structs.structs.MsgGuildMembershipInvite") + proto.RegisterType((*MsgGuildMembershipInviteApprove)(nil), "structs.structs.MsgGuildMembershipInviteApprove") + proto.RegisterType((*MsgGuildMembershipInviteDeny)(nil), "structs.structs.MsgGuildMembershipInviteDeny") + proto.RegisterType((*MsgGuildMembershipInviteRevoke)(nil), "structs.structs.MsgGuildMembershipInviteRevoke") + proto.RegisterType((*MsgGuildMembershipJoin)(nil), "structs.structs.MsgGuildMembershipJoin") + proto.RegisterType((*MsgGuildMembershipJoinProxy)(nil), "structs.structs.MsgGuildMembershipJoinProxy") + proto.RegisterType((*MsgGuildMembershipKick)(nil), "structs.structs.MsgGuildMembershipKick") + proto.RegisterType((*MsgGuildMembershipRequest)(nil), "structs.structs.MsgGuildMembershipRequest") + proto.RegisterType((*MsgGuildMembershipRequestApprove)(nil), "structs.structs.MsgGuildMembershipRequestApprove") + proto.RegisterType((*MsgGuildMembershipRequestDeny)(nil), "structs.structs.MsgGuildMembershipRequestDeny") + proto.RegisterType((*MsgGuildMembershipRequestRevoke)(nil), "structs.structs.MsgGuildMembershipRequestRevoke") + proto.RegisterType((*MsgGuildMembershipResponse)(nil), "structs.structs.MsgGuildMembershipResponse") + proto.RegisterType((*MsgPermissionGrantOnObject)(nil), "structs.structs.MsgPermissionGrantOnObject") + proto.RegisterType((*MsgPermissionGrantOnAddress)(nil), "structs.structs.MsgPermissionGrantOnAddress") + proto.RegisterType((*MsgPermissionRevokeOnObject)(nil), "structs.structs.MsgPermissionRevokeOnObject") + proto.RegisterType((*MsgPermissionRevokeOnAddress)(nil), "structs.structs.MsgPermissionRevokeOnAddress") + proto.RegisterType((*MsgPermissionSetOnObject)(nil), "structs.structs.MsgPermissionSetOnObject") + proto.RegisterType((*MsgPermissionSetOnAddress)(nil), "structs.structs.MsgPermissionSetOnAddress") + proto.RegisterType((*MsgPermissionResponse)(nil), "structs.structs.MsgPermissionResponse") + proto.RegisterType((*MsgPlanetExplore)(nil), "structs.structs.MsgPlanetExplore") + proto.RegisterType((*MsgPlanetExploreResponse)(nil), "structs.structs.MsgPlanetExploreResponse") + proto.RegisterType((*MsgPlanetRaidComplete)(nil), "structs.structs.MsgPlanetRaidComplete") + proto.RegisterType((*MsgPlanetRaidCompleteResponse)(nil), "structs.structs.MsgPlanetRaidCompleteResponse") + proto.RegisterType((*MsgPlayerUpdatePrimaryAddress)(nil), "structs.structs.MsgPlayerUpdatePrimaryAddress") + proto.RegisterType((*MsgPlayerUpdatePrimaryAddressResponse)(nil), "structs.structs.MsgPlayerUpdatePrimaryAddressResponse") + proto.RegisterType((*MsgPlayerResume)(nil), "structs.structs.MsgPlayerResume") + proto.RegisterType((*MsgPlayerResumeResponse)(nil), "structs.structs.MsgPlayerResumeResponse") + proto.RegisterType((*MsgStructStatusResponse)(nil), "structs.structs.MsgStructStatusResponse") + proto.RegisterType((*MsgStructActivate)(nil), "structs.structs.MsgStructActivate") + proto.RegisterType((*MsgStructDeactivate)(nil), "structs.structs.MsgStructDeactivate") + proto.RegisterType((*MsgStructBuildInitiate)(nil), "structs.structs.MsgStructBuildInitiate") + proto.RegisterType((*MsgStructBuildComplete)(nil), "structs.structs.MsgStructBuildComplete") + proto.RegisterType((*MsgStructBuildCancel)(nil), "structs.structs.MsgStructBuildCancel") + proto.RegisterType((*MsgStructBuildCompleteAndStash)(nil), "structs.structs.MsgStructBuildCompleteAndStash") + proto.RegisterType((*MsgStructDefenseSet)(nil), "structs.structs.MsgStructDefenseSet") + proto.RegisterType((*MsgStructDefenseClear)(nil), "structs.structs.MsgStructDefenseClear") + proto.RegisterType((*MsgStructMove)(nil), "structs.structs.MsgStructMove") + proto.RegisterType((*MsgStructAttack)(nil), "structs.structs.MsgStructAttack") + proto.RegisterType((*MsgStructAttackResponse)(nil), "structs.structs.MsgStructAttackResponse") + proto.RegisterType((*MsgStructStealthActivate)(nil), "structs.structs.MsgStructStealthActivate") + proto.RegisterType((*MsgStructStealthDeactivate)(nil), "structs.structs.MsgStructStealthDeactivate") + proto.RegisterType((*MsgStructGeneratorInfuse)(nil), "structs.structs.MsgStructGeneratorInfuse") + proto.RegisterType((*MsgStructGeneratorStatusResponse)(nil), "structs.structs.MsgStructGeneratorStatusResponse") + proto.RegisterType((*MsgStructOreMinerComplete)(nil), "structs.structs.MsgStructOreMinerComplete") + proto.RegisterType((*MsgStructOreMinerStatusResponse)(nil), "structs.structs.MsgStructOreMinerStatusResponse") + proto.RegisterType((*MsgStructOreRefineryComplete)(nil), "structs.structs.MsgStructOreRefineryComplete") + proto.RegisterType((*MsgStructOreRefineryStatusResponse)(nil), "structs.structs.MsgStructOreRefineryStatusResponse") + proto.RegisterType((*MsgStructStorageStash)(nil), "structs.structs.MsgStructStorageStash") + proto.RegisterType((*MsgStructStorageRecall)(nil), "structs.structs.MsgStructStorageRecall") + proto.RegisterType((*MsgSubstationCreate)(nil), "structs.structs.MsgSubstationCreate") + proto.RegisterType((*MsgSubstationCreateResponse)(nil), "structs.structs.MsgSubstationCreateResponse") + proto.RegisterType((*MsgSubstationDelete)(nil), "structs.structs.MsgSubstationDelete") + proto.RegisterType((*MsgSubstationDeleteResponse)(nil), "structs.structs.MsgSubstationDeleteResponse") + proto.RegisterType((*MsgSubstationAllocationConnect)(nil), "structs.structs.MsgSubstationAllocationConnect") + proto.RegisterType((*MsgSubstationAllocationConnectResponse)(nil), "structs.structs.MsgSubstationAllocationConnectResponse") + proto.RegisterType((*MsgSubstationAllocationDisconnect)(nil), "structs.structs.MsgSubstationAllocationDisconnect") + proto.RegisterType((*MsgSubstationAllocationDisconnectResponse)(nil), "structs.structs.MsgSubstationAllocationDisconnectResponse") + proto.RegisterType((*MsgSubstationPlayerConnect)(nil), "structs.structs.MsgSubstationPlayerConnect") + proto.RegisterType((*MsgSubstationPlayerConnectResponse)(nil), "structs.structs.MsgSubstationPlayerConnectResponse") + proto.RegisterType((*MsgSubstationPlayerDisconnect)(nil), "structs.structs.MsgSubstationPlayerDisconnect") + proto.RegisterType((*MsgSubstationPlayerDisconnectResponse)(nil), "structs.structs.MsgSubstationPlayerDisconnectResponse") + proto.RegisterType((*MsgSubstationPlayerMigrate)(nil), "structs.structs.MsgSubstationPlayerMigrate") + proto.RegisterType((*MsgSubstationPlayerMigrateResponse)(nil), "structs.structs.MsgSubstationPlayerMigrateResponse") + proto.RegisterType((*MsgAgreementOpen)(nil), "structs.structs.MsgAgreementOpen") + proto.RegisterType((*MsgAgreementClose)(nil), "structs.structs.MsgAgreementClose") + proto.RegisterType((*MsgAgreementCapacityIncrease)(nil), "structs.structs.MsgAgreementCapacityIncrease") + proto.RegisterType((*MsgAgreementCapacityDecrease)(nil), "structs.structs.MsgAgreementCapacityDecrease") + proto.RegisterType((*MsgAgreementDurationIncrease)(nil), "structs.structs.MsgAgreementDurationIncrease") + proto.RegisterType((*MsgAgreementResponse)(nil), "structs.structs.MsgAgreementResponse") + proto.RegisterType((*MsgProviderCreate)(nil), "structs.structs.MsgProviderCreate") + proto.RegisterType((*MsgProviderWithdrawBalance)(nil), "structs.structs.MsgProviderWithdrawBalance") + proto.RegisterType((*MsgProviderUpdateCapacityMinimum)(nil), "structs.structs.MsgProviderUpdateCapacityMinimum") + proto.RegisterType((*MsgProviderUpdateCapacityMaximum)(nil), "structs.structs.MsgProviderUpdateCapacityMaximum") + proto.RegisterType((*MsgProviderUpdateDurationMinimum)(nil), "structs.structs.MsgProviderUpdateDurationMinimum") + proto.RegisterType((*MsgProviderUpdateDurationMaximum)(nil), "structs.structs.MsgProviderUpdateDurationMaximum") + proto.RegisterType((*MsgProviderUpdateAccessPolicy)(nil), "structs.structs.MsgProviderUpdateAccessPolicy") + proto.RegisterType((*MsgProviderGuildGrant)(nil), "structs.structs.MsgProviderGuildGrant") + proto.RegisterType((*MsgProviderGuildRevoke)(nil), "structs.structs.MsgProviderGuildRevoke") + proto.RegisterType((*MsgProviderDelete)(nil), "structs.structs.MsgProviderDelete") + proto.RegisterType((*MsgProviderResponse)(nil), "structs.structs.MsgProviderResponse") } -func _Msg_AddressRevoke_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgAddressRevoke) - if err := dec(in); err != nil { +func init() { proto.RegisterFile("structs/structs/tx.proto", fileDescriptor_38fd6c203bede659) } + +var fileDescriptor_38fd6c203bede659 = []byte{ + // 3847 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x5c, 0x5b, 0x6f, 0x1c, 0xc7, + 0x95, 0x56, 0xf3, 0x22, 0x4b, 0x47, 0x14, 0x25, 0xb5, 0x2e, 0x1c, 0x8e, 0x24, 0x8a, 0x1a, 0x4b, + 0x94, 0x44, 0x91, 0x43, 0x91, 0xbe, 0x2c, 0xa0, 0x87, 0xdd, 0xe5, 0xc5, 0x2b, 0x70, 0x6d, 0x42, + 0xf4, 0x50, 0xb6, 0xd7, 0x32, 0xec, 0xdd, 0xe6, 0x4c, 0x71, 0xd8, 0x66, 0x4f, 0xf7, 0xb8, 0xbb, + 0x87, 0xd2, 0xec, 0xae, 0xad, 0x44, 0x76, 0xee, 0x40, 0xe0, 0x04, 0x01, 0x82, 0xdc, 0x01, 0x27, + 0x0f, 0x46, 0x9e, 0x84, 0xc4, 0x4f, 0x09, 0xf2, 0xee, 0x97, 0x24, 0x86, 0x11, 0x04, 0x81, 0x81, + 0x28, 0x81, 0x1d, 0x40, 0x7f, 0x23, 0xe8, 0xaa, 0xea, 0x9e, 0xae, 0xea, 0xea, 0xea, 0xea, 0x99, + 0xb1, 0xac, 0x17, 0x0d, 0xbb, 0xea, 0xd4, 0xf9, 0xbe, 0x53, 0xf7, 0x3a, 0x75, 0x4a, 0x50, 0xf0, + 0x7c, 0xb7, 0x55, 0xf5, 0xbd, 0xb9, 0xf0, 0xd7, 0xbf, 0x5d, 0x6e, 0xba, 0x8e, 0xef, 0xe8, 0x87, + 0x68, 0x4a, 0x99, 0xfe, 0x16, 0x8f, 0x18, 0x0d, 0xd3, 0x76, 0xe6, 0xf0, 0xbf, 0x44, 0xa6, 0x38, + 0x56, 0x75, 0xbc, 0x86, 0xe3, 0xcd, 0x35, 0xbc, 0xfa, 0xdc, 0xee, 0x7c, 0xf0, 0x43, 0x33, 0xc6, + 0x49, 0xc6, 0x7f, 0xe3, 0xaf, 0x39, 0xf2, 0x41, 0xb3, 0x8e, 0xd5, 0x9d, 0xba, 0x43, 0xd2, 0x83, + 0xbf, 0x68, 0xea, 0x29, 0x9e, 0x47, 0xd3, 0x70, 0x8d, 0x46, 0x58, 0x66, 0x82, 0xe2, 0x6c, 0x1a, + 0x1e, 0x9a, 0xdb, 0x9d, 0xdf, 0x44, 0xbe, 0x31, 0x3f, 0x57, 0x75, 0x4c, 0x9b, 0xe6, 0x17, 0xf9, + 0xd2, 0x3b, 0xa8, 0x1d, 0x96, 0x3d, 0xc9, 0xe7, 0x6d, 0x59, 0x08, 0xf9, 0x69, 0x99, 0xf5, 0x96, + 0x69, 0xd5, 0x52, 0x39, 0x59, 0x86, 0x1d, 0x15, 0x4d, 0xe4, 0x92, 0x5f, 0x92, 0x5b, 0xfa, 0xad, + 0x06, 0x87, 0xd6, 0xbc, 0xfa, 0x0b, 0xcd, 0x9a, 0xe1, 0xa3, 0x75, 0x6c, 0x8b, 0xfe, 0x34, 0xec, + 0x37, 0x5a, 0xfe, 0xb6, 0xe3, 0x9a, 0x7e, 0xbb, 0xa0, 0x4d, 0x6a, 0x17, 0xf7, 0x2f, 0x15, 0x3e, + 0xfe, 0x60, 0xf6, 0x18, 0xad, 0x9e, 0xc5, 0x5a, 0xcd, 0x45, 0x9e, 0xb7, 0xe1, 0xbb, 0xa6, 0x5d, + 0xaf, 0x74, 0x44, 0xf5, 0xab, 0xb0, 0x97, 0xd4, 0x46, 0x61, 0x60, 0x52, 0xbb, 0x78, 0x60, 0x61, + 0xac, 0xcc, 0x35, 0x4d, 0x99, 0x00, 0x2c, 0xed, 0xff, 0xf0, 0xfe, 0x99, 0x3d, 0xef, 0x3f, 0xb8, + 0x37, 0xad, 0x55, 0x68, 0x89, 0xab, 0x4f, 0xde, 0x7d, 0x70, 0x6f, 0xba, 0xa3, 0xeb, 0x9b, 0x0f, + 0xee, 0x4d, 0x9f, 0x0d, 0x09, 0xdf, 0x8e, 0xa8, 0x73, 0x4c, 0x4b, 0xe3, 0x30, 0xc6, 0x25, 0x55, + 0x90, 0xd7, 0x74, 0x6c, 0x0f, 0x95, 0xee, 0x6b, 0xa0, 0xaf, 0x79, 0x75, 0x4a, 0xb6, 0x82, 0xea, + 0xa6, 0xe7, 0x23, 0x57, 0x2f, 0xc0, 0x63, 0x55, 0x17, 0x19, 0xbe, 0xe3, 0x12, 0xcb, 0x2a, 0xe1, + 0xa7, 0x5e, 0x84, 0x7d, 0x4d, 0xcb, 0x68, 0x23, 0x77, 0xb5, 0x86, 0xf9, 0xef, 0xaf, 0x44, 0xdf, + 0x41, 0x29, 0x83, 0x28, 0x2a, 0x0c, 0x92, 0x52, 0xf4, 0x53, 0x9f, 0x84, 0x03, 0x4d, 0xd7, 0x71, + 0xb6, 0xd6, 0x5b, 0x9b, 0xcf, 0xa2, 0x76, 0x61, 0x08, 0xe7, 0xc6, 0x93, 0xf4, 0x29, 0x18, 0xc5, + 0x9f, 0x1b, 0x66, 0xdd, 0x36, 0xfc, 0x96, 0x8b, 0x0a, 0xc3, 0x58, 0x88, 0x4b, 0xc5, 0x9a, 0x90, + 0xdb, 0x30, 0x3d, 0xcf, 0x74, 0x6c, 0xaf, 0xb0, 0x77, 0x52, 0xbb, 0x38, 0x54, 0x89, 0x27, 0x5d, + 0x1d, 0x09, 0xea, 0x28, 0xe4, 0x5b, 0x3a, 0x05, 0xc5, 0xa4, 0x7d, 0x91, 0xf9, 0x37, 0xe0, 0x70, + 0x3c, 0x77, 0xd7, 0xd9, 0x41, 0x12, 0xdb, 0x63, 0xf6, 0x0d, 0x30, 0xf6, 0x71, 0x98, 0x45, 0x28, + 0xf0, 0x5a, 0x23, 0xc4, 0x7f, 0x68, 0x70, 0x34, 0xc8, 0xb4, 0x2c, 0xa7, 0x6a, 0xf8, 0xa6, 0x63, + 0x2f, 0x07, 0x85, 0x64, 0xa8, 0x13, 0x00, 0x55, 0xc7, 0xf6, 0x5d, 0xc7, 0xb2, 0x90, 0x4b, 0x81, + 0x63, 0x29, 0x41, 0xcd, 0x79, 0x4e, 0xcb, 0xad, 0xa2, 0xeb, 0x9b, 0xaf, 0xa3, 0xaa, 0xbf, 0x5a, + 0xa3, 0x95, 0xcf, 0xa5, 0xea, 0xd7, 0x60, 0xd4, 0x88, 0x50, 0x6f, 0xb4, 0x9b, 0x08, 0x37, 0xc3, + 0xe8, 0xc2, 0x99, 0x44, 0xff, 0x63, 0xc5, 0x2a, 0x5c, 0x31, 0xfd, 0x18, 0x0c, 0x37, 0x9d, 0x5b, + 0xc8, 0xc5, 0x2d, 0x34, 0x54, 0x21, 0x1f, 0x5c, 0x15, 0x2c, 0xc2, 0x49, 0x81, 0x95, 0x61, 0x2d, + 0xe8, 0x25, 0x18, 0xe9, 0x28, 0x5d, 0xad, 0x51, 0x93, 0x99, 0xb4, 0x92, 0xc1, 0x55, 0xd4, 0x0a, + 0xb2, 0x90, 0xb4, 0xa2, 0x78, 0xa5, 0x03, 0x49, 0xa5, 0x19, 0x2c, 0x09, 0x44, 0x2e, 0x96, 0xb7, + 0x38, 0x96, 0x64, 0x94, 0xf5, 0xc6, 0xb2, 0x53, 0xc3, 0x83, 0xea, 0x35, 0x4c, 0x80, 0x73, 0x71, + 0x7f, 0x5b, 0x83, 0xe3, 0x8c, 0x8e, 0x1b, 0xae, 0x61, 0x7b, 0x5b, 0xd2, 0xf1, 0xaf, 0x42, 0x9f, + 0xed, 0xb1, 0x83, 0x7c, 0x8f, 0xe5, 0x0c, 0x59, 0x86, 0xd3, 0x42, 0x12, 0xb9, 0x4c, 0xf9, 0xaa, + 0x06, 0x23, 0x6b, 0x5e, 0xfd, 0x3f, 0x82, 0xc5, 0x60, 0xcd, 0xd9, 0xcd, 0x18, 0xc5, 0x78, 0xcd, + 0x88, 0xc8, 0x87, 0x9f, 0xfa, 0x93, 0x70, 0xbc, 0x86, 0x3c, 0xdf, 0xb4, 0xb1, 0xd6, 0xe7, 0x3a, + 0x88, 0xc4, 0x04, 0x71, 0x26, 0x67, 0xcd, 0x0a, 0x1c, 0x8b, 0xf3, 0x88, 0x8c, 0x98, 0x81, 0x61, + 0x0c, 0x83, 0xd9, 0x1c, 0x58, 0x38, 0x91, 0x18, 0x74, 0xb8, 0x48, 0x85, 0x08, 0x95, 0xde, 0xc2, + 0xf3, 0xd2, 0xb5, 0x60, 0xf5, 0x5a, 0x32, 0xec, 0x9d, 0x35, 0xd3, 0xf6, 0x25, 0x16, 0x4d, 0xc2, + 0x01, 0xa3, 0xe1, 0xb4, 0x6c, 0x7f, 0xd1, 0x6a, 0x6e, 0x1b, 0xd8, 0xaa, 0xa1, 0x4a, 0x3c, 0xa9, + 0x23, 0x71, 0xc3, 0xd9, 0x41, 0x36, 0xed, 0x56, 0xf1, 0x24, 0xe1, 0x0c, 0xc6, 0xe0, 0x47, 0x33, + 0xd8, 0x3d, 0xb2, 0x64, 0x44, 0x99, 0x15, 0x54, 0x43, 0xa8, 0x21, 0xa1, 0xe7, 0xb2, 0xe0, 0x64, + 0xd5, 0x1b, 0x2f, 0xd3, 0x75, 0x32, 0xd8, 0x04, 0x94, 0xe9, 0x26, 0xa0, 0xbc, 0xec, 0x98, 0xf6, + 0xd2, 0x53, 0xc1, 0xba, 0xf7, 0xcb, 0xbf, 0x9d, 0xb9, 0x58, 0x37, 0xfd, 0xed, 0xd6, 0x66, 0xb9, + 0xea, 0x34, 0xe8, 0x9e, 0x83, 0xfe, 0xcc, 0x7a, 0xb5, 0x9d, 0x39, 0xbf, 0xdd, 0x44, 0x1e, 0x2e, + 0xe0, 0x91, 0x35, 0x52, 0x62, 0x0e, 0x59, 0x04, 0x38, 0xc6, 0x91, 0x41, 0x6f, 0x6b, 0xb8, 0x07, + 0x46, 0xd9, 0xcb, 0x8e, 0xbd, 0x65, 0x7a, 0x55, 0xc3, 0x47, 0x8b, 0x76, 0x6d, 0xa9, 0xe5, 0xda, + 0xdd, 0x2c, 0x09, 0xb9, 0xab, 0xfc, 0x02, 0x9c, 0x97, 0x92, 0x88, 0xe8, 0xde, 0xd5, 0x60, 0x34, + 0x94, 0xcc, 0x5c, 0x3c, 0x8a, 0xb0, 0x0f, 0xd9, 0xb5, 0xa6, 0x63, 0xda, 0x7e, 0xb8, 0x5c, 0x87, + 0xdf, 0xfa, 0x0c, 0x1c, 0x41, 0xb6, 0xef, 0xb6, 0x37, 0x5a, 0x9b, 0x9e, 0xcf, 0x76, 0xf5, 0x64, + 0x06, 0xc7, 0x76, 0x01, 0x4e, 0xb0, 0x1c, 0xa2, 0x8e, 0x5e, 0x80, 0xc7, 0xf0, 0xae, 0x2b, 0x1a, + 0xa8, 0xe1, 0x67, 0xc9, 0xc1, 0xb3, 0x0d, 0x2e, 0x43, 0x26, 0xab, 0xeb, 0xb7, 0xec, 0x70, 0xdf, + 0x90, 0x5e, 0xbd, 0xa1, 0xb2, 0x01, 0x46, 0x59, 0x30, 0x45, 0x3a, 0x41, 0x71, 0x4a, 0x98, 0x7c, + 0x70, 0x24, 0xbf, 0xa3, 0xc1, 0x19, 0x16, 0xf1, 0x19, 0xde, 0xac, 0xae, 0xb0, 0x7b, 0xa9, 0xb8, + 0xdd, 0x4e, 0xc5, 0x85, 0x94, 0x68, 0x73, 0x74, 0xc3, 0x24, 0xde, 0xbc, 0x83, 0x6c, 0xf3, 0x72, + 0xb8, 0xdf, 0xd7, 0xe0, 0x2c, 0x0b, 0xfc, 0x9f, 0x8e, 0x69, 0xaf, 0xda, 0x5b, 0xad, 0x60, 0xd7, + 0xb4, 0x66, 0xda, 0x66, 0xa3, 0xd5, 0xe8, 0x8a, 0xc3, 0x15, 0x38, 0xfa, 0x7a, 0x52, 0x15, 0xed, + 0xf0, 0xa2, 0x2c, 0x8e, 0xd9, 0x1f, 0x35, 0xb8, 0x92, 0xc9, 0x6c, 0xa9, 0xdd, 0x34, 0x3c, 0x6f, + 0xa9, 0x5d, 0x41, 0x6f, 0xb4, 0x90, 0xd7, 0x5d, 0x65, 0xbd, 0x0c, 0xc7, 0xf0, 0x9f, 0x81, 0x7a, + 0xa2, 0xef, 0x39, 0xb4, 0x8b, 0x2c, 0xcc, 0x74, 0x74, 0xe1, 0x7c, 0x62, 0x46, 0x16, 0x09, 0x57, + 0x84, 0x2a, 0x38, 0x8b, 0xfe, 0xa0, 0xc1, 0x9c, 0xb2, 0x45, 0xab, 0xf6, 0xae, 0xe9, 0xa3, 0x47, + 0xdb, 0xa0, 0x02, 0xdf, 0x69, 0xa3, 0xc9, 0xe8, 0xc7, 0x5a, 0x67, 0xa5, 0x58, 0x43, 0x8d, 0x4d, + 0xe4, 0x7a, 0xdb, 0x66, 0xb3, 0x07, 0x9b, 0xe2, 0xe7, 0x8b, 0x41, 0xee, 0x7c, 0x51, 0x82, 0x11, + 0x2f, 0x3e, 0xe4, 0xc8, 0x31, 0x82, 0x49, 0xe3, 0x88, 0xff, 0x3c, 0x36, 0x03, 0xf0, 0xf4, 0x16, + 0x9b, 0x4d, 0x37, 0x73, 0xa7, 0xf0, 0x50, 0x58, 0xfe, 0x3f, 0x9c, 0x4a, 0x23, 0xb9, 0x82, 0xec, + 0x76, 0xbf, 0x19, 0x72, 0xe8, 0x6f, 0xc1, 0x44, 0x1a, 0xba, 0xca, 0x89, 0xa8, 0x67, 0xfc, 0xdf, + 0x68, 0x9d, 0xde, 0xd5, 0x21, 0x10, 0x74, 0xc8, 0x2f, 0xa2, 0x69, 0x82, 0xcd, 0xab, 0x49, 0x47, + 0xea, 0x6a, 0xad, 0x30, 0x3c, 0x39, 0x18, 0x6c, 0x5e, 0x3b, 0x29, 0x1c, 0xf9, 0xdf, 0x6b, 0x78, + 0x1b, 0x2e, 0x20, 0xbf, 0xee, 0x3a, 0xb7, 0xdb, 0x5d, 0xed, 0x1c, 0x78, 0x96, 0x83, 0x02, 0x96, + 0x7d, 0x3b, 0x50, 0xa7, 0x2f, 0x4f, 0x1d, 0x73, 0x9e, 0x35, 0xab, 0x3b, 0x9f, 0x73, 0x27, 0xf8, + 0x89, 0x06, 0xe3, 0x49, 0xe0, 0x5e, 0x66, 0xfb, 0xfe, 0x0e, 0xd1, 0x5f, 0x68, 0x30, 0x99, 0xca, + 0xef, 0xd1, 0x99, 0x49, 0xde, 0xec, 0xec, 0x64, 0x13, 0x2c, 0x1f, 0xc2, 0x54, 0x72, 0x47, 0x34, + 0xdb, 0x52, 0xf8, 0x87, 0x32, 0x97, 0x7c, 0x43, 0xeb, 0xec, 0xf4, 0xe3, 0x0c, 0xe8, 0xde, 0x74, + 0x07, 0x8a, 0x75, 0x36, 0x6b, 0xb1, 0xd9, 0xb4, 0x4c, 0x72, 0x94, 0xa3, 0x27, 0xb3, 0xcb, 0x89, + 0x65, 0xf3, 0x5a, 0x6a, 0x91, 0x8a, 0x44, 0x5d, 0xe9, 0xa7, 0x84, 0xcb, 0x7a, 0xe4, 0x9a, 0xba, + 0xe6, 0x1a, 0xb6, 0x7f, 0xdd, 0x26, 0x0e, 0x19, 0xf9, 0x9e, 0xdd, 0x09, 0x5d, 0x39, 0x74, 0xcf, + 0x1e, 0x7e, 0x4b, 0xbb, 0x0b, 0xe7, 0x1a, 0x1b, 0xca, 0x72, 0x8d, 0x7d, 0x99, 0xcc, 0x5d, 0x09, + 0x82, 0xd4, 0x71, 0xd5, 0xed, 0xa9, 0x27, 0xce, 0x61, 0x30, 0x8b, 0xc3, 0xcf, 0x78, 0x0e, 0xa4, + 0x9b, 0x3c, 0x42, 0xb5, 0x74, 0x57, 0xc3, 0xab, 0x73, 0x92, 0xe1, 0xc3, 0xac, 0x26, 0xba, 0xcd, + 0xea, 0x90, 0xd8, 0x40, 0x8f, 0x52, 0x4f, 0xba, 0x83, 0x27, 0x6f, 0x8e, 0xdd, 0xc3, 0xac, 0x9f, + 0x31, 0x7c, 0xb4, 0x8c, 0xb7, 0x11, 0xdd, 0x9f, 0xbe, 0x88, 0x1d, 0x29, 0xeb, 0xd8, 0xd3, 0xff, + 0xcc, 0xed, 0xa6, 0xe5, 0xb8, 0xa8, 0x3b, 0xe7, 0x36, 0x07, 0xf8, 0x3c, 0x69, 0x8f, 0xb8, 0xde, + 0x68, 0x96, 0x79, 0x0a, 0xf6, 0x92, 0xab, 0x05, 0x3a, 0xa3, 0x08, 0x1c, 0xfc, 0x38, 0x7b, 0x69, + 0xe8, 0xc3, 0xfb, 0x67, 0xf6, 0x54, 0xa8, 0x70, 0xe9, 0x2b, 0xc4, 0x1b, 0x47, 0xf2, 0x2a, 0x86, + 0x59, 0x5b, 0x76, 0x1a, 0xcd, 0x0c, 0x97, 0x67, 0xba, 0x2f, 0xeb, 0x18, 0x0c, 0xe3, 0x85, 0x3e, + 0x3c, 0x1f, 0xe3, 0x8f, 0x20, 0xd5, 0x76, 0xec, 0x2a, 0xa2, 0x4b, 0x09, 0xf9, 0xe0, 0x4c, 0x7b, + 0x9f, 0xb8, 0x43, 0x92, 0x3c, 0x22, 0x03, 0x17, 0x94, 0x7c, 0x59, 0xd4, 0x3c, 0x22, 0x1a, 0xab, + 0x94, 0x81, 0x1c, 0x95, 0xa2, 0x9f, 0x82, 0xfd, 0x8e, 0x8b, 0x36, 0x7c, 0xc7, 0x8a, 0x7c, 0x28, + 0x9d, 0x84, 0xd2, 0xb7, 0x22, 0xaa, 0x6d, 0xe4, 0xd2, 0xfb, 0x0d, 0xd7, 0x6c, 0x18, 0x6e, 0x3b, + 0xbb, 0xf3, 0xc9, 0x2e, 0x32, 0xf0, 0xde, 0x29, 0xae, 0x27, 0x74, 0xa9, 0xb3, 0xa9, 0x42, 0x0f, + 0x4e, 0x3a, 0x99, 0xa8, 0x53, 0xbe, 0x80, 0x2f, 0x93, 0x88, 0x60, 0x05, 0x79, 0xad, 0x46, 0x7f, + 0xfa, 0x24, 0xb9, 0xe6, 0x89, 0xab, 0x8d, 0x10, 0xd7, 0x71, 0xd6, 0x06, 0xae, 0xe9, 0x0d, 0xdf, + 0xf0, 0x5b, 0x5e, 0xbc, 0xb7, 0x92, 0x16, 0x48, 0xed, 0xad, 0xa4, 0x58, 0xd8, 0x30, 0x24, 0xb5, + 0xf4, 0x12, 0x1c, 0x89, 0x34, 0x2e, 0x56, 0x7d, 0x73, 0x37, 0xd3, 0x0f, 0x45, 0x0a, 0x76, 0xac, + 0x08, 0xbf, 0x39, 0x2b, 0x5e, 0xc6, 0x0e, 0x75, 0xa2, 0x78, 0x05, 0x19, 0xfd, 0x54, 0xfd, 0x27, + 0x72, 0xd2, 0xa0, 0xf6, 0xe0, 0xcd, 0x85, 0x6d, 0xfa, 0x66, 0xa6, 0xfa, 0xd4, 0x7e, 0x12, 0x6c, + 0xd0, 0xb0, 0xb2, 0x1b, 0xed, 0x26, 0xa2, 0xf3, 0xe8, 0x50, 0x85, 0x49, 0xd3, 0xff, 0x15, 0x46, + 0x9d, 0x26, 0x72, 0x0d, 0xdf, 0xb4, 0xeb, 0x8b, 0x8d, 0x4d, 0xd3, 0xa7, 0xd7, 0x2e, 0xc9, 0x51, + 0x63, 0x04, 0xb9, 0x15, 0x4e, 0x5a, 0xd7, 0x61, 0xc8, 0xb3, 0x1c, 0x9f, 0x5e, 0xb6, 0xe0, 0xbf, + 0x39, 0xb3, 0xbe, 0x9e, 0x30, 0x4b, 0x61, 0xe6, 0x90, 0xd4, 0x5a, 0x0f, 0x73, 0xc7, 0x4d, 0xec, + 0xfd, 0x8e, 0x33, 0x31, 0xec, 0x2a, 0xb2, 0xfa, 0xd2, 0x7a, 0xef, 0x0d, 0xe0, 0x83, 0xaa, 0xc0, + 0xcc, 0x45, 0xbb, 0xb6, 0xe1, 0x1b, 0xde, 0xf6, 0xe7, 0x6f, 0xae, 0xbe, 0x00, 0xc7, 0x3c, 0xdf, + 0x71, 0x8d, 0x3a, 0x5a, 0xe9, 0x5c, 0x06, 0xe0, 0x73, 0x62, 0x20, 0x24, 0xcc, 0xd3, 0xaf, 0x06, + 0xbd, 0x04, 0xa7, 0x93, 0xf6, 0xdf, 0x2b, 0x6d, 0x7f, 0x46, 0x36, 0x58, 0x08, 0xe9, 0xf7, 0x46, + 0xd0, 0x09, 0x1e, 0x23, 0x0b, 0x61, 0x2c, 0x29, 0xe9, 0xe6, 0x8b, 0x0f, 0x9f, 0x2d, 0x64, 0x7b, + 0x68, 0x03, 0xc9, 0xf6, 0x08, 0xd3, 0x70, 0xb8, 0x16, 0xc8, 0xd5, 0x90, 0xbb, 0xc1, 0xd6, 0x50, + 0x22, 0x5d, 0x9f, 0x81, 0x23, 0x4d, 0xd7, 0xf1, 0x51, 0xd5, 0x47, 0xb5, 0x48, 0x98, 0x3a, 0x3e, + 0x13, 0x19, 0x1c, 0xb3, 0x1d, 0xbc, 0xba, 0x31, 0xc4, 0x96, 0x2d, 0x64, 0xb8, 0xfd, 0xa1, 0xc6, + 0x81, 0xfd, 0x59, 0x83, 0x83, 0x11, 0x5a, 0xc6, 0x7d, 0x90, 0xac, 0x6b, 0xfc, 0x1b, 0x8c, 0x08, + 0x6e, 0x4c, 0x4f, 0x26, 0x9a, 0x8e, 0xec, 0xaa, 0xf0, 0x6d, 0x29, 0x53, 0x40, 0x9f, 0x81, 0x61, + 0xdc, 0xac, 0xb8, 0x83, 0xa4, 0x37, 0x3a, 0x11, 0x8a, 0xc6, 0xfa, 0xde, 0xd4, 0xb1, 0xfe, 0x6b, + 0x12, 0x88, 0x40, 0xe7, 0x5d, 0xdf, 0x37, 0xa4, 0x27, 0xf3, 0x19, 0x38, 0x12, 0xcd, 0x26, 0x5c, + 0x0d, 0x26, 0x33, 0x82, 0x55, 0xcf, 0x37, 0xdc, 0x3a, 0xf2, 0x63, 0x4d, 0x3b, 0x18, 0xac, 0x7a, + 0x6c, 0x6a, 0x30, 0xeb, 0xdd, 0x42, 0x46, 0xd3, 0xb1, 0x37, 0xda, 0x9e, 0x8f, 0x1a, 0xe1, 0xb1, + 0x34, 0x9e, 0x26, 0x5c, 0x99, 0xe2, 0xa4, 0xa3, 0x95, 0xe9, 0x35, 0xbc, 0x91, 0x0a, 0x57, 0x26, + 0x64, 0x58, 0xfe, 0x76, 0x5f, 0x97, 0x93, 0xff, 0xc1, 0x87, 0x30, 0x46, 0x7f, 0x9f, 0x57, 0x95, + 0xbb, 0x5a, 0xcc, 0x84, 0x6b, 0xc8, 0x0e, 0xaa, 0xd5, 0x71, 0xb1, 0xb7, 0xb7, 0xdb, 0x6e, 0x57, + 0x82, 0x11, 0xec, 0x71, 0x42, 0x8b, 0xf8, 0xba, 0x28, 0xf4, 0x00, 0xc5, 0xd3, 0x38, 0x12, 0x25, + 0xec, 0x9e, 0xe0, 0x38, 0xb0, 0x2b, 0x7d, 0xb0, 0x5b, 0x1a, 0x8f, 0x84, 0xae, 0xbb, 0x68, 0xcd, + 0xb4, 0x91, 0xfb, 0x85, 0x2d, 0x15, 0xff, 0x85, 0x7d, 0x05, 0x2c, 0x99, 0xfe, 0x6c, 0x4d, 0xbe, + 0x4d, 0x4e, 0x6c, 0x91, 0xea, 0x0a, 0xda, 0x0a, 0x94, 0xb7, 0xbf, 0x30, 0x53, 0x5f, 0x81, 0x92, + 0x88, 0x4f, 0x7f, 0xac, 0xfd, 0x9d, 0x16, 0x9b, 0x58, 0x37, 0xe8, 0xc2, 0xd0, 0xc3, 0x6a, 0x38, + 0x01, 0x60, 0xf1, 0x37, 0xdf, 0xb1, 0x94, 0xce, 0x8c, 0x36, 0x94, 0x67, 0x46, 0x4b, 0xdf, 0xbd, + 0x7c, 0x12, 0xdf, 0xbd, 0x50, 0xfe, 0x15, 0x54, 0x35, 0x2c, 0xeb, 0x51, 0x35, 0x20, 0x40, 0x0f, + 0x67, 0x10, 0x3c, 0x55, 0xef, 0xab, 0x44, 0xdf, 0x9c, 0x71, 0x24, 0x3a, 0xa4, 0x73, 0x1d, 0x98, + 0x79, 0x5f, 0x1b, 0x5d, 0x6b, 0x0e, 0xc4, 0xae, 0x35, 0x13, 0x11, 0x10, 0x83, 0x8a, 0x91, 0x2d, + 0x3c, 0x70, 0x3c, 0xa4, 0x82, 0xf1, 0x2c, 0x6a, 0x49, 0xcf, 0x62, 0xb4, 0x95, 0x88, 0xd2, 0x54, + 0x02, 0x70, 0x18, 0xad, 0x03, 0x02, 0xc7, 0xf5, 0x93, 0x70, 0xbc, 0x61, 0xd6, 0x5d, 0xfc, 0x29, + 0xb8, 0x3f, 0x15, 0x67, 0x72, 0xc6, 0x9d, 0xe6, 0x8c, 0x63, 0xc3, 0x76, 0x4a, 0xdf, 0xd5, 0xc8, + 0x46, 0x31, 0xca, 0x8f, 0x85, 0x21, 0x39, 0xb6, 0x2d, 0x77, 0x99, 0xa8, 0xc4, 0xb7, 0x9c, 0x83, + 0x83, 0x35, 0x66, 0xf7, 0x47, 0xb8, 0xb3, 0x89, 0x1c, 0xe7, 0x8b, 0x30, 0x25, 0xe7, 0x14, 0xd1, + 0x77, 0xf0, 0x45, 0xad, 0x48, 0x72, 0xc5, 0xf4, 0xaa, 0xfd, 0x30, 0x80, 0xa3, 0x76, 0x19, 0x2e, + 0x65, 0x02, 0x46, 0xec, 0xde, 0x21, 0x5e, 0xcd, 0x8e, 0x34, 0x39, 0x6f, 0x2a, 0x55, 0x6c, 0x66, + 0xe7, 0x50, 0x77, 0xf4, 0x9e, 0x23, 0x53, 0xaa, 0x98, 0x45, 0x44, 0xb6, 0x8a, 0xdd, 0x03, 0xbc, + 0x94, 0x52, 0x35, 0xaa, 0x1f, 0xbb, 0xc9, 0xb1, 0x3f, 0x1d, 0x24, 0xab, 0xea, 0xd6, 0x70, 0x8f, + 0x47, 0x7d, 0xad, 0xba, 0xc1, 0xdc, 0x55, 0x47, 0x59, 0xc4, 0x07, 0x11, 0x0e, 0x8d, 0xac, 0xbb, + 0x08, 0x35, 0x90, 0xed, 0x5f, 0x6f, 0x22, 0x5b, 0x1e, 0xa4, 0xd8, 0x74, 0x9d, 0x5d, 0xb3, 0x16, + 0xab, 0xb0, 0x58, 0x4a, 0x40, 0xaf, 0xd6, 0x22, 0x03, 0x9b, 0x9e, 0x92, 0xa3, 0xef, 0x20, 0xaf, + 0x6a, 0x34, 0x8d, 0xaa, 0xe9, 0xb7, 0xa9, 0xab, 0x31, 0xfa, 0xe6, 0xa8, 0xbf, 0x8a, 0x9d, 0x0e, + 0x11, 0xa7, 0x65, 0xcb, 0x91, 0x6e, 0xb1, 0x26, 0xe1, 0x80, 0x11, 0xca, 0x46, 0xac, 0xe2, 0x49, + 0x9c, 0xfa, 0xef, 0x91, 0x8d, 0x43, 0x47, 0x3f, 0x65, 0xb1, 0x6a, 0x07, 0x12, 0xbd, 0x41, 0x05, + 0x87, 0x99, 0x2a, 0xa7, 0x8f, 0xd6, 0x44, 0x22, 0x5d, 0x91, 0xd6, 0x0a, 0xea, 0x2f, 0xad, 0x50, + 0x1f, 0x4f, 0x2b, 0x4c, 0xcf, 0xa0, 0xb5, 0x42, 0xdb, 0xb3, 0x5f, 0xb5, 0x55, 0xe3, 0xf4, 0x85, + 0xb4, 0xf8, 0x74, 0x8e, 0xd6, 0x09, 0xec, 0x82, 0x88, 0x58, 0x45, 0x1d, 0xfa, 0xbd, 0x61, 0xdc, + 0x79, 0xd6, 0x69, 0x9f, 0xcc, 0x5c, 0x89, 0x55, 0x06, 0x5d, 0x0d, 0x86, 0x82, 0x41, 0x83, 0x99, + 0x7d, 0x1e, 0x21, 0x6d, 0x58, 0xbb, 0xbe, 0x0a, 0x23, 0x46, 0xb5, 0x8a, 0x3c, 0x6f, 0xdd, 0xb1, + 0xcc, 0x6a, 0x9b, 0xee, 0x5b, 0x92, 0xe1, 0x1d, 0xe1, 0x70, 0x5b, 0x8c, 0x09, 0x57, 0x98, 0xa2, + 0xba, 0x07, 0x27, 0x43, 0x29, 0xe2, 0x99, 0xb1, 0xc8, 0x14, 0x80, 0x6c, 0xc3, 0xf2, 0xdb, 0xc4, + 0x8b, 0xb1, 0x34, 0x1f, 0x90, 0xfd, 0xe4, 0xfe, 0x99, 0x93, 0x84, 0x9a, 0x57, 0xdb, 0x29, 0x9b, + 0xce, 0x5c, 0xc3, 0xf0, 0xb7, 0xcb, 0xcf, 0xa1, 0xba, 0x51, 0x0d, 0x3a, 0xc4, 0xc7, 0x1f, 0xcc, + 0x02, 0xb5, 0x76, 0x05, 0x55, 0x2b, 0x32, 0xad, 0x01, 0x68, 0xd5, 0xb1, 0xbd, 0x56, 0x43, 0x0c, + 0xba, 0xb7, 0x6b, 0x50, 0x89, 0x56, 0xfd, 0x22, 0x1c, 0x0a, 0xfb, 0x6f, 0x18, 0x91, 0x44, 0x9c, + 0x27, 0x7c, 0x32, 0x23, 0x69, 0xdc, 0xc6, 0x92, 0xfb, 0x38, 0x49, 0x92, 0x1c, 0x48, 0x86, 0x9d, + 0x2f, 0xd4, 0xb9, 0x9f, 0x48, 0x72, 0xc9, 0x8c, 0x24, 0xd5, 0x09, 0x9c, 0x24, 0x49, 0x4e, 0x8e, + 0xa9, 0x62, 0xac, 0x93, 0xbe, 0x64, 0xfa, 0xdb, 0x35, 0xd7, 0xb8, 0xb5, 0x64, 0x58, 0x81, 0x89, + 0x3d, 0xcc, 0xbf, 0x65, 0xd0, 0x63, 0xbb, 0x13, 0xd6, 0xab, 0x2d, 0xc8, 0xe1, 0x68, 0xfd, 0x90, + 0xdc, 0x7e, 0x87, 0xb4, 0x88, 0x73, 0x7b, 0x99, 0xab, 0xc7, 0x9e, 0xc8, 0xd9, 0xe8, 0x16, 0xd5, + 0x13, 0xaa, 0xa5, 0xc3, 0x5d, 0x90, 0x93, 0x8b, 0x1c, 0x6d, 0xba, 0x9e, 0xc9, 0x11, 0x3d, 0x22, + 0x72, 0x6c, 0x8e, 0x0a, 0xb9, 0x15, 0xae, 0xb7, 0xf4, 0xa9, 0xe6, 0x56, 0xd8, 0x05, 0x56, 0x90, + 0x93, 0x8b, 0x5c, 0x7f, 0x6b, 0x4e, 0x44, 0x8e, 0xcd, 0xe1, 0xc8, 0xfd, 0x8a, 0xde, 0xed, 0x30, + 0xe4, 0xe2, 0x53, 0x5b, 0x0f, 0xcc, 0xf8, 0x19, 0x75, 0xb0, 0xeb, 0x19, 0x95, 0x23, 0xdd, 0x26, + 0x57, 0x78, 0xb4, 0x18, 0x0e, 0x1c, 0xc0, 0x97, 0xea, 0x3d, 0x70, 0x8d, 0x85, 0x45, 0x90, 0x7d, + 0x5d, 0xf8, 0xc9, 0x41, 0xff, 0x2f, 0x3e, 0x46, 0x33, 0xd0, 0x99, 0x21, 0x17, 0xfd, 0xc2, 0x7e, + 0x85, 0x59, 0x5a, 0x33, 0xcf, 0x89, 0x19, 0xb0, 0x9c, 0xf2, 0xe3, 0xf8, 0x18, 0x1a, 0x2a, 0x0f, + 0xd7, 0xf3, 0x85, 0xbf, 0x2e, 0xc2, 0xe0, 0x9a, 0x57, 0xd7, 0x6f, 0xc2, 0x08, 0xf3, 0x2c, 0x6b, + 0x32, 0xd1, 0x8a, 0xdc, 0xdb, 0xa7, 0xe2, 0xc5, 0x2c, 0x89, 0xe8, 0x98, 0x5c, 0x85, 0x43, 0xfc, + 0xcb, 0xa8, 0xc7, 0x45, 0x85, 0x39, 0xa1, 0xe2, 0x65, 0x05, 0xa1, 0x08, 0xe4, 0x55, 0x38, 0xc8, + 0x3e, 0x40, 0x3a, 0x2b, 0x2d, 0x1d, 0x88, 0x14, 0x2f, 0x65, 0x8a, 0x44, 0xea, 0x5f, 0x86, 0x83, + 0xec, 0x26, 0x5e, 0xac, 0x3e, 0x2e, 0x52, 0x3c, 0x2f, 0x15, 0x89, 0x54, 0xbf, 0x02, 0xa3, 0xdc, + 0x5e, 0xbc, 0x24, 0x2d, 0x88, 0x65, 0x54, 0x95, 0xbf, 0x01, 0xe3, 0xe9, 0x1b, 0xf1, 0x59, 0x39, + 0x0e, 0x27, 0xde, 0x0b, 0x64, 0xb4, 0xc9, 0x56, 0x83, 0x0c, 0xc5, 0xbb, 0x81, 0x4c, 0x6c, 0xa0, + 0xe5, 0x90, 0xbc, 0xb8, 0x2a, 0xe4, 0x16, 0x1c, 0x4e, 0xbc, 0x3e, 0x3b, 0x27, 0x2c, 0xca, 0x49, + 0x15, 0x67, 0x54, 0xa4, 0xc4, 0x38, 0x74, 0x4e, 0xc8, 0xc0, 0x21, 0x52, 0x59, 0x38, 0xdc, 0x2b, + 0x2d, 0x06, 0x87, 0x3e, 0xbf, 0xca, 0xc0, 0x21, 0x52, 0x59, 0x38, 0xdc, 0x8b, 0x2a, 0x0b, 0x74, + 0xc1, 0x4b, 0xa9, 0x29, 0xb9, 0x8e, 0x50, 0xae, 0x58, 0x56, 0x93, 0x8b, 0xd0, 0x9e, 0x87, 0xfd, + 0x9d, 0xc7, 0x4c, 0xa7, 0x45, 0x85, 0xa3, 0x6c, 0x71, 0xc3, 0x27, 0x9f, 0x20, 0xbd, 0x04, 0x07, + 0xe2, 0x8f, 0x46, 0xce, 0x88, 0x4a, 0xc5, 0x04, 0x8a, 0x17, 0x32, 0x04, 0xe2, 0x33, 0x18, 0xfb, + 0x54, 0xe9, 0x6c, 0x6a, 0xc9, 0x50, 0x44, 0x3c, 0x83, 0x09, 0x1f, 0x1c, 0x05, 0xb3, 0x30, 0xff, + 0xd8, 0xe8, 0x71, 0x69, 0x69, 0x22, 0x24, 0x9e, 0x85, 0x53, 0x1e, 0x01, 0xe9, 0xef, 0x68, 0x50, + 0x94, 0xbc, 0x00, 0x2a, 0x4b, 0x75, 0x25, 0xe4, 0x8b, 0x4f, 0xe7, 0x93, 0x8f, 0x68, 0x20, 0xd0, + 0x05, 0x0f, 0x64, 0xa6, 0x52, 0xb5, 0x31, 0x72, 0x92, 0x16, 0xe3, 0xfa, 0x72, 0x1b, 0x4e, 0x49, + 0x5f, 0xc5, 0x5c, 0xc9, 0x50, 0x94, 0x28, 0xa1, 0x0e, 0x5d, 0x87, 0xa3, 0xa2, 0xd7, 0x2f, 0x17, + 0x32, 0x11, 0x89, 0xa0, 0x3a, 0xd0, 0x9b, 0x30, 0x91, 0xf1, 0xda, 0x65, 0x21, 0x43, 0x95, 0xa0, + 0x8c, 0x3a, 0xfc, 0x0f, 0x34, 0x98, 0xc9, 0xf5, 0x02, 0xe4, 0xdf, 0xf3, 0xb3, 0x61, 0x35, 0xa8, + 0x73, 0xfb, 0x91, 0x06, 0xb3, 0xf9, 0xde, 0xdb, 0x2c, 0x76, 0x4f, 0x8e, 0xaa, 0x50, 0x67, 0xe7, + 0xc0, 0x71, 0xf1, 0x7b, 0x92, 0xf4, 0x39, 0x83, 0x17, 0x95, 0x8c, 0x7d, 0x41, 0x58, 0xf0, 0x9b, + 0x74, 0x34, 0xa4, 0xbd, 0x10, 0xb9, 0xa2, 0x8c, 0x4b, 0x4b, 0xe4, 0x83, 0xbf, 0x05, 0xe3, 0xe9, + 0x6f, 0x3f, 0x66, 0x95, 0xb1, 0x03, 0xf1, 0x7c, 0xc0, 0xff, 0x07, 0x27, 0x65, 0xcf, 0x3e, 0xe6, + 0x94, 0xa1, 0xe9, 0xae, 0x34, 0x17, 0xf8, 0x0e, 0x9d, 0x07, 0xb8, 0x27, 0x1f, 0x17, 0x14, 0x74, + 0x04, 0x82, 0xf9, 0xc0, 0x5a, 0x50, 0x48, 0x7d, 0xa2, 0x31, 0xa3, 0x88, 0x88, 0xa5, 0x7b, 0xb5, + 0x11, 0x3f, 0xa5, 0x50, 0xb1, 0x31, 0x10, 0xcc, 0x07, 0xf6, 0x06, 0x9c, 0x48, 0x79, 0x3e, 0x31, + 0xad, 0xa4, 0x86, 0x8c, 0xd2, 0x5c, 0x90, 0x77, 0xe0, 0xb4, 0xfc, 0x45, 0xc4, 0xbc, 0x3a, 0x72, + 0x57, 0x43, 0xa7, 0x4d, 0x17, 0x6d, 0xf1, 0x63, 0x87, 0xb2, 0x3a, 0x7a, 0xfe, 0xc1, 0x93, 0x9c, + 0x34, 0xd8, 0x87, 0x0e, 0x57, 0xd4, 0xc1, 0xbb, 0x19, 0x3e, 0x4d, 0x28, 0xa4, 0x06, 0xee, 0x0b, + 0x7b, 0x74, 0x9a, 0x74, 0x71, 0x4a, 0x2e, 0x1d, 0x21, 0xda, 0x30, 0x96, 0xf6, 0x96, 0xe1, 0xb2, + 0x12, 0x20, 0x11, 0x56, 0xc6, 0x73, 0x61, 0x3c, 0x3d, 0xe8, 0x7e, 0x36, 0x4b, 0x09, 0x23, 0xae, + 0x8c, 0xc9, 0xd4, 0x2a, 0xf7, 0x14, 0x61, 0x46, 0x0d, 0x32, 0xa7, 0x95, 0x16, 0x9c, 0x48, 0x89, + 0x9b, 0x9f, 0x96, 0x6b, 0x88, 0xcb, 0x2a, 0xa3, 0xbd, 0x0e, 0xc7, 0xc5, 0x6f, 0x08, 0x2e, 0x29, + 0x80, 0xe5, 0xb4, 0xec, 0x55, 0x38, 0xc8, 0xc6, 0xdd, 0x0b, 0x4f, 0x05, 0x8c, 0x88, 0xf8, 0x54, + 0x20, 0x8e, 0xb2, 0xb7, 0x40, 0x17, 0x84, 0xca, 0x4f, 0xa5, 0x2b, 0x88, 0xcb, 0x89, 0x8f, 0x63, + 0x92, 0x90, 0xf7, 0xe0, 0x78, 0x20, 0x09, 0x33, 0x4f, 0x53, 0x97, 0x22, 0x2f, 0x3e, 0x1e, 0x64, + 0x47, 0x8e, 0xeb, 0x37, 0x61, 0x84, 0x09, 0x1b, 0x9f, 0x4c, 0xd7, 0x43, 0x24, 0xc4, 0xce, 0x2e, + 0x51, 0x8c, 0xb8, 0x7e, 0x13, 0x46, 0xb9, 0xcb, 0x31, 0xa1, 0x37, 0x87, 0x95, 0x29, 0x9e, 0x93, + 0xc9, 0xc4, 0x1a, 0x6b, 0x2c, 0xed, 0x4e, 0xe3, 0xb2, 0x4c, 0x01, 0x27, 0xac, 0x88, 0x76, 0x1b, + 0x4e, 0xcb, 0xaf, 0x2a, 0xe6, 0x65, 0x6a, 0x84, 0x45, 0x7a, 0x46, 0xa6, 0xde, 0xf4, 0x3c, 0xc8, + 0xa4, 0x48, 0xb7, 0xc8, 0xfc, 0x25, 0x83, 0x02, 0x32, 0x57, 0xa4, 0x67, 0x64, 0x75, 0x9b, 0xb9, + 0x22, 0x8a, 0xc8, 0x2e, 0x14, 0x25, 0xd7, 0x03, 0xe5, 0x6c, 0xd8, 0xb8, 0xbc, 0x22, 0xe6, 0x26, + 0xe8, 0x02, 0xf7, 0xfe, 0x94, 0xac, 0x6c, 0x47, 0x4e, 0x11, 0xa3, 0x06, 0x47, 0x45, 0x7e, 0xfc, + 0x0b, 0x99, 0x20, 0x74, 0x23, 0xa1, 0x86, 0x12, 0x1b, 0xef, 0xd4, 0x3b, 0x27, 0x1d, 0xef, 0xd4, + 0x37, 0xa7, 0xa6, 0xfb, 0x35, 0x18, 0xe5, 0x9e, 0x86, 0x08, 0x75, 0xb3, 0x32, 0xe2, 0xb9, 0x4a, + 0xf8, 0x68, 0x65, 0x13, 0x0e, 0x27, 0x5e, 0x88, 0x9c, 0x4b, 0x2f, 0xdd, 0x91, 0xca, 0x81, 0xb1, + 0x0d, 0x47, 0x45, 0x2f, 0x45, 0x2e, 0xa4, 0x2b, 0x60, 0x04, 0xbb, 0x46, 0x8a, 0xd6, 0xb2, 0x2c, + 0xa4, 0x68, 0x31, 0x53, 0x47, 0xaa, 0xc1, 0x91, 0xe4, 0xe3, 0x8c, 0xf3, 0x59, 0x38, 0x58, 0xac, + 0xbb, 0xd6, 0x89, 0x1e, 0x20, 0x48, 0x5b, 0x27, 0x94, 0xca, 0x81, 0xb1, 0x05, 0xba, 0xe0, 0x2d, + 0xc1, 0x54, 0x26, 0x0a, 0x96, 0xcb, 0x81, 0xf3, 0x22, 0x40, 0xec, 0x15, 0xc1, 0x44, 0x7a, 0x39, + 0xec, 0x89, 0x55, 0xd7, 0x7b, 0x13, 0x46, 0x98, 0x20, 0xfe, 0x49, 0xc9, 0xf8, 0xc0, 0x12, 0x32, + 0xdd, 0x6c, 0x4c, 0xbd, 0x6e, 0xc1, 0x71, 0x71, 0x40, 0xfd, 0x25, 0x19, 0x3d, 0x46, 0x34, 0x87, + 0x25, 0x4d, 0x18, 0x4b, 0x0b, 0xaf, 0xbf, 0x9c, 0x89, 0xd7, 0xd5, 0xc8, 0x6c, 0x85, 0xf6, 0xf1, + 0xd1, 0xf6, 0x12, 0xfb, 0x38, 0xd1, 0xe2, 0xbc, 0x82, 0x28, 0x07, 0xbb, 0x0b, 0x27, 0x52, 0x62, + 0xe7, 0xa7, 0xd3, 0x95, 0xf1, 0xb2, 0xc5, 0x2b, 0xd9, 0xb2, 0x1c, 0xee, 0x1d, 0x18, 0x4f, 0x8f, + 0x65, 0x9f, 0x95, 0xaa, 0xe3, 0xc5, 0x8b, 0x4f, 0x28, 0x89, 0x27, 0xc6, 0xda, 0xe1, 0x44, 0x08, + 0xb3, 0x78, 0x3c, 0x73, 0x52, 0xe2, 0x1b, 0x96, 0xd4, 0xa8, 0x64, 0x06, 0x47, 0x76, 0x63, 0xc4, + 0x4b, 0x65, 0xe1, 0x70, 0x37, 0x46, 0x5f, 0xd3, 0xe0, 0xa4, 0x2c, 0x3a, 0x78, 0x4e, 0xae, 0x2d, + 0x51, 0xa0, 0xf8, 0x2f, 0x39, 0x0b, 0x44, 0x4c, 0xde, 0xd5, 0x60, 0x22, 0x23, 0xd2, 0x77, 0x41, + 0x55, 0x77, 0xa7, 0x4c, 0xf1, 0x6a, 0xfe, 0x32, 0x31, 0xa7, 0xe0, 0x58, 0x5a, 0x70, 0xef, 0x65, + 0xb9, 0x5a, 0x46, 0x38, 0xa5, 0xa7, 0xc9, 0x03, 0x76, 0xf1, 0x31, 0x4b, 0x12, 0xae, 0x5b, 0x56, + 0xd1, 0x19, 0xab, 0x87, 0xa7, 0xf3, 0xc9, 0xcb, 0xea, 0x20, 0x8c, 0xd2, 0x55, 0xaa, 0x03, 0x2a, + 0xac, 0x56, 0x07, 0x5c, 0xe4, 0x6d, 0x71, 0xf8, 0x4b, 0x0f, 0xee, 0x4d, 0x6b, 0x4b, 0xf3, 0x1f, + 0x7e, 0x3a, 0xa1, 0x7d, 0xf4, 0xe9, 0x84, 0xf6, 0xf7, 0x4f, 0x27, 0xb4, 0x77, 0x3f, 0x9b, 0xd8, + 0xf3, 0xd1, 0x67, 0x13, 0x7b, 0xfe, 0xf2, 0xd9, 0xc4, 0x9e, 0x9b, 0x63, 0xc9, 0xff, 0xf1, 0x15, + 0x47, 0x0e, 0x6e, 0xee, 0xc5, 0xff, 0x59, 0xed, 0x13, 0xff, 0x0c, 0x00, 0x00, 0xff, 0xff, 0xce, + 0x90, 0x3b, 0x39, 0x06, 0x58, 0x00, 0x00, +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// MsgClient is the client API for Msg service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type MsgClient interface { + // UpdateParams defines a (governance) operation for updating the module + // parameters. The authority defaults to the x/gov module account. + UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error) + AddressRegister(ctx context.Context, in *MsgAddressRegister, opts ...grpc.CallOption) (*MsgAddressRegisterResponse, error) + AddressRevoke(ctx context.Context, in *MsgAddressRevoke, opts ...grpc.CallOption) (*MsgAddressRevokeResponse, error) + AgreementOpen(ctx context.Context, in *MsgAgreementOpen, opts ...grpc.CallOption) (*MsgAgreementResponse, error) + AgreementClose(ctx context.Context, in *MsgAgreementClose, opts ...grpc.CallOption) (*MsgAgreementResponse, error) + AgreementCapacityIncrease(ctx context.Context, in *MsgAgreementCapacityIncrease, opts ...grpc.CallOption) (*MsgAgreementResponse, error) + AgreementCapacityDecrease(ctx context.Context, in *MsgAgreementCapacityDecrease, opts ...grpc.CallOption) (*MsgAgreementResponse, error) + AgreementDurationIncrease(ctx context.Context, in *MsgAgreementDurationIncrease, opts ...grpc.CallOption) (*MsgAgreementResponse, error) + AllocationCreate(ctx context.Context, in *MsgAllocationCreate, opts ...grpc.CallOption) (*MsgAllocationCreateResponse, error) + AllocationDelete(ctx context.Context, in *MsgAllocationDelete, opts ...grpc.CallOption) (*MsgAllocationDeleteResponse, error) + AllocationUpdate(ctx context.Context, in *MsgAllocationUpdate, opts ...grpc.CallOption) (*MsgAllocationUpdateResponse, error) + AllocationTransfer(ctx context.Context, in *MsgAllocationTransfer, opts ...grpc.CallOption) (*MsgAllocationTransferResponse, error) + FleetMove(ctx context.Context, in *MsgFleetMove, opts ...grpc.CallOption) (*MsgFleetMoveResponse, error) + GuildCreate(ctx context.Context, in *MsgGuildCreate, opts ...grpc.CallOption) (*MsgGuildCreateResponse, error) + GuildBankMint(ctx context.Context, in *MsgGuildBankMint, opts ...grpc.CallOption) (*MsgGuildBankMintResponse, error) + GuildBankRedeem(ctx context.Context, in *MsgGuildBankRedeem, opts ...grpc.CallOption) (*MsgGuildBankRedeemResponse, error) + GuildBankConfiscateAndBurn(ctx context.Context, in *MsgGuildBankConfiscateAndBurn, opts ...grpc.CallOption) (*MsgGuildBankConfiscateAndBurnResponse, error) + GuildUpdateOwnerId(ctx context.Context, in *MsgGuildUpdateOwnerId, opts ...grpc.CallOption) (*MsgGuildUpdateResponse, error) + GuildUpdateEntrySubstationId(ctx context.Context, in *MsgGuildUpdateEntrySubstationId, opts ...grpc.CallOption) (*MsgGuildUpdateResponse, error) + GuildUpdateEndpoint(ctx context.Context, in *MsgGuildUpdateEndpoint, opts ...grpc.CallOption) (*MsgGuildUpdateResponse, error) + GuildUpdateJoinInfusionMinimum(ctx context.Context, in *MsgGuildUpdateJoinInfusionMinimum, opts ...grpc.CallOption) (*MsgGuildUpdateResponse, error) + GuildUpdateJoinInfusionMinimumBypassByInvite(ctx context.Context, in *MsgGuildUpdateJoinInfusionMinimumBypassByInvite, opts ...grpc.CallOption) (*MsgGuildUpdateResponse, error) + GuildUpdateJoinInfusionMinimumBypassByRequest(ctx context.Context, in *MsgGuildUpdateJoinInfusionMinimumBypassByRequest, opts ...grpc.CallOption) (*MsgGuildUpdateResponse, error) + GuildMembershipInvite(ctx context.Context, in *MsgGuildMembershipInvite, opts ...grpc.CallOption) (*MsgGuildMembershipResponse, error) + GuildMembershipInviteApprove(ctx context.Context, in *MsgGuildMembershipInviteApprove, opts ...grpc.CallOption) (*MsgGuildMembershipResponse, error) + GuildMembershipInviteDeny(ctx context.Context, in *MsgGuildMembershipInviteDeny, opts ...grpc.CallOption) (*MsgGuildMembershipResponse, error) + GuildMembershipInviteRevoke(ctx context.Context, in *MsgGuildMembershipInviteRevoke, opts ...grpc.CallOption) (*MsgGuildMembershipResponse, error) + GuildMembershipJoin(ctx context.Context, in *MsgGuildMembershipJoin, opts ...grpc.CallOption) (*MsgGuildMembershipResponse, error) + GuildMembershipJoinProxy(ctx context.Context, in *MsgGuildMembershipJoinProxy, opts ...grpc.CallOption) (*MsgGuildMembershipResponse, error) + GuildMembershipKick(ctx context.Context, in *MsgGuildMembershipKick, opts ...grpc.CallOption) (*MsgGuildMembershipResponse, error) + GuildMembershipRequest(ctx context.Context, in *MsgGuildMembershipRequest, opts ...grpc.CallOption) (*MsgGuildMembershipResponse, error) + GuildMembershipRequestApprove(ctx context.Context, in *MsgGuildMembershipRequestApprove, opts ...grpc.CallOption) (*MsgGuildMembershipResponse, error) + GuildMembershipRequestDeny(ctx context.Context, in *MsgGuildMembershipRequestDeny, opts ...grpc.CallOption) (*MsgGuildMembershipResponse, error) + GuildMembershipRequestRevoke(ctx context.Context, in *MsgGuildMembershipRequestRevoke, opts ...grpc.CallOption) (*MsgGuildMembershipResponse, error) + PermissionGrantOnAddress(ctx context.Context, in *MsgPermissionGrantOnAddress, opts ...grpc.CallOption) (*MsgPermissionResponse, error) + PermissionGrantOnObject(ctx context.Context, in *MsgPermissionGrantOnObject, opts ...grpc.CallOption) (*MsgPermissionResponse, error) + PermissionRevokeOnAddress(ctx context.Context, in *MsgPermissionRevokeOnAddress, opts ...grpc.CallOption) (*MsgPermissionResponse, error) + PermissionRevokeOnObject(ctx context.Context, in *MsgPermissionRevokeOnObject, opts ...grpc.CallOption) (*MsgPermissionResponse, error) + PermissionSetOnAddress(ctx context.Context, in *MsgPermissionSetOnAddress, opts ...grpc.CallOption) (*MsgPermissionResponse, error) + PermissionSetOnObject(ctx context.Context, in *MsgPermissionSetOnObject, opts ...grpc.CallOption) (*MsgPermissionResponse, error) + PlanetExplore(ctx context.Context, in *MsgPlanetExplore, opts ...grpc.CallOption) (*MsgPlanetExploreResponse, error) + PlanetRaidComplete(ctx context.Context, in *MsgPlanetRaidComplete, opts ...grpc.CallOption) (*MsgPlanetRaidCompleteResponse, error) + PlayerUpdatePrimaryAddress(ctx context.Context, in *MsgPlayerUpdatePrimaryAddress, opts ...grpc.CallOption) (*MsgPlayerUpdatePrimaryAddressResponse, error) + PlayerResume(ctx context.Context, in *MsgPlayerResume, opts ...grpc.CallOption) (*MsgPlayerResumeResponse, error) + ProviderCreate(ctx context.Context, in *MsgProviderCreate, opts ...grpc.CallOption) (*MsgProviderResponse, error) + ProviderWithdrawBalance(ctx context.Context, in *MsgProviderWithdrawBalance, opts ...grpc.CallOption) (*MsgProviderResponse, error) + ProviderUpdateCapacityMinimum(ctx context.Context, in *MsgProviderUpdateCapacityMinimum, opts ...grpc.CallOption) (*MsgProviderResponse, error) + ProviderUpdateCapacityMaximum(ctx context.Context, in *MsgProviderUpdateCapacityMaximum, opts ...grpc.CallOption) (*MsgProviderResponse, error) + ProviderUpdateDurationMinimum(ctx context.Context, in *MsgProviderUpdateDurationMinimum, opts ...grpc.CallOption) (*MsgProviderResponse, error) + ProviderUpdateDurationMaximum(ctx context.Context, in *MsgProviderUpdateDurationMaximum, opts ...grpc.CallOption) (*MsgProviderResponse, error) + ProviderUpdateAccessPolicy(ctx context.Context, in *MsgProviderUpdateAccessPolicy, opts ...grpc.CallOption) (*MsgProviderResponse, error) + ProviderGuildGrant(ctx context.Context, in *MsgProviderGuildGrant, opts ...grpc.CallOption) (*MsgProviderResponse, error) + ProviderGuildRevoke(ctx context.Context, in *MsgProviderGuildRevoke, opts ...grpc.CallOption) (*MsgProviderResponse, error) + ProviderDelete(ctx context.Context, in *MsgProviderDelete, opts ...grpc.CallOption) (*MsgProviderResponse, error) + StructActivate(ctx context.Context, in *MsgStructActivate, opts ...grpc.CallOption) (*MsgStructStatusResponse, error) + StructDeactivate(ctx context.Context, in *MsgStructDeactivate, opts ...grpc.CallOption) (*MsgStructStatusResponse, error) + StructBuildInitiate(ctx context.Context, in *MsgStructBuildInitiate, opts ...grpc.CallOption) (*MsgStructStatusResponse, error) + StructBuildComplete(ctx context.Context, in *MsgStructBuildComplete, opts ...grpc.CallOption) (*MsgStructStatusResponse, error) + StructBuildCancel(ctx context.Context, in *MsgStructBuildCancel, opts ...grpc.CallOption) (*MsgStructStatusResponse, error) + StructDefenseSet(ctx context.Context, in *MsgStructDefenseSet, opts ...grpc.CallOption) (*MsgStructStatusResponse, error) + StructDefenseClear(ctx context.Context, in *MsgStructDefenseClear, opts ...grpc.CallOption) (*MsgStructStatusResponse, error) + StructMove(ctx context.Context, in *MsgStructMove, opts ...grpc.CallOption) (*MsgStructStatusResponse, error) + StructAttack(ctx context.Context, in *MsgStructAttack, opts ...grpc.CallOption) (*MsgStructAttackResponse, error) + StructStealthActivate(ctx context.Context, in *MsgStructStealthActivate, opts ...grpc.CallOption) (*MsgStructStatusResponse, error) + StructStealthDeactivate(ctx context.Context, in *MsgStructStealthDeactivate, opts ...grpc.CallOption) (*MsgStructStatusResponse, error) + StructGeneratorInfuse(ctx context.Context, in *MsgStructGeneratorInfuse, opts ...grpc.CallOption) (*MsgStructGeneratorStatusResponse, error) + StructOreMinerComplete(ctx context.Context, in *MsgStructOreMinerComplete, opts ...grpc.CallOption) (*MsgStructOreMinerStatusResponse, error) + StructOreRefineryComplete(ctx context.Context, in *MsgStructOreRefineryComplete, opts ...grpc.CallOption) (*MsgStructOreRefineryStatusResponse, error) + SubstationCreate(ctx context.Context, in *MsgSubstationCreate, opts ...grpc.CallOption) (*MsgSubstationCreateResponse, error) + SubstationDelete(ctx context.Context, in *MsgSubstationDelete, opts ...grpc.CallOption) (*MsgSubstationDeleteResponse, error) + SubstationAllocationConnect(ctx context.Context, in *MsgSubstationAllocationConnect, opts ...grpc.CallOption) (*MsgSubstationAllocationConnectResponse, error) + SubstationAllocationDisconnect(ctx context.Context, in *MsgSubstationAllocationDisconnect, opts ...grpc.CallOption) (*MsgSubstationAllocationDisconnectResponse, error) + SubstationPlayerConnect(ctx context.Context, in *MsgSubstationPlayerConnect, opts ...grpc.CallOption) (*MsgSubstationPlayerConnectResponse, error) + SubstationPlayerDisconnect(ctx context.Context, in *MsgSubstationPlayerDisconnect, opts ...grpc.CallOption) (*MsgSubstationPlayerDisconnectResponse, error) + SubstationPlayerMigrate(ctx context.Context, in *MsgSubstationPlayerMigrate, opts ...grpc.CallOption) (*MsgSubstationPlayerMigrateResponse, error) +} + +type msgClient struct { + cc grpc1.ClientConn +} + +func NewMsgClient(cc grpc1.ClientConn) MsgClient { + return &msgClient{cc} +} + +func (c *msgClient) UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error) { + out := new(MsgUpdateParamsResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Msg/UpdateParams", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(MsgServer).AddressRevoke(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/structs.structs.Msg/AddressRevoke", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).AddressRevoke(ctx, req.(*MsgAddressRevoke)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Msg_AllocationCreate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgAllocationCreate) - if err := dec(in); err != nil { +func (c *msgClient) AddressRegister(ctx context.Context, in *MsgAddressRegister, opts ...grpc.CallOption) (*MsgAddressRegisterResponse, error) { + out := new(MsgAddressRegisterResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Msg/AddressRegister", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(MsgServer).AllocationCreate(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/structs.structs.Msg/AllocationCreate", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).AllocationCreate(ctx, req.(*MsgAllocationCreate)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Msg_AllocationDelete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgAllocationDelete) - if err := dec(in); err != nil { +func (c *msgClient) AddressRevoke(ctx context.Context, in *MsgAddressRevoke, opts ...grpc.CallOption) (*MsgAddressRevokeResponse, error) { + out := new(MsgAddressRevokeResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Msg/AddressRevoke", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(MsgServer).AllocationDelete(ctx, in) + return out, nil +} + +func (c *msgClient) AgreementOpen(ctx context.Context, in *MsgAgreementOpen, opts ...grpc.CallOption) (*MsgAgreementResponse, error) { + out := new(MsgAgreementResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Msg/AgreementOpen", in, out, opts...) + if err != nil { + return nil, err } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/structs.structs.Msg/AllocationDelete", + return out, nil +} + +func (c *msgClient) AgreementClose(ctx context.Context, in *MsgAgreementClose, opts ...grpc.CallOption) (*MsgAgreementResponse, error) { + out := new(MsgAgreementResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Msg/AgreementClose", in, out, opts...) + if err != nil { + return nil, err } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).AllocationDelete(ctx, req.(*MsgAllocationDelete)) + return out, nil +} + +func (c *msgClient) AgreementCapacityIncrease(ctx context.Context, in *MsgAgreementCapacityIncrease, opts ...grpc.CallOption) (*MsgAgreementResponse, error) { + out := new(MsgAgreementResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Msg/AgreementCapacityIncrease", in, out, opts...) + if err != nil { + return nil, err } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Msg_AllocationUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgAllocationUpdate) - if err := dec(in); err != nil { +func (c *msgClient) AgreementCapacityDecrease(ctx context.Context, in *MsgAgreementCapacityDecrease, opts ...grpc.CallOption) (*MsgAgreementResponse, error) { + out := new(MsgAgreementResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Msg/AgreementCapacityDecrease", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(MsgServer).AllocationUpdate(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/structs.structs.Msg/AllocationUpdate", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).AllocationUpdate(ctx, req.(*MsgAllocationUpdate)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Msg_AllocationTransfer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgAllocationTransfer) - if err := dec(in); err != nil { +func (c *msgClient) AgreementDurationIncrease(ctx context.Context, in *MsgAgreementDurationIncrease, opts ...grpc.CallOption) (*MsgAgreementResponse, error) { + out := new(MsgAgreementResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Msg/AgreementDurationIncrease", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(MsgServer).AllocationTransfer(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/structs.structs.Msg/AllocationTransfer", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).AllocationTransfer(ctx, req.(*MsgAllocationTransfer)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Msg_FleetMove_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgFleetMove) - if err := dec(in); err != nil { +func (c *msgClient) AllocationCreate(ctx context.Context, in *MsgAllocationCreate, opts ...grpc.CallOption) (*MsgAllocationCreateResponse, error) { + out := new(MsgAllocationCreateResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Msg/AllocationCreate", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(MsgServer).FleetMove(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/structs.structs.Msg/FleetMove", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).FleetMove(ctx, req.(*MsgFleetMove)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Msg_GuildCreate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgGuildCreate) - if err := dec(in); err != nil { +func (c *msgClient) AllocationDelete(ctx context.Context, in *MsgAllocationDelete, opts ...grpc.CallOption) (*MsgAllocationDeleteResponse, error) { + out := new(MsgAllocationDeleteResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Msg/AllocationDelete", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(MsgServer).GuildCreate(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/structs.structs.Msg/GuildCreate", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).GuildCreate(ctx, req.(*MsgGuildCreate)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Msg_GuildUpdateOwnerId_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgGuildUpdateOwnerId) - if err := dec(in); err != nil { +func (c *msgClient) AllocationUpdate(ctx context.Context, in *MsgAllocationUpdate, opts ...grpc.CallOption) (*MsgAllocationUpdateResponse, error) { + out := new(MsgAllocationUpdateResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Msg/AllocationUpdate", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(MsgServer).GuildUpdateOwnerId(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/structs.structs.Msg/GuildUpdateOwnerId", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).GuildUpdateOwnerId(ctx, req.(*MsgGuildUpdateOwnerId)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Msg_GuildUpdateEntrySubstationId_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgGuildUpdateEntrySubstationId) - if err := dec(in); err != nil { +func (c *msgClient) AllocationTransfer(ctx context.Context, in *MsgAllocationTransfer, opts ...grpc.CallOption) (*MsgAllocationTransferResponse, error) { + out := new(MsgAllocationTransferResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Msg/AllocationTransfer", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(MsgServer).GuildUpdateEntrySubstationId(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/structs.structs.Msg/GuildUpdateEntrySubstationId", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).GuildUpdateEntrySubstationId(ctx, req.(*MsgGuildUpdateEntrySubstationId)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Msg_GuildUpdateEndpoint_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgGuildUpdateEndpoint) - if err := dec(in); err != nil { +func (c *msgClient) FleetMove(ctx context.Context, in *MsgFleetMove, opts ...grpc.CallOption) (*MsgFleetMoveResponse, error) { + out := new(MsgFleetMoveResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Msg/FleetMove", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(MsgServer).GuildUpdateEndpoint(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/structs.structs.Msg/GuildUpdateEndpoint", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).GuildUpdateEndpoint(ctx, req.(*MsgGuildUpdateEndpoint)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Msg_GuildUpdateJoinInfusionMinimum_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgGuildUpdateJoinInfusionMinimum) - if err := dec(in); err != nil { +func (c *msgClient) GuildCreate(ctx context.Context, in *MsgGuildCreate, opts ...grpc.CallOption) (*MsgGuildCreateResponse, error) { + out := new(MsgGuildCreateResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Msg/GuildCreate", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(MsgServer).GuildUpdateJoinInfusionMinimum(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/structs.structs.Msg/GuildUpdateJoinInfusionMinimum", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).GuildUpdateJoinInfusionMinimum(ctx, req.(*MsgGuildUpdateJoinInfusionMinimum)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Msg_GuildUpdateJoinInfusionMinimumBypassByInvite_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgGuildUpdateJoinInfusionMinimumBypassByInvite) - if err := dec(in); err != nil { +func (c *msgClient) GuildBankMint(ctx context.Context, in *MsgGuildBankMint, opts ...grpc.CallOption) (*MsgGuildBankMintResponse, error) { + out := new(MsgGuildBankMintResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Msg/GuildBankMint", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(MsgServer).GuildUpdateJoinInfusionMinimumBypassByInvite(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/structs.structs.Msg/GuildUpdateJoinInfusionMinimumBypassByInvite", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).GuildUpdateJoinInfusionMinimumBypassByInvite(ctx, req.(*MsgGuildUpdateJoinInfusionMinimumBypassByInvite)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Msg_GuildUpdateJoinInfusionMinimumBypassByRequest_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgGuildUpdateJoinInfusionMinimumBypassByRequest) - if err := dec(in); err != nil { +func (c *msgClient) GuildBankRedeem(ctx context.Context, in *MsgGuildBankRedeem, opts ...grpc.CallOption) (*MsgGuildBankRedeemResponse, error) { + out := new(MsgGuildBankRedeemResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Msg/GuildBankRedeem", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(MsgServer).GuildUpdateJoinInfusionMinimumBypassByRequest(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/structs.structs.Msg/GuildUpdateJoinInfusionMinimumBypassByRequest", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).GuildUpdateJoinInfusionMinimumBypassByRequest(ctx, req.(*MsgGuildUpdateJoinInfusionMinimumBypassByRequest)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Msg_GuildMembershipInvite_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgGuildMembershipInvite) - if err := dec(in); err != nil { +func (c *msgClient) GuildBankConfiscateAndBurn(ctx context.Context, in *MsgGuildBankConfiscateAndBurn, opts ...grpc.CallOption) (*MsgGuildBankConfiscateAndBurnResponse, error) { + out := new(MsgGuildBankConfiscateAndBurnResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Msg/GuildBankConfiscateAndBurn", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(MsgServer).GuildMembershipInvite(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/structs.structs.Msg/GuildMembershipInvite", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).GuildMembershipInvite(ctx, req.(*MsgGuildMembershipInvite)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Msg_GuildMembershipInviteApprove_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgGuildMembershipInviteApprove) - if err := dec(in); err != nil { +func (c *msgClient) GuildUpdateOwnerId(ctx context.Context, in *MsgGuildUpdateOwnerId, opts ...grpc.CallOption) (*MsgGuildUpdateResponse, error) { + out := new(MsgGuildUpdateResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Msg/GuildUpdateOwnerId", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(MsgServer).GuildMembershipInviteApprove(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/structs.structs.Msg/GuildMembershipInviteApprove", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).GuildMembershipInviteApprove(ctx, req.(*MsgGuildMembershipInviteApprove)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Msg_GuildMembershipInviteDeny_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgGuildMembershipInviteDeny) - if err := dec(in); err != nil { +func (c *msgClient) GuildUpdateEntrySubstationId(ctx context.Context, in *MsgGuildUpdateEntrySubstationId, opts ...grpc.CallOption) (*MsgGuildUpdateResponse, error) { + out := new(MsgGuildUpdateResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Msg/GuildUpdateEntrySubstationId", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(MsgServer).GuildMembershipInviteDeny(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/structs.structs.Msg/GuildMembershipInviteDeny", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).GuildMembershipInviteDeny(ctx, req.(*MsgGuildMembershipInviteDeny)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Msg_GuildMembershipInviteRevoke_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgGuildMembershipInviteRevoke) - if err := dec(in); err != nil { +func (c *msgClient) GuildUpdateEndpoint(ctx context.Context, in *MsgGuildUpdateEndpoint, opts ...grpc.CallOption) (*MsgGuildUpdateResponse, error) { + out := new(MsgGuildUpdateResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Msg/GuildUpdateEndpoint", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(MsgServer).GuildMembershipInviteRevoke(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/structs.structs.Msg/GuildMembershipInviteRevoke", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).GuildMembershipInviteRevoke(ctx, req.(*MsgGuildMembershipInviteRevoke)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Msg_GuildMembershipJoin_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgGuildMembershipJoin) - if err := dec(in); err != nil { +func (c *msgClient) GuildUpdateJoinInfusionMinimum(ctx context.Context, in *MsgGuildUpdateJoinInfusionMinimum, opts ...grpc.CallOption) (*MsgGuildUpdateResponse, error) { + out := new(MsgGuildUpdateResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Msg/GuildUpdateJoinInfusionMinimum", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(MsgServer).GuildMembershipJoin(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/structs.structs.Msg/GuildMembershipJoin", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).GuildMembershipJoin(ctx, req.(*MsgGuildMembershipJoin)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Msg_GuildMembershipJoinProxy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgGuildMembershipJoinProxy) - if err := dec(in); err != nil { +func (c *msgClient) GuildUpdateJoinInfusionMinimumBypassByInvite(ctx context.Context, in *MsgGuildUpdateJoinInfusionMinimumBypassByInvite, opts ...grpc.CallOption) (*MsgGuildUpdateResponse, error) { + out := new(MsgGuildUpdateResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Msg/GuildUpdateJoinInfusionMinimumBypassByInvite", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(MsgServer).GuildMembershipJoinProxy(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/structs.structs.Msg/GuildMembershipJoinProxy", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).GuildMembershipJoinProxy(ctx, req.(*MsgGuildMembershipJoinProxy)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Msg_GuildMembershipKick_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgGuildMembershipKick) - if err := dec(in); err != nil { +func (c *msgClient) GuildUpdateJoinInfusionMinimumBypassByRequest(ctx context.Context, in *MsgGuildUpdateJoinInfusionMinimumBypassByRequest, opts ...grpc.CallOption) (*MsgGuildUpdateResponse, error) { + out := new(MsgGuildUpdateResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Msg/GuildUpdateJoinInfusionMinimumBypassByRequest", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(MsgServer).GuildMembershipKick(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/structs.structs.Msg/GuildMembershipKick", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).GuildMembershipKick(ctx, req.(*MsgGuildMembershipKick)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Msg_GuildMembershipRequest_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgGuildMembershipRequest) - if err := dec(in); err != nil { +func (c *msgClient) GuildMembershipInvite(ctx context.Context, in *MsgGuildMembershipInvite, opts ...grpc.CallOption) (*MsgGuildMembershipResponse, error) { + out := new(MsgGuildMembershipResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Msg/GuildMembershipInvite", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(MsgServer).GuildMembershipRequest(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/structs.structs.Msg/GuildMembershipRequest", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).GuildMembershipRequest(ctx, req.(*MsgGuildMembershipRequest)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Msg_GuildMembershipRequestApprove_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgGuildMembershipRequestApprove) - if err := dec(in); err != nil { +func (c *msgClient) GuildMembershipInviteApprove(ctx context.Context, in *MsgGuildMembershipInviteApprove, opts ...grpc.CallOption) (*MsgGuildMembershipResponse, error) { + out := new(MsgGuildMembershipResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Msg/GuildMembershipInviteApprove", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(MsgServer).GuildMembershipRequestApprove(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/structs.structs.Msg/GuildMembershipRequestApprove", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).GuildMembershipRequestApprove(ctx, req.(*MsgGuildMembershipRequestApprove)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Msg_GuildMembershipRequestDeny_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgGuildMembershipRequestDeny) - if err := dec(in); err != nil { +func (c *msgClient) GuildMembershipInviteDeny(ctx context.Context, in *MsgGuildMembershipInviteDeny, opts ...grpc.CallOption) (*MsgGuildMembershipResponse, error) { + out := new(MsgGuildMembershipResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Msg/GuildMembershipInviteDeny", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(MsgServer).GuildMembershipRequestDeny(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/structs.structs.Msg/GuildMembershipRequestDeny", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).GuildMembershipRequestDeny(ctx, req.(*MsgGuildMembershipRequestDeny)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Msg_GuildMembershipRequestRevoke_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgGuildMembershipRequestRevoke) - if err := dec(in); err != nil { +func (c *msgClient) GuildMembershipInviteRevoke(ctx context.Context, in *MsgGuildMembershipInviteRevoke, opts ...grpc.CallOption) (*MsgGuildMembershipResponse, error) { + out := new(MsgGuildMembershipResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Msg/GuildMembershipInviteRevoke", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(MsgServer).GuildMembershipRequestRevoke(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/structs.structs.Msg/GuildMembershipRequestRevoke", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).GuildMembershipRequestRevoke(ctx, req.(*MsgGuildMembershipRequestRevoke)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Msg_PermissionGrantOnAddress_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgPermissionGrantOnAddress) - if err := dec(in); err != nil { +func (c *msgClient) GuildMembershipJoin(ctx context.Context, in *MsgGuildMembershipJoin, opts ...grpc.CallOption) (*MsgGuildMembershipResponse, error) { + out := new(MsgGuildMembershipResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Msg/GuildMembershipJoin", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(MsgServer).PermissionGrantOnAddress(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/structs.structs.Msg/PermissionGrantOnAddress", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).PermissionGrantOnAddress(ctx, req.(*MsgPermissionGrantOnAddress)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Msg_PermissionGrantOnObject_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgPermissionGrantOnObject) - if err := dec(in); err != nil { +func (c *msgClient) GuildMembershipJoinProxy(ctx context.Context, in *MsgGuildMembershipJoinProxy, opts ...grpc.CallOption) (*MsgGuildMembershipResponse, error) { + out := new(MsgGuildMembershipResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Msg/GuildMembershipJoinProxy", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(MsgServer).PermissionGrantOnObject(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/structs.structs.Msg/PermissionGrantOnObject", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).PermissionGrantOnObject(ctx, req.(*MsgPermissionGrantOnObject)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Msg_PermissionRevokeOnAddress_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgPermissionRevokeOnAddress) - if err := dec(in); err != nil { +func (c *msgClient) GuildMembershipKick(ctx context.Context, in *MsgGuildMembershipKick, opts ...grpc.CallOption) (*MsgGuildMembershipResponse, error) { + out := new(MsgGuildMembershipResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Msg/GuildMembershipKick", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(MsgServer).PermissionRevokeOnAddress(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/structs.structs.Msg/PermissionRevokeOnAddress", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).PermissionRevokeOnAddress(ctx, req.(*MsgPermissionRevokeOnAddress)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Msg_PermissionRevokeOnObject_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgPermissionRevokeOnObject) - if err := dec(in); err != nil { +func (c *msgClient) GuildMembershipRequest(ctx context.Context, in *MsgGuildMembershipRequest, opts ...grpc.CallOption) (*MsgGuildMembershipResponse, error) { + out := new(MsgGuildMembershipResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Msg/GuildMembershipRequest", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(MsgServer).PermissionRevokeOnObject(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/structs.structs.Msg/PermissionRevokeOnObject", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).PermissionRevokeOnObject(ctx, req.(*MsgPermissionRevokeOnObject)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Msg_PermissionSetOnAddress_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgPermissionSetOnAddress) - if err := dec(in); err != nil { +func (c *msgClient) GuildMembershipRequestApprove(ctx context.Context, in *MsgGuildMembershipRequestApprove, opts ...grpc.CallOption) (*MsgGuildMembershipResponse, error) { + out := new(MsgGuildMembershipResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Msg/GuildMembershipRequestApprove", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(MsgServer).PermissionSetOnAddress(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/structs.structs.Msg/PermissionSetOnAddress", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).PermissionSetOnAddress(ctx, req.(*MsgPermissionSetOnAddress)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Msg_PermissionSetOnObject_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgPermissionSetOnObject) - if err := dec(in); err != nil { +func (c *msgClient) GuildMembershipRequestDeny(ctx context.Context, in *MsgGuildMembershipRequestDeny, opts ...grpc.CallOption) (*MsgGuildMembershipResponse, error) { + out := new(MsgGuildMembershipResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Msg/GuildMembershipRequestDeny", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(MsgServer).PermissionSetOnObject(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/structs.structs.Msg/PermissionSetOnObject", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).PermissionSetOnObject(ctx, req.(*MsgPermissionSetOnObject)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Msg_PlanetExplore_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgPlanetExplore) - if err := dec(in); err != nil { +func (c *msgClient) GuildMembershipRequestRevoke(ctx context.Context, in *MsgGuildMembershipRequestRevoke, opts ...grpc.CallOption) (*MsgGuildMembershipResponse, error) { + out := new(MsgGuildMembershipResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Msg/GuildMembershipRequestRevoke", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(MsgServer).PlanetExplore(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/structs.structs.Msg/PlanetExplore", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).PlanetExplore(ctx, req.(*MsgPlanetExplore)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Msg_PlanetRaidComplete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgPlanetRaidComplete) - if err := dec(in); err != nil { +func (c *msgClient) PermissionGrantOnAddress(ctx context.Context, in *MsgPermissionGrantOnAddress, opts ...grpc.CallOption) (*MsgPermissionResponse, error) { + out := new(MsgPermissionResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Msg/PermissionGrantOnAddress", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(MsgServer).PlanetRaidComplete(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/structs.structs.Msg/PlanetRaidComplete", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).PlanetRaidComplete(ctx, req.(*MsgPlanetRaidComplete)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Msg_PlayerUpdatePrimaryAddress_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgPlayerUpdatePrimaryAddress) - if err := dec(in); err != nil { +func (c *msgClient) PermissionGrantOnObject(ctx context.Context, in *MsgPermissionGrantOnObject, opts ...grpc.CallOption) (*MsgPermissionResponse, error) { + out := new(MsgPermissionResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Msg/PermissionGrantOnObject", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(MsgServer).PlayerUpdatePrimaryAddress(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/structs.structs.Msg/PlayerUpdatePrimaryAddress", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).PlayerUpdatePrimaryAddress(ctx, req.(*MsgPlayerUpdatePrimaryAddress)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Msg_StructActivate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgStructActivate) - if err := dec(in); err != nil { +func (c *msgClient) PermissionRevokeOnAddress(ctx context.Context, in *MsgPermissionRevokeOnAddress, opts ...grpc.CallOption) (*MsgPermissionResponse, error) { + out := new(MsgPermissionResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Msg/PermissionRevokeOnAddress", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(MsgServer).StructActivate(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/structs.structs.Msg/StructActivate", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).StructActivate(ctx, req.(*MsgStructActivate)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Msg_StructDeactivate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgStructDeactivate) - if err := dec(in); err != nil { +func (c *msgClient) PermissionRevokeOnObject(ctx context.Context, in *MsgPermissionRevokeOnObject, opts ...grpc.CallOption) (*MsgPermissionResponse, error) { + out := new(MsgPermissionResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Msg/PermissionRevokeOnObject", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(MsgServer).StructDeactivate(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/structs.structs.Msg/StructDeactivate", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).StructDeactivate(ctx, req.(*MsgStructDeactivate)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Msg_StructBuildInitiate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgStructBuildInitiate) - if err := dec(in); err != nil { +func (c *msgClient) PermissionSetOnAddress(ctx context.Context, in *MsgPermissionSetOnAddress, opts ...grpc.CallOption) (*MsgPermissionResponse, error) { + out := new(MsgPermissionResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Msg/PermissionSetOnAddress", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(MsgServer).StructBuildInitiate(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/structs.structs.Msg/StructBuildInitiate", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).StructBuildInitiate(ctx, req.(*MsgStructBuildInitiate)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Msg_StructBuildComplete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgStructBuildComplete) - if err := dec(in); err != nil { +func (c *msgClient) PermissionSetOnObject(ctx context.Context, in *MsgPermissionSetOnObject, opts ...grpc.CallOption) (*MsgPermissionResponse, error) { + out := new(MsgPermissionResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Msg/PermissionSetOnObject", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(MsgServer).StructBuildComplete(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/structs.structs.Msg/StructBuildComplete", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).StructBuildComplete(ctx, req.(*MsgStructBuildComplete)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Msg_StructDefenseSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgStructDefenseSet) - if err := dec(in); err != nil { +func (c *msgClient) PlanetExplore(ctx context.Context, in *MsgPlanetExplore, opts ...grpc.CallOption) (*MsgPlanetExploreResponse, error) { + out := new(MsgPlanetExploreResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Msg/PlanetExplore", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(MsgServer).StructDefenseSet(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/structs.structs.Msg/StructDefenseSet", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).StructDefenseSet(ctx, req.(*MsgStructDefenseSet)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Msg_StructDefenseClear_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgStructDefenseClear) - if err := dec(in); err != nil { +func (c *msgClient) PlanetRaidComplete(ctx context.Context, in *MsgPlanetRaidComplete, opts ...grpc.CallOption) (*MsgPlanetRaidCompleteResponse, error) { + out := new(MsgPlanetRaidCompleteResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Msg/PlanetRaidComplete", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(MsgServer).StructDefenseClear(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/structs.structs.Msg/StructDefenseClear", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).StructDefenseClear(ctx, req.(*MsgStructDefenseClear)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Msg_StructMove_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgStructMove) - if err := dec(in); err != nil { +func (c *msgClient) PlayerUpdatePrimaryAddress(ctx context.Context, in *MsgPlayerUpdatePrimaryAddress, opts ...grpc.CallOption) (*MsgPlayerUpdatePrimaryAddressResponse, error) { + out := new(MsgPlayerUpdatePrimaryAddressResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Msg/PlayerUpdatePrimaryAddress", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(MsgServer).StructMove(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/structs.structs.Msg/StructMove", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).StructMove(ctx, req.(*MsgStructMove)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Msg_StructAttack_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgStructAttack) - if err := dec(in); err != nil { +func (c *msgClient) PlayerResume(ctx context.Context, in *MsgPlayerResume, opts ...grpc.CallOption) (*MsgPlayerResumeResponse, error) { + out := new(MsgPlayerResumeResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Msg/PlayerResume", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(MsgServer).StructAttack(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/structs.structs.Msg/StructAttack", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).StructAttack(ctx, req.(*MsgStructAttack)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Msg_StructStealthActivate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgStructStealthActivate) - if err := dec(in); err != nil { +func (c *msgClient) ProviderCreate(ctx context.Context, in *MsgProviderCreate, opts ...grpc.CallOption) (*MsgProviderResponse, error) { + out := new(MsgProviderResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Msg/ProviderCreate", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(MsgServer).StructStealthActivate(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/structs.structs.Msg/StructStealthActivate", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).StructStealthActivate(ctx, req.(*MsgStructStealthActivate)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Msg_StructStealthDeactivate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgStructStealthDeactivate) - if err := dec(in); err != nil { +func (c *msgClient) ProviderWithdrawBalance(ctx context.Context, in *MsgProviderWithdrawBalance, opts ...grpc.CallOption) (*MsgProviderResponse, error) { + out := new(MsgProviderResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Msg/ProviderWithdrawBalance", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(MsgServer).StructStealthDeactivate(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/structs.structs.Msg/StructStealthDeactivate", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).StructStealthDeactivate(ctx, req.(*MsgStructStealthDeactivate)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Msg_StructGeneratorInfuse_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgStructGeneratorInfuse) - if err := dec(in); err != nil { +func (c *msgClient) ProviderUpdateCapacityMinimum(ctx context.Context, in *MsgProviderUpdateCapacityMinimum, opts ...grpc.CallOption) (*MsgProviderResponse, error) { + out := new(MsgProviderResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Msg/ProviderUpdateCapacityMinimum", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(MsgServer).StructGeneratorInfuse(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/structs.structs.Msg/StructGeneratorInfuse", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).StructGeneratorInfuse(ctx, req.(*MsgStructGeneratorInfuse)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Msg_StructOreMinerComplete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgStructOreMinerComplete) - if err := dec(in); err != nil { +func (c *msgClient) ProviderUpdateCapacityMaximum(ctx context.Context, in *MsgProviderUpdateCapacityMaximum, opts ...grpc.CallOption) (*MsgProviderResponse, error) { + out := new(MsgProviderResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Msg/ProviderUpdateCapacityMaximum", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(MsgServer).StructOreMinerComplete(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/structs.structs.Msg/StructOreMinerComplete", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).StructOreMinerComplete(ctx, req.(*MsgStructOreMinerComplete)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Msg_StructOreRefineryComplete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgStructOreRefineryComplete) - if err := dec(in); err != nil { +func (c *msgClient) ProviderUpdateDurationMinimum(ctx context.Context, in *MsgProviderUpdateDurationMinimum, opts ...grpc.CallOption) (*MsgProviderResponse, error) { + out := new(MsgProviderResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Msg/ProviderUpdateDurationMinimum", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(MsgServer).StructOreRefineryComplete(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/structs.structs.Msg/StructOreRefineryComplete", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).StructOreRefineryComplete(ctx, req.(*MsgStructOreRefineryComplete)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Msg_SubstationCreate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgSubstationCreate) - if err := dec(in); err != nil { +func (c *msgClient) ProviderUpdateDurationMaximum(ctx context.Context, in *MsgProviderUpdateDurationMaximum, opts ...grpc.CallOption) (*MsgProviderResponse, error) { + out := new(MsgProviderResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Msg/ProviderUpdateDurationMaximum", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(MsgServer).SubstationCreate(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/structs.structs.Msg/SubstationCreate", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).SubstationCreate(ctx, req.(*MsgSubstationCreate)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Msg_SubstationDelete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgSubstationDelete) - if err := dec(in); err != nil { +func (c *msgClient) ProviderUpdateAccessPolicy(ctx context.Context, in *MsgProviderUpdateAccessPolicy, opts ...grpc.CallOption) (*MsgProviderResponse, error) { + out := new(MsgProviderResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Msg/ProviderUpdateAccessPolicy", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(MsgServer).SubstationDelete(ctx, in) + return out, nil +} + +func (c *msgClient) ProviderGuildGrant(ctx context.Context, in *MsgProviderGuildGrant, opts ...grpc.CallOption) (*MsgProviderResponse, error) { + out := new(MsgProviderResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Msg/ProviderGuildGrant", in, out, opts...) + if err != nil { + return nil, err } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/structs.structs.Msg/SubstationDelete", + return out, nil +} + +func (c *msgClient) ProviderGuildRevoke(ctx context.Context, in *MsgProviderGuildRevoke, opts ...grpc.CallOption) (*MsgProviderResponse, error) { + out := new(MsgProviderResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Msg/ProviderGuildRevoke", in, out, opts...) + if err != nil { + return nil, err } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).SubstationDelete(ctx, req.(*MsgSubstationDelete)) + return out, nil +} + +func (c *msgClient) ProviderDelete(ctx context.Context, in *MsgProviderDelete, opts ...grpc.CallOption) (*MsgProviderResponse, error) { + out := new(MsgProviderResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Msg/ProviderDelete", in, out, opts...) + if err != nil { + return nil, err } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Msg_SubstationAllocationConnect_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgSubstationAllocationConnect) - if err := dec(in); err != nil { +func (c *msgClient) StructActivate(ctx context.Context, in *MsgStructActivate, opts ...grpc.CallOption) (*MsgStructStatusResponse, error) { + out := new(MsgStructStatusResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Msg/StructActivate", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(MsgServer).SubstationAllocationConnect(ctx, in) + return out, nil +} + +func (c *msgClient) StructDeactivate(ctx context.Context, in *MsgStructDeactivate, opts ...grpc.CallOption) (*MsgStructStatusResponse, error) { + out := new(MsgStructStatusResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Msg/StructDeactivate", in, out, opts...) + if err != nil { + return nil, err } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/structs.structs.Msg/SubstationAllocationConnect", + return out, nil +} + +func (c *msgClient) StructBuildInitiate(ctx context.Context, in *MsgStructBuildInitiate, opts ...grpc.CallOption) (*MsgStructStatusResponse, error) { + out := new(MsgStructStatusResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Msg/StructBuildInitiate", in, out, opts...) + if err != nil { + return nil, err } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).SubstationAllocationConnect(ctx, req.(*MsgSubstationAllocationConnect)) + return out, nil +} + +func (c *msgClient) StructBuildComplete(ctx context.Context, in *MsgStructBuildComplete, opts ...grpc.CallOption) (*MsgStructStatusResponse, error) { + out := new(MsgStructStatusResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Msg/StructBuildComplete", in, out, opts...) + if err != nil { + return nil, err } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Msg_SubstationAllocationDisconnect_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgSubstationAllocationDisconnect) - if err := dec(in); err != nil { +func (c *msgClient) StructBuildCancel(ctx context.Context, in *MsgStructBuildCancel, opts ...grpc.CallOption) (*MsgStructStatusResponse, error) { + out := new(MsgStructStatusResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Msg/StructBuildCancel", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(MsgServer).SubstationAllocationDisconnect(ctx, in) + return out, nil +} + +func (c *msgClient) StructDefenseSet(ctx context.Context, in *MsgStructDefenseSet, opts ...grpc.CallOption) (*MsgStructStatusResponse, error) { + out := new(MsgStructStatusResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Msg/StructDefenseSet", in, out, opts...) + if err != nil { + return nil, err } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/structs.structs.Msg/SubstationAllocationDisconnect", + return out, nil +} + +func (c *msgClient) StructDefenseClear(ctx context.Context, in *MsgStructDefenseClear, opts ...grpc.CallOption) (*MsgStructStatusResponse, error) { + out := new(MsgStructStatusResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Msg/StructDefenseClear", in, out, opts...) + if err != nil { + return nil, err } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).SubstationAllocationDisconnect(ctx, req.(*MsgSubstationAllocationDisconnect)) + return out, nil +} + +func (c *msgClient) StructMove(ctx context.Context, in *MsgStructMove, opts ...grpc.CallOption) (*MsgStructStatusResponse, error) { + out := new(MsgStructStatusResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Msg/StructMove", in, out, opts...) + if err != nil { + return nil, err } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Msg_SubstationPlayerConnect_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgSubstationPlayerConnect) - if err := dec(in); err != nil { +func (c *msgClient) StructAttack(ctx context.Context, in *MsgStructAttack, opts ...grpc.CallOption) (*MsgStructAttackResponse, error) { + out := new(MsgStructAttackResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Msg/StructAttack", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(MsgServer).SubstationPlayerConnect(ctx, in) + return out, nil +} + +func (c *msgClient) StructStealthActivate(ctx context.Context, in *MsgStructStealthActivate, opts ...grpc.CallOption) (*MsgStructStatusResponse, error) { + out := new(MsgStructStatusResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Msg/StructStealthActivate", in, out, opts...) + if err != nil { + return nil, err } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/structs.structs.Msg/SubstationPlayerConnect", + return out, nil +} + +func (c *msgClient) StructStealthDeactivate(ctx context.Context, in *MsgStructStealthDeactivate, opts ...grpc.CallOption) (*MsgStructStatusResponse, error) { + out := new(MsgStructStatusResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Msg/StructStealthDeactivate", in, out, opts...) + if err != nil { + return nil, err } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).SubstationPlayerConnect(ctx, req.(*MsgSubstationPlayerConnect)) + return out, nil +} + +func (c *msgClient) StructGeneratorInfuse(ctx context.Context, in *MsgStructGeneratorInfuse, opts ...grpc.CallOption) (*MsgStructGeneratorStatusResponse, error) { + out := new(MsgStructGeneratorStatusResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Msg/StructGeneratorInfuse", in, out, opts...) + if err != nil { + return nil, err } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Msg_SubstationPlayerDisconnect_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgSubstationPlayerDisconnect) - if err := dec(in); err != nil { +func (c *msgClient) StructOreMinerComplete(ctx context.Context, in *MsgStructOreMinerComplete, opts ...grpc.CallOption) (*MsgStructOreMinerStatusResponse, error) { + out := new(MsgStructOreMinerStatusResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Msg/StructOreMinerComplete", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(MsgServer).SubstationPlayerDisconnect(ctx, in) + return out, nil +} + +func (c *msgClient) StructOreRefineryComplete(ctx context.Context, in *MsgStructOreRefineryComplete, opts ...grpc.CallOption) (*MsgStructOreRefineryStatusResponse, error) { + out := new(MsgStructOreRefineryStatusResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Msg/StructOreRefineryComplete", in, out, opts...) + if err != nil { + return nil, err } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/structs.structs.Msg/SubstationPlayerDisconnect", + return out, nil +} + +func (c *msgClient) SubstationCreate(ctx context.Context, in *MsgSubstationCreate, opts ...grpc.CallOption) (*MsgSubstationCreateResponse, error) { + out := new(MsgSubstationCreateResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Msg/SubstationCreate", in, out, opts...) + if err != nil { + return nil, err } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).SubstationPlayerDisconnect(ctx, req.(*MsgSubstationPlayerDisconnect)) + return out, nil +} + +func (c *msgClient) SubstationDelete(ctx context.Context, in *MsgSubstationDelete, opts ...grpc.CallOption) (*MsgSubstationDeleteResponse, error) { + out := new(MsgSubstationDeleteResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Msg/SubstationDelete", in, out, opts...) + if err != nil { + return nil, err } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Msg_SubstationPlayerMigrate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgSubstationPlayerMigrate) - if err := dec(in); err != nil { +func (c *msgClient) SubstationAllocationConnect(ctx context.Context, in *MsgSubstationAllocationConnect, opts ...grpc.CallOption) (*MsgSubstationAllocationConnectResponse, error) { + out := new(MsgSubstationAllocationConnectResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Msg/SubstationAllocationConnect", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(MsgServer).SubstationPlayerMigrate(ctx, in) + return out, nil +} + +func (c *msgClient) SubstationAllocationDisconnect(ctx context.Context, in *MsgSubstationAllocationDisconnect, opts ...grpc.CallOption) (*MsgSubstationAllocationDisconnectResponse, error) { + out := new(MsgSubstationAllocationDisconnectResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Msg/SubstationAllocationDisconnect", in, out, opts...) + if err != nil { + return nil, err } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/structs.structs.Msg/SubstationPlayerMigrate", + return out, nil +} + +func (c *msgClient) SubstationPlayerConnect(ctx context.Context, in *MsgSubstationPlayerConnect, opts ...grpc.CallOption) (*MsgSubstationPlayerConnectResponse, error) { + out := new(MsgSubstationPlayerConnectResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Msg/SubstationPlayerConnect", in, out, opts...) + if err != nil { + return nil, err } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).SubstationPlayerMigrate(ctx, req.(*MsgSubstationPlayerMigrate)) + return out, nil +} + +func (c *msgClient) SubstationPlayerDisconnect(ctx context.Context, in *MsgSubstationPlayerDisconnect, opts ...grpc.CallOption) (*MsgSubstationPlayerDisconnectResponse, error) { + out := new(MsgSubstationPlayerDisconnectResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Msg/SubstationPlayerDisconnect", in, out, opts...) + if err != nil { + return nil, err } - return interceptor(ctx, in, info, handler) + return out, nil } -var _Msg_serviceDesc = grpc.ServiceDesc{ - ServiceName: "structs.structs.Msg", - HandlerType: (*MsgServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "UpdateParams", - Handler: _Msg_UpdateParams_Handler, - }, - { - MethodName: "AddressRegister", - Handler: _Msg_AddressRegister_Handler, - }, - { - MethodName: "AddressRevoke", - Handler: _Msg_AddressRevoke_Handler, - }, - { - MethodName: "AllocationCreate", - Handler: _Msg_AllocationCreate_Handler, - }, - { - MethodName: "AllocationDelete", - Handler: _Msg_AllocationDelete_Handler, - }, - { - MethodName: "AllocationUpdate", - Handler: _Msg_AllocationUpdate_Handler, - }, - { - MethodName: "AllocationTransfer", - Handler: _Msg_AllocationTransfer_Handler, - }, - { - MethodName: "FleetMove", - Handler: _Msg_FleetMove_Handler, - }, - { - MethodName: "GuildCreate", - Handler: _Msg_GuildCreate_Handler, - }, - { - MethodName: "GuildUpdateOwnerId", - Handler: _Msg_GuildUpdateOwnerId_Handler, - }, - { - MethodName: "GuildUpdateEntrySubstationId", - Handler: _Msg_GuildUpdateEntrySubstationId_Handler, - }, - { - MethodName: "GuildUpdateEndpoint", - Handler: _Msg_GuildUpdateEndpoint_Handler, - }, - { - MethodName: "GuildUpdateJoinInfusionMinimum", - Handler: _Msg_GuildUpdateJoinInfusionMinimum_Handler, - }, - { - MethodName: "GuildUpdateJoinInfusionMinimumBypassByInvite", - Handler: _Msg_GuildUpdateJoinInfusionMinimumBypassByInvite_Handler, - }, - { - MethodName: "GuildUpdateJoinInfusionMinimumBypassByRequest", - Handler: _Msg_GuildUpdateJoinInfusionMinimumBypassByRequest_Handler, - }, - { - MethodName: "GuildMembershipInvite", - Handler: _Msg_GuildMembershipInvite_Handler, - }, - { - MethodName: "GuildMembershipInviteApprove", - Handler: _Msg_GuildMembershipInviteApprove_Handler, - }, - { - MethodName: "GuildMembershipInviteDeny", - Handler: _Msg_GuildMembershipInviteDeny_Handler, - }, - { - MethodName: "GuildMembershipInviteRevoke", - Handler: _Msg_GuildMembershipInviteRevoke_Handler, - }, - { - MethodName: "GuildMembershipJoin", - Handler: _Msg_GuildMembershipJoin_Handler, - }, - { - MethodName: "GuildMembershipJoinProxy", - Handler: _Msg_GuildMembershipJoinProxy_Handler, - }, - { - MethodName: "GuildMembershipKick", - Handler: _Msg_GuildMembershipKick_Handler, - }, - { - MethodName: "GuildMembershipRequest", - Handler: _Msg_GuildMembershipRequest_Handler, - }, - { - MethodName: "GuildMembershipRequestApprove", - Handler: _Msg_GuildMembershipRequestApprove_Handler, - }, - { - MethodName: "GuildMembershipRequestDeny", - Handler: _Msg_GuildMembershipRequestDeny_Handler, - }, - { - MethodName: "GuildMembershipRequestRevoke", - Handler: _Msg_GuildMembershipRequestRevoke_Handler, - }, - { - MethodName: "PermissionGrantOnAddress", - Handler: _Msg_PermissionGrantOnAddress_Handler, - }, - { - MethodName: "PermissionGrantOnObject", - Handler: _Msg_PermissionGrantOnObject_Handler, - }, - { - MethodName: "PermissionRevokeOnAddress", - Handler: _Msg_PermissionRevokeOnAddress_Handler, - }, - { - MethodName: "PermissionRevokeOnObject", - Handler: _Msg_PermissionRevokeOnObject_Handler, - }, - { - MethodName: "PermissionSetOnAddress", - Handler: _Msg_PermissionSetOnAddress_Handler, - }, - { - MethodName: "PermissionSetOnObject", - Handler: _Msg_PermissionSetOnObject_Handler, - }, - { - MethodName: "PlanetExplore", - Handler: _Msg_PlanetExplore_Handler, - }, - { - MethodName: "PlanetRaidComplete", - Handler: _Msg_PlanetRaidComplete_Handler, - }, - { - MethodName: "PlayerUpdatePrimaryAddress", - Handler: _Msg_PlayerUpdatePrimaryAddress_Handler, - }, - { - MethodName: "StructActivate", - Handler: _Msg_StructActivate_Handler, - }, - { - MethodName: "StructDeactivate", - Handler: _Msg_StructDeactivate_Handler, - }, - { - MethodName: "StructBuildInitiate", - Handler: _Msg_StructBuildInitiate_Handler, - }, - { - MethodName: "StructBuildComplete", - Handler: _Msg_StructBuildComplete_Handler, - }, - { - MethodName: "StructDefenseSet", - Handler: _Msg_StructDefenseSet_Handler, - }, - { - MethodName: "StructDefenseClear", - Handler: _Msg_StructDefenseClear_Handler, - }, - { - MethodName: "StructMove", - Handler: _Msg_StructMove_Handler, - }, - { - MethodName: "StructAttack", - Handler: _Msg_StructAttack_Handler, - }, - { - MethodName: "StructStealthActivate", - Handler: _Msg_StructStealthActivate_Handler, - }, - { - MethodName: "StructStealthDeactivate", - Handler: _Msg_StructStealthDeactivate_Handler, - }, - { - MethodName: "StructGeneratorInfuse", - Handler: _Msg_StructGeneratorInfuse_Handler, - }, - { - MethodName: "StructOreMinerComplete", - Handler: _Msg_StructOreMinerComplete_Handler, - }, - { - MethodName: "StructOreRefineryComplete", - Handler: _Msg_StructOreRefineryComplete_Handler, - }, - { - MethodName: "SubstationCreate", - Handler: _Msg_SubstationCreate_Handler, - }, - { - MethodName: "SubstationDelete", - Handler: _Msg_SubstationDelete_Handler, - }, - { - MethodName: "SubstationAllocationConnect", - Handler: _Msg_SubstationAllocationConnect_Handler, - }, - { - MethodName: "SubstationAllocationDisconnect", - Handler: _Msg_SubstationAllocationDisconnect_Handler, - }, - { - MethodName: "SubstationPlayerConnect", - Handler: _Msg_SubstationPlayerConnect_Handler, - }, - { - MethodName: "SubstationPlayerDisconnect", - Handler: _Msg_SubstationPlayerDisconnect_Handler, - }, - { - MethodName: "SubstationPlayerMigrate", - Handler: _Msg_SubstationPlayerMigrate_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "structs/structs/tx.proto", -} - -func (m *MsgUpdateParams) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) +func (c *msgClient) SubstationPlayerMigrate(ctx context.Context, in *MsgSubstationPlayerMigrate, opts ...grpc.CallOption) (*MsgSubstationPlayerMigrateResponse, error) { + out := new(MsgSubstationPlayerMigrateResponse) + err := c.cc.Invoke(ctx, "/structs.structs.Msg/SubstationPlayerMigrate", in, out, opts...) if err != nil { return nil, err } - return dAtA[:n], nil -} - -func (m *MsgUpdateParams) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) + return out, nil } -func (m *MsgUpdateParams) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - { - size, err := m.Params.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintTx(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x12 - if len(m.Authority) > 0 { - i -= len(m.Authority) - copy(dAtA[i:], m.Authority) - i = encodeVarintTx(dAtA, i, uint64(len(m.Authority))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil +// MsgServer is the server API for Msg service. +type MsgServer interface { + // UpdateParams defines a (governance) operation for updating the module + // parameters. The authority defaults to the x/gov module account. + UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error) + AddressRegister(context.Context, *MsgAddressRegister) (*MsgAddressRegisterResponse, error) + AddressRevoke(context.Context, *MsgAddressRevoke) (*MsgAddressRevokeResponse, error) + AgreementOpen(context.Context, *MsgAgreementOpen) (*MsgAgreementResponse, error) + AgreementClose(context.Context, *MsgAgreementClose) (*MsgAgreementResponse, error) + AgreementCapacityIncrease(context.Context, *MsgAgreementCapacityIncrease) (*MsgAgreementResponse, error) + AgreementCapacityDecrease(context.Context, *MsgAgreementCapacityDecrease) (*MsgAgreementResponse, error) + AgreementDurationIncrease(context.Context, *MsgAgreementDurationIncrease) (*MsgAgreementResponse, error) + AllocationCreate(context.Context, *MsgAllocationCreate) (*MsgAllocationCreateResponse, error) + AllocationDelete(context.Context, *MsgAllocationDelete) (*MsgAllocationDeleteResponse, error) + AllocationUpdate(context.Context, *MsgAllocationUpdate) (*MsgAllocationUpdateResponse, error) + AllocationTransfer(context.Context, *MsgAllocationTransfer) (*MsgAllocationTransferResponse, error) + FleetMove(context.Context, *MsgFleetMove) (*MsgFleetMoveResponse, error) + GuildCreate(context.Context, *MsgGuildCreate) (*MsgGuildCreateResponse, error) + GuildBankMint(context.Context, *MsgGuildBankMint) (*MsgGuildBankMintResponse, error) + GuildBankRedeem(context.Context, *MsgGuildBankRedeem) (*MsgGuildBankRedeemResponse, error) + GuildBankConfiscateAndBurn(context.Context, *MsgGuildBankConfiscateAndBurn) (*MsgGuildBankConfiscateAndBurnResponse, error) + GuildUpdateOwnerId(context.Context, *MsgGuildUpdateOwnerId) (*MsgGuildUpdateResponse, error) + GuildUpdateEntrySubstationId(context.Context, *MsgGuildUpdateEntrySubstationId) (*MsgGuildUpdateResponse, error) + GuildUpdateEndpoint(context.Context, *MsgGuildUpdateEndpoint) (*MsgGuildUpdateResponse, error) + GuildUpdateJoinInfusionMinimum(context.Context, *MsgGuildUpdateJoinInfusionMinimum) (*MsgGuildUpdateResponse, error) + GuildUpdateJoinInfusionMinimumBypassByInvite(context.Context, *MsgGuildUpdateJoinInfusionMinimumBypassByInvite) (*MsgGuildUpdateResponse, error) + GuildUpdateJoinInfusionMinimumBypassByRequest(context.Context, *MsgGuildUpdateJoinInfusionMinimumBypassByRequest) (*MsgGuildUpdateResponse, error) + GuildMembershipInvite(context.Context, *MsgGuildMembershipInvite) (*MsgGuildMembershipResponse, error) + GuildMembershipInviteApprove(context.Context, *MsgGuildMembershipInviteApprove) (*MsgGuildMembershipResponse, error) + GuildMembershipInviteDeny(context.Context, *MsgGuildMembershipInviteDeny) (*MsgGuildMembershipResponse, error) + GuildMembershipInviteRevoke(context.Context, *MsgGuildMembershipInviteRevoke) (*MsgGuildMembershipResponse, error) + GuildMembershipJoin(context.Context, *MsgGuildMembershipJoin) (*MsgGuildMembershipResponse, error) + GuildMembershipJoinProxy(context.Context, *MsgGuildMembershipJoinProxy) (*MsgGuildMembershipResponse, error) + GuildMembershipKick(context.Context, *MsgGuildMembershipKick) (*MsgGuildMembershipResponse, error) + GuildMembershipRequest(context.Context, *MsgGuildMembershipRequest) (*MsgGuildMembershipResponse, error) + GuildMembershipRequestApprove(context.Context, *MsgGuildMembershipRequestApprove) (*MsgGuildMembershipResponse, error) + GuildMembershipRequestDeny(context.Context, *MsgGuildMembershipRequestDeny) (*MsgGuildMembershipResponse, error) + GuildMembershipRequestRevoke(context.Context, *MsgGuildMembershipRequestRevoke) (*MsgGuildMembershipResponse, error) + PermissionGrantOnAddress(context.Context, *MsgPermissionGrantOnAddress) (*MsgPermissionResponse, error) + PermissionGrantOnObject(context.Context, *MsgPermissionGrantOnObject) (*MsgPermissionResponse, error) + PermissionRevokeOnAddress(context.Context, *MsgPermissionRevokeOnAddress) (*MsgPermissionResponse, error) + PermissionRevokeOnObject(context.Context, *MsgPermissionRevokeOnObject) (*MsgPermissionResponse, error) + PermissionSetOnAddress(context.Context, *MsgPermissionSetOnAddress) (*MsgPermissionResponse, error) + PermissionSetOnObject(context.Context, *MsgPermissionSetOnObject) (*MsgPermissionResponse, error) + PlanetExplore(context.Context, *MsgPlanetExplore) (*MsgPlanetExploreResponse, error) + PlanetRaidComplete(context.Context, *MsgPlanetRaidComplete) (*MsgPlanetRaidCompleteResponse, error) + PlayerUpdatePrimaryAddress(context.Context, *MsgPlayerUpdatePrimaryAddress) (*MsgPlayerUpdatePrimaryAddressResponse, error) + PlayerResume(context.Context, *MsgPlayerResume) (*MsgPlayerResumeResponse, error) + ProviderCreate(context.Context, *MsgProviderCreate) (*MsgProviderResponse, error) + ProviderWithdrawBalance(context.Context, *MsgProviderWithdrawBalance) (*MsgProviderResponse, error) + ProviderUpdateCapacityMinimum(context.Context, *MsgProviderUpdateCapacityMinimum) (*MsgProviderResponse, error) + ProviderUpdateCapacityMaximum(context.Context, *MsgProviderUpdateCapacityMaximum) (*MsgProviderResponse, error) + ProviderUpdateDurationMinimum(context.Context, *MsgProviderUpdateDurationMinimum) (*MsgProviderResponse, error) + ProviderUpdateDurationMaximum(context.Context, *MsgProviderUpdateDurationMaximum) (*MsgProviderResponse, error) + ProviderUpdateAccessPolicy(context.Context, *MsgProviderUpdateAccessPolicy) (*MsgProviderResponse, error) + ProviderGuildGrant(context.Context, *MsgProviderGuildGrant) (*MsgProviderResponse, error) + ProviderGuildRevoke(context.Context, *MsgProviderGuildRevoke) (*MsgProviderResponse, error) + ProviderDelete(context.Context, *MsgProviderDelete) (*MsgProviderResponse, error) + StructActivate(context.Context, *MsgStructActivate) (*MsgStructStatusResponse, error) + StructDeactivate(context.Context, *MsgStructDeactivate) (*MsgStructStatusResponse, error) + StructBuildInitiate(context.Context, *MsgStructBuildInitiate) (*MsgStructStatusResponse, error) + StructBuildComplete(context.Context, *MsgStructBuildComplete) (*MsgStructStatusResponse, error) + StructBuildCancel(context.Context, *MsgStructBuildCancel) (*MsgStructStatusResponse, error) + StructDefenseSet(context.Context, *MsgStructDefenseSet) (*MsgStructStatusResponse, error) + StructDefenseClear(context.Context, *MsgStructDefenseClear) (*MsgStructStatusResponse, error) + StructMove(context.Context, *MsgStructMove) (*MsgStructStatusResponse, error) + StructAttack(context.Context, *MsgStructAttack) (*MsgStructAttackResponse, error) + StructStealthActivate(context.Context, *MsgStructStealthActivate) (*MsgStructStatusResponse, error) + StructStealthDeactivate(context.Context, *MsgStructStealthDeactivate) (*MsgStructStatusResponse, error) + StructGeneratorInfuse(context.Context, *MsgStructGeneratorInfuse) (*MsgStructGeneratorStatusResponse, error) + StructOreMinerComplete(context.Context, *MsgStructOreMinerComplete) (*MsgStructOreMinerStatusResponse, error) + StructOreRefineryComplete(context.Context, *MsgStructOreRefineryComplete) (*MsgStructOreRefineryStatusResponse, error) + SubstationCreate(context.Context, *MsgSubstationCreate) (*MsgSubstationCreateResponse, error) + SubstationDelete(context.Context, *MsgSubstationDelete) (*MsgSubstationDeleteResponse, error) + SubstationAllocationConnect(context.Context, *MsgSubstationAllocationConnect) (*MsgSubstationAllocationConnectResponse, error) + SubstationAllocationDisconnect(context.Context, *MsgSubstationAllocationDisconnect) (*MsgSubstationAllocationDisconnectResponse, error) + SubstationPlayerConnect(context.Context, *MsgSubstationPlayerConnect) (*MsgSubstationPlayerConnectResponse, error) + SubstationPlayerDisconnect(context.Context, *MsgSubstationPlayerDisconnect) (*MsgSubstationPlayerDisconnectResponse, error) + SubstationPlayerMigrate(context.Context, *MsgSubstationPlayerMigrate) (*MsgSubstationPlayerMigrateResponse, error) } -func (m *MsgUpdateParamsResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil +// UnimplementedMsgServer can be embedded to have forward compatible implementations. +type UnimplementedMsgServer struct { } -func (m *MsgUpdateParamsResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func (*UnimplementedMsgServer) UpdateParams(ctx context.Context, req *MsgUpdateParams) (*MsgUpdateParamsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateParams not implemented") } - -func (m *MsgUpdateParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - return len(dAtA) - i, nil +func (*UnimplementedMsgServer) AddressRegister(ctx context.Context, req *MsgAddressRegister) (*MsgAddressRegisterResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method AddressRegister not implemented") } - -func (m *MsgAddressRegister) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil +func (*UnimplementedMsgServer) AddressRevoke(ctx context.Context, req *MsgAddressRevoke) (*MsgAddressRevokeResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method AddressRevoke not implemented") } - -func (m *MsgAddressRegister) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func (*UnimplementedMsgServer) AgreementOpen(ctx context.Context, req *MsgAgreementOpen) (*MsgAgreementResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method AgreementOpen not implemented") } - -func (m *MsgAddressRegister) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Permissions != 0 { - i = encodeVarintTx(dAtA, i, uint64(m.Permissions)) - i-- - dAtA[i] = 0x30 - } - if len(m.ProofSignature) > 0 { - i -= len(m.ProofSignature) - copy(dAtA[i:], m.ProofSignature) - i = encodeVarintTx(dAtA, i, uint64(len(m.ProofSignature))) - i-- - dAtA[i] = 0x2a - } - if len(m.ProofPubKey) > 0 { - i -= len(m.ProofPubKey) - copy(dAtA[i:], m.ProofPubKey) - i = encodeVarintTx(dAtA, i, uint64(len(m.ProofPubKey))) - i-- - dAtA[i] = 0x22 - } - if len(m.Address) > 0 { - i -= len(m.Address) - copy(dAtA[i:], m.Address) - i = encodeVarintTx(dAtA, i, uint64(len(m.Address))) - i-- - dAtA[i] = 0x1a - } - if len(m.PlayerId) > 0 { - i -= len(m.PlayerId) - copy(dAtA[i:], m.PlayerId) - i = encodeVarintTx(dAtA, i, uint64(len(m.PlayerId))) - i-- - dAtA[i] = 0x12 - } - if len(m.Creator) > 0 { - i -= len(m.Creator) - copy(dAtA[i:], m.Creator) - i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil +func (*UnimplementedMsgServer) AgreementClose(ctx context.Context, req *MsgAgreementClose) (*MsgAgreementResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method AgreementClose not implemented") } - -func (m *MsgAddressRegisterResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil +func (*UnimplementedMsgServer) AgreementCapacityIncrease(ctx context.Context, req *MsgAgreementCapacityIncrease) (*MsgAgreementResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method AgreementCapacityIncrease not implemented") } - -func (m *MsgAddressRegisterResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func (*UnimplementedMsgServer) AgreementCapacityDecrease(ctx context.Context, req *MsgAgreementCapacityDecrease) (*MsgAgreementResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method AgreementCapacityDecrease not implemented") } - -func (m *MsgAddressRegisterResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - return len(dAtA) - i, nil +func (*UnimplementedMsgServer) AgreementDurationIncrease(ctx context.Context, req *MsgAgreementDurationIncrease) (*MsgAgreementResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method AgreementDurationIncrease not implemented") } - -func (m *MsgAddressRevoke) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil +func (*UnimplementedMsgServer) AllocationCreate(ctx context.Context, req *MsgAllocationCreate) (*MsgAllocationCreateResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method AllocationCreate not implemented") } - -func (m *MsgAddressRevoke) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func (*UnimplementedMsgServer) AllocationDelete(ctx context.Context, req *MsgAllocationDelete) (*MsgAllocationDeleteResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method AllocationDelete not implemented") } - -func (m *MsgAddressRevoke) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Address) > 0 { - i -= len(m.Address) - copy(dAtA[i:], m.Address) - i = encodeVarintTx(dAtA, i, uint64(len(m.Address))) - i-- - dAtA[i] = 0x12 - } - if len(m.Creator) > 0 { - i -= len(m.Creator) - copy(dAtA[i:], m.Creator) - i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil +func (*UnimplementedMsgServer) AllocationUpdate(ctx context.Context, req *MsgAllocationUpdate) (*MsgAllocationUpdateResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method AllocationUpdate not implemented") } - -func (m *MsgAddressRevokeResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil +func (*UnimplementedMsgServer) AllocationTransfer(ctx context.Context, req *MsgAllocationTransfer) (*MsgAllocationTransferResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method AllocationTransfer not implemented") } - -func (m *MsgAddressRevokeResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func (*UnimplementedMsgServer) FleetMove(ctx context.Context, req *MsgFleetMove) (*MsgFleetMoveResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method FleetMove not implemented") } - -func (m *MsgAddressRevokeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - return len(dAtA) - i, nil +func (*UnimplementedMsgServer) GuildCreate(ctx context.Context, req *MsgGuildCreate) (*MsgGuildCreateResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GuildCreate not implemented") } - -func (m *MsgAllocationCreate) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil +func (*UnimplementedMsgServer) GuildBankMint(ctx context.Context, req *MsgGuildBankMint) (*MsgGuildBankMintResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GuildBankMint not implemented") } - -func (m *MsgAllocationCreate) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func (*UnimplementedMsgServer) GuildBankRedeem(ctx context.Context, req *MsgGuildBankRedeem) (*MsgGuildBankRedeemResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GuildBankRedeem not implemented") } - -func (m *MsgAllocationCreate) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Power != 0 { - i = encodeVarintTx(dAtA, i, uint64(m.Power)) - i-- - dAtA[i] = 0x28 - } - if m.AllocationType != 0 { - i = encodeVarintTx(dAtA, i, uint64(m.AllocationType)) - i-- - dAtA[i] = 0x20 - } - if len(m.SourceObjectId) > 0 { - i -= len(m.SourceObjectId) - copy(dAtA[i:], m.SourceObjectId) - i = encodeVarintTx(dAtA, i, uint64(len(m.SourceObjectId))) - i-- - dAtA[i] = 0x1a - } - if len(m.Controller) > 0 { - i -= len(m.Controller) - copy(dAtA[i:], m.Controller) - i = encodeVarintTx(dAtA, i, uint64(len(m.Controller))) - i-- - dAtA[i] = 0x12 - } - if len(m.Creator) > 0 { - i -= len(m.Creator) - copy(dAtA[i:], m.Creator) - i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil +func (*UnimplementedMsgServer) GuildBankConfiscateAndBurn(ctx context.Context, req *MsgGuildBankConfiscateAndBurn) (*MsgGuildBankConfiscateAndBurnResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GuildBankConfiscateAndBurn not implemented") } - -func (m *MsgAllocationCreateResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil +func (*UnimplementedMsgServer) GuildUpdateOwnerId(ctx context.Context, req *MsgGuildUpdateOwnerId) (*MsgGuildUpdateResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GuildUpdateOwnerId not implemented") } - -func (m *MsgAllocationCreateResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func (*UnimplementedMsgServer) GuildUpdateEntrySubstationId(ctx context.Context, req *MsgGuildUpdateEntrySubstationId) (*MsgGuildUpdateResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GuildUpdateEntrySubstationId not implemented") } - -func (m *MsgAllocationCreateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.AllocationId) > 0 { - i -= len(m.AllocationId) - copy(dAtA[i:], m.AllocationId) - i = encodeVarintTx(dAtA, i, uint64(len(m.AllocationId))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil +func (*UnimplementedMsgServer) GuildUpdateEndpoint(ctx context.Context, req *MsgGuildUpdateEndpoint) (*MsgGuildUpdateResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GuildUpdateEndpoint not implemented") } - -func (m *MsgAllocationDelete) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil +func (*UnimplementedMsgServer) GuildUpdateJoinInfusionMinimum(ctx context.Context, req *MsgGuildUpdateJoinInfusionMinimum) (*MsgGuildUpdateResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GuildUpdateJoinInfusionMinimum not implemented") } - -func (m *MsgAllocationDelete) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func (*UnimplementedMsgServer) GuildUpdateJoinInfusionMinimumBypassByInvite(ctx context.Context, req *MsgGuildUpdateJoinInfusionMinimumBypassByInvite) (*MsgGuildUpdateResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GuildUpdateJoinInfusionMinimumBypassByInvite not implemented") } - -func (m *MsgAllocationDelete) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.AllocationId) > 0 { - i -= len(m.AllocationId) - copy(dAtA[i:], m.AllocationId) - i = encodeVarintTx(dAtA, i, uint64(len(m.AllocationId))) - i-- - dAtA[i] = 0x12 - } - if len(m.Creator) > 0 { - i -= len(m.Creator) - copy(dAtA[i:], m.Creator) - i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil +func (*UnimplementedMsgServer) GuildUpdateJoinInfusionMinimumBypassByRequest(ctx context.Context, req *MsgGuildUpdateJoinInfusionMinimumBypassByRequest) (*MsgGuildUpdateResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GuildUpdateJoinInfusionMinimumBypassByRequest not implemented") } - -func (m *MsgAllocationDeleteResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil +func (*UnimplementedMsgServer) GuildMembershipInvite(ctx context.Context, req *MsgGuildMembershipInvite) (*MsgGuildMembershipResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GuildMembershipInvite not implemented") } - -func (m *MsgAllocationDeleteResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func (*UnimplementedMsgServer) GuildMembershipInviteApprove(ctx context.Context, req *MsgGuildMembershipInviteApprove) (*MsgGuildMembershipResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GuildMembershipInviteApprove not implemented") } - -func (m *MsgAllocationDeleteResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.AllocationId) > 0 { - i -= len(m.AllocationId) - copy(dAtA[i:], m.AllocationId) - i = encodeVarintTx(dAtA, i, uint64(len(m.AllocationId))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil +func (*UnimplementedMsgServer) GuildMembershipInviteDeny(ctx context.Context, req *MsgGuildMembershipInviteDeny) (*MsgGuildMembershipResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GuildMembershipInviteDeny not implemented") } - -func (m *MsgAllocationUpdate) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil +func (*UnimplementedMsgServer) GuildMembershipInviteRevoke(ctx context.Context, req *MsgGuildMembershipInviteRevoke) (*MsgGuildMembershipResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GuildMembershipInviteRevoke not implemented") } - -func (m *MsgAllocationUpdate) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func (*UnimplementedMsgServer) GuildMembershipJoin(ctx context.Context, req *MsgGuildMembershipJoin) (*MsgGuildMembershipResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GuildMembershipJoin not implemented") } - -func (m *MsgAllocationUpdate) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Power != 0 { - i = encodeVarintTx(dAtA, i, uint64(m.Power)) - i-- - dAtA[i] = 0x18 - } - if len(m.AllocationId) > 0 { - i -= len(m.AllocationId) - copy(dAtA[i:], m.AllocationId) - i = encodeVarintTx(dAtA, i, uint64(len(m.AllocationId))) - i-- - dAtA[i] = 0x12 - } - if len(m.Creator) > 0 { - i -= len(m.Creator) - copy(dAtA[i:], m.Creator) - i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil +func (*UnimplementedMsgServer) GuildMembershipJoinProxy(ctx context.Context, req *MsgGuildMembershipJoinProxy) (*MsgGuildMembershipResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GuildMembershipJoinProxy not implemented") } - -func (m *MsgAllocationUpdateResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil +func (*UnimplementedMsgServer) GuildMembershipKick(ctx context.Context, req *MsgGuildMembershipKick) (*MsgGuildMembershipResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GuildMembershipKick not implemented") } - -func (m *MsgAllocationUpdateResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func (*UnimplementedMsgServer) GuildMembershipRequest(ctx context.Context, req *MsgGuildMembershipRequest) (*MsgGuildMembershipResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GuildMembershipRequest not implemented") } - -func (m *MsgAllocationUpdateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.AllocationId) > 0 { - i -= len(m.AllocationId) - copy(dAtA[i:], m.AllocationId) - i = encodeVarintTx(dAtA, i, uint64(len(m.AllocationId))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil +func (*UnimplementedMsgServer) GuildMembershipRequestApprove(ctx context.Context, req *MsgGuildMembershipRequestApprove) (*MsgGuildMembershipResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GuildMembershipRequestApprove not implemented") } - -func (m *MsgAllocationTransfer) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil +func (*UnimplementedMsgServer) GuildMembershipRequestDeny(ctx context.Context, req *MsgGuildMembershipRequestDeny) (*MsgGuildMembershipResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GuildMembershipRequestDeny not implemented") } - -func (m *MsgAllocationTransfer) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func (*UnimplementedMsgServer) GuildMembershipRequestRevoke(ctx context.Context, req *MsgGuildMembershipRequestRevoke) (*MsgGuildMembershipResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GuildMembershipRequestRevoke not implemented") } - -func (m *MsgAllocationTransfer) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Controller) > 0 { - i -= len(m.Controller) - copy(dAtA[i:], m.Controller) - i = encodeVarintTx(dAtA, i, uint64(len(m.Controller))) - i-- - dAtA[i] = 0x1a - } - if len(m.AllocationId) > 0 { - i -= len(m.AllocationId) - copy(dAtA[i:], m.AllocationId) - i = encodeVarintTx(dAtA, i, uint64(len(m.AllocationId))) - i-- - dAtA[i] = 0x12 - } - if len(m.Creator) > 0 { - i -= len(m.Creator) - copy(dAtA[i:], m.Creator) - i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil +func (*UnimplementedMsgServer) PermissionGrantOnAddress(ctx context.Context, req *MsgPermissionGrantOnAddress) (*MsgPermissionResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method PermissionGrantOnAddress not implemented") +} +func (*UnimplementedMsgServer) PermissionGrantOnObject(ctx context.Context, req *MsgPermissionGrantOnObject) (*MsgPermissionResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method PermissionGrantOnObject not implemented") +} +func (*UnimplementedMsgServer) PermissionRevokeOnAddress(ctx context.Context, req *MsgPermissionRevokeOnAddress) (*MsgPermissionResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method PermissionRevokeOnAddress not implemented") +} +func (*UnimplementedMsgServer) PermissionRevokeOnObject(ctx context.Context, req *MsgPermissionRevokeOnObject) (*MsgPermissionResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method PermissionRevokeOnObject not implemented") +} +func (*UnimplementedMsgServer) PermissionSetOnAddress(ctx context.Context, req *MsgPermissionSetOnAddress) (*MsgPermissionResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method PermissionSetOnAddress not implemented") +} +func (*UnimplementedMsgServer) PermissionSetOnObject(ctx context.Context, req *MsgPermissionSetOnObject) (*MsgPermissionResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method PermissionSetOnObject not implemented") +} +func (*UnimplementedMsgServer) PlanetExplore(ctx context.Context, req *MsgPlanetExplore) (*MsgPlanetExploreResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method PlanetExplore not implemented") +} +func (*UnimplementedMsgServer) PlanetRaidComplete(ctx context.Context, req *MsgPlanetRaidComplete) (*MsgPlanetRaidCompleteResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method PlanetRaidComplete not implemented") +} +func (*UnimplementedMsgServer) PlayerUpdatePrimaryAddress(ctx context.Context, req *MsgPlayerUpdatePrimaryAddress) (*MsgPlayerUpdatePrimaryAddressResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method PlayerUpdatePrimaryAddress not implemented") +} +func (*UnimplementedMsgServer) PlayerResume(ctx context.Context, req *MsgPlayerResume) (*MsgPlayerResumeResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method PlayerResume not implemented") +} +func (*UnimplementedMsgServer) ProviderCreate(ctx context.Context, req *MsgProviderCreate) (*MsgProviderResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ProviderCreate not implemented") +} +func (*UnimplementedMsgServer) ProviderWithdrawBalance(ctx context.Context, req *MsgProviderWithdrawBalance) (*MsgProviderResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ProviderWithdrawBalance not implemented") +} +func (*UnimplementedMsgServer) ProviderUpdateCapacityMinimum(ctx context.Context, req *MsgProviderUpdateCapacityMinimum) (*MsgProviderResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ProviderUpdateCapacityMinimum not implemented") +} +func (*UnimplementedMsgServer) ProviderUpdateCapacityMaximum(ctx context.Context, req *MsgProviderUpdateCapacityMaximum) (*MsgProviderResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ProviderUpdateCapacityMaximum not implemented") +} +func (*UnimplementedMsgServer) ProviderUpdateDurationMinimum(ctx context.Context, req *MsgProviderUpdateDurationMinimum) (*MsgProviderResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ProviderUpdateDurationMinimum not implemented") +} +func (*UnimplementedMsgServer) ProviderUpdateDurationMaximum(ctx context.Context, req *MsgProviderUpdateDurationMaximum) (*MsgProviderResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ProviderUpdateDurationMaximum not implemented") +} +func (*UnimplementedMsgServer) ProviderUpdateAccessPolicy(ctx context.Context, req *MsgProviderUpdateAccessPolicy) (*MsgProviderResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ProviderUpdateAccessPolicy not implemented") +} +func (*UnimplementedMsgServer) ProviderGuildGrant(ctx context.Context, req *MsgProviderGuildGrant) (*MsgProviderResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ProviderGuildGrant not implemented") +} +func (*UnimplementedMsgServer) ProviderGuildRevoke(ctx context.Context, req *MsgProviderGuildRevoke) (*MsgProviderResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ProviderGuildRevoke not implemented") +} +func (*UnimplementedMsgServer) ProviderDelete(ctx context.Context, req *MsgProviderDelete) (*MsgProviderResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ProviderDelete not implemented") +} +func (*UnimplementedMsgServer) StructActivate(ctx context.Context, req *MsgStructActivate) (*MsgStructStatusResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method StructActivate not implemented") +} +func (*UnimplementedMsgServer) StructDeactivate(ctx context.Context, req *MsgStructDeactivate) (*MsgStructStatusResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method StructDeactivate not implemented") +} +func (*UnimplementedMsgServer) StructBuildInitiate(ctx context.Context, req *MsgStructBuildInitiate) (*MsgStructStatusResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method StructBuildInitiate not implemented") +} +func (*UnimplementedMsgServer) StructBuildComplete(ctx context.Context, req *MsgStructBuildComplete) (*MsgStructStatusResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method StructBuildComplete not implemented") +} +func (*UnimplementedMsgServer) StructBuildCancel(ctx context.Context, req *MsgStructBuildCancel) (*MsgStructStatusResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method StructBuildCancel not implemented") +} +func (*UnimplementedMsgServer) StructDefenseSet(ctx context.Context, req *MsgStructDefenseSet) (*MsgStructStatusResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method StructDefenseSet not implemented") +} +func (*UnimplementedMsgServer) StructDefenseClear(ctx context.Context, req *MsgStructDefenseClear) (*MsgStructStatusResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method StructDefenseClear not implemented") +} +func (*UnimplementedMsgServer) StructMove(ctx context.Context, req *MsgStructMove) (*MsgStructStatusResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method StructMove not implemented") +} +func (*UnimplementedMsgServer) StructAttack(ctx context.Context, req *MsgStructAttack) (*MsgStructAttackResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method StructAttack not implemented") +} +func (*UnimplementedMsgServer) StructStealthActivate(ctx context.Context, req *MsgStructStealthActivate) (*MsgStructStatusResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method StructStealthActivate not implemented") +} +func (*UnimplementedMsgServer) StructStealthDeactivate(ctx context.Context, req *MsgStructStealthDeactivate) (*MsgStructStatusResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method StructStealthDeactivate not implemented") +} +func (*UnimplementedMsgServer) StructGeneratorInfuse(ctx context.Context, req *MsgStructGeneratorInfuse) (*MsgStructGeneratorStatusResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method StructGeneratorInfuse not implemented") +} +func (*UnimplementedMsgServer) StructOreMinerComplete(ctx context.Context, req *MsgStructOreMinerComplete) (*MsgStructOreMinerStatusResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method StructOreMinerComplete not implemented") +} +func (*UnimplementedMsgServer) StructOreRefineryComplete(ctx context.Context, req *MsgStructOreRefineryComplete) (*MsgStructOreRefineryStatusResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method StructOreRefineryComplete not implemented") +} +func (*UnimplementedMsgServer) SubstationCreate(ctx context.Context, req *MsgSubstationCreate) (*MsgSubstationCreateResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method SubstationCreate not implemented") +} +func (*UnimplementedMsgServer) SubstationDelete(ctx context.Context, req *MsgSubstationDelete) (*MsgSubstationDeleteResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method SubstationDelete not implemented") +} +func (*UnimplementedMsgServer) SubstationAllocationConnect(ctx context.Context, req *MsgSubstationAllocationConnect) (*MsgSubstationAllocationConnectResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method SubstationAllocationConnect not implemented") +} +func (*UnimplementedMsgServer) SubstationAllocationDisconnect(ctx context.Context, req *MsgSubstationAllocationDisconnect) (*MsgSubstationAllocationDisconnectResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method SubstationAllocationDisconnect not implemented") +} +func (*UnimplementedMsgServer) SubstationPlayerConnect(ctx context.Context, req *MsgSubstationPlayerConnect) (*MsgSubstationPlayerConnectResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method SubstationPlayerConnect not implemented") +} +func (*UnimplementedMsgServer) SubstationPlayerDisconnect(ctx context.Context, req *MsgSubstationPlayerDisconnect) (*MsgSubstationPlayerDisconnectResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method SubstationPlayerDisconnect not implemented") +} +func (*UnimplementedMsgServer) SubstationPlayerMigrate(ctx context.Context, req *MsgSubstationPlayerMigrate) (*MsgSubstationPlayerMigrateResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method SubstationPlayerMigrate not implemented") } -func (m *MsgAllocationTransferResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil +func RegisterMsgServer(s grpc1.Server, srv MsgServer) { + s.RegisterService(&_Msg_serviceDesc, srv) } -func (m *MsgAllocationTransferResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func _Msg_UpdateParams_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgUpdateParams) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).UpdateParams(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Msg/UpdateParams", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).UpdateParams(ctx, req.(*MsgUpdateParams)) + } + return interceptor(ctx, in, info, handler) } -func (m *MsgAllocationTransferResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.AllocationId) > 0 { - i -= len(m.AllocationId) - copy(dAtA[i:], m.AllocationId) - i = encodeVarintTx(dAtA, i, uint64(len(m.AllocationId))) - i-- - dAtA[i] = 0xa +func _Msg_AddressRegister_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgAddressRegister) + if err := dec(in); err != nil { + return nil, err } - return len(dAtA) - i, nil + if interceptor == nil { + return srv.(MsgServer).AddressRegister(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Msg/AddressRegister", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).AddressRegister(ctx, req.(*MsgAddressRegister)) + } + return interceptor(ctx, in, info, handler) } -func (m *MsgFleetMove) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { +func _Msg_AddressRevoke_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgAddressRevoke) + if err := dec(in); err != nil { return nil, err } - return dAtA[:n], nil + if interceptor == nil { + return srv.(MsgServer).AddressRevoke(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Msg/AddressRevoke", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).AddressRevoke(ctx, req.(*MsgAddressRevoke)) + } + return interceptor(ctx, in, info, handler) } -func (m *MsgFleetMove) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func _Msg_AgreementOpen_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgAgreementOpen) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).AgreementOpen(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Msg/AgreementOpen", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).AgreementOpen(ctx, req.(*MsgAgreementOpen)) + } + return interceptor(ctx, in, info, handler) } -func (m *MsgFleetMove) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.DestinationLocationId) > 0 { - i -= len(m.DestinationLocationId) - copy(dAtA[i:], m.DestinationLocationId) - i = encodeVarintTx(dAtA, i, uint64(len(m.DestinationLocationId))) - i-- - dAtA[i] = 0x1a +func _Msg_AgreementClose_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgAgreementClose) + if err := dec(in); err != nil { + return nil, err } - if len(m.FleetId) > 0 { - i -= len(m.FleetId) - copy(dAtA[i:], m.FleetId) - i = encodeVarintTx(dAtA, i, uint64(len(m.FleetId))) - i-- - dAtA[i] = 0x12 + if interceptor == nil { + return srv.(MsgServer).AgreementClose(ctx, in) } - if len(m.Creator) > 0 { - i -= len(m.Creator) - copy(dAtA[i:], m.Creator) - i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) - i-- - dAtA[i] = 0xa + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Msg/AgreementClose", } - return len(dAtA) - i, nil + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).AgreementClose(ctx, req.(*MsgAgreementClose)) + } + return interceptor(ctx, in, info, handler) } -func (m *MsgFleetMoveResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { +func _Msg_AgreementCapacityIncrease_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgAgreementCapacityIncrease) + if err := dec(in); err != nil { return nil, err } - return dAtA[:n], nil + if interceptor == nil { + return srv.(MsgServer).AgreementCapacityIncrease(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Msg/AgreementCapacityIncrease", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).AgreementCapacityIncrease(ctx, req.(*MsgAgreementCapacityIncrease)) + } + return interceptor(ctx, in, info, handler) } -func (m *MsgFleetMoveResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func _Msg_AgreementCapacityDecrease_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgAgreementCapacityDecrease) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).AgreementCapacityDecrease(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Msg/AgreementCapacityDecrease", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).AgreementCapacityDecrease(ctx, req.(*MsgAgreementCapacityDecrease)) + } + return interceptor(ctx, in, info, handler) } -func (m *MsgFleetMoveResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Fleet != nil { - { - size, err := m.Fleet.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintTx(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa +func _Msg_AgreementDurationIncrease_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgAgreementDurationIncrease) + if err := dec(in); err != nil { + return nil, err } - return len(dAtA) - i, nil + if interceptor == nil { + return srv.(MsgServer).AgreementDurationIncrease(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Msg/AgreementDurationIncrease", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).AgreementDurationIncrease(ctx, req.(*MsgAgreementDurationIncrease)) + } + return interceptor(ctx, in, info, handler) } -func (m *MsgGuildCreate) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { +func _Msg_AllocationCreate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgAllocationCreate) + if err := dec(in); err != nil { return nil, err } - return dAtA[:n], nil -} - -func (m *MsgGuildCreate) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) + if interceptor == nil { + return srv.(MsgServer).AllocationCreate(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Msg/AllocationCreate", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).AllocationCreate(ctx, req.(*MsgAllocationCreate)) + } + return interceptor(ctx, in, info, handler) } -func (m *MsgGuildCreate) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.EntrySubstationId) > 0 { - i -= len(m.EntrySubstationId) - copy(dAtA[i:], m.EntrySubstationId) - i = encodeVarintTx(dAtA, i, uint64(len(m.EntrySubstationId))) - i-- - dAtA[i] = 0x1a +func _Msg_AllocationDelete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgAllocationDelete) + if err := dec(in); err != nil { + return nil, err } - if len(m.Endpoint) > 0 { - i -= len(m.Endpoint) - copy(dAtA[i:], m.Endpoint) - i = encodeVarintTx(dAtA, i, uint64(len(m.Endpoint))) - i-- - dAtA[i] = 0x12 + if interceptor == nil { + return srv.(MsgServer).AllocationDelete(ctx, in) } - if len(m.Creator) > 0 { - i -= len(m.Creator) - copy(dAtA[i:], m.Creator) - i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) - i-- - dAtA[i] = 0xa + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Msg/AllocationDelete", } - return len(dAtA) - i, nil + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).AllocationDelete(ctx, req.(*MsgAllocationDelete)) + } + return interceptor(ctx, in, info, handler) } -func (m *MsgGuildCreateResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { +func _Msg_AllocationUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgAllocationUpdate) + if err := dec(in); err != nil { return nil, err } - return dAtA[:n], nil + if interceptor == nil { + return srv.(MsgServer).AllocationUpdate(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Msg/AllocationUpdate", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).AllocationUpdate(ctx, req.(*MsgAllocationUpdate)) + } + return interceptor(ctx, in, info, handler) } -func (m *MsgGuildCreateResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func _Msg_AllocationTransfer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgAllocationTransfer) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).AllocationTransfer(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Msg/AllocationTransfer", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).AllocationTransfer(ctx, req.(*MsgAllocationTransfer)) + } + return interceptor(ctx, in, info, handler) } -func (m *MsgGuildCreateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.GuildId) > 0 { - i -= len(m.GuildId) - copy(dAtA[i:], m.GuildId) - i = encodeVarintTx(dAtA, i, uint64(len(m.GuildId))) - i-- - dAtA[i] = 0xa +func _Msg_FleetMove_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgFleetMove) + if err := dec(in); err != nil { + return nil, err } - return len(dAtA) - i, nil + if interceptor == nil { + return srv.(MsgServer).FleetMove(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Msg/FleetMove", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).FleetMove(ctx, req.(*MsgFleetMove)) + } + return interceptor(ctx, in, info, handler) } -func (m *MsgGuildUpdateOwnerId) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { +func _Msg_GuildCreate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgGuildCreate) + if err := dec(in); err != nil { return nil, err } - return dAtA[:n], nil + if interceptor == nil { + return srv.(MsgServer).GuildCreate(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Msg/GuildCreate", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).GuildCreate(ctx, req.(*MsgGuildCreate)) + } + return interceptor(ctx, in, info, handler) } -func (m *MsgGuildUpdateOwnerId) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func _Msg_GuildBankMint_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgGuildBankMint) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).GuildBankMint(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Msg/GuildBankMint", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).GuildBankMint(ctx, req.(*MsgGuildBankMint)) + } + return interceptor(ctx, in, info, handler) } -func (m *MsgGuildUpdateOwnerId) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Owner) > 0 { - i -= len(m.Owner) - copy(dAtA[i:], m.Owner) - i = encodeVarintTx(dAtA, i, uint64(len(m.Owner))) - i-- - dAtA[i] = 0x1a +func _Msg_GuildBankRedeem_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgGuildBankRedeem) + if err := dec(in); err != nil { + return nil, err } - if len(m.GuildId) > 0 { - i -= len(m.GuildId) - copy(dAtA[i:], m.GuildId) - i = encodeVarintTx(dAtA, i, uint64(len(m.GuildId))) - i-- - dAtA[i] = 0x12 + if interceptor == nil { + return srv.(MsgServer).GuildBankRedeem(ctx, in) } - if len(m.Creator) > 0 { - i -= len(m.Creator) - copy(dAtA[i:], m.Creator) - i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) - i-- - dAtA[i] = 0xa + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Msg/GuildBankRedeem", } - return len(dAtA) - i, nil + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).GuildBankRedeem(ctx, req.(*MsgGuildBankRedeem)) + } + return interceptor(ctx, in, info, handler) } -func (m *MsgGuildUpdateEntrySubstationId) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { +func _Msg_GuildBankConfiscateAndBurn_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgGuildBankConfiscateAndBurn) + if err := dec(in); err != nil { return nil, err } - return dAtA[:n], nil + if interceptor == nil { + return srv.(MsgServer).GuildBankConfiscateAndBurn(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Msg/GuildBankConfiscateAndBurn", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).GuildBankConfiscateAndBurn(ctx, req.(*MsgGuildBankConfiscateAndBurn)) + } + return interceptor(ctx, in, info, handler) } -func (m *MsgGuildUpdateEntrySubstationId) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func _Msg_GuildUpdateOwnerId_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgGuildUpdateOwnerId) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).GuildUpdateOwnerId(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Msg/GuildUpdateOwnerId", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).GuildUpdateOwnerId(ctx, req.(*MsgGuildUpdateOwnerId)) + } + return interceptor(ctx, in, info, handler) } -func (m *MsgGuildUpdateEntrySubstationId) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.EntrySubstationId) > 0 { - i -= len(m.EntrySubstationId) - copy(dAtA[i:], m.EntrySubstationId) - i = encodeVarintTx(dAtA, i, uint64(len(m.EntrySubstationId))) - i-- - dAtA[i] = 0x1a +func _Msg_GuildUpdateEntrySubstationId_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgGuildUpdateEntrySubstationId) + if err := dec(in); err != nil { + return nil, err } - if len(m.GuildId) > 0 { - i -= len(m.GuildId) - copy(dAtA[i:], m.GuildId) - i = encodeVarintTx(dAtA, i, uint64(len(m.GuildId))) - i-- - dAtA[i] = 0x12 + if interceptor == nil { + return srv.(MsgServer).GuildUpdateEntrySubstationId(ctx, in) } - if len(m.Creator) > 0 { - i -= len(m.Creator) - copy(dAtA[i:], m.Creator) - i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) - i-- - dAtA[i] = 0xa + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Msg/GuildUpdateEntrySubstationId", } - return len(dAtA) - i, nil + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).GuildUpdateEntrySubstationId(ctx, req.(*MsgGuildUpdateEntrySubstationId)) + } + return interceptor(ctx, in, info, handler) } -func (m *MsgGuildUpdateEndpoint) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { +func _Msg_GuildUpdateEndpoint_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgGuildUpdateEndpoint) + if err := dec(in); err != nil { return nil, err } - return dAtA[:n], nil -} - -func (m *MsgGuildUpdateEndpoint) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MsgGuildUpdateEndpoint) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Endpoint) > 0 { - i -= len(m.Endpoint) - copy(dAtA[i:], m.Endpoint) - i = encodeVarintTx(dAtA, i, uint64(len(m.Endpoint))) - i-- - dAtA[i] = 0x1a + if interceptor == nil { + return srv.(MsgServer).GuildUpdateEndpoint(ctx, in) } - if len(m.GuildId) > 0 { - i -= len(m.GuildId) - copy(dAtA[i:], m.GuildId) - i = encodeVarintTx(dAtA, i, uint64(len(m.GuildId))) - i-- - dAtA[i] = 0x12 + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Msg/GuildUpdateEndpoint", } - if len(m.Creator) > 0 { - i -= len(m.Creator) - copy(dAtA[i:], m.Creator) - i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) - i-- - dAtA[i] = 0xa + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).GuildUpdateEndpoint(ctx, req.(*MsgGuildUpdateEndpoint)) } - return len(dAtA) - i, nil + return interceptor(ctx, in, info, handler) } -func (m *MsgGuildUpdateJoinInfusionMinimum) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { +func _Msg_GuildUpdateJoinInfusionMinimum_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgGuildUpdateJoinInfusionMinimum) + if err := dec(in); err != nil { return nil, err } - return dAtA[:n], nil -} - -func (m *MsgGuildUpdateJoinInfusionMinimum) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MsgGuildUpdateJoinInfusionMinimum) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.JoinInfusionMinimum != 0 { - i = encodeVarintTx(dAtA, i, uint64(m.JoinInfusionMinimum)) - i-- - dAtA[i] = 0x18 + if interceptor == nil { + return srv.(MsgServer).GuildUpdateJoinInfusionMinimum(ctx, in) } - if len(m.GuildId) > 0 { - i -= len(m.GuildId) - copy(dAtA[i:], m.GuildId) - i = encodeVarintTx(dAtA, i, uint64(len(m.GuildId))) - i-- - dAtA[i] = 0x12 + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Msg/GuildUpdateJoinInfusionMinimum", } - if len(m.Creator) > 0 { - i -= len(m.Creator) - copy(dAtA[i:], m.Creator) - i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) - i-- - dAtA[i] = 0xa + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).GuildUpdateJoinInfusionMinimum(ctx, req.(*MsgGuildUpdateJoinInfusionMinimum)) } - return len(dAtA) - i, nil + return interceptor(ctx, in, info, handler) } -func (m *MsgGuildUpdateJoinInfusionMinimumBypassByRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { +func _Msg_GuildUpdateJoinInfusionMinimumBypassByInvite_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgGuildUpdateJoinInfusionMinimumBypassByInvite) + if err := dec(in); err != nil { return nil, err } - return dAtA[:n], nil -} - -func (m *MsgGuildUpdateJoinInfusionMinimumBypassByRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MsgGuildUpdateJoinInfusionMinimumBypassByRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.GuildJoinBypassLevel != 0 { - i = encodeVarintTx(dAtA, i, uint64(m.GuildJoinBypassLevel)) - i-- - dAtA[i] = 0x18 + if interceptor == nil { + return srv.(MsgServer).GuildUpdateJoinInfusionMinimumBypassByInvite(ctx, in) } - if len(m.GuildId) > 0 { - i -= len(m.GuildId) - copy(dAtA[i:], m.GuildId) - i = encodeVarintTx(dAtA, i, uint64(len(m.GuildId))) - i-- - dAtA[i] = 0x12 + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Msg/GuildUpdateJoinInfusionMinimumBypassByInvite", } - if len(m.Creator) > 0 { - i -= len(m.Creator) - copy(dAtA[i:], m.Creator) - i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) - i-- - dAtA[i] = 0xa + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).GuildUpdateJoinInfusionMinimumBypassByInvite(ctx, req.(*MsgGuildUpdateJoinInfusionMinimumBypassByInvite)) } - return len(dAtA) - i, nil + return interceptor(ctx, in, info, handler) } -func (m *MsgGuildUpdateJoinInfusionMinimumBypassByInvite) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { +func _Msg_GuildUpdateJoinInfusionMinimumBypassByRequest_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgGuildUpdateJoinInfusionMinimumBypassByRequest) + if err := dec(in); err != nil { return nil, err } - return dAtA[:n], nil -} - -func (m *MsgGuildUpdateJoinInfusionMinimumBypassByInvite) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) + if interceptor == nil { + return srv.(MsgServer).GuildUpdateJoinInfusionMinimumBypassByRequest(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Msg/GuildUpdateJoinInfusionMinimumBypassByRequest", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).GuildUpdateJoinInfusionMinimumBypassByRequest(ctx, req.(*MsgGuildUpdateJoinInfusionMinimumBypassByRequest)) + } + return interceptor(ctx, in, info, handler) } -func (m *MsgGuildUpdateJoinInfusionMinimumBypassByInvite) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.GuildJoinBypassLevel != 0 { - i = encodeVarintTx(dAtA, i, uint64(m.GuildJoinBypassLevel)) - i-- - dAtA[i] = 0x18 +func _Msg_GuildMembershipInvite_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgGuildMembershipInvite) + if err := dec(in); err != nil { + return nil, err } - if len(m.GuildId) > 0 { - i -= len(m.GuildId) - copy(dAtA[i:], m.GuildId) - i = encodeVarintTx(dAtA, i, uint64(len(m.GuildId))) - i-- - dAtA[i] = 0x12 + if interceptor == nil { + return srv.(MsgServer).GuildMembershipInvite(ctx, in) } - if len(m.Creator) > 0 { - i -= len(m.Creator) - copy(dAtA[i:], m.Creator) - i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) - i-- - dAtA[i] = 0xa + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Msg/GuildMembershipInvite", } - return len(dAtA) - i, nil + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).GuildMembershipInvite(ctx, req.(*MsgGuildMembershipInvite)) + } + return interceptor(ctx, in, info, handler) } -func (m *MsgGuildUpdateResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { +func _Msg_GuildMembershipInviteApprove_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgGuildMembershipInviteApprove) + if err := dec(in); err != nil { return nil, err } - return dAtA[:n], nil + if interceptor == nil { + return srv.(MsgServer).GuildMembershipInviteApprove(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Msg/GuildMembershipInviteApprove", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).GuildMembershipInviteApprove(ctx, req.(*MsgGuildMembershipInviteApprove)) + } + return interceptor(ctx, in, info, handler) } -func (m *MsgGuildUpdateResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MsgGuildUpdateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - return len(dAtA) - i, nil -} - -func (m *MsgGuildMembershipInvite) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { +func _Msg_GuildMembershipInviteDeny_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgGuildMembershipInviteDeny) + if err := dec(in); err != nil { return nil, err } - return dAtA[:n], nil -} - -func (m *MsgGuildMembershipInvite) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) + if interceptor == nil { + return srv.(MsgServer).GuildMembershipInviteDeny(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Msg/GuildMembershipInviteDeny", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).GuildMembershipInviteDeny(ctx, req.(*MsgGuildMembershipInviteDeny)) + } + return interceptor(ctx, in, info, handler) } -func (m *MsgGuildMembershipInvite) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.SubstationId) > 0 { - i -= len(m.SubstationId) - copy(dAtA[i:], m.SubstationId) - i = encodeVarintTx(dAtA, i, uint64(len(m.SubstationId))) - i-- - dAtA[i] = 0x22 +func _Msg_GuildMembershipInviteRevoke_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgGuildMembershipInviteRevoke) + if err := dec(in); err != nil { + return nil, err } - if len(m.PlayerId) > 0 { - i -= len(m.PlayerId) - copy(dAtA[i:], m.PlayerId) - i = encodeVarintTx(dAtA, i, uint64(len(m.PlayerId))) - i-- - dAtA[i] = 0x1a + if interceptor == nil { + return srv.(MsgServer).GuildMembershipInviteRevoke(ctx, in) } - if len(m.GuildId) > 0 { - i -= len(m.GuildId) - copy(dAtA[i:], m.GuildId) - i = encodeVarintTx(dAtA, i, uint64(len(m.GuildId))) - i-- - dAtA[i] = 0x12 + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Msg/GuildMembershipInviteRevoke", } - if len(m.Creator) > 0 { - i -= len(m.Creator) - copy(dAtA[i:], m.Creator) - i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) - i-- - dAtA[i] = 0xa + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).GuildMembershipInviteRevoke(ctx, req.(*MsgGuildMembershipInviteRevoke)) } - return len(dAtA) - i, nil + return interceptor(ctx, in, info, handler) } -func (m *MsgGuildMembershipInviteApprove) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { +func _Msg_GuildMembershipJoin_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgGuildMembershipJoin) + if err := dec(in); err != nil { return nil, err } - return dAtA[:n], nil + if interceptor == nil { + return srv.(MsgServer).GuildMembershipJoin(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Msg/GuildMembershipJoin", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).GuildMembershipJoin(ctx, req.(*MsgGuildMembershipJoin)) + } + return interceptor(ctx, in, info, handler) } -func (m *MsgGuildMembershipInviteApprove) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func _Msg_GuildMembershipJoinProxy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgGuildMembershipJoinProxy) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).GuildMembershipJoinProxy(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Msg/GuildMembershipJoinProxy", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).GuildMembershipJoinProxy(ctx, req.(*MsgGuildMembershipJoinProxy)) + } + return interceptor(ctx, in, info, handler) } -func (m *MsgGuildMembershipInviteApprove) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.SubstationId) > 0 { - i -= len(m.SubstationId) - copy(dAtA[i:], m.SubstationId) - i = encodeVarintTx(dAtA, i, uint64(len(m.SubstationId))) - i-- - dAtA[i] = 0x22 +func _Msg_GuildMembershipKick_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgGuildMembershipKick) + if err := dec(in); err != nil { + return nil, err } - if len(m.PlayerId) > 0 { - i -= len(m.PlayerId) - copy(dAtA[i:], m.PlayerId) - i = encodeVarintTx(dAtA, i, uint64(len(m.PlayerId))) - i-- - dAtA[i] = 0x1a + if interceptor == nil { + return srv.(MsgServer).GuildMembershipKick(ctx, in) } - if len(m.GuildId) > 0 { - i -= len(m.GuildId) - copy(dAtA[i:], m.GuildId) - i = encodeVarintTx(dAtA, i, uint64(len(m.GuildId))) - i-- - dAtA[i] = 0x12 + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Msg/GuildMembershipKick", } - if len(m.Creator) > 0 { - i -= len(m.Creator) - copy(dAtA[i:], m.Creator) - i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) - i-- - dAtA[i] = 0xa + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).GuildMembershipKick(ctx, req.(*MsgGuildMembershipKick)) } - return len(dAtA) - i, nil + return interceptor(ctx, in, info, handler) } -func (m *MsgGuildMembershipInviteDeny) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { +func _Msg_GuildMembershipRequest_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgGuildMembershipRequest) + if err := dec(in); err != nil { return nil, err } - return dAtA[:n], nil + if interceptor == nil { + return srv.(MsgServer).GuildMembershipRequest(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Msg/GuildMembershipRequest", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).GuildMembershipRequest(ctx, req.(*MsgGuildMembershipRequest)) + } + return interceptor(ctx, in, info, handler) } -func (m *MsgGuildMembershipInviteDeny) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func _Msg_GuildMembershipRequestApprove_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgGuildMembershipRequestApprove) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).GuildMembershipRequestApprove(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Msg/GuildMembershipRequestApprove", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).GuildMembershipRequestApprove(ctx, req.(*MsgGuildMembershipRequestApprove)) + } + return interceptor(ctx, in, info, handler) } -func (m *MsgGuildMembershipInviteDeny) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.PlayerId) > 0 { - i -= len(m.PlayerId) - copy(dAtA[i:], m.PlayerId) - i = encodeVarintTx(dAtA, i, uint64(len(m.PlayerId))) - i-- - dAtA[i] = 0x1a +func _Msg_GuildMembershipRequestDeny_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgGuildMembershipRequestDeny) + if err := dec(in); err != nil { + return nil, err } - if len(m.GuildId) > 0 { - i -= len(m.GuildId) - copy(dAtA[i:], m.GuildId) - i = encodeVarintTx(dAtA, i, uint64(len(m.GuildId))) - i-- - dAtA[i] = 0x12 + if interceptor == nil { + return srv.(MsgServer).GuildMembershipRequestDeny(ctx, in) } - if len(m.Creator) > 0 { - i -= len(m.Creator) - copy(dAtA[i:], m.Creator) - i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) - i-- - dAtA[i] = 0xa + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Msg/GuildMembershipRequestDeny", } - return len(dAtA) - i, nil + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).GuildMembershipRequestDeny(ctx, req.(*MsgGuildMembershipRequestDeny)) + } + return interceptor(ctx, in, info, handler) } -func (m *MsgGuildMembershipInviteRevoke) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { +func _Msg_GuildMembershipRequestRevoke_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgGuildMembershipRequestRevoke) + if err := dec(in); err != nil { return nil, err } - return dAtA[:n], nil + if interceptor == nil { + return srv.(MsgServer).GuildMembershipRequestRevoke(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Msg/GuildMembershipRequestRevoke", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).GuildMembershipRequestRevoke(ctx, req.(*MsgGuildMembershipRequestRevoke)) + } + return interceptor(ctx, in, info, handler) } -func (m *MsgGuildMembershipInviteRevoke) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func _Msg_PermissionGrantOnAddress_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgPermissionGrantOnAddress) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).PermissionGrantOnAddress(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Msg/PermissionGrantOnAddress", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).PermissionGrantOnAddress(ctx, req.(*MsgPermissionGrantOnAddress)) + } + return interceptor(ctx, in, info, handler) } -func (m *MsgGuildMembershipInviteRevoke) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.PlayerId) > 0 { - i -= len(m.PlayerId) - copy(dAtA[i:], m.PlayerId) - i = encodeVarintTx(dAtA, i, uint64(len(m.PlayerId))) - i-- - dAtA[i] = 0x1a +func _Msg_PermissionGrantOnObject_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgPermissionGrantOnObject) + if err := dec(in); err != nil { + return nil, err } - if len(m.GuildId) > 0 { - i -= len(m.GuildId) - copy(dAtA[i:], m.GuildId) - i = encodeVarintTx(dAtA, i, uint64(len(m.GuildId))) - i-- - dAtA[i] = 0x12 + if interceptor == nil { + return srv.(MsgServer).PermissionGrantOnObject(ctx, in) } - if len(m.Creator) > 0 { - i -= len(m.Creator) - copy(dAtA[i:], m.Creator) - i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) - i-- - dAtA[i] = 0xa + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Msg/PermissionGrantOnObject", } - return len(dAtA) - i, nil + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).PermissionGrantOnObject(ctx, req.(*MsgPermissionGrantOnObject)) + } + return interceptor(ctx, in, info, handler) } -func (m *MsgGuildMembershipJoin) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { +func _Msg_PermissionRevokeOnAddress_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgPermissionRevokeOnAddress) + if err := dec(in); err != nil { return nil, err } - return dAtA[:n], nil + if interceptor == nil { + return srv.(MsgServer).PermissionRevokeOnAddress(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Msg/PermissionRevokeOnAddress", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).PermissionRevokeOnAddress(ctx, req.(*MsgPermissionRevokeOnAddress)) + } + return interceptor(ctx, in, info, handler) } -func (m *MsgGuildMembershipJoin) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func _Msg_PermissionRevokeOnObject_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgPermissionRevokeOnObject) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).PermissionRevokeOnObject(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Msg/PermissionRevokeOnObject", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).PermissionRevokeOnObject(ctx, req.(*MsgPermissionRevokeOnObject)) + } + return interceptor(ctx, in, info, handler) } -func (m *MsgGuildMembershipJoin) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.InfusionId) > 0 { - for iNdEx := len(m.InfusionId) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.InfusionId[iNdEx]) - copy(dAtA[i:], m.InfusionId[iNdEx]) - i = encodeVarintTx(dAtA, i, uint64(len(m.InfusionId[iNdEx]))) - i-- - dAtA[i] = 0x2a - } - } - if len(m.SubstationId) > 0 { - i -= len(m.SubstationId) - copy(dAtA[i:], m.SubstationId) - i = encodeVarintTx(dAtA, i, uint64(len(m.SubstationId))) - i-- - dAtA[i] = 0x22 +func _Msg_PermissionSetOnAddress_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgPermissionSetOnAddress) + if err := dec(in); err != nil { + return nil, err } - if len(m.PlayerId) > 0 { - i -= len(m.PlayerId) - copy(dAtA[i:], m.PlayerId) - i = encodeVarintTx(dAtA, i, uint64(len(m.PlayerId))) - i-- - dAtA[i] = 0x1a + if interceptor == nil { + return srv.(MsgServer).PermissionSetOnAddress(ctx, in) } - if len(m.GuildId) > 0 { - i -= len(m.GuildId) - copy(dAtA[i:], m.GuildId) - i = encodeVarintTx(dAtA, i, uint64(len(m.GuildId))) - i-- - dAtA[i] = 0x12 + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Msg/PermissionSetOnAddress", } - if len(m.Creator) > 0 { - i -= len(m.Creator) - copy(dAtA[i:], m.Creator) - i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) - i-- - dAtA[i] = 0xa + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).PermissionSetOnAddress(ctx, req.(*MsgPermissionSetOnAddress)) } - return len(dAtA) - i, nil + return interceptor(ctx, in, info, handler) } -func (m *MsgGuildMembershipJoinProxy) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { +func _Msg_PermissionSetOnObject_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgPermissionSetOnObject) + if err := dec(in); err != nil { return nil, err } - return dAtA[:n], nil + if interceptor == nil { + return srv.(MsgServer).PermissionSetOnObject(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Msg/PermissionSetOnObject", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).PermissionSetOnObject(ctx, req.(*MsgPermissionSetOnObject)) + } + return interceptor(ctx, in, info, handler) } -func (m *MsgGuildMembershipJoinProxy) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func _Msg_PlanetExplore_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgPlanetExplore) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).PlanetExplore(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Msg/PlanetExplore", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).PlanetExplore(ctx, req.(*MsgPlanetExplore)) + } + return interceptor(ctx, in, info, handler) } -func (m *MsgGuildMembershipJoinProxy) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.ProofSignature) > 0 { - i -= len(m.ProofSignature) - copy(dAtA[i:], m.ProofSignature) - i = encodeVarintTx(dAtA, i, uint64(len(m.ProofSignature))) - i-- - dAtA[i] = 0x2a - } - if len(m.ProofPubKey) > 0 { - i -= len(m.ProofPubKey) - copy(dAtA[i:], m.ProofPubKey) - i = encodeVarintTx(dAtA, i, uint64(len(m.ProofPubKey))) - i-- - dAtA[i] = 0x22 +func _Msg_PlanetRaidComplete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgPlanetRaidComplete) + if err := dec(in); err != nil { + return nil, err } - if len(m.SubstationId) > 0 { - i -= len(m.SubstationId) - copy(dAtA[i:], m.SubstationId) - i = encodeVarintTx(dAtA, i, uint64(len(m.SubstationId))) - i-- - dAtA[i] = 0x1a + if interceptor == nil { + return srv.(MsgServer).PlanetRaidComplete(ctx, in) } - if len(m.Address) > 0 { - i -= len(m.Address) - copy(dAtA[i:], m.Address) - i = encodeVarintTx(dAtA, i, uint64(len(m.Address))) - i-- - dAtA[i] = 0x12 + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Msg/PlanetRaidComplete", } - if len(m.Creator) > 0 { - i -= len(m.Creator) - copy(dAtA[i:], m.Creator) - i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) - i-- - dAtA[i] = 0xa + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).PlanetRaidComplete(ctx, req.(*MsgPlanetRaidComplete)) } - return len(dAtA) - i, nil + return interceptor(ctx, in, info, handler) } -func (m *MsgGuildMembershipKick) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { +func _Msg_PlayerUpdatePrimaryAddress_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgPlayerUpdatePrimaryAddress) + if err := dec(in); err != nil { return nil, err } - return dAtA[:n], nil + if interceptor == nil { + return srv.(MsgServer).PlayerUpdatePrimaryAddress(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Msg/PlayerUpdatePrimaryAddress", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).PlayerUpdatePrimaryAddress(ctx, req.(*MsgPlayerUpdatePrimaryAddress)) + } + return interceptor(ctx, in, info, handler) } -func (m *MsgGuildMembershipKick) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MsgGuildMembershipKick) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.PlayerId) > 0 { - i -= len(m.PlayerId) - copy(dAtA[i:], m.PlayerId) - i = encodeVarintTx(dAtA, i, uint64(len(m.PlayerId))) - i-- - dAtA[i] = 0x1a +func _Msg_PlayerResume_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgPlayerResume) + if err := dec(in); err != nil { + return nil, err } - if len(m.GuildId) > 0 { - i -= len(m.GuildId) - copy(dAtA[i:], m.GuildId) - i = encodeVarintTx(dAtA, i, uint64(len(m.GuildId))) - i-- - dAtA[i] = 0x12 + if interceptor == nil { + return srv.(MsgServer).PlayerResume(ctx, in) } - if len(m.Creator) > 0 { - i -= len(m.Creator) - copy(dAtA[i:], m.Creator) - i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) - i-- - dAtA[i] = 0xa + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Msg/PlayerResume", } - return len(dAtA) - i, nil + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).PlayerResume(ctx, req.(*MsgPlayerResume)) + } + return interceptor(ctx, in, info, handler) } -func (m *MsgGuildMembershipRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { +func _Msg_ProviderCreate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgProviderCreate) + if err := dec(in); err != nil { return nil, err } - return dAtA[:n], nil -} - -func (m *MsgGuildMembershipRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) + if interceptor == nil { + return srv.(MsgServer).ProviderCreate(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Msg/ProviderCreate", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).ProviderCreate(ctx, req.(*MsgProviderCreate)) + } + return interceptor(ctx, in, info, handler) } -func (m *MsgGuildMembershipRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.SubstationId) > 0 { - i -= len(m.SubstationId) - copy(dAtA[i:], m.SubstationId) - i = encodeVarintTx(dAtA, i, uint64(len(m.SubstationId))) - i-- - dAtA[i] = 0x22 +func _Msg_ProviderWithdrawBalance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgProviderWithdrawBalance) + if err := dec(in); err != nil { + return nil, err } - if len(m.PlayerId) > 0 { - i -= len(m.PlayerId) - copy(dAtA[i:], m.PlayerId) - i = encodeVarintTx(dAtA, i, uint64(len(m.PlayerId))) - i-- - dAtA[i] = 0x1a + if interceptor == nil { + return srv.(MsgServer).ProviderWithdrawBalance(ctx, in) } - if len(m.GuildId) > 0 { - i -= len(m.GuildId) - copy(dAtA[i:], m.GuildId) - i = encodeVarintTx(dAtA, i, uint64(len(m.GuildId))) - i-- - dAtA[i] = 0x12 + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Msg/ProviderWithdrawBalance", } - if len(m.Creator) > 0 { - i -= len(m.Creator) - copy(dAtA[i:], m.Creator) - i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) - i-- - dAtA[i] = 0xa + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).ProviderWithdrawBalance(ctx, req.(*MsgProviderWithdrawBalance)) } - return len(dAtA) - i, nil + return interceptor(ctx, in, info, handler) } -func (m *MsgGuildMembershipRequestApprove) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { +func _Msg_ProviderUpdateCapacityMinimum_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgProviderUpdateCapacityMinimum) + if err := dec(in); err != nil { return nil, err } - return dAtA[:n], nil + if interceptor == nil { + return srv.(MsgServer).ProviderUpdateCapacityMinimum(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Msg/ProviderUpdateCapacityMinimum", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).ProviderUpdateCapacityMinimum(ctx, req.(*MsgProviderUpdateCapacityMinimum)) + } + return interceptor(ctx, in, info, handler) } -func (m *MsgGuildMembershipRequestApprove) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func _Msg_ProviderUpdateCapacityMaximum_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgProviderUpdateCapacityMaximum) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).ProviderUpdateCapacityMaximum(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Msg/ProviderUpdateCapacityMaximum", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).ProviderUpdateCapacityMaximum(ctx, req.(*MsgProviderUpdateCapacityMaximum)) + } + return interceptor(ctx, in, info, handler) } -func (m *MsgGuildMembershipRequestApprove) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.SubstationId) > 0 { - i -= len(m.SubstationId) - copy(dAtA[i:], m.SubstationId) - i = encodeVarintTx(dAtA, i, uint64(len(m.SubstationId))) - i-- - dAtA[i] = 0x22 +func _Msg_ProviderUpdateDurationMinimum_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgProviderUpdateDurationMinimum) + if err := dec(in); err != nil { + return nil, err } - if len(m.PlayerId) > 0 { - i -= len(m.PlayerId) - copy(dAtA[i:], m.PlayerId) - i = encodeVarintTx(dAtA, i, uint64(len(m.PlayerId))) - i-- - dAtA[i] = 0x1a + if interceptor == nil { + return srv.(MsgServer).ProviderUpdateDurationMinimum(ctx, in) } - if len(m.GuildId) > 0 { - i -= len(m.GuildId) - copy(dAtA[i:], m.GuildId) - i = encodeVarintTx(dAtA, i, uint64(len(m.GuildId))) - i-- - dAtA[i] = 0x12 + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Msg/ProviderUpdateDurationMinimum", } - if len(m.Creator) > 0 { - i -= len(m.Creator) - copy(dAtA[i:], m.Creator) - i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) - i-- - dAtA[i] = 0xa + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).ProviderUpdateDurationMinimum(ctx, req.(*MsgProviderUpdateDurationMinimum)) } - return len(dAtA) - i, nil + return interceptor(ctx, in, info, handler) } -func (m *MsgGuildMembershipRequestDeny) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { +func _Msg_ProviderUpdateDurationMaximum_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgProviderUpdateDurationMaximum) + if err := dec(in); err != nil { return nil, err } - return dAtA[:n], nil + if interceptor == nil { + return srv.(MsgServer).ProviderUpdateDurationMaximum(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Msg/ProviderUpdateDurationMaximum", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).ProviderUpdateDurationMaximum(ctx, req.(*MsgProviderUpdateDurationMaximum)) + } + return interceptor(ctx, in, info, handler) } -func (m *MsgGuildMembershipRequestDeny) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func _Msg_ProviderUpdateAccessPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgProviderUpdateAccessPolicy) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).ProviderUpdateAccessPolicy(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Msg/ProviderUpdateAccessPolicy", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).ProviderUpdateAccessPolicy(ctx, req.(*MsgProviderUpdateAccessPolicy)) + } + return interceptor(ctx, in, info, handler) } -func (m *MsgGuildMembershipRequestDeny) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.PlayerId) > 0 { - i -= len(m.PlayerId) - copy(dAtA[i:], m.PlayerId) - i = encodeVarintTx(dAtA, i, uint64(len(m.PlayerId))) - i-- - dAtA[i] = 0x1a +func _Msg_ProviderGuildGrant_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgProviderGuildGrant) + if err := dec(in); err != nil { + return nil, err } - if len(m.GuildId) > 0 { - i -= len(m.GuildId) - copy(dAtA[i:], m.GuildId) - i = encodeVarintTx(dAtA, i, uint64(len(m.GuildId))) - i-- - dAtA[i] = 0x12 + if interceptor == nil { + return srv.(MsgServer).ProviderGuildGrant(ctx, in) } - if len(m.Creator) > 0 { - i -= len(m.Creator) - copy(dAtA[i:], m.Creator) - i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) - i-- - dAtA[i] = 0xa + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Msg/ProviderGuildGrant", } - return len(dAtA) - i, nil + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).ProviderGuildGrant(ctx, req.(*MsgProviderGuildGrant)) + } + return interceptor(ctx, in, info, handler) } -func (m *MsgGuildMembershipRequestRevoke) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { +func _Msg_ProviderGuildRevoke_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgProviderGuildRevoke) + if err := dec(in); err != nil { return nil, err } - return dAtA[:n], nil + if interceptor == nil { + return srv.(MsgServer).ProviderGuildRevoke(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Msg/ProviderGuildRevoke", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).ProviderGuildRevoke(ctx, req.(*MsgProviderGuildRevoke)) + } + return interceptor(ctx, in, info, handler) } -func (m *MsgGuildMembershipRequestRevoke) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func _Msg_ProviderDelete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgProviderDelete) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).ProviderDelete(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Msg/ProviderDelete", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).ProviderDelete(ctx, req.(*MsgProviderDelete)) + } + return interceptor(ctx, in, info, handler) } -func (m *MsgGuildMembershipRequestRevoke) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.PlayerId) > 0 { - i -= len(m.PlayerId) - copy(dAtA[i:], m.PlayerId) - i = encodeVarintTx(dAtA, i, uint64(len(m.PlayerId))) - i-- - dAtA[i] = 0x1a +func _Msg_StructActivate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgStructActivate) + if err := dec(in); err != nil { + return nil, err } - if len(m.GuildId) > 0 { - i -= len(m.GuildId) - copy(dAtA[i:], m.GuildId) - i = encodeVarintTx(dAtA, i, uint64(len(m.GuildId))) - i-- - dAtA[i] = 0x12 + if interceptor == nil { + return srv.(MsgServer).StructActivate(ctx, in) } - if len(m.Creator) > 0 { - i -= len(m.Creator) - copy(dAtA[i:], m.Creator) - i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) - i-- - dAtA[i] = 0xa + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Msg/StructActivate", } - return len(dAtA) - i, nil + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).StructActivate(ctx, req.(*MsgStructActivate)) + } + return interceptor(ctx, in, info, handler) } -func (m *MsgGuildMembershipResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { +func _Msg_StructDeactivate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgStructDeactivate) + if err := dec(in); err != nil { return nil, err } - return dAtA[:n], nil -} - -func (m *MsgGuildMembershipResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MsgGuildMembershipResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.GuildMembershipApplication != nil { - { - size, err := m.GuildMembershipApplication.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintTx(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa + if interceptor == nil { + return srv.(MsgServer).StructDeactivate(ctx, in) } - return len(dAtA) - i, nil + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Msg/StructDeactivate", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).StructDeactivate(ctx, req.(*MsgStructDeactivate)) + } + return interceptor(ctx, in, info, handler) } -func (m *MsgPermissionGrantOnObject) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { +func _Msg_StructBuildInitiate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgStructBuildInitiate) + if err := dec(in); err != nil { return nil, err } - return dAtA[:n], nil -} - -func (m *MsgPermissionGrantOnObject) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) + if interceptor == nil { + return srv.(MsgServer).StructBuildInitiate(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Msg/StructBuildInitiate", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).StructBuildInitiate(ctx, req.(*MsgStructBuildInitiate)) + } + return interceptor(ctx, in, info, handler) } -func (m *MsgPermissionGrantOnObject) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Permissions != 0 { - i = encodeVarintTx(dAtA, i, uint64(m.Permissions)) - i-- - dAtA[i] = 0x20 +func _Msg_StructBuildComplete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgStructBuildComplete) + if err := dec(in); err != nil { + return nil, err } - if len(m.PlayerId) > 0 { - i -= len(m.PlayerId) - copy(dAtA[i:], m.PlayerId) - i = encodeVarintTx(dAtA, i, uint64(len(m.PlayerId))) - i-- - dAtA[i] = 0x1a + if interceptor == nil { + return srv.(MsgServer).StructBuildComplete(ctx, in) } - if len(m.ObjectId) > 0 { - i -= len(m.ObjectId) - copy(dAtA[i:], m.ObjectId) - i = encodeVarintTx(dAtA, i, uint64(len(m.ObjectId))) - i-- - dAtA[i] = 0x12 + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Msg/StructBuildComplete", } - if len(m.Creator) > 0 { - i -= len(m.Creator) - copy(dAtA[i:], m.Creator) - i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) - i-- - dAtA[i] = 0xa + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).StructBuildComplete(ctx, req.(*MsgStructBuildComplete)) } - return len(dAtA) - i, nil + return interceptor(ctx, in, info, handler) } -func (m *MsgPermissionGrantOnAddress) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { +func _Msg_StructBuildCancel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgStructBuildCancel) + if err := dec(in); err != nil { return nil, err } - return dAtA[:n], nil -} - -func (m *MsgPermissionGrantOnAddress) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MsgPermissionGrantOnAddress) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Permissions != 0 { - i = encodeVarintTx(dAtA, i, uint64(m.Permissions)) - i-- - dAtA[i] = 0x18 + if interceptor == nil { + return srv.(MsgServer).StructBuildCancel(ctx, in) } - if len(m.Address) > 0 { - i -= len(m.Address) - copy(dAtA[i:], m.Address) - i = encodeVarintTx(dAtA, i, uint64(len(m.Address))) - i-- - dAtA[i] = 0x12 + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Msg/StructBuildCancel", } - if len(m.Creator) > 0 { - i -= len(m.Creator) - copy(dAtA[i:], m.Creator) - i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) - i-- - dAtA[i] = 0xa + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).StructBuildCancel(ctx, req.(*MsgStructBuildCancel)) } - return len(dAtA) - i, nil + return interceptor(ctx, in, info, handler) } -func (m *MsgPermissionRevokeOnObject) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { +func _Msg_StructDefenseSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgStructDefenseSet) + if err := dec(in); err != nil { return nil, err } - return dAtA[:n], nil -} - -func (m *MsgPermissionRevokeOnObject) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) + if interceptor == nil { + return srv.(MsgServer).StructDefenseSet(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Msg/StructDefenseSet", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).StructDefenseSet(ctx, req.(*MsgStructDefenseSet)) + } + return interceptor(ctx, in, info, handler) } -func (m *MsgPermissionRevokeOnObject) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Permissions != 0 { - i = encodeVarintTx(dAtA, i, uint64(m.Permissions)) - i-- - dAtA[i] = 0x20 +func _Msg_StructDefenseClear_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgStructDefenseClear) + if err := dec(in); err != nil { + return nil, err } - if len(m.PlayerId) > 0 { - i -= len(m.PlayerId) - copy(dAtA[i:], m.PlayerId) - i = encodeVarintTx(dAtA, i, uint64(len(m.PlayerId))) - i-- - dAtA[i] = 0x1a + if interceptor == nil { + return srv.(MsgServer).StructDefenseClear(ctx, in) } - if len(m.ObjectId) > 0 { - i -= len(m.ObjectId) - copy(dAtA[i:], m.ObjectId) - i = encodeVarintTx(dAtA, i, uint64(len(m.ObjectId))) - i-- - dAtA[i] = 0x12 + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Msg/StructDefenseClear", } - if len(m.Creator) > 0 { - i -= len(m.Creator) - copy(dAtA[i:], m.Creator) - i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) - i-- - dAtA[i] = 0xa + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).StructDefenseClear(ctx, req.(*MsgStructDefenseClear)) } - return len(dAtA) - i, nil + return interceptor(ctx, in, info, handler) } -func (m *MsgPermissionRevokeOnAddress) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { +func _Msg_StructMove_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgStructMove) + if err := dec(in); err != nil { return nil, err } - return dAtA[:n], nil -} - -func (m *MsgPermissionRevokeOnAddress) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MsgPermissionRevokeOnAddress) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Permissions != 0 { - i = encodeVarintTx(dAtA, i, uint64(m.Permissions)) - i-- - dAtA[i] = 0x18 + if interceptor == nil { + return srv.(MsgServer).StructMove(ctx, in) } - if len(m.Address) > 0 { - i -= len(m.Address) - copy(dAtA[i:], m.Address) - i = encodeVarintTx(dAtA, i, uint64(len(m.Address))) - i-- - dAtA[i] = 0x12 + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Msg/StructMove", } - if len(m.Creator) > 0 { - i -= len(m.Creator) - copy(dAtA[i:], m.Creator) - i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) - i-- - dAtA[i] = 0xa + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).StructMove(ctx, req.(*MsgStructMove)) } - return len(dAtA) - i, nil + return interceptor(ctx, in, info, handler) } -func (m *MsgPermissionSetOnObject) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { +func _Msg_StructAttack_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgStructAttack) + if err := dec(in); err != nil { return nil, err } - return dAtA[:n], nil -} - -func (m *MsgPermissionSetOnObject) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) + if interceptor == nil { + return srv.(MsgServer).StructAttack(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Msg/StructAttack", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).StructAttack(ctx, req.(*MsgStructAttack)) + } + return interceptor(ctx, in, info, handler) } -func (m *MsgPermissionSetOnObject) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Permissions != 0 { - i = encodeVarintTx(dAtA, i, uint64(m.Permissions)) - i-- - dAtA[i] = 0x20 +func _Msg_StructStealthActivate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgStructStealthActivate) + if err := dec(in); err != nil { + return nil, err } - if len(m.PlayerId) > 0 { - i -= len(m.PlayerId) - copy(dAtA[i:], m.PlayerId) - i = encodeVarintTx(dAtA, i, uint64(len(m.PlayerId))) - i-- - dAtA[i] = 0x1a + if interceptor == nil { + return srv.(MsgServer).StructStealthActivate(ctx, in) } - if len(m.ObjectId) > 0 { - i -= len(m.ObjectId) - copy(dAtA[i:], m.ObjectId) - i = encodeVarintTx(dAtA, i, uint64(len(m.ObjectId))) - i-- - dAtA[i] = 0x12 + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Msg/StructStealthActivate", } - if len(m.Creator) > 0 { - i -= len(m.Creator) - copy(dAtA[i:], m.Creator) - i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) - i-- - dAtA[i] = 0xa + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).StructStealthActivate(ctx, req.(*MsgStructStealthActivate)) } - return len(dAtA) - i, nil + return interceptor(ctx, in, info, handler) } -func (m *MsgPermissionSetOnAddress) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { +func _Msg_StructStealthDeactivate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgStructStealthDeactivate) + if err := dec(in); err != nil { return nil, err } - return dAtA[:n], nil + if interceptor == nil { + return srv.(MsgServer).StructStealthDeactivate(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Msg/StructStealthDeactivate", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).StructStealthDeactivate(ctx, req.(*MsgStructStealthDeactivate)) + } + return interceptor(ctx, in, info, handler) } -func (m *MsgPermissionSetOnAddress) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func _Msg_StructGeneratorInfuse_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgStructGeneratorInfuse) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).StructGeneratorInfuse(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Msg/StructGeneratorInfuse", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).StructGeneratorInfuse(ctx, req.(*MsgStructGeneratorInfuse)) + } + return interceptor(ctx, in, info, handler) } -func (m *MsgPermissionSetOnAddress) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Permissions != 0 { - i = encodeVarintTx(dAtA, i, uint64(m.Permissions)) - i-- - dAtA[i] = 0x18 +func _Msg_StructOreMinerComplete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgStructOreMinerComplete) + if err := dec(in); err != nil { + return nil, err } - if len(m.Address) > 0 { - i -= len(m.Address) - copy(dAtA[i:], m.Address) - i = encodeVarintTx(dAtA, i, uint64(len(m.Address))) - i-- - dAtA[i] = 0x12 + if interceptor == nil { + return srv.(MsgServer).StructOreMinerComplete(ctx, in) } - if len(m.Creator) > 0 { - i -= len(m.Creator) - copy(dAtA[i:], m.Creator) - i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) - i-- - dAtA[i] = 0xa + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Msg/StructOreMinerComplete", } - return len(dAtA) - i, nil + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).StructOreMinerComplete(ctx, req.(*MsgStructOreMinerComplete)) + } + return interceptor(ctx, in, info, handler) } -func (m *MsgPermissionResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { +func _Msg_StructOreRefineryComplete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgStructOreRefineryComplete) + if err := dec(in); err != nil { return nil, err } - return dAtA[:n], nil + if interceptor == nil { + return srv.(MsgServer).StructOreRefineryComplete(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Msg/StructOreRefineryComplete", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).StructOreRefineryComplete(ctx, req.(*MsgStructOreRefineryComplete)) + } + return interceptor(ctx, in, info, handler) } -func (m *MsgPermissionResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func _Msg_SubstationCreate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgSubstationCreate) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).SubstationCreate(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Msg/SubstationCreate", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).SubstationCreate(ctx, req.(*MsgSubstationCreate)) + } + return interceptor(ctx, in, info, handler) } -func (m *MsgPermissionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - return len(dAtA) - i, nil +func _Msg_SubstationDelete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgSubstationDelete) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).SubstationDelete(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Msg/SubstationDelete", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).SubstationDelete(ctx, req.(*MsgSubstationDelete)) + } + return interceptor(ctx, in, info, handler) } -func (m *MsgPlanetExplore) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { +func _Msg_SubstationAllocationConnect_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgSubstationAllocationConnect) + if err := dec(in); err != nil { return nil, err } - return dAtA[:n], nil + if interceptor == nil { + return srv.(MsgServer).SubstationAllocationConnect(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Msg/SubstationAllocationConnect", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).SubstationAllocationConnect(ctx, req.(*MsgSubstationAllocationConnect)) + } + return interceptor(ctx, in, info, handler) } -func (m *MsgPlanetExplore) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MsgPlanetExplore) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Creator) > 0 { - i -= len(m.Creator) - copy(dAtA[i:], m.Creator) - i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - -func (m *MsgPlanetExploreResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *MsgPlanetExploreResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MsgPlanetExploreResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - { - size, err := m.Planet.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintTx(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - return len(dAtA) - i, nil -} - -func (m *MsgPlanetRaidComplete) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { +func _Msg_SubstationAllocationDisconnect_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgSubstationAllocationDisconnect) + if err := dec(in); err != nil { return nil, err } - return dAtA[:n], nil -} - -func (m *MsgPlanetRaidComplete) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MsgPlanetRaidComplete) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Nonce) > 0 { - i -= len(m.Nonce) - copy(dAtA[i:], m.Nonce) - i = encodeVarintTx(dAtA, i, uint64(len(m.Nonce))) - i-- - dAtA[i] = 0x22 - } - if len(m.Proof) > 0 { - i -= len(m.Proof) - copy(dAtA[i:], m.Proof) - i = encodeVarintTx(dAtA, i, uint64(len(m.Proof))) - i-- - dAtA[i] = 0x1a + if interceptor == nil { + return srv.(MsgServer).SubstationAllocationDisconnect(ctx, in) } - if len(m.FleetId) > 0 { - i -= len(m.FleetId) - copy(dAtA[i:], m.FleetId) - i = encodeVarintTx(dAtA, i, uint64(len(m.FleetId))) - i-- - dAtA[i] = 0x12 + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Msg/SubstationAllocationDisconnect", } - if len(m.Creator) > 0 { - i -= len(m.Creator) - copy(dAtA[i:], m.Creator) - i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) - i-- - dAtA[i] = 0xa + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).SubstationAllocationDisconnect(ctx, req.(*MsgSubstationAllocationDisconnect)) } - return len(dAtA) - i, nil + return interceptor(ctx, in, info, handler) } -func (m *MsgPlanetRaidCompleteResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { +func _Msg_SubstationPlayerConnect_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgSubstationPlayerConnect) + if err := dec(in); err != nil { return nil, err } - return dAtA[:n], nil -} - -func (m *MsgPlanetRaidCompleteResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MsgPlanetRaidCompleteResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.OreStolen != 0 { - i = encodeVarintTx(dAtA, i, uint64(m.OreStolen)) - i-- - dAtA[i] = 0x18 + if interceptor == nil { + return srv.(MsgServer).SubstationPlayerConnect(ctx, in) } - { - size, err := m.Planet.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintTx(dAtA, i, uint64(size)) + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Msg/SubstationPlayerConnect", } - i-- - dAtA[i] = 0x12 - { - size, err := m.Fleet.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintTx(dAtA, i, uint64(size)) + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).SubstationPlayerConnect(ctx, req.(*MsgSubstationPlayerConnect)) } - i-- - dAtA[i] = 0xa - return len(dAtA) - i, nil + return interceptor(ctx, in, info, handler) } -func (m *MsgPlayerUpdatePrimaryAddress) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { +func _Msg_SubstationPlayerDisconnect_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgSubstationPlayerDisconnect) + if err := dec(in); err != nil { return nil, err } - return dAtA[:n], nil -} - -func (m *MsgPlayerUpdatePrimaryAddress) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MsgPlayerUpdatePrimaryAddress) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.PrimaryAddress) > 0 { - i -= len(m.PrimaryAddress) - copy(dAtA[i:], m.PrimaryAddress) - i = encodeVarintTx(dAtA, i, uint64(len(m.PrimaryAddress))) - i-- - dAtA[i] = 0x1a + if interceptor == nil { + return srv.(MsgServer).SubstationPlayerDisconnect(ctx, in) } - if len(m.PlayerId) > 0 { - i -= len(m.PlayerId) - copy(dAtA[i:], m.PlayerId) - i = encodeVarintTx(dAtA, i, uint64(len(m.PlayerId))) - i-- - dAtA[i] = 0x12 + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Msg/SubstationPlayerDisconnect", } - if len(m.Creator) > 0 { - i -= len(m.Creator) - copy(dAtA[i:], m.Creator) - i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) - i-- - dAtA[i] = 0xa + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).SubstationPlayerDisconnect(ctx, req.(*MsgSubstationPlayerDisconnect)) } - return len(dAtA) - i, nil + return interceptor(ctx, in, info, handler) } -func (m *MsgPlayerUpdatePrimaryAddressResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { +func _Msg_SubstationPlayerMigrate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgSubstationPlayerMigrate) + if err := dec(in); err != nil { return nil, err } - return dAtA[:n], nil -} - -func (m *MsgPlayerUpdatePrimaryAddressResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MsgPlayerUpdatePrimaryAddressResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - return len(dAtA) - i, nil -} - -func (m *MsgStructStatusResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err + if interceptor == nil { + return srv.(MsgServer).SubstationPlayerMigrate(ctx, in) } - return dAtA[:n], nil -} - -func (m *MsgStructStatusResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/structs.structs.Msg/SubstationPlayerMigrate", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).SubstationPlayerMigrate(ctx, req.(*MsgSubstationPlayerMigrate)) + } + return interceptor(ctx, in, info, handler) } -func (m *MsgStructStatusResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l +var _Msg_serviceDesc = grpc.ServiceDesc{ + ServiceName: "structs.structs.Msg", + HandlerType: (*MsgServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "UpdateParams", + Handler: _Msg_UpdateParams_Handler, + }, + { + MethodName: "AddressRegister", + Handler: _Msg_AddressRegister_Handler, + }, + { + MethodName: "AddressRevoke", + Handler: _Msg_AddressRevoke_Handler, + }, + { + MethodName: "AgreementOpen", + Handler: _Msg_AgreementOpen_Handler, + }, + { + MethodName: "AgreementClose", + Handler: _Msg_AgreementClose_Handler, + }, + { + MethodName: "AgreementCapacityIncrease", + Handler: _Msg_AgreementCapacityIncrease_Handler, + }, + { + MethodName: "AgreementCapacityDecrease", + Handler: _Msg_AgreementCapacityDecrease_Handler, + }, + { + MethodName: "AgreementDurationIncrease", + Handler: _Msg_AgreementDurationIncrease_Handler, + }, + { + MethodName: "AllocationCreate", + Handler: _Msg_AllocationCreate_Handler, + }, + { + MethodName: "AllocationDelete", + Handler: _Msg_AllocationDelete_Handler, + }, + { + MethodName: "AllocationUpdate", + Handler: _Msg_AllocationUpdate_Handler, + }, + { + MethodName: "AllocationTransfer", + Handler: _Msg_AllocationTransfer_Handler, + }, + { + MethodName: "FleetMove", + Handler: _Msg_FleetMove_Handler, + }, + { + MethodName: "GuildCreate", + Handler: _Msg_GuildCreate_Handler, + }, + { + MethodName: "GuildBankMint", + Handler: _Msg_GuildBankMint_Handler, + }, + { + MethodName: "GuildBankRedeem", + Handler: _Msg_GuildBankRedeem_Handler, + }, + { + MethodName: "GuildBankConfiscateAndBurn", + Handler: _Msg_GuildBankConfiscateAndBurn_Handler, + }, + { + MethodName: "GuildUpdateOwnerId", + Handler: _Msg_GuildUpdateOwnerId_Handler, + }, + { + MethodName: "GuildUpdateEntrySubstationId", + Handler: _Msg_GuildUpdateEntrySubstationId_Handler, + }, + { + MethodName: "GuildUpdateEndpoint", + Handler: _Msg_GuildUpdateEndpoint_Handler, + }, + { + MethodName: "GuildUpdateJoinInfusionMinimum", + Handler: _Msg_GuildUpdateJoinInfusionMinimum_Handler, + }, + { + MethodName: "GuildUpdateJoinInfusionMinimumBypassByInvite", + Handler: _Msg_GuildUpdateJoinInfusionMinimumBypassByInvite_Handler, + }, + { + MethodName: "GuildUpdateJoinInfusionMinimumBypassByRequest", + Handler: _Msg_GuildUpdateJoinInfusionMinimumBypassByRequest_Handler, + }, + { + MethodName: "GuildMembershipInvite", + Handler: _Msg_GuildMembershipInvite_Handler, + }, + { + MethodName: "GuildMembershipInviteApprove", + Handler: _Msg_GuildMembershipInviteApprove_Handler, + }, + { + MethodName: "GuildMembershipInviteDeny", + Handler: _Msg_GuildMembershipInviteDeny_Handler, + }, + { + MethodName: "GuildMembershipInviteRevoke", + Handler: _Msg_GuildMembershipInviteRevoke_Handler, + }, + { + MethodName: "GuildMembershipJoin", + Handler: _Msg_GuildMembershipJoin_Handler, + }, + { + MethodName: "GuildMembershipJoinProxy", + Handler: _Msg_GuildMembershipJoinProxy_Handler, + }, + { + MethodName: "GuildMembershipKick", + Handler: _Msg_GuildMembershipKick_Handler, + }, + { + MethodName: "GuildMembershipRequest", + Handler: _Msg_GuildMembershipRequest_Handler, + }, + { + MethodName: "GuildMembershipRequestApprove", + Handler: _Msg_GuildMembershipRequestApprove_Handler, + }, + { + MethodName: "GuildMembershipRequestDeny", + Handler: _Msg_GuildMembershipRequestDeny_Handler, + }, + { + MethodName: "GuildMembershipRequestRevoke", + Handler: _Msg_GuildMembershipRequestRevoke_Handler, + }, + { + MethodName: "PermissionGrantOnAddress", + Handler: _Msg_PermissionGrantOnAddress_Handler, + }, + { + MethodName: "PermissionGrantOnObject", + Handler: _Msg_PermissionGrantOnObject_Handler, + }, + { + MethodName: "PermissionRevokeOnAddress", + Handler: _Msg_PermissionRevokeOnAddress_Handler, + }, + { + MethodName: "PermissionRevokeOnObject", + Handler: _Msg_PermissionRevokeOnObject_Handler, + }, + { + MethodName: "PermissionSetOnAddress", + Handler: _Msg_PermissionSetOnAddress_Handler, + }, + { + MethodName: "PermissionSetOnObject", + Handler: _Msg_PermissionSetOnObject_Handler, + }, + { + MethodName: "PlanetExplore", + Handler: _Msg_PlanetExplore_Handler, + }, + { + MethodName: "PlanetRaidComplete", + Handler: _Msg_PlanetRaidComplete_Handler, + }, + { + MethodName: "PlayerUpdatePrimaryAddress", + Handler: _Msg_PlayerUpdatePrimaryAddress_Handler, + }, + { + MethodName: "PlayerResume", + Handler: _Msg_PlayerResume_Handler, + }, + { + MethodName: "ProviderCreate", + Handler: _Msg_ProviderCreate_Handler, + }, + { + MethodName: "ProviderWithdrawBalance", + Handler: _Msg_ProviderWithdrawBalance_Handler, + }, + { + MethodName: "ProviderUpdateCapacityMinimum", + Handler: _Msg_ProviderUpdateCapacityMinimum_Handler, + }, + { + MethodName: "ProviderUpdateCapacityMaximum", + Handler: _Msg_ProviderUpdateCapacityMaximum_Handler, + }, + { + MethodName: "ProviderUpdateDurationMinimum", + Handler: _Msg_ProviderUpdateDurationMinimum_Handler, + }, + { + MethodName: "ProviderUpdateDurationMaximum", + Handler: _Msg_ProviderUpdateDurationMaximum_Handler, + }, + { + MethodName: "ProviderUpdateAccessPolicy", + Handler: _Msg_ProviderUpdateAccessPolicy_Handler, + }, + { + MethodName: "ProviderGuildGrant", + Handler: _Msg_ProviderGuildGrant_Handler, + }, + { + MethodName: "ProviderGuildRevoke", + Handler: _Msg_ProviderGuildRevoke_Handler, + }, + { + MethodName: "ProviderDelete", + Handler: _Msg_ProviderDelete_Handler, + }, + { + MethodName: "StructActivate", + Handler: _Msg_StructActivate_Handler, + }, + { + MethodName: "StructDeactivate", + Handler: _Msg_StructDeactivate_Handler, + }, + { + MethodName: "StructBuildInitiate", + Handler: _Msg_StructBuildInitiate_Handler, + }, + { + MethodName: "StructBuildComplete", + Handler: _Msg_StructBuildComplete_Handler, + }, + { + MethodName: "StructBuildCancel", + Handler: _Msg_StructBuildCancel_Handler, + }, + { + MethodName: "StructDefenseSet", + Handler: _Msg_StructDefenseSet_Handler, + }, + { + MethodName: "StructDefenseClear", + Handler: _Msg_StructDefenseClear_Handler, + }, + { + MethodName: "StructMove", + Handler: _Msg_StructMove_Handler, + }, + { + MethodName: "StructAttack", + Handler: _Msg_StructAttack_Handler, + }, + { + MethodName: "StructStealthActivate", + Handler: _Msg_StructStealthActivate_Handler, + }, + { + MethodName: "StructStealthDeactivate", + Handler: _Msg_StructStealthDeactivate_Handler, + }, + { + MethodName: "StructGeneratorInfuse", + Handler: _Msg_StructGeneratorInfuse_Handler, + }, + { + MethodName: "StructOreMinerComplete", + Handler: _Msg_StructOreMinerComplete_Handler, + }, + { + MethodName: "StructOreRefineryComplete", + Handler: _Msg_StructOreRefineryComplete_Handler, + }, + { + MethodName: "SubstationCreate", + Handler: _Msg_SubstationCreate_Handler, + }, + { + MethodName: "SubstationDelete", + Handler: _Msg_SubstationDelete_Handler, + }, + { + MethodName: "SubstationAllocationConnect", + Handler: _Msg_SubstationAllocationConnect_Handler, + }, + { + MethodName: "SubstationAllocationDisconnect", + Handler: _Msg_SubstationAllocationDisconnect_Handler, + }, + { + MethodName: "SubstationPlayerConnect", + Handler: _Msg_SubstationPlayerConnect_Handler, + }, + { + MethodName: "SubstationPlayerDisconnect", + Handler: _Msg_SubstationPlayerDisconnect_Handler, + }, + { + MethodName: "SubstationPlayerMigrate", + Handler: _Msg_SubstationPlayerMigrate_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "structs/structs/tx.proto", +} + +func (m *MsgUpdateParams) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgUpdateParams) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgUpdateParams) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + { + size, err := m.Params.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintTx(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + if len(m.Authority) > 0 { + i -= len(m.Authority) + copy(dAtA[i:], m.Authority) + i = encodeVarintTx(dAtA, i, uint64(len(m.Authority))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgUpdateParamsResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgUpdateParamsResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgUpdateParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + return len(dAtA) - i, nil +} + +func (m *MsgAddressRegister) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgAddressRegister) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgAddressRegister) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Permissions != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.Permissions)) + i-- + dAtA[i] = 0x30 + } + if len(m.ProofSignature) > 0 { + i -= len(m.ProofSignature) + copy(dAtA[i:], m.ProofSignature) + i = encodeVarintTx(dAtA, i, uint64(len(m.ProofSignature))) + i-- + dAtA[i] = 0x2a + } + if len(m.ProofPubKey) > 0 { + i -= len(m.ProofPubKey) + copy(dAtA[i:], m.ProofPubKey) + i = encodeVarintTx(dAtA, i, uint64(len(m.ProofPubKey))) + i-- + dAtA[i] = 0x22 + } + if len(m.Address) > 0 { + i -= len(m.Address) + copy(dAtA[i:], m.Address) + i = encodeVarintTx(dAtA, i, uint64(len(m.Address))) + i-- + dAtA[i] = 0x1a + } + if len(m.PlayerId) > 0 { + i -= len(m.PlayerId) + copy(dAtA[i:], m.PlayerId) + i = encodeVarintTx(dAtA, i, uint64(len(m.PlayerId))) + i-- + dAtA[i] = 0x12 + } + if len(m.Creator) > 0 { + i -= len(m.Creator) + copy(dAtA[i:], m.Creator) + i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgAddressRegisterResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgAddressRegisterResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgAddressRegisterResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + return len(dAtA) - i, nil +} + +func (m *MsgAddressRevoke) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgAddressRevoke) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgAddressRevoke) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Address) > 0 { + i -= len(m.Address) + copy(dAtA[i:], m.Address) + i = encodeVarintTx(dAtA, i, uint64(len(m.Address))) + i-- + dAtA[i] = 0x12 + } + if len(m.Creator) > 0 { + i -= len(m.Creator) + copy(dAtA[i:], m.Creator) + i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgAddressRevokeResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgAddressRevokeResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgAddressRevokeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + return len(dAtA) - i, nil +} + +func (m *MsgAllocationCreate) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgAllocationCreate) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgAllocationCreate) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Power != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.Power)) + i-- + dAtA[i] = 0x28 + } + if m.AllocationType != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.AllocationType)) + i-- + dAtA[i] = 0x20 + } + if len(m.SourceObjectId) > 0 { + i -= len(m.SourceObjectId) + copy(dAtA[i:], m.SourceObjectId) + i = encodeVarintTx(dAtA, i, uint64(len(m.SourceObjectId))) + i-- + dAtA[i] = 0x1a + } + if len(m.Controller) > 0 { + i -= len(m.Controller) + copy(dAtA[i:], m.Controller) + i = encodeVarintTx(dAtA, i, uint64(len(m.Controller))) + i-- + dAtA[i] = 0x12 + } + if len(m.Creator) > 0 { + i -= len(m.Creator) + copy(dAtA[i:], m.Creator) + i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgAllocationCreateResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgAllocationCreateResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgAllocationCreateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.AllocationId) > 0 { + i -= len(m.AllocationId) + copy(dAtA[i:], m.AllocationId) + i = encodeVarintTx(dAtA, i, uint64(len(m.AllocationId))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgAllocationDelete) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgAllocationDelete) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgAllocationDelete) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.AllocationId) > 0 { + i -= len(m.AllocationId) + copy(dAtA[i:], m.AllocationId) + i = encodeVarintTx(dAtA, i, uint64(len(m.AllocationId))) + i-- + dAtA[i] = 0x12 + } + if len(m.Creator) > 0 { + i -= len(m.Creator) + copy(dAtA[i:], m.Creator) + i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgAllocationDeleteResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgAllocationDeleteResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgAllocationDeleteResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.AllocationId) > 0 { + i -= len(m.AllocationId) + copy(dAtA[i:], m.AllocationId) + i = encodeVarintTx(dAtA, i, uint64(len(m.AllocationId))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgAllocationUpdate) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgAllocationUpdate) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgAllocationUpdate) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Power != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.Power)) + i-- + dAtA[i] = 0x18 + } + if len(m.AllocationId) > 0 { + i -= len(m.AllocationId) + copy(dAtA[i:], m.AllocationId) + i = encodeVarintTx(dAtA, i, uint64(len(m.AllocationId))) + i-- + dAtA[i] = 0x12 + } + if len(m.Creator) > 0 { + i -= len(m.Creator) + copy(dAtA[i:], m.Creator) + i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgAllocationUpdateResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgAllocationUpdateResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgAllocationUpdateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.AllocationId) > 0 { + i -= len(m.AllocationId) + copy(dAtA[i:], m.AllocationId) + i = encodeVarintTx(dAtA, i, uint64(len(m.AllocationId))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgAllocationTransfer) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgAllocationTransfer) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgAllocationTransfer) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Controller) > 0 { + i -= len(m.Controller) + copy(dAtA[i:], m.Controller) + i = encodeVarintTx(dAtA, i, uint64(len(m.Controller))) + i-- + dAtA[i] = 0x1a + } + if len(m.AllocationId) > 0 { + i -= len(m.AllocationId) + copy(dAtA[i:], m.AllocationId) + i = encodeVarintTx(dAtA, i, uint64(len(m.AllocationId))) + i-- + dAtA[i] = 0x12 + } + if len(m.Creator) > 0 { + i -= len(m.Creator) + copy(dAtA[i:], m.Creator) + i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgAllocationTransferResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgAllocationTransferResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgAllocationTransferResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.AllocationId) > 0 { + i -= len(m.AllocationId) + copy(dAtA[i:], m.AllocationId) + i = encodeVarintTx(dAtA, i, uint64(len(m.AllocationId))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgFleetMove) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgFleetMove) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgFleetMove) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.DestinationLocationId) > 0 { + i -= len(m.DestinationLocationId) + copy(dAtA[i:], m.DestinationLocationId) + i = encodeVarintTx(dAtA, i, uint64(len(m.DestinationLocationId))) + i-- + dAtA[i] = 0x1a + } + if len(m.FleetId) > 0 { + i -= len(m.FleetId) + copy(dAtA[i:], m.FleetId) + i = encodeVarintTx(dAtA, i, uint64(len(m.FleetId))) + i-- + dAtA[i] = 0x12 + } + if len(m.Creator) > 0 { + i -= len(m.Creator) + copy(dAtA[i:], m.Creator) + i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgFleetMoveResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgFleetMoveResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgFleetMoveResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Fleet != nil { + { + size, err := m.Fleet.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintTx(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgGuildBankMint) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgGuildBankMint) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgGuildBankMint) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.AmountToken != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.AmountToken)) + i-- + dAtA[i] = 0x18 + } + if m.AmountAlpha != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.AmountAlpha)) + i-- + dAtA[i] = 0x10 + } + if len(m.Creator) > 0 { + i -= len(m.Creator) + copy(dAtA[i:], m.Creator) + i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgGuildBankMintResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgGuildBankMintResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgGuildBankMintResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + return len(dAtA) - i, nil +} + +func (m *MsgGuildBankRedeem) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgGuildBankRedeem) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgGuildBankRedeem) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + { + size, err := m.AmountToken.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintTx(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + if len(m.Creator) > 0 { + i -= len(m.Creator) + copy(dAtA[i:], m.Creator) + i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgGuildBankRedeemResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgGuildBankRedeemResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgGuildBankRedeemResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + return len(dAtA) - i, nil +} + +func (m *MsgGuildBankConfiscateAndBurn) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgGuildBankConfiscateAndBurn) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgGuildBankConfiscateAndBurn) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.AmountToken != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.AmountToken)) + i-- + dAtA[i] = 0x18 + } + if len(m.Address) > 0 { + i -= len(m.Address) + copy(dAtA[i:], m.Address) + i = encodeVarintTx(dAtA, i, uint64(len(m.Address))) + i-- + dAtA[i] = 0x12 + } + if len(m.Creator) > 0 { + i -= len(m.Creator) + copy(dAtA[i:], m.Creator) + i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgGuildBankConfiscateAndBurnResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgGuildBankConfiscateAndBurnResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgGuildBankConfiscateAndBurnResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + return len(dAtA) - i, nil +} + +func (m *MsgGuildCreate) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgGuildCreate) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgGuildCreate) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.EntrySubstationId) > 0 { + i -= len(m.EntrySubstationId) + copy(dAtA[i:], m.EntrySubstationId) + i = encodeVarintTx(dAtA, i, uint64(len(m.EntrySubstationId))) + i-- + dAtA[i] = 0x1a + } + if len(m.Endpoint) > 0 { + i -= len(m.Endpoint) + copy(dAtA[i:], m.Endpoint) + i = encodeVarintTx(dAtA, i, uint64(len(m.Endpoint))) + i-- + dAtA[i] = 0x12 + } + if len(m.Creator) > 0 { + i -= len(m.Creator) + copy(dAtA[i:], m.Creator) + i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgGuildCreateResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgGuildCreateResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgGuildCreateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.GuildId) > 0 { + i -= len(m.GuildId) + copy(dAtA[i:], m.GuildId) + i = encodeVarintTx(dAtA, i, uint64(len(m.GuildId))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgGuildUpdateOwnerId) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgGuildUpdateOwnerId) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgGuildUpdateOwnerId) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Owner) > 0 { + i -= len(m.Owner) + copy(dAtA[i:], m.Owner) + i = encodeVarintTx(dAtA, i, uint64(len(m.Owner))) + i-- + dAtA[i] = 0x1a + } + if len(m.GuildId) > 0 { + i -= len(m.GuildId) + copy(dAtA[i:], m.GuildId) + i = encodeVarintTx(dAtA, i, uint64(len(m.GuildId))) + i-- + dAtA[i] = 0x12 + } + if len(m.Creator) > 0 { + i -= len(m.Creator) + copy(dAtA[i:], m.Creator) + i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgGuildUpdateEntrySubstationId) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgGuildUpdateEntrySubstationId) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgGuildUpdateEntrySubstationId) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.EntrySubstationId) > 0 { + i -= len(m.EntrySubstationId) + copy(dAtA[i:], m.EntrySubstationId) + i = encodeVarintTx(dAtA, i, uint64(len(m.EntrySubstationId))) + i-- + dAtA[i] = 0x1a + } + if len(m.GuildId) > 0 { + i -= len(m.GuildId) + copy(dAtA[i:], m.GuildId) + i = encodeVarintTx(dAtA, i, uint64(len(m.GuildId))) + i-- + dAtA[i] = 0x12 + } + if len(m.Creator) > 0 { + i -= len(m.Creator) + copy(dAtA[i:], m.Creator) + i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgGuildUpdateEndpoint) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgGuildUpdateEndpoint) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgGuildUpdateEndpoint) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Endpoint) > 0 { + i -= len(m.Endpoint) + copy(dAtA[i:], m.Endpoint) + i = encodeVarintTx(dAtA, i, uint64(len(m.Endpoint))) + i-- + dAtA[i] = 0x1a + } + if len(m.GuildId) > 0 { + i -= len(m.GuildId) + copy(dAtA[i:], m.GuildId) + i = encodeVarintTx(dAtA, i, uint64(len(m.GuildId))) + i-- + dAtA[i] = 0x12 + } + if len(m.Creator) > 0 { + i -= len(m.Creator) + copy(dAtA[i:], m.Creator) + i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgGuildUpdateJoinInfusionMinimum) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgGuildUpdateJoinInfusionMinimum) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgGuildUpdateJoinInfusionMinimum) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.JoinInfusionMinimum != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.JoinInfusionMinimum)) + i-- + dAtA[i] = 0x18 + } + if len(m.GuildId) > 0 { + i -= len(m.GuildId) + copy(dAtA[i:], m.GuildId) + i = encodeVarintTx(dAtA, i, uint64(len(m.GuildId))) + i-- + dAtA[i] = 0x12 + } + if len(m.Creator) > 0 { + i -= len(m.Creator) + copy(dAtA[i:], m.Creator) + i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgGuildUpdateJoinInfusionMinimumBypassByRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgGuildUpdateJoinInfusionMinimumBypassByRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgGuildUpdateJoinInfusionMinimumBypassByRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.GuildJoinBypassLevel != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.GuildJoinBypassLevel)) + i-- + dAtA[i] = 0x18 + } + if len(m.GuildId) > 0 { + i -= len(m.GuildId) + copy(dAtA[i:], m.GuildId) + i = encodeVarintTx(dAtA, i, uint64(len(m.GuildId))) + i-- + dAtA[i] = 0x12 + } + if len(m.Creator) > 0 { + i -= len(m.Creator) + copy(dAtA[i:], m.Creator) + i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgGuildUpdateJoinInfusionMinimumBypassByInvite) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgGuildUpdateJoinInfusionMinimumBypassByInvite) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgGuildUpdateJoinInfusionMinimumBypassByInvite) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.GuildJoinBypassLevel != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.GuildJoinBypassLevel)) + i-- + dAtA[i] = 0x18 + } + if len(m.GuildId) > 0 { + i -= len(m.GuildId) + copy(dAtA[i:], m.GuildId) + i = encodeVarintTx(dAtA, i, uint64(len(m.GuildId))) + i-- + dAtA[i] = 0x12 + } + if len(m.Creator) > 0 { + i -= len(m.Creator) + copy(dAtA[i:], m.Creator) + i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgGuildUpdateResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgGuildUpdateResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgGuildUpdateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + return len(dAtA) - i, nil +} + +func (m *MsgGuildMembershipInvite) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgGuildMembershipInvite) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgGuildMembershipInvite) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.SubstationId) > 0 { + i -= len(m.SubstationId) + copy(dAtA[i:], m.SubstationId) + i = encodeVarintTx(dAtA, i, uint64(len(m.SubstationId))) + i-- + dAtA[i] = 0x22 + } + if len(m.PlayerId) > 0 { + i -= len(m.PlayerId) + copy(dAtA[i:], m.PlayerId) + i = encodeVarintTx(dAtA, i, uint64(len(m.PlayerId))) + i-- + dAtA[i] = 0x1a + } + if len(m.GuildId) > 0 { + i -= len(m.GuildId) + copy(dAtA[i:], m.GuildId) + i = encodeVarintTx(dAtA, i, uint64(len(m.GuildId))) + i-- + dAtA[i] = 0x12 + } + if len(m.Creator) > 0 { + i -= len(m.Creator) + copy(dAtA[i:], m.Creator) + i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgGuildMembershipInviteApprove) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgGuildMembershipInviteApprove) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgGuildMembershipInviteApprove) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.SubstationId) > 0 { + i -= len(m.SubstationId) + copy(dAtA[i:], m.SubstationId) + i = encodeVarintTx(dAtA, i, uint64(len(m.SubstationId))) + i-- + dAtA[i] = 0x22 + } + if len(m.PlayerId) > 0 { + i -= len(m.PlayerId) + copy(dAtA[i:], m.PlayerId) + i = encodeVarintTx(dAtA, i, uint64(len(m.PlayerId))) + i-- + dAtA[i] = 0x1a + } + if len(m.GuildId) > 0 { + i -= len(m.GuildId) + copy(dAtA[i:], m.GuildId) + i = encodeVarintTx(dAtA, i, uint64(len(m.GuildId))) + i-- + dAtA[i] = 0x12 + } + if len(m.Creator) > 0 { + i -= len(m.Creator) + copy(dAtA[i:], m.Creator) + i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgGuildMembershipInviteDeny) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgGuildMembershipInviteDeny) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgGuildMembershipInviteDeny) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.PlayerId) > 0 { + i -= len(m.PlayerId) + copy(dAtA[i:], m.PlayerId) + i = encodeVarintTx(dAtA, i, uint64(len(m.PlayerId))) + i-- + dAtA[i] = 0x1a + } + if len(m.GuildId) > 0 { + i -= len(m.GuildId) + copy(dAtA[i:], m.GuildId) + i = encodeVarintTx(dAtA, i, uint64(len(m.GuildId))) + i-- + dAtA[i] = 0x12 + } + if len(m.Creator) > 0 { + i -= len(m.Creator) + copy(dAtA[i:], m.Creator) + i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgGuildMembershipInviteRevoke) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgGuildMembershipInviteRevoke) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgGuildMembershipInviteRevoke) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.PlayerId) > 0 { + i -= len(m.PlayerId) + copy(dAtA[i:], m.PlayerId) + i = encodeVarintTx(dAtA, i, uint64(len(m.PlayerId))) + i-- + dAtA[i] = 0x1a + } + if len(m.GuildId) > 0 { + i -= len(m.GuildId) + copy(dAtA[i:], m.GuildId) + i = encodeVarintTx(dAtA, i, uint64(len(m.GuildId))) + i-- + dAtA[i] = 0x12 + } + if len(m.Creator) > 0 { + i -= len(m.Creator) + copy(dAtA[i:], m.Creator) + i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgGuildMembershipJoin) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgGuildMembershipJoin) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgGuildMembershipJoin) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.InfusionId) > 0 { + for iNdEx := len(m.InfusionId) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.InfusionId[iNdEx]) + copy(dAtA[i:], m.InfusionId[iNdEx]) + i = encodeVarintTx(dAtA, i, uint64(len(m.InfusionId[iNdEx]))) + i-- + dAtA[i] = 0x2a + } + } + if len(m.SubstationId) > 0 { + i -= len(m.SubstationId) + copy(dAtA[i:], m.SubstationId) + i = encodeVarintTx(dAtA, i, uint64(len(m.SubstationId))) + i-- + dAtA[i] = 0x22 + } + if len(m.PlayerId) > 0 { + i -= len(m.PlayerId) + copy(dAtA[i:], m.PlayerId) + i = encodeVarintTx(dAtA, i, uint64(len(m.PlayerId))) + i-- + dAtA[i] = 0x1a + } + if len(m.GuildId) > 0 { + i -= len(m.GuildId) + copy(dAtA[i:], m.GuildId) + i = encodeVarintTx(dAtA, i, uint64(len(m.GuildId))) + i-- + dAtA[i] = 0x12 + } + if len(m.Creator) > 0 { + i -= len(m.Creator) + copy(dAtA[i:], m.Creator) + i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgGuildMembershipJoinProxy) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgGuildMembershipJoinProxy) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgGuildMembershipJoinProxy) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.ProofSignature) > 0 { + i -= len(m.ProofSignature) + copy(dAtA[i:], m.ProofSignature) + i = encodeVarintTx(dAtA, i, uint64(len(m.ProofSignature))) + i-- + dAtA[i] = 0x2a + } + if len(m.ProofPubKey) > 0 { + i -= len(m.ProofPubKey) + copy(dAtA[i:], m.ProofPubKey) + i = encodeVarintTx(dAtA, i, uint64(len(m.ProofPubKey))) + i-- + dAtA[i] = 0x22 + } + if len(m.SubstationId) > 0 { + i -= len(m.SubstationId) + copy(dAtA[i:], m.SubstationId) + i = encodeVarintTx(dAtA, i, uint64(len(m.SubstationId))) + i-- + dAtA[i] = 0x1a + } + if len(m.Address) > 0 { + i -= len(m.Address) + copy(dAtA[i:], m.Address) + i = encodeVarintTx(dAtA, i, uint64(len(m.Address))) + i-- + dAtA[i] = 0x12 + } + if len(m.Creator) > 0 { + i -= len(m.Creator) + copy(dAtA[i:], m.Creator) + i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgGuildMembershipKick) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgGuildMembershipKick) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgGuildMembershipKick) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.PlayerId) > 0 { + i -= len(m.PlayerId) + copy(dAtA[i:], m.PlayerId) + i = encodeVarintTx(dAtA, i, uint64(len(m.PlayerId))) + i-- + dAtA[i] = 0x1a + } + if len(m.GuildId) > 0 { + i -= len(m.GuildId) + copy(dAtA[i:], m.GuildId) + i = encodeVarintTx(dAtA, i, uint64(len(m.GuildId))) + i-- + dAtA[i] = 0x12 + } + if len(m.Creator) > 0 { + i -= len(m.Creator) + copy(dAtA[i:], m.Creator) + i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgGuildMembershipRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgGuildMembershipRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgGuildMembershipRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.SubstationId) > 0 { + i -= len(m.SubstationId) + copy(dAtA[i:], m.SubstationId) + i = encodeVarintTx(dAtA, i, uint64(len(m.SubstationId))) + i-- + dAtA[i] = 0x22 + } + if len(m.PlayerId) > 0 { + i -= len(m.PlayerId) + copy(dAtA[i:], m.PlayerId) + i = encodeVarintTx(dAtA, i, uint64(len(m.PlayerId))) + i-- + dAtA[i] = 0x1a + } + if len(m.GuildId) > 0 { + i -= len(m.GuildId) + copy(dAtA[i:], m.GuildId) + i = encodeVarintTx(dAtA, i, uint64(len(m.GuildId))) + i-- + dAtA[i] = 0x12 + } + if len(m.Creator) > 0 { + i -= len(m.Creator) + copy(dAtA[i:], m.Creator) + i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgGuildMembershipRequestApprove) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgGuildMembershipRequestApprove) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgGuildMembershipRequestApprove) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.SubstationId) > 0 { + i -= len(m.SubstationId) + copy(dAtA[i:], m.SubstationId) + i = encodeVarintTx(dAtA, i, uint64(len(m.SubstationId))) + i-- + dAtA[i] = 0x22 + } + if len(m.PlayerId) > 0 { + i -= len(m.PlayerId) + copy(dAtA[i:], m.PlayerId) + i = encodeVarintTx(dAtA, i, uint64(len(m.PlayerId))) + i-- + dAtA[i] = 0x1a + } + if len(m.GuildId) > 0 { + i -= len(m.GuildId) + copy(dAtA[i:], m.GuildId) + i = encodeVarintTx(dAtA, i, uint64(len(m.GuildId))) + i-- + dAtA[i] = 0x12 + } + if len(m.Creator) > 0 { + i -= len(m.Creator) + copy(dAtA[i:], m.Creator) + i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgGuildMembershipRequestDeny) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgGuildMembershipRequestDeny) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgGuildMembershipRequestDeny) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.PlayerId) > 0 { + i -= len(m.PlayerId) + copy(dAtA[i:], m.PlayerId) + i = encodeVarintTx(dAtA, i, uint64(len(m.PlayerId))) + i-- + dAtA[i] = 0x1a + } + if len(m.GuildId) > 0 { + i -= len(m.GuildId) + copy(dAtA[i:], m.GuildId) + i = encodeVarintTx(dAtA, i, uint64(len(m.GuildId))) + i-- + dAtA[i] = 0x12 + } + if len(m.Creator) > 0 { + i -= len(m.Creator) + copy(dAtA[i:], m.Creator) + i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgGuildMembershipRequestRevoke) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgGuildMembershipRequestRevoke) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgGuildMembershipRequestRevoke) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.PlayerId) > 0 { + i -= len(m.PlayerId) + copy(dAtA[i:], m.PlayerId) + i = encodeVarintTx(dAtA, i, uint64(len(m.PlayerId))) + i-- + dAtA[i] = 0x1a + } + if len(m.GuildId) > 0 { + i -= len(m.GuildId) + copy(dAtA[i:], m.GuildId) + i = encodeVarintTx(dAtA, i, uint64(len(m.GuildId))) + i-- + dAtA[i] = 0x12 + } + if len(m.Creator) > 0 { + i -= len(m.Creator) + copy(dAtA[i:], m.Creator) + i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgGuildMembershipResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgGuildMembershipResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgGuildMembershipResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.GuildMembershipApplication != nil { + { + size, err := m.GuildMembershipApplication.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintTx(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgPermissionGrantOnObject) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgPermissionGrantOnObject) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgPermissionGrantOnObject) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Permissions != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.Permissions)) + i-- + dAtA[i] = 0x20 + } + if len(m.PlayerId) > 0 { + i -= len(m.PlayerId) + copy(dAtA[i:], m.PlayerId) + i = encodeVarintTx(dAtA, i, uint64(len(m.PlayerId))) + i-- + dAtA[i] = 0x1a + } + if len(m.ObjectId) > 0 { + i -= len(m.ObjectId) + copy(dAtA[i:], m.ObjectId) + i = encodeVarintTx(dAtA, i, uint64(len(m.ObjectId))) + i-- + dAtA[i] = 0x12 + } + if len(m.Creator) > 0 { + i -= len(m.Creator) + copy(dAtA[i:], m.Creator) + i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgPermissionGrantOnAddress) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgPermissionGrantOnAddress) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgPermissionGrantOnAddress) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Permissions != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.Permissions)) + i-- + dAtA[i] = 0x18 + } + if len(m.Address) > 0 { + i -= len(m.Address) + copy(dAtA[i:], m.Address) + i = encodeVarintTx(dAtA, i, uint64(len(m.Address))) + i-- + dAtA[i] = 0x12 + } + if len(m.Creator) > 0 { + i -= len(m.Creator) + copy(dAtA[i:], m.Creator) + i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgPermissionRevokeOnObject) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgPermissionRevokeOnObject) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgPermissionRevokeOnObject) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Permissions != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.Permissions)) + i-- + dAtA[i] = 0x20 + } + if len(m.PlayerId) > 0 { + i -= len(m.PlayerId) + copy(dAtA[i:], m.PlayerId) + i = encodeVarintTx(dAtA, i, uint64(len(m.PlayerId))) + i-- + dAtA[i] = 0x1a + } + if len(m.ObjectId) > 0 { + i -= len(m.ObjectId) + copy(dAtA[i:], m.ObjectId) + i = encodeVarintTx(dAtA, i, uint64(len(m.ObjectId))) + i-- + dAtA[i] = 0x12 + } + if len(m.Creator) > 0 { + i -= len(m.Creator) + copy(dAtA[i:], m.Creator) + i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgPermissionRevokeOnAddress) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgPermissionRevokeOnAddress) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgPermissionRevokeOnAddress) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Permissions != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.Permissions)) + i-- + dAtA[i] = 0x18 + } + if len(m.Address) > 0 { + i -= len(m.Address) + copy(dAtA[i:], m.Address) + i = encodeVarintTx(dAtA, i, uint64(len(m.Address))) + i-- + dAtA[i] = 0x12 + } + if len(m.Creator) > 0 { + i -= len(m.Creator) + copy(dAtA[i:], m.Creator) + i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgPermissionSetOnObject) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgPermissionSetOnObject) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgPermissionSetOnObject) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Permissions != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.Permissions)) + i-- + dAtA[i] = 0x20 + } + if len(m.PlayerId) > 0 { + i -= len(m.PlayerId) + copy(dAtA[i:], m.PlayerId) + i = encodeVarintTx(dAtA, i, uint64(len(m.PlayerId))) + i-- + dAtA[i] = 0x1a + } + if len(m.ObjectId) > 0 { + i -= len(m.ObjectId) + copy(dAtA[i:], m.ObjectId) + i = encodeVarintTx(dAtA, i, uint64(len(m.ObjectId))) + i-- + dAtA[i] = 0x12 + } + if len(m.Creator) > 0 { + i -= len(m.Creator) + copy(dAtA[i:], m.Creator) + i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgPermissionSetOnAddress) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgPermissionSetOnAddress) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgPermissionSetOnAddress) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Permissions != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.Permissions)) + i-- + dAtA[i] = 0x18 + } + if len(m.Address) > 0 { + i -= len(m.Address) + copy(dAtA[i:], m.Address) + i = encodeVarintTx(dAtA, i, uint64(len(m.Address))) + i-- + dAtA[i] = 0x12 + } + if len(m.Creator) > 0 { + i -= len(m.Creator) + copy(dAtA[i:], m.Creator) + i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgPermissionResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgPermissionResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgPermissionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + return len(dAtA) - i, nil +} + +func (m *MsgPlanetExplore) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgPlanetExplore) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgPlanetExplore) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.PlayerId) > 0 { + i -= len(m.PlayerId) + copy(dAtA[i:], m.PlayerId) + i = encodeVarintTx(dAtA, i, uint64(len(m.PlayerId))) + i-- + dAtA[i] = 0x12 + } + if len(m.Creator) > 0 { + i -= len(m.Creator) + copy(dAtA[i:], m.Creator) + i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgPlanetExploreResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgPlanetExploreResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgPlanetExploreResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + { + size, err := m.Planet.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintTx(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + return len(dAtA) - i, nil +} + +func (m *MsgPlanetRaidComplete) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgPlanetRaidComplete) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgPlanetRaidComplete) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Nonce) > 0 { + i -= len(m.Nonce) + copy(dAtA[i:], m.Nonce) + i = encodeVarintTx(dAtA, i, uint64(len(m.Nonce))) + i-- + dAtA[i] = 0x22 + } + if len(m.Proof) > 0 { + i -= len(m.Proof) + copy(dAtA[i:], m.Proof) + i = encodeVarintTx(dAtA, i, uint64(len(m.Proof))) + i-- + dAtA[i] = 0x1a + } + if len(m.FleetId) > 0 { + i -= len(m.FleetId) + copy(dAtA[i:], m.FleetId) + i = encodeVarintTx(dAtA, i, uint64(len(m.FleetId))) + i-- + dAtA[i] = 0x12 + } + if len(m.Creator) > 0 { + i -= len(m.Creator) + copy(dAtA[i:], m.Creator) + i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgPlanetRaidCompleteResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgPlanetRaidCompleteResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgPlanetRaidCompleteResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.OreStolen != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.OreStolen)) + i-- + dAtA[i] = 0x18 + } + { + size, err := m.Planet.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintTx(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + { + size, err := m.Fleet.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintTx(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + return len(dAtA) - i, nil +} + +func (m *MsgPlayerUpdatePrimaryAddress) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgPlayerUpdatePrimaryAddress) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgPlayerUpdatePrimaryAddress) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.PrimaryAddress) > 0 { + i -= len(m.PrimaryAddress) + copy(dAtA[i:], m.PrimaryAddress) + i = encodeVarintTx(dAtA, i, uint64(len(m.PrimaryAddress))) + i-- + dAtA[i] = 0x1a + } + if len(m.PlayerId) > 0 { + i -= len(m.PlayerId) + copy(dAtA[i:], m.PlayerId) + i = encodeVarintTx(dAtA, i, uint64(len(m.PlayerId))) + i-- + dAtA[i] = 0x12 + } + if len(m.Creator) > 0 { + i -= len(m.Creator) + copy(dAtA[i:], m.Creator) + i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgPlayerUpdatePrimaryAddressResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgPlayerUpdatePrimaryAddressResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgPlayerUpdatePrimaryAddressResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + return len(dAtA) - i, nil +} + +func (m *MsgPlayerResume) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgPlayerResume) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgPlayerResume) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.PlayerId) > 0 { + i -= len(m.PlayerId) + copy(dAtA[i:], m.PlayerId) + i = encodeVarintTx(dAtA, i, uint64(len(m.PlayerId))) + i-- + dAtA[i] = 0x12 + } + if len(m.Creator) > 0 { + i -= len(m.Creator) + copy(dAtA[i:], m.Creator) + i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgPlayerResumeResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgPlayerResumeResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgPlayerResumeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + return len(dAtA) - i, nil +} + +func (m *MsgStructStatusResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgStructStatusResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgStructStatusResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + { + size, err := m.Struct.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintTx(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + return len(dAtA) - i, nil +} + +func (m *MsgStructActivate) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgStructActivate) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgStructActivate) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.StructId) > 0 { + i -= len(m.StructId) + copy(dAtA[i:], m.StructId) + i = encodeVarintTx(dAtA, i, uint64(len(m.StructId))) + i-- + dAtA[i] = 0x12 + } + if len(m.Creator) > 0 { + i -= len(m.Creator) + copy(dAtA[i:], m.Creator) + i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgStructDeactivate) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgStructDeactivate) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgStructDeactivate) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.StructId) > 0 { + i -= len(m.StructId) + copy(dAtA[i:], m.StructId) + i = encodeVarintTx(dAtA, i, uint64(len(m.StructId))) + i-- + dAtA[i] = 0x12 + } + if len(m.Creator) > 0 { + i -= len(m.Creator) + copy(dAtA[i:], m.Creator) + i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgStructBuildInitiate) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgStructBuildInitiate) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgStructBuildInitiate) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Slot != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.Slot)) + i-- + dAtA[i] = 0x28 + } + if m.OperatingAmbit != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.OperatingAmbit)) + i-- + dAtA[i] = 0x20 + } + if m.StructTypeId != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.StructTypeId)) + i-- + dAtA[i] = 0x18 + } + if len(m.PlayerId) > 0 { + i -= len(m.PlayerId) + copy(dAtA[i:], m.PlayerId) + i = encodeVarintTx(dAtA, i, uint64(len(m.PlayerId))) + i-- + dAtA[i] = 0x12 + } + if len(m.Creator) > 0 { + i -= len(m.Creator) + copy(dAtA[i:], m.Creator) + i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgStructBuildComplete) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgStructBuildComplete) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgStructBuildComplete) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Nonce) > 0 { + i -= len(m.Nonce) + copy(dAtA[i:], m.Nonce) + i = encodeVarintTx(dAtA, i, uint64(len(m.Nonce))) + i-- + dAtA[i] = 0x22 + } + if len(m.Proof) > 0 { + i -= len(m.Proof) + copy(dAtA[i:], m.Proof) + i = encodeVarintTx(dAtA, i, uint64(len(m.Proof))) + i-- + dAtA[i] = 0x1a + } + if len(m.StructId) > 0 { + i -= len(m.StructId) + copy(dAtA[i:], m.StructId) + i = encodeVarintTx(dAtA, i, uint64(len(m.StructId))) + i-- + dAtA[i] = 0x12 + } + if len(m.Creator) > 0 { + i -= len(m.Creator) + copy(dAtA[i:], m.Creator) + i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgStructBuildCancel) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgStructBuildCancel) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgStructBuildCancel) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.StructId) > 0 { + i -= len(m.StructId) + copy(dAtA[i:], m.StructId) + i = encodeVarintTx(dAtA, i, uint64(len(m.StructId))) + i-- + dAtA[i] = 0x12 + } + if len(m.Creator) > 0 { + i -= len(m.Creator) + copy(dAtA[i:], m.Creator) + i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgStructBuildCompleteAndStash) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgStructBuildCompleteAndStash) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgStructBuildCompleteAndStash) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.StorageSlot != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.StorageSlot)) + i-- + dAtA[i] = 0x38 + } + if m.StorageAmbit != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.StorageAmbit)) + i-- + dAtA[i] = 0x30 + } + if len(m.StorageDestinationId) > 0 { + i -= len(m.StorageDestinationId) + copy(dAtA[i:], m.StorageDestinationId) + i = encodeVarintTx(dAtA, i, uint64(len(m.StorageDestinationId))) + i-- + dAtA[i] = 0x2a + } + if len(m.Nonce) > 0 { + i -= len(m.Nonce) + copy(dAtA[i:], m.Nonce) + i = encodeVarintTx(dAtA, i, uint64(len(m.Nonce))) + i-- + dAtA[i] = 0x22 + } + if len(m.Proof) > 0 { + i -= len(m.Proof) + copy(dAtA[i:], m.Proof) + i = encodeVarintTx(dAtA, i, uint64(len(m.Proof))) + i-- + dAtA[i] = 0x1a + } + if len(m.StructId) > 0 { + i -= len(m.StructId) + copy(dAtA[i:], m.StructId) + i = encodeVarintTx(dAtA, i, uint64(len(m.StructId))) + i-- + dAtA[i] = 0x12 + } + if len(m.Creator) > 0 { + i -= len(m.Creator) + copy(dAtA[i:], m.Creator) + i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgStructDefenseSet) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgStructDefenseSet) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgStructDefenseSet) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.ProtectedStructId) > 0 { + i -= len(m.ProtectedStructId) + copy(dAtA[i:], m.ProtectedStructId) + i = encodeVarintTx(dAtA, i, uint64(len(m.ProtectedStructId))) + i-- + dAtA[i] = 0x1a + } + if len(m.DefenderStructId) > 0 { + i -= len(m.DefenderStructId) + copy(dAtA[i:], m.DefenderStructId) + i = encodeVarintTx(dAtA, i, uint64(len(m.DefenderStructId))) + i-- + dAtA[i] = 0x12 + } + if len(m.Creator) > 0 { + i -= len(m.Creator) + copy(dAtA[i:], m.Creator) + i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgStructDefenseClear) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgStructDefenseClear) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgStructDefenseClear) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.DefenderStructId) > 0 { + i -= len(m.DefenderStructId) + copy(dAtA[i:], m.DefenderStructId) + i = encodeVarintTx(dAtA, i, uint64(len(m.DefenderStructId))) + i-- + dAtA[i] = 0x12 + } + if len(m.Creator) > 0 { + i -= len(m.Creator) + copy(dAtA[i:], m.Creator) + i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgStructMove) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgStructMove) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgStructMove) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Slot != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.Slot)) + i-- + dAtA[i] = 0x30 + } + if m.Ambit != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.Ambit)) + i-- + dAtA[i] = 0x28 + } + if m.LocationType != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.LocationType)) + i-- + dAtA[i] = 0x20 + } + if len(m.StructId) > 0 { + i -= len(m.StructId) + copy(dAtA[i:], m.StructId) + i = encodeVarintTx(dAtA, i, uint64(len(m.StructId))) + i-- + dAtA[i] = 0x12 + } + if len(m.Creator) > 0 { + i -= len(m.Creator) + copy(dAtA[i:], m.Creator) + i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgStructAttack) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgStructAttack) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgStructAttack) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.WeaponSystem) > 0 { + i -= len(m.WeaponSystem) + copy(dAtA[i:], m.WeaponSystem) + i = encodeVarintTx(dAtA, i, uint64(len(m.WeaponSystem))) + i-- + dAtA[i] = 0x22 + } + if len(m.TargetStructId) > 0 { + for iNdEx := len(m.TargetStructId) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.TargetStructId[iNdEx]) + copy(dAtA[i:], m.TargetStructId[iNdEx]) + i = encodeVarintTx(dAtA, i, uint64(len(m.TargetStructId[iNdEx]))) + i-- + dAtA[i] = 0x1a + } + } + if len(m.OperatingStructId) > 0 { + i -= len(m.OperatingStructId) + copy(dAtA[i:], m.OperatingStructId) + i = encodeVarintTx(dAtA, i, uint64(len(m.OperatingStructId))) + i-- + dAtA[i] = 0x12 + } + if len(m.Creator) > 0 { + i -= len(m.Creator) + copy(dAtA[i:], m.Creator) + i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgStructAttackResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgStructAttackResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgStructAttackResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + return len(dAtA) - i, nil +} + +func (m *MsgStructStealthActivate) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgStructStealthActivate) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgStructStealthActivate) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.StructId) > 0 { + i -= len(m.StructId) + copy(dAtA[i:], m.StructId) + i = encodeVarintTx(dAtA, i, uint64(len(m.StructId))) + i-- + dAtA[i] = 0x12 + } + if len(m.Creator) > 0 { + i -= len(m.Creator) + copy(dAtA[i:], m.Creator) + i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgStructStealthDeactivate) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgStructStealthDeactivate) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgStructStealthDeactivate) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.StructId) > 0 { + i -= len(m.StructId) + copy(dAtA[i:], m.StructId) + i = encodeVarintTx(dAtA, i, uint64(len(m.StructId))) + i-- + dAtA[i] = 0x12 + } + if len(m.Creator) > 0 { + i -= len(m.Creator) + copy(dAtA[i:], m.Creator) + i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgStructGeneratorInfuse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgStructGeneratorInfuse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgStructGeneratorInfuse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.InfuseAmount) > 0 { + i -= len(m.InfuseAmount) + copy(dAtA[i:], m.InfuseAmount) + i = encodeVarintTx(dAtA, i, uint64(len(m.InfuseAmount))) + i-- + dAtA[i] = 0x1a + } + if len(m.StructId) > 0 { + i -= len(m.StructId) + copy(dAtA[i:], m.StructId) + i = encodeVarintTx(dAtA, i, uint64(len(m.StructId))) + i-- + dAtA[i] = 0x12 + } + if len(m.Creator) > 0 { + i -= len(m.Creator) + copy(dAtA[i:], m.Creator) + i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgStructGeneratorStatusResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgStructGeneratorStatusResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgStructGeneratorStatusResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + return len(dAtA) - i, nil +} + +func (m *MsgStructOreMinerComplete) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgStructOreMinerComplete) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgStructOreMinerComplete) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Nonce) > 0 { + i -= len(m.Nonce) + copy(dAtA[i:], m.Nonce) + i = encodeVarintTx(dAtA, i, uint64(len(m.Nonce))) + i-- + dAtA[i] = 0x22 + } + if len(m.Proof) > 0 { + i -= len(m.Proof) + copy(dAtA[i:], m.Proof) + i = encodeVarintTx(dAtA, i, uint64(len(m.Proof))) + i-- + dAtA[i] = 0x1a + } + if len(m.StructId) > 0 { + i -= len(m.StructId) + copy(dAtA[i:], m.StructId) + i = encodeVarintTx(dAtA, i, uint64(len(m.StructId))) + i-- + dAtA[i] = 0x12 + } + if len(m.Creator) > 0 { + i -= len(m.Creator) + copy(dAtA[i:], m.Creator) + i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgStructOreMinerStatusResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgStructOreMinerStatusResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgStructOreMinerStatusResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + { + size, err := m.Struct.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintTx(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + return len(dAtA) - i, nil +} + +func (m *MsgStructOreRefineryComplete) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgStructOreRefineryComplete) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgStructOreRefineryComplete) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Nonce) > 0 { + i -= len(m.Nonce) + copy(dAtA[i:], m.Nonce) + i = encodeVarintTx(dAtA, i, uint64(len(m.Nonce))) + i-- + dAtA[i] = 0x22 + } + if len(m.Proof) > 0 { + i -= len(m.Proof) + copy(dAtA[i:], m.Proof) + i = encodeVarintTx(dAtA, i, uint64(len(m.Proof))) + i-- + dAtA[i] = 0x1a + } + if len(m.StructId) > 0 { + i -= len(m.StructId) + copy(dAtA[i:], m.StructId) + i = encodeVarintTx(dAtA, i, uint64(len(m.StructId))) + i-- + dAtA[i] = 0x12 + } + if len(m.Creator) > 0 { + i -= len(m.Creator) + copy(dAtA[i:], m.Creator) + i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgStructOreRefineryStatusResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgStructOreRefineryStatusResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgStructOreRefineryStatusResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + { + size, err := m.Struct.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintTx(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + return len(dAtA) - i, nil +} + +func (m *MsgStructStorageStash) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgStructStorageStash) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgStructStorageStash) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Slot != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.Slot)) + i-- + dAtA[i] = 0x28 + } + if m.Ambit != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.Ambit)) + i-- + dAtA[i] = 0x20 + } + if len(m.LocationId) > 0 { + i -= len(m.LocationId) + copy(dAtA[i:], m.LocationId) + i = encodeVarintTx(dAtA, i, uint64(len(m.LocationId))) + i-- + dAtA[i] = 0x1a + } + if len(m.StructId) > 0 { + i -= len(m.StructId) + copy(dAtA[i:], m.StructId) + i = encodeVarintTx(dAtA, i, uint64(len(m.StructId))) + i-- + dAtA[i] = 0x12 + } + if len(m.Creator) > 0 { + i -= len(m.Creator) + copy(dAtA[i:], m.Creator) + i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgStructStorageRecall) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgStructStorageRecall) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgStructStorageRecall) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Activate { + i-- + if m.Activate { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x30 + } + if m.Slot != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.Slot)) + i-- + dAtA[i] = 0x28 + } + if m.Ambit != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.Ambit)) + i-- + dAtA[i] = 0x20 + } + if len(m.LocationId) > 0 { + i -= len(m.LocationId) + copy(dAtA[i:], m.LocationId) + i = encodeVarintTx(dAtA, i, uint64(len(m.LocationId))) + i-- + dAtA[i] = 0x1a + } + if len(m.StructId) > 0 { + i -= len(m.StructId) + copy(dAtA[i:], m.StructId) + i = encodeVarintTx(dAtA, i, uint64(len(m.StructId))) + i-- + dAtA[i] = 0x12 + } + if len(m.Creator) > 0 { + i -= len(m.Creator) + copy(dAtA[i:], m.Creator) + i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgSubstationCreate) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgSubstationCreate) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgSubstationCreate) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.AllocationId) > 0 { + i -= len(m.AllocationId) + copy(dAtA[i:], m.AllocationId) + i = encodeVarintTx(dAtA, i, uint64(len(m.AllocationId))) + i-- + dAtA[i] = 0x1a + } + if len(m.Owner) > 0 { + i -= len(m.Owner) + copy(dAtA[i:], m.Owner) + i = encodeVarintTx(dAtA, i, uint64(len(m.Owner))) + i-- + dAtA[i] = 0x12 + } + if len(m.Creator) > 0 { + i -= len(m.Creator) + copy(dAtA[i:], m.Creator) + i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgSubstationCreateResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgSubstationCreateResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgSubstationCreateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.SubstationId) > 0 { + i -= len(m.SubstationId) + copy(dAtA[i:], m.SubstationId) + i = encodeVarintTx(dAtA, i, uint64(len(m.SubstationId))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgSubstationDelete) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgSubstationDelete) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgSubstationDelete) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.MigrationSubstationId) > 0 { + i -= len(m.MigrationSubstationId) + copy(dAtA[i:], m.MigrationSubstationId) + i = encodeVarintTx(dAtA, i, uint64(len(m.MigrationSubstationId))) + i-- + dAtA[i] = 0x1a + } + if len(m.SubstationId) > 0 { + i -= len(m.SubstationId) + copy(dAtA[i:], m.SubstationId) + i = encodeVarintTx(dAtA, i, uint64(len(m.SubstationId))) + i-- + dAtA[i] = 0x12 + } + if len(m.Creator) > 0 { + i -= len(m.Creator) + copy(dAtA[i:], m.Creator) + i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgSubstationDeleteResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgSubstationDeleteResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgSubstationDeleteResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + return len(dAtA) - i, nil +} + +func (m *MsgSubstationAllocationConnect) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgSubstationAllocationConnect) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgSubstationAllocationConnect) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.DestinationId) > 0 { + i -= len(m.DestinationId) + copy(dAtA[i:], m.DestinationId) + i = encodeVarintTx(dAtA, i, uint64(len(m.DestinationId))) + i-- + dAtA[i] = 0x1a + } + if len(m.AllocationId) > 0 { + i -= len(m.AllocationId) + copy(dAtA[i:], m.AllocationId) + i = encodeVarintTx(dAtA, i, uint64(len(m.AllocationId))) + i-- + dAtA[i] = 0x12 + } + if len(m.Creator) > 0 { + i -= len(m.Creator) + copy(dAtA[i:], m.Creator) + i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgSubstationAllocationConnectResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgSubstationAllocationConnectResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgSubstationAllocationConnectResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + return len(dAtA) - i, nil +} + +func (m *MsgSubstationAllocationDisconnect) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgSubstationAllocationDisconnect) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgSubstationAllocationDisconnect) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.AllocationId) > 0 { + i -= len(m.AllocationId) + copy(dAtA[i:], m.AllocationId) + i = encodeVarintTx(dAtA, i, uint64(len(m.AllocationId))) + i-- + dAtA[i] = 0x12 + } + if len(m.Creator) > 0 { + i -= len(m.Creator) + copy(dAtA[i:], m.Creator) + i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgSubstationAllocationDisconnectResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgSubstationAllocationDisconnectResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgSubstationAllocationDisconnectResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + return len(dAtA) - i, nil +} + +func (m *MsgSubstationPlayerConnect) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgSubstationPlayerConnect) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgSubstationPlayerConnect) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.PlayerId) > 0 { + i -= len(m.PlayerId) + copy(dAtA[i:], m.PlayerId) + i = encodeVarintTx(dAtA, i, uint64(len(m.PlayerId))) + i-- + dAtA[i] = 0x1a + } + if len(m.SubstationId) > 0 { + i -= len(m.SubstationId) + copy(dAtA[i:], m.SubstationId) + i = encodeVarintTx(dAtA, i, uint64(len(m.SubstationId))) + i-- + dAtA[i] = 0x12 + } + if len(m.Creator) > 0 { + i -= len(m.Creator) + copy(dAtA[i:], m.Creator) + i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgSubstationPlayerConnectResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgSubstationPlayerConnectResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgSubstationPlayerConnectResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + return len(dAtA) - i, nil +} + +func (m *MsgSubstationPlayerDisconnect) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgSubstationPlayerDisconnect) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgSubstationPlayerDisconnect) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.PlayerId) > 0 { + i -= len(m.PlayerId) + copy(dAtA[i:], m.PlayerId) + i = encodeVarintTx(dAtA, i, uint64(len(m.PlayerId))) + i-- + dAtA[i] = 0x12 + } + if len(m.Creator) > 0 { + i -= len(m.Creator) + copy(dAtA[i:], m.Creator) + i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgSubstationPlayerDisconnectResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgSubstationPlayerDisconnectResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgSubstationPlayerDisconnectResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + return len(dAtA) - i, nil +} + +func (m *MsgSubstationPlayerMigrate) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgSubstationPlayerMigrate) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgSubstationPlayerMigrate) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.PlayerId) > 0 { + for iNdEx := len(m.PlayerId) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.PlayerId[iNdEx]) + copy(dAtA[i:], m.PlayerId[iNdEx]) + i = encodeVarintTx(dAtA, i, uint64(len(m.PlayerId[iNdEx]))) + i-- + dAtA[i] = 0x1a + } + } + if len(m.SubstationId) > 0 { + i -= len(m.SubstationId) + copy(dAtA[i:], m.SubstationId) + i = encodeVarintTx(dAtA, i, uint64(len(m.SubstationId))) + i-- + dAtA[i] = 0x12 + } + if len(m.Creator) > 0 { + i -= len(m.Creator) + copy(dAtA[i:], m.Creator) + i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgSubstationPlayerMigrateResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgSubstationPlayerMigrateResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgSubstationPlayerMigrateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + return len(dAtA) - i, nil +} + +func (m *MsgAgreementOpen) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgAgreementOpen) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgAgreementOpen) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Capacity != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.Capacity)) + i-- + dAtA[i] = 0x20 + } + if m.Duration != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.Duration)) + i-- + dAtA[i] = 0x18 + } + if len(m.ProviderId) > 0 { + i -= len(m.ProviderId) + copy(dAtA[i:], m.ProviderId) + i = encodeVarintTx(dAtA, i, uint64(len(m.ProviderId))) + i-- + dAtA[i] = 0x12 + } + if len(m.Creator) > 0 { + i -= len(m.Creator) + copy(dAtA[i:], m.Creator) + i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgAgreementClose) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgAgreementClose) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgAgreementClose) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.AgreementId) > 0 { + i -= len(m.AgreementId) + copy(dAtA[i:], m.AgreementId) + i = encodeVarintTx(dAtA, i, uint64(len(m.AgreementId))) + i-- + dAtA[i] = 0x12 + } + if len(m.Creator) > 0 { + i -= len(m.Creator) + copy(dAtA[i:], m.Creator) + i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgAgreementCapacityIncrease) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgAgreementCapacityIncrease) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgAgreementCapacityIncrease) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.CapacityIncrease != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.CapacityIncrease)) + i-- + dAtA[i] = 0x18 + } + if len(m.AgreementId) > 0 { + i -= len(m.AgreementId) + copy(dAtA[i:], m.AgreementId) + i = encodeVarintTx(dAtA, i, uint64(len(m.AgreementId))) + i-- + dAtA[i] = 0x12 + } + if len(m.Creator) > 0 { + i -= len(m.Creator) + copy(dAtA[i:], m.Creator) + i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgAgreementCapacityDecrease) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgAgreementCapacityDecrease) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgAgreementCapacityDecrease) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.CapacityDecrease != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.CapacityDecrease)) + i-- + dAtA[i] = 0x18 + } + if len(m.AgreementId) > 0 { + i -= len(m.AgreementId) + copy(dAtA[i:], m.AgreementId) + i = encodeVarintTx(dAtA, i, uint64(len(m.AgreementId))) + i-- + dAtA[i] = 0x12 + } + if len(m.Creator) > 0 { + i -= len(m.Creator) + copy(dAtA[i:], m.Creator) + i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgAgreementDurationIncrease) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgAgreementDurationIncrease) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgAgreementDurationIncrease) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.DurationIncrease != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.DurationIncrease)) + i-- + dAtA[i] = 0x18 + } + if len(m.AgreementId) > 0 { + i -= len(m.AgreementId) + copy(dAtA[i:], m.AgreementId) + i = encodeVarintTx(dAtA, i, uint64(len(m.AgreementId))) + i-- + dAtA[i] = 0x12 + } + if len(m.Creator) > 0 { + i -= len(m.Creator) + copy(dAtA[i:], m.Creator) + i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgAgreementResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgAgreementResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgAgreementResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + return len(dAtA) - i, nil +} + +func (m *MsgProviderCreate) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgProviderCreate) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgProviderCreate) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.DurationMaximum != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.DurationMaximum)) + i-- + dAtA[i] = 0x50 + } + if m.DurationMinimum != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.DurationMinimum)) + i-- + dAtA[i] = 0x48 + } + if m.CapacityMaximum != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.CapacityMaximum)) + i-- + dAtA[i] = 0x40 + } + if m.CapacityMinimum != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.CapacityMinimum)) + i-- + dAtA[i] = 0x38 + } { - size, err := m.Struct.MarshalToSizedBuffer(dAtA[:i]) + size := m.ConsumerCancellationPenalty.Size() + i -= size + if _, err := m.ConsumerCancellationPenalty.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + i = encodeVarintTx(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x32 + { + size := m.ProviderCancellationPenalty.Size() + i -= size + if _, err := m.ProviderCancellationPenalty.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + i = encodeVarintTx(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2a + if m.AccessPolicy != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.AccessPolicy)) + i-- + dAtA[i] = 0x20 + } + { + size, err := m.Rate.MarshalToSizedBuffer(dAtA[:i]) if err != nil { return 0, err } i -= size i = encodeVarintTx(dAtA, i, uint64(size)) } - i-- - dAtA[i] = 0xa + i-- + dAtA[i] = 0x1a + if len(m.SubstationId) > 0 { + i -= len(m.SubstationId) + copy(dAtA[i:], m.SubstationId) + i = encodeVarintTx(dAtA, i, uint64(len(m.SubstationId))) + i-- + dAtA[i] = 0x12 + } + if len(m.Creator) > 0 { + i -= len(m.Creator) + copy(dAtA[i:], m.Creator) + i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgProviderWithdrawBalance) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgProviderWithdrawBalance) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgProviderWithdrawBalance) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.DestinationAddress) > 0 { + i -= len(m.DestinationAddress) + copy(dAtA[i:], m.DestinationAddress) + i = encodeVarintTx(dAtA, i, uint64(len(m.DestinationAddress))) + i-- + dAtA[i] = 0x1a + } + if len(m.ProviderId) > 0 { + i -= len(m.ProviderId) + copy(dAtA[i:], m.ProviderId) + i = encodeVarintTx(dAtA, i, uint64(len(m.ProviderId))) + i-- + dAtA[i] = 0x12 + } + if len(m.Creator) > 0 { + i -= len(m.Creator) + copy(dAtA[i:], m.Creator) + i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgProviderUpdateCapacityMinimum) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgProviderUpdateCapacityMinimum) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgProviderUpdateCapacityMinimum) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.NewMinimumCapacity != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.NewMinimumCapacity)) + i-- + dAtA[i] = 0x18 + } + if len(m.ProviderId) > 0 { + i -= len(m.ProviderId) + copy(dAtA[i:], m.ProviderId) + i = encodeVarintTx(dAtA, i, uint64(len(m.ProviderId))) + i-- + dAtA[i] = 0x12 + } + if len(m.Creator) > 0 { + i -= len(m.Creator) + copy(dAtA[i:], m.Creator) + i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) + i-- + dAtA[i] = 0xa + } return len(dAtA) - i, nil } -func (m *MsgStructActivate) Marshal() (dAtA []byte, err error) { +func (m *MsgProviderUpdateCapacityMaximum) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -9198,20 +13482,25 @@ func (m *MsgStructActivate) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *MsgStructActivate) MarshalTo(dAtA []byte) (int, error) { +func (m *MsgProviderUpdateCapacityMaximum) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *MsgStructActivate) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *MsgProviderUpdateCapacityMaximum) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.StructId) > 0 { - i -= len(m.StructId) - copy(dAtA[i:], m.StructId) - i = encodeVarintTx(dAtA, i, uint64(len(m.StructId))) + if m.NewMaximumCapacity != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.NewMaximumCapacity)) + i-- + dAtA[i] = 0x18 + } + if len(m.ProviderId) > 0 { + i -= len(m.ProviderId) + copy(dAtA[i:], m.ProviderId) + i = encodeVarintTx(dAtA, i, uint64(len(m.ProviderId))) i-- dAtA[i] = 0x12 } @@ -9225,7 +13514,7 @@ func (m *MsgStructActivate) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *MsgStructDeactivate) Marshal() (dAtA []byte, err error) { +func (m *MsgProviderUpdateDurationMinimum) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -9235,20 +13524,25 @@ func (m *MsgStructDeactivate) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *MsgStructDeactivate) MarshalTo(dAtA []byte) (int, error) { +func (m *MsgProviderUpdateDurationMinimum) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *MsgStructDeactivate) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *MsgProviderUpdateDurationMinimum) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.StructId) > 0 { - i -= len(m.StructId) - copy(dAtA[i:], m.StructId) - i = encodeVarintTx(dAtA, i, uint64(len(m.StructId))) + if m.NewMinimumDuration != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.NewMinimumDuration)) + i-- + dAtA[i] = 0x18 + } + if len(m.ProviderId) > 0 { + i -= len(m.ProviderId) + copy(dAtA[i:], m.ProviderId) + i = encodeVarintTx(dAtA, i, uint64(len(m.ProviderId))) i-- dAtA[i] = 0x12 } @@ -9262,7 +13556,7 @@ func (m *MsgStructDeactivate) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *MsgStructBuildInitiate) Marshal() (dAtA []byte, err error) { +func (m *MsgProviderUpdateDurationMaximum) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -9272,40 +13566,67 @@ func (m *MsgStructBuildInitiate) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *MsgStructBuildInitiate) MarshalTo(dAtA []byte) (int, error) { +func (m *MsgProviderUpdateDurationMaximum) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *MsgStructBuildInitiate) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *MsgProviderUpdateDurationMaximum) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.Slot != 0 { - i = encodeVarintTx(dAtA, i, uint64(m.Slot)) + if m.NewMaximumDuration != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.NewMaximumDuration)) i-- - dAtA[i] = 0x30 + dAtA[i] = 0x18 } - if m.OperatingAmbit != 0 { - i = encodeVarintTx(dAtA, i, uint64(m.OperatingAmbit)) + if len(m.ProviderId) > 0 { + i -= len(m.ProviderId) + copy(dAtA[i:], m.ProviderId) + i = encodeVarintTx(dAtA, i, uint64(len(m.ProviderId))) i-- - dAtA[i] = 0x28 + dAtA[i] = 0x12 } - if m.LocationType != 0 { - i = encodeVarintTx(dAtA, i, uint64(m.LocationType)) + if len(m.Creator) > 0 { + i -= len(m.Creator) + copy(dAtA[i:], m.Creator) + i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) i-- - dAtA[i] = 0x20 + dAtA[i] = 0xa } - if m.StructTypeId != 0 { - i = encodeVarintTx(dAtA, i, uint64(m.StructTypeId)) + return len(dAtA) - i, nil +} + +func (m *MsgProviderUpdateAccessPolicy) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgProviderUpdateAccessPolicy) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgProviderUpdateAccessPolicy) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.AccessPolicy != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.AccessPolicy)) i-- dAtA[i] = 0x18 } - if len(m.PlayerId) > 0 { - i -= len(m.PlayerId) - copy(dAtA[i:], m.PlayerId) - i = encodeVarintTx(dAtA, i, uint64(len(m.PlayerId))) + if len(m.ProviderId) > 0 { + i -= len(m.ProviderId) + copy(dAtA[i:], m.ProviderId) + i = encodeVarintTx(dAtA, i, uint64(len(m.ProviderId))) i-- dAtA[i] = 0x12 } @@ -9319,7 +13640,7 @@ func (m *MsgStructBuildInitiate) MarshalToSizedBuffer(dAtA []byte) (int, error) return len(dAtA) - i, nil } -func (m *MsgStructBuildComplete) Marshal() (dAtA []byte, err error) { +func (m *MsgProviderGuildGrant) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -9329,34 +13650,75 @@ func (m *MsgStructBuildComplete) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *MsgStructBuildComplete) MarshalTo(dAtA []byte) (int, error) { +func (m *MsgProviderGuildGrant) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *MsgStructBuildComplete) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *MsgProviderGuildGrant) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.Nonce) > 0 { - i -= len(m.Nonce) - copy(dAtA[i:], m.Nonce) - i = encodeVarintTx(dAtA, i, uint64(len(m.Nonce))) + if len(m.GuildId) > 0 { + for iNdEx := len(m.GuildId) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.GuildId[iNdEx]) + copy(dAtA[i:], m.GuildId[iNdEx]) + i = encodeVarintTx(dAtA, i, uint64(len(m.GuildId[iNdEx]))) + i-- + dAtA[i] = 0x1a + } + } + if len(m.ProviderId) > 0 { + i -= len(m.ProviderId) + copy(dAtA[i:], m.ProviderId) + i = encodeVarintTx(dAtA, i, uint64(len(m.ProviderId))) i-- - dAtA[i] = 0x22 + dAtA[i] = 0x12 } - if len(m.Proof) > 0 { - i -= len(m.Proof) - copy(dAtA[i:], m.Proof) - i = encodeVarintTx(dAtA, i, uint64(len(m.Proof))) + if len(m.Creator) > 0 { + i -= len(m.Creator) + copy(dAtA[i:], m.Creator) + i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) i-- - dAtA[i] = 0x1a + dAtA[i] = 0xa } - if len(m.StructId) > 0 { - i -= len(m.StructId) - copy(dAtA[i:], m.StructId) - i = encodeVarintTx(dAtA, i, uint64(len(m.StructId))) + return len(dAtA) - i, nil +} + +func (m *MsgProviderGuildRevoke) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgProviderGuildRevoke) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgProviderGuildRevoke) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.GuildId) > 0 { + for iNdEx := len(m.GuildId) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.GuildId[iNdEx]) + copy(dAtA[i:], m.GuildId[iNdEx]) + i = encodeVarintTx(dAtA, i, uint64(len(m.GuildId[iNdEx]))) + i-- + dAtA[i] = 0x1a + } + } + if len(m.ProviderId) > 0 { + i -= len(m.ProviderId) + copy(dAtA[i:], m.ProviderId) + i = encodeVarintTx(dAtA, i, uint64(len(m.ProviderId))) i-- dAtA[i] = 0x12 } @@ -9370,1210 +13732,1343 @@ func (m *MsgStructBuildComplete) MarshalToSizedBuffer(dAtA []byte) (int, error) return len(dAtA) - i, nil } -func (m *MsgStructBuildCompleteAndStash) Marshal() (dAtA []byte, err error) { +func (m *MsgProviderDelete) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgProviderDelete) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgProviderDelete) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.ProviderId) > 0 { + i -= len(m.ProviderId) + copy(dAtA[i:], m.ProviderId) + i = encodeVarintTx(dAtA, i, uint64(len(m.ProviderId))) + i-- + dAtA[i] = 0x12 + } + if len(m.Creator) > 0 { + i -= len(m.Creator) + copy(dAtA[i:], m.Creator) + i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgProviderResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) if err != nil { return nil, err } - return dAtA[:n], nil + return dAtA[:n], nil +} + +func (m *MsgProviderResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgProviderResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + return len(dAtA) - i, nil +} + +func encodeVarintTx(dAtA []byte, offset int, v uint64) int { + offset -= sovTx(v) + base := offset + for v >= 1<<7 { + dAtA[offset] = uint8(v&0x7f | 0x80) + v >>= 7 + offset++ + } + dAtA[offset] = uint8(v) + return base +} +func (m *MsgUpdateParams) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Authority) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = m.Params.Size() + n += 1 + l + sovTx(uint64(l)) + return n +} + +func (m *MsgUpdateParamsResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *MsgAddressRegister) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Creator) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.PlayerId) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.Address) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.ProofPubKey) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.ProofSignature) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + if m.Permissions != 0 { + n += 1 + sovTx(uint64(m.Permissions)) + } + return n +} + +func (m *MsgAddressRegisterResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *MsgAddressRevoke) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Creator) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.Address) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + return n } -func (m *MsgStructBuildCompleteAndStash) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func (m *MsgAddressRevokeResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n } -func (m *MsgStructBuildCompleteAndStash) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i +func (m *MsgAllocationCreate) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l - if m.StorageSlot != 0 { - i = encodeVarintTx(dAtA, i, uint64(m.StorageSlot)) - i-- - dAtA[i] = 0x38 - } - if m.StorageAmbit != 0 { - i = encodeVarintTx(dAtA, i, uint64(m.StorageAmbit)) - i-- - dAtA[i] = 0x30 - } - if len(m.StorageDestinationId) > 0 { - i -= len(m.StorageDestinationId) - copy(dAtA[i:], m.StorageDestinationId) - i = encodeVarintTx(dAtA, i, uint64(len(m.StorageDestinationId))) - i-- - dAtA[i] = 0x2a + l = len(m.Creator) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) } - if len(m.Nonce) > 0 { - i -= len(m.Nonce) - copy(dAtA[i:], m.Nonce) - i = encodeVarintTx(dAtA, i, uint64(len(m.Nonce))) - i-- - dAtA[i] = 0x22 + l = len(m.Controller) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) } - if len(m.Proof) > 0 { - i -= len(m.Proof) - copy(dAtA[i:], m.Proof) - i = encodeVarintTx(dAtA, i, uint64(len(m.Proof))) - i-- - dAtA[i] = 0x1a + l = len(m.SourceObjectId) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) } - if len(m.StructId) > 0 { - i -= len(m.StructId) - copy(dAtA[i:], m.StructId) - i = encodeVarintTx(dAtA, i, uint64(len(m.StructId))) - i-- - dAtA[i] = 0x12 + if m.AllocationType != 0 { + n += 1 + sovTx(uint64(m.AllocationType)) } - if len(m.Creator) > 0 { - i -= len(m.Creator) - copy(dAtA[i:], m.Creator) - i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) - i-- - dAtA[i] = 0xa + if m.Power != 0 { + n += 1 + sovTx(uint64(m.Power)) } - return len(dAtA) - i, nil + return n } -func (m *MsgStructDefenseSet) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err +func (m *MsgAllocationCreateResponse) Size() (n int) { + if m == nil { + return 0 } - return dAtA[:n], nil -} - -func (m *MsgStructDefenseSet) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) + var l int + _ = l + l = len(m.AllocationId) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + return n } -func (m *MsgStructDefenseSet) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i +func (m *MsgAllocationDelete) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l - if len(m.ProtectedStructId) > 0 { - i -= len(m.ProtectedStructId) - copy(dAtA[i:], m.ProtectedStructId) - i = encodeVarintTx(dAtA, i, uint64(len(m.ProtectedStructId))) - i-- - dAtA[i] = 0x1a - } - if len(m.DefenderStructId) > 0 { - i -= len(m.DefenderStructId) - copy(dAtA[i:], m.DefenderStructId) - i = encodeVarintTx(dAtA, i, uint64(len(m.DefenderStructId))) - i-- - dAtA[i] = 0x12 + l = len(m.Creator) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) } - if len(m.Creator) > 0 { - i -= len(m.Creator) - copy(dAtA[i:], m.Creator) - i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) - i-- - dAtA[i] = 0xa + l = len(m.AllocationId) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) } - return len(dAtA) - i, nil + return n } -func (m *MsgStructDefenseClear) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err +func (m *MsgAllocationDeleteResponse) Size() (n int) { + if m == nil { + return 0 } - return dAtA[:n], nil -} - -func (m *MsgStructDefenseClear) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) + var l int + _ = l + l = len(m.AllocationId) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + return n } -func (m *MsgStructDefenseClear) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i +func (m *MsgAllocationUpdate) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l - if len(m.DefenderStructId) > 0 { - i -= len(m.DefenderStructId) - copy(dAtA[i:], m.DefenderStructId) - i = encodeVarintTx(dAtA, i, uint64(len(m.DefenderStructId))) - i-- - dAtA[i] = 0x12 + l = len(m.Creator) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) } - if len(m.Creator) > 0 { - i -= len(m.Creator) - copy(dAtA[i:], m.Creator) - i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) - i-- - dAtA[i] = 0xa + l = len(m.AllocationId) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) } - return len(dAtA) - i, nil -} - -func (m *MsgStructMove) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err + if m.Power != 0 { + n += 1 + sovTx(uint64(m.Power)) } - return dAtA[:n], nil + return n } -func (m *MsgStructMove) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func (m *MsgAllocationUpdateResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.AllocationId) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + return n } -func (m *MsgStructMove) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i +func (m *MsgAllocationTransfer) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l - if m.Slot != 0 { - i = encodeVarintTx(dAtA, i, uint64(m.Slot)) - i-- - dAtA[i] = 0x30 - } - if m.Ambit != 0 { - i = encodeVarintTx(dAtA, i, uint64(m.Ambit)) - i-- - dAtA[i] = 0x28 + l = len(m.Creator) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) } - if m.LocationType != 0 { - i = encodeVarintTx(dAtA, i, uint64(m.LocationType)) - i-- - dAtA[i] = 0x20 + l = len(m.AllocationId) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) } - if len(m.StructId) > 0 { - i -= len(m.StructId) - copy(dAtA[i:], m.StructId) - i = encodeVarintTx(dAtA, i, uint64(len(m.StructId))) - i-- - dAtA[i] = 0x12 + l = len(m.Controller) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) } - if len(m.Creator) > 0 { - i -= len(m.Creator) - copy(dAtA[i:], m.Creator) - i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) - i-- - dAtA[i] = 0xa + return n +} + +func (m *MsgAllocationTransferResponse) Size() (n int) { + if m == nil { + return 0 } - return len(dAtA) - i, nil + var l int + _ = l + l = len(m.AllocationId) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + return n } -func (m *MsgStructAttack) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err +func (m *MsgFleetMove) Size() (n int) { + if m == nil { + return 0 } - return dAtA[:n], nil + var l int + _ = l + l = len(m.Creator) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.FleetId) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.DestinationLocationId) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + return n } -func (m *MsgStructAttack) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func (m *MsgFleetMoveResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Fleet != nil { + l = m.Fleet.Size() + n += 1 + l + sovTx(uint64(l)) + } + return n } -func (m *MsgStructAttack) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i +func (m *MsgGuildBankMint) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l - if len(m.WeaponSystem) > 0 { - i -= len(m.WeaponSystem) - copy(dAtA[i:], m.WeaponSystem) - i = encodeVarintTx(dAtA, i, uint64(len(m.WeaponSystem))) - i-- - dAtA[i] = 0x22 - } - if len(m.TargetStructId) > 0 { - for iNdEx := len(m.TargetStructId) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.TargetStructId[iNdEx]) - copy(dAtA[i:], m.TargetStructId[iNdEx]) - i = encodeVarintTx(dAtA, i, uint64(len(m.TargetStructId[iNdEx]))) - i-- - dAtA[i] = 0x1a - } + l = len(m.Creator) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) } - if len(m.OperatingStructId) > 0 { - i -= len(m.OperatingStructId) - copy(dAtA[i:], m.OperatingStructId) - i = encodeVarintTx(dAtA, i, uint64(len(m.OperatingStructId))) - i-- - dAtA[i] = 0x12 + if m.AmountAlpha != 0 { + n += 1 + sovTx(uint64(m.AmountAlpha)) } - if len(m.Creator) > 0 { - i -= len(m.Creator) - copy(dAtA[i:], m.Creator) - i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) - i-- - dAtA[i] = 0xa + if m.AmountToken != 0 { + n += 1 + sovTx(uint64(m.AmountToken)) } - return len(dAtA) - i, nil + return n } -func (m *MsgStructAttackResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err +func (m *MsgGuildBankMintResponse) Size() (n int) { + if m == nil { + return 0 } - return dAtA[:n], nil + var l int + _ = l + return n } -func (m *MsgStructAttackResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func (m *MsgGuildBankRedeem) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Creator) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = m.AmountToken.Size() + n += 1 + l + sovTx(uint64(l)) + return n } -func (m *MsgStructAttackResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i +func (m *MsgGuildBankRedeemResponse) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l - return len(dAtA) - i, nil + return n } -func (m *MsgStructStealthActivate) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err +func (m *MsgGuildBankConfiscateAndBurn) Size() (n int) { + if m == nil { + return 0 } - return dAtA[:n], nil + var l int + _ = l + l = len(m.Creator) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.Address) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + if m.AmountToken != 0 { + n += 1 + sovTx(uint64(m.AmountToken)) + } + return n } -func (m *MsgStructStealthActivate) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func (m *MsgGuildBankConfiscateAndBurnResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n } -func (m *MsgStructStealthActivate) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i +func (m *MsgGuildCreate) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l - if len(m.StructId) > 0 { - i -= len(m.StructId) - copy(dAtA[i:], m.StructId) - i = encodeVarintTx(dAtA, i, uint64(len(m.StructId))) - i-- - dAtA[i] = 0x12 + l = len(m.Creator) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) } - if len(m.Creator) > 0 { - i -= len(m.Creator) - copy(dAtA[i:], m.Creator) - i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) - i-- - dAtA[i] = 0xa + l = len(m.Endpoint) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) } - return len(dAtA) - i, nil -} - -func (m *MsgStructStealthDeactivate) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err + l = len(m.EntrySubstationId) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) } - return dAtA[:n], nil + return n } -func (m *MsgStructStealthDeactivate) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func (m *MsgGuildCreateResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.GuildId) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + return n } -func (m *MsgStructStealthDeactivate) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i +func (m *MsgGuildUpdateOwnerId) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l - if len(m.StructId) > 0 { - i -= len(m.StructId) - copy(dAtA[i:], m.StructId) - i = encodeVarintTx(dAtA, i, uint64(len(m.StructId))) - i-- - dAtA[i] = 0x12 + l = len(m.Creator) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) } - if len(m.Creator) > 0 { - i -= len(m.Creator) - copy(dAtA[i:], m.Creator) - i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) - i-- - dAtA[i] = 0xa + l = len(m.GuildId) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) } - return len(dAtA) - i, nil + l = len(m.Owner) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + return n } -func (m *MsgStructGeneratorInfuse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err +func (m *MsgGuildUpdateEntrySubstationId) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Creator) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.GuildId) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.EntrySubstationId) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) } - return dAtA[:n], nil -} - -func (m *MsgStructGeneratorInfuse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) + return n } -func (m *MsgStructGeneratorInfuse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i +func (m *MsgGuildUpdateEndpoint) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l - if len(m.InfuseAmount) > 0 { - i -= len(m.InfuseAmount) - copy(dAtA[i:], m.InfuseAmount) - i = encodeVarintTx(dAtA, i, uint64(len(m.InfuseAmount))) - i-- - dAtA[i] = 0x1a + l = len(m.Creator) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) } - if len(m.StructId) > 0 { - i -= len(m.StructId) - copy(dAtA[i:], m.StructId) - i = encodeVarintTx(dAtA, i, uint64(len(m.StructId))) - i-- - dAtA[i] = 0x12 + l = len(m.GuildId) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) } - if len(m.Creator) > 0 { - i -= len(m.Creator) - copy(dAtA[i:], m.Creator) - i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) - i-- - dAtA[i] = 0xa + l = len(m.Endpoint) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) } - return len(dAtA) - i, nil + return n } -func (m *MsgStructGeneratorStatusResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err +func (m *MsgGuildUpdateJoinInfusionMinimum) Size() (n int) { + if m == nil { + return 0 } - return dAtA[:n], nil -} - -func (m *MsgStructGeneratorStatusResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MsgStructGeneratorStatusResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i var l int _ = l - return len(dAtA) - i, nil -} - -func (m *MsgStructOreMinerComplete) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err + l = len(m.Creator) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) } - return dAtA[:n], nil -} - -func (m *MsgStructOreMinerComplete) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) + l = len(m.GuildId) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + if m.JoinInfusionMinimum != 0 { + n += 1 + sovTx(uint64(m.JoinInfusionMinimum)) + } + return n } -func (m *MsgStructOreMinerComplete) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i +func (m *MsgGuildUpdateJoinInfusionMinimumBypassByRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l - if len(m.Nonce) > 0 { - i -= len(m.Nonce) - copy(dAtA[i:], m.Nonce) - i = encodeVarintTx(dAtA, i, uint64(len(m.Nonce))) - i-- - dAtA[i] = 0x22 - } - if len(m.Proof) > 0 { - i -= len(m.Proof) - copy(dAtA[i:], m.Proof) - i = encodeVarintTx(dAtA, i, uint64(len(m.Proof))) - i-- - dAtA[i] = 0x1a + l = len(m.Creator) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) } - if len(m.StructId) > 0 { - i -= len(m.StructId) - copy(dAtA[i:], m.StructId) - i = encodeVarintTx(dAtA, i, uint64(len(m.StructId))) - i-- - dAtA[i] = 0x12 + l = len(m.GuildId) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) } - if len(m.Creator) > 0 { - i -= len(m.Creator) - copy(dAtA[i:], m.Creator) - i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) - i-- - dAtA[i] = 0xa + if m.GuildJoinBypassLevel != 0 { + n += 1 + sovTx(uint64(m.GuildJoinBypassLevel)) } - return len(dAtA) - i, nil + return n } -func (m *MsgStructOreMinerStatusResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err +func (m *MsgGuildUpdateJoinInfusionMinimumBypassByInvite) Size() (n int) { + if m == nil { + return 0 } - return dAtA[:n], nil -} - -func (m *MsgStructOreMinerStatusResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MsgStructOreMinerStatusResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i var l int _ = l - { - size, err := m.Struct.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintTx(dAtA, i, uint64(size)) + l = len(m.Creator) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) } - i-- - dAtA[i] = 0xa - return len(dAtA) - i, nil + l = len(m.GuildId) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + if m.GuildJoinBypassLevel != 0 { + n += 1 + sovTx(uint64(m.GuildJoinBypassLevel)) + } + return n } -func (m *MsgStructOreRefineryComplete) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err +func (m *MsgGuildUpdateResponse) Size() (n int) { + if m == nil { + return 0 } - return dAtA[:n], nil + var l int + _ = l + return n } -func (m *MsgStructOreRefineryComplete) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func (m *MsgGuildMembershipInvite) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Creator) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.GuildId) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.PlayerId) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.SubstationId) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + return n } -func (m *MsgStructOreRefineryComplete) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i +func (m *MsgGuildMembershipInviteApprove) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l - if len(m.Nonce) > 0 { - i -= len(m.Nonce) - copy(dAtA[i:], m.Nonce) - i = encodeVarintTx(dAtA, i, uint64(len(m.Nonce))) - i-- - dAtA[i] = 0x22 + l = len(m.Creator) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) } - if len(m.Proof) > 0 { - i -= len(m.Proof) - copy(dAtA[i:], m.Proof) - i = encodeVarintTx(dAtA, i, uint64(len(m.Proof))) - i-- - dAtA[i] = 0x1a + l = len(m.GuildId) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) } - if len(m.StructId) > 0 { - i -= len(m.StructId) - copy(dAtA[i:], m.StructId) - i = encodeVarintTx(dAtA, i, uint64(len(m.StructId))) - i-- - dAtA[i] = 0x12 + l = len(m.PlayerId) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) } - if len(m.Creator) > 0 { - i -= len(m.Creator) - copy(dAtA[i:], m.Creator) - i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) - i-- - dAtA[i] = 0xa + l = len(m.SubstationId) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) } - return len(dAtA) - i, nil + return n } -func (m *MsgStructOreRefineryStatusResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err +func (m *MsgGuildMembershipInviteDeny) Size() (n int) { + if m == nil { + return 0 } - return dAtA[:n], nil + var l int + _ = l + l = len(m.Creator) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.GuildId) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.PlayerId) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + return n } -func (m *MsgStructOreRefineryStatusResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func (m *MsgGuildMembershipInviteRevoke) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Creator) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.GuildId) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.PlayerId) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + return n } -func (m *MsgStructOreRefineryStatusResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i +func (m *MsgGuildMembershipJoin) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l - { - size, err := m.Struct.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err + l = len(m.Creator) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.GuildId) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.PlayerId) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.SubstationId) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + if len(m.InfusionId) > 0 { + for _, s := range m.InfusionId { + l = len(s) + n += 1 + l + sovTx(uint64(l)) } - i -= size - i = encodeVarintTx(dAtA, i, uint64(size)) } - i-- - dAtA[i] = 0xa - return len(dAtA) - i, nil + return n } -func (m *MsgStructStorageStash) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err +func (m *MsgGuildMembershipJoinProxy) Size() (n int) { + if m == nil { + return 0 } - return dAtA[:n], nil -} - -func (m *MsgStructStorageStash) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MsgStructStorageStash) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i var l int _ = l - if m.Slot != 0 { - i = encodeVarintTx(dAtA, i, uint64(m.Slot)) - i-- - dAtA[i] = 0x28 + l = len(m.Creator) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) } - if m.Ambit != 0 { - i = encodeVarintTx(dAtA, i, uint64(m.Ambit)) - i-- - dAtA[i] = 0x20 + l = len(m.Address) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) } - if len(m.LocationId) > 0 { - i -= len(m.LocationId) - copy(dAtA[i:], m.LocationId) - i = encodeVarintTx(dAtA, i, uint64(len(m.LocationId))) - i-- - dAtA[i] = 0x1a + l = len(m.SubstationId) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) } - if len(m.StructId) > 0 { - i -= len(m.StructId) - copy(dAtA[i:], m.StructId) - i = encodeVarintTx(dAtA, i, uint64(len(m.StructId))) - i-- - dAtA[i] = 0x12 + l = len(m.ProofPubKey) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) } - if len(m.Creator) > 0 { - i -= len(m.Creator) - copy(dAtA[i:], m.Creator) - i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) - i-- - dAtA[i] = 0xa + l = len(m.ProofSignature) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) } - return len(dAtA) - i, nil + return n } -func (m *MsgStructStorageRecall) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err +func (m *MsgGuildMembershipKick) Size() (n int) { + if m == nil { + return 0 } - return dAtA[:n], nil -} - -func (m *MsgStructStorageRecall) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) + var l int + _ = l + l = len(m.Creator) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.GuildId) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.PlayerId) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + return n } -func (m *MsgStructStorageRecall) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i +func (m *MsgGuildMembershipRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l - if m.Activate { - i-- - if m.Activate { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x30 + l = len(m.Creator) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) } - if m.Slot != 0 { - i = encodeVarintTx(dAtA, i, uint64(m.Slot)) - i-- - dAtA[i] = 0x28 + l = len(m.GuildId) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) } - if m.Ambit != 0 { - i = encodeVarintTx(dAtA, i, uint64(m.Ambit)) - i-- - dAtA[i] = 0x20 + l = len(m.PlayerId) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) } - if len(m.LocationId) > 0 { - i -= len(m.LocationId) - copy(dAtA[i:], m.LocationId) - i = encodeVarintTx(dAtA, i, uint64(len(m.LocationId))) - i-- - dAtA[i] = 0x1a + l = len(m.SubstationId) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) } - if len(m.StructId) > 0 { - i -= len(m.StructId) - copy(dAtA[i:], m.StructId) - i = encodeVarintTx(dAtA, i, uint64(len(m.StructId))) - i-- - dAtA[i] = 0x12 + return n +} + +func (m *MsgGuildMembershipRequestApprove) Size() (n int) { + if m == nil { + return 0 } - if len(m.Creator) > 0 { - i -= len(m.Creator) - copy(dAtA[i:], m.Creator) - i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) - i-- - dAtA[i] = 0xa + var l int + _ = l + l = len(m.Creator) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.GuildId) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.PlayerId) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.SubstationId) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) } - return len(dAtA) - i, nil + return n } -func (m *MsgSubstationCreate) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err +func (m *MsgGuildMembershipRequestDeny) Size() (n int) { + if m == nil { + return 0 } - return dAtA[:n], nil -} - -func (m *MsgSubstationCreate) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MsgSubstationCreate) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i var l int _ = l - if len(m.AllocationId) > 0 { - i -= len(m.AllocationId) - copy(dAtA[i:], m.AllocationId) - i = encodeVarintTx(dAtA, i, uint64(len(m.AllocationId))) - i-- - dAtA[i] = 0x1a + l = len(m.Creator) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) } - if len(m.Owner) > 0 { - i -= len(m.Owner) - copy(dAtA[i:], m.Owner) - i = encodeVarintTx(dAtA, i, uint64(len(m.Owner))) - i-- - dAtA[i] = 0x12 + l = len(m.GuildId) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) } - if len(m.Creator) > 0 { - i -= len(m.Creator) - copy(dAtA[i:], m.Creator) - i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) - i-- - dAtA[i] = 0xa + l = len(m.PlayerId) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) } - return len(dAtA) - i, nil + return n } -func (m *MsgSubstationCreateResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err +func (m *MsgGuildMembershipRequestRevoke) Size() (n int) { + if m == nil { + return 0 } - return dAtA[:n], nil -} - -func (m *MsgSubstationCreateResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MsgSubstationCreateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i var l int _ = l - if len(m.SubstationId) > 0 { - i -= len(m.SubstationId) - copy(dAtA[i:], m.SubstationId) - i = encodeVarintTx(dAtA, i, uint64(len(m.SubstationId))) - i-- - dAtA[i] = 0xa + l = len(m.Creator) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) } - return len(dAtA) - i, nil -} - -func (m *MsgSubstationDelete) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err + l = len(m.GuildId) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) } - return dAtA[:n], nil + l = len(m.PlayerId) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + return n } -func (m *MsgSubstationDelete) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func (m *MsgGuildMembershipResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.GuildMembershipApplication != nil { + l = m.GuildMembershipApplication.Size() + n += 1 + l + sovTx(uint64(l)) + } + return n } -func (m *MsgSubstationDelete) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i +func (m *MsgPermissionGrantOnObject) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l - if len(m.MigrationSubstationId) > 0 { - i -= len(m.MigrationSubstationId) - copy(dAtA[i:], m.MigrationSubstationId) - i = encodeVarintTx(dAtA, i, uint64(len(m.MigrationSubstationId))) - i-- - dAtA[i] = 0x1a + l = len(m.Creator) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) } - if len(m.SubstationId) > 0 { - i -= len(m.SubstationId) - copy(dAtA[i:], m.SubstationId) - i = encodeVarintTx(dAtA, i, uint64(len(m.SubstationId))) - i-- - dAtA[i] = 0x12 + l = len(m.ObjectId) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) } - if len(m.Creator) > 0 { - i -= len(m.Creator) - copy(dAtA[i:], m.Creator) - i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) - i-- - dAtA[i] = 0xa + l = len(m.PlayerId) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) } - return len(dAtA) - i, nil -} - -func (m *MsgSubstationDeleteResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err + if m.Permissions != 0 { + n += 1 + sovTx(uint64(m.Permissions)) } - return dAtA[:n], nil + return n } -func (m *MsgSubstationDeleteResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func (m *MsgPermissionGrantOnAddress) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Creator) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.Address) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + if m.Permissions != 0 { + n += 1 + sovTx(uint64(m.Permissions)) + } + return n } -func (m *MsgSubstationDeleteResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i +func (m *MsgPermissionRevokeOnObject) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l - return len(dAtA) - i, nil + l = len(m.Creator) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.ObjectId) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.PlayerId) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + if m.Permissions != 0 { + n += 1 + sovTx(uint64(m.Permissions)) + } + return n } -func (m *MsgSubstationAllocationConnect) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err +func (m *MsgPermissionRevokeOnAddress) Size() (n int) { + if m == nil { + return 0 } - return dAtA[:n], nil + var l int + _ = l + l = len(m.Creator) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.Address) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + if m.Permissions != 0 { + n += 1 + sovTx(uint64(m.Permissions)) + } + return n } -func (m *MsgSubstationAllocationConnect) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func (m *MsgPermissionSetOnObject) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Creator) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.ObjectId) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.PlayerId) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + if m.Permissions != 0 { + n += 1 + sovTx(uint64(m.Permissions)) + } + return n } -func (m *MsgSubstationAllocationConnect) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i +func (m *MsgPermissionSetOnAddress) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l - if len(m.DestinationId) > 0 { - i -= len(m.DestinationId) - copy(dAtA[i:], m.DestinationId) - i = encodeVarintTx(dAtA, i, uint64(len(m.DestinationId))) - i-- - dAtA[i] = 0x1a + l = len(m.Creator) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) } - if len(m.AllocationId) > 0 { - i -= len(m.AllocationId) - copy(dAtA[i:], m.AllocationId) - i = encodeVarintTx(dAtA, i, uint64(len(m.AllocationId))) - i-- - dAtA[i] = 0x12 + l = len(m.Address) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) } - if len(m.Creator) > 0 { - i -= len(m.Creator) - copy(dAtA[i:], m.Creator) - i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) - i-- - dAtA[i] = 0xa + if m.Permissions != 0 { + n += 1 + sovTx(uint64(m.Permissions)) } - return len(dAtA) - i, nil + return n } -func (m *MsgSubstationAllocationConnectResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err +func (m *MsgPermissionResponse) Size() (n int) { + if m == nil { + return 0 } - return dAtA[:n], nil -} - -func (m *MsgSubstationAllocationConnectResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MsgSubstationAllocationConnectResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i var l int _ = l - return len(dAtA) - i, nil + return n } -func (m *MsgSubstationAllocationDisconnect) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err +func (m *MsgPlanetExplore) Size() (n int) { + if m == nil { + return 0 } - return dAtA[:n], nil -} - -func (m *MsgSubstationAllocationDisconnect) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MsgSubstationAllocationDisconnect) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i var l int _ = l - if len(m.AllocationId) > 0 { - i -= len(m.AllocationId) - copy(dAtA[i:], m.AllocationId) - i = encodeVarintTx(dAtA, i, uint64(len(m.AllocationId))) - i-- - dAtA[i] = 0x12 + l = len(m.Creator) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) } - if len(m.Creator) > 0 { - i -= len(m.Creator) - copy(dAtA[i:], m.Creator) - i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) - i-- - dAtA[i] = 0xa + l = len(m.PlayerId) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) } - return len(dAtA) - i, nil + return n } -func (m *MsgSubstationAllocationDisconnectResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err +func (m *MsgPlanetExploreResponse) Size() (n int) { + if m == nil { + return 0 } - return dAtA[:n], nil -} - -func (m *MsgSubstationAllocationDisconnectResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MsgSubstationAllocationDisconnectResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i var l int _ = l - return len(dAtA) - i, nil + l = m.Planet.Size() + n += 1 + l + sovTx(uint64(l)) + return n } -func (m *MsgSubstationPlayerConnect) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err +func (m *MsgPlanetRaidComplete) Size() (n int) { + if m == nil { + return 0 } - return dAtA[:n], nil -} - -func (m *MsgSubstationPlayerConnect) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *MsgSubstationPlayerConnect) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i var l int _ = l - if len(m.PlayerId) > 0 { - i -= len(m.PlayerId) - copy(dAtA[i:], m.PlayerId) - i = encodeVarintTx(dAtA, i, uint64(len(m.PlayerId))) - i-- - dAtA[i] = 0x1a + l = len(m.Creator) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) } - if len(m.SubstationId) > 0 { - i -= len(m.SubstationId) - copy(dAtA[i:], m.SubstationId) - i = encodeVarintTx(dAtA, i, uint64(len(m.SubstationId))) - i-- - dAtA[i] = 0x12 + l = len(m.FleetId) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) } - if len(m.Creator) > 0 { - i -= len(m.Creator) - copy(dAtA[i:], m.Creator) - i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) - i-- - dAtA[i] = 0xa + l = len(m.Proof) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) } - return len(dAtA) - i, nil -} - -func (m *MsgSubstationPlayerConnectResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err + l = len(m.Nonce) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) } - return dAtA[:n], nil -} - -func (m *MsgSubstationPlayerConnectResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) + return n } -func (m *MsgSubstationPlayerConnectResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i +func (m *MsgPlanetRaidCompleteResponse) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l - return len(dAtA) - i, nil + l = m.Fleet.Size() + n += 1 + l + sovTx(uint64(l)) + l = m.Planet.Size() + n += 1 + l + sovTx(uint64(l)) + if m.OreStolen != 0 { + n += 1 + sovTx(uint64(m.OreStolen)) + } + return n } -func (m *MsgSubstationPlayerDisconnect) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err +func (m *MsgPlayerUpdatePrimaryAddress) Size() (n int) { + if m == nil { + return 0 } - return dAtA[:n], nil + var l int + _ = l + l = len(m.Creator) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.PlayerId) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.PrimaryAddress) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + return n } -func (m *MsgSubstationPlayerDisconnect) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func (m *MsgPlayerUpdatePrimaryAddressResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n } -func (m *MsgSubstationPlayerDisconnect) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i +func (m *MsgPlayerResume) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l - if len(m.PlayerId) > 0 { - i -= len(m.PlayerId) - copy(dAtA[i:], m.PlayerId) - i = encodeVarintTx(dAtA, i, uint64(len(m.PlayerId))) - i-- - dAtA[i] = 0x12 - } - if len(m.Creator) > 0 { - i -= len(m.Creator) - copy(dAtA[i:], m.Creator) - i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) - i-- - dAtA[i] = 0xa + l = len(m.Creator) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) } - return len(dAtA) - i, nil -} - -func (m *MsgSubstationPlayerDisconnectResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err + l = len(m.PlayerId) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) } - return dAtA[:n], nil + return n } -func (m *MsgSubstationPlayerDisconnectResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func (m *MsgPlayerResumeResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n } -func (m *MsgSubstationPlayerDisconnectResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i +func (m *MsgStructStatusResponse) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l - return len(dAtA) - i, nil + l = m.Struct.Size() + n += 1 + l + sovTx(uint64(l)) + return n } -func (m *MsgSubstationPlayerMigrate) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err +func (m *MsgStructActivate) Size() (n int) { + if m == nil { + return 0 } - return dAtA[:n], nil + var l int + _ = l + l = len(m.Creator) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.StructId) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + return n } -func (m *MsgSubstationPlayerMigrate) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func (m *MsgStructDeactivate) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Creator) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.StructId) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + return n } -func (m *MsgSubstationPlayerMigrate) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i +func (m *MsgStructBuildInitiate) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l - if len(m.PlayerId) > 0 { - for iNdEx := len(m.PlayerId) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.PlayerId[iNdEx]) - copy(dAtA[i:], m.PlayerId[iNdEx]) - i = encodeVarintTx(dAtA, i, uint64(len(m.PlayerId[iNdEx]))) - i-- - dAtA[i] = 0x1a - } + l = len(m.Creator) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) } - if len(m.SubstationId) > 0 { - i -= len(m.SubstationId) - copy(dAtA[i:], m.SubstationId) - i = encodeVarintTx(dAtA, i, uint64(len(m.SubstationId))) - i-- - dAtA[i] = 0x12 + l = len(m.PlayerId) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) } - if len(m.Creator) > 0 { - i -= len(m.Creator) - copy(dAtA[i:], m.Creator) - i = encodeVarintTx(dAtA, i, uint64(len(m.Creator))) - i-- - dAtA[i] = 0xa + if m.StructTypeId != 0 { + n += 1 + sovTx(uint64(m.StructTypeId)) } - return len(dAtA) - i, nil + if m.OperatingAmbit != 0 { + n += 1 + sovTx(uint64(m.OperatingAmbit)) + } + if m.Slot != 0 { + n += 1 + sovTx(uint64(m.Slot)) + } + return n } -func (m *MsgSubstationPlayerMigrateResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err +func (m *MsgStructBuildComplete) Size() (n int) { + if m == nil { + return 0 } - return dAtA[:n], nil + var l int + _ = l + l = len(m.Creator) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.StructId) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.Proof) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.Nonce) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + return n } -func (m *MsgSubstationPlayerMigrateResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func (m *MsgStructBuildCancel) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Creator) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.StructId) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + return n } -func (m *MsgSubstationPlayerMigrateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i +func (m *MsgStructBuildCompleteAndStash) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l - return len(dAtA) - i, nil + l = len(m.Creator) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.StructId) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.Proof) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.Nonce) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.StorageDestinationId) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + if m.StorageAmbit != 0 { + n += 1 + sovTx(uint64(m.StorageAmbit)) + } + if m.StorageSlot != 0 { + n += 1 + sovTx(uint64(m.StorageSlot)) + } + return n } -func encodeVarintTx(dAtA []byte, offset int, v uint64) int { - offset -= sovTx(v) - base := offset - for v >= 1<<7 { - dAtA[offset] = uint8(v&0x7f | 0x80) - v >>= 7 - offset++ +func (m *MsgStructDefenseSet) Size() (n int) { + if m == nil { + return 0 } - dAtA[offset] = uint8(v) - return base + var l int + _ = l + l = len(m.Creator) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.DefenderStructId) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.ProtectedStructId) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + return n } -func (m *MsgUpdateParams) Size() (n int) { + +func (m *MsgStructDefenseClear) Size() (n int) { if m == nil { return 0 } var l int _ = l - l = len(m.Authority) + l = len(m.Creator) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.DefenderStructId) if l > 0 { n += 1 + l + sovTx(uint64(l)) } - l = m.Params.Size() - n += 1 + l + sovTx(uint64(l)) return n } -func (m *MsgUpdateParamsResponse) Size() (n int) { +func (m *MsgStructMove) Size() (n int) { if m == nil { return 0 } - var l int - _ = l + var l int + _ = l + l = len(m.Creator) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.StructId) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + if m.LocationType != 0 { + n += 1 + sovTx(uint64(m.LocationType)) + } + if m.Ambit != 0 { + n += 1 + sovTx(uint64(m.Ambit)) + } + if m.Slot != 0 { + n += 1 + sovTx(uint64(m.Slot)) + } return n } -func (m *MsgAddressRegister) Size() (n int) { +func (m *MsgStructAttack) Size() (n int) { if m == nil { return 0 } @@ -10583,29 +15078,24 @@ func (m *MsgAddressRegister) Size() (n int) { if l > 0 { n += 1 + l + sovTx(uint64(l)) } - l = len(m.PlayerId) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - l = len(m.Address) + l = len(m.OperatingStructId) if l > 0 { n += 1 + l + sovTx(uint64(l)) } - l = len(m.ProofPubKey) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) + if len(m.TargetStructId) > 0 { + for _, s := range m.TargetStructId { + l = len(s) + n += 1 + l + sovTx(uint64(l)) + } } - l = len(m.ProofSignature) + l = len(m.WeaponSystem) if l > 0 { n += 1 + l + sovTx(uint64(l)) } - if m.Permissions != 0 { - n += 1 + sovTx(uint64(m.Permissions)) - } return n } -func (m *MsgAddressRegisterResponse) Size() (n int) { +func (m *MsgStructAttackResponse) Size() (n int) { if m == nil { return 0 } @@ -10614,7 +15104,7 @@ func (m *MsgAddressRegisterResponse) Size() (n int) { return n } -func (m *MsgAddressRevoke) Size() (n int) { +func (m *MsgStructStealthActivate) Size() (n int) { if m == nil { return 0 } @@ -10624,23 +15114,31 @@ func (m *MsgAddressRevoke) Size() (n int) { if l > 0 { n += 1 + l + sovTx(uint64(l)) } - l = len(m.Address) + l = len(m.StructId) if l > 0 { n += 1 + l + sovTx(uint64(l)) } return n } -func (m *MsgAddressRevokeResponse) Size() (n int) { +func (m *MsgStructStealthDeactivate) Size() (n int) { if m == nil { return 0 } var l int _ = l + l = len(m.Creator) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.StructId) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } return n } -func (m *MsgAllocationCreate) Size() (n int) { +func (m *MsgStructGeneratorInfuse) Size() (n int) { if m == nil { return 0 } @@ -10650,37 +15148,27 @@ func (m *MsgAllocationCreate) Size() (n int) { if l > 0 { n += 1 + l + sovTx(uint64(l)) } - l = len(m.Controller) + l = len(m.StructId) if l > 0 { n += 1 + l + sovTx(uint64(l)) } - l = len(m.SourceObjectId) + l = len(m.InfuseAmount) if l > 0 { n += 1 + l + sovTx(uint64(l)) } - if m.AllocationType != 0 { - n += 1 + sovTx(uint64(m.AllocationType)) - } - if m.Power != 0 { - n += 1 + sovTx(uint64(m.Power)) - } return n } -func (m *MsgAllocationCreateResponse) Size() (n int) { +func (m *MsgStructGeneratorStatusResponse) Size() (n int) { if m == nil { return 0 } var l int _ = l - l = len(m.AllocationId) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } return n } -func (m *MsgAllocationDelete) Size() (n int) { +func (m *MsgStructOreMinerComplete) Size() (n int) { if m == nil { return 0 } @@ -10690,27 +15178,33 @@ func (m *MsgAllocationDelete) Size() (n int) { if l > 0 { n += 1 + l + sovTx(uint64(l)) } - l = len(m.AllocationId) + l = len(m.StructId) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.Proof) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.Nonce) if l > 0 { n += 1 + l + sovTx(uint64(l)) } return n } -func (m *MsgAllocationDeleteResponse) Size() (n int) { +func (m *MsgStructOreMinerStatusResponse) Size() (n int) { if m == nil { return 0 } var l int _ = l - l = len(m.AllocationId) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } + l = m.Struct.Size() + n += 1 + l + sovTx(uint64(l)) return n } -func (m *MsgAllocationUpdate) Size() (n int) { +func (m *MsgStructOreRefineryComplete) Size() (n int) { if m == nil { return 0 } @@ -10720,30 +15214,33 @@ func (m *MsgAllocationUpdate) Size() (n int) { if l > 0 { n += 1 + l + sovTx(uint64(l)) } - l = len(m.AllocationId) + l = len(m.StructId) if l > 0 { n += 1 + l + sovTx(uint64(l)) } - if m.Power != 0 { - n += 1 + sovTx(uint64(m.Power)) + l = len(m.Proof) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.Nonce) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) } return n } -func (m *MsgAllocationUpdateResponse) Size() (n int) { +func (m *MsgStructOreRefineryStatusResponse) Size() (n int) { if m == nil { return 0 } var l int _ = l - l = len(m.AllocationId) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } + l = m.Struct.Size() + n += 1 + l + sovTx(uint64(l)) return n } -func (m *MsgAllocationTransfer) Size() (n int) { +func (m *MsgStructStorageStash) Size() (n int) { if m == nil { return 0 } @@ -10753,31 +15250,54 @@ func (m *MsgAllocationTransfer) Size() (n int) { if l > 0 { n += 1 + l + sovTx(uint64(l)) } - l = len(m.AllocationId) + l = len(m.StructId) if l > 0 { n += 1 + l + sovTx(uint64(l)) } - l = len(m.Controller) + l = len(m.LocationId) if l > 0 { n += 1 + l + sovTx(uint64(l)) } + if m.Ambit != 0 { + n += 1 + sovTx(uint64(m.Ambit)) + } + if m.Slot != 0 { + n += 1 + sovTx(uint64(m.Slot)) + } return n } -func (m *MsgAllocationTransferResponse) Size() (n int) { +func (m *MsgStructStorageRecall) Size() (n int) { if m == nil { return 0 } var l int _ = l - l = len(m.AllocationId) + l = len(m.Creator) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.StructId) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.LocationId) if l > 0 { n += 1 + l + sovTx(uint64(l)) } + if m.Ambit != 0 { + n += 1 + sovTx(uint64(m.Ambit)) + } + if m.Slot != 0 { + n += 1 + sovTx(uint64(m.Slot)) + } + if m.Activate { + n += 2 + } return n } -func (m *MsgFleetMove) Size() (n int) { +func (m *MsgSubstationCreate) Size() (n int) { if m == nil { return 0 } @@ -10787,31 +15307,31 @@ func (m *MsgFleetMove) Size() (n int) { if l > 0 { n += 1 + l + sovTx(uint64(l)) } - l = len(m.FleetId) + l = len(m.Owner) if l > 0 { n += 1 + l + sovTx(uint64(l)) } - l = len(m.DestinationLocationId) + l = len(m.AllocationId) if l > 0 { n += 1 + l + sovTx(uint64(l)) } return n } -func (m *MsgFleetMoveResponse) Size() (n int) { +func (m *MsgSubstationCreateResponse) Size() (n int) { if m == nil { return 0 } var l int _ = l - if m.Fleet != nil { - l = m.Fleet.Size() + l = len(m.SubstationId) + if l > 0 { n += 1 + l + sovTx(uint64(l)) } return n } -func (m *MsgGuildCreate) Size() (n int) { +func (m *MsgSubstationDelete) Size() (n int) { if m == nil { return 0 } @@ -10821,31 +15341,27 @@ func (m *MsgGuildCreate) Size() (n int) { if l > 0 { n += 1 + l + sovTx(uint64(l)) } - l = len(m.Endpoint) + l = len(m.SubstationId) if l > 0 { n += 1 + l + sovTx(uint64(l)) } - l = len(m.EntrySubstationId) + l = len(m.MigrationSubstationId) if l > 0 { n += 1 + l + sovTx(uint64(l)) } return n } -func (m *MsgGuildCreateResponse) Size() (n int) { +func (m *MsgSubstationDeleteResponse) Size() (n int) { if m == nil { return 0 } var l int _ = l - l = len(m.GuildId) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } return n } -func (m *MsgGuildUpdateOwnerId) Size() (n int) { +func (m *MsgSubstationAllocationConnect) Size() (n int) { if m == nil { return 0 } @@ -10855,39 +15371,27 @@ func (m *MsgGuildUpdateOwnerId) Size() (n int) { if l > 0 { n += 1 + l + sovTx(uint64(l)) } - l = len(m.GuildId) + l = len(m.AllocationId) if l > 0 { n += 1 + l + sovTx(uint64(l)) } - l = len(m.Owner) + l = len(m.DestinationId) if l > 0 { n += 1 + l + sovTx(uint64(l)) } return n } -func (m *MsgGuildUpdateEntrySubstationId) Size() (n int) { +func (m *MsgSubstationAllocationConnectResponse) Size() (n int) { if m == nil { return 0 } var l int _ = l - l = len(m.Creator) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - l = len(m.GuildId) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - l = len(m.EntrySubstationId) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } return n } -func (m *MsgGuildUpdateEndpoint) Size() (n int) { +func (m *MsgSubstationAllocationDisconnect) Size() (n int) { if m == nil { return 0 } @@ -10897,18 +15401,23 @@ func (m *MsgGuildUpdateEndpoint) Size() (n int) { if l > 0 { n += 1 + l + sovTx(uint64(l)) } - l = len(m.GuildId) + l = len(m.AllocationId) if l > 0 { n += 1 + l + sovTx(uint64(l)) } - l = len(m.Endpoint) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) + return n +} + +func (m *MsgSubstationAllocationDisconnectResponse) Size() (n int) { + if m == nil { + return 0 } + var l int + _ = l return n } -func (m *MsgGuildUpdateJoinInfusionMinimum) Size() (n int) { +func (m *MsgSubstationPlayerConnect) Size() (n int) { if m == nil { return 0 } @@ -10918,37 +15427,27 @@ func (m *MsgGuildUpdateJoinInfusionMinimum) Size() (n int) { if l > 0 { n += 1 + l + sovTx(uint64(l)) } - l = len(m.GuildId) + l = len(m.SubstationId) if l > 0 { n += 1 + l + sovTx(uint64(l)) } - if m.JoinInfusionMinimum != 0 { - n += 1 + sovTx(uint64(m.JoinInfusionMinimum)) + l = len(m.PlayerId) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) } return n } -func (m *MsgGuildUpdateJoinInfusionMinimumBypassByRequest) Size() (n int) { +func (m *MsgSubstationPlayerConnectResponse) Size() (n int) { if m == nil { return 0 } var l int _ = l - l = len(m.Creator) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - l = len(m.GuildId) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - if m.GuildJoinBypassLevel != 0 { - n += 1 + sovTx(uint64(m.GuildJoinBypassLevel)) - } return n } -func (m *MsgGuildUpdateJoinInfusionMinimumBypassByInvite) Size() (n int) { +func (m *MsgSubstationPlayerDisconnect) Size() (n int) { if m == nil { return 0 } @@ -10958,17 +15457,14 @@ func (m *MsgGuildUpdateJoinInfusionMinimumBypassByInvite) Size() (n int) { if l > 0 { n += 1 + l + sovTx(uint64(l)) } - l = len(m.GuildId) + l = len(m.PlayerId) if l > 0 { n += 1 + l + sovTx(uint64(l)) } - if m.GuildJoinBypassLevel != 0 { - n += 1 + sovTx(uint64(m.GuildJoinBypassLevel)) - } return n } -func (m *MsgGuildUpdateResponse) Size() (n int) { +func (m *MsgSubstationPlayerDisconnectResponse) Size() (n int) { if m == nil { return 0 } @@ -10977,7 +15473,7 @@ func (m *MsgGuildUpdateResponse) Size() (n int) { return n } -func (m *MsgGuildMembershipInvite) Size() (n int) { +func (m *MsgSubstationPlayerMigrate) Size() (n int) { if m == nil { return 0 } @@ -10987,47 +15483,29 @@ func (m *MsgGuildMembershipInvite) Size() (n int) { if l > 0 { n += 1 + l + sovTx(uint64(l)) } - l = len(m.GuildId) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - l = len(m.PlayerId) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } l = len(m.SubstationId) if l > 0 { n += 1 + l + sovTx(uint64(l)) } + if len(m.PlayerId) > 0 { + for _, s := range m.PlayerId { + l = len(s) + n += 1 + l + sovTx(uint64(l)) + } + } return n } -func (m *MsgGuildMembershipInviteApprove) Size() (n int) { +func (m *MsgSubstationPlayerMigrateResponse) Size() (n int) { if m == nil { return 0 } var l int _ = l - l = len(m.Creator) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - l = len(m.GuildId) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - l = len(m.PlayerId) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - l = len(m.SubstationId) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } return n } -func (m *MsgGuildMembershipInviteDeny) Size() (n int) { +func (m *MsgAgreementOpen) Size() (n int) { if m == nil { return 0 } @@ -11037,18 +15515,20 @@ func (m *MsgGuildMembershipInviteDeny) Size() (n int) { if l > 0 { n += 1 + l + sovTx(uint64(l)) } - l = len(m.GuildId) + l = len(m.ProviderId) if l > 0 { n += 1 + l + sovTx(uint64(l)) } - l = len(m.PlayerId) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) + if m.Duration != 0 { + n += 1 + sovTx(uint64(m.Duration)) + } + if m.Capacity != 0 { + n += 1 + sovTx(uint64(m.Capacity)) } return n } -func (m *MsgGuildMembershipInviteRevoke) Size() (n int) { +func (m *MsgAgreementClose) Size() (n int) { if m == nil { return 0 } @@ -11058,18 +15538,14 @@ func (m *MsgGuildMembershipInviteRevoke) Size() (n int) { if l > 0 { n += 1 + l + sovTx(uint64(l)) } - l = len(m.GuildId) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - l = len(m.PlayerId) + l = len(m.AgreementId) if l > 0 { n += 1 + l + sovTx(uint64(l)) } return n } -func (m *MsgGuildMembershipJoin) Size() (n int) { +func (m *MsgAgreementCapacityIncrease) Size() (n int) { if m == nil { return 0 } @@ -11079,28 +15555,17 @@ func (m *MsgGuildMembershipJoin) Size() (n int) { if l > 0 { n += 1 + l + sovTx(uint64(l)) } - l = len(m.GuildId) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - l = len(m.PlayerId) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - l = len(m.SubstationId) + l = len(m.AgreementId) if l > 0 { n += 1 + l + sovTx(uint64(l)) } - if len(m.InfusionId) > 0 { - for _, s := range m.InfusionId { - l = len(s) - n += 1 + l + sovTx(uint64(l)) - } + if m.CapacityIncrease != 0 { + n += 1 + sovTx(uint64(m.CapacityIncrease)) } return n } -func (m *MsgGuildMembershipJoinProxy) Size() (n int) { +func (m *MsgAgreementCapacityDecrease) Size() (n int) { if m == nil { return 0 } @@ -11110,26 +15575,17 @@ func (m *MsgGuildMembershipJoinProxy) Size() (n int) { if l > 0 { n += 1 + l + sovTx(uint64(l)) } - l = len(m.Address) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - l = len(m.SubstationId) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - l = len(m.ProofPubKey) + l = len(m.AgreementId) if l > 0 { n += 1 + l + sovTx(uint64(l)) } - l = len(m.ProofSignature) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) + if m.CapacityDecrease != 0 { + n += 1 + sovTx(uint64(m.CapacityDecrease)) } return n } -func (m *MsgGuildMembershipKick) Size() (n int) { +func (m *MsgAgreementDurationIncrease) Size() (n int) { if m == nil { return 0 } @@ -11139,43 +15595,26 @@ func (m *MsgGuildMembershipKick) Size() (n int) { if l > 0 { n += 1 + l + sovTx(uint64(l)) } - l = len(m.GuildId) + l = len(m.AgreementId) if l > 0 { n += 1 + l + sovTx(uint64(l)) } - l = len(m.PlayerId) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) + if m.DurationIncrease != 0 { + n += 1 + sovTx(uint64(m.DurationIncrease)) } return n } -func (m *MsgGuildMembershipRequest) Size() (n int) { +func (m *MsgAgreementResponse) Size() (n int) { if m == nil { return 0 } var l int _ = l - l = len(m.Creator) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - l = len(m.GuildId) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - l = len(m.PlayerId) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - l = len(m.SubstationId) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } return n } -func (m *MsgGuildMembershipRequestApprove) Size() (n int) { +func (m *MsgProviderCreate) Size() (n int) { if m == nil { return 0 } @@ -11185,22 +15624,35 @@ func (m *MsgGuildMembershipRequestApprove) Size() (n int) { if l > 0 { n += 1 + l + sovTx(uint64(l)) } - l = len(m.GuildId) + l = len(m.SubstationId) if l > 0 { n += 1 + l + sovTx(uint64(l)) } - l = len(m.PlayerId) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) + l = m.Rate.Size() + n += 1 + l + sovTx(uint64(l)) + if m.AccessPolicy != 0 { + n += 1 + sovTx(uint64(m.AccessPolicy)) } - l = len(m.SubstationId) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) + l = m.ProviderCancellationPenalty.Size() + n += 1 + l + sovTx(uint64(l)) + l = m.ConsumerCancellationPenalty.Size() + n += 1 + l + sovTx(uint64(l)) + if m.CapacityMinimum != 0 { + n += 1 + sovTx(uint64(m.CapacityMinimum)) + } + if m.CapacityMaximum != 0 { + n += 1 + sovTx(uint64(m.CapacityMaximum)) + } + if m.DurationMinimum != 0 { + n += 1 + sovTx(uint64(m.DurationMinimum)) + } + if m.DurationMaximum != 0 { + n += 1 + sovTx(uint64(m.DurationMaximum)) } return n } -func (m *MsgGuildMembershipRequestDeny) Size() (n int) { +func (m *MsgProviderWithdrawBalance) Size() (n int) { if m == nil { return 0 } @@ -11210,18 +15662,18 @@ func (m *MsgGuildMembershipRequestDeny) Size() (n int) { if l > 0 { n += 1 + l + sovTx(uint64(l)) } - l = len(m.GuildId) + l = len(m.ProviderId) if l > 0 { n += 1 + l + sovTx(uint64(l)) } - l = len(m.PlayerId) + l = len(m.DestinationAddress) if l > 0 { n += 1 + l + sovTx(uint64(l)) } return n } -func (m *MsgGuildMembershipRequestRevoke) Size() (n int) { +func (m *MsgProviderUpdateCapacityMinimum) Size() (n int) { if m == nil { return 0 } @@ -11231,31 +15683,37 @@ func (m *MsgGuildMembershipRequestRevoke) Size() (n int) { if l > 0 { n += 1 + l + sovTx(uint64(l)) } - l = len(m.GuildId) + l = len(m.ProviderId) if l > 0 { n += 1 + l + sovTx(uint64(l)) } - l = len(m.PlayerId) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) + if m.NewMinimumCapacity != 0 { + n += 1 + sovTx(uint64(m.NewMinimumCapacity)) } return n } -func (m *MsgGuildMembershipResponse) Size() (n int) { +func (m *MsgProviderUpdateCapacityMaximum) Size() (n int) { if m == nil { return 0 } var l int _ = l - if m.GuildMembershipApplication != nil { - l = m.GuildMembershipApplication.Size() + l = len(m.Creator) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.ProviderId) + if l > 0 { n += 1 + l + sovTx(uint64(l)) } + if m.NewMaximumCapacity != 0 { + n += 1 + sovTx(uint64(m.NewMaximumCapacity)) + } return n } -func (m *MsgPermissionGrantOnObject) Size() (n int) { +func (m *MsgProviderUpdateDurationMinimum) Size() (n int) { if m == nil { return 0 } @@ -11265,21 +15723,17 @@ func (m *MsgPermissionGrantOnObject) Size() (n int) { if l > 0 { n += 1 + l + sovTx(uint64(l)) } - l = len(m.ObjectId) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - l = len(m.PlayerId) + l = len(m.ProviderId) if l > 0 { n += 1 + l + sovTx(uint64(l)) } - if m.Permissions != 0 { - n += 1 + sovTx(uint64(m.Permissions)) + if m.NewMinimumDuration != 0 { + n += 1 + sovTx(uint64(m.NewMinimumDuration)) } return n } -func (m *MsgPermissionGrantOnAddress) Size() (n int) { +func (m *MsgProviderUpdateDurationMaximum) Size() (n int) { if m == nil { return 0 } @@ -11289,17 +15743,17 @@ func (m *MsgPermissionGrantOnAddress) Size() (n int) { if l > 0 { n += 1 + l + sovTx(uint64(l)) } - l = len(m.Address) + l = len(m.ProviderId) if l > 0 { n += 1 + l + sovTx(uint64(l)) } - if m.Permissions != 0 { - n += 1 + sovTx(uint64(m.Permissions)) + if m.NewMaximumDuration != 0 { + n += 1 + sovTx(uint64(m.NewMaximumDuration)) } return n } -func (m *MsgPermissionRevokeOnObject) Size() (n int) { +func (m *MsgProviderUpdateAccessPolicy) Size() (n int) { if m == nil { return 0 } @@ -11309,21 +15763,17 @@ func (m *MsgPermissionRevokeOnObject) Size() (n int) { if l > 0 { n += 1 + l + sovTx(uint64(l)) } - l = len(m.ObjectId) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - l = len(m.PlayerId) + l = len(m.ProviderId) if l > 0 { n += 1 + l + sovTx(uint64(l)) } - if m.Permissions != 0 { - n += 1 + sovTx(uint64(m.Permissions)) + if m.AccessPolicy != 0 { + n += 1 + sovTx(uint64(m.AccessPolicy)) } return n } -func (m *MsgPermissionRevokeOnAddress) Size() (n int) { +func (m *MsgProviderGuildGrant) Size() (n int) { if m == nil { return 0 } @@ -11333,17 +15783,20 @@ func (m *MsgPermissionRevokeOnAddress) Size() (n int) { if l > 0 { n += 1 + l + sovTx(uint64(l)) } - l = len(m.Address) + l = len(m.ProviderId) if l > 0 { n += 1 + l + sovTx(uint64(l)) } - if m.Permissions != 0 { - n += 1 + sovTx(uint64(m.Permissions)) + if len(m.GuildId) > 0 { + for _, s := range m.GuildId { + l = len(s) + n += 1 + l + sovTx(uint64(l)) + } } return n } -func (m *MsgPermissionSetOnObject) Size() (n int) { +func (m *MsgProviderGuildRevoke) Size() (n int) { if m == nil { return 0 } @@ -11353,21 +15806,20 @@ func (m *MsgPermissionSetOnObject) Size() (n int) { if l > 0 { n += 1 + l + sovTx(uint64(l)) } - l = len(m.ObjectId) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - l = len(m.PlayerId) + l = len(m.ProviderId) if l > 0 { n += 1 + l + sovTx(uint64(l)) } - if m.Permissions != 0 { - n += 1 + sovTx(uint64(m.Permissions)) + if len(m.GuildId) > 0 { + for _, s := range m.GuildId { + l = len(s) + n += 1 + l + sovTx(uint64(l)) + } } return n } -func (m *MsgPermissionSetOnAddress) Size() (n int) { +func (m *MsgProviderDelete) Size() (n int) { if m == nil { return 0 } @@ -11377,762 +15829,3224 @@ func (m *MsgPermissionSetOnAddress) Size() (n int) { if l > 0 { n += 1 + l + sovTx(uint64(l)) } - l = len(m.Address) + l = len(m.ProviderId) if l > 0 { n += 1 + l + sovTx(uint64(l)) } - if m.Permissions != 0 { - n += 1 + sovTx(uint64(m.Permissions)) + return n +} + +func (m *MsgProviderResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func sovTx(x uint64) (n int) { + return (math_bits.Len64(x|1) + 6) / 7 +} +func sozTx(x uint64) (n int) { + return sovTx(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +} +func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return 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 fmt.Errorf("proto: MsgUpdateParams: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgUpdateParams: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Authority", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Authority = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Params", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.Params.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } } - return n -} -func (m *MsgPermissionResponse) Size() (n int) { - if m == nil { - return 0 + if iNdEx > l { + return io.ErrUnexpectedEOF } - var l int - _ = l - return n + return nil } +func (m *MsgUpdateParamsResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return 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 fmt.Errorf("proto: MsgUpdateParamsResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgUpdateParamsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } -func (m *MsgPlanetExplore) Size() (n int) { - if m == nil { - return 0 + if iNdEx > l { + return io.ErrUnexpectedEOF } - var l int - _ = l - l = len(m.Creator) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) + return nil +} +func (m *MsgAddressRegister) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return 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 fmt.Errorf("proto: MsgAddressRegister: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgAddressRegister: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Creator = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field PlayerId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.PlayerId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Address = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ProofPubKey", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ProofPubKey = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ProofSignature", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ProofSignature = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 6: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Permissions", wireType) + } + m.Permissions = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Permissions |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } } - return n -} -func (m *MsgPlanetExploreResponse) Size() (n int) { - if m == nil { - return 0 + if iNdEx > l { + return io.ErrUnexpectedEOF } - var l int - _ = l - l = m.Planet.Size() - n += 1 + l + sovTx(uint64(l)) - return n + return nil } - -func (m *MsgPlanetRaidComplete) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Creator) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - l = len(m.FleetId) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - l = len(m.Proof) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - l = len(m.Nonce) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) +func (m *MsgAddressRegisterResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return 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 fmt.Errorf("proto: MsgAddressRegisterResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgAddressRegisterResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } } - return n -} -func (m *MsgPlanetRaidCompleteResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = m.Fleet.Size() - n += 1 + l + sovTx(uint64(l)) - l = m.Planet.Size() - n += 1 + l + sovTx(uint64(l)) - if m.OreStolen != 0 { - n += 1 + sovTx(uint64(m.OreStolen)) + if iNdEx > l { + return io.ErrUnexpectedEOF } - return n + return nil } - -func (m *MsgPlayerUpdatePrimaryAddress) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Creator) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - l = len(m.PlayerId) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - l = len(m.PrimaryAddress) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) +func (m *MsgAddressRevoke) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return 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 fmt.Errorf("proto: MsgAddressRevoke: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgAddressRevoke: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Creator = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Address = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } } - return n -} -func (m *MsgPlayerUpdatePrimaryAddressResponse) Size() (n int) { - if m == nil { - return 0 + if iNdEx > l { + return io.ErrUnexpectedEOF } - var l int - _ = l - return n + return nil } - -func (m *MsgStructStatusResponse) Size() (n int) { - if m == nil { - return 0 +func (m *MsgAddressRevokeResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return 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 fmt.Errorf("proto: MsgAddressRevokeResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgAddressRevokeResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } } - var l int - _ = l - l = m.Struct.Size() - n += 1 + l + sovTx(uint64(l)) - return n -} -func (m *MsgStructActivate) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Creator) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) + if iNdEx > l { + return io.ErrUnexpectedEOF } - l = len(m.StructId) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) + return nil +} +func (m *MsgAllocationCreate) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return 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 fmt.Errorf("proto: MsgAllocationCreate: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgAllocationCreate: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Creator = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Controller", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Controller = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SourceObjectId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.SourceObjectId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field AllocationType", wireType) + } + m.AllocationType = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.AllocationType |= AllocationType(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 5: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Power", wireType) + } + m.Power = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Power |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } } - return n -} -func (m *MsgStructDeactivate) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Creator) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - l = len(m.StructId) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) + if iNdEx > l { + return io.ErrUnexpectedEOF } - return n + return nil } - -func (m *MsgStructBuildInitiate) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Creator) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - l = len(m.PlayerId) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - if m.StructTypeId != 0 { - n += 1 + sovTx(uint64(m.StructTypeId)) - } - if m.LocationType != 0 { - n += 1 + sovTx(uint64(m.LocationType)) - } - if m.OperatingAmbit != 0 { - n += 1 + sovTx(uint64(m.OperatingAmbit)) - } - if m.Slot != 0 { - n += 1 + sovTx(uint64(m.Slot)) +func (m *MsgAllocationCreateResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return 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 fmt.Errorf("proto: MsgAllocationCreateResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgAllocationCreateResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AllocationId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.AllocationId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } } - return n -} -func (m *MsgStructBuildComplete) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Creator) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - l = len(m.StructId) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - l = len(m.Proof) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) + if iNdEx > l { + return io.ErrUnexpectedEOF } - l = len(m.Nonce) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) + return nil +} +func (m *MsgAllocationDelete) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return 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 fmt.Errorf("proto: MsgAllocationDelete: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgAllocationDelete: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Creator = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AllocationId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.AllocationId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } } - return n -} -func (m *MsgStructBuildCompleteAndStash) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Creator) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - l = len(m.StructId) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - l = len(m.Proof) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - l = len(m.Nonce) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - l = len(m.StorageDestinationId) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - if m.StorageAmbit != 0 { - n += 1 + sovTx(uint64(m.StorageAmbit)) - } - if m.StorageSlot != 0 { - n += 1 + sovTx(uint64(m.StorageSlot)) + if iNdEx > l { + return io.ErrUnexpectedEOF } - return n + return nil } - -func (m *MsgStructDefenseSet) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Creator) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) +func (m *MsgAllocationDeleteResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return 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 fmt.Errorf("proto: MsgAllocationDeleteResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgAllocationDeleteResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AllocationId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.AllocationId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } } - l = len(m.DefenderStructId) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) + + if iNdEx > l { + return io.ErrUnexpectedEOF } - l = len(m.ProtectedStructId) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) + return nil +} +func (m *MsgAllocationUpdate) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return 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 fmt.Errorf("proto: MsgAllocationUpdate: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgAllocationUpdate: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Creator = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AllocationId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.AllocationId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Power", wireType) + } + m.Power = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Power |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } } - return n -} -func (m *MsgStructDefenseClear) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Creator) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - l = len(m.DefenderStructId) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) + if iNdEx > l { + return io.ErrUnexpectedEOF } - return n + return nil } - -func (m *MsgStructMove) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Creator) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - l = len(m.StructId) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - if m.LocationType != 0 { - n += 1 + sovTx(uint64(m.LocationType)) - } - if m.Ambit != 0 { - n += 1 + sovTx(uint64(m.Ambit)) - } - if m.Slot != 0 { - n += 1 + sovTx(uint64(m.Slot)) +func (m *MsgAllocationUpdateResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return 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 fmt.Errorf("proto: MsgAllocationUpdateResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgAllocationUpdateResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AllocationId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.AllocationId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } } - return n -} -func (m *MsgStructAttack) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Creator) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - l = len(m.OperatingStructId) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) + if iNdEx > l { + return io.ErrUnexpectedEOF } - if len(m.TargetStructId) > 0 { - for _, s := range m.TargetStructId { - l = len(s) - n += 1 + l + sovTx(uint64(l)) + return nil +} +func (m *MsgAllocationTransfer) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return 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 fmt.Errorf("proto: MsgAllocationTransfer: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgAllocationTransfer: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Creator = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AllocationId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.AllocationId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Controller", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Controller = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy } } - l = len(m.WeaponSystem) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - return n -} -func (m *MsgStructAttackResponse) Size() (n int) { - if m == nil { - return 0 + if iNdEx > l { + return io.ErrUnexpectedEOF } - var l int - _ = l - return n + return nil } - -func (m *MsgStructStealthActivate) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Creator) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - l = len(m.StructId) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) +func (m *MsgAllocationTransferResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return 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 fmt.Errorf("proto: MsgAllocationTransferResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgAllocationTransferResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AllocationId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.AllocationId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } } - return n -} -func (m *MsgStructStealthDeactivate) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Creator) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) + if iNdEx > l { + return io.ErrUnexpectedEOF } - l = len(m.StructId) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) + return nil +} +func (m *MsgFleetMove) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return 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 fmt.Errorf("proto: MsgFleetMove: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgFleetMove: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Creator = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field FleetId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.FleetId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field DestinationLocationId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.DestinationLocationId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } } - return n -} -func (m *MsgStructGeneratorInfuse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Creator) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - l = len(m.StructId) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - l = len(m.InfuseAmount) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) + if iNdEx > l { + return io.ErrUnexpectedEOF } - return n + return nil } - -func (m *MsgStructGeneratorStatusResponse) Size() (n int) { - if m == nil { - return 0 +func (m *MsgFleetMoveResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return 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 fmt.Errorf("proto: MsgFleetMoveResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgFleetMoveResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Fleet", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Fleet == nil { + m.Fleet = &Fleet{} + } + if err := m.Fleet.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } } - var l int - _ = l - return n -} -func (m *MsgStructOreMinerComplete) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Creator) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - l = len(m.StructId) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - l = len(m.Proof) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - l = len(m.Nonce) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) + if iNdEx > l { + return io.ErrUnexpectedEOF } - return n + return nil } - -func (m *MsgStructOreMinerStatusResponse) Size() (n int) { - if m == nil { - return 0 +func (m *MsgGuildBankMint) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return 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 fmt.Errorf("proto: MsgGuildBankMint: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgGuildBankMint: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Creator = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field AmountAlpha", wireType) + } + m.AmountAlpha = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.AmountAlpha |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field AmountToken", wireType) + } + m.AmountToken = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.AmountToken |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } } - var l int - _ = l - l = m.Struct.Size() - n += 1 + l + sovTx(uint64(l)) - return n -} -func (m *MsgStructOreRefineryComplete) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Creator) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - l = len(m.StructId) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - l = len(m.Proof) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - l = len(m.Nonce) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) + if iNdEx > l { + return io.ErrUnexpectedEOF } - return n + return nil } - -func (m *MsgStructOreRefineryStatusResponse) Size() (n int) { - if m == nil { - return 0 +func (m *MsgGuildBankMintResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return 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 fmt.Errorf("proto: MsgGuildBankMintResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgGuildBankMintResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } } - var l int - _ = l - l = m.Struct.Size() - n += 1 + l + sovTx(uint64(l)) - return n -} -func (m *MsgStructStorageStash) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Creator) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - l = len(m.StructId) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - l = len(m.LocationId) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - if m.Ambit != 0 { - n += 1 + sovTx(uint64(m.Ambit)) - } - if m.Slot != 0 { - n += 1 + sovTx(uint64(m.Slot)) + if iNdEx > l { + return io.ErrUnexpectedEOF } - return n + return nil } - -func (m *MsgStructStorageRecall) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Creator) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - l = len(m.StructId) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - l = len(m.LocationId) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - if m.Ambit != 0 { - n += 1 + sovTx(uint64(m.Ambit)) - } - if m.Slot != 0 { - n += 1 + sovTx(uint64(m.Slot)) - } - if m.Activate { - n += 2 +func (m *MsgGuildBankRedeem) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return 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 fmt.Errorf("proto: MsgGuildBankRedeem: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgGuildBankRedeem: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Creator = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AmountToken", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.AmountToken.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } } - return n -} -func (m *MsgSubstationCreate) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Creator) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - l = len(m.Owner) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - l = len(m.AllocationId) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) + if iNdEx > l { + return io.ErrUnexpectedEOF } - return n + return nil } - -func (m *MsgSubstationCreateResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.SubstationId) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) +func (m *MsgGuildBankRedeemResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return 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 fmt.Errorf("proto: MsgGuildBankRedeemResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgGuildBankRedeemResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } } - return n -} -func (m *MsgSubstationDelete) Size() (n int) { - if m == nil { - return 0 + if iNdEx > l { + return io.ErrUnexpectedEOF } - var l int - _ = l - l = len(m.Creator) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) + return nil +} +func (m *MsgGuildBankConfiscateAndBurn) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return 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 fmt.Errorf("proto: MsgGuildBankConfiscateAndBurn: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgGuildBankConfiscateAndBurn: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Creator = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Address = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field AmountToken", wireType) + } + m.AmountToken = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.AmountToken |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } } - l = len(m.SubstationId) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) + + if iNdEx > l { + return io.ErrUnexpectedEOF } - l = len(m.MigrationSubstationId) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) + return nil +} +func (m *MsgGuildBankConfiscateAndBurnResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return 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 fmt.Errorf("proto: MsgGuildBankConfiscateAndBurnResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgGuildBankConfiscateAndBurnResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } } - return n -} -func (m *MsgSubstationDeleteResponse) Size() (n int) { - if m == nil { - return 0 + if iNdEx > l { + return io.ErrUnexpectedEOF } - var l int - _ = l - return n + return nil } - -func (m *MsgSubstationAllocationConnect) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Creator) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - l = len(m.AllocationId) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) +func (m *MsgGuildCreate) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return 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 fmt.Errorf("proto: MsgGuildCreate: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgGuildCreate: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Creator = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Endpoint", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Endpoint = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field EntrySubstationId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.EntrySubstationId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } } - l = len(m.DestinationId) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) + + if iNdEx > l { + return io.ErrUnexpectedEOF } - return n + return nil } +func (m *MsgGuildCreateResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return 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 fmt.Errorf("proto: MsgGuildCreateResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgGuildCreateResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field GuildId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.GuildId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } -func (m *MsgSubstationAllocationConnectResponse) Size() (n int) { - if m == nil { - return 0 + if iNdEx > l { + return io.ErrUnexpectedEOF } - var l int - _ = l - return n + return nil } - -func (m *MsgSubstationAllocationDisconnect) Size() (n int) { - if m == nil { - return 0 +func (m *MsgGuildUpdateOwnerId) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return 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 fmt.Errorf("proto: MsgGuildUpdateOwnerId: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgGuildUpdateOwnerId: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Creator = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field GuildId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.GuildId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Owner", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Owner = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } } - var l int - _ = l - l = len(m.Creator) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) + + if iNdEx > l { + return io.ErrUnexpectedEOF } - l = len(m.AllocationId) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) + return nil +} +func (m *MsgGuildUpdateEntrySubstationId) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return 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 fmt.Errorf("proto: MsgGuildUpdateEntrySubstationId: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgGuildUpdateEntrySubstationId: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Creator = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field GuildId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.GuildId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field EntrySubstationId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.EntrySubstationId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } } - return n -} -func (m *MsgSubstationAllocationDisconnectResponse) Size() (n int) { - if m == nil { - return 0 + if iNdEx > l { + return io.ErrUnexpectedEOF } - var l int - _ = l - return n + return nil } - -func (m *MsgSubstationPlayerConnect) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Creator) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - l = len(m.SubstationId) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - l = len(m.PlayerId) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) +func (m *MsgGuildUpdateEndpoint) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return 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 fmt.Errorf("proto: MsgGuildUpdateEndpoint: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgGuildUpdateEndpoint: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Creator = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field GuildId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.GuildId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Endpoint", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Endpoint = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } } - return n -} -func (m *MsgSubstationPlayerConnectResponse) Size() (n int) { - if m == nil { - return 0 + if iNdEx > l { + return io.ErrUnexpectedEOF } - var l int - _ = l - return n + return nil } - -func (m *MsgSubstationPlayerDisconnect) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Creator) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - l = len(m.PlayerId) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) +func (m *MsgGuildUpdateJoinInfusionMinimum) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return 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 fmt.Errorf("proto: MsgGuildUpdateJoinInfusionMinimum: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgGuildUpdateJoinInfusionMinimum: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Creator = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field GuildId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.GuildId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field JoinInfusionMinimum", wireType) + } + m.JoinInfusionMinimum = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.JoinInfusionMinimum |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } } - return n -} -func (m *MsgSubstationPlayerDisconnectResponse) Size() (n int) { - if m == nil { - return 0 + if iNdEx > l { + return io.ErrUnexpectedEOF } - var l int - _ = l - return n + return nil } - -func (m *MsgSubstationPlayerMigrate) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Creator) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - l = len(m.SubstationId) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } - if len(m.PlayerId) > 0 { - for _, s := range m.PlayerId { - l = len(s) - n += 1 + l + sovTx(uint64(l)) +func (m *MsgGuildUpdateJoinInfusionMinimumBypassByRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return 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 fmt.Errorf("proto: MsgGuildUpdateJoinInfusionMinimumBypassByRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgGuildUpdateJoinInfusionMinimumBypassByRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Creator = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field GuildId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.GuildId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field GuildJoinBypassLevel", wireType) + } + m.GuildJoinBypassLevel = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.GuildJoinBypassLevel |= GuildJoinBypassLevel(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy } } - return n -} -func (m *MsgSubstationPlayerMigrateResponse) Size() (n int) { - if m == nil { - return 0 + if iNdEx > l { + return io.ErrUnexpectedEOF } - var l int - _ = l - return n -} - -func sovTx(x uint64) (n int) { - return (math_bits.Len64(x|1) + 6) / 7 -} -func sozTx(x uint64) (n int) { - return sovTx(uint64((x << 1) ^ uint64((int64(x) >> 63)))) + return nil } -func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error { +func (m *MsgGuildUpdateJoinInfusionMinimumBypassByInvite) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -12155,15 +19069,15 @@ func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgUpdateParams: wiretype end group for non-group") + return fmt.Errorf("proto: MsgGuildUpdateJoinInfusionMinimumBypassByInvite: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgUpdateParams: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgGuildUpdateJoinInfusionMinimumBypassByInvite: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Authority", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -12191,13 +19105,13 @@ func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Authority = string(dAtA[iNdEx:postIndex]) + m.Creator = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Params", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field GuildId", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx @@ -12207,25 +19121,93 @@ func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthTx } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthTx } if postIndex > l { return io.ErrUnexpectedEOF } - if err := m.Params.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + m.GuildId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field GuildJoinBypassLevel", wireType) + } + m.GuildJoinBypassLevel = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.GuildJoinBypassLevel |= GuildJoinBypassLevel(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { return err } - iNdEx = postIndex + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MsgGuildUpdateResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return 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 fmt.Errorf("proto: MsgGuildUpdateResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgGuildUpdateResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { default: iNdEx = preIndex skippy, err := skipTx(dAtA[iNdEx:]) @@ -12247,7 +19229,7 @@ func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgUpdateParamsResponse) Unmarshal(dAtA []byte) error { +func (m *MsgGuildMembershipInvite) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -12257,25 +19239,153 @@ func (m *MsgUpdateParamsResponse) Unmarshal(dAtA []byte) error { if shift >= 64 { return ErrIntOverflowTx } - if iNdEx >= l { - return io.ErrUnexpectedEOF + if iNdEx >= l { + return 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 fmt.Errorf("proto: MsgGuildMembershipInvite: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgGuildMembershipInvite: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Creator = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field GuildId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.GuildId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field PlayerId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.PlayerId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SubstationId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break + if postIndex > l { + return io.ErrUnexpectedEOF } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: MsgUpdateParamsResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: MsgUpdateParamsResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { + m.SubstationId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipTx(dAtA[iNdEx:]) @@ -12297,7 +19407,7 @@ func (m *MsgUpdateParamsResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgAddressRegister) Unmarshal(dAtA []byte) error { +func (m *MsgGuildMembershipInviteApprove) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -12320,10 +19430,10 @@ func (m *MsgAddressRegister) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgAddressRegister: wiretype end group for non-group") + return fmt.Errorf("proto: MsgGuildMembershipInviteApprove: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgAddressRegister: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgGuildMembershipInviteApprove: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -12360,7 +19470,7 @@ func (m *MsgAddressRegister) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PlayerId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field GuildId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -12388,11 +19498,11 @@ func (m *MsgAddressRegister) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.PlayerId = string(dAtA[iNdEx:postIndex]) + m.GuildId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field PlayerId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -12420,11 +19530,11 @@ func (m *MsgAddressRegister) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Address = string(dAtA[iNdEx:postIndex]) + m.PlayerId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 4: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ProofPubKey", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field SubstationId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -12452,11 +19562,61 @@ func (m *MsgAddressRegister) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.ProofPubKey = string(dAtA[iNdEx:postIndex]) + m.SubstationId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 5: + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MsgGuildMembershipInviteDeny) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return 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 fmt.Errorf("proto: MsgGuildMembershipInviteDeny: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgGuildMembershipInviteDeny: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ProofSignature", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -12484,13 +19644,13 @@ func (m *MsgAddressRegister) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.ProofSignature = string(dAtA[iNdEx:postIndex]) + m.Creator = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 6: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Permissions", wireType) + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field GuildId", wireType) } - m.Permissions = 0 + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx @@ -12500,61 +19660,56 @@ func (m *MsgAddressRegister) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Permissions |= uint64(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - default: - iNdEx = preIndex - skippy, err := skipTx(dAtA[iNdEx:]) - if err != nil { - return err + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx } - if (skippy < 0) || (iNdEx+skippy) < 0 { + postIndex := iNdEx + intStringLen + if postIndex < 0 { return ErrInvalidLengthTx } - if (iNdEx + skippy) > l { + if postIndex > l { return io.ErrUnexpectedEOF } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *MsgAddressRegisterResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx + m.GuildId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field PlayerId", wireType) } - if iNdEx >= l { - return io.ErrUnexpectedEOF + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: MsgAddressRegisterResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: MsgAddressRegisterResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.PlayerId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipTx(dAtA[iNdEx:]) @@ -12576,7 +19731,7 @@ func (m *MsgAddressRegisterResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgAddressRevoke) Unmarshal(dAtA []byte) error { +func (m *MsgGuildMembershipInviteRevoke) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -12599,10 +19754,10 @@ func (m *MsgAddressRevoke) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgAddressRevoke: wiretype end group for non-group") + return fmt.Errorf("proto: MsgGuildMembershipInviteRevoke: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgAddressRevoke: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgGuildMembershipInviteRevoke: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -12639,7 +19794,7 @@ func (m *MsgAddressRevoke) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field GuildId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -12667,58 +19822,40 @@ func (m *MsgAddressRevoke) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Address = string(dAtA[iNdEx:postIndex]) + m.GuildId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipTx(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthTx - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field PlayerId", wireType) } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *MsgAddressRevokeResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } } - if iNdEx >= l { - return io.ErrUnexpectedEOF + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: MsgAddressRevokeResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: MsgAddressRevokeResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.PlayerId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipTx(dAtA[iNdEx:]) @@ -12740,7 +19877,7 @@ func (m *MsgAddressRevokeResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgAllocationCreate) Unmarshal(dAtA []byte) error { +func (m *MsgGuildMembershipJoin) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -12763,10 +19900,10 @@ func (m *MsgAllocationCreate) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgAllocationCreate: wiretype end group for non-group") + return fmt.Errorf("proto: MsgGuildMembershipJoin: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgAllocationCreate: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgGuildMembershipJoin: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -12803,7 +19940,7 @@ func (m *MsgAllocationCreate) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Controller", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field GuildId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -12831,11 +19968,11 @@ func (m *MsgAllocationCreate) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Controller = string(dAtA[iNdEx:postIndex]) + m.GuildId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field SourceObjectId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field PlayerId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -12863,13 +20000,13 @@ func (m *MsgAllocationCreate) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.SourceObjectId = string(dAtA[iNdEx:postIndex]) + m.PlayerId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field AllocationType", wireType) + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SubstationId", wireType) } - m.AllocationType = 0 + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx @@ -12879,16 +20016,29 @@ func (m *MsgAllocationCreate) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.AllocationType |= AllocationType(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.SubstationId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex case 5: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Power", wireType) + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field InfusionId", wireType) } - m.Power = 0 + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx @@ -12898,11 +20048,24 @@ func (m *MsgAllocationCreate) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Power |= uint64(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.InfusionId = append(m.InfusionId, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipTx(dAtA[iNdEx:]) @@ -12924,7 +20087,7 @@ func (m *MsgAllocationCreate) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgAllocationCreateResponse) Unmarshal(dAtA []byte) error { +func (m *MsgGuildMembershipJoinProxy) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -12947,15 +20110,15 @@ func (m *MsgAllocationCreateResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgAllocationCreateResponse: wiretype end group for non-group") + return fmt.Errorf("proto: MsgGuildMembershipJoinProxy: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgAllocationCreateResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgGuildMembershipJoinProxy: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AllocationId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -12983,61 +20146,75 @@ func (m *MsgAllocationCreateResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.AllocationId = string(dAtA[iNdEx:postIndex]) + m.Creator = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipTx(dAtA[iNdEx:]) - if err != nil { - return err + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) } - if (skippy < 0) || (iNdEx+skippy) < 0 { + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthTx } - if (iNdEx + skippy) > l { + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { return io.ErrUnexpectedEOF } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *MsgAllocationDelete) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx + m.Address = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SubstationId", wireType) } - if iNdEx >= l { - return io.ErrUnexpectedEOF + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: MsgAllocationDelete: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: MsgAllocationDelete: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.SubstationId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ProofPubKey", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -13065,11 +20242,11 @@ func (m *MsgAllocationDelete) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Creator = string(dAtA[iNdEx:postIndex]) + m.ProofPubKey = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 2: + case 5: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AllocationId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ProofSignature", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -13097,7 +20274,7 @@ func (m *MsgAllocationDelete) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.AllocationId = string(dAtA[iNdEx:postIndex]) + m.ProofSignature = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -13120,7 +20297,7 @@ func (m *MsgAllocationDelete) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgAllocationDeleteResponse) Unmarshal(dAtA []byte) error { +func (m *MsgGuildMembershipKick) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -13143,15 +20320,79 @@ func (m *MsgAllocationDeleteResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgAllocationDeleteResponse: wiretype end group for non-group") + return fmt.Errorf("proto: MsgGuildMembershipKick: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgAllocationDeleteResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgGuildMembershipKick: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AllocationId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Creator = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field GuildId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.GuildId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field PlayerId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -13179,7 +20420,7 @@ func (m *MsgAllocationDeleteResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.AllocationId = string(dAtA[iNdEx:postIndex]) + m.PlayerId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -13202,7 +20443,7 @@ func (m *MsgAllocationDeleteResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgAllocationUpdate) Unmarshal(dAtA []byte) error { +func (m *MsgGuildMembershipRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -13225,10 +20466,10 @@ func (m *MsgAllocationUpdate) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgAllocationUpdate: wiretype end group for non-group") + return fmt.Errorf("proto: MsgGuildMembershipRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgAllocationUpdate: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgGuildMembershipRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -13265,7 +20506,7 @@ func (m *MsgAllocationUpdate) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AllocationId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field GuildId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -13293,13 +20534,13 @@ func (m *MsgAllocationUpdate) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.AllocationId = string(dAtA[iNdEx:postIndex]) + m.GuildId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Power", wireType) + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field PlayerId", wireType) } - m.Power = 0 + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx @@ -13309,64 +20550,27 @@ func (m *MsgAllocationUpdate) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Power |= uint64(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - default: - iNdEx = preIndex - skippy, err := skipTx(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthTx } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *MsgAllocationUpdateResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx } - if iNdEx >= l { + if postIndex > l { return 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 fmt.Errorf("proto: MsgAllocationUpdateResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: MsgAllocationUpdateResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: + m.PlayerId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AllocationId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field SubstationId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -13394,7 +20598,7 @@ func (m *MsgAllocationUpdateResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.AllocationId = string(dAtA[iNdEx:postIndex]) + m.SubstationId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -13417,7 +20621,7 @@ func (m *MsgAllocationUpdateResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgAllocationTransfer) Unmarshal(dAtA []byte) error { +func (m *MsgGuildMembershipRequestApprove) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -13440,10 +20644,10 @@ func (m *MsgAllocationTransfer) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgAllocationTransfer: wiretype end group for non-group") + return fmt.Errorf("proto: MsgGuildMembershipRequestApprove: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgAllocationTransfer: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgGuildMembershipRequestApprove: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -13480,7 +20684,7 @@ func (m *MsgAllocationTransfer) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AllocationId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field GuildId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -13508,11 +20712,11 @@ func (m *MsgAllocationTransfer) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.AllocationId = string(dAtA[iNdEx:postIndex]) + m.GuildId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Controller", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field PlayerId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -13540,61 +20744,11 @@ func (m *MsgAllocationTransfer) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Controller = string(dAtA[iNdEx:postIndex]) + m.PlayerId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipTx(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthTx - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *MsgAllocationTransferResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return 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 fmt.Errorf("proto: MsgAllocationTransferResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: MsgAllocationTransferResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: + case 4: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AllocationId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field SubstationId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -13622,7 +20776,7 @@ func (m *MsgAllocationTransferResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.AllocationId = string(dAtA[iNdEx:postIndex]) + m.SubstationId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -13645,7 +20799,7 @@ func (m *MsgAllocationTransferResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgFleetMove) Unmarshal(dAtA []byte) error { +func (m *MsgGuildMembershipRequestDeny) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -13668,10 +20822,10 @@ func (m *MsgFleetMove) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgFleetMove: wiretype end group for non-group") + return fmt.Errorf("proto: MsgGuildMembershipRequestDeny: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgFleetMove: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgGuildMembershipRequestDeny: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -13708,7 +20862,7 @@ func (m *MsgFleetMove) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field FleetId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field GuildId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -13736,11 +20890,11 @@ func (m *MsgFleetMove) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.FleetId = string(dAtA[iNdEx:postIndex]) + m.GuildId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field DestinationLocationId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field PlayerId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -13766,95 +20920,9 @@ func (m *MsgFleetMove) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTx } if postIndex > l { - return io.ErrUnexpectedEOF - } - m.DestinationLocationId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipTx(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthTx - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *MsgFleetMoveResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return 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 fmt.Errorf("proto: MsgFleetMoveResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: MsgFleetMoveResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Fleet", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthTx - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthTx - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Fleet == nil { - m.Fleet = &Fleet{} - } - if err := m.Fleet.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err + return io.ErrUnexpectedEOF } + m.PlayerId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -13877,7 +20945,7 @@ func (m *MsgFleetMoveResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgGuildCreate) Unmarshal(dAtA []byte) error { +func (m *MsgGuildMembershipRequestRevoke) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -13900,10 +20968,10 @@ func (m *MsgGuildCreate) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgGuildCreate: wiretype end group for non-group") + return fmt.Errorf("proto: MsgGuildMembershipRequestRevoke: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgGuildCreate: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgGuildMembershipRequestRevoke: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -13940,7 +21008,7 @@ func (m *MsgGuildCreate) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Endpoint", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field GuildId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -13968,11 +21036,11 @@ func (m *MsgGuildCreate) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Endpoint = string(dAtA[iNdEx:postIndex]) + m.GuildId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field EntrySubstationId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field PlayerId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -14000,7 +21068,7 @@ func (m *MsgGuildCreate) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.EntrySubstationId = string(dAtA[iNdEx:postIndex]) + m.PlayerId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -14023,7 +21091,7 @@ func (m *MsgGuildCreate) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgGuildCreateResponse) Unmarshal(dAtA []byte) error { +func (m *MsgGuildMembershipResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -14046,17 +21114,17 @@ func (m *MsgGuildCreateResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgGuildCreateResponse: wiretype end group for non-group") + return fmt.Errorf("proto: MsgGuildMembershipResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgGuildCreateResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgGuildMembershipResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field GuildId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field GuildMembershipApplication", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx @@ -14066,23 +21134,27 @@ func (m *MsgGuildCreateResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthTx } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthTx } if postIndex > l { return io.ErrUnexpectedEOF } - m.GuildId = string(dAtA[iNdEx:postIndex]) + if m.GuildMembershipApplication == nil { + m.GuildMembershipApplication = &GuildMembershipApplication{} + } + if err := m.GuildMembershipApplication.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } iNdEx = postIndex default: iNdEx = preIndex @@ -14105,7 +21177,7 @@ func (m *MsgGuildCreateResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgGuildUpdateOwnerId) Unmarshal(dAtA []byte) error { +func (m *MsgPermissionGrantOnObject) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -14128,10 +21200,10 @@ func (m *MsgGuildUpdateOwnerId) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgGuildUpdateOwnerId: wiretype end group for non-group") + return fmt.Errorf("proto: MsgPermissionGrantOnObject: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgGuildUpdateOwnerId: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgPermissionGrantOnObject: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -14168,7 +21240,7 @@ func (m *MsgGuildUpdateOwnerId) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field GuildId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ObjectId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -14196,11 +21268,11 @@ func (m *MsgGuildUpdateOwnerId) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.GuildId = string(dAtA[iNdEx:postIndex]) + m.ObjectId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Owner", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field PlayerId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -14228,8 +21300,27 @@ func (m *MsgGuildUpdateOwnerId) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Owner = string(dAtA[iNdEx:postIndex]) + m.PlayerId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Permissions", wireType) + } + m.Permissions = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Permissions |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } default: iNdEx = preIndex skippy, err := skipTx(dAtA[iNdEx:]) @@ -14251,7 +21342,7 @@ func (m *MsgGuildUpdateOwnerId) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgGuildUpdateEntrySubstationId) Unmarshal(dAtA []byte) error { +func (m *MsgPermissionGrantOnAddress) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -14274,10 +21365,10 @@ func (m *MsgGuildUpdateEntrySubstationId) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgGuildUpdateEntrySubstationId: wiretype end group for non-group") + return fmt.Errorf("proto: MsgPermissionGrantOnAddress: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgGuildUpdateEntrySubstationId: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgPermissionGrantOnAddress: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -14314,7 +21405,7 @@ func (m *MsgGuildUpdateEntrySubstationId) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field GuildId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -14342,13 +21433,13 @@ func (m *MsgGuildUpdateEntrySubstationId) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.GuildId = string(dAtA[iNdEx:postIndex]) + m.Address = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field EntrySubstationId", wireType) + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Permissions", wireType) } - var stringLen uint64 + m.Permissions = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx @@ -14358,24 +21449,11 @@ func (m *MsgGuildUpdateEntrySubstationId) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + m.Permissions |= uint64(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthTx - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthTx - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.EntrySubstationId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipTx(dAtA[iNdEx:]) @@ -14397,7 +21475,7 @@ func (m *MsgGuildUpdateEntrySubstationId) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgGuildUpdateEndpoint) Unmarshal(dAtA []byte) error { +func (m *MsgPermissionRevokeOnObject) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -14420,10 +21498,10 @@ func (m *MsgGuildUpdateEndpoint) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgGuildUpdateEndpoint: wiretype end group for non-group") + return fmt.Errorf("proto: MsgPermissionRevokeOnObject: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgGuildUpdateEndpoint: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgPermissionRevokeOnObject: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -14460,7 +21538,7 @@ func (m *MsgGuildUpdateEndpoint) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field GuildId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ObjectId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -14488,11 +21566,11 @@ func (m *MsgGuildUpdateEndpoint) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.GuildId = string(dAtA[iNdEx:postIndex]) + m.ObjectId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Endpoint", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field PlayerId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -14520,8 +21598,27 @@ func (m *MsgGuildUpdateEndpoint) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Endpoint = string(dAtA[iNdEx:postIndex]) + m.PlayerId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Permissions", wireType) + } + m.Permissions = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Permissions |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } default: iNdEx = preIndex skippy, err := skipTx(dAtA[iNdEx:]) @@ -14543,7 +21640,7 @@ func (m *MsgGuildUpdateEndpoint) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgGuildUpdateJoinInfusionMinimum) Unmarshal(dAtA []byte) error { +func (m *MsgPermissionRevokeOnAddress) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -14566,10 +21663,10 @@ func (m *MsgGuildUpdateJoinInfusionMinimum) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgGuildUpdateJoinInfusionMinimum: wiretype end group for non-group") + return fmt.Errorf("proto: MsgPermissionRevokeOnAddress: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgGuildUpdateJoinInfusionMinimum: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgPermissionRevokeOnAddress: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -14606,7 +21703,7 @@ func (m *MsgGuildUpdateJoinInfusionMinimum) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field GuildId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -14634,13 +21731,13 @@ func (m *MsgGuildUpdateJoinInfusionMinimum) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.GuildId = string(dAtA[iNdEx:postIndex]) + m.Address = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 3: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field JoinInfusionMinimum", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Permissions", wireType) } - m.JoinInfusionMinimum = 0 + m.Permissions = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx @@ -14650,7 +21747,7 @@ func (m *MsgGuildUpdateJoinInfusionMinimum) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.JoinInfusionMinimum |= uint64(b&0x7F) << shift + m.Permissions |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -14676,7 +21773,7 @@ func (m *MsgGuildUpdateJoinInfusionMinimum) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgGuildUpdateJoinInfusionMinimumBypassByRequest) Unmarshal(dAtA []byte) error { +func (m *MsgPermissionSetOnObject) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -14699,10 +21796,10 @@ func (m *MsgGuildUpdateJoinInfusionMinimumBypassByRequest) Unmarshal(dAtA []byte fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgGuildUpdateJoinInfusionMinimumBypassByRequest: wiretype end group for non-group") + return fmt.Errorf("proto: MsgPermissionSetOnObject: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgGuildUpdateJoinInfusionMinimumBypassByRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgPermissionSetOnObject: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -14739,7 +21836,7 @@ func (m *MsgGuildUpdateJoinInfusionMinimumBypassByRequest) Unmarshal(dAtA []byte iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field GuildId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ObjectId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -14767,13 +21864,45 @@ func (m *MsgGuildUpdateJoinInfusionMinimumBypassByRequest) Unmarshal(dAtA []byte if postIndex > l { return io.ErrUnexpectedEOF } - m.GuildId = string(dAtA[iNdEx:postIndex]) + m.ObjectId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field PlayerId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.PlayerId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field GuildJoinBypassLevel", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Permissions", wireType) } - m.GuildJoinBypassLevel = 0 + m.Permissions = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx @@ -14783,7 +21912,7 @@ func (m *MsgGuildUpdateJoinInfusionMinimumBypassByRequest) Unmarshal(dAtA []byte } b := dAtA[iNdEx] iNdEx++ - m.GuildJoinBypassLevel |= GuildJoinBypassLevel(b&0x7F) << shift + m.Permissions |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -14809,7 +21938,7 @@ func (m *MsgGuildUpdateJoinInfusionMinimumBypassByRequest) Unmarshal(dAtA []byte } return nil } -func (m *MsgGuildUpdateJoinInfusionMinimumBypassByInvite) Unmarshal(dAtA []byte) error { +func (m *MsgPermissionSetOnAddress) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -14832,10 +21961,10 @@ func (m *MsgGuildUpdateJoinInfusionMinimumBypassByInvite) Unmarshal(dAtA []byte) fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgGuildUpdateJoinInfusionMinimumBypassByInvite: wiretype end group for non-group") + return fmt.Errorf("proto: MsgPermissionSetOnAddress: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgGuildUpdateJoinInfusionMinimumBypassByInvite: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgPermissionSetOnAddress: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -14872,7 +22001,7 @@ func (m *MsgGuildUpdateJoinInfusionMinimumBypassByInvite) Unmarshal(dAtA []byte) iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field GuildId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -14900,13 +22029,13 @@ func (m *MsgGuildUpdateJoinInfusionMinimumBypassByInvite) Unmarshal(dAtA []byte) if postIndex > l { return io.ErrUnexpectedEOF } - m.GuildId = string(dAtA[iNdEx:postIndex]) + m.Address = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 3: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field GuildJoinBypassLevel", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Permissions", wireType) } - m.GuildJoinBypassLevel = 0 + m.Permissions = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx @@ -14916,7 +22045,7 @@ func (m *MsgGuildUpdateJoinInfusionMinimumBypassByInvite) Unmarshal(dAtA []byte) } b := dAtA[iNdEx] iNdEx++ - m.GuildJoinBypassLevel |= GuildJoinBypassLevel(b&0x7F) << shift + m.Permissions |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -14942,7 +22071,7 @@ func (m *MsgGuildUpdateJoinInfusionMinimumBypassByInvite) Unmarshal(dAtA []byte) } return nil } -func (m *MsgGuildUpdateResponse) Unmarshal(dAtA []byte) error { +func (m *MsgPermissionResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -14965,10 +22094,10 @@ func (m *MsgGuildUpdateResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgGuildUpdateResponse: wiretype end group for non-group") + return fmt.Errorf("proto: MsgPermissionResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgGuildUpdateResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgPermissionResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: @@ -14992,7 +22121,7 @@ func (m *MsgGuildUpdateResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgGuildMembershipInvite) Unmarshal(dAtA []byte) error { +func (m *MsgPlanetExplore) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -15015,10 +22144,10 @@ func (m *MsgGuildMembershipInvite) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgGuildMembershipInvite: wiretype end group for non-group") + return fmt.Errorf("proto: MsgPlanetExplore: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgGuildMembershipInvite: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgPlanetExplore: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -15055,7 +22184,7 @@ func (m *MsgGuildMembershipInvite) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field GuildId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field PlayerId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -15083,45 +22212,63 @@ func (m *MsgGuildMembershipInvite) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.GuildId = string(dAtA[iNdEx:postIndex]) + m.PlayerId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PlayerId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err } - intStringLen := int(stringLen) - if intStringLen < 0 { + if (skippy < 0) || (iNdEx+skippy) < 0 { return ErrInvalidLengthTx } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthTx + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF } - if postIndex > l { + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MsgPlanetExploreResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { return io.ErrUnexpectedEOF } - m.PlayerId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: + 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 fmt.Errorf("proto: MsgPlanetExploreResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgPlanetExploreResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field SubstationId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Planet", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx @@ -15131,23 +22278,24 @@ func (m *MsgGuildMembershipInvite) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthTx } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthTx } if postIndex > l { return io.ErrUnexpectedEOF } - m.SubstationId = string(dAtA[iNdEx:postIndex]) + if err := m.Planet.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } iNdEx = postIndex default: iNdEx = preIndex @@ -15170,7 +22318,7 @@ func (m *MsgGuildMembershipInvite) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgGuildMembershipInviteApprove) Unmarshal(dAtA []byte) error { +func (m *MsgPlanetRaidComplete) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -15193,10 +22341,10 @@ func (m *MsgGuildMembershipInviteApprove) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgGuildMembershipInviteApprove: wiretype end group for non-group") + return fmt.Errorf("proto: MsgPlanetRaidComplete: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgGuildMembershipInviteApprove: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgPlanetRaidComplete: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -15233,7 +22381,7 @@ func (m *MsgGuildMembershipInviteApprove) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field GuildId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field FleetId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -15261,11 +22409,11 @@ func (m *MsgGuildMembershipInviteApprove) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.GuildId = string(dAtA[iNdEx:postIndex]) + m.FleetId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PlayerId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Proof", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -15293,11 +22441,11 @@ func (m *MsgGuildMembershipInviteApprove) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.PlayerId = string(dAtA[iNdEx:postIndex]) + m.Proof = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 4: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field SubstationId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Nonce", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -15325,7 +22473,7 @@ func (m *MsgGuildMembershipInviteApprove) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.SubstationId = string(dAtA[iNdEx:postIndex]) + m.Nonce = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -15348,7 +22496,7 @@ func (m *MsgGuildMembershipInviteApprove) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgGuildMembershipInviteDeny) Unmarshal(dAtA []byte) error { +func (m *MsgPlanetRaidCompleteResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -15371,17 +22519,17 @@ func (m *MsgGuildMembershipInviteDeny) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgGuildMembershipInviteDeny: wiretype end group for non-group") + return fmt.Errorf("proto: MsgPlanetRaidCompleteResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgGuildMembershipInviteDeny: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgPlanetRaidCompleteResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Fleet", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx @@ -15391,29 +22539,30 @@ func (m *MsgGuildMembershipInviteDeny) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthTx } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthTx } if postIndex > l { return io.ErrUnexpectedEOF } - m.Creator = string(dAtA[iNdEx:postIndex]) + if err := m.Fleet.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field GuildId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Planet", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx @@ -15423,29 +22572,30 @@ func (m *MsgGuildMembershipInviteDeny) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthTx } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthTx } if postIndex > l { return io.ErrUnexpectedEOF } - m.GuildId = string(dAtA[iNdEx:postIndex]) + if err := m.Planet.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } iNdEx = postIndex case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PlayerId", wireType) + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field OreStolen", wireType) } - var stringLen uint64 + m.OreStolen = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx @@ -15455,24 +22605,11 @@ func (m *MsgGuildMembershipInviteDeny) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + m.OreStolen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthTx - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthTx - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.PlayerId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipTx(dAtA[iNdEx:]) @@ -15494,7 +22631,7 @@ func (m *MsgGuildMembershipInviteDeny) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgGuildMembershipInviteRevoke) Unmarshal(dAtA []byte) error { +func (m *MsgPlayerUpdatePrimaryAddress) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -15517,10 +22654,10 @@ func (m *MsgGuildMembershipInviteRevoke) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgGuildMembershipInviteRevoke: wiretype end group for non-group") + return fmt.Errorf("proto: MsgPlayerUpdatePrimaryAddress: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgGuildMembershipInviteRevoke: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgPlayerUpdatePrimaryAddress: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -15557,7 +22694,7 @@ func (m *MsgGuildMembershipInviteRevoke) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field GuildId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field PlayerId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -15585,11 +22722,11 @@ func (m *MsgGuildMembershipInviteRevoke) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.GuildId = string(dAtA[iNdEx:postIndex]) + m.PlayerId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PlayerId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field PrimaryAddress", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -15617,7 +22754,7 @@ func (m *MsgGuildMembershipInviteRevoke) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.PlayerId = string(dAtA[iNdEx:postIndex]) + m.PrimaryAddress = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -15640,7 +22777,7 @@ func (m *MsgGuildMembershipInviteRevoke) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgGuildMembershipJoin) Unmarshal(dAtA []byte) error { +func (m *MsgPlayerUpdatePrimaryAddressResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -15663,111 +22800,65 @@ func (m *MsgGuildMembershipJoin) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgGuildMembershipJoin: wiretype end group for non-group") + return fmt.Errorf("proto: MsgPlayerUpdatePrimaryAddressResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgGuildMembershipJoin: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgPlayerUpdatePrimaryAddressResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthTx - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthTx - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Creator = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field GuildId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthTx + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err } - postIndex := iNdEx + intStringLen - if postIndex < 0 { + if (skippy < 0) || (iNdEx+skippy) < 0 { return ErrInvalidLengthTx } - if postIndex > l { + if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } - m.GuildId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PlayerId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthTx - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthTx + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MsgPlayerResume) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx } - if postIndex > l { + if iNdEx >= l { return io.ErrUnexpectedEOF } - m.PlayerId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: + 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 fmt.Errorf("proto: MsgPlayerResume: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgPlayerResume: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field SubstationId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -15795,11 +22886,11 @@ func (m *MsgGuildMembershipJoin) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.SubstationId = string(dAtA[iNdEx:postIndex]) + m.Creator = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 5: + case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field InfusionId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field PlayerId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -15827,7 +22918,7 @@ func (m *MsgGuildMembershipJoin) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.InfusionId = append(m.InfusionId, string(dAtA[iNdEx:postIndex])) + m.PlayerId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -15850,7 +22941,7 @@ func (m *MsgGuildMembershipJoin) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgGuildMembershipJoinProxy) Unmarshal(dAtA []byte) error { +func (m *MsgPlayerResumeResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -15873,49 +22964,67 @@ func (m *MsgGuildMembershipJoinProxy) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgGuildMembershipJoinProxy: wiretype end group for non-group") + return fmt.Errorf("proto: MsgPlayerResumeResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgGuildMembershipJoinProxy: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgPlayerResumeResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err } - intStringLen := int(stringLen) - if intStringLen < 0 { + if (skippy < 0) || (iNdEx+skippy) < 0 { return ErrInvalidLengthTx } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthTx + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF } - if postIndex > l { + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MsgStructStatusResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { return io.ErrUnexpectedEOF } - m.Creator = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: + 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 fmt.Errorf("proto: MsgStructStatusResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgStructStatusResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Struct", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx @@ -15925,59 +23034,78 @@ func (m *MsgGuildMembershipJoinProxy) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthTx } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthTx } if postIndex > l { return io.ErrUnexpectedEOF } - m.Address = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field SubstationId", wireType) + if err := m.Struct.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err } - intStringLen := int(stringLen) - if intStringLen < 0 { + if (skippy < 0) || (iNdEx+skippy) < 0 { return ErrInvalidLengthTx } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthTx + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF } - if postIndex > l { + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MsgStructActivate) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { return io.ErrUnexpectedEOF } - m.SubstationId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: + 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 fmt.Errorf("proto: MsgStructActivate: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgStructActivate: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ProofPubKey", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -16005,11 +23133,11 @@ func (m *MsgGuildMembershipJoinProxy) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.ProofPubKey = string(dAtA[iNdEx:postIndex]) + m.Creator = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 5: + case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ProofSignature", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field StructId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -16037,7 +23165,7 @@ func (m *MsgGuildMembershipJoinProxy) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.ProofSignature = string(dAtA[iNdEx:postIndex]) + m.StructId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -16060,7 +23188,7 @@ func (m *MsgGuildMembershipJoinProxy) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgGuildMembershipKick) Unmarshal(dAtA []byte) error { +func (m *MsgStructDeactivate) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -16083,47 +23211,15 @@ func (m *MsgGuildMembershipKick) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgGuildMembershipKick: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: MsgGuildMembershipKick: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthTx - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthTx - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Creator = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: + return fmt.Errorf("proto: MsgStructDeactivate: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgStructDeactivate: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field GuildId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -16151,11 +23247,11 @@ func (m *MsgGuildMembershipKick) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.GuildId = string(dAtA[iNdEx:postIndex]) + m.Creator = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 3: + case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PlayerId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field StructId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -16183,7 +23279,7 @@ func (m *MsgGuildMembershipKick) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.PlayerId = string(dAtA[iNdEx:postIndex]) + m.StructId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -16206,7 +23302,7 @@ func (m *MsgGuildMembershipKick) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgGuildMembershipRequest) Unmarshal(dAtA []byte) error { +func (m *MsgStructBuildInitiate) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -16229,10 +23325,10 @@ func (m *MsgGuildMembershipRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgGuildMembershipRequest: wiretype end group for non-group") + return fmt.Errorf("proto: MsgStructBuildInitiate: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgGuildMembershipRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgStructBuildInitiate: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -16269,7 +23365,7 @@ func (m *MsgGuildMembershipRequest) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field GuildId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field PlayerId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -16297,13 +23393,13 @@ func (m *MsgGuildMembershipRequest) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.GuildId = string(dAtA[iNdEx:postIndex]) + m.PlayerId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PlayerId", wireType) + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field StructTypeId", wireType) } - var stringLen uint64 + m.StructTypeId = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx @@ -16313,29 +23409,16 @@ func (m *MsgGuildMembershipRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + m.StructTypeId |= uint64(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthTx - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthTx - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.PlayerId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field SubstationId", wireType) + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field OperatingAmbit", wireType) } - var stringLen uint64 + m.OperatingAmbit = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx @@ -16345,24 +23428,30 @@ func (m *MsgGuildMembershipRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + m.OperatingAmbit |= Ambit(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthTx - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthTx + case 5: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Slot", wireType) } - if postIndex > l { - return io.ErrUnexpectedEOF + m.Slot = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Slot |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } } - m.SubstationId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipTx(dAtA[iNdEx:]) @@ -16384,7 +23473,7 @@ func (m *MsgGuildMembershipRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgGuildMembershipRequestApprove) Unmarshal(dAtA []byte) error { +func (m *MsgStructBuildComplete) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -16407,10 +23496,10 @@ func (m *MsgGuildMembershipRequestApprove) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgGuildMembershipRequestApprove: wiretype end group for non-group") + return fmt.Errorf("proto: MsgStructBuildComplete: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgGuildMembershipRequestApprove: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgStructBuildComplete: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -16447,7 +23536,7 @@ func (m *MsgGuildMembershipRequestApprove) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field GuildId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field StructId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -16475,11 +23564,11 @@ func (m *MsgGuildMembershipRequestApprove) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.GuildId = string(dAtA[iNdEx:postIndex]) + m.StructId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PlayerId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Proof", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -16507,11 +23596,11 @@ func (m *MsgGuildMembershipRequestApprove) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.PlayerId = string(dAtA[iNdEx:postIndex]) + m.Proof = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 4: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field SubstationId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Nonce", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -16539,7 +23628,7 @@ func (m *MsgGuildMembershipRequestApprove) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.SubstationId = string(dAtA[iNdEx:postIndex]) + m.Nonce = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -16562,7 +23651,7 @@ func (m *MsgGuildMembershipRequestApprove) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgGuildMembershipRequestDeny) Unmarshal(dAtA []byte) error { +func (m *MsgStructBuildCancel) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -16585,10 +23674,10 @@ func (m *MsgGuildMembershipRequestDeny) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgGuildMembershipRequestDeny: wiretype end group for non-group") + return fmt.Errorf("proto: MsgStructBuildCancel: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgGuildMembershipRequestDeny: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgStructBuildCancel: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -16625,39 +23714,7 @@ func (m *MsgGuildMembershipRequestDeny) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field GuildId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthTx - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthTx - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.GuildId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PlayerId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field StructId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -16685,7 +23742,7 @@ func (m *MsgGuildMembershipRequestDeny) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.PlayerId = string(dAtA[iNdEx:postIndex]) + m.StructId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -16708,7 +23765,7 @@ func (m *MsgGuildMembershipRequestDeny) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgGuildMembershipRequestRevoke) Unmarshal(dAtA []byte) error { +func (m *MsgStructBuildCompleteAndStash) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -16731,10 +23788,10 @@ func (m *MsgGuildMembershipRequestRevoke) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgGuildMembershipRequestRevoke: wiretype end group for non-group") + return fmt.Errorf("proto: MsgStructBuildCompleteAndStash: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgGuildMembershipRequestRevoke: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgStructBuildCompleteAndStash: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -16771,7 +23828,7 @@ func (m *MsgGuildMembershipRequestRevoke) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field GuildId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field StructId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -16799,11 +23856,11 @@ func (m *MsgGuildMembershipRequestRevoke) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.GuildId = string(dAtA[iNdEx:postIndex]) + m.StructId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PlayerId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Proof", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -16831,63 +23888,77 @@ func (m *MsgGuildMembershipRequestRevoke) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.PlayerId = string(dAtA[iNdEx:postIndex]) + m.Proof = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipTx(dAtA[iNdEx:]) - if err != nil { - return err + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Nonce", wireType) } - if (skippy < 0) || (iNdEx+skippy) < 0 { + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthTx } - if (iNdEx + skippy) > l { + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { return io.ErrUnexpectedEOF } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *MsgGuildMembershipResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx + m.Nonce = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field StorageDestinationId", wireType) } - if iNdEx >= l { - return io.ErrUnexpectedEOF + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: MsgGuildMembershipResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: MsgGuildMembershipResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field GuildMembershipApplication", wireType) + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.StorageDestinationId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 6: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field StorageAmbit", wireType) } - var msglen int + m.StorageAmbit = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx @@ -16897,28 +23968,30 @@ func (m *MsgGuildMembershipResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + m.StorageAmbit |= Ambit(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { - return ErrInvalidLengthTx - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthTx - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.GuildMembershipApplication == nil { - m.GuildMembershipApplication = &GuildMembershipApplication{} + case 7: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field StorageSlot", wireType) } - if err := m.GuildMembershipApplication.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err + m.StorageSlot = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.StorageSlot |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } } - iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipTx(dAtA[iNdEx:]) @@ -16940,7 +24013,7 @@ func (m *MsgGuildMembershipResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgPermissionGrantOnObject) Unmarshal(dAtA []byte) error { +func (m *MsgStructDefenseSet) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -16963,10 +24036,10 @@ func (m *MsgPermissionGrantOnObject) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgPermissionGrantOnObject: wiretype end group for non-group") + return fmt.Errorf("proto: MsgStructDefenseSet: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgPermissionGrantOnObject: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgStructDefenseSet: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -17003,7 +24076,7 @@ func (m *MsgPermissionGrantOnObject) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ObjectId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field DefenderStructId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -17031,11 +24104,11 @@ func (m *MsgPermissionGrantOnObject) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.ObjectId = string(dAtA[iNdEx:postIndex]) + m.DefenderStructId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PlayerId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ProtectedStructId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -17063,27 +24136,8 @@ func (m *MsgPermissionGrantOnObject) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.PlayerId = string(dAtA[iNdEx:postIndex]) + m.ProtectedStructId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Permissions", wireType) - } - m.Permissions = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Permissions |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } default: iNdEx = preIndex skippy, err := skipTx(dAtA[iNdEx:]) @@ -17105,7 +24159,7 @@ func (m *MsgPermissionGrantOnObject) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgPermissionGrantOnAddress) Unmarshal(dAtA []byte) error { +func (m *MsgStructDefenseClear) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -17128,10 +24182,10 @@ func (m *MsgPermissionGrantOnAddress) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgPermissionGrantOnAddress: wiretype end group for non-group") + return fmt.Errorf("proto: MsgStructDefenseClear: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgPermissionGrantOnAddress: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgStructDefenseClear: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -17168,7 +24222,7 @@ func (m *MsgPermissionGrantOnAddress) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field DefenderStructId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -17196,27 +24250,8 @@ func (m *MsgPermissionGrantOnAddress) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Address = string(dAtA[iNdEx:postIndex]) + m.DefenderStructId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Permissions", wireType) - } - m.Permissions = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Permissions |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } default: iNdEx = preIndex skippy, err := skipTx(dAtA[iNdEx:]) @@ -17238,7 +24273,7 @@ func (m *MsgPermissionGrantOnAddress) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgPermissionRevokeOnObject) Unmarshal(dAtA []byte) error { +func (m *MsgStructMove) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -17261,10 +24296,10 @@ func (m *MsgPermissionRevokeOnObject) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgPermissionRevokeOnObject: wiretype end group for non-group") + return fmt.Errorf("proto: MsgStructMove: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgPermissionRevokeOnObject: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgStructMove: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -17301,7 +24336,7 @@ func (m *MsgPermissionRevokeOnObject) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ObjectId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field StructId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -17329,13 +24364,13 @@ func (m *MsgPermissionRevokeOnObject) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.ObjectId = string(dAtA[iNdEx:postIndex]) + m.StructId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PlayerId", wireType) + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field LocationType", wireType) } - var stringLen uint64 + m.LocationType = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx @@ -17345,29 +24380,35 @@ func (m *MsgPermissionRevokeOnObject) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + m.LocationType |= ObjectType(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthTx - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthTx + case 5: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Ambit", wireType) } - if postIndex > l { - return io.ErrUnexpectedEOF + m.Ambit = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Ambit |= Ambit(b&0x7F) << shift + if b < 0x80 { + break + } } - m.PlayerId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: + case 6: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Permissions", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Slot", wireType) } - m.Permissions = 0 + m.Slot = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx @@ -17377,7 +24418,7 @@ func (m *MsgPermissionRevokeOnObject) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Permissions |= uint64(b&0x7F) << shift + m.Slot |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -17403,7 +24444,7 @@ func (m *MsgPermissionRevokeOnObject) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgPermissionRevokeOnAddress) Unmarshal(dAtA []byte) error { +func (m *MsgStructAttack) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -17426,10 +24467,10 @@ func (m *MsgPermissionRevokeOnAddress) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgPermissionRevokeOnAddress: wiretype end group for non-group") + return fmt.Errorf("proto: MsgStructAttack: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgPermissionRevokeOnAddress: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgStructAttack: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -17466,7 +24507,7 @@ func (m *MsgPermissionRevokeOnAddress) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field OperatingStructId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -17494,13 +24535,13 @@ func (m *MsgPermissionRevokeOnAddress) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Address = string(dAtA[iNdEx:postIndex]) + m.OperatingStructId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Permissions", wireType) + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TargetStructId", wireType) } - m.Permissions = 0 + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx @@ -17510,11 +24551,106 @@ func (m *MsgPermissionRevokeOnAddress) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Permissions |= uint64(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.TargetStructId = append(m.TargetStructId, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field WeaponSystem", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.WeaponSystem = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MsgStructAttackResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return 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 fmt.Errorf("proto: MsgStructAttackResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgStructAttackResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { default: iNdEx = preIndex skippy, err := skipTx(dAtA[iNdEx:]) @@ -17536,7 +24672,7 @@ func (m *MsgPermissionRevokeOnAddress) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgPermissionSetOnObject) Unmarshal(dAtA []byte) error { +func (m *MsgStructStealthActivate) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -17559,10 +24695,10 @@ func (m *MsgPermissionSetOnObject) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgPermissionSetOnObject: wiretype end group for non-group") + return fmt.Errorf("proto: MsgStructStealthActivate: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgPermissionSetOnObject: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgStructStealthActivate: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -17599,39 +24735,7 @@ func (m *MsgPermissionSetOnObject) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ObjectId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthTx - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthTx - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ObjectId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PlayerId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field StructId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -17659,27 +24763,8 @@ func (m *MsgPermissionSetOnObject) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.PlayerId = string(dAtA[iNdEx:postIndex]) + m.StructId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Permissions", wireType) - } - m.Permissions = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Permissions |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } default: iNdEx = preIndex skippy, err := skipTx(dAtA[iNdEx:]) @@ -17701,7 +24786,7 @@ func (m *MsgPermissionSetOnObject) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgPermissionSetOnAddress) Unmarshal(dAtA []byte) error { +func (m *MsgStructStealthDeactivate) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -17724,10 +24809,10 @@ func (m *MsgPermissionSetOnAddress) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgPermissionSetOnAddress: wiretype end group for non-group") + return fmt.Errorf("proto: MsgStructStealthDeactivate: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgPermissionSetOnAddress: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgStructStealthDeactivate: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -17764,7 +24849,7 @@ func (m *MsgPermissionSetOnAddress) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field StructId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -17792,27 +24877,8 @@ func (m *MsgPermissionSetOnAddress) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Address = string(dAtA[iNdEx:postIndex]) + m.StructId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Permissions", wireType) - } - m.Permissions = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Permissions |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } default: iNdEx = preIndex skippy, err := skipTx(dAtA[iNdEx:]) @@ -17834,7 +24900,7 @@ func (m *MsgPermissionSetOnAddress) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgPermissionResponse) Unmarshal(dAtA []byte) error { +func (m *MsgStructGeneratorInfuse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -17857,65 +24923,79 @@ func (m *MsgPermissionResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgPermissionResponse: wiretype end group for non-group") + return fmt.Errorf("proto: MsgStructGeneratorInfuse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgPermissionResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgStructGeneratorInfuse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skipTx(dAtA[iNdEx:]) - if err != nil { - return err + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType) } - if (skippy < 0) || (iNdEx+skippy) < 0 { + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthTx } - if (iNdEx + skippy) > l { + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { return io.ErrUnexpectedEOF } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *MsgPlanetExplore) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx + m.Creator = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field StructId", wireType) } - if iNdEx >= l { - return io.ErrUnexpectedEOF + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: MsgPlanetExplore: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: MsgPlanetExplore: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.StructId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field InfuseAmount", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -17943,7 +25023,7 @@ func (m *MsgPlanetExplore) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Creator = string(dAtA[iNdEx:postIndex]) + m.InfuseAmount = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -17966,7 +25046,7 @@ func (m *MsgPlanetExplore) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgPlanetExploreResponse) Unmarshal(dAtA []byte) error { +func (m *MsgStructGeneratorStatusResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -17989,45 +25069,12 @@ func (m *MsgPlanetExploreResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgPlanetExploreResponse: wiretype end group for non-group") + return fmt.Errorf("proto: MsgStructGeneratorStatusResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgPlanetExploreResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgStructGeneratorStatusResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Planet", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthTx - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthTx - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if err := m.Planet.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipTx(dAtA[iNdEx:]) @@ -18049,7 +25096,7 @@ func (m *MsgPlanetExploreResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgPlanetRaidComplete) Unmarshal(dAtA []byte) error { +func (m *MsgStructOreMinerComplete) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -18072,10 +25119,10 @@ func (m *MsgPlanetRaidComplete) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgPlanetRaidComplete: wiretype end group for non-group") + return fmt.Errorf("proto: MsgStructOreMinerComplete: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgPlanetRaidComplete: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgStructOreMinerComplete: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -18112,7 +25159,7 @@ func (m *MsgPlanetRaidComplete) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field FleetId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field StructId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -18140,7 +25187,7 @@ func (m *MsgPlanetRaidComplete) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.FleetId = string(dAtA[iNdEx:postIndex]) + m.StructId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 3: if wireType != 2 { @@ -18227,7 +25274,7 @@ func (m *MsgPlanetRaidComplete) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgPlanetRaidCompleteResponse) Unmarshal(dAtA []byte) error { +func (m *MsgStructOreMinerStatusResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -18250,48 +25297,15 @@ func (m *MsgPlanetRaidCompleteResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgPlanetRaidCompleteResponse: wiretype end group for non-group") + return fmt.Errorf("proto: MsgStructOreMinerStatusResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgPlanetRaidCompleteResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgStructOreMinerStatusResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Fleet", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthTx - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthTx - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if err := m.Fleet.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Planet", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Struct", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -18318,29 +25332,10 @@ func (m *MsgPlanetRaidCompleteResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if err := m.Planet.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Struct.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field OreStolen", wireType) - } - m.OreStolen = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.OreStolen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } default: iNdEx = preIndex skippy, err := skipTx(dAtA[iNdEx:]) @@ -18362,7 +25357,7 @@ func (m *MsgPlanetRaidCompleteResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgPlayerUpdatePrimaryAddress) Unmarshal(dAtA []byte) error { +func (m *MsgStructOreRefineryComplete) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -18385,10 +25380,10 @@ func (m *MsgPlayerUpdatePrimaryAddress) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgPlayerUpdatePrimaryAddress: wiretype end group for non-group") + return fmt.Errorf("proto: MsgStructOreRefineryComplete: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgPlayerUpdatePrimaryAddress: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgStructOreRefineryComplete: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -18425,7 +25420,7 @@ func (m *MsgPlayerUpdatePrimaryAddress) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PlayerId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field StructId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -18453,11 +25448,11 @@ func (m *MsgPlayerUpdatePrimaryAddress) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.PlayerId = string(dAtA[iNdEx:postIndex]) + m.StructId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PrimaryAddress", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Proof", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -18485,58 +25480,40 @@ func (m *MsgPlayerUpdatePrimaryAddress) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.PrimaryAddress = string(dAtA[iNdEx:postIndex]) + m.Proof = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipTx(dAtA[iNdEx:]) - if err != nil { - return err + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Nonce", wireType) } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthTx + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *MsgPlayerUpdatePrimaryAddressResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx } - if iNdEx >= l { + if postIndex > l { return 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 fmt.Errorf("proto: MsgPlayerUpdatePrimaryAddressResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: MsgPlayerUpdatePrimaryAddressResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { + m.Nonce = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipTx(dAtA[iNdEx:]) @@ -18558,7 +25535,7 @@ func (m *MsgPlayerUpdatePrimaryAddressResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgStructStatusResponse) Unmarshal(dAtA []byte) error { +func (m *MsgStructOreRefineryStatusResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -18581,10 +25558,10 @@ func (m *MsgStructStatusResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgStructStatusResponse: wiretype end group for non-group") + return fmt.Errorf("proto: MsgStructOreRefineryStatusResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgStructStatusResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgStructOreRefineryStatusResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -18641,7 +25618,7 @@ func (m *MsgStructStatusResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgStructActivate) Unmarshal(dAtA []byte) error { +func (m *MsgStructStorageStash) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -18664,10 +25641,10 @@ func (m *MsgStructActivate) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgStructActivate: wiretype end group for non-group") + return fmt.Errorf("proto: MsgStructStorageStash: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgStructActivate: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgStructStorageStash: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -18734,59 +25711,9 @@ func (m *MsgStructActivate) Unmarshal(dAtA []byte) error { } m.StructId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipTx(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthTx - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *MsgStructDeactivate) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return 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 fmt.Errorf("proto: MsgStructDeactivate: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: MsgStructDeactivate: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: + case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field LocationId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -18814,13 +25741,13 @@ func (m *MsgStructDeactivate) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Creator = string(dAtA[iNdEx:postIndex]) + m.LocationId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field StructId", wireType) + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Ambit", wireType) } - var stringLen uint64 + m.Ambit = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx @@ -18830,24 +25757,30 @@ func (m *MsgStructDeactivate) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + m.Ambit |= Ambit(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthTx - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthTx + case 5: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Slot", wireType) } - if postIndex > l { - return io.ErrUnexpectedEOF + m.Slot = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Slot |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } } - m.StructId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipTx(dAtA[iNdEx:]) @@ -18869,7 +25802,7 @@ func (m *MsgStructDeactivate) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgStructBuildInitiate) Unmarshal(dAtA []byte) error { +func (m *MsgStructStorageRecall) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -18892,10 +25825,10 @@ func (m *MsgStructBuildInitiate) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgStructBuildInitiate: wiretype end group for non-group") + return fmt.Errorf("proto: MsgStructStorageRecall: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgStructBuildInitiate: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgStructStorageRecall: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -18932,7 +25865,7 @@ func (m *MsgStructBuildInitiate) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PlayerId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field StructId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -18960,13 +25893,13 @@ func (m *MsgStructBuildInitiate) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.PlayerId = string(dAtA[iNdEx:postIndex]) + m.StructId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field StructTypeId", wireType) + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field LocationId", wireType) } - m.StructTypeId = 0 + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx @@ -18976,16 +25909,29 @@ func (m *MsgStructBuildInitiate) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.StructTypeId |= uint64(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.LocationId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex case 4: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field LocationType", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Ambit", wireType) } - m.LocationType = 0 + m.Ambit = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx @@ -18995,16 +25941,16 @@ func (m *MsgStructBuildInitiate) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.LocationType |= ObjectType(b&0x7F) << shift + m.Ambit |= Ambit(b&0x7F) << shift if b < 0x80 { break } } case 5: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field OperatingAmbit", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Slot", wireType) } - m.OperatingAmbit = 0 + m.Slot = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx @@ -19014,16 +25960,16 @@ func (m *MsgStructBuildInitiate) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.OperatingAmbit |= Ambit(b&0x7F) << shift + m.Slot |= uint64(b&0x7F) << shift if b < 0x80 { break } } case 6: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Slot", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Activate", wireType) } - m.Slot = 0 + var v int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx @@ -19033,11 +25979,12 @@ func (m *MsgStructBuildInitiate) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Slot |= uint64(b&0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } } + m.Activate = bool(v != 0) default: iNdEx = preIndex skippy, err := skipTx(dAtA[iNdEx:]) @@ -19059,7 +26006,7 @@ func (m *MsgStructBuildInitiate) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgStructBuildComplete) Unmarshal(dAtA []byte) error { +func (m *MsgSubstationCreate) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -19082,10 +26029,10 @@ func (m *MsgStructBuildComplete) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgStructBuildComplete: wiretype end group for non-group") + return fmt.Errorf("proto: MsgSubstationCreate: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgStructBuildComplete: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgSubstationCreate: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -19122,7 +26069,7 @@ func (m *MsgStructBuildComplete) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field StructId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Owner", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -19150,11 +26097,11 @@ func (m *MsgStructBuildComplete) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.StructId = string(dAtA[iNdEx:postIndex]) + m.Owner = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Proof", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field AllocationId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -19182,11 +26129,61 @@ func (m *MsgStructBuildComplete) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Proof = string(dAtA[iNdEx:postIndex]) + m.AllocationId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 4: + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MsgSubstationCreateResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return 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 fmt.Errorf("proto: MsgSubstationCreateResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgSubstationCreateResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Nonce", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field SubstationId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -19214,7 +26211,7 @@ func (m *MsgStructBuildComplete) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Nonce = string(dAtA[iNdEx:postIndex]) + m.SubstationId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -19237,7 +26234,7 @@ func (m *MsgStructBuildComplete) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgStructBuildCompleteAndStash) Unmarshal(dAtA []byte) error { +func (m *MsgSubstationDelete) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -19260,10 +26257,10 @@ func (m *MsgStructBuildCompleteAndStash) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgStructBuildCompleteAndStash: wiretype end group for non-group") + return fmt.Errorf("proto: MsgSubstationDelete: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgStructBuildCompleteAndStash: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgSubstationDelete: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -19300,7 +26297,7 @@ func (m *MsgStructBuildCompleteAndStash) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field StructId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field SubstationId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -19328,11 +26325,11 @@ func (m *MsgStructBuildCompleteAndStash) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.StructId = string(dAtA[iNdEx:postIndex]) + m.SubstationId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Proof", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field MigrationSubstationId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -19360,110 +26357,58 @@ func (m *MsgStructBuildCompleteAndStash) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Proof = string(dAtA[iNdEx:postIndex]) + m.MigrationSubstationId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Nonce", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthTx + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err } - postIndex := iNdEx + intStringLen - if postIndex < 0 { + if (skippy < 0) || (iNdEx+skippy) < 0 { return ErrInvalidLengthTx } - if postIndex > l { + if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } - m.Nonce = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 5: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field StorageDestinationId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthTx - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthTx + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MsgSubstationDeleteResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx } - if postIndex > l { + if iNdEx >= l { return io.ErrUnexpectedEOF } - m.StorageDestinationId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 6: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field StorageAmbit", wireType) - } - m.StorageAmbit = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.StorageAmbit |= Ambit(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 7: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field StorageSlot", wireType) - } - m.StorageSlot = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.StorageSlot |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } + 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 fmt.Errorf("proto: MsgSubstationDeleteResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgSubstationDeleteResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { default: iNdEx = preIndex skippy, err := skipTx(dAtA[iNdEx:]) @@ -19485,7 +26430,7 @@ func (m *MsgStructBuildCompleteAndStash) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgStructDefenseSet) Unmarshal(dAtA []byte) error { +func (m *MsgSubstationAllocationConnect) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -19508,10 +26453,10 @@ func (m *MsgStructDefenseSet) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgStructDefenseSet: wiretype end group for non-group") + return fmt.Errorf("proto: MsgSubstationAllocationConnect: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgStructDefenseSet: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgSubstationAllocationConnect: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -19548,7 +26493,7 @@ func (m *MsgStructDefenseSet) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field DefenderStructId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field AllocationId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -19576,11 +26521,11 @@ func (m *MsgStructDefenseSet) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.DefenderStructId = string(dAtA[iNdEx:postIndex]) + m.AllocationId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ProtectedStructId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field DestinationId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -19608,7 +26553,7 @@ func (m *MsgStructDefenseSet) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.ProtectedStructId = string(dAtA[iNdEx:postIndex]) + m.DestinationId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -19631,7 +26576,7 @@ func (m *MsgStructDefenseSet) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgStructDefenseClear) Unmarshal(dAtA []byte) error { +func (m *MsgSubstationAllocationConnectResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -19654,76 +26599,12 @@ func (m *MsgStructDefenseClear) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgStructDefenseClear: wiretype end group for non-group") + return fmt.Errorf("proto: MsgSubstationAllocationConnectResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgStructDefenseClear: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgSubstationAllocationConnectResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthTx - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthTx - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Creator = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field DefenderStructId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthTx - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthTx - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.DefenderStructId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipTx(dAtA[iNdEx:]) @@ -19745,7 +26626,7 @@ func (m *MsgStructDefenseClear) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgStructMove) Unmarshal(dAtA []byte) error { +func (m *MsgSubstationAllocationDisconnect) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -19768,10 +26649,10 @@ func (m *MsgStructMove) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgStructMove: wiretype end group for non-group") + return fmt.Errorf("proto: MsgSubstationAllocationDisconnect: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgStructMove: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgSubstationAllocationDisconnect: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -19808,7 +26689,7 @@ func (m *MsgStructMove) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field StructId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field AllocationId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -19836,65 +26717,58 @@ func (m *MsgStructMove) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.StructId = string(dAtA[iNdEx:postIndex]) + m.AllocationId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field LocationType", wireType) + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err } - m.LocationType = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.LocationType |= ObjectType(b&0x7F) << shift - if b < 0x80 { - break - } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx } - case 5: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Ambit", wireType) + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF } - m.Ambit = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Ambit |= Ambit(b&0x7F) << shift - if b < 0x80 { - break - } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MsgSubstationAllocationDisconnectResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx } - case 6: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Slot", wireType) + if iNdEx >= l { + return io.ErrUnexpectedEOF } - m.Slot = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Slot |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } + 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 fmt.Errorf("proto: MsgSubstationAllocationDisconnectResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgSubstationAllocationDisconnectResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { default: iNdEx = preIndex skippy, err := skipTx(dAtA[iNdEx:]) @@ -19916,7 +26790,7 @@ func (m *MsgStructMove) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgStructAttack) Unmarshal(dAtA []byte) error { +func (m *MsgSubstationPlayerConnect) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -19939,10 +26813,10 @@ func (m *MsgStructAttack) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgStructAttack: wiretype end group for non-group") + return fmt.Errorf("proto: MsgSubstationPlayerConnect: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgStructAttack: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgSubstationPlayerConnect: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -19979,7 +26853,7 @@ func (m *MsgStructAttack) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field OperatingStructId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field SubstationId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -20007,43 +26881,11 @@ func (m *MsgStructAttack) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.OperatingStructId = string(dAtA[iNdEx:postIndex]) + m.SubstationId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field TargetStructId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthTx - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthTx - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.TargetStructId = append(m.TargetStructId, string(dAtA[iNdEx:postIndex])) - iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field WeaponSystem", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field PlayerId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -20071,7 +26913,7 @@ func (m *MsgStructAttack) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.WeaponSystem = string(dAtA[iNdEx:postIndex]) + m.PlayerId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -20094,7 +26936,7 @@ func (m *MsgStructAttack) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgStructAttackResponse) Unmarshal(dAtA []byte) error { +func (m *MsgSubstationPlayerConnectResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -20117,10 +26959,10 @@ func (m *MsgStructAttackResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgStructAttackResponse: wiretype end group for non-group") + return fmt.Errorf("proto: MsgSubstationPlayerConnectResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgStructAttackResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgSubstationPlayerConnectResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: @@ -20144,7 +26986,7 @@ func (m *MsgStructAttackResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgStructStealthActivate) Unmarshal(dAtA []byte) error { +func (m *MsgSubstationPlayerDisconnect) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -20167,10 +27009,10 @@ func (m *MsgStructStealthActivate) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgStructStealthActivate: wiretype end group for non-group") + return fmt.Errorf("proto: MsgSubstationPlayerDisconnect: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgStructStealthActivate: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgSubstationPlayerDisconnect: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -20207,7 +27049,7 @@ func (m *MsgStructStealthActivate) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field StructId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field PlayerId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -20235,7 +27077,7 @@ func (m *MsgStructStealthActivate) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.StructId = string(dAtA[iNdEx:postIndex]) + m.PlayerId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -20258,7 +27100,7 @@ func (m *MsgStructStealthActivate) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgStructStealthDeactivate) Unmarshal(dAtA []byte) error { +func (m *MsgSubstationPlayerDisconnectResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -20281,76 +27123,12 @@ func (m *MsgStructStealthDeactivate) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgStructStealthDeactivate: wiretype end group for non-group") + return fmt.Errorf("proto: MsgSubstationPlayerDisconnectResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgStructStealthDeactivate: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgSubstationPlayerDisconnectResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthTx - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthTx - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Creator = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field StructId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthTx - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthTx - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.StructId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipTx(dAtA[iNdEx:]) @@ -20372,7 +27150,7 @@ func (m *MsgStructStealthDeactivate) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgStructGeneratorInfuse) Unmarshal(dAtA []byte) error { +func (m *MsgSubstationPlayerMigrate) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -20395,10 +27173,10 @@ func (m *MsgStructGeneratorInfuse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgStructGeneratorInfuse: wiretype end group for non-group") + return fmt.Errorf("proto: MsgSubstationPlayerMigrate: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgStructGeneratorInfuse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgSubstationPlayerMigrate: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -20435,7 +27213,7 @@ func (m *MsgStructGeneratorInfuse) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field StructId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field SubstationId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -20463,11 +27241,11 @@ func (m *MsgStructGeneratorInfuse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.StructId = string(dAtA[iNdEx:postIndex]) + m.SubstationId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field InfuseAmount", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field PlayerId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -20495,7 +27273,7 @@ func (m *MsgStructGeneratorInfuse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.InfuseAmount = string(dAtA[iNdEx:postIndex]) + m.PlayerId = append(m.PlayerId, string(dAtA[iNdEx:postIndex])) iNdEx = postIndex default: iNdEx = preIndex @@ -20518,7 +27296,7 @@ func (m *MsgStructGeneratorInfuse) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgStructGeneratorStatusResponse) Unmarshal(dAtA []byte) error { +func (m *MsgSubstationPlayerMigrateResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -20541,10 +27319,10 @@ func (m *MsgStructGeneratorStatusResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgStructGeneratorStatusResponse: wiretype end group for non-group") + return fmt.Errorf("proto: MsgSubstationPlayerMigrateResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgStructGeneratorStatusResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgSubstationPlayerMigrateResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: @@ -20568,7 +27346,7 @@ func (m *MsgStructGeneratorStatusResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgStructOreMinerComplete) Unmarshal(dAtA []byte) error { +func (m *MsgAgreementOpen) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -20591,10 +27369,10 @@ func (m *MsgStructOreMinerComplete) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgStructOreMinerComplete: wiretype end group for non-group") + return fmt.Errorf("proto: MsgAgreementOpen: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgStructOreMinerComplete: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgAgreementOpen: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -20631,7 +27409,7 @@ func (m *MsgStructOreMinerComplete) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field StructId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ProviderId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -20659,11 +27437,99 @@ func (m *MsgStructOreMinerComplete) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.StructId = string(dAtA[iNdEx:postIndex]) + m.ProviderId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Duration", wireType) + } + m.Duration = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Duration |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Capacity", wireType) + } + m.Capacity = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Capacity |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MsgAgreementClose) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return 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 fmt.Errorf("proto: MsgAgreementClose: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgAgreementClose: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Proof", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -20691,11 +27557,11 @@ func (m *MsgStructOreMinerComplete) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Proof = string(dAtA[iNdEx:postIndex]) + m.Creator = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 4: + case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Nonce", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field AgreementId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -20723,7 +27589,7 @@ func (m *MsgStructOreMinerComplete) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Nonce = string(dAtA[iNdEx:postIndex]) + m.AgreementId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -20746,7 +27612,7 @@ func (m *MsgStructOreMinerComplete) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgStructOreMinerStatusResponse) Unmarshal(dAtA []byte) error { +func (m *MsgAgreementCapacityIncrease) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -20769,17 +27635,17 @@ func (m *MsgStructOreMinerStatusResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgStructOreMinerStatusResponse: wiretype end group for non-group") + return fmt.Errorf("proto: MsgAgreementCapacityIncrease: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgStructOreMinerStatusResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgAgreementCapacityIncrease: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Struct", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx @@ -20789,25 +27655,75 @@ func (m *MsgStructOreMinerStatusResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthTx } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthTx } if postIndex > l { return io.ErrUnexpectedEOF } - if err := m.Struct.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err + m.Creator = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AgreementId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.AgreementId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field CapacityIncrease", wireType) + } + m.CapacityIncrease = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.CapacityIncrease |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } } - iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipTx(dAtA[iNdEx:]) @@ -20829,7 +27745,7 @@ func (m *MsgStructOreMinerStatusResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgStructOreRefineryComplete) Unmarshal(dAtA []byte) error { +func (m *MsgAgreementCapacityDecrease) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -20852,10 +27768,10 @@ func (m *MsgStructOreRefineryComplete) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgStructOreRefineryComplete: wiretype end group for non-group") + return fmt.Errorf("proto: MsgAgreementCapacityDecrease: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgStructOreRefineryComplete: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgAgreementCapacityDecrease: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -20892,7 +27808,7 @@ func (m *MsgStructOreRefineryComplete) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field StructId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field AgreementId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -20920,11 +27836,80 @@ func (m *MsgStructOreRefineryComplete) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.StructId = string(dAtA[iNdEx:postIndex]) + m.AgreementId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field CapacityDecrease", wireType) + } + m.CapacityDecrease = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.CapacityDecrease |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MsgAgreementDurationIncrease) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return 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 fmt.Errorf("proto: MsgAgreementDurationIncrease: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgAgreementDurationIncrease: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Proof", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -20952,11 +27937,11 @@ func (m *MsgStructOreRefineryComplete) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Proof = string(dAtA[iNdEx:postIndex]) + m.Creator = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 4: + case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Nonce", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field AgreementId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -20984,8 +27969,27 @@ func (m *MsgStructOreRefineryComplete) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Nonce = string(dAtA[iNdEx:postIndex]) + m.AgreementId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field DurationIncrease", wireType) + } + m.DurationIncrease = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.DurationIncrease |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } default: iNdEx = preIndex skippy, err := skipTx(dAtA[iNdEx:]) @@ -21007,7 +28011,7 @@ func (m *MsgStructOreRefineryComplete) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgStructOreRefineryStatusResponse) Unmarshal(dAtA []byte) error { +func (m *MsgAgreementResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -21030,45 +28034,12 @@ func (m *MsgStructOreRefineryStatusResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgStructOreRefineryStatusResponse: wiretype end group for non-group") + return fmt.Errorf("proto: MsgAgreementResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgStructOreRefineryStatusResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgAgreementResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Struct", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthTx - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthTx - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if err := m.Struct.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipTx(dAtA[iNdEx:]) @@ -21090,7 +28061,7 @@ func (m *MsgStructOreRefineryStatusResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgStructStorageStash) Unmarshal(dAtA []byte) error { +func (m *MsgProviderCreate) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -21113,10 +28084,10 @@ func (m *MsgStructStorageStash) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgStructStorageStash: wiretype end group for non-group") + return fmt.Errorf("proto: MsgProviderCreate: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgStructStorageStash: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgProviderCreate: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -21153,7 +28124,7 @@ func (m *MsgStructStorageStash) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field StructId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field SubstationId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -21181,13 +28152,13 @@ func (m *MsgStructStorageStash) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.StructId = string(dAtA[iNdEx:postIndex]) + m.SubstationId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field LocationId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Rate", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx @@ -21197,29 +28168,30 @@ func (m *MsgStructStorageStash) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthTx } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthTx } if postIndex > l { return io.ErrUnexpectedEOF } - m.LocationId = string(dAtA[iNdEx:postIndex]) + if err := m.Rate.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } iNdEx = postIndex case 4: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Ambit", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field AccessPolicy", wireType) } - m.Ambit = 0 + m.AccessPolicy = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx @@ -21229,83 +28201,14 @@ func (m *MsgStructStorageStash) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Ambit |= Ambit(b&0x7F) << shift + m.AccessPolicy |= ProviderAccessPolicy(b&0x7F) << shift if b < 0x80 { break } } case 5: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Slot", wireType) - } - m.Slot = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Slot |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - default: - iNdEx = preIndex - skippy, err := skipTx(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthTx - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *MsgStructStorageRecall) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return 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 fmt.Errorf("proto: MsgStructStorageRecall: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: MsgStructStorageRecall: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ProviderCancellationPenalty", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -21333,11 +28236,13 @@ func (m *MsgStructStorageRecall) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Creator = string(dAtA[iNdEx:postIndex]) + if err := m.ProviderCancellationPenalty.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } iNdEx = postIndex - case 2: + case 6: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field StructId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ConsumerCancellationPenalty", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -21365,45 +28270,34 @@ func (m *MsgStructStorageRecall) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.StructId = string(dAtA[iNdEx:postIndex]) + if err := m.ConsumerCancellationPenalty.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field LocationId", wireType) + case 7: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field CapacityMinimum", wireType) } - var stringLen uint64 + m.CapacityMinimum = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx } if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthTx - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthTx - } - if postIndex > l { - return io.ErrUnexpectedEOF + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.CapacityMinimum |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } } - m.LocationId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: + case 8: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Ambit", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field CapacityMaximum", wireType) } - m.Ambit = 0 + m.CapacityMaximum = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx @@ -21413,16 +28307,16 @@ func (m *MsgStructStorageRecall) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Ambit |= Ambit(b&0x7F) << shift + m.CapacityMaximum |= uint64(b&0x7F) << shift if b < 0x80 { break } } - case 5: + case 9: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Slot", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field DurationMinimum", wireType) } - m.Slot = 0 + m.DurationMinimum = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx @@ -21432,16 +28326,16 @@ func (m *MsgStructStorageRecall) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Slot |= uint64(b&0x7F) << shift + m.DurationMinimum |= uint64(b&0x7F) << shift if b < 0x80 { break } } - case 6: + case 10: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Activate", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field DurationMaximum", wireType) } - var v int + m.DurationMaximum = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx @@ -21451,12 +28345,11 @@ func (m *MsgStructStorageRecall) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= int(b&0x7F) << shift + m.DurationMaximum |= uint64(b&0x7F) << shift if b < 0x80 { break } } - m.Activate = bool(v != 0) default: iNdEx = preIndex skippy, err := skipTx(dAtA[iNdEx:]) @@ -21478,7 +28371,7 @@ func (m *MsgStructStorageRecall) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgSubstationCreate) Unmarshal(dAtA []byte) error { +func (m *MsgProviderWithdrawBalance) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -21501,10 +28394,10 @@ func (m *MsgSubstationCreate) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgSubstationCreate: wiretype end group for non-group") + return fmt.Errorf("proto: MsgProviderWithdrawBalance: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgSubstationCreate: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgProviderWithdrawBalance: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -21541,7 +28434,7 @@ func (m *MsgSubstationCreate) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Owner", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ProviderId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -21569,11 +28462,11 @@ func (m *MsgSubstationCreate) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Owner = string(dAtA[iNdEx:postIndex]) + m.ProviderId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AllocationId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field DestinationAddress", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -21601,7 +28494,7 @@ func (m *MsgSubstationCreate) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.AllocationId = string(dAtA[iNdEx:postIndex]) + m.DestinationAddress = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -21624,7 +28517,7 @@ func (m *MsgSubstationCreate) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgSubstationCreateResponse) Unmarshal(dAtA []byte) error { +func (m *MsgProviderUpdateCapacityMinimum) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -21647,15 +28540,15 @@ func (m *MsgSubstationCreateResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgSubstationCreateResponse: wiretype end group for non-group") + return fmt.Errorf("proto: MsgProviderUpdateCapacityMinimum: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgSubstationCreateResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgProviderUpdateCapacityMinimum: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field SubstationId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -21683,8 +28576,59 @@ func (m *MsgSubstationCreateResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.SubstationId = string(dAtA[iNdEx:postIndex]) + m.Creator = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ProviderId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ProviderId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field NewMinimumCapacity", wireType) + } + m.NewMinimumCapacity = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.NewMinimumCapacity |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } default: iNdEx = preIndex skippy, err := skipTx(dAtA[iNdEx:]) @@ -21706,7 +28650,7 @@ func (m *MsgSubstationCreateResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgSubstationDelete) Unmarshal(dAtA []byte) error { +func (m *MsgProviderUpdateCapacityMaximum) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -21729,10 +28673,10 @@ func (m *MsgSubstationDelete) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgSubstationDelete: wiretype end group for non-group") + return fmt.Errorf("proto: MsgProviderUpdateCapacityMaximum: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgSubstationDelete: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgProviderUpdateCapacityMaximum: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -21769,7 +28713,7 @@ func (m *MsgSubstationDelete) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field SubstationId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ProviderId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -21797,13 +28741,13 @@ func (m *MsgSubstationDelete) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.SubstationId = string(dAtA[iNdEx:postIndex]) + m.ProviderId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field MigrationSubstationId", wireType) + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field NewMaximumCapacity", wireType) } - var stringLen uint64 + m.NewMaximumCapacity = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx @@ -21813,24 +28757,11 @@ func (m *MsgSubstationDelete) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + m.NewMaximumCapacity |= uint64(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthTx - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthTx - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.MigrationSubstationId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipTx(dAtA[iNdEx:]) @@ -21852,7 +28783,7 @@ func (m *MsgSubstationDelete) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgSubstationDeleteResponse) Unmarshal(dAtA []byte) error { +func (m *MsgProviderUpdateDurationMinimum) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -21875,12 +28806,95 @@ func (m *MsgSubstationDeleteResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgSubstationDeleteResponse: wiretype end group for non-group") + return fmt.Errorf("proto: MsgProviderUpdateDurationMinimum: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgSubstationDeleteResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgProviderUpdateDurationMinimum: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Creator", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Creator = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ProviderId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ProviderId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field NewMinimumDuration", wireType) + } + m.NewMinimumDuration = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.NewMinimumDuration |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } default: iNdEx = preIndex skippy, err := skipTx(dAtA[iNdEx:]) @@ -21902,7 +28916,7 @@ func (m *MsgSubstationDeleteResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgSubstationAllocationConnect) Unmarshal(dAtA []byte) error { +func (m *MsgProviderUpdateDurationMaximum) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -21925,10 +28939,10 @@ func (m *MsgSubstationAllocationConnect) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgSubstationAllocationConnect: wiretype end group for non-group") + return fmt.Errorf("proto: MsgProviderUpdateDurationMaximum: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgSubstationAllocationConnect: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgProviderUpdateDurationMaximum: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -21965,7 +28979,7 @@ func (m *MsgSubstationAllocationConnect) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AllocationId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ProviderId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -21993,90 +29007,27 @@ func (m *MsgSubstationAllocationConnect) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.AllocationId = string(dAtA[iNdEx:postIndex]) + m.ProviderId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field DestinationId", wireType) + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field NewMaximumDuration", wireType) } - var stringLen uint64 + m.NewMaximumDuration = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowTx } if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthTx - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthTx - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.DestinationId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipTx(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthTx - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *MsgSubstationAllocationConnectResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.NewMaximumDuration |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: MsgSubstationAllocationConnectResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: MsgSubstationAllocationConnectResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { default: iNdEx = preIndex skippy, err := skipTx(dAtA[iNdEx:]) @@ -22098,7 +29049,7 @@ func (m *MsgSubstationAllocationConnectResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgSubstationAllocationDisconnect) Unmarshal(dAtA []byte) error { +func (m *MsgProviderUpdateAccessPolicy) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -22121,10 +29072,10 @@ func (m *MsgSubstationAllocationDisconnect) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgSubstationAllocationDisconnect: wiretype end group for non-group") + return fmt.Errorf("proto: MsgProviderUpdateAccessPolicy: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgSubstationAllocationDisconnect: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgProviderUpdateAccessPolicy: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -22161,7 +29112,7 @@ func (m *MsgSubstationAllocationDisconnect) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field AllocationId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ProviderId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -22189,58 +29140,27 @@ func (m *MsgSubstationAllocationDisconnect) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.AllocationId = string(dAtA[iNdEx:postIndex]) + m.ProviderId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipTx(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthTx - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *MsgSubstationAllocationDisconnectResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field AccessPolicy", wireType) } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break + m.AccessPolicy = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.AccessPolicy |= ProviderAccessPolicy(b&0x7F) << shift + if b < 0x80 { + break + } } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: MsgSubstationAllocationDisconnectResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: MsgSubstationAllocationDisconnectResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { default: iNdEx = preIndex skippy, err := skipTx(dAtA[iNdEx:]) @@ -22262,7 +29182,7 @@ func (m *MsgSubstationAllocationDisconnectResponse) Unmarshal(dAtA []byte) error } return nil } -func (m *MsgSubstationPlayerConnect) Unmarshal(dAtA []byte) error { +func (m *MsgProviderGuildGrant) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -22285,10 +29205,10 @@ func (m *MsgSubstationPlayerConnect) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgSubstationPlayerConnect: wiretype end group for non-group") + return fmt.Errorf("proto: MsgProviderGuildGrant: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgSubstationPlayerConnect: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgProviderGuildGrant: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -22325,7 +29245,7 @@ func (m *MsgSubstationPlayerConnect) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field SubstationId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ProviderId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -22353,11 +29273,11 @@ func (m *MsgSubstationPlayerConnect) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.SubstationId = string(dAtA[iNdEx:postIndex]) + m.ProviderId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 3: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PlayerId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field GuildId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -22385,7 +29305,7 @@ func (m *MsgSubstationPlayerConnect) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.PlayerId = string(dAtA[iNdEx:postIndex]) + m.GuildId = append(m.GuildId, string(dAtA[iNdEx:postIndex])) iNdEx = postIndex default: iNdEx = preIndex @@ -22408,57 +29328,7 @@ func (m *MsgSubstationPlayerConnect) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgSubstationPlayerConnectResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return 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 fmt.Errorf("proto: MsgSubstationPlayerConnectResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: MsgSubstationPlayerConnectResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skipTx(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthTx - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *MsgSubstationPlayerDisconnect) Unmarshal(dAtA []byte) error { +func (m *MsgProviderGuildRevoke) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -22481,10 +29351,10 @@ func (m *MsgSubstationPlayerDisconnect) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgSubstationPlayerDisconnect: wiretype end group for non-group") + return fmt.Errorf("proto: MsgProviderGuildRevoke: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgSubstationPlayerDisconnect: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgProviderGuildRevoke: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -22521,7 +29391,7 @@ func (m *MsgSubstationPlayerDisconnect) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PlayerId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ProviderId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -22549,58 +29419,40 @@ func (m *MsgSubstationPlayerDisconnect) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.PlayerId = string(dAtA[iNdEx:postIndex]) + m.ProviderId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipTx(dAtA[iNdEx:]) - if err != nil { - return err + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field GuildId", wireType) } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthTx + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *MsgSubstationPlayerDisconnectResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx } - if iNdEx >= l { + if postIndex > l { return 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 fmt.Errorf("proto: MsgSubstationPlayerDisconnectResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: MsgSubstationPlayerDisconnectResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { + m.GuildId = append(m.GuildId, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipTx(dAtA[iNdEx:]) @@ -22622,7 +29474,7 @@ func (m *MsgSubstationPlayerDisconnectResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgSubstationPlayerMigrate) Unmarshal(dAtA []byte) error { +func (m *MsgProviderDelete) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -22645,10 +29497,10 @@ func (m *MsgSubstationPlayerMigrate) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgSubstationPlayerMigrate: wiretype end group for non-group") + return fmt.Errorf("proto: MsgProviderDelete: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgSubstationPlayerMigrate: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgProviderDelete: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -22685,39 +29537,7 @@ func (m *MsgSubstationPlayerMigrate) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field SubstationId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthTx - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthTx - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.SubstationId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field PlayerId", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ProviderId", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -22745,7 +29565,7 @@ func (m *MsgSubstationPlayerMigrate) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.PlayerId = append(m.PlayerId, string(dAtA[iNdEx:postIndex])) + m.ProviderId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -22768,7 +29588,7 @@ func (m *MsgSubstationPlayerMigrate) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgSubstationPlayerMigrateResponse) Unmarshal(dAtA []byte) error { +func (m *MsgProviderResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -22791,10 +29611,10 @@ func (m *MsgSubstationPlayerMigrateResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgSubstationPlayerMigrateResponse: wiretype end group for non-group") + return fmt.Errorf("proto: MsgProviderResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgSubstationPlayerMigrateResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgProviderResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: